@das-fed/web 6.4.0-hot.5 → 6.4.0-hot.50

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 (86) hide show
  1. package/esm-map.json +4 -1
  2. package/index-C6EBmEp4.js +13464 -0
  3. package/index-C6EBmEp4.js.gz +0 -0
  4. package/index-D4Bu_emO.js +10 -0
  5. package/index-DoOQN3bh.js +86 -0
  6. package/index-DoOQN3bh.js.gz +0 -0
  7. package/index.js +24 -21
  8. package/package.json +8 -6
  9. package/packages/create-das-web-app/index.js.gz +0 -0
  10. package/packages/i18n/index.js +172 -31
  11. package/packages/i18n/index.js.gz +0 -0
  12. package/packages/layout/index.js +473 -528
  13. package/packages/layout/index.js.gz +0 -0
  14. package/packages/layout/style.css +2 -2
  15. package/packages/layout/style.css.gz +0 -0
  16. package/packages/main-app-framework/index-B_VNr9Cx.js +10 -0
  17. package/packages/main-app-framework/index-DXkBo0db.js +86 -0
  18. package/packages/main-app-framework/index-DXkBo0db.js.gz +0 -0
  19. package/packages/main-app-framework/index-evPCaBEo.js +12076 -0
  20. package/packages/main-app-framework/index-evPCaBEo.js.gz +0 -0
  21. package/packages/main-app-framework/index.js +3 -2
  22. package/packages/main-app-framework/style.css +1 -1
  23. package/packages/main-app-framework/style.css.gz +0 -0
  24. package/packages/micro-frontend/index.js +296 -301
  25. package/packages/micro-frontend/index.js.gz +0 -0
  26. package/packages/micro-frontend/style.css +1 -1
  27. package/packages/style/style.css +1 -1
  28. package/packages/style/style.css.gz +0 -0
  29. package/packages/theme/index.js.gz +0 -0
  30. package/style.css +2 -2
  31. package/style.css.gz +0 -0
  32. package/types/i18n/global.d.ts +583 -0
  33. package/types/i18n/index.d.ts +5 -3
  34. package/types/layout/index.d.ts +1 -1
  35. package/types/layout/store/index.d.ts +6 -1
  36. package/types/layout/store/menu.d.ts +2 -0
  37. package/types/layout/store/nav.d.ts +2 -1
  38. package/types/layout/store/tab.d.ts +1 -0
  39. package/types/main-app-framework/business/message-notify/index.d.ts +1 -0
  40. package/types/main-app-framework/business/remote-control/apis.d.ts +2 -0
  41. package/types/main-app-framework/business/remote-control/utils.d.ts +7 -0
  42. package/types/main-app-framework/business/video-link/api.d.ts +2 -0
  43. package/types/main-app-framework/components/iframe-page/index.d.ts +3 -0
  44. package/types/main-app-framework/components/index.d.ts +1 -0
  45. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +4 -0
  46. package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +3 -0
  47. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +20 -0
  48. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +19 -0
  49. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +22 -0
  50. package/types/main-app-framework/constant/index.d.ts +1 -1
  51. package/types/main-app-framework/data-track/api.d.ts +2 -0
  52. package/types/main-app-framework/data-track/index.d.ts +2 -0
  53. package/types/main-app-framework/i18n/index.d.ts +538 -0
  54. package/types/main-app-framework/index.d.ts +1 -0
  55. package/types/main-app-framework/init-config/get-nav-config/api.d.ts +2 -0
  56. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +4 -2
  57. package/types/main-app-framework/init-config/get-project-config/api.d.ts +3 -2
  58. package/types/main-app-framework/init-config/get-system-config/api.d.ts +4 -0
  59. package/types/main-app-framework/init-config/get-system-config/index.d.ts +5 -3
  60. package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +3 -1
  61. package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +2 -0
  62. package/types/main-app-framework/init-layout/hooks/nav-slots/index.d.ts +1 -0
  63. package/types/main-app-framework/init-layout/hooks/nav-slots/use-ai-helper.d.ts +4 -0
  64. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +1 -0
  65. package/types/main-app-framework/utils/src/get-portal-url/crypto.d.ts +14 -0
  66. package/types/main-app-framework/utils/src/get-portal-url/encrypt.d.ts +42 -0
  67. package/types/main-app-framework/utils/src/get-portal-url/generate-url.d.ts +4 -0
  68. package/types/main-app-framework/utils/src/get-portal-url/handle-portal-params.d.ts +2 -0
  69. package/types/main-app-framework/utils/src/get-portal-url/index.d.ts +2 -0
  70. package/types/main-app-framework/utils/src/get-portal-url/type.d.ts +16 -0
  71. package/types/main-app-framework/utils/src/set-common-info.d.ts +6 -2
  72. package/types/main-app-framework/utils/src/tools.d.ts +5 -1
  73. package/index-CNuui6rH.js +0 -71
  74. package/index-CNuui6rH.js.gz +0 -0
  75. package/index-D_CiHfGN.js +0 -10
  76. package/index-LTwaM8dS.js +0 -7079
  77. package/index-LTwaM8dS.js.gz +0 -0
  78. package/index-_67_4aoo.js +0 -68
  79. package/index-_67_4aoo.js.gz +0 -0
  80. package/packages/main-app-framework/index-Bnb7HNMb.js +0 -68
  81. package/packages/main-app-framework/index-Bnb7HNMb.js.gz +0 -0
  82. package/packages/main-app-framework/index-CBrBve1k.js +0 -10
  83. package/packages/main-app-framework/index-DF7V-TBl.js +0 -5770
  84. package/packages/main-app-framework/index-DF7V-TBl.js.gz +0 -0
  85. package/packages/main-app-framework/index-DOTMbc-l.js +0 -71
  86. package/packages/main-app-framework/index-DOTMbc-l.js.gz +0 -0
Binary file
package/index-_67_4aoo.js DELETED
@@ -1,68 +0,0 @@
1
- import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as _, onUnmounted as h, openBlock as c, createElementBlock as l, createVNode as w, unref as g, withCtx as k, withDirectives as x, vShow as y, createCommentVNode as I } from "vue";
2
- import { useRoute as P } from "vue-router";
3
- import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
4
- import { layout as C } from "@das-fed/web/packages/layout/index";
5
- import { I as R, e as L, _ as M } from "./index-LTwaM8dS.js";
6
- import { getToken as j, getPersonalInfo as B, getProjectInfo as D } from "@das-fed/utils/common-info";
7
- import { getUrlParams as E } from "@das-fed/utils/common-tools";
8
- const N = {
9
- key: 0,
10
- class: "iframe-container"
11
- }, T = ["src"], U = /* @__PURE__ */ v({
12
- __name: "index",
13
- setup(V) {
14
- const t = r(""), n = r(!0);
15
- C.tab.addEventListener("onPageRefresh", async (e) => {
16
- e && e.path === R && (L(e.applicationCode, [e.code]), n.value = !1, await u(), n.value = !0);
17
- });
18
- const a = r(!1), i = r(null), o = r(!1), f = () => {
19
- var e, s;
20
- o.value && (e = i.value) != null && e.contentWindow && ((s = i.value.contentWindow) == null || s.postMessage(
21
- {
22
- token: j(),
23
- userInfo: B(),
24
- projectInfo: D()
25
- },
26
- t.value
27
- ));
28
- }, m = P();
29
- p(
30
- () => m.query.iframeSrc,
31
- async (e) => {
32
- e && (t.value = e, a.value = !1, await u(), a.value = !0, f());
33
- }
34
- );
35
- const d = () => {
36
- o.value = !0, f();
37
- };
38
- return _(() => {
39
- a.value = !0, t.value = E(location.href, "iframeSrc");
40
- }), h(() => {
41
- o.value = !1, a.value = !1;
42
- }), (e, s) => a.value && n.value ? (c(), l("div", N, [
43
- w(g(S), {
44
- spinning: !o.value
45
- }, {
46
- default: k(() => [
47
- x((c(), l("iframe", {
48
- id: "iframe-view",
49
- ref_key: "iframeRef",
50
- ref: i,
51
- width: "100%",
52
- height: "100%",
53
- src: t.value,
54
- key: t.value,
55
- onLoad: d
56
- }, null, 40, T)), [
57
- [y, o.value]
58
- ])
59
- ]),
60
- _: 1
61
- /* STABLE */
62
- }, 8, ["spinning"])
63
- ])) : I("v-if", !0);
64
- }
65
- }), H = /* @__PURE__ */ M(U, [["__scopeId", "data-v-9d185d90"]]);
66
- export {
67
- H as default
68
- };
Binary file
@@ -1,68 +0,0 @@
1
- import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as _, onUnmounted as h, openBlock as c, createElementBlock as l, createVNode as w, unref as g, withCtx as k, withDirectives as x, vShow as y, createCommentVNode as I } from "vue";
2
- import { useRoute as P } from "vue-router";
3
- import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
4
- import { layout as C } from "@das-fed/web/packages/layout/index";
5
- import { I as R, e as L, _ as M } from "./index-DF7V-TBl.js";
6
- import { getToken as j, getPersonalInfo as B, getProjectInfo as D } from "@das-fed/utils/common-info";
7
- import { getUrlParams as E } from "@das-fed/utils/common-tools";
8
- const N = {
9
- key: 0,
10
- class: "iframe-container"
11
- }, T = ["src"], U = /* @__PURE__ */ v({
12
- __name: "index",
13
- setup(V) {
14
- const t = r(""), n = r(!0);
15
- C.tab.addEventListener("onPageRefresh", async (e) => {
16
- e && e.path === R && (L(e.applicationCode, [e.code]), n.value = !1, await u(), n.value = !0);
17
- });
18
- const a = r(!1), i = r(null), o = r(!1), f = () => {
19
- var e, s;
20
- o.value && (e = i.value) != null && e.contentWindow && ((s = i.value.contentWindow) == null || s.postMessage(
21
- {
22
- token: j(),
23
- userInfo: B(),
24
- projectInfo: D()
25
- },
26
- t.value
27
- ));
28
- }, m = P();
29
- p(
30
- () => m.query.iframeSrc,
31
- async (e) => {
32
- e && (t.value = e, a.value = !1, await u(), a.value = !0, f());
33
- }
34
- );
35
- const d = () => {
36
- o.value = !0, f();
37
- };
38
- return _(() => {
39
- a.value = !0, t.value = E(location.href, "iframeSrc");
40
- }), h(() => {
41
- o.value = !1, a.value = !1;
42
- }), (e, s) => a.value && n.value ? (c(), l("div", N, [
43
- w(g(S), {
44
- spinning: !o.value
45
- }, {
46
- default: k(() => [
47
- x((c(), l("iframe", {
48
- id: "iframe-view",
49
- ref_key: "iframeRef",
50
- ref: i,
51
- width: "100%",
52
- height: "100%",
53
- src: t.value,
54
- key: t.value,
55
- onLoad: d
56
- }, null, 40, T)), [
57
- [y, o.value]
58
- ])
59
- ]),
60
- _: 1
61
- /* STABLE */
62
- }, 8, ["spinning"])
63
- ])) : I("v-if", !0);
64
- }
65
- }), H = /* @__PURE__ */ M(U, [["__scopeId", "data-v-9d185d90"]]);
66
- export {
67
- H as default
68
- };
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-DF7V-TBl.js";
3
- const o = {};
4
- function t(n, _) {
5
- return e(), r("div");
6
- }
7
- const a = /* @__PURE__ */ c(o, [["render", t]]);
8
- export {
9
- a as default
10
- };