mooho-base-admin-plus 2.0.28 → 2.0.29
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/package/mooho-base-admin-plus.min.esm.js +63 -85
- package/package/mooho-base-admin-plus.min.js +48 -48
- package/package.json +1 -1
- package/public/setting.js +1 -1
- package/src/api/customModel.js +0 -1
- package/src/components/view/view-table.vue +4 -3
- package/src/index.js +2 -2
- package/src/pages/template/viewPage.vue +1 -1
- package/src/router/dynamic.js +2 -4
- package/src/router/index.js +6 -2
- package/src/router/routes.js +89 -0
- package/src/store/modules/admin/modules/account.js +5 -9
- package/src/store/modules/admin/modules/page.js +37 -60
|
@@ -12979,12 +12979,8 @@ var account = {
|
|
|
12979
12979
|
authFailed({ dispatch: dispatch2 }) {
|
|
12980
12980
|
dispatch2("logout");
|
|
12981
12981
|
},
|
|
12982
|
-
load({ dispatch: dispatch2 }, { loadOpenedTabs = true } = {}) {
|
|
12983
|
-
|
|
12984
|
-
await dispatch2("admin/user/load", null, { root: true });
|
|
12985
|
-
await dispatch2("admin/page/openedLoad", { loadOpenedTabs }, { root: true });
|
|
12986
|
-
resolve();
|
|
12987
|
-
});
|
|
12982
|
+
async load({ dispatch: dispatch2 }, { loadOpenedTabs = true } = {}) {
|
|
12983
|
+
await dispatch2("admin/user/load", null, { root: true });
|
|
12988
12984
|
}
|
|
12989
12985
|
}
|
|
12990
12986
|
};
|
|
@@ -22299,12 +22295,13 @@ var page = {
|
|
|
22299
22295
|
resolve();
|
|
22300
22296
|
});
|
|
22301
22297
|
},
|
|
22302
|
-
openedUpdate({ state, dispatch: dispatch2 }, { index: index2, params, query, fullPath, meta, keepMeta = false }) {
|
|
22298
|
+
openedUpdate({ state, dispatch: dispatch2 }, { index: index2, params, query, fullPath, pageName, meta, keepMeta = false }) {
|
|
22303
22299
|
return new Promise(async (resolve) => {
|
|
22304
22300
|
let page2 = state.opened[index2];
|
|
22305
22301
|
page2.params = params || page2.params;
|
|
22306
22302
|
page2.query = query || page2.query;
|
|
22307
22303
|
page2.fullPath = fullPath || page2.fullPath;
|
|
22304
|
+
page2.pageName = pageName || page2.pageName;
|
|
22308
22305
|
page2.meta = meta || page2.meta;
|
|
22309
22306
|
page2.keepMeta = keepMeta;
|
|
22310
22307
|
state.opened.splice(index2, 1, page2);
|
|
@@ -22312,7 +22309,7 @@ var page = {
|
|
|
22312
22309
|
resolve();
|
|
22313
22310
|
});
|
|
22314
22311
|
},
|
|
22315
|
-
currentUpdate({ state, dispatch: dispatch2 }, { params, query, fullPath, meta, keepMeta = false }) {
|
|
22312
|
+
currentUpdate({ state, dispatch: dispatch2 }, { params, query, fullPath, pageName, meta, keepMeta = false }) {
|
|
22316
22313
|
return new Promise(async (resolve) => {
|
|
22317
22314
|
setTimeout(async () => {
|
|
22318
22315
|
const index2 = state.opened.findIndex((item) => item.fullPath === state.current);
|
|
@@ -22320,6 +22317,7 @@ var page = {
|
|
|
22320
22317
|
page2.params = params || page2.params;
|
|
22321
22318
|
page2.query = query || page2.query;
|
|
22322
22319
|
page2.fullPath = fullPath || page2.fullPath;
|
|
22320
|
+
page2.pageName = pageName || page2.pageName;
|
|
22323
22321
|
page2.meta = meta || page2.meta;
|
|
22324
22322
|
page2.keepMeta = keepMeta;
|
|
22325
22323
|
state.opened.splice(index2, 1, page2);
|
|
@@ -22328,21 +22326,23 @@ var page = {
|
|
|
22328
22326
|
}, 0);
|
|
22329
22327
|
});
|
|
22330
22328
|
},
|
|
22331
|
-
add({ state, commit: commit2, dispatch: dispatch2 }, { tag, params, query, fullPath }) {
|
|
22329
|
+
add({ state, commit: commit2, dispatch: dispatch2 }, { tag, params, query, fullPath, pageName }) {
|
|
22332
22330
|
return new Promise(async (resolve) => {
|
|
22333
22331
|
let newTag = tag;
|
|
22334
22332
|
newTag.params = params || newTag.params;
|
|
22335
22333
|
newTag.query = query || newTag.query;
|
|
22336
22334
|
newTag.fullPath = fullPath || newTag.fullPath;
|
|
22335
|
+
newTag.pageName = pageName || newTag.pageName;
|
|
22337
22336
|
state.opened.push(newTag);
|
|
22338
22337
|
if (isKeepAlive(newTag)) {
|
|
22339
|
-
commit2("
|
|
22338
|
+
commit2("keepAliveRefresh");
|
|
22340
22339
|
}
|
|
22341
22340
|
await dispatch2("opened2db");
|
|
22342
22341
|
resolve();
|
|
22343
22342
|
});
|
|
22344
22343
|
},
|
|
22345
|
-
open({ state, commit: commit2, dispatch: dispatch2 }, { name, params, query, fullPath }) {
|
|
22344
|
+
open({ state, commit: commit2, dispatch: dispatch2 }, { name, params, query, path, fullPath }) {
|
|
22345
|
+
const pageName = router$1.getRoutes().find((item) => item.path == path).components.default.name;
|
|
22346
22346
|
return new Promise(async (resolve) => {
|
|
22347
22347
|
setTimeout(async () => {
|
|
22348
22348
|
let opened = state.opened;
|
|
@@ -22357,7 +22357,8 @@ var page = {
|
|
|
22357
22357
|
index: pageOpenedIndex,
|
|
22358
22358
|
params,
|
|
22359
22359
|
query,
|
|
22360
|
-
fullPath
|
|
22360
|
+
fullPath,
|
|
22361
|
+
pageName
|
|
22361
22362
|
});
|
|
22362
22363
|
} else {
|
|
22363
22364
|
let page2 = state.pool.find((t3) => t3.name === name);
|
|
@@ -22366,7 +22367,8 @@ var page = {
|
|
|
22366
22367
|
tag: Object.assign({}, page2),
|
|
22367
22368
|
params,
|
|
22368
22369
|
query,
|
|
22369
|
-
fullPath
|
|
22370
|
+
fullPath,
|
|
22371
|
+
pageName
|
|
22370
22372
|
});
|
|
22371
22373
|
}
|
|
22372
22374
|
}
|
|
@@ -22398,9 +22400,9 @@ var page = {
|
|
|
22398
22400
|
}
|
|
22399
22401
|
const index2 = state.opened.findIndex((page2) => page2.fullPath === tagName);
|
|
22400
22402
|
if (index2 >= 0) {
|
|
22401
|
-
commit2("keepAliveRemove", state.opened[index2].name);
|
|
22402
22403
|
state.opened.splice(index2, 1);
|
|
22403
22404
|
}
|
|
22405
|
+
commit2("keepAliveRefresh");
|
|
22404
22406
|
await dispatch2("opened2db");
|
|
22405
22407
|
if (isCurrent) {
|
|
22406
22408
|
const { name = "index", params = {}, query = {} } = newPage;
|
|
@@ -22425,8 +22427,9 @@ var page = {
|
|
|
22425
22427
|
}
|
|
22426
22428
|
});
|
|
22427
22429
|
if (currentIndex > 0) {
|
|
22428
|
-
state.opened.splice(1, currentIndex - 1)
|
|
22430
|
+
state.opened.splice(1, currentIndex - 1);
|
|
22429
22431
|
}
|
|
22432
|
+
commit2("keepAliveRefresh");
|
|
22430
22433
|
state.current = pageAim;
|
|
22431
22434
|
if (router$1.currentRoute.value.fullPath !== pageAim) {
|
|
22432
22435
|
router$1.push(pageAim);
|
|
@@ -22444,7 +22447,8 @@ var page = {
|
|
|
22444
22447
|
currentIndex = index2;
|
|
22445
22448
|
}
|
|
22446
22449
|
});
|
|
22447
|
-
state.opened.splice(currentIndex + 1)
|
|
22450
|
+
state.opened.splice(currentIndex + 1);
|
|
22451
|
+
commit2("keepAliveRefresh");
|
|
22448
22452
|
state.current = pageAim;
|
|
22449
22453
|
if (router$1.currentRoute.value.fullPath !== pageAim) {
|
|
22450
22454
|
router$1.push(pageAim);
|
|
@@ -22463,11 +22467,12 @@ var page = {
|
|
|
22463
22467
|
}
|
|
22464
22468
|
});
|
|
22465
22469
|
if (currentIndex === 0) {
|
|
22466
|
-
state.opened.splice(1)
|
|
22470
|
+
state.opened.splice(1);
|
|
22467
22471
|
} else {
|
|
22468
|
-
state.opened.splice(currentIndex + 1)
|
|
22469
|
-
state.opened.splice(1, currentIndex - 1)
|
|
22472
|
+
state.opened.splice(currentIndex + 1);
|
|
22473
|
+
state.opened.splice(1, currentIndex - 1);
|
|
22470
22474
|
}
|
|
22475
|
+
commit2("keepAliveRefresh");
|
|
22471
22476
|
state.current = pageAim;
|
|
22472
22477
|
if (router$1.currentRoute.value.fullPath !== pageAim) {
|
|
22473
22478
|
router$1.push(pageAim);
|
|
@@ -22478,7 +22483,8 @@ var page = {
|
|
|
22478
22483
|
},
|
|
22479
22484
|
closeAll({ state, commit: commit2, dispatch: dispatch2 }) {
|
|
22480
22485
|
return new Promise(async (resolve) => {
|
|
22481
|
-
state.opened.splice(1)
|
|
22486
|
+
state.opened.splice(1);
|
|
22487
|
+
commit2("keepAliveRefresh");
|
|
22482
22488
|
await dispatch2("opened2db");
|
|
22483
22489
|
if (router$1.currentRoute.value.name !== "index") {
|
|
22484
22490
|
router$1.push(
|
|
@@ -22502,42 +22508,17 @@ var page = {
|
|
|
22502
22508
|
},
|
|
22503
22509
|
mutations: {
|
|
22504
22510
|
keepAliveRefresh(state) {
|
|
22505
|
-
state.keepAlive = state.opened.filter((item) => isKeepAlive(item)).map((e3) => e3.
|
|
22506
|
-
},
|
|
22507
|
-
keepAliveRemove(state, name) {
|
|
22508
|
-
const list = [...state.keepAlive];
|
|
22509
|
-
const index2 = list.findIndex((item) => item === name);
|
|
22510
|
-
if (index2 !== -1) {
|
|
22511
|
-
list.splice(index2, 1);
|
|
22512
|
-
state.keepAlive = list;
|
|
22513
|
-
}
|
|
22514
|
-
},
|
|
22515
|
-
keepAlivePush(state, name) {
|
|
22516
|
-
const keep = [...state.keepAlive];
|
|
22517
|
-
keep.push(name);
|
|
22518
|
-
state.keepAlive = keep;
|
|
22519
|
-
},
|
|
22520
|
-
keepAliveClean(state) {
|
|
22521
|
-
state.keepAlive = [];
|
|
22511
|
+
state.keepAlive = state.opened.filter((item) => isKeepAlive(item)).map((e3) => e3.pageName);
|
|
22522
22512
|
},
|
|
22523
22513
|
currentSet(state, fullPath) {
|
|
22524
22514
|
state.current = fullPath;
|
|
22525
22515
|
},
|
|
22526
22516
|
init(state, routes) {
|
|
22527
22517
|
const pool = [];
|
|
22528
|
-
|
|
22529
|
-
|
|
22530
|
-
|
|
22531
|
-
|
|
22532
|
-
} else {
|
|
22533
|
-
if (!route.hidden) {
|
|
22534
|
-
const { meta, name, path } = route;
|
|
22535
|
-
pool.push({ meta, name, path });
|
|
22536
|
-
}
|
|
22537
|
-
}
|
|
22538
|
-
});
|
|
22539
|
-
};
|
|
22540
|
-
push2(routes);
|
|
22518
|
+
routes.forEach((route) => {
|
|
22519
|
+
const { meta, name, path } = route;
|
|
22520
|
+
pool.push({ meta, name, path });
|
|
22521
|
+
});
|
|
22541
22522
|
state.pool = pool;
|
|
22542
22523
|
}
|
|
22543
22524
|
}
|
|
@@ -22693,7 +22674,7 @@ var dynamic = {
|
|
|
22693
22674
|
}
|
|
22694
22675
|
});
|
|
22695
22676
|
}
|
|
22696
|
-
|
|
22677
|
+
root.children.push({
|
|
22697
22678
|
path,
|
|
22698
22679
|
name,
|
|
22699
22680
|
meta: {
|
|
@@ -22707,8 +22688,7 @@ var dynamic = {
|
|
|
22707
22688
|
resolve(pages2[item.templateUrl]);
|
|
22708
22689
|
});
|
|
22709
22690
|
}
|
|
22710
|
-
};
|
|
22711
|
-
root.children.push(child);
|
|
22691
|
+
});
|
|
22712
22692
|
}
|
|
22713
22693
|
});
|
|
22714
22694
|
router2.removeRoute("root");
|
|
@@ -22759,7 +22739,7 @@ const router = createRouter({
|
|
|
22759
22739
|
routes: []
|
|
22760
22740
|
});
|
|
22761
22741
|
let inited = false;
|
|
22762
|
-
const initRouter = (pages2,
|
|
22742
|
+
const initRouter = (pages2, routes) => {
|
|
22763
22743
|
routes.forEach((route) => {
|
|
22764
22744
|
router.addRoute(route);
|
|
22765
22745
|
});
|
|
@@ -22771,6 +22751,7 @@ const initRouter = (pages2, layout2, routes) => {
|
|
|
22771
22751
|
if (!inited) {
|
|
22772
22752
|
await dynamic.init(router, pages2);
|
|
22773
22753
|
store.commit("admin/page/init", router.getRoutes());
|
|
22754
|
+
store.dispatch("admin/page/openedLoad", { loadOpenedTabs: true }, { root: true });
|
|
22774
22755
|
inited = true;
|
|
22775
22756
|
next({
|
|
22776
22757
|
...to,
|
|
@@ -22797,7 +22778,7 @@ const initRouter = (pages2, layout2, routes) => {
|
|
|
22797
22778
|
router.afterEach((to) => {
|
|
22798
22779
|
if (Setting.showProgressBar)
|
|
22799
22780
|
ViewUIPlus.LoadingBar.finish();
|
|
22800
|
-
if (
|
|
22781
|
+
if (Setting.layout.tabs) {
|
|
22801
22782
|
store.dispatch("admin/page/open", to);
|
|
22802
22783
|
}
|
|
22803
22784
|
window.document.title = window.$app.$t(to.meta.title) + " - " + Setting.info.title;
|
|
@@ -24317,7 +24298,6 @@ var customModelApi = {
|
|
|
24317
24298
|
data: data2
|
|
24318
24299
|
});
|
|
24319
24300
|
} else {
|
|
24320
|
-
console.log("4");
|
|
24321
24301
|
result2 = await service({
|
|
24322
24302
|
url: `api/${res$h}/query`,
|
|
24323
24303
|
method: "post",
|
|
@@ -34700,6 +34680,7 @@ var __glob_44_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
34700
34680
|
"default": reportPage
|
|
34701
34681
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34702
34682
|
const _sfc_main$I = {
|
|
34683
|
+
name: "template-viewPage",
|
|
34703
34684
|
mixins: [mixinPage],
|
|
34704
34685
|
components: {},
|
|
34705
34686
|
data() {
|
|
@@ -41810,9 +41791,6 @@ const _sfc_main$q = {
|
|
|
41810
41791
|
}
|
|
41811
41792
|
},
|
|
41812
41793
|
activated() {
|
|
41813
|
-
if (this.viewCode && this.autoLoad) {
|
|
41814
|
-
this.loadData();
|
|
41815
|
-
}
|
|
41816
41794
|
},
|
|
41817
41795
|
props: {
|
|
41818
41796
|
title: {
|
|
@@ -44569,7 +44547,7 @@ function lastChild(el, selector2) {
|
|
|
44569
44547
|
}
|
|
44570
44548
|
return last || null;
|
|
44571
44549
|
}
|
|
44572
|
-
function index$
|
|
44550
|
+
function index$2(el, selector2) {
|
|
44573
44551
|
var index2 = 0;
|
|
44574
44552
|
if (!el || !el.parentNode) {
|
|
44575
44553
|
return -1;
|
|
@@ -45191,8 +45169,8 @@ Sortable.prototype = {
|
|
|
45191
45169
|
if (lastDownEl === target) {
|
|
45192
45170
|
return;
|
|
45193
45171
|
}
|
|
45194
|
-
oldIndex = index$
|
|
45195
|
-
oldDraggableIndex = index$
|
|
45172
|
+
oldIndex = index$2(target);
|
|
45173
|
+
oldDraggableIndex = index$2(target, options.draggable);
|
|
45196
45174
|
if (typeof filter2 === "function") {
|
|
45197
45175
|
if (filter2.call(this, evt, target, this)) {
|
|
45198
45176
|
_dispatchEvent({
|
|
@@ -45614,8 +45592,8 @@ Sortable.prototype = {
|
|
|
45614
45592
|
return completedFired = true;
|
|
45615
45593
|
}
|
|
45616
45594
|
function changed() {
|
|
45617
|
-
newIndex = index$
|
|
45618
|
-
newDraggableIndex = index$
|
|
45595
|
+
newIndex = index$2(dragEl);
|
|
45596
|
+
newDraggableIndex = index$2(dragEl, options.draggable);
|
|
45619
45597
|
_dispatchEvent({
|
|
45620
45598
|
sortable: _this,
|
|
45621
45599
|
name: "change",
|
|
@@ -45699,7 +45677,7 @@ Sortable.prototype = {
|
|
|
45699
45677
|
direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
|
|
45700
45678
|
var sibling;
|
|
45701
45679
|
if (direction !== 0) {
|
|
45702
|
-
var dragIndex = index$
|
|
45680
|
+
var dragIndex = index$2(dragEl);
|
|
45703
45681
|
do {
|
|
45704
45682
|
dragIndex -= direction;
|
|
45705
45683
|
sibling = parentEl.children[dragIndex];
|
|
@@ -45761,14 +45739,14 @@ Sortable.prototype = {
|
|
|
45761
45739
|
},
|
|
45762
45740
|
_onDrop: function _onDrop(evt) {
|
|
45763
45741
|
var el = this.el, options = this.options;
|
|
45764
|
-
newIndex = index$
|
|
45765
|
-
newDraggableIndex = index$
|
|
45742
|
+
newIndex = index$2(dragEl);
|
|
45743
|
+
newDraggableIndex = index$2(dragEl, options.draggable);
|
|
45766
45744
|
pluginEvent("drop", this, {
|
|
45767
45745
|
evt
|
|
45768
45746
|
});
|
|
45769
45747
|
parentEl = dragEl && dragEl.parentNode;
|
|
45770
|
-
newIndex = index$
|
|
45771
|
-
newDraggableIndex = index$
|
|
45748
|
+
newIndex = index$2(dragEl);
|
|
45749
|
+
newDraggableIndex = index$2(dragEl, options.draggable);
|
|
45772
45750
|
if (Sortable.eventCanceled) {
|
|
45773
45751
|
this._nulling();
|
|
45774
45752
|
return;
|
|
@@ -46089,7 +46067,7 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
|
|
|
46089
46067
|
return 0;
|
|
46090
46068
|
}
|
|
46091
46069
|
function _getInsertDirection(target) {
|
|
46092
|
-
if (index$
|
|
46070
|
+
if (index$2(dragEl) < index$2(target)) {
|
|
46093
46071
|
return 1;
|
|
46094
46072
|
} else {
|
|
46095
46073
|
return -1;
|
|
@@ -46137,7 +46115,7 @@ Sortable.utils = {
|
|
|
46137
46115
|
closest,
|
|
46138
46116
|
toggleClass,
|
|
46139
46117
|
clone: clone$5,
|
|
46140
|
-
index: index$
|
|
46118
|
+
index: index$2,
|
|
46141
46119
|
nextTick: _nextTick,
|
|
46142
46120
|
cancelNextTick: _cancelNextTick,
|
|
46143
46121
|
detectDirection: _detectDirection,
|
|
@@ -46455,8 +46433,8 @@ function swapNodes(n1, n2) {
|
|
|
46455
46433
|
var p1 = n1.parentNode, p2 = n2.parentNode, i1, i22;
|
|
46456
46434
|
if (!p1 || !p2 || p1.isEqualNode(n2) || p2.isEqualNode(n1))
|
|
46457
46435
|
return;
|
|
46458
|
-
i1 = index$
|
|
46459
|
-
i22 = index$
|
|
46436
|
+
i1 = index$2(n1);
|
|
46437
|
+
i22 = index$2(n2);
|
|
46460
46438
|
if (p1.isEqualNode(p2) && i1 < i22) {
|
|
46461
46439
|
i22++;
|
|
46462
46440
|
}
|
|
@@ -46566,7 +46544,7 @@ function MultiDragPlugin() {
|
|
|
46566
46544
|
multiDragSortable.multiDrag._deselectMultiDrag();
|
|
46567
46545
|
}
|
|
46568
46546
|
multiDragElements.forEach(function(multiDragElement) {
|
|
46569
|
-
multiDragElement.sortableIndex = index$
|
|
46547
|
+
multiDragElement.sortableIndex = index$2(multiDragElement);
|
|
46570
46548
|
});
|
|
46571
46549
|
multiDragElements = multiDragElements.sort(function(a3, b2) {
|
|
46572
46550
|
return a3.sortableIndex - b2.sortableIndex;
|
|
@@ -46712,7 +46690,7 @@ function MultiDragPlugin() {
|
|
|
46712
46690
|
originalEvt: evt
|
|
46713
46691
|
});
|
|
46714
46692
|
if (evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
|
|
46715
|
-
var lastIndex = index$
|
|
46693
|
+
var lastIndex = index$2(lastMultiDragSelect), currentIndex = index$2(dragEl$1);
|
|
46716
46694
|
if (~lastIndex && ~currentIndex && lastIndex !== currentIndex) {
|
|
46717
46695
|
var n2, i3;
|
|
46718
46696
|
if (currentIndex > lastIndex) {
|
|
@@ -46755,7 +46733,7 @@ function MultiDragPlugin() {
|
|
|
46755
46733
|
if (dragStarted && this.isMultiDrag) {
|
|
46756
46734
|
folding = false;
|
|
46757
46735
|
if ((parentEl2[expando].options.sort || parentEl2 !== rootEl2) && multiDragElements.length > 1) {
|
|
46758
|
-
var dragRect = getRect(dragEl$1), multiDragIndex = index$
|
|
46736
|
+
var dragRect = getRect(dragEl$1), multiDragIndex = index$2(dragEl$1, ":not(." + this.options.selectedClass + ")");
|
|
46759
46737
|
if (!initialFolding && options.animation)
|
|
46760
46738
|
dragEl$1.thisAnimationDuration = null;
|
|
46761
46739
|
toSortable.captureAnimationState();
|
|
@@ -46783,10 +46761,10 @@ function MultiDragPlugin() {
|
|
|
46783
46761
|
}
|
|
46784
46762
|
multiDragIndex++;
|
|
46785
46763
|
});
|
|
46786
|
-
if (oldIndex2 === index$
|
|
46764
|
+
if (oldIndex2 === index$2(dragEl$1)) {
|
|
46787
46765
|
var update3 = false;
|
|
46788
46766
|
multiDragElements.forEach(function(multiDragElement) {
|
|
46789
|
-
if (multiDragElement.sortableIndex !== index$
|
|
46767
|
+
if (multiDragElement.sortableIndex !== index$2(multiDragElement)) {
|
|
46790
46768
|
update3 = true;
|
|
46791
46769
|
return;
|
|
46792
46770
|
}
|
|
@@ -46888,9 +46866,9 @@ function MultiDragPlugin() {
|
|
|
46888
46866
|
if (folding && multiDragElement !== dragEl$1) {
|
|
46889
46867
|
newIndex2 = -1;
|
|
46890
46868
|
} else if (folding) {
|
|
46891
|
-
newIndex2 = index$
|
|
46869
|
+
newIndex2 = index$2(multiDragElement, ":not(." + _this3.options.selectedClass + ")");
|
|
46892
46870
|
} else {
|
|
46893
|
-
newIndex2 = index$
|
|
46871
|
+
newIndex2 = index$2(multiDragElement);
|
|
46894
46872
|
}
|
|
46895
46873
|
newIndicies.push({
|
|
46896
46874
|
multiDragElement,
|
|
@@ -52692,7 +52670,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52692
52670
|
}, 8, ["modelValue", "mask-closable", "draggable", "width", "before-close", "footer-hide", "onOnVisibleChange"]);
|
|
52693
52671
|
}
|
|
52694
52672
|
var ModalTable = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/components/view/modal-table.vue"]]);
|
|
52695
|
-
var index = "";
|
|
52673
|
+
var index$1 = "";
|
|
52696
52674
|
var _default = "";
|
|
52697
52675
|
var focus = {
|
|
52698
52676
|
update() {
|
|
@@ -55604,7 +55582,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
55604
55582
|
_: 3
|
|
55605
55583
|
});
|
|
55606
55584
|
}
|
|
55607
|
-
var
|
|
55585
|
+
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/layouts/basic-layout/index.vue"]]);
|
|
55608
55586
|
/*! *****************************************************************************
|
|
55609
55587
|
Copyright (c) Microsoft Corporation.
|
|
55610
55588
|
|
|
@@ -127342,14 +127320,14 @@ const pages = {};
|
|
|
127342
127320
|
Object.keys(files).forEach((key) => {
|
|
127343
127321
|
pages[key.replace(/(\.\/pages\/)/g, "")] = files[key].default;
|
|
127344
127322
|
});
|
|
127345
|
-
const created = async (app, pages2, routes
|
|
127323
|
+
const created = async (app, pages2, routes) => {
|
|
127346
127324
|
if (window) {
|
|
127347
127325
|
window.$app = getCurrentInstance();
|
|
127348
127326
|
window.$app.$t = i18n$1.global.t;
|
|
127349
127327
|
window.$app.$Message = app.config.globalProperties.$Message;
|
|
127350
127328
|
window.$app.$Notice = app.config.globalProperties.$Notice;
|
|
127351
127329
|
}
|
|
127352
|
-
initRouter(pages2,
|
|
127330
|
+
initRouter(pages2, routes);
|
|
127353
127331
|
store.dispatch("admin/i18n/load", app);
|
|
127354
127332
|
store.commit("admin/menu/setHeader", menuHeader);
|
|
127355
127333
|
store.dispatch("admin/account/load");
|
|
@@ -127358,4 +127336,4 @@ const created = async (app, pages2, routes, layout2 = basicLayout) => {
|
|
|
127358
127336
|
const routeChanged = (to) => {
|
|
127359
127337
|
store.dispatch("admin/menu/setMenuList", to);
|
|
127360
127338
|
};
|
|
127361
|
-
export { App, applicationApi, basicLayout, created, customModelApi, dataSourceApi, API as default, i18n$1 as i18n, initRouter, lodop, mixinPage, modelApi, pages, service as request, routeChanged, router$1 as router, Setting as setting, store, taskApi, util$8 as util };
|
|
127339
|
+
export { App, applicationApi, index as basicLayout, created, customModelApi, dataSourceApi, API as default, i18n$1 as i18n, initRouter, lodop, mixinPage, modelApi, pages, service as request, routeChanged, router$1 as router, Setting as setting, store, taskApi, util$8 as util };
|