xxl-job-vue3 1.0.1 → 1.0.2

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.

Potentially problematic release.


This version of xxl-job-vue3 might be problematic. Click here for more details.

Files changed (144) hide show
  1. package/README.md +33 -7
  2. package/dist/403-CT_xpxt9.js +35 -0
  3. package/dist/404-D41S06ze.js +35 -0
  4. package/dist/500-DiwNQtiW.js +35 -0
  5. package/dist/index-BQYLMMeF.js +1341 -0
  6. package/dist/lib-index-Ce2gwbBI.js +40483 -0
  7. package/dist/style.css +1 -1
  8. package/dist/types/src/api/config/servicePort.d.ts +6 -0
  9. package/dist/types/src/api/helper/axiosCancel.d.ts +20 -0
  10. package/dist/types/src/api/helper/checkStatus.d.ts +6 -0
  11. package/dist/types/src/api/index.d.ts +24 -0
  12. package/dist/types/src/api/interface/common.d.ts +72 -0
  13. package/dist/types/src/api/interface/index.d.ts +10 -0
  14. package/dist/types/src/api/interface/xxlJob/jobDashboard.d.ts +36 -0
  15. package/dist/types/src/api/interface/xxlJob/jobExecutor.d.ts +32 -0
  16. package/dist/types/src/api/interface/xxlJob/jobInfo.d.ts +73 -0
  17. package/dist/types/src/api/interface/xxlJob/jobLogs.d.ts +29 -0
  18. package/dist/types/src/api/modules/common.d.ts +4 -0
  19. package/dist/types/src/api/modules/index.d.ts +12 -0
  20. package/dist/types/src/api/modules/upload.d.ts +11 -0
  21. package/dist/types/src/api/modules/xxlJob/jobDashboard.d.ts +10 -0
  22. package/dist/types/src/api/modules/xxlJob/jobExecutor.d.ts +23 -0
  23. package/dist/types/src/api/modules/xxlJob/jobInfo.d.ts +51 -0
  24. package/dist/types/src/api/modules/xxlJob/jobLogs.d.ts +16 -0
  25. package/dist/types/src/components/ECharts/config/index.d.ts +6 -0
  26. package/dist/types/src/components/ECharts/index.vue.d.ts +44 -0
  27. package/dist/types/src/components/ErrorMessage/403.vue.d.ts +2 -0
  28. package/dist/types/src/components/ErrorMessage/404.vue.d.ts +2 -0
  29. package/dist/types/src/components/ErrorMessage/500.vue.d.ts +2 -0
  30. package/dist/types/src/components/Grid/components/GridItem.vue.d.ts +67 -0
  31. package/dist/types/src/components/Grid/index.vue.d.ts +65 -0
  32. package/dist/types/src/components/Grid/interface/index.d.ts +5 -0
  33. package/dist/types/src/components/Loading/fullScreen.d.ts +5 -0
  34. package/dist/types/src/components/ProTable/components/ColSetting.vue.d.ts +19 -0
  35. package/dist/types/src/components/ProTable/components/Pagination.vue.d.ts +21 -0
  36. package/dist/types/src/components/ProTable/components/TableColumn.vue.d.ts +17 -0
  37. package/dist/types/src/components/ProTable/index.vue.d.ts +3132 -0
  38. package/dist/types/src/components/ProTable/interface/index.d.ts +102 -0
  39. package/dist/types/src/components/SearchForm/components/SearchFormItem.vue.d.ts +28 -0
  40. package/dist/types/src/components/SearchForm/index.vue.d.ts +46 -0
  41. package/dist/types/src/components/SwitchDark/index.vue.d.ts +2 -0
  42. package/dist/types/src/config/index.d.ts +4 -0
  43. package/dist/types/src/config/nprogress.d.ts +3 -0
  44. package/dist/types/src/directives/index.d.ts +6 -0
  45. package/dist/types/src/directives/modules/auth.d.ts +4 -0
  46. package/dist/types/src/enums/httpEnum.d.ts +29 -0
  47. package/dist/types/src/hooks/interface/index.d.ts +30 -0
  48. package/dist/types/src/hooks/useAuthButtons.d.ts +8 -0
  49. package/dist/types/src/hooks/useDownload.d.ts +20 -0
  50. package/dist/types/src/hooks/useHandleData.d.ts +12 -0
  51. package/dist/types/src/hooks/useOnline.d.ts +6 -0
  52. package/dist/types/src/hooks/useSelection.d.ts +17 -0
  53. package/dist/types/src/hooks/useTable.d.ts +46 -0
  54. package/dist/types/src/hooks/useTheme.d.ts +13 -0
  55. package/dist/types/src/hooks/useTime.d.ts +15 -0
  56. package/dist/types/src/languages/index.d.ts +62 -0
  57. package/dist/types/src/languages/modules/en.d.ts +31 -0
  58. package/dist/types/src/languages/modules/zh.d.ts +30 -0
  59. package/dist/types/src/layouts/LayoutClassic/index.vue.d.ts +2 -0
  60. package/dist/types/src/layouts/LayoutTransverse/index.vue.d.ts +2 -0
  61. package/dist/types/src/layouts/components/Footer/index.vue.d.ts +2 -0
  62. package/dist/types/src/layouts/components/Header/ToolBarLeft.vue.d.ts +2 -0
  63. package/dist/types/src/layouts/components/Header/ToolBarRight.vue.d.ts +2 -0
  64. package/dist/types/src/layouts/components/Header/components/Avatar.vue.d.ts +2 -0
  65. package/dist/types/src/layouts/components/Header/components/Breadcrumb.vue.d.ts +2 -0
  66. package/dist/types/src/layouts/components/Header/components/CollapseIcon.vue.d.ts +2 -0
  67. package/dist/types/src/layouts/components/Header/components/Fullscreen.vue.d.ts +2 -0
  68. package/dist/types/src/layouts/components/Header/components/ThemeSetting.vue.d.ts +2 -0
  69. package/dist/types/src/layouts/components/Main/components/Maximize.vue.d.ts +2 -0
  70. package/dist/types/src/layouts/components/Main/index.vue.d.ts +28 -0
  71. package/dist/types/src/layouts/components/Menu/SubMenu.vue.d.ts +15 -0
  72. package/dist/types/src/layouts/components/Tabs/components/MoreButton.vue.d.ts +6 -0
  73. package/dist/types/src/layouts/components/Tabs/index.vue.d.ts +6 -0
  74. package/dist/types/src/layouts/components/ThemeDrawer/index.vue.d.ts +2 -0
  75. package/dist/types/src/layouts/index.vue.d.ts +2 -0
  76. package/dist/types/src/lib-index.d.ts +9 -0
  77. package/dist/types/src/main.d.ts +1 -0
  78. package/dist/types/src/routers/index.d.ts +22 -0
  79. package/dist/types/src/routers/modules/dynamicRouter.d.ts +6 -0
  80. package/dist/types/src/routers/modules/staticRouter.d.ts +22 -0
  81. package/dist/types/src/stores/helper/persist.d.ts +10 -0
  82. package/dist/types/src/stores/index.d.ts +2 -0
  83. package/dist/types/src/stores/interface/index.d.ts +66 -0
  84. package/dist/types/src/stores/modules/auth.d.ts +156 -0
  85. package/dist/types/src/stores/modules/global.d.ts +43 -0
  86. package/dist/types/src/stores/modules/keepAlive.d.ts +7 -0
  87. package/dist/types/src/stores/modules/tabs.d.ts +10 -0
  88. package/dist/types/src/stores/modules/user.d.ts +17 -0
  89. package/dist/types/src/styles/theme/aside.d.ts +5 -0
  90. package/dist/types/src/styles/theme/header.d.ts +5 -0
  91. package/dist/types/src/styles/theme/menu.d.ts +5 -0
  92. package/dist/types/src/utils/aes.d.ts +12 -0
  93. package/dist/types/src/utils/color.d.ts +28 -0
  94. package/dist/types/src/utils/dict.d.ts +257 -0
  95. package/dist/types/src/utils/eleValidate.d.ts +4 -0
  96. package/dist/types/src/utils/errorHandler.d.ts +5 -0
  97. package/dist/types/src/utils/index.d.ts +235 -0
  98. package/dist/types/src/utils/is/index.d.ts +126 -0
  99. package/dist/types/src/utils/mittBus.d.ts +2 -0
  100. package/dist/types/src/utils/sm3.d.ts +6 -0
  101. package/dist/types/src/utils/sm4.d.ts +14 -0
  102. package/dist/types/src/utils/svg.d.ts +4 -0
  103. package/dist/types/src/utils/xxl-bridge.d.ts +21 -0
  104. package/dist/types/src/views/xxlJob/jobDashboard/index.vue.d.ts +2 -0
  105. package/dist/types/src/views/xxlJob/jobExecutor/components/EditExecutor.vue.d.ts +21 -0
  106. package/dist/types/src/views/xxlJob/jobExecutor/index.vue.d.ts +2 -0
  107. package/dist/types/src/views/xxlJob/jobInfo/components/CreateCronExpression.vue.d.ts +28 -0
  108. package/dist/types/src/views/xxlJob/jobInfo/components/JobInfoDetail.vue.d.ts +10 -0
  109. package/dist/types/src/views/xxlJob/jobInfo/components/RegisterNode.vue.d.ts +11 -0
  110. package/dist/types/src/views/xxlJob/jobInfo/components/RunOnceView.vue.d.ts +11 -0
  111. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabDay.vue.d.ts +26 -0
  112. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabHour.vue.d.ts +13 -0
  113. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabMin.vue.d.ts +13 -0
  114. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabMonth.vue.d.ts +13 -0
  115. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabResult.vue.d.ts +15 -0
  116. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabSecond.vue.d.ts +13 -0
  117. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabWeek.vue.d.ts +27 -0
  118. package/dist/types/src/views/xxlJob/jobInfo/components/lib/CrontabYear.vue.d.ts +14 -0
  119. package/dist/types/src/views/xxlJob/jobInfo/index.vue.d.ts +2 -0
  120. package/dist/types/src/views/xxlJob/jobLogs/components/JobTaskClearDialog.vue.d.ts +16 -0
  121. package/dist/types/src/views/xxlJob/jobLogs/components/JobTaskInfoView.vue.d.ts +17 -0
  122. package/dist/types/src/views/xxlJob/jobLogs/index.vue.d.ts +2 -0
  123. package/dist/xxl-job-vue3.es.js +6 -5
  124. package/dist/xxl-job-vue3.umd.js +95 -79
  125. package/package.json +38 -35
  126. package/dist/403-BgYs1MY9.js +0 -36
  127. package/dist/404-DHj5v1Yh.js +0 -36
  128. package/dist/500-BMPMnB5R.js +0 -36
  129. package/dist/CrontabDay-BtWkPZgc.js +0 -4
  130. package/dist/CrontabHour-CWW94JsR.js +0 -4
  131. package/dist/CrontabMin-4na7Y7jF.js +0 -4
  132. package/dist/CrontabMonth-dsg6XXW5.js +0 -4
  133. package/dist/CrontabResult-rMgvC2Ov.js +0 -4
  134. package/dist/CrontabSecond-B57qJvYE.js +0 -4
  135. package/dist/CrontabWeek-dPVVzR9P.js +0 -4
  136. package/dist/CrontabYear-DImaFqLN.js +0 -4
  137. package/dist/EditExecutor-DZ3Ic8Ex.js +0 -4
  138. package/dist/JobTaskClearDialog-D-E19g9O.js +0 -4
  139. package/dist/RunOnceView-D4oyLKNh.js +0 -4
  140. package/dist/index-C8Y_Od96.js +0 -100151
  141. package/dist/index-D6UxUdAp.js +0 -4463
  142. package/dist/index-DI263EBt.js +0 -4
  143. package/dist/index-DvUlhZYD.js +0 -4
  144. package/dist/index-Zr37j6aO.js +0 -4
@@ -0,0 +1,1341 @@
1
+ import { defineComponent as L, resolveComponent as u, createBlock as k, openBlock as m, unref as _, isRef as N, ref as X, withCtx as r, createVNode as o, createElementVNode as i, createTextVNode as z, normalizeClass as q, createCommentVNode as W, createElementBlock as $, inject as $e, toDisplayString as T, nextTick as Le, computed as B, onMounted as fe, watch as oe, Fragment as O, renderList as le, resolveDynamicComponent as K, provide as Ve, onBeforeUnmount as Ee, withDirectives as Q, vShow as J, Transition as ze, KeepAlive as De, h as ie, TransitionGroup as Ne, normalizeStyle as Be } from "vue";
2
+ import { u as D, D as se, _ as V, p as _e, g as Pe, r as Re, a as Z, S as Ge, b as Ke } from "./lib-index-Ce2gwbBI.js";
3
+ import { ElMessage as H } from "element-plus";
4
+ import { Moon as Ue, Sunny as qe, ArrowRight as Oe } from "@element-plus/icons-vue";
5
+ import { useRoute as ee, useRouter as te } from "vue-router";
6
+ import { defineStore as ae, storeToRefs as We } from "pinia";
7
+ function he(n) {
8
+ let e = "";
9
+ if (!/^\#?[0-9A-Fa-f]{6}$/.test(n)) return H.warning("输入错误的hex");
10
+ n = n.replace("#", ""), e = n.match(/../g);
11
+ for (let l = 0; l < 3; l++) e[l] = parseInt(e[l], 16);
12
+ return e;
13
+ }
14
+ function ve(n, e, t) {
15
+ let l = /^\d{1,3}$/;
16
+ if (!l.test(n) || !l.test(e) || !l.test(t)) return H.warning("输入错误的rgb颜色值");
17
+ let s = [n.toString(16), e.toString(16), t.toString(16)];
18
+ for (let d = 0; d < 3; d++) s[d].length == 1 && (s[d] = `0${s[d]}`);
19
+ return `#${s.join("")}`;
20
+ }
21
+ function ce(n, e) {
22
+ if (!/^\#?[0-9A-Fa-f]{6}$/.test(n)) return H.warning("输入错误的hex颜色值");
23
+ let l = he(n);
24
+ for (let s = 0; s < 3; s++) l[s] = Math.round(20.5 * e + l[s] * (1 - e));
25
+ return ve(l[0], l[1], l[2]);
26
+ }
27
+ function ue(n, e) {
28
+ if (!/^\#?[0-9A-Fa-f]{6}$/.test(n)) return H.warning("输入错误的hex颜色值");
29
+ let l = he(n);
30
+ for (let s = 0; s < 3; s++) l[s] = Math.round(255 * e + l[s] * (1 - e));
31
+ return ve(l[0], l[1], l[2]);
32
+ }
33
+ const je = {
34
+ light: {
35
+ "--el-menu-bg-color": "#ffffff",
36
+ "--el-menu-hover-bg-color": "#cccccc",
37
+ "--el-menu-active-bg-color": "var(--el-color-primary-light-9)",
38
+ "--el-menu-text-color": "#333333",
39
+ "--el-menu-active-color": "var(--el-color-primary)",
40
+ "--el-menu-hover-text-color": "#333333",
41
+ "--el-menu-horizontal-sub-item-height": "50px"
42
+ },
43
+ inverted: {
44
+ "--el-menu-bg-color": "#ffffff",
45
+ "--el-menu-hover-bg-color": "#cccccc",
46
+ "--el-menu-active-bg-color": "var(--el-color-primary-light-9)",
47
+ "--el-menu-text-color": "#333333",
48
+ "--el-menu-active-color": "var(--el-color-primary)",
49
+ "--el-menu-hover-text-color": "#333333",
50
+ "--el-menu-horizontal-sub-item-height": "50px"
51
+ },
52
+ dark: {
53
+ "--el-menu-bg-color": "#141414",
54
+ "--el-menu-hover-bg-color": "#000000",
55
+ "--el-menu-active-bg-color": "#000000",
56
+ "--el-menu-text-color": "#bdbdc0",
57
+ "--el-menu-active-color": "#ffffff",
58
+ "--el-menu-hover-text-color": "#ffffff",
59
+ "--el-menu-horizontal-sub-item-height": "50px"
60
+ }
61
+ }, He = {
62
+ light: {
63
+ "--el-aside-logo-text-color": "#303133",
64
+ "--el-aside-border-color": "#e4e7ed"
65
+ },
66
+ inverted: {
67
+ "--el-aside-logo-text-color": "#dadada",
68
+ "--el-aside-border-color": "#414243"
69
+ },
70
+ dark: {
71
+ "--el-aside-logo-text-color": "#dadada",
72
+ "--el-aside-border-color": "#414243"
73
+ }
74
+ }, Ie = {
75
+ light: {
76
+ "--el-header-logo-text-color": "#303133",
77
+ "--el-header-bg-color": "#ffffff",
78
+ "--el-header-text-color": "#303133",
79
+ "--el-header-text-color-regular": "#606266",
80
+ "--el-header-border-color": "#e4e7ed"
81
+ },
82
+ inverted: {
83
+ "--el-header-logo-text-color": "#fff",
84
+ "--el-header-bg-color": "var(--el-color-primary)",
85
+ "--el-header-text-color": "#fff",
86
+ "--el-header-text-color-regular": "#fff",
87
+ "--el-header-border-color": "var(--el-color-primary)"
88
+ },
89
+ dark: {
90
+ "--el-header-logo-text-color": "#dadada",
91
+ "--el-header-bg-color": "#141414",
92
+ "--el-header-text-color": "#e5eaf3",
93
+ "--el-header-text-color-regular": "#cfd3dc",
94
+ "--el-header-border-color": "#414243"
95
+ }
96
+ }, be = () => {
97
+ const n = D(), { primary: e, isDark: t, isGrey: l, isWeak: s, layout: d, asideInverted: b, headerInverted: w } = n, C = () => {
98
+ const c = document.documentElement;
99
+ t.value ? c.setAttribute("class", "dark") : c.setAttribute("class", ""), h(e.value), g(), f();
100
+ }, h = (c) => {
101
+ c || (c = se, H({ type: "success", message: `主题颜色已重置为 ${se}` })), document.documentElement.style.setProperty("--el-color-primary", c), document.documentElement.style.setProperty(
102
+ "--el-color-primary-dark-2",
103
+ t.value ? `${ue(c, 0.2)}` : `${ce(c, 0.3)}`
104
+ );
105
+ for (let p = 1; p <= 9; p++) {
106
+ const v = t.value ? `${ce(c, p / 10)}` : `${ue(c, p / 10)}`;
107
+ document.documentElement.style.setProperty(`--el-color-primary-light-${p}`, v);
108
+ }
109
+ n.setGlobalState("primary", c);
110
+ }, S = (c, p) => {
111
+ const v = document.body;
112
+ if (!p) return v.removeAttribute("style");
113
+ const x = {
114
+ grey: "filter: grayscale(1)",
115
+ weak: "filter: invert(80%)"
116
+ };
117
+ v.setAttribute("style", x[c]);
118
+ const E = c === "grey" ? "isWeak" : "isGrey";
119
+ n.setGlobalState(E, !1);
120
+ }, A = () => {
121
+ let c = "light";
122
+ d.value === "transverse" && w.value && (c = "inverted"), d.value !== "transverse" && b.value && (c = "inverted"), t.value && (c = "dark");
123
+ const p = je[c];
124
+ for (const [v, x] of Object.entries(p))
125
+ document.documentElement.style.setProperty(v, x);
126
+ }, g = () => {
127
+ let c = "light";
128
+ b.value && (c = "inverted"), t.value && (c = "dark");
129
+ const p = He[c];
130
+ for (const [v, x] of Object.entries(p))
131
+ document.documentElement.style.setProperty(v, x);
132
+ A();
133
+ }, f = () => {
134
+ let c = "light";
135
+ w.value && (c = "inverted"), t.value && (c = "dark");
136
+ const p = Ie[c];
137
+ for (const [v, x] of Object.entries(p))
138
+ document.documentElement.style.setProperty(v, x);
139
+ A();
140
+ };
141
+ return {
142
+ initTheme: () => {
143
+ C(), l.value && S("grey", !0), s.value && S("weak", !0);
144
+ },
145
+ switchDark: C,
146
+ changePrimary: h,
147
+ changeGreyOrWeak: S,
148
+ setAsideTheme: g,
149
+ setHeaderTheme: f
150
+ };
151
+ };
152
+ function Ye(n) {
153
+ return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
154
+ var l = n.get(e);
155
+ l ? l.push(t) : n.set(e, [t]);
156
+ }, off: function(e, t) {
157
+ var l = n.get(e);
158
+ l && (t ? l.splice(l.indexOf(t) >>> 0, 1) : n.set(e, []));
159
+ }, emit: function(e, t) {
160
+ var l = n.get(e);
161
+ l && l.slice().map(function(s) {
162
+ s(t);
163
+ }), (l = n.get("*")) && l.slice().map(function(s) {
164
+ s(e, t);
165
+ });
166
+ } };
167
+ }
168
+ const ge = Ye(), Qe = /* @__PURE__ */ L({
169
+ __name: "index",
170
+ setup(n) {
171
+ const { switchDark: e } = be(), { isDark: t } = D();
172
+ return (l, s) => {
173
+ const d = u("el-switch");
174
+ return m(), k(d, {
175
+ modelValue: _(t),
176
+ "onUpdate:modelValue": s[0] || (s[0] = (b) => N(t) ? t.value = b : null),
177
+ "inline-prompt": "",
178
+ "active-icon": _(qe),
179
+ "inactive-icon": _(Ue),
180
+ onChange: _(e)
181
+ }, null, 8, ["modelValue", "active-icon", "inactive-icon", "onChange"]);
182
+ };
183
+ }
184
+ }), Je = { class: "layout-box" }, Xe = { class: "theme-item mb50" }, Ze = { class: "theme-item" }, et = { class: "theme-item" }, tt = { class: "theme-item" }, nt = { class: "theme-item" }, ot = { class: "theme-item" }, lt = { class: "theme-item" }, st = { class: "theme-item" }, at = { class: "theme-item" }, rt = { class: "theme-item" }, it = { class: "theme-item" }, ct = /* @__PURE__ */ L({
185
+ __name: "index",
186
+ setup(n) {
187
+ const { changePrimary: e, setAsideTheme: t, setHeaderTheme: l } = be(), s = D(), {
188
+ layout: d,
189
+ primary: b,
190
+ headerInverted: w,
191
+ isCollapse: C,
192
+ isSubCollapse: h,
193
+ accordion: S,
194
+ breadcrumb: A,
195
+ breadcrumbIcon: g,
196
+ tabs: f,
197
+ tabsIcon: y,
198
+ footer: c
199
+ } = s, p = [
200
+ se,
201
+ "#daa96e",
202
+ "#0c819f",
203
+ "#409eff",
204
+ "#27ae60",
205
+ "#ff5c93",
206
+ "#e74c3c",
207
+ "#fd726d",
208
+ "#f39c12",
209
+ "#9b59b6"
210
+ ], v = (E) => {
211
+ s.setGlobalState("layout", E), t();
212
+ }, x = X(!1);
213
+ return ge.on("openThemeDrawer", () => x.value = !0), (E, a) => {
214
+ const I = u("Notification"), P = u("el-icon"), U = u("el-divider"), ne = u("CircleCheckFilled"), j = u("el-tooltip"), Se = u("QuestionFilled"), R = u("el-switch"), Me = u("ColdDrink"), Ae = u("el-color-picker"), Fe = u("Setting"), Te = u("el-drawer");
215
+ return m(), k(Te, {
216
+ modelValue: x.value,
217
+ "onUpdate:modelValue": a[12] || (a[12] = (M) => x.value = M),
218
+ title: "布局设置",
219
+ size: "290px"
220
+ }, {
221
+ default: r(() => [
222
+ o(U, {
223
+ class: "divider",
224
+ "content-position": "center"
225
+ }, {
226
+ default: r(() => [
227
+ o(P, null, {
228
+ default: r(() => [
229
+ o(I)
230
+ ]),
231
+ _: 1
232
+ }),
233
+ a[13] || (a[13] = z(" 布局样式 ", -1))
234
+ ]),
235
+ _: 1
236
+ }),
237
+ i("div", Je, [
238
+ o(j, {
239
+ effect: "dark",
240
+ content: "经典",
241
+ placement: "top",
242
+ "show-after": 200
243
+ }, {
244
+ default: r(() => [
245
+ i("div", {
246
+ class: q(["layout-item layout-classic", { "is-active": _(d) == "classic" }]),
247
+ onClick: a[0] || (a[0] = (M) => v("classic"))
248
+ }, [
249
+ a[14] || (a[14] = i("div", { class: "layout-dark" }, null, -1)),
250
+ a[15] || (a[15] = i("div", { class: "layout-container" }, [
251
+ i("div", { class: "layout-light" }),
252
+ i("div", { class: "layout-content" })
253
+ ], -1)),
254
+ _(d) == "classic" ? (m(), k(P, { key: 0 }, {
255
+ default: r(() => [
256
+ o(ne)
257
+ ]),
258
+ _: 1
259
+ })) : W("", !0)
260
+ ], 2)
261
+ ]),
262
+ _: 1
263
+ }),
264
+ o(j, {
265
+ effect: "dark",
266
+ content: "横向",
267
+ placement: "top",
268
+ "show-after": 200
269
+ }, {
270
+ default: r(() => [
271
+ i("div", {
272
+ class: q(["layout-item layout-transverse", { "is-active": _(d) == "transverse" }]),
273
+ onClick: a[1] || (a[1] = (M) => v("transverse"))
274
+ }, [
275
+ a[16] || (a[16] = i("div", { class: "layout-dark" }, null, -1)),
276
+ a[17] || (a[17] = i("div", { class: "layout-content" }, null, -1)),
277
+ _(d) == "transverse" ? (m(), k(P, { key: 0 }, {
278
+ default: r(() => [
279
+ o(ne)
280
+ ]),
281
+ _: 1
282
+ })) : W("", !0)
283
+ ], 2)
284
+ ]),
285
+ _: 1
286
+ })
287
+ ]),
288
+ i("div", Xe, [
289
+ i("span", null, [
290
+ a[18] || (a[18] = z(" 头部反转色 ", -1)),
291
+ o(j, {
292
+ effect: "dark",
293
+ content: "头部颜色变为深色模式",
294
+ placement: "top"
295
+ }, {
296
+ default: r(() => [
297
+ o(P, null, {
298
+ default: r(() => [
299
+ o(Se)
300
+ ]),
301
+ _: 1
302
+ })
303
+ ]),
304
+ _: 1
305
+ })
306
+ ]),
307
+ o(R, {
308
+ modelValue: _(w),
309
+ "onUpdate:modelValue": a[2] || (a[2] = (M) => N(w) ? w.value = M : null),
310
+ onChange: _(l)
311
+ }, null, 8, ["modelValue", "onChange"])
312
+ ]),
313
+ o(U, {
314
+ class: "divider",
315
+ "content-position": "center"
316
+ }, {
317
+ default: r(() => [
318
+ o(P, null, {
319
+ default: r(() => [
320
+ o(Me)
321
+ ]),
322
+ _: 1
323
+ }),
324
+ a[19] || (a[19] = z(" 全局主题 ", -1))
325
+ ]),
326
+ _: 1
327
+ }),
328
+ i("div", Ze, [
329
+ a[20] || (a[20] = i("span", null, "主题颜色", -1)),
330
+ o(Ae, {
331
+ modelValue: _(b),
332
+ "onUpdate:modelValue": a[3] || (a[3] = (M) => N(b) ? b.value = M : null),
333
+ predefine: p,
334
+ onChange: _(e)
335
+ }, null, 8, ["modelValue", "onChange"])
336
+ ]),
337
+ i("div", et, [
338
+ a[21] || (a[21] = i("span", null, "暗黑模式", -1)),
339
+ o(Qe)
340
+ ]),
341
+ o(U, {
342
+ class: "divider",
343
+ "content-position": "center"
344
+ }, {
345
+ default: r(() => [
346
+ o(P, null, {
347
+ default: r(() => [
348
+ o(Fe)
349
+ ]),
350
+ _: 1
351
+ }),
352
+ a[22] || (a[22] = z(" 界面设置 ", -1))
353
+ ]),
354
+ _: 1
355
+ }),
356
+ i("div", tt, [
357
+ a[23] || (a[23] = i("span", null, "主菜单折叠", -1)),
358
+ o(R, {
359
+ modelValue: _(C),
360
+ "onUpdate:modelValue": a[4] || (a[4] = (M) => N(C) ? C.value = M : null)
361
+ }, null, 8, ["modelValue"])
362
+ ]),
363
+ i("div", nt, [
364
+ a[24] || (a[24] = i("span", null, "内部菜单折叠", -1)),
365
+ o(R, {
366
+ modelValue: _(h),
367
+ "onUpdate:modelValue": a[5] || (a[5] = (M) => N(h) ? h.value = M : null)
368
+ }, null, 8, ["modelValue"])
369
+ ]),
370
+ i("div", ot, [
371
+ a[25] || (a[25] = i("span", null, "菜单手风琴", -1)),
372
+ o(R, {
373
+ modelValue: _(S),
374
+ "onUpdate:modelValue": a[6] || (a[6] = (M) => N(S) ? S.value = M : null)
375
+ }, null, 8, ["modelValue"])
376
+ ]),
377
+ i("div", lt, [
378
+ a[26] || (a[26] = i("span", null, "面包屑", -1)),
379
+ o(R, {
380
+ modelValue: _(A),
381
+ "onUpdate:modelValue": a[7] || (a[7] = (M) => N(A) ? A.value = M : null)
382
+ }, null, 8, ["modelValue"])
383
+ ]),
384
+ i("div", st, [
385
+ a[27] || (a[27] = i("span", null, "面包屑图标", -1)),
386
+ o(R, {
387
+ modelValue: _(g),
388
+ "onUpdate:modelValue": a[8] || (a[8] = (M) => N(g) ? g.value = M : null)
389
+ }, null, 8, ["modelValue"])
390
+ ]),
391
+ i("div", at, [
392
+ a[28] || (a[28] = i("span", null, "标签栏", -1)),
393
+ o(R, {
394
+ modelValue: _(f),
395
+ "onUpdate:modelValue": a[9] || (a[9] = (M) => N(f) ? f.value = M : null)
396
+ }, null, 8, ["modelValue"])
397
+ ]),
398
+ i("div", rt, [
399
+ a[29] || (a[29] = i("span", null, "标签栏图标", -1)),
400
+ o(R, {
401
+ modelValue: _(y),
402
+ "onUpdate:modelValue": a[10] || (a[10] = (M) => N(y) ? y.value = M : null)
403
+ }, null, 8, ["modelValue"])
404
+ ]),
405
+ i("div", it, [
406
+ a[30] || (a[30] = i("span", null, "页脚", -1)),
407
+ o(R, {
408
+ modelValue: _(c),
409
+ "onUpdate:modelValue": a[11] || (a[11] = (M) => N(c) ? c.value = M : null)
410
+ }, null, 8, ["modelValue"])
411
+ ])
412
+ ]),
413
+ _: 1
414
+ }, 8, ["modelValue"]);
415
+ };
416
+ }
417
+ }), ut = /* @__PURE__ */ V(ct, [["__scopeId", "data-v-bbcd33fd"]]), xe = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1729040958234'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5152'%20width='64'%20height='64'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M953.398227%20371.854971a384.834739%20384.834739%200%200%200-4.284805-4.341784q-14.495404-14.529591-30.062009-27.213069C884.089228%20146.765964%20714.816642%200%20511.265617%200%20307.190388%200%20137.587325%20147.495293%20103.21772%20341.6904q-14.620757%2012.136482-28.329854%2025.822787-2.17659%202.153798-4.284805%204.341784C-82.464757%20529.469697%2031.11676%20793.851276%20250.781387%20793.851276h522.438514c219.653231%200%20333.25754-264.38158%20180.178326-421.996305zM280.091276%20577.810501a37.423668%2037.423668%200%201%201%2037.423668-37.423668%2037.423668%2037.423668%200%200%201-37.423668%2037.423668z%20m0-143.449799a37.423668%2037.423668%200%201%201%2037.423668-37.423668%2037.423668%2037.423668%200%200%201-37.423668%2037.423668z%20m0-143.461194a37.423668%2037.423668%200%201%201%2037.423668-37.412273%2037.412273%2037.412273%200%200%201-37.423668%2037.412273z%20m501.242404%20250.524339a36.386654%2036.386654%200%200%201-36.39805%2036.386654h-353.952236a36.375259%2036.375259%200%200%201-36.386654-36.386654v-2.062633a36.375259%2036.375259%200%200%201%2036.386654-36.386654h353.952236a36.386654%2036.386654%200%200%201%2036.39805%2036.386654z%20m0-143.449799a36.39805%2036.39805%200%200%201-36.39805%2036.386654h-353.952236a36.386654%2036.386654%200%200%201-36.386654-36.386654v-2.074028a36.386654%2036.386654%200%200%201%2036.386654-36.386654h353.952236a36.39805%2036.39805%200%200%201%2036.39805%2036.386654z%20m0-143.461194a36.386654%2036.386654%200%200%201-36.39805%2036.386654h-353.952236a36.375259%2036.375259%200%200%201-36.386654-36.386654v-2.062633a36.375259%2036.375259%200%200%201%2036.386654-36.363863h353.952236a36.386654%2036.386654%200%200%201%2036.39805%2036.386655z'%20fill='%23ffffff'%20p-id='5153'%3e%3c/path%3e%3cpath%20d='M517.692825%20950.748069V705.659507h-11.395758V950.748069a34.187273%2034.187273%200%201%200%2011.395758%200zM355.497005%20789.691825c0%2083.62207-64.283469%20156.497941-124.840526%20170.822409a34.187273%2034.187273%200%201%200%207.384451%209.800351c26.677469-7.555387%2053.936121-25.139042%2076.704845-50.141334%2033.628881-36.899464%2052.146987-83.24601%2052.146988-130.481426zM670.885996%20793.851276c0%2083.610675%2064.283469%20156.486545%20124.840526%20170.811013a34.187273%2034.187273%200%201%201-7.384451%209.800352c-26.677469-7.555387-53.936121-25.070667-76.704845-50.141334-33.640277-36.876672-52.146987-83.223219-52.146987-130.470031z'%20fill='%23ffffff'%20p-id='5154'%3e%3c/path%3e%3c/svg%3e", re = ae({
418
+ id: "xxl-job-vue3-keepAlive",
419
+ state: () => ({
420
+ keepAliveName: []
421
+ }),
422
+ actions: {
423
+ // Add KeepAliveName
424
+ async addKeepAliveName(n) {
425
+ !this.keepAliveName.includes(n) && this.keepAliveName.push(n);
426
+ },
427
+ // Remove KeepAliveName
428
+ async removeKeepAliveName(n) {
429
+ this.keepAliveName = this.keepAliveName.filter((e) => e !== n);
430
+ },
431
+ // Set KeepAliveName
432
+ async setKeepAliveName(n = []) {
433
+ this.keepAliveName = n;
434
+ }
435
+ }
436
+ }), dt = /* @__PURE__ */ L({
437
+ __name: "Maximize",
438
+ setup(n) {
439
+ const e = D(), t = () => {
440
+ e.setGlobalState("maximize", !1);
441
+ };
442
+ return (l, s) => (m(), $("div", {
443
+ class: "maximize",
444
+ onClick: t
445
+ }, [...s[0] || (s[0] = [
446
+ i("i", {
447
+ class: q("iconfont icon-tuichu")
448
+ }, null, -1)
449
+ ])]));
450
+ }
451
+ }), mt = /* @__PURE__ */ V(dt, [["__scopeId", "data-v-fbc0d1c1"]]), Y = re(), ke = ae({
452
+ id: "xxl-job-vue3-tabs",
453
+ state: () => ({
454
+ tabsMenuList: []
455
+ }),
456
+ actions: {
457
+ // Add Tabs
458
+ async addTabs(n) {
459
+ this.tabsMenuList.every((e) => e.path !== n.path) && this.tabsMenuList.push(n), !Y.keepAliveName.includes(n.name) && n.isKeepAlive && Y.addKeepAliveName(n.path);
460
+ },
461
+ // Remove Tabs
462
+ async removeTabs(n, e = !0) {
463
+ e && this.tabsMenuList.forEach((l, s) => {
464
+ if (l.path !== n) return;
465
+ const d = this.tabsMenuList[s + 1] || this.tabsMenuList[s - 1];
466
+ d && Re.push(d.path);
467
+ });
468
+ const t = this.tabsMenuList.find((l) => l.path === n);
469
+ t != null && t.isKeepAlive && Y.removeKeepAliveName(t.path), this.tabsMenuList = this.tabsMenuList.filter((l) => l.path !== n);
470
+ },
471
+ // Close Tabs On Side
472
+ async closeTabsOnSide(n, e) {
473
+ const t = this.tabsMenuList.findIndex((s) => s.path === n);
474
+ if (t !== -1) {
475
+ const s = e === "left" ? [0, t] : [t + 1, this.tabsMenuList.length];
476
+ this.tabsMenuList = this.tabsMenuList.filter((d, b) => b < s[0] || b >= s[1] || !d.close);
477
+ }
478
+ const l = this.tabsMenuList.filter((s) => s.isKeepAlive);
479
+ Y.setKeepAliveName(l.map((s) => s.path));
480
+ },
481
+ // Close MultipleTab
482
+ async closeMultipleTab(n) {
483
+ this.tabsMenuList = this.tabsMenuList.filter((t) => t.path === n || !t.close);
484
+ const e = this.tabsMenuList.filter((t) => t.isKeepAlive);
485
+ Y.setKeepAliveName(e.map((t) => t.path));
486
+ },
487
+ // Set Tabs
488
+ async setTabs(n) {
489
+ this.tabsMenuList = n;
490
+ },
491
+ // Set Tabs Title
492
+ async setTabsTitle(n) {
493
+ this.tabsMenuList.forEach((e) => {
494
+ e.path == Pe() && (e.title = n);
495
+ });
496
+ }
497
+ },
498
+ persist: _e("xxl-job-vue3-tabs")
499
+ }), pt = /* @__PURE__ */ L({
500
+ __name: "MoreButton",
501
+ setup(n) {
502
+ const e = Z(), t = ee(), l = te(), s = ke(), d = D(), b = re(), w = $e("refresh"), C = () => {
503
+ setTimeout(() => {
504
+ t.meta.isKeepAlive && b.removeKeepAliveName(t.path), w(!1), Le(() => {
505
+ t.meta.isKeepAlive && b.addKeepAliveName(t.path), w(!0);
506
+ });
507
+ }, 0);
508
+ }, h = () => {
509
+ d.setGlobalState("maximize", !0);
510
+ }, S = () => {
511
+ t.meta.isAffix || s.removeTabs(t.path);
512
+ }, A = () => {
513
+ s.closeMultipleTab(), l.push(e.homeURL);
514
+ };
515
+ return (g, f) => {
516
+ const y = u("Refresh"), c = u("el-icon"), p = u("el-dropdown-item"), v = u("FullScreen"), x = u("Remove"), E = u("DArrowLeft"), a = u("DArrowRight"), I = u("CircleClose"), P = u("FolderDelete"), U = u("el-dropdown-menu"), ne = u("el-dropdown");
517
+ return m(), k(ne, {
518
+ trigger: "click",
519
+ teleported: !1
520
+ }, {
521
+ dropdown: r(() => [
522
+ o(U, null, {
523
+ default: r(() => [
524
+ o(p, { onClick: C }, {
525
+ default: r(() => [
526
+ o(c, null, {
527
+ default: r(() => [
528
+ o(y)
529
+ ]),
530
+ _: 1
531
+ }),
532
+ z(T(g.$t("tabs.refresh")), 1)
533
+ ]),
534
+ _: 1
535
+ }),
536
+ o(p, { onClick: h }, {
537
+ default: r(() => [
538
+ o(c, null, {
539
+ default: r(() => [
540
+ o(v)
541
+ ]),
542
+ _: 1
543
+ }),
544
+ z(T(g.$t("tabs.maximize")), 1)
545
+ ]),
546
+ _: 1
547
+ }),
548
+ o(p, {
549
+ divided: "",
550
+ onClick: S
551
+ }, {
552
+ default: r(() => [
553
+ o(c, null, {
554
+ default: r(() => [
555
+ o(x)
556
+ ]),
557
+ _: 1
558
+ }),
559
+ z(T(g.$t("tabs.closeCurrent")), 1)
560
+ ]),
561
+ _: 1
562
+ }),
563
+ o(p, {
564
+ onClick: f[0] || (f[0] = (j) => _(s).closeTabsOnSide(_(t).path, "left"))
565
+ }, {
566
+ default: r(() => [
567
+ o(c, null, {
568
+ default: r(() => [
569
+ o(E)
570
+ ]),
571
+ _: 1
572
+ }),
573
+ z(T(g.$t("tabs.closeLeft")), 1)
574
+ ]),
575
+ _: 1
576
+ }),
577
+ o(p, {
578
+ onClick: f[1] || (f[1] = (j) => _(s).closeTabsOnSide(_(t).path, "right"))
579
+ }, {
580
+ default: r(() => [
581
+ o(c, null, {
582
+ default: r(() => [
583
+ o(a)
584
+ ]),
585
+ _: 1
586
+ }),
587
+ z(T(g.$t("tabs.closeRight")), 1)
588
+ ]),
589
+ _: 1
590
+ }),
591
+ o(p, {
592
+ divided: "",
593
+ onClick: f[2] || (f[2] = (j) => _(s).closeMultipleTab(_(t).path))
594
+ }, {
595
+ default: r(() => [
596
+ o(c, null, {
597
+ default: r(() => [
598
+ o(I)
599
+ ]),
600
+ _: 1
601
+ }),
602
+ z(T(g.$t("tabs.closeOther")), 1)
603
+ ]),
604
+ _: 1
605
+ }),
606
+ o(p, { onClick: A }, {
607
+ default: r(() => [
608
+ o(c, null, {
609
+ default: r(() => [
610
+ o(P)
611
+ ]),
612
+ _: 1
613
+ }),
614
+ z(T(g.$t("tabs.closeAll")), 1)
615
+ ]),
616
+ _: 1
617
+ })
618
+ ]),
619
+ _: 1
620
+ })
621
+ ]),
622
+ default: r(() => [
623
+ f[3] || (f[3] = i("div", { class: "more-button" }, [
624
+ i("i", {
625
+ class: q("iconfont icon-xiala")
626
+ })
627
+ ], -1))
628
+ ]),
629
+ _: 1
630
+ });
631
+ };
632
+ }
633
+ }), ft = /* @__PURE__ */ V(pt, [["__scopeId", "data-v-dfabef4d"]]), _t = { class: "tabs-box" }, ht = { class: "tabs-menu" }, vt = /* @__PURE__ */ L({
634
+ __name: "index",
635
+ setup(n) {
636
+ const e = ee(), t = te(), l = ke(), s = Z(), d = D(), b = X(e.path), w = B(() => l.tabsMenuList), C = B(() => d.tabsIcon);
637
+ fe(() => {
638
+ S(), h();
639
+ }), oe(
640
+ () => e.path,
641
+ () => {
642
+ if (e.meta.isFull) return;
643
+ b.value = e.path;
644
+ const f = {
645
+ icon: e.meta.icon,
646
+ title: e.meta.title,
647
+ path: e.path,
648
+ name: e.name,
649
+ close: !e.meta.isAffix,
650
+ isKeepAlive: e.meta.isKeepAlive
651
+ };
652
+ l.addTabs(f);
653
+ },
654
+ { immediate: !0 }
655
+ );
656
+ const h = () => {
657
+ s.flatMenuListGet.forEach((f) => {
658
+ if (f.meta.isAffix && !f.meta.isHide && !f.meta.isFull) {
659
+ const y = {
660
+ icon: f.meta.icon,
661
+ title: f.meta.title,
662
+ path: f.path,
663
+ name: f.name,
664
+ close: !f.meta.isAffix,
665
+ isKeepAlive: f.meta.isKeepAlive
666
+ };
667
+ l.addTabs(y);
668
+ }
669
+ });
670
+ }, S = () => {
671
+ Ge.create(document.querySelector(".el-tabs__nav"), {
672
+ draggable: ".el-tabs__item",
673
+ animation: 300,
674
+ onEnd({ newIndex: f, oldIndex: y }) {
675
+ let c = [];
676
+ c = [...l.tabsMenuList];
677
+ const p = c.splice(y, 1)[0];
678
+ c.splice(f, 0, p), l.setTabs(c);
679
+ }
680
+ });
681
+ }, A = (f) => {
682
+ const y = f.props.name;
683
+ t.push(y);
684
+ }, g = (f) => {
685
+ l.removeTabs(f, f == e.path);
686
+ };
687
+ return (f, y) => {
688
+ const c = u("el-icon"), p = u("el-tab-pane"), v = u("el-tabs");
689
+ return m(), $("div", _t, [
690
+ i("div", ht, [
691
+ o(v, {
692
+ modelValue: b.value,
693
+ "onUpdate:modelValue": y[0] || (y[0] = (x) => b.value = x),
694
+ type: "card",
695
+ onTabClick: A,
696
+ onTabRemove: g
697
+ }, {
698
+ default: r(() => [
699
+ (m(!0), $(O, null, le(w.value, (x) => (m(), k(p, {
700
+ key: x.path,
701
+ label: x.title,
702
+ name: x.path,
703
+ closable: x.close
704
+ }, {
705
+ label: r(() => [
706
+ x.icon && C.value ? (m(), k(c, {
707
+ key: 0,
708
+ class: "tabs-icon"
709
+ }, {
710
+ default: r(() => [
711
+ (m(), k(K(x.icon)))
712
+ ]),
713
+ _: 2
714
+ }, 1024)) : W("", !0),
715
+ z(" " + T(x.title), 1)
716
+ ]),
717
+ _: 2
718
+ }, 1032, ["label", "name", "closable"]))), 128))
719
+ ]),
720
+ _: 1
721
+ }, 8, ["modelValue"]),
722
+ o(ft, { "is-custom-tabs": !1 })
723
+ ])
724
+ ]);
725
+ };
726
+ }
727
+ }), de = /* @__PURE__ */ V(vt, [["__scopeId", "data-v-e1175c6d"]]), bt = {}, gt = { class: "footer flx-center" };
728
+ function xt(n, e) {
729
+ return m(), $("div", gt, [...e[0] || (e[0] = [
730
+ i("a", {
731
+ href: "#",
732
+ target: "_blank"
733
+ }, " 2024 © 青岛安工数联信息科技有限公司 ", -1)
734
+ ])]);
735
+ }
736
+ const kt = /* @__PURE__ */ V(bt, [["render", xt], ["__scopeId", "data-v-1254311c"]]), wt = /* @__PURE__ */ L({
737
+ __name: "index",
738
+ props: {
739
+ isShowCustomTabs: { type: Boolean, default: !1 }
740
+ },
741
+ setup(n) {
742
+ const e = D(), { maximize: t, isCollapse: l, isSubCollapse: s, layout: d, tabs: b, footer: w } = e, C = re(), { keepAliveName: h } = We(C), S = X(!0);
743
+ Ve("refresh", (v) => S.value = v);
744
+ const g = /* @__PURE__ */ new Map();
745
+ function f(v, x) {
746
+ if (!v) return;
747
+ const E = x.path;
748
+ let a = g.get(E);
749
+ return a || (a = { name: E, render: () => ie(v) }, g.set(E, a)), ie(a);
750
+ }
751
+ oe(
752
+ () => t.value,
753
+ (v) => {
754
+ requestAnimationFrame(() => {
755
+ const x = document.getElementById("app");
756
+ x && x.classList.toggle("main-maximize", v);
757
+ });
758
+ },
759
+ { immediate: !0 }
760
+ ), oe(
761
+ () => d.value,
762
+ () => {
763
+ document.body.setAttribute("class", d.value);
764
+ },
765
+ { immediate: !0 }
766
+ ), oe(
767
+ () => d.value,
768
+ (v) => {
769
+ requestAnimationFrame(() => {
770
+ document.body.className = v;
771
+ });
772
+ },
773
+ { immediate: !0 }
774
+ );
775
+ const y = X(0), c = Ke(() => {
776
+ y.value = document.body.clientWidth, !l.value && y.value < 1200 && e.setGlobalState("isCollapse", !0), l.value && y.value > 1200 && e.setGlobalState("isCollapse", !1), s.value && y.value > 1200 && e.setGlobalState("isSubCollapse", !1), !s.value && y.value < 1200 && e.setGlobalState("isSubCollapse", !0);
777
+ }, 100);
778
+ window.addEventListener("resize", c, !1), Ee(() => {
779
+ window.removeEventListener("resize", c);
780
+ });
781
+ const p = n;
782
+ return (v, x) => {
783
+ const E = u("router-view"), a = u("el-main"), I = u("el-footer");
784
+ return m(), $(O, null, [
785
+ Q(o(mt, null, null, 512), [
786
+ [J, _(t)]
787
+ ]),
788
+ Q(o(de, { "is-custom-tabs": n.isShowCustomTabs }, null, 8, ["is-custom-tabs"]), [
789
+ [J, p.isShowCustomTabs && _(b)]
790
+ ]),
791
+ Q(o(de, { "is-custom-tabs": n.isShowCustomTabs }, null, 8, ["is-custom-tabs"]), [
792
+ [J, !p.isShowCustomTabs && _(b)]
793
+ ]),
794
+ o(a, null, {
795
+ default: r(() => [
796
+ o(E, null, {
797
+ default: r(({ Component: P, route: U }) => [
798
+ o(ze, {
799
+ appear: "",
800
+ name: "fade-transform",
801
+ mode: "out-in"
802
+ }, {
803
+ default: r(() => [
804
+ (m(), k(De, { include: _(h) }, [
805
+ S.value ? (m(), k(K(f(P, U)), {
806
+ key: U.path
807
+ })) : W("", !0)
808
+ ], 1032, ["include"]))
809
+ ]),
810
+ _: 2
811
+ }, 1024)
812
+ ]),
813
+ _: 1
814
+ })
815
+ ]),
816
+ _: 1
817
+ }),
818
+ Q(o(I, null, {
819
+ default: r(() => [
820
+ o(kt)
821
+ ]),
822
+ _: 1
823
+ }, 512), [
824
+ [J, _(w) && !p.isShowCustomTabs]
825
+ ])
826
+ ], 64);
827
+ };
828
+ }
829
+ }), we = /* @__PURE__ */ V(wt, [["__scopeId", "data-v-25461891"]]), yt = { class: "sle" }, Ct = { class: "sle" }, ye = /* @__PURE__ */ L({
830
+ __name: "SubMenu",
831
+ props: {
832
+ menuList: {}
833
+ },
834
+ setup(n) {
835
+ const e = te(), t = (l) => {
836
+ if (l.meta.isLink && l.path) return window.open(l.path, "_blank");
837
+ e.push(l.path);
838
+ };
839
+ return (l, s) => {
840
+ const d = u("el-icon"), b = u("SubMenu", !0), w = u("el-sub-menu"), C = u("el-menu-item");
841
+ return m(!0), $(O, null, le(n.menuList, (h) => {
842
+ var S;
843
+ return m(), $(O, {
844
+ key: h.path
845
+ }, [
846
+ (S = h.children) != null && S.length ? (m(), k(w, {
847
+ key: 0,
848
+ index: h.path
849
+ }, {
850
+ title: r(() => [
851
+ h.meta.icon ? (m(), k(d, { key: 0 }, {
852
+ default: r(() => [
853
+ (m(), k(K(h.meta.icon)))
854
+ ]),
855
+ _: 2
856
+ }, 1024)) : W("", !0),
857
+ i("span", yt, T(h.meta.title), 1)
858
+ ]),
859
+ default: r(() => [
860
+ o(b, {
861
+ "menu-list": h.children
862
+ }, null, 8, ["menu-list"])
863
+ ]),
864
+ _: 2
865
+ }, 1032, ["index"])) : (m(), k(C, {
866
+ key: 1,
867
+ index: h.path,
868
+ onClick: (A) => t(h)
869
+ }, {
870
+ title: r(() => [
871
+ i("span", Ct, T(h.meta.title), 1)
872
+ ]),
873
+ default: r(() => [
874
+ h.meta.icon ? (m(), k(d, { key: 0 }, {
875
+ default: r(() => [
876
+ (m(), k(K(h.meta.icon)))
877
+ ]),
878
+ _: 2
879
+ }, 1024)) : W("", !0)
880
+ ]),
881
+ _: 2
882
+ }, 1032, ["index", "onClick"]))
883
+ ], 64);
884
+ }), 128);
885
+ };
886
+ }
887
+ }), St = /* @__PURE__ */ L({
888
+ __name: "CollapseIcon",
889
+ setup(n) {
890
+ const e = D(), t = () => e.setGlobalState("isCollapse", !e.isCollapse);
891
+ return (l, s) => {
892
+ const d = u("el-icon");
893
+ return m(), k(d, {
894
+ class: "collapse-icon",
895
+ onClick: t
896
+ }, {
897
+ default: r(() => [
898
+ (m(), k(K(_(e).isCollapse ? "expand" : "fold")))
899
+ ]),
900
+ _: 1
901
+ });
902
+ };
903
+ }
904
+ }), Mt = /* @__PURE__ */ V(St, [["__scopeId", "data-v-79434c0f"]]), At = ["onClick"], Ft = { class: "breadcrumb-title" }, Tt = /* @__PURE__ */ L({
905
+ __name: "Breadcrumb",
906
+ setup(n) {
907
+ const e = ee(), t = te(), l = Z(), s = D(), d = B(() => l.breadcrumbListGet[e.matched[e.matched.length - 1].path] ?? []), b = (w, C) => {
908
+ C !== d.value.length - 1 && (w.component ? t.push(w.path) : w.children && w.children.length > 0 && w.children[0].component && t.push(w.children[0].path));
909
+ };
910
+ return (w, C) => {
911
+ const h = u("el-icon"), S = u("el-breadcrumb-item"), A = u("el-breadcrumb");
912
+ return m(), $("div", {
913
+ class: q(["breadcrumb-box mask-image", !_(s).breadcrumbIcon && "no-icon"])
914
+ }, [
915
+ o(A, { "separator-icon": _(Oe) }, {
916
+ default: r(() => [
917
+ o(Ne, { name: "breadcrumb" }, {
918
+ default: r(() => [
919
+ (m(!0), $(O, null, le(d.value, (g, f) => (m(), k(S, {
920
+ key: g.path
921
+ }, {
922
+ default: r(() => [
923
+ i("div", {
924
+ class: q(["el-breadcrumb__inner is-link", { "item-no-icon": !g.meta.icon }]),
925
+ onClick: (y) => b(g, f)
926
+ }, [
927
+ g.meta.icon && _(s).breadcrumbIcon ? (m(), k(h, {
928
+ key: 0,
929
+ class: "breadcrumb-icon"
930
+ }, {
931
+ default: r(() => [
932
+ (m(), k(K(g.meta.icon)))
933
+ ]),
934
+ _: 2
935
+ }, 1024)) : W("", !0),
936
+ i("span", Ft, T(g.meta.title), 1)
937
+ ], 10, At)
938
+ ]),
939
+ _: 2
940
+ }, 1024))), 128))
941
+ ]),
942
+ _: 1
943
+ })
944
+ ]),
945
+ _: 1
946
+ }, 8, ["separator-icon"])
947
+ ], 2);
948
+ };
949
+ }
950
+ }), $t = /* @__PURE__ */ V(Tt, [["__scopeId", "data-v-5791e0dd"]]), Lt = { class: "tool-bar-lf" }, Vt = /* @__PURE__ */ L({
951
+ __name: "ToolBarLeft",
952
+ setup(n) {
953
+ const e = D();
954
+ return (t, l) => (m(), $("div", Lt, [
955
+ o(Mt, { id: "collapseIcon" }),
956
+ Q(o($t, { id: "breadcrumb" }, null, 512), [
957
+ [J, _(e).breadcrumb]
958
+ ])
959
+ ]));
960
+ }
961
+ }), Et = /* @__PURE__ */ V(Vt, [["__scopeId", "data-v-143c0251"]]), zt = ae({
962
+ id: "system-user",
963
+ state: () => ({
964
+ token: "",
965
+ userInfo: {
966
+ id: "",
967
+ loginName: "",
968
+ name: "",
969
+ mobile: "",
970
+ email: "",
971
+ expirePasswordTime: ""
972
+ }
973
+ }),
974
+ getters: {},
975
+ actions: {
976
+ /**
977
+ * @description 设置 Token
978
+ * @param token
979
+ */
980
+ setToken(n) {
981
+ this.token = n;
982
+ },
983
+ /**
984
+ * @description 设置 设置用户信息
985
+ * @param userInfo
986
+ */
987
+ setUserInfo(n) {
988
+ this.userInfo = n;
989
+ }
990
+ },
991
+ persist: _e("system-user")
992
+ }), Dt = { class: "theme-setting" }, Nt = /* @__PURE__ */ L({
993
+ __name: "ThemeSetting",
994
+ setup(n) {
995
+ const e = () => {
996
+ ge.emit("openThemeDrawer");
997
+ };
998
+ return (t, l) => (m(), $("div", Dt, [
999
+ i("i", {
1000
+ class: q(["iconfont icon-zhuti", "toolBar-icon"]),
1001
+ onClick: e
1002
+ })
1003
+ ]));
1004
+ }
1005
+ }), me = [
1006
+ [
1007
+ "requestFullscreen",
1008
+ "exitFullscreen",
1009
+ "fullscreenElement",
1010
+ "fullscreenEnabled",
1011
+ "fullscreenchange",
1012
+ "fullscreenerror"
1013
+ ],
1014
+ // New WebKit
1015
+ [
1016
+ "webkitRequestFullscreen",
1017
+ "webkitExitFullscreen",
1018
+ "webkitFullscreenElement",
1019
+ "webkitFullscreenEnabled",
1020
+ "webkitfullscreenchange",
1021
+ "webkitfullscreenerror"
1022
+ ],
1023
+ // Old WebKit
1024
+ [
1025
+ "webkitRequestFullScreen",
1026
+ "webkitCancelFullScreen",
1027
+ "webkitCurrentFullScreenElement",
1028
+ "webkitCancelFullScreen",
1029
+ "webkitfullscreenchange",
1030
+ "webkitfullscreenerror"
1031
+ ],
1032
+ [
1033
+ "mozRequestFullScreen",
1034
+ "mozCancelFullScreen",
1035
+ "mozFullScreenElement",
1036
+ "mozFullScreenEnabled",
1037
+ "mozfullscreenchange",
1038
+ "mozfullscreenerror"
1039
+ ],
1040
+ [
1041
+ "msRequestFullscreen",
1042
+ "msExitFullscreen",
1043
+ "msFullscreenElement",
1044
+ "msFullscreenEnabled",
1045
+ "MSFullscreenChange",
1046
+ "MSFullscreenError"
1047
+ ]
1048
+ ], G = (() => {
1049
+ if (typeof document > "u")
1050
+ return !1;
1051
+ const n = me[0], e = {};
1052
+ for (const t of me)
1053
+ if ((t == null ? void 0 : t[1]) in document) {
1054
+ for (const [s, d] of t.entries())
1055
+ e[n[s]] = d;
1056
+ return e;
1057
+ }
1058
+ return !1;
1059
+ })(), pe = {
1060
+ change: G.fullscreenchange,
1061
+ error: G.fullscreenerror
1062
+ };
1063
+ let F = {
1064
+ // eslint-disable-next-line default-param-last
1065
+ request(n = document.documentElement, e) {
1066
+ return new Promise((t, l) => {
1067
+ const s = () => {
1068
+ F.off("change", s), t();
1069
+ };
1070
+ F.on("change", s);
1071
+ const d = n[G.requestFullscreen](e);
1072
+ d instanceof Promise && d.then(s).catch(l);
1073
+ });
1074
+ },
1075
+ exit() {
1076
+ return new Promise((n, e) => {
1077
+ if (!F.isFullscreen) {
1078
+ n();
1079
+ return;
1080
+ }
1081
+ const t = () => {
1082
+ F.off("change", t), n();
1083
+ };
1084
+ F.on("change", t);
1085
+ const l = document[G.exitFullscreen]();
1086
+ l instanceof Promise && l.then(t).catch(e);
1087
+ });
1088
+ },
1089
+ toggle(n, e) {
1090
+ return F.isFullscreen ? F.exit() : F.request(n, e);
1091
+ },
1092
+ onchange(n) {
1093
+ F.on("change", n);
1094
+ },
1095
+ onerror(n) {
1096
+ F.on("error", n);
1097
+ },
1098
+ on(n, e) {
1099
+ const t = pe[n];
1100
+ t && document.addEventListener(t, e, !1);
1101
+ },
1102
+ off(n, e) {
1103
+ const t = pe[n];
1104
+ t && document.removeEventListener(t, e, !1);
1105
+ },
1106
+ raw: G
1107
+ };
1108
+ Object.defineProperties(F, {
1109
+ isFullscreen: {
1110
+ get: () => !!document[G.fullscreenElement]
1111
+ },
1112
+ element: {
1113
+ enumerable: !0,
1114
+ get: () => document[G.fullscreenElement] ?? void 0
1115
+ },
1116
+ isEnabled: {
1117
+ enumerable: !0,
1118
+ // Coerce to boolean in case of old WebKit.
1119
+ get: () => !!document[G.fullscreenEnabled]
1120
+ }
1121
+ });
1122
+ G || (F = { isEnabled: !1 });
1123
+ const Bt = { class: "fullscreen" }, Pt = /* @__PURE__ */ L({
1124
+ __name: "Fullscreen",
1125
+ setup(n) {
1126
+ const e = X(F.isFullscreen);
1127
+ fe(() => {
1128
+ F.on("change", () => {
1129
+ F.isFullscreen ? e.value = !0 : e.value = !1;
1130
+ });
1131
+ });
1132
+ const t = () => {
1133
+ F.isEnabled || H.warning("当前您的浏览器不支持全屏 ❌"), F.toggle();
1134
+ };
1135
+ return (l, s) => (m(), $("div", Bt, [
1136
+ i("i", {
1137
+ class: q([["iconfont", e.value ? "icon-suoxiao" : "icon-fangda"], "toolBar-icon"]),
1138
+ onClick: t
1139
+ }, null, 2)
1140
+ ]));
1141
+ }
1142
+ }), Rt = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1717059093602'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='21911'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='64'%20height='64'%3e%3cpath%20d='M0%20511.99968c0%20282.783823%20229.215857%20511.99968%20511.99968%20511.99968s511.99968-229.215857%20511.99968-511.99968S794.783503%200%20511.99968%200%200%20229.215857%200%20511.99968z'%20fill='%23DEEDFF'%20p-id='21912'%3e%3c/path%3e%3cpath%20d='M511.99968%200c282.783823%200%20511.99968%20229.215857%20511.99968%20511.99968s-229.215857%20511.99968-511.99968%20511.99968S0%20794.783503%200%20511.99968%20229.215857%200%20511.99968%200z%20m0%2031.99998C246.911846%2031.99998%2031.99998%20246.911846%2031.99998%20511.99968c0%20265.087834%20214.911866%20479.9997%20479.9997%20479.9997%20265.087834%200%20479.9997-214.911866%20479.9997-479.9997%200-265.087834-214.911866-479.9997-479.9997-479.9997z'%20fill='%2300B4FF'%20p-id='21913'%3e%3c/path%3e%3cpath%20d='M725.247547%20452.351717c0%20130.143919-93.727941%20235.615853-209.311869%20235.615853-115.647928%200-209.343869-105.471934-209.34387-235.615853s93.727941-235.647853%20209.34387-235.647852c115.583928%200%20209.311869%20105.503934%20209.311869%20235.647852'%20fill='%23F6CAA9'%20p-id='21914'%3e%3c/path%3e%3cpath%20d='M434.591728%20650.911593h160.5759v132.799917H434.559728v-132.799917z%20m-101.535936-184.767884c0%2019.455988-14.399991%2035.231978-32.15998%2035.231978-17.791989%200-32.15998-15.77599-32.15998-35.199978%200-19.487988%2014.399991-35.231978%2032.15998-35.231978%2017.759989%200%2032.15998%2015.74399%2032.15998%2035.199978m429.631731-0.416c0%2019.455988-14.399991%2035.199978-32.15998%2035.199978-17.759989%200-32.15998-15.74399-32.159979-35.199978%200-19.455988%2014.399991-35.231978%2032.159979-35.231978%2017.759989%200%2032.15998%2015.77599%2032.15998%2035.199978'%20fill='%23F6CAA9'%20p-id='21915'%3e%3c/path%3e%3cpath%20d='M435.007728%20669.951581s30.399981%2015.64799%2074.527954%2015.647991c51.807968%202.111999%2085.631946-15.23199%2085.631946-15.231991v15.67999s-56.959964%2030.399981-82.655948%2030.399981c-25.695984%200-77.919951-35.903978-77.919952-35.903977l0.416-10.559994z%20m53.887966-511.45568s-141.663911%2014.111991-143.13591%20106.879933c-1.439999%2092.703942%20109.407932%20110.463931%20150.463906%20120.607925%2041.087974%2010.143994%20154.047904%2023.167986%20220.063862-84.031948%200%200-18.111989-42.047974-27.999982-71.359955-4.415997-7.647995%207.103996%2013.023992-32.51198-11.967993-39.615975-24.959984-92.799942-65.919959-166.879896-60.127962'%20fill='%23ECB485'%20p-id='21916'%3e%3c/path%3e%3cpath%20d='M389.727756%20209.151869s-103.263935%2017.215989-109.119931%20109.631932c-5.887996%2092.415942%2010.495993%20116.799927%2010.495993%20116.799927s23.295985-0.064%2029.151982%2034.751978c0%200%2010.783993%206.399996%2011.743993%200%201.599999-10.623993-9.439994-61.055962%2012.575992-107.935932%2021.855986-46.591971%2042.911973-53.247967%2042.911973-53.247967l2.239998-99.999938z%20m271.487831%20100.991937s27.615983%2035.615978%2032.38398%2071.167956c4.063997%2030.207981%209.695994%2086.975946%209.695993%2086.975945s7.679995%205.439997%2013.215992-7.615995c5.503997-13.023992%204.063997-26.079984%209.183994-29.439982%2027.039983-17.919989%2019.967988-93.151942%2018.559989-101.119936-6.175996-33.599979-34.047979-87.551945-34.047979-87.551946l-48.991969%2067.583958z'%20fill='%233F3F3F'%20p-id='21917'%3e%3c/path%3e%3cpath%20d='M485.311697%20127.32792s-146.559908%206.015996-148.031908%20103.487936c-1.471999%2097.471939%20114.303929%20124.959922%20155.391903%20135.615915%2041.055974%2010.655993%20154.015904%2024.383985%20220.031863-88.319945%200%200%2016.51199-51.039968%206.623995-81.855949-4.415997-7.999995-27.519983%2020.543987-67.135958-5.727996-39.615975-26.239984-92.799942-69.279957-166.879895-63.199961'%20fill='%233F3F3F'%20p-id='21918'%3e%3c/path%3e%3cpath%20d='M885.823446%20861.855461c-26.047984-20.479987-75.135953-50.591968-123.775922-74.239953-78.943951-38.399976-166.847896-55.615965-166.847896-55.615965l-0.064%202.623998c-6.399996%206.815996-37.279977%2037.279977-79.83995%2037.279977-41.887974%200-73.215954-28.575982-80.44795-35.807978l-0.384-3.679998s-84.639947%2011.583993-163.583897%2049.983969c-54.047966%2026.271984-108.575932%2060.543962-131.519918%2080.67195A510.559681%20510.559681%200%200%200%20511.99968%201023.99936c147.487908%200%20280.383825-62.367961%20373.823766-162.143899z'%20fill='%2300B4FF'%20p-id='21919'%3e%3c/path%3e%3c/svg%3e", Gt = {};
1143
+ function Kt(n, e) {
1144
+ const t = u("el-dropdown");
1145
+ return m(), k(t, { trigger: "click" }, {
1146
+ default: r(() => [...e[0] || (e[0] = [
1147
+ i("div", { class: "avatar" }, [
1148
+ i("img", {
1149
+ src: Rt,
1150
+ alt: "avatar"
1151
+ })
1152
+ ], -1)
1153
+ ])]),
1154
+ _: 1
1155
+ });
1156
+ }
1157
+ const Ut = /* @__PURE__ */ V(Gt, [["render", Kt], ["__scopeId", "data-v-c52ec7eb"]]), qt = { class: "tool-bar-ri" }, Ot = { class: "header-icon" }, Wt = { class: "username" }, jt = /* @__PURE__ */ L({
1158
+ __name: "ToolBarRight",
1159
+ setup(n) {
1160
+ const e = zt(), t = B(() => e.userInfo.loginName);
1161
+ return (l, s) => (m(), $("div", qt, [
1162
+ i("div", Ot, [
1163
+ o(Nt, { id: "themeSetting" }),
1164
+ o(Pt, { id: "fullscreen" })
1165
+ ]),
1166
+ i("span", Wt, T(t.value), 1),
1167
+ o(Ut)
1168
+ ]));
1169
+ }
1170
+ }), Ce = /* @__PURE__ */ V(jt, [["__scopeId", "data-v-a6baabba"]]), Ht = { class: "header-lf mask-image" }, It = { class: "logo flx-center" }, Yt = { class: "logo-text" }, Qt = { class: "header-ri" }, Jt = /* @__PURE__ */ L({
1171
+ __name: "index",
1172
+ setup(n) {
1173
+ const e = "定时任务", t = ee(), l = Z(), s = D(), d = B(() => s.accordion.value), b = B(() => s.isCollapse.value), w = B(() => l.showMenuListGet), C = B(() => t.meta.activeMenu ? t.meta.activeMenu : t.path);
1174
+ return (h, S) => {
1175
+ const A = u("el-header"), g = u("el-menu"), f = u("el-scrollbar"), y = u("el-aside"), c = u("el-container");
1176
+ return m(), k(c, { class: "layout" }, {
1177
+ default: r(() => [
1178
+ o(A, null, {
1179
+ default: r(() => [
1180
+ i("div", Ht, [
1181
+ i("div", It, [
1182
+ S[0] || (S[0] = i("img", {
1183
+ class: "logo-img",
1184
+ src: xe,
1185
+ alt: "logo"
1186
+ }, null, -1)),
1187
+ i("span", Yt, T(_(e)), 1)
1188
+ ]),
1189
+ o(Et)
1190
+ ]),
1191
+ i("div", Qt, [
1192
+ o(Ce)
1193
+ ])
1194
+ ]),
1195
+ _: 1
1196
+ }),
1197
+ o(c, { class: "classic-content" }, {
1198
+ default: r(() => [
1199
+ o(y, null, {
1200
+ default: r(() => [
1201
+ i("div", {
1202
+ class: "aside-box",
1203
+ style: Be({ width: b.value ? "65px" : "210px" })
1204
+ }, [
1205
+ o(f, null, {
1206
+ default: r(() => [
1207
+ o(g, {
1208
+ router: !1,
1209
+ "default-active": C.value,
1210
+ collapse: b.value,
1211
+ "unique-opened": d.value,
1212
+ "collapse-transition": !1
1213
+ }, {
1214
+ default: r(() => [
1215
+ o(ye, { "menu-list": w.value }, null, 8, ["menu-list"])
1216
+ ]),
1217
+ _: 1
1218
+ }, 8, ["default-active", "collapse", "unique-opened"])
1219
+ ]),
1220
+ _: 1
1221
+ })
1222
+ ], 4)
1223
+ ]),
1224
+ _: 1
1225
+ }),
1226
+ o(c, { class: "classic-main" }, {
1227
+ default: r(() => [
1228
+ o(we)
1229
+ ]),
1230
+ _: 1
1231
+ })
1232
+ ]),
1233
+ _: 1
1234
+ })
1235
+ ]),
1236
+ _: 1
1237
+ });
1238
+ };
1239
+ }
1240
+ }), Xt = /* @__PURE__ */ V(Jt, [["__scopeId", "data-v-ace76fef"]]), Zt = { class: "logo flx-center" }, en = { class: "logo-text" }, tn = /* @__PURE__ */ L({
1241
+ __name: "index",
1242
+ setup(n) {
1243
+ const e = "定时任务", t = ee(), l = te(), s = Z(), d = B(() => s.showMenuListGet), b = B(() => t.meta.activeMenu ? t.meta.activeMenu : t.path), w = (C) => {
1244
+ if (C.meta.isLink && C.path)
1245
+ return window.open(C.path, "_blank");
1246
+ l.push(C.path);
1247
+ };
1248
+ return (C, h) => {
1249
+ const S = u("el-header"), A = u("el-icon"), g = u("el-sub-menu"), f = u("el-menu-item"), y = u("el-menu"), c = u("el-container");
1250
+ return m(), k(c, { class: "layout" }, {
1251
+ default: r(() => [
1252
+ o(S, null, {
1253
+ default: r(() => [
1254
+ i("div", Zt, [
1255
+ h[0] || (h[0] = i("img", {
1256
+ class: "logo-img",
1257
+ src: xe,
1258
+ alt: "logo"
1259
+ }, null, -1)),
1260
+ i("span", en, T(_(e)), 1)
1261
+ ]),
1262
+ o(Ce)
1263
+ ]),
1264
+ _: 1
1265
+ }),
1266
+ o(y, {
1267
+ style: { height: "40px" },
1268
+ mode: "horizontal",
1269
+ router: !1,
1270
+ "default-active": b.value
1271
+ }, {
1272
+ default: r(() => [
1273
+ (m(!0), $(O, null, le(d.value, (p) => {
1274
+ var v;
1275
+ return m(), $(O, {
1276
+ key: p.path
1277
+ }, [
1278
+ (v = p.children) != null && v.length ? (m(), k(g, {
1279
+ key: p.path,
1280
+ index: p.path + "el-sub-menu"
1281
+ }, {
1282
+ title: r(() => [
1283
+ o(A, null, {
1284
+ default: r(() => [
1285
+ (m(), k(K(p.meta.icon)))
1286
+ ]),
1287
+ _: 2
1288
+ }, 1024),
1289
+ i("span", null, T(p.meta.title), 1)
1290
+ ]),
1291
+ default: r(() => [
1292
+ o(ye, {
1293
+ "menu-list": p.children
1294
+ }, null, 8, ["menu-list"])
1295
+ ]),
1296
+ _: 2
1297
+ }, 1032, ["index"])) : (m(), k(f, {
1298
+ key: p.path + "el-menu-item",
1299
+ index: p.path,
1300
+ onClick: (x) => w(p)
1301
+ }, {
1302
+ title: r(() => [
1303
+ i("span", null, T(p.meta.title), 1)
1304
+ ]),
1305
+ default: r(() => [
1306
+ o(A, null, {
1307
+ default: r(() => [
1308
+ (m(), k(K(p.meta.icon)))
1309
+ ]),
1310
+ _: 2
1311
+ }, 1024)
1312
+ ]),
1313
+ _: 2
1314
+ }, 1032, ["index", "onClick"]))
1315
+ ], 64);
1316
+ }), 128))
1317
+ ]),
1318
+ _: 1
1319
+ }, 8, ["default-active"]),
1320
+ o(we)
1321
+ ]),
1322
+ _: 1
1323
+ });
1324
+ };
1325
+ }
1326
+ }), nn = /* @__PURE__ */ V(tn, [["__scopeId", "data-v-43c69f18"]]), on = /* @__PURE__ */ L({
1327
+ __name: "index",
1328
+ setup(n) {
1329
+ const e = {
1330
+ classic: Xt,
1331
+ transverse: nn
1332
+ }, t = D(), l = B(() => t.layout.value);
1333
+ return (s, d) => (m(), $(O, null, [
1334
+ (m(), k(K(e[l.value]))),
1335
+ o(ut)
1336
+ ], 64));
1337
+ }
1338
+ }), dn = /* @__PURE__ */ V(on, [["__scopeId", "data-v-7ca8f37b"]]);
1339
+ export {
1340
+ dn as default
1341
+ };