@mingto/mt-ui 1.1.43 → 1.1.46
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/dist/index.es.js +1117 -1059
- package/dist/index.umd.js +1118 -1060
- package/dist/style.css +7 -2
- package/dist/table/index.d.ts +1 -1
- package/dist/table/src/table.vue.d.ts +1 -1
- package/dist/table-column/index.d.ts +9 -2
- package/dist/table-column/src/table-column.vue.d.ts +9 -2
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -8355,7 +8355,7 @@
|
|
|
8355
8355
|
return (_ctx, _cache) => {
|
|
8356
8356
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(MtTeleport), { to: props.appendTo }, {
|
|
8357
8357
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(vue.Transition, {
|
|
8358
|
-
name: (0, vue.unref)(ns).
|
|
8358
|
+
name: `${(0, vue.unref)(ns).e("overlay")}-fade`,
|
|
8359
8359
|
onAfterLeave: handleAfterLeave
|
|
8360
8360
|
}, {
|
|
8361
8361
|
default: (0, vue.withCtx)(() => [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(MtOverlay), {
|
|
@@ -10813,7 +10813,7 @@
|
|
|
10813
10813
|
}
|
|
10814
10814
|
}));
|
|
10815
10815
|
//#endregion
|
|
10816
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10816
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/constants/aria.mjs
|
|
10817
10817
|
var EVENT_CODE = {
|
|
10818
10818
|
tab: "Tab",
|
|
10819
10819
|
enter: "Enter",
|
|
@@ -10832,11 +10832,11 @@
|
|
|
10832
10832
|
end: "End"
|
|
10833
10833
|
};
|
|
10834
10834
|
//#endregion
|
|
10835
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10835
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/constants/event.mjs
|
|
10836
10836
|
var UPDATE_MODEL_EVENT = "update:modelValue";
|
|
10837
10837
|
var CHANGE_EVENT = "change";
|
|
10838
10838
|
//#endregion
|
|
10839
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10839
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/constants/size.mjs
|
|
10840
10840
|
var componentSizes = [
|
|
10841
10841
|
"",
|
|
10842
10842
|
"default",
|
|
@@ -10844,7 +10844,7 @@
|
|
|
10844
10844
|
"large"
|
|
10845
10845
|
];
|
|
10846
10846
|
/**
|
|
10847
|
-
* @vue/shared v3.5.
|
|
10847
|
+
* @vue/shared v3.5.35
|
|
10848
10848
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10849
10849
|
* @license MIT
|
|
10850
10850
|
**/
|
|
@@ -10858,7 +10858,7 @@
|
|
|
10858
10858
|
var isString$3 = (val) => typeof val === "string";
|
|
10859
10859
|
var isObject$1 = (val) => val !== null && typeof val === "object";
|
|
10860
10860
|
//#endregion
|
|
10861
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10861
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/types.mjs
|
|
10862
10862
|
var isUndefined$1 = (val) => val === void 0;
|
|
10863
10863
|
var isBoolean$1 = (val) => typeof val === "boolean";
|
|
10864
10864
|
var isNumber$1 = (val) => typeof val === "number";
|
|
@@ -10872,7 +10872,7 @@
|
|
|
10872
10872
|
return !Number.isNaN(Number(val));
|
|
10873
10873
|
};
|
|
10874
10874
|
//#endregion
|
|
10875
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10875
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/objects.mjs
|
|
10876
10876
|
var getProp = (obj, path, defaultValue) => {
|
|
10877
10877
|
return {
|
|
10878
10878
|
get value() {
|
|
@@ -10884,7 +10884,7 @@
|
|
|
10884
10884
|
};
|
|
10885
10885
|
};
|
|
10886
10886
|
//#endregion
|
|
10887
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10887
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/vue/props/runtime.mjs
|
|
10888
10888
|
var epPropKey = "__epPropKey";
|
|
10889
10889
|
var definePropType = (val) => val;
|
|
10890
10890
|
var isEpProp = (val) => isObject$1(val) && !!val["__epPropKey"];
|
|
@@ -10936,7 +10936,7 @@
|
|
|
10936
10936
|
};
|
|
10937
10937
|
var buildProps = (props) => fromPairs(Object.entries(props).map(([key, option]) => [key, buildProp(option, key)]));
|
|
10938
10938
|
//#endregion
|
|
10939
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10939
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/error.mjs
|
|
10940
10940
|
var ElementPlusError = class extends Error {
|
|
10941
10941
|
constructor(m) {
|
|
10942
10942
|
super(m);
|
|
@@ -10953,7 +10953,7 @@
|
|
|
10953
10953
|
}
|
|
10954
10954
|
}
|
|
10955
10955
|
//#endregion
|
|
10956
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10956
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-deprecated/index.mjs
|
|
10957
10957
|
var useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
|
|
10958
10958
|
(0, vue.watch)(() => (0, vue.unref)(condition), (val) => {
|
|
10959
10959
|
if (val) debugWarn(scope, `[${type}] ${from} is about to be deprecated in version ${version}, please use ${replacement} instead.
|
|
@@ -10962,7 +10962,7 @@ For more detail, please visit: ${ref}
|
|
|
10962
10962
|
}, { immediate: true });
|
|
10963
10963
|
};
|
|
10964
10964
|
//#endregion
|
|
10965
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10965
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/dom/aria.mjs
|
|
10966
10966
|
var isHTMLElement = (e) => {
|
|
10967
10967
|
if (typeof Element === "undefined") return false;
|
|
10968
10968
|
return e instanceof Element;
|
|
@@ -10995,10 +10995,10 @@ For more detail, please visit: ${ref}
|
|
|
10995
10995
|
if (isHTMLElement(el) && cleanup) el.removeAttribute("tabindex");
|
|
10996
10996
|
};
|
|
10997
10997
|
//#endregion
|
|
10998
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10998
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/browser.mjs
|
|
10999
10999
|
var isAndroid = () => _vueuse_core.isClient && /android/i.test(window.navigator.userAgent);
|
|
11000
11000
|
//#endregion
|
|
11001
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11001
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/dom/style.mjs
|
|
11002
11002
|
var SCOPE$1 = "utils/dom/style";
|
|
11003
11003
|
var classNameToArray = (cls = "") => cls.split(" ").filter((item) => !!item.trim());
|
|
11004
11004
|
var hasClass = (el, cls) => {
|
|
@@ -11021,7 +11021,7 @@ For more detail, please visit: ${ref}
|
|
|
11021
11021
|
debugWarn(SCOPE$1, "binding value must be a string or number");
|
|
11022
11022
|
}
|
|
11023
11023
|
//#endregion
|
|
11024
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11024
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/locale/lang/en.mjs
|
|
11025
11025
|
var en_default$1 = {
|
|
11026
11026
|
name: "en",
|
|
11027
11027
|
el: {
|
|
@@ -11203,7 +11203,7 @@ For more detail, please visit: ${ref}
|
|
|
11203
11203
|
}
|
|
11204
11204
|
};
|
|
11205
11205
|
//#endregion
|
|
11206
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11206
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-locale/index.mjs
|
|
11207
11207
|
var buildTranslator = (locale) => (path, option) => translate(path, option, (0, vue.unref)(locale));
|
|
11208
11208
|
var translate = (path, option, locale) => get(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => `${option?.[key] ?? `{${key}}`}`);
|
|
11209
11209
|
var buildLocaleContext = (locale) => {
|
|
@@ -11219,7 +11219,7 @@ For more detail, please visit: ${ref}
|
|
|
11219
11219
|
return buildLocaleContext((0, vue.computed)(() => locale.value || en_default$1));
|
|
11220
11220
|
};
|
|
11221
11221
|
//#endregion
|
|
11222
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11222
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-namespace/index.mjs
|
|
11223
11223
|
var statePrefix = "is-";
|
|
11224
11224
|
var _bem = (namespace, block, blockSuffix, element, modifier) => {
|
|
11225
11225
|
let cls = `${namespace}-${block}`;
|
|
@@ -11277,10 +11277,10 @@ For more detail, please visit: ${ref}
|
|
|
11277
11277
|
};
|
|
11278
11278
|
};
|
|
11279
11279
|
//#endregion
|
|
11280
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11280
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/raf.mjs
|
|
11281
11281
|
var rAF = (fn) => _vueuse_core.isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
|
|
11282
11282
|
//#endregion
|
|
11283
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11283
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/dom/event.mjs
|
|
11284
11284
|
var composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPrevented = true } = {}) => {
|
|
11285
11285
|
const handleEvent = (event) => {
|
|
11286
11286
|
const shouldPrevent = theirsHandler?.(event);
|
|
@@ -11309,7 +11309,7 @@ For more detail, please visit: ${ref}
|
|
|
11309
11309
|
return key;
|
|
11310
11310
|
};
|
|
11311
11311
|
//#endregion
|
|
11312
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11312
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-model-toggle/index.mjs
|
|
11313
11313
|
var _prop = buildProp({
|
|
11314
11314
|
type: definePropType(Boolean),
|
|
11315
11315
|
default: null
|
|
@@ -11386,13 +11386,13 @@ For more detail, please visit: ${ref}
|
|
|
11386
11386
|
};
|
|
11387
11387
|
var { useModelToggle, useModelToggleProps, useModelToggleEmits } = createModelToggleComposable("modelValue");
|
|
11388
11388
|
//#endregion
|
|
11389
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11389
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-prop/index.mjs
|
|
11390
11390
|
var useProp = (name) => {
|
|
11391
11391
|
const vm = (0, vue.getCurrentInstance)();
|
|
11392
11392
|
return (0, vue.computed)(() => (vm?.proxy?.$props)?.[name]);
|
|
11393
11393
|
};
|
|
11394
11394
|
//#endregion
|
|
11395
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11395
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-popper/index.mjs
|
|
11396
11396
|
var usePopper = (referenceElementRef, popperElementRef, opts = {}) => {
|
|
11397
11397
|
const stateUpdater = {
|
|
11398
11398
|
name: "updateState",
|
|
@@ -11466,7 +11466,7 @@ For more detail, please visit: ${ref}
|
|
|
11466
11466
|
};
|
|
11467
11467
|
}
|
|
11468
11468
|
//#endregion
|
|
11469
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11469
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-timeout/index.mjs
|
|
11470
11470
|
function useTimeout() {
|
|
11471
11471
|
let timeoutHandle;
|
|
11472
11472
|
const registerTimeout = (fn, delay) => {
|
|
@@ -11485,7 +11485,7 @@ For more detail, please visit: ${ref}
|
|
|
11485
11485
|
};
|
|
11486
11486
|
}
|
|
11487
11487
|
//#endregion
|
|
11488
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11488
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-id/index.mjs
|
|
11489
11489
|
var defaultIdInjection = {
|
|
11490
11490
|
prefix: Math.floor(Math.random() * 1e4),
|
|
11491
11491
|
current: 0
|
|
@@ -11505,7 +11505,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
11505
11505
|
return (0, _vueuse_core.computedEager)(() => (0, vue.unref)(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
|
|
11506
11506
|
};
|
|
11507
11507
|
//#endregion
|
|
11508
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11508
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-escape-keydown/index.mjs
|
|
11509
11509
|
var registeredEscapeHandlers = [];
|
|
11510
11510
|
var cachedHandler = (event) => {
|
|
11511
11511
|
if (getEventCode(event) === EVENT_CODE.esc) registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
|
|
@@ -11523,7 +11523,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
11523
11523
|
});
|
|
11524
11524
|
};
|
|
11525
11525
|
//#endregion
|
|
11526
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11526
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-popper-container/index.mjs
|
|
11527
11527
|
var usePopperContainerId = () => {
|
|
11528
11528
|
const namespace = useGetDerivedNamespace$1();
|
|
11529
11529
|
const idInjection = useIdInjection();
|
|
@@ -11553,7 +11553,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
11553
11553
|
};
|
|
11554
11554
|
};
|
|
11555
11555
|
//#endregion
|
|
11556
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11556
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-delayed-toggle/index.mjs
|
|
11557
11557
|
/**
|
|
11558
11558
|
* @deprecated Removed after 3.0.0, Use `UseDelayedToggleProps` instead.
|
|
11559
11559
|
*/
|
|
@@ -11609,7 +11609,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
11609
11609
|
};
|
|
11610
11610
|
};
|
|
11611
11611
|
//#endregion
|
|
11612
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11612
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-forward-ref/index.mjs
|
|
11613
11613
|
var FORWARD_REF_INJECTION_KEY = Symbol("elForwardRef");
|
|
11614
11614
|
var useForwardRef = (forwardRef) => {
|
|
11615
11615
|
const setForwardRef = ((el) => {
|
|
@@ -11631,7 +11631,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
11631
11631
|
};
|
|
11632
11632
|
};
|
|
11633
11633
|
//#endregion
|
|
11634
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11634
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-z-index/index.mjs
|
|
11635
11635
|
var initial = { current: 0 };
|
|
11636
11636
|
var zIndex = (0, vue.ref)(0);
|
|
11637
11637
|
var defaultInitialZIndex = 2e3;
|
|
@@ -11659,7 +11659,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11659
11659
|
};
|
|
11660
11660
|
};
|
|
11661
11661
|
//#endregion
|
|
11662
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11662
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-size/index.mjs
|
|
11663
11663
|
var useSizeProp = buildProp({
|
|
11664
11664
|
type: String,
|
|
11665
11665
|
values: componentSizes,
|
|
@@ -11673,7 +11673,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11673
11673
|
});
|
|
11674
11674
|
};
|
|
11675
11675
|
//#endregion
|
|
11676
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11676
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-aria/index.mjs
|
|
11677
11677
|
/**
|
|
11678
11678
|
* @deprecated Removed after 3.0.0, Use `AriaProps` instead.
|
|
11679
11679
|
*/
|
|
@@ -11702,7 +11702,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11702
11702
|
return pick(ariaProps, arias);
|
|
11703
11703
|
};
|
|
11704
11704
|
//#endregion
|
|
11705
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11705
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/vue/install.mjs
|
|
11706
11706
|
var withPropsDefaultsSetter = (target) => {
|
|
11707
11707
|
const _p = target.props;
|
|
11708
11708
|
const props = isArray$1(_p) ? fromPairs(_p.map((key) => [key, {}])) : _p;
|
|
@@ -11740,7 +11740,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11740
11740
|
return component;
|
|
11741
11741
|
};
|
|
11742
11742
|
//#endregion
|
|
11743
|
-
//#region ../../node_modules/.pnpm/@element-plus+icons-vue@2.3.2_vue@3.5.
|
|
11743
|
+
//#region ../../node_modules/.pnpm/@element-plus+icons-vue@2.3.2_vue@3.5.35_typescript@5.9.3_/node_modules/@element-plus/icons-vue/dist/index.js
|
|
11744
11744
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
11745
11745
|
var arrow_down_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
11746
11746
|
name: "ArrowDown",
|
|
@@ -11795,7 +11795,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11795
11795
|
}
|
|
11796
11796
|
});
|
|
11797
11797
|
//#endregion
|
|
11798
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11798
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/icon/src/icon.mjs
|
|
11799
11799
|
/**
|
|
11800
11800
|
* @deprecated Removed after 3.0.0, Use `IconProps` instead.
|
|
11801
11801
|
*/
|
|
@@ -11810,7 +11810,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11810
11810
|
color: { type: String }
|
|
11811
11811
|
});
|
|
11812
11812
|
//#endregion
|
|
11813
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11813
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/icon/index.mjs
|
|
11814
11814
|
var ElIcon = withInstall(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
11815
11815
|
name: "ElIcon",
|
|
11816
11816
|
inheritAttrs: false,
|
|
@@ -11854,11 +11854,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11854
11854
|
default: "tooltip"
|
|
11855
11855
|
} });
|
|
11856
11856
|
//#endregion
|
|
11857
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11857
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/constants.mjs
|
|
11858
11858
|
var POPPER_INJECTION_KEY = Symbol("popper");
|
|
11859
11859
|
var POPPER_CONTENT_INJECTION_KEY = Symbol("popperContent");
|
|
11860
11860
|
//#endregion
|
|
11861
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11861
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/arrow2.mjs
|
|
11862
11862
|
var arrow_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
11863
11863
|
name: "ElPopperArrow",
|
|
11864
11864
|
inheritAttrs: false,
|
|
@@ -11886,7 +11886,7 @@ arrowRef });
|
|
|
11886
11886
|
}
|
|
11887
11887
|
});
|
|
11888
11888
|
//#endregion
|
|
11889
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11889
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/trigger.mjs
|
|
11890
11890
|
/**
|
|
11891
11891
|
* @deprecated Removed after 3.0.0, Use `PopperTriggerProps` instead.
|
|
11892
11892
|
*/
|
|
@@ -11906,7 +11906,7 @@ arrowRef });
|
|
|
11906
11906
|
open: Boolean
|
|
11907
11907
|
});
|
|
11908
11908
|
//#endregion
|
|
11909
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11909
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/slot/src/only-child.mjs
|
|
11910
11910
|
var NAME = "ElOnlyChild";
|
|
11911
11911
|
var OnlyChild = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
11912
11912
|
name: NAME,
|
|
@@ -11950,7 +11950,7 @@ arrowRef });
|
|
|
11950
11950
|
return (0, vue.createVNode)("span", { "class": useNamespace$1("only-child").e("content") }, [s]);
|
|
11951
11951
|
}
|
|
11952
11952
|
//#endregion
|
|
11953
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11953
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/trigger2.mjs
|
|
11954
11954
|
var trigger_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
11955
11955
|
name: "ElPopperTrigger",
|
|
11956
11956
|
inheritAttrs: false,
|
|
@@ -12058,7 +12058,7 @@ triggerRef });
|
|
|
12058
12058
|
}
|
|
12059
12059
|
});
|
|
12060
12060
|
//#endregion
|
|
12061
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12061
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/arrow.mjs
|
|
12062
12062
|
/**
|
|
12063
12063
|
* @deprecated Removed after 3.0.0, Use `PopperArrowProps` instead.
|
|
12064
12064
|
*/
|
|
@@ -12193,11 +12193,11 @@ triggerRef });
|
|
|
12193
12193
|
close: () => true
|
|
12194
12194
|
};
|
|
12195
12195
|
//#endregion
|
|
12196
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12196
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/form/src/constants.mjs
|
|
12197
12197
|
var formContextKey = Symbol("formContextKey");
|
|
12198
12198
|
var formItemContextKey = Symbol("formItemContextKey");
|
|
12199
12199
|
//#endregion
|
|
12200
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12200
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/form/src/hooks/use-form-common-props.mjs
|
|
12201
12201
|
var useFormSize = (fallback, ignore = {}) => {
|
|
12202
12202
|
const emptyRef = (0, vue.ref)(void 0);
|
|
12203
12203
|
const size = ignore.prop ? emptyRef : useProp("size");
|
|
@@ -12214,7 +12214,7 @@ triggerRef });
|
|
|
12214
12214
|
});
|
|
12215
12215
|
};
|
|
12216
12216
|
//#endregion
|
|
12217
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12217
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/form/src/hooks/use-form-item.mjs
|
|
12218
12218
|
var useFormItem = () => {
|
|
12219
12219
|
return {
|
|
12220
12220
|
form: (0, vue.inject)(formContextKey, void 0),
|
|
@@ -12261,14 +12261,14 @@ triggerRef });
|
|
|
12261
12261
|
};
|
|
12262
12262
|
};
|
|
12263
12263
|
//#endregion
|
|
12264
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12264
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/arrays.mjs
|
|
12265
12265
|
/** like `_.castArray`, except falsy value returns empty array. */
|
|
12266
12266
|
var castArray = (arr) => {
|
|
12267
12267
|
if (!arr && arr !== 0) return [];
|
|
12268
12268
|
return isArray$1(arr) ? arr : [arr];
|
|
12269
12269
|
};
|
|
12270
12270
|
//#endregion
|
|
12271
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12271
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/focus-trap/src/tokens.mjs
|
|
12272
12272
|
var FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
|
|
12273
12273
|
var FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
|
|
12274
12274
|
var FOCUSOUT_PREVENTED = "focus-trap.focusout-prevented";
|
|
@@ -12284,7 +12284,7 @@ triggerRef });
|
|
|
12284
12284
|
var ON_RELEASE_FOCUS_EVT = "focusAfterReleased";
|
|
12285
12285
|
var FOCUS_TRAP_INJECTION_KEY = Symbol("elFocusTrap");
|
|
12286
12286
|
//#endregion
|
|
12287
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12287
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/focus-trap/src/utils.mjs
|
|
12288
12288
|
var focusReason = (0, vue.ref)();
|
|
12289
12289
|
var lastUserFocusTimestamp = (0, vue.ref)(0);
|
|
12290
12290
|
var lastAutomatedFocusTimestamp = (0, vue.ref)(0);
|
|
@@ -12398,7 +12398,7 @@ triggerRef });
|
|
|
12398
12398
|
});
|
|
12399
12399
|
};
|
|
12400
12400
|
//#endregion
|
|
12401
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12401
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.mjs
|
|
12402
12402
|
var focus_trap_vue_vue_type_script_lang_default = (0, vue.defineComponent)({
|
|
12403
12403
|
name: "ElFocusTrap",
|
|
12404
12404
|
inheritAttrs: false,
|
|
@@ -12585,22 +12585,22 @@ triggerRef });
|
|
|
12585
12585
|
}
|
|
12586
12586
|
});
|
|
12587
12587
|
//#endregion
|
|
12588
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12588
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/_virtual/_plugin-vue_export-helper.mjs
|
|
12589
12589
|
var _plugin_vue_export_helper_default$1 = (sfc, props) => {
|
|
12590
12590
|
const target = sfc.__vccOpts || sfc;
|
|
12591
12591
|
for (const [key, val] of props) target[key] = val;
|
|
12592
12592
|
return target;
|
|
12593
12593
|
};
|
|
12594
12594
|
//#endregion
|
|
12595
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12596
|
-
function _sfc_render$
|
|
12595
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/focus-trap/src/focus-trap.mjs
|
|
12596
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12597
12597
|
return (0, vue.renderSlot)(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
12598
12598
|
}
|
|
12599
12599
|
//#endregion
|
|
12600
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12601
|
-
var focus_trap_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default$1(focus_trap_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
12600
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/focus-trap/index.mjs
|
|
12601
|
+
var focus_trap_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default$1(focus_trap_vue_vue_type_script_lang_default, [["render", _sfc_render$1]]);
|
|
12602
12602
|
//#endregion
|
|
12603
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12603
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/utils.mjs
|
|
12604
12604
|
var buildPopperOptions = (props, modifiers = []) => {
|
|
12605
12605
|
const { placement, strategy, popperOptions } = props;
|
|
12606
12606
|
const options = {
|
|
@@ -12649,7 +12649,7 @@ triggerRef });
|
|
|
12649
12649
|
if (modifiers) options.modifiers = [...options.modifiers, ...modifiers ?? []];
|
|
12650
12650
|
}
|
|
12651
12651
|
//#endregion
|
|
12652
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12652
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/composables/use-content.mjs
|
|
12653
12653
|
var DEFAULT_ARROW_OFFSET = 0;
|
|
12654
12654
|
var usePopperContent = (props) => {
|
|
12655
12655
|
const { popperInstanceRef, contentRef, triggerRef, role } = (0, vue.inject)(POPPER_INJECTION_KEY, void 0);
|
|
@@ -12713,7 +12713,7 @@ triggerRef });
|
|
|
12713
12713
|
};
|
|
12714
12714
|
};
|
|
12715
12715
|
//#endregion
|
|
12716
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12716
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/composables/use-content-dom.mjs
|
|
12717
12717
|
var usePopperContentDOM = (props, { attributes, styles, role }) => {
|
|
12718
12718
|
const { nextZIndex } = useZIndex$1();
|
|
12719
12719
|
const ns = useNamespace$1("popper");
|
|
@@ -12748,7 +12748,7 @@ triggerRef });
|
|
|
12748
12748
|
};
|
|
12749
12749
|
};
|
|
12750
12750
|
//#endregion
|
|
12751
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12751
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/composables/use-focus-trap.mjs
|
|
12752
12752
|
var usePopperContentFocusTrap = (props, emit) => {
|
|
12753
12753
|
const trapped = (0, vue.ref)(false);
|
|
12754
12754
|
const focusStartRef = (0, vue.ref)();
|
|
@@ -12791,7 +12791,7 @@ triggerRef });
|
|
|
12791
12791
|
};
|
|
12792
12792
|
};
|
|
12793
12793
|
//#endregion
|
|
12794
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12794
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/src/content2.mjs
|
|
12795
12795
|
var content_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
12796
12796
|
name: "ElPopperContent",
|
|
12797
12797
|
__name: "content",
|
|
@@ -12921,7 +12921,7 @@ triggerRef });
|
|
|
12921
12921
|
}
|
|
12922
12922
|
});
|
|
12923
12923
|
//#endregion
|
|
12924
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12924
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/popper/index.mjs
|
|
12925
12925
|
var ElPopper = withInstall(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
12926
12926
|
name: "ElPopper",
|
|
12927
12927
|
inheritAttrs: false,
|
|
@@ -13012,7 +13012,7 @@ triggerRef });
|
|
|
13012
13012
|
...useAriaProps(["ariaLabel"])
|
|
13013
13013
|
});
|
|
13014
13014
|
//#endregion
|
|
13015
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13015
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/trigger.mjs
|
|
13016
13016
|
/**
|
|
13017
13017
|
* @deprecated Removed after 3.0.0, Use `UseTooltipTriggerProps` instead.
|
|
13018
13018
|
*/
|
|
@@ -13046,7 +13046,7 @@ triggerRef });
|
|
|
13046
13046
|
focusOnTarget: Boolean
|
|
13047
13047
|
});
|
|
13048
13048
|
//#endregion
|
|
13049
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13049
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/tooltip.mjs
|
|
13050
13050
|
var { useModelToggleProps: useTooltipModelToggleProps, useModelToggleEmits: useTooltipModelToggleEmits, useModelToggle: useTooltipModelToggle } = createModelToggleComposable("visible");
|
|
13051
13051
|
/**
|
|
13052
13052
|
* @deprecated Removed after 3.0.0, Use `UseTooltipProps` instead.
|
|
@@ -13075,10 +13075,10 @@ triggerRef });
|
|
|
13075
13075
|
"close"
|
|
13076
13076
|
];
|
|
13077
13077
|
//#endregion
|
|
13078
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13078
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/constants.mjs
|
|
13079
13079
|
var TOOLTIP_INJECTION_KEY = Symbol("elTooltip");
|
|
13080
13080
|
//#endregion
|
|
13081
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13081
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/utils.mjs
|
|
13082
13082
|
var isTriggerType = (trigger, type) => {
|
|
13083
13083
|
if (isArray$1(trigger)) return trigger.includes(type);
|
|
13084
13084
|
return trigger === type;
|
|
@@ -13089,7 +13089,7 @@ triggerRef });
|
|
|
13089
13089
|
};
|
|
13090
13090
|
};
|
|
13091
13091
|
//#endregion
|
|
13092
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13092
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/trigger2.mjs
|
|
13093
13093
|
var trigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
13094
13094
|
name: "ElTooltipTrigger",
|
|
13095
13095
|
__name: "trigger",
|
|
@@ -13166,7 +13166,7 @@ triggerRef });
|
|
|
13166
13166
|
}
|
|
13167
13167
|
});
|
|
13168
13168
|
//#endregion
|
|
13169
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13169
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/content2.mjs
|
|
13170
13170
|
var content_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
13171
13171
|
name: "ElTooltipContent",
|
|
13172
13172
|
inheritAttrs: false,
|
|
@@ -13332,11 +13332,11 @@ triggerRef });
|
|
|
13332
13332
|
}
|
|
13333
13333
|
});
|
|
13334
13334
|
//#endregion
|
|
13335
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13335
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs
|
|
13336
13336
|
var _hoisted_1$10 = ["innerHTML"];
|
|
13337
13337
|
var _hoisted_2$2 = { key: 1 };
|
|
13338
13338
|
//#endregion
|
|
13339
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13339
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/tooltip/index.mjs
|
|
13340
13340
|
var ElTooltip = withInstall(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
13341
13341
|
name: "ElTooltip",
|
|
13342
13342
|
__name: "tooltip",
|
|
@@ -13533,7 +13533,7 @@ triggerRef });
|
|
|
13533
13533
|
}
|
|
13534
13534
|
}));
|
|
13535
13535
|
//#endregion
|
|
13536
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13536
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/scrollbar.mjs
|
|
13537
13537
|
/**
|
|
13538
13538
|
* @deprecated Removed after 3.0.0, Use `ScrollbarProps` instead.
|
|
13539
13539
|
*/
|
|
@@ -13650,7 +13650,7 @@ triggerRef });
|
|
|
13650
13650
|
scroll: ({ scrollTop, scrollLeft }) => [scrollTop, scrollLeft].every(isNumber$1)
|
|
13651
13651
|
};
|
|
13652
13652
|
//#endregion
|
|
13653
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13653
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/util.mjs
|
|
13654
13654
|
var BAR_MAP = {
|
|
13655
13655
|
vertical: {
|
|
13656
13656
|
offset: "offsetHeight",
|
|
@@ -13678,7 +13678,7 @@ triggerRef });
|
|
|
13678
13678
|
transform: `translate${bar.axis}(${move}%)`
|
|
13679
13679
|
});
|
|
13680
13680
|
//#endregion
|
|
13681
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13681
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/thumb.mjs
|
|
13682
13682
|
/**
|
|
13683
13683
|
* @deprecated Removed after 3.0.0, Use `ThumbProps` instead.
|
|
13684
13684
|
*/
|
|
@@ -13693,10 +13693,10 @@ triggerRef });
|
|
|
13693
13693
|
always: Boolean
|
|
13694
13694
|
});
|
|
13695
13695
|
//#endregion
|
|
13696
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13696
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/constants.mjs
|
|
13697
13697
|
var scrollbarContextKey = Symbol("scrollbarContextKey");
|
|
13698
13698
|
//#endregion
|
|
13699
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13699
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/utils/numbers.mjs
|
|
13700
13700
|
/**
|
|
13701
13701
|
* Due to browser rendering and calculation precision loss issues,
|
|
13702
13702
|
* boundary checks cannot be based solely on value equality;
|
|
@@ -13706,7 +13706,7 @@ triggerRef });
|
|
|
13706
13706
|
return a - b > epsilon;
|
|
13707
13707
|
}
|
|
13708
13708
|
//#endregion
|
|
13709
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13709
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/bar.mjs
|
|
13710
13710
|
/**
|
|
13711
13711
|
* @deprecated Removed after 3.0.0, Use `BarProps` instead.
|
|
13712
13712
|
*/
|
|
@@ -13721,10 +13721,10 @@ triggerRef });
|
|
|
13721
13721
|
}
|
|
13722
13722
|
});
|
|
13723
13723
|
//#endregion
|
|
13724
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13724
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.mjs
|
|
13725
13725
|
var COMPONENT_NAME$1 = "Thumb";
|
|
13726
13726
|
//#endregion
|
|
13727
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13727
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/thumb2.mjs
|
|
13728
13728
|
var thumb_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
13729
13729
|
__name: "thumb",
|
|
13730
13730
|
props: thumbProps,
|
|
@@ -13831,7 +13831,7 @@ triggerRef });
|
|
|
13831
13831
|
}
|
|
13832
13832
|
});
|
|
13833
13833
|
//#endregion
|
|
13834
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13834
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/bar2.mjs
|
|
13835
13835
|
var bar_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
13836
13836
|
__name: "bar",
|
|
13837
13837
|
props: barProps,
|
|
@@ -13897,11 +13897,11 @@ triggerRef });
|
|
|
13897
13897
|
}
|
|
13898
13898
|
});
|
|
13899
13899
|
//#endregion
|
|
13900
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13900
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/src/scrollbar.vue_vue_type_script_setup_true_lang.mjs
|
|
13901
13901
|
var _hoisted_1$9 = ["tabindex"];
|
|
13902
13902
|
var COMPONENT_NAME = "ElScrollbar";
|
|
13903
13903
|
//#endregion
|
|
13904
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13904
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/scrollbar/index.mjs
|
|
13905
13905
|
var ElScrollbar = withInstall(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
13906
13906
|
name: COMPONENT_NAME,
|
|
13907
13907
|
__name: "scrollbar",
|
|
@@ -14099,10 +14099,10 @@ triggerRef });
|
|
|
14099
14099
|
}
|
|
14100
14100
|
}));
|
|
14101
14101
|
//#endregion
|
|
14102
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14102
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/config-provider/src/constants.mjs
|
|
14103
14103
|
var configProviderContextKey = Symbol();
|
|
14104
14104
|
//#endregion
|
|
14105
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14105
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs
|
|
14106
14106
|
var globalConfig = (0, vue.ref)();
|
|
14107
14107
|
function useGlobalConfig(key, defaultValue = void 0) {
|
|
14108
14108
|
const config = (0, vue.getCurrentInstance)() ? (0, vue.inject)(configProviderContextKey, globalConfig) : globalConfig;
|
|
@@ -14228,7 +14228,7 @@ triggerRef });
|
|
|
14228
14228
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
14229
14229
|
*/
|
|
14230
14230
|
//#endregion
|
|
14231
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14231
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/directives/mousewheel/index.mjs
|
|
14232
14232
|
var SCOPE = "_Mousewheel";
|
|
14233
14233
|
var mousewheel = function(element, callback) {
|
|
14234
14234
|
if (element && element.addEventListener) {
|
|
@@ -14259,7 +14259,7 @@ triggerRef });
|
|
|
14259
14259
|
}
|
|
14260
14260
|
};
|
|
14261
14261
|
//#endregion
|
|
14262
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14262
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox.mjs
|
|
14263
14263
|
/**
|
|
14264
14264
|
* @deprecated Removed after 3.0.0, Use `CheckboxProps` instead.
|
|
14265
14265
|
*/
|
|
@@ -14385,10 +14385,10 @@ triggerRef });
|
|
|
14385
14385
|
change: (val) => isString$3(val) || isNumber$1(val) || isBoolean$1(val)
|
|
14386
14386
|
};
|
|
14387
14387
|
//#endregion
|
|
14388
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14388
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/constants.mjs
|
|
14389
14389
|
var checkboxGroupContextKey = Symbol("checkboxGroupContextKey");
|
|
14390
14390
|
//#endregion
|
|
14391
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14391
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox-group.mjs
|
|
14392
14392
|
/**
|
|
14393
14393
|
* @deprecated Removed after 3.0.0, Use `CheckboxGroupProps` instead.
|
|
14394
14394
|
*/
|
|
@@ -14463,7 +14463,7 @@ triggerRef });
|
|
|
14463
14463
|
disabled: "disabled"
|
|
14464
14464
|
};
|
|
14465
14465
|
//#endregion
|
|
14466
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14466
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs
|
|
14467
14467
|
var useCheckboxDisabled = ({ model, isChecked }) => {
|
|
14468
14468
|
const checkboxGroup = (0, vue.inject)(checkboxGroupContextKey, void 0);
|
|
14469
14469
|
const formContext = (0, vue.inject)(formContextKey, void 0);
|
|
@@ -14481,7 +14481,7 @@ triggerRef });
|
|
|
14481
14481
|
};
|
|
14482
14482
|
};
|
|
14483
14483
|
//#endregion
|
|
14484
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14484
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs
|
|
14485
14485
|
var useCheckboxEvent = (props, { model, isLimitExceeded, hasOwnLabel, isDisabled, isLabeledByFormItem }) => {
|
|
14486
14486
|
const checkboxGroup = (0, vue.inject)(checkboxGroupContextKey, void 0);
|
|
14487
14487
|
const { formItem } = useFormItem();
|
|
@@ -14525,7 +14525,7 @@ triggerRef });
|
|
|
14525
14525
|
};
|
|
14526
14526
|
};
|
|
14527
14527
|
//#endregion
|
|
14528
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14528
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs
|
|
14529
14529
|
var useCheckboxModel = (props) => {
|
|
14530
14530
|
const selfModel = (0, vue.ref)(false);
|
|
14531
14531
|
const { emit, vnode } = (0, vue.getCurrentInstance)();
|
|
@@ -14557,7 +14557,7 @@ triggerRef });
|
|
|
14557
14557
|
};
|
|
14558
14558
|
};
|
|
14559
14559
|
//#endregion
|
|
14560
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14560
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs
|
|
14561
14561
|
var useCheckboxStatus = (props, slots, { model }) => {
|
|
14562
14562
|
const checkboxGroup = (0, vue.inject)(checkboxGroupContextKey, void 0);
|
|
14563
14563
|
const isFocused = (0, vue.ref)(false);
|
|
@@ -14585,7 +14585,7 @@ triggerRef });
|
|
|
14585
14585
|
};
|
|
14586
14586
|
};
|
|
14587
14587
|
//#endregion
|
|
14588
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14588
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs
|
|
14589
14589
|
var useCheckbox = (props, slots) => {
|
|
14590
14590
|
const { formItem: elFormItem } = useFormItem();
|
|
14591
14591
|
const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);
|
|
@@ -14651,7 +14651,7 @@ triggerRef });
|
|
|
14651
14651
|
};
|
|
14652
14652
|
};
|
|
14653
14653
|
//#endregion
|
|
14654
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14654
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox.vue_vue_type_script_setup_true_lang.mjs
|
|
14655
14655
|
var _hoisted_1$8 = [
|
|
14656
14656
|
"id",
|
|
14657
14657
|
"indeterminate",
|
|
@@ -14660,7 +14660,7 @@ triggerRef });
|
|
|
14660
14660
|
"disabled"
|
|
14661
14661
|
];
|
|
14662
14662
|
//#endregion
|
|
14663
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14663
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox2.mjs
|
|
14664
14664
|
var checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
14665
14665
|
name: "ElCheckbox",
|
|
14666
14666
|
__name: "checkbox",
|
|
@@ -14735,14 +14735,14 @@ triggerRef });
|
|
|
14735
14735
|
}
|
|
14736
14736
|
});
|
|
14737
14737
|
//#endregion
|
|
14738
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14738
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox-button.vue_vue_type_script_setup_true_lang.mjs
|
|
14739
14739
|
var _hoisted_1$7 = [
|
|
14740
14740
|
"name",
|
|
14741
14741
|
"tabindex",
|
|
14742
14742
|
"disabled"
|
|
14743
14743
|
];
|
|
14744
14744
|
//#endregion
|
|
14745
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14745
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox-button.mjs
|
|
14746
14746
|
var checkbox_button_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
14747
14747
|
name: "ElCheckboxButton",
|
|
14748
14748
|
__name: "checkbox-button",
|
|
@@ -14800,7 +14800,7 @@ triggerRef });
|
|
|
14800
14800
|
}
|
|
14801
14801
|
});
|
|
14802
14802
|
//#endregion
|
|
14803
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14803
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/src/checkbox-group2.mjs
|
|
14804
14804
|
var checkbox_group_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
14805
14805
|
name: "ElCheckboxGroup",
|
|
14806
14806
|
__name: "checkbox-group",
|
|
@@ -14885,7 +14885,7 @@ triggerRef });
|
|
|
14885
14885
|
}
|
|
14886
14886
|
});
|
|
14887
14887
|
//#endregion
|
|
14888
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14888
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/checkbox/index.mjs
|
|
14889
14889
|
var ElCheckbox = withInstall(checkbox_default, {
|
|
14890
14890
|
CheckboxButton: checkbox_button_default,
|
|
14891
14891
|
CheckboxGroup: checkbox_group_default
|
|
@@ -14893,7 +14893,242 @@ triggerRef });
|
|
|
14893
14893
|
withNoopInstall(checkbox_button_default);
|
|
14894
14894
|
var ElCheckboxGroup = withNoopInstall(checkbox_group_default);
|
|
14895
14895
|
//#endregion
|
|
14896
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14896
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table/defaults.mjs
|
|
14897
|
+
/**
|
|
14898
|
+
* @deprecated Removed after 3.0.0, Use `TableProps` instead.
|
|
14899
|
+
*/
|
|
14900
|
+
var tableProps = {
|
|
14901
|
+
/**
|
|
14902
|
+
* @description table data
|
|
14903
|
+
*/
|
|
14904
|
+
data: {
|
|
14905
|
+
type: Array,
|
|
14906
|
+
default: () => []
|
|
14907
|
+
},
|
|
14908
|
+
/**
|
|
14909
|
+
* @description size of Table
|
|
14910
|
+
*/
|
|
14911
|
+
size: useSizeProp,
|
|
14912
|
+
width: [String, Number],
|
|
14913
|
+
/**
|
|
14914
|
+
* @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles
|
|
14915
|
+
*/
|
|
14916
|
+
height: [String, Number],
|
|
14917
|
+
/**
|
|
14918
|
+
* @description table's max-height. The legal value is a number or the height in px
|
|
14919
|
+
*/
|
|
14920
|
+
maxHeight: [String, Number],
|
|
14921
|
+
/**
|
|
14922
|
+
* @description whether width of column automatically fits its container
|
|
14923
|
+
*/
|
|
14924
|
+
fit: {
|
|
14925
|
+
type: Boolean,
|
|
14926
|
+
default: true
|
|
14927
|
+
},
|
|
14928
|
+
/**
|
|
14929
|
+
* @description whether Table is striped
|
|
14930
|
+
*/
|
|
14931
|
+
stripe: Boolean,
|
|
14932
|
+
/**
|
|
14933
|
+
* @description whether Table has vertical border
|
|
14934
|
+
*/
|
|
14935
|
+
border: Boolean,
|
|
14936
|
+
/**
|
|
14937
|
+
* @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used
|
|
14938
|
+
*/
|
|
14939
|
+
rowKey: [String, Function],
|
|
14940
|
+
/**
|
|
14941
|
+
* @description whether Table header is visible
|
|
14942
|
+
*/
|
|
14943
|
+
showHeader: {
|
|
14944
|
+
type: Boolean,
|
|
14945
|
+
default: true
|
|
14946
|
+
},
|
|
14947
|
+
/**
|
|
14948
|
+
* @description whether to display a summary row
|
|
14949
|
+
*/
|
|
14950
|
+
showSummary: Boolean,
|
|
14951
|
+
/**
|
|
14952
|
+
* @description displayed text for the first column of summary row
|
|
14953
|
+
*/
|
|
14954
|
+
sumText: String,
|
|
14955
|
+
/**
|
|
14956
|
+
* @description custom summary method
|
|
14957
|
+
*/
|
|
14958
|
+
summaryMethod: Function,
|
|
14959
|
+
/**
|
|
14960
|
+
* @description function that returns custom class names for a row, or a string assigning class names for every row
|
|
14961
|
+
*/
|
|
14962
|
+
rowClassName: [String, Function],
|
|
14963
|
+
/**
|
|
14964
|
+
* @description function that returns custom style for a row, or an object assigning custom style for every row
|
|
14965
|
+
*/
|
|
14966
|
+
rowStyle: [Object, Function],
|
|
14967
|
+
/**
|
|
14968
|
+
* @description function that returns custom class names for a cell, or a string assigning class names for every cell
|
|
14969
|
+
*/
|
|
14970
|
+
cellClassName: [String, Function],
|
|
14971
|
+
/**
|
|
14972
|
+
* @description function that returns custom style for a cell, or an object assigning custom style for every cell
|
|
14973
|
+
*/
|
|
14974
|
+
cellStyle: [Object, Function],
|
|
14975
|
+
/**
|
|
14976
|
+
* @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header
|
|
14977
|
+
*/
|
|
14978
|
+
headerRowClassName: [String, Function],
|
|
14979
|
+
/**
|
|
14980
|
+
* @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header
|
|
14981
|
+
*/
|
|
14982
|
+
headerRowStyle: [Object, Function],
|
|
14983
|
+
/**
|
|
14984
|
+
* @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header
|
|
14985
|
+
*/
|
|
14986
|
+
headerCellClassName: [String, Function],
|
|
14987
|
+
/**
|
|
14988
|
+
* @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header
|
|
14989
|
+
*/
|
|
14990
|
+
headerCellStyle: [Object, Function],
|
|
14991
|
+
/**
|
|
14992
|
+
* @description whether current row is highlighted
|
|
14993
|
+
*/
|
|
14994
|
+
highlightCurrentRow: Boolean,
|
|
14995
|
+
/**
|
|
14996
|
+
* @description key of current row, a set only prop
|
|
14997
|
+
*/
|
|
14998
|
+
currentRowKey: [String, Number],
|
|
14999
|
+
/**
|
|
15000
|
+
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
15001
|
+
*/
|
|
15002
|
+
emptyText: String,
|
|
15003
|
+
/**
|
|
15004
|
+
* @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop
|
|
15005
|
+
*/
|
|
15006
|
+
expandRowKeys: Array,
|
|
15007
|
+
/**
|
|
15008
|
+
* @description whether expand all rows by default, works when the table has a column type="expand" or contains tree structure data
|
|
15009
|
+
*/
|
|
15010
|
+
defaultExpandAll: Boolean,
|
|
15011
|
+
/**
|
|
15012
|
+
* @description enable expandable rows, works when the table has a column type="expand"
|
|
15013
|
+
*/
|
|
15014
|
+
rowExpandable: { type: Function },
|
|
15015
|
+
/**
|
|
15016
|
+
* @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order
|
|
15017
|
+
*/
|
|
15018
|
+
defaultSort: Object,
|
|
15019
|
+
/**
|
|
15020
|
+
* @description the `effect` of the overflow tooltip
|
|
15021
|
+
*/
|
|
15022
|
+
tooltipEffect: String,
|
|
15023
|
+
/**
|
|
15024
|
+
* @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)
|
|
15025
|
+
*/
|
|
15026
|
+
tooltipOptions: Object,
|
|
15027
|
+
/**
|
|
15028
|
+
* @description method that returns rowspan and colspan
|
|
15029
|
+
*/
|
|
15030
|
+
spanMethod: Function,
|
|
15031
|
+
/**
|
|
15032
|
+
* @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected
|
|
15033
|
+
*/
|
|
15034
|
+
selectOnIndeterminate: {
|
|
15035
|
+
type: Boolean,
|
|
15036
|
+
default: true
|
|
15037
|
+
},
|
|
15038
|
+
/**
|
|
15039
|
+
* @description horizontal indentation of tree data
|
|
15040
|
+
*/
|
|
15041
|
+
indent: {
|
|
15042
|
+
type: Number,
|
|
15043
|
+
default: 16
|
|
15044
|
+
},
|
|
15045
|
+
/**
|
|
15046
|
+
* @description configuration for rendering nested data
|
|
15047
|
+
*/
|
|
15048
|
+
treeProps: {
|
|
15049
|
+
type: Object,
|
|
15050
|
+
default: () => {
|
|
15051
|
+
return {
|
|
15052
|
+
hasChildren: "hasChildren",
|
|
15053
|
+
children: "children",
|
|
15054
|
+
checkStrictly: false
|
|
15055
|
+
};
|
|
15056
|
+
}
|
|
15057
|
+
},
|
|
15058
|
+
/**
|
|
15059
|
+
* @description whether to lazy loading data
|
|
15060
|
+
*/
|
|
15061
|
+
lazy: Boolean,
|
|
15062
|
+
/**
|
|
15063
|
+
* @description method for loading child row data, only works when `lazy` is true
|
|
15064
|
+
*/
|
|
15065
|
+
load: Function,
|
|
15066
|
+
style: {
|
|
15067
|
+
type: [
|
|
15068
|
+
String,
|
|
15069
|
+
Object,
|
|
15070
|
+
Array,
|
|
15071
|
+
Boolean
|
|
15072
|
+
],
|
|
15073
|
+
default: () => ({})
|
|
15074
|
+
},
|
|
15075
|
+
className: {
|
|
15076
|
+
type: String,
|
|
15077
|
+
default: ""
|
|
15078
|
+
},
|
|
15079
|
+
/**
|
|
15080
|
+
* @description sets the algorithm used to lay out table cells, rows, and columns
|
|
15081
|
+
*/
|
|
15082
|
+
tableLayout: {
|
|
15083
|
+
type: String,
|
|
15084
|
+
default: "fixed"
|
|
15085
|
+
},
|
|
15086
|
+
/**
|
|
15087
|
+
* @description always show scrollbar
|
|
15088
|
+
*/
|
|
15089
|
+
scrollbarAlwaysOn: Boolean,
|
|
15090
|
+
/**
|
|
15091
|
+
* @description ensure main axis minimum-size doesn't follow the content
|
|
15092
|
+
*/
|
|
15093
|
+
flexible: Boolean,
|
|
15094
|
+
/**
|
|
15095
|
+
* @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
|
|
15096
|
+
*/
|
|
15097
|
+
showOverflowTooltip: {
|
|
15098
|
+
type: [Boolean, Object],
|
|
15099
|
+
default: void 0
|
|
15100
|
+
},
|
|
15101
|
+
/**
|
|
15102
|
+
* @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`
|
|
15103
|
+
*/
|
|
15104
|
+
tooltipFormatter: Function,
|
|
15105
|
+
appendFilterPanelTo: String,
|
|
15106
|
+
scrollbarTabindex: {
|
|
15107
|
+
type: [Number, String],
|
|
15108
|
+
default: void 0
|
|
15109
|
+
},
|
|
15110
|
+
/**
|
|
15111
|
+
* @description whether to allow drag the last column
|
|
15112
|
+
*/
|
|
15113
|
+
allowDragLastColumn: {
|
|
15114
|
+
type: Boolean,
|
|
15115
|
+
default: true
|
|
15116
|
+
},
|
|
15117
|
+
/**
|
|
15118
|
+
* @description whether to preserve expanded row content in DOM when collapsed
|
|
15119
|
+
*/
|
|
15120
|
+
preserveExpandedContent: Boolean,
|
|
15121
|
+
/**
|
|
15122
|
+
* @description whether to use native scrollbars
|
|
15123
|
+
*/
|
|
15124
|
+
nativeScrollbar: Boolean
|
|
15125
|
+
};
|
|
15126
|
+
//#endregion
|
|
15127
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/util.mjs
|
|
15128
|
+
var tableIdSeed = 1;
|
|
15129
|
+
var columnIdSeed = 1;
|
|
15130
|
+
var createTableId = (namespace) => `${namespace}-table_${tableIdSeed++}`;
|
|
15131
|
+
var createTableColumnId = (parentId) => `${parentId}_column_${columnIdSeed++}`;
|
|
14897
15132
|
var getCell = function(event) {
|
|
14898
15133
|
return event.target?.closest("td");
|
|
14899
15134
|
};
|
|
@@ -15079,10 +15314,6 @@ triggerRef });
|
|
|
15079
15314
|
});
|
|
15080
15315
|
}
|
|
15081
15316
|
var getTableOverflowTooltipProps = (props, innerText, row, column) => {
|
|
15082
|
-
const popperOptions = {
|
|
15083
|
-
strategy: "fixed",
|
|
15084
|
-
...props.popperOptions
|
|
15085
|
-
};
|
|
15086
15317
|
const tooltipFormatterContent = isFunction$2(column?.tooltipFormatter) ? column.tooltipFormatter({
|
|
15087
15318
|
row,
|
|
15088
15319
|
column,
|
|
@@ -15091,14 +15322,14 @@ triggerRef });
|
|
|
15091
15322
|
if ((0, vue.isVNode)(tooltipFormatterContent)) return {
|
|
15092
15323
|
slotContent: tooltipFormatterContent,
|
|
15093
15324
|
content: null,
|
|
15094
|
-
|
|
15095
|
-
|
|
15325
|
+
strategy: "fixed",
|
|
15326
|
+
...props
|
|
15096
15327
|
};
|
|
15097
15328
|
return {
|
|
15098
15329
|
slotContent: null,
|
|
15099
15330
|
content: tooltipFormatterContent ?? innerText,
|
|
15100
|
-
|
|
15101
|
-
|
|
15331
|
+
strategy: "fixed",
|
|
15332
|
+
...props
|
|
15102
15333
|
};
|
|
15103
15334
|
};
|
|
15104
15335
|
var removePopper = null;
|
|
@@ -15218,7 +15449,7 @@ triggerRef });
|
|
|
15218
15449
|
}) ? vnodes : null;
|
|
15219
15450
|
}
|
|
15220
15451
|
//#endregion
|
|
15221
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15452
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/store/expand.mjs
|
|
15222
15453
|
function useExpand(watcherData) {
|
|
15223
15454
|
const instance = (0, vue.getCurrentInstance)();
|
|
15224
15455
|
const defaultExpandAll = (0, vue.ref)(false);
|
|
@@ -15271,7 +15502,7 @@ triggerRef });
|
|
|
15271
15502
|
};
|
|
15272
15503
|
}
|
|
15273
15504
|
//#endregion
|
|
15274
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15505
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/store/current.mjs
|
|
15275
15506
|
function useCurrent(watcherData) {
|
|
15276
15507
|
const instance = (0, vue.getCurrentInstance)();
|
|
15277
15508
|
const _currentRowKey = (0, vue.ref)(null);
|
|
@@ -15331,7 +15562,7 @@ triggerRef });
|
|
|
15331
15562
|
};
|
|
15332
15563
|
}
|
|
15333
15564
|
//#endregion
|
|
15334
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15565
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/store/tree.mjs
|
|
15335
15566
|
function useTree(watcherData) {
|
|
15336
15567
|
const expandRowKeys = (0, vue.ref)([]);
|
|
15337
15568
|
const treeData = (0, vue.ref)({});
|
|
@@ -15518,7 +15749,7 @@ triggerRef });
|
|
|
15518
15749
|
};
|
|
15519
15750
|
}
|
|
15520
15751
|
//#endregion
|
|
15521
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15752
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/store/watcher.mjs
|
|
15522
15753
|
var sortData = (data, states) => {
|
|
15523
15754
|
const sortingColumn = states.sortingColumn;
|
|
15524
15755
|
if (!sortingColumn || isString$3(sortingColumn.sortable)) return data;
|
|
@@ -16045,7 +16276,7 @@ triggerRef });
|
|
|
16045
16276
|
};
|
|
16046
16277
|
}
|
|
16047
16278
|
//#endregion
|
|
16048
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16279
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/store/index.mjs
|
|
16049
16280
|
function replaceColumn(array, column) {
|
|
16050
16281
|
return array.map((item) => {
|
|
16051
16282
|
if (item.id === column.id) return column;
|
|
@@ -16196,7 +16427,7 @@ triggerRef });
|
|
|
16196
16427
|
};
|
|
16197
16428
|
}
|
|
16198
16429
|
//#endregion
|
|
16199
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16430
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/store/helper.mjs
|
|
16200
16431
|
var InitialStateMap = {
|
|
16201
16432
|
rowKey: "rowKey",
|
|
16202
16433
|
defaultExpandAll: "defaultExpandAll",
|
|
@@ -16254,7 +16485,7 @@ triggerRef });
|
|
|
16254
16485
|
} else return props[key];
|
|
16255
16486
|
}
|
|
16256
16487
|
//#endregion
|
|
16257
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16488
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-layout.mjs
|
|
16258
16489
|
var TableLayout = class {
|
|
16259
16490
|
constructor(options) {
|
|
16260
16491
|
this.observers = [];
|
|
@@ -16423,10 +16654,10 @@ triggerRef });
|
|
|
16423
16654
|
}
|
|
16424
16655
|
};
|
|
16425
16656
|
//#endregion
|
|
16426
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16657
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/tokens.mjs
|
|
16427
16658
|
var TABLE_INJECTION_KEY = Symbol("ElTable");
|
|
16428
16659
|
//#endregion
|
|
16429
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16660
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-header/utils-helper.mjs
|
|
16430
16661
|
var getAllColumns = (columns) => {
|
|
16431
16662
|
const result = [];
|
|
16432
16663
|
columns.forEach((column) => {
|
|
@@ -16490,7 +16721,7 @@ triggerRef });
|
|
|
16490
16721
|
};
|
|
16491
16722
|
}
|
|
16492
16723
|
//#endregion
|
|
16493
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16724
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs
|
|
16494
16725
|
var filter_panel_vue_vue_type_script_lang_default = (0, vue.defineComponent)({
|
|
16495
16726
|
name: "ElTableFilterPanel",
|
|
16496
16727
|
components: {
|
|
@@ -16652,7 +16883,7 @@ triggerRef });
|
|
|
16652
16883
|
}
|
|
16653
16884
|
});
|
|
16654
16885
|
//#endregion
|
|
16655
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16886
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/filter-panel.mjs
|
|
16656
16887
|
var _hoisted_1$6 = ["disabled"];
|
|
16657
16888
|
var _hoisted_2$1 = ["tabindex", "aria-checked"];
|
|
16658
16889
|
var _hoisted_3 = [
|
|
@@ -16661,7 +16892,7 @@ triggerRef });
|
|
|
16661
16892
|
"onClick"
|
|
16662
16893
|
];
|
|
16663
16894
|
var _hoisted_4 = ["aria-label"];
|
|
16664
|
-
function _sfc_render
|
|
16895
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16665
16896
|
const _component_el_checkbox = (0, vue.resolveComponent)("el-checkbox");
|
|
16666
16897
|
const _component_el_checkbox_group = (0, vue.resolveComponent)("el-checkbox-group");
|
|
16667
16898
|
const _component_el_scrollbar = (0, vue.resolveComponent)("el-scrollbar");
|
|
@@ -16757,9 +16988,9 @@ triggerRef });
|
|
|
16757
16988
|
"onHide"
|
|
16758
16989
|
]);
|
|
16759
16990
|
}
|
|
16760
|
-
var filter_panel_default = /* @__PURE__ */ _plugin_vue_export_helper_default$1(filter_panel_vue_vue_type_script_lang_default, [["render", _sfc_render
|
|
16991
|
+
var filter_panel_default = /* @__PURE__ */ _plugin_vue_export_helper_default$1(filter_panel_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
16761
16992
|
//#endregion
|
|
16762
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16993
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/layout-observer.mjs
|
|
16763
16994
|
function useLayoutObserver(root) {
|
|
16764
16995
|
const instance = (0, vue.getCurrentInstance)();
|
|
16765
16996
|
(0, vue.onBeforeMount)(() => {
|
|
@@ -16812,7 +17043,7 @@ triggerRef });
|
|
|
16812
17043
|
};
|
|
16813
17044
|
}
|
|
16814
17045
|
//#endregion
|
|
16815
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17046
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-header/event-helper.mjs
|
|
16816
17047
|
function useEvent(props, emit) {
|
|
16817
17048
|
const instance = (0, vue.getCurrentInstance)();
|
|
16818
17049
|
const parent = (0, vue.inject)(TABLE_INJECTION_KEY);
|
|
@@ -16942,7 +17173,7 @@ triggerRef });
|
|
|
16942
17173
|
if (sortingColumn !== column || sortingColumn === column && isNull(sortingColumn.order)) {
|
|
16943
17174
|
if (sortingColumn) sortingColumn.order = null;
|
|
16944
17175
|
states.sortingColumn.value = column;
|
|
16945
|
-
sortProp = column.property;
|
|
17176
|
+
sortProp = column.property ?? null;
|
|
16946
17177
|
}
|
|
16947
17178
|
if (!order) sortOrder = column.order = null;
|
|
16948
17179
|
else sortOrder = column.order = order;
|
|
@@ -16961,7 +17192,7 @@ triggerRef });
|
|
|
16961
17192
|
};
|
|
16962
17193
|
}
|
|
16963
17194
|
//#endregion
|
|
16964
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17195
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-header/style.helper.mjs
|
|
16965
17196
|
function useStyle$2(props) {
|
|
16966
17197
|
const parent = (0, vue.inject)(TABLE_INJECTION_KEY);
|
|
16967
17198
|
const ns = useNamespace$1("table");
|
|
@@ -17021,7 +17252,7 @@ triggerRef });
|
|
|
17021
17252
|
};
|
|
17022
17253
|
}
|
|
17023
17254
|
//#endregion
|
|
17024
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17255
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-header/index.mjs
|
|
17025
17256
|
var table_header_default = (0, vue.defineComponent)({
|
|
17026
17257
|
name: "ElTableHeader",
|
|
17027
17258
|
components: { ElCheckbox },
|
|
@@ -17184,7 +17415,7 @@ triggerRef });
|
|
|
17184
17415
|
}
|
|
17185
17416
|
});
|
|
17186
17417
|
//#endregion
|
|
17187
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17418
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/events-helper.mjs
|
|
17188
17419
|
function useEvents(props) {
|
|
17189
17420
|
const parent = (0, vue.inject)(TABLE_INJECTION_KEY);
|
|
17190
17421
|
const tooltipContent = (0, vue.ref)("");
|
|
@@ -17294,7 +17525,7 @@ triggerRef });
|
|
|
17294
17525
|
};
|
|
17295
17526
|
}
|
|
17296
17527
|
//#endregion
|
|
17297
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17528
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/styles-helper.mjs
|
|
17298
17529
|
function useStyles(props) {
|
|
17299
17530
|
const parent = (0, vue.inject)(TABLE_INJECTION_KEY);
|
|
17300
17531
|
const ns = useNamespace$1("table");
|
|
@@ -17390,10 +17621,10 @@ triggerRef });
|
|
|
17390
17621
|
};
|
|
17391
17622
|
}
|
|
17392
17623
|
//#endregion
|
|
17393
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17624
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/td-wrapper.vue_vue_type_script_setup_true_lang.mjs
|
|
17394
17625
|
var _hoisted_1$5 = ["colspan", "rowspan"];
|
|
17395
17626
|
//#endregion
|
|
17396
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17627
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/td-wrapper.mjs
|
|
17397
17628
|
var td_wrapper_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
17398
17629
|
name: "TableTdWrapper",
|
|
17399
17630
|
__name: "td-wrapper",
|
|
@@ -17417,7 +17648,7 @@ triggerRef });
|
|
|
17417
17648
|
}
|
|
17418
17649
|
});
|
|
17419
17650
|
//#endregion
|
|
17420
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17651
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/render-helper.mjs
|
|
17421
17652
|
function useRender$1(props) {
|
|
17422
17653
|
const parent = (0, vue.inject)(TABLE_INJECTION_KEY);
|
|
17423
17654
|
const ns = useNamespace$1("table");
|
|
@@ -17583,7 +17814,7 @@ triggerRef });
|
|
|
17583
17814
|
};
|
|
17584
17815
|
}
|
|
17585
17816
|
//#endregion
|
|
17586
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17817
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/defaults.mjs
|
|
17587
17818
|
var defaultProps = {
|
|
17588
17819
|
store: {
|
|
17589
17820
|
required: true,
|
|
@@ -17605,7 +17836,7 @@ triggerRef });
|
|
|
17605
17836
|
highlight: Boolean
|
|
17606
17837
|
};
|
|
17607
17838
|
//#endregion
|
|
17608
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17839
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-body/index.mjs
|
|
17609
17840
|
var table_body_default = (0, vue.defineComponent)({
|
|
17610
17841
|
name: "ElTableBody",
|
|
17611
17842
|
props: defaultProps,
|
|
@@ -17672,7 +17903,7 @@ triggerRef });
|
|
|
17672
17903
|
}
|
|
17673
17904
|
});
|
|
17674
17905
|
//#endregion
|
|
17675
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17906
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-footer/mapState-helper.mjs
|
|
17676
17907
|
function useMapState() {
|
|
17677
17908
|
const store = (0, vue.inject)(TABLE_INJECTION_KEY)?.store;
|
|
17678
17909
|
return {
|
|
@@ -17695,7 +17926,7 @@ triggerRef });
|
|
|
17695
17926
|
};
|
|
17696
17927
|
}
|
|
17697
17928
|
//#endregion
|
|
17698
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17929
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-footer/style-helper.mjs
|
|
17699
17930
|
function useStyle$1(props) {
|
|
17700
17931
|
const { columns } = useMapState();
|
|
17701
17932
|
const ns = useNamespace$1("table");
|
|
@@ -17725,7 +17956,7 @@ triggerRef });
|
|
|
17725
17956
|
};
|
|
17726
17957
|
}
|
|
17727
17958
|
//#endregion
|
|
17728
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17959
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-footer/index.mjs
|
|
17729
17960
|
var table_footer_default = (0, vue.defineComponent)({
|
|
17730
17961
|
name: "ElTableFooter",
|
|
17731
17962
|
props: {
|
|
@@ -17805,7 +18036,7 @@ triggerRef });
|
|
|
17805
18036
|
}
|
|
17806
18037
|
});
|
|
17807
18038
|
//#endregion
|
|
17808
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18039
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table/utils-helper.mjs
|
|
17809
18040
|
function useUtils(store) {
|
|
17810
18041
|
const setCurrentRow = (row) => {
|
|
17811
18042
|
store.commit("setCurrentRow", row);
|
|
@@ -17855,7 +18086,7 @@ triggerRef });
|
|
|
17855
18086
|
};
|
|
17856
18087
|
}
|
|
17857
18088
|
//#endregion
|
|
17858
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18089
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table/style-helper.mjs
|
|
17859
18090
|
function useStyle(props, layout, store, table) {
|
|
17860
18091
|
const isHidden = (0, vue.ref)(false);
|
|
17861
18092
|
const renderExpanded = (0, vue.ref)(null);
|
|
@@ -18049,7 +18280,7 @@ triggerRef });
|
|
|
18049
18280
|
};
|
|
18050
18281
|
}
|
|
18051
18282
|
//#endregion
|
|
18052
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18283
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table/key-render-helper.mjs
|
|
18053
18284
|
function useKeyRender(table) {
|
|
18054
18285
|
let observer;
|
|
18055
18286
|
const initWatchDom = () => {
|
|
@@ -18072,235 +18303,7 @@ triggerRef });
|
|
|
18072
18303
|
});
|
|
18073
18304
|
}
|
|
18074
18305
|
//#endregion
|
|
18075
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18076
|
-
var defaults_default$1 = {
|
|
18077
|
-
/**
|
|
18078
|
-
* @description table data
|
|
18079
|
-
*/
|
|
18080
|
-
data: {
|
|
18081
|
-
type: Array,
|
|
18082
|
-
default: () => []
|
|
18083
|
-
},
|
|
18084
|
-
/**
|
|
18085
|
-
* @description size of Table
|
|
18086
|
-
*/
|
|
18087
|
-
size: useSizeProp,
|
|
18088
|
-
width: [String, Number],
|
|
18089
|
-
/**
|
|
18090
|
-
* @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles
|
|
18091
|
-
*/
|
|
18092
|
-
height: [String, Number],
|
|
18093
|
-
/**
|
|
18094
|
-
* @description table's max-height. The legal value is a number or the height in px
|
|
18095
|
-
*/
|
|
18096
|
-
maxHeight: [String, Number],
|
|
18097
|
-
/**
|
|
18098
|
-
* @description whether width of column automatically fits its container
|
|
18099
|
-
*/
|
|
18100
|
-
fit: {
|
|
18101
|
-
type: Boolean,
|
|
18102
|
-
default: true
|
|
18103
|
-
},
|
|
18104
|
-
/**
|
|
18105
|
-
* @description whether Table is striped
|
|
18106
|
-
*/
|
|
18107
|
-
stripe: Boolean,
|
|
18108
|
-
/**
|
|
18109
|
-
* @description whether Table has vertical border
|
|
18110
|
-
*/
|
|
18111
|
-
border: Boolean,
|
|
18112
|
-
/**
|
|
18113
|
-
* @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used
|
|
18114
|
-
*/
|
|
18115
|
-
rowKey: [String, Function],
|
|
18116
|
-
/**
|
|
18117
|
-
* @description whether Table header is visible
|
|
18118
|
-
*/
|
|
18119
|
-
showHeader: {
|
|
18120
|
-
type: Boolean,
|
|
18121
|
-
default: true
|
|
18122
|
-
},
|
|
18123
|
-
/**
|
|
18124
|
-
* @description whether to display a summary row
|
|
18125
|
-
*/
|
|
18126
|
-
showSummary: Boolean,
|
|
18127
|
-
/**
|
|
18128
|
-
* @description displayed text for the first column of summary row
|
|
18129
|
-
*/
|
|
18130
|
-
sumText: String,
|
|
18131
|
-
/**
|
|
18132
|
-
* @description custom summary method
|
|
18133
|
-
*/
|
|
18134
|
-
summaryMethod: Function,
|
|
18135
|
-
/**
|
|
18136
|
-
* @description function that returns custom class names for a row, or a string assigning class names for every row
|
|
18137
|
-
*/
|
|
18138
|
-
rowClassName: [String, Function],
|
|
18139
|
-
/**
|
|
18140
|
-
* @description function that returns custom style for a row, or an object assigning custom style for every row
|
|
18141
|
-
*/
|
|
18142
|
-
rowStyle: [Object, Function],
|
|
18143
|
-
/**
|
|
18144
|
-
* @description function that returns custom class names for a cell, or a string assigning class names for every cell
|
|
18145
|
-
*/
|
|
18146
|
-
cellClassName: [String, Function],
|
|
18147
|
-
/**
|
|
18148
|
-
* @description function that returns custom style for a cell, or an object assigning custom style for every cell
|
|
18149
|
-
*/
|
|
18150
|
-
cellStyle: [Object, Function],
|
|
18151
|
-
/**
|
|
18152
|
-
* @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header
|
|
18153
|
-
*/
|
|
18154
|
-
headerRowClassName: [String, Function],
|
|
18155
|
-
/**
|
|
18156
|
-
* @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header
|
|
18157
|
-
*/
|
|
18158
|
-
headerRowStyle: [Object, Function],
|
|
18159
|
-
/**
|
|
18160
|
-
* @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header
|
|
18161
|
-
*/
|
|
18162
|
-
headerCellClassName: [String, Function],
|
|
18163
|
-
/**
|
|
18164
|
-
* @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header
|
|
18165
|
-
*/
|
|
18166
|
-
headerCellStyle: [Object, Function],
|
|
18167
|
-
/**
|
|
18168
|
-
* @description whether current row is highlighted
|
|
18169
|
-
*/
|
|
18170
|
-
highlightCurrentRow: Boolean,
|
|
18171
|
-
/**
|
|
18172
|
-
* @description key of current row, a set only prop
|
|
18173
|
-
*/
|
|
18174
|
-
currentRowKey: [String, Number],
|
|
18175
|
-
/**
|
|
18176
|
-
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
18177
|
-
*/
|
|
18178
|
-
emptyText: String,
|
|
18179
|
-
/**
|
|
18180
|
-
* @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop
|
|
18181
|
-
*/
|
|
18182
|
-
expandRowKeys: Array,
|
|
18183
|
-
/**
|
|
18184
|
-
* @description whether expand all rows by default, works when the table has a column type="expand" or contains tree structure data
|
|
18185
|
-
*/
|
|
18186
|
-
defaultExpandAll: Boolean,
|
|
18187
|
-
/**
|
|
18188
|
-
* @description enable expandable rows, works when the table has a column type="expand"
|
|
18189
|
-
*/
|
|
18190
|
-
rowExpandable: { type: Function },
|
|
18191
|
-
/**
|
|
18192
|
-
* @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order
|
|
18193
|
-
*/
|
|
18194
|
-
defaultSort: Object,
|
|
18195
|
-
/**
|
|
18196
|
-
* @description the `effect` of the overflow tooltip
|
|
18197
|
-
*/
|
|
18198
|
-
tooltipEffect: String,
|
|
18199
|
-
/**
|
|
18200
|
-
* @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)
|
|
18201
|
-
*/
|
|
18202
|
-
tooltipOptions: Object,
|
|
18203
|
-
/**
|
|
18204
|
-
* @description method that returns rowspan and colspan
|
|
18205
|
-
*/
|
|
18206
|
-
spanMethod: Function,
|
|
18207
|
-
/**
|
|
18208
|
-
* @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected
|
|
18209
|
-
*/
|
|
18210
|
-
selectOnIndeterminate: {
|
|
18211
|
-
type: Boolean,
|
|
18212
|
-
default: true
|
|
18213
|
-
},
|
|
18214
|
-
/**
|
|
18215
|
-
* @description horizontal indentation of tree data
|
|
18216
|
-
*/
|
|
18217
|
-
indent: {
|
|
18218
|
-
type: Number,
|
|
18219
|
-
default: 16
|
|
18220
|
-
},
|
|
18221
|
-
/**
|
|
18222
|
-
* @description configuration for rendering nested data
|
|
18223
|
-
*/
|
|
18224
|
-
treeProps: {
|
|
18225
|
-
type: Object,
|
|
18226
|
-
default: () => {
|
|
18227
|
-
return {
|
|
18228
|
-
hasChildren: "hasChildren",
|
|
18229
|
-
children: "children",
|
|
18230
|
-
checkStrictly: false
|
|
18231
|
-
};
|
|
18232
|
-
}
|
|
18233
|
-
},
|
|
18234
|
-
/**
|
|
18235
|
-
* @description whether to lazy loading data
|
|
18236
|
-
*/
|
|
18237
|
-
lazy: Boolean,
|
|
18238
|
-
/**
|
|
18239
|
-
* @description method for loading child row data, only works when `lazy` is true
|
|
18240
|
-
*/
|
|
18241
|
-
load: Function,
|
|
18242
|
-
style: {
|
|
18243
|
-
type: [
|
|
18244
|
-
String,
|
|
18245
|
-
Object,
|
|
18246
|
-
Array,
|
|
18247
|
-
Boolean
|
|
18248
|
-
],
|
|
18249
|
-
default: () => ({})
|
|
18250
|
-
},
|
|
18251
|
-
className: {
|
|
18252
|
-
type: String,
|
|
18253
|
-
default: ""
|
|
18254
|
-
},
|
|
18255
|
-
/**
|
|
18256
|
-
* @description sets the algorithm used to lay out table cells, rows, and columns
|
|
18257
|
-
*/
|
|
18258
|
-
tableLayout: {
|
|
18259
|
-
type: String,
|
|
18260
|
-
default: "fixed"
|
|
18261
|
-
},
|
|
18262
|
-
/**
|
|
18263
|
-
* @description always show scrollbar
|
|
18264
|
-
*/
|
|
18265
|
-
scrollbarAlwaysOn: Boolean,
|
|
18266
|
-
/**
|
|
18267
|
-
* @description ensure main axis minimum-size doesn't follow the content
|
|
18268
|
-
*/
|
|
18269
|
-
flexible: Boolean,
|
|
18270
|
-
/**
|
|
18271
|
-
* @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
|
|
18272
|
-
*/
|
|
18273
|
-
showOverflowTooltip: {
|
|
18274
|
-
type: [Boolean, Object],
|
|
18275
|
-
default: void 0
|
|
18276
|
-
},
|
|
18277
|
-
/**
|
|
18278
|
-
* @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`
|
|
18279
|
-
*/
|
|
18280
|
-
tooltipFormatter: Function,
|
|
18281
|
-
appendFilterPanelTo: String,
|
|
18282
|
-
scrollbarTabindex: {
|
|
18283
|
-
type: [Number, String],
|
|
18284
|
-
default: void 0
|
|
18285
|
-
},
|
|
18286
|
-
/**
|
|
18287
|
-
* @description whether to allow drag the last column
|
|
18288
|
-
*/
|
|
18289
|
-
allowDragLastColumn: {
|
|
18290
|
-
type: Boolean,
|
|
18291
|
-
default: true
|
|
18292
|
-
},
|
|
18293
|
-
/**
|
|
18294
|
-
* @description whether to preserve expanded row content in DOM when collapsed
|
|
18295
|
-
*/
|
|
18296
|
-
preserveExpandedContent: Boolean,
|
|
18297
|
-
/**
|
|
18298
|
-
* @description whether to use native scrollbars
|
|
18299
|
-
*/
|
|
18300
|
-
nativeScrollbar: Boolean
|
|
18301
|
-
};
|
|
18302
|
-
//#endregion
|
|
18303
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.0_vue@3.5.34_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/h-helper.mjs
|
|
18306
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/h-helper.mjs
|
|
18304
18307
|
function hColgroup(props) {
|
|
18305
18308
|
const isAuto = props.tableLayout === "auto";
|
|
18306
18309
|
let columns = props.columns || [];
|
|
@@ -18321,7 +18324,7 @@ triggerRef });
|
|
|
18321
18324
|
}
|
|
18322
18325
|
hColgroup.props = ["columns", "tableLayout"];
|
|
18323
18326
|
//#endregion
|
|
18324
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18327
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/composables/use-scrollbar.mjs
|
|
18325
18328
|
var useScrollbar = () => {
|
|
18326
18329
|
const scrollBarRef = (0, vue.ref)();
|
|
18327
18330
|
const scrollTo = (options, yCoord) => {
|
|
@@ -18342,31 +18345,30 @@ triggerRef });
|
|
|
18342
18345
|
};
|
|
18343
18346
|
};
|
|
18344
18347
|
//#endregion
|
|
18345
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18346
|
-
var
|
|
18347
|
-
var
|
|
18348
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs
|
|
18349
|
+
var _hoisted_1$4 = ["data-prefix"];
|
|
18350
|
+
var _hoisted_2 = {
|
|
18351
|
+
ref: "hiddenColumns",
|
|
18352
|
+
class: "hidden-columns"
|
|
18353
|
+
};
|
|
18354
|
+
//#endregion
|
|
18355
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table.mjs
|
|
18356
|
+
var table_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
18348
18357
|
name: "ElTable",
|
|
18349
|
-
|
|
18350
|
-
|
|
18351
|
-
TableHeader: table_header_default,
|
|
18352
|
-
TableBody: table_body_default,
|
|
18353
|
-
TableFooter: table_footer_default,
|
|
18354
|
-
ElScrollbar,
|
|
18355
|
-
hColgroup
|
|
18356
|
-
},
|
|
18357
|
-
props: defaults_default$1,
|
|
18358
|
+
__name: "table",
|
|
18359
|
+
props: tableProps,
|
|
18358
18360
|
emits: [
|
|
18359
18361
|
"select",
|
|
18360
18362
|
"select-all",
|
|
18361
18363
|
"selection-change",
|
|
18362
18364
|
"cell-mouse-enter",
|
|
18363
18365
|
"cell-mouse-leave",
|
|
18366
|
+
"cell-dblclick",
|
|
18364
18367
|
"cell-contextmenu",
|
|
18365
18368
|
"cell-click",
|
|
18366
|
-
"
|
|
18369
|
+
"row-dblclick",
|
|
18367
18370
|
"row-click",
|
|
18368
18371
|
"row-contextmenu",
|
|
18369
|
-
"row-dblclick",
|
|
18370
18372
|
"header-click",
|
|
18371
18373
|
"header-contextmenu",
|
|
18372
18374
|
"sort-change",
|
|
@@ -18376,7 +18378,8 @@ triggerRef });
|
|
|
18376
18378
|
"expand-change",
|
|
18377
18379
|
"scroll"
|
|
18378
18380
|
],
|
|
18379
|
-
setup(
|
|
18381
|
+
setup(__props, { expose: __expose }) {
|
|
18382
|
+
const props = __props;
|
|
18380
18383
|
const { t } = useLocale$1();
|
|
18381
18384
|
const ns = useNamespace$1("table");
|
|
18382
18385
|
const globalConfig = useGlobalConfig("table");
|
|
@@ -18399,7 +18402,8 @@ triggerRef });
|
|
|
18399
18402
|
const { isHidden, renderExpanded, setDragVisible, isGroup, handleMouseLeave, handleHeaderFooterMousewheel, tableSize, emptyBlockStyle, resizeProxyVisible, bodyWidth, resizeState, doLayout, tableBodyStyles, tableLayout, scrollbarViewStyle, scrollbarStyle } = useStyle(props, layout, store, table);
|
|
18400
18403
|
const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar();
|
|
18401
18404
|
const debouncedUpdateLayout = debounce$1(doLayout, 50);
|
|
18402
|
-
const tableId =
|
|
18405
|
+
const tableId = createTableId(ns.namespace.value);
|
|
18406
|
+
const context = table;
|
|
18403
18407
|
table.tableId = tableId;
|
|
18404
18408
|
table.state = {
|
|
18405
18409
|
isGroup,
|
|
@@ -18420,7 +18424,7 @@ triggerRef });
|
|
|
18420
18424
|
(0, vue.onBeforeUnmount)(() => {
|
|
18421
18425
|
debouncedUpdateLayout.cancel();
|
|
18422
18426
|
});
|
|
18423
|
-
|
|
18427
|
+
__expose({
|
|
18424
18428
|
ns,
|
|
18425
18429
|
layout,
|
|
18426
18430
|
store,
|
|
@@ -18485,7 +18489,7 @@ triggerRef });
|
|
|
18485
18489
|
updateKeyChildren,
|
|
18486
18490
|
t,
|
|
18487
18491
|
setDragVisible,
|
|
18488
|
-
context
|
|
18492
|
+
context,
|
|
18489
18493
|
computedSumText,
|
|
18490
18494
|
computedEmptyText,
|
|
18491
18495
|
computedTooltipEffect,
|
|
@@ -18510,583 +18514,212 @@ triggerRef });
|
|
|
18510
18514
|
* @description whether to allow drag the last column
|
|
18511
18515
|
*/
|
|
18512
18516
|
allowDragLastColumn: props.allowDragLastColumn
|
|
18513
|
-
};
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
|
|
18521
|
-
|
|
18522
|
-
|
|
18523
|
-
|
|
18524
|
-
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
|
|
18534
|
-
|
|
18535
|
-
|
|
18536
|
-
|
|
18537
|
-
|
|
18538
|
-
[
|
|
18539
|
-
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
"
|
|
18545
|
-
|
|
18546
|
-
|
|
18547
|
-
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
|
|
18551
|
-
|
|
18552
|
-
"data-prefix": _ctx.ns.namespace.value,
|
|
18553
|
-
onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args))
|
|
18554
|
-
}, [(0, vue.createElementVNode)("div", {
|
|
18555
|
-
ref: "tableInnerWrapper",
|
|
18556
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("inner-wrapper"))
|
|
18557
|
-
}, [
|
|
18558
|
-
(0, vue.createElementVNode)("div", _hoisted_2, [(0, vue.renderSlot)(_ctx.$slots, "default")], 512),
|
|
18559
|
-
_ctx.showHeader && _ctx.tableLayout === "fixed" ? (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18560
|
-
key: 0,
|
|
18561
|
-
ref: "headerWrapper",
|
|
18562
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("header-wrapper"))
|
|
18563
|
-
}, [(0, vue.createElementVNode)("table", {
|
|
18564
|
-
ref: "tableHeader",
|
|
18565
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("header")),
|
|
18566
|
-
style: (0, vue.normalizeStyle)(_ctx.tableBodyStyles),
|
|
18567
|
-
border: "0",
|
|
18568
|
-
cellpadding: "0",
|
|
18569
|
-
cellspacing: "0"
|
|
18570
|
-
}, [(0, vue.createVNode)(_component_hColgroup, {
|
|
18571
|
-
columns: _ctx.store.states.columns.value,
|
|
18572
|
-
"table-layout": _ctx.tableLayout
|
|
18573
|
-
}, null, 8, ["columns", "table-layout"]), (0, vue.createVNode)(_component_table_header, {
|
|
18574
|
-
ref: "tableHeaderRef",
|
|
18575
|
-
border: _ctx.border,
|
|
18576
|
-
"default-sort": _ctx.defaultSort,
|
|
18577
|
-
store: _ctx.store,
|
|
18578
|
-
"append-filter-panel-to": _ctx.appendFilterPanelTo,
|
|
18579
|
-
"allow-drag-last-column": _ctx.allowDragLastColumn,
|
|
18580
|
-
onSetDragVisible: _ctx.setDragVisible
|
|
18581
|
-
}, null, 8, [
|
|
18582
|
-
"border",
|
|
18583
|
-
"default-sort",
|
|
18584
|
-
"store",
|
|
18585
|
-
"append-filter-panel-to",
|
|
18586
|
-
"allow-drag-last-column",
|
|
18587
|
-
"onSetDragVisible"
|
|
18588
|
-
])], 6)], 2)), [[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]]) : (0, vue.createCommentVNode)("v-if", true),
|
|
18589
|
-
(0, vue.createElementVNode)("div", {
|
|
18590
|
-
ref: "bodyWrapper",
|
|
18591
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("body-wrapper"))
|
|
18592
|
-
}, [(0, vue.createVNode)(_component_el_scrollbar, {
|
|
18593
|
-
ref: "scrollBarRef",
|
|
18594
|
-
"view-style": _ctx.scrollbarViewStyle,
|
|
18595
|
-
"wrap-style": _ctx.scrollbarStyle,
|
|
18596
|
-
always: _ctx.scrollbarAlwaysOn,
|
|
18597
|
-
tabindex: _ctx.scrollbarTabindex,
|
|
18598
|
-
native: _ctx.nativeScrollbar,
|
|
18599
|
-
onScroll: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("scroll", $event))
|
|
18600
|
-
}, {
|
|
18601
|
-
default: (0, vue.withCtx)(() => [
|
|
18602
|
-
(0, vue.createElementVNode)("table", {
|
|
18603
|
-
ref: "tableBody",
|
|
18604
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("body")),
|
|
18605
|
-
cellspacing: "0",
|
|
18606
|
-
cellpadding: "0",
|
|
18517
|
+
});
|
|
18518
|
+
return (_ctx, _cache) => {
|
|
18519
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18520
|
+
ref: "tableWrapper",
|
|
18521
|
+
class: (0, vue.normalizeClass)([
|
|
18522
|
+
{
|
|
18523
|
+
[(0, vue.unref)(ns).m("fit")]: __props.fit,
|
|
18524
|
+
[(0, vue.unref)(ns).m("striped")]: __props.stripe,
|
|
18525
|
+
[(0, vue.unref)(ns).m("border")]: __props.border || (0, vue.unref)(isGroup),
|
|
18526
|
+
[(0, vue.unref)(ns).m("hidden")]: (0, vue.unref)(isHidden),
|
|
18527
|
+
[(0, vue.unref)(ns).m("group")]: (0, vue.unref)(isGroup),
|
|
18528
|
+
[(0, vue.unref)(ns).m("fluid-height")]: __props.maxHeight,
|
|
18529
|
+
[(0, vue.unref)(ns).m("scrollable-x")]: (0, vue.unref)(layout).scrollX.value,
|
|
18530
|
+
[(0, vue.unref)(ns).m("scrollable-y")]: (0, vue.unref)(layout).scrollY.value,
|
|
18531
|
+
[(0, vue.unref)(ns).m("enable-row-hover")]: !(0, vue.unref)(store).states.isComplex.value,
|
|
18532
|
+
[(0, vue.unref)(ns).m("enable-row-transition")]: ((0, vue.unref)(store).states.data.value || []).length !== 0 && ((0, vue.unref)(store).states.data.value || []).length < 100,
|
|
18533
|
+
"has-footer": __props.showSummary
|
|
18534
|
+
},
|
|
18535
|
+
(0, vue.unref)(ns).m((0, vue.unref)(tableSize)),
|
|
18536
|
+
__props.className,
|
|
18537
|
+
(0, vue.unref)(ns).b(),
|
|
18538
|
+
(0, vue.unref)(ns).m(`layout-${(0, vue.unref)(tableLayout)}`)
|
|
18539
|
+
]),
|
|
18540
|
+
style: (0, vue.normalizeStyle)(__props.style),
|
|
18541
|
+
"data-prefix": (0, vue.unref)(ns).namespace.value,
|
|
18542
|
+
onMouseleave: _cache[1] || (_cache[1] = (...args) => (0, vue.unref)(handleMouseLeave) && (0, vue.unref)(handleMouseLeave)(...args))
|
|
18543
|
+
}, [(0, vue.createElementVNode)("div", {
|
|
18544
|
+
ref: "tableInnerWrapper",
|
|
18545
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("inner-wrapper"))
|
|
18546
|
+
}, [
|
|
18547
|
+
(0, vue.createElementVNode)("div", _hoisted_2, [(0, vue.renderSlot)(_ctx.$slots, "default")], 512),
|
|
18548
|
+
__props.showHeader && (0, vue.unref)(tableLayout) === "fixed" ? (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18549
|
+
key: 0,
|
|
18550
|
+
ref: "headerWrapper",
|
|
18551
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("header-wrapper"))
|
|
18552
|
+
}, [(0, vue.createElementVNode)("table", {
|
|
18553
|
+
ref: "tableHeader",
|
|
18554
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("header")),
|
|
18555
|
+
style: (0, vue.normalizeStyle)((0, vue.unref)(tableBodyStyles)),
|
|
18607
18556
|
border: "0",
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
|
|
18651
|
-
|
|
18557
|
+
cellpadding: "0",
|
|
18558
|
+
cellspacing: "0"
|
|
18559
|
+
}, [(0, vue.createVNode)((0, vue.unref)(hColgroup), {
|
|
18560
|
+
columns: (0, vue.unref)(store).states.columns.value,
|
|
18561
|
+
"table-layout": (0, vue.unref)(tableLayout)
|
|
18562
|
+
}, null, 8, ["columns", "table-layout"]), (0, vue.createVNode)((0, vue.unref)(table_header_default), {
|
|
18563
|
+
ref: "tableHeaderRef",
|
|
18564
|
+
border: __props.border,
|
|
18565
|
+
"default-sort": __props.defaultSort,
|
|
18566
|
+
store: (0, vue.unref)(store),
|
|
18567
|
+
"append-filter-panel-to": __props.appendFilterPanelTo,
|
|
18568
|
+
"allow-drag-last-column": __props.allowDragLastColumn,
|
|
18569
|
+
onSetDragVisible: (0, vue.unref)(setDragVisible)
|
|
18570
|
+
}, null, 8, [
|
|
18571
|
+
"border",
|
|
18572
|
+
"default-sort",
|
|
18573
|
+
"store",
|
|
18574
|
+
"append-filter-panel-to",
|
|
18575
|
+
"allow-drag-last-column",
|
|
18576
|
+
"onSetDragVisible"
|
|
18577
|
+
])], 6)], 2)), [[(0, vue.unref)(Mousewheel), (0, vue.unref)(handleHeaderFooterMousewheel)]]) : (0, vue.createCommentVNode)("v-if", true),
|
|
18578
|
+
(0, vue.createElementVNode)("div", {
|
|
18579
|
+
ref: "bodyWrapper",
|
|
18580
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("body-wrapper"))
|
|
18581
|
+
}, [(0, vue.createVNode)((0, vue.unref)(ElScrollbar), {
|
|
18582
|
+
ref_key: "scrollBarRef",
|
|
18583
|
+
ref: scrollBarRef,
|
|
18584
|
+
"view-style": (0, vue.unref)(scrollbarViewStyle),
|
|
18585
|
+
"wrap-style": (0, vue.unref)(scrollbarStyle),
|
|
18586
|
+
always: __props.scrollbarAlwaysOn,
|
|
18587
|
+
tabindex: __props.scrollbarTabindex,
|
|
18588
|
+
native: __props.nativeScrollbar,
|
|
18589
|
+
onScroll: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("scroll", $event))
|
|
18590
|
+
}, {
|
|
18591
|
+
default: (0, vue.withCtx)(() => [
|
|
18592
|
+
(0, vue.createElementVNode)("table", {
|
|
18593
|
+
ref: "tableBody",
|
|
18594
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("body")),
|
|
18595
|
+
cellspacing: "0",
|
|
18596
|
+
cellpadding: "0",
|
|
18597
|
+
border: "0",
|
|
18598
|
+
style: (0, vue.normalizeStyle)({
|
|
18599
|
+
width: (0, vue.unref)(bodyWidth),
|
|
18600
|
+
tableLayout: (0, vue.unref)(tableLayout)
|
|
18601
|
+
})
|
|
18602
|
+
}, [
|
|
18603
|
+
(0, vue.createVNode)((0, vue.unref)(hColgroup), {
|
|
18604
|
+
columns: (0, vue.unref)(store).states.columns.value,
|
|
18605
|
+
"table-layout": (0, vue.unref)(tableLayout)
|
|
18606
|
+
}, null, 8, ["columns", "table-layout"]),
|
|
18607
|
+
__props.showHeader && (0, vue.unref)(tableLayout) === "auto" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(table_header_default), {
|
|
18608
|
+
key: 0,
|
|
18609
|
+
ref: "tableHeaderRef",
|
|
18610
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("body-header")),
|
|
18611
|
+
border: __props.border,
|
|
18612
|
+
"default-sort": __props.defaultSort,
|
|
18613
|
+
store: (0, vue.unref)(store),
|
|
18614
|
+
"append-filter-panel-to": __props.appendFilterPanelTo,
|
|
18615
|
+
onSetDragVisible: (0, vue.unref)(setDragVisible)
|
|
18616
|
+
}, null, 8, [
|
|
18617
|
+
"class",
|
|
18618
|
+
"border",
|
|
18619
|
+
"default-sort",
|
|
18620
|
+
"store",
|
|
18621
|
+
"append-filter-panel-to",
|
|
18622
|
+
"onSetDragVisible"
|
|
18623
|
+
])) : (0, vue.createCommentVNode)("v-if", true),
|
|
18624
|
+
(0, vue.createVNode)((0, vue.unref)(table_body_default), {
|
|
18625
|
+
context: (0, vue.unref)(context),
|
|
18626
|
+
highlight: __props.highlightCurrentRow,
|
|
18627
|
+
"row-class-name": __props.rowClassName,
|
|
18628
|
+
"tooltip-effect": computedTooltipEffect.value,
|
|
18629
|
+
"tooltip-options": computedTooltipOptions.value,
|
|
18630
|
+
"row-style": __props.rowStyle,
|
|
18631
|
+
store: (0, vue.unref)(store),
|
|
18632
|
+
stripe: __props.stripe
|
|
18633
|
+
}, null, 8, [
|
|
18634
|
+
"context",
|
|
18635
|
+
"highlight",
|
|
18636
|
+
"row-class-name",
|
|
18637
|
+
"tooltip-effect",
|
|
18638
|
+
"tooltip-options",
|
|
18639
|
+
"row-style",
|
|
18640
|
+
"store",
|
|
18641
|
+
"stripe"
|
|
18642
|
+
]),
|
|
18643
|
+
__props.showSummary && (0, vue.unref)(tableLayout) === "auto" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(table_footer_default), {
|
|
18644
|
+
key: 1,
|
|
18645
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("body-footer")),
|
|
18646
|
+
border: __props.border,
|
|
18647
|
+
"default-sort": __props.defaultSort,
|
|
18648
|
+
store: (0, vue.unref)(store),
|
|
18649
|
+
"sum-text": computedSumText.value,
|
|
18650
|
+
"summary-method": __props.summaryMethod
|
|
18651
|
+
}, null, 8, [
|
|
18652
|
+
"class",
|
|
18653
|
+
"border",
|
|
18654
|
+
"default-sort",
|
|
18655
|
+
"store",
|
|
18656
|
+
"sum-text",
|
|
18657
|
+
"summary-method"
|
|
18658
|
+
])) : (0, vue.createCommentVNode)("v-if", true)
|
|
18659
|
+
], 6),
|
|
18660
|
+
isEmpty.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18661
|
+
key: 0,
|
|
18662
|
+
ref: "emptyBlock",
|
|
18663
|
+
style: (0, vue.normalizeStyle)((0, vue.unref)(emptyBlockStyle)),
|
|
18664
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("empty-block"))
|
|
18665
|
+
}, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("empty-text")) }, [(0, vue.renderSlot)(_ctx.$slots, "empty", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(computedEmptyText.value), 1)])], 2)], 6)) : (0, vue.createCommentVNode)("v-if", true),
|
|
18666
|
+
_ctx.$slots.append ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18667
|
+
key: 1,
|
|
18668
|
+
ref: "appendWrapper",
|
|
18669
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("append-wrapper"))
|
|
18670
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "append")], 2)) : (0, vue.createCommentVNode)("v-if", true)
|
|
18652
18671
|
]),
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
"class",
|
|
18663
|
-
"border",
|
|
18664
|
-
"default-sort",
|
|
18665
|
-
"store",
|
|
18666
|
-
"sum-text",
|
|
18667
|
-
"summary-method"
|
|
18668
|
-
])) : (0, vue.createCommentVNode)("v-if", true)
|
|
18669
|
-
], 6),
|
|
18670
|
-
_ctx.isEmpty ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18671
|
-
key: 0,
|
|
18672
|
-
ref: "emptyBlock",
|
|
18673
|
-
style: (0, vue.normalizeStyle)(_ctx.emptyBlockStyle),
|
|
18674
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("empty-block"))
|
|
18675
|
-
}, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(_ctx.ns.e("empty-text")) }, [(0, vue.renderSlot)(_ctx.$slots, "empty", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(_ctx.computedEmptyText), 1)])], 2)], 6)) : (0, vue.createCommentVNode)("v-if", true),
|
|
18676
|
-
_ctx.$slots.append ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18672
|
+
_: 3
|
|
18673
|
+
}, 8, [
|
|
18674
|
+
"view-style",
|
|
18675
|
+
"wrap-style",
|
|
18676
|
+
"always",
|
|
18677
|
+
"tabindex",
|
|
18678
|
+
"native"
|
|
18679
|
+
])], 2),
|
|
18680
|
+
__props.showSummary && (0, vue.unref)(tableLayout) === "fixed" ? (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18677
18681
|
key: 1,
|
|
18678
|
-
ref: "
|
|
18679
|
-
class: (0, vue.normalizeClass)(
|
|
18680
|
-
}, [(0, vue.
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
|
|
18693
|
-
|
|
18694
|
-
|
|
18695
|
-
|
|
18696
|
-
|
|
18697
|
-
|
|
18698
|
-
|
|
18699
|
-
|
|
18700
|
-
|
|
18701
|
-
|
|
18702
|
-
|
|
18703
|
-
|
|
18704
|
-
|
|
18705
|
-
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
"border",
|
|
18711
|
-
"default-sort",
|
|
18712
|
-
"store",
|
|
18713
|
-
"sum-text",
|
|
18714
|
-
"summary-method"
|
|
18715
|
-
])], 6)], 2)), [[vue.vShow, !_ctx.isEmpty], [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]]) : (0, vue.createCommentVNode)("v-if", true),
|
|
18716
|
-
_ctx.border || _ctx.isGroup ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18717
|
-
key: 2,
|
|
18718
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("border-left-patch"))
|
|
18719
|
-
}, null, 2)) : (0, vue.createCommentVNode)("v-if", true)
|
|
18720
|
-
], 2), (0, vue.withDirectives)((0, vue.createElementVNode)("div", {
|
|
18721
|
-
ref: "resizeProxy",
|
|
18722
|
-
class: (0, vue.normalizeClass)(_ctx.ns.e("column-resize-proxy"))
|
|
18723
|
-
}, null, 2), [[vue.vShow, _ctx.resizeProxyVisible]])], 46, _hoisted_1$4);
|
|
18724
|
-
}
|
|
18725
|
-
var table_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default$1(table_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
18726
|
-
//#endregion
|
|
18727
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.0_vue@3.5.34_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/config.mjs
|
|
18728
|
-
var defaultClassNames = {
|
|
18729
|
-
selection: "table-column--selection",
|
|
18730
|
-
expand: "table__expand-column"
|
|
18731
|
-
};
|
|
18732
|
-
var cellStarts = {
|
|
18733
|
-
default: { order: "" },
|
|
18734
|
-
selection: {
|
|
18735
|
-
width: 48,
|
|
18736
|
-
minWidth: 48,
|
|
18737
|
-
realWidth: 48,
|
|
18738
|
-
order: ""
|
|
18739
|
-
},
|
|
18740
|
-
expand: {
|
|
18741
|
-
width: 48,
|
|
18742
|
-
minWidth: 48,
|
|
18743
|
-
realWidth: 48,
|
|
18744
|
-
order: ""
|
|
18745
|
-
},
|
|
18746
|
-
index: {
|
|
18747
|
-
width: 48,
|
|
18748
|
-
minWidth: 48,
|
|
18749
|
-
realWidth: 48,
|
|
18750
|
-
order: ""
|
|
18751
|
-
}
|
|
18752
|
-
};
|
|
18753
|
-
var getDefaultClassName = (type) => {
|
|
18754
|
-
return defaultClassNames[type] || "";
|
|
18755
|
-
};
|
|
18756
|
-
var cellForced = {
|
|
18757
|
-
selection: {
|
|
18758
|
-
renderHeader({ store }) {
|
|
18759
|
-
function isDisabled() {
|
|
18760
|
-
return store.states.data.value && store.states.data.value.length === 0;
|
|
18761
|
-
}
|
|
18762
|
-
return (0, vue.h)(ElCheckbox, {
|
|
18763
|
-
disabled: isDisabled(),
|
|
18764
|
-
size: store.states.tableSize.value,
|
|
18765
|
-
indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,
|
|
18766
|
-
"onUpdate:modelValue": store.toggleAllSelection ?? void 0,
|
|
18767
|
-
modelValue: store.states.isAllSelected.value,
|
|
18768
|
-
ariaLabel: store.t("el.table.selectAllLabel")
|
|
18769
|
-
});
|
|
18770
|
-
},
|
|
18771
|
-
renderCell({ row, column, store, $index }) {
|
|
18772
|
-
return (0, vue.h)(ElCheckbox, {
|
|
18773
|
-
disabled: column.selectable ? !column.selectable.call(null, row, $index) : false,
|
|
18774
|
-
size: store.states.tableSize.value,
|
|
18775
|
-
onChange: () => {
|
|
18776
|
-
store.commit("rowSelectedChanged", row);
|
|
18777
|
-
},
|
|
18778
|
-
onClick: (event) => event.stopPropagation(),
|
|
18779
|
-
modelValue: store.isSelected(row),
|
|
18780
|
-
indeterminate: store.getRowIndeterminate(row),
|
|
18781
|
-
ariaLabel: store.t("el.table.selectRowLabel")
|
|
18782
|
-
});
|
|
18783
|
-
},
|
|
18784
|
-
sortable: false,
|
|
18785
|
-
resizable: false
|
|
18786
|
-
},
|
|
18787
|
-
index: {
|
|
18788
|
-
renderHeader({ column }) {
|
|
18789
|
-
return column.label || "#";
|
|
18790
|
-
},
|
|
18791
|
-
renderCell({ column, $index }) {
|
|
18792
|
-
let i = $index + 1;
|
|
18793
|
-
const index = column.index;
|
|
18794
|
-
if (isNumber$1(index)) i = $index + index;
|
|
18795
|
-
else if (isFunction$2(index)) i = index($index);
|
|
18796
|
-
return (0, vue.h)("div", {}, [i]);
|
|
18797
|
-
},
|
|
18798
|
-
sortable: false
|
|
18799
|
-
},
|
|
18800
|
-
expand: {
|
|
18801
|
-
renderHeader({ column }) {
|
|
18802
|
-
return column.label || "";
|
|
18803
|
-
},
|
|
18804
|
-
renderCell({ column, row, store, expanded, $index }) {
|
|
18805
|
-
const { ns } = store;
|
|
18806
|
-
const classes = [ns.e("expand-icon")];
|
|
18807
|
-
if (!column.renderExpand && expanded) classes.push(ns.em("expand-icon", "expanded"));
|
|
18808
|
-
const callback = function(e) {
|
|
18809
|
-
e.stopPropagation();
|
|
18810
|
-
store.toggleRowExpansion(row);
|
|
18811
|
-
};
|
|
18812
|
-
const isRowExpandable = store.states.rowExpandable.value?.(row, $index) ?? true;
|
|
18813
|
-
if (!isRowExpandable) classes.push(ns.is("disabled"));
|
|
18814
|
-
return (0, vue.h)("button", {
|
|
18815
|
-
type: "button",
|
|
18816
|
-
disabled: !isRowExpandable,
|
|
18817
|
-
"aria-label": store.t(expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18818
|
-
"aria-expanded": expanded,
|
|
18819
|
-
class: classes,
|
|
18820
|
-
onClick: callback
|
|
18821
|
-
}, { default: () => {
|
|
18822
|
-
if (column.renderExpand) return [column.renderExpand({
|
|
18823
|
-
expanded,
|
|
18824
|
-
expandable: isRowExpandable
|
|
18825
|
-
})];
|
|
18826
|
-
return [(0, vue.h)(ElIcon, null, { default: () => {
|
|
18827
|
-
return [(0, vue.h)(arrow_right_default)];
|
|
18828
|
-
} })];
|
|
18829
|
-
} });
|
|
18830
|
-
},
|
|
18831
|
-
sortable: false,
|
|
18832
|
-
resizable: false
|
|
18833
|
-
}
|
|
18834
|
-
};
|
|
18835
|
-
function defaultRenderCell({ row, column, $index }) {
|
|
18836
|
-
const property = column.property;
|
|
18837
|
-
const value = property && getProp(row, property).value;
|
|
18838
|
-
if (column && column.formatter) return column.formatter(row, column, value, $index);
|
|
18839
|
-
return value?.toString?.() || "";
|
|
18840
|
-
}
|
|
18841
|
-
function treeCellPrefix({ row, treeNode, store }, createPlaceholder = false) {
|
|
18842
|
-
const { ns } = store;
|
|
18843
|
-
if (!treeNode) {
|
|
18844
|
-
if (createPlaceholder) return [(0, vue.h)("span", { class: ns.e("placeholder") })];
|
|
18845
|
-
return null;
|
|
18846
|
-
}
|
|
18847
|
-
const ele = [];
|
|
18848
|
-
const callback = function(e) {
|
|
18849
|
-
e.stopPropagation();
|
|
18850
|
-
if (treeNode.loading) return;
|
|
18851
|
-
store.loadOrToggle(row);
|
|
18852
|
-
};
|
|
18853
|
-
if (treeNode.indent) ele.push((0, vue.h)("span", {
|
|
18854
|
-
class: ns.e("indent"),
|
|
18855
|
-
style: { "padding-left": `${treeNode.indent}px` }
|
|
18856
|
-
}));
|
|
18857
|
-
if (isBoolean$1(treeNode.expanded) && !treeNode.noLazyChildren) {
|
|
18858
|
-
const expandClasses = [ns.e("expand-icon"), treeNode.expanded ? ns.em("expand-icon", "expanded") : ""];
|
|
18859
|
-
let icon = arrow_right_default;
|
|
18860
|
-
if (treeNode.loading) icon = loading_default;
|
|
18861
|
-
ele.push((0, vue.h)("button", {
|
|
18862
|
-
type: "button",
|
|
18863
|
-
"aria-label": store.t(treeNode.expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18864
|
-
"aria-expanded": treeNode.expanded,
|
|
18865
|
-
class: expandClasses,
|
|
18866
|
-
onClick: callback
|
|
18867
|
-
}, { default: () => {
|
|
18868
|
-
return [(0, vue.h)(ElIcon, { class: ns.is("loading", treeNode.loading) }, { default: () => [(0, vue.h)(icon)] })];
|
|
18869
|
-
} }));
|
|
18870
|
-
} else ele.push((0, vue.h)("span", { class: ns.e("placeholder") }));
|
|
18871
|
-
return ele;
|
|
18872
|
-
}
|
|
18873
|
-
//#endregion
|
|
18874
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.0_vue@3.5.34_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-column/watcher-helper.mjs
|
|
18875
|
-
function getAllAliases(props, aliases) {
|
|
18876
|
-
return props.reduce((prev, cur) => {
|
|
18877
|
-
prev[cur] = cur;
|
|
18878
|
-
return prev;
|
|
18879
|
-
}, aliases);
|
|
18880
|
-
}
|
|
18881
|
-
function useWatcher(owner, props_) {
|
|
18882
|
-
const instance = (0, vue.getCurrentInstance)();
|
|
18883
|
-
const registerComplexWatchers = () => {
|
|
18884
|
-
const props = ["fixed"];
|
|
18885
|
-
const aliases = {
|
|
18886
|
-
realWidth: "width",
|
|
18887
|
-
realMinWidth: "minWidth"
|
|
18888
|
-
};
|
|
18889
|
-
const allAliases = getAllAliases(props, aliases);
|
|
18890
|
-
Object.keys(allAliases).forEach((key) => {
|
|
18891
|
-
const columnKey = aliases[key];
|
|
18892
|
-
if (hasOwn(props_, columnKey)) (0, vue.watch)(() => props_[columnKey], (newVal) => {
|
|
18893
|
-
let value = newVal;
|
|
18894
|
-
if (columnKey === "width" && key === "realWidth") value = parseWidth(newVal);
|
|
18895
|
-
if (columnKey === "minWidth" && key === "realMinWidth") value = parseMinWidth(newVal);
|
|
18896
|
-
instance.columnConfig.value[columnKey] = value;
|
|
18897
|
-
instance.columnConfig.value[key] = value;
|
|
18898
|
-
const updateColumns = columnKey === "fixed";
|
|
18899
|
-
owner.value.store.scheduleLayout(updateColumns);
|
|
18900
|
-
});
|
|
18901
|
-
});
|
|
18902
|
-
};
|
|
18903
|
-
const registerNormalWatchers = () => {
|
|
18904
|
-
const props = [
|
|
18905
|
-
"label",
|
|
18906
|
-
"filters",
|
|
18907
|
-
"filterMultiple",
|
|
18908
|
-
"filteredValue",
|
|
18909
|
-
"sortable",
|
|
18910
|
-
"index",
|
|
18911
|
-
"formatter",
|
|
18912
|
-
"className",
|
|
18913
|
-
"labelClassName",
|
|
18914
|
-
"filterClassName",
|
|
18915
|
-
"showOverflowTooltip",
|
|
18916
|
-
"tooltipFormatter",
|
|
18917
|
-
"resizable"
|
|
18918
|
-
];
|
|
18919
|
-
const parentProps = ["showOverflowTooltip"];
|
|
18920
|
-
const aliases = {
|
|
18921
|
-
property: "prop",
|
|
18922
|
-
align: "realAlign",
|
|
18923
|
-
headerAlign: "realHeaderAlign"
|
|
18924
|
-
};
|
|
18925
|
-
const allAliases = getAllAliases(props, aliases);
|
|
18926
|
-
Object.keys(allAliases).forEach((key) => {
|
|
18927
|
-
const columnKey = aliases[key];
|
|
18928
|
-
if (hasOwn(props_, columnKey)) (0, vue.watch)(() => props_[columnKey], (newVal) => {
|
|
18929
|
-
instance.columnConfig.value[key] = newVal;
|
|
18930
|
-
if (key === "filters" || key === "filterMethod") instance.columnConfig.value["filterable"] = !!(instance.columnConfig.value["filters"] || instance.columnConfig.value["filterMethod"]);
|
|
18931
|
-
});
|
|
18932
|
-
});
|
|
18933
|
-
parentProps.forEach((key) => {
|
|
18934
|
-
if (hasOwn(owner.value.props, key)) (0, vue.watch)(() => owner.value.props[key], (newVal) => {
|
|
18935
|
-
if (instance.columnConfig.value.type === "selection") return;
|
|
18936
|
-
if (!isUndefined$1(props_[key])) return;
|
|
18937
|
-
instance.columnConfig.value[key] = newVal;
|
|
18938
|
-
});
|
|
18939
|
-
});
|
|
18940
|
-
const globalConfig = useGlobalConfig("table");
|
|
18941
|
-
if (globalConfig.value && hasOwn(globalConfig.value, "showOverflowTooltip")) (0, vue.watch)(() => globalConfig.value?.showOverflowTooltip, (newVal) => {
|
|
18942
|
-
if (instance.columnConfig.value.type === "selection") return;
|
|
18943
|
-
if (!isUndefined$1(props_.showOverflowTooltip) || !isUndefined$1(owner.value.props.showOverflowTooltip)) return;
|
|
18944
|
-
instance.columnConfig.value.showOverflowTooltip = newVal;
|
|
18945
|
-
});
|
|
18946
|
-
};
|
|
18947
|
-
return {
|
|
18948
|
-
registerComplexWatchers,
|
|
18949
|
-
registerNormalWatchers
|
|
18950
|
-
};
|
|
18951
|
-
}
|
|
18952
|
-
//#endregion
|
|
18953
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.0_vue@3.5.34_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-column/render-helper.mjs
|
|
18954
|
-
function useRender(props, slots, owner) {
|
|
18955
|
-
const instance = (0, vue.getCurrentInstance)();
|
|
18956
|
-
const columnId = (0, vue.ref)("");
|
|
18957
|
-
const isSubColumn = (0, vue.ref)(false);
|
|
18958
|
-
const realAlign = (0, vue.ref)();
|
|
18959
|
-
const realHeaderAlign = (0, vue.ref)();
|
|
18960
|
-
const ns = useNamespace$1("table");
|
|
18961
|
-
(0, vue.watchEffect)(() => {
|
|
18962
|
-
realAlign.value = props.align ? `is-${props.align}` : null;
|
|
18963
|
-
realAlign.value;
|
|
18964
|
-
});
|
|
18965
|
-
(0, vue.watchEffect)(() => {
|
|
18966
|
-
realHeaderAlign.value = props.headerAlign ? `is-${props.headerAlign}` : realAlign.value;
|
|
18967
|
-
realHeaderAlign.value;
|
|
18968
|
-
});
|
|
18969
|
-
const columnOrTableParent = (0, vue.computed)(() => {
|
|
18970
|
-
let parent = instance.vnode.vParent || instance.parent;
|
|
18971
|
-
while (parent && !parent.tableId && !parent.columnId) parent = parent.vnode.vParent || parent.parent;
|
|
18972
|
-
return parent;
|
|
18973
|
-
});
|
|
18974
|
-
const hasTreeColumn = (0, vue.computed)(() => {
|
|
18975
|
-
const { store } = instance.parent;
|
|
18976
|
-
if (!store) return false;
|
|
18977
|
-
const { treeData } = store.states;
|
|
18978
|
-
const treeDataValue = treeData.value;
|
|
18979
|
-
return treeDataValue && Object.keys(treeDataValue).length > 0;
|
|
18980
|
-
});
|
|
18981
|
-
const realWidth = (0, vue.ref)(parseWidth(props.width));
|
|
18982
|
-
const realMinWidth = (0, vue.ref)(parseMinWidth(props.minWidth));
|
|
18983
|
-
const setColumnWidth = (column) => {
|
|
18984
|
-
if (realWidth.value) column.width = realWidth.value;
|
|
18985
|
-
if (realMinWidth.value) column.minWidth = realMinWidth.value;
|
|
18986
|
-
if (!realWidth.value && realMinWidth.value) column.width = void 0;
|
|
18987
|
-
if (!column.minWidth) column.minWidth = 80;
|
|
18988
|
-
column.realWidth = Number(isUndefined$1(column.width) ? column.minWidth : column.width);
|
|
18989
|
-
return column;
|
|
18990
|
-
};
|
|
18991
|
-
const setColumnForcedProps = (column) => {
|
|
18992
|
-
const type = column.type;
|
|
18993
|
-
const source = cellForced[type] || {};
|
|
18994
|
-
Object.keys(source).forEach((prop) => {
|
|
18995
|
-
const value = source[prop];
|
|
18996
|
-
if (prop !== "className" && !isUndefined$1(value)) column[prop] = value;
|
|
18997
|
-
});
|
|
18998
|
-
const className = getDefaultClassName(type);
|
|
18999
|
-
if (className) {
|
|
19000
|
-
const forceClass = `${(0, vue.unref)(ns.namespace)}-${className}`;
|
|
19001
|
-
column.className = column.className ? `${column.className} ${forceClass}` : forceClass;
|
|
19002
|
-
}
|
|
19003
|
-
return column;
|
|
19004
|
-
};
|
|
19005
|
-
const checkSubColumn = (children) => {
|
|
19006
|
-
if (isArray$1(children)) children.forEach((child) => check(child));
|
|
19007
|
-
else check(children);
|
|
19008
|
-
function check(item) {
|
|
19009
|
-
if (item?.type?.name === "ElTableColumn") item.vParent = instance;
|
|
19010
|
-
}
|
|
19011
|
-
};
|
|
19012
|
-
const setColumnRenders = (column) => {
|
|
19013
|
-
if (props.renderHeader) debugWarn("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.");
|
|
19014
|
-
else if (column.type !== "selection") column.renderHeader = (scope) => {
|
|
19015
|
-
instance.columnConfig.value["label"];
|
|
19016
|
-
if (slots.header) {
|
|
19017
|
-
const slotResult = slots.header(scope);
|
|
19018
|
-
if (ensureValidVNode(slotResult)) return (0, vue.h)(vue.Fragment, slotResult);
|
|
19019
|
-
}
|
|
19020
|
-
return (0, vue.createTextVNode)(column.label);
|
|
19021
|
-
};
|
|
19022
|
-
if (slots["filter-icon"]) column.renderFilterIcon = (scope) => {
|
|
19023
|
-
return (0, vue.renderSlot)(slots, "filter-icon", scope);
|
|
19024
|
-
};
|
|
19025
|
-
if (slots.expand) column.renderExpand = (scope) => {
|
|
19026
|
-
return (0, vue.renderSlot)(slots, "expand", scope);
|
|
18682
|
+
ref: "footerWrapper",
|
|
18683
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("footer-wrapper"))
|
|
18684
|
+
}, [(0, vue.createElementVNode)("table", {
|
|
18685
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("footer")),
|
|
18686
|
+
cellspacing: "0",
|
|
18687
|
+
cellpadding: "0",
|
|
18688
|
+
border: "0",
|
|
18689
|
+
style: (0, vue.normalizeStyle)((0, vue.unref)(tableBodyStyles))
|
|
18690
|
+
}, [(0, vue.createVNode)((0, vue.unref)(hColgroup), {
|
|
18691
|
+
columns: (0, vue.unref)(store).states.columns.value,
|
|
18692
|
+
"table-layout": (0, vue.unref)(tableLayout)
|
|
18693
|
+
}, null, 8, ["columns", "table-layout"]), (0, vue.createVNode)((0, vue.unref)(table_footer_default), {
|
|
18694
|
+
border: __props.border,
|
|
18695
|
+
"default-sort": __props.defaultSort,
|
|
18696
|
+
store: (0, vue.unref)(store),
|
|
18697
|
+
"sum-text": computedSumText.value,
|
|
18698
|
+
"summary-method": __props.summaryMethod
|
|
18699
|
+
}, null, 8, [
|
|
18700
|
+
"border",
|
|
18701
|
+
"default-sort",
|
|
18702
|
+
"store",
|
|
18703
|
+
"sum-text",
|
|
18704
|
+
"summary-method"
|
|
18705
|
+
])], 6)], 2)), [[vue.vShow, !isEmpty.value], [(0, vue.unref)(Mousewheel), (0, vue.unref)(handleHeaderFooterMousewheel)]]) : (0, vue.createCommentVNode)("v-if", true),
|
|
18706
|
+
__props.border || (0, vue.unref)(isGroup) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
18707
|
+
key: 2,
|
|
18708
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("border-left-patch"))
|
|
18709
|
+
}, null, 2)) : (0, vue.createCommentVNode)("v-if", true)
|
|
18710
|
+
], 2), (0, vue.withDirectives)((0, vue.createElementVNode)("div", {
|
|
18711
|
+
ref: "resizeProxy",
|
|
18712
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("column-resize-proxy"))
|
|
18713
|
+
}, null, 2), [[vue.vShow, (0, vue.unref)(resizeProxyVisible)]])], 46, _hoisted_1$4);
|
|
19027
18714
|
};
|
|
19028
|
-
|
|
19029
|
-
|
|
19030
|
-
column.renderCell = (data) => (0, vue.h)("div", { class: "cell" }, [originRenderCell(data)]);
|
|
19031
|
-
owner.value.renderExpanded = (row) => {
|
|
19032
|
-
return slots.default ? slots.default(row) : slots.default;
|
|
19033
|
-
};
|
|
19034
|
-
} else {
|
|
19035
|
-
originRenderCell = originRenderCell || defaultRenderCell;
|
|
19036
|
-
column.renderCell = (data) => {
|
|
19037
|
-
let children = null;
|
|
19038
|
-
if (slots.default) {
|
|
19039
|
-
const vnodes = slots.default(data);
|
|
19040
|
-
children = vnodes.some((v) => v.type !== vue.Comment) ? vnodes : originRenderCell(data);
|
|
19041
|
-
} else children = originRenderCell(data);
|
|
19042
|
-
const { columns } = owner.value.store.states;
|
|
19043
|
-
const firstUserColumnIndex = columns.value.findIndex((item) => item.type === "default");
|
|
19044
|
-
const prefix = treeCellPrefix(data, hasTreeColumn.value && data.cellIndex === firstUserColumnIndex);
|
|
19045
|
-
const props = {
|
|
19046
|
-
class: "cell",
|
|
19047
|
-
style: {}
|
|
19048
|
-
};
|
|
19049
|
-
if (column.showOverflowTooltip) {
|
|
19050
|
-
props.class = `${props.class} ${(0, vue.unref)(ns.namespace)}-tooltip`;
|
|
19051
|
-
props.style = { width: `${(data.column.realWidth || Number(data.column.width)) - 1}px` };
|
|
19052
|
-
}
|
|
19053
|
-
checkSubColumn(children);
|
|
19054
|
-
return (0, vue.h)("div", props, [prefix, children]);
|
|
19055
|
-
};
|
|
19056
|
-
}
|
|
19057
|
-
return column;
|
|
19058
|
-
};
|
|
19059
|
-
const getPropsData = (...propsKey) => {
|
|
19060
|
-
return propsKey.reduce((prev, cur) => {
|
|
19061
|
-
if (isArray$1(cur)) cur.forEach((key) => {
|
|
19062
|
-
prev[key] = props[key];
|
|
19063
|
-
});
|
|
19064
|
-
return prev;
|
|
19065
|
-
}, {});
|
|
19066
|
-
};
|
|
19067
|
-
const getColumnElIndex = (children, child) => {
|
|
19068
|
-
return Array.prototype.indexOf.call(children, child);
|
|
19069
|
-
};
|
|
19070
|
-
const updateColumnOrder = () => {
|
|
19071
|
-
owner.value.store.commit("updateColumnOrder", instance.columnConfig.value);
|
|
19072
|
-
};
|
|
19073
|
-
return {
|
|
19074
|
-
columnId,
|
|
19075
|
-
realAlign,
|
|
19076
|
-
isSubColumn,
|
|
19077
|
-
realHeaderAlign,
|
|
19078
|
-
columnOrTableParent,
|
|
19079
|
-
setColumnWidth,
|
|
19080
|
-
setColumnForcedProps,
|
|
19081
|
-
setColumnRenders,
|
|
19082
|
-
getPropsData,
|
|
19083
|
-
getColumnElIndex,
|
|
19084
|
-
updateColumnOrder
|
|
19085
|
-
};
|
|
19086
|
-
}
|
|
18715
|
+
}
|
|
18716
|
+
});
|
|
19087
18717
|
//#endregion
|
|
19088
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19089
|
-
|
|
18718
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-column/defaults.mjs
|
|
18719
|
+
/**
|
|
18720
|
+
* @deprecated Removed after 3.0.0, Use `TableColumnProps` instead.
|
|
18721
|
+
*/
|
|
18722
|
+
var tableColumnProps = {
|
|
19090
18723
|
/**
|
|
19091
18724
|
* @description type of the column. If set to `selection`, the column will display checkbox. If set to `index`, the column will display index of the row (staring from 1). If set to `expand`, the column will display expand icon
|
|
19092
18725
|
*/
|
|
@@ -19250,15 +18883,375 @@ triggerRef });
|
|
|
19250
18883
|
}
|
|
19251
18884
|
};
|
|
19252
18885
|
//#endregion
|
|
19253
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19254
|
-
var
|
|
18886
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/config.mjs
|
|
18887
|
+
var defaultClassNames = {
|
|
18888
|
+
selection: "table-column--selection",
|
|
18889
|
+
expand: "table__expand-column"
|
|
18890
|
+
};
|
|
18891
|
+
var cellStarts = {
|
|
18892
|
+
default: { order: "" },
|
|
18893
|
+
selection: {
|
|
18894
|
+
width: 48,
|
|
18895
|
+
minWidth: 48,
|
|
18896
|
+
realWidth: 48,
|
|
18897
|
+
order: ""
|
|
18898
|
+
},
|
|
18899
|
+
expand: {
|
|
18900
|
+
width: 48,
|
|
18901
|
+
minWidth: 48,
|
|
18902
|
+
realWidth: 48,
|
|
18903
|
+
order: ""
|
|
18904
|
+
},
|
|
18905
|
+
index: {
|
|
18906
|
+
width: 48,
|
|
18907
|
+
minWidth: 48,
|
|
18908
|
+
realWidth: 48,
|
|
18909
|
+
order: ""
|
|
18910
|
+
}
|
|
18911
|
+
};
|
|
18912
|
+
var getDefaultClassName = (type) => {
|
|
18913
|
+
return defaultClassNames[type] || "";
|
|
18914
|
+
};
|
|
18915
|
+
var cellForced = {
|
|
18916
|
+
selection: {
|
|
18917
|
+
renderHeader({ store }) {
|
|
18918
|
+
function isDisabled() {
|
|
18919
|
+
return store.states.data.value && store.states.data.value.length === 0;
|
|
18920
|
+
}
|
|
18921
|
+
return (0, vue.h)(ElCheckbox, {
|
|
18922
|
+
disabled: isDisabled(),
|
|
18923
|
+
size: store.states.tableSize.value,
|
|
18924
|
+
indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,
|
|
18925
|
+
"onUpdate:modelValue": store.toggleAllSelection ?? void 0,
|
|
18926
|
+
modelValue: store.states.isAllSelected.value,
|
|
18927
|
+
ariaLabel: store.t("el.table.selectAllLabel")
|
|
18928
|
+
});
|
|
18929
|
+
},
|
|
18930
|
+
renderCell({ row, column, store, $index }) {
|
|
18931
|
+
return (0, vue.h)(ElCheckbox, {
|
|
18932
|
+
disabled: column.selectable ? !column.selectable.call(null, row, $index) : false,
|
|
18933
|
+
size: store.states.tableSize.value,
|
|
18934
|
+
onChange: () => {
|
|
18935
|
+
store.commit("rowSelectedChanged", row);
|
|
18936
|
+
},
|
|
18937
|
+
onClick: (event) => event.stopPropagation(),
|
|
18938
|
+
modelValue: store.isSelected(row),
|
|
18939
|
+
indeterminate: store.getRowIndeterminate(row),
|
|
18940
|
+
ariaLabel: store.t("el.table.selectRowLabel")
|
|
18941
|
+
});
|
|
18942
|
+
},
|
|
18943
|
+
sortable: false,
|
|
18944
|
+
resizable: false
|
|
18945
|
+
},
|
|
18946
|
+
index: {
|
|
18947
|
+
renderHeader({ column }) {
|
|
18948
|
+
return column.label || "#";
|
|
18949
|
+
},
|
|
18950
|
+
renderCell({ column, $index }) {
|
|
18951
|
+
let i = $index + 1;
|
|
18952
|
+
const index = column.index;
|
|
18953
|
+
if (isNumber$1(index)) i = $index + index;
|
|
18954
|
+
else if (isFunction$2(index)) i = index($index);
|
|
18955
|
+
return (0, vue.h)("div", {}, [i]);
|
|
18956
|
+
},
|
|
18957
|
+
sortable: false
|
|
18958
|
+
},
|
|
18959
|
+
expand: {
|
|
18960
|
+
renderHeader({ column }) {
|
|
18961
|
+
return column.label || "";
|
|
18962
|
+
},
|
|
18963
|
+
renderCell({ column, row, store, expanded, $index }) {
|
|
18964
|
+
const { ns } = store;
|
|
18965
|
+
const classes = [ns.e("expand-icon")];
|
|
18966
|
+
if (!column.renderExpand && expanded) classes.push(ns.em("expand-icon", "expanded"));
|
|
18967
|
+
const callback = function(e) {
|
|
18968
|
+
e.stopPropagation();
|
|
18969
|
+
store.toggleRowExpansion(row);
|
|
18970
|
+
};
|
|
18971
|
+
const isRowExpandable = store.states.rowExpandable.value?.(row, $index) ?? true;
|
|
18972
|
+
if (!isRowExpandable) classes.push(ns.is("disabled"));
|
|
18973
|
+
return (0, vue.h)("button", {
|
|
18974
|
+
type: "button",
|
|
18975
|
+
disabled: !isRowExpandable,
|
|
18976
|
+
"aria-label": store.t(expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18977
|
+
"aria-expanded": expanded,
|
|
18978
|
+
class: classes,
|
|
18979
|
+
onClick: callback
|
|
18980
|
+
}, { default: () => {
|
|
18981
|
+
if (column.renderExpand) return [column.renderExpand({
|
|
18982
|
+
expanded,
|
|
18983
|
+
expandable: isRowExpandable
|
|
18984
|
+
})];
|
|
18985
|
+
return [(0, vue.h)(ElIcon, null, { default: () => {
|
|
18986
|
+
return [(0, vue.h)(arrow_right_default)];
|
|
18987
|
+
} })];
|
|
18988
|
+
} });
|
|
18989
|
+
},
|
|
18990
|
+
sortable: false,
|
|
18991
|
+
resizable: false
|
|
18992
|
+
}
|
|
18993
|
+
};
|
|
18994
|
+
function defaultRenderCell({ row, column, $index }) {
|
|
18995
|
+
const property = column.property;
|
|
18996
|
+
const value = property && getProp(row, property).value;
|
|
18997
|
+
if (column && column.formatter) return column.formatter(row, column, value, $index);
|
|
18998
|
+
return value?.toString?.() || "";
|
|
18999
|
+
}
|
|
19000
|
+
function treeCellPrefix({ row, treeNode, store }, createPlaceholder = false) {
|
|
19001
|
+
const { ns } = store;
|
|
19002
|
+
if (!treeNode) {
|
|
19003
|
+
if (createPlaceholder) return [(0, vue.h)("span", { class: ns.e("placeholder") })];
|
|
19004
|
+
return null;
|
|
19005
|
+
}
|
|
19006
|
+
const ele = [];
|
|
19007
|
+
const callback = function(e) {
|
|
19008
|
+
e.stopPropagation();
|
|
19009
|
+
if (treeNode.loading) return;
|
|
19010
|
+
store.loadOrToggle(row);
|
|
19011
|
+
};
|
|
19012
|
+
if (treeNode.indent) ele.push((0, vue.h)("span", {
|
|
19013
|
+
class: ns.e("indent"),
|
|
19014
|
+
style: { "padding-left": `${treeNode.indent}px` }
|
|
19015
|
+
}));
|
|
19016
|
+
if (isBoolean$1(treeNode.expanded) && !treeNode.noLazyChildren) {
|
|
19017
|
+
const expandClasses = [ns.e("expand-icon"), treeNode.expanded ? ns.em("expand-icon", "expanded") : ""];
|
|
19018
|
+
let icon = arrow_right_default;
|
|
19019
|
+
if (treeNode.loading) icon = loading_default;
|
|
19020
|
+
ele.push((0, vue.h)("button", {
|
|
19021
|
+
type: "button",
|
|
19022
|
+
"aria-label": store.t(treeNode.expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
19023
|
+
"aria-expanded": treeNode.expanded,
|
|
19024
|
+
class: expandClasses,
|
|
19025
|
+
onClick: callback
|
|
19026
|
+
}, { default: () => {
|
|
19027
|
+
return [(0, vue.h)(ElIcon, { class: ns.is("loading", treeNode.loading) }, { default: () => [(0, vue.h)(icon)] })];
|
|
19028
|
+
} }));
|
|
19029
|
+
} else ele.push((0, vue.h)("span", { class: ns.e("placeholder") }));
|
|
19030
|
+
return ele;
|
|
19031
|
+
}
|
|
19255
19032
|
//#endregion
|
|
19256
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19257
|
-
|
|
19033
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-column/watcher-helper.mjs
|
|
19034
|
+
function getAllAliases(props, aliases) {
|
|
19035
|
+
return props.reduce((prev, cur) => {
|
|
19036
|
+
prev[cur] = cur;
|
|
19037
|
+
return prev;
|
|
19038
|
+
}, aliases);
|
|
19039
|
+
}
|
|
19040
|
+
function useWatcher(owner, props_) {
|
|
19041
|
+
const instance = (0, vue.getCurrentInstance)();
|
|
19042
|
+
const registerComplexWatchers = () => {
|
|
19043
|
+
const props = ["fixed"];
|
|
19044
|
+
const aliases = {
|
|
19045
|
+
realWidth: "width",
|
|
19046
|
+
realMinWidth: "minWidth"
|
|
19047
|
+
};
|
|
19048
|
+
const allAliases = getAllAliases(props, aliases);
|
|
19049
|
+
Object.keys(allAliases).forEach((key) => {
|
|
19050
|
+
const columnKey = aliases[key];
|
|
19051
|
+
if (hasOwn(props_, columnKey)) (0, vue.watch)(() => props_[columnKey], (newVal) => {
|
|
19052
|
+
let value = newVal;
|
|
19053
|
+
if (columnKey === "width" && key === "realWidth") value = parseWidth(newVal);
|
|
19054
|
+
if (columnKey === "minWidth" && key === "realMinWidth") value = parseMinWidth(newVal);
|
|
19055
|
+
instance.columnConfig.value[columnKey] = value;
|
|
19056
|
+
instance.columnConfig.value[key] = value;
|
|
19057
|
+
const updateColumns = columnKey === "fixed";
|
|
19058
|
+
owner.value.store.scheduleLayout(updateColumns);
|
|
19059
|
+
});
|
|
19060
|
+
});
|
|
19061
|
+
};
|
|
19062
|
+
const registerNormalWatchers = () => {
|
|
19063
|
+
const props = [
|
|
19064
|
+
"label",
|
|
19065
|
+
"filters",
|
|
19066
|
+
"filterMultiple",
|
|
19067
|
+
"filteredValue",
|
|
19068
|
+
"sortable",
|
|
19069
|
+
"index",
|
|
19070
|
+
"formatter",
|
|
19071
|
+
"className",
|
|
19072
|
+
"labelClassName",
|
|
19073
|
+
"filterClassName",
|
|
19074
|
+
"showOverflowTooltip",
|
|
19075
|
+
"tooltipFormatter",
|
|
19076
|
+
"resizable"
|
|
19077
|
+
];
|
|
19078
|
+
const parentProps = ["showOverflowTooltip"];
|
|
19079
|
+
const aliases = {
|
|
19080
|
+
property: "prop",
|
|
19081
|
+
align: "realAlign",
|
|
19082
|
+
headerAlign: "realHeaderAlign"
|
|
19083
|
+
};
|
|
19084
|
+
const allAliases = getAllAliases(props, aliases);
|
|
19085
|
+
Object.keys(allAliases).forEach((key) => {
|
|
19086
|
+
const columnKey = aliases[key];
|
|
19087
|
+
if (hasOwn(props_, columnKey)) (0, vue.watch)(() => props_[columnKey], (newVal) => {
|
|
19088
|
+
instance.columnConfig.value[key] = newVal;
|
|
19089
|
+
if (key === "filters" || key === "filterMethod") instance.columnConfig.value["filterable"] = !!(instance.columnConfig.value["filters"] || instance.columnConfig.value["filterMethod"]);
|
|
19090
|
+
});
|
|
19091
|
+
});
|
|
19092
|
+
parentProps.forEach((key) => {
|
|
19093
|
+
if (hasOwn(owner.value.props, key)) (0, vue.watch)(() => owner.value.props[key], (newVal) => {
|
|
19094
|
+
if (instance.columnConfig.value.type === "selection") return;
|
|
19095
|
+
if (!isUndefined$1(props_[key])) return;
|
|
19096
|
+
instance.columnConfig.value[key] = newVal;
|
|
19097
|
+
});
|
|
19098
|
+
});
|
|
19099
|
+
const globalConfig = useGlobalConfig("table");
|
|
19100
|
+
if (globalConfig.value && hasOwn(globalConfig.value, "showOverflowTooltip")) (0, vue.watch)(() => globalConfig.value?.showOverflowTooltip, (newVal) => {
|
|
19101
|
+
if (instance.columnConfig.value.type === "selection") return;
|
|
19102
|
+
if (!isUndefined$1(props_.showOverflowTooltip) || !isUndefined$1(owner.value.props.showOverflowTooltip)) return;
|
|
19103
|
+
instance.columnConfig.value.showOverflowTooltip = newVal;
|
|
19104
|
+
});
|
|
19105
|
+
};
|
|
19106
|
+
return {
|
|
19107
|
+
registerComplexWatchers,
|
|
19108
|
+
registerNormalWatchers
|
|
19109
|
+
};
|
|
19110
|
+
}
|
|
19111
|
+
//#endregion
|
|
19112
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/table-column/render-helper.mjs
|
|
19113
|
+
function useRender(props, slots, owner) {
|
|
19114
|
+
const instance = (0, vue.getCurrentInstance)();
|
|
19115
|
+
const columnId = (0, vue.ref)("");
|
|
19116
|
+
const isSubColumn = (0, vue.ref)(false);
|
|
19117
|
+
const realAlign = (0, vue.ref)();
|
|
19118
|
+
const realHeaderAlign = (0, vue.ref)();
|
|
19119
|
+
const ns = useNamespace$1("table");
|
|
19120
|
+
(0, vue.watchEffect)(() => {
|
|
19121
|
+
realAlign.value = props.align ? `is-${props.align}` : null;
|
|
19122
|
+
realAlign.value;
|
|
19123
|
+
});
|
|
19124
|
+
(0, vue.watchEffect)(() => {
|
|
19125
|
+
realHeaderAlign.value = props.headerAlign ? `is-${props.headerAlign}` : realAlign.value;
|
|
19126
|
+
realHeaderAlign.value;
|
|
19127
|
+
});
|
|
19128
|
+
const columnOrTableParent = (0, vue.computed)(() => {
|
|
19129
|
+
let parent = instance.vnode.vParent || instance.parent;
|
|
19130
|
+
while (parent && !parent.tableId && !parent.columnId) parent = parent.vnode.vParent || parent.parent;
|
|
19131
|
+
return parent;
|
|
19132
|
+
});
|
|
19133
|
+
const hasTreeColumn = (0, vue.computed)(() => {
|
|
19134
|
+
const { store } = instance.parent;
|
|
19135
|
+
if (!store) return false;
|
|
19136
|
+
const { treeData } = store.states;
|
|
19137
|
+
const treeDataValue = treeData.value;
|
|
19138
|
+
return treeDataValue && Object.keys(treeDataValue).length > 0;
|
|
19139
|
+
});
|
|
19140
|
+
const realWidth = (0, vue.ref)(parseWidth(props.width));
|
|
19141
|
+
const realMinWidth = (0, vue.ref)(parseMinWidth(props.minWidth));
|
|
19142
|
+
const setColumnWidth = (column) => {
|
|
19143
|
+
if (realWidth.value) column.width = realWidth.value;
|
|
19144
|
+
if (realMinWidth.value) column.minWidth = realMinWidth.value;
|
|
19145
|
+
if (!realWidth.value && realMinWidth.value) column.width = void 0;
|
|
19146
|
+
if (!column.minWidth) column.minWidth = 80;
|
|
19147
|
+
column.realWidth = Number(isUndefined$1(column.width) ? column.minWidth : column.width);
|
|
19148
|
+
return column;
|
|
19149
|
+
};
|
|
19150
|
+
const setColumnForcedProps = (column) => {
|
|
19151
|
+
const type = column.type;
|
|
19152
|
+
const source = cellForced[type] || {};
|
|
19153
|
+
Object.keys(source).forEach((prop) => {
|
|
19154
|
+
const value = source[prop];
|
|
19155
|
+
if (prop !== "className" && !isUndefined$1(value)) column[prop] = value;
|
|
19156
|
+
});
|
|
19157
|
+
const className = getDefaultClassName(type);
|
|
19158
|
+
if (className) {
|
|
19159
|
+
const forceClass = `${(0, vue.unref)(ns.namespace)}-${className}`;
|
|
19160
|
+
column.className = column.className ? `${column.className} ${forceClass}` : forceClass;
|
|
19161
|
+
}
|
|
19162
|
+
return column;
|
|
19163
|
+
};
|
|
19164
|
+
const checkSubColumn = (children) => {
|
|
19165
|
+
if (isArray$1(children)) children.forEach((child) => check(child));
|
|
19166
|
+
else check(children);
|
|
19167
|
+
function check(item) {
|
|
19168
|
+
if (item?.type?.name === "ElTableColumn") item.vParent = instance;
|
|
19169
|
+
}
|
|
19170
|
+
};
|
|
19171
|
+
const setColumnRenders = (column) => {
|
|
19172
|
+
if (props.renderHeader) debugWarn("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.");
|
|
19173
|
+
else if (column.type !== "selection") column.renderHeader = (scope) => {
|
|
19174
|
+
instance.columnConfig.value["label"];
|
|
19175
|
+
if (slots.header) {
|
|
19176
|
+
const slotResult = slots.header(scope);
|
|
19177
|
+
if (ensureValidVNode(slotResult)) return (0, vue.h)(vue.Fragment, slotResult);
|
|
19178
|
+
}
|
|
19179
|
+
return (0, vue.createTextVNode)(column.label);
|
|
19180
|
+
};
|
|
19181
|
+
if (slots["filter-icon"]) column.renderFilterIcon = (scope) => {
|
|
19182
|
+
return (0, vue.renderSlot)(slots, "filter-icon", scope);
|
|
19183
|
+
};
|
|
19184
|
+
if (slots.expand) column.renderExpand = (scope) => {
|
|
19185
|
+
return (0, vue.renderSlot)(slots, "expand", scope);
|
|
19186
|
+
};
|
|
19187
|
+
let originRenderCell = column.renderCell;
|
|
19188
|
+
if (column.type === "expand") {
|
|
19189
|
+
column.renderCell = (data) => (0, vue.h)("div", { class: "cell" }, [originRenderCell(data)]);
|
|
19190
|
+
owner.value.renderExpanded = (row) => {
|
|
19191
|
+
return slots.default ? slots.default(row) : slots.default;
|
|
19192
|
+
};
|
|
19193
|
+
} else {
|
|
19194
|
+
originRenderCell = originRenderCell || defaultRenderCell;
|
|
19195
|
+
column.renderCell = (data) => {
|
|
19196
|
+
let children = null;
|
|
19197
|
+
if (slots.default) {
|
|
19198
|
+
const vnodes = slots.default(data);
|
|
19199
|
+
children = vnodes.some((v) => v.type !== vue.Comment) ? vnodes : originRenderCell(data);
|
|
19200
|
+
} else children = originRenderCell(data);
|
|
19201
|
+
const { columns } = owner.value.store.states;
|
|
19202
|
+
const firstUserColumnIndex = columns.value.findIndex((item) => item.type === "default");
|
|
19203
|
+
const prefix = treeCellPrefix(data, hasTreeColumn.value && data.cellIndex === firstUserColumnIndex);
|
|
19204
|
+
const props = {
|
|
19205
|
+
class: "cell",
|
|
19206
|
+
style: {}
|
|
19207
|
+
};
|
|
19208
|
+
if (column.showOverflowTooltip) {
|
|
19209
|
+
props.class = `${props.class} ${(0, vue.unref)(ns.namespace)}-tooltip`;
|
|
19210
|
+
props.style = { width: `${(data.column.realWidth || Number(data.column.width)) - 1}px` };
|
|
19211
|
+
}
|
|
19212
|
+
checkSubColumn(children);
|
|
19213
|
+
return (0, vue.h)("div", props, [prefix, children]);
|
|
19214
|
+
};
|
|
19215
|
+
}
|
|
19216
|
+
return column;
|
|
19217
|
+
};
|
|
19218
|
+
const getPropsData = (...propsKey) => {
|
|
19219
|
+
return propsKey.reduce((prev, cur) => {
|
|
19220
|
+
if (isArray$1(cur)) cur.forEach((key) => {
|
|
19221
|
+
prev[key] = props[key];
|
|
19222
|
+
});
|
|
19223
|
+
return prev;
|
|
19224
|
+
}, {});
|
|
19225
|
+
};
|
|
19226
|
+
const getColumnElIndex = (children, child) => {
|
|
19227
|
+
return Array.prototype.indexOf.call(children, child);
|
|
19228
|
+
};
|
|
19229
|
+
const updateColumnOrder = () => {
|
|
19230
|
+
owner.value.store.commit("updateColumnOrder", instance.columnConfig.value);
|
|
19231
|
+
};
|
|
19232
|
+
return {
|
|
19233
|
+
columnId,
|
|
19234
|
+
realAlign,
|
|
19235
|
+
isSubColumn,
|
|
19236
|
+
realHeaderAlign,
|
|
19237
|
+
columnOrTableParent,
|
|
19238
|
+
setColumnWidth,
|
|
19239
|
+
setColumnForcedProps,
|
|
19240
|
+
setColumnRenders,
|
|
19241
|
+
getPropsData,
|
|
19242
|
+
getColumnElIndex,
|
|
19243
|
+
updateColumnOrder
|
|
19244
|
+
};
|
|
19245
|
+
}
|
|
19246
|
+
//#endregion
|
|
19247
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/src/tableColumn.mjs
|
|
19248
|
+
var tableColumn_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
19258
19249
|
name: "ElTableColumn",
|
|
19259
|
-
|
|
19260
|
-
props:
|
|
19261
|
-
setup(
|
|
19250
|
+
__name: "index",
|
|
19251
|
+
props: tableColumnProps,
|
|
19252
|
+
setup(__props) {
|
|
19253
|
+
const props = __props;
|
|
19254
|
+
const slots = (0, vue.useSlots)();
|
|
19262
19255
|
const instance = (0, vue.getCurrentInstance)();
|
|
19263
19256
|
const globalConfig = useGlobalConfig("table");
|
|
19264
19257
|
const columnConfig = (0, vue.ref)({});
|
|
@@ -19270,7 +19263,7 @@ triggerRef });
|
|
|
19270
19263
|
const { registerNormalWatchers, registerComplexWatchers } = useWatcher(owner, props);
|
|
19271
19264
|
const { columnId, isSubColumn, realHeaderAlign, columnOrTableParent, setColumnWidth, setColumnForcedProps, setColumnRenders, getPropsData, getColumnElIndex, realAlign, updateColumnOrder } = useRender(props, slots, owner);
|
|
19272
19265
|
const parent = columnOrTableParent.value;
|
|
19273
|
-
columnId.value =
|
|
19266
|
+
columnId.value = createTableColumnId("tableId" in parent ? parent.tableId : parent.columnId);
|
|
19274
19267
|
(0, vue.onBeforeMount)(() => {
|
|
19275
19268
|
isSubColumn.value = owner.value !== parent;
|
|
19276
19269
|
const type = props.type || "default";
|
|
@@ -19339,29 +19332,32 @@ triggerRef });
|
|
|
19339
19332
|
});
|
|
19340
19333
|
instance.columnId = columnId.value;
|
|
19341
19334
|
instance.columnConfig = columnConfig;
|
|
19342
|
-
|
|
19343
|
-
|
|
19344
|
-
|
|
19345
|
-
|
|
19346
|
-
|
|
19347
|
-
|
|
19348
|
-
$index: -1
|
|
19349
|
-
});
|
|
19350
|
-
const children = [];
|
|
19351
|
-
if (isArray$1(renderDefault)) {
|
|
19352
|
-
for (const childNode of renderDefault) if (childNode.type?.name === "ElTableColumn" || childNode.shapeFlag & 2) children.push(childNode);
|
|
19353
|
-
else if (childNode.type === vue.Fragment && isArray$1(childNode.children)) childNode.children.forEach((vnode) => {
|
|
19354
|
-
if (vnode?.patchFlag !== 1024 && !isString$3(vnode?.children)) children.push(vnode);
|
|
19335
|
+
const TableColumnRenderer = () => {
|
|
19336
|
+
try {
|
|
19337
|
+
const renderDefault = slots.default?.({
|
|
19338
|
+
row: {},
|
|
19339
|
+
column: {},
|
|
19340
|
+
$index: -1
|
|
19355
19341
|
});
|
|
19342
|
+
const children = [];
|
|
19343
|
+
if (isArray$1(renderDefault)) {
|
|
19344
|
+
for (const childNode of renderDefault) if (childNode.type?.name === "ElTableColumn" || childNode.shapeFlag & 2) children.push(childNode);
|
|
19345
|
+
else if (childNode.type === vue.Fragment && isArray$1(childNode.children)) childNode.children.forEach((vnode) => {
|
|
19346
|
+
if (vnode?.patchFlag !== 1024 && !isString$3(vnode?.children)) children.push(vnode);
|
|
19347
|
+
});
|
|
19348
|
+
}
|
|
19349
|
+
return (0, vue.h)("div", children);
|
|
19350
|
+
} catch {
|
|
19351
|
+
return (0, vue.h)("div", []);
|
|
19356
19352
|
}
|
|
19357
|
-
|
|
19358
|
-
|
|
19359
|
-
return (0, vue.
|
|
19360
|
-
}
|
|
19353
|
+
};
|
|
19354
|
+
return (_ctx, _cache) => {
|
|
19355
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)(TableColumnRenderer);
|
|
19356
|
+
};
|
|
19361
19357
|
}
|
|
19362
19358
|
});
|
|
19363
19359
|
//#endregion
|
|
19364
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19360
|
+
//#region ../../node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@5.9.3_/node_modules/element-plus/es/components/table/index.mjs
|
|
19365
19361
|
var ElTable = withInstall(table_default$1, { TableColumn: tableColumn_default });
|
|
19366
19362
|
var ElTableColumn = withNoopInstall(tableColumn_default);
|
|
19367
19363
|
//#endregion
|
|
@@ -19416,6 +19412,8 @@ triggerRef });
|
|
|
19416
19412
|
const emits = __emit;
|
|
19417
19413
|
const ns = useNamespace("tabs");
|
|
19418
19414
|
const tabsRef = (0, vue.ref)();
|
|
19415
|
+
const barStyles = (0, vue.ref)({});
|
|
19416
|
+
const lineStyles = (0, vue.ref)({});
|
|
19419
19417
|
const currentTabName = (0, vue.computed)({
|
|
19420
19418
|
get() {
|
|
19421
19419
|
return props.modelValue;
|
|
@@ -19430,35 +19428,51 @@ triggerRef });
|
|
|
19430
19428
|
onChange,
|
|
19431
19429
|
type: props.type
|
|
19432
19430
|
});
|
|
19433
|
-
|
|
19434
|
-
|
|
19435
|
-
|
|
19436
|
-
const
|
|
19437
|
-
if (
|
|
19438
|
-
|
|
19439
|
-
|
|
19440
|
-
|
|
19441
|
-
|
|
19442
|
-
|
|
19443
|
-
|
|
19444
|
-
|
|
19431
|
+
function getActiveTabElement() {
|
|
19432
|
+
if (!tabsRef.value) return null;
|
|
19433
|
+
for (let index = 0; index < children.length; index++) {
|
|
19434
|
+
const child = children[index];
|
|
19435
|
+
if (!child.exposed || !isTabContext(child.exposed) || !child.exposed.isActive.value) continue;
|
|
19436
|
+
return tabsRef.value.querySelector(`#tab-${index}`);
|
|
19437
|
+
}
|
|
19438
|
+
return null;
|
|
19439
|
+
}
|
|
19440
|
+
async function updateActiveStyles() {
|
|
19441
|
+
await (0, vue.nextTick)();
|
|
19442
|
+
const $el = getActiveTabElement();
|
|
19443
|
+
if (!$el) {
|
|
19444
|
+
barStyles.value = {};
|
|
19445
|
+
lineStyles.value = {};
|
|
19446
|
+
return;
|
|
19447
|
+
}
|
|
19448
|
+
barStyles.value = {
|
|
19449
|
+
width: `${$el.clientWidth}px`,
|
|
19450
|
+
left: `${$el.offsetLeft}px`
|
|
19451
|
+
};
|
|
19445
19452
|
const styles = {};
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
19449
|
-
|
|
19450
|
-
|
|
19451
|
-
styles.width = `${$el.clientWidth - (0, _mingto_tools.beParsedAsNumber)(tabStyles.paddingLeft) - (0, _mingto_tools.beParsedAsNumber)(tabStyles.paddingRight)}px`;
|
|
19452
|
-
styles.left = `${$el.offsetLeft + (0, _mingto_tools.beParsedAsNumber)(tabStyles.paddingLeft)}px`;
|
|
19453
|
-
});
|
|
19454
|
-
return styles;
|
|
19455
|
-
});
|
|
19453
|
+
const tabStyles = window.getComputedStyle($el);
|
|
19454
|
+
styles.width = `${$el.clientWidth - (0, _mingto_tools.beParsedAsNumber)(tabStyles.paddingLeft) - (0, _mingto_tools.beParsedAsNumber)(tabStyles.paddingRight)}px`;
|
|
19455
|
+
styles.left = `${$el.offsetLeft + (0, _mingto_tools.beParsedAsNumber)(tabStyles.paddingLeft)}px`;
|
|
19456
|
+
lineStyles.value = styles;
|
|
19457
|
+
}
|
|
19456
19458
|
const tabsClasses = (0, vue.computed)(() => {
|
|
19457
19459
|
return [ns.b(), ns.m(props.type)];
|
|
19458
19460
|
});
|
|
19459
19461
|
function onChange(tabName) {
|
|
19460
19462
|
currentTabName.value = tabName;
|
|
19461
19463
|
}
|
|
19464
|
+
(0, vue.watch)(() => [
|
|
19465
|
+
currentTabName.value,
|
|
19466
|
+
children.length,
|
|
19467
|
+
props.type
|
|
19468
|
+
], updateActiveStyles, { flush: "post" });
|
|
19469
|
+
(0, vue.onMounted)(() => {
|
|
19470
|
+
updateActiveStyles();
|
|
19471
|
+
window.addEventListener("resize", updateActiveStyles);
|
|
19472
|
+
});
|
|
19473
|
+
(0, vue.onBeforeUnmount)(() => {
|
|
19474
|
+
window.removeEventListener("resize", updateActiveStyles);
|
|
19475
|
+
});
|
|
19462
19476
|
return (_ctx, _cache) => {
|
|
19463
19477
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
19464
19478
|
ref_key: "tabsRef",
|
|
@@ -20832,7 +20846,7 @@ triggerRef });
|
|
|
20832
20846
|
var M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]);
|
|
20833
20847
|
//#endregion
|
|
20834
20848
|
//#region src/upload/src/upload-image-copper.vue?vue&type=script&setup=true&lang.ts
|
|
20835
|
-
var upload_image_copper_vue_vue_type_script_setup_true_lang_default =
|
|
20849
|
+
var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
20836
20850
|
name: "MtUploadImageCopper",
|
|
20837
20851
|
__name: "upload-image-copper",
|
|
20838
20852
|
setup(__props, { expose: __expose }) {
|
|
@@ -20897,10 +20911,88 @@ triggerRef });
|
|
|
20897
20911
|
copperPromiseDeferred?.resolve(newFile);
|
|
20898
20912
|
});
|
|
20899
20913
|
}
|
|
20900
|
-
|
|
20901
|
-
|
|
20914
|
+
function fitSize(maxWidth, maxHeight, aspectRatio) {
|
|
20915
|
+
let width = maxWidth;
|
|
20916
|
+
let height = width / aspectRatio;
|
|
20917
|
+
if (height > maxHeight) {
|
|
20918
|
+
height = maxHeight;
|
|
20919
|
+
width = height * aspectRatio;
|
|
20920
|
+
}
|
|
20921
|
+
return {
|
|
20922
|
+
width: Math.max(Math.round(width), 1),
|
|
20923
|
+
height: Math.max(Math.round(height), 1)
|
|
20924
|
+
};
|
|
20925
|
+
}
|
|
20926
|
+
function getInitialCropSize(image) {
|
|
20927
|
+
const cropper = cropperRef.value;
|
|
20928
|
+
const containerWidth = cropper?.w || 0;
|
|
20929
|
+
const containerHeight = cropper?.h || 0;
|
|
20930
|
+
const maxWidth = containerWidth * .82;
|
|
20931
|
+
const maxHeight = containerHeight * .82;
|
|
20932
|
+
const cropWidth = Number(cropperProps.value.autoCropWidth || 0);
|
|
20933
|
+
const cropHeight = Number(cropperProps.value.autoCropHeight || 0);
|
|
20934
|
+
if (cropWidth > 0 && cropHeight > 0) return {
|
|
20935
|
+
width: Math.min(cropWidth, containerWidth),
|
|
20936
|
+
height: Math.min(cropHeight, containerHeight)
|
|
20937
|
+
};
|
|
20938
|
+
const fixedNumber = cropperProps.value.fixedNumber || [1, 1];
|
|
20939
|
+
const aspectRatio = cropperProps.value.fixed ? fixedNumber[0] / fixedNumber[1] : image.width / image.height;
|
|
20940
|
+
const fittedSize = fitSize(maxWidth, maxHeight, aspectRatio);
|
|
20941
|
+
if (cropWidth > 0) return fitSize(Math.min(cropWidth, containerWidth), maxHeight, aspectRatio);
|
|
20942
|
+
if (cropHeight > 0) return fitSize(maxWidth, Math.min(cropHeight, containerHeight), aspectRatio);
|
|
20943
|
+
return fittedSize;
|
|
20944
|
+
}
|
|
20945
|
+
function centerCropBox(width, height) {
|
|
20946
|
+
const cropper = cropperRef.value;
|
|
20947
|
+
if (!cropper?.goAutoCrop) return;
|
|
20948
|
+
const nextWidth = width || cropper.cropW;
|
|
20949
|
+
const nextHeight = height || cropper.cropH;
|
|
20950
|
+
if (!nextWidth || !nextHeight) return;
|
|
20951
|
+
cropper.goAutoCrop(nextWidth, nextHeight);
|
|
20952
|
+
}
|
|
20953
|
+
function fitImageToCropBox() {
|
|
20954
|
+
const cropper = cropperRef.value;
|
|
20955
|
+
if (!cropper?.trueWidth || !cropper?.trueHeight || !cropper?.cropW || !cropper?.cropH) return;
|
|
20956
|
+
const scale = Math.min(cropper.cropW / cropper.trueWidth, cropper.cropH / cropper.trueHeight);
|
|
20957
|
+
const scaledWidth = cropper.trueWidth * scale;
|
|
20958
|
+
const scaledHeight = cropper.trueHeight * scale;
|
|
20959
|
+
cropper.scale = scale;
|
|
20960
|
+
cropper.x = cropper.cropOffsertX + (cropper.cropW - scaledWidth) / 2 - (cropper.trueWidth - scaledWidth) / 2;
|
|
20961
|
+
cropper.y = cropper.cropOffsertY + (cropper.cropH - scaledHeight) / 2 - (cropper.trueHeight - scaledHeight) / 2;
|
|
20962
|
+
enlarge.value = 1 / scale;
|
|
20963
|
+
}
|
|
20964
|
+
function waitCropperReady() {
|
|
20965
|
+
return new Promise((resolve) => {
|
|
20966
|
+
let observer = null;
|
|
20967
|
+
const cleanup = () => {
|
|
20968
|
+
observer?.disconnect();
|
|
20969
|
+
if (scaleIntervalId) {
|
|
20970
|
+
clearInterval(scaleIntervalId);
|
|
20971
|
+
scaleIntervalId = null;
|
|
20972
|
+
}
|
|
20973
|
+
};
|
|
20974
|
+
const check = () => {
|
|
20975
|
+
const cropper = cropperRef.value;
|
|
20976
|
+
if (cropper?.w && cropper?.h && cropper?.trueWidth && cropper?.trueHeight) {
|
|
20977
|
+
cleanup();
|
|
20978
|
+
resolve();
|
|
20979
|
+
}
|
|
20980
|
+
};
|
|
20981
|
+
observer = new MutationObserver(check);
|
|
20982
|
+
const cropperElement = cropperRef.value?.$el;
|
|
20983
|
+
if (cropperElement) observer.observe(cropperElement, {
|
|
20984
|
+
childList: true,
|
|
20985
|
+
subtree: true,
|
|
20986
|
+
attributes: true
|
|
20987
|
+
});
|
|
20988
|
+
scaleIntervalId = setInterval(check, 50);
|
|
20989
|
+
check();
|
|
20990
|
+
});
|
|
20991
|
+
}
|
|
20992
|
+
const isApplyingInitialCrop = (0, vue.ref)(false);
|
|
20993
|
+
async function applyInitialCrop(url) {
|
|
20902
20994
|
try {
|
|
20903
|
-
|
|
20995
|
+
isApplyingInitialCrop.value = true;
|
|
20904
20996
|
const image = new Image();
|
|
20905
20997
|
image.crossOrigin = "anonymous";
|
|
20906
20998
|
await new Promise((resolve, reject) => {
|
|
@@ -20908,54 +21000,18 @@ triggerRef });
|
|
|
20908
21000
|
image.onerror = () => reject(/* @__PURE__ */ new Error(`Failed to load image: ${url}`));
|
|
20909
21001
|
image.src = url;
|
|
20910
21002
|
});
|
|
20911
|
-
await
|
|
20912
|
-
|
|
20913
|
-
const cleanup = () => {
|
|
20914
|
-
observer?.disconnect();
|
|
20915
|
-
if (scaleIntervalId) {
|
|
20916
|
-
clearInterval(scaleIntervalId);
|
|
20917
|
-
scaleIntervalId = null;
|
|
20918
|
-
}
|
|
20919
|
-
};
|
|
20920
|
-
const checkCropper = () => {
|
|
20921
|
-
if (cropperRef.value && cropperRef.value.cropW && cropperRef.value.cropH) {
|
|
20922
|
-
cleanup();
|
|
20923
|
-
resolve();
|
|
20924
|
-
return;
|
|
20925
|
-
}
|
|
20926
|
-
observer = new MutationObserver(() => {
|
|
20927
|
-
if (cropperRef.value && cropperRef.value.cropW && cropperRef.value.cropH) {
|
|
20928
|
-
cleanup();
|
|
20929
|
-
resolve();
|
|
20930
|
-
}
|
|
20931
|
-
});
|
|
20932
|
-
if (cropperRef.value?.$el) observer.observe(cropperRef.value.$el, {
|
|
20933
|
-
childList: true,
|
|
20934
|
-
subtree: true,
|
|
20935
|
-
attributes: true
|
|
20936
|
-
});
|
|
20937
|
-
scaleIntervalId = setInterval(() => {
|
|
20938
|
-
if (cropperRef.value && cropperRef.value.cropW && cropperRef.value.cropH) {
|
|
20939
|
-
cleanup();
|
|
20940
|
-
resolve();
|
|
20941
|
-
}
|
|
20942
|
-
}, 50);
|
|
20943
|
-
checkCropper();
|
|
20944
|
-
};
|
|
20945
|
-
checkCropper();
|
|
20946
|
-
});
|
|
21003
|
+
await (0, vue.nextTick)();
|
|
21004
|
+
await waitCropperReady();
|
|
20947
21005
|
if (cropperRef.value) {
|
|
20948
|
-
const
|
|
20949
|
-
|
|
20950
|
-
|
|
20951
|
-
|
|
20952
|
-
else scale = cropNumber[0] / imageNumber[0];
|
|
20953
|
-
cropperRef.value.scale = scale;
|
|
21006
|
+
const cropSize = getInitialCropSize(image);
|
|
21007
|
+
centerCropBox(cropSize.width, cropSize.height);
|
|
21008
|
+
await (0, vue.nextTick)();
|
|
21009
|
+
fitImageToCropBox();
|
|
20954
21010
|
}
|
|
20955
21011
|
} catch (error) {
|
|
20956
|
-
console.error("
|
|
21012
|
+
console.error("应用初始裁剪框失败:", error);
|
|
20957
21013
|
} finally {
|
|
20958
|
-
|
|
21014
|
+
isApplyingInitialCrop.value = false;
|
|
20959
21015
|
}
|
|
20960
21016
|
}
|
|
20961
21017
|
__expose({
|
|
@@ -20974,7 +21030,7 @@ triggerRef });
|
|
|
20974
21030
|
}
|
|
20975
21031
|
dialogVisible.value = true;
|
|
20976
21032
|
copperPromiseDeferred = new Deferred();
|
|
20977
|
-
if (cropperProps.value.autoCropScale)
|
|
21033
|
+
if (cropperProps.value.autoCropScale) applyInitialCrop(filePath.value);
|
|
20978
21034
|
const newFile = await copperPromiseDeferred.promise;
|
|
20979
21035
|
copperPromiseDeferred = null;
|
|
20980
21036
|
URL.revokeObjectURL(filePath.value);
|
|
@@ -21000,7 +21056,7 @@ triggerRef });
|
|
|
21000
21056
|
}, {
|
|
21001
21057
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(MtDialogConfirmLayout), {
|
|
21002
21058
|
loading: loading.value,
|
|
21003
|
-
disabled:
|
|
21059
|
+
disabled: isApplyingInitialCrop.value,
|
|
21004
21060
|
"confirm-text": (0, vue.unref)(t)("mt.upload.confirm"),
|
|
21005
21061
|
"cancel-text": (0, vue.unref)(t)("mt.upload.cancel"),
|
|
21006
21062
|
onCancel: handleCancel,
|
|
@@ -21009,7 +21065,7 @@ triggerRef });
|
|
|
21009
21065
|
default: (0, vue.withCtx)(() => [filePath.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
21010
21066
|
key: 0,
|
|
21011
21067
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("content"))
|
|
21012
|
-
}, [
|
|
21068
|
+
}, [isApplyingInitialCrop.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
21013
21069
|
key: 0,
|
|
21014
21070
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("loading"))
|
|
21015
21071
|
}, [(0, vue.createVNode)((0, vue.unref)(MtLoading), { size: 80 })], 2)) : (0, vue.createCommentVNode)("", true), (0, vue.createVNode)((0, vue.unref)(M), (0, vue.mergeProps)({
|
|
@@ -21046,7 +21102,7 @@ triggerRef });
|
|
|
21046
21102
|
};
|
|
21047
21103
|
//#endregion
|
|
21048
21104
|
//#region src/upload/src/upload-image-copper.vue
|
|
21049
|
-
var upload_image_copper_default =
|
|
21105
|
+
var upload_image_copper_default = /*#__PURE__*/ _plugin_vue_export_helper_default(upload_image_copper_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-47a8b76d"]]);
|
|
21050
21106
|
//#endregion
|
|
21051
21107
|
//#region src/upload/src/layout/upload-image-grid-layout.vue
|
|
21052
21108
|
var upload_image_grid_layout_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -21166,7 +21222,7 @@ triggerRef });
|
|
|
21166
21222
|
});
|
|
21167
21223
|
//#endregion
|
|
21168
21224
|
//#region src/upload/src/layout/upload-image-only-layout.vue
|
|
21169
|
-
var upload_image_only_layout_default =
|
|
21225
|
+
var upload_image_only_layout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
21170
21226
|
name: "MtUploadImageOnlyLayout",
|
|
21171
21227
|
__name: "upload-image-only-layout",
|
|
21172
21228
|
props: {
|
|
@@ -68023,7 +68079,7 @@ triggerRef });
|
|
|
68023
68079
|
var drag_icon_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJsAAABfCAYAAAD/GLUuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAADOMSURBVHgB7X0JlB1Xmd5/q+qt3e91t9QtWbJkGVm28YKR8QC2MUaMzWBPmBCYI5slMDmEycBwmOA5CSZzMkHkHLYMxmQYYOIDSQyZCeOeMZglENuAsLENxquwZEtqLa2W1OpW7/2631r35v53q3ur6rWN6e6n+PD3qX613K3qfvWv994C+C39ln5Lq0IEzizy4CVMZ9rDXk3Ce2e489GPfrR05ZVXFvjv7NDQUP0F5vd27Njh7d6923/Pe94T3HjjjYVjx8aLlLaKjUatDNDqbgF00zDsnpiY6t7xhjd0v/UP3tozV6l0MxKWWQhlQlhvPpsvVBYqT//XL3z+c7fddtswSMAx3baXEp3pYDOAWI6ydu7c6R0+fNgbGxsL8vk8/dSnPnXu9W960+f6ent38OtBZbE6xRh76sDQoUe+/t/vPLVx4/re9//xH/dkgq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mBU/1l8MtHWBZoiLAvLQVbM6CGcAEVg5EkzrdR/82oWv/Rfv2ztxmPrE9+SjsDtH/SPEzZjWsQAuV9AXlwQDi8CqdTVTTpsOh7S6Y/XquhgsDTaIt81qj3NfVl3oWrlwI49eFBjcdHsdNvcTNT9CZpJ1elHlIqfnPkBgLciSoCeYvveB/7jmzXAG0EqCDUkYWjv/+vgH1245+8tTR5vg+xlKoqiybARxGxLnOpACCjuf6kOnw9qWrTuaxeqwqkoFuZWgXXsT6VLyOXna1IVqADpsb74aYP8JCh+5swXnb/BMKCwq1Iv9ggEaZSzo3+bVTt7zN+ft/86HT1qPqWO00mDTdbD3fqP6l0FX/j+PH2xxh6/PiDQTSSpAQEkDZnEP66LNIewnGO9ou7z4nZp6LSuXQQr4rItxkAFxgQ6x8px6UoCWACi4bZnjEat/80bghgKFv7hLTjvEYL/w64m0BOw1JeQ8GMr8LPGKZ5Nw4oG7rzrwd3/4S1CDh6HDtFpgQ2K/+7HHfq//tVf8j+oEbKzPcm94M/pkbLzDNcjsAuL7CYDGTptzGgAx31rsVLKcOEDIr/HAiAUyZr1AdnnQvi0oJdEIwKUg/tU1cvLz//wpwL17ZfistyiD/74HoBd39sWyEDhHlO4ff/A7/2zoH952CCL3XsdpNcBm18Pg4p3Zi1/zzn/Zc94b35nr7b2UG09FYKljM1I7od1+24r1y0/B6WkDvniFLHYMyTpeSL2pbYF0OdbuvEAJWqezAFdeAHDj5Zy7cYA9M8y34wCHxkXQH7+vhgsbLdYmZ/dUjv/8q0N3vnlQyoUzB2hIqwU2Tc7Nb7rqlsIM6eGCoSKCqfBbSqVuvp1SA7o/vBNgA39iTx4EeHCIP7lKCViWeQOF5uzR3btqVrYzCmhI/w+AuuuUOzouNwAAAABJRU5ErkJggg==";
|
|
68024
68080
|
//#endregion
|
|
68025
68081
|
//#region src/upload/src/upload-full-screen-drag.vue
|
|
68026
|
-
var upload_full_screen_drag_default =
|
|
68082
|
+
var upload_full_screen_drag_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
68027
68083
|
name: "MtUploadFullScreenDrag",
|
|
68028
68084
|
__name: "upload-full-screen-drag",
|
|
68029
68085
|
props: { description: { type: String } },
|
|
@@ -68098,16 +68154,18 @@ triggerRef });
|
|
|
68098
68154
|
}
|
|
68099
68155
|
}
|
|
68100
68156
|
function removeUploadInstance() {
|
|
68101
|
-
|
|
68102
|
-
|
|
68103
|
-
if (index !== -1) uploadInstances.value.splice(index, 1);
|
|
68104
|
-
}
|
|
68157
|
+
const index = uploadInstances.value.findIndex((instance) => instance.uid === uid);
|
|
68158
|
+
if (index !== -1) uploadInstances.value.splice(index, 1);
|
|
68105
68159
|
}
|
|
68106
68160
|
const dialogContext = (0, vue.inject)(DialogKey);
|
|
68107
68161
|
if (dialogContext) (0, vue.watch)(() => dialogContext.visible.value, () => {
|
|
68108
68162
|
if (dialogContext.visible.value) addUploadInstance();
|
|
68109
68163
|
else removeUploadInstance();
|
|
68110
68164
|
});
|
|
68165
|
+
(0, vue.watch)(() => props.isFullScreenDrag, (isFullScreenDrag) => {
|
|
68166
|
+
if (isFullScreenDrag) addUploadInstance();
|
|
68167
|
+
else removeUploadInstance();
|
|
68168
|
+
});
|
|
68111
68169
|
(0, vue.onMounted)(addUploadInstance);
|
|
68112
68170
|
(0, vue.onUnmounted)(removeUploadInstance);
|
|
68113
68171
|
return { onlyFullScreenDragInstance: (0, vue.computed)(() => {
|