重新构建路由和配置样式文件
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
import {
|
||||
require_jsx_dev_runtime
|
||||
} from "/build/_shared/chunk-XGOTYLZ5.js";
|
||||
import {
|
||||
createHotContext
|
||||
} from "/build/_shared/chunk-73ZPIOGA.js";
|
||||
import {
|
||||
__toESM
|
||||
} from "/build/_shared/chunk-PNG5AS42.js";
|
||||
|
||||
// app/components/ui/Card.tsx
|
||||
var import_jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
||||
if (!window.$RefreshReg$ || !window.$RefreshSig$ || !window.$RefreshRuntime$) {
|
||||
console.warn("remix:hmr: React Fast Refresh only works when the Remix compiler is running in development mode.");
|
||||
} else {
|
||||
prevRefreshReg = window.$RefreshReg$;
|
||||
prevRefreshSig = window.$RefreshSig$;
|
||||
window.$RefreshReg$ = (type, id) => {
|
||||
window.$RefreshRuntime$.register(type, '"app\\\\components\\\\ui\\\\Card.tsx"' + id);
|
||||
};
|
||||
window.$RefreshSig$ = window.$RefreshRuntime$.createSignatureFunctionForTransform;
|
||||
}
|
||||
var prevRefreshReg;
|
||||
var prevRefreshSig;
|
||||
if (import.meta) {
|
||||
import.meta.hot = createHotContext(
|
||||
//@ts-expect-error
|
||||
"app\\components\\ui\\Card.tsx"
|
||||
);
|
||||
import.meta.hot.lastModified = "1742890461658.432";
|
||||
}
|
||||
function Card({
|
||||
children,
|
||||
title,
|
||||
icon,
|
||||
extra,
|
||||
className = "",
|
||||
bodyClassName = "",
|
||||
noDivider = true
|
||||
}) {
|
||||
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: `ant-card ${className} bg-white shadow`, children: [
|
||||
(title || extra) && /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: `flex justify-between items-center px-5 py-3 ${noDivider ? "" : "border-b border-gray-100"}`, children: [
|
||||
title && /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: "card-title !mb-0", children: [
|
||||
icon && /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("i", { className: `${icon} mr-2` }, void 0, false, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 34,
|
||||
columnNumber: 24
|
||||
}, this),
|
||||
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", { children: title }, void 0, false, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 35,
|
||||
columnNumber: 15
|
||||
}, this)
|
||||
] }, void 0, true, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 33,
|
||||
columnNumber: 21
|
||||
}, this),
|
||||
extra && /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: "card-extra", children: extra }, void 0, false, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 37,
|
||||
columnNumber: 21
|
||||
}, this)
|
||||
] }, void 0, true, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 32,
|
||||
columnNumber: 28
|
||||
}, this),
|
||||
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: `ant-card-body ${bodyClassName}`, children }, void 0, false, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 41,
|
||||
columnNumber: 7
|
||||
}, this)
|
||||
] }, void 0, true, {
|
||||
fileName: "app/components/ui/Card.tsx",
|
||||
lineNumber: 31,
|
||||
columnNumber: 10
|
||||
}, this);
|
||||
}
|
||||
_c = Card;
|
||||
var _c;
|
||||
$RefreshReg$(_c, "Card");
|
||||
window.$RefreshReg$ = prevRefreshReg;
|
||||
window.$RefreshSig$ = prevRefreshSig;
|
||||
|
||||
export {
|
||||
Card
|
||||
};
|
||||
//# sourceMappingURL=/build/_shared/chunk-QMPAUNNA.js.map
|
||||
Reference in New Issue
Block a user