@das-fed/web 6.4.0-dev.55.19 → 6.4.0-dev.55.20

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.
@@ -6,7 +6,7 @@ import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as T } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as b } from "@das-fed/utils/common-tools";
8
8
  import { createService as E } from "@das-fed/utils/create-api-service";
9
- import { u as L, p as q, a as u, c as f, b as B, l as P, d as K } from "./index-DdvxdoU3.js";
9
+ import { u as L, p as q, a as u, c as f, b as B, l as P, d as K } from "./index-DtaKXfS5.js";
10
10
  const M = "v1", N = E(`/api/justauth/client/${M}`), O = N.get("/visitor/kingdee/auth/user/auth_code"), Z = /* @__PURE__ */ k({
11
11
  __name: "index",
12
12
  setup(V) {
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-DdvxdoU3.js";
2
+ import { _ as c } from "./index-DtaKXfS5.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
@@ -520,10 +520,8 @@ const Vn = (e, A) => {
520
520
  (c = u.meta) != null && c.isShow && (u.meta.key.includes("0") ? u.meta.key = u.meta.key.replaceAll("0", "1") : u.meta.key = u.meta.key.replaceAll("1", "0"));
521
521
  });
522
522
  }), Y.iframeView.addEventListener("onUnloadPage", (u) => {
523
- u ? t.value.forEach((c) => {
523
+ t.value.forEach((c) => {
524
524
  c.path === u && (c.meta.isOpen = !1);
525
- }) : t.value.forEach((c) => {
526
- c.meta.isOpen = !1;
527
525
  });
528
526
  }), (u, c) => (L(), F(
529
527
  IA,
@@ -585,7 +583,7 @@ const Vn = (e, A) => {
585
583
  for (const [n, v] of A)
586
584
  f[n] = v;
587
585
  return f;
588
- }, B3 = /* @__PURE__ */ OA(k3, [["__scopeId", "data-v-81183074"]]), Q3 = { class: "das-web-app-container" }, G3 = {
586
+ }, B3 = /* @__PURE__ */ OA(k3, [["__scopeId", "data-v-6dd310c9"]]), Q3 = { class: "das-web-app-container" }, G3 = {
589
587
  key: 0,
590
588
  class: "das-web-app-header"
591
589
  }, U3 = { class: "das-web-app-main" }, J3 = {
@@ -7563,11 +7561,11 @@ const N6 = [
7563
7561
  },
7564
7562
  {
7565
7563
  path: NA,
7566
- component: () => import("./index-BUxn1NIT.js")
7564
+ component: () => import("./index-BlN9vxIO.js")
7567
7565
  },
7568
7566
  {
7569
7567
  path: L9,
7570
- component: () => import("./index-DL4wNgzV.js")
7568
+ component: () => import("./index-DFAevptD.js")
7571
7569
  }
7572
7570
  ], g8 = {
7573
7571
  routes: N6,
Binary file
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I as e, z as t, B as n, A as i, C as r, e as u, k as o, v as g, n as m, g as p, j as D, r as l, x as L, y as b, f as c, i as h, F as A, G as T, o as y, D as R, E as W, J as I, H as M, s as F, h as V, m as f, q as k, w as v, t as w } from "./index-DdvxdoU3.js";
1
+ import { I as e, z as t, B as n, A as i, C as r, e as u, k as o, v as g, n as m, g as p, j as D, r as l, x as L, y as b, f as c, i as h, F as A, G as T, o as y, D as R, E as W, J as I, H as M, s as F, h as V, m as f, q as k, w as v, t as w } from "./index-DtaKXfS5.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": "6.4.0-dev.55.19",
3
+ "version": "6.4.0-dev.55.20",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-dev.55.19",
8
- "@das-fed/utils": "6.4.0-dev.55.19",
9
- "@das-fed/web": "6.4.0-dev.55.19",
10
- "@das-fed/web-components": "6.4.0-dev.55.19",
7
+ "@das-fed/ui": "6.4.0-dev.55.20",
8
+ "@das-fed/utils": "6.4.0-dev.55.20",
9
+ "@das-fed/web": "6.4.0-dev.55.20",
10
+ "@das-fed/web-components": "6.4.0-dev.55.20",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -18,7 +18,7 @@
18
18
  "vue-router": "^4.4.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@das-fed/cli": "6.4.0-dev.55.19",
21
+ "@das-fed/cli": "6.4.0-dev.55.20",
22
22
  "@types/lodash": "^4.14.194",
23
23
  "@types/lodash-es": "^4.17.12",
24
24
  "@vitejs/plugin-vue": "^5.1.0",
@@ -1,5 +1,5 @@
1
1
  import '@das-fed/web/packages/layout/style.css';
2
- import { reactive as z, ref as N, defineComponent as Q, computed as u, watch as Z, openBlock as p, createElementBlock as k, Fragment as J, createBlock as V, TransitionGroup as he, normalizeProps as ee, mergeProps as ne, withCtx as U, renderList as re, withDirectives as D, resolveDynamicComponent as O, vShow as M, unref as w, createCommentVNode as b, nextTick as oe, resolveComponent as ge, createElementVNode as $, normalizeClass as pe, normalizeStyle as ye, renderSlot as F, createVNode as X, Transition as ie, guardReactiveProps as le, KeepAlive as ce, h as Y, onBeforeMount as we, onMounted as be, onUnmounted as _e } from "vue";
2
+ import { reactive as z, ref as O, defineComponent as Q, computed as u, watch as Z, openBlock as p, createElementBlock as k, Fragment as J, createBlock as V, TransitionGroup as he, normalizeProps as ee, mergeProps as ne, withCtx as U, renderList as re, withDirectives as D, resolveDynamicComponent as N, vShow as M, unref as w, createCommentVNode as b, nextTick as oe, resolveComponent as ge, createElementVNode as $, normalizeClass as pe, normalizeStyle as ye, renderSlot as F, createVNode as X, Transition as ie, guardReactiveProps as le, KeepAlive as ce, h as Y, onBeforeMount as we, onMounted as be, onUnmounted as _e } from "vue";
3
3
  import { useRouter as Le, useRoute as me } from "vue-router";
4
4
  import { setHtmlMinWH as Ce } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
5
  import { createCeNav as Ie, createCeTabs as ke, createCeMenu as Te } from "@das-fed/web-components/das-web-app";
@@ -246,7 +246,7 @@ const h = z({
246
246
  tab: I,
247
247
  overlay: te,
248
248
  iframeView: W,
249
- visible: N(!0)
249
+ visible: O(!0)
250
250
  }, v = {
251
251
  nav: ue,
252
252
  menu: ve,
@@ -272,7 +272,7 @@ const h = z({
272
272
  ...t.transitionConfig || {}
273
273
  };
274
274
  return a;
275
- }), l = Le(), d = me(), r = N([]), f = u(() => r.value.filter((s) => {
275
+ }), l = Le(), d = me(), r = O([]), f = u(() => r.value.filter((s) => {
276
276
  var a;
277
277
  return (a = s.meta) == null ? void 0 : a.isOpen;
278
278
  })), y = (s) => {
@@ -329,10 +329,8 @@ const h = z({
329
329
  (a = s.meta) != null && a.isShow && (s.meta.key.includes("0") ? s.meta.key = s.meta.key.replaceAll("0", "1") : s.meta.key = s.meta.key.replaceAll("1", "0"));
330
330
  });
331
331
  }), v.iframeView.addEventListener("onUnloadPage", (s) => {
332
- s ? r.value.forEach((a) => {
332
+ r.value.forEach((a) => {
333
333
  a.path === s && (a.meta.isOpen = !1);
334
- }) : r.value.forEach((a) => {
335
- a.meta.isOpen = !1;
336
334
  });
337
335
  }), (s, a) => (p(), k(
338
336
  J,
@@ -351,7 +349,7 @@ const h = z({
351
349
  key: m.key,
352
350
  name: o
353
351
  }, [
354
- (p(), V(O(m.componentInstance), {
352
+ (p(), V(N(m.componentInstance), {
355
353
  key: m.key
356
354
  }))
357
355
  ], 8, Ve)), [
@@ -375,7 +373,7 @@ const h = z({
375
373
  key: m.key,
376
374
  name: o
377
375
  }, [
378
- (p(), V(O(m.componentInstance), {
376
+ (p(), V(N(m.componentInstance), {
379
377
  key: m.key
380
378
  }))
381
379
  ], 8, Pe)), [
@@ -394,7 +392,7 @@ const h = z({
394
392
  for (const [l, d] of t)
395
393
  n[l] = d;
396
394
  return n;
397
- }, De = /* @__PURE__ */ fe(Se, [["__scopeId", "data-v-81183074"]]), Me = { class: "das-web-app-container" }, je = {
395
+ }, De = /* @__PURE__ */ fe(Se, [["__scopeId", "data-v-6dd310c9"]]), Me = { class: "das-web-app-container" }, je = {
398
396
  key: 0,
399
397
  class: "das-web-app-header"
400
398
  }, xe = { class: "das-web-app-main" }, $e = {
@@ -403,7 +401,7 @@ const h = z({
403
401
  }, Be = { class: "das-web-app-main-container" }, He = {
404
402
  key: 0,
405
403
  class: "tab"
406
- }, Fe = { class: "das-web-app-main-content" }, Oe = { class: "banner" }, Ne = { class: "das-web-app-main-router-view" }, Ue = { style: { width: "100%", height: "100%" } }, We = {
404
+ }, Fe = { class: "das-web-app-main-content" }, Ne = { class: "banner" }, Oe = { class: "das-web-app-main-router-view" }, Ue = { style: { width: "100%", height: "100%" } }, We = {
407
405
  key: 0,
408
406
  style: { width: "100%", height: "100%" }
409
407
  }, ze = {
@@ -427,7 +425,7 @@ const h = z({
427
425
  setup(e) {
428
426
  const t = e;
429
427
  Ie(), ke(), Te();
430
- const n = me(), l = N(!1), d = N(!1), r = N(!1), f = u(() => l.value && t.showLayout), y = u(() => d.value && t.showLayout && t.showAside), i = u(() => l.value && t.showLayout && t.showTabs), P = u(() => t.routerViewVisible ?? !0), T = u(() => H.overlay.visible ?? !1), S = u(() => ({
428
+ const n = me(), l = O(!1), d = O(!1), r = O(!1), f = u(() => l.value && t.showLayout), y = u(() => d.value && t.showLayout && t.showAside), i = u(() => l.value && t.showLayout && t.showTabs), P = u(() => t.routerViewVisible ?? !0), T = u(() => H.overlay.visible ?? !1), S = u(() => ({
431
429
  "das-web-app-overlay-show": T.value === !0,
432
430
  "das-web-app-overlay-hide": T.value === !1,
433
431
  "das-web-app-overlay-destroy": T.value === "destroy"
@@ -514,7 +512,7 @@ const h = z({
514
512
  $("div", Fe, [
515
513
  D($(
516
514
  "div",
517
- Oe,
515
+ Ne,
518
516
  [
519
517
  F(C.$slots, "banner", {}, void 0, !0)
520
518
  ],
@@ -523,7 +521,7 @@ const h = z({
523
521
  ), [
524
522
  [M, B.value]
525
523
  ]),
526
- $("div", Ne, [
524
+ $("div", Oe, [
527
525
  D($(
528
526
  "div",
529
527
  Ue,
@@ -543,7 +541,7 @@ const h = z({
543
541
  key: 0,
544
542
  exclude: a.value
545
543
  }, [
546
- o.value && !((g = w(n).meta) != null && g.isIframe) ? (p(), V(O(K(c, w(n).path)), {
544
+ o.value && !((g = w(n).meta) != null && g.isIframe) ? (p(), V(N(K(c, w(n).path)), {
547
545
  key: w(n).path
548
546
  })) : b("v-if", !0)
549
547
  ], 1032, ["exclude"])) : b("v-if", !0)
@@ -561,7 +559,7 @@ const h = z({
561
559
  {
562
560
  default: U(() => [
563
561
  !w(n).meta.keepAlive && !w(n).meta.isIframe ? (p(), k("div", We, [
564
- (p(), V(O(c), {
562
+ (p(), V(N(c), {
565
563
  key: w(n).path
566
564
  }))
567
565
  ])) : b("v-if", !0)
@@ -583,12 +581,12 @@ const h = z({
583
581
  key: 0,
584
582
  exclude: a.value
585
583
  }, [
586
- o.value && !w(n).meta.isIframe ? (p(), V(O(K(c, w(n).path)), {
584
+ o.value && !w(n).meta.isIframe ? (p(), V(N(K(c, w(n).path)), {
587
585
  key: w(n).path
588
586
  })) : b("v-if", !0)
589
587
  ], 1032, ["exclude"])) : b("v-if", !0),
590
588
  !w(n).meta.keepAlive && !w(n).meta.isIframe ? (p(), k("div", ze, [
591
- (p(), V(O(c), {
589
+ (p(), V(N(c), {
592
590
  key: w(n).path
593
591
  }))
594
592
  ])) : b("v-if", !0)
@@ -774,7 +772,7 @@ const h = z({
774
772
  }), null, 16, Xe)) : b("v-if", !0);
775
773
  }
776
774
  });
777
- N("@das-fed/web");
775
+ O("@das-fed/web");
778
776
  export {
779
777
  at as DasWebLayout,
780
778
  ot as DasWebMenu,
Binary file
@@ -1,4 +1,4 @@
1
- @charset "UTF-8";.das-iframe-router-view[data-v-81183074]{width:100%;height:100%}/*!
1
+ @charset "UTF-8";.das-iframe-router-view[data-v-6dd310c9]{width:100%;height:100%}/*!
2
2
  * animate.css - https://animate.style/
3
3
  * Version - 4.1.1
4
4
  * Licensed under the MIT license - http://opensource.org/licenses/MIT
Binary file
package/style.css CHANGED
@@ -1,4 +1,4 @@
1
- @charset "UTF-8";.das-iframe-router-view[data-v-81183074]{width:100%;height:100%}/*!
1
+ @charset "UTF-8";.das-iframe-router-view[data-v-6dd310c9]{width:100%;height:100%}/*!
2
2
  * animate.css - https://animate.style/
3
3
  * Version - 4.1.1
4
4
  * Licensed under the MIT license - http://opensource.org/licenses/MIT
package/style.css.gz CHANGED
Binary file
Binary file
Binary file