@das-fed/web 6.4.0-dev.12 → 6.4.0-dev.13
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.
- package/{index-C2ZSdOo4.js → index-BQz2IjQE.js} +257 -257
- package/index-BQz2IjQE.js.gz +0 -0
- package/{index-E3_VNsYI.js → index-BW4jEqQ-.js} +1 -1
- package/index-BW4jEqQ-.js.gz +0 -0
- package/{index-B0_oruhN.js → index-BXPEkTcx.js} +1 -1
- package/{packages/main-app-framework/index-csrvxtZY.js → index-B_wn2nAJ.js} +14 -14
- package/index-B_wn2nAJ.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +2 -2
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css +2 -2
- package/packages/layout/style.css.gz +0 -0
- package/packages/main-app-framework/{index-DGFe8dVS.js → index-BoLhjzZB.js} +1 -1
- package/packages/main-app-framework/index-BoLhjzZB.js.gz +0 -0
- package/{index-DCv0mp9Q.js → packages/main-app-framework/index-C9QdijG-.js} +14 -14
- package/packages/main-app-framework/index-C9QdijG-.js.gz +0 -0
- package/packages/main-app-framework/{index-BmlzT8Nw.js → index-D8WGTZ14.js} +1 -1
- package/packages/main-app-framework/{index-BKvL69_g.js → index-DbCJvZMG.js} +337 -335
- package/packages/main-app-framework/index-DbCJvZMG.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/main-app-framework/style.css +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/index.js +33 -35
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/micro-frontend/style.css +1 -1
- package/packages/style/style.css +1 -1
- package/packages/style/style.css.gz +0 -0
- package/packages/theme/index.js.gz +0 -0
- package/style.css +2 -2
- package/style.css.gz +0 -0
- package/index-C2ZSdOo4.js.gz +0 -0
- package/index-DCv0mp9Q.js.gz +0 -0
- package/index-E3_VNsYI.js.gz +0 -0
- package/packages/main-app-framework/index-BKvL69_g.js.gz +0 -0
- package/packages/main-app-framework/index-DGFe8dVS.js.gz +0 -0
- package/packages/main-app-framework/index-csrvxtZY.js.gz +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.watermark[data-v-
|
|
1
|
+
@charset "UTF-8";.watermark[data-v-933399ef]{position:relative;width:100%;height:100%}.menu-tip-diaolg .content[data-v-72bc9a80]{font-size:16px;color:var(--menu-tip-diaolg-content);text-align:center;line-height:24px;font-weight:400}.menu-tip-diaolg .divide[data-v-72bc9a80]{width:100%;height:1px;background-color:var(--menu-tip-diaolg-divide);margin:22px 0 8px}.menu-tip-diaolg .desc-item[data-v-72bc9a80]{font-size:14px;color:var(--menu-tip-diaolg-info);font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:left;line-height:21px}.preson-style-drawer[data-v-760eb710] .el-drawer{width:460px!important}.preson-style-drawer[data-v-760eb710] .el-drawer .preson-style-container{padding:10px 40px 10px 16px}.preson-style-drawer[data-v-760eb710] .el-drawer .preson-style-container .title{font-size:16px;color:#212121;margin-bottom:10px}.preson-style-drawer[data-v-760eb710] .el-drawer .preson-style-container .content{display:flex;justify-content:space-between;align-items:center}.preson-style-drawer[data-v-760eb710] .el-drawer .preson-style-container .content .ant-radio-wrapper{margin-top:10px}.preson-style-drawer[data-v-760eb710] .el-drawer .el-drawer__footer{padding:0!important}.preson-style-drawer[data-v-760eb710] .el-drawer .el-drawer__footer .preson-style-footer{height:50px;display:flex;justify-content:center;align-items:center;border-top:1px solid #d9d9d9}.wrapper[data-v-68946aef]{width:var(--23bfa220);height:var(--23bfa220);border:1px solid rgb(217,217,217);box-sizing:border-box}.wrapper.is-active[data-v-68946aef]{border-color:var(--das-ui-tree-node-active-font-color)}.layout-wrapper[data-v-22baf4d8]{background-color:#fff;width:100%;height:100%;display:flex;flex-wrap:wrap}.direction-control[data-v-69100474]{visibility:hidden;position:absolute;right:10px;bottom:50px;display:grid;grid-template-rows:30px 30px 30px;grid-template-columns:30px 30px 30px;gap:5px}.direction-control .icon[data-v-69100474]{width:30px;height:30px;background-repeat:no-repeat;cursor:pointer}.direction-control .icon.icon-top-left[data-v-69100474]{background-image:url(../../images/top-left-arrow-gray.png)}.direction-control .icon.icon-top-left[data-v-69100474]:hover{background-image:url(../../images/top-left-arrow-blue.png)}.direction-control .icon.icon-top[data-v-69100474]{background-image:url(../../images/top-arrow-gray.png)}.direction-control .icon.icon-top[data-v-69100474]:hover{background-image:url(../../images/top-arrow-blue.png)}.direction-control .icon.icon-top-right[data-v-69100474]{background-image:url(../../images/top-right-arrow-gray.png)}.direction-control .icon.icon-top-right[data-v-69100474]:hover{background-image:url(../../images/top-right-arrow-blue.png)}.direction-control .icon.icon-left[data-v-69100474]{background-image:url(../../images/left-arrow-gray.png)}.direction-control .icon.icon-left[data-v-69100474]:hover{background-image:url(../../images/left-arrow-blue.png)}.direction-control .icon.icon-auto[data-v-69100474]{background-image:url(../../images/auto-arrow-gray.png)}.direction-control .icon.icon-auto[data-v-69100474]:hover{background-image:url(../../images/auto-arrow-blue.png)}.direction-control .icon.icon-right[data-v-69100474]{background-image:url(../../images/right-arrow-gray.png)}.direction-control .icon.icon-right[data-v-69100474]:hover{background-image:url(../../images/right-arrow-blue.png)}.direction-control .icon.icon-bottom-left[data-v-69100474]{background-image:url(../../images/bottom-left-arrow-gray.png)}.direction-control .icon.icon-bottom-left[data-v-69100474]:hover{background-image:url(../../images/bottom-left-arrow-blue.png)}.direction-control .icon.icon-bottom[data-v-69100474]{background-image:url(../../images/bottom-arrow-gray.png)}.direction-control .icon.icon-bottom[data-v-69100474]:hover{background-image:url(../../images/bottom-arrow-blue.png)}.direction-control .icon.icon-bottom-right[data-v-69100474]{background-image:url(../../images/bottom-right-arrow-gray.png)}.direction-control .icon.icon-bottom-right[data-v-69100474]:hover{background-image:url(../../images/bottom-right-arrow-blue.png)}.video-wrapper[data-v-6c626546]{width:100%;height:100%;position:relative}.video-wrapper:hover .video-top[data-v-6c626546],.video-wrapper:hover .video-bottom[data-v-6c626546],.video-wrapper:hover .direction-control[data-v-6c626546]{visibility:visible}.video-wrapper .icon[data-v-6c626546]{cursor:pointer}.video-wrapper .video-top[data-v-6c626546],.video-wrapper .video-bottom[data-v-6c626546]{position:absolute;left:0;width:100%;height:40px;background-color:#0006;display:flex;align-items:center;justify-content:space-between;z-index:1;color:#fff;font-size:14px;visibility:hidden}.video-wrapper .video-top[data-v-6c626546]{top:0}.video-wrapper .video-top .video-top_l[data-v-6c626546]{min-width:0;flex:1}.video-wrapper .video-top .video-top_l .video-title[data-v-6c626546]{margin-left:16px}.video-wrapper .video-top .video-top_r[data-v-6c626546]{flex-shrink:0;display:flex;align-items:center}.video-wrapper .video-top .video-top_r .play-status[data-v-6c626546]{font-size:14px;color:#fff;margin-right:10px}.video-wrapper .video-top .video-top_r .close-icon[data-v-6c626546]{margin-right:10px}.video-wrapper .video-bottom[data-v-6c626546]{bottom:0}.video-wrapper .video-bottom .controls[data-v-6c626546]{display:flex;align-items:center}.video-wrapper .video-bottom .controls .icon[data-v-6c626546]{margin-right:16px;width:16px}.das-linakge-video-dialog{z-index:9999!important}.das-linakge-video-dialog.one-video,.das-linakge-video-dialog.four-video{width:933px!important;height:595px!important}.das-linakge-video-dialog.nine-video{width:1370px!important;height:840px!important}.foot-btn-box .das-ui-button+.das-ui-button[data-v-1ecf3324]{margin-left:12px}.handle-alarm-dialog-content[data-v-1ecf3324]{width:100%;height:100%;background-color:#fff;padding:30px 190px 0;display:flex;align-items:center;justify-content:center}.handle-alarm-dialog-content .select-check[data-v-1ecf3324]{width:100%;display:flex;flex-direction:column}.handle-alarm-dialog-content .select-check .form-box[data-v-1ecf3324]{display:flex;align-items:flex-end}.handle-alarm-dialog-content .select-check .form-box .das-ui-tree-select[data-v-1ecf3324],.handle-alarm-dialog-content .select-check .form-box .das-ui-input[data-v-1ecf3324]{width:50%;flex-grow:0}.handle-alarm-dialog-content .select-check .form-box .das-ui-input[data-v-1ecf3324]{margin-left:8px}.alarm-notify{padding:0!important;background-color:transparent}.alarm-notify.ant-notification-notice .ant-notification-notice-close{top:13px}.alarm-notify.ant-notification-notice .ant-notification-notice-close .ant-notification-close-icon{font-size:15px}.alarm-notify .ant-notification-notice-description{padding:0!important}.alarm-notify .ant-notification-notice-message{display:none}.alarm-notify .alarm-msg{box-sizing:border-box;border-radius:4px;z-index:99}.alarm-notify .alarm-msg .content-box{width:100%;padding:8px 20px 20px}.alarm-notify .alarm-msg .content-box .alarm-msg-line{display:flex;align-items:flex-start;font-size:12px;color:#212121;line-height:18px}.alarm-notify .alarm-msg .content-box .alarm-msg-line+.alarm-msg-line{margin-top:8px}.alarm-notify .alarm-msg .content-box .alarm-msg-line .alarm-msg-line-left{flex-shrink:0}.alarm-notify .alarm-msg .content-box .alarm-msg-line .alarm-msg-line-right{flex:1}.alarm-notify .alarm-msg .title-detail{width:100%;height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.alarm-notify .alarm-msg .title-detail .title-left{display:flex;align-items:center}.alarm-notify .alarm-msg .title-detail .title-left .icon-box{width:20px;height:20px;border-radius:50%;background-color:#fff;margin-right:16px;display:flex;align-items:center;justify-content:center;font-size:16px}.alarm-notify .alarm-msg .title-detail .title-left .title-box{font-size:14px;font-weight:700;color:#fff}.alarm-notify .alarm-msg .title-detail .title-right .icon-close-box{width:20px;height:20px;border-radius:50%;cursor:pointer}.alarm-notify .alarm-msg .btn-box{margin-top:8px}.alarm-notify .alarm-msg .btn-box .das-ui-button+.das-ui-button{margin-left:16px}.alarm-notify .alarm-msg .alarm-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.alarm-notify .alarm-msg .alarm-content-object{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#das-ui-notification-container .ant-notification.ant-notification-bottomRight>div .ant-notification-notice.alarm-notify:nth-of-type(n+3){display:none}.message-center-notify .ant-notification-notice-content .ant-notification-notice-icon,.message-center-notify .ant-notification-notice-content .ant-notification-notice-message{display:none!important}.message-center-notify .ant-notification-notice-content .ant-notification-notice-description .custom-title{display:flex;align-items:center}.message-center-notify .ant-notification-notice-content .ant-notification-notice-description .custom-title .title{flex:1;min-width:0;font-size:16px;color:#212121;margin-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:20px}.message-center-notify .ant-notification-notice-content .ant-notification-notice-description .custom-content{font-size:12px;color:#212121;line-height:18px;padding-top:5px;padding-left:33px;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.message-center-notify .ant-notification-notice-content .ant-notification-notice-description .footer-btn{font-size:12px;color:#5582f3;margin-top:8px;cursor:pointer;padding-left:33px}.das-main-app-container[data-v-45ef70df]{position:relative;width:100%;height:100%}.iframe-container[data-v-98dbb97f]{width:100%;height:100%;background-color:var(--das-layout-main-bg-color)}.iframe-container #iframe-view[data-v-98dbb97f]{background-color:transparent}
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/web/packages/micro-frontend/style.css';
|
|
2
|
-
import { ref as w, watch as
|
|
3
|
-
import { DasWebLayout as he, DasWebNav as we, DasWebMenu as ge, DasWebTabs as
|
|
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
|
+
import { DasWebLayout as he, DasWebNav as we, DasWebMenu as ge, DasWebTabs as ye } from "@das-fed/web/packages/layout/index";
|
|
4
4
|
const z = w("/das-micro-app"), f = w([]), k = w(!1), T = w([]), R = w(!0);
|
|
5
5
|
let A = null, h = null, L = null;
|
|
6
6
|
const b = (e, t, n) => {
|
|
@@ -14,12 +14,10 @@ const b = (e, t, n) => {
|
|
|
14
14
|
(s = (i = r.dom) == null ? void 0 : i.contentWindow) == null || s.postMessage({ type: t, data: n }, r.entry);
|
|
15
15
|
}
|
|
16
16
|
}, q = (e, t) => {
|
|
17
|
-
var
|
|
18
|
-
const {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
(a = window.top) == null || a.postMessage({ type: e, data: t }, c);
|
|
22
|
-
}, ye = () => {
|
|
17
|
+
var r;
|
|
18
|
+
const { origin: n } = new URL(location.href);
|
|
19
|
+
(r = window.top) == null || r.postMessage({ type: e, data: t }, n);
|
|
20
|
+
}, Me = () => {
|
|
23
21
|
h || (h || (h = {}), window.addEventListener(
|
|
24
22
|
"message",
|
|
25
23
|
(e) => {
|
|
@@ -30,7 +28,7 @@ const b = (e, t, n) => {
|
|
|
30
28
|
},
|
|
31
29
|
!1
|
|
32
30
|
));
|
|
33
|
-
},
|
|
31
|
+
}, _e = () => {
|
|
34
32
|
A || (A || (A = {}), window.addEventListener(
|
|
35
33
|
"message",
|
|
36
34
|
(e) => {
|
|
@@ -42,7 +40,7 @@ const b = (e, t, n) => {
|
|
|
42
40
|
!1
|
|
43
41
|
));
|
|
44
42
|
}, Le = (e, t) => {
|
|
45
|
-
|
|
43
|
+
_e();
|
|
46
44
|
const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8);
|
|
47
45
|
return A[e] || (A[e] = {}), A[e][n] = t, {
|
|
48
46
|
remove: () => {
|
|
@@ -50,7 +48,7 @@ const b = (e, t, n) => {
|
|
|
50
48
|
}
|
|
51
49
|
};
|
|
52
50
|
}, be = (e, t) => {
|
|
53
|
-
|
|
51
|
+
Me();
|
|
54
52
|
const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8);
|
|
55
53
|
return h[e] || (h[e] = {}), h[e][n] = t, {
|
|
56
54
|
remove: () => {
|
|
@@ -60,7 +58,7 @@ const b = (e, t, n) => {
|
|
|
60
58
|
}, Q = async (e) => {
|
|
61
59
|
await Promise.all(
|
|
62
60
|
f.value.filter((t) => t.loaded).map((t) => new Promise(async (n) => {
|
|
63
|
-
t.dom || await new Promise((r) =>
|
|
61
|
+
t.dom || await new Promise((r) => M(() => t.dom, r)), setTimeout(() => {
|
|
64
62
|
b(t.name, "sessionStorage", e), n(!0);
|
|
65
63
|
}, 0);
|
|
66
64
|
}))
|
|
@@ -86,7 +84,7 @@ const b = (e, t, n) => {
|
|
|
86
84
|
},
|
|
87
85
|
hideMicroApp: async (e) => {
|
|
88
86
|
const t = f.value.find((n) => n.name === e);
|
|
89
|
-
t && t.loaded && (t.dom || await new Promise((n) =>
|
|
87
|
+
t && t.loaded && (t.dom || await new Promise((n) => M(() => t.dom, n)), b(e, "router", {
|
|
90
88
|
cmd: "push",
|
|
91
89
|
route: {
|
|
92
90
|
name: "das-micro-app-ghost",
|
|
@@ -110,7 +108,7 @@ const b = (e, t, n) => {
|
|
|
110
108
|
},
|
|
111
109
|
setMicroAppRoute: async (e, t, n) => {
|
|
112
110
|
const r = f.value.find((s) => s.name === t);
|
|
113
|
-
if (!r || !r.loaded || !r.actived || (r.dom || await new Promise((s) =>
|
|
111
|
+
if (!r || !r.loaded || !r.actived || (r.dom || await new Promise((s) => M(() => r.dom, s)), !r.actived)) return r;
|
|
114
112
|
const c = n.path || n, a = n.query || {}, i = n.params || {};
|
|
115
113
|
return e.push({
|
|
116
114
|
path: `/${t}${c}`,
|
|
@@ -170,11 +168,11 @@ const b = (e, t, n) => {
|
|
|
170
168
|
},
|
|
171
169
|
reloadMicroAppRoute: async (e, t) => {
|
|
172
170
|
const n = f.value.find((r) => r.name === e);
|
|
173
|
-
n && (!n.loaded || !n.actived || (n.dom || await new Promise((r) =>
|
|
171
|
+
n && (!n.loaded || !n.actived || (n.dom || await new Promise((r) => M(() => n.dom, r)), b(e, "route", { cmd: "reload", path: t })));
|
|
174
172
|
},
|
|
175
173
|
unloadMicroAppRoute: async (e, t) => {
|
|
176
174
|
const n = f.value.find((r) => r.name === e);
|
|
177
|
-
n && (!n.loaded || !n.actived || (n.dom || await new Promise((r) =>
|
|
175
|
+
n && (!n.loaded || !n.actived || (n.dom || await new Promise((r) => M(() => n.dom, r)), b(e, "route", { cmd: "unload", path: t })));
|
|
178
176
|
},
|
|
179
177
|
setMainAppLayoutVisible: (e) => {
|
|
180
178
|
q("layoutVisible", { visible: e });
|
|
@@ -267,27 +265,27 @@ const b = (e, t, n) => {
|
|
|
267
265
|
remove: r
|
|
268
266
|
};
|
|
269
267
|
}
|
|
270
|
-
},
|
|
268
|
+
}, y = O({
|
|
271
269
|
items: [],
|
|
272
270
|
eventListeners: {}
|
|
273
271
|
}), Ee = {
|
|
274
272
|
setItems: (e) => {
|
|
275
273
|
setTimeout(() => {
|
|
276
|
-
|
|
274
|
+
y.items = e;
|
|
277
275
|
}, 200);
|
|
278
276
|
},
|
|
279
|
-
getItems: () =>
|
|
277
|
+
getItems: () => y.items,
|
|
280
278
|
setActiveItem: (e) => {
|
|
281
279
|
setTimeout(() => {
|
|
282
|
-
|
|
280
|
+
y.activeItem = e;
|
|
283
281
|
}, 200);
|
|
284
282
|
},
|
|
285
283
|
setPopupClassName: (e) => {
|
|
286
|
-
|
|
284
|
+
y.popupClassName = e;
|
|
287
285
|
},
|
|
288
286
|
triggerEventListener: (e, t, n) => {
|
|
289
287
|
var i;
|
|
290
|
-
const r =
|
|
288
|
+
const r = y.eventListeners, { autoRemove: c = !1 } = n || {}, a = [];
|
|
291
289
|
for (const s in r) {
|
|
292
290
|
const o = r[s];
|
|
293
291
|
o.type === e && a.push(
|
|
@@ -300,9 +298,9 @@ const b = (e, t, n) => {
|
|
|
300
298
|
},
|
|
301
299
|
addEventListener: (e, t) => {
|
|
302
300
|
const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), r = () => {
|
|
303
|
-
|
|
301
|
+
y.eventListeners[n] && delete y.eventListeners[n];
|
|
304
302
|
};
|
|
305
|
-
return
|
|
303
|
+
return y.eventListeners[n] = {
|
|
306
304
|
type: e,
|
|
307
305
|
handler: async (c) => {
|
|
308
306
|
try {
|
|
@@ -413,7 +411,7 @@ const b = (e, t, n) => {
|
|
|
413
411
|
}
|
|
414
412
|
}, Ce = {
|
|
415
413
|
nav: u,
|
|
416
|
-
menu:
|
|
414
|
+
menu: y,
|
|
417
415
|
tab: v,
|
|
418
416
|
overlay: W,
|
|
419
417
|
iframeView: P,
|
|
@@ -460,8 +458,8 @@ function xe(...e) {
|
|
|
460
458
|
Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
|
|
461
459
|
const a = [], i = () => {
|
|
462
460
|
a.forEach((l) => l()), a.length = 0;
|
|
463
|
-
}, s = (l, g, m,
|
|
464
|
-
i(), l && a.push(...n.flatMap((m) => r.map((
|
|
461
|
+
}, s = (l, g, m, _) => (l.addEventListener(g, m, _), () => l.removeEventListener(g, m, _)), o = M(() => [se(t), ne(c)], ([l, g]) => {
|
|
462
|
+
i(), l && a.push(...n.flatMap((m) => r.map((_) => s(l, m, _, g))));
|
|
465
463
|
}, { immediate: !0, flush: "post" }), p = () => {
|
|
466
464
|
o(), i();
|
|
467
465
|
};
|
|
@@ -530,7 +528,7 @@ function qe(e, t = {}) {
|
|
|
530
528
|
async function m() {
|
|
531
529
|
s.value && (n != null && n[l] && await n[p](), a.value = !1);
|
|
532
530
|
}
|
|
533
|
-
async function
|
|
531
|
+
async function _() {
|
|
534
532
|
if (!s.value)
|
|
535
533
|
return;
|
|
536
534
|
await m();
|
|
@@ -538,14 +536,14 @@ function qe(e, t = {}) {
|
|
|
538
536
|
S && (await S[o](), a.value = !0);
|
|
539
537
|
}
|
|
540
538
|
async function ie() {
|
|
541
|
-
a.value ? await m() : await
|
|
539
|
+
a.value ? await m() : await _();
|
|
542
540
|
}
|
|
543
541
|
return n && xe(n, g, () => {
|
|
544
542
|
a.value = !!(n != null && n[l]);
|
|
545
543
|
}, !1), r && re(m), {
|
|
546
544
|
isSupported: s,
|
|
547
545
|
isFullscreen: a,
|
|
548
|
-
enter:
|
|
546
|
+
enter: _,
|
|
549
547
|
exit: m,
|
|
550
548
|
toggle: ie
|
|
551
549
|
};
|
|
@@ -603,7 +601,7 @@ const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
|
|
|
603
601
|
const n = e, r = t, c = (s) => {
|
|
604
602
|
r("onLoaded", s);
|
|
605
603
|
}, a = D(() => n.actived);
|
|
606
|
-
return
|
|
604
|
+
return M(() => a.value, (s) => {
|
|
607
605
|
s && r("onActivated"), s || r("onDeactivated");
|
|
608
606
|
}), (s, o) => (E(), N("iframe", {
|
|
609
607
|
class: "das-micro-app",
|
|
@@ -614,7 +612,7 @@ const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
|
|
|
614
612
|
onLoad: c
|
|
615
613
|
}, null, 40, je));
|
|
616
614
|
}
|
|
617
|
-
}), Ue = /* @__PURE__ */ te(He, [["__scopeId", "data-v-
|
|
615
|
+
}), Ue = /* @__PURE__ */ te(He, [["__scopeId", "data-v-8ae871f6"]]), Ge = /* @__PURE__ */ x({
|
|
618
616
|
__name: "das-micro-apps",
|
|
619
617
|
setup(e) {
|
|
620
618
|
const t = w(null), n = async (a, i) => {
|
|
@@ -684,7 +682,7 @@ const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
|
|
|
684
682
|
/* NEED_PATCH */
|
|
685
683
|
));
|
|
686
684
|
}
|
|
687
|
-
}), Je = /* @__PURE__ */ te(Ge, [["__scopeId", "data-v-
|
|
685
|
+
}), Je = /* @__PURE__ */ te(Ge, [["__scopeId", "data-v-3abdb1e9"]]), Ze = /* @__PURE__ */ x({
|
|
688
686
|
__name: "das-main-app-layout",
|
|
689
687
|
props: {
|
|
690
688
|
transitionConfig: { default: () => {
|
|
@@ -718,7 +716,7 @@ const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
|
|
|
718
716
|
]),
|
|
719
717
|
tab: C(() => [
|
|
720
718
|
V(a.$slots, "tab", {}, () => [
|
|
721
|
-
F(I(
|
|
719
|
+
F(I(ye), { tabsAttr: a.tabsAttr }, null, 8, ["tabsAttr"])
|
|
722
720
|
])
|
|
723
721
|
]),
|
|
724
722
|
default: C(() => [
|
|
@@ -773,7 +771,7 @@ const je = ["src", "entry", "name"], He = /* @__PURE__ */ x({
|
|
|
773
771
|
meta: { isMicroApp: !0, keepAlive: !0 }
|
|
774
772
|
});
|
|
775
773
|
const r = w(!1), c = w(!1), a = w("");
|
|
776
|
-
|
|
774
|
+
M(
|
|
777
775
|
() => t.currentRoute.value,
|
|
778
776
|
(i) => {
|
|
779
777
|
if (r.value) {
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-micro-app[data-v-
|
|
1
|
+
.das-micro-app[data-v-8ae871f6]{height:100%;width:100%;padding:0;margin:0;-webkit-user-select:none;user-select:none}.das-micro-app-container[data-v-3abdb1e9]{height:100%;width:100%;padding:0;margin:0}
|
package/packages/style/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";*,:before,:after{border-width:0;border-style:solid;border-color:currentColor}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;height:100%}body{height:100%;margin:0;line-height:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif}#app{width:100%;height:100%}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.dark{color-scheme:dark}label{font-weight:700}*,*:before,*:after{box-sizing:inherit}a:focus,a:active{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent}*::-webkit-scrollbar{width:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);height:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);background-color:transparent}*::-webkit-scrollbar-thumb{border-radius:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);border:var(--das-ui-scrollbar-padding) solid transparent;transition:border .15s;background-clip:content-box;background-color:var(--das-ui-scrollbar-thumb-color);cursor:pointer}*::-webkit-scrollbar-thumb:hover{border-left:none;border-right:none;background-color:var(--das-ui-scrollbar-thumb-hover-color)}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.flex-center__y{display:flex;align-items:center}.is-hide{display:none!important}.overflow-hide{overflow:hidden!important}.overflow-visible{overflow:visible!important}.text-break{word-break:break-all}
|
|
1
|
+
@charset "UTF-8";*,:before,:after{border-width:0;border-style:solid;border-color:currentColor}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;height:100%}body{height:100%;margin:0;line-height:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif}#app{width:100%;height:100%}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0!important;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.dark{color-scheme:dark}label{font-weight:700}*,*:before,*:after{box-sizing:inherit}a:focus,a:active{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent}*::-webkit-scrollbar{width:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);height:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);background-color:transparent}*::-webkit-scrollbar-thumb{border-radius:calc(var(--das-ui-scrollbar-thumb-size) + var(--das-ui-scrollbar-padding) * 2);border:var(--das-ui-scrollbar-padding) solid transparent;transition:border .15s;background-clip:content-box;background-color:var(--das-ui-scrollbar-thumb-color);cursor:pointer}*::-webkit-scrollbar-thumb:hover{border-left:none;border-right:none;background-color:var(--das-ui-scrollbar-thumb-hover-color)}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.flex-center__y{display:flex;align-items:center}.is-hide{display:none!important}.overflow-hide{overflow:hidden!important}.overflow-visible{overflow:visible!important}.text-break{word-break:break-all}
|
|
Binary file
|
|
Binary file
|