xto-fronted 0.4.71 → 0.4.73

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.
Files changed (97) hide show
  1. package/dist/assets/404-CrBiLyvr.js +1 -0
  2. package/dist/assets/404-Cw_4ZCL6.css +1 -0
  3. package/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
  4. package/dist/assets/index-9XqWtCGs.js +1 -0
  5. package/dist/assets/index-BBGKF0l-.js +1 -0
  6. package/dist/assets/index-BRR97dc6.js +1 -0
  7. package/dist/assets/index-BlRslYYI.css +1 -0
  8. package/dist/assets/index-BudArKxR.css +1 -0
  9. package/dist/assets/index-CFhWBbxk.css +1 -0
  10. package/dist/assets/index-CRJFI4iz.js +2 -0
  11. package/dist/assets/index-CmknWHK0.js +1 -0
  12. package/dist/assets/index-D7epoF1g.js +1 -0
  13. package/dist/assets/index-D9XBi20Y.css +1 -0
  14. package/dist/assets/index-DkkuYBgT.css +1 -0
  15. package/dist/assets/index-O9wpAB3Q.js +1 -0
  16. package/dist/assets/index-_aYxnqzF.css +1 -0
  17. package/dist/assets/index-rfC7s9zA.js +1 -0
  18. package/dist/assets/index-vfvEFrCH.css +1 -0
  19. package/dist/assets/vendor-42ANG6Sg.js +6 -0
  20. package/dist/assets/vue-vendor-D8SAgT8u.js +29 -0
  21. package/dist/assets/xto-base-BD3OH0V6.js +1 -0
  22. package/dist/assets/xto-base-CojW9IFO.css +1 -0
  23. package/dist/assets/xto-business--V1F5Gwb.css +1 -0
  24. package/dist/assets/xto-core-Boim7B0B.js +1 -0
  25. package/dist/assets/xto-data-CnAQAQH2.css +1 -0
  26. package/dist/assets/xto-data-DuG2QJrr.js +1 -0
  27. package/dist/assets/xto-feedback-C-ESp-Y1.css +1 -0
  28. package/dist/assets/xto-feedback-XZPSQcJN.js +1 -0
  29. package/dist/assets/xto-form-BmTGLIm_.js +1 -0
  30. package/dist/assets/xto-form-CrsyAjyr.css +1 -0
  31. package/dist/assets/xto-layout-D1stVnJI.css +1 -0
  32. package/dist/assets/xto-navigation-BRzSCpAw.css +1 -0
  33. package/dist/assets/xto-navigation-nPmjRi-J.js +1 -0
  34. package/dist/index.html +28 -0
  35. package/package.json +90 -87
  36. package/src/App.vue +30 -1
  37. package/src/assets/styles/_root.scss +141 -97
  38. package/src/assets/styles/_variables.scss +44 -19
  39. package/src/assets/styles/index.scss +267 -42
  40. package/src/components/Layout/Sidebar.vue +29 -10
  41. package/src/views/dashboard/index.vue +417 -155
  42. package/src/views/error/403.vue +251 -56
  43. package/src/views/error/404.vue +253 -56
  44. package/src/views/login/index.vue +586 -194
  45. package/src/views/system/menu/index.vue +403 -94
  46. package/src/views/system/role/index.vue +348 -69
  47. package/src/views/system/user/index.vue +402 -73
  48. package/dist/App.vue.d.ts +0 -2
  49. package/dist/api/auth.d.ts +0 -8
  50. package/dist/api/system.d.ts +0 -16
  51. package/dist/api/user.d.ts +0 -13
  52. package/dist/components/Layout/Footer.vue.d.ts +0 -2
  53. package/dist/components/Layout/Header.vue.d.ts +0 -5
  54. package/dist/components/Layout/MixTopMenu.vue.d.ts +0 -5
  55. package/dist/components/Layout/Sidebar.vue.d.ts +0 -11
  56. package/dist/components/Layout/SidebarMenuItem.vue.d.ts +0 -5
  57. package/dist/components/Layout/Tabs.vue.d.ts +0 -2
  58. package/dist/components/Layout/TopMenu.vue.d.ts +0 -5
  59. package/dist/components/Layout/index.vue.d.ts +0 -2
  60. package/dist/composables/useApp.d.ts +0 -29
  61. package/dist/composables/useAuth.d.ts +0 -6
  62. package/dist/composables/useForm.d.ts +0 -20
  63. package/dist/composables/useTable.d.ts +0 -29
  64. package/dist/directives/permission.d.ts +0 -4
  65. package/dist/enums/index.d.ts +0 -32
  66. package/dist/index-BgbSp2mz.js +0 -372
  67. package/dist/index-By874kXD.js +0 -142
  68. package/dist/index-COz0Cbj7.js +0 -345
  69. package/dist/index-CgbSCzIp.js +0 -3159
  70. package/dist/index-CzOd0mGb.js +0 -475
  71. package/dist/index.d.ts +0 -54
  72. package/dist/index.es.js +0 -91
  73. package/dist/index.umd.js +0 -1
  74. package/dist/main.d.ts +0 -0
  75. package/dist/router/dynamicRoutes.d.ts +0 -30
  76. package/dist/router/guards.d.ts +0 -17
  77. package/dist/router/index.d.ts +0 -6
  78. package/dist/router/layoutRoute.d.ts +0 -18
  79. package/dist/router/staticRoutes.d.ts +0 -2
  80. package/dist/stores/app.d.ts +0 -93
  81. package/dist/stores/auth.d.ts +0 -41
  82. package/dist/stores/index.d.ts +0 -9
  83. package/dist/stores/menu.d.ts +0 -77
  84. package/dist/stores/user.d.ts +0 -92
  85. package/dist/style.css +0 -1
  86. package/dist/utils/auth.d.ts +0 -27
  87. package/dist/utils/config.d.ts +0 -30
  88. package/dist/utils/permission.d.ts +0 -18
  89. package/dist/utils/request.d.ts +0 -24
  90. package/dist/utils/storage.d.ts +0 -24
  91. package/dist/views/dashboard/index.vue.d.ts +0 -2
  92. package/dist/views/error/403.vue.d.ts +0 -2
  93. package/dist/views/error/404.vue.d.ts +0 -2
  94. package/dist/views/login/index.vue.d.ts +0 -4
  95. package/dist/views/system/menu/index.vue.d.ts +0 -4
  96. package/dist/views/system/role/index.vue.d.ts +0 -4
  97. package/dist/views/system/user/index.vue.d.ts +0 -4
@@ -1,475 +0,0 @@
1
- import { defineComponent as O, ref as N, computed as z, reactive as $, onMounted as Y, openBlock as V, createElementBlock as k, createVNode as a, unref as e, withCtx as o, createElementVNode as n, createTextVNode as m, Fragment as g, renderList as x, toDisplayString as i, createCommentVNode as h } from "vue";
2
- import { Form as q, FormItem as p, Input as v, Select as F, InputNumber as j, Switch as A } from "@xto/form";
3
- import { Card as G, Tag as c } from "@xto/data";
4
- import { Modal as H, Message as J } from "@xto/feedback";
5
- import { Button as E, Space as D } from "@xto/base";
6
- import { S as r, M as u, b as K, _ as P } from "./index-CgbSCzIp.js";
7
- const Q = { class: "menu-page" }, W = { class: "toolbar" }, X = { class: "menu-tree" }, Z = { class: "tree-table" }, ee = { class: "tree-row tree-row--level-0" }, te = ["onClick"], le = ["onClick"], ae = /* @__PURE__ */ O({
8
- __name: "index",
9
- setup(ne) {
10
- const R = [
11
- {
12
- id: 1,
13
- parentId: null,
14
- name: "Dashboard",
15
- path: "/dashboard",
16
- component: "dashboard/index",
17
- redirect: "",
18
- icon: "dashboard",
19
- title: "仪表盘",
20
- type: u.MENU,
21
- sort: 1,
22
- status: r.ENABLED,
23
- hidden: !1,
24
- keepAlive: !0
25
- },
26
- {
27
- id: 2,
28
- parentId: null,
29
- name: "System",
30
- path: "/system",
31
- component: "",
32
- redirect: "/system/user",
33
- icon: "setting",
34
- title: "系统管理",
35
- type: u.DIRECTORY,
36
- sort: 2,
37
- status: r.ENABLED,
38
- hidden: !1,
39
- keepAlive: !1,
40
- children: [
41
- {
42
- id: 21,
43
- parentId: 2,
44
- name: "SystemUser",
45
- path: "/system/user",
46
- component: "system/user/index",
47
- redirect: "",
48
- icon: "user",
49
- title: "用户管理",
50
- type: u.MENU,
51
- sort: 1,
52
- status: r.ENABLED,
53
- hidden: !1,
54
- keepAlive: !0
55
- },
56
- {
57
- id: 22,
58
- parentId: 2,
59
- name: "SystemRole",
60
- path: "/system/role",
61
- component: "system/role/index",
62
- redirect: "",
63
- icon: "role",
64
- title: "角色管理",
65
- type: u.MENU,
66
- sort: 2,
67
- status: r.ENABLED,
68
- hidden: !1,
69
- keepAlive: !0
70
- },
71
- {
72
- id: 23,
73
- parentId: 2,
74
- name: "SystemMenu",
75
- path: "/system/menu",
76
- component: "system/menu/index",
77
- redirect: "",
78
- icon: "menu",
79
- title: "菜单管理",
80
- type: u.MENU,
81
- sort: 3,
82
- status: r.ENABLED,
83
- hidden: !1,
84
- keepAlive: !0
85
- }
86
- ]
87
- }
88
- ], U = N(!1), C = N([]), y = N(!1), S = z(() => s.id ? "编辑菜单" : "新增菜单"), s = $({
89
- id: 0,
90
- parentId: null,
91
- name: "",
92
- path: "",
93
- component: "",
94
- redirect: "",
95
- icon: "",
96
- title: "",
97
- type: u.MENU,
98
- sort: 0,
99
- status: r.ENABLED,
100
- hidden: !1,
101
- keepAlive: !0
102
- }), w = {
103
- name: [
104
- { required: !0, message: "请输入菜单名称", trigger: "blur" }
105
- ],
106
- path: [
107
- { required: !0, message: "请输入路由路径", trigger: "blur" }
108
- ],
109
- title: [
110
- { required: !0, message: "请输入菜单标题", trigger: "blur" }
111
- ]
112
- }, M = N(), I = () => {
113
- U.value = !0, setTimeout(() => {
114
- C.value = R, U.value = !1;
115
- }, 300);
116
- }, B = (f = null) => {
117
- Object.assign(s, {
118
- id: 0,
119
- parentId: f,
120
- name: "",
121
- path: "",
122
- component: "",
123
- redirect: "",
124
- icon: "",
125
- title: "",
126
- type: u.MENU,
127
- sort: 0,
128
- status: r.ENABLED,
129
- hidden: !1,
130
- keepAlive: !0
131
- }), y.value = !0;
132
- }, b = (f) => {
133
- Object.assign(s, f), y.value = !0;
134
- }, T = async () => {
135
- var f;
136
- try {
137
- await ((f = M.value) == null ? void 0 : f.validate()), J.success(s.id ? "编辑成功" : "新增成功"), y.value = !1, I();
138
- } catch (t) {
139
- console.error(t);
140
- }
141
- }, L = (f) => ({
142
- dashboard: "📊",
143
- system: "⚙️",
144
- user: "👤",
145
- role: "👥",
146
- menu: "📋",
147
- setting: "🔧"
148
- })[f || ""] || "📄";
149
- return Y(() => {
150
- I();
151
- }), (f, t) => (V(), k("div", Q, [
152
- a(e(G), { class: "menu-card" }, {
153
- default: o(() => [
154
- n("div", W, [
155
- a(e(E), {
156
- type: "primary",
157
- onClick: t[0] || (t[0] = (l) => B())
158
- }, {
159
- default: o(() => [...t[14] || (t[14] = [
160
- m("新增菜单", -1)
161
- ])]),
162
- _: 1
163
- })
164
- ]),
165
- n("div", X, [
166
- n("table", Z, [
167
- t[19] || (t[19] = n("thead", null, [
168
- n("tr", null, [
169
- n("th", null, "菜单名称"),
170
- n("th", null, "图标"),
171
- n("th", null, "路由路径"),
172
- n("th", null, "类型"),
173
- n("th", null, "排序"),
174
- n("th", null, "状态"),
175
- n("th", null, "操作")
176
- ])
177
- ], -1)),
178
- n("tbody", null, [
179
- (V(!0), k(g, null, x(C.value, (l) => (V(), k(g, {
180
- key: l.id
181
- }, [
182
- n("tr", ee, [
183
- n("td", null, [
184
- n("span", {
185
- class: "menu-name",
186
- onClick: (d) => b(l)
187
- }, i(l.title), 9, te)
188
- ]),
189
- n("td", null, i(L(l.icon)), 1),
190
- n("td", null, i(l.path), 1),
191
- n("td", null, [
192
- a(e(c), {
193
- type: l.type === e(u).DIRECTORY ? "primary" : l.type === e(u).MENU ? "success" : "warning",
194
- size: "small"
195
- }, {
196
- default: o(() => [
197
- m(i(l.type === e(u).DIRECTORY ? "目录" : l.type === e(u).MENU ? "菜单" : "按钮"), 1)
198
- ]),
199
- _: 2
200
- }, 1032, ["type"])
201
- ]),
202
- n("td", null, i(l.sort), 1),
203
- n("td", null, [
204
- a(e(c), {
205
- type: l.status === e(r).ENABLED ? "success" : "danger",
206
- size: "small"
207
- }, {
208
- default: o(() => [
209
- m(i(l.status === e(r).ENABLED ? "启用" : "禁用"), 1)
210
- ]),
211
- _: 2
212
- }, 1032, ["type"])
213
- ]),
214
- n("td", null, [
215
- a(e(D), null, {
216
- default: o(() => [
217
- a(e(E), {
218
- type: "primary",
219
- link: "",
220
- size: "small",
221
- onClick: (d) => B(l.id)
222
- }, {
223
- default: o(() => [...t[15] || (t[15] = [
224
- m("新增", -1)
225
- ])]),
226
- _: 1
227
- }, 8, ["onClick"]),
228
- a(e(E), {
229
- type: "primary",
230
- link: "",
231
- size: "small",
232
- onClick: (d) => b(l)
233
- }, {
234
- default: o(() => [...t[16] || (t[16] = [
235
- m("编辑", -1)
236
- ])]),
237
- _: 1
238
- }, 8, ["onClick"])
239
- ]),
240
- _: 2
241
- }, 1024)
242
- ])
243
- ]),
244
- l.children ? (V(!0), k(g, { key: 0 }, x(l.children, (d) => (V(), k("tr", {
245
- key: d.id,
246
- class: "tree-row tree-row--level-1"
247
- }, [
248
- n("td", null, [
249
- t[17] || (t[17] = n("span", { class: "tree-indent" }, null, -1)),
250
- n("span", {
251
- class: "menu-name",
252
- onClick: (_) => b(d)
253
- }, i(d.title), 9, le)
254
- ]),
255
- n("td", null, i(L(d.icon)), 1),
256
- n("td", null, i(d.path), 1),
257
- n("td", null, [
258
- a(e(c), {
259
- type: d.type === e(u).DIRECTORY ? "primary" : d.type === e(u).MENU ? "success" : "warning",
260
- size: "small"
261
- }, {
262
- default: o(() => [
263
- m(i(d.type === e(u).DIRECTORY ? "目录" : d.type === e(u).MENU ? "菜单" : "按钮"), 1)
264
- ]),
265
- _: 2
266
- }, 1032, ["type"])
267
- ]),
268
- n("td", null, i(d.sort), 1),
269
- n("td", null, [
270
- a(e(c), {
271
- type: d.status === e(r).ENABLED ? "success" : "danger",
272
- size: "small"
273
- }, {
274
- default: o(() => [
275
- m(i(d.status === e(r).ENABLED ? "启用" : "禁用"), 1)
276
- ]),
277
- _: 2
278
- }, 1032, ["type"])
279
- ]),
280
- n("td", null, [
281
- a(e(D), null, {
282
- default: o(() => [
283
- a(e(E), {
284
- type: "primary",
285
- link: "",
286
- size: "small",
287
- onClick: (_) => b(d)
288
- }, {
289
- default: o(() => [...t[18] || (t[18] = [
290
- m("编辑", -1)
291
- ])]),
292
- _: 1
293
- }, 8, ["onClick"])
294
- ]),
295
- _: 2
296
- }, 1024)
297
- ])
298
- ]))), 128)) : h("", !0)
299
- ], 64))), 128))
300
- ])
301
- ])
302
- ])
303
- ]),
304
- _: 1
305
- }),
306
- a(e(H), {
307
- modelValue: y.value,
308
- "onUpdate:modelValue": t[13] || (t[13] = (l) => y.value = l),
309
- title: S.value,
310
- width: "600px"
311
- }, {
312
- footer: o(() => [
313
- a(e(D), null, {
314
- default: o(() => [
315
- a(e(E), {
316
- onClick: t[12] || (t[12] = (l) => y.value = !1)
317
- }, {
318
- default: o(() => [...t[20] || (t[20] = [
319
- m("取消", -1)
320
- ])]),
321
- _: 1
322
- }),
323
- a(e(E), {
324
- type: "primary",
325
- onClick: T
326
- }, {
327
- default: o(() => [...t[21] || (t[21] = [
328
- m("确定", -1)
329
- ])]),
330
- _: 1
331
- })
332
- ]),
333
- _: 1
334
- })
335
- ]),
336
- default: o(() => [
337
- a(e(q), {
338
- ref_key: "formRef",
339
- ref: M,
340
- model: s,
341
- rules: w,
342
- "label-width": "80px"
343
- }, {
344
- default: o(() => [
345
- a(e(p), { label: "上级菜单" }, {
346
- default: o(() => [
347
- a(e(v), {
348
- modelValue: s.parentId,
349
- "onUpdate:modelValue": t[1] || (t[1] = (l) => s.parentId = l),
350
- placeholder: "上级菜单ID",
351
- disabled: ""
352
- }, null, 8, ["modelValue"])
353
- ]),
354
- _: 1
355
- }),
356
- a(e(p), { label: "菜单类型" }, {
357
- default: o(() => [
358
- a(e(F), {
359
- modelValue: s.type,
360
- "onUpdate:modelValue": t[2] || (t[2] = (l) => s.type = l),
361
- options: e(K)
362
- }, null, 8, ["modelValue", "options"])
363
- ]),
364
- _: 1
365
- }),
366
- a(e(p), {
367
- label: "菜单名称",
368
- prop: "name"
369
- }, {
370
- default: o(() => [
371
- a(e(v), {
372
- modelValue: s.name,
373
- "onUpdate:modelValue": t[3] || (t[3] = (l) => s.name = l),
374
- placeholder: "请输入菜单名称(路由name)"
375
- }, null, 8, ["modelValue"])
376
- ]),
377
- _: 1
378
- }),
379
- a(e(p), {
380
- label: "菜单标题",
381
- prop: "title"
382
- }, {
383
- default: o(() => [
384
- a(e(v), {
385
- modelValue: s.title,
386
- "onUpdate:modelValue": t[4] || (t[4] = (l) => s.title = l),
387
- placeholder: "请输入菜单标题"
388
- }, null, 8, ["modelValue"])
389
- ]),
390
- _: 1
391
- }),
392
- a(e(p), {
393
- label: "路由路径",
394
- prop: "path"
395
- }, {
396
- default: o(() => [
397
- a(e(v), {
398
- modelValue: s.path,
399
- "onUpdate:modelValue": t[5] || (t[5] = (l) => s.path = l),
400
- placeholder: "请输入路由路径"
401
- }, null, 8, ["modelValue"])
402
- ]),
403
- _: 1
404
- }),
405
- a(e(p), { label: "组件路径" }, {
406
- default: o(() => [
407
- a(e(v), {
408
- modelValue: s.component,
409
- "onUpdate:modelValue": t[6] || (t[6] = (l) => s.component = l),
410
- placeholder: "请输入组件路径"
411
- }, null, 8, ["modelValue"])
412
- ]),
413
- _: 1
414
- }),
415
- a(e(p), { label: "图标" }, {
416
- default: o(() => [
417
- a(e(v), {
418
- modelValue: s.icon,
419
- "onUpdate:modelValue": t[7] || (t[7] = (l) => s.icon = l),
420
- placeholder: "请输入图标名称"
421
- }, null, 8, ["modelValue"])
422
- ]),
423
- _: 1
424
- }),
425
- a(e(p), { label: "排序" }, {
426
- default: o(() => [
427
- a(e(j), {
428
- modelValue: s.sort,
429
- "onUpdate:modelValue": t[8] || (t[8] = (l) => s.sort = l),
430
- min: 0
431
- }, null, 8, ["modelValue"])
432
- ]),
433
- _: 1
434
- }),
435
- a(e(p), { label: "状态" }, {
436
- default: o(() => [
437
- a(e(A), {
438
- modelValue: s.status,
439
- "onUpdate:modelValue": t[9] || (t[9] = (l) => s.status = l),
440
- "active-value": e(r).ENABLED,
441
- "inactive-value": e(r).DISABLED
442
- }, null, 8, ["modelValue", "active-value", "inactive-value"])
443
- ]),
444
- _: 1
445
- }),
446
- a(e(p), { label: "隐藏" }, {
447
- default: o(() => [
448
- a(e(A), {
449
- modelValue: s.hidden,
450
- "onUpdate:modelValue": t[10] || (t[10] = (l) => s.hidden = l)
451
- }, null, 8, ["modelValue"])
452
- ]),
453
- _: 1
454
- }),
455
- a(e(p), { label: "缓存" }, {
456
- default: o(() => [
457
- a(e(A), {
458
- modelValue: s.keepAlive,
459
- "onUpdate:modelValue": t[11] || (t[11] = (l) => s.keepAlive = l)
460
- }, null, 8, ["modelValue"])
461
- ]),
462
- _: 1
463
- })
464
- ]),
465
- _: 1
466
- }, 8, ["model"])
467
- ]),
468
- _: 1
469
- }, 8, ["modelValue", "title"])
470
- ]));
471
- }
472
- }), pe = /* @__PURE__ */ P(ae, [["__scopeId", "data-v-2a272a68"]]);
473
- export {
474
- pe as default
475
- };
package/dist/index.d.ts DELETED
@@ -1,54 +0,0 @@
1
- export interface XtoConfig {
2
- appName?: string;
3
- appId?: string;
4
- clientId?: string;
5
- apiBaseUrl?: string;
6
- indexPath?: string;
7
- loginPath?: string;
8
- }
9
- /**
10
- * 初始化 XTO 应用
11
- * 在项目入口文件中调用此函数设置应用配置
12
- * @param config 应用配置
13
- */
14
- export declare function createXtoApp(config: Partial<XtoConfig>): {
15
- config: {
16
- appName: string;
17
- appId: string;
18
- clientId: string;
19
- apiBaseUrl: string;
20
- indexPath: string;
21
- loginPath: string;
22
- };
23
- };
24
- export { default as Layout } from './components/Layout/index.vue';
25
- export { default as Header } from './components/Layout/Header.vue';
26
- export { default as Sidebar } from './components/Layout/Sidebar.vue';
27
- export { default as Tabs } from './components/Layout/Tabs.vue';
28
- export { default as Footer } from './components/Layout/Footer.vue';
29
- export { default as Login } from './views/login/index.vue';
30
- export { default as NotFound } from './views/error/404.vue';
31
- export { default as Forbidden } from './views/error/403.vue';
32
- export * from './composables/useApp';
33
- export * from './composables/useAuth';
34
- export * from './composables/useForm';
35
- export * from './composables/useTable';
36
- export * from './utils/auth';
37
- export * from './utils/permission';
38
- export * from './utils/request';
39
- export * from './utils/storage';
40
- export * from './utils/config';
41
- export * from './stores/app';
42
- export * from './stores/auth';
43
- export * from './stores/menu';
44
- export * from './stores/user';
45
- export { default as router, resetRouter } from './router';
46
- export * from './router/staticRoutes';
47
- export * from './router/dynamicRoutes';
48
- export { createLayoutRoute, createRouter } from './router/layoutRoute';
49
- export { setupRouterGuards } from './router/guards';
50
- export * from './api/auth';
51
- export * from './api/system';
52
- export * from './api/user';
53
- export * from './enums';
54
- export { default as permissionDirective } from './directives/permission';
package/dist/index.es.js DELETED
@@ -1,91 +0,0 @@
1
- import { F as s, c as t, G as o, d as r, e as u, H as n, L as i, i as p, M as l, b as d, f as T, g, h as R, S as c, a as k, j as h, T as f, k as S, l as U, m, n as y, o as M, p as A, q as x, r as b, s as D, t as L, u as C, v as F, w as G, x as I, y as E, z as O, A as v, B as w, C as P, D as j, E as q, I as B, J as H, K as N, N as X, O as z, P as J, Q as K, R as Q, U as V, V as W, W as Y, X as Z, Y as $, Z as _, $ as ee, a0 as ae, a1 as se, a2 as te, a3 as oe, a4 as re, a5 as ue, a6 as ne, a7 as ie, a8 as pe, a9 as le, aa as de, ab as Te, ac as ge, ad as Re, ae as ce, af as ke, ag as he, ah as fe, ai as Se, aj as Ue, ak as me, al as ye, am as Me, an as Ae, ao as xe, ap as be, aq as De, ar as Le, as as Ce, at as Fe, au as Ge, av as Ie, aw as Ee, ax as Oe, ay as ve } from "./index-CgbSCzIp.js";
2
- export {
3
- s as Footer,
4
- t as Forbidden,
5
- o as Gender,
6
- r as GenderOptions,
7
- u as GenderText,
8
- n as Header,
9
- i as Layout,
10
- p as Login,
11
- l as MenuType,
12
- d as MenuTypeOptions,
13
- T as MenuTypeText,
14
- g as NotFound,
15
- R as Sidebar,
16
- c as Status,
17
- k as StatusOptions,
18
- h as StatusText,
19
- f as Tabs,
20
- S as appConfig,
21
- U as batchDeleteUsers,
22
- m as clearToken,
23
- y as createLayoutRoute,
24
- M as createMenu,
25
- A as createRole,
26
- x as createRouter,
27
- b as createUser,
28
- D as createXtoApp,
29
- L as defaultDynamicRoutes,
30
- C as deleteMenu,
31
- F as deleteRole,
32
- G as deleteUser,
33
- I as getApiBaseUrl,
34
- E as getAppId,
35
- O as getClientId,
36
- v as getCode,
37
- w as getMenuList,
38
- P as getMenuTree,
39
- j as getRefreshTime,
40
- q as getRefreshToken,
41
- B as getRoleDetail,
42
- H as getRoleList,
43
- N as getToken,
44
- X as getTokenExpire,
45
- z as getTokenType,
46
- J as getUserDetail,
47
- K as getUserInfo,
48
- Q as getUserList,
49
- V as hasPermission,
50
- W as hasRole,
51
- Y as hasToken,
52
- Z as http,
53
- $ as initAppConfig,
54
- _ as isAdmin,
55
- ee as isTokenExpired,
56
- ae as layoutRoute,
57
- se as local,
58
- te as localStorageUtil,
59
- oe as login,
60
- re as logout,
61
- ue as mockMenuData,
62
- ne as permissionDirective,
63
- ie as refreshToken,
64
- pe as resetPassword,
65
- le as resetRouter,
66
- de as router,
67
- Te as session,
68
- ge as sessionStorageUtil,
69
- Re as setCode,
70
- ce as setRefreshTime,
71
- ke as setRefreshToken,
72
- he as setToken,
73
- fe as setTokenExpire,
74
- Se as setTokenInfo,
75
- Ue as setTokenType,
76
- me as setupRouterGuards,
77
- ye as staticRoutes,
78
- Me as updateMenu,
79
- Ae as updateRole,
80
- xe as updateRoleStatus,
81
- be as updateUser,
82
- De as updateUserStatus,
83
- Le as useApp,
84
- Ce as useAppStore,
85
- Fe as useAuth,
86
- Ge as useAuthStore,
87
- Ie as useForm,
88
- Ee as useMenuStore,
89
- Oe as useTable,
90
- ve as useUserStore
91
- };