@das-fed/web 6.4.0-dev.30 → 6.4.0-dev.32

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.
@@ -4,7 +4,7 @@ import { DasSpin as v } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { getTabInfo as I } from "@das-fed/utils/common-info";
5
5
  import { setShowLayout as S } from "@das-fed/utils/common-tools";
6
6
  import { createService as j } from "@das-fed/utils/create-api-service";
7
- import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-B2WDL3TT.js";
7
+ import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-puk4QfAT.js";
8
8
  const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
9
9
  __name: "index",
10
10
  setup(q) {
Binary file
@@ -2,7 +2,7 @@ import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as
2
2
  import { useRoute as P } from "vue-router";
3
3
  import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { layout as C } from "@das-fed/web/packages/layout/index";
5
- import { I as R, e as b, _ as L } from "./index-B2WDL3TT.js";
5
+ import { I as R, e as b, _ as L } from "./index-puk4QfAT.js";
6
6
  import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
7
7
  import { getUrlParams as D } from "@das-fed/utils/common-tools";
8
8
  const E = {
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-B2WDL3TT.js";
2
+ import { _ as c } from "./index-puk4QfAT.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
@@ -270,15 +270,11 @@ const go = (t, e) => {
270
270
  eventListeners: {}
271
271
  }), ba = {
272
272
  setItems: (t) => {
273
- setTimeout(() => {
274
- Re.items = t;
275
- }, 200);
273
+ Re.items = t;
276
274
  },
277
275
  getItems: () => Re.items,
278
276
  setActiveItem: (t) => {
279
- setTimeout(() => {
280
- Re.activeItem = t;
281
- }, 200);
277
+ Re.activeItem = t;
282
278
  },
283
279
  setPopupClassName: (t) => {
284
280
  Re.popupClassName = t;
@@ -327,15 +323,11 @@ const go = (t, e) => {
327
323
  we.items = e;
328
324
  },
329
325
  appendItem: (t) => {
330
- setTimeout(() => {
331
- const e = we.items.findIndex((n) => n.value == t.value);
332
- e !== -1 ? we.items.splice(e, 1, t) : we.items.push(t);
333
- }, 200);
326
+ const e = we.items.findIndex((n) => n.value == t.value);
327
+ e !== -1 ? we.items.splice(e, 1, t) : we.items.push(t);
334
328
  },
335
329
  setActiveItem: (t) => {
336
- setTimeout(() => {
337
- we.activeItem = t;
338
- }, 200);
330
+ we.activeItem = t;
339
331
  },
340
332
  triggerEventListener: (t, e, n) => {
341
333
  var a;
@@ -7035,15 +7027,15 @@ E("@das-fed/web");
7035
7027
  const Uh = [
7036
7028
  {
7037
7029
  path: je,
7038
- component: () => import("./index-5wV_mOTq.js")
7030
+ component: () => import("./index-2T_H15dv.js")
7039
7031
  },
7040
7032
  {
7041
7033
  path: ct,
7042
- component: () => import("./index-BqGXnYA-.js")
7034
+ component: () => import("./index-CjVC66ff.js")
7043
7035
  },
7044
7036
  {
7045
7037
  path: Cr,
7046
- component: () => import("./index-CBo0ZQ-Q.js")
7038
+ component: () => import("./index-DPpRTnrf.js")
7047
7039
  }
7048
7040
  ], Yg = {
7049
7041
  routes: Uh,
Binary file
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as s, x as t, z as n, y as i, A as r, f as p, m as u, q as m, g as o, k as g, p as D, v as b, w as h, h as l, i as A, C as T, D as c, n as L, B as W, G as y, E as M, s as R, j as F, o as I, r as V, t as f } from "./index-B2WDL3TT.js";
1
+ import { F as s, x as t, z as n, y as i, A as r, f as p, m as u, q as m, g as o, k as g, p as D, v as b, w as h, h as l, i as A, C as T, D as c, n as L, B as W, G as y, E as M, s as R, j as F, o as I, r as V, t as f } from "./index-puk4QfAT.js";
2
2
  export {
3
3
  s 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.30",
3
+ "version": "6.4.0-dev.32",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-dev.30",
8
- "@das-fed/utils": "6.4.0-dev.30",
9
- "@das-fed/web": "6.4.0-dev.30",
10
- "@das-fed/web-components": "6.4.0-dev.30",
7
+ "@das-fed/ui": "6.4.0-dev.32",
8
+ "@das-fed/utils": "6.4.0-dev.32",
9
+ "@das-fed/web": "6.4.0-dev.32",
10
+ "@das-fed/web-components": "6.4.0-dev.32",
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.30",
21
+ "@das-fed/cli": "6.4.0-dev.32",
22
22
  "@types/lodash": "^4.14.194",
23
23
  "@types/lodash-es": "^4.17.12",
24
24
  "@vitejs/plugin-vue": "^5.1.0",
@@ -97,15 +97,11 @@ const g = U({
97
97
  eventListeners: {}
98
98
  }), Te = {
99
99
  setItems: (e) => {
100
- setTimeout(() => {
101
- M.items = e;
102
- }, 200);
100
+ M.items = e;
103
101
  },
104
102
  getItems: () => M.items,
105
103
  setActiveItem: (e) => {
106
- setTimeout(() => {
107
- M.activeItem = e;
108
- }, 200);
104
+ M.activeItem = e;
109
105
  },
110
106
  setPopupClassName: (e) => {
111
107
  M.popupClassName = e;
@@ -154,15 +150,11 @@ const g = U({
154
150
  T.items = t;
155
151
  },
156
152
  appendItem: (e) => {
157
- setTimeout(() => {
158
- const t = T.items.findIndex((n) => n.value == e.value);
159
- t !== -1 ? T.items.splice(t, 1, e) : T.items.push(e);
160
- }, 200);
153
+ const t = T.items.findIndex((n) => n.value == e.value);
154
+ t !== -1 ? T.items.splice(t, 1, e) : T.items.push(e);
161
155
  },
162
156
  setActiveItem: (e) => {
163
- setTimeout(() => {
164
- T.activeItem = e;
165
- }, 200);
157
+ T.activeItem = e;
166
158
  },
167
159
  triggerEventListener: (e, t, n) => {
168
160
  var h;
Binary file
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/web/packages/micro-frontend/style.css';
2
2
  import { ref as w, watch as M, reactive as O, getCurrentScope as oe, onScopeDispose as ce, unref as I, getCurrentInstance as le, onMounted as ue, nextTick as Z, defineComponent as x, computed as D, openBlock as E, createElementBlock as N, Fragment as $, renderList as de, withDirectives as pe, createBlock as ee, vShow as me, createCommentVNode as fe, mergeProps as ve, withCtx as C, renderSlot as V, createVNode as F, onActivated as Ae } from "vue";
3
3
  import { DasWebLayout as he, DasWebNav as we, DasWebMenu as ge, DasWebTabs as ye } from "@das-fed/web/packages/layout/index";
4
- const z = w("/das-micro-app"), f = w([]), k = w(!1), T = w([]), R = w(!0);
4
+ const z = w("/das-micro-app"), f = w([]), k = w(!1), R = w([]), T = w(!0);
5
5
  let A = null, h = null, L = null;
6
6
  const b = (e, t, n) => {
7
7
  var c, a, i, s;
@@ -270,15 +270,11 @@ const b = (e, t, n) => {
270
270
  eventListeners: {}
271
271
  }), Ee = {
272
272
  setItems: (e) => {
273
- setTimeout(() => {
274
- y.items = e;
275
- }, 200);
273
+ y.items = e;
276
274
  },
277
275
  getItems: () => y.items,
278
276
  setActiveItem: (e) => {
279
- setTimeout(() => {
280
- y.activeItem = e;
281
- }, 200);
277
+ y.activeItem = e;
282
278
  },
283
279
  setPopupClassName: (e) => {
284
280
  y.popupClassName = e;
@@ -327,15 +323,11 @@ const b = (e, t, n) => {
327
323
  v.items = t;
328
324
  },
329
325
  appendItem: (e) => {
330
- setTimeout(() => {
331
- const t = v.items.findIndex((n) => n.value == e.value);
332
- t !== -1 ? v.items.splice(t, 1, e) : v.items.push(e);
333
- }, 200);
326
+ const t = v.items.findIndex((n) => n.value == e.value);
327
+ t !== -1 ? v.items.splice(t, 1, e) : v.items.push(e);
334
328
  },
335
329
  setActiveItem: (e) => {
336
- setTimeout(() => {
337
- v.activeItem = e;
338
- }, 200);
330
+ v.activeItem = e;
339
331
  },
340
332
  triggerEventListener: (e, t, n) => {
341
333
  var i;
@@ -430,13 +422,13 @@ const b = (e, t, n) => {
430
422
  return n;
431
423
  };
432
424
  var H;
433
- const B = typeof window < "u", Fe = (e) => typeof e == "string", Te = () => {
425
+ const B = typeof window < "u", Fe = (e) => typeof e == "string", Re = () => {
434
426
  };
435
427
  B && ((H = window == null ? void 0 : window.navigator) != null && H.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
436
428
  function ne(e) {
437
429
  return typeof e == "function" ? e() : I(e);
438
430
  }
439
- function Re(e) {
431
+ function Te(e) {
440
432
  return e;
441
433
  }
442
434
  function re(e) {
@@ -454,7 +446,7 @@ const Ne = B ? window : void 0, ke = B ? window.document : void 0;
454
446
  function xe(...e) {
455
447
  let t, n, r, c;
456
448
  if (Fe(e[0]) || Array.isArray(e[0]) ? ([n, r, c] = e, t = Ne) : [t, n, r, c] = e, !t)
457
- return Te;
449
+ return Re;
458
450
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
459
451
  const a = [], i = () => {
460
452
  a.forEach((l) => l()), a.length = 0;
@@ -587,7 +579,7 @@ const ze = {
587
579
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
588
580
  };
589
581
  $e({
590
- linear: Re
582
+ linear: Te
591
583
  }, ze);
592
584
  const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
593
585
  __name: "das-micro-app",
@@ -819,10 +811,10 @@ const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
819
811
  s === "setItem" && window.sessionStorage.setItem(o, p), s === "getItem" && window.sessionStorage.getItem(o), s === "removeItem" && window.sessionStorage.removeItem(o), s === "clear" && window.sessionStorage.clear();
820
812
  }), d.addEventListenerFromMainApp("route", (i) => {
821
813
  const { cmd: s, path: o } = i.data;
822
- s === "reload" && (T.value.push(o), R.value = !1, setTimeout(() => {
823
- R.value = !0, T.value = [];
824
- }, 300)), s === "unload" && (T.value.push(o), R.value = !1, setTimeout(() => {
825
- R.value = !0, T.value = [];
814
+ s === "reload" && (R.value.push(o), T.value = !1, setTimeout(() => {
815
+ T.value = !0, R.value = [];
816
+ }, 300)), s === "unload" && (R.value.push(o), T.value = !1, setTimeout(() => {
817
+ T.value = !0, R.value = [];
826
818
  }, 100));
827
819
  });
828
820
  };
Binary file
Binary file
Binary file
Binary file