@done-coding/admin-core 0.5.0 → 0.5.1-alpha.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/es/bridge/index.mjs +30 -42
- package/es/components/app-layout/AppHeader.vue.mjs +2 -2
- package/es/components/app-layout/AppHeader.vue2.mjs +16 -19
- package/es/components/data-view/DataListView.vue.mjs +2 -2
- package/es/components/data-view/DataListView.vue2.mjs +63 -52
- package/es/components/data-view/utils.mjs +36 -0
- package/es/components/display/TabsMain.vue.mjs +1 -1
- package/es/components/list-page/ListPage.vue.mjs +2 -2
- package/es/components/list-page/ListPage.vue2.mjs +44 -44
- package/es/components/misc/ActionConfirm.vue2.mjs +16 -16
- package/es/components/modal/ConfirmModal.vue.mjs +3 -3
- package/es/components/modal/DetailModal.vue.mjs +10 -10
- package/es/components/table/TableMain.vue.mjs +3 -3
- package/es/components/table/TableMain.vue2.mjs +167 -177
- package/es/components/table/TableToolbar.vue.mjs +3 -3
- package/es/components/table/TableToolbar.vue2.mjs +8 -4
- package/es/index.mjs +150 -180
- package/es/style.css +1 -1
- package/package.json +6 -5
- package/types/bridge/index.d.ts +3 -6
- package/types/bridge/route.d.ts +0 -1
- package/types/components/app-layout/AppBody.vue.d.ts +14 -34
- package/types/components/app-layout/AppBreadcrumb.vue.d.ts +6 -19
- package/types/components/app-layout/AppFooter.vue.d.ts +1 -1
- package/types/components/app-layout/AppHeader.vue.d.ts +15 -39
- package/types/components/app-layout/AppLayout.vue.d.ts +17 -50
- package/types/components/app-layout/AppPage.vue.d.ts +14 -39
- package/types/components/app-layout/AppSidebar.vue.d.ts +15 -37
- package/types/components/app-layout/index.d.ts +1 -19
- package/types/components/app-layout/types.d.ts +0 -1
- package/types/components/data-view/DataListView.vue.d.ts +9 -9
- package/types/components/data-view/DataListViewItem.vue.d.ts +19 -17
- package/types/components/data-view/index.d.ts +0 -1
- package/types/components/data-view/types.d.ts +9 -18
- package/types/components/data-view/utils.d.ts +5 -0
- package/types/components/display/ActionBtnGroup.vue.d.ts +8 -6
- package/types/components/display/HeightProvider.vue.d.ts +15 -31
- package/types/components/display/TabsHeader.vue.d.ts +27 -34
- package/types/components/display/TabsMain.vue.d.ts +14 -75
- package/types/components/display/TabsNaturalFlow.vue.d.ts +11 -5
- package/types/components/display/TabsRefineFlow.vue.d.ts +13 -31
- package/types/components/display/WatchSize.vue.d.ts +20 -32
- package/types/components/display/index.d.ts +0 -3
- package/types/components/display/types.d.ts +1 -2
- package/types/components/form/FormItem.vue.d.ts +208 -33
- package/types/components/form/FormMain.vue.d.ts +6 -7
- package/types/components/form/FormRadioGroup.vue.d.ts +14 -31
- package/types/components/form/FormSearch.vue.d.ts +5 -6
- package/types/components/form/FormSelect.vue.d.ts +19 -40
- package/types/components/form/FormTree.vue.d.ts +2037 -32
- package/types/components/form/FormVerifyCode.vue.d.ts +6 -6
- package/types/components/form/FormVerifyImage.vue.d.ts +6 -6
- package/types/components/form/form-search-utils.d.ts +0 -1
- package/types/components/form/index.d.ts +0 -3
- package/types/components/form/types.d.ts +0 -1
- package/types/components/form/utils.d.ts +0 -1
- package/types/components/list-page/ListPage.vue.d.ts +32 -33
- package/types/components/list-page/index.d.ts +0 -3
- package/types/components/list-page/types.d.ts +0 -1
- package/types/components/menu/MenuItemSub.vue.d.ts +3 -15
- package/types/components/menu/MenuTree.vue.d.ts +117 -19
- package/types/components/menu/index.d.ts +0 -3
- package/types/components/misc/ActionBtn.vue.d.ts +10 -11
- package/types/components/misc/ActionConfirm.vue.d.ts +21 -60
- package/types/components/misc/AutoRefresh.vue.d.ts +18 -24
- package/types/components/misc/TriggerAutoImport.vue.d.ts +8 -2
- package/types/components/misc/index.d.ts +4 -14
- package/types/components/misc/types.d.ts +0 -1
- package/types/components/modal/DetailModal.vue.d.ts +5 -6
- package/types/components/modal/ModalPorter.vue.d.ts +13 -18
- package/types/components/modal/ModalShelf.vue.d.ts +13 -18
- package/types/components/modal/index.d.ts +0 -4
- package/types/components/modal/modal-shelf-core.d.ts +0 -1
- package/types/components/modal/modal-shelf-hierarchy.d.ts +0 -1
- package/types/components/modal/modal-shelf-types.d.ts +0 -1
- package/types/components/modal/types.d.ts +0 -1
- package/types/components/panel/PanelEditSwitch.vue.d.ts +17 -20
- package/types/components/panel/PanelItem.vue.d.ts +7 -16
- package/types/components/panel/PanelMain.vue.d.ts +5 -6
- package/types/components/panel/index.d.ts +0 -4
- package/types/components/panel/types.d.ts +0 -1
- package/types/components/table/TableMain.vue.d.ts +12 -12
- package/types/components/table/TableToolbar.vue.d.ts +17 -108
- package/types/components/table/ToolbarButtons.vue.d.ts +15 -17
- package/types/components/table/index.d.ts +0 -3
- package/types/components/table/types.d.ts +59 -19
- package/types/config/list-model.d.ts +0 -1
- package/types/helpers/form.d.ts +0 -1
- package/types/helpers/index.d.ts +0 -10
- package/types/helpers/list-helper.d.ts +0 -1
- package/types/hooks/menus-dispatch.d.ts +0 -1
- package/types/hooks/use-channel-viewport-height.d.ts +0 -1
- package/types/index.d.ts +0 -13
- package/types/inject/key.d.ts +0 -1
- package/types/router/guard/index.d.ts +0 -1
- package/types/router/guard/login.d.ts +0 -1
- package/types/router/guard/permission.d.ts +0 -1
- package/types/router/guard/types.d.ts +0 -1
- package/types/store/app.d.ts +1 -2
- package/types/store/router-permission.d.ts +0 -1
- package/types/store/user.d.ts +0 -1
- package/types/types/route.d.ts +0 -1
- package/types/utils/export.d.ts +11 -10
- package/types/utils/router.d.ts +0 -1
- package/es/components/app-layout/index.mjs +0 -32
- package/es/components/display/index.mjs +0 -18
- package/es/components/form/index.mjs +0 -32
- package/es/components/list-page/index.mjs +0 -14
- package/es/components/menu/index.mjs +0 -12
- package/es/components/misc/ActionButton.vue.mjs +0 -52
- package/es/components/misc/ActionButton.vue2.mjs +0 -4
- package/es/components/misc/ActionButtonDanger.vue.mjs +0 -32
- package/es/components/misc/ActionButtonDanger.vue2.mjs +0 -4
- package/es/components/misc/ActionButtonWarn.vue.mjs +0 -32
- package/es/components/misc/ActionButtonWarn.vue2.mjs +0 -4
- package/es/components/misc/index.mjs +0 -32
- package/es/components/modal/index.mjs +0 -23
- package/es/components/panel/index.mjs +0 -20
- package/es/components/table/index.mjs +0 -14
- package/types/components/misc/ActionButton.vue.d.ts +0 -24
- package/types/components/misc/ActionButtonDanger.vue.d.ts +0 -19
- package/types/components/misc/ActionButtonWarn.vue.d.ts +0 -19
- package/types/components/modal/ConfirmModal.vue.d.ts +0 -124
package/es/index.mjs
CHANGED
|
@@ -1,182 +1,152 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { default as T } from "./components/
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import {
|
|
41
|
-
import { default as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import { createStorageWithNamespace as Ht } from "./bridge/storage.mjs";
|
|
62
|
-
import { createUseState as Wt } from "./bridge/state.mjs";
|
|
63
|
-
import { createUserStore as Xt } from "./store/user.mjs";
|
|
64
|
-
import { flatRouteMetaResolveRaw as Qt, getRoutePermissionKey as qt } from "./utils/router.mjs";
|
|
65
|
-
import { getId as Zt } from "./utils/id.mjs";
|
|
66
|
-
import { timeCountDown as eo } from "./utils/time.mjs";
|
|
67
|
-
import { useActivated as oo, useActivatedEvent as ro, useActivatedExec as ao } from "./hooks/activated.mjs";
|
|
68
|
-
import { useBreakpoint as mo } from "./hooks/use-breakpoint.mjs";
|
|
69
|
-
import { useChannelViewportHeight as lo } from "./hooks/use-channel-viewport-height.mjs";
|
|
70
|
-
import { useFeelSize as uo } from "./hooks/feel-size.mjs";
|
|
71
|
-
import { useMenusDataDispatch as no } from "./hooks/menus-dispatch.mjs";
|
|
72
|
-
import { useTimeout as co } from "./hooks/timeout.mjs";
|
|
73
|
-
const I = {
|
|
74
|
-
install(e) {
|
|
75
|
-
e.use(t), e.use(o), e.use(r), e.use(a), e.use(f), e.use(m), e.use(s), e.use(l), e.use(p);
|
|
76
|
-
}
|
|
77
|
-
};
|
|
1
|
+
import { createAdminBridge as r } from "./bridge/index.mjs";
|
|
2
|
+
import { default as a } from "./components/misc/ActionBtn.vue.mjs";
|
|
3
|
+
import { default as m } from "./components/display/ActionBtnGroup.vue.mjs";
|
|
4
|
+
import { default as s } from "./components/modal/DetailModal.vue.mjs";
|
|
5
|
+
import { default as l } from "./components/form/FormMain.vue.mjs";
|
|
6
|
+
import { default as d } from "./components/form/FormRadioGroup.vue.mjs";
|
|
7
|
+
import { default as n } from "./components/form/FormSelect.vue.mjs";
|
|
8
|
+
import { default as c } from "./components/form/FormTree.vue.mjs";
|
|
9
|
+
import { default as E } from "./components/form/FormVerifyCode.vue.mjs";
|
|
10
|
+
import { default as S } from "./components/display/HeightProvider.vue.mjs";
|
|
11
|
+
import { default as T } from "./components/menu/MenuItemSub.vue.mjs";
|
|
12
|
+
import { default as L } from "./components/menu/MenuTree.vue.mjs";
|
|
13
|
+
import { default as I } from "./components/modal/ModalPorter.vue.mjs";
|
|
14
|
+
import { default as C } from "./components/modal/ModalShelf.vue.mjs";
|
|
15
|
+
import { default as h } from "./components/panel/PanelItem.vue.mjs";
|
|
16
|
+
import { default as y } from "./components/panel/PanelMain.vue.mjs";
|
|
17
|
+
import { default as B } from "./components/misc/SelectModule.vue.mjs";
|
|
18
|
+
import { default as V } from "./components/display/TabsMain.vue.mjs";
|
|
19
|
+
import { default as N } from "./components/misc/TriggerAutoImport.vue.mjs";
|
|
20
|
+
import { default as Y } from "./components/display/WatchSize.vue.mjs";
|
|
21
|
+
import { APP_API_LIST_MODEL_KEY_CONFIG as K } from "./config/list-model.mjs";
|
|
22
|
+
import { APP_LAYOUT_APP_STORE_KEY as k, APP_LAYOUT_BRIDGE_KEY as W, APP_LAYOUT_USER_STORE_KEY as z, BODY_CONTENT_VIEWPORT_HEIGHT as X, TABS_MAIN_VISUAL_LEVEL as j, getModalShelfInjectionKey as Q } from "./inject/key.mjs";
|
|
23
|
+
import { default as J } from "./components/misc/ActionConfirm.vue.mjs";
|
|
24
|
+
import { default as $ } from "./components/app-layout/AppBody.vue.mjs";
|
|
25
|
+
import { default as oe } from "./components/app-layout/AppBreadcrumb.vue.mjs";
|
|
26
|
+
import { default as te } from "./components/app-layout/AppFooter.vue.mjs";
|
|
27
|
+
import { default as fe } from "./components/app-layout/AppHeader.vue.mjs";
|
|
28
|
+
import { default as pe } from "./components/app-layout/AppLayout.vue.mjs";
|
|
29
|
+
import { default as ue } from "./components/app-layout/AppPage.vue.mjs";
|
|
30
|
+
import { default as xe } from "./components/app-layout/AppSidebar.vue.mjs";
|
|
31
|
+
import { default as ie } from "./components/misc/AutoRefresh.vue.mjs";
|
|
32
|
+
import { default as Ae } from "./components/modal/ConfirmModal.vue.mjs";
|
|
33
|
+
import { EXPORT_MAX_LIMIT as _e, OPERATE_COLUMN_PROP as Ee, exportCSV as Pe, pickExportColumns as Se } from "./utils/export.mjs";
|
|
34
|
+
import { FORM_CONFIG_SELECT_ALL_VALUE as Te, getConfirmPasswordRule as ge, passwordRule as Le, setFormComponentType as Re } from "./helpers/form.mjs";
|
|
35
|
+
import { FORM_ITEM_CHANGE_LOADING as Oe, generateFormData as Ce, getBlurSubmit as Fe, getChangeSubmit as he, getDatePickerShortcuts as De, getEnterSubmit as ye, getPlaceholder as Ue, getVModelSugar as Be, parseFormData as Ge, resolveFormLayout as Ve, setInputComponent as be, setSelectComponent as Ne, stringifyFormData as we, swiftFormItemConfig as Ye } from "./components/form/utils.mjs";
|
|
36
|
+
import { default as Ke } from "./components/form/FormSearch.vue.mjs";
|
|
37
|
+
import { default as ke } from "./components/form/FormVerifyImage.vue.mjs";
|
|
38
|
+
import { default as ze } from "./components/list-page/ListPage.vue.mjs";
|
|
39
|
+
import { default as je } from "./components/panel/PanelEditSwitch.vue.mjs";
|
|
40
|
+
import { ROUTE_MODULE_LEVEL as qe, TabsMainReplaceQueryKey as Je } from "./config/route.mjs";
|
|
41
|
+
import { default as $e } from "./components/table/TableMain.vue.mjs";
|
|
42
|
+
import { checkLogin as oo } from "./router/guard/login.mjs";
|
|
43
|
+
import { checkPermission as to } from "./router/guard/permission.mjs";
|
|
44
|
+
import { countAll as fo, createListApi as mo, fetchListAll as po } from "./helpers/list-helper.mjs";
|
|
45
|
+
import { createAppStore as uo } from "./store/app.mjs";
|
|
46
|
+
import { createGenerateRouteMetaRawTree as xo } from "./bridge/route.mjs";
|
|
47
|
+
import { createGuard as no } from "./router/guard/index.mjs";
|
|
48
|
+
import { createRoutePermissionStore as co } from "./store/router-permission.mjs";
|
|
49
|
+
import { createStorageWithNamespace as Eo } from "./bridge/storage.mjs";
|
|
50
|
+
import { createUseState as So } from "./bridge/state.mjs";
|
|
51
|
+
import { createUserStore as To } from "./store/user.mjs";
|
|
52
|
+
import { flatRouteMetaResolveRaw as Lo, getRoutePermissionKey as Ro } from "./utils/router.mjs";
|
|
53
|
+
import { getId as Oo } from "./utils/id.mjs";
|
|
54
|
+
import { timeCountDown as Fo } from "./utils/time.mjs";
|
|
55
|
+
import { useActivated as Do, useActivatedEvent as yo, useActivatedExec as Uo } from "./hooks/activated.mjs";
|
|
56
|
+
import { useBreakpoint as Go } from "./hooks/use-breakpoint.mjs";
|
|
57
|
+
import { useChannelViewportHeight as bo } from "./hooks/use-channel-viewport-height.mjs";
|
|
58
|
+
import { useFeelSize as wo } from "./hooks/feel-size.mjs";
|
|
59
|
+
import { useMenusDataDispatch as vo } from "./hooks/menus-dispatch.mjs";
|
|
60
|
+
import { useTimeout as Ho } from "./hooks/timeout.mjs";
|
|
78
61
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
Se as
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
ut as setSelectComponent,
|
|
170
|
-
it as stringifyFormData,
|
|
171
|
-
nt as swiftFormItemConfig,
|
|
172
|
-
m as tableInstall,
|
|
173
|
-
eo as timeCountDown,
|
|
174
|
-
oo as useActivated,
|
|
175
|
-
ro as useActivatedEvent,
|
|
176
|
-
ao as useActivatedExec,
|
|
177
|
-
mo as useBreakpoint,
|
|
178
|
-
lo as useChannelViewportHeight,
|
|
179
|
-
uo as useFeelSize,
|
|
180
|
-
no as useMenusDataDispatch,
|
|
181
|
-
co as useTimeout
|
|
62
|
+
K as APP_API_LIST_MODEL_KEY_CONFIG,
|
|
63
|
+
k as APP_LAYOUT_APP_STORE_KEY,
|
|
64
|
+
W as APP_LAYOUT_BRIDGE_KEY,
|
|
65
|
+
z as APP_LAYOUT_USER_STORE_KEY,
|
|
66
|
+
a as ActionBtn,
|
|
67
|
+
m as ActionBtnGroup,
|
|
68
|
+
J as ActionConfirm,
|
|
69
|
+
$ as AppBody,
|
|
70
|
+
oe as AppBreadcrumb,
|
|
71
|
+
te as AppFooter,
|
|
72
|
+
fe as AppHeader,
|
|
73
|
+
pe as AppLayout,
|
|
74
|
+
ue as AppPage,
|
|
75
|
+
xe as AppSidebar,
|
|
76
|
+
ie as AutoRefresh,
|
|
77
|
+
X as BODY_CONTENT_VIEWPORT_HEIGHT,
|
|
78
|
+
Ae as ConfirmModal,
|
|
79
|
+
s as DetailModal,
|
|
80
|
+
_e as EXPORT_MAX_LIMIT,
|
|
81
|
+
Te as FORM_CONFIG_SELECT_ALL_VALUE,
|
|
82
|
+
Oe as FORM_ITEM_CHANGE_LOADING,
|
|
83
|
+
l as FormMain,
|
|
84
|
+
d as FormRadioGroup,
|
|
85
|
+
Ke as FormSearch,
|
|
86
|
+
n as FormSelect,
|
|
87
|
+
c as FormTree,
|
|
88
|
+
E as FormVerifyCode,
|
|
89
|
+
ke as FormVerifyImage,
|
|
90
|
+
S as HeightProvider,
|
|
91
|
+
ze as ListPage,
|
|
92
|
+
T as MenuItemSub,
|
|
93
|
+
L as MenuTree,
|
|
94
|
+
I as ModalPorter,
|
|
95
|
+
C as ModalShelf,
|
|
96
|
+
Ee as OPERATE_COLUMN_PROP,
|
|
97
|
+
je as PanelEditSwitch,
|
|
98
|
+
h as PanelItem,
|
|
99
|
+
y as PanelMain,
|
|
100
|
+
qe as ROUTE_MODULE_LEVEL,
|
|
101
|
+
B as SelectModule,
|
|
102
|
+
j as TABS_MAIN_VISUAL_LEVEL,
|
|
103
|
+
$e as TableMain,
|
|
104
|
+
V as TabsMain,
|
|
105
|
+
Je as TabsMainReplaceQueryKey,
|
|
106
|
+
N as TriggerAutoImport,
|
|
107
|
+
Y as WatchSize,
|
|
108
|
+
oo as checkLogin,
|
|
109
|
+
to as checkPermission,
|
|
110
|
+
fo as countAll,
|
|
111
|
+
r as createAdminBridge,
|
|
112
|
+
uo as createAppStore,
|
|
113
|
+
xo as createGenerateRouteMetaRawTree,
|
|
114
|
+
no as createGuard,
|
|
115
|
+
mo as createListApi,
|
|
116
|
+
co as createRoutePermissionStore,
|
|
117
|
+
Eo as createStorageWithNamespace,
|
|
118
|
+
So as createUseState,
|
|
119
|
+
To as createUserStore,
|
|
120
|
+
Pe as exportCSV,
|
|
121
|
+
po as fetchListAll,
|
|
122
|
+
Lo as flatRouteMetaResolveRaw,
|
|
123
|
+
Ce as generateFormData,
|
|
124
|
+
Fe as getBlurSubmit,
|
|
125
|
+
he as getChangeSubmit,
|
|
126
|
+
ge as getConfirmPasswordRule,
|
|
127
|
+
De as getDatePickerShortcuts,
|
|
128
|
+
ye as getEnterSubmit,
|
|
129
|
+
Oo as getId,
|
|
130
|
+
Q as getModalShelfInjectionKey,
|
|
131
|
+
Ue as getPlaceholder,
|
|
132
|
+
Ro as getRoutePermissionKey,
|
|
133
|
+
Be as getVModelSugar,
|
|
134
|
+
Ge as parseFormData,
|
|
135
|
+
Le as passwordRule,
|
|
136
|
+
Se as pickExportColumns,
|
|
137
|
+
Ve as resolveFormLayout,
|
|
138
|
+
Re as setFormComponentType,
|
|
139
|
+
be as setInputComponent,
|
|
140
|
+
Ne as setSelectComponent,
|
|
141
|
+
we as stringifyFormData,
|
|
142
|
+
Ye as swiftFormItemConfig,
|
|
143
|
+
Fo as timeCountDown,
|
|
144
|
+
Do as useActivated,
|
|
145
|
+
yo as useActivatedEvent,
|
|
146
|
+
Uo as useActivatedExec,
|
|
147
|
+
Go as useBreakpoint,
|
|
148
|
+
bo as useChannelViewportHeight,
|
|
149
|
+
wo as useFeelSize,
|
|
150
|
+
vo as useMenusDataDispatch,
|
|
151
|
+
Ho as useTimeout
|
|
182
152
|
};
|
package/es/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-item-tip[data-v-0dd66b41]{text-align:left;line-height:1.5;font-size:12px}.form-item-label-hide[data-v-0dd66b41] .el-form-item__label-wrap{display:none}.form-search_show[data-v-996aa2dc]{margin-bottom:10px}.form-search .btn-box[data-v-996aa2dc]{display:flex;align-items:center;gap:8px;justify-content:flex-end}.form-search .btn-box-expand-icon[data-v-996aa2dc]{margin-right:2px}.form-search[data-v-996aa2dc] .el-col{padding-left:14px}.form-verify-image[data-v-a4baf877] .el-input__suffix-inner *{margin:0}.form-verify-image-suffix[data-v-a4baf877]{position:absolute;height:100%;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));top:50%;transform:translateY(-50%);overflow:hidden;cursor:pointer}.form-verify-image-suffix-main[data-v-a4baf877]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f4f4f4}.tabs-main-bar[data-v-dbdd01cb]{position:relative;display:flex;align-items:center}.tabs-main-bar-item[data-v-dbdd01cb]{border:none;background:transparent;cursor:pointer;color:var(--el-text-color-regular);transition:background .2s,color .2s,box-shadow .2s}.tabs-main-bar-indicator[data-v-dbdd01cb]{position:absolute;left:0;background:var(--el-color-primary);transition:transform .2s,width .2s}.tabs-main-bar--l1 .tabs-main-bar-item[data-v-dbdd01cb]{font-size:16px}.tabs-main-bar--l2 .tabs-main-bar-item[data-v-dbdd01cb]{font-size:14px}.tabs-main-bar--l3 .tabs-main-bar-item[data-v-dbdd01cb],.tabs-main-bar--l4 .tabs-main-bar-item[data-v-dbdd01cb]{font-size:12px}.tabs-main-bar--variant-card[data-v-dbdd01cb]{position:relative;overflow:hidden;gap:2px}.tabs-main-bar--variant-card .tabs-main-bar-item[data-v-dbdd01cb]{position:relative;padding:8px 20px;line-height:1.4;border:1px solid transparent;border-bottom:0;border-radius:6px 6px 0 0}.tabs-main-bar--variant-card .tabs-main-bar-item[data-v-dbdd01cb]:hover:not(.tabs-main-bar-item_active){color:var(--el-color-primary)}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary);border-color:var(--el-border-color-light)}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:before,.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:after{content:"";position:absolute;bottom:0;width:100vw;height:1px;background:var(--el-border-color-light)}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:before{right:100%}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:after{left:100%}.tabs-main-bar--variant-indicator .tabs-main-bar-item[data-v-dbdd01cb]{padding:8px 16px}.tabs-main-bar--variant-indicator .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary)}.tabs-main-bar--variant-indicator .tabs-main-bar-indicator[data-v-dbdd01cb]{bottom:0;height:2px}.tabs-main-bar--variant-indicator-compact .tabs-main-bar-item[data-v-dbdd01cb]{padding:6px 10px}.tabs-main-bar--variant-indicator-compact .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary)}.tabs-main-bar--variant-indicator-compact .tabs-main-bar-indicator[data-v-dbdd01cb]{bottom:0;height:1px}.tabs-main-bar--variant-plain .tabs-main-bar-item[data-v-dbdd01cb]{padding:4px 8px}.tabs-main-bar--variant-plain .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary);font-weight:600}.confirm-dialog .content[data-v-dfc2f447]{overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 200px)}.confirm-dialog .btn[data-v-dfc2f447]{width:150px;height:40px;border-radius:4px}.confirm-dialog .main[data-v-dfc2f447]{position:relative;text-align:center}.confirm-dialog .main .close-box[data-v-dfc2f447]{position:absolute;top:0;right:0;cursor:pointer;z-index:2}.confirm-dialog .main .shim[data-v-dfc2f447]{position:relative;z-index:1}.confirm-dialog .main .shim .title[data-v-dfc2f447]{font-size:18px;font-weight:500}.confirm-dialog .main .shim .content[data-v-dfc2f447]{font-size:16px;margin-top:15px}.confirm-dialog .main .shim .footer[data-v-dfc2f447]{display:flex;justify-content:center;align-items:center;padding-top:5px}.confirm-dialog .main .shim .footer>.btn[data-v-dfc2f447]:not(:last-child){margin-right:30px}.confirm-dialog .main .shim .footer[reverse=true][data-v-dfc2f447]{flex-direction:row-reverse}.confirm-dialog .main .shim .footer[reverse=true]>.btn[data-v-dfc2f447]:not(:last-child){margin-right:0;margin-left:30px}.confirm-dialog .el-dialog__header,.confirm-dialog .el-dialog__body{padding:0;background-color:transparent}.action-confirm__title[data-v-5bb407c9]{font-weight:600;margin-bottom:6px}.action-confirm__content[data-v-5bb407c9]{margin-bottom:12px;color:var(--el-text-color-regular)}.action-confirm__actions[data-v-5bb407c9]{display:flex;justify-content:flex-end;gap:8px}.auto-refresh[data-v-9d78ca06]{display:flex;align-items:center;gap:8px}.auto-refresh-label[data-v-9d78ca06]{font-size:13px;color:var(--el-text-color-regular)}.auto-refresh-interval[data-v-9d78ca06]{width:80px}.table-toolbar[data-v-90cd7b54]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;gap:20px}.table-toolbar-left[data-v-90cd7b54],.table-toolbar-right[data-v-90cd7b54]{display:flex;align-items:center;gap:10px}.table-toolbar-icon--rotating[data-v-90cd7b54]{animation:table-toolbar-rotating-90cd7b54 1s linear infinite}@keyframes table-toolbar-rotating-90cd7b54{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.data-list-view[data-v-4c7d7547]{width:100%}.table-main-table[data-v-feb76359]{--el-table-header-bg-color: var(--v028010cb)}.table-main-pagination[data-v-feb76359]{margin-top:10px;display:flex;justify-content:flex-end}.list-page[data-v-d8d188e5]{min-height:var(--v990abd1c)}.list-page-header[data-v-d8d188e5],.list-page-operation[data-v-d8d188e5]{margin-bottom:10px}.list-page[data-v-d8d188e5] .el-loading-mask{left:-10px;top:-10px;right:-10px;bottom:-10px}.panel-edit-switch[data-v-ea2a07d5]{position:relative}.panel-edit-switch-edit-btn[data-v-ea2a07d5]{position:absolute;top:0;right:0;z-index:1}.panel-edit-switch-actions[data-v-ea2a07d5]{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.app-breadcrumb[data-v-39d4ee00]{display:flex;align-items:center;justify-content:flex-start;background-color:#fff}.app-body[data-v-305d730c]{transition-duration:.3s;transition-property:padding;transition-timing-function:linear;min-height:100vh}.app-body-shim[data-v-305d730c]{width:100%;--app-viewport-max-height: var(--v078aa5b4)}.app-header[data-v-55cf55e9]{transition-duration:.3s;transition-property:height;transition-timing-function:linear;overflow:hidden;position:fixed;left:0;top:0;width:100%;box-shadow:5px 0 5px #0000001a;z-index:1}.app-header-module[data-v-55cf55e9]{display:flex;flex:1;height:100%;overflow-x:auto}.app-header-module-item[data-v-55cf55e9]{display:flex;justify-content:center;align-items:center;padding:0 20px;white-space:nowrap;height:100%;color:var(--v4db2d700)}.app-header-module-item[data-v-55cf55e9]:hover,.app-header-module-item_active[data-v-55cf55e9]{color:var(--v23ceefd3)}.app-header-module-item_active[data-v-55cf55e9]{position:relative}.app-header-module-item_active[data-v-55cf55e9]:before{content:"";position:absolute;left:50%;top:0;width:100%;height:3px;background-color:var(--v23ceefd3);transform:translate(-50%)}.app-header-shim[data-v-55cf55e9]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:18px;font-weight:700}.app-footer[data-v-393d9768]{transition-duration:.3s;transition-property:height;transition-timing-function:linear;overflow:hidden;width:100%;box-shadow:-5px 0 5px #0000001a}.app-footer-shim[data-v-393d9768]{width:100%;height:100%;padding:0 20px}.app-sidebar[data-v-37ff5e0c]{transition-duration:.3s;transition-property:width;transition-timing-function:linear;position:fixed;left:0;top:0;height:100%;box-shadow:0 5px 5px #0000001a;overflow:visible;z-index:var(--ce9ef212)}.app-sidebar-top[data-v-37ff5e0c]{position:absolute;left:0;right:0;top:0;overflow:hidden}.app-sidebar-bottom[data-v-37ff5e0c]{position:absolute;left:0;right:0;bottom:0;overflow:hidden}.app-sidebar-shim[data-v-37ff5e0c]{position:absolute;left:0;right:0;top:var(--v309db2c2);bottom:var(--v2189b8a1);overflow-x:hidden;overflow-y:auto;--el-menu-border-color: transparent;-webkit-user-select:none;user-select:none}.app-sidebar-toggle[data-v-37ff5e0c]{position:absolute;left:100%;top:50%;transform:translate(-50%,-50%);cursor:pointer;width:22px;height:22px;border-radius:50%;background-color:var(--v65908f82);color:var(--v42a24063);border:1px solid var(--v42a24063);box-shadow:0 1px 2px #0000000f;display:flex;align-items:center;justify-content:center;font-size:12px;z-index:1;isolation:isolate;transition:color .3s,border-color .3s,box-shadow .3s}.app-sidebar-toggle[data-v-37ff5e0c]:before{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border-radius:50%;background-color:var(--v42a24063);opacity:.18;z-index:-1;pointer-events:none;transition:opacity .3s,inset .3s}.app-sidebar-toggle[data-v-37ff5e0c]:active,.app-sidebar-toggle[data-v-37ff5e0c]:focus,.app-sidebar-toggle[data-v-37ff5e0c]:hover{box-shadow:0 2px 6px #0000001f}.app-sidebar-toggle[data-v-37ff5e0c]:active:before,.app-sidebar-toggle[data-v-37ff5e0c]:focus:before,.app-sidebar-toggle[data-v-37ff5e0c]:hover:before{opacity:.32;top:-5px;right:-5px;bottom:-5px;left:-5px}.app-sidebar-toggle-icon[data-v-37ff5e0c]{transition:transform .3s}.app-layout[data-v-2952b5fa]{position:relative}.app-layout_noLogin[data-v-2952b5fa] .app-body,.app-layout_noLogin[data-v-2952b5fa] .app-sidebar,.app-layout_noLogin[data-v-2952b5fa] .app-header,.app-layout_noLogin[data-v-2952b5fa] .app-footer{transition:none!important}.app-page-shim[data-v-fda19616]{--app-viewport-max-height: var(--v54888f0e)}
|
|
1
|
+
.confirm-dialog .content[data-v-dfc2f447]{overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 200px)}.confirm-dialog .btn[data-v-dfc2f447]{width:150px;height:40px;border-radius:4px}.confirm-dialog .main[data-v-dfc2f447]{position:relative;text-align:center}.confirm-dialog .main .close-box[data-v-dfc2f447]{position:absolute;top:0;right:0;cursor:pointer;z-index:2}.confirm-dialog .main .shim[data-v-dfc2f447]{position:relative;z-index:1}.confirm-dialog .main .shim .title[data-v-dfc2f447]{font-size:18px;font-weight:500}.confirm-dialog .main .shim .content[data-v-dfc2f447]{font-size:16px;margin-top:15px}.confirm-dialog .main .shim .footer[data-v-dfc2f447]{display:flex;justify-content:center;align-items:center;padding-top:5px}.confirm-dialog .main .shim .footer>.btn[data-v-dfc2f447]:not(:last-child){margin-right:30px}.confirm-dialog .main .shim .footer[reverse=true][data-v-dfc2f447]{flex-direction:row-reverse}.confirm-dialog .main .shim .footer[reverse=true]>.btn[data-v-dfc2f447]:not(:last-child){margin-right:0;margin-left:30px}.confirm-dialog .el-dialog__header,.confirm-dialog .el-dialog__body{padding:0;background-color:transparent}.action-confirm__title[data-v-5bb407c9]{font-weight:600;margin-bottom:6px}.action-confirm__content[data-v-5bb407c9]{margin-bottom:12px;color:var(--el-text-color-regular)}.action-confirm__actions[data-v-5bb407c9]{display:flex;justify-content:flex-end;gap:8px}.form-item-tip[data-v-0dd66b41]{text-align:left;line-height:1.5;font-size:12px}.form-item-label-hide[data-v-0dd66b41] .el-form-item__label-wrap{display:none}.panel-edit-switch[data-v-ea2a07d5]{position:relative}.panel-edit-switch-edit-btn[data-v-ea2a07d5]{position:absolute;top:0;right:0;z-index:1}.panel-edit-switch-actions[data-v-ea2a07d5]{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.form-search_show[data-v-996aa2dc]{margin-bottom:10px}.form-search .btn-box[data-v-996aa2dc]{display:flex;align-items:center;gap:8px;justify-content:flex-end}.form-search .btn-box-expand-icon[data-v-996aa2dc]{margin-right:2px}.form-search[data-v-996aa2dc] .el-col{padding-left:14px}.form-verify-image[data-v-a4baf877] .el-input__suffix-inner *{margin:0}.form-verify-image-suffix[data-v-a4baf877]{position:absolute;height:100%;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));top:50%;transform:translateY(-50%);overflow:hidden;cursor:pointer}.form-verify-image-suffix-main[data-v-a4baf877]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f4f4f4}.tabs-main-bar[data-v-dbdd01cb]{position:relative;display:flex;align-items:center}.tabs-main-bar-item[data-v-dbdd01cb]{border:none;background:transparent;cursor:pointer;color:var(--el-text-color-regular);transition:background .2s,color .2s,box-shadow .2s}.tabs-main-bar-indicator[data-v-dbdd01cb]{position:absolute;left:0;background:var(--el-color-primary);transition:transform .2s,width .2s}.tabs-main-bar--l1 .tabs-main-bar-item[data-v-dbdd01cb]{font-size:16px}.tabs-main-bar--l2 .tabs-main-bar-item[data-v-dbdd01cb]{font-size:14px}.tabs-main-bar--l3 .tabs-main-bar-item[data-v-dbdd01cb],.tabs-main-bar--l4 .tabs-main-bar-item[data-v-dbdd01cb]{font-size:12px}.tabs-main-bar--variant-card[data-v-dbdd01cb]{position:relative;overflow:hidden;gap:2px}.tabs-main-bar--variant-card .tabs-main-bar-item[data-v-dbdd01cb]{position:relative;padding:8px 20px;line-height:1.4;border:1px solid transparent;border-bottom:0;border-radius:6px 6px 0 0}.tabs-main-bar--variant-card .tabs-main-bar-item[data-v-dbdd01cb]:hover:not(.tabs-main-bar-item_active){color:var(--el-color-primary)}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary);border-color:var(--el-border-color-light)}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:before,.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:after{content:"";position:absolute;bottom:0;width:100vw;height:1px;background:var(--el-border-color-light)}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:before{right:100%}.tabs-main-bar--variant-card .tabs-main-bar-item_active[data-v-dbdd01cb]:after{left:100%}.tabs-main-bar--variant-indicator .tabs-main-bar-item[data-v-dbdd01cb]{padding:8px 16px}.tabs-main-bar--variant-indicator .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary)}.tabs-main-bar--variant-indicator .tabs-main-bar-indicator[data-v-dbdd01cb]{bottom:0;height:2px}.tabs-main-bar--variant-indicator-compact .tabs-main-bar-item[data-v-dbdd01cb]{padding:6px 10px}.tabs-main-bar--variant-indicator-compact .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary)}.tabs-main-bar--variant-indicator-compact .tabs-main-bar-indicator[data-v-dbdd01cb]{bottom:0;height:1px}.tabs-main-bar--variant-plain .tabs-main-bar-item[data-v-dbdd01cb]{padding:4px 8px}.tabs-main-bar--variant-plain .tabs-main-bar-item_active[data-v-dbdd01cb]{color:var(--el-color-primary);font-weight:600}.app-breadcrumb[data-v-39d4ee00]{display:flex;align-items:center;justify-content:flex-start;background-color:#fff}.app-body[data-v-305d730c]{transition-duration:.3s;transition-property:padding;transition-timing-function:linear;min-height:100vh}.app-body-shim[data-v-305d730c]{width:100%;--app-viewport-max-height: var(--v078aa5b4)}.app-footer[data-v-393d9768]{transition-duration:.3s;transition-property:height;transition-timing-function:linear;overflow:hidden;width:100%;box-shadow:-5px 0 5px #0000001a}.app-footer-shim[data-v-393d9768]{width:100%;height:100%;padding:0 20px}.app-header[data-v-ef3cc8a6]{transition-duration:.3s;transition-property:height;transition-timing-function:linear;overflow:hidden;position:fixed;left:0;top:0;width:100%;box-shadow:5px 0 5px #0000001a;z-index:1}.app-header-module[data-v-ef3cc8a6]{display:flex;flex:1;height:100%;overflow-x:auto}.app-header-module-item[data-v-ef3cc8a6]{display:flex;justify-content:center;align-items:center;padding:0 20px;white-space:nowrap;height:100%;color:var(--v3dfae5bc)}.app-header-module-item[data-v-ef3cc8a6]:hover,.app-header-module-item_active[data-v-ef3cc8a6]{color:var(--v158cd0d2)}.app-header-module-item_active[data-v-ef3cc8a6]{position:relative}.app-header-module-item_active[data-v-ef3cc8a6]:before{content:"";position:absolute;left:50%;top:0;width:100%;height:3px;background-color:var(--v158cd0d2);transform:translate(-50%)}.app-header-shim[data-v-ef3cc8a6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:18px;font-weight:700}.app-header-module-item__icon[data-v-ef3cc8a6]{margin-right:8px}.app-header-userInfo[data-v-ef3cc8a6]{padding-left:80px}.app-header-userInfo__theme-switch[data-v-ef3cc8a6]{margin-right:12px}.app-sidebar[data-v-37ff5e0c]{transition-duration:.3s;transition-property:width;transition-timing-function:linear;position:fixed;left:0;top:0;height:100%;box-shadow:0 5px 5px #0000001a;overflow:visible;z-index:var(--ce9ef212)}.app-sidebar-top[data-v-37ff5e0c]{position:absolute;left:0;right:0;top:0;overflow:hidden}.app-sidebar-bottom[data-v-37ff5e0c]{position:absolute;left:0;right:0;bottom:0;overflow:hidden}.app-sidebar-shim[data-v-37ff5e0c]{position:absolute;left:0;right:0;top:var(--v309db2c2);bottom:var(--v2189b8a1);overflow-x:hidden;overflow-y:auto;--el-menu-border-color: transparent;-webkit-user-select:none;user-select:none}.app-sidebar-toggle[data-v-37ff5e0c]{position:absolute;left:100%;top:50%;transform:translate(-50%,-50%);cursor:pointer;width:22px;height:22px;border-radius:50%;background-color:var(--v65908f82);color:var(--v42a24063);border:1px solid var(--v42a24063);box-shadow:0 1px 2px #0000000f;display:flex;align-items:center;justify-content:center;font-size:12px;z-index:1;isolation:isolate;transition:color .3s,border-color .3s,box-shadow .3s}.app-sidebar-toggle[data-v-37ff5e0c]:before{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border-radius:50%;background-color:var(--v42a24063);opacity:.18;z-index:-1;pointer-events:none;transition:opacity .3s,inset .3s}.app-sidebar-toggle[data-v-37ff5e0c]:active,.app-sidebar-toggle[data-v-37ff5e0c]:focus,.app-sidebar-toggle[data-v-37ff5e0c]:hover{box-shadow:0 2px 6px #0000001f}.app-sidebar-toggle[data-v-37ff5e0c]:active:before,.app-sidebar-toggle[data-v-37ff5e0c]:focus:before,.app-sidebar-toggle[data-v-37ff5e0c]:hover:before{opacity:.32;top:-5px;right:-5px;bottom:-5px;left:-5px}.app-sidebar-toggle-icon[data-v-37ff5e0c]{transition:transform .3s}.app-layout[data-v-2952b5fa]{position:relative}.app-layout_noLogin[data-v-2952b5fa] .app-body,.app-layout_noLogin[data-v-2952b5fa] .app-sidebar,.app-layout_noLogin[data-v-2952b5fa] .app-header,.app-layout_noLogin[data-v-2952b5fa] .app-footer{transition:none!important}.app-page-shim[data-v-fda19616]{--app-viewport-max-height: var(--v54888f0e)}.auto-refresh[data-v-9d78ca06]{display:flex;align-items:center;gap:8px}.auto-refresh-label[data-v-9d78ca06]{font-size:13px;color:var(--el-text-color-regular)}.auto-refresh-interval[data-v-9d78ca06]{width:80px}.table-toolbar[data-v-b028e7a1]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;gap:20px}.table-toolbar-left[data-v-b028e7a1],.table-toolbar-right[data-v-b028e7a1]{display:flex;align-items:center;gap:10px}.table-toolbar-icon--rotating[data-v-b028e7a1]{animation:table-toolbar-rotating-b028e7a1 1s linear infinite}@keyframes table-toolbar-rotating-b028e7a1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.data-list-view[data-v-53e5c175]{width:100%}.data-list-view-empty[data-v-53e5c175]{display:flex;justify-content:center;align-items:center;width:100%;min-height:60px}.table-main-table[data-v-653f3a9c]{--el-table-header-bg-color: var(--v9176f014)}.table-main-pagination[data-v-653f3a9c]{margin-top:10px;display:flex;justify-content:flex-end}.list-page[data-v-8547b0b7]{min-height:var(--v9d0f4540)}.list-page-header[data-v-8547b0b7],.list-page-operation[data-v-8547b0b7]{margin-bottom:10px}.list-page[data-v-8547b0b7] .el-loading-mask{left:-10px;top:-10px;right:-10px;bottom:-10px}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/admin-core",
|
|
3
|
-
"version": "0.5.0",
|
|
3
|
+
"version": "0.5.1-alpha.0",
|
|
4
4
|
"description": "后台管理核心",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "lib/index.cjs",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"dev": "vite build -w -m hotBuild",
|
|
28
28
|
"prebuild": "dc-inject",
|
|
29
29
|
"build": "vue-tsc && vite build",
|
|
30
|
+
"build:test": "pnpm run build",
|
|
30
31
|
"prepack": "pnpm build",
|
|
31
32
|
"test": "vitest",
|
|
32
33
|
"coverage": "vitest run --coverage"
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
"**/*.less"
|
|
48
49
|
],
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"@done-coding/cli-inject": "^0.
|
|
51
|
+
"@done-coding/cli-inject": "^0.6.2",
|
|
51
52
|
"@types/lodash": "^4.17.24",
|
|
52
53
|
"@types/node": "^18.0.0",
|
|
53
54
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
@@ -60,9 +61,9 @@
|
|
|
60
61
|
"unplugin-auto-import": "^0.17.8",
|
|
61
62
|
"unplugin-vue-components": "^0.26.0",
|
|
62
63
|
"vite": "^5.2.0",
|
|
63
|
-
"vite-plugin-dts": "^
|
|
64
|
+
"vite-plugin-dts": "^4.5.4",
|
|
64
65
|
"vitest": "^1.6.1",
|
|
65
|
-
"vue-tsc": "^2.
|
|
66
|
+
"vue-tsc": "^2.2.12"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
68
69
|
"@done-coding/request-axios": "^0.0.2",
|
|
@@ -78,5 +79,5 @@
|
|
|
78
79
|
"node": ">=18.0.0",
|
|
79
80
|
"pnpm": ">=9.0.0"
|
|
80
81
|
},
|
|
81
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "72ce0cd2d6acd6421fda86348a2623fc50266e18"
|
|
82
83
|
}
|
package/types/bridge/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { RouteRecordRaw } from 'vue-router';
|
|
2
2
|
import { createUseState } from './state';
|
|
3
3
|
import { createGenerateRouteMetaRawTree } from './route';
|
|
4
|
-
|
|
4
|
+
export { createUseState, type UseStateOptions } from './state';
|
|
5
|
+
export { createGenerateRouteMetaRawTree, type RouteMetaDefaultConfig, } from './route';
|
|
6
|
+
export { createStorageWithNamespace } from './storage';
|
|
5
7
|
/**
|
|
6
8
|
* 认证桥接无状态纯工厂。
|
|
7
9
|
*
|
|
@@ -297,11 +299,6 @@ export interface AdminBridge<UserInfo = unknown, LoginParams = unknown> {
|
|
|
297
299
|
refreshToken: () => Promise<void>;
|
|
298
300
|
/** 刷新鉴权 */
|
|
299
301
|
refreshAuth: () => Promise<void>;
|
|
300
|
-
/**
|
|
301
|
-
* @deprecated 改用 `appAdminBridge.APP_XXX` 直接属性读(per #2.5 期 ADR-4;下个 MAJOR 删除)。
|
|
302
|
-
* 返回 8 字段聚合对象(每次调用产新对象,多次调用 !== 引用不等)。
|
|
303
|
-
*/
|
|
304
|
-
getAppConfig: () => Readonly<AppConfig>;
|
|
305
302
|
/** 返回 bridge 内部派生的 storage 实例(per REQ-1 入参内化;保持 StorageLike 可变方法可调用) */
|
|
306
303
|
getStorage: () => StorageLike;
|
|
307
304
|
/** 返回 `init` 注册的 routes 引用(routes 例外保持可变,破循环依赖时序,per REQ-4 + audit §3.4) */
|
package/types/bridge/route.d.ts
CHANGED
|
@@ -1,43 +1,23 @@
|
|
|
1
1
|
import { RouteMetaResolveRaw } from '../../types';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
footer?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
menus: RouteMetaResolveRaw[];
|
|
8
|
-
menuFlatList: RouteMetaResolveRaw[];
|
|
9
|
-
}>, {
|
|
10
|
-
menus: () => never[];
|
|
11
|
-
menuFlatList: () => never[];
|
|
12
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
13
3
|
menus: RouteMetaResolveRaw[];
|
|
14
4
|
menuFlatList: RouteMetaResolveRaw[];
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
footer?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
16
|
menus: RouteMetaResolveRaw[];
|
|
20
17
|
menuFlatList: RouteMetaResolveRaw[];
|
|
21
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
20
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
type __VLS_WithDefaults<P, D> = {
|
|
34
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
-
default: D[K];
|
|
36
|
-
}> : P[K];
|
|
37
|
-
};
|
|
38
|
-
type __VLS_Prettify<T> = {
|
|
39
|
-
[K in keyof T]: T[K];
|
|
40
|
-
} & {};
|
|
41
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
22
|
new (): {
|
|
43
23
|
$slots: S;
|
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
import { RouteMetaResolveRaw } from '../../types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
menus: RouteMetaResolveRaw[];
|
|
5
4
|
height: number;
|
|
6
5
|
menuFlatList: RouteMetaResolveRaw[];
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
height: number;
|
|
12
|
-
menuFlatList: RouteMetaResolveRaw[];
|
|
13
|
-
}>>> & Readonly<{
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
show: (status: boolean) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
10
|
onShow?: ((status: boolean) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
12
|
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|