@das-fed/web 6.4.0-dev.36 → 6.4.0-dev.38

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 (31) hide show
  1. package/{index-CRBeP89z.js → index-6_iWBDs0.js} +2344 -2257
  2. package/index-6_iWBDs0.js.gz +0 -0
  3. package/{index-DQLhHoNj.js → index-C9vVY6r3.js} +1 -1
  4. package/index-C9vVY6r3.js.gz +0 -0
  5. package/{index-MmUsuVm6.js → index-DC-9kRIP.js} +1 -1
  6. package/index.js +2 -2
  7. package/package.json +6 -6
  8. package/packages/layout/index.js +346 -330
  9. package/packages/layout/index.js.gz +0 -0
  10. package/packages/layout/style.css +1 -1
  11. package/packages/layout/style.css.gz +0 -0
  12. package/packages/main-app-framework/{index-OD7R3sDR.js → index-DCVBm-dM.js} +1 -1
  13. package/packages/main-app-framework/{index-BH90O_oP.js → index-DHWdFr1t.js} +1966 -1895
  14. package/packages/main-app-framework/index-DHWdFr1t.js.gz +0 -0
  15. package/packages/main-app-framework/{index-yWjHN1Jc.js → index-DiKwf0Vc.js} +1 -1
  16. package/packages/main-app-framework/index-DiKwf0Vc.js.gz +0 -0
  17. package/packages/main-app-framework/index.js +1 -1
  18. package/packages/main-app-framework/style.css +1 -1
  19. package/packages/main-app-framework/style.css.gz +0 -0
  20. package/style.css +2 -2
  21. package/style.css.gz +0 -0
  22. package/types/main-app-framework/components/iframe-page/index.d.ts +3 -0
  23. package/types/main-app-framework/components/index.d.ts +1 -0
  24. package/index-CRBeP89z.js.gz +0 -0
  25. package/index-CzrTf6x-.js +0 -68
  26. package/index-CzrTf6x-.js.gz +0 -0
  27. package/index-DQLhHoNj.js.gz +0 -0
  28. package/packages/main-app-framework/index-BH90O_oP.js.gz +0 -0
  29. package/packages/main-app-framework/index-CwKf8xGn.js +0 -68
  30. package/packages/main-app-framework/index-CwKf8xGn.js.gz +0 -0
  31. package/packages/main-app-framework/index-yWjHN1Jc.js.gz +0 -0
@@ -1,3 +1,4 @@
1
1
  export * from './watermark';
2
2
  export * from './entry-page-tip';
3
3
  export * from './person-set-dialog';
4
+ export * from './iframe-page';
Binary file
package/index-CzrTf6x-.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 b, _ as L } from "./index-CRBeP89z.js";
6
- import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
7
- import { getUrlParams as D } from "@das-fed/utils/common-tools";
8
- const E = {
9
- key: 0,
10
- class: "iframe-container"
11
- }, N = ["src"], T = /* @__PURE__ */ v({
12
- __name: "index",
13
- setup(U) {
14
- const t = r(""), n = r(!0);
15
- C.tab.addEventListener("onPageRefresh", async (e) => {
16
- e && e.path === R && (b(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: M(),
23
- userInfo: j(),
24
- projectInfo: B()
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 = D(location.href, "iframeSrc");
40
- }), h(() => {
41
- o.value = !1, a.value = !1;
42
- }), (e, s) => a.value && n.value ? (c(), l("div", E, [
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, N)), [
57
- [y, o.value]
58
- ])
59
- ]),
60
- _: 1
61
- /* STABLE */
62
- }, 8, ["spinning"])
63
- ])) : I("v-if", !0);
64
- }
65
- }), H = /* @__PURE__ */ L(T, [["__scopeId", "data-v-98dbb97f"]]);
66
- export {
67
- H as default
68
- };
Binary file
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 b, _ as L } from "./index-BH90O_oP.js";
6
- import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
7
- import { getUrlParams as D } from "@das-fed/utils/common-tools";
8
- const E = {
9
- key: 0,
10
- class: "iframe-container"
11
- }, N = ["src"], T = /* @__PURE__ */ v({
12
- __name: "index",
13
- setup(U) {
14
- const t = r(""), n = r(!0);
15
- C.tab.addEventListener("onPageRefresh", async (e) => {
16
- e && e.path === R && (b(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: M(),
23
- userInfo: j(),
24
- projectInfo: B()
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 = D(location.href, "iframeSrc");
40
- }), h(() => {
41
- o.value = !1, a.value = !1;
42
- }), (e, s) => a.value && n.value ? (c(), l("div", E, [
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, N)), [
57
- [y, o.value]
58
- ])
59
- ]),
60
- _: 1
61
- /* STABLE */
62
- }, 8, ["spinning"])
63
- ])) : I("v-if", !0);
64
- }
65
- }), H = /* @__PURE__ */ L(T, [["__scopeId", "data-v-98dbb97f"]]);
66
- export {
67
- H as default
68
- };