@spacego/fe-components 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/fe-form/fe-form-select/index.js +26 -30
- package/lib/fe-layouts/auth-layout/index.js +4 -4
- package/lib/fe-layouts/basics-layout/index.js +5 -3
- package/lib/fe-layouts/layout.js +27 -25
- package/lib/fe-table/fe-edit-table-cell/index.js +4 -4
- package/lib/fe-table/fe-normal-table/index.js +3 -3
- package/lib/fe-table/fe-table-link/index.js +3 -3
- package/lib/fe-table/fe-table-toolbar/index.js +4 -4
- package/lib/fe-table/use-table/index.js +3 -3
- package/lib/index.css +1 -1
- package/lib/index.js +149 -149
- package/lib/node_modules/.pnpm/@rc-component_pagination@1.2.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@rc-component/pagination/es/locale/zh_CN.js +18 -0
- package/lib/node_modules/.pnpm/@rc-component_picker@1.9.0_xrdeekns7he6t7xjrt27lnhvge/node_modules/@rc-component/picker/es/locale/common.js +9 -0
- package/lib/node_modules/.pnpm/@rc-component_picker@1.9.0_xrdeekns7he6t7xjrt27lnhvge/node_modules/@rc-component/picker/es/locale/zh_CN.js +78 -0
- package/lib/node_modules/.pnpm/antd@6.2.2_nnrd3gsncyragczmpvfhocinkq/node_modules/antd/es/calendar/locale/zh_CN.js +4 -0
- package/lib/node_modules/.pnpm/antd@6.2.2_nnrd3gsncyragczmpvfhocinkq/node_modules/antd/es/date-picker/locale/zh_CN.js +24 -0
- package/lib/node_modules/.pnpm/antd@6.2.2_nnrd3gsncyragczmpvfhocinkq/node_modules/antd/es/locale/zh_CN.js +146 -0
- package/lib/node_modules/.pnpm/antd@6.2.2_nnrd3gsncyragczmpvfhocinkq/node_modules/antd/es/time-picker/locale/zh_CN.js +7 -0
- package/lib/store/modules/layout-config.store.js +4 -4
- package/lib/store/modules/theme.store.js +4 -4
- package/lib/types/fe-auto-complete/auto-complete.d.ts +2 -0
- package/lib/types/fe-auto-complete/index.d.ts +3 -2
- package/lib/types/fe-button/button.d.ts +16 -0
- package/lib/types/fe-button/index.d.ts +3 -16
- package/lib/types/fe-cascader/cascader.d.ts +7 -0
- package/lib/types/fe-cascader/index.d.ts +3 -7
- package/lib/types/fe-checkbox/checkbox.d.ts +6 -0
- package/lib/types/fe-checkbox/index.d.ts +3 -6
- package/lib/types/fe-checkbox-group/checkbox-group.d.ts +5 -0
- package/lib/types/fe-checkbox-group/index.d.ts +3 -5
- package/lib/types/fe-date-picker/date-picker.d.ts +3 -0
- package/lib/types/fe-date-picker/index.d.ts +3 -3
- package/lib/types/fe-description-render/description-render.d.ts +31 -0
- package/lib/types/fe-description-render/index.d.ts +8 -31
- package/lib/types/fe-descriptions/descriptions.d.ts +2 -0
- package/lib/types/fe-descriptions/index.d.ts +3 -2
- package/lib/types/fe-empty/empty.d.ts +2 -0
- package/lib/types/fe-empty/index.d.ts +3 -2
- package/lib/types/fe-error-block/error-block.d.ts +6 -0
- package/lib/types/fe-error-block/index.d.ts +3 -6
- package/lib/types/fe-form/fe-form/form.d.ts +354 -0
- package/lib/types/fe-form/fe-form/index.d.ts +3 -354
- package/lib/types/fe-form/fe-form-auto-complete/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-btn-group/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-cascader/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-checkbox-group/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-date-picker/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-date-range-picker/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-input/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-input-input/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-input-number/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-item/form-item.d.ts +66 -0
- package/lib/types/fe-form/fe-form-item/index.d.ts +3 -68
- package/lib/types/fe-form/fe-form-label/form-label.d.ts +43 -0
- package/lib/types/fe-form/fe-form-label/index.d.ts +3 -43
- package/lib/types/fe-form/fe-form-radio/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-render/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-rich-text/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-select/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-switch/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-text/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-text-area/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-time-picker/index.d.ts +1 -1
- package/lib/types/fe-form/fe-form-upload/index.d.ts +1 -1
- package/lib/types/fe-form/index.d.ts +4 -4
- package/lib/types/fe-form/utils/index.d.ts +1 -1
- package/lib/types/fe-input/index.d.ts +3 -12
- package/lib/types/fe-input/input.d.ts +12 -0
- package/lib/types/fe-input-number/index.d.ts +3 -2
- package/lib/types/fe-input-number/input-number.d.ts +2 -0
- package/lib/types/fe-link/index.d.ts +3 -6
- package/lib/types/fe-link/link.d.ts +6 -0
- package/lib/types/fe-loading/index.d.ts +1 -1
- package/lib/types/fe-map/index.d.ts +3 -73
- package/lib/types/fe-map/map.d.ts +73 -0
- package/lib/types/fe-modal/index.d.ts +3 -20
- package/lib/types/fe-modal/modal.d.ts +20 -0
- package/lib/types/fe-pagination/index.d.ts +3 -2
- package/lib/types/fe-pagination/pagination.d.ts +2 -0
- package/lib/types/fe-panel/index.d.ts +3 -61
- package/lib/types/fe-panel/panel-toolbar.d.ts +1 -1
- package/lib/types/fe-panel/panel.d.ts +61 -0
- package/lib/types/fe-permission/index.d.ts +3 -10
- package/lib/types/fe-permission/permission.d.ts +10 -0
- package/lib/types/fe-permission-provider/index.d.ts +3 -8
- package/lib/types/fe-permission-provider/permission-provider.d.ts +8 -0
- package/lib/types/fe-radio/index.d.ts +3 -2
- package/lib/types/fe-radio/radio.d.ts +2 -0
- package/lib/types/fe-radio-group/index.d.ts +3 -2
- package/lib/types/fe-radio-group/radio-group.d.ts +2 -0
- package/lib/types/fe-rich-text/index.d.ts +3 -167
- package/lib/types/fe-rich-text/rich-text.d.ts +167 -0
- package/lib/types/fe-select/index.d.ts +3 -8
- package/lib/types/fe-select/select.d.ts +8 -0
- package/lib/types/fe-switch/index.d.ts +3 -2
- package/lib/types/fe-switch/switch.d.ts +2 -0
- package/lib/types/fe-table/fe-table-link/index.d.ts +3 -10
- package/lib/types/fe-table/fe-table-link/table-link.d.ts +10 -0
- package/lib/types/fe-table/fe-table-render/index.d.ts +3 -11
- package/lib/types/fe-table/fe-table-render/table-render.d.ts +11 -0
- package/lib/types/fe-table/fe-table-toolbar/index.d.ts +3 -16
- package/lib/types/fe-table/fe-table-toolbar/table-toolbar.d.ts +16 -0
- package/lib/types/fe-table/index.d.ts +2 -2
- package/lib/types/fe-table/type/table.d.ts +0 -2
- package/lib/types/fe-table/use-table/index.d.ts +1 -1
- package/lib/types/fe-text-area/index.d.ts +3 -4
- package/lib/types/fe-text-area/text-area.d.ts +4 -0
- package/lib/types/fe-time-picker/index.d.ts +3 -3
- package/lib/types/fe-time-picker/time-picker.d.ts +3 -0
- package/lib/types/fe-upload/index.d.ts +3 -85
- package/lib/types/fe-upload/upload.d.ts +85 -0
- package/lib/types/fe-upload-atomic/index.d.ts +3 -2
- package/lib/types/fe-upload-atomic/upload-atomic.d.ts +2 -0
- package/lib/types/fe-upload-crop/index.d.ts +2 -2
- package/lib/types/hooks/index.d.ts +1 -0
- package/lib/types/hooks/{use-descriptions → use-descriptions.hook}/index.d.ts +1 -1
- package/lib/types/hooks/use-descriptions.hook/use-descriptions.d.ts +151 -0
- package/lib/types/hooks/use-form.hook/index.d.ts +3 -0
- package/lib/types/hooks/{use-form/index.d.ts → use-form.hook/use-form.d.ts} +1 -1
- package/lib/types/hooks/use-permission.hook/index.d.ts +10 -10
- package/lib/types/hooks/use-permission.hook/use-permission.d.ts +10 -0
- package/lib/types/index.d.ts +30 -0
- package/package.json +1 -1
- package/lib/fe-table/type/table.d.js +0 -4
- /package/lib/hooks/{use-form → use-form.hook}/index.js +0 -0
|
@@ -1,47 +1,43 @@
|
|
|
1
|
-
import { jsxs as x, Fragment as
|
|
2
|
-
import { Divider as
|
|
3
|
-
import { useMemo as
|
|
4
|
-
import
|
|
1
|
+
import { jsxs as x, Fragment as T, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Divider as v, Tooltip as w, Form as A, Checkbox as C } from "antd";
|
|
3
|
+
import { useMemo as u } from "react";
|
|
4
|
+
import I from "../../fe-select/index.js";
|
|
5
5
|
import P from "../fe-form-item/index.js";
|
|
6
6
|
import { getFormItemProps as V, getLabelProps as k } from "../utils/index.js";
|
|
7
7
|
const _ = (e) => {
|
|
8
|
-
var
|
|
9
|
-
const { valueType: m, ...
|
|
10
|
-
label: l.label,
|
|
11
|
-
value: l.dataIndex,
|
|
12
|
-
disabled: l.disabled || !1
|
|
13
|
-
})), [e.selectAttributes]), s = c(() => i.filter((l) => !l.disabled), [i]), t = c(() => {
|
|
8
|
+
var b;
|
|
9
|
+
const { valueType: m, ...o } = V(e), i = u(() => !e.selectAttributes || !e.selectAttributes.options ? [] : e.selectAttributes.options, [e.selectAttributes]), s = u(() => i.filter((l) => !l.disabled), [i]), t = u(() => {
|
|
14
10
|
if (!e.selectAttributes) return {};
|
|
15
|
-
const { selectType: l, options:
|
|
16
|
-
return l === "multiple" && r && (y.popupRender = (F) => /* @__PURE__ */ x(
|
|
11
|
+
const { selectType: l, options: c, showSelectAll: r, onSelectAll: d, ...g } = e.selectAttributes, y = { ...g };
|
|
12
|
+
return l === "multiple" && r && (y.popupRender = (F) => /* @__PURE__ */ x(T, { children: [
|
|
17
13
|
/* @__PURE__ */ n(
|
|
18
|
-
|
|
14
|
+
q,
|
|
19
15
|
{
|
|
20
16
|
dataIndex: e.dataIndex,
|
|
21
17
|
selectableOptions: s,
|
|
22
18
|
onSelectAll: d
|
|
23
19
|
}
|
|
24
20
|
),
|
|
25
|
-
/* @__PURE__ */ n(
|
|
21
|
+
/* @__PURE__ */ n(v, { style: { margin: "4px 0" } }),
|
|
26
22
|
F
|
|
27
23
|
] })), y;
|
|
28
|
-
}, [e.dataIndex, e.selectAttributes, s]),
|
|
24
|
+
}, [e.dataIndex, e.selectAttributes, s]), a = u(() => e.selectAttributes && e.selectAttributes.selectType === "multiple" ? "array" : "string", [e]), h = u(() => {
|
|
29
25
|
var l;
|
|
30
26
|
return ((l = e.selectAttributes) == null ? void 0 : l.selectType) !== "multiple" ? {} : {
|
|
31
27
|
maxTagCount: "responsive",
|
|
32
|
-
maxTagPlaceholder: (
|
|
28
|
+
maxTagPlaceholder: (c) => /* @__PURE__ */ n(
|
|
33
29
|
w,
|
|
34
30
|
{
|
|
35
31
|
styles: { root: { pointerEvents: "none" } },
|
|
36
|
-
title:
|
|
32
|
+
title: c.map(({ label: r }) => r).join(", "),
|
|
37
33
|
children: /* @__PURE__ */ x("span", { children: [
|
|
38
34
|
"+",
|
|
39
|
-
|
|
35
|
+
c.length
|
|
40
36
|
] })
|
|
41
37
|
}
|
|
42
38
|
)
|
|
43
39
|
};
|
|
44
|
-
}, [e]),
|
|
40
|
+
}, [e]), f = u(() => t != null && t.showSearch ? typeof (t == null ? void 0 : t.showSearch) == "boolean" ? {
|
|
45
41
|
showSearch: {
|
|
46
42
|
optionFilterProp: "label"
|
|
47
43
|
}
|
|
@@ -56,36 +52,36 @@ const _ = (e) => {
|
|
|
56
52
|
required: e.required ?? !1,
|
|
57
53
|
type: e.type,
|
|
58
54
|
rules: e.rules,
|
|
59
|
-
valueType: m ??
|
|
55
|
+
valueType: m ?? a,
|
|
60
56
|
requiredMessage: e.requiredMessage,
|
|
61
57
|
...k(e),
|
|
62
|
-
...
|
|
58
|
+
...o,
|
|
63
59
|
attributes: { ...e.attributes || {} },
|
|
64
60
|
children: /* @__PURE__ */ n(
|
|
65
|
-
|
|
61
|
+
I,
|
|
66
62
|
{
|
|
67
63
|
allowClear: !0,
|
|
68
64
|
options: i,
|
|
69
65
|
placeholder: e.placeholder ?? `请选择${e.label}`,
|
|
70
|
-
mode: ((
|
|
66
|
+
mode: ((b = e.selectAttributes) == null ? void 0 : b.selectType) === "multiple" ? "multiple" : void 0,
|
|
71
67
|
...h,
|
|
72
68
|
...t,
|
|
73
|
-
...
|
|
69
|
+
...f
|
|
74
70
|
}
|
|
75
71
|
)
|
|
76
72
|
}
|
|
77
73
|
);
|
|
78
|
-
},
|
|
74
|
+
}, q = ({
|
|
79
75
|
dataIndex: e,
|
|
80
76
|
selectableOptions: m,
|
|
81
|
-
onSelectAll:
|
|
77
|
+
onSelectAll: o
|
|
82
78
|
// 新增回调
|
|
83
79
|
}) => {
|
|
84
|
-
const i = A.useFormInstance(), s = A.useWatch(e, i) || [], t = m.map((l) => l.value),
|
|
85
|
-
return /* @__PURE__ */ n("div", { style: { padding: "8px 12px" }, children: /* @__PURE__ */ n(
|
|
86
|
-
const
|
|
80
|
+
const i = A.useFormInstance(), s = A.useWatch(e, i) || [], t = m.map((l) => l.value), a = s.filter((l) => t.includes(l)).length, h = a === t.length && t.length > 0, f = a > 0 && a < t.length;
|
|
81
|
+
return /* @__PURE__ */ n("div", { style: { padding: "8px 12px" }, children: /* @__PURE__ */ n(C, { checked: h, indeterminate: f, onChange: (l) => {
|
|
82
|
+
const c = l.target.checked;
|
|
87
83
|
let r;
|
|
88
|
-
|
|
84
|
+
c ? r = [...s.filter((g) => !t.includes(g)), ...t] : r = s.filter((d) => !t.includes(d)), o == null || o(c, r), i.setFieldValue(e, r);
|
|
89
85
|
}, children: "全选" }) });
|
|
90
86
|
};
|
|
91
87
|
export {
|
|
@@ -13,11 +13,11 @@ import "../../store/modules/layout-config.store.js";
|
|
|
13
13
|
import { useThemeStore as M } from "../../store/modules/theme.store.js";
|
|
14
14
|
import { THEME_COLORS as j } from "../../config/theme.js";
|
|
15
15
|
import { useGlobal as O } from "../context/context.js";
|
|
16
|
-
import "nprogress";
|
|
17
|
-
import "../../hooks/use-permission.hook/index.js";
|
|
18
|
-
import "antd";
|
|
19
16
|
import "@spacego/turbo-utils";
|
|
17
|
+
import "antd";
|
|
18
|
+
import "../../hooks/use-permission.hook/index.js";
|
|
20
19
|
/* empty css */
|
|
20
|
+
import "nprogress";
|
|
21
21
|
import "lodash-es";
|
|
22
22
|
import "../../fe-form/fe-form-date-range-picker/index.js";
|
|
23
23
|
import "../../fe-rich-text/index.js";
|
|
@@ -27,7 +27,7 @@ import "../../fe-text-area/index.js";
|
|
|
27
27
|
/* empty css */
|
|
28
28
|
/* empty css */
|
|
29
29
|
import "../basics-layout/index.js";
|
|
30
|
-
|
|
30
|
+
import "../layout.js";
|
|
31
31
|
/* empty css */
|
|
32
32
|
/* empty css */
|
|
33
33
|
import "react-draggable";
|
|
@@ -4,8 +4,10 @@ import { Layout as g, Spin as Z } from "antd";
|
|
|
4
4
|
import { useMemo as d, useEffect as $ } from "react";
|
|
5
5
|
import { useLocation as ee, useNavigate as te, Outlet as oe } from "react-router-dom";
|
|
6
6
|
import { useAuth as ne } from "../../hooks/use-auth.hook/index.js";
|
|
7
|
-
import "
|
|
7
|
+
import "@spacego/turbo-utils";
|
|
8
8
|
import "../../hooks/use-permission.hook/index.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import "nprogress";
|
|
9
11
|
import { useLayoutConfigStore as re } from "../../store/modules/layout-config.store.js";
|
|
10
12
|
import { useThemeStore as ae } from "../../store/modules/theme.store.js";
|
|
11
13
|
import { useGlobal as se } from "../context/context.js";
|
|
@@ -15,7 +17,7 @@ import ce from "./components/basics-layout/tabs.js";
|
|
|
15
17
|
import { findRouteByPath as b, findMenuParentKeys as ue, buildRouteMap as fe, findParentRoutes as de, findMenuByKey as me } from "./components/utils/index.js";
|
|
16
18
|
/* empty css */
|
|
17
19
|
const { Content: he } = g;
|
|
18
|
-
function
|
|
20
|
+
function Ne() {
|
|
19
21
|
const r = ee(), m = te(), { logout: R } = ne(), {
|
|
20
22
|
token: T,
|
|
21
23
|
menus: a = [],
|
|
@@ -134,5 +136,5 @@ function Ke() {
|
|
|
134
136
|
] });
|
|
135
137
|
}
|
|
136
138
|
export {
|
|
137
|
-
|
|
139
|
+
Ne as default
|
|
138
140
|
};
|
package/lib/fe-layouts/layout.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { dayjs as h } from "@spacego/turbo-utils";
|
|
2
3
|
import { useSelector as i } from "@spacego/zustand";
|
|
3
|
-
import { theme as p, ConfigProvider as
|
|
4
|
-
import
|
|
4
|
+
import { theme as p, ConfigProvider as u, App as d, Spin as g } from "antd";
|
|
5
|
+
import C from "../node_modules/.pnpm/antd@6.2.2_nnrd3gsncyragczmpvfhocinkq/node_modules/antd/es/locale/zh_CN.js";
|
|
6
|
+
import { useMemo as y } from "react";
|
|
5
7
|
import "@ant-design/icons";
|
|
6
|
-
import { getRealTheme as
|
|
7
|
-
import { useLayoutConfigStore as
|
|
8
|
-
import { useThemeStore as
|
|
8
|
+
import { getRealTheme as k } from "../utils/theme.js";
|
|
9
|
+
import { useLayoutConfigStore as L } from "../store/modules/layout-config.store.js";
|
|
10
|
+
import { useThemeStore as M } from "../store/modules/theme.store.js";
|
|
9
11
|
import n from "../config/theme.js";
|
|
10
12
|
import "react-router-dom";
|
|
11
13
|
import "./context/context.js";
|
|
12
|
-
import
|
|
13
|
-
import { useNProgress as L } from "../hooks/use-nprogress.hook/index.js";
|
|
14
|
+
import T from "./context/global-context.provider.js";
|
|
14
15
|
import "../hooks/use-permission.hook/index.js";
|
|
15
|
-
import "@spacego/turbo-utils";
|
|
16
16
|
/* empty css */
|
|
17
|
+
import { useNProgress as b } from "../hooks/use-nprogress.hook/index.js";
|
|
17
18
|
import "lodash-es";
|
|
18
19
|
import "../fe-form/fe-form-date-range-picker/index.js";
|
|
19
20
|
import "../fe-rich-text/index.js";
|
|
@@ -21,10 +22,9 @@ import "../fe-text-area/index.js";
|
|
|
21
22
|
/* empty css */
|
|
22
23
|
/* empty css */
|
|
23
24
|
/* empty css */
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
/* empty css */
|
|
25
|
+
import w from "./auth-layout/index.js";
|
|
26
|
+
import x from "./basics-layout/index.js";
|
|
27
|
+
import P from "./blank-layout/index.js";
|
|
28
28
|
/* empty css */
|
|
29
29
|
/* empty css */
|
|
30
30
|
import "react-draggable";
|
|
@@ -34,17 +34,19 @@ import "../_virtual/index.js";
|
|
|
34
34
|
import "../fe-table/fe-edit-table-cell/index.js";
|
|
35
35
|
import "ahooks";
|
|
36
36
|
import "../fe-table/fe-table-setting/index.js";
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
|
|
37
|
+
/* empty css */
|
|
38
|
+
h.locale("zh-cn");
|
|
39
|
+
function co(a) {
|
|
40
|
+
const { layoutType: r, ...s } = a, { loadingConfig: l } = L(i(["loadingConfig"])), { theme: t, themeColor: m } = M(i(["theme", "themeColor"]));
|
|
41
|
+
b();
|
|
42
|
+
const c = y(() => {
|
|
43
|
+
const f = k(t);
|
|
42
44
|
return {
|
|
43
45
|
cssVar: {
|
|
44
46
|
prefix: "ant"
|
|
45
47
|
},
|
|
46
48
|
// 启用 CSS 变量模式,生成 --ant-color-primary 等变量
|
|
47
|
-
algorithm:
|
|
49
|
+
algorithm: f === "dark" ? p.darkAlgorithm : p.defaultAlgorithm,
|
|
48
50
|
token: {
|
|
49
51
|
colorPrimary: m,
|
|
50
52
|
...n.token
|
|
@@ -54,19 +56,19 @@ function no(a) {
|
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
}, [t, m]), e = (/* @__PURE__ */ new Map([
|
|
57
|
-
["blank",
|
|
58
|
-
["basic",
|
|
59
|
-
["auth",
|
|
59
|
+
["blank", P],
|
|
60
|
+
["basic", x],
|
|
61
|
+
["auth", w]
|
|
60
62
|
])).get(r);
|
|
61
|
-
return /* @__PURE__ */ o(
|
|
62
|
-
|
|
63
|
+
return /* @__PURE__ */ o(u, { theme: c, locale: C, children: /* @__PURE__ */ o(d, { children: /* @__PURE__ */ o(T, { ...s, children: /* @__PURE__ */ o(
|
|
64
|
+
g,
|
|
63
65
|
{
|
|
64
66
|
spinning: l.show && r !== "basic",
|
|
65
67
|
wrapperClassName: "spin-wrapper-full",
|
|
66
68
|
children: e && /* @__PURE__ */ o(e, {}, r)
|
|
67
69
|
}
|
|
68
|
-
) }) });
|
|
70
|
+
) }) }) });
|
|
69
71
|
}
|
|
70
72
|
export {
|
|
71
|
-
|
|
73
|
+
co as default
|
|
72
74
|
};
|
|
@@ -5,11 +5,11 @@ import "../../store/modules/layout-config.store.js";
|
|
|
5
5
|
import "../../store/modules/theme.store.js";
|
|
6
6
|
import "react-router-dom";
|
|
7
7
|
import "../../fe-layouts/context/context.js";
|
|
8
|
-
import "nprogress";
|
|
9
|
-
import "../../hooks/use-permission.hook/index.js";
|
|
10
|
-
import "antd";
|
|
11
8
|
import "@spacego/turbo-utils";
|
|
9
|
+
import "antd";
|
|
10
|
+
import "../../hooks/use-permission.hook/index.js";
|
|
12
11
|
/* empty css */
|
|
12
|
+
import "nprogress";
|
|
13
13
|
import "lodash-es";
|
|
14
14
|
import "../../fe-form/fe-form-date-range-picker/index.js";
|
|
15
15
|
import y from "../../fe-form/fe-form-input/index.js";
|
|
@@ -28,7 +28,7 @@ import "react-icons/lu";
|
|
|
28
28
|
import "react-icons/md";
|
|
29
29
|
/* empty css */
|
|
30
30
|
import "../../fe-layouts/basics-layout/index.js";
|
|
31
|
-
|
|
31
|
+
import "../../fe-layouts/layout.js";
|
|
32
32
|
/* empty css */
|
|
33
33
|
/* empty css */
|
|
34
34
|
import "react-draggable";
|
|
@@ -7,10 +7,10 @@ import "../../store/modules/layout-config.store.js";
|
|
|
7
7
|
import "../../store/modules/theme.store.js";
|
|
8
8
|
import "react-router-dom";
|
|
9
9
|
import "../../fe-layouts/context/context.js";
|
|
10
|
-
import "nprogress";
|
|
11
|
-
import "../../hooks/use-permission.hook/index.js";
|
|
12
10
|
import "@spacego/turbo-utils";
|
|
11
|
+
import "../../hooks/use-permission.hook/index.js";
|
|
13
12
|
/* empty css */
|
|
13
|
+
import "nprogress";
|
|
14
14
|
import "lodash-es";
|
|
15
15
|
import "../../fe-form/fe-form-date-range-picker/index.js";
|
|
16
16
|
import "../../fe-rich-text/index.js";
|
|
@@ -25,7 +25,7 @@ import "react-icons/lu";
|
|
|
25
25
|
import "react-icons/md";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import "../../fe-layouts/basics-layout/index.js";
|
|
28
|
-
|
|
28
|
+
import "../../fe-layouts/layout.js";
|
|
29
29
|
/* empty css */
|
|
30
30
|
/* empty css */
|
|
31
31
|
import "react-draggable";
|
|
@@ -6,10 +6,10 @@ import "../../store/modules/theme.store.js";
|
|
|
6
6
|
import "react-router-dom";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../../fe-layouts/context/context.js";
|
|
9
|
-
import "nprogress";
|
|
10
|
-
import "../../hooks/use-permission.hook/index.js";
|
|
11
9
|
import "@spacego/turbo-utils";
|
|
12
10
|
import d from "../../fe-link/index.js";
|
|
11
|
+
import "nprogress";
|
|
12
|
+
import "../../hooks/use-permission.hook/index.js";
|
|
13
13
|
import "lodash-es";
|
|
14
14
|
import "../../fe-form/fe-form-date-range-picker/index.js";
|
|
15
15
|
import "../../fe-rich-text/index.js";
|
|
@@ -24,7 +24,7 @@ import "react-icons/lu";
|
|
|
24
24
|
import "react-icons/md";
|
|
25
25
|
/* empty css */
|
|
26
26
|
import "../../fe-layouts/basics-layout/index.js";
|
|
27
|
-
|
|
27
|
+
import "../../fe-layouts/layout.js";
|
|
28
28
|
/* empty css */
|
|
29
29
|
/* empty css */
|
|
30
30
|
import "react-draggable";
|
|
@@ -6,11 +6,11 @@ import "../../store/modules/theme.store.js";
|
|
|
6
6
|
import "react-router-dom";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../../fe-layouts/context/context.js";
|
|
9
|
-
import "nprogress";
|
|
10
|
-
import "../../hooks/use-permission.hook/index.js";
|
|
11
|
-
import a from "../../fe-button/index.js";
|
|
12
9
|
import "@spacego/turbo-utils";
|
|
10
|
+
import "../../hooks/use-permission.hook/index.js";
|
|
13
11
|
/* empty css */
|
|
12
|
+
import "nprogress";
|
|
13
|
+
import a from "../../fe-button/index.js";
|
|
14
14
|
import "lodash-es";
|
|
15
15
|
import "../../fe-form/fe-form-date-range-picker/index.js";
|
|
16
16
|
import "../../fe-rich-text/index.js";
|
|
@@ -25,7 +25,7 @@ import "react-icons/lu";
|
|
|
25
25
|
import "react-icons/md";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import "../../fe-layouts/basics-layout/index.js";
|
|
28
|
-
|
|
28
|
+
import "../../fe-layouts/layout.js";
|
|
29
29
|
/* empty css */
|
|
30
30
|
/* empty css */
|
|
31
31
|
import "react-draggable";
|
|
@@ -6,10 +6,10 @@ import "../../store/modules/layout-config.store.js";
|
|
|
6
6
|
import "../../store/modules/theme.store.js";
|
|
7
7
|
import "react-router-dom";
|
|
8
8
|
import "../../fe-layouts/context/context.js";
|
|
9
|
-
import "nprogress";
|
|
10
|
-
import { usePermission as L } from "../../hooks/use-permission.hook/index.js";
|
|
11
9
|
import "@spacego/turbo-utils";
|
|
10
|
+
import { usePermission as L } from "../../hooks/use-permission.hook/index.js";
|
|
12
11
|
/* empty css */
|
|
12
|
+
import "nprogress";
|
|
13
13
|
import "lodash-es";
|
|
14
14
|
import "../../fe-form/fe-form-date-range-picker/index.js";
|
|
15
15
|
import "../../fe-rich-text/index.js";
|
|
@@ -24,7 +24,7 @@ import "react-icons/lu";
|
|
|
24
24
|
import "react-icons/md";
|
|
25
25
|
/* empty css */
|
|
26
26
|
import "../../fe-layouts/basics-layout/index.js";
|
|
27
|
-
|
|
27
|
+
import "../../fe-layouts/layout.js";
|
|
28
28
|
/* empty css */
|
|
29
29
|
/* empty css */
|
|
30
30
|
import "react-draggable";
|