@das-fed/web 7.0.7-beta.5 → 7.0.7-dev.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.
Files changed (30) hide show
  1. package/{index-bXoyCaGi.js → index-Bf3l41zx.js} +1 -1
  2. package/{index-SDsWGps6.js → index-czdwDc07.js} +2689 -2688
  3. package/index-czdwDc07.js.gz +0 -0
  4. package/{index-D6IGKRGu.js → index-skP-VsV3.js} +1 -1
  5. package/index-skP-VsV3.js.gz +0 -0
  6. package/index.js +1 -1
  7. package/package.json +6 -6
  8. package/packages/create-das-web-app/index.js.gz +0 -0
  9. package/packages/i18n/index.js.gz +0 -0
  10. package/packages/layout/index.js +91 -91
  11. package/packages/layout/index.js.gz +0 -0
  12. package/packages/layout/style.css.gz +0 -0
  13. package/packages/main-app-framework/{index-BtK_LTJb.js → index-BVkl_orD.js} +1 -1
  14. package/packages/main-app-framework/index-BVkl_orD.js.gz +0 -0
  15. package/packages/main-app-framework/{index-BviF4UdF.js → index-D1KzfMMX.js} +1 -1
  16. package/packages/main-app-framework/{index-N-PbYz9X.js → index-Dm9dhTOr.js} +4218 -4217
  17. package/packages/main-app-framework/index-Dm9dhTOr.js.gz +0 -0
  18. package/packages/main-app-framework/index.js +1 -1
  19. package/packages/main-app-framework/style.css +1 -1
  20. package/packages/main-app-framework/style.css.gz +0 -0
  21. package/packages/micro-frontend/index.js +126 -126
  22. package/packages/micro-frontend/index.js.gz +0 -0
  23. package/packages/style/style.css.gz +0 -0
  24. package/packages/theme/index.js.gz +0 -0
  25. package/style.css +1 -1
  26. package/style.css.gz +0 -0
  27. package/index-D6IGKRGu.js.gz +0 -0
  28. package/index-SDsWGps6.js.gz +0 -0
  29. package/packages/main-app-framework/index-BtK_LTJb.js.gz +0 -0
  30. package/packages/main-app-framework/index-N-PbYz9X.js.gz +0 -0
Binary file
@@ -6,7 +6,7 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as b } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as E } from "@das-fed/utils/common-tools";
8
8
  import { createService as L } from "@das-fed/utils/create-api-service";
9
- import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-SDsWGps6.js";
9
+ import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-czdwDc07.js";
10
10
  const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
11
11
  __name: "index",
12
12
  setup(G) {
Binary file
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-SDsWGps6.js";
1
+ import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-czdwDc07.js";
2
2
  export {
3
3
  e as DasMainAppLayout,
4
4
  t as DasWebLayout,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@das-fed/web",
3
- "version": "7.0.7-beta.5",
3
+ "version": "7.0.7-dev.2",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "7.0.7-beta.5",
8
- "@das-fed/utils": "7.0.7-beta.5",
9
- "@das-fed/web": "7.0.7-beta.5",
10
- "@das-fed/web-components": "7.0.7-beta.5",
7
+ "@das-fed/ui": "7.0.7-dev.2",
8
+ "@das-fed/utils": "7.0.7-dev.2",
9
+ "@das-fed/web": "7.0.7-dev.2",
10
+ "@das-fed/web-components": "7.0.7-dev.2",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -19,7 +19,7 @@
19
19
  "vue-router": "^4.4.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@das-fed/cli": "7.0.7-beta.5",
22
+ "@das-fed/cli": "7.0.7-dev.2",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
Binary file
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/web/packages/layout/style.css';
2
- import { reactive as z, ref as U, defineComponent as Q, computed as c, watch as te, createElementBlock as C, openBlock as g, Fragment as Y, createBlock as V, createCommentVNode as L, TransitionGroup as ge, normalizeProps as ne, mergeProps as ae, withCtx as W, renderList as oe, withDirectives as D, resolveDynamicComponent as O, vShow as M, unref as b, nextTick as ie, resolveComponent as pe, createElementVNode as H, normalizeStyle as ye, normalizeClass as we, renderSlot as N, createVNode as Z, Transition as le, guardReactiveProps as ce, KeepAlive as ue, h as ee, onBeforeMount as be, onMounted as Le, onUnmounted as _e } from "vue";
3
- import { useRouter as Ie, useRoute as fe } from "vue-router";
4
- import { setHtmlMinWH as Ce } from "@das-fed/utils/common-tools/setHtmlMinWH";
2
+ import { reactive as z, ref as U, defineComponent as Q, computed as c, watch as te, createElementBlock as C, openBlock as g, Fragment as Y, createBlock as V, createCommentVNode as L, TransitionGroup as ge, normalizeProps as ne, mergeProps as ae, withCtx as W, renderList as oe, withDirectives as x, resolveDynamicComponent as O, vShow as D, unref as b, nextTick as ie, resolveComponent as pe, createElementVNode as H, normalizeStyle as ye, normalizeClass as we, renderSlot as N, createVNode as Z, Transition as le, guardReactiveProps as ce, KeepAlive as ue, h as ee, onBeforeMount as be, onMounted as Le, onUnmounted as Ie } from "vue";
3
+ import { useRouter as Ce, useRoute as fe } from "vue-router";
4
+ import { setHtmlMinWH as _e } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
5
  import { createCeNav as ke, createCeTabs as Te, createCeMenu as Ae } from "@das-fed/web-components/das-web-app";
6
6
  import { flatTree as Ee } from "@das-fed/utils/common-tools/nest-tree-format";
7
7
  const h = z({
@@ -145,32 +145,32 @@ const h = z({
145
145
  remove: l
146
146
  };
147
147
  }
148
- }, k = z({
148
+ }, _ = z({
149
149
  theme: "default",
150
150
  items: [],
151
151
  eventListeners: {}
152
152
  }), me = {
153
153
  setItems: (e) => {
154
- k.items = e;
154
+ _.items = e;
155
155
  },
156
- getItems: () => k.items,
156
+ getItems: () => _.items,
157
157
  setTheme: (e) => {
158
- k.theme = e;
158
+ _.theme = e;
159
159
  },
160
160
  removeItem: (e) => {
161
- const t = k.items.filter((n) => n.value !== e);
162
- k.items = t;
161
+ const t = _.items.filter((n) => n.value !== e);
162
+ _.items = t;
163
163
  },
164
164
  appendItem: (e) => {
165
- const t = k.items.findIndex((n) => n.value == e.value);
166
- t !== -1 ? k.items.splice(t, 1, e) : k.items.push(e);
165
+ const t = _.items.findIndex((n) => n.value == e.value);
166
+ t !== -1 ? _.items.splice(t, 1, e) : _.items.push(e);
167
167
  },
168
168
  setActiveItem: (e) => {
169
- k.activeItem = e;
169
+ _.activeItem = e;
170
170
  },
171
171
  triggerEventListener: (e, t, n) => {
172
172
  var f;
173
- const l = k.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
173
+ const l = _.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
174
174
  for (const y in l) {
175
175
  const i = l[y];
176
176
  i.type === e && r.push(
@@ -183,9 +183,9 @@ const h = z({
183
183
  },
184
184
  addEventListener: (e, t) => {
185
185
  const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
186
- k.eventListeners[n] && delete k.eventListeners[n];
186
+ _.eventListeners[n] && delete _.eventListeners[n];
187
187
  };
188
- return k.eventListeners[n] = {
188
+ return _.eventListeners[n] = {
189
189
  type: e,
190
190
  handler: async (d) => {
191
191
  try {
@@ -243,7 +243,7 @@ const h = z({
243
243
  }, F = {
244
244
  nav: h,
245
245
  menu: R,
246
- tab: k,
246
+ tab: _,
247
247
  overlay: se,
248
248
  iframeView: K,
249
249
  visible: U(!0)
@@ -257,7 +257,7 @@ const h = z({
257
257
  setTheme: (e) => {
258
258
  ve.setTheme(e), de.setTheme(e), me.setTheme(e);
259
259
  }
260
- }, Pe = ["name"], Se = ["name"], De = /* @__PURE__ */ Q({
260
+ }, Pe = ["name"], Se = ["name"], xe = /* @__PURE__ */ Q({
261
261
  __name: "das-iframe-router-view",
262
262
  props: {
263
263
  needTransition: { type: Boolean },
@@ -272,7 +272,7 @@ const h = z({
272
272
  ...t.transitionConfig || {}
273
273
  };
274
274
  return a;
275
- }), l = Ie(), d = fe(), r = U([]), f = c(() => r.value.filter((s) => {
275
+ }), l = Ce(), d = fe(), r = U([]), f = c(() => r.value.filter((s) => {
276
276
  var a;
277
277
  return (a = s.meta) == null ? void 0 : a.isOpen;
278
278
  })), y = (s) => {
@@ -306,8 +306,8 @@ const h = z({
306
306
  meta: { ...o.meta, key: `${o.path}-0`, componentInstance: m, isOpen: !1, isShow: !1 }
307
307
  });
308
308
  }
309
- T();
310
- }, T = async () => {
309
+ k();
310
+ }, k = async () => {
311
311
  var o, m;
312
312
  if (!r.value || !r.value.length) return;
313
313
  const s = r.value.find((I) => I.meta.isShow);
@@ -320,7 +320,7 @@ const h = z({
320
320
  () => l.currentRoute.value,
321
321
  () => {
322
322
  const s = l.options.routes.length;
323
- s !== S ? (P(), S = s) : T();
323
+ s !== S ? (P(), S = s) : k();
324
324
  },
325
325
  { immediate: !0 }
326
326
  ), v.iframeView.addEventListener("onRefreshCurrentPage", () => {
@@ -336,7 +336,7 @@ const h = z({
336
336
  Y,
337
337
  null,
338
338
  [
339
- s.needTransition ? (g(), V(
339
+ e.needTransition ? (g(), V(
340
340
  ge,
341
341
  ne(ae({ key: 0 }, n.value)),
342
342
  {
@@ -344,7 +344,7 @@ const h = z({
344
344
  (g(!0), C(
345
345
  Y,
346
346
  null,
347
- oe(f.value, ({ path: o, meta: m }) => D((g(), C("div", {
347
+ oe(f.value, ({ path: o, meta: m }) => x((g(), C("div", {
348
348
  class: "das-iframe-router-view",
349
349
  key: m.key,
350
350
  name: o
@@ -353,7 +353,7 @@ const h = z({
353
353
  key: m.key
354
354
  }))
355
355
  ], 8, Pe)), [
356
- [M, m.componentInstance && o === b(d).path]
356
+ [D, m.componentInstance && o === b(d).path]
357
357
  ])),
358
358
  128
359
359
  /* KEYED_FRAGMENT */
@@ -365,10 +365,10 @@ const h = z({
365
365
  16
366
366
  /* FULL_PROPS */
367
367
  )) : L("v-if", !0),
368
- s.needTransition ? L("v-if", !0) : (g(!0), C(
368
+ e.needTransition ? L("v-if", !0) : (g(!0), C(
369
369
  Y,
370
370
  { key: 1 },
371
- oe(f.value, ({ path: o, meta: m }) => D((g(), C("div", {
371
+ oe(f.value, ({ path: o, meta: m }) => x((g(), C("div", {
372
372
  class: "das-iframe-router-view",
373
373
  key: m.key,
374
374
  name: o
@@ -377,7 +377,7 @@ const h = z({
377
377
  key: m.key
378
378
  }))
379
379
  ], 8, Se)), [
380
- [M, m.componentInstance && o === b(d).path]
380
+ [D, m.componentInstance && o === b(d).path]
381
381
  ])),
382
382
  128
383
383
  /* KEYED_FRAGMENT */
@@ -392,7 +392,7 @@ const h = z({
392
392
  for (const [l, d] of t)
393
393
  n[l] = d;
394
394
  return n;
395
- }, Me = /* @__PURE__ */ he(De, [["__scopeId", "data-v-6dd310c9"]]), je = { class: "das-web-app-container" }, xe = {
395
+ }, De = /* @__PURE__ */ he(xe, [["__scopeId", "data-v-6dd310c9"]]), Me = { class: "das-web-app-container" }, je = {
396
396
  key: 0,
397
397
  class: "das-web-app-header"
398
398
  }, $e = { class: "das-web-app-main" }, He = {
@@ -426,23 +426,23 @@ const h = z({
426
426
  setup(e) {
427
427
  const t = e;
428
428
  ke(), Te(), Ae();
429
- const n = fe(), l = U(!1), d = U(!1), r = U(!1), f = c(() => l.value && t.showLayout), y = c(() => d.value && t.showLayout && t.showAside), i = c(() => l.value && t.showLayout && t.showTabs), P = c(() => t.routerViewVisible ?? !0), T = c(() => F.overlay.visible ?? !1), S = c(() => ({
430
- "das-web-app-overlay-show": T.value === !0,
431
- "das-web-app-overlay-hide": T.value === !1,
432
- "das-web-app-overlay-destroy": T.value === "destroy"
429
+ const n = fe(), l = U(!1), d = U(!1), r = U(!1), f = c(() => l.value && t.showLayout), y = c(() => d.value && t.showLayout && t.showAside), i = c(() => l.value && t.showLayout && t.showTabs), P = c(() => t.routerViewVisible ?? !0), k = c(() => F.overlay.visible ?? !1), S = c(() => ({
430
+ "das-web-app-overlay-show": k.value === !0,
431
+ "das-web-app-overlay-hide": k.value === !1,
432
+ "das-web-app-overlay-destroy": k.value === "destroy"
433
433
  })), s = c(() => F.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = c(() => t.excludeRoutes), o = c(() => t.routeKeepAliveVisible);
434
434
  te(
435
435
  () => [n.meta, n.query],
436
- ([_, j]) => {
437
- const { showLayout: A = !0, showAside: x = !0, showTabs: u = !0, layout: p = {} } = _, {
436
+ ([T, M]) => {
437
+ const { showLayout: A = !0, showAside: j = !0, showTabs: u = !0, layout: p = {} } = T, {
438
438
  showLayout: w = !0,
439
439
  showAside: $ = !0,
440
440
  showTabs: E = !0,
441
441
  app: G
442
- } = j;
443
- Ce(p);
442
+ } = M;
443
+ _e(p);
444
444
  let re = !0, J = !0, X = !0;
445
- (A === !1 || w === !1 || w === "false") && (re = !1, J = !1, X = !1), (x === !1 || $ === !1 || $ === "false") && (J = !1), (u === !1 || E === !1 || E === "false") && (X = !1), l.value = re, d.value = J, r.value = X;
445
+ (A === !1 || w === !1 || w === "false") && (re = !1, J = !1, X = !1), (j === !1 || $ === !1 || $ === "false") && (J = !1), (u === !1 || E === !1 || E === "false") && (X = !1), l.value = re, d.value = J, r.value = X;
446
446
  }
447
447
  );
448
448
  const m = c(() => ({
@@ -451,19 +451,19 @@ const h = z({
451
451
  ...t.transitionConfig || {}
452
452
  }));
453
453
  let I = /* @__PURE__ */ new Map();
454
- const q = (_, j) => {
454
+ const q = (T, M) => {
455
455
  let A;
456
- return I.has(j) ? A = I.get(j) : (A = {
457
- name: j,
456
+ return I.has(M) ? A = I.get(M) : (A = {
457
+ name: M,
458
458
  render() {
459
- return ee("div", { style: { width: "100%", height: "100%" } }, [ee(_)]);
459
+ return ee("div", { style: { width: "100%", height: "100%" } }, [ee(T)]);
460
460
  }
461
- }, I.set(j, A)), ee(A);
461
+ }, I.set(M, A)), ee(A);
462
462
  }, B = c(() => F.visible.value);
463
- return (_, j) => {
463
+ return (T, M) => {
464
464
  const A = pe("router-view");
465
- return g(), C("div", je, [
466
- D(H(
465
+ return g(), C("div", Me, [
466
+ x(H(
467
467
  "div",
468
468
  {
469
469
  class: we(["das-web-app-overlay", S.value]),
@@ -473,64 +473,64 @@ const h = z({
473
473
  6
474
474
  /* CLASS, STYLE */
475
475
  ), [
476
- [M, B.value]
476
+ [D, B.value]
477
477
  ]),
478
- f.value ? D((g(), C(
478
+ f.value ? x((g(), C(
479
479
  "div",
480
- xe,
480
+ je,
481
481
  [
482
- N(_.$slots, "header", {}, void 0, !0)
482
+ N(T.$slots, "header", {}, void 0, !0)
483
483
  ],
484
484
  512
485
485
  /* NEED_PATCH */
486
486
  )), [
487
- [M, B.value]
487
+ [D, B.value]
488
488
  ]) : L("v-if", !0),
489
489
  H("div", $e, [
490
- y.value ? D((g(), C(
490
+ y.value ? x((g(), C(
491
491
  "div",
492
492
  He,
493
493
  [
494
- N(_.$slots, "aside", {}, void 0, !0)
494
+ N(T.$slots, "aside", {}, void 0, !0)
495
495
  ],
496
496
  512
497
497
  /* NEED_PATCH */
498
498
  )), [
499
- [M, B.value]
499
+ [D, B.value]
500
500
  ]) : L("v-if", !0),
501
501
  H("div", Be, [
502
- i.value ? D((g(), C(
502
+ i.value ? x((g(), C(
503
503
  "div",
504
504
  Fe,
505
505
  [
506
- N(_.$slots, "tab", {}, void 0, !0)
506
+ N(T.$slots, "tab", {}, void 0, !0)
507
507
  ],
508
508
  512
509
509
  /* NEED_PATCH */
510
510
  )), [
511
- [M, B.value]
511
+ [D, B.value]
512
512
  ]) : L("v-if", !0),
513
513
  H("div", Ne, [
514
- D(H(
514
+ x(H(
515
515
  "div",
516
516
  Oe,
517
517
  [
518
- N(_.$slots, "banner", {}, void 0, !0)
518
+ N(T.$slots, "banner", {}, void 0, !0)
519
519
  ],
520
520
  512
521
521
  /* NEED_PATCH */
522
522
  ), [
523
- [M, B.value]
523
+ [D, B.value]
524
524
  ]),
525
525
  H("div", Ue, [
526
- D((g(), C("div", {
527
- key: _.pageKey,
526
+ x((g(), C("div", {
527
+ key: e.pageKey,
528
528
  style: { width: "100%", height: "100%" }
529
529
  }, [
530
- N(_.$slots, "router-view", {}, () => [
530
+ N(T.$slots, "router-view", {}, () => [
531
531
  L(" 有动画 "),
532
- _.needTransition ? (g(), V(A, { key: 0 }, {
533
- default: W(({ Component: x }) => [
532
+ e.needTransition ? (g(), V(A, { key: 0 }, {
533
+ default: W(({ Component: j }) => [
534
534
  Z(
535
535
  le,
536
536
  ne(ce(m.value)),
@@ -542,7 +542,7 @@ const h = z({
542
542
  key: 0,
543
543
  exclude: a.value
544
544
  }, [
545
- o.value && !((u = b(n).meta) != null && u.isIframe) ? (g(), V(O(q(x, b(n).path)), {
545
+ o.value && !((u = b(n).meta) != null && u.isIframe) ? (g(), V(O(q(j, b(n).path)), {
546
546
  key: b(n).path
547
547
  })) : L("v-if", !0)
548
548
  ], 1032, ["exclude"])) : L("v-if", !0)
@@ -560,7 +560,7 @@ const h = z({
560
560
  {
561
561
  default: W(() => [
562
562
  !b(n).meta.keepAlive && !b(n).meta.isIframe ? (g(), C("div", We, [
563
- (g(), V(O(x), {
563
+ (g(), V(O(j), {
564
564
  key: b(n).path
565
565
  }))
566
566
  ])) : L("v-if", !0)
@@ -576,18 +576,18 @@ const h = z({
576
576
  /* STABLE */
577
577
  })) : L("v-if", !0),
578
578
  L(" 无动画 "),
579
- _.needTransition ? L("v-if", !0) : (g(), V(A, { key: 1 }, {
580
- default: W(({ Component: x }) => [
579
+ e.needTransition ? L("v-if", !0) : (g(), V(A, { key: 1 }, {
580
+ default: W(({ Component: j }) => [
581
581
  b(n).meta.keepAlive ? (g(), V(ue, {
582
582
  key: 0,
583
583
  exclude: a.value
584
584
  }, [
585
- o.value && !b(n).meta.isIframe ? (g(), V(O(q(x, b(n).path)), {
585
+ o.value && !b(n).meta.isIframe ? (g(), V(O(q(j, b(n).path)), {
586
586
  key: b(n).path
587
587
  })) : L("v-if", !0)
588
588
  ], 1032, ["exclude"])) : L("v-if", !0),
589
589
  !b(n).meta.keepAlive && !b(n).meta.isIframe ? (g(), C("div", Ke, [
590
- (g(), V(O(x), {
590
+ (g(), V(O(j), {
591
591
  key: b(n).path
592
592
  }))
593
593
  ])) : L("v-if", !0)
@@ -595,35 +595,35 @@ const h = z({
595
595
  _: 1
596
596
  /* STABLE */
597
597
  })),
598
- D(H(
598
+ x(H(
599
599
  "div",
600
600
  ze,
601
601
  [
602
- Z(Me, {
602
+ Z(De, {
603
603
  exclude: a.value,
604
604
  transitionConfig: m.value,
605
- needTransition: _.needTransition
605
+ needTransition: e.needTransition
606
606
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])
607
607
  ],
608
608
  512
609
609
  /* NEED_PATCH */
610
610
  ), [
611
- [M, b(n).meta.isIframe]
611
+ [D, b(n).meta.isIframe]
612
612
  ])
613
613
  ], !0)
614
614
  ])), [
615
- [M, P.value]
615
+ [D, P.value]
616
616
  ]),
617
- D(H(
617
+ x(H(
618
618
  "div",
619
619
  Qe,
620
620
  [
621
- N(_.$slots, "default", {}, void 0, !0)
621
+ N(T.$slots, "default", {}, void 0, !0)
622
622
  ],
623
623
  512
624
624
  /* NEED_PATCH */
625
625
  ), [
626
- [M, !P.value]
626
+ [D, !P.value]
627
627
  ])
628
628
  ])
629
629
  ])
@@ -657,7 +657,7 @@ const h = z({
657
657
  currentProject: t.activeProject
658
658
  },
659
659
  ...t.projectConfig
660
- })), T = c(() => t.userInfo), S = c(() => t.searchConfig), s = async (u) => {
660
+ })), k = c(() => t.userInfo), S = c(() => t.searchConfig), s = async (u) => {
661
661
  const p = u.detail[0], w = r.value.find((E) => p.value === E.value);
662
662
  await v.nav.triggerEventListener("onItemClick", w) && v.nav.setActiveItem(w.value);
663
663
  }, a = async (u) => {
@@ -675,20 +675,20 @@ const h = z({
675
675
  v.nav.triggerEventListener("searchToPage", { item: u.detail[0], keyword: u.detail[1], cb: u.detail[2] });
676
676
  }, B = (u) => {
677
677
  v.nav.triggerEventListener("clearSearchList", { cb: u.detail[0] });
678
- }, _ = (u) => {
678
+ }, T = (u) => {
679
679
  v.nav.triggerEventListener("deleteSearchItem", { value: u.detail[0], cb: u.detail[1] });
680
- }, j = () => {
680
+ }, M = () => {
681
681
  v.nav.triggerEventListener("changeEnterpriseHandle");
682
682
  }, A = () => {
683
683
  v.nav.triggerEventListener("fullScreenHandle");
684
- }, x = () => {
684
+ }, j = () => {
685
685
  v.nav.triggerEventListener("openAI");
686
686
  };
687
687
  return be(() => {
688
688
  v.nav.triggerEventListener("onBeforeMount", null, { autoRemove: !0 });
689
689
  }), Le(() => {
690
690
  v.nav.triggerEventListener("onMounted", null, { autoRemove: !0 });
691
- }), _e(() => {
691
+ }), Ie(() => {
692
692
  v.nav.triggerEventListener("onUnmounted", null, { autoRemove: !0 });
693
693
  }), (u, p) => (g(), C("das-ce-nav", {
694
694
  theme: n.value,
@@ -698,7 +698,7 @@ const h = z({
698
698
  innerPagesConfig: i.value,
699
699
  searchConfig: S.value,
700
700
  projectTreeConfig: P.value,
701
- userInfoConfig: T.value,
701
+ userInfoConfig: k.value,
702
702
  "on:userCommandHandle": I,
703
703
  "on:changeInnerPage": s,
704
704
  "on:handleTabClick": a,
@@ -706,10 +706,10 @@ const h = z({
706
706
  "on:changeTreeHandle": m,
707
707
  "on:searchToPage": q,
708
708
  "on:clearSearchList": B,
709
- "on:deleteSearchItem": _,
710
- "on:changeEnterpriseHandle": j,
709
+ "on:deleteSearchItem": T,
710
+ "on:changeEnterpriseHandle": M,
711
711
  "on:fullScreen": A,
712
- "on:openAI": x
712
+ "on:openAI": j
713
713
  }, null, 40, Ge));
714
714
  }
715
715
  }), Je = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], rt = /* @__PURE__ */ Q({
@@ -718,7 +718,7 @@ const h = z({
718
718
  menuAttr: {}
719
719
  },
720
720
  setup(e) {
721
- const { menu: t } = F, n = e, l = c(() => t.theme), d = c(() => n.menuAttr || {}), r = c(() => t.items), f = c(() => t.items.find((s) => s.fixed)), y = c(() => t.activeItem || ""), i = c(() => t.collapse || !1), P = c(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (s) => {
721
+ const { menu: t } = F, n = e, l = c(() => t.theme), d = c(() => n.menuAttr || {}), r = c(() => t.items), f = c(() => t.items.find((s) => s.fixed)), y = c(() => t.activeItem || ""), i = c(() => t.collapse || !1), P = c(() => ({ popupClassName: t.popupClassName ?? "" })), k = async (s) => {
722
722
  const a = s.detail[0], o = Ee(r.value).find((I) => a === I.id);
723
723
  await v.menu.triggerEventListener("onItemClick", o) && v.menu.setActiveItem(o.id);
724
724
  }, S = (s) => {
@@ -733,7 +733,7 @@ const h = z({
733
733
  fixedTopMenu: f.value,
734
734
  subMenuAttrs: P.value
735
735
  }, d.value, {
736
- onChange: T,
736
+ onChange: k,
737
737
  "on:toggleCollapse": S
738
738
  }), null, 16, Je)) : L("v-if", !0);
739
739
  }
@@ -755,7 +755,7 @@ const h = z({
755
755
  await v.tab.triggerEventListener("onItemRemove", o) && v.tab.removeItem(o.value);
756
756
  }, P = async (s) => {
757
757
  await v.tab.triggerEventListener("onMenuClick", { type: s.detail[0], data: s.detail[1] });
758
- }, T = async (s) => {
758
+ }, k = async (s) => {
759
759
  await v.tab.triggerEventListener("onPageRefresh", s.detail[0]);
760
760
  }, S = () => {
761
761
  v.tab.triggerEventListener("onToggleFullScreen");
@@ -769,7 +769,7 @@ const h = z({
769
769
  "on:tabClick": y,
770
770
  "on:tabDelete": i,
771
771
  "on:menuClick": P,
772
- "on:pageRefresh": T,
772
+ "on:pageRefresh": k,
773
773
  "on:toggleFullScreen": S
774
774
  }), null, 16, Xe)) : L("v-if", !0);
775
775
  }
Binary file
Binary file
@@ -6,7 +6,7 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as b } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as E } from "@das-fed/utils/common-tools";
8
8
  import { createService as L } from "@das-fed/utils/create-api-service";
9
- import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-N-PbYz9X.js";
9
+ import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-Dm9dhTOr.js";
10
10
  const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
11
11
  __name: "index",
12
12
  setup(G) {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as c } from "./index-N-PbYz9X.js";
2
+ import { _ as c } from "./index-Dm9dhTOr.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");