@das-fed/upf-web 6.4.0-dev.191 → 6.4.0-dev.192
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/es5.js +44 -44
- package/{index-C3RSLXsd.js → index-By5Wk7TQ.js} +1 -1
- package/index-By5Wk7TQ.js.gz +0 -0
- package/{index-TRRp4oX5.js → index-CJO2hF2R.js} +426 -426
- package/index-CJO2hF2R.js.gz +0 -0
- package/{index-Dh0dSElp.js → index-_4jeq8Kl.js} +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/layout/es5.js +182 -179
- package/packages/layout/index.js +162 -162
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css +1 -1
- package/packages/layout/style.css.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/index-C3RSLXsd.js.gz +0 -0
- package/index-TRRp4oX5.js.gz +0 -0
package/packages/layout/es5.js
CHANGED
|
@@ -96,15 +96,15 @@ var h = vue.reactive({
|
|
|
96
96
|
var l = h.eventListeners,
|
|
97
97
|
_ref = n || {},
|
|
98
98
|
_ref$autoRemove = _ref.autoRemove,
|
|
99
|
-
|
|
99
|
+
m = _ref$autoRemove === void 0 ? false : _ref$autoRemove,
|
|
100
100
|
r = [];
|
|
101
101
|
var _loop = function _loop() {
|
|
102
|
-
var i = l[
|
|
102
|
+
var i = l[w];
|
|
103
103
|
i.type === e && r.push((f = i == null ? undefined : i.handler) == null ? undefined : f.call(i, t).then(function () {
|
|
104
|
-
|
|
104
|
+
m && i.remove();
|
|
105
105
|
}));
|
|
106
106
|
};
|
|
107
|
-
for (var
|
|
107
|
+
for (var w in l) {
|
|
108
108
|
_loop();
|
|
109
109
|
}
|
|
110
110
|
return Promise.all(r).then(function () {
|
|
@@ -121,14 +121,14 @@ var h = vue.reactive({
|
|
|
121
121
|
return h.eventListeners[n] = {
|
|
122
122
|
type: e,
|
|
123
123
|
handler: function () {
|
|
124
|
-
var _handler = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(
|
|
124
|
+
var _handler = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(m) {
|
|
125
125
|
var _t;
|
|
126
126
|
return _regenerator().w(function (_context) {
|
|
127
127
|
while (1) switch (_context.p = _context.n) {
|
|
128
128
|
case 0:
|
|
129
129
|
_context.p = 0;
|
|
130
130
|
_context.n = 1;
|
|
131
|
-
return t(
|
|
131
|
+
return t(m);
|
|
132
132
|
case 1:
|
|
133
133
|
_context.n = 3;
|
|
134
134
|
break;
|
|
@@ -182,15 +182,15 @@ var h = vue.reactive({
|
|
|
182
182
|
var l = R.eventListeners,
|
|
183
183
|
_ref2 = n || {},
|
|
184
184
|
_ref2$autoRemove = _ref2.autoRemove,
|
|
185
|
-
|
|
185
|
+
m = _ref2$autoRemove === void 0 ? false : _ref2$autoRemove,
|
|
186
186
|
r = [];
|
|
187
187
|
var _loop2 = function _loop2() {
|
|
188
|
-
var i = l[
|
|
188
|
+
var i = l[w];
|
|
189
189
|
i.type === e && r.push((f = i == null ? undefined : i.handler) == null ? undefined : f.call(i, t).then(function () {
|
|
190
|
-
|
|
190
|
+
m && i.remove();
|
|
191
191
|
}));
|
|
192
192
|
};
|
|
193
|
-
for (var
|
|
193
|
+
for (var w in l) {
|
|
194
194
|
_loop2();
|
|
195
195
|
}
|
|
196
196
|
return Promise.all(r).then(function () {
|
|
@@ -207,14 +207,14 @@ var h = vue.reactive({
|
|
|
207
207
|
return R.eventListeners[n] = {
|
|
208
208
|
type: e,
|
|
209
209
|
handler: function () {
|
|
210
|
-
var _handler2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(
|
|
210
|
+
var _handler2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(m) {
|
|
211
211
|
var _t2;
|
|
212
212
|
return _regenerator().w(function (_context2) {
|
|
213
213
|
while (1) switch (_context2.p = _context2.n) {
|
|
214
214
|
case 0:
|
|
215
215
|
_context2.p = 0;
|
|
216
216
|
_context2.n = 1;
|
|
217
|
-
return t(
|
|
217
|
+
return t(m);
|
|
218
218
|
case 1:
|
|
219
219
|
_context2.n = 3;
|
|
220
220
|
break;
|
|
@@ -273,15 +273,15 @@ var h = vue.reactive({
|
|
|
273
273
|
var l = k.eventListeners,
|
|
274
274
|
_ref3 = n || {},
|
|
275
275
|
_ref3$autoRemove = _ref3.autoRemove,
|
|
276
|
-
|
|
276
|
+
m = _ref3$autoRemove === void 0 ? false : _ref3$autoRemove,
|
|
277
277
|
r = [];
|
|
278
278
|
var _loop3 = function _loop3() {
|
|
279
|
-
var i = l[
|
|
279
|
+
var i = l[w];
|
|
280
280
|
i.type === e && r.push((f = i == null ? undefined : i.handler) == null ? undefined : f.call(i, t).then(function () {
|
|
281
|
-
|
|
281
|
+
m && i.remove();
|
|
282
282
|
}));
|
|
283
283
|
};
|
|
284
|
-
for (var
|
|
284
|
+
for (var w in l) {
|
|
285
285
|
_loop3();
|
|
286
286
|
}
|
|
287
287
|
return Promise.all(r).then(function () {
|
|
@@ -298,14 +298,14 @@ var h = vue.reactive({
|
|
|
298
298
|
return k.eventListeners[n] = {
|
|
299
299
|
type: e,
|
|
300
300
|
handler: function () {
|
|
301
|
-
var _handler3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(
|
|
301
|
+
var _handler3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(m) {
|
|
302
302
|
var _t3;
|
|
303
303
|
return _regenerator().w(function (_context3) {
|
|
304
304
|
while (1) switch (_context3.p = _context3.n) {
|
|
305
305
|
case 0:
|
|
306
306
|
_context3.p = 0;
|
|
307
307
|
_context3.n = 1;
|
|
308
|
-
return t(
|
|
308
|
+
return t(m);
|
|
309
309
|
case 1:
|
|
310
310
|
_context3.n = 3;
|
|
311
311
|
break;
|
|
@@ -338,15 +338,15 @@ var h = vue.reactive({
|
|
|
338
338
|
var l = K.eventListeners,
|
|
339
339
|
_ref4 = n || {},
|
|
340
340
|
_ref4$autoRemove = _ref4.autoRemove,
|
|
341
|
-
|
|
341
|
+
m = _ref4$autoRemove === void 0 ? false : _ref4$autoRemove,
|
|
342
342
|
r = [];
|
|
343
343
|
var _loop4 = function _loop4() {
|
|
344
|
-
var i = l[
|
|
344
|
+
var i = l[w];
|
|
345
345
|
i.type === e && r.push((f = i == null ? undefined : i.handler) == null ? undefined : f.call(i, t).then(function () {
|
|
346
|
-
|
|
346
|
+
m && i.remove();
|
|
347
347
|
}));
|
|
348
348
|
};
|
|
349
|
-
for (var
|
|
349
|
+
for (var w in l) {
|
|
350
350
|
_loop4();
|
|
351
351
|
}
|
|
352
352
|
return Promise.all(r).then(function () {
|
|
@@ -363,14 +363,14 @@ var h = vue.reactive({
|
|
|
363
363
|
return K.eventListeners[n] = {
|
|
364
364
|
type: e,
|
|
365
365
|
handler: function () {
|
|
366
|
-
var _handler4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(
|
|
366
|
+
var _handler4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(m) {
|
|
367
367
|
var _t4;
|
|
368
368
|
return _regenerator().w(function (_context4) {
|
|
369
369
|
while (1) switch (_context4.p = _context4.n) {
|
|
370
370
|
case 0:
|
|
371
371
|
_context4.p = 0;
|
|
372
372
|
_context4.n = 1;
|
|
373
|
-
return t(
|
|
373
|
+
return t(m);
|
|
374
374
|
case 1:
|
|
375
375
|
_context4.n = 3;
|
|
376
376
|
break;
|
|
@@ -411,7 +411,7 @@ var h = vue.reactive({
|
|
|
411
411
|
iframeView: K,
|
|
412
412
|
visible: vue.ref(false)
|
|
413
413
|
},
|
|
414
|
-
|
|
414
|
+
d = {
|
|
415
415
|
nav: ve,
|
|
416
416
|
menu: de,
|
|
417
417
|
tab: me,
|
|
@@ -452,7 +452,7 @@ var h = vue.reactive({
|
|
|
452
452
|
return a;
|
|
453
453
|
}),
|
|
454
454
|
l = vueRouter.useRouter(),
|
|
455
|
-
|
|
455
|
+
m = vueRouter.useRoute(),
|
|
456
456
|
r = vue.ref([]),
|
|
457
457
|
f = vue.computed(function () {
|
|
458
458
|
return r.value.filter(function (s) {
|
|
@@ -460,21 +460,24 @@ var h = vue.reactive({
|
|
|
460
460
|
return (a = s.meta) == null ? undefined : a.isOpen;
|
|
461
461
|
});
|
|
462
462
|
}),
|
|
463
|
-
|
|
463
|
+
w = function w(s) {
|
|
464
464
|
var a = s.lastIndexOf("-");
|
|
465
465
|
var o = a !== -1 ? s.substring(a + 1) : "";
|
|
466
|
-
o === "0" ? o = "1" : o = "0", f.value.forEach(function (
|
|
467
|
-
|
|
466
|
+
o === "0" ? o = "1" : o = "0", f.value.forEach(function (c) {
|
|
467
|
+
c.meta.key === s && (c.meta.key = "".concat(c.path, "-").concat(o));
|
|
468
468
|
});
|
|
469
469
|
};
|
|
470
470
|
vue.watch(function () {
|
|
471
471
|
return t.exclude;
|
|
472
472
|
}, function (s) {
|
|
473
473
|
if (!s || !s.length) return;
|
|
474
|
-
var a =
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
474
|
+
var a = s.map(function (c) {
|
|
475
|
+
return c.toLowerCase();
|
|
476
|
+
}),
|
|
477
|
+
o = f.value.find(function (c) {
|
|
478
|
+
return a.includes(c.path.toLowerCase());
|
|
479
|
+
});
|
|
480
|
+
o && w(o.meta.key);
|
|
478
481
|
}, {
|
|
479
482
|
deep: true
|
|
480
483
|
});
|
|
@@ -517,13 +520,13 @@ var h = vue.reactive({
|
|
|
517
520
|
_iterator = _createForOfIteratorHelper(s);
|
|
518
521
|
_context7.p = 1;
|
|
519
522
|
_loop5 = /*#__PURE__*/_regenerator().m(function _loop5() {
|
|
520
|
-
var o,
|
|
523
|
+
var o, c;
|
|
521
524
|
return _regenerator().w(function (_context6) {
|
|
522
525
|
while (1) switch (_context6.n) {
|
|
523
526
|
case 0:
|
|
524
527
|
o = _step.value;
|
|
525
|
-
if (!((a = o == null ? undefined : o.meta) != null && a.isIframe && !r.value.find(function (
|
|
526
|
-
return
|
|
528
|
+
if (!((a = o == null ? undefined : o.meta) != null && a.isIframe && !r.value.find(function (c) {
|
|
529
|
+
return c.path.toLowerCase() === o.path.toLowerCase();
|
|
527
530
|
}))) {
|
|
528
531
|
_context6.n = 2;
|
|
529
532
|
break;
|
|
@@ -531,11 +534,11 @@ var h = vue.reactive({
|
|
|
531
534
|
_context6.n = 1;
|
|
532
535
|
return i(o);
|
|
533
536
|
case 1:
|
|
534
|
-
|
|
537
|
+
c = _context6.v;
|
|
535
538
|
r.value.push(_objectSpread(_objectSpread({}, o), {}, {
|
|
536
539
|
meta: _objectSpread(_objectSpread({}, o.meta), {}, {
|
|
537
540
|
key: "".concat(o.path, "-0"),
|
|
538
|
-
componentInstance:
|
|
541
|
+
componentInstance: c,
|
|
539
542
|
isOpen: false,
|
|
540
543
|
isShow: false
|
|
541
544
|
})
|
|
@@ -579,7 +582,7 @@ var h = vue.reactive({
|
|
|
579
582
|
}(),
|
|
580
583
|
T = /*#__PURE__*/function () {
|
|
581
584
|
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
|
|
582
|
-
var o,
|
|
585
|
+
var o, c, s, a, _t6, _t7;
|
|
583
586
|
return _regenerator().w(function (_context8) {
|
|
584
587
|
while (1) switch (_context8.n) {
|
|
585
588
|
case 0:
|
|
@@ -589,8 +592,8 @@ var h = vue.reactive({
|
|
|
589
592
|
}
|
|
590
593
|
return _context8.a(2);
|
|
591
594
|
case 1:
|
|
592
|
-
s = r.value.find(function (
|
|
593
|
-
return
|
|
595
|
+
s = r.value.find(function (_) {
|
|
596
|
+
return _.meta.isShow;
|
|
594
597
|
});
|
|
595
598
|
_t6 = s;
|
|
596
599
|
if (!_t6) {
|
|
@@ -601,12 +604,12 @@ var h = vue.reactive({
|
|
|
601
604
|
_context8.n = 2;
|
|
602
605
|
return vue.nextTick();
|
|
603
606
|
case 2:
|
|
604
|
-
|
|
607
|
+
d.iframeView.triggerEventListener("onDeactivated", {
|
|
605
608
|
route: s
|
|
606
609
|
});
|
|
607
610
|
case 3:
|
|
608
|
-
a = r.value.find(function (
|
|
609
|
-
return
|
|
611
|
+
a = r.value.find(function (_) {
|
|
612
|
+
return _.path.toLowerCase() === m.path.toLowerCase();
|
|
610
613
|
});
|
|
611
614
|
_t7 = a;
|
|
612
615
|
if (!_t7) {
|
|
@@ -614,11 +617,11 @@ var h = vue.reactive({
|
|
|
614
617
|
break;
|
|
615
618
|
}
|
|
616
619
|
(o = a.meta) != null && o.isOpen || (a.meta.isOpen = true);
|
|
617
|
-
(
|
|
620
|
+
(c = a.meta) != null && c.isShow || (a.meta.isShow = true);
|
|
618
621
|
_context8.n = 4;
|
|
619
622
|
return vue.nextTick();
|
|
620
623
|
case 4:
|
|
621
|
-
|
|
624
|
+
d.iframeView.triggerEventListener("onActivated", {
|
|
622
625
|
route: a
|
|
623
626
|
});
|
|
624
627
|
case 5:
|
|
@@ -638,14 +641,14 @@ var h = vue.reactive({
|
|
|
638
641
|
s !== S ? (P(), S = s) : T();
|
|
639
642
|
}, {
|
|
640
643
|
immediate: true
|
|
641
|
-
}),
|
|
644
|
+
}), d.iframeView.addEventListener("onRefreshCurrentPage", function () {
|
|
642
645
|
f.value.forEach(function (s) {
|
|
643
646
|
var a;
|
|
644
647
|
(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"));
|
|
645
648
|
});
|
|
646
|
-
}),
|
|
649
|
+
}), d.iframeView.addEventListener("onUnloadPage", function (s) {
|
|
647
650
|
r.value.forEach(function (a) {
|
|
648
|
-
a.path === s && (a.meta.isOpen = false);
|
|
651
|
+
a.path.toLowerCase() === s.toLowerCase() && (a.meta.isOpen = false);
|
|
649
652
|
});
|
|
650
653
|
}), function (s, a) {
|
|
651
654
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [s.needTransition ? (vue.openBlock(), vue.createBlock(vue.TransitionGroup, vue.normalizeProps(vue.mergeProps({
|
|
@@ -654,14 +657,14 @@ var h = vue.reactive({
|
|
|
654
657
|
"default": vue.withCtx(function () {
|
|
655
658
|
return [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(f.value, function (_ref8) {
|
|
656
659
|
var o = _ref8.path,
|
|
657
|
-
|
|
660
|
+
c = _ref8.meta;
|
|
658
661
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
659
662
|
"class": "das-iframe-router-view",
|
|
660
|
-
key:
|
|
663
|
+
key: c.key,
|
|
661
664
|
name: o
|
|
662
|
-
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
663
|
-
key:
|
|
664
|
-
}))], 8, Pe)), [[vue.vShow,
|
|
665
|
+
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(c.componentInstance), {
|
|
666
|
+
key: c.key
|
|
667
|
+
}))], 8, Pe)), [[vue.vShow, c.componentInstance && o.toLowerCase() === vue.unref(m).path.toLowerCase()]]);
|
|
665
668
|
}), 128
|
|
666
669
|
/* KEYED_FRAGMENT */))];
|
|
667
670
|
}),
|
|
@@ -672,14 +675,14 @@ var h = vue.reactive({
|
|
|
672
675
|
key: 1
|
|
673
676
|
}, vue.renderList(f.value, function (_ref9) {
|
|
674
677
|
var o = _ref9.path,
|
|
675
|
-
|
|
678
|
+
c = _ref9.meta;
|
|
676
679
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
677
680
|
"class": "das-iframe-router-view",
|
|
678
|
-
key:
|
|
681
|
+
key: c.key,
|
|
679
682
|
name: o
|
|
680
|
-
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
681
|
-
key:
|
|
682
|
-
}))], 8, Se)), [[vue.vShow,
|
|
683
|
+
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(c.componentInstance), {
|
|
684
|
+
key: c.key
|
|
685
|
+
}))], 8, Se)), [[vue.vShow, c.componentInstance && o.toLowerCase() === vue.unref(m).path.toLowerCase()]]);
|
|
683
686
|
}), 128
|
|
684
687
|
/* KEYED_FRAGMENT */))], 64
|
|
685
688
|
/* STABLE_FRAGMENT */);
|
|
@@ -694,8 +697,8 @@ var h = vue.reactive({
|
|
|
694
697
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
695
698
|
var _step2$value = _slicedToArray(_step2.value, 2),
|
|
696
699
|
l = _step2$value[0],
|
|
697
|
-
|
|
698
|
-
n[l] =
|
|
700
|
+
m = _step2$value[1];
|
|
701
|
+
n[l] = m;
|
|
699
702
|
}
|
|
700
703
|
} catch (err) {
|
|
701
704
|
_iterator2.e(err);
|
|
@@ -704,7 +707,7 @@ var h = vue.reactive({
|
|
|
704
707
|
}
|
|
705
708
|
return n;
|
|
706
709
|
},
|
|
707
|
-
Me = /* @__PURE__ */he(De, [["__scopeId", "data-v-
|
|
710
|
+
Me = /* @__PURE__ */he(De, [["__scopeId", "data-v-4bfc711f"]]),
|
|
708
711
|
je = {
|
|
709
712
|
"class": "das-web-app-container"
|
|
710
713
|
},
|
|
@@ -800,13 +803,13 @@ var h = vue.reactive({
|
|
|
800
803
|
dasWebApp.createCeNav(), dasWebApp.createCeTabs(), dasWebApp.createCeMenu();
|
|
801
804
|
var n = vueRouter.useRoute(),
|
|
802
805
|
l = vue.ref(false),
|
|
803
|
-
|
|
806
|
+
m = vue.ref(false),
|
|
804
807
|
r = vue.ref(false),
|
|
805
808
|
f = vue.computed(function () {
|
|
806
809
|
return l.value && t.showLayout;
|
|
807
810
|
}),
|
|
808
|
-
|
|
809
|
-
return
|
|
811
|
+
w = vue.computed(function () {
|
|
812
|
+
return m.value && t.showLayout && t.showAside;
|
|
810
813
|
}),
|
|
811
814
|
i = vue.computed(function () {
|
|
812
815
|
return l.value && t.showLayout && t.showTabs;
|
|
@@ -842,18 +845,18 @@ var h = vue.reactive({
|
|
|
842
845
|
return [n.meta, n.query];
|
|
843
846
|
}, function (_ref0) {
|
|
844
847
|
var _ref1 = _slicedToArray(_ref0, 2),
|
|
845
|
-
|
|
848
|
+
C = _ref1[0],
|
|
846
849
|
j = _ref1[1];
|
|
847
|
-
var
|
|
848
|
-
A =
|
|
849
|
-
|
|
850
|
-
x =
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
p =
|
|
850
|
+
var _C$showLayout = C.showLayout,
|
|
851
|
+
A = _C$showLayout === void 0 ? true : _C$showLayout,
|
|
852
|
+
_C$showAside = C.showAside,
|
|
853
|
+
x = _C$showAside === void 0 ? true : _C$showAside,
|
|
854
|
+
_C$showTabs = C.showTabs,
|
|
855
|
+
v = _C$showTabs === void 0 ? true : _C$showTabs,
|
|
856
|
+
_C$layout = C.layout,
|
|
857
|
+
p = _C$layout === void 0 ? {} : _C$layout,
|
|
855
858
|
_j$showLayout = j.showLayout,
|
|
856
|
-
|
|
859
|
+
y = _j$showLayout === void 0 ? true : _j$showLayout,
|
|
857
860
|
_j$showAside = j.showAside,
|
|
858
861
|
$ = _j$showAside === void 0 ? true : _j$showAside,
|
|
859
862
|
_j$showTabs = j.showTabs,
|
|
@@ -863,18 +866,18 @@ var h = vue.reactive({
|
|
|
863
866
|
var re = true,
|
|
864
867
|
J = true,
|
|
865
868
|
X = true;
|
|
866
|
-
(A === false ||
|
|
869
|
+
(A === false || y === false || y === "false") && (re = false, J = false, X = false), (x === false || $ === false || $ === "false") && (J = false), (v === false || E === false || E === "false") && (X = false), l.value = re, m.value = J, r.value = X;
|
|
867
870
|
});
|
|
868
|
-
var
|
|
871
|
+
var c = vue.computed(function () {
|
|
869
872
|
return _objectSpread({
|
|
870
873
|
mode: "out-in",
|
|
871
874
|
"enter-active-class": "animate__animated animate__fadeInLeft"
|
|
872
875
|
}, t.transitionConfig || {});
|
|
873
876
|
});
|
|
874
|
-
var
|
|
875
|
-
var q = function q(
|
|
877
|
+
var _ = /* @__PURE__ */new Map();
|
|
878
|
+
var q = function q(C, j) {
|
|
876
879
|
var A;
|
|
877
|
-
return
|
|
880
|
+
return _.has(j) ? A = _.get(j) : (A = {
|
|
878
881
|
name: j,
|
|
879
882
|
render: function render() {
|
|
880
883
|
return vue.h("div", {
|
|
@@ -882,49 +885,49 @@ var h = vue.reactive({
|
|
|
882
885
|
width: "100%",
|
|
883
886
|
height: "100%"
|
|
884
887
|
}
|
|
885
|
-
}, [vue.h(
|
|
888
|
+
}, [vue.h(C)]);
|
|
886
889
|
}
|
|
887
|
-
},
|
|
890
|
+
}, _.set(j, A)), vue.h(A);
|
|
888
891
|
},
|
|
889
892
|
B = vue.computed(function () {
|
|
890
893
|
return F.visible.value;
|
|
891
894
|
});
|
|
892
|
-
return function (
|
|
895
|
+
return function (C, j) {
|
|
893
896
|
var A = vue.resolveComponent("router-view");
|
|
894
897
|
return vue.openBlock(), vue.createElementBlock("div", je, [vue.withDirectives(vue.createElementVNode("div", {
|
|
895
898
|
"class": vue.normalizeClass(["das-web-app-overlay", S.value]),
|
|
896
899
|
style: vue.normalizeStyle(s.value)
|
|
897
900
|
}, null, 6
|
|
898
|
-
/* CLASS, STYLE */), [[vue.vShow, B.value]]), f.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", xe, [vue.renderSlot(
|
|
899
|
-
/* NEED_PATCH */)), [[vue.vShow, B.value]]) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", $e, [
|
|
900
|
-
/* NEED_PATCH */)), [[vue.vShow, B.value]]) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", Be, [i.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", Fe, [vue.renderSlot(
|
|
901
|
-
/* NEED_PATCH */)), [[vue.vShow, B.value]]) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", Ne, [vue.withDirectives(vue.createElementVNode("div", Oe, [vue.renderSlot(
|
|
901
|
+
/* CLASS, STYLE */), [[vue.vShow, B.value]]), f.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", xe, [vue.renderSlot(C.$slots, "header", {}, undefined, true)], 512
|
|
902
|
+
/* NEED_PATCH */)), [[vue.vShow, B.value]]) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", $e, [w.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", He, [vue.renderSlot(C.$slots, "aside", {}, undefined, true)], 512
|
|
903
|
+
/* NEED_PATCH */)), [[vue.vShow, B.value]]) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", Be, [i.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", Fe, [vue.renderSlot(C.$slots, "tab", {}, undefined, true)], 512
|
|
904
|
+
/* NEED_PATCH */)), [[vue.vShow, B.value]]) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", Ne, [vue.withDirectives(vue.createElementVNode("div", Oe, [vue.renderSlot(C.$slots, "banner", {}, undefined, true)], 512
|
|
902
905
|
/* NEED_PATCH */), [[vue.vShow, B.value]]), vue.createElementVNode("div", Ue, [vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
903
|
-
key:
|
|
906
|
+
key: C.pageKey,
|
|
904
907
|
style: {
|
|
905
908
|
width: "100%",
|
|
906
909
|
height: "100%"
|
|
907
910
|
}
|
|
908
|
-
}, [vue.renderSlot(
|
|
909
|
-
return [vue.createCommentVNode(" 有动画 "),
|
|
911
|
+
}, [vue.renderSlot(C.$slots, "router-view", {}, function () {
|
|
912
|
+
return [vue.createCommentVNode(" 有动画 "), C.needTransition ? (vue.openBlock(), vue.createBlock(A, {
|
|
910
913
|
key: 0
|
|
911
914
|
}, {
|
|
912
915
|
"default": vue.withCtx(function (_ref10) {
|
|
913
916
|
var x = _ref10.Component;
|
|
914
|
-
return [vue.createVNode(vue.Transition, vue.normalizeProps(vue.guardReactiveProps(
|
|
917
|
+
return [vue.createVNode(vue.Transition, vue.normalizeProps(vue.guardReactiveProps(c.value)), {
|
|
915
918
|
"default": vue.withCtx(function () {
|
|
916
|
-
var
|
|
919
|
+
var v;
|
|
917
920
|
return [vue.unref(n).meta.keepAlive ? (vue.openBlock(), vue.createBlock(vue.KeepAlive, {
|
|
918
921
|
key: 0,
|
|
919
922
|
exclude: a.value
|
|
920
|
-
}, [o.value && !((
|
|
923
|
+
}, [o.value && !((v = vue.unref(n).meta) != null && v.isIframe) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(q(x, vue.unref(n).path)), {
|
|
921
924
|
key: vue.unref(n).path
|
|
922
925
|
})) : vue.createCommentVNode("v-if", true)], 1032, ["exclude"])) : vue.createCommentVNode("v-if", true)];
|
|
923
926
|
}),
|
|
924
927
|
_: 2
|
|
925
928
|
/* DYNAMIC */
|
|
926
929
|
}, 1040
|
|
927
|
-
/* FULL_PROPS, DYNAMIC_SLOTS */), vue.createVNode(vue.Transition, vue.normalizeProps(vue.guardReactiveProps(
|
|
930
|
+
/* FULL_PROPS, DYNAMIC_SLOTS */), vue.createVNode(vue.Transition, vue.normalizeProps(vue.guardReactiveProps(c.value)), {
|
|
928
931
|
"default": vue.withCtx(function () {
|
|
929
932
|
return [!vue.unref(n).meta.keepAlive && !vue.unref(n).meta.isIframe ? (vue.openBlock(), vue.createElementBlock("div", We, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(x), {
|
|
930
933
|
key: vue.unref(n).path
|
|
@@ -937,7 +940,7 @@ var h = vue.reactive({
|
|
|
937
940
|
}),
|
|
938
941
|
_: 1
|
|
939
942
|
/* STABLE */
|
|
940
|
-
})) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 无动画 "),
|
|
943
|
+
})) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 无动画 "), C.needTransition ? vue.createCommentVNode("v-if", true) : (vue.openBlock(), vue.createBlock(A, {
|
|
941
944
|
key: 1
|
|
942
945
|
}, {
|
|
943
946
|
"default": vue.withCtx(function (_ref11) {
|
|
@@ -955,11 +958,11 @@ var h = vue.reactive({
|
|
|
955
958
|
/* STABLE */
|
|
956
959
|
})), vue.withDirectives(vue.createElementVNode("div", ze, [vue.createVNode(Me, {
|
|
957
960
|
exclude: a.value,
|
|
958
|
-
transitionConfig:
|
|
959
|
-
needTransition:
|
|
961
|
+
transitionConfig: c.value,
|
|
962
|
+
needTransition: C.needTransition
|
|
960
963
|
}, null, 8, ["exclude", "transitionConfig", "needTransition"])], 512
|
|
961
964
|
/* NEED_PATCH */), [[vue.vShow, vue.unref(n).meta.isIframe]])];
|
|
962
|
-
}, true)])), [[vue.vShow, P.value]]), vue.withDirectives(vue.createElementVNode("div", Qe, [vue.renderSlot(
|
|
965
|
+
}, true)])), [[vue.vShow, P.value]]), vue.withDirectives(vue.createElementVNode("div", Qe, [vue.renderSlot(C.$slots, "default", {}, undefined, true)], 512
|
|
963
966
|
/* NEED_PATCH */), [[vue.vShow, !P.value]])])])])])]);
|
|
964
967
|
};
|
|
965
968
|
}
|
|
@@ -976,7 +979,7 @@ var h = vue.reactive({
|
|
|
976
979
|
l = vue.computed(function () {
|
|
977
980
|
return t.logo || "";
|
|
978
981
|
}),
|
|
979
|
-
|
|
982
|
+
m = vue.computed(function () {
|
|
980
983
|
return t.activeItem || "";
|
|
981
984
|
}),
|
|
982
985
|
r = vue.computed(function () {
|
|
@@ -989,13 +992,13 @@ var h = vue.reactive({
|
|
|
989
992
|
return !p.fixed;
|
|
990
993
|
});
|
|
991
994
|
}),
|
|
992
|
-
|
|
995
|
+
w = vue.computed(function () {
|
|
993
996
|
var _ref12, _ref13, _ref14, _ref15, _ref16;
|
|
994
|
-
var
|
|
997
|
+
var v, p, y, $, E;
|
|
995
998
|
return {
|
|
996
|
-
showAIHelper: (_ref12 = (
|
|
999
|
+
showAIHelper: (_ref12 = (v = t.config) == null ? undefined : v.showAIHelper) !== null && _ref12 !== void 0 ? _ref12 : false,
|
|
997
1000
|
showFullScreen: (_ref13 = (p = t.config) == null ? undefined : p.showFullScreen) !== null && _ref13 !== void 0 ? _ref13 : false,
|
|
998
|
-
showChangeEnterprise: (_ref14 = (
|
|
1001
|
+
showChangeEnterprise: (_ref14 = (y = t.config) == null ? undefined : y.showChangeEnterprise) !== null && _ref14 !== void 0 ? _ref14 : false,
|
|
999
1002
|
showSearch: (_ref15 = ($ = t.config) == null ? undefined : $.showSearch) !== null && _ref15 !== void 0 ? _ref15 : true,
|
|
1000
1003
|
showProjectTree: (_ref16 = (E = t.config) == null ? undefined : E.showProjectTree) !== null && _ref16 !== void 0 ? _ref16 : true,
|
|
1001
1004
|
subAppList: f.value.map(function (G) {
|
|
@@ -1007,11 +1010,11 @@ var h = vue.reactive({
|
|
|
1007
1010
|
};
|
|
1008
1011
|
}),
|
|
1009
1012
|
i = vue.computed(function () {
|
|
1010
|
-
var
|
|
1013
|
+
var v = r.value.find(function (p) {
|
|
1011
1014
|
return p.value === t.activeItem;
|
|
1012
1015
|
});
|
|
1013
1016
|
return {
|
|
1014
|
-
activeInnerPagePath: (
|
|
1017
|
+
activeInnerPagePath: (v == null ? undefined : v.path) || "",
|
|
1015
1018
|
innerPages: r.value.map(function (p) {
|
|
1016
1019
|
return _objectSpread({
|
|
1017
1020
|
title: p.label
|
|
@@ -1034,23 +1037,23 @@ var h = vue.reactive({
|
|
|
1034
1037
|
return t.searchConfig;
|
|
1035
1038
|
}),
|
|
1036
1039
|
s = /*#__PURE__*/function () {
|
|
1037
|
-
var _ref17 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8(
|
|
1038
|
-
var p,
|
|
1040
|
+
var _ref17 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8(v) {
|
|
1041
|
+
var p, y, _t8;
|
|
1039
1042
|
return _regenerator().w(function (_context9) {
|
|
1040
1043
|
while (1) switch (_context9.n) {
|
|
1041
1044
|
case 0:
|
|
1042
|
-
p =
|
|
1045
|
+
p = v.detail[0], y = r.value.find(function (E) {
|
|
1043
1046
|
return p.value === E.value;
|
|
1044
1047
|
});
|
|
1045
1048
|
_context9.n = 1;
|
|
1046
|
-
return
|
|
1049
|
+
return d.nav.triggerEventListener("onItemClick", y);
|
|
1047
1050
|
case 1:
|
|
1048
1051
|
_t8 = _context9.v;
|
|
1049
1052
|
if (!_t8) {
|
|
1050
1053
|
_context9.n = 2;
|
|
1051
1054
|
break;
|
|
1052
1055
|
}
|
|
1053
|
-
|
|
1056
|
+
d.nav.setActiveItem(y.value);
|
|
1054
1057
|
case 2:
|
|
1055
1058
|
return _context9.a(2);
|
|
1056
1059
|
}
|
|
@@ -1061,23 +1064,23 @@ var h = vue.reactive({
|
|
|
1061
1064
|
};
|
|
1062
1065
|
}(),
|
|
1063
1066
|
a = /*#__PURE__*/function () {
|
|
1064
|
-
var _ref18 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(
|
|
1065
|
-
var p,
|
|
1067
|
+
var _ref18 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(v) {
|
|
1068
|
+
var p, y, _t9;
|
|
1066
1069
|
return _regenerator().w(function (_context0) {
|
|
1067
1070
|
while (1) switch (_context0.n) {
|
|
1068
1071
|
case 0:
|
|
1069
|
-
p =
|
|
1072
|
+
p = v.detail[0], y = f.value.find(function (E) {
|
|
1070
1073
|
return p === E.value;
|
|
1071
1074
|
});
|
|
1072
1075
|
_context0.n = 1;
|
|
1073
|
-
return
|
|
1076
|
+
return d.nav.triggerEventListener("onItemClick", y);
|
|
1074
1077
|
case 1:
|
|
1075
1078
|
_t9 = _context0.v;
|
|
1076
1079
|
if (!_t9) {
|
|
1077
1080
|
_context0.n = 2;
|
|
1078
1081
|
break;
|
|
1079
1082
|
}
|
|
1080
|
-
|
|
1083
|
+
d.nav.setActiveItem(y.value);
|
|
1081
1084
|
case 2:
|
|
1082
1085
|
return _context0.a(2);
|
|
1083
1086
|
}
|
|
@@ -1088,23 +1091,23 @@ var h = vue.reactive({
|
|
|
1088
1091
|
};
|
|
1089
1092
|
}(),
|
|
1090
1093
|
o = /*#__PURE__*/function () {
|
|
1091
|
-
var _ref19 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(
|
|
1092
|
-
var p,
|
|
1094
|
+
var _ref19 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(v) {
|
|
1095
|
+
var p, y, _t0;
|
|
1093
1096
|
return _regenerator().w(function (_context1) {
|
|
1094
1097
|
while (1) switch (_context1.n) {
|
|
1095
1098
|
case 0:
|
|
1096
|
-
p =
|
|
1099
|
+
p = v.detail[0], y = f.value.find(function (E) {
|
|
1097
1100
|
return p === E.value;
|
|
1098
1101
|
});
|
|
1099
1102
|
_context1.n = 1;
|
|
1100
|
-
return
|
|
1103
|
+
return d.nav.triggerEventListener("onItemRemove", y);
|
|
1101
1104
|
case 1:
|
|
1102
1105
|
_t0 = _context1.v;
|
|
1103
1106
|
if (!_t0) {
|
|
1104
1107
|
_context1.n = 2;
|
|
1105
1108
|
break;
|
|
1106
1109
|
}
|
|
1107
|
-
|
|
1110
|
+
d.nav.removeItem(y.value);
|
|
1108
1111
|
case 2:
|
|
1109
1112
|
return _context1.a(2);
|
|
1110
1113
|
}
|
|
@@ -1114,20 +1117,20 @@ var h = vue.reactive({
|
|
|
1114
1117
|
return _ref19.apply(this, arguments);
|
|
1115
1118
|
};
|
|
1116
1119
|
}(),
|
|
1117
|
-
|
|
1118
|
-
var _ref20 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(
|
|
1119
|
-
var
|
|
1120
|
+
c = /*#__PURE__*/function () {
|
|
1121
|
+
var _ref20 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(v) {
|
|
1122
|
+
var _v$detail, p, y, _t1, _t10;
|
|
1120
1123
|
return _regenerator().w(function (_context10) {
|
|
1121
1124
|
while (1) switch (_context10.n) {
|
|
1122
1125
|
case 0:
|
|
1123
|
-
|
|
1126
|
+
_v$detail = _slicedToArray(v.detail, 2), p = _v$detail[0], y = _v$detail[1];
|
|
1124
1127
|
_t1 = !p;
|
|
1125
1128
|
if (_t1) {
|
|
1126
1129
|
_context10.n = 2;
|
|
1127
1130
|
break;
|
|
1128
1131
|
}
|
|
1129
1132
|
_context10.n = 1;
|
|
1130
|
-
return
|
|
1133
|
+
return d.nav.triggerEventListener("onProjectChange", y);
|
|
1131
1134
|
case 1:
|
|
1132
1135
|
_t1 = !_context10.v;
|
|
1133
1136
|
case 2:
|
|
@@ -1136,76 +1139,76 @@ var h = vue.reactive({
|
|
|
1136
1139
|
_context10.n = 3;
|
|
1137
1140
|
break;
|
|
1138
1141
|
}
|
|
1139
|
-
|
|
1142
|
+
d.nav.setActiveProject(y);
|
|
1140
1143
|
case 3:
|
|
1141
1144
|
return _context10.a(2);
|
|
1142
1145
|
}
|
|
1143
1146
|
}, _callee1);
|
|
1144
1147
|
}));
|
|
1145
|
-
return function
|
|
1148
|
+
return function c(_x9) {
|
|
1146
1149
|
return _ref20.apply(this, arguments);
|
|
1147
1150
|
};
|
|
1148
1151
|
}(),
|
|
1149
|
-
|
|
1150
|
-
|
|
1152
|
+
_ = function _(v) {
|
|
1153
|
+
d.nav.triggerEventListener("onUserCommandChange", v.detail[0]);
|
|
1151
1154
|
},
|
|
1152
|
-
q = function q(
|
|
1153
|
-
|
|
1154
|
-
item:
|
|
1155
|
-
keyword:
|
|
1156
|
-
cb:
|
|
1155
|
+
q = function q(v) {
|
|
1156
|
+
d.nav.triggerEventListener("searchToPage", {
|
|
1157
|
+
item: v.detail[0],
|
|
1158
|
+
keyword: v.detail[1],
|
|
1159
|
+
cb: v.detail[2]
|
|
1157
1160
|
});
|
|
1158
1161
|
},
|
|
1159
|
-
B = function B(
|
|
1160
|
-
|
|
1161
|
-
cb:
|
|
1162
|
+
B = function B(v) {
|
|
1163
|
+
d.nav.triggerEventListener("clearSearchList", {
|
|
1164
|
+
cb: v.detail[0]
|
|
1162
1165
|
});
|
|
1163
1166
|
},
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
value:
|
|
1167
|
-
cb:
|
|
1167
|
+
C = function C(v) {
|
|
1168
|
+
d.nav.triggerEventListener("deleteSearchItem", {
|
|
1169
|
+
value: v.detail[0],
|
|
1170
|
+
cb: v.detail[1]
|
|
1168
1171
|
});
|
|
1169
1172
|
},
|
|
1170
1173
|
j = function j() {
|
|
1171
|
-
|
|
1174
|
+
d.nav.triggerEventListener("changeEnterpriseHandle");
|
|
1172
1175
|
},
|
|
1173
1176
|
A = function A() {
|
|
1174
|
-
|
|
1177
|
+
d.nav.triggerEventListener("fullScreenHandle");
|
|
1175
1178
|
},
|
|
1176
1179
|
x = function x() {
|
|
1177
|
-
|
|
1180
|
+
d.nav.triggerEventListener("openAI");
|
|
1178
1181
|
};
|
|
1179
1182
|
return vue.onBeforeMount(function () {
|
|
1180
|
-
|
|
1183
|
+
d.nav.triggerEventListener("onBeforeMount", null, {
|
|
1181
1184
|
autoRemove: true
|
|
1182
1185
|
});
|
|
1183
1186
|
}), vue.onMounted(function () {
|
|
1184
|
-
|
|
1187
|
+
d.nav.triggerEventListener("onMounted", null, {
|
|
1185
1188
|
autoRemove: true
|
|
1186
1189
|
});
|
|
1187
1190
|
}), vue.onUnmounted(function () {
|
|
1188
|
-
|
|
1191
|
+
d.nav.triggerEventListener("onUnmounted", null, {
|
|
1189
1192
|
autoRemove: true
|
|
1190
1193
|
});
|
|
1191
|
-
}), function (
|
|
1194
|
+
}), function (v, p) {
|
|
1192
1195
|
return vue.openBlock(), vue.createElementBlock("das-ce-nav", {
|
|
1193
1196
|
theme: n.value,
|
|
1194
|
-
modelValue:
|
|
1197
|
+
modelValue: m.value,
|
|
1195
1198
|
logoUrl: l.value,
|
|
1196
|
-
config:
|
|
1199
|
+
config: w.value,
|
|
1197
1200
|
innerPagesConfig: i.value,
|
|
1198
1201
|
searchConfig: S.value,
|
|
1199
1202
|
projectTreeConfig: P.value,
|
|
1200
1203
|
userInfoConfig: T.value,
|
|
1201
|
-
"on:userCommandHandle":
|
|
1204
|
+
"on:userCommandHandle": _,
|
|
1202
1205
|
"on:changeInnerPage": s,
|
|
1203
1206
|
"on:handleTabClick": a,
|
|
1204
1207
|
"on:handleTabDelete": o,
|
|
1205
|
-
"on:changeTreeHandle":
|
|
1208
|
+
"on:changeTreeHandle": c,
|
|
1206
1209
|
"on:searchToPage": q,
|
|
1207
1210
|
"on:clearSearchList": B,
|
|
1208
|
-
"on:deleteSearchItem":
|
|
1211
|
+
"on:deleteSearchItem": C,
|
|
1209
1212
|
"on:changeEnterpriseHandle": j,
|
|
1210
1213
|
"on:fullScreen": A,
|
|
1211
1214
|
"on:openAI": x
|
|
@@ -1225,7 +1228,7 @@ var h = vue.reactive({
|
|
|
1225
1228
|
l = vue.computed(function () {
|
|
1226
1229
|
return t.theme;
|
|
1227
1230
|
}),
|
|
1228
|
-
|
|
1231
|
+
m = vue.computed(function () {
|
|
1229
1232
|
return n.menuAttr || {};
|
|
1230
1233
|
}),
|
|
1231
1234
|
r = vue.computed(function () {
|
|
@@ -1236,7 +1239,7 @@ var h = vue.reactive({
|
|
|
1236
1239
|
return s.fixed;
|
|
1237
1240
|
});
|
|
1238
1241
|
}),
|
|
1239
|
-
|
|
1242
|
+
w = vue.computed(function () {
|
|
1240
1243
|
return t.activeItem || "";
|
|
1241
1244
|
}),
|
|
1242
1245
|
i = vue.computed(function () {
|
|
@@ -1254,18 +1257,18 @@ var h = vue.reactive({
|
|
|
1254
1257
|
return _regenerator().w(function (_context11) {
|
|
1255
1258
|
while (1) switch (_context11.n) {
|
|
1256
1259
|
case 0:
|
|
1257
|
-
a = s.detail[0], o = nestTreeFormat.flatTree(r.value).find(function (
|
|
1258
|
-
return a ===
|
|
1260
|
+
a = s.detail[0], o = nestTreeFormat.flatTree(r.value).find(function (_) {
|
|
1261
|
+
return a === _.id;
|
|
1259
1262
|
});
|
|
1260
1263
|
_context11.n = 1;
|
|
1261
|
-
return
|
|
1264
|
+
return d.menu.triggerEventListener("onItemClick", o);
|
|
1262
1265
|
case 1:
|
|
1263
1266
|
_t11 = _context11.v;
|
|
1264
1267
|
if (!_t11) {
|
|
1265
1268
|
_context11.n = 2;
|
|
1266
1269
|
break;
|
|
1267
1270
|
}
|
|
1268
|
-
|
|
1271
|
+
d.menu.setActiveItem(o.id);
|
|
1269
1272
|
case 2:
|
|
1270
1273
|
return _context11.a(2);
|
|
1271
1274
|
}
|
|
@@ -1276,18 +1279,18 @@ var h = vue.reactive({
|
|
|
1276
1279
|
};
|
|
1277
1280
|
}(),
|
|
1278
1281
|
S = function S(s) {
|
|
1279
|
-
|
|
1282
|
+
d.menu.setCollapse(s.detail[0]), d.menu.triggerEventListener("toggleCollapse", s.detail[0]);
|
|
1280
1283
|
};
|
|
1281
1284
|
return function (s, a) {
|
|
1282
1285
|
return r.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("das-ce-menu", vue.mergeProps({
|
|
1283
1286
|
key: 0,
|
|
1284
1287
|
theme: l.value,
|
|
1285
|
-
modelValue:
|
|
1288
|
+
modelValue: w.value,
|
|
1286
1289
|
data: r.value,
|
|
1287
1290
|
collapse: i.value,
|
|
1288
1291
|
fixedTopMenu: f.value,
|
|
1289
1292
|
subMenuAttrs: P.value
|
|
1290
|
-
},
|
|
1293
|
+
}, m.value, {
|
|
1291
1294
|
onChange: T,
|
|
1292
1295
|
"on:toggleCollapse": S
|
|
1293
1296
|
}), null, 16, Je)) : vue.createCommentVNode("v-if", true);
|
|
@@ -1306,7 +1309,7 @@ var h = vue.reactive({
|
|
|
1306
1309
|
l = vue.computed(function () {
|
|
1307
1310
|
return n.tabsAttr || {};
|
|
1308
1311
|
}),
|
|
1309
|
-
|
|
1312
|
+
m = vue.computed(function () {
|
|
1310
1313
|
return t.theme;
|
|
1311
1314
|
}),
|
|
1312
1315
|
r = vue.computed(function () {
|
|
@@ -1320,30 +1323,30 @@ var h = vue.reactive({
|
|
|
1320
1323
|
f = vue.computed(function () {
|
|
1321
1324
|
return t.activeItem || "";
|
|
1322
1325
|
}),
|
|
1323
|
-
|
|
1326
|
+
w = /*#__PURE__*/function () {
|
|
1324
1327
|
var _ref22 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee11(s) {
|
|
1325
1328
|
var a, o, _t12;
|
|
1326
1329
|
return _regenerator().w(function (_context12) {
|
|
1327
1330
|
while (1) switch (_context12.n) {
|
|
1328
1331
|
case 0:
|
|
1329
|
-
a = s.detail[0], o = r.value.find(function (
|
|
1330
|
-
return a ===
|
|
1332
|
+
a = s.detail[0], o = r.value.find(function (_) {
|
|
1333
|
+
return a === _.value;
|
|
1331
1334
|
});
|
|
1332
1335
|
_context12.n = 1;
|
|
1333
|
-
return
|
|
1336
|
+
return d.tab.triggerEventListener("onItemClick", o);
|
|
1334
1337
|
case 1:
|
|
1335
1338
|
_t12 = _context12.v;
|
|
1336
1339
|
if (!_t12) {
|
|
1337
1340
|
_context12.n = 2;
|
|
1338
1341
|
break;
|
|
1339
1342
|
}
|
|
1340
|
-
|
|
1343
|
+
d.tab.setActiveItem(o.value);
|
|
1341
1344
|
case 2:
|
|
1342
1345
|
return _context12.a(2);
|
|
1343
1346
|
}
|
|
1344
1347
|
}, _callee11);
|
|
1345
1348
|
}));
|
|
1346
|
-
return function
|
|
1349
|
+
return function w(_x1) {
|
|
1347
1350
|
return _ref22.apply(this, arguments);
|
|
1348
1351
|
};
|
|
1349
1352
|
}(),
|
|
@@ -1353,18 +1356,18 @@ var h = vue.reactive({
|
|
|
1353
1356
|
return _regenerator().w(function (_context13) {
|
|
1354
1357
|
while (1) switch (_context13.n) {
|
|
1355
1358
|
case 0:
|
|
1356
|
-
a = s.detail[0], o = r.value.find(function (
|
|
1357
|
-
return a ===
|
|
1359
|
+
a = s.detail[0], o = r.value.find(function (_) {
|
|
1360
|
+
return a === _.value;
|
|
1358
1361
|
});
|
|
1359
1362
|
_context13.n = 1;
|
|
1360
|
-
return
|
|
1363
|
+
return d.tab.triggerEventListener("onItemRemove", o);
|
|
1361
1364
|
case 1:
|
|
1362
1365
|
_t13 = _context13.v;
|
|
1363
1366
|
if (!_t13) {
|
|
1364
1367
|
_context13.n = 2;
|
|
1365
1368
|
break;
|
|
1366
1369
|
}
|
|
1367
|
-
|
|
1370
|
+
d.tab.removeItem(o.value);
|
|
1368
1371
|
case 2:
|
|
1369
1372
|
return _context13.a(2);
|
|
1370
1373
|
}
|
|
@@ -1380,7 +1383,7 @@ var h = vue.reactive({
|
|
|
1380
1383
|
while (1) switch (_context14.n) {
|
|
1381
1384
|
case 0:
|
|
1382
1385
|
_context14.n = 1;
|
|
1383
|
-
return
|
|
1386
|
+
return d.tab.triggerEventListener("onMenuClick", {
|
|
1384
1387
|
type: s.detail[0],
|
|
1385
1388
|
data: s.detail[1]
|
|
1386
1389
|
});
|
|
@@ -1399,7 +1402,7 @@ var h = vue.reactive({
|
|
|
1399
1402
|
while (1) switch (_context15.n) {
|
|
1400
1403
|
case 0:
|
|
1401
1404
|
_context15.n = 1;
|
|
1402
|
-
return
|
|
1405
|
+
return d.tab.triggerEventListener("onPageRefresh", s.detail[0]);
|
|
1403
1406
|
case 1:
|
|
1404
1407
|
return _context15.a(2);
|
|
1405
1408
|
}
|
|
@@ -1410,16 +1413,16 @@ var h = vue.reactive({
|
|
|
1410
1413
|
};
|
|
1411
1414
|
}(),
|
|
1412
1415
|
S = function S() {
|
|
1413
|
-
|
|
1416
|
+
d.tab.triggerEventListener("onToggleFullScreen");
|
|
1414
1417
|
};
|
|
1415
1418
|
return function (s, a) {
|
|
1416
1419
|
return r.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("das-ce-tabs", vue.mergeProps({
|
|
1417
1420
|
key: 0,
|
|
1418
|
-
theme:
|
|
1421
|
+
theme: m.value,
|
|
1419
1422
|
modelValue: f.value,
|
|
1420
1423
|
options: r.value
|
|
1421
1424
|
}, l.value, {
|
|
1422
|
-
"on:tabClick":
|
|
1425
|
+
"on:tabClick": w,
|
|
1423
1426
|
"on:tabDelete": i,
|
|
1424
1427
|
"on:menuClick": P,
|
|
1425
1428
|
"on:pageRefresh": T,
|
|
@@ -1433,5 +1436,5 @@ exports.DasWebLayout = st;
|
|
|
1433
1436
|
exports.DasWebMenu = rt;
|
|
1434
1437
|
exports.DasWebNav = at;
|
|
1435
1438
|
exports.DasWebTabs = ot;
|
|
1436
|
-
exports.layout =
|
|
1439
|
+
exports.layout = d;
|
|
1437
1440
|
exports.layoutData = F;
|