xrk-components 2.0.0-beta.94 → 2.0.0-beta.96
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/lib/index.css +21079 -21030
- package/lib/index.esm.js +195 -163
- package/lib/index.umd.js +195 -163
- package/lib/packages/base/table/table-column.d.ts +9 -3
- package/lib/packages/base/table/types/type.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.umd.js
CHANGED
|
@@ -866,52 +866,59 @@
|
|
|
866
866
|
return cc / 2 * ((t -= 2) * t * t + 2) + b;
|
|
867
867
|
}
|
|
868
868
|
|
|
869
|
-
/**
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
const
|
|
882
|
-
const
|
|
883
|
-
const
|
|
884
|
-
const
|
|
885
|
-
const
|
|
886
|
-
const
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
const
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
const
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
869
|
+
/**
|
|
870
|
+
* Make a map and return a function for checking if a key
|
|
871
|
+
* is in that map.
|
|
872
|
+
* IMPORTANT: all calls of this function must be prefixed with
|
|
873
|
+
* \/\*#\_\_PURE\_\_\*\/
|
|
874
|
+
* So that rollup can tree-shake them if necessary.
|
|
875
|
+
*/
|
|
876
|
+
|
|
877
|
+
(process.env.NODE_ENV !== 'production')
|
|
878
|
+
? Object.freeze({})
|
|
879
|
+
: {};
|
|
880
|
+
(process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];
|
|
881
|
+
const NOOP = () => { };
|
|
882
|
+
const hasOwnProperty$p = Object.prototype.hasOwnProperty;
|
|
883
|
+
const hasOwn = (val, key) => hasOwnProperty$p.call(val, key);
|
|
884
|
+
const isArray$1 = Array.isArray;
|
|
885
|
+
const isDate$1 = (val) => val instanceof Date;
|
|
886
|
+
const isFunction$2 = (val) => typeof val === 'function';
|
|
887
|
+
const isString$2 = (val) => typeof val === 'string';
|
|
888
|
+
const isObject$1 = (val) => val !== null && typeof val === 'object';
|
|
889
|
+
const isPromise = (val) => {
|
|
890
|
+
return isObject$1(val) && isFunction$2(val.then) && isFunction$2(val.catch);
|
|
891
|
+
};
|
|
892
|
+
const objectToString$1 = Object.prototype.toString;
|
|
893
|
+
const toTypeString = (value) => objectToString$1.call(value);
|
|
894
|
+
const toRawType = (value) => {
|
|
895
|
+
// extract "RawType" from strings like "[object RawType]"
|
|
896
|
+
return toTypeString(value).slice(8, -1);
|
|
897
|
+
};
|
|
898
|
+
const isPlainObject$1 = (val) => toTypeString(val) === '[object Object]';
|
|
899
|
+
const cacheStringFunction = (fn) => {
|
|
900
|
+
const cache = Object.create(null);
|
|
901
|
+
return ((str) => {
|
|
902
|
+
const hit = cache[str];
|
|
903
|
+
return hit || (cache[str] = fn(str));
|
|
904
|
+
});
|
|
905
|
+
};
|
|
906
|
+
const camelizeRE = /-(\w)/g;
|
|
907
|
+
/**
|
|
908
|
+
* @private
|
|
909
|
+
*/
|
|
910
|
+
const camelize = cacheStringFunction((str) => {
|
|
911
|
+
return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));
|
|
912
|
+
});
|
|
913
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
914
|
+
/**
|
|
915
|
+
* @private
|
|
916
|
+
*/
|
|
917
|
+
const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());
|
|
918
|
+
/**
|
|
919
|
+
* @private
|
|
920
|
+
*/
|
|
921
|
+
const capitalize$2 = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));
|
|
915
922
|
|
|
916
923
|
/** Detect free variable `global` from Node.js. */
|
|
917
924
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
@@ -21109,9 +21116,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
21109
21116
|
function getAxisLength(axis) {
|
|
21110
21117
|
return axis === 'y' ? 'height' : 'width';
|
|
21111
21118
|
}
|
|
21112
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
21113
21119
|
function getSideAxis(placement) {
|
|
21114
|
-
return
|
|
21120
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
21115
21121
|
}
|
|
21116
21122
|
function getAlignmentAxis(placement) {
|
|
21117
21123
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -21136,19 +21142,19 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
21136
21142
|
function getOppositeAlignmentPlacement(placement) {
|
|
21137
21143
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
21138
21144
|
}
|
|
21139
|
-
const lrPlacement = ['left', 'right'];
|
|
21140
|
-
const rlPlacement = ['right', 'left'];
|
|
21141
|
-
const tbPlacement = ['top', 'bottom'];
|
|
21142
|
-
const btPlacement = ['bottom', 'top'];
|
|
21143
21145
|
function getSideList(side, isStart, rtl) {
|
|
21146
|
+
const lr = ['left', 'right'];
|
|
21147
|
+
const rl = ['right', 'left'];
|
|
21148
|
+
const tb = ['top', 'bottom'];
|
|
21149
|
+
const bt = ['bottom', 'top'];
|
|
21144
21150
|
switch (side) {
|
|
21145
21151
|
case 'top':
|
|
21146
21152
|
case 'bottom':
|
|
21147
|
-
if (rtl) return isStart ?
|
|
21148
|
-
return isStart ?
|
|
21153
|
+
if (rtl) return isStart ? rl : lr;
|
|
21154
|
+
return isStart ? lr : rl;
|
|
21149
21155
|
case 'left':
|
|
21150
21156
|
case 'right':
|
|
21151
|
-
return isStart ?
|
|
21157
|
+
return isStart ? tb : bt;
|
|
21152
21158
|
default:
|
|
21153
21159
|
return [];
|
|
21154
21160
|
}
|
|
@@ -21671,22 +21677,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
21671
21677
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
21672
21678
|
const nextPlacement = placements[nextIndex];
|
|
21673
21679
|
if (nextPlacement) {
|
|
21674
|
-
|
|
21675
|
-
|
|
21676
|
-
|
|
21677
|
-
|
|
21678
|
-
|
|
21679
|
-
|
|
21680
|
-
|
|
21681
|
-
|
|
21682
|
-
|
|
21683
|
-
|
|
21684
|
-
},
|
|
21685
|
-
reset: {
|
|
21686
|
-
placement: nextPlacement
|
|
21687
|
-
}
|
|
21688
|
-
};
|
|
21689
|
-
}
|
|
21680
|
+
// Try next placement and re-run the lifecycle.
|
|
21681
|
+
return {
|
|
21682
|
+
data: {
|
|
21683
|
+
index: nextIndex,
|
|
21684
|
+
overflows: overflowsData
|
|
21685
|
+
},
|
|
21686
|
+
reset: {
|
|
21687
|
+
placement: nextPlacement
|
|
21688
|
+
}
|
|
21689
|
+
};
|
|
21690
21690
|
}
|
|
21691
21691
|
|
|
21692
21692
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -21932,8 +21932,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
21932
21932
|
};
|
|
21933
21933
|
};
|
|
21934
21934
|
|
|
21935
|
-
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
21936
|
-
|
|
21937
21935
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
21938
21936
|
// Derivable.
|
|
21939
21937
|
|
|
@@ -21947,7 +21945,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
21947
21945
|
const side = getSide(placement);
|
|
21948
21946
|
const alignment = getAlignment(placement);
|
|
21949
21947
|
const isVertical = getSideAxis(placement) === 'y';
|
|
21950
|
-
const mainAxisMulti =
|
|
21948
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
21951
21949
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
21952
21950
|
const rawValue = evaluate(options, state);
|
|
21953
21951
|
|
|
@@ -22147,7 +22145,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22147
22145
|
if (checkCrossAxis) {
|
|
22148
22146
|
var _middlewareData$offse, _middlewareData$offse2;
|
|
22149
22147
|
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
22150
|
-
const isOriginSide =
|
|
22148
|
+
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
|
22151
22149
|
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
22152
22150
|
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
22153
22151
|
if (crossAxisCoord < limitMin) {
|
|
@@ -22292,7 +22290,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22292
22290
|
}
|
|
22293
22291
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
22294
22292
|
}
|
|
22295
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
22296
22293
|
function isOverflowElement(element) {
|
|
22297
22294
|
const {
|
|
22298
22295
|
overflow,
|
|
@@ -22300,32 +22297,27 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22300
22297
|
overflowY,
|
|
22301
22298
|
display
|
|
22302
22299
|
} = getComputedStyle$1(element);
|
|
22303
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
22300
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
22304
22301
|
}
|
|
22305
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
22306
22302
|
function isTableElement(element) {
|
|
22307
|
-
return
|
|
22303
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
22308
22304
|
}
|
|
22309
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
22310
22305
|
function isTopLayer(element) {
|
|
22311
|
-
return
|
|
22306
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
22312
22307
|
try {
|
|
22313
22308
|
return element.matches(selector);
|
|
22314
|
-
} catch (
|
|
22309
|
+
} catch (e) {
|
|
22315
22310
|
return false;
|
|
22316
22311
|
}
|
|
22317
22312
|
});
|
|
22318
22313
|
}
|
|
22319
|
-
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
22320
|
-
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
22321
|
-
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
22322
22314
|
function isContainingBlock(elementOrCss) {
|
|
22323
22315
|
const webkit = isWebKit();
|
|
22324
22316
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
22325
22317
|
|
|
22326
22318
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
22327
22319
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
22328
|
-
return
|
|
22320
|
+
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
22329
22321
|
}
|
|
22330
22322
|
function getContainingBlock(element) {
|
|
22331
22323
|
let currentNode = getParentNode(element);
|
|
@@ -22343,9 +22335,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22343
22335
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
22344
22336
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
22345
22337
|
}
|
|
22346
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
22347
22338
|
function isLastTraversableNode(node) {
|
|
22348
|
-
return
|
|
22339
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
22349
22340
|
}
|
|
22350
22341
|
function getComputedStyle$1(element) {
|
|
22351
22342
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -22650,7 +22641,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22650
22641
|
};
|
|
22651
22642
|
}
|
|
22652
22643
|
|
|
22653
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
22654
22644
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
22655
22645
|
function getInnerBoundingClientRect(element, strategy) {
|
|
22656
22646
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -22715,7 +22705,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22715
22705
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
22716
22706
|
currentContainingBlockComputedStyle = null;
|
|
22717
22707
|
}
|
|
22718
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
22708
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
22719
22709
|
if (shouldDropCurrentNode) {
|
|
22720
22710
|
// Drop non-containing blocks.
|
|
22721
22711
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -22778,12 +22768,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22778
22768
|
scrollTop: 0
|
|
22779
22769
|
};
|
|
22780
22770
|
const offsets = createCoords(0);
|
|
22781
|
-
|
|
22782
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
22783
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
22784
|
-
function setLeftRTLScrollbarOffset() {
|
|
22785
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
22786
|
-
}
|
|
22787
22771
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
22788
22772
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
22789
22773
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -22793,12 +22777,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22793
22777
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
22794
22778
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
22795
22779
|
} else if (documentElement) {
|
|
22796
|
-
|
|
22780
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
22781
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
22782
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
22797
22783
|
}
|
|
22798
22784
|
}
|
|
22799
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
22800
|
-
setLeftRTLScrollbarOffset();
|
|
22801
|
-
}
|
|
22802
22785
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
22803
22786
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
22804
22787
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -22975,7 +22958,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
22975
22958
|
// Handle <iframe>s
|
|
22976
22959
|
root: root.ownerDocument
|
|
22977
22960
|
});
|
|
22978
|
-
} catch (
|
|
22961
|
+
} catch (e) {
|
|
22979
22962
|
io = new IntersectionObserver(handleObserve, options);
|
|
22980
22963
|
}
|
|
22981
22964
|
io.observe(element);
|
|
@@ -71515,7 +71498,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71515
71498
|
|
|
71516
71499
|
var _hoisted_1$i = /*#__PURE__*/ vue.createTextVNode("更多");
|
|
71517
71500
|
var _hoisted_2$b = { class: "btn-group" };
|
|
71518
|
-
var _hoisted_3$
|
|
71501
|
+
var _hoisted_3$a = ["onClick"];
|
|
71519
71502
|
var __default__$C = {
|
|
71520
71503
|
name: 'base-button-more'
|
|
71521
71504
|
};
|
|
@@ -71634,7 +71617,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71634
71617
|
(_b = (_a = popoverRef.value) === null || _a === void 0 ? void 0 : _a.hide) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
71635
71618
|
(_c = (btn.onClick || btn.click)) === null || _c === void 0 ? void 0 : _c();
|
|
71636
71619
|
}
|
|
71637
|
-
}, vue.toDisplayString(btn.content), 11 /* TEXT, CLASS, PROPS */, _hoisted_3$
|
|
71620
|
+
}, vue.toDisplayString(btn.content), 11 /* TEXT, CLASS, PROPS */, _hoisted_3$a));
|
|
71638
71621
|
}), 128 /* KEYED_FRAGMENT */))
|
|
71639
71622
|
])
|
|
71640
71623
|
]; }),
|
|
@@ -71850,7 +71833,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71850
71833
|
key: 0,
|
|
71851
71834
|
style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
|
|
71852
71835
|
};
|
|
71853
|
-
var _hoisted_3$
|
|
71836
|
+
var _hoisted_3$9 = {
|
|
71854
71837
|
key: 0,
|
|
71855
71838
|
style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
|
|
71856
71839
|
};
|
|
@@ -72094,7 +72077,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
72094
72077
|
var _a;
|
|
72095
72078
|
return [
|
|
72096
72079
|
((_a = vue.unref(slots)) === null || _a === void 0 ? void 0 : _a.default)
|
|
72097
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
72080
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$9, [
|
|
72098
72081
|
vue.renderSlot(_ctx.$slots, "default", {
|
|
72099
72082
|
slotScope: { activeIndex: activeIndex.value }
|
|
72100
72083
|
})
|
|
@@ -72587,7 +72570,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
72587
72570
|
var BaseCheckboxGroup = script$v;
|
|
72588
72571
|
var BaseCheckbox = script$w;
|
|
72589
72572
|
|
|
72590
|
-
var propsKey$
|
|
72573
|
+
var propsKey$1 = 'date-picker'; // 解决defineProps作用域问题
|
|
72591
72574
|
var __default__$s = {
|
|
72592
72575
|
name: 'base-date-picker'
|
|
72593
72576
|
};
|
|
@@ -72613,7 +72596,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
72613
72596
|
clearIcon: { type: null, required: false },
|
|
72614
72597
|
validateEvent: { type: Boolean, required: false },
|
|
72615
72598
|
disabledDate: { type: Function, required: false },
|
|
72616
|
-
shortcuts: { type: null, required: false, default: (function () { return useGetGlobalDefaultProp(propsKey$
|
|
72599
|
+
shortcuts: { type: null, required: false, default: (function () { return useGetGlobalDefaultProp(propsKey$1, 'shortcuts', []); }) },
|
|
72617
72600
|
cellClassName: { type: Function, required: false },
|
|
72618
72601
|
teleported: { type: Boolean, required: false, default: true }
|
|
72619
72602
|
}, emits: ["change", "visibleChange", "calendarChange", "update:modelValue"], setup: function (__props, _a) {
|
|
@@ -74271,6 +74254,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74271
74254
|
|
|
74272
74255
|
var _hoisted_1$c = { class: "xrk-search" };
|
|
74273
74256
|
var _hoisted_2$8 = { class: "btn-group" };
|
|
74257
|
+
var _hoisted_3$8 = { class: "btn-group-left" };
|
|
74274
74258
|
var __default__$h = {
|
|
74275
74259
|
name: 'xrk-search'
|
|
74276
74260
|
};
|
|
@@ -74296,6 +74280,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74296
74280
|
var searchFormRef = vue.ref();
|
|
74297
74281
|
var searchBtn = vue.computed(function () { return (__assign({ text: '搜索', show: true }, props.searchBtn)); });
|
|
74298
74282
|
var resetBtn = vue.computed(function () { return (__assign({ text: '重置', show: true }, props.resetBtn)); });
|
|
74283
|
+
var isExpand = vue.ref(false);
|
|
74284
|
+
var getCurrentColumns = vue.computed(function () {
|
|
74285
|
+
var _a;
|
|
74286
|
+
if (isExpand.value) {
|
|
74287
|
+
return props === null || props === void 0 ? void 0 : props.columns;
|
|
74288
|
+
}
|
|
74289
|
+
else {
|
|
74290
|
+
return (_a = props === null || props === void 0 ? void 0 : props.columns) === null || _a === void 0 ? void 0 : _a.slice(0, 8);
|
|
74291
|
+
}
|
|
74292
|
+
});
|
|
74299
74293
|
var _getPleaseText = function (type) {
|
|
74300
74294
|
if (['input', 'inputNumber'].includes(type)) {
|
|
74301
74295
|
return '请输入';
|
|
@@ -74429,14 +74423,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74429
74423
|
handleResetClick: handleResetClick
|
|
74430
74424
|
});
|
|
74431
74425
|
return function (_ctx, _cache) {
|
|
74426
|
+
var _a;
|
|
74432
74427
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
74433
74428
|
vue.createVNode(script$b, {
|
|
74434
74429
|
model: searchValue,
|
|
74435
74430
|
ref_key: "searchFormRef",
|
|
74436
|
-
ref: searchFormRef
|
|
74431
|
+
ref: searchFormRef,
|
|
74432
|
+
"label-position": "top"
|
|
74437
74433
|
}, {
|
|
74438
74434
|
default: vue.withCtx(function () { return [
|
|
74439
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
74435
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(getCurrentColumns), function (_a) {
|
|
74440
74436
|
var style = _a.style, label = _a.label, prop = _a.prop, type = _a.type, disabled = _a.disabled, config = _a.config, listener = _a.listener, labelWidth = _a.labelWidth, rules = _a.rules;
|
|
74441
74437
|
return (vue.openBlock(), vue.createBlock(script$k, {
|
|
74442
74438
|
prop: prop,
|
|
@@ -74449,7 +74445,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74449
74445
|
type
|
|
74450
74446
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(formItemComponents)[type]), vue.mergeProps({
|
|
74451
74447
|
key: 0,
|
|
74452
|
-
style: __assign({
|
|
74448
|
+
style: __assign(__assign({}, (style || {})), { minWidth: '100%' })
|
|
74453
74449
|
}, __assign(__assign(__assign(__assign({}, computedDefaultConfig({ label: label, prop: prop, type: type })), { clearable: true }), config), proxyColumnListener(listener || {})), {
|
|
74454
74450
|
disabled: vue.unref(isFunction)(disabled) ? disabled(searchValue) : disabled,
|
|
74455
74451
|
modelValue: searchValue[prop],
|
|
@@ -74459,44 +74455,69 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74459
74455
|
]; }),
|
|
74460
74456
|
_: 2 /* DYNAMIC */
|
|
74461
74457
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["prop", "label", "labelWidth", "rules"]));
|
|
74462
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
74463
|
-
vue.createElementVNode("div", _hoisted_2$8, [
|
|
74464
|
-
(vue.unref(searchBtn).show)
|
|
74465
|
-
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74466
|
-
key: 0,
|
|
74467
|
-
click: handleSearchClick,
|
|
74468
|
-
icon: vue.unref(search_default)
|
|
74469
|
-
}, {
|
|
74470
|
-
default: vue.withCtx(function () { return [
|
|
74471
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(searchBtn).text), 1 /* TEXT */)
|
|
74472
|
-
]; }),
|
|
74473
|
-
_: 1 /* STABLE */
|
|
74474
|
-
}, 8 /* PROPS */, ["icon"]))
|
|
74475
|
-
: vue.createCommentVNode("v-if", true),
|
|
74476
|
-
(vue.unref(resetBtn).show)
|
|
74477
|
-
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74478
|
-
key: 1,
|
|
74479
|
-
type: "default",
|
|
74480
|
-
plain: true,
|
|
74481
|
-
click: handleResetClick
|
|
74482
|
-
}, {
|
|
74483
|
-
default: vue.withCtx(function () { return [
|
|
74484
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(resetBtn).text), 1 /* TEXT */)
|
|
74485
|
-
]; }),
|
|
74486
|
-
_: 1 /* STABLE */
|
|
74487
|
-
}))
|
|
74488
|
-
: vue.createCommentVNode("v-if", true),
|
|
74489
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.otherComponents, function (_a, index) {
|
|
74490
|
-
var render = _a.render;
|
|
74491
|
-
return (vue.openBlock(), vue.createBlock(vue.unref(BaseSearchRender), {
|
|
74492
|
-
render: render,
|
|
74493
|
-
key: index
|
|
74494
|
-
}, null, 8 /* PROPS */, ["render"]));
|
|
74495
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
74496
|
-
])
|
|
74458
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
74497
74459
|
]; }),
|
|
74498
74460
|
_: 1 /* STABLE */
|
|
74499
|
-
}, 8 /* PROPS */, ["model"])
|
|
74461
|
+
}, 8 /* PROPS */, ["model"]),
|
|
74462
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
74463
|
+
vue.createElementVNode("div", _hoisted_3$8, [
|
|
74464
|
+
(vue.unref(searchBtn).show)
|
|
74465
|
+
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74466
|
+
key: 0,
|
|
74467
|
+
click: handleSearchClick,
|
|
74468
|
+
icon: vue.unref(search_default)
|
|
74469
|
+
}, {
|
|
74470
|
+
default: vue.withCtx(function () { return [
|
|
74471
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(searchBtn).text), 1 /* TEXT */)
|
|
74472
|
+
]; }),
|
|
74473
|
+
_: 1 /* STABLE */
|
|
74474
|
+
}, 8 /* PROPS */, ["icon"]))
|
|
74475
|
+
: vue.createCommentVNode("v-if", true),
|
|
74476
|
+
(vue.unref(resetBtn).show)
|
|
74477
|
+
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74478
|
+
key: 1,
|
|
74479
|
+
type: "default",
|
|
74480
|
+
plain: true,
|
|
74481
|
+
click: handleResetClick
|
|
74482
|
+
}, {
|
|
74483
|
+
default: vue.withCtx(function () { return [
|
|
74484
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(resetBtn).text), 1 /* TEXT */)
|
|
74485
|
+
]; }),
|
|
74486
|
+
_: 1 /* STABLE */
|
|
74487
|
+
}))
|
|
74488
|
+
: vue.createCommentVNode("v-if", true),
|
|
74489
|
+
(__props.columns && ((_a = __props.columns) === null || _a === void 0 ? void 0 : _a.length) >= 8)
|
|
74490
|
+
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74491
|
+
key: 2,
|
|
74492
|
+
type: "default",
|
|
74493
|
+
onClick: _cache[0] || (_cache[0] = function () { return (isExpand.value = !isExpand.value); })
|
|
74494
|
+
}, {
|
|
74495
|
+
default: vue.withCtx(function () { return [
|
|
74496
|
+
vue.createTextVNode(vue.toDisplayString(!isExpand.value ? '展开' : '收起') + " ", 1 /* TEXT */),
|
|
74497
|
+
vue.createVNode(vue.unref(BaseIcon), { style: { "margin-left": "5px" } }, {
|
|
74498
|
+
default: vue.withCtx(function () { return [
|
|
74499
|
+
vue.withDirectives(vue.createVNode(vue.unref(arrow_up_default), null, null, 512 /* NEED_PATCH */), [
|
|
74500
|
+
[vue.vShow, isExpand.value]
|
|
74501
|
+
]),
|
|
74502
|
+
vue.withDirectives(vue.createVNode(vue.unref(arrow_down_default), null, null, 512 /* NEED_PATCH */), [
|
|
74503
|
+
[vue.vShow, !isExpand.value]
|
|
74504
|
+
])
|
|
74505
|
+
]; }),
|
|
74506
|
+
_: 1 /* STABLE */
|
|
74507
|
+
})
|
|
74508
|
+
]; }),
|
|
74509
|
+
_: 1 /* STABLE */
|
|
74510
|
+
}))
|
|
74511
|
+
: vue.createCommentVNode("v-if", true)
|
|
74512
|
+
]),
|
|
74513
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.otherComponents, function (_a, index) {
|
|
74514
|
+
var render = _a.render;
|
|
74515
|
+
return (vue.openBlock(), vue.createBlock(vue.unref(BaseSearchRender), {
|
|
74516
|
+
render: render,
|
|
74517
|
+
key: index
|
|
74518
|
+
}, null, 8 /* PROPS */, ["render"]));
|
|
74519
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
74520
|
+
])
|
|
74500
74521
|
]));
|
|
74501
74522
|
};
|
|
74502
74523
|
} }));
|
|
@@ -76245,7 +76266,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76245
76266
|
});
|
|
76246
76267
|
};
|
|
76247
76268
|
|
|
76248
|
-
var propsKey
|
|
76269
|
+
var propsKey = 'table'; // 解决defineProps作用域问题
|
|
76249
76270
|
var __default__$a = {
|
|
76250
76271
|
name: 'base-table'
|
|
76251
76272
|
};
|
|
@@ -76254,8 +76275,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76254
76275
|
columns: { type: null, required: true },
|
|
76255
76276
|
height: { type: [String, Number], required: false, default: '100%' },
|
|
76256
76277
|
maxHeight: { type: [String, Number], required: false },
|
|
76257
|
-
stripe: { type: Boolean, required: false, default:
|
|
76258
|
-
border: { type: Boolean, required: false, default: (function () { return useGetGlobalDefaultProp(propsKey
|
|
76278
|
+
stripe: { type: Boolean, required: false, default: false },
|
|
76279
|
+
border: { type: Boolean, required: false, default: (function () { return useGetGlobalDefaultProp(propsKey, 'border', false); }) },
|
|
76259
76280
|
size: { type: String, required: false, default: 'large' },
|
|
76260
76281
|
fit: { type: Boolean, required: false, default: true },
|
|
76261
76282
|
rowClassName: { type: null, required: false },
|
|
@@ -76272,7 +76293,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76272
76293
|
emptyText: { type: String, required: false, default: '暂无数据' },
|
|
76273
76294
|
defaultSort: { type: Object, required: false },
|
|
76274
76295
|
useBaseClass: { type: Boolean, required: false, default: (function () {
|
|
76275
|
-
return useGetGlobalDefaultProp(propsKey
|
|
76296
|
+
return useGetGlobalDefaultProp(propsKey, 'useBaseClass', true);
|
|
76276
76297
|
}) },
|
|
76277
76298
|
spanMethod: { type: null, required: false },
|
|
76278
76299
|
treeProps: { type: Object, required: false },
|
|
@@ -76362,7 +76383,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76362
76383
|
: (vue.openBlock(), vue.createBlock(vue.unref(BaseEmpty), { key: 1 }))
|
|
76363
76384
|
]; }),
|
|
76364
76385
|
default: vue.withCtx(function () { return [
|
|
76365
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, function (column) {
|
|
76386
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, function (column, index) {
|
|
76366
76387
|
return (vue.openBlock(), vue.createBlock(vue.unref(BaseTableColumn), vue.mergeProps({
|
|
76367
76388
|
key: column.prop,
|
|
76368
76389
|
pageAllData: __props.data,
|
|
@@ -76372,11 +76393,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76372
76393
|
getSelectionRows: vue.unref(getSelectionRows),
|
|
76373
76394
|
addSelectionRow: vue.unref(addSelectionRow),
|
|
76374
76395
|
removeSelectionRow: vue.unref(removeSelectionRow),
|
|
76375
|
-
clearSelectionRows: vue.unref(clearSelectionRows)
|
|
76396
|
+
clearSelectionRows: vue.unref(clearSelectionRows),
|
|
76397
|
+
isBothEnds: !index || index === __props.columns.length - 1
|
|
76376
76398
|
}, column, {
|
|
76377
76399
|
onSelect: handleColumnSelect,
|
|
76378
76400
|
onSelectAll: handleColumnSelectAll
|
|
76379
|
-
}), null, 16 /* FULL_PROPS */, ["pageAllData", "treeProps", "selectionIds", "selectionRows", "getSelectionRows", "addSelectionRow", "removeSelectionRow", "clearSelectionRows"]));
|
|
76401
|
+
}), null, 16 /* FULL_PROPS */, ["pageAllData", "treeProps", "selectionIds", "selectionRows", "getSelectionRows", "addSelectionRow", "removeSelectionRow", "clearSelectionRows", "isBothEnds"]));
|
|
76380
76402
|
}), 128 /* KEYED_FRAGMENT */))
|
|
76381
76403
|
]; }),
|
|
76382
76404
|
_: 1 /* STABLE */
|
|
@@ -76388,7 +76410,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76388
76410
|
script$a.__file = "packages/base/table/table.vue";
|
|
76389
76411
|
|
|
76390
76412
|
var _hoisted_1$6 = ["onClick"];
|
|
76391
|
-
var propsKey = 'table-column'; // 解决defineProps作用域问题
|
|
76392
76413
|
var __default__$9 = {
|
|
76393
76414
|
name: 'base-table-column'
|
|
76394
76415
|
};
|
|
@@ -76407,11 +76428,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76407
76428
|
sortBy: { type: [Array, String, Function], required: false },
|
|
76408
76429
|
sortOrders: { type: Array, required: false },
|
|
76409
76430
|
showOverflowTooltip: { type: Boolean, required: false, default: true },
|
|
76410
|
-
align: { type: String, required: false
|
|
76431
|
+
align: { type: String, required: false },
|
|
76411
76432
|
headerAlign: { type: String, required: false },
|
|
76412
76433
|
className: { type: String, required: false },
|
|
76413
76434
|
labelClassName: { type: String, required: false },
|
|
76414
76435
|
children: { type: Array, required: false },
|
|
76436
|
+
isBothEnds: { type: Boolean, required: false },
|
|
76415
76437
|
renderHeader: { type: Function, required: false },
|
|
76416
76438
|
renderHeaderSelectionLabel: { type: Function, required: false },
|
|
76417
76439
|
formatter: { type: Function, required: false, default: function (_a) {
|
|
@@ -76444,6 +76466,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76444
76466
|
var childrenKey = ((_b = props === null || props === void 0 ? void 0 : props.treeProps) === null || _b === void 0 ? void 0 : _b.children) || 'children';
|
|
76445
76467
|
var _selectionAllLoading = vue.ref(false);
|
|
76446
76468
|
var _selectionRowLoading = vue.ref(false);
|
|
76469
|
+
var getAlign = vue.computed(function () {
|
|
76470
|
+
if (props === null || props === void 0 ? void 0 : props.isBothEnds)
|
|
76471
|
+
return (props === null || props === void 0 ? void 0 : props.align) || 'center';
|
|
76472
|
+
return (props === null || props === void 0 ? void 0 : props.align) || 'left';
|
|
76473
|
+
});
|
|
76447
76474
|
var BaseTableColumnHeaderSelectionLabelRender = vue.defineComponent({
|
|
76448
76475
|
name: 'table-column-header-selection-label-render',
|
|
76449
76476
|
props: ['size'],
|
|
@@ -76727,7 +76754,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76727
76754
|
sortMethod: __props.sortMethod,
|
|
76728
76755
|
sortBy: __props.sortBy,
|
|
76729
76756
|
sortOrders: __props.sortOrders,
|
|
76730
|
-
align:
|
|
76757
|
+
align: vue.unref(getAlign),
|
|
76731
76758
|
headerAlign: __props.headerAlign,
|
|
76732
76759
|
className: __props.className,
|
|
76733
76760
|
labelClassName: __props.labelClassName,
|
|
@@ -76985,7 +77012,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76985
77012
|
replace: item.replace
|
|
76986
77013
|
}, {
|
|
76987
77014
|
default: vue.withCtx(function () { return [
|
|
76988
|
-
vue.
|
|
77015
|
+
vue.createElementVNode("span", {
|
|
77016
|
+
class: vue.normalizeClass(["title", { last: index === __props.data.length - 1 }])
|
|
77017
|
+
}, vue.toDisplayString(item.name), 3 /* TEXT, CLASS */)
|
|
76989
77018
|
]; }),
|
|
76990
77019
|
_: 2 /* DYNAMIC */
|
|
76991
77020
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["to", "replace"]));
|
|
@@ -77005,7 +77034,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77005
77034
|
var _hoisted_2$4 = { class: "body-top" };
|
|
77006
77035
|
var _hoisted_3$4 = {
|
|
77007
77036
|
key: 1,
|
|
77008
|
-
style: { "padding": "
|
|
77037
|
+
style: { "padding": "16px 0" }
|
|
77009
77038
|
};
|
|
77010
77039
|
var __default__$5 = {
|
|
77011
77040
|
name: 'base-layout-body'
|
|
@@ -77264,7 +77293,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77264
77293
|
script$4.__file = "packages/base/layout/menu.vue";
|
|
77265
77294
|
|
|
77266
77295
|
var _hoisted_1$2 = { class: "main-menu" };
|
|
77267
|
-
var _hoisted_2$2 = ["name"];
|
|
77296
|
+
var _hoisted_2$2 = ["name", "onClick"];
|
|
77268
77297
|
var _hoisted_3$2 = ["src"];
|
|
77269
77298
|
var _hoisted_4$2 = { key: 0 };
|
|
77270
77299
|
var _hoisted_5$2 = ["onClick"];
|
|
@@ -77343,7 +77372,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77343
77372
|
paddingLeft: (__props.level + 1) * 12 + 'px'
|
|
77344
77373
|
}),
|
|
77345
77374
|
class: vue.normalizeClass(menuClassName),
|
|
77346
|
-
name: menu.url
|
|
77375
|
+
name: menu.url,
|
|
77376
|
+
onClick: function ($event) { return (onMenuClick(menu)); }
|
|
77347
77377
|
}, [
|
|
77348
77378
|
(!__props.level && menu.icon)
|
|
77349
77379
|
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
@@ -77362,8 +77392,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77362
77392
|
key: 0,
|
|
77363
77393
|
menus: menu.menuList,
|
|
77364
77394
|
menusMap: __props.menusMap,
|
|
77365
|
-
level: __props.level + 1
|
|
77366
|
-
|
|
77395
|
+
level: __props.level + 1,
|
|
77396
|
+
onMenuClick: function (menu) { return emits('menuClick', menu); }
|
|
77397
|
+
}, null, 8 /* PROPS */, ["menus", "menusMap", "level", "onMenuClick"]))
|
|
77367
77398
|
: vue.createCommentVNode("v-if", true)
|
|
77368
77399
|
]))
|
|
77369
77400
|
: vue.createCommentVNode("v-if", true)
|
|
@@ -77432,7 +77463,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77432
77463
|
contentStyle: { type: null, required: false },
|
|
77433
77464
|
menuType: { type: String, required: false, default: 'vertical' },
|
|
77434
77465
|
renderMenuTop: { type: Function, required: false },
|
|
77435
|
-
trigger: { type: String, required: false, default: '
|
|
77466
|
+
trigger: { type: String, required: false, default: 'fold' }
|
|
77436
77467
|
}, emits: ["menuClick"], setup: function (__props, _a) {
|
|
77437
77468
|
var expose = _a.expose, emits = _a.emit;
|
|
77438
77469
|
var props = __props;
|
|
@@ -77455,6 +77486,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77455
77486
|
setMenuMap(menuArr, menusMap);
|
|
77456
77487
|
return menuArr;
|
|
77457
77488
|
});
|
|
77489
|
+
setMenuMap(menuBase.value, menusMap);
|
|
77458
77490
|
var onMenuClick = function (menu) {
|
|
77459
77491
|
var _a, _b, _c, _d;
|
|
77460
77492
|
currentMenu.value = menu;
|