@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.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CompressFileSuffixEnum, DocumentFileSuffixEnum, FileSuffixEnum, ImageFileSuffixEnum, MarkdownFileSuffixEnum, MusicFileSuffixEnum, PptFileSuffixEnum, VideoFileSuffixEnum, beParsedAsNumber, checkEmpty, debounce, divide, getFileIcon, getFileName, getFileSuffix, getUuid, isArray, isBoolean, isDocumentFilePath, isFunction, isImageFilePath, isMusicFilePath, isNumber, isObject, isPptFilePath, isString, isVideoFilePath, multiply, objectToQueryString, singleDownloadFileBase64, throttle, timeDelay, updateFilePathQuery } from "@mingto/tools";
|
|
2
|
-
import { Comment as Comment$1, Fragment, Teleport, Text, Transition, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onDeactivated, onMounted, onUnmounted, onUpdated, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent,
|
|
2
|
+
import { Comment as Comment$1, Fragment, Teleport, Text, Transition, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onDeactivated, onMounted, onUnmounted, onUpdated, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowReactive, shallowRef, toDisplayString, toRaw, toRef, toRefs, unref, useAttrs, useSlots, vModelCheckbox, vShow, warn, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
|
|
3
3
|
import { computedEager, isClient, onClickOutside, tryOnScopeDispose, unrefElement, useEventListener, useResizeObserver, useTimeoutFn } from "@vueuse/core";
|
|
4
4
|
import { createPopper, placements } from "@popperjs/core";
|
|
5
5
|
import QRCode from "qrcode";
|
|
@@ -8300,7 +8300,7 @@ var dialog_default = /* @__PURE__ */ defineComponent({
|
|
|
8300
8300
|
return (_ctx, _cache) => {
|
|
8301
8301
|
return openBlock(), createBlock(unref(MtTeleport), { to: props.appendTo }, {
|
|
8302
8302
|
default: withCtx(() => [createVNode(Transition, {
|
|
8303
|
-
name: unref(ns).
|
|
8303
|
+
name: `${unref(ns).e("overlay")}-fade`,
|
|
8304
8304
|
onAfterLeave: handleAfterLeave
|
|
8305
8305
|
}, {
|
|
8306
8306
|
default: withCtx(() => [withDirectives(createVNode(unref(MtOverlay), {
|
|
@@ -10748,7 +10748,7 @@ var MtTab = withInstall$1(/* @__PURE__ */ defineComponent({
|
|
|
10748
10748
|
}
|
|
10749
10749
|
}));
|
|
10750
10750
|
//#endregion
|
|
10751
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10751
|
+
//#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
|
|
10752
10752
|
var EVENT_CODE = {
|
|
10753
10753
|
tab: "Tab",
|
|
10754
10754
|
enter: "Enter",
|
|
@@ -10767,11 +10767,11 @@ var EVENT_CODE = {
|
|
|
10767
10767
|
end: "End"
|
|
10768
10768
|
};
|
|
10769
10769
|
//#endregion
|
|
10770
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10770
|
+
//#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
|
|
10771
10771
|
var UPDATE_MODEL_EVENT = "update:modelValue";
|
|
10772
10772
|
var CHANGE_EVENT = "change";
|
|
10773
10773
|
//#endregion
|
|
10774
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10774
|
+
//#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
|
|
10775
10775
|
var componentSizes = [
|
|
10776
10776
|
"",
|
|
10777
10777
|
"default",
|
|
@@ -10779,7 +10779,7 @@ var componentSizes = [
|
|
|
10779
10779
|
"large"
|
|
10780
10780
|
];
|
|
10781
10781
|
/**
|
|
10782
|
-
* @vue/shared v3.5.
|
|
10782
|
+
* @vue/shared v3.5.35
|
|
10783
10783
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10784
10784
|
* @license MIT
|
|
10785
10785
|
**/
|
|
@@ -10793,7 +10793,7 @@ var isFunction$3 = (val) => typeof val === "function";
|
|
|
10793
10793
|
var isString$2 = (val) => typeof val === "string";
|
|
10794
10794
|
var isObject$2 = (val) => val !== null && typeof val === "object";
|
|
10795
10795
|
//#endregion
|
|
10796
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10796
|
+
//#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
|
|
10797
10797
|
var isUndefined$1 = (val) => val === void 0;
|
|
10798
10798
|
var isBoolean$2 = (val) => typeof val === "boolean";
|
|
10799
10799
|
var isNumber$2 = (val) => typeof val === "number";
|
|
@@ -10807,7 +10807,7 @@ var isStringNumber = (val) => {
|
|
|
10807
10807
|
return !Number.isNaN(Number(val));
|
|
10808
10808
|
};
|
|
10809
10809
|
//#endregion
|
|
10810
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10810
|
+
//#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
|
|
10811
10811
|
var getProp = (obj, path, defaultValue) => {
|
|
10812
10812
|
return {
|
|
10813
10813
|
get value() {
|
|
@@ -10819,7 +10819,7 @@ var getProp = (obj, path, defaultValue) => {
|
|
|
10819
10819
|
};
|
|
10820
10820
|
};
|
|
10821
10821
|
//#endregion
|
|
10822
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10822
|
+
//#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
|
|
10823
10823
|
var epPropKey = "__epPropKey";
|
|
10824
10824
|
var definePropType = (val) => val;
|
|
10825
10825
|
var isEpProp = (val) => isObject$2(val) && !!val["__epPropKey"];
|
|
@@ -10871,7 +10871,7 @@ var buildProp = (prop, key) => {
|
|
|
10871
10871
|
};
|
|
10872
10872
|
var buildProps = (props) => fromPairs(Object.entries(props).map(([key, option]) => [key, buildProp(option, key)]));
|
|
10873
10873
|
//#endregion
|
|
10874
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10874
|
+
//#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
|
|
10875
10875
|
var ElementPlusError = class extends Error {
|
|
10876
10876
|
constructor(m) {
|
|
10877
10877
|
super(m);
|
|
@@ -10888,7 +10888,7 @@ function debugWarn(scope, message) {
|
|
|
10888
10888
|
}
|
|
10889
10889
|
}
|
|
10890
10890
|
//#endregion
|
|
10891
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10891
|
+
//#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
|
|
10892
10892
|
var useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
|
|
10893
10893
|
watch(() => unref(condition), (val) => {
|
|
10894
10894
|
if (val) debugWarn(scope, `[${type}] ${from} is about to be deprecated in version ${version}, please use ${replacement} instead.
|
|
@@ -10897,7 +10897,7 @@ For more detail, please visit: ${ref}
|
|
|
10897
10897
|
}, { immediate: true });
|
|
10898
10898
|
};
|
|
10899
10899
|
//#endregion
|
|
10900
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10900
|
+
//#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
|
|
10901
10901
|
var isHTMLElement = (e) => {
|
|
10902
10902
|
if (typeof Element === "undefined") return false;
|
|
10903
10903
|
return e instanceof Element;
|
|
@@ -10930,10 +10930,10 @@ var focusElement = (el, options) => {
|
|
|
10930
10930
|
if (isHTMLElement(el) && cleanup) el.removeAttribute("tabindex");
|
|
10931
10931
|
};
|
|
10932
10932
|
//#endregion
|
|
10933
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10933
|
+
//#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
|
|
10934
10934
|
var isAndroid = () => isClient && /android/i.test(window.navigator.userAgent);
|
|
10935
10935
|
//#endregion
|
|
10936
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10936
|
+
//#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
|
|
10937
10937
|
var SCOPE$1 = "utils/dom/style";
|
|
10938
10938
|
var classNameToArray = (cls = "") => cls.split(" ").filter((item) => !!item.trim());
|
|
10939
10939
|
var hasClass = (el, cls) => {
|
|
@@ -10956,7 +10956,7 @@ function addUnit(value, defaultUnit = "px") {
|
|
|
10956
10956
|
debugWarn(SCOPE$1, "binding value must be a string or number");
|
|
10957
10957
|
}
|
|
10958
10958
|
//#endregion
|
|
10959
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
10959
|
+
//#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
|
|
10960
10960
|
var en_default$1 = {
|
|
10961
10961
|
name: "en",
|
|
10962
10962
|
el: {
|
|
@@ -11138,7 +11138,7 @@ var en_default$1 = {
|
|
|
11138
11138
|
}
|
|
11139
11139
|
};
|
|
11140
11140
|
//#endregion
|
|
11141
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11141
|
+
//#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
|
|
11142
11142
|
var buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
11143
11143
|
var translate = (path, option, locale) => get(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => `${option?.[key] ?? `{${key}}`}`);
|
|
11144
11144
|
var buildLocaleContext = (locale) => {
|
|
@@ -11154,7 +11154,7 @@ var useLocale$1 = (localeOverrides) => {
|
|
|
11154
11154
|
return buildLocaleContext(computed(() => locale.value || en_default$1));
|
|
11155
11155
|
};
|
|
11156
11156
|
//#endregion
|
|
11157
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11157
|
+
//#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
|
|
11158
11158
|
var statePrefix = "is-";
|
|
11159
11159
|
var _bem = (namespace, block, blockSuffix, element, modifier) => {
|
|
11160
11160
|
let cls = `${namespace}-${block}`;
|
|
@@ -11212,10 +11212,10 @@ var useNamespace$1 = (block, namespaceOverrides) => {
|
|
|
11212
11212
|
};
|
|
11213
11213
|
};
|
|
11214
11214
|
//#endregion
|
|
11215
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11215
|
+
//#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
|
|
11216
11216
|
var rAF = (fn) => isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
|
|
11217
11217
|
//#endregion
|
|
11218
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11218
|
+
//#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
|
|
11219
11219
|
var composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPrevented = true } = {}) => {
|
|
11220
11220
|
const handleEvent = (event) => {
|
|
11221
11221
|
const shouldPrevent = theirsHandler?.(event);
|
|
@@ -11244,7 +11244,7 @@ var getEventKey = (event) => {
|
|
|
11244
11244
|
return key;
|
|
11245
11245
|
};
|
|
11246
11246
|
//#endregion
|
|
11247
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11247
|
+
//#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
|
|
11248
11248
|
var _prop = buildProp({
|
|
11249
11249
|
type: definePropType(Boolean),
|
|
11250
11250
|
default: null
|
|
@@ -11321,13 +11321,13 @@ var createModelToggleComposable = (name) => {
|
|
|
11321
11321
|
};
|
|
11322
11322
|
var { useModelToggle, useModelToggleProps, useModelToggleEmits } = createModelToggleComposable("modelValue");
|
|
11323
11323
|
//#endregion
|
|
11324
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11324
|
+
//#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
|
|
11325
11325
|
var useProp = (name) => {
|
|
11326
11326
|
const vm = getCurrentInstance();
|
|
11327
11327
|
return computed(() => (vm?.proxy?.$props)?.[name]);
|
|
11328
11328
|
};
|
|
11329
11329
|
//#endregion
|
|
11330
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11330
|
+
//#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
|
|
11331
11331
|
var usePopper = (referenceElementRef, popperElementRef, opts = {}) => {
|
|
11332
11332
|
const stateUpdater = {
|
|
11333
11333
|
name: "updateState",
|
|
@@ -11401,7 +11401,7 @@ function deriveState(state) {
|
|
|
11401
11401
|
};
|
|
11402
11402
|
}
|
|
11403
11403
|
//#endregion
|
|
11404
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11404
|
+
//#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
|
|
11405
11405
|
function useTimeout() {
|
|
11406
11406
|
let timeoutHandle;
|
|
11407
11407
|
const registerTimeout = (fn, delay) => {
|
|
@@ -11420,7 +11420,7 @@ function useTimeout() {
|
|
|
11420
11420
|
};
|
|
11421
11421
|
}
|
|
11422
11422
|
//#endregion
|
|
11423
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11423
|
+
//#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
|
|
11424
11424
|
var defaultIdInjection = {
|
|
11425
11425
|
prefix: Math.floor(Math.random() * 1e4),
|
|
11426
11426
|
current: 0
|
|
@@ -11440,7 +11440,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
11440
11440
|
return computedEager(() => unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
|
|
11441
11441
|
};
|
|
11442
11442
|
//#endregion
|
|
11443
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11443
|
+
//#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
|
|
11444
11444
|
var registeredEscapeHandlers = [];
|
|
11445
11445
|
var cachedHandler = (event) => {
|
|
11446
11446
|
if (getEventCode(event) === EVENT_CODE.esc) registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
|
|
@@ -11458,7 +11458,7 @@ var useEscapeKeydown = (handler) => {
|
|
|
11458
11458
|
});
|
|
11459
11459
|
};
|
|
11460
11460
|
//#endregion
|
|
11461
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11461
|
+
//#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
|
|
11462
11462
|
var usePopperContainerId = () => {
|
|
11463
11463
|
const namespace = useGetDerivedNamespace$1();
|
|
11464
11464
|
const idInjection = useIdInjection();
|
|
@@ -11488,7 +11488,7 @@ var usePopperContainer = () => {
|
|
|
11488
11488
|
};
|
|
11489
11489
|
};
|
|
11490
11490
|
//#endregion
|
|
11491
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11491
|
+
//#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
|
|
11492
11492
|
/**
|
|
11493
11493
|
* @deprecated Removed after 3.0.0, Use `UseDelayedToggleProps` instead.
|
|
11494
11494
|
*/
|
|
@@ -11544,7 +11544,7 @@ var useDelayedToggle = ({ showAfter, hideAfter, autoClose, open, close }) => {
|
|
|
11544
11544
|
};
|
|
11545
11545
|
};
|
|
11546
11546
|
//#endregion
|
|
11547
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11547
|
+
//#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
|
|
11548
11548
|
var FORWARD_REF_INJECTION_KEY = Symbol("elForwardRef");
|
|
11549
11549
|
var useForwardRef = (forwardRef) => {
|
|
11550
11550
|
const setForwardRef = ((el) => {
|
|
@@ -11566,7 +11566,7 @@ var useForwardRefDirective = (setForwardRef) => {
|
|
|
11566
11566
|
};
|
|
11567
11567
|
};
|
|
11568
11568
|
//#endregion
|
|
11569
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11569
|
+
//#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
|
|
11570
11570
|
var initial = { current: 0 };
|
|
11571
11571
|
var zIndex = ref(0);
|
|
11572
11572
|
var defaultInitialZIndex = 2e3;
|
|
@@ -11594,7 +11594,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
11594
11594
|
};
|
|
11595
11595
|
};
|
|
11596
11596
|
//#endregion
|
|
11597
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11597
|
+
//#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
|
|
11598
11598
|
var useSizeProp = buildProp({
|
|
11599
11599
|
type: String,
|
|
11600
11600
|
values: componentSizes,
|
|
@@ -11608,7 +11608,7 @@ var useGlobalSize = () => {
|
|
|
11608
11608
|
});
|
|
11609
11609
|
};
|
|
11610
11610
|
//#endregion
|
|
11611
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11611
|
+
//#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
|
|
11612
11612
|
/**
|
|
11613
11613
|
* @deprecated Removed after 3.0.0, Use `AriaProps` instead.
|
|
11614
11614
|
*/
|
|
@@ -11637,7 +11637,7 @@ var useAriaProps = (arias) => {
|
|
|
11637
11637
|
return pick(ariaProps, arias);
|
|
11638
11638
|
};
|
|
11639
11639
|
//#endregion
|
|
11640
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11640
|
+
//#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
|
|
11641
11641
|
var withPropsDefaultsSetter = (target) => {
|
|
11642
11642
|
const _p = target.props;
|
|
11643
11643
|
const props = isArray$2(_p) ? fromPairs(_p.map((key) => [key, {}])) : _p;
|
|
@@ -11675,7 +11675,7 @@ var withNoopInstall = (component) => {
|
|
|
11675
11675
|
return component;
|
|
11676
11676
|
};
|
|
11677
11677
|
//#endregion
|
|
11678
|
-
//#region ../../node_modules/.pnpm/@element-plus+icons-vue@2.3.2_vue@3.5.
|
|
11678
|
+
//#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
|
|
11679
11679
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
11680
11680
|
var arrow_down_default = /* @__PURE__ */ defineComponent({
|
|
11681
11681
|
name: "ArrowDown",
|
|
@@ -11730,7 +11730,7 @@ var loading_default = /* @__PURE__ */ defineComponent({
|
|
|
11730
11730
|
}
|
|
11731
11731
|
});
|
|
11732
11732
|
//#endregion
|
|
11733
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11733
|
+
//#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
|
|
11734
11734
|
var ElIcon = withInstall(/* @__PURE__ */ defineComponent({
|
|
11735
11735
|
name: "ElIcon",
|
|
11736
11736
|
inheritAttrs: false,
|
|
@@ -11783,11 +11783,11 @@ var popperProps = buildProps({ role: {
|
|
|
11783
11783
|
default: "tooltip"
|
|
11784
11784
|
} });
|
|
11785
11785
|
//#endregion
|
|
11786
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11786
|
+
//#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
|
|
11787
11787
|
var POPPER_INJECTION_KEY = Symbol("popper");
|
|
11788
11788
|
var POPPER_CONTENT_INJECTION_KEY = Symbol("popperContent");
|
|
11789
11789
|
//#endregion
|
|
11790
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11790
|
+
//#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
|
|
11791
11791
|
var arrow_default = /* @__PURE__ */ defineComponent({
|
|
11792
11792
|
name: "ElPopperArrow",
|
|
11793
11793
|
inheritAttrs: false,
|
|
@@ -11815,7 +11815,7 @@ arrowRef });
|
|
|
11815
11815
|
}
|
|
11816
11816
|
});
|
|
11817
11817
|
//#endregion
|
|
11818
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11818
|
+
//#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
|
|
11819
11819
|
/**
|
|
11820
11820
|
* @deprecated Removed after 3.0.0, Use `PopperTriggerProps` instead.
|
|
11821
11821
|
*/
|
|
@@ -11835,7 +11835,7 @@ var popperTriggerProps = buildProps({
|
|
|
11835
11835
|
open: Boolean
|
|
11836
11836
|
});
|
|
11837
11837
|
//#endregion
|
|
11838
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11838
|
+
//#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
|
|
11839
11839
|
var NAME = "ElOnlyChild";
|
|
11840
11840
|
var OnlyChild = /* @__PURE__ */ defineComponent({
|
|
11841
11841
|
name: NAME,
|
|
@@ -11879,7 +11879,7 @@ function wrapTextContent(s) {
|
|
|
11879
11879
|
return createVNode("span", { "class": useNamespace$1("only-child").e("content") }, [s]);
|
|
11880
11880
|
}
|
|
11881
11881
|
//#endregion
|
|
11882
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11882
|
+
//#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
|
|
11883
11883
|
var trigger_default$1 = /* @__PURE__ */ defineComponent({
|
|
11884
11884
|
name: "ElPopperTrigger",
|
|
11885
11885
|
inheritAttrs: false,
|
|
@@ -11987,7 +11987,7 @@ triggerRef });
|
|
|
11987
11987
|
}
|
|
11988
11988
|
});
|
|
11989
11989
|
//#endregion
|
|
11990
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
11990
|
+
//#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
|
|
11991
11991
|
/**
|
|
11992
11992
|
* @deprecated Removed after 3.0.0, Use `PopperArrowProps` instead.
|
|
11993
11993
|
*/
|
|
@@ -12122,11 +12122,11 @@ var popperContentEmits = {
|
|
|
12122
12122
|
close: () => true
|
|
12123
12123
|
};
|
|
12124
12124
|
//#endregion
|
|
12125
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12125
|
+
//#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
|
|
12126
12126
|
var formContextKey = Symbol("formContextKey");
|
|
12127
12127
|
var formItemContextKey = Symbol("formItemContextKey");
|
|
12128
12128
|
//#endregion
|
|
12129
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12129
|
+
//#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
|
|
12130
12130
|
var useFormSize = (fallback, ignore = {}) => {
|
|
12131
12131
|
const emptyRef = ref(void 0);
|
|
12132
12132
|
const size = ignore.prop ? emptyRef : useProp("size");
|
|
@@ -12143,7 +12143,7 @@ var useFormDisabled = (fallback) => {
|
|
|
12143
12143
|
});
|
|
12144
12144
|
};
|
|
12145
12145
|
//#endregion
|
|
12146
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12146
|
+
//#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
|
|
12147
12147
|
var useFormItem = () => {
|
|
12148
12148
|
return {
|
|
12149
12149
|
form: inject(formContextKey, void 0),
|
|
@@ -12190,14 +12190,14 @@ var useFormItemInputId = (props, { formItemContext, disableIdGeneration, disable
|
|
|
12190
12190
|
};
|
|
12191
12191
|
};
|
|
12192
12192
|
//#endregion
|
|
12193
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12193
|
+
//#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
|
|
12194
12194
|
/** like `_.castArray`, except falsy value returns empty array. */
|
|
12195
12195
|
var castArray = (arr) => {
|
|
12196
12196
|
if (!arr && arr !== 0) return [];
|
|
12197
12197
|
return isArray$2(arr) ? arr : [arr];
|
|
12198
12198
|
};
|
|
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/focus-trap/src/tokens.mjs
|
|
12201
12201
|
var FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
|
|
12202
12202
|
var FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
|
|
12203
12203
|
var FOCUSOUT_PREVENTED = "focus-trap.focusout-prevented";
|
|
@@ -12213,7 +12213,7 @@ var ON_TRAP_FOCUS_EVT = "focusAfterTrapped";
|
|
|
12213
12213
|
var ON_RELEASE_FOCUS_EVT = "focusAfterReleased";
|
|
12214
12214
|
var FOCUS_TRAP_INJECTION_KEY = Symbol("elFocusTrap");
|
|
12215
12215
|
//#endregion
|
|
12216
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12216
|
+
//#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
|
|
12217
12217
|
var focusReason = ref();
|
|
12218
12218
|
var lastUserFocusTimestamp = ref(0);
|
|
12219
12219
|
var lastAutomatedFocusTimestamp = ref(0);
|
|
@@ -12327,7 +12327,7 @@ var createFocusOutPreventedEvent = (detail) => {
|
|
|
12327
12327
|
});
|
|
12328
12328
|
};
|
|
12329
12329
|
//#endregion
|
|
12330
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12330
|
+
//#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
|
|
12331
12331
|
var focus_trap_vue_vue_type_script_lang_default = defineComponent({
|
|
12332
12332
|
name: "ElFocusTrap",
|
|
12333
12333
|
inheritAttrs: false,
|
|
@@ -12514,22 +12514,22 @@ var focus_trap_vue_vue_type_script_lang_default = defineComponent({
|
|
|
12514
12514
|
}
|
|
12515
12515
|
});
|
|
12516
12516
|
//#endregion
|
|
12517
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12517
|
+
//#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
|
|
12518
12518
|
var _plugin_vue_export_helper_default$1 = (sfc, props) => {
|
|
12519
12519
|
const target = sfc.__vccOpts || sfc;
|
|
12520
12520
|
for (const [key, val] of props) target[key] = val;
|
|
12521
12521
|
return target;
|
|
12522
12522
|
};
|
|
12523
12523
|
//#endregion
|
|
12524
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12525
|
-
function _sfc_render$
|
|
12524
|
+
//#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
|
|
12525
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12526
12526
|
return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
12527
12527
|
}
|
|
12528
12528
|
//#endregion
|
|
12529
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12530
|
-
var focus_trap_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default$1(focus_trap_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
12529
|
+
//#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
|
|
12530
|
+
var focus_trap_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default$1(focus_trap_vue_vue_type_script_lang_default, [["render", _sfc_render$1]]);
|
|
12531
12531
|
//#endregion
|
|
12532
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12532
|
+
//#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
|
|
12533
12533
|
var buildPopperOptions = (props, modifiers = []) => {
|
|
12534
12534
|
const { placement, strategy, popperOptions } = props;
|
|
12535
12535
|
const options = {
|
|
@@ -12578,7 +12578,7 @@ function deriveExtraModifiers(options, modifiers) {
|
|
|
12578
12578
|
if (modifiers) options.modifiers = [...options.modifiers, ...modifiers ?? []];
|
|
12579
12579
|
}
|
|
12580
12580
|
//#endregion
|
|
12581
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12581
|
+
//#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
|
|
12582
12582
|
var DEFAULT_ARROW_OFFSET = 0;
|
|
12583
12583
|
var usePopperContent = (props) => {
|
|
12584
12584
|
const { popperInstanceRef, contentRef, triggerRef, role } = inject(POPPER_INJECTION_KEY, void 0);
|
|
@@ -12642,7 +12642,7 @@ var usePopperContent = (props) => {
|
|
|
12642
12642
|
};
|
|
12643
12643
|
};
|
|
12644
12644
|
//#endregion
|
|
12645
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12645
|
+
//#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
|
|
12646
12646
|
var usePopperContentDOM = (props, { attributes, styles, role }) => {
|
|
12647
12647
|
const { nextZIndex } = useZIndex$1();
|
|
12648
12648
|
const ns = useNamespace$1("popper");
|
|
@@ -12677,7 +12677,7 @@ var usePopperContentDOM = (props, { attributes, styles, role }) => {
|
|
|
12677
12677
|
};
|
|
12678
12678
|
};
|
|
12679
12679
|
//#endregion
|
|
12680
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12680
|
+
//#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
|
|
12681
12681
|
var usePopperContentFocusTrap = (props, emit) => {
|
|
12682
12682
|
const trapped = ref(false);
|
|
12683
12683
|
const focusStartRef = ref();
|
|
@@ -12720,7 +12720,7 @@ var usePopperContentFocusTrap = (props, emit) => {
|
|
|
12720
12720
|
};
|
|
12721
12721
|
};
|
|
12722
12722
|
//#endregion
|
|
12723
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12723
|
+
//#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
|
|
12724
12724
|
var content_default$1 = /* @__PURE__ */ defineComponent({
|
|
12725
12725
|
name: "ElPopperContent",
|
|
12726
12726
|
__name: "content",
|
|
@@ -12850,7 +12850,7 @@ var content_default$1 = /* @__PURE__ */ defineComponent({
|
|
|
12850
12850
|
}
|
|
12851
12851
|
});
|
|
12852
12852
|
//#endregion
|
|
12853
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12853
|
+
//#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
|
|
12854
12854
|
var ElPopper = withInstall(/* @__PURE__ */ defineComponent({
|
|
12855
12855
|
name: "ElPopper",
|
|
12856
12856
|
inheritAttrs: false,
|
|
@@ -12941,7 +12941,7 @@ var useTooltipContentProps = buildProps({
|
|
|
12941
12941
|
...useAriaProps(["ariaLabel"])
|
|
12942
12942
|
});
|
|
12943
12943
|
//#endregion
|
|
12944
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12944
|
+
//#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
|
|
12945
12945
|
/**
|
|
12946
12946
|
* @deprecated Removed after 3.0.0, Use `UseTooltipTriggerProps` instead.
|
|
12947
12947
|
*/
|
|
@@ -12975,7 +12975,7 @@ var useTooltipTriggerProps = buildProps({
|
|
|
12975
12975
|
focusOnTarget: Boolean
|
|
12976
12976
|
});
|
|
12977
12977
|
//#endregion
|
|
12978
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
12978
|
+
//#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
|
|
12979
12979
|
var { useModelToggleProps: useTooltipModelToggleProps, useModelToggleEmits: useTooltipModelToggleEmits, useModelToggle: useTooltipModelToggle } = createModelToggleComposable("visible");
|
|
12980
12980
|
/**
|
|
12981
12981
|
* @deprecated Removed after 3.0.0, Use `UseTooltipProps` instead.
|
|
@@ -13004,10 +13004,10 @@ var tooltipEmits = [
|
|
|
13004
13004
|
"close"
|
|
13005
13005
|
];
|
|
13006
13006
|
//#endregion
|
|
13007
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13007
|
+
//#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
|
|
13008
13008
|
var TOOLTIP_INJECTION_KEY = Symbol("elTooltip");
|
|
13009
13009
|
//#endregion
|
|
13010
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13010
|
+
//#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
|
|
13011
13011
|
var isTriggerType = (trigger, type) => {
|
|
13012
13012
|
if (isArray$2(trigger)) return trigger.includes(type);
|
|
13013
13013
|
return trigger === type;
|
|
@@ -13018,7 +13018,7 @@ var whenTrigger = (trigger, type, handler) => {
|
|
|
13018
13018
|
};
|
|
13019
13019
|
};
|
|
13020
13020
|
//#endregion
|
|
13021
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13021
|
+
//#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
|
|
13022
13022
|
var trigger_default = /* @__PURE__ */ defineComponent({
|
|
13023
13023
|
name: "ElTooltipTrigger",
|
|
13024
13024
|
__name: "trigger",
|
|
@@ -13095,7 +13095,7 @@ triggerRef });
|
|
|
13095
13095
|
}
|
|
13096
13096
|
});
|
|
13097
13097
|
//#endregion
|
|
13098
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13098
|
+
//#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
|
|
13099
13099
|
var content_default = /* @__PURE__ */ defineComponent({
|
|
13100
13100
|
name: "ElTooltipContent",
|
|
13101
13101
|
inheritAttrs: false,
|
|
@@ -13261,11 +13261,11 @@ var content_default = /* @__PURE__ */ defineComponent({
|
|
|
13261
13261
|
}
|
|
13262
13262
|
});
|
|
13263
13263
|
//#endregion
|
|
13264
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13264
|
+
//#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
|
|
13265
13265
|
var _hoisted_1$10 = ["innerHTML"];
|
|
13266
13266
|
var _hoisted_2$2 = { key: 1 };
|
|
13267
13267
|
//#endregion
|
|
13268
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13268
|
+
//#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
|
|
13269
13269
|
var ElTooltip = withInstall(/* @__PURE__ */ defineComponent({
|
|
13270
13270
|
name: "ElTooltip",
|
|
13271
13271
|
__name: "tooltip",
|
|
@@ -13462,7 +13462,7 @@ var ElTooltip = withInstall(/* @__PURE__ */ defineComponent({
|
|
|
13462
13462
|
}
|
|
13463
13463
|
}));
|
|
13464
13464
|
//#endregion
|
|
13465
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13465
|
+
//#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
|
|
13466
13466
|
/**
|
|
13467
13467
|
* @deprecated Removed after 3.0.0, Use `ScrollbarProps` instead.
|
|
13468
13468
|
*/
|
|
@@ -13579,7 +13579,7 @@ var scrollbarEmits = {
|
|
|
13579
13579
|
scroll: ({ scrollTop, scrollLeft }) => [scrollTop, scrollLeft].every(isNumber$2)
|
|
13580
13580
|
};
|
|
13581
13581
|
//#endregion
|
|
13582
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13582
|
+
//#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
|
|
13583
13583
|
var BAR_MAP = {
|
|
13584
13584
|
vertical: {
|
|
13585
13585
|
offset: "offsetHeight",
|
|
@@ -13607,7 +13607,7 @@ var renderThumbStyle = ({ move, size, bar }) => ({
|
|
|
13607
13607
|
transform: `translate${bar.axis}(${move}%)`
|
|
13608
13608
|
});
|
|
13609
13609
|
//#endregion
|
|
13610
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13610
|
+
//#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
|
|
13611
13611
|
/**
|
|
13612
13612
|
* @deprecated Removed after 3.0.0, Use `ThumbProps` instead.
|
|
13613
13613
|
*/
|
|
@@ -13622,10 +13622,10 @@ var thumbProps = buildProps({
|
|
|
13622
13622
|
always: Boolean
|
|
13623
13623
|
});
|
|
13624
13624
|
//#endregion
|
|
13625
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13625
|
+
//#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
|
|
13626
13626
|
var scrollbarContextKey = Symbol("scrollbarContextKey");
|
|
13627
13627
|
//#endregion
|
|
13628
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13628
|
+
//#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
|
|
13629
13629
|
/**
|
|
13630
13630
|
* Due to browser rendering and calculation precision loss issues,
|
|
13631
13631
|
* boundary checks cannot be based solely on value equality;
|
|
@@ -13635,7 +13635,7 @@ function isGreaterThan(a, b, epsilon = .03) {
|
|
|
13635
13635
|
return a - b > epsilon;
|
|
13636
13636
|
}
|
|
13637
13637
|
//#endregion
|
|
13638
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13638
|
+
//#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
|
|
13639
13639
|
/**
|
|
13640
13640
|
* @deprecated Removed after 3.0.0, Use `BarProps` instead.
|
|
13641
13641
|
*/
|
|
@@ -13650,10 +13650,10 @@ var barProps = buildProps({
|
|
|
13650
13650
|
}
|
|
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/thumb.vue_vue_type_script_setup_true_lang.mjs
|
|
13654
13654
|
var COMPONENT_NAME$1 = "Thumb";
|
|
13655
13655
|
//#endregion
|
|
13656
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13656
|
+
//#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
|
|
13657
13657
|
var thumb_default = /* @__PURE__ */ defineComponent({
|
|
13658
13658
|
__name: "thumb",
|
|
13659
13659
|
props: thumbProps,
|
|
@@ -13760,7 +13760,7 @@ var thumb_default = /* @__PURE__ */ defineComponent({
|
|
|
13760
13760
|
}
|
|
13761
13761
|
});
|
|
13762
13762
|
//#endregion
|
|
13763
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13763
|
+
//#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
|
|
13764
13764
|
var bar_default = /* @__PURE__ */ defineComponent({
|
|
13765
13765
|
__name: "bar",
|
|
13766
13766
|
props: barProps,
|
|
@@ -13826,11 +13826,11 @@ var bar_default = /* @__PURE__ */ defineComponent({
|
|
|
13826
13826
|
}
|
|
13827
13827
|
});
|
|
13828
13828
|
//#endregion
|
|
13829
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13829
|
+
//#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
|
|
13830
13830
|
var _hoisted_1$9 = ["tabindex"];
|
|
13831
13831
|
var COMPONENT_NAME = "ElScrollbar";
|
|
13832
13832
|
//#endregion
|
|
13833
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
13833
|
+
//#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
|
|
13834
13834
|
var ElScrollbar = withInstall(/* @__PURE__ */ defineComponent({
|
|
13835
13835
|
name: COMPONENT_NAME,
|
|
13836
13836
|
__name: "scrollbar",
|
|
@@ -14028,10 +14028,10 @@ var ElScrollbar = withInstall(/* @__PURE__ */ defineComponent({
|
|
|
14028
14028
|
}
|
|
14029
14029
|
}));
|
|
14030
14030
|
//#endregion
|
|
14031
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14031
|
+
//#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
|
|
14032
14032
|
var configProviderContextKey = Symbol();
|
|
14033
14033
|
//#endregion
|
|
14034
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14034
|
+
//#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
|
|
14035
14035
|
var globalConfig = ref();
|
|
14036
14036
|
function useGlobalConfig(key, defaultValue = void 0) {
|
|
14037
14037
|
const config = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;
|
|
@@ -14157,7 +14157,7 @@ var Y$1 = T$1;
|
|
|
14157
14157
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
14158
14158
|
*/
|
|
14159
14159
|
//#endregion
|
|
14160
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14160
|
+
//#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
|
|
14161
14161
|
var SCOPE = "_Mousewheel";
|
|
14162
14162
|
var mousewheel = function(element, callback) {
|
|
14163
14163
|
if (element && element.addEventListener) {
|
|
@@ -14188,7 +14188,7 @@ var Mousewheel = {
|
|
|
14188
14188
|
}
|
|
14189
14189
|
};
|
|
14190
14190
|
//#endregion
|
|
14191
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14191
|
+
//#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
|
|
14192
14192
|
/**
|
|
14193
14193
|
* @deprecated Removed after 3.0.0, Use `CheckboxProps` instead.
|
|
14194
14194
|
*/
|
|
@@ -14314,10 +14314,10 @@ var checkboxEmits = {
|
|
|
14314
14314
|
change: (val) => isString$2(val) || isNumber$2(val) || isBoolean$2(val)
|
|
14315
14315
|
};
|
|
14316
14316
|
//#endregion
|
|
14317
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14317
|
+
//#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
|
|
14318
14318
|
var checkboxGroupContextKey = Symbol("checkboxGroupContextKey");
|
|
14319
14319
|
//#endregion
|
|
14320
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14320
|
+
//#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
|
|
14321
14321
|
/**
|
|
14322
14322
|
* @deprecated Removed after 3.0.0, Use `CheckboxGroupProps` instead.
|
|
14323
14323
|
*/
|
|
@@ -14392,7 +14392,7 @@ var checkboxDefaultProps = {
|
|
|
14392
14392
|
disabled: "disabled"
|
|
14393
14393
|
};
|
|
14394
14394
|
//#endregion
|
|
14395
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14395
|
+
//#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
|
|
14396
14396
|
var useCheckboxDisabled = ({ model, isChecked }) => {
|
|
14397
14397
|
const checkboxGroup = inject(checkboxGroupContextKey, void 0);
|
|
14398
14398
|
const formContext = inject(formContextKey, void 0);
|
|
@@ -14410,7 +14410,7 @@ var useCheckboxDisabled = ({ model, isChecked }) => {
|
|
|
14410
14410
|
};
|
|
14411
14411
|
};
|
|
14412
14412
|
//#endregion
|
|
14413
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14413
|
+
//#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
|
|
14414
14414
|
var useCheckboxEvent = (props, { model, isLimitExceeded, hasOwnLabel, isDisabled, isLabeledByFormItem }) => {
|
|
14415
14415
|
const checkboxGroup = inject(checkboxGroupContextKey, void 0);
|
|
14416
14416
|
const { formItem } = useFormItem();
|
|
@@ -14454,7 +14454,7 @@ var useCheckboxEvent = (props, { model, isLimitExceeded, hasOwnLabel, isDisabled
|
|
|
14454
14454
|
};
|
|
14455
14455
|
};
|
|
14456
14456
|
//#endregion
|
|
14457
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14457
|
+
//#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
|
|
14458
14458
|
var useCheckboxModel = (props) => {
|
|
14459
14459
|
const selfModel = ref(false);
|
|
14460
14460
|
const { emit, vnode } = getCurrentInstance();
|
|
@@ -14486,7 +14486,7 @@ var useCheckboxModel = (props) => {
|
|
|
14486
14486
|
};
|
|
14487
14487
|
};
|
|
14488
14488
|
//#endregion
|
|
14489
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14489
|
+
//#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
|
|
14490
14490
|
var useCheckboxStatus = (props, slots, { model }) => {
|
|
14491
14491
|
const checkboxGroup = inject(checkboxGroupContextKey, void 0);
|
|
14492
14492
|
const isFocused = ref(false);
|
|
@@ -14514,7 +14514,7 @@ var useCheckboxStatus = (props, slots, { model }) => {
|
|
|
14514
14514
|
};
|
|
14515
14515
|
};
|
|
14516
14516
|
//#endregion
|
|
14517
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14517
|
+
//#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
|
|
14518
14518
|
var useCheckbox = (props, slots) => {
|
|
14519
14519
|
const { formItem: elFormItem } = useFormItem();
|
|
14520
14520
|
const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);
|
|
@@ -14580,7 +14580,7 @@ var useCheckbox = (props, slots) => {
|
|
|
14580
14580
|
};
|
|
14581
14581
|
};
|
|
14582
14582
|
//#endregion
|
|
14583
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14583
|
+
//#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
|
|
14584
14584
|
var _hoisted_1$8 = [
|
|
14585
14585
|
"id",
|
|
14586
14586
|
"indeterminate",
|
|
@@ -14589,7 +14589,7 @@ var _hoisted_1$8 = [
|
|
|
14589
14589
|
"disabled"
|
|
14590
14590
|
];
|
|
14591
14591
|
//#endregion
|
|
14592
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14592
|
+
//#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
|
|
14593
14593
|
var checkbox_default = /* @__PURE__ */ defineComponent({
|
|
14594
14594
|
name: "ElCheckbox",
|
|
14595
14595
|
__name: "checkbox",
|
|
@@ -14664,14 +14664,14 @@ var checkbox_default = /* @__PURE__ */ defineComponent({
|
|
|
14664
14664
|
}
|
|
14665
14665
|
});
|
|
14666
14666
|
//#endregion
|
|
14667
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14667
|
+
//#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
|
|
14668
14668
|
var _hoisted_1$7 = [
|
|
14669
14669
|
"name",
|
|
14670
14670
|
"tabindex",
|
|
14671
14671
|
"disabled"
|
|
14672
14672
|
];
|
|
14673
14673
|
//#endregion
|
|
14674
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14674
|
+
//#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
|
|
14675
14675
|
var checkbox_button_default = /* @__PURE__ */ defineComponent({
|
|
14676
14676
|
name: "ElCheckboxButton",
|
|
14677
14677
|
__name: "checkbox-button",
|
|
@@ -14729,7 +14729,7 @@ var checkbox_button_default = /* @__PURE__ */ defineComponent({
|
|
|
14729
14729
|
}
|
|
14730
14730
|
});
|
|
14731
14731
|
//#endregion
|
|
14732
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14732
|
+
//#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
|
|
14733
14733
|
var checkbox_group_default = /* @__PURE__ */ defineComponent({
|
|
14734
14734
|
name: "ElCheckboxGroup",
|
|
14735
14735
|
__name: "checkbox-group",
|
|
@@ -14814,7 +14814,7 @@ var checkbox_group_default = /* @__PURE__ */ defineComponent({
|
|
|
14814
14814
|
}
|
|
14815
14815
|
});
|
|
14816
14816
|
//#endregion
|
|
14817
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14817
|
+
//#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
|
|
14818
14818
|
var ElCheckbox = withInstall(checkbox_default, {
|
|
14819
14819
|
CheckboxButton: checkbox_button_default,
|
|
14820
14820
|
CheckboxGroup: checkbox_group_default
|
|
@@ -14822,7 +14822,242 @@ var ElCheckbox = withInstall(checkbox_default, {
|
|
|
14822
14822
|
withNoopInstall(checkbox_button_default);
|
|
14823
14823
|
var ElCheckboxGroup = withNoopInstall(checkbox_group_default);
|
|
14824
14824
|
//#endregion
|
|
14825
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
14825
|
+
//#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
|
|
14826
|
+
/**
|
|
14827
|
+
* @deprecated Removed after 3.0.0, Use `TableProps` instead.
|
|
14828
|
+
*/
|
|
14829
|
+
var tableProps = {
|
|
14830
|
+
/**
|
|
14831
|
+
* @description table data
|
|
14832
|
+
*/
|
|
14833
|
+
data: {
|
|
14834
|
+
type: Array,
|
|
14835
|
+
default: () => []
|
|
14836
|
+
},
|
|
14837
|
+
/**
|
|
14838
|
+
* @description size of Table
|
|
14839
|
+
*/
|
|
14840
|
+
size: useSizeProp,
|
|
14841
|
+
width: [String, Number],
|
|
14842
|
+
/**
|
|
14843
|
+
* @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
|
|
14844
|
+
*/
|
|
14845
|
+
height: [String, Number],
|
|
14846
|
+
/**
|
|
14847
|
+
* @description table's max-height. The legal value is a number or the height in px
|
|
14848
|
+
*/
|
|
14849
|
+
maxHeight: [String, Number],
|
|
14850
|
+
/**
|
|
14851
|
+
* @description whether width of column automatically fits its container
|
|
14852
|
+
*/
|
|
14853
|
+
fit: {
|
|
14854
|
+
type: Boolean,
|
|
14855
|
+
default: true
|
|
14856
|
+
},
|
|
14857
|
+
/**
|
|
14858
|
+
* @description whether Table is striped
|
|
14859
|
+
*/
|
|
14860
|
+
stripe: Boolean,
|
|
14861
|
+
/**
|
|
14862
|
+
* @description whether Table has vertical border
|
|
14863
|
+
*/
|
|
14864
|
+
border: Boolean,
|
|
14865
|
+
/**
|
|
14866
|
+
* @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
|
|
14867
|
+
*/
|
|
14868
|
+
rowKey: [String, Function],
|
|
14869
|
+
/**
|
|
14870
|
+
* @description whether Table header is visible
|
|
14871
|
+
*/
|
|
14872
|
+
showHeader: {
|
|
14873
|
+
type: Boolean,
|
|
14874
|
+
default: true
|
|
14875
|
+
},
|
|
14876
|
+
/**
|
|
14877
|
+
* @description whether to display a summary row
|
|
14878
|
+
*/
|
|
14879
|
+
showSummary: Boolean,
|
|
14880
|
+
/**
|
|
14881
|
+
* @description displayed text for the first column of summary row
|
|
14882
|
+
*/
|
|
14883
|
+
sumText: String,
|
|
14884
|
+
/**
|
|
14885
|
+
* @description custom summary method
|
|
14886
|
+
*/
|
|
14887
|
+
summaryMethod: Function,
|
|
14888
|
+
/**
|
|
14889
|
+
* @description function that returns custom class names for a row, or a string assigning class names for every row
|
|
14890
|
+
*/
|
|
14891
|
+
rowClassName: [String, Function],
|
|
14892
|
+
/**
|
|
14893
|
+
* @description function that returns custom style for a row, or an object assigning custom style for every row
|
|
14894
|
+
*/
|
|
14895
|
+
rowStyle: [Object, Function],
|
|
14896
|
+
/**
|
|
14897
|
+
* @description function that returns custom class names for a cell, or a string assigning class names for every cell
|
|
14898
|
+
*/
|
|
14899
|
+
cellClassName: [String, Function],
|
|
14900
|
+
/**
|
|
14901
|
+
* @description function that returns custom style for a cell, or an object assigning custom style for every cell
|
|
14902
|
+
*/
|
|
14903
|
+
cellStyle: [Object, Function],
|
|
14904
|
+
/**
|
|
14905
|
+
* @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
|
|
14906
|
+
*/
|
|
14907
|
+
headerRowClassName: [String, Function],
|
|
14908
|
+
/**
|
|
14909
|
+
* @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header
|
|
14910
|
+
*/
|
|
14911
|
+
headerRowStyle: [Object, Function],
|
|
14912
|
+
/**
|
|
14913
|
+
* @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
|
|
14914
|
+
*/
|
|
14915
|
+
headerCellClassName: [String, Function],
|
|
14916
|
+
/**
|
|
14917
|
+
* @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header
|
|
14918
|
+
*/
|
|
14919
|
+
headerCellStyle: [Object, Function],
|
|
14920
|
+
/**
|
|
14921
|
+
* @description whether current row is highlighted
|
|
14922
|
+
*/
|
|
14923
|
+
highlightCurrentRow: Boolean,
|
|
14924
|
+
/**
|
|
14925
|
+
* @description key of current row, a set only prop
|
|
14926
|
+
*/
|
|
14927
|
+
currentRowKey: [String, Number],
|
|
14928
|
+
/**
|
|
14929
|
+
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
14930
|
+
*/
|
|
14931
|
+
emptyText: String,
|
|
14932
|
+
/**
|
|
14933
|
+
* @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
|
|
14934
|
+
*/
|
|
14935
|
+
expandRowKeys: Array,
|
|
14936
|
+
/**
|
|
14937
|
+
* @description whether expand all rows by default, works when the table has a column type="expand" or contains tree structure data
|
|
14938
|
+
*/
|
|
14939
|
+
defaultExpandAll: Boolean,
|
|
14940
|
+
/**
|
|
14941
|
+
* @description enable expandable rows, works when the table has a column type="expand"
|
|
14942
|
+
*/
|
|
14943
|
+
rowExpandable: { type: Function },
|
|
14944
|
+
/**
|
|
14945
|
+
* @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
|
|
14946
|
+
*/
|
|
14947
|
+
defaultSort: Object,
|
|
14948
|
+
/**
|
|
14949
|
+
* @description the `effect` of the overflow tooltip
|
|
14950
|
+
*/
|
|
14951
|
+
tooltipEffect: String,
|
|
14952
|
+
/**
|
|
14953
|
+
* @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)
|
|
14954
|
+
*/
|
|
14955
|
+
tooltipOptions: Object,
|
|
14956
|
+
/**
|
|
14957
|
+
* @description method that returns rowspan and colspan
|
|
14958
|
+
*/
|
|
14959
|
+
spanMethod: Function,
|
|
14960
|
+
/**
|
|
14961
|
+
* @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
|
|
14962
|
+
*/
|
|
14963
|
+
selectOnIndeterminate: {
|
|
14964
|
+
type: Boolean,
|
|
14965
|
+
default: true
|
|
14966
|
+
},
|
|
14967
|
+
/**
|
|
14968
|
+
* @description horizontal indentation of tree data
|
|
14969
|
+
*/
|
|
14970
|
+
indent: {
|
|
14971
|
+
type: Number,
|
|
14972
|
+
default: 16
|
|
14973
|
+
},
|
|
14974
|
+
/**
|
|
14975
|
+
* @description configuration for rendering nested data
|
|
14976
|
+
*/
|
|
14977
|
+
treeProps: {
|
|
14978
|
+
type: Object,
|
|
14979
|
+
default: () => {
|
|
14980
|
+
return {
|
|
14981
|
+
hasChildren: "hasChildren",
|
|
14982
|
+
children: "children",
|
|
14983
|
+
checkStrictly: false
|
|
14984
|
+
};
|
|
14985
|
+
}
|
|
14986
|
+
},
|
|
14987
|
+
/**
|
|
14988
|
+
* @description whether to lazy loading data
|
|
14989
|
+
*/
|
|
14990
|
+
lazy: Boolean,
|
|
14991
|
+
/**
|
|
14992
|
+
* @description method for loading child row data, only works when `lazy` is true
|
|
14993
|
+
*/
|
|
14994
|
+
load: Function,
|
|
14995
|
+
style: {
|
|
14996
|
+
type: [
|
|
14997
|
+
String,
|
|
14998
|
+
Object,
|
|
14999
|
+
Array,
|
|
15000
|
+
Boolean
|
|
15001
|
+
],
|
|
15002
|
+
default: () => ({})
|
|
15003
|
+
},
|
|
15004
|
+
className: {
|
|
15005
|
+
type: String,
|
|
15006
|
+
default: ""
|
|
15007
|
+
},
|
|
15008
|
+
/**
|
|
15009
|
+
* @description sets the algorithm used to lay out table cells, rows, and columns
|
|
15010
|
+
*/
|
|
15011
|
+
tableLayout: {
|
|
15012
|
+
type: String,
|
|
15013
|
+
default: "fixed"
|
|
15014
|
+
},
|
|
15015
|
+
/**
|
|
15016
|
+
* @description always show scrollbar
|
|
15017
|
+
*/
|
|
15018
|
+
scrollbarAlwaysOn: Boolean,
|
|
15019
|
+
/**
|
|
15020
|
+
* @description ensure main axis minimum-size doesn't follow the content
|
|
15021
|
+
*/
|
|
15022
|
+
flexible: Boolean,
|
|
15023
|
+
/**
|
|
15024
|
+
* @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
|
|
15025
|
+
*/
|
|
15026
|
+
showOverflowTooltip: {
|
|
15027
|
+
type: [Boolean, Object],
|
|
15028
|
+
default: void 0
|
|
15029
|
+
},
|
|
15030
|
+
/**
|
|
15031
|
+
* @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`
|
|
15032
|
+
*/
|
|
15033
|
+
tooltipFormatter: Function,
|
|
15034
|
+
appendFilterPanelTo: String,
|
|
15035
|
+
scrollbarTabindex: {
|
|
15036
|
+
type: [Number, String],
|
|
15037
|
+
default: void 0
|
|
15038
|
+
},
|
|
15039
|
+
/**
|
|
15040
|
+
* @description whether to allow drag the last column
|
|
15041
|
+
*/
|
|
15042
|
+
allowDragLastColumn: {
|
|
15043
|
+
type: Boolean,
|
|
15044
|
+
default: true
|
|
15045
|
+
},
|
|
15046
|
+
/**
|
|
15047
|
+
* @description whether to preserve expanded row content in DOM when collapsed
|
|
15048
|
+
*/
|
|
15049
|
+
preserveExpandedContent: Boolean,
|
|
15050
|
+
/**
|
|
15051
|
+
* @description whether to use native scrollbars
|
|
15052
|
+
*/
|
|
15053
|
+
nativeScrollbar: Boolean
|
|
15054
|
+
};
|
|
15055
|
+
//#endregion
|
|
15056
|
+
//#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
|
|
15057
|
+
var tableIdSeed = 1;
|
|
15058
|
+
var columnIdSeed = 1;
|
|
15059
|
+
var createTableId = (namespace) => `${namespace}-table_${tableIdSeed++}`;
|
|
15060
|
+
var createTableColumnId = (parentId) => `${parentId}_column_${columnIdSeed++}`;
|
|
14826
15061
|
var getCell = function(event) {
|
|
14827
15062
|
return event.target?.closest("td");
|
|
14828
15063
|
};
|
|
@@ -15008,10 +15243,6 @@ function walkTreeNode(root, cb, childrenKey = "children", lazyKey = "hasChildren
|
|
|
15008
15243
|
});
|
|
15009
15244
|
}
|
|
15010
15245
|
var getTableOverflowTooltipProps = (props, innerText, row, column) => {
|
|
15011
|
-
const popperOptions = {
|
|
15012
|
-
strategy: "fixed",
|
|
15013
|
-
...props.popperOptions
|
|
15014
|
-
};
|
|
15015
15246
|
const tooltipFormatterContent = isFunction$3(column?.tooltipFormatter) ? column.tooltipFormatter({
|
|
15016
15247
|
row,
|
|
15017
15248
|
column,
|
|
@@ -15020,14 +15251,14 @@ var getTableOverflowTooltipProps = (props, innerText, row, column) => {
|
|
|
15020
15251
|
if (isVNode(tooltipFormatterContent)) return {
|
|
15021
15252
|
slotContent: tooltipFormatterContent,
|
|
15022
15253
|
content: null,
|
|
15023
|
-
|
|
15024
|
-
|
|
15254
|
+
strategy: "fixed",
|
|
15255
|
+
...props
|
|
15025
15256
|
};
|
|
15026
15257
|
return {
|
|
15027
15258
|
slotContent: null,
|
|
15028
15259
|
content: tooltipFormatterContent ?? innerText,
|
|
15029
|
-
|
|
15030
|
-
|
|
15260
|
+
strategy: "fixed",
|
|
15261
|
+
...props
|
|
15031
15262
|
};
|
|
15032
15263
|
};
|
|
15033
15264
|
var removePopper = null;
|
|
@@ -15147,7 +15378,7 @@ function ensureValidVNode(vnodes) {
|
|
|
15147
15378
|
}) ? vnodes : null;
|
|
15148
15379
|
}
|
|
15149
15380
|
//#endregion
|
|
15150
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15381
|
+
//#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
|
|
15151
15382
|
function useExpand(watcherData) {
|
|
15152
15383
|
const instance = getCurrentInstance();
|
|
15153
15384
|
const defaultExpandAll = ref(false);
|
|
@@ -15200,7 +15431,7 @@ function useExpand(watcherData) {
|
|
|
15200
15431
|
};
|
|
15201
15432
|
}
|
|
15202
15433
|
//#endregion
|
|
15203
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15434
|
+
//#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
|
|
15204
15435
|
function useCurrent(watcherData) {
|
|
15205
15436
|
const instance = getCurrentInstance();
|
|
15206
15437
|
const _currentRowKey = ref(null);
|
|
@@ -15260,7 +15491,7 @@ function useCurrent(watcherData) {
|
|
|
15260
15491
|
};
|
|
15261
15492
|
}
|
|
15262
15493
|
//#endregion
|
|
15263
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15494
|
+
//#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
|
|
15264
15495
|
function useTree(watcherData) {
|
|
15265
15496
|
const expandRowKeys = ref([]);
|
|
15266
15497
|
const treeData = ref({});
|
|
@@ -15447,7 +15678,7 @@ function useTree(watcherData) {
|
|
|
15447
15678
|
};
|
|
15448
15679
|
}
|
|
15449
15680
|
//#endregion
|
|
15450
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
15681
|
+
//#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
|
|
15451
15682
|
var sortData = (data, states) => {
|
|
15452
15683
|
const sortingColumn = states.sortingColumn;
|
|
15453
15684
|
if (!sortingColumn || isString$2(sortingColumn.sortable)) return data;
|
|
@@ -15974,7 +16205,7 @@ function useWatcher$1() {
|
|
|
15974
16205
|
};
|
|
15975
16206
|
}
|
|
15976
16207
|
//#endregion
|
|
15977
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16208
|
+
//#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
|
|
15978
16209
|
function replaceColumn(array, column) {
|
|
15979
16210
|
return array.map((item) => {
|
|
15980
16211
|
if (item.id === column.id) return column;
|
|
@@ -16125,7 +16356,7 @@ function useStore() {
|
|
|
16125
16356
|
};
|
|
16126
16357
|
}
|
|
16127
16358
|
//#endregion
|
|
16128
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16359
|
+
//#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
|
|
16129
16360
|
var InitialStateMap = {
|
|
16130
16361
|
rowKey: "rowKey",
|
|
16131
16362
|
defaultExpandAll: "defaultExpandAll",
|
|
@@ -16183,7 +16414,7 @@ function getArrKeysValue(props, key) {
|
|
|
16183
16414
|
} else return props[key];
|
|
16184
16415
|
}
|
|
16185
16416
|
//#endregion
|
|
16186
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16417
|
+
//#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
|
|
16187
16418
|
var TableLayout = class {
|
|
16188
16419
|
constructor(options) {
|
|
16189
16420
|
this.observers = [];
|
|
@@ -16352,10 +16583,10 @@ var TableLayout = class {
|
|
|
16352
16583
|
}
|
|
16353
16584
|
};
|
|
16354
16585
|
//#endregion
|
|
16355
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16586
|
+
//#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
|
|
16356
16587
|
var TABLE_INJECTION_KEY = Symbol("ElTable");
|
|
16357
16588
|
//#endregion
|
|
16358
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16589
|
+
//#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
|
|
16359
16590
|
var getAllColumns = (columns) => {
|
|
16360
16591
|
const result = [];
|
|
16361
16592
|
columns.forEach((column) => {
|
|
@@ -16419,7 +16650,7 @@ function useUtils$1(props) {
|
|
|
16419
16650
|
};
|
|
16420
16651
|
}
|
|
16421
16652
|
//#endregion
|
|
16422
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16653
|
+
//#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
|
|
16423
16654
|
var filter_panel_vue_vue_type_script_lang_default = defineComponent({
|
|
16424
16655
|
name: "ElTableFilterPanel",
|
|
16425
16656
|
components: {
|
|
@@ -16581,7 +16812,7 @@ var filter_panel_vue_vue_type_script_lang_default = defineComponent({
|
|
|
16581
16812
|
}
|
|
16582
16813
|
});
|
|
16583
16814
|
//#endregion
|
|
16584
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16815
|
+
//#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
|
|
16585
16816
|
var _hoisted_1$6 = ["disabled"];
|
|
16586
16817
|
var _hoisted_2$1 = ["tabindex", "aria-checked"];
|
|
16587
16818
|
var _hoisted_3 = [
|
|
@@ -16590,7 +16821,7 @@ var _hoisted_3 = [
|
|
|
16590
16821
|
"onClick"
|
|
16591
16822
|
];
|
|
16592
16823
|
var _hoisted_4 = ["aria-label"];
|
|
16593
|
-
function _sfc_render
|
|
16824
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16594
16825
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
16595
16826
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
16596
16827
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
@@ -16686,9 +16917,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16686
16917
|
"onHide"
|
|
16687
16918
|
]);
|
|
16688
16919
|
}
|
|
16689
|
-
var filter_panel_default = /* @__PURE__ */ _plugin_vue_export_helper_default$1(filter_panel_vue_vue_type_script_lang_default, [["render", _sfc_render
|
|
16920
|
+
var filter_panel_default = /* @__PURE__ */ _plugin_vue_export_helper_default$1(filter_panel_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
16690
16921
|
//#endregion
|
|
16691
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16922
|
+
//#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
|
|
16692
16923
|
function useLayoutObserver(root) {
|
|
16693
16924
|
const instance = getCurrentInstance();
|
|
16694
16925
|
onBeforeMount(() => {
|
|
@@ -16741,7 +16972,7 @@ function useLayoutObserver(root) {
|
|
|
16741
16972
|
};
|
|
16742
16973
|
}
|
|
16743
16974
|
//#endregion
|
|
16744
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
16975
|
+
//#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
|
|
16745
16976
|
function useEvent(props, emit) {
|
|
16746
16977
|
const instance = getCurrentInstance();
|
|
16747
16978
|
const parent = inject(TABLE_INJECTION_KEY);
|
|
@@ -16871,7 +17102,7 @@ function useEvent(props, emit) {
|
|
|
16871
17102
|
if (sortingColumn !== column || sortingColumn === column && isNull(sortingColumn.order)) {
|
|
16872
17103
|
if (sortingColumn) sortingColumn.order = null;
|
|
16873
17104
|
states.sortingColumn.value = column;
|
|
16874
|
-
sortProp = column.property;
|
|
17105
|
+
sortProp = column.property ?? null;
|
|
16875
17106
|
}
|
|
16876
17107
|
if (!order) sortOrder = column.order = null;
|
|
16877
17108
|
else sortOrder = column.order = order;
|
|
@@ -16890,7 +17121,7 @@ function useEvent(props, emit) {
|
|
|
16890
17121
|
};
|
|
16891
17122
|
}
|
|
16892
17123
|
//#endregion
|
|
16893
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17124
|
+
//#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
|
|
16894
17125
|
function useStyle$2(props) {
|
|
16895
17126
|
const parent = inject(TABLE_INJECTION_KEY);
|
|
16896
17127
|
const ns = useNamespace$1("table");
|
|
@@ -16950,7 +17181,7 @@ function useStyle$2(props) {
|
|
|
16950
17181
|
};
|
|
16951
17182
|
}
|
|
16952
17183
|
//#endregion
|
|
16953
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17184
|
+
//#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
|
|
16954
17185
|
var table_header_default = defineComponent({
|
|
16955
17186
|
name: "ElTableHeader",
|
|
16956
17187
|
components: { ElCheckbox },
|
|
@@ -17113,7 +17344,7 @@ var table_header_default = defineComponent({
|
|
|
17113
17344
|
}
|
|
17114
17345
|
});
|
|
17115
17346
|
//#endregion
|
|
17116
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17347
|
+
//#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
|
|
17117
17348
|
function useEvents(props) {
|
|
17118
17349
|
const parent = inject(TABLE_INJECTION_KEY);
|
|
17119
17350
|
const tooltipContent = ref("");
|
|
@@ -17223,7 +17454,7 @@ function useEvents(props) {
|
|
|
17223
17454
|
};
|
|
17224
17455
|
}
|
|
17225
17456
|
//#endregion
|
|
17226
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17457
|
+
//#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
|
|
17227
17458
|
function useStyles(props) {
|
|
17228
17459
|
const parent = inject(TABLE_INJECTION_KEY);
|
|
17229
17460
|
const ns = useNamespace$1("table");
|
|
@@ -17319,10 +17550,10 @@ function useStyles(props) {
|
|
|
17319
17550
|
};
|
|
17320
17551
|
}
|
|
17321
17552
|
//#endregion
|
|
17322
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17553
|
+
//#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
|
|
17323
17554
|
var _hoisted_1$5 = ["colspan", "rowspan"];
|
|
17324
17555
|
//#endregion
|
|
17325
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17556
|
+
//#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
|
|
17326
17557
|
var td_wrapper_default = /* @__PURE__ */ defineComponent({
|
|
17327
17558
|
name: "TableTdWrapper",
|
|
17328
17559
|
__name: "td-wrapper",
|
|
@@ -17346,7 +17577,7 @@ var td_wrapper_default = /* @__PURE__ */ defineComponent({
|
|
|
17346
17577
|
}
|
|
17347
17578
|
});
|
|
17348
17579
|
//#endregion
|
|
17349
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17580
|
+
//#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
|
|
17350
17581
|
function useRender$1(props) {
|
|
17351
17582
|
const parent = inject(TABLE_INJECTION_KEY);
|
|
17352
17583
|
const ns = useNamespace$1("table");
|
|
@@ -17512,7 +17743,7 @@ function useRender$1(props) {
|
|
|
17512
17743
|
};
|
|
17513
17744
|
}
|
|
17514
17745
|
//#endregion
|
|
17515
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17746
|
+
//#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
|
|
17516
17747
|
var table_body_default = defineComponent({
|
|
17517
17748
|
name: "ElTableBody",
|
|
17518
17749
|
props: {
|
|
@@ -17598,7 +17829,7 @@ var table_body_default = defineComponent({
|
|
|
17598
17829
|
}
|
|
17599
17830
|
});
|
|
17600
17831
|
//#endregion
|
|
17601
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17832
|
+
//#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
|
|
17602
17833
|
function useMapState() {
|
|
17603
17834
|
const store = inject(TABLE_INJECTION_KEY)?.store;
|
|
17604
17835
|
return {
|
|
@@ -17621,7 +17852,7 @@ function useMapState() {
|
|
|
17621
17852
|
};
|
|
17622
17853
|
}
|
|
17623
17854
|
//#endregion
|
|
17624
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17855
|
+
//#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
|
|
17625
17856
|
function useStyle$1(props) {
|
|
17626
17857
|
const { columns } = useMapState();
|
|
17627
17858
|
const ns = useNamespace$1("table");
|
|
@@ -17651,7 +17882,7 @@ function useStyle$1(props) {
|
|
|
17651
17882
|
};
|
|
17652
17883
|
}
|
|
17653
17884
|
//#endregion
|
|
17654
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17885
|
+
//#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
|
|
17655
17886
|
var table_footer_default = defineComponent({
|
|
17656
17887
|
name: "ElTableFooter",
|
|
17657
17888
|
props: {
|
|
@@ -17731,7 +17962,7 @@ var table_footer_default = defineComponent({
|
|
|
17731
17962
|
}
|
|
17732
17963
|
});
|
|
17733
17964
|
//#endregion
|
|
17734
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
17965
|
+
//#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
|
|
17735
17966
|
function useUtils(store) {
|
|
17736
17967
|
const setCurrentRow = (row) => {
|
|
17737
17968
|
store.commit("setCurrentRow", row);
|
|
@@ -17781,7 +18012,7 @@ function useUtils(store) {
|
|
|
17781
18012
|
};
|
|
17782
18013
|
}
|
|
17783
18014
|
//#endregion
|
|
17784
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18015
|
+
//#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
|
|
17785
18016
|
function useStyle(props, layout, store, table) {
|
|
17786
18017
|
const isHidden = ref(false);
|
|
17787
18018
|
const renderExpanded = ref(null);
|
|
@@ -17975,7 +18206,7 @@ function useStyle(props, layout, store, table) {
|
|
|
17975
18206
|
};
|
|
17976
18207
|
}
|
|
17977
18208
|
//#endregion
|
|
17978
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18209
|
+
//#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
|
|
17979
18210
|
function useKeyRender(table) {
|
|
17980
18211
|
let observer;
|
|
17981
18212
|
const initWatchDom = () => {
|
|
@@ -17998,235 +18229,7 @@ function useKeyRender(table) {
|
|
|
17998
18229
|
});
|
|
17999
18230
|
}
|
|
18000
18231
|
//#endregion
|
|
18001
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18002
|
-
var defaults_default$1 = {
|
|
18003
|
-
/**
|
|
18004
|
-
* @description table data
|
|
18005
|
-
*/
|
|
18006
|
-
data: {
|
|
18007
|
-
type: Array,
|
|
18008
|
-
default: () => []
|
|
18009
|
-
},
|
|
18010
|
-
/**
|
|
18011
|
-
* @description size of Table
|
|
18012
|
-
*/
|
|
18013
|
-
size: useSizeProp,
|
|
18014
|
-
width: [String, Number],
|
|
18015
|
-
/**
|
|
18016
|
-
* @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
|
|
18017
|
-
*/
|
|
18018
|
-
height: [String, Number],
|
|
18019
|
-
/**
|
|
18020
|
-
* @description table's max-height. The legal value is a number or the height in px
|
|
18021
|
-
*/
|
|
18022
|
-
maxHeight: [String, Number],
|
|
18023
|
-
/**
|
|
18024
|
-
* @description whether width of column automatically fits its container
|
|
18025
|
-
*/
|
|
18026
|
-
fit: {
|
|
18027
|
-
type: Boolean,
|
|
18028
|
-
default: true
|
|
18029
|
-
},
|
|
18030
|
-
/**
|
|
18031
|
-
* @description whether Table is striped
|
|
18032
|
-
*/
|
|
18033
|
-
stripe: Boolean,
|
|
18034
|
-
/**
|
|
18035
|
-
* @description whether Table has vertical border
|
|
18036
|
-
*/
|
|
18037
|
-
border: Boolean,
|
|
18038
|
-
/**
|
|
18039
|
-
* @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
|
|
18040
|
-
*/
|
|
18041
|
-
rowKey: [String, Function],
|
|
18042
|
-
/**
|
|
18043
|
-
* @description whether Table header is visible
|
|
18044
|
-
*/
|
|
18045
|
-
showHeader: {
|
|
18046
|
-
type: Boolean,
|
|
18047
|
-
default: true
|
|
18048
|
-
},
|
|
18049
|
-
/**
|
|
18050
|
-
* @description whether to display a summary row
|
|
18051
|
-
*/
|
|
18052
|
-
showSummary: Boolean,
|
|
18053
|
-
/**
|
|
18054
|
-
* @description displayed text for the first column of summary row
|
|
18055
|
-
*/
|
|
18056
|
-
sumText: String,
|
|
18057
|
-
/**
|
|
18058
|
-
* @description custom summary method
|
|
18059
|
-
*/
|
|
18060
|
-
summaryMethod: Function,
|
|
18061
|
-
/**
|
|
18062
|
-
* @description function that returns custom class names for a row, or a string assigning class names for every row
|
|
18063
|
-
*/
|
|
18064
|
-
rowClassName: [String, Function],
|
|
18065
|
-
/**
|
|
18066
|
-
* @description function that returns custom style for a row, or an object assigning custom style for every row
|
|
18067
|
-
*/
|
|
18068
|
-
rowStyle: [Object, Function],
|
|
18069
|
-
/**
|
|
18070
|
-
* @description function that returns custom class names for a cell, or a string assigning class names for every cell
|
|
18071
|
-
*/
|
|
18072
|
-
cellClassName: [String, Function],
|
|
18073
|
-
/**
|
|
18074
|
-
* @description function that returns custom style for a cell, or an object assigning custom style for every cell
|
|
18075
|
-
*/
|
|
18076
|
-
cellStyle: [Object, Function],
|
|
18077
|
-
/**
|
|
18078
|
-
* @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
|
|
18079
|
-
*/
|
|
18080
|
-
headerRowClassName: [String, Function],
|
|
18081
|
-
/**
|
|
18082
|
-
* @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header
|
|
18083
|
-
*/
|
|
18084
|
-
headerRowStyle: [Object, Function],
|
|
18085
|
-
/**
|
|
18086
|
-
* @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
|
|
18087
|
-
*/
|
|
18088
|
-
headerCellClassName: [String, Function],
|
|
18089
|
-
/**
|
|
18090
|
-
* @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header
|
|
18091
|
-
*/
|
|
18092
|
-
headerCellStyle: [Object, Function],
|
|
18093
|
-
/**
|
|
18094
|
-
* @description whether current row is highlighted
|
|
18095
|
-
*/
|
|
18096
|
-
highlightCurrentRow: Boolean,
|
|
18097
|
-
/**
|
|
18098
|
-
* @description key of current row, a set only prop
|
|
18099
|
-
*/
|
|
18100
|
-
currentRowKey: [String, Number],
|
|
18101
|
-
/**
|
|
18102
|
-
* @description displayed text when data is empty. You can customize this area with `#empty`
|
|
18103
|
-
*/
|
|
18104
|
-
emptyText: String,
|
|
18105
|
-
/**
|
|
18106
|
-
* @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
|
|
18107
|
-
*/
|
|
18108
|
-
expandRowKeys: Array,
|
|
18109
|
-
/**
|
|
18110
|
-
* @description whether expand all rows by default, works when the table has a column type="expand" or contains tree structure data
|
|
18111
|
-
*/
|
|
18112
|
-
defaultExpandAll: Boolean,
|
|
18113
|
-
/**
|
|
18114
|
-
* @description enable expandable rows, works when the table has a column type="expand"
|
|
18115
|
-
*/
|
|
18116
|
-
rowExpandable: { type: Function },
|
|
18117
|
-
/**
|
|
18118
|
-
* @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
|
|
18119
|
-
*/
|
|
18120
|
-
defaultSort: Object,
|
|
18121
|
-
/**
|
|
18122
|
-
* @description the `effect` of the overflow tooltip
|
|
18123
|
-
*/
|
|
18124
|
-
tooltipEffect: String,
|
|
18125
|
-
/**
|
|
18126
|
-
* @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)
|
|
18127
|
-
*/
|
|
18128
|
-
tooltipOptions: Object,
|
|
18129
|
-
/**
|
|
18130
|
-
* @description method that returns rowspan and colspan
|
|
18131
|
-
*/
|
|
18132
|
-
spanMethod: Function,
|
|
18133
|
-
/**
|
|
18134
|
-
* @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
|
|
18135
|
-
*/
|
|
18136
|
-
selectOnIndeterminate: {
|
|
18137
|
-
type: Boolean,
|
|
18138
|
-
default: true
|
|
18139
|
-
},
|
|
18140
|
-
/**
|
|
18141
|
-
* @description horizontal indentation of tree data
|
|
18142
|
-
*/
|
|
18143
|
-
indent: {
|
|
18144
|
-
type: Number,
|
|
18145
|
-
default: 16
|
|
18146
|
-
},
|
|
18147
|
-
/**
|
|
18148
|
-
* @description configuration for rendering nested data
|
|
18149
|
-
*/
|
|
18150
|
-
treeProps: {
|
|
18151
|
-
type: Object,
|
|
18152
|
-
default: () => {
|
|
18153
|
-
return {
|
|
18154
|
-
hasChildren: "hasChildren",
|
|
18155
|
-
children: "children",
|
|
18156
|
-
checkStrictly: false
|
|
18157
|
-
};
|
|
18158
|
-
}
|
|
18159
|
-
},
|
|
18160
|
-
/**
|
|
18161
|
-
* @description whether to lazy loading data
|
|
18162
|
-
*/
|
|
18163
|
-
lazy: Boolean,
|
|
18164
|
-
/**
|
|
18165
|
-
* @description method for loading child row data, only works when `lazy` is true
|
|
18166
|
-
*/
|
|
18167
|
-
load: Function,
|
|
18168
|
-
style: {
|
|
18169
|
-
type: [
|
|
18170
|
-
String,
|
|
18171
|
-
Object,
|
|
18172
|
-
Array,
|
|
18173
|
-
Boolean
|
|
18174
|
-
],
|
|
18175
|
-
default: () => ({})
|
|
18176
|
-
},
|
|
18177
|
-
className: {
|
|
18178
|
-
type: String,
|
|
18179
|
-
default: ""
|
|
18180
|
-
},
|
|
18181
|
-
/**
|
|
18182
|
-
* @description sets the algorithm used to lay out table cells, rows, and columns
|
|
18183
|
-
*/
|
|
18184
|
-
tableLayout: {
|
|
18185
|
-
type: String,
|
|
18186
|
-
default: "fixed"
|
|
18187
|
-
},
|
|
18188
|
-
/**
|
|
18189
|
-
* @description always show scrollbar
|
|
18190
|
-
*/
|
|
18191
|
-
scrollbarAlwaysOn: Boolean,
|
|
18192
|
-
/**
|
|
18193
|
-
* @description ensure main axis minimum-size doesn't follow the content
|
|
18194
|
-
*/
|
|
18195
|
-
flexible: Boolean,
|
|
18196
|
-
/**
|
|
18197
|
-
* @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
|
|
18198
|
-
*/
|
|
18199
|
-
showOverflowTooltip: {
|
|
18200
|
-
type: [Boolean, Object],
|
|
18201
|
-
default: void 0
|
|
18202
|
-
},
|
|
18203
|
-
/**
|
|
18204
|
-
* @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`
|
|
18205
|
-
*/
|
|
18206
|
-
tooltipFormatter: Function,
|
|
18207
|
-
appendFilterPanelTo: String,
|
|
18208
|
-
scrollbarTabindex: {
|
|
18209
|
-
type: [Number, String],
|
|
18210
|
-
default: void 0
|
|
18211
|
-
},
|
|
18212
|
-
/**
|
|
18213
|
-
* @description whether to allow drag the last column
|
|
18214
|
-
*/
|
|
18215
|
-
allowDragLastColumn: {
|
|
18216
|
-
type: Boolean,
|
|
18217
|
-
default: true
|
|
18218
|
-
},
|
|
18219
|
-
/**
|
|
18220
|
-
* @description whether to preserve expanded row content in DOM when collapsed
|
|
18221
|
-
*/
|
|
18222
|
-
preserveExpandedContent: Boolean,
|
|
18223
|
-
/**
|
|
18224
|
-
* @description whether to use native scrollbars
|
|
18225
|
-
*/
|
|
18226
|
-
nativeScrollbar: Boolean
|
|
18227
|
-
};
|
|
18228
|
-
//#endregion
|
|
18229
|
-
//#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
|
|
18232
|
+
//#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
|
|
18230
18233
|
function hColgroup(props) {
|
|
18231
18234
|
const isAuto = props.tableLayout === "auto";
|
|
18232
18235
|
let columns = props.columns || [];
|
|
@@ -18247,7 +18250,7 @@ function hColgroup(props) {
|
|
|
18247
18250
|
}
|
|
18248
18251
|
hColgroup.props = ["columns", "tableLayout"];
|
|
18249
18252
|
//#endregion
|
|
18250
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18253
|
+
//#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
|
|
18251
18254
|
var useScrollbar = () => {
|
|
18252
18255
|
const scrollBarRef = ref();
|
|
18253
18256
|
const scrollTo = (options, yCoord) => {
|
|
@@ -18268,31 +18271,30 @@ var useScrollbar = () => {
|
|
|
18268
18271
|
};
|
|
18269
18272
|
};
|
|
18270
18273
|
//#endregion
|
|
18271
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
18272
|
-
var
|
|
18273
|
-
var
|
|
18274
|
+
//#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
|
|
18275
|
+
var _hoisted_1$4 = ["data-prefix"];
|
|
18276
|
+
var _hoisted_2 = {
|
|
18277
|
+
ref: "hiddenColumns",
|
|
18278
|
+
class: "hidden-columns"
|
|
18279
|
+
};
|
|
18280
|
+
//#endregion
|
|
18281
|
+
//#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
|
|
18282
|
+
var table_default$1 = /* @__PURE__ */ defineComponent({
|
|
18274
18283
|
name: "ElTable",
|
|
18275
|
-
|
|
18276
|
-
|
|
18277
|
-
TableHeader: table_header_default,
|
|
18278
|
-
TableBody: table_body_default,
|
|
18279
|
-
TableFooter: table_footer_default,
|
|
18280
|
-
ElScrollbar,
|
|
18281
|
-
hColgroup
|
|
18282
|
-
},
|
|
18283
|
-
props: defaults_default$1,
|
|
18284
|
+
__name: "table",
|
|
18285
|
+
props: tableProps,
|
|
18284
18286
|
emits: [
|
|
18285
18287
|
"select",
|
|
18286
18288
|
"select-all",
|
|
18287
18289
|
"selection-change",
|
|
18288
18290
|
"cell-mouse-enter",
|
|
18289
18291
|
"cell-mouse-leave",
|
|
18292
|
+
"cell-dblclick",
|
|
18290
18293
|
"cell-contextmenu",
|
|
18291
18294
|
"cell-click",
|
|
18292
|
-
"
|
|
18295
|
+
"row-dblclick",
|
|
18293
18296
|
"row-click",
|
|
18294
18297
|
"row-contextmenu",
|
|
18295
|
-
"row-dblclick",
|
|
18296
18298
|
"header-click",
|
|
18297
18299
|
"header-contextmenu",
|
|
18298
18300
|
"sort-change",
|
|
@@ -18302,7 +18304,8 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
18302
18304
|
"expand-change",
|
|
18303
18305
|
"scroll"
|
|
18304
18306
|
],
|
|
18305
|
-
setup(
|
|
18307
|
+
setup(__props, { expose: __expose }) {
|
|
18308
|
+
const props = __props;
|
|
18306
18309
|
const { t } = useLocale$1();
|
|
18307
18310
|
const ns = useNamespace$1("table");
|
|
18308
18311
|
const globalConfig = useGlobalConfig("table");
|
|
@@ -18325,7 +18328,8 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
18325
18328
|
const { isHidden, renderExpanded, setDragVisible, isGroup, handleMouseLeave, handleHeaderFooterMousewheel, tableSize, emptyBlockStyle, resizeProxyVisible, bodyWidth, resizeState, doLayout, tableBodyStyles, tableLayout, scrollbarViewStyle, scrollbarStyle } = useStyle(props, layout, store, table);
|
|
18326
18329
|
const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar();
|
|
18327
18330
|
const debouncedUpdateLayout = debounce$1(doLayout, 50);
|
|
18328
|
-
const tableId =
|
|
18331
|
+
const tableId = createTableId(ns.namespace.value);
|
|
18332
|
+
const context = table;
|
|
18329
18333
|
table.tableId = tableId;
|
|
18330
18334
|
table.state = {
|
|
18331
18335
|
isGroup,
|
|
@@ -18346,7 +18350,7 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
18346
18350
|
onBeforeUnmount(() => {
|
|
18347
18351
|
debouncedUpdateLayout.cancel();
|
|
18348
18352
|
});
|
|
18349
|
-
|
|
18353
|
+
__expose({
|
|
18350
18354
|
ns,
|
|
18351
18355
|
layout,
|
|
18352
18356
|
store,
|
|
@@ -18411,7 +18415,7 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
18411
18415
|
updateKeyChildren,
|
|
18412
18416
|
t,
|
|
18413
18417
|
setDragVisible,
|
|
18414
|
-
context
|
|
18418
|
+
context,
|
|
18415
18419
|
computedSumText,
|
|
18416
18420
|
computedEmptyText,
|
|
18417
18421
|
computedTooltipEffect,
|
|
@@ -18436,583 +18440,212 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
18436
18440
|
* @description whether to allow drag the last column
|
|
18437
18441
|
*/
|
|
18438
18442
|
allowDragLastColumn: props.allowDragLastColumn
|
|
18439
|
-
};
|
|
18440
|
-
|
|
18441
|
-
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
|
|
18445
|
-
|
|
18446
|
-
|
|
18447
|
-
|
|
18448
|
-
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
|
|
18459
|
-
|
|
18460
|
-
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
|
|
18464
|
-
[
|
|
18465
|
-
|
|
18466
|
-
|
|
18467
|
-
|
|
18468
|
-
|
|
18469
|
-
|
|
18470
|
-
"
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
|
|
18477
|
-
|
|
18478
|
-
"data-prefix": _ctx.ns.namespace.value,
|
|
18479
|
-
onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args))
|
|
18480
|
-
}, [createElementVNode("div", {
|
|
18481
|
-
ref: "tableInnerWrapper",
|
|
18482
|
-
class: normalizeClass(_ctx.ns.e("inner-wrapper"))
|
|
18483
|
-
}, [
|
|
18484
|
-
createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")], 512),
|
|
18485
|
-
_ctx.showHeader && _ctx.tableLayout === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
18486
|
-
key: 0,
|
|
18487
|
-
ref: "headerWrapper",
|
|
18488
|
-
class: normalizeClass(_ctx.ns.e("header-wrapper"))
|
|
18489
|
-
}, [createElementVNode("table", {
|
|
18490
|
-
ref: "tableHeader",
|
|
18491
|
-
class: normalizeClass(_ctx.ns.e("header")),
|
|
18492
|
-
style: normalizeStyle(_ctx.tableBodyStyles),
|
|
18493
|
-
border: "0",
|
|
18494
|
-
cellpadding: "0",
|
|
18495
|
-
cellspacing: "0"
|
|
18496
|
-
}, [createVNode(_component_hColgroup, {
|
|
18497
|
-
columns: _ctx.store.states.columns.value,
|
|
18498
|
-
"table-layout": _ctx.tableLayout
|
|
18499
|
-
}, null, 8, ["columns", "table-layout"]), createVNode(_component_table_header, {
|
|
18500
|
-
ref: "tableHeaderRef",
|
|
18501
|
-
border: _ctx.border,
|
|
18502
|
-
"default-sort": _ctx.defaultSort,
|
|
18503
|
-
store: _ctx.store,
|
|
18504
|
-
"append-filter-panel-to": _ctx.appendFilterPanelTo,
|
|
18505
|
-
"allow-drag-last-column": _ctx.allowDragLastColumn,
|
|
18506
|
-
onSetDragVisible: _ctx.setDragVisible
|
|
18507
|
-
}, null, 8, [
|
|
18508
|
-
"border",
|
|
18509
|
-
"default-sort",
|
|
18510
|
-
"store",
|
|
18511
|
-
"append-filter-panel-to",
|
|
18512
|
-
"allow-drag-last-column",
|
|
18513
|
-
"onSetDragVisible"
|
|
18514
|
-
])], 6)], 2)), [[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]]) : createCommentVNode("v-if", true),
|
|
18515
|
-
createElementVNode("div", {
|
|
18516
|
-
ref: "bodyWrapper",
|
|
18517
|
-
class: normalizeClass(_ctx.ns.e("body-wrapper"))
|
|
18518
|
-
}, [createVNode(_component_el_scrollbar, {
|
|
18519
|
-
ref: "scrollBarRef",
|
|
18520
|
-
"view-style": _ctx.scrollbarViewStyle,
|
|
18521
|
-
"wrap-style": _ctx.scrollbarStyle,
|
|
18522
|
-
always: _ctx.scrollbarAlwaysOn,
|
|
18523
|
-
tabindex: _ctx.scrollbarTabindex,
|
|
18524
|
-
native: _ctx.nativeScrollbar,
|
|
18525
|
-
onScroll: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("scroll", $event))
|
|
18526
|
-
}, {
|
|
18527
|
-
default: withCtx(() => [
|
|
18528
|
-
createElementVNode("table", {
|
|
18529
|
-
ref: "tableBody",
|
|
18530
|
-
class: normalizeClass(_ctx.ns.e("body")),
|
|
18531
|
-
cellspacing: "0",
|
|
18532
|
-
cellpadding: "0",
|
|
18443
|
+
});
|
|
18444
|
+
return (_ctx, _cache) => {
|
|
18445
|
+
return openBlock(), createElementBlock("div", {
|
|
18446
|
+
ref: "tableWrapper",
|
|
18447
|
+
class: normalizeClass([
|
|
18448
|
+
{
|
|
18449
|
+
[unref(ns).m("fit")]: __props.fit,
|
|
18450
|
+
[unref(ns).m("striped")]: __props.stripe,
|
|
18451
|
+
[unref(ns).m("border")]: __props.border || unref(isGroup),
|
|
18452
|
+
[unref(ns).m("hidden")]: unref(isHidden),
|
|
18453
|
+
[unref(ns).m("group")]: unref(isGroup),
|
|
18454
|
+
[unref(ns).m("fluid-height")]: __props.maxHeight,
|
|
18455
|
+
[unref(ns).m("scrollable-x")]: unref(layout).scrollX.value,
|
|
18456
|
+
[unref(ns).m("scrollable-y")]: unref(layout).scrollY.value,
|
|
18457
|
+
[unref(ns).m("enable-row-hover")]: !unref(store).states.isComplex.value,
|
|
18458
|
+
[unref(ns).m("enable-row-transition")]: (unref(store).states.data.value || []).length !== 0 && (unref(store).states.data.value || []).length < 100,
|
|
18459
|
+
"has-footer": __props.showSummary
|
|
18460
|
+
},
|
|
18461
|
+
unref(ns).m(unref(tableSize)),
|
|
18462
|
+
__props.className,
|
|
18463
|
+
unref(ns).b(),
|
|
18464
|
+
unref(ns).m(`layout-${unref(tableLayout)}`)
|
|
18465
|
+
]),
|
|
18466
|
+
style: normalizeStyle(__props.style),
|
|
18467
|
+
"data-prefix": unref(ns).namespace.value,
|
|
18468
|
+
onMouseleave: _cache[1] || (_cache[1] = (...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args))
|
|
18469
|
+
}, [createElementVNode("div", {
|
|
18470
|
+
ref: "tableInnerWrapper",
|
|
18471
|
+
class: normalizeClass(unref(ns).e("inner-wrapper"))
|
|
18472
|
+
}, [
|
|
18473
|
+
createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")], 512),
|
|
18474
|
+
__props.showHeader && unref(tableLayout) === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
18475
|
+
key: 0,
|
|
18476
|
+
ref: "headerWrapper",
|
|
18477
|
+
class: normalizeClass(unref(ns).e("header-wrapper"))
|
|
18478
|
+
}, [createElementVNode("table", {
|
|
18479
|
+
ref: "tableHeader",
|
|
18480
|
+
class: normalizeClass(unref(ns).e("header")),
|
|
18481
|
+
style: normalizeStyle(unref(tableBodyStyles)),
|
|
18533
18482
|
border: "0",
|
|
18534
|
-
|
|
18535
|
-
|
|
18536
|
-
|
|
18537
|
-
|
|
18538
|
-
|
|
18539
|
-
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
|
|
18545
|
-
|
|
18546
|
-
|
|
18547
|
-
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
|
|
18558
|
-
|
|
18559
|
-
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
|
|
18568
|
-
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18483
|
+
cellpadding: "0",
|
|
18484
|
+
cellspacing: "0"
|
|
18485
|
+
}, [createVNode(unref(hColgroup), {
|
|
18486
|
+
columns: unref(store).states.columns.value,
|
|
18487
|
+
"table-layout": unref(tableLayout)
|
|
18488
|
+
}, null, 8, ["columns", "table-layout"]), createVNode(unref(table_header_default), {
|
|
18489
|
+
ref: "tableHeaderRef",
|
|
18490
|
+
border: __props.border,
|
|
18491
|
+
"default-sort": __props.defaultSort,
|
|
18492
|
+
store: unref(store),
|
|
18493
|
+
"append-filter-panel-to": __props.appendFilterPanelTo,
|
|
18494
|
+
"allow-drag-last-column": __props.allowDragLastColumn,
|
|
18495
|
+
onSetDragVisible: unref(setDragVisible)
|
|
18496
|
+
}, null, 8, [
|
|
18497
|
+
"border",
|
|
18498
|
+
"default-sort",
|
|
18499
|
+
"store",
|
|
18500
|
+
"append-filter-panel-to",
|
|
18501
|
+
"allow-drag-last-column",
|
|
18502
|
+
"onSetDragVisible"
|
|
18503
|
+
])], 6)], 2)), [[unref(Mousewheel), unref(handleHeaderFooterMousewheel)]]) : createCommentVNode("v-if", true),
|
|
18504
|
+
createElementVNode("div", {
|
|
18505
|
+
ref: "bodyWrapper",
|
|
18506
|
+
class: normalizeClass(unref(ns).e("body-wrapper"))
|
|
18507
|
+
}, [createVNode(unref(ElScrollbar), {
|
|
18508
|
+
ref_key: "scrollBarRef",
|
|
18509
|
+
ref: scrollBarRef,
|
|
18510
|
+
"view-style": unref(scrollbarViewStyle),
|
|
18511
|
+
"wrap-style": unref(scrollbarStyle),
|
|
18512
|
+
always: __props.scrollbarAlwaysOn,
|
|
18513
|
+
tabindex: __props.scrollbarTabindex,
|
|
18514
|
+
native: __props.nativeScrollbar,
|
|
18515
|
+
onScroll: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("scroll", $event))
|
|
18516
|
+
}, {
|
|
18517
|
+
default: withCtx(() => [
|
|
18518
|
+
createElementVNode("table", {
|
|
18519
|
+
ref: "tableBody",
|
|
18520
|
+
class: normalizeClass(unref(ns).e("body")),
|
|
18521
|
+
cellspacing: "0",
|
|
18522
|
+
cellpadding: "0",
|
|
18523
|
+
border: "0",
|
|
18524
|
+
style: normalizeStyle({
|
|
18525
|
+
width: unref(bodyWidth),
|
|
18526
|
+
tableLayout: unref(tableLayout)
|
|
18527
|
+
})
|
|
18528
|
+
}, [
|
|
18529
|
+
createVNode(unref(hColgroup), {
|
|
18530
|
+
columns: unref(store).states.columns.value,
|
|
18531
|
+
"table-layout": unref(tableLayout)
|
|
18532
|
+
}, null, 8, ["columns", "table-layout"]),
|
|
18533
|
+
__props.showHeader && unref(tableLayout) === "auto" ? (openBlock(), createBlock(unref(table_header_default), {
|
|
18534
|
+
key: 0,
|
|
18535
|
+
ref: "tableHeaderRef",
|
|
18536
|
+
class: normalizeClass(unref(ns).e("body-header")),
|
|
18537
|
+
border: __props.border,
|
|
18538
|
+
"default-sort": __props.defaultSort,
|
|
18539
|
+
store: unref(store),
|
|
18540
|
+
"append-filter-panel-to": __props.appendFilterPanelTo,
|
|
18541
|
+
onSetDragVisible: unref(setDragVisible)
|
|
18542
|
+
}, null, 8, [
|
|
18543
|
+
"class",
|
|
18544
|
+
"border",
|
|
18545
|
+
"default-sort",
|
|
18546
|
+
"store",
|
|
18547
|
+
"append-filter-panel-to",
|
|
18548
|
+
"onSetDragVisible"
|
|
18549
|
+
])) : createCommentVNode("v-if", true),
|
|
18550
|
+
createVNode(unref(table_body_default), {
|
|
18551
|
+
context: unref(context),
|
|
18552
|
+
highlight: __props.highlightCurrentRow,
|
|
18553
|
+
"row-class-name": __props.rowClassName,
|
|
18554
|
+
"tooltip-effect": computedTooltipEffect.value,
|
|
18555
|
+
"tooltip-options": computedTooltipOptions.value,
|
|
18556
|
+
"row-style": __props.rowStyle,
|
|
18557
|
+
store: unref(store),
|
|
18558
|
+
stripe: __props.stripe
|
|
18559
|
+
}, null, 8, [
|
|
18560
|
+
"context",
|
|
18561
|
+
"highlight",
|
|
18562
|
+
"row-class-name",
|
|
18563
|
+
"tooltip-effect",
|
|
18564
|
+
"tooltip-options",
|
|
18565
|
+
"row-style",
|
|
18566
|
+
"store",
|
|
18567
|
+
"stripe"
|
|
18568
|
+
]),
|
|
18569
|
+
__props.showSummary && unref(tableLayout) === "auto" ? (openBlock(), createBlock(unref(table_footer_default), {
|
|
18570
|
+
key: 1,
|
|
18571
|
+
class: normalizeClass(unref(ns).e("body-footer")),
|
|
18572
|
+
border: __props.border,
|
|
18573
|
+
"default-sort": __props.defaultSort,
|
|
18574
|
+
store: unref(store),
|
|
18575
|
+
"sum-text": computedSumText.value,
|
|
18576
|
+
"summary-method": __props.summaryMethod
|
|
18577
|
+
}, null, 8, [
|
|
18578
|
+
"class",
|
|
18579
|
+
"border",
|
|
18580
|
+
"default-sort",
|
|
18581
|
+
"store",
|
|
18582
|
+
"sum-text",
|
|
18583
|
+
"summary-method"
|
|
18584
|
+
])) : createCommentVNode("v-if", true)
|
|
18585
|
+
], 6),
|
|
18586
|
+
isEmpty.value ? (openBlock(), createElementBlock("div", {
|
|
18587
|
+
key: 0,
|
|
18588
|
+
ref: "emptyBlock",
|
|
18589
|
+
style: normalizeStyle(unref(emptyBlockStyle)),
|
|
18590
|
+
class: normalizeClass(unref(ns).e("empty-block"))
|
|
18591
|
+
}, [createElementVNode("span", { class: normalizeClass(unref(ns).e("empty-text")) }, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(computedEmptyText.value), 1)])], 2)], 6)) : createCommentVNode("v-if", true),
|
|
18592
|
+
_ctx.$slots.append ? (openBlock(), createElementBlock("div", {
|
|
18593
|
+
key: 1,
|
|
18594
|
+
ref: "appendWrapper",
|
|
18595
|
+
class: normalizeClass(unref(ns).e("append-wrapper"))
|
|
18596
|
+
}, [renderSlot(_ctx.$slots, "append")], 2)) : createCommentVNode("v-if", true)
|
|
18578
18597
|
]),
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
"class",
|
|
18589
|
-
"border",
|
|
18590
|
-
"default-sort",
|
|
18591
|
-
"store",
|
|
18592
|
-
"sum-text",
|
|
18593
|
-
"summary-method"
|
|
18594
|
-
])) : createCommentVNode("v-if", true)
|
|
18595
|
-
], 6),
|
|
18596
|
-
_ctx.isEmpty ? (openBlock(), createElementBlock("div", {
|
|
18597
|
-
key: 0,
|
|
18598
|
-
ref: "emptyBlock",
|
|
18599
|
-
style: normalizeStyle(_ctx.emptyBlockStyle),
|
|
18600
|
-
class: normalizeClass(_ctx.ns.e("empty-block"))
|
|
18601
|
-
}, [createElementVNode("span", { class: normalizeClass(_ctx.ns.e("empty-text")) }, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(_ctx.computedEmptyText), 1)])], 2)], 6)) : createCommentVNode("v-if", true),
|
|
18602
|
-
_ctx.$slots.append ? (openBlock(), createElementBlock("div", {
|
|
18598
|
+
_: 3
|
|
18599
|
+
}, 8, [
|
|
18600
|
+
"view-style",
|
|
18601
|
+
"wrap-style",
|
|
18602
|
+
"always",
|
|
18603
|
+
"tabindex",
|
|
18604
|
+
"native"
|
|
18605
|
+
])], 2),
|
|
18606
|
+
__props.showSummary && unref(tableLayout) === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
18603
18607
|
key: 1,
|
|
18604
|
-
ref: "
|
|
18605
|
-
class: normalizeClass(
|
|
18606
|
-
}, [
|
|
18607
|
-
|
|
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
|
-
"border",
|
|
18637
|
-
"default-sort",
|
|
18638
|
-
"store",
|
|
18639
|
-
"sum-text",
|
|
18640
|
-
"summary-method"
|
|
18641
|
-
])], 6)], 2)), [[vShow, !_ctx.isEmpty], [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]]) : createCommentVNode("v-if", true),
|
|
18642
|
-
_ctx.border || _ctx.isGroup ? (openBlock(), createElementBlock("div", {
|
|
18643
|
-
key: 2,
|
|
18644
|
-
class: normalizeClass(_ctx.ns.e("border-left-patch"))
|
|
18645
|
-
}, null, 2)) : createCommentVNode("v-if", true)
|
|
18646
|
-
], 2), withDirectives(createElementVNode("div", {
|
|
18647
|
-
ref: "resizeProxy",
|
|
18648
|
-
class: normalizeClass(_ctx.ns.e("column-resize-proxy"))
|
|
18649
|
-
}, null, 2), [[vShow, _ctx.resizeProxyVisible]])], 46, _hoisted_1$4);
|
|
18650
|
-
}
|
|
18651
|
-
var table_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default$1(table_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
18652
|
-
//#endregion
|
|
18653
|
-
//#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
|
|
18654
|
-
var defaultClassNames = {
|
|
18655
|
-
selection: "table-column--selection",
|
|
18656
|
-
expand: "table__expand-column"
|
|
18657
|
-
};
|
|
18658
|
-
var cellStarts = {
|
|
18659
|
-
default: { order: "" },
|
|
18660
|
-
selection: {
|
|
18661
|
-
width: 48,
|
|
18662
|
-
minWidth: 48,
|
|
18663
|
-
realWidth: 48,
|
|
18664
|
-
order: ""
|
|
18665
|
-
},
|
|
18666
|
-
expand: {
|
|
18667
|
-
width: 48,
|
|
18668
|
-
minWidth: 48,
|
|
18669
|
-
realWidth: 48,
|
|
18670
|
-
order: ""
|
|
18671
|
-
},
|
|
18672
|
-
index: {
|
|
18673
|
-
width: 48,
|
|
18674
|
-
minWidth: 48,
|
|
18675
|
-
realWidth: 48,
|
|
18676
|
-
order: ""
|
|
18677
|
-
}
|
|
18678
|
-
};
|
|
18679
|
-
var getDefaultClassName = (type) => {
|
|
18680
|
-
return defaultClassNames[type] || "";
|
|
18681
|
-
};
|
|
18682
|
-
var cellForced = {
|
|
18683
|
-
selection: {
|
|
18684
|
-
renderHeader({ store }) {
|
|
18685
|
-
function isDisabled() {
|
|
18686
|
-
return store.states.data.value && store.states.data.value.length === 0;
|
|
18687
|
-
}
|
|
18688
|
-
return h(ElCheckbox, {
|
|
18689
|
-
disabled: isDisabled(),
|
|
18690
|
-
size: store.states.tableSize.value,
|
|
18691
|
-
indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,
|
|
18692
|
-
"onUpdate:modelValue": store.toggleAllSelection ?? void 0,
|
|
18693
|
-
modelValue: store.states.isAllSelected.value,
|
|
18694
|
-
ariaLabel: store.t("el.table.selectAllLabel")
|
|
18695
|
-
});
|
|
18696
|
-
},
|
|
18697
|
-
renderCell({ row, column, store, $index }) {
|
|
18698
|
-
return h(ElCheckbox, {
|
|
18699
|
-
disabled: column.selectable ? !column.selectable.call(null, row, $index) : false,
|
|
18700
|
-
size: store.states.tableSize.value,
|
|
18701
|
-
onChange: () => {
|
|
18702
|
-
store.commit("rowSelectedChanged", row);
|
|
18703
|
-
},
|
|
18704
|
-
onClick: (event) => event.stopPropagation(),
|
|
18705
|
-
modelValue: store.isSelected(row),
|
|
18706
|
-
indeterminate: store.getRowIndeterminate(row),
|
|
18707
|
-
ariaLabel: store.t("el.table.selectRowLabel")
|
|
18708
|
-
});
|
|
18709
|
-
},
|
|
18710
|
-
sortable: false,
|
|
18711
|
-
resizable: false
|
|
18712
|
-
},
|
|
18713
|
-
index: {
|
|
18714
|
-
renderHeader({ column }) {
|
|
18715
|
-
return column.label || "#";
|
|
18716
|
-
},
|
|
18717
|
-
renderCell({ column, $index }) {
|
|
18718
|
-
let i = $index + 1;
|
|
18719
|
-
const index = column.index;
|
|
18720
|
-
if (isNumber$2(index)) i = $index + index;
|
|
18721
|
-
else if (isFunction$3(index)) i = index($index);
|
|
18722
|
-
return h("div", {}, [i]);
|
|
18723
|
-
},
|
|
18724
|
-
sortable: false
|
|
18725
|
-
},
|
|
18726
|
-
expand: {
|
|
18727
|
-
renderHeader({ column }) {
|
|
18728
|
-
return column.label || "";
|
|
18729
|
-
},
|
|
18730
|
-
renderCell({ column, row, store, expanded, $index }) {
|
|
18731
|
-
const { ns } = store;
|
|
18732
|
-
const classes = [ns.e("expand-icon")];
|
|
18733
|
-
if (!column.renderExpand && expanded) classes.push(ns.em("expand-icon", "expanded"));
|
|
18734
|
-
const callback = function(e) {
|
|
18735
|
-
e.stopPropagation();
|
|
18736
|
-
store.toggleRowExpansion(row);
|
|
18737
|
-
};
|
|
18738
|
-
const isRowExpandable = store.states.rowExpandable.value?.(row, $index) ?? true;
|
|
18739
|
-
if (!isRowExpandable) classes.push(ns.is("disabled"));
|
|
18740
|
-
return h("button", {
|
|
18741
|
-
type: "button",
|
|
18742
|
-
disabled: !isRowExpandable,
|
|
18743
|
-
"aria-label": store.t(expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18744
|
-
"aria-expanded": expanded,
|
|
18745
|
-
class: classes,
|
|
18746
|
-
onClick: callback
|
|
18747
|
-
}, { default: () => {
|
|
18748
|
-
if (column.renderExpand) return [column.renderExpand({
|
|
18749
|
-
expanded,
|
|
18750
|
-
expandable: isRowExpandable
|
|
18751
|
-
})];
|
|
18752
|
-
return [h(ElIcon, null, { default: () => {
|
|
18753
|
-
return [h(arrow_right_default)];
|
|
18754
|
-
} })];
|
|
18755
|
-
} });
|
|
18756
|
-
},
|
|
18757
|
-
sortable: false,
|
|
18758
|
-
resizable: false
|
|
18759
|
-
}
|
|
18760
|
-
};
|
|
18761
|
-
function defaultRenderCell({ row, column, $index }) {
|
|
18762
|
-
const property = column.property;
|
|
18763
|
-
const value = property && getProp(row, property).value;
|
|
18764
|
-
if (column && column.formatter) return column.formatter(row, column, value, $index);
|
|
18765
|
-
return value?.toString?.() || "";
|
|
18766
|
-
}
|
|
18767
|
-
function treeCellPrefix({ row, treeNode, store }, createPlaceholder = false) {
|
|
18768
|
-
const { ns } = store;
|
|
18769
|
-
if (!treeNode) {
|
|
18770
|
-
if (createPlaceholder) return [h("span", { class: ns.e("placeholder") })];
|
|
18771
|
-
return null;
|
|
18772
|
-
}
|
|
18773
|
-
const ele = [];
|
|
18774
|
-
const callback = function(e) {
|
|
18775
|
-
e.stopPropagation();
|
|
18776
|
-
if (treeNode.loading) return;
|
|
18777
|
-
store.loadOrToggle(row);
|
|
18778
|
-
};
|
|
18779
|
-
if (treeNode.indent) ele.push(h("span", {
|
|
18780
|
-
class: ns.e("indent"),
|
|
18781
|
-
style: { "padding-left": `${treeNode.indent}px` }
|
|
18782
|
-
}));
|
|
18783
|
-
if (isBoolean$2(treeNode.expanded) && !treeNode.noLazyChildren) {
|
|
18784
|
-
const expandClasses = [ns.e("expand-icon"), treeNode.expanded ? ns.em("expand-icon", "expanded") : ""];
|
|
18785
|
-
let icon = arrow_right_default;
|
|
18786
|
-
if (treeNode.loading) icon = loading_default;
|
|
18787
|
-
ele.push(h("button", {
|
|
18788
|
-
type: "button",
|
|
18789
|
-
"aria-label": store.t(treeNode.expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18790
|
-
"aria-expanded": treeNode.expanded,
|
|
18791
|
-
class: expandClasses,
|
|
18792
|
-
onClick: callback
|
|
18793
|
-
}, { default: () => {
|
|
18794
|
-
return [h(ElIcon, { class: ns.is("loading", treeNode.loading) }, { default: () => [h(icon)] })];
|
|
18795
|
-
} }));
|
|
18796
|
-
} else ele.push(h("span", { class: ns.e("placeholder") }));
|
|
18797
|
-
return ele;
|
|
18798
|
-
}
|
|
18799
|
-
//#endregion
|
|
18800
|
-
//#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
|
|
18801
|
-
function getAllAliases(props, aliases) {
|
|
18802
|
-
return props.reduce((prev, cur) => {
|
|
18803
|
-
prev[cur] = cur;
|
|
18804
|
-
return prev;
|
|
18805
|
-
}, aliases);
|
|
18806
|
-
}
|
|
18807
|
-
function useWatcher(owner, props_) {
|
|
18808
|
-
const instance = getCurrentInstance();
|
|
18809
|
-
const registerComplexWatchers = () => {
|
|
18810
|
-
const props = ["fixed"];
|
|
18811
|
-
const aliases = {
|
|
18812
|
-
realWidth: "width",
|
|
18813
|
-
realMinWidth: "minWidth"
|
|
18814
|
-
};
|
|
18815
|
-
const allAliases = getAllAliases(props, aliases);
|
|
18816
|
-
Object.keys(allAliases).forEach((key) => {
|
|
18817
|
-
const columnKey = aliases[key];
|
|
18818
|
-
if (hasOwn(props_, columnKey)) watch(() => props_[columnKey], (newVal) => {
|
|
18819
|
-
let value = newVal;
|
|
18820
|
-
if (columnKey === "width" && key === "realWidth") value = parseWidth(newVal);
|
|
18821
|
-
if (columnKey === "minWidth" && key === "realMinWidth") value = parseMinWidth(newVal);
|
|
18822
|
-
instance.columnConfig.value[columnKey] = value;
|
|
18823
|
-
instance.columnConfig.value[key] = value;
|
|
18824
|
-
const updateColumns = columnKey === "fixed";
|
|
18825
|
-
owner.value.store.scheduleLayout(updateColumns);
|
|
18826
|
-
});
|
|
18827
|
-
});
|
|
18828
|
-
};
|
|
18829
|
-
const registerNormalWatchers = () => {
|
|
18830
|
-
const props = [
|
|
18831
|
-
"label",
|
|
18832
|
-
"filters",
|
|
18833
|
-
"filterMultiple",
|
|
18834
|
-
"filteredValue",
|
|
18835
|
-
"sortable",
|
|
18836
|
-
"index",
|
|
18837
|
-
"formatter",
|
|
18838
|
-
"className",
|
|
18839
|
-
"labelClassName",
|
|
18840
|
-
"filterClassName",
|
|
18841
|
-
"showOverflowTooltip",
|
|
18842
|
-
"tooltipFormatter",
|
|
18843
|
-
"resizable"
|
|
18844
|
-
];
|
|
18845
|
-
const parentProps = ["showOverflowTooltip"];
|
|
18846
|
-
const aliases = {
|
|
18847
|
-
property: "prop",
|
|
18848
|
-
align: "realAlign",
|
|
18849
|
-
headerAlign: "realHeaderAlign"
|
|
18850
|
-
};
|
|
18851
|
-
const allAliases = getAllAliases(props, aliases);
|
|
18852
|
-
Object.keys(allAliases).forEach((key) => {
|
|
18853
|
-
const columnKey = aliases[key];
|
|
18854
|
-
if (hasOwn(props_, columnKey)) watch(() => props_[columnKey], (newVal) => {
|
|
18855
|
-
instance.columnConfig.value[key] = newVal;
|
|
18856
|
-
if (key === "filters" || key === "filterMethod") instance.columnConfig.value["filterable"] = !!(instance.columnConfig.value["filters"] || instance.columnConfig.value["filterMethod"]);
|
|
18857
|
-
});
|
|
18858
|
-
});
|
|
18859
|
-
parentProps.forEach((key) => {
|
|
18860
|
-
if (hasOwn(owner.value.props, key)) watch(() => owner.value.props[key], (newVal) => {
|
|
18861
|
-
if (instance.columnConfig.value.type === "selection") return;
|
|
18862
|
-
if (!isUndefined$1(props_[key])) return;
|
|
18863
|
-
instance.columnConfig.value[key] = newVal;
|
|
18864
|
-
});
|
|
18865
|
-
});
|
|
18866
|
-
const globalConfig = useGlobalConfig("table");
|
|
18867
|
-
if (globalConfig.value && hasOwn(globalConfig.value, "showOverflowTooltip")) watch(() => globalConfig.value?.showOverflowTooltip, (newVal) => {
|
|
18868
|
-
if (instance.columnConfig.value.type === "selection") return;
|
|
18869
|
-
if (!isUndefined$1(props_.showOverflowTooltip) || !isUndefined$1(owner.value.props.showOverflowTooltip)) return;
|
|
18870
|
-
instance.columnConfig.value.showOverflowTooltip = newVal;
|
|
18871
|
-
});
|
|
18872
|
-
};
|
|
18873
|
-
return {
|
|
18874
|
-
registerComplexWatchers,
|
|
18875
|
-
registerNormalWatchers
|
|
18876
|
-
};
|
|
18877
|
-
}
|
|
18878
|
-
//#endregion
|
|
18879
|
-
//#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
|
|
18880
|
-
function useRender(props, slots, owner) {
|
|
18881
|
-
const instance = getCurrentInstance();
|
|
18882
|
-
const columnId = ref("");
|
|
18883
|
-
const isSubColumn = ref(false);
|
|
18884
|
-
const realAlign = ref();
|
|
18885
|
-
const realHeaderAlign = ref();
|
|
18886
|
-
const ns = useNamespace$1("table");
|
|
18887
|
-
watchEffect(() => {
|
|
18888
|
-
realAlign.value = props.align ? `is-${props.align}` : null;
|
|
18889
|
-
realAlign.value;
|
|
18890
|
-
});
|
|
18891
|
-
watchEffect(() => {
|
|
18892
|
-
realHeaderAlign.value = props.headerAlign ? `is-${props.headerAlign}` : realAlign.value;
|
|
18893
|
-
realHeaderAlign.value;
|
|
18894
|
-
});
|
|
18895
|
-
const columnOrTableParent = computed(() => {
|
|
18896
|
-
let parent = instance.vnode.vParent || instance.parent;
|
|
18897
|
-
while (parent && !parent.tableId && !parent.columnId) parent = parent.vnode.vParent || parent.parent;
|
|
18898
|
-
return parent;
|
|
18899
|
-
});
|
|
18900
|
-
const hasTreeColumn = computed(() => {
|
|
18901
|
-
const { store } = instance.parent;
|
|
18902
|
-
if (!store) return false;
|
|
18903
|
-
const { treeData } = store.states;
|
|
18904
|
-
const treeDataValue = treeData.value;
|
|
18905
|
-
return treeDataValue && Object.keys(treeDataValue).length > 0;
|
|
18906
|
-
});
|
|
18907
|
-
const realWidth = ref(parseWidth(props.width));
|
|
18908
|
-
const realMinWidth = ref(parseMinWidth(props.minWidth));
|
|
18909
|
-
const setColumnWidth = (column) => {
|
|
18910
|
-
if (realWidth.value) column.width = realWidth.value;
|
|
18911
|
-
if (realMinWidth.value) column.minWidth = realMinWidth.value;
|
|
18912
|
-
if (!realWidth.value && realMinWidth.value) column.width = void 0;
|
|
18913
|
-
if (!column.minWidth) column.minWidth = 80;
|
|
18914
|
-
column.realWidth = Number(isUndefined$1(column.width) ? column.minWidth : column.width);
|
|
18915
|
-
return column;
|
|
18916
|
-
};
|
|
18917
|
-
const setColumnForcedProps = (column) => {
|
|
18918
|
-
const type = column.type;
|
|
18919
|
-
const source = cellForced[type] || {};
|
|
18920
|
-
Object.keys(source).forEach((prop) => {
|
|
18921
|
-
const value = source[prop];
|
|
18922
|
-
if (prop !== "className" && !isUndefined$1(value)) column[prop] = value;
|
|
18923
|
-
});
|
|
18924
|
-
const className = getDefaultClassName(type);
|
|
18925
|
-
if (className) {
|
|
18926
|
-
const forceClass = `${unref(ns.namespace)}-${className}`;
|
|
18927
|
-
column.className = column.className ? `${column.className} ${forceClass}` : forceClass;
|
|
18928
|
-
}
|
|
18929
|
-
return column;
|
|
18930
|
-
};
|
|
18931
|
-
const checkSubColumn = (children) => {
|
|
18932
|
-
if (isArray$2(children)) children.forEach((child) => check(child));
|
|
18933
|
-
else check(children);
|
|
18934
|
-
function check(item) {
|
|
18935
|
-
if (item?.type?.name === "ElTableColumn") item.vParent = instance;
|
|
18936
|
-
}
|
|
18937
|
-
};
|
|
18938
|
-
const setColumnRenders = (column) => {
|
|
18939
|
-
if (props.renderHeader) debugWarn("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.");
|
|
18940
|
-
else if (column.type !== "selection") column.renderHeader = (scope) => {
|
|
18941
|
-
instance.columnConfig.value["label"];
|
|
18942
|
-
if (slots.header) {
|
|
18943
|
-
const slotResult = slots.header(scope);
|
|
18944
|
-
if (ensureValidVNode(slotResult)) return h(Fragment, slotResult);
|
|
18945
|
-
}
|
|
18946
|
-
return createTextVNode(column.label);
|
|
18947
|
-
};
|
|
18948
|
-
if (slots["filter-icon"]) column.renderFilterIcon = (scope) => {
|
|
18949
|
-
return renderSlot(slots, "filter-icon", scope);
|
|
18950
|
-
};
|
|
18951
|
-
if (slots.expand) column.renderExpand = (scope) => {
|
|
18952
|
-
return renderSlot(slots, "expand", scope);
|
|
18608
|
+
ref: "footerWrapper",
|
|
18609
|
+
class: normalizeClass(unref(ns).e("footer-wrapper"))
|
|
18610
|
+
}, [createElementVNode("table", {
|
|
18611
|
+
class: normalizeClass(unref(ns).e("footer")),
|
|
18612
|
+
cellspacing: "0",
|
|
18613
|
+
cellpadding: "0",
|
|
18614
|
+
border: "0",
|
|
18615
|
+
style: normalizeStyle(unref(tableBodyStyles))
|
|
18616
|
+
}, [createVNode(unref(hColgroup), {
|
|
18617
|
+
columns: unref(store).states.columns.value,
|
|
18618
|
+
"table-layout": unref(tableLayout)
|
|
18619
|
+
}, null, 8, ["columns", "table-layout"]), createVNode(unref(table_footer_default), {
|
|
18620
|
+
border: __props.border,
|
|
18621
|
+
"default-sort": __props.defaultSort,
|
|
18622
|
+
store: unref(store),
|
|
18623
|
+
"sum-text": computedSumText.value,
|
|
18624
|
+
"summary-method": __props.summaryMethod
|
|
18625
|
+
}, null, 8, [
|
|
18626
|
+
"border",
|
|
18627
|
+
"default-sort",
|
|
18628
|
+
"store",
|
|
18629
|
+
"sum-text",
|
|
18630
|
+
"summary-method"
|
|
18631
|
+
])], 6)], 2)), [[vShow, !isEmpty.value], [unref(Mousewheel), unref(handleHeaderFooterMousewheel)]]) : createCommentVNode("v-if", true),
|
|
18632
|
+
__props.border || unref(isGroup) ? (openBlock(), createElementBlock("div", {
|
|
18633
|
+
key: 2,
|
|
18634
|
+
class: normalizeClass(unref(ns).e("border-left-patch"))
|
|
18635
|
+
}, null, 2)) : createCommentVNode("v-if", true)
|
|
18636
|
+
], 2), withDirectives(createElementVNode("div", {
|
|
18637
|
+
ref: "resizeProxy",
|
|
18638
|
+
class: normalizeClass(unref(ns).e("column-resize-proxy"))
|
|
18639
|
+
}, null, 2), [[vShow, unref(resizeProxyVisible)]])], 46, _hoisted_1$4);
|
|
18953
18640
|
};
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
column.renderCell = (data) => h("div", { class: "cell" }, [originRenderCell(data)]);
|
|
18957
|
-
owner.value.renderExpanded = (row) => {
|
|
18958
|
-
return slots.default ? slots.default(row) : slots.default;
|
|
18959
|
-
};
|
|
18960
|
-
} else {
|
|
18961
|
-
originRenderCell = originRenderCell || defaultRenderCell;
|
|
18962
|
-
column.renderCell = (data) => {
|
|
18963
|
-
let children = null;
|
|
18964
|
-
if (slots.default) {
|
|
18965
|
-
const vnodes = slots.default(data);
|
|
18966
|
-
children = vnodes.some((v) => v.type !== Comment$1) ? vnodes : originRenderCell(data);
|
|
18967
|
-
} else children = originRenderCell(data);
|
|
18968
|
-
const { columns } = owner.value.store.states;
|
|
18969
|
-
const firstUserColumnIndex = columns.value.findIndex((item) => item.type === "default");
|
|
18970
|
-
const prefix = treeCellPrefix(data, hasTreeColumn.value && data.cellIndex === firstUserColumnIndex);
|
|
18971
|
-
const props = {
|
|
18972
|
-
class: "cell",
|
|
18973
|
-
style: {}
|
|
18974
|
-
};
|
|
18975
|
-
if (column.showOverflowTooltip) {
|
|
18976
|
-
props.class = `${props.class} ${unref(ns.namespace)}-tooltip`;
|
|
18977
|
-
props.style = { width: `${(data.column.realWidth || Number(data.column.width)) - 1}px` };
|
|
18978
|
-
}
|
|
18979
|
-
checkSubColumn(children);
|
|
18980
|
-
return h("div", props, [prefix, children]);
|
|
18981
|
-
};
|
|
18982
|
-
}
|
|
18983
|
-
return column;
|
|
18984
|
-
};
|
|
18985
|
-
const getPropsData = (...propsKey) => {
|
|
18986
|
-
return propsKey.reduce((prev, cur) => {
|
|
18987
|
-
if (isArray$2(cur)) cur.forEach((key) => {
|
|
18988
|
-
prev[key] = props[key];
|
|
18989
|
-
});
|
|
18990
|
-
return prev;
|
|
18991
|
-
}, {});
|
|
18992
|
-
};
|
|
18993
|
-
const getColumnElIndex = (children, child) => {
|
|
18994
|
-
return Array.prototype.indexOf.call(children, child);
|
|
18995
|
-
};
|
|
18996
|
-
const updateColumnOrder = () => {
|
|
18997
|
-
owner.value.store.commit("updateColumnOrder", instance.columnConfig.value);
|
|
18998
|
-
};
|
|
18999
|
-
return {
|
|
19000
|
-
columnId,
|
|
19001
|
-
realAlign,
|
|
19002
|
-
isSubColumn,
|
|
19003
|
-
realHeaderAlign,
|
|
19004
|
-
columnOrTableParent,
|
|
19005
|
-
setColumnWidth,
|
|
19006
|
-
setColumnForcedProps,
|
|
19007
|
-
setColumnRenders,
|
|
19008
|
-
getPropsData,
|
|
19009
|
-
getColumnElIndex,
|
|
19010
|
-
updateColumnOrder
|
|
19011
|
-
};
|
|
19012
|
-
}
|
|
18641
|
+
}
|
|
18642
|
+
});
|
|
19013
18643
|
//#endregion
|
|
19014
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19015
|
-
|
|
18644
|
+
//#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
|
|
18645
|
+
/**
|
|
18646
|
+
* @deprecated Removed after 3.0.0, Use `TableColumnProps` instead.
|
|
18647
|
+
*/
|
|
18648
|
+
var tableColumnProps = {
|
|
19016
18649
|
/**
|
|
19017
18650
|
* @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
|
|
19018
18651
|
*/
|
|
@@ -19176,15 +18809,375 @@ var defaults_default = {
|
|
|
19176
18809
|
}
|
|
19177
18810
|
};
|
|
19178
18811
|
//#endregion
|
|
19179
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19180
|
-
var
|
|
18812
|
+
//#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
|
|
18813
|
+
var defaultClassNames = {
|
|
18814
|
+
selection: "table-column--selection",
|
|
18815
|
+
expand: "table__expand-column"
|
|
18816
|
+
};
|
|
18817
|
+
var cellStarts = {
|
|
18818
|
+
default: { order: "" },
|
|
18819
|
+
selection: {
|
|
18820
|
+
width: 48,
|
|
18821
|
+
minWidth: 48,
|
|
18822
|
+
realWidth: 48,
|
|
18823
|
+
order: ""
|
|
18824
|
+
},
|
|
18825
|
+
expand: {
|
|
18826
|
+
width: 48,
|
|
18827
|
+
minWidth: 48,
|
|
18828
|
+
realWidth: 48,
|
|
18829
|
+
order: ""
|
|
18830
|
+
},
|
|
18831
|
+
index: {
|
|
18832
|
+
width: 48,
|
|
18833
|
+
minWidth: 48,
|
|
18834
|
+
realWidth: 48,
|
|
18835
|
+
order: ""
|
|
18836
|
+
}
|
|
18837
|
+
};
|
|
18838
|
+
var getDefaultClassName = (type) => {
|
|
18839
|
+
return defaultClassNames[type] || "";
|
|
18840
|
+
};
|
|
18841
|
+
var cellForced = {
|
|
18842
|
+
selection: {
|
|
18843
|
+
renderHeader({ store }) {
|
|
18844
|
+
function isDisabled() {
|
|
18845
|
+
return store.states.data.value && store.states.data.value.length === 0;
|
|
18846
|
+
}
|
|
18847
|
+
return h(ElCheckbox, {
|
|
18848
|
+
disabled: isDisabled(),
|
|
18849
|
+
size: store.states.tableSize.value,
|
|
18850
|
+
indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,
|
|
18851
|
+
"onUpdate:modelValue": store.toggleAllSelection ?? void 0,
|
|
18852
|
+
modelValue: store.states.isAllSelected.value,
|
|
18853
|
+
ariaLabel: store.t("el.table.selectAllLabel")
|
|
18854
|
+
});
|
|
18855
|
+
},
|
|
18856
|
+
renderCell({ row, column, store, $index }) {
|
|
18857
|
+
return h(ElCheckbox, {
|
|
18858
|
+
disabled: column.selectable ? !column.selectable.call(null, row, $index) : false,
|
|
18859
|
+
size: store.states.tableSize.value,
|
|
18860
|
+
onChange: () => {
|
|
18861
|
+
store.commit("rowSelectedChanged", row);
|
|
18862
|
+
},
|
|
18863
|
+
onClick: (event) => event.stopPropagation(),
|
|
18864
|
+
modelValue: store.isSelected(row),
|
|
18865
|
+
indeterminate: store.getRowIndeterminate(row),
|
|
18866
|
+
ariaLabel: store.t("el.table.selectRowLabel")
|
|
18867
|
+
});
|
|
18868
|
+
},
|
|
18869
|
+
sortable: false,
|
|
18870
|
+
resizable: false
|
|
18871
|
+
},
|
|
18872
|
+
index: {
|
|
18873
|
+
renderHeader({ column }) {
|
|
18874
|
+
return column.label || "#";
|
|
18875
|
+
},
|
|
18876
|
+
renderCell({ column, $index }) {
|
|
18877
|
+
let i = $index + 1;
|
|
18878
|
+
const index = column.index;
|
|
18879
|
+
if (isNumber$2(index)) i = $index + index;
|
|
18880
|
+
else if (isFunction$3(index)) i = index($index);
|
|
18881
|
+
return h("div", {}, [i]);
|
|
18882
|
+
},
|
|
18883
|
+
sortable: false
|
|
18884
|
+
},
|
|
18885
|
+
expand: {
|
|
18886
|
+
renderHeader({ column }) {
|
|
18887
|
+
return column.label || "";
|
|
18888
|
+
},
|
|
18889
|
+
renderCell({ column, row, store, expanded, $index }) {
|
|
18890
|
+
const { ns } = store;
|
|
18891
|
+
const classes = [ns.e("expand-icon")];
|
|
18892
|
+
if (!column.renderExpand && expanded) classes.push(ns.em("expand-icon", "expanded"));
|
|
18893
|
+
const callback = function(e) {
|
|
18894
|
+
e.stopPropagation();
|
|
18895
|
+
store.toggleRowExpansion(row);
|
|
18896
|
+
};
|
|
18897
|
+
const isRowExpandable = store.states.rowExpandable.value?.(row, $index) ?? true;
|
|
18898
|
+
if (!isRowExpandable) classes.push(ns.is("disabled"));
|
|
18899
|
+
return h("button", {
|
|
18900
|
+
type: "button",
|
|
18901
|
+
disabled: !isRowExpandable,
|
|
18902
|
+
"aria-label": store.t(expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18903
|
+
"aria-expanded": expanded,
|
|
18904
|
+
class: classes,
|
|
18905
|
+
onClick: callback
|
|
18906
|
+
}, { default: () => {
|
|
18907
|
+
if (column.renderExpand) return [column.renderExpand({
|
|
18908
|
+
expanded,
|
|
18909
|
+
expandable: isRowExpandable
|
|
18910
|
+
})];
|
|
18911
|
+
return [h(ElIcon, null, { default: () => {
|
|
18912
|
+
return [h(arrow_right_default)];
|
|
18913
|
+
} })];
|
|
18914
|
+
} });
|
|
18915
|
+
},
|
|
18916
|
+
sortable: false,
|
|
18917
|
+
resizable: false
|
|
18918
|
+
}
|
|
18919
|
+
};
|
|
18920
|
+
function defaultRenderCell({ row, column, $index }) {
|
|
18921
|
+
const property = column.property;
|
|
18922
|
+
const value = property && getProp(row, property).value;
|
|
18923
|
+
if (column && column.formatter) return column.formatter(row, column, value, $index);
|
|
18924
|
+
return value?.toString?.() || "";
|
|
18925
|
+
}
|
|
18926
|
+
function treeCellPrefix({ row, treeNode, store }, createPlaceholder = false) {
|
|
18927
|
+
const { ns } = store;
|
|
18928
|
+
if (!treeNode) {
|
|
18929
|
+
if (createPlaceholder) return [h("span", { class: ns.e("placeholder") })];
|
|
18930
|
+
return null;
|
|
18931
|
+
}
|
|
18932
|
+
const ele = [];
|
|
18933
|
+
const callback = function(e) {
|
|
18934
|
+
e.stopPropagation();
|
|
18935
|
+
if (treeNode.loading) return;
|
|
18936
|
+
store.loadOrToggle(row);
|
|
18937
|
+
};
|
|
18938
|
+
if (treeNode.indent) ele.push(h("span", {
|
|
18939
|
+
class: ns.e("indent"),
|
|
18940
|
+
style: { "padding-left": `${treeNode.indent}px` }
|
|
18941
|
+
}));
|
|
18942
|
+
if (isBoolean$2(treeNode.expanded) && !treeNode.noLazyChildren) {
|
|
18943
|
+
const expandClasses = [ns.e("expand-icon"), treeNode.expanded ? ns.em("expand-icon", "expanded") : ""];
|
|
18944
|
+
let icon = arrow_right_default;
|
|
18945
|
+
if (treeNode.loading) icon = loading_default;
|
|
18946
|
+
ele.push(h("button", {
|
|
18947
|
+
type: "button",
|
|
18948
|
+
"aria-label": store.t(treeNode.expanded ? "el.table.collapseRowLabel" : "el.table.expandRowLabel"),
|
|
18949
|
+
"aria-expanded": treeNode.expanded,
|
|
18950
|
+
class: expandClasses,
|
|
18951
|
+
onClick: callback
|
|
18952
|
+
}, { default: () => {
|
|
18953
|
+
return [h(ElIcon, { class: ns.is("loading", treeNode.loading) }, { default: () => [h(icon)] })];
|
|
18954
|
+
} }));
|
|
18955
|
+
} else ele.push(h("span", { class: ns.e("placeholder") }));
|
|
18956
|
+
return ele;
|
|
18957
|
+
}
|
|
19181
18958
|
//#endregion
|
|
19182
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19183
|
-
|
|
18959
|
+
//#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
|
|
18960
|
+
function getAllAliases(props, aliases) {
|
|
18961
|
+
return props.reduce((prev, cur) => {
|
|
18962
|
+
prev[cur] = cur;
|
|
18963
|
+
return prev;
|
|
18964
|
+
}, aliases);
|
|
18965
|
+
}
|
|
18966
|
+
function useWatcher(owner, props_) {
|
|
18967
|
+
const instance = getCurrentInstance();
|
|
18968
|
+
const registerComplexWatchers = () => {
|
|
18969
|
+
const props = ["fixed"];
|
|
18970
|
+
const aliases = {
|
|
18971
|
+
realWidth: "width",
|
|
18972
|
+
realMinWidth: "minWidth"
|
|
18973
|
+
};
|
|
18974
|
+
const allAliases = getAllAliases(props, aliases);
|
|
18975
|
+
Object.keys(allAliases).forEach((key) => {
|
|
18976
|
+
const columnKey = aliases[key];
|
|
18977
|
+
if (hasOwn(props_, columnKey)) watch(() => props_[columnKey], (newVal) => {
|
|
18978
|
+
let value = newVal;
|
|
18979
|
+
if (columnKey === "width" && key === "realWidth") value = parseWidth(newVal);
|
|
18980
|
+
if (columnKey === "minWidth" && key === "realMinWidth") value = parseMinWidth(newVal);
|
|
18981
|
+
instance.columnConfig.value[columnKey] = value;
|
|
18982
|
+
instance.columnConfig.value[key] = value;
|
|
18983
|
+
const updateColumns = columnKey === "fixed";
|
|
18984
|
+
owner.value.store.scheduleLayout(updateColumns);
|
|
18985
|
+
});
|
|
18986
|
+
});
|
|
18987
|
+
};
|
|
18988
|
+
const registerNormalWatchers = () => {
|
|
18989
|
+
const props = [
|
|
18990
|
+
"label",
|
|
18991
|
+
"filters",
|
|
18992
|
+
"filterMultiple",
|
|
18993
|
+
"filteredValue",
|
|
18994
|
+
"sortable",
|
|
18995
|
+
"index",
|
|
18996
|
+
"formatter",
|
|
18997
|
+
"className",
|
|
18998
|
+
"labelClassName",
|
|
18999
|
+
"filterClassName",
|
|
19000
|
+
"showOverflowTooltip",
|
|
19001
|
+
"tooltipFormatter",
|
|
19002
|
+
"resizable"
|
|
19003
|
+
];
|
|
19004
|
+
const parentProps = ["showOverflowTooltip"];
|
|
19005
|
+
const aliases = {
|
|
19006
|
+
property: "prop",
|
|
19007
|
+
align: "realAlign",
|
|
19008
|
+
headerAlign: "realHeaderAlign"
|
|
19009
|
+
};
|
|
19010
|
+
const allAliases = getAllAliases(props, aliases);
|
|
19011
|
+
Object.keys(allAliases).forEach((key) => {
|
|
19012
|
+
const columnKey = aliases[key];
|
|
19013
|
+
if (hasOwn(props_, columnKey)) watch(() => props_[columnKey], (newVal) => {
|
|
19014
|
+
instance.columnConfig.value[key] = newVal;
|
|
19015
|
+
if (key === "filters" || key === "filterMethod") instance.columnConfig.value["filterable"] = !!(instance.columnConfig.value["filters"] || instance.columnConfig.value["filterMethod"]);
|
|
19016
|
+
});
|
|
19017
|
+
});
|
|
19018
|
+
parentProps.forEach((key) => {
|
|
19019
|
+
if (hasOwn(owner.value.props, key)) watch(() => owner.value.props[key], (newVal) => {
|
|
19020
|
+
if (instance.columnConfig.value.type === "selection") return;
|
|
19021
|
+
if (!isUndefined$1(props_[key])) return;
|
|
19022
|
+
instance.columnConfig.value[key] = newVal;
|
|
19023
|
+
});
|
|
19024
|
+
});
|
|
19025
|
+
const globalConfig = useGlobalConfig("table");
|
|
19026
|
+
if (globalConfig.value && hasOwn(globalConfig.value, "showOverflowTooltip")) watch(() => globalConfig.value?.showOverflowTooltip, (newVal) => {
|
|
19027
|
+
if (instance.columnConfig.value.type === "selection") return;
|
|
19028
|
+
if (!isUndefined$1(props_.showOverflowTooltip) || !isUndefined$1(owner.value.props.showOverflowTooltip)) return;
|
|
19029
|
+
instance.columnConfig.value.showOverflowTooltip = newVal;
|
|
19030
|
+
});
|
|
19031
|
+
};
|
|
19032
|
+
return {
|
|
19033
|
+
registerComplexWatchers,
|
|
19034
|
+
registerNormalWatchers
|
|
19035
|
+
};
|
|
19036
|
+
}
|
|
19037
|
+
//#endregion
|
|
19038
|
+
//#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
|
|
19039
|
+
function useRender(props, slots, owner) {
|
|
19040
|
+
const instance = getCurrentInstance();
|
|
19041
|
+
const columnId = ref("");
|
|
19042
|
+
const isSubColumn = ref(false);
|
|
19043
|
+
const realAlign = ref();
|
|
19044
|
+
const realHeaderAlign = ref();
|
|
19045
|
+
const ns = useNamespace$1("table");
|
|
19046
|
+
watchEffect(() => {
|
|
19047
|
+
realAlign.value = props.align ? `is-${props.align}` : null;
|
|
19048
|
+
realAlign.value;
|
|
19049
|
+
});
|
|
19050
|
+
watchEffect(() => {
|
|
19051
|
+
realHeaderAlign.value = props.headerAlign ? `is-${props.headerAlign}` : realAlign.value;
|
|
19052
|
+
realHeaderAlign.value;
|
|
19053
|
+
});
|
|
19054
|
+
const columnOrTableParent = computed(() => {
|
|
19055
|
+
let parent = instance.vnode.vParent || instance.parent;
|
|
19056
|
+
while (parent && !parent.tableId && !parent.columnId) parent = parent.vnode.vParent || parent.parent;
|
|
19057
|
+
return parent;
|
|
19058
|
+
});
|
|
19059
|
+
const hasTreeColumn = computed(() => {
|
|
19060
|
+
const { store } = instance.parent;
|
|
19061
|
+
if (!store) return false;
|
|
19062
|
+
const { treeData } = store.states;
|
|
19063
|
+
const treeDataValue = treeData.value;
|
|
19064
|
+
return treeDataValue && Object.keys(treeDataValue).length > 0;
|
|
19065
|
+
});
|
|
19066
|
+
const realWidth = ref(parseWidth(props.width));
|
|
19067
|
+
const realMinWidth = ref(parseMinWidth(props.minWidth));
|
|
19068
|
+
const setColumnWidth = (column) => {
|
|
19069
|
+
if (realWidth.value) column.width = realWidth.value;
|
|
19070
|
+
if (realMinWidth.value) column.minWidth = realMinWidth.value;
|
|
19071
|
+
if (!realWidth.value && realMinWidth.value) column.width = void 0;
|
|
19072
|
+
if (!column.minWidth) column.minWidth = 80;
|
|
19073
|
+
column.realWidth = Number(isUndefined$1(column.width) ? column.minWidth : column.width);
|
|
19074
|
+
return column;
|
|
19075
|
+
};
|
|
19076
|
+
const setColumnForcedProps = (column) => {
|
|
19077
|
+
const type = column.type;
|
|
19078
|
+
const source = cellForced[type] || {};
|
|
19079
|
+
Object.keys(source).forEach((prop) => {
|
|
19080
|
+
const value = source[prop];
|
|
19081
|
+
if (prop !== "className" && !isUndefined$1(value)) column[prop] = value;
|
|
19082
|
+
});
|
|
19083
|
+
const className = getDefaultClassName(type);
|
|
19084
|
+
if (className) {
|
|
19085
|
+
const forceClass = `${unref(ns.namespace)}-${className}`;
|
|
19086
|
+
column.className = column.className ? `${column.className} ${forceClass}` : forceClass;
|
|
19087
|
+
}
|
|
19088
|
+
return column;
|
|
19089
|
+
};
|
|
19090
|
+
const checkSubColumn = (children) => {
|
|
19091
|
+
if (isArray$2(children)) children.forEach((child) => check(child));
|
|
19092
|
+
else check(children);
|
|
19093
|
+
function check(item) {
|
|
19094
|
+
if (item?.type?.name === "ElTableColumn") item.vParent = instance;
|
|
19095
|
+
}
|
|
19096
|
+
};
|
|
19097
|
+
const setColumnRenders = (column) => {
|
|
19098
|
+
if (props.renderHeader) debugWarn("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.");
|
|
19099
|
+
else if (column.type !== "selection") column.renderHeader = (scope) => {
|
|
19100
|
+
instance.columnConfig.value["label"];
|
|
19101
|
+
if (slots.header) {
|
|
19102
|
+
const slotResult = slots.header(scope);
|
|
19103
|
+
if (ensureValidVNode(slotResult)) return h(Fragment, slotResult);
|
|
19104
|
+
}
|
|
19105
|
+
return createTextVNode(column.label);
|
|
19106
|
+
};
|
|
19107
|
+
if (slots["filter-icon"]) column.renderFilterIcon = (scope) => {
|
|
19108
|
+
return renderSlot(slots, "filter-icon", scope);
|
|
19109
|
+
};
|
|
19110
|
+
if (slots.expand) column.renderExpand = (scope) => {
|
|
19111
|
+
return renderSlot(slots, "expand", scope);
|
|
19112
|
+
};
|
|
19113
|
+
let originRenderCell = column.renderCell;
|
|
19114
|
+
if (column.type === "expand") {
|
|
19115
|
+
column.renderCell = (data) => h("div", { class: "cell" }, [originRenderCell(data)]);
|
|
19116
|
+
owner.value.renderExpanded = (row) => {
|
|
19117
|
+
return slots.default ? slots.default(row) : slots.default;
|
|
19118
|
+
};
|
|
19119
|
+
} else {
|
|
19120
|
+
originRenderCell = originRenderCell || defaultRenderCell;
|
|
19121
|
+
column.renderCell = (data) => {
|
|
19122
|
+
let children = null;
|
|
19123
|
+
if (slots.default) {
|
|
19124
|
+
const vnodes = slots.default(data);
|
|
19125
|
+
children = vnodes.some((v) => v.type !== Comment$1) ? vnodes : originRenderCell(data);
|
|
19126
|
+
} else children = originRenderCell(data);
|
|
19127
|
+
const { columns } = owner.value.store.states;
|
|
19128
|
+
const firstUserColumnIndex = columns.value.findIndex((item) => item.type === "default");
|
|
19129
|
+
const prefix = treeCellPrefix(data, hasTreeColumn.value && data.cellIndex === firstUserColumnIndex);
|
|
19130
|
+
const props = {
|
|
19131
|
+
class: "cell",
|
|
19132
|
+
style: {}
|
|
19133
|
+
};
|
|
19134
|
+
if (column.showOverflowTooltip) {
|
|
19135
|
+
props.class = `${props.class} ${unref(ns.namespace)}-tooltip`;
|
|
19136
|
+
props.style = { width: `${(data.column.realWidth || Number(data.column.width)) - 1}px` };
|
|
19137
|
+
}
|
|
19138
|
+
checkSubColumn(children);
|
|
19139
|
+
return h("div", props, [prefix, children]);
|
|
19140
|
+
};
|
|
19141
|
+
}
|
|
19142
|
+
return column;
|
|
19143
|
+
};
|
|
19144
|
+
const getPropsData = (...propsKey) => {
|
|
19145
|
+
return propsKey.reduce((prev, cur) => {
|
|
19146
|
+
if (isArray$2(cur)) cur.forEach((key) => {
|
|
19147
|
+
prev[key] = props[key];
|
|
19148
|
+
});
|
|
19149
|
+
return prev;
|
|
19150
|
+
}, {});
|
|
19151
|
+
};
|
|
19152
|
+
const getColumnElIndex = (children, child) => {
|
|
19153
|
+
return Array.prototype.indexOf.call(children, child);
|
|
19154
|
+
};
|
|
19155
|
+
const updateColumnOrder = () => {
|
|
19156
|
+
owner.value.store.commit("updateColumnOrder", instance.columnConfig.value);
|
|
19157
|
+
};
|
|
19158
|
+
return {
|
|
19159
|
+
columnId,
|
|
19160
|
+
realAlign,
|
|
19161
|
+
isSubColumn,
|
|
19162
|
+
realHeaderAlign,
|
|
19163
|
+
columnOrTableParent,
|
|
19164
|
+
setColumnWidth,
|
|
19165
|
+
setColumnForcedProps,
|
|
19166
|
+
setColumnRenders,
|
|
19167
|
+
getPropsData,
|
|
19168
|
+
getColumnElIndex,
|
|
19169
|
+
updateColumnOrder
|
|
19170
|
+
};
|
|
19171
|
+
}
|
|
19172
|
+
//#endregion
|
|
19173
|
+
//#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
|
|
19174
|
+
var tableColumn_default = /* @__PURE__ */ defineComponent({
|
|
19184
19175
|
name: "ElTableColumn",
|
|
19185
|
-
|
|
19186
|
-
props:
|
|
19187
|
-
setup(
|
|
19176
|
+
__name: "index",
|
|
19177
|
+
props: tableColumnProps,
|
|
19178
|
+
setup(__props) {
|
|
19179
|
+
const props = __props;
|
|
19180
|
+
const slots = useSlots();
|
|
19188
19181
|
const instance = getCurrentInstance();
|
|
19189
19182
|
const globalConfig = useGlobalConfig("table");
|
|
19190
19183
|
const columnConfig = ref({});
|
|
@@ -19196,7 +19189,7 @@ var tableColumn_default = defineComponent({
|
|
|
19196
19189
|
const { registerNormalWatchers, registerComplexWatchers } = useWatcher(owner, props);
|
|
19197
19190
|
const { columnId, isSubColumn, realHeaderAlign, columnOrTableParent, setColumnWidth, setColumnForcedProps, setColumnRenders, getPropsData, getColumnElIndex, realAlign, updateColumnOrder } = useRender(props, slots, owner);
|
|
19198
19191
|
const parent = columnOrTableParent.value;
|
|
19199
|
-
columnId.value =
|
|
19192
|
+
columnId.value = createTableColumnId("tableId" in parent ? parent.tableId : parent.columnId);
|
|
19200
19193
|
onBeforeMount(() => {
|
|
19201
19194
|
isSubColumn.value = owner.value !== parent;
|
|
19202
19195
|
const type = props.type || "default";
|
|
@@ -19265,29 +19258,32 @@ var tableColumn_default = defineComponent({
|
|
|
19265
19258
|
});
|
|
19266
19259
|
instance.columnId = columnId.value;
|
|
19267
19260
|
instance.columnConfig = columnConfig;
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19272
|
-
|
|
19273
|
-
|
|
19274
|
-
$index: -1
|
|
19275
|
-
});
|
|
19276
|
-
const children = [];
|
|
19277
|
-
if (isArray$2(renderDefault)) {
|
|
19278
|
-
for (const childNode of renderDefault) if (childNode.type?.name === "ElTableColumn" || childNode.shapeFlag & 2) children.push(childNode);
|
|
19279
|
-
else if (childNode.type === Fragment && isArray$2(childNode.children)) childNode.children.forEach((vnode) => {
|
|
19280
|
-
if (vnode?.patchFlag !== 1024 && !isString$2(vnode?.children)) children.push(vnode);
|
|
19261
|
+
const TableColumnRenderer = () => {
|
|
19262
|
+
try {
|
|
19263
|
+
const renderDefault = slots.default?.({
|
|
19264
|
+
row: {},
|
|
19265
|
+
column: {},
|
|
19266
|
+
$index: -1
|
|
19281
19267
|
});
|
|
19268
|
+
const children = [];
|
|
19269
|
+
if (isArray$2(renderDefault)) {
|
|
19270
|
+
for (const childNode of renderDefault) if (childNode.type?.name === "ElTableColumn" || childNode.shapeFlag & 2) children.push(childNode);
|
|
19271
|
+
else if (childNode.type === Fragment && isArray$2(childNode.children)) childNode.children.forEach((vnode) => {
|
|
19272
|
+
if (vnode?.patchFlag !== 1024 && !isString$2(vnode?.children)) children.push(vnode);
|
|
19273
|
+
});
|
|
19274
|
+
}
|
|
19275
|
+
return h("div", children);
|
|
19276
|
+
} catch {
|
|
19277
|
+
return h("div", []);
|
|
19282
19278
|
}
|
|
19283
|
-
|
|
19284
|
-
|
|
19285
|
-
return
|
|
19286
|
-
}
|
|
19279
|
+
};
|
|
19280
|
+
return (_ctx, _cache) => {
|
|
19281
|
+
return openBlock(), createBlock(TableColumnRenderer);
|
|
19282
|
+
};
|
|
19287
19283
|
}
|
|
19288
19284
|
});
|
|
19289
19285
|
//#endregion
|
|
19290
|
-
//#region ../../node_modules/.pnpm/element-plus@2.14.
|
|
19286
|
+
//#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
|
|
19291
19287
|
var ElTable = withInstall(table_default$1, { TableColumn: tableColumn_default });
|
|
19292
19288
|
var ElTableColumn = withNoopInstall(tableColumn_default);
|
|
19293
19289
|
//#endregion
|
|
@@ -19342,6 +19338,8 @@ var MtTabs = withInstall$1(/* @__PURE__ */ defineComponent({
|
|
|
19342
19338
|
const emits = __emit;
|
|
19343
19339
|
const ns = useNamespace("tabs");
|
|
19344
19340
|
const tabsRef = ref();
|
|
19341
|
+
const barStyles = ref({});
|
|
19342
|
+
const lineStyles = ref({});
|
|
19345
19343
|
const currentTabName = computed({
|
|
19346
19344
|
get() {
|
|
19347
19345
|
return props.modelValue;
|
|
@@ -19356,35 +19354,51 @@ var MtTabs = withInstall$1(/* @__PURE__ */ defineComponent({
|
|
|
19356
19354
|
onChange,
|
|
19357
19355
|
type: props.type
|
|
19358
19356
|
});
|
|
19359
|
-
|
|
19360
|
-
|
|
19361
|
-
|
|
19362
|
-
const
|
|
19363
|
-
if (
|
|
19364
|
-
|
|
19365
|
-
|
|
19366
|
-
|
|
19367
|
-
|
|
19368
|
-
|
|
19369
|
-
|
|
19370
|
-
|
|
19357
|
+
function getActiveTabElement() {
|
|
19358
|
+
if (!tabsRef.value) return null;
|
|
19359
|
+
for (let index = 0; index < children.length; index++) {
|
|
19360
|
+
const child = children[index];
|
|
19361
|
+
if (!child.exposed || !isTabContext(child.exposed) || !child.exposed.isActive.value) continue;
|
|
19362
|
+
return tabsRef.value.querySelector(`#tab-${index}`);
|
|
19363
|
+
}
|
|
19364
|
+
return null;
|
|
19365
|
+
}
|
|
19366
|
+
async function updateActiveStyles() {
|
|
19367
|
+
await nextTick();
|
|
19368
|
+
const $el = getActiveTabElement();
|
|
19369
|
+
if (!$el) {
|
|
19370
|
+
barStyles.value = {};
|
|
19371
|
+
lineStyles.value = {};
|
|
19372
|
+
return;
|
|
19373
|
+
}
|
|
19374
|
+
barStyles.value = {
|
|
19375
|
+
width: `${$el.clientWidth}px`,
|
|
19376
|
+
left: `${$el.offsetLeft}px`
|
|
19377
|
+
};
|
|
19371
19378
|
const styles = {};
|
|
19372
|
-
|
|
19373
|
-
|
|
19374
|
-
|
|
19375
|
-
|
|
19376
|
-
|
|
19377
|
-
styles.width = `${$el.clientWidth - beParsedAsNumber(tabStyles.paddingLeft) - beParsedAsNumber(tabStyles.paddingRight)}px`;
|
|
19378
|
-
styles.left = `${$el.offsetLeft + beParsedAsNumber(tabStyles.paddingLeft)}px`;
|
|
19379
|
-
});
|
|
19380
|
-
return styles;
|
|
19381
|
-
});
|
|
19379
|
+
const tabStyles = window.getComputedStyle($el);
|
|
19380
|
+
styles.width = `${$el.clientWidth - beParsedAsNumber(tabStyles.paddingLeft) - beParsedAsNumber(tabStyles.paddingRight)}px`;
|
|
19381
|
+
styles.left = `${$el.offsetLeft + beParsedAsNumber(tabStyles.paddingLeft)}px`;
|
|
19382
|
+
lineStyles.value = styles;
|
|
19383
|
+
}
|
|
19382
19384
|
const tabsClasses = computed(() => {
|
|
19383
19385
|
return [ns.b(), ns.m(props.type)];
|
|
19384
19386
|
});
|
|
19385
19387
|
function onChange(tabName) {
|
|
19386
19388
|
currentTabName.value = tabName;
|
|
19387
19389
|
}
|
|
19390
|
+
watch(() => [
|
|
19391
|
+
currentTabName.value,
|
|
19392
|
+
children.length,
|
|
19393
|
+
props.type
|
|
19394
|
+
], updateActiveStyles, { flush: "post" });
|
|
19395
|
+
onMounted(() => {
|
|
19396
|
+
updateActiveStyles();
|
|
19397
|
+
window.addEventListener("resize", updateActiveStyles);
|
|
19398
|
+
});
|
|
19399
|
+
onBeforeUnmount(() => {
|
|
19400
|
+
window.removeEventListener("resize", updateActiveStyles);
|
|
19401
|
+
});
|
|
19388
19402
|
return (_ctx, _cache) => {
|
|
19389
19403
|
return openBlock(), createElementBlock("div", {
|
|
19390
19404
|
ref_key: "tabsRef",
|
|
@@ -20754,7 +20768,7 @@ function U(t, e, i, s, r, o) {
|
|
|
20754
20768
|
var M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]);
|
|
20755
20769
|
//#endregion
|
|
20756
20770
|
//#region src/upload/src/upload-image-copper.vue?vue&type=script&setup=true&lang.ts
|
|
20757
|
-
var upload_image_copper_vue_vue_type_script_setup_true_lang_default =
|
|
20771
|
+
var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
20758
20772
|
name: "MtUploadImageCopper",
|
|
20759
20773
|
__name: "upload-image-copper",
|
|
20760
20774
|
setup(__props, { expose: __expose }) {
|
|
@@ -20819,10 +20833,88 @@ var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
20819
20833
|
copperPromiseDeferred?.resolve(newFile);
|
|
20820
20834
|
});
|
|
20821
20835
|
}
|
|
20822
|
-
|
|
20823
|
-
|
|
20836
|
+
function fitSize(maxWidth, maxHeight, aspectRatio) {
|
|
20837
|
+
let width = maxWidth;
|
|
20838
|
+
let height = width / aspectRatio;
|
|
20839
|
+
if (height > maxHeight) {
|
|
20840
|
+
height = maxHeight;
|
|
20841
|
+
width = height * aspectRatio;
|
|
20842
|
+
}
|
|
20843
|
+
return {
|
|
20844
|
+
width: Math.max(Math.round(width), 1),
|
|
20845
|
+
height: Math.max(Math.round(height), 1)
|
|
20846
|
+
};
|
|
20847
|
+
}
|
|
20848
|
+
function getInitialCropSize(image) {
|
|
20849
|
+
const cropper = cropperRef.value;
|
|
20850
|
+
const containerWidth = cropper?.w || 0;
|
|
20851
|
+
const containerHeight = cropper?.h || 0;
|
|
20852
|
+
const maxWidth = containerWidth * .82;
|
|
20853
|
+
const maxHeight = containerHeight * .82;
|
|
20854
|
+
const cropWidth = Number(cropperProps.value.autoCropWidth || 0);
|
|
20855
|
+
const cropHeight = Number(cropperProps.value.autoCropHeight || 0);
|
|
20856
|
+
if (cropWidth > 0 && cropHeight > 0) return {
|
|
20857
|
+
width: Math.min(cropWidth, containerWidth),
|
|
20858
|
+
height: Math.min(cropHeight, containerHeight)
|
|
20859
|
+
};
|
|
20860
|
+
const fixedNumber = cropperProps.value.fixedNumber || [1, 1];
|
|
20861
|
+
const aspectRatio = cropperProps.value.fixed ? fixedNumber[0] / fixedNumber[1] : image.width / image.height;
|
|
20862
|
+
const fittedSize = fitSize(maxWidth, maxHeight, aspectRatio);
|
|
20863
|
+
if (cropWidth > 0) return fitSize(Math.min(cropWidth, containerWidth), maxHeight, aspectRatio);
|
|
20864
|
+
if (cropHeight > 0) return fitSize(maxWidth, Math.min(cropHeight, containerHeight), aspectRatio);
|
|
20865
|
+
return fittedSize;
|
|
20866
|
+
}
|
|
20867
|
+
function centerCropBox(width, height) {
|
|
20868
|
+
const cropper = cropperRef.value;
|
|
20869
|
+
if (!cropper?.goAutoCrop) return;
|
|
20870
|
+
const nextWidth = width || cropper.cropW;
|
|
20871
|
+
const nextHeight = height || cropper.cropH;
|
|
20872
|
+
if (!nextWidth || !nextHeight) return;
|
|
20873
|
+
cropper.goAutoCrop(nextWidth, nextHeight);
|
|
20874
|
+
}
|
|
20875
|
+
function fitImageToCropBox() {
|
|
20876
|
+
const cropper = cropperRef.value;
|
|
20877
|
+
if (!cropper?.trueWidth || !cropper?.trueHeight || !cropper?.cropW || !cropper?.cropH) return;
|
|
20878
|
+
const scale = Math.min(cropper.cropW / cropper.trueWidth, cropper.cropH / cropper.trueHeight);
|
|
20879
|
+
const scaledWidth = cropper.trueWidth * scale;
|
|
20880
|
+
const scaledHeight = cropper.trueHeight * scale;
|
|
20881
|
+
cropper.scale = scale;
|
|
20882
|
+
cropper.x = cropper.cropOffsertX + (cropper.cropW - scaledWidth) / 2 - (cropper.trueWidth - scaledWidth) / 2;
|
|
20883
|
+
cropper.y = cropper.cropOffsertY + (cropper.cropH - scaledHeight) / 2 - (cropper.trueHeight - scaledHeight) / 2;
|
|
20884
|
+
enlarge.value = 1 / scale;
|
|
20885
|
+
}
|
|
20886
|
+
function waitCropperReady() {
|
|
20887
|
+
return new Promise((resolve) => {
|
|
20888
|
+
let observer = null;
|
|
20889
|
+
const cleanup = () => {
|
|
20890
|
+
observer?.disconnect();
|
|
20891
|
+
if (scaleIntervalId) {
|
|
20892
|
+
clearInterval(scaleIntervalId);
|
|
20893
|
+
scaleIntervalId = null;
|
|
20894
|
+
}
|
|
20895
|
+
};
|
|
20896
|
+
const check = () => {
|
|
20897
|
+
const cropper = cropperRef.value;
|
|
20898
|
+
if (cropper?.w && cropper?.h && cropper?.trueWidth && cropper?.trueHeight) {
|
|
20899
|
+
cleanup();
|
|
20900
|
+
resolve();
|
|
20901
|
+
}
|
|
20902
|
+
};
|
|
20903
|
+
observer = new MutationObserver(check);
|
|
20904
|
+
const cropperElement = cropperRef.value?.$el;
|
|
20905
|
+
if (cropperElement) observer.observe(cropperElement, {
|
|
20906
|
+
childList: true,
|
|
20907
|
+
subtree: true,
|
|
20908
|
+
attributes: true
|
|
20909
|
+
});
|
|
20910
|
+
scaleIntervalId = setInterval(check, 50);
|
|
20911
|
+
check();
|
|
20912
|
+
});
|
|
20913
|
+
}
|
|
20914
|
+
const isApplyingInitialCrop = ref(false);
|
|
20915
|
+
async function applyInitialCrop(url) {
|
|
20824
20916
|
try {
|
|
20825
|
-
|
|
20917
|
+
isApplyingInitialCrop.value = true;
|
|
20826
20918
|
const image = new Image();
|
|
20827
20919
|
image.crossOrigin = "anonymous";
|
|
20828
20920
|
await new Promise((resolve, reject) => {
|
|
@@ -20830,54 +20922,18 @@ var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
20830
20922
|
image.onerror = () => reject(/* @__PURE__ */ new Error(`Failed to load image: ${url}`));
|
|
20831
20923
|
image.src = url;
|
|
20832
20924
|
});
|
|
20833
|
-
await
|
|
20834
|
-
|
|
20835
|
-
const cleanup = () => {
|
|
20836
|
-
observer?.disconnect();
|
|
20837
|
-
if (scaleIntervalId) {
|
|
20838
|
-
clearInterval(scaleIntervalId);
|
|
20839
|
-
scaleIntervalId = null;
|
|
20840
|
-
}
|
|
20841
|
-
};
|
|
20842
|
-
const checkCropper = () => {
|
|
20843
|
-
if (cropperRef.value && cropperRef.value.cropW && cropperRef.value.cropH) {
|
|
20844
|
-
cleanup();
|
|
20845
|
-
resolve();
|
|
20846
|
-
return;
|
|
20847
|
-
}
|
|
20848
|
-
observer = new MutationObserver(() => {
|
|
20849
|
-
if (cropperRef.value && cropperRef.value.cropW && cropperRef.value.cropH) {
|
|
20850
|
-
cleanup();
|
|
20851
|
-
resolve();
|
|
20852
|
-
}
|
|
20853
|
-
});
|
|
20854
|
-
if (cropperRef.value?.$el) observer.observe(cropperRef.value.$el, {
|
|
20855
|
-
childList: true,
|
|
20856
|
-
subtree: true,
|
|
20857
|
-
attributes: true
|
|
20858
|
-
});
|
|
20859
|
-
scaleIntervalId = setInterval(() => {
|
|
20860
|
-
if (cropperRef.value && cropperRef.value.cropW && cropperRef.value.cropH) {
|
|
20861
|
-
cleanup();
|
|
20862
|
-
resolve();
|
|
20863
|
-
}
|
|
20864
|
-
}, 50);
|
|
20865
|
-
checkCropper();
|
|
20866
|
-
};
|
|
20867
|
-
checkCropper();
|
|
20868
|
-
});
|
|
20925
|
+
await nextTick();
|
|
20926
|
+
await waitCropperReady();
|
|
20869
20927
|
if (cropperRef.value) {
|
|
20870
|
-
const
|
|
20871
|
-
|
|
20872
|
-
|
|
20873
|
-
|
|
20874
|
-
else scale = cropNumber[0] / imageNumber[0];
|
|
20875
|
-
cropperRef.value.scale = scale;
|
|
20928
|
+
const cropSize = getInitialCropSize(image);
|
|
20929
|
+
centerCropBox(cropSize.width, cropSize.height);
|
|
20930
|
+
await nextTick();
|
|
20931
|
+
fitImageToCropBox();
|
|
20876
20932
|
}
|
|
20877
20933
|
} catch (error) {
|
|
20878
|
-
console.error("
|
|
20934
|
+
console.error("应用初始裁剪框失败:", error);
|
|
20879
20935
|
} finally {
|
|
20880
|
-
|
|
20936
|
+
isApplyingInitialCrop.value = false;
|
|
20881
20937
|
}
|
|
20882
20938
|
}
|
|
20883
20939
|
__expose({
|
|
@@ -20896,7 +20952,7 @@ var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
20896
20952
|
}
|
|
20897
20953
|
dialogVisible.value = true;
|
|
20898
20954
|
copperPromiseDeferred = new Deferred();
|
|
20899
|
-
if (cropperProps.value.autoCropScale)
|
|
20955
|
+
if (cropperProps.value.autoCropScale) applyInitialCrop(filePath.value);
|
|
20900
20956
|
const newFile = await copperPromiseDeferred.promise;
|
|
20901
20957
|
copperPromiseDeferred = null;
|
|
20902
20958
|
URL.revokeObjectURL(filePath.value);
|
|
@@ -20922,7 +20978,7 @@ var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
20922
20978
|
}, {
|
|
20923
20979
|
default: withCtx(() => [createVNode(unref(MtDialogConfirmLayout), {
|
|
20924
20980
|
loading: loading.value,
|
|
20925
|
-
disabled:
|
|
20981
|
+
disabled: isApplyingInitialCrop.value,
|
|
20926
20982
|
"confirm-text": unref(t)("mt.upload.confirm"),
|
|
20927
20983
|
"cancel-text": unref(t)("mt.upload.cancel"),
|
|
20928
20984
|
onCancel: handleCancel,
|
|
@@ -20931,7 +20987,7 @@ var upload_image_copper_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
20931
20987
|
default: withCtx(() => [filePath.value ? (openBlock(), createElementBlock("div", {
|
|
20932
20988
|
key: 0,
|
|
20933
20989
|
class: normalizeClass(unref(ns).e("content"))
|
|
20934
|
-
}, [
|
|
20990
|
+
}, [isApplyingInitialCrop.value ? (openBlock(), createElementBlock("div", {
|
|
20935
20991
|
key: 0,
|
|
20936
20992
|
class: normalizeClass(unref(ns).e("loading"))
|
|
20937
20993
|
}, [createVNode(unref(MtLoading), { size: 80 })], 2)) : createCommentVNode("", true), createVNode(unref(M), mergeProps({
|
|
@@ -20968,7 +21024,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
20968
21024
|
};
|
|
20969
21025
|
//#endregion
|
|
20970
21026
|
//#region src/upload/src/upload-image-copper.vue
|
|
20971
|
-
var upload_image_copper_default =
|
|
21027
|
+
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"]]);
|
|
20972
21028
|
//#endregion
|
|
20973
21029
|
//#region src/upload/src/layout/upload-image-grid-layout.vue
|
|
20974
21030
|
var upload_image_grid_layout_default = /* @__PURE__ */ defineComponent({
|
|
@@ -21088,7 +21144,7 @@ var upload_image_grid_layout_default = /* @__PURE__ */ defineComponent({
|
|
|
21088
21144
|
});
|
|
21089
21145
|
//#endregion
|
|
21090
21146
|
//#region src/upload/src/layout/upload-image-only-layout.vue
|
|
21091
|
-
var upload_image_only_layout_default =
|
|
21147
|
+
var upload_image_only_layout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
21092
21148
|
name: "MtUploadImageOnlyLayout",
|
|
21093
21149
|
__name: "upload-image-only-layout",
|
|
21094
21150
|
props: {
|
|
@@ -67945,7 +68001,7 @@ var upload_content_default = /* @__PURE__ */ defineComponent({
|
|
|
67945
68001
|
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/dkgqC7STlAKJQ8QkqAICKsxCgr1Wq14oZ1A/kg8DNYBt98tSWebaMVgucr5qX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rE9+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==";
|
|
67946
68002
|
//#endregion
|
|
67947
68003
|
//#region src/upload/src/upload-full-screen-drag.vue
|
|
67948
|
-
var upload_full_screen_drag_default =
|
|
68004
|
+
var upload_full_screen_drag_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
67949
68005
|
name: "MtUploadFullScreenDrag",
|
|
67950
68006
|
__name: "upload-full-screen-drag",
|
|
67951
68007
|
props: { description: { type: String } },
|
|
@@ -68020,16 +68076,18 @@ function useFullScreenDrag(props) {
|
|
|
68020
68076
|
}
|
|
68021
68077
|
}
|
|
68022
68078
|
function removeUploadInstance() {
|
|
68023
|
-
|
|
68024
|
-
|
|
68025
|
-
if (index !== -1) uploadInstances.value.splice(index, 1);
|
|
68026
|
-
}
|
|
68079
|
+
const index = uploadInstances.value.findIndex((instance) => instance.uid === uid);
|
|
68080
|
+
if (index !== -1) uploadInstances.value.splice(index, 1);
|
|
68027
68081
|
}
|
|
68028
68082
|
const dialogContext = inject(DialogKey);
|
|
68029
68083
|
if (dialogContext) watch(() => dialogContext.visible.value, () => {
|
|
68030
68084
|
if (dialogContext.visible.value) addUploadInstance();
|
|
68031
68085
|
else removeUploadInstance();
|
|
68032
68086
|
});
|
|
68087
|
+
watch(() => props.isFullScreenDrag, (isFullScreenDrag) => {
|
|
68088
|
+
if (isFullScreenDrag) addUploadInstance();
|
|
68089
|
+
else removeUploadInstance();
|
|
68090
|
+
});
|
|
68033
68091
|
onMounted(addUploadInstance);
|
|
68034
68092
|
onUnmounted(removeUploadInstance);
|
|
68035
68093
|
return { onlyFullScreenDragInstance: computed(() => {
|