next-element-vue 0.5.2 → 0.5.5
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.css +6 -5
- package/dist/index.js +489 -530
- package/dist/index.min.js +3 -3
- package/dist/index.umd.js +496 -508
- package/dist/index.umd.min.js +3 -3
- package/dist/packages/components/carousel/index.d.ts +24 -0
- package/dist/packages/components/carousel/src/index.d.ts +24 -0
- package/dist/packages/components/container/index.d.ts +4 -4
- package/dist/packages/components/container/src/index.d.ts +4 -4
- package/dist/packages/components/crud-table/index.d.ts +6 -6
- package/dist/packages/components/crud-table/src/footer-pagination.d.ts +5 -5
- package/dist/packages/components/crud-table/src/header-menu.d.ts +2 -2
- package/dist/packages/components/crud-table/src/header-search.d.ts +5 -5
- package/dist/packages/components/crud-table/src/index.d.ts +6 -6
- package/dist/packages/components/crud-table/src/widgets/add-edit-form.d.ts +5 -5
- package/dist/packages/components/crud-table/src/widgets/drawer-setting.d.ts +2 -2
- package/dist/packages/components/crud-table/src/widgets/search-column.d.ts +4 -4
- package/dist/packages/components/crud-table/src/widgets/table-column-dynamic.d.ts +4 -4
- package/dist/packages/components/crud-table/src/widgets/table-column-operations.d.ts +2 -2
- package/dist/packages/components/crud-table-select/index.d.ts +1 -7
- package/dist/packages/components/crud-table-select/src/index.d.ts +1 -7
- package/dist/packages/components/crud-table-virtualized/index.d.ts +5 -5
- package/dist/packages/components/crud-table-virtualized/src/index.d.ts +5 -5
- package/dist/packages/components/crud-table-virtualized/src/index.test.d.ts +5 -5
- package/dist/packages/components/dialog/index.d.ts +5 -5
- package/dist/packages/components/dialog/src/index.d.ts +5 -5
- package/dist/packages/components/drag-resize/index.d.ts +1 -7
- package/dist/packages/components/drag-resize/src/index.d.ts +1 -7
- package/dist/packages/components/form/index.d.ts +20 -20
- package/dist/packages/components/form/src/index.d.ts +5 -5
- package/dist/packages/components/form/src/widgets/input-table-select.d.ts +5 -5
- package/dist/packages/components/form/src/widgets/number-range-picker.d.ts +5 -5
- package/dist/packages/components/form/src/widgets/tree-cascader.d.ts +5 -5
- package/dist/packages/components/form/src/widgets/tree-select.d.ts +5 -5
- package/dist/packages/components/form/src/widgets/upload-image.d.ts +41 -7
- package/dist/packages/components/labelimg/index.d.ts +10 -10
- package/dist/packages/components/labelimg/src/index.d.ts +6 -6
- package/dist/packages/components/labelimg/src/preview.d.ts +4 -4
- package/dist/packages/components/labelimg/src/widgets/canvas-context.d.ts +5 -5
- package/dist/packages/components/labelimg/src/widgets/contextmenu-label.d.ts +5 -5
- package/dist/packages/components/labelimg/src/widgets/draggable-rect.d.ts +17 -6
- package/dist/packages/components/labelimg/src/widgets/right-label.d.ts +5 -5
- package/dist/packages/components/labelimg/src/widgets/tool-header.d.ts +5 -5
- package/dist/packages/components/labelme/index.d.ts +6 -6
- package/dist/packages/components/labelme/src/index.d.ts +6 -6
- package/dist/packages/components/labelme/src/widgets/canvas-context.d.ts +5 -5
- package/dist/packages/components/labelme/src/widgets/header-tool.d.ts +5 -5
- package/dist/packages/components/layout/index.d.ts +6 -6
- package/dist/packages/components/layout/src/classic/index.d.ts +2 -8
- package/dist/packages/components/layout/src/classic/widgets/header.d.ts +1 -1
- package/dist/packages/components/layout/src/classic/widgets/sidebar.d.ts +1 -1
- package/dist/packages/components/layout/src/columns/index.d.ts +1 -7
- package/dist/packages/components/layout/src/columns/widgets/header.d.ts +1 -1
- package/dist/packages/components/layout/src/columns/widgets/sidebar.d.ts +1 -1
- package/dist/packages/components/layout/src/composite/index.d.ts +3 -9
- package/dist/packages/components/layout/src/composite/widgets/header.d.ts +1 -1
- package/dist/packages/components/layout/src/composite/widgets/menu-top.d.ts +4 -4
- package/dist/packages/components/layout/src/composite/widgets/sidebar.d.ts +1 -1
- package/dist/packages/components/layout/src/defaults/index.d.ts +1 -7
- package/dist/packages/components/layout/src/defaults/widgets/header.d.ts +1 -1
- package/dist/packages/components/layout/src/defaults/widgets/sidebar.d.ts +1 -1
- package/dist/packages/components/layout/src/index.d.ts +6 -6
- package/dist/packages/components/layout/src/transverse/index.d.ts +1 -7
- package/dist/packages/components/layout/src/transverse/widgets/header.d.ts +1 -1
- package/dist/packages/components/layout/src/widgets/header-tools.d.ts +5 -5
- package/dist/packages/components/layout/src/widgets/layout-setting.d.ts +1 -1
- package/dist/packages/components/layout/src/widgets/logo.d.ts +1 -1
- package/dist/packages/components/menu/index.d.ts +4 -4
- package/dist/packages/components/menu/src/index.d.ts +4 -4
- package/dist/packages/components/menu/src/widgets/menu-item-title.d.ts +4 -4
- package/dist/packages/components/menu/src/widgets/menu-item.d.ts +3 -3
- package/dist/packages/components/spin-loading/index.d.ts +6 -6
- package/dist/packages/components/spin-loading/src/index.d.ts +6 -6
- package/dist/packages/components/tabs/index.d.ts +5 -5
- package/dist/packages/components/tabs/src/index.d.ts +5 -5
- package/dist/packages/components/text-ellipsis/index.d.ts +10 -10
- package/dist/packages/components/text-ellipsis/src/index.d.ts +10 -10
- package/dist/packages/components/upload/index.d.ts +6 -6
- package/dist/packages/components/upload/src/index.d.ts +6 -6
- package/dist/packages/components/video-player/index.d.ts +6 -6
- package/dist/packages/components/video-player/src/index.d.ts +6 -6
- package/dist/packages/components.d.ts +1 -0
- package/dist/packages/hooks/use-locale/index.d.ts +176 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* 作 者:huangteng
|
|
4
4
|
* 邮 箱:htengweb@163.com
|
|
5
|
-
* 当前版本:0.5.
|
|
6
|
-
* 发布日期:2025-
|
|
5
|
+
* 当前版本:0.5.5 v
|
|
6
|
+
* 发布日期:2025-03-12
|
|
7
7
|
* 地 址:https://www.npmjs.com/package/next-element-vue
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import { getCurrentInstance, inject, ref, computed, unref, isRef, defineComponent, createVNode, Fragment,
|
|
10
|
+
import { getCurrentInstance, inject, ref, computed, unref, isRef, defineComponent, createVNode, Fragment, createElementBlock, openBlock, createElementVNode, reactive, createTextVNode, resolveComponent, Teleport, isVNode, onUnmounted, provide, watch, nextTick, markRaw, watchEffect, h, onMounted, toRaw, render, toRef } from "vue";
|
|
11
11
|
|
|
12
|
-
import { localeContextKey as localeContextKey$1, ElMessage, ElTooltip, ElScrollbar, ElDivider, ElColorPicker, ElSwitch, ElDropdown,
|
|
12
|
+
import { localeContextKey as localeContextKey$1, ElMessage, ElTooltip, ElScrollbar, ElDivider, ElColorPicker, ElSwitch, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElDrawer, ElMenuItem, ElSubMenu, ElMenu, ElContainer, ElCol, ElFormItem, ElInput, ElSelect, ElOption, ElDatePicker, ElInputNumber, ElForm, ElRow, ElButton, ElTable, ElTableColumn, ElCheckbox, ElMessageBox, ElPagination, ElDialog, ElTag, ElCheckboxGroup, ElRadioGroup, ElRadio, ElUpload, ElImageViewer, ElImage, ElTreeSelect, ElCascader, ElTimeSelect, ElEmpty, ElPopover, ElPopconfirm } from "element-plus";
|
|
13
13
|
|
|
14
14
|
import { useDateFormat, useNow, useFullscreen } from "@vueuse/core";
|
|
15
15
|
|
|
@@ -74,10 +74,10 @@ var freeGlobal = "object" == typeof global && global && global.Object === Object
|
|
|
74
74
|
|
|
75
75
|
var nativeObjectToString = Object.prototype.toString;
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
78
78
|
|
|
79
79
|
function baseGetTag(value) {
|
|
80
|
-
return null == value ? void 0 === value ?
|
|
80
|
+
return null == value ? void 0 === value ? "[object Undefined]" : "[object Null]" : symToStringTag && symToStringTag in Object(value) ? function(value) {
|
|
81
81
|
var isOwn = hasOwnProperty$b.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
82
82
|
try {
|
|
83
83
|
value[symToStringTag$1] = void 0;
|
|
@@ -95,13 +95,11 @@ function isObjectLike(value) {
|
|
|
95
95
|
return null != value && "object" == typeof value;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
var symbolTag$1 = "[object Symbol]";
|
|
99
|
-
|
|
100
98
|
function isSymbol(value) {
|
|
101
|
-
return "symbol" == typeof value || isObjectLike(value) && baseGetTag(value)
|
|
99
|
+
return "symbol" == typeof value || isObjectLike(value) && "[object Symbol]" == baseGetTag(value);
|
|
102
100
|
}
|
|
103
101
|
|
|
104
|
-
var isArray = Array.isArray,
|
|
102
|
+
var isArray = Array.isArray, symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
|
|
105
103
|
|
|
106
104
|
function baseToString(value) {
|
|
107
105
|
if ("string" == typeof value) return value;
|
|
@@ -111,7 +109,7 @@ function baseToString(value) {
|
|
|
111
109
|
}(value, baseToString) + "";
|
|
112
110
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
113
111
|
var result = value + "";
|
|
114
|
-
return "0" == result && 1 / value == -
|
|
112
|
+
return "0" == result && 1 / value == -1 / 0 ? "-0" : result;
|
|
115
113
|
}
|
|
116
114
|
|
|
117
115
|
function isObject(value) {
|
|
@@ -123,12 +121,10 @@ function identity(value) {
|
|
|
123
121
|
return value;
|
|
124
122
|
}
|
|
125
123
|
|
|
126
|
-
var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
127
|
-
|
|
128
124
|
function isFunction(value) {
|
|
129
125
|
if (!isObject(value)) return !1;
|
|
130
126
|
var tag = baseGetTag(value);
|
|
131
|
-
return
|
|
127
|
+
return "[object Function]" == tag || "[object GeneratorFunction]" == tag || "[object AsyncFunction]" == tag || "[object Proxy]" == tag;
|
|
132
128
|
}
|
|
133
129
|
|
|
134
130
|
var uid, coreJsData = root["__core-js_shared__"], maskSrcKey = (uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "")) ? "Symbol(src)_1." + uid : "";
|
|
@@ -196,11 +192,11 @@ function() {
|
|
|
196
192
|
if (++count >= 800) return arguments[0];
|
|
197
193
|
} else count = 0;
|
|
198
194
|
return func.apply(void 0, arguments);
|
|
199
|
-
}),
|
|
195
|
+
}), reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
200
196
|
|
|
201
197
|
function isIndex(value, length) {
|
|
202
198
|
var type = typeof value;
|
|
203
|
-
return !!(length = null == length ?
|
|
199
|
+
return !!(length = null == length ? 9007199254740991 : length) && ("number" == type || "symbol" != type && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
204
200
|
}
|
|
205
201
|
|
|
206
202
|
function baseAssignValue(object, key, value) {
|
|
@@ -251,10 +247,8 @@ function baseRest(func, start) {
|
|
|
251
247
|
}(func, start, identity), func + "");
|
|
252
248
|
}
|
|
253
249
|
|
|
254
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
255
|
-
|
|
256
250
|
function isLength(value) {
|
|
257
|
-
return "number" == typeof value && value > -1 && value % 1 == 0 && value <=
|
|
251
|
+
return "number" == typeof value && value > -1 && value % 1 == 0 && value <= 9007199254740991;
|
|
258
252
|
}
|
|
259
253
|
|
|
260
254
|
function isArrayLike(value) {
|
|
@@ -289,7 +283,7 @@ function baseIsArguments(value) {
|
|
|
289
283
|
return isObjectLike(value) && "[object Arguments]" == baseGetTag(value);
|
|
290
284
|
}
|
|
291
285
|
|
|
292
|
-
var objectProto$9 = Object.prototype, hasOwnProperty$8 = objectProto$9.hasOwnProperty, propertyIsEnumerable$1 = objectProto$9.propertyIsEnumerable, isArguments
|
|
286
|
+
var objectProto$9 = Object.prototype, hasOwnProperty$8 = objectProto$9.hasOwnProperty, propertyIsEnumerable$1 = objectProto$9.propertyIsEnumerable, isArguments = baseIsArguments(function() {
|
|
293
287
|
return arguments;
|
|
294
288
|
}()) ? baseIsArguments : function(value) {
|
|
295
289
|
return isObjectLike(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
@@ -316,7 +310,7 @@ var freeExports$1 = "object" == typeof exports && exports && !exports.nodeType &
|
|
|
316
310
|
}, hasOwnProperty$7 = Object.prototype.hasOwnProperty;
|
|
317
311
|
|
|
318
312
|
function arrayLikeKeys(value, inherited) {
|
|
319
|
-
var isArr = isArray(value), isArg = !isArr && isArguments
|
|
313
|
+
var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? function(n, iteratee) {
|
|
320
314
|
for (var index = -1, result = Array(n); ++index < n; ) result[index] = iteratee(index);
|
|
321
315
|
return result;
|
|
322
316
|
}(value.length, String) : [], length = result.length;
|
|
@@ -460,10 +454,8 @@ MapCache.prototype.clear = function() {
|
|
|
460
454
|
return data.set(key, value), this.size += data.size == size ? 0 : 1, this;
|
|
461
455
|
};
|
|
462
456
|
|
|
463
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
464
|
-
|
|
465
457
|
function memoize(func, resolver) {
|
|
466
|
-
if ("function" != typeof func || null != resolver && "function" != typeof resolver) throw new TypeError(
|
|
458
|
+
if ("function" != typeof func || null != resolver && "function" != typeof resolver) throw new TypeError("Expected a function");
|
|
467
459
|
var memoized = function() {
|
|
468
460
|
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
469
461
|
if (cache.has(key)) return cache.get(key);
|
|
@@ -497,12 +489,10 @@ function castPath(value, object) {
|
|
|
497
489
|
}(value));
|
|
498
490
|
}
|
|
499
491
|
|
|
500
|
-
var INFINITY = 1 / 0;
|
|
501
|
-
|
|
502
492
|
function toKey(value) {
|
|
503
493
|
if ("string" == typeof value || isSymbol(value)) return value;
|
|
504
494
|
var result = value + "";
|
|
505
|
-
return "0" == result && 1 / value == -
|
|
495
|
+
return "0" == result && 1 / value == -1 / 0 ? "-0" : result;
|
|
506
496
|
}
|
|
507
497
|
|
|
508
498
|
function get(object, path, defaultValue) {
|
|
@@ -513,7 +503,7 @@ function get(object, path, defaultValue) {
|
|
|
513
503
|
return void 0 === result ? defaultValue : result;
|
|
514
504
|
}
|
|
515
505
|
|
|
516
|
-
var getPrototype = overArg(Object.getPrototypeOf, Object),
|
|
506
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object), funcProto = Function.prototype, objectProto$3 = Object.prototype, funcToString = funcProto.toString, hasOwnProperty$2 = objectProto$3.hasOwnProperty, objectCtorString = funcToString.call(Object);
|
|
517
507
|
|
|
518
508
|
function Stack(entries) {
|
|
519
509
|
var data = this.__data__ = new ListCache(entries);
|
|
@@ -540,7 +530,9 @@ Stack.prototype.clear = function() {
|
|
|
540
530
|
return data.set(key, value), this.size = data.size, this;
|
|
541
531
|
};
|
|
542
532
|
|
|
543
|
-
var freeExports = "object" == typeof exports && exports && !exports.nodeType && exports, freeModule = freeExports && "object" == typeof module && module && !module.nodeType && module, Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0
|
|
533
|
+
var freeExports = "object" == typeof exports && exports && !exports.nodeType && exports, freeModule = freeExports && "object" == typeof module && module && !module.nodeType && module, Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
|
|
534
|
+
|
|
535
|
+
Buffer && Buffer.allocUnsafe;
|
|
544
536
|
|
|
545
537
|
var propertyIsEnumerable = Object.prototype.propertyIsEnumerable, nativeGetSymbols = Object.getOwnPropertySymbols, getSymbols = nativeGetSymbols ? function(object) {
|
|
546
538
|
return null == object ? [] : (object = Object(object), function(array, predicate) {
|
|
@@ -554,7 +546,7 @@ var propertyIsEnumerable = Object.prototype.propertyIsEnumerable, nativeGetSymbo
|
|
|
554
546
|
})));
|
|
555
547
|
} : function() {
|
|
556
548
|
return [];
|
|
557
|
-
}
|
|
549
|
+
};
|
|
558
550
|
|
|
559
551
|
function getAllKeys(object) {
|
|
560
552
|
return function(object, keysFunc, symbolsFunc) {
|
|
@@ -563,7 +555,7 @@ function getAllKeys(object) {
|
|
|
563
555
|
for (var index = -1, length = values.length, offset = array.length; ++index < length; ) array[offset + index] = values[index];
|
|
564
556
|
return array;
|
|
565
557
|
}(result, symbolsFunc(object));
|
|
566
|
-
}(object, keys, getSymbols
|
|
558
|
+
}(object, keys, getSymbols);
|
|
567
559
|
}
|
|
568
560
|
|
|
569
561
|
var DataView = getNative(root, "DataView"), Promise$1 = getNative(root, "Promise"), Set$1 = getNative(root, "Set"), dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap), getTag = baseGetTag;
|
|
@@ -589,11 +581,11 @@ var DataView = getNative(root, "DataView"), Promise$1 = getNative(root, "Promise
|
|
|
589
581
|
return result;
|
|
590
582
|
});
|
|
591
583
|
|
|
592
|
-
var
|
|
584
|
+
var Uint8Array = root.Uint8Array;
|
|
593
585
|
|
|
594
586
|
function cloneTypedArray(typedArray, isDeep) {
|
|
595
|
-
var arrayBuffer, result, buffer =
|
|
596
|
-
new Uint8Array
|
|
587
|
+
var arrayBuffer, result, buffer = (arrayBuffer = typedArray.buffer, result = new arrayBuffer.constructor(arrayBuffer.byteLength),
|
|
588
|
+
new Uint8Array(result).set(new Uint8Array(arrayBuffer)), result);
|
|
597
589
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
598
590
|
}
|
|
599
591
|
|
|
@@ -613,14 +605,12 @@ SetCache.prototype.add = SetCache.prototype.push = function(value) {
|
|
|
613
605
|
return this.__data__.has(value);
|
|
614
606
|
};
|
|
615
607
|
|
|
616
|
-
var COMPARE_PARTIAL_FLAG$3 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
|
|
617
|
-
|
|
618
608
|
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
619
|
-
var isPartial =
|
|
609
|
+
var isPartial = 1 & bitmask, arrLength = array.length, othLength = other.length;
|
|
620
610
|
if (arrLength != othLength && !(isPartial && othLength > arrLength)) return !1;
|
|
621
611
|
var arrStacked = stack.get(array), othStacked = stack.get(other);
|
|
622
612
|
if (arrStacked && othStacked) return arrStacked == other && othStacked == array;
|
|
623
|
-
var index = -1, result = !0, seen =
|
|
613
|
+
var index = -1, result = !0, seen = 2 & bitmask ? new SetCache : void 0;
|
|
624
614
|
for (stack.set(array, other), stack.set(other, array); ++index < arrLength; ) {
|
|
625
615
|
var arrValue = array[index], othValue = other[index];
|
|
626
616
|
if (customizer) var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
|
|
@@ -659,57 +649,57 @@ function setToArray(set) {
|
|
|
659
649
|
})), result;
|
|
660
650
|
}
|
|
661
651
|
|
|
662
|
-
var
|
|
652
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
663
653
|
|
|
664
|
-
var
|
|
654
|
+
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
665
655
|
|
|
666
|
-
var
|
|
656
|
+
var objectTag = "[object Object]", hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
667
657
|
|
|
668
658
|
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
669
|
-
var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ?
|
|
659
|
+
var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? "[object Array]" : getTag(object), othTag = othIsArr ? "[object Array]" : getTag(other), objIsObj = (objTag = "[object Arguments]" == objTag ? objectTag : objTag) == objectTag, othIsObj = (othTag = "[object Arguments]" == othTag ? objectTag : othTag) == objectTag, isSameTag = objTag == othTag;
|
|
670
660
|
if (isSameTag && isBuffer(object)) {
|
|
671
661
|
if (!isBuffer(other)) return !1;
|
|
672
662
|
objIsArr = !0, objIsObj = !1;
|
|
673
663
|
}
|
|
674
664
|
if (isSameTag && !objIsObj) return stack || (stack = new Stack), objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : function(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
675
665
|
switch (tag) {
|
|
676
|
-
case
|
|
666
|
+
case "[object DataView]":
|
|
677
667
|
if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) return !1;
|
|
678
668
|
object = object.buffer, other = other.buffer;
|
|
679
669
|
|
|
680
|
-
case
|
|
681
|
-
return !(object.byteLength != other.byteLength || !equalFunc(new Uint8Array
|
|
670
|
+
case "[object ArrayBuffer]":
|
|
671
|
+
return !(object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other)));
|
|
682
672
|
|
|
683
|
-
case
|
|
684
|
-
case
|
|
685
|
-
case
|
|
673
|
+
case "[object Boolean]":
|
|
674
|
+
case "[object Date]":
|
|
675
|
+
case "[object Number]":
|
|
686
676
|
return eq(+object, +other);
|
|
687
677
|
|
|
688
|
-
case
|
|
678
|
+
case "[object Error]":
|
|
689
679
|
return object.name == other.name && object.message == other.message;
|
|
690
680
|
|
|
691
|
-
case
|
|
692
|
-
case
|
|
681
|
+
case "[object RegExp]":
|
|
682
|
+
case "[object String]":
|
|
693
683
|
return object == other + "";
|
|
694
684
|
|
|
695
|
-
case
|
|
685
|
+
case "[object Map]":
|
|
696
686
|
var convert = mapToArray;
|
|
697
687
|
|
|
698
|
-
case
|
|
699
|
-
var isPartial =
|
|
688
|
+
case "[object Set]":
|
|
689
|
+
var isPartial = 1 & bitmask;
|
|
700
690
|
if (convert || (convert = setToArray), object.size != other.size && !isPartial) return !1;
|
|
701
691
|
var stacked = stack.get(object);
|
|
702
692
|
if (stacked) return stacked == other;
|
|
703
|
-
bitmask |=
|
|
693
|
+
bitmask |= 2, stack.set(object, other);
|
|
704
694
|
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
705
695
|
return stack.delete(object), result;
|
|
706
696
|
|
|
707
|
-
case
|
|
697
|
+
case "[object Symbol]":
|
|
708
698
|
if (symbolValueOf) return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
709
699
|
}
|
|
710
700
|
return !1;
|
|
711
701
|
}(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
712
|
-
if (!(
|
|
702
|
+
if (!(1 & bitmask)) {
|
|
713
703
|
var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
|
|
714
704
|
if (objIsWrapped || othIsWrapped) {
|
|
715
705
|
var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
|
|
@@ -717,7 +707,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
717
707
|
}
|
|
718
708
|
}
|
|
719
709
|
return !!isSameTag && (stack || (stack = new Stack), function(object, other, bitmask, customizer, equalFunc, stack) {
|
|
720
|
-
var isPartial =
|
|
710
|
+
var isPartial = 1 & bitmask, objProps = getAllKeys(object), objLength = objProps.length;
|
|
721
711
|
if (objLength != getAllKeys(other).length && !isPartial) return !1;
|
|
722
712
|
for (var index = objLength; index--; ) {
|
|
723
713
|
var key = objProps[index];
|
|
@@ -748,9 +738,9 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
748
738
|
return value === other || (null == value || null == other || !isObjectLike(value) && !isObjectLike(other) ? value != value && other != other : baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack));
|
|
749
739
|
}
|
|
750
740
|
|
|
751
|
-
var
|
|
741
|
+
var baseFor = function(object, iteratee, keysFunc) {
|
|
752
742
|
for (var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length; length--; ) {
|
|
753
|
-
var key = props[
|
|
743
|
+
var key = props[++index];
|
|
754
744
|
if (!1 === iteratee(iterable[key], key, iterable)) break;
|
|
755
745
|
}
|
|
756
746
|
return object;
|
|
@@ -765,11 +755,11 @@ function safeGet(object, key) {
|
|
|
765
755
|
}
|
|
766
756
|
|
|
767
757
|
function toPlainObject(value) {
|
|
768
|
-
return function(source, props, object
|
|
758
|
+
return function(source, props, object) {
|
|
769
759
|
var isNew = !object;
|
|
770
760
|
object || (object = {});
|
|
771
761
|
for (var index = -1, length = props.length; ++index < length; ) {
|
|
772
|
-
var key = props[index], newValue =
|
|
762
|
+
var key = props[index], newValue = void 0;
|
|
773
763
|
void 0 === newValue && (newValue = source[key]), isNew ? baseAssignValue(object, key, newValue) : assignValue(object, key, newValue);
|
|
774
764
|
}
|
|
775
765
|
return object;
|
|
@@ -786,17 +776,14 @@ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, sta
|
|
|
786
776
|
var index = -1, length = source.length;
|
|
787
777
|
for (array || (array = Array(length)); ++index < length; ) array[index] = source[index];
|
|
788
778
|
return array;
|
|
789
|
-
}(objValue) : isBuff ? (isCommon = !1, newValue =
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
return buffer.copy(result), result;
|
|
793
|
-
}(srcValue, !0)) : isTyped ? (isCommon = !1, newValue = cloneTypedArray(srcValue, !0)) : newValue = [] : function(value) {
|
|
794
|
-
if (!isObjectLike(value) || baseGetTag(value) != objectTag$2) return !1;
|
|
779
|
+
}(objValue) : isBuff ? (isCommon = !1, newValue = srcValue.slice()) : isTyped ? (isCommon = !1,
|
|
780
|
+
newValue = cloneTypedArray(srcValue)) : newValue = [] : function(value) {
|
|
781
|
+
if (!isObjectLike(value) || "[object Object]" != baseGetTag(value)) return !1;
|
|
795
782
|
var proto = getPrototype(value);
|
|
796
783
|
if (null === proto) return !0;
|
|
797
784
|
var Ctor = hasOwnProperty$2.call(proto, "constructor") && proto.constructor;
|
|
798
785
|
return "function" == typeof Ctor && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
799
|
-
}(srcValue) || isArguments
|
|
786
|
+
}(srcValue) || isArguments(srcValue) ? (newValue = objValue, isArguments(objValue) ? newValue = toPlainObject(objValue) : isObject(objValue) && !isFunction(objValue) || (newValue = function(object) {
|
|
800
787
|
return "function" != typeof object.constructor || isPrototype(object) ? {} : baseCreate(getPrototype(object));
|
|
801
788
|
}(srcValue))) : isCommon = !1;
|
|
802
789
|
}
|
|
@@ -820,7 +807,7 @@ var mergeWith = createAssigner((function(object, source, srcIndex, customizer) {
|
|
|
820
807
|
|
|
821
808
|
var merge = createAssigner((function(object, source, srcIndex) {
|
|
822
809
|
baseMerge(object, source, srcIndex);
|
|
823
|
-
})),
|
|
810
|
+
})), zhcnLocale = {
|
|
824
811
|
name: "zh-cn",
|
|
825
812
|
next: {
|
|
826
813
|
loading: "加载中...",
|
|
@@ -1246,12 +1233,9 @@ const {getLightColor: getLightColor$5} = useChangeColor(), nextUseCssVar = (cssv
|
|
|
1246
1233
|
}));
|
|
1247
1234
|
};
|
|
1248
1235
|
})) : (error && error("模型类别不能未空"), !1) : (error && error("模型文件地址不能为空"), !1)
|
|
1249
|
-
}), withInstall = (main, extra) => {
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}, extra) for (const [key, comp] of Object.entries(extra)) main[key] = comp;
|
|
1253
|
-
return main;
|
|
1254
|
-
}, slots_config_headerMenu = "header-menu", slots_config_headerToolsPrefix = "header-tools-prefix", slots_config_headerToolsSuffix = "header-tools-suffix";
|
|
1236
|
+
}), withInstall = (main, extra) => (main.install = app => {
|
|
1237
|
+
for (const comp of [ main, ...Object.values({}) ]) app.component(comp.name, comp);
|
|
1238
|
+
}, main), slots_config_headerMenu = "header-menu", slots_config_headerToolsPrefix = "header-tools-prefix", slots_config_headerToolsSuffix = "header-tools-suffix";
|
|
1255
1239
|
|
|
1256
1240
|
var defaultConfig$5 = {
|
|
1257
1241
|
logo: "",
|
|
@@ -1301,11 +1285,15 @@ var defaultConfig$5 = {
|
|
|
1301
1285
|
}
|
|
1302
1286
|
};
|
|
1303
1287
|
|
|
1304
|
-
const ns$
|
|
1288
|
+
const ns$o = useNamespace("text-ellipsis");
|
|
1305
1289
|
|
|
1306
1290
|
const NextTextEllipsis = withInstall(defineComponent({
|
|
1307
1291
|
name: "NextTextEllipsis",
|
|
1308
1292
|
props: {
|
|
1293
|
+
className: {
|
|
1294
|
+
type: String,
|
|
1295
|
+
default: ""
|
|
1296
|
+
},
|
|
1309
1297
|
content: {
|
|
1310
1298
|
type: String,
|
|
1311
1299
|
default: ""
|
|
@@ -1325,10 +1313,6 @@ const NextTextEllipsis = withInstall(defineComponent({
|
|
|
1325
1313
|
textAlign: {
|
|
1326
1314
|
type: String,
|
|
1327
1315
|
default: "left"
|
|
1328
|
-
},
|
|
1329
|
-
class: {
|
|
1330
|
-
type: String,
|
|
1331
|
-
default: ""
|
|
1332
1316
|
}
|
|
1333
1317
|
},
|
|
1334
1318
|
setup(props, {slots: slots}) {
|
|
@@ -1348,7 +1332,7 @@ const NextTextEllipsis = withInstall(defineComponent({
|
|
|
1348
1332
|
}
|
|
1349
1333
|
};
|
|
1350
1334
|
return () => createVNode(Fragment, null, [ createVNode("div", {
|
|
1351
|
-
class: [ ns$
|
|
1335
|
+
class: [ ns$o.b(), props.className ],
|
|
1352
1336
|
style: setWidth.value,
|
|
1353
1337
|
onMouseenter: onMouseenter
|
|
1354
1338
|
}, [ isTip.value ? createVNode(ElTooltip, {
|
|
@@ -1358,11 +1342,11 @@ const NextTextEllipsis = withInstall(defineComponent({
|
|
|
1358
1342
|
disabled: props.disabled
|
|
1359
1343
|
}, {
|
|
1360
1344
|
default: () => [ createVNode("span", {
|
|
1361
|
-
class: ns$
|
|
1345
|
+
class: ns$o.e("text"),
|
|
1362
1346
|
ref: ellipsisRef
|
|
1363
1347
|
}, [ slots.default ? slots.default() : props.content ]) ]
|
|
1364
1348
|
}) : createVNode("span", {
|
|
1365
|
-
class: ns$
|
|
1349
|
+
class: ns$o.e("text"),
|
|
1366
1350
|
ref: ellipsisRef
|
|
1367
1351
|
}, [ slots.default ? slots.default() : props.content ]) ]) ]);
|
|
1368
1352
|
}
|
|
@@ -1383,308 +1367,256 @@ var LogoView = defineComponent({
|
|
|
1383
1367
|
content: t(_options.title)
|
|
1384
1368
|
}, null) ]) ]) ]);
|
|
1385
1369
|
}
|
|
1386
|
-
}),
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
},
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
},
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
},
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
}
|
|
1427
|
-
name: "
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
} ]
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
},
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
},
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
},
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
},
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
}
|
|
1490
|
-
name: "
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
},
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
},
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
},
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
},
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
} ]
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
},
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
},
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
},
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
},
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
}
|
|
1616
|
-
name: "
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
},
|
|
1636
|
-
|
|
1637
|
-
var setting_default = export_helper_default(setting_vue_vue_type_script_lang_default, [ [ "render", function(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1638
|
-
return openBlock(), createElementBlock("svg", _hoisted_1231, _hoisted_3230);
|
|
1639
|
-
} ], [ "__file", "setting.vue" ] ]), sunny_vue_vue_type_script_lang_default = {
|
|
1640
|
-
name: "Sunny"
|
|
1641
|
-
}, _hoisted_1253 = {
|
|
1642
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1643
|
-
viewBox: "0 0 1024 1024"
|
|
1644
|
-
}, _hoisted_3252 = [ createElementVNode("path", {
|
|
1645
|
-
fill: "currentColor",
|
|
1646
|
-
d: "M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512zm0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32zM195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248zM64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32zm768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32zM195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0z"
|
|
1647
|
-
}, null, -1) ];
|
|
1648
|
-
|
|
1649
|
-
var sunny_default = export_helper_default(sunny_vue_vue_type_script_lang_default, [ [ "render", function(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1650
|
-
return openBlock(), createElementBlock("svg", _hoisted_1253, _hoisted_3252);
|
|
1651
|
-
} ], [ "__file", "sunny.vue" ] ]), tools_vue_vue_type_script_lang_default = {
|
|
1652
|
-
name: "Tools"
|
|
1653
|
-
}, _hoisted_1264 = {
|
|
1654
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1655
|
-
viewBox: "0 0 1024 1024"
|
|
1656
|
-
}, _hoisted_3263 = [ createElementVNode("path", {
|
|
1657
|
-
fill: "currentColor",
|
|
1658
|
-
d: "M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0z"
|
|
1659
|
-
}, null, -1) ];
|
|
1660
|
-
|
|
1661
|
-
var tools_default = export_helper_default(tools_vue_vue_type_script_lang_default, [ [ "render", function(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1662
|
-
return openBlock(), createElementBlock("svg", _hoisted_1264, _hoisted_3263);
|
|
1663
|
-
} ], [ "__file", "tools.vue" ] ]), view_vue_vue_type_script_lang_default = {
|
|
1664
|
-
name: "View"
|
|
1665
|
-
}, _hoisted_1283 = {
|
|
1666
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1667
|
-
viewBox: "0 0 1024 1024"
|
|
1668
|
-
}, _hoisted_3282 = [ createElementVNode("path", {
|
|
1669
|
-
fill: "currentColor",
|
|
1670
|
-
d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"
|
|
1671
|
-
}, null, -1) ];
|
|
1672
|
-
|
|
1673
|
-
var view_default = export_helper_default(view_vue_vue_type_script_lang_default, [ [ "render", function(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1674
|
-
return openBlock(), createElementBlock("svg", _hoisted_1283, _hoisted_3282);
|
|
1675
|
-
} ], [ "__file", "view.vue" ] ]), warning_vue_vue_type_script_lang_default = {
|
|
1676
|
-
name: "Warning"
|
|
1677
|
-
}, _hoisted_1288 = {
|
|
1678
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1679
|
-
viewBox: "0 0 1024 1024"
|
|
1680
|
-
}, _hoisted_3287 = [ createElementVNode("path", {
|
|
1681
|
-
fill: "currentColor",
|
|
1682
|
-
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"
|
|
1683
|
-
}, null, -1) ];
|
|
1684
|
-
|
|
1685
|
-
var warning_default = export_helper_default(warning_vue_vue_type_script_lang_default, [ [ "render", function(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1686
|
-
return openBlock(), createElementBlock("svg", _hoisted_1288, _hoisted_3287);
|
|
1687
|
-
} ], [ "__file", "warning.vue" ] ]), LayoutSetting = defineComponent({
|
|
1370
|
+
}), arrow_down_default = defineComponent({
|
|
1371
|
+
name: "ArrowDown",
|
|
1372
|
+
__name: "arrow-down",
|
|
1373
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1374
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1375
|
+
viewBox: "0 0 1024 1024"
|
|
1376
|
+
}, [ createElementVNode("path", {
|
|
1377
|
+
fill: "currentColor",
|
|
1378
|
+
d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
|
|
1379
|
+
}) ]))
|
|
1380
|
+
}), arrow_left_default = defineComponent({
|
|
1381
|
+
name: "ArrowLeft",
|
|
1382
|
+
__name: "arrow-left",
|
|
1383
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1384
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1385
|
+
viewBox: "0 0 1024 1024"
|
|
1386
|
+
}, [ createElementVNode("path", {
|
|
1387
|
+
fill: "currentColor",
|
|
1388
|
+
d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
|
|
1389
|
+
}) ]))
|
|
1390
|
+
}), arrow_right_default = defineComponent({
|
|
1391
|
+
name: "ArrowRight",
|
|
1392
|
+
__name: "arrow-right",
|
|
1393
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1394
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1395
|
+
viewBox: "0 0 1024 1024"
|
|
1396
|
+
}, [ createElementVNode("path", {
|
|
1397
|
+
fill: "currentColor",
|
|
1398
|
+
d: "M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
1399
|
+
}) ]))
|
|
1400
|
+
}), arrow_up_default = defineComponent({
|
|
1401
|
+
name: "ArrowUp",
|
|
1402
|
+
__name: "arrow-up",
|
|
1403
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1404
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1405
|
+
viewBox: "0 0 1024 1024"
|
|
1406
|
+
}, [ createElementVNode("path", {
|
|
1407
|
+
fill: "currentColor",
|
|
1408
|
+
d: "m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"
|
|
1409
|
+
}) ]))
|
|
1410
|
+
}), back_default = defineComponent({
|
|
1411
|
+
name: "Back",
|
|
1412
|
+
__name: "back",
|
|
1413
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1414
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1415
|
+
viewBox: "0 0 1024 1024"
|
|
1416
|
+
}, [ createElementVNode("path", {
|
|
1417
|
+
fill: "currentColor",
|
|
1418
|
+
d: "M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"
|
|
1419
|
+
}), createElementVNode("path", {
|
|
1420
|
+
fill: "currentColor",
|
|
1421
|
+
d: "m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"
|
|
1422
|
+
}) ]))
|
|
1423
|
+
}), camera_default = defineComponent({
|
|
1424
|
+
name: "Camera",
|
|
1425
|
+
__name: "camera",
|
|
1426
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1427
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1428
|
+
viewBox: "0 0 1024 1024"
|
|
1429
|
+
}, [ createElementVNode("path", {
|
|
1430
|
+
fill: "currentColor",
|
|
1431
|
+
d: "M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"
|
|
1432
|
+
}) ]))
|
|
1433
|
+
}), close_default = defineComponent({
|
|
1434
|
+
name: "Close",
|
|
1435
|
+
__name: "close",
|
|
1436
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1437
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1438
|
+
viewBox: "0 0 1024 1024"
|
|
1439
|
+
}, [ createElementVNode("path", {
|
|
1440
|
+
fill: "currentColor",
|
|
1441
|
+
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
1442
|
+
}) ]))
|
|
1443
|
+
}), d_arrow_left_default = defineComponent({
|
|
1444
|
+
name: "DArrowLeft",
|
|
1445
|
+
__name: "d-arrow-left",
|
|
1446
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1447
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1448
|
+
viewBox: "0 0 1024 1024"
|
|
1449
|
+
}, [ createElementVNode("path", {
|
|
1450
|
+
fill: "currentColor",
|
|
1451
|
+
d: "M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"
|
|
1452
|
+
}) ]))
|
|
1453
|
+
}), d_arrow_right_default = defineComponent({
|
|
1454
|
+
name: "DArrowRight",
|
|
1455
|
+
__name: "d-arrow-right",
|
|
1456
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1457
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1458
|
+
viewBox: "0 0 1024 1024"
|
|
1459
|
+
}, [ createElementVNode("path", {
|
|
1460
|
+
fill: "currentColor",
|
|
1461
|
+
d: "M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"
|
|
1462
|
+
}) ]))
|
|
1463
|
+
}), delete_default = defineComponent({
|
|
1464
|
+
name: "Delete",
|
|
1465
|
+
__name: "delete",
|
|
1466
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1467
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1468
|
+
viewBox: "0 0 1024 1024"
|
|
1469
|
+
}, [ createElementVNode("path", {
|
|
1470
|
+
fill: "currentColor",
|
|
1471
|
+
d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
|
|
1472
|
+
}) ]))
|
|
1473
|
+
}), edit_pen_default = defineComponent({
|
|
1474
|
+
name: "EditPen",
|
|
1475
|
+
__name: "edit-pen",
|
|
1476
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1477
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1478
|
+
viewBox: "0 0 1024 1024"
|
|
1479
|
+
}, [ createElementVNode("path", {
|
|
1480
|
+
fill: "currentColor",
|
|
1481
|
+
d: "m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"
|
|
1482
|
+
}) ]))
|
|
1483
|
+
}), full_screen_default = defineComponent({
|
|
1484
|
+
name: "FullScreen",
|
|
1485
|
+
__name: "full-screen",
|
|
1486
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1487
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1488
|
+
viewBox: "0 0 1024 1024"
|
|
1489
|
+
}, [ createElementVNode("path", {
|
|
1490
|
+
fill: "currentColor",
|
|
1491
|
+
d: "m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"
|
|
1492
|
+
}) ]))
|
|
1493
|
+
}), info_filled_default = defineComponent({
|
|
1494
|
+
name: "InfoFilled",
|
|
1495
|
+
__name: "info-filled",
|
|
1496
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1497
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1498
|
+
viewBox: "0 0 1024 1024"
|
|
1499
|
+
}, [ createElementVNode("path", {
|
|
1500
|
+
fill: "currentColor",
|
|
1501
|
+
d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
1502
|
+
}) ]))
|
|
1503
|
+
}), moon_night_default = defineComponent({
|
|
1504
|
+
name: "MoonNight",
|
|
1505
|
+
__name: "moon-night",
|
|
1506
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1507
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1508
|
+
viewBox: "0 0 1024 1024"
|
|
1509
|
+
}, [ createElementVNode("path", {
|
|
1510
|
+
fill: "currentColor",
|
|
1511
|
+
d: "M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"
|
|
1512
|
+
}), createElementVNode("path", {
|
|
1513
|
+
fill: "currentColor",
|
|
1514
|
+
d: "M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"
|
|
1515
|
+
}) ]))
|
|
1516
|
+
}), picture_default = defineComponent({
|
|
1517
|
+
name: "Picture",
|
|
1518
|
+
__name: "picture",
|
|
1519
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1520
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1521
|
+
viewBox: "0 0 1024 1024"
|
|
1522
|
+
}, [ createElementVNode("path", {
|
|
1523
|
+
fill: "currentColor",
|
|
1524
|
+
d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
|
|
1525
|
+
}), createElementVNode("path", {
|
|
1526
|
+
fill: "currentColor",
|
|
1527
|
+
d: "M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"
|
|
1528
|
+
}) ]))
|
|
1529
|
+
}), plus_default = defineComponent({
|
|
1530
|
+
name: "Plus",
|
|
1531
|
+
__name: "plus",
|
|
1532
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1533
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1534
|
+
viewBox: "0 0 1024 1024"
|
|
1535
|
+
}, [ createElementVNode("path", {
|
|
1536
|
+
fill: "currentColor",
|
|
1537
|
+
d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
|
|
1538
|
+
}) ]))
|
|
1539
|
+
}), refresh_default = defineComponent({
|
|
1540
|
+
name: "Refresh",
|
|
1541
|
+
__name: "refresh",
|
|
1542
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1543
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1544
|
+
viewBox: "0 0 1024 1024"
|
|
1545
|
+
}, [ createElementVNode("path", {
|
|
1546
|
+
fill: "currentColor",
|
|
1547
|
+
d: "M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"
|
|
1548
|
+
}) ]))
|
|
1549
|
+
}), right_default = defineComponent({
|
|
1550
|
+
name: "Right",
|
|
1551
|
+
__name: "right",
|
|
1552
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1553
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1554
|
+
viewBox: "0 0 1024 1024"
|
|
1555
|
+
}, [ createElementVNode("path", {
|
|
1556
|
+
fill: "currentColor",
|
|
1557
|
+
d: "M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"
|
|
1558
|
+
}) ]))
|
|
1559
|
+
}), search_default = defineComponent({
|
|
1560
|
+
name: "Search",
|
|
1561
|
+
__name: "search",
|
|
1562
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1563
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1564
|
+
viewBox: "0 0 1024 1024"
|
|
1565
|
+
}, [ createElementVNode("path", {
|
|
1566
|
+
fill: "currentColor",
|
|
1567
|
+
d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
|
|
1568
|
+
}) ]))
|
|
1569
|
+
}), setting_default = defineComponent({
|
|
1570
|
+
name: "Setting",
|
|
1571
|
+
__name: "setting",
|
|
1572
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1573
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1574
|
+
viewBox: "0 0 1024 1024"
|
|
1575
|
+
}, [ createElementVNode("path", {
|
|
1576
|
+
fill: "currentColor",
|
|
1577
|
+
d: "M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"
|
|
1578
|
+
}) ]))
|
|
1579
|
+
}), sunny_default = defineComponent({
|
|
1580
|
+
name: "Sunny",
|
|
1581
|
+
__name: "sunny",
|
|
1582
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1583
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1584
|
+
viewBox: "0 0 1024 1024"
|
|
1585
|
+
}, [ createElementVNode("path", {
|
|
1586
|
+
fill: "currentColor",
|
|
1587
|
+
d: "M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"
|
|
1588
|
+
}) ]))
|
|
1589
|
+
}), tools_default = defineComponent({
|
|
1590
|
+
name: "Tools",
|
|
1591
|
+
__name: "tools",
|
|
1592
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1593
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1594
|
+
viewBox: "0 0 1024 1024"
|
|
1595
|
+
}, [ createElementVNode("path", {
|
|
1596
|
+
fill: "currentColor",
|
|
1597
|
+
d: "M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"
|
|
1598
|
+
}) ]))
|
|
1599
|
+
}), view_default = defineComponent({
|
|
1600
|
+
name: "View",
|
|
1601
|
+
__name: "view",
|
|
1602
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1603
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1604
|
+
viewBox: "0 0 1024 1024"
|
|
1605
|
+
}, [ createElementVNode("path", {
|
|
1606
|
+
fill: "currentColor",
|
|
1607
|
+
d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
|
|
1608
|
+
}) ]))
|
|
1609
|
+
}), warning_default = defineComponent({
|
|
1610
|
+
name: "Warning",
|
|
1611
|
+
__name: "warning",
|
|
1612
|
+
setup: __props => (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
1613
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1614
|
+
viewBox: "0 0 1024 1024"
|
|
1615
|
+
}, [ createElementVNode("path", {
|
|
1616
|
+
fill: "currentColor",
|
|
1617
|
+
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
|
|
1618
|
+
}) ]))
|
|
1619
|
+
}), LayoutSetting = defineComponent({
|
|
1688
1620
|
setup() {},
|
|
1689
1621
|
render() {
|
|
1690
1622
|
const _slots = inject("__slots__", {}), _ns = inject("__ns__", {}), _config = inject("options", {}), _updateOptions = inject("updateOptions", null), settingConfig = reactive({
|
|
@@ -2073,19 +2005,17 @@ function Batch() {
|
|
|
2073
2005
|
};
|
|
2074
2006
|
}
|
|
2075
2007
|
|
|
2076
|
-
var prop = "_erd";
|
|
2077
|
-
|
|
2078
2008
|
function getState(element) {
|
|
2079
|
-
return element
|
|
2009
|
+
return element._erd;
|
|
2080
2010
|
}
|
|
2081
2011
|
|
|
2082
2012
|
var stateHandler$1 = {
|
|
2083
2013
|
initState: function(element) {
|
|
2084
|
-
return element
|
|
2014
|
+
return element._erd = {}, getState(element);
|
|
2085
2015
|
},
|
|
2086
2016
|
getState: getState,
|
|
2087
2017
|
cleanState: function(element) {
|
|
2088
|
-
delete element
|
|
2018
|
+
delete element._erd;
|
|
2089
2019
|
}
|
|
2090
2020
|
}, browserDetector$1 = browserDetectorExports, forEach$1 = collectionUtilsExports.forEach, forEach = collectionUtilsExports.forEach, elementUtilsMaker = function(options) {
|
|
2091
2021
|
var getState = options.stateHandler.getState;
|
|
@@ -2285,7 +2215,7 @@ var stateHandler$1 = {
|
|
|
2285
2215
|
width: widthSize,
|
|
2286
2216
|
height: heightSize
|
|
2287
2217
|
};
|
|
2288
|
-
}()
|
|
2218
|
+
}();
|
|
2289
2219
|
function initDocument(targetDocument) {
|
|
2290
2220
|
!function(targetDocument, styleId, containerClass) {
|
|
2291
2221
|
function injectStyle(style, method) {
|
|
@@ -2303,7 +2233,7 @@ var stateHandler$1 = {
|
|
|
2303
2233
|
style += "@-webkit-keyframes " + containerAnimationClass + " { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",
|
|
2304
2234
|
injectStyle(style += "@keyframes " + containerAnimationClass + " { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }");
|
|
2305
2235
|
}
|
|
2306
|
-
}(targetDocument, "erd_scroll_detection_scrollbar_style",
|
|
2236
|
+
}(targetDocument, "erd_scroll_detection_scrollbar_style", "erd_scroll_detection_container");
|
|
2307
2237
|
}
|
|
2308
2238
|
function buildCssTextString(rules) {
|
|
2309
2239
|
var seperator = options.important ? " !important; " : "; ";
|
|
@@ -2379,10 +2309,10 @@ var stateHandler$1 = {
|
|
|
2379
2309
|
function injectContainerElement() {
|
|
2380
2310
|
var container = getState(element).container;
|
|
2381
2311
|
if (!container) {
|
|
2382
|
-
(container = document.createElement("div")).className =
|
|
2312
|
+
(container = document.createElement("div")).className = "erd_scroll_detection_container",
|
|
2383
2313
|
container.style.cssText = buildCssTextString([ "visibility: hidden", "display: inline", "width: 0px", "height: 0px", "z-index: -1", "overflow: hidden", "margin: 0", "padding: 0" ]),
|
|
2384
2314
|
getState(element).container = container, function(element) {
|
|
2385
|
-
element.className += " "
|
|
2315
|
+
element.className += " erd_scroll_detection_container_animation_active";
|
|
2386
2316
|
}(container), element.appendChild(container);
|
|
2387
2317
|
var onAnimationStart = function() {
|
|
2388
2318
|
getState(element).onRendered && getState(element).onRendered();
|
|
@@ -2412,7 +2342,7 @@ var stateHandler$1 = {
|
|
|
2412
2342
|
rootContainer || (rootContainer = injectContainerElement());
|
|
2413
2343
|
var left, top, bottom, right, scrollbarWidth = scrollbarSizes.width, scrollbarHeight = scrollbarSizes.height, containerContainerStyle = buildCssTextString([ "position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%", "left: 0px", "top: 0px" ]), containerStyle = buildCssTextString([ "position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden" ].concat([ "left: " + (left = (left = -(1 + scrollbarWidth)) ? left + "px" : "0"), "top: " + (top = (top = -(1 + scrollbarHeight)) ? top + "px" : "0"), "right: " + (right = (right = -scrollbarWidth) ? right + "px" : "0"), "bottom: " + (bottom = (bottom = -scrollbarHeight) ? bottom + "px" : "0") ])), expandStyle = buildCssTextString([ "position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%" ]), shrinkStyle = buildCssTextString([ "position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%" ]), expandChildStyle = buildCssTextString([ "position: absolute", "left: 0", "top: 0" ]), shrinkChildStyle = buildCssTextString([ "position: absolute", "width: 200%", "height: 200%" ]), containerContainer = document.createElement("div"), container = document.createElement("div"), expand = document.createElement("div"), expandChild = document.createElement("div"), shrink = document.createElement("div"), shrinkChild = document.createElement("div");
|
|
2414
2344
|
containerContainer.dir = "ltr", containerContainer.style.cssText = containerContainerStyle,
|
|
2415
|
-
containerContainer.className =
|
|
2345
|
+
containerContainer.className = "erd_scroll_detection_container", container.className = "erd_scroll_detection_container",
|
|
2416
2346
|
container.style.cssText = containerStyle, expand.style.cssText = expandStyle, expandChild.style.cssText = expandChildStyle,
|
|
2417
2347
|
shrink.style.cssText = shrinkStyle, shrinkChild.style.cssText = shrinkChildStyle,
|
|
2418
2348
|
expand.appendChild(expandChild), shrink.appendChild(shrinkChild), container.appendChild(expand),
|
|
@@ -2757,7 +2687,7 @@ const NextMenuItem = defineComponent({
|
|
|
2757
2687
|
}, null) ]
|
|
2758
2688
|
}))) ]) ]);
|
|
2759
2689
|
}
|
|
2760
|
-
}), ns$
|
|
2690
|
+
}), ns$n = useNamespace("menu");
|
|
2761
2691
|
|
|
2762
2692
|
const NextMenu = withInstall(defineComponent({
|
|
2763
2693
|
name: "NextMenu",
|
|
@@ -2785,22 +2715,22 @@ const NextMenu = withInstall(defineComponent({
|
|
|
2785
2715
|
}
|
|
2786
2716
|
},
|
|
2787
2717
|
setup(props) {
|
|
2788
|
-
provide("ns", ns$
|
|
2718
|
+
provide("ns", ns$n);
|
|
2789
2719
|
const router = getCurrentInstance().appContext.config.globalProperties.$router, currentPath = router.currentRoute?.value.fullPath, activePath = ref(currentPath);
|
|
2790
2720
|
watch((() => router.currentRoute?.value), (to => {
|
|
2791
2721
|
activePath.value = to.fullPath;
|
|
2792
2722
|
}));
|
|
2793
2723
|
return () => createVNode(Fragment, null, [ createVNode(ElMenu, {
|
|
2794
|
-
class: [ ns$
|
|
2724
|
+
class: [ ns$n.b(), props.className ],
|
|
2795
2725
|
style: props.style,
|
|
2796
|
-
"popper-class": ns$
|
|
2726
|
+
"popper-class": ns$n.b("popper"),
|
|
2797
2727
|
defaultActive: activePath.value,
|
|
2798
2728
|
router: props.router,
|
|
2799
2729
|
mode: props.mode,
|
|
2800
2730
|
ellipsis: !0
|
|
2801
2731
|
}, {
|
|
2802
2732
|
default: () => [ createVNode(Fragment, null, [ props.menuTree.map((item => item.children?.length ? valueExist(item.meta?.isHide, !1) ? null : createVNode(ElSubMenu, {
|
|
2803
|
-
"popper-class": ns$
|
|
2733
|
+
"popper-class": ns$n.b("popper"),
|
|
2804
2734
|
index: item.path || item.id,
|
|
2805
2735
|
teleported: !0
|
|
2806
2736
|
}, {
|
|
@@ -2811,7 +2741,7 @@ const NextMenu = withInstall(defineComponent({
|
|
|
2811
2741
|
menuData: item.children
|
|
2812
2742
|
}, null)
|
|
2813
2743
|
}) : valueExist(item.meta?.isHide, !1) ? null : createVNode(ElMenuItem, {
|
|
2814
|
-
"popper-class": ns$
|
|
2744
|
+
"popper-class": ns$n.b("popper"),
|
|
2815
2745
|
index: item.path
|
|
2816
2746
|
}, {
|
|
2817
2747
|
default: () => [ createVNode(MenuItemTitle, {
|
|
@@ -2839,11 +2769,11 @@ var Sidebar$3 = defineComponent({
|
|
|
2839
2769
|
}
|
|
2840
2770
|
});
|
|
2841
2771
|
|
|
2842
|
-
const ns$
|
|
2772
|
+
const ns$m = useNamespace("layout-defaults");
|
|
2843
2773
|
|
|
2844
2774
|
var defaults = defineComponent({
|
|
2845
2775
|
props: {},
|
|
2846
|
-
setup: () => (provide("ns", ns$
|
|
2776
|
+
setup: () => (provide("ns", ns$m), {}),
|
|
2847
2777
|
render() {
|
|
2848
2778
|
const slots = this.$slots, _config = inject("options", {}), _emit = inject("__emit__", {});
|
|
2849
2779
|
slots.menu;
|
|
@@ -2852,11 +2782,11 @@ var defaults = defineComponent({
|
|
|
2852
2782
|
slots[slots_config_headerToolsSuffix] && (__slots_header_tools[slots_config_headerToolsSuffix] = () => slots[slots_config_headerToolsSuffix]());
|
|
2853
2783
|
const isTabs = ref(!!slots.tabs);
|
|
2854
2784
|
return void 0 === slots.tabs && _config.showTabs && (isTabs.value = !0), createVNode(ElContainer, {
|
|
2855
|
-
class: ns$
|
|
2785
|
+
class: ns$m.b()
|
|
2856
2786
|
}, {
|
|
2857
2787
|
default: () => {
|
|
2858
2788
|
return [ createVNode(Sidebar$3, null, null), createVNode("div", {
|
|
2859
|
-
class: [ ns$
|
|
2789
|
+
class: [ ns$m.b("content") ]
|
|
2860
2790
|
}, [ createVNode(Header$4, null, (s = __slots_header_tools, "function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s) ? __slots_header_tools : {
|
|
2861
2791
|
default: () => [ __slots_header_tools ]
|
|
2862
2792
|
})), _config.showTabs ? slots.tabs ? slots.tabs?.() : createVNode(NextTabs, {
|
|
@@ -2866,7 +2796,7 @@ var defaults = defineComponent({
|
|
|
2866
2796
|
onSelect: (...arg) => _emit("tabsSelect", ...arg),
|
|
2867
2797
|
onClose: (...arg) => _emit("tabsClose", ...arg)
|
|
2868
2798
|
}, null) : null, createVNode("main", {
|
|
2869
|
-
class: [ ns$
|
|
2799
|
+
class: [ ns$m.bf("main"), ns$m.is("layout-tabs", isTabs.value) ]
|
|
2870
2800
|
}, [ slots.default?.() ]) ]) ];
|
|
2871
2801
|
var s;
|
|
2872
2802
|
}
|
|
@@ -2906,11 +2836,11 @@ var Header$3 = defineComponent({
|
|
|
2906
2836
|
}
|
|
2907
2837
|
});
|
|
2908
2838
|
|
|
2909
|
-
const ns$
|
|
2839
|
+
const ns$l = useNamespace("layout-transverse");
|
|
2910
2840
|
|
|
2911
2841
|
var transverse = defineComponent({
|
|
2912
2842
|
props: {},
|
|
2913
|
-
setup: () => (provide("ns", ns$
|
|
2843
|
+
setup: () => (provide("ns", ns$l), {}),
|
|
2914
2844
|
render() {
|
|
2915
2845
|
const slots = this.$slots, _config = inject("options", {}), _emit = inject("__emit__", {}), __slots_header = {};
|
|
2916
2846
|
slots[slots_config_headerMenu] && (__slots_header[slots_config_headerMenu] = () => slots[slots_config_headerMenu]()),
|
|
@@ -2927,7 +2857,7 @@ var transverse = defineComponent({
|
|
|
2927
2857
|
onSelect: (...arg) => _emit("tabsSelect", ...arg),
|
|
2928
2858
|
onClose: (...arg) => _emit("tabsClose", ...arg)
|
|
2929
2859
|
}, null) : null, createVNode("main", {
|
|
2930
|
-
class: [ ns$
|
|
2860
|
+
class: [ ns$l.b("main"), ns$l.is("layout-tabs", isTabs.value) ]
|
|
2931
2861
|
}, [ slots.default?.() ]) ]);
|
|
2932
2862
|
var s;
|
|
2933
2863
|
}
|
|
@@ -2974,11 +2904,11 @@ var Header$2 = defineComponent({
|
|
|
2974
2904
|
}
|
|
2975
2905
|
});
|
|
2976
2906
|
|
|
2977
|
-
const ns$
|
|
2907
|
+
const ns$k = useNamespace("layout-columns");
|
|
2978
2908
|
|
|
2979
2909
|
var columns = defineComponent({
|
|
2980
2910
|
props: {},
|
|
2981
|
-
setup: () => (provide("ns", ns$
|
|
2911
|
+
setup: () => (provide("ns", ns$k), {}),
|
|
2982
2912
|
render() {
|
|
2983
2913
|
const slots = this.$slots, _config = inject("options", {}), _emit = inject("__emit__", {}), __slots_header = {};
|
|
2984
2914
|
slots[slots_config_headerMenu] && (__slots_header[slots_config_headerMenu] = () => slots[slots_config_headerMenu]()),
|
|
@@ -2986,11 +2916,11 @@ var columns = defineComponent({
|
|
|
2986
2916
|
slots[slots_config_headerToolsSuffix] && (__slots_header[slots_config_headerToolsSuffix] = () => slots[slots_config_headerToolsSuffix]());
|
|
2987
2917
|
const isTabs = ref(!!slots.tabs);
|
|
2988
2918
|
return void 0 === slots.tabs && _config.showTabs && (isTabs.value = !0), createVNode(ElContainer, {
|
|
2989
|
-
class: ns$
|
|
2919
|
+
class: ns$k.b()
|
|
2990
2920
|
}, {
|
|
2991
2921
|
default: () => {
|
|
2992
2922
|
return [ createVNode(Sidebar$2, null, null), createVNode("div", {
|
|
2993
|
-
class: [ ns$
|
|
2923
|
+
class: [ ns$k.b("content") ]
|
|
2994
2924
|
}, [ createVNode(Header$2, null, (s = __slots_header, "function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s) ? __slots_header : {
|
|
2995
2925
|
default: () => [ __slots_header ]
|
|
2996
2926
|
})), _config.showTabs ? slots.tabs ? slots.tabs?.() : createVNode(NextTabs, {
|
|
@@ -3000,7 +2930,7 @@ var columns = defineComponent({
|
|
|
3000
2930
|
onSelect: (...arg) => _emit("tabsSelect", ...arg),
|
|
3001
2931
|
onClose: (...arg) => _emit("tabsClose", ...arg)
|
|
3002
2932
|
}, null) : null, createVNode("main", {
|
|
3003
|
-
class: [ ns$
|
|
2933
|
+
class: [ ns$k.bf("main"), ns$k.is("layout-tabs", isTabs.value) ]
|
|
3004
2934
|
}, [ slots.default?.() ]) ]) ];
|
|
3005
2935
|
var s;
|
|
3006
2936
|
}
|
|
@@ -3051,12 +2981,12 @@ var Header$1 = defineComponent({
|
|
|
3051
2981
|
}
|
|
3052
2982
|
});
|
|
3053
2983
|
|
|
3054
|
-
const ns$
|
|
2984
|
+
const ns$j = useNamespace("layout-classic");
|
|
3055
2985
|
|
|
3056
2986
|
var classic = defineComponent({
|
|
3057
2987
|
props: {},
|
|
3058
|
-
setup: () => (provide("ns", ns$
|
|
3059
|
-
ns: ns$
|
|
2988
|
+
setup: () => (provide("ns", ns$j), {
|
|
2989
|
+
ns: ns$j
|
|
3060
2990
|
}),
|
|
3061
2991
|
render() {
|
|
3062
2992
|
const slots = this.$slots, _config = inject("options", {}), _emit = inject("__emit__", {});
|
|
@@ -3069,9 +2999,9 @@ var classic = defineComponent({
|
|
|
3069
2999
|
"function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s) ? __slots_header_tools : {
|
|
3070
3000
|
default: () => [ __slots_header_tools ]
|
|
3071
3001
|
})), createVNode("div", {
|
|
3072
|
-
class: [ ns$
|
|
3002
|
+
class: [ ns$j.b("content"), ns$j.is("layout-tabs", isTabs.value) ]
|
|
3073
3003
|
}, [ createVNode(Sidebar$1, null, null), createVNode("div", {
|
|
3074
|
-
class: ns$
|
|
3004
|
+
class: ns$j.b("container")
|
|
3075
3005
|
}, [ _config.showTabs ? slots.tabs ? slots.tabs?.() : createVNode(NextTabs, {
|
|
3076
3006
|
tabs: _config.tabs,
|
|
3077
3007
|
activeTab: _config.activeTab,
|
|
@@ -3079,7 +3009,7 @@ var classic = defineComponent({
|
|
|
3079
3009
|
onSelect: (...arg) => _emit("tabsSelect", ...arg),
|
|
3080
3010
|
onClose: (...arg) => _emit("tabsClose", ...arg)
|
|
3081
3011
|
}, null) : null, createVNode("main", {
|
|
3082
|
-
class: [ ns$
|
|
3012
|
+
class: [ ns$j.b("main") ]
|
|
3083
3013
|
}, [ slots.default?.() ]) ]) ]) ]);
|
|
3084
3014
|
var s;
|
|
3085
3015
|
}
|
|
@@ -3095,7 +3025,7 @@ const findGrandfatherNode = (path, tree) => {
|
|
|
3095
3025
|
return !1;
|
|
3096
3026
|
};
|
|
3097
3027
|
return loopNodes(tree, null), parentNode;
|
|
3098
|
-
}, ns$
|
|
3028
|
+
}, ns$i = useNamespace("menu");
|
|
3099
3029
|
|
|
3100
3030
|
var MenuTop = defineComponent({
|
|
3101
3031
|
props: {
|
|
@@ -3113,7 +3043,7 @@ var MenuTop = defineComponent({
|
|
|
3113
3043
|
}
|
|
3114
3044
|
},
|
|
3115
3045
|
setup(props) {
|
|
3116
|
-
provide("ns", ns$
|
|
3046
|
+
provide("ns", ns$i);
|
|
3117
3047
|
const updateSubmentTree = inject("updateSubmentTree"), router = getCurrentInstance().appContext.config.globalProperties.$router, currentPath = router.currentRoute?.value.fullPath, parentNode = findGrandfatherNode(currentPath, props.menuTree), activeMenuId = ref(parentNode?.id);
|
|
3118
3048
|
parentNode?.id && 1 === parentNode.meta?.level && updateSubmentTree(parentNode.children),
|
|
3119
3049
|
watch((() => router.currentRoute?.value), (to => {
|
|
@@ -3129,9 +3059,9 @@ var MenuTop = defineComponent({
|
|
|
3129
3059
|
}
|
|
3130
3060
|
return result;
|
|
3131
3061
|
}, renderContent = () => createVNode(ElMenu, {
|
|
3132
|
-
class: [ ns$
|
|
3062
|
+
class: [ ns$i.b(), props.className ],
|
|
3133
3063
|
style: props.style,
|
|
3134
|
-
"popper-class": ns$
|
|
3064
|
+
"popper-class": ns$i.b("popper"),
|
|
3135
3065
|
defaultActive: activeMenuId.value,
|
|
3136
3066
|
mode: "horizontal",
|
|
3137
3067
|
ellipsis: !0
|
|
@@ -3194,19 +3124,19 @@ var Header = defineComponent({
|
|
|
3194
3124
|
}
|
|
3195
3125
|
});
|
|
3196
3126
|
|
|
3197
|
-
const ns$
|
|
3127
|
+
const ns$h = useNamespace("layout-composite");
|
|
3198
3128
|
|
|
3199
3129
|
var composite = defineComponent({
|
|
3200
3130
|
props: {},
|
|
3201
3131
|
setup() {
|
|
3202
|
-
provide("ns", ns$
|
|
3132
|
+
provide("ns", ns$h);
|
|
3203
3133
|
const submenuTree = ref([]);
|
|
3204
3134
|
return provide("submenuTree", submenuTree), provide("updateSubmentTree", (val => {
|
|
3205
3135
|
submenuTree.value = [], nextTick((() => {
|
|
3206
3136
|
submenuTree.value = val;
|
|
3207
3137
|
}));
|
|
3208
3138
|
})), {
|
|
3209
|
-
ns: ns$
|
|
3139
|
+
ns: ns$h,
|
|
3210
3140
|
submenuTree: submenuTree
|
|
3211
3141
|
};
|
|
3212
3142
|
},
|
|
@@ -3221,9 +3151,9 @@ var composite = defineComponent({
|
|
|
3221
3151
|
"function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s) ? __slots_header_tools : {
|
|
3222
3152
|
default: () => [ __slots_header_tools ]
|
|
3223
3153
|
})), createVNode("div", {
|
|
3224
|
-
class: [ ns$
|
|
3154
|
+
class: [ ns$h.b("content"), ns$h.is("layout-tabs", isTabs.value) ]
|
|
3225
3155
|
}, [ createVNode(Sidebar, null, null), createVNode("div", {
|
|
3226
|
-
class: ns$
|
|
3156
|
+
class: ns$h.b("container")
|
|
3227
3157
|
}, [ _config.showTabs ? slots.tabs ? slots.tabs?.() : createVNode(NextTabs, {
|
|
3228
3158
|
tabs: _config.tabs,
|
|
3229
3159
|
activeTab: _config.activeTab,
|
|
@@ -3231,13 +3161,13 @@ var composite = defineComponent({
|
|
|
3231
3161
|
onSelect: (...arg) => _emit("tabsSelect", ...arg),
|
|
3232
3162
|
onClose: (...arg) => _emit("tabsClose", ...arg)
|
|
3233
3163
|
}, null) : null, createVNode("main", {
|
|
3234
|
-
class: [ ns$
|
|
3164
|
+
class: [ ns$h.b("main") ]
|
|
3235
3165
|
}, [ slots.default?.() ]) ]) ]) ]);
|
|
3236
3166
|
var s;
|
|
3237
3167
|
}
|
|
3238
3168
|
});
|
|
3239
3169
|
|
|
3240
|
-
const ns$
|
|
3170
|
+
const ns$g = useNamespace("layout"), layouts = {
|
|
3241
3171
|
defaults: markRaw(defaults),
|
|
3242
3172
|
transverse: markRaw(transverse),
|
|
3243
3173
|
columns: markRaw(columns),
|
|
@@ -3266,7 +3196,7 @@ const NextLayout = withInstall(defineComponent({
|
|
|
3266
3196
|
emits: [ "changeLanguage", "changeUserDropdown", "changeOptions", "tabsChange", "tabsSelect", "tabsClose" ],
|
|
3267
3197
|
setup(props, {slots: slots, emit: emit}) {
|
|
3268
3198
|
const _config = ref(mergeWith(defaultConfig$5, props.options, customizerCoverArray));
|
|
3269
|
-
provide("options", _config.value), provide("__ns__", ns$
|
|
3199
|
+
provide("options", _config.value), provide("__ns__", ns$g), provide("__emit__", emit),
|
|
3270
3200
|
provide("__slots__", slots);
|
|
3271
3201
|
const updateOptions = cfg => {
|
|
3272
3202
|
_config.value = mergeWith(_config.value, cfg, customizerCoverArray), updateThemeColorCssVar(_config.value?.setting),
|
|
@@ -3290,15 +3220,15 @@ const NextLayout = withInstall(defineComponent({
|
|
|
3290
3220
|
const _activeSlots = {};
|
|
3291
3221
|
for (const key in slots) Object.prototype.hasOwnProperty.call(slots, key) && (_activeSlots[key] = () => slots[key]?.());
|
|
3292
3222
|
return createVNode("div", {
|
|
3293
|
-
class: [ ns$
|
|
3223
|
+
class: [ ns$g.b(), props.className ],
|
|
3294
3224
|
style: props.style
|
|
3295
3225
|
}, [ h(activeLayout.value, {}, {
|
|
3296
3226
|
..._activeSlots
|
|
3297
3227
|
}) ]);
|
|
3298
3228
|
}
|
|
3299
|
-
})), ns$
|
|
3229
|
+
})), ns$f = useNamespace("tabs");
|
|
3300
3230
|
|
|
3301
|
-
var Element$
|
|
3231
|
+
var Element$a = defineComponent({
|
|
3302
3232
|
name: "NextTabs",
|
|
3303
3233
|
props: {
|
|
3304
3234
|
activeTab: {
|
|
@@ -3312,7 +3242,7 @@ var Element$9 = defineComponent({
|
|
|
3312
3242
|
},
|
|
3313
3243
|
emits: [ "change", "select", "close" ],
|
|
3314
3244
|
setup(props, {emit: emit}) {
|
|
3315
|
-
const {t: t} = useLocale(), router = getCurrentInstance().appContext.config.globalProperties.$router, _activeTab = computed((() => router.currentRoute.value.
|
|
3245
|
+
const {t: t} = useLocale(), router = getCurrentInstance().appContext.config.globalProperties.$router, _activeTab = computed((() => router.currentRoute.value.path)), _tabs = computed((() => props.tabs)), defaultIndex = _tabs.value?.findIndex((v => v.path === _activeTab.value));
|
|
3316
3246
|
if (defaultIndex < 0) {
|
|
3317
3247
|
const tab = _tabs.value[0];
|
|
3318
3248
|
tab && tab.path && router.replace({
|
|
@@ -3349,10 +3279,12 @@ var Element$9 = defineComponent({
|
|
|
3349
3279
|
event?.stopPropagation(), activeIndex.value = index;
|
|
3350
3280
|
let to = {
|
|
3351
3281
|
path: tab.path,
|
|
3352
|
-
query: tab.query
|
|
3353
|
-
params: tab.params
|
|
3282
|
+
query: tab.query || {}
|
|
3354
3283
|
};
|
|
3355
|
-
|
|
3284
|
+
!tab.path && tab.name && (to = {
|
|
3285
|
+
name: tab.name,
|
|
3286
|
+
params: tab.params || {}
|
|
3287
|
+
}), router.push(to), emit("select", tab, index);
|
|
3356
3288
|
};
|
|
3357
3289
|
watch((() => router.currentRoute?.value), (to => {
|
|
3358
3290
|
const {tagTitle: tagTitle} = to.query, activeRoute = {
|
|
@@ -3367,12 +3299,12 @@ var Element$9 = defineComponent({
|
|
|
3367
3299
|
tabsView.value.push(activeRoute)), emit("change", activeIndex.value, tabsView.value, "add");
|
|
3368
3300
|
}));
|
|
3369
3301
|
const renderContent = () => createVNode("nav", {
|
|
3370
|
-
class: ns$
|
|
3302
|
+
class: ns$f.b()
|
|
3371
3303
|
}, [ createVNode(ElScrollbar, null, {
|
|
3372
3304
|
default: () => [ createVNode("ul", {
|
|
3373
|
-
class: ns$
|
|
3305
|
+
class: ns$f.b("list")
|
|
3374
3306
|
}, [ tabsView.value.map(((tab, index) => tab ? createVNode("li", {
|
|
3375
|
-
class: [ "tab-item", ns$
|
|
3307
|
+
class: [ "tab-item", ns$f.is("active", activeIndex.value === index) ],
|
|
3376
3308
|
onClick: event => onClickTabItem(event, tab, index)
|
|
3377
3309
|
}, [ createVNode("i", {
|
|
3378
3310
|
class: [ "tab-icon", tab.meta?.icon ]
|
|
@@ -3382,11 +3314,14 @@ var Element$9 = defineComponent({
|
|
|
3382
3314
|
const active = _activeTab.value;
|
|
3383
3315
|
if (active === tab.path) {
|
|
3384
3316
|
const prevTag = tabsView.value[index - 1];
|
|
3385
|
-
|
|
3317
|
+
let to = {
|
|
3386
3318
|
path: prevTag.path,
|
|
3387
|
-
query: prevTag.query || {}
|
|
3319
|
+
query: prevTag.query || {}
|
|
3320
|
+
};
|
|
3321
|
+
!prevTag.path && prevTag.name && (to = {
|
|
3322
|
+
name: prevTag.name,
|
|
3388
3323
|
params: prevTag.params || {}
|
|
3389
|
-
}), emit("close", prevTag, tabsView.value);
|
|
3324
|
+
}), router.push(to), emit("close", prevTag, tabsView.value);
|
|
3390
3325
|
}
|
|
3391
3326
|
tabsView.value.splice(index, 1);
|
|
3392
3327
|
const i = tabsView.value.findIndex((v => v.path === active)) || 0;
|
|
@@ -3403,11 +3338,11 @@ var Element$9 = defineComponent({
|
|
|
3403
3338
|
onCommand: onChange
|
|
3404
3339
|
}, {
|
|
3405
3340
|
default: () => createVNode("span", {
|
|
3406
|
-
class: ns$
|
|
3341
|
+
class: ns$f.b("tab-more")
|
|
3407
3342
|
}, [ createVNode("i", {
|
|
3408
|
-
class: [ ns$
|
|
3343
|
+
class: [ ns$f.be("tab-more", "box"), ns$f.be("tab-more", "top") ]
|
|
3409
3344
|
}, null), createVNode("i", {
|
|
3410
|
-
class: [ ns$
|
|
3345
|
+
class: [ ns$f.be("tab-more", "box"), ns$f.be("tab-more", "bottom") ]
|
|
3411
3346
|
}, null) ]),
|
|
3412
3347
|
dropdown: () => createVNode(ElDropdownMenu, null, {
|
|
3413
3348
|
default: () => [ createVNode(ElDropdownItem, {
|
|
@@ -3441,7 +3376,7 @@ var Element$9 = defineComponent({
|
|
|
3441
3376
|
}
|
|
3442
3377
|
});
|
|
3443
3378
|
|
|
3444
|
-
const NextTabs = withInstall(Element$
|
|
3379
|
+
const NextTabs = withInstall(Element$a), ns$e = useNamespace("container");
|
|
3445
3380
|
|
|
3446
3381
|
const NextContainer = withInstall(defineComponent({
|
|
3447
3382
|
name: "NextContainer",
|
|
@@ -3480,18 +3415,18 @@ const NextContainer = withInstall(defineComponent({
|
|
|
3480
3415
|
}), style;
|
|
3481
3416
|
}));
|
|
3482
3417
|
return () => props.scrollbar ? createVNode(ElScrollbar, {
|
|
3483
|
-
class: [ ns$
|
|
3418
|
+
class: [ ns$e.b(), props.className ],
|
|
3484
3419
|
style: props.style
|
|
3485
3420
|
}, {
|
|
3486
3421
|
default: () => [ slots.default?.() ]
|
|
3487
3422
|
}) : createVNode("div", {
|
|
3488
|
-
class: [ ns$
|
|
3423
|
+
class: [ ns$e.b(), props.className ],
|
|
3489
3424
|
style: {
|
|
3490
3425
|
...styles.value,
|
|
3491
3426
|
...props.style
|
|
3492
3427
|
}
|
|
3493
3428
|
}, [ props.card ? createVNode("div", {
|
|
3494
|
-
class: ns$
|
|
3429
|
+
class: ns$e.b("card")
|
|
3495
3430
|
}, [ slots.default?.() ]) : slots.default?.() ]);
|
|
3496
3431
|
}
|
|
3497
3432
|
}));
|
|
@@ -3618,7 +3553,7 @@ var defaultConfig$4 = {
|
|
|
3618
3553
|
formColumnMinWidth: 350
|
|
3619
3554
|
};
|
|
3620
3555
|
|
|
3621
|
-
const columnSlotName = prop => "column-" + prop, searchFormSlotName = prop => "search-" + prop, formSlotName = prop => "form-" + prop, ns$
|
|
3556
|
+
const columnSlotName = prop => "column-" + prop, searchFormSlotName = prop => "search-" + prop, formSlotName = prop => "form-" + prop, ns$d = useNamespace("spin-loading");
|
|
3622
3557
|
|
|
3623
3558
|
var NextSpinLoading$1 = defineComponent({
|
|
3624
3559
|
name: "NextSpinLoading",
|
|
@@ -3653,22 +3588,22 @@ var NextSpinLoading$1 = defineComponent({
|
|
|
3653
3588
|
const _t = this.t, slots = this.$slots, props = this.$props, loadingText = props.tip || _t("next.loading");
|
|
3654
3589
|
return createVNode("div", {
|
|
3655
3590
|
ref: "elementInstance",
|
|
3656
|
-
class: [ ns$
|
|
3591
|
+
class: [ ns$d.b(), props.className ],
|
|
3657
3592
|
style: props.style
|
|
3658
3593
|
}, [ slots.default?.(), props.loading ? createVNode("div", {
|
|
3659
|
-
class: ns$
|
|
3594
|
+
class: ns$d.b("mask")
|
|
3660
3595
|
}, [ createVNode("span", {
|
|
3661
|
-
class: ns$
|
|
3596
|
+
class: ns$d.b("mask-dot")
|
|
3662
3597
|
}, [ createVNode("i", {
|
|
3663
|
-
class: ns$
|
|
3598
|
+
class: ns$d.be("mask", "dot-item")
|
|
3664
3599
|
}, null), createVNode("i", {
|
|
3665
|
-
class: ns$
|
|
3600
|
+
class: ns$d.be("mask", "dot-item")
|
|
3666
3601
|
}, null), createVNode("i", {
|
|
3667
|
-
class: ns$
|
|
3602
|
+
class: ns$d.be("mask", "dot-item")
|
|
3668
3603
|
}, null), createVNode("i", {
|
|
3669
|
-
class: ns$
|
|
3604
|
+
class: ns$d.be("mask", "dot-item")
|
|
3670
3605
|
}, null) ]), createVNode("span", {
|
|
3671
|
-
class: ns$
|
|
3606
|
+
class: ns$d.be("mask", "text")
|
|
3672
3607
|
}, [ loadingText ]) ]) : null ]);
|
|
3673
3608
|
}
|
|
3674
3609
|
}), SearchColumn = defineComponent({
|
|
@@ -3880,13 +3815,15 @@ var NextSpinLoading$1 = defineComponent({
|
|
|
3880
3815
|
"onUpdate:modelValue": $event => formParams[col.prop] = $event,
|
|
3881
3816
|
disabled: col.disabled,
|
|
3882
3817
|
column: col,
|
|
3883
|
-
formParams: formParams
|
|
3818
|
+
formParams: formParams,
|
|
3819
|
+
onChange: (...arg) => col.onChange?.(...arg, col, formParams)
|
|
3884
3820
|
}, null) : "cascader" === col.type ? createVNode(NextTreeCascader, {
|
|
3885
3821
|
modelValue: formParams[col.prop],
|
|
3886
3822
|
"onUpdate:modelValue": $event => formParams[col.prop] = $event,
|
|
3887
3823
|
disabled: col.disabled,
|
|
3888
3824
|
column: col,
|
|
3889
|
-
formParams: formParams
|
|
3825
|
+
formParams: formParams,
|
|
3826
|
+
onChange: (...arg) => col.onChange?.(...arg, col, formParams)
|
|
3890
3827
|
}, null) : void 0;
|
|
3891
3828
|
};
|
|
3892
3829
|
return () => createVNode(Fragment, null, [ createVNode(Fragment, null, [ columns.value.map((col => !col.hide && createVNode(ElCol, {
|
|
@@ -4394,7 +4331,7 @@ var TableColumnOperations = defineComponent({
|
|
|
4394
4331
|
}
|
|
4395
4332
|
});
|
|
4396
4333
|
|
|
4397
|
-
const ns$
|
|
4334
|
+
const ns$c = useNamespace("dialog");
|
|
4398
4335
|
|
|
4399
4336
|
var NextDialog$1 = defineComponent({
|
|
4400
4337
|
name: "NextDialog",
|
|
@@ -4476,7 +4413,7 @@ var NextDialog$1 = defineComponent({
|
|
|
4476
4413
|
return () => createVNode(Fragment, null, [ createVNode(ElDialog, {
|
|
4477
4414
|
modelValue: visible.value,
|
|
4478
4415
|
"onUpdate:modelValue": $event => visible.value = $event,
|
|
4479
|
-
class: [ ns$
|
|
4416
|
+
class: [ ns$c.b(), props.className, props.nofill && ns$c.b("nofill") ],
|
|
4480
4417
|
style: props.style,
|
|
4481
4418
|
title: props.title,
|
|
4482
4419
|
appendToBody: props.appendToBody,
|
|
@@ -4494,12 +4431,12 @@ var NextDialog$1 = defineComponent({
|
|
|
4494
4431
|
}, {
|
|
4495
4432
|
default: () => [ slots.default?.() ],
|
|
4496
4433
|
header: ({close: close, titleId: titleId, titleClass: titleClass}) => createVNode("div", {
|
|
4497
|
-
class: ns$
|
|
4434
|
+
class: ns$c.b("header")
|
|
4498
4435
|
}, [ createVNode("h4", {
|
|
4499
4436
|
id: titleId,
|
|
4500
4437
|
class: titleClass
|
|
4501
4438
|
}, [ props.title ]), createVNode("div", {
|
|
4502
|
-
class: ns$
|
|
4439
|
+
class: ns$c.e("header-right")
|
|
4503
4440
|
}, [ props.fullscreenBtn && createVNode("span", {
|
|
4504
4441
|
class: "icon-fullscreen",
|
|
4505
4442
|
onClick: () => isFullscreen.value = !isFullscreen.value
|
|
@@ -4548,7 +4485,7 @@ var defaultConfig$3 = {
|
|
|
4548
4485
|
resetText: null
|
|
4549
4486
|
};
|
|
4550
4487
|
|
|
4551
|
-
const ns$
|
|
4488
|
+
const ns$b = useNamespace("form");
|
|
4552
4489
|
|
|
4553
4490
|
var NumberRangePicker = defineComponent({
|
|
4554
4491
|
name: "NumberRangePicker",
|
|
@@ -4588,7 +4525,7 @@ var NumberRangePicker = defineComponent({
|
|
|
4588
4525
|
}));
|
|
4589
4526
|
return () => createVNode(Fragment, null, [ createVNode("div", {
|
|
4590
4527
|
ref: numberRangeRef,
|
|
4591
|
-
class: ns$
|
|
4528
|
+
class: ns$b.e("number-range")
|
|
4592
4529
|
}, [ createVNode(ElInputNumber, {
|
|
4593
4530
|
modelValue: startNumber.value,
|
|
4594
4531
|
"onUpdate:modelValue": $event => startNumber.value = $event,
|
|
@@ -4598,7 +4535,7 @@ var NumberRangePicker = defineComponent({
|
|
|
4598
4535
|
disabled: disabled,
|
|
4599
4536
|
onChange: onChangeStart
|
|
4600
4537
|
}, null), createVNode("span", {
|
|
4601
|
-
class: ns$
|
|
4538
|
+
class: ns$b.em("number-range", "division")
|
|
4602
4539
|
}, [ t("next.date.rangeSeparator") ]), createVNode(ElInputNumber, {
|
|
4603
4540
|
modelValue: endNumber.value,
|
|
4604
4541
|
"onUpdate:modelValue": $event => endNumber.value = $event,
|
|
@@ -4617,7 +4554,7 @@ function _isSlot$3(s) {
|
|
|
4617
4554
|
return "function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s);
|
|
4618
4555
|
}
|
|
4619
4556
|
|
|
4620
|
-
const ns$
|
|
4557
|
+
const ns$a = useNamespace("form"), InputTableSelect = defineComponent({
|
|
4621
4558
|
name: "NextInputTableSelect",
|
|
4622
4559
|
props: {
|
|
4623
4560
|
modelValue: {
|
|
@@ -4649,7 +4586,7 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4649
4586
|
},
|
|
4650
4587
|
emits: [ "select" ],
|
|
4651
4588
|
setup(props, {emit: emit}) {
|
|
4652
|
-
const {t: t} = useLocale(), _disabled = props.disabled, _closable = props.closable, _column = props.column, _placeholder = _column.placeholder || t("next.form.select") + _column.label, _tableDefaultConfig = deepClone(defaultConfig$4), _tableSelectConfig = deepClone(tableSelectConfig), _options = merge
|
|
4589
|
+
const {t: t} = useLocale(), _disabled = props.disabled, _closable = props.closable, _column = props.column, _placeholder = _column.placeholder || t("next.form.select") + _column.label, _tableDefaultConfig = deepClone(defaultConfig$4), _tableSelectConfig = deepClone(tableSelectConfig), _options = merge(_tableDefaultConfig, _tableSelectConfig, _column.tableSelect), {value: propsValue, label: propsLabel} = _column.tableSelectProps || {
|
|
4653
4590
|
value: "id",
|
|
4654
4591
|
label: "name"
|
|
4655
4592
|
}, tableSelectDialog = reactive({
|
|
@@ -4685,8 +4622,8 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4685
4622
|
onCloseTableDialog(), emit("select", _rows);
|
|
4686
4623
|
}, onClickAddEdit = (row, tableFormParams) => {
|
|
4687
4624
|
_column.addEditData?.(row, tableFormParams);
|
|
4688
|
-
}, renderSelectTypeContent =
|
|
4689
|
-
const rowKey = _options.rowKey, value = valueExist(row[rowKey],
|
|
4625
|
+
}, renderSelectTypeContent = row => {
|
|
4626
|
+
const rowKey = _options.rowKey, value = valueExist(row[rowKey], null);
|
|
4690
4627
|
return "checkbox" === _options.selectType ? createVNode(ElCheckbox, {
|
|
4691
4628
|
value: value,
|
|
4692
4629
|
onChange: event => ((event, row) => {
|
|
@@ -4731,22 +4668,23 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4731
4668
|
});
|
|
4732
4669
|
const _onCloseTag = (tag, i) => {
|
|
4733
4670
|
const rows = toRaw(multipleSelection.value);
|
|
4734
|
-
rows.splice(i, 1), multipleSelection.value = rows,
|
|
4671
|
+
rows.splice(i, 1), multipleSelection.value = rows, "radio" === _options.selectType && (sinleSelection.value = null),
|
|
4672
|
+
_updateTags(), emit("select", rows);
|
|
4735
4673
|
}, renderContent = () => {
|
|
4736
4674
|
let _slot, _slot2;
|
|
4737
4675
|
return createVNode(Fragment, null, [ createVNode("div", {
|
|
4738
|
-
class: [ "el-input", ns$
|
|
4676
|
+
class: [ "el-input", ns$a.e("input-table"), ns$a.is("disabled", _disabled) ]
|
|
4739
4677
|
}, [ createVNode("div", {
|
|
4740
4678
|
class: "el-input__wrapper"
|
|
4741
4679
|
}, [ tags?.value.length ? createVNode("span", {
|
|
4742
|
-
class: ns$
|
|
4680
|
+
class: ns$a.em("input-table", "value")
|
|
4743
4681
|
}, [ tags.value.map(((tag, index) => createVNode(ElTag, {
|
|
4744
4682
|
closable: !_closable,
|
|
4745
4683
|
onClose: () => _onCloseTag(0, index)
|
|
4746
4684
|
}, {
|
|
4747
4685
|
default: () => [ tag.label ]
|
|
4748
4686
|
}))), tagsMore?.value?.length ? createVNode(ElTooltip, {
|
|
4749
|
-
"popper-class": ns$
|
|
4687
|
+
"popper-class": ns$a.e("tooltip-tags"),
|
|
4750
4688
|
placement: "bottom",
|
|
4751
4689
|
effect: "light"
|
|
4752
4690
|
}, {
|
|
@@ -4760,10 +4698,10 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4760
4698
|
default: () => [ tag.label ]
|
|
4761
4699
|
})))
|
|
4762
4700
|
}) : null ]) : createVNode("span", {
|
|
4763
|
-
class: ns$
|
|
4701
|
+
class: ns$a.em("input-table", "placeholder")
|
|
4764
4702
|
}, [ _placeholder ]) ]), createVNode(ElButton, {
|
|
4765
4703
|
type: "primary",
|
|
4766
|
-
class: ns$
|
|
4704
|
+
class: ns$a.em("input-table", "append"),
|
|
4767
4705
|
disabled: _disabled,
|
|
4768
4706
|
icon: search_default,
|
|
4769
4707
|
onClick: onClickTableDialog
|
|
@@ -4778,7 +4716,7 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4778
4716
|
onClose: onCloseTableDialog
|
|
4779
4717
|
}, {
|
|
4780
4718
|
default: () => [ createVNode("div", {
|
|
4781
|
-
class: ns$
|
|
4719
|
+
class: ns$a.em("input-table", "content")
|
|
4782
4720
|
}, [ "checkbox" === _options.selectType ? createVNode(ElCheckboxGroup, {
|
|
4783
4721
|
modelValue: _multipleSelection.value
|
|
4784
4722
|
}, {
|
|
@@ -4797,7 +4735,7 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4797
4735
|
headerAlign: _options.headerAlign,
|
|
4798
4736
|
align: _options.cellAlign
|
|
4799
4737
|
}, {
|
|
4800
|
-
default: ({row: row
|
|
4738
|
+
default: ({row: row}) => renderSelectTypeContent(row)
|
|
4801
4739
|
}) ]
|
|
4802
4740
|
}) ]
|
|
4803
4741
|
}) : createVNode(ElRadioGroup, {
|
|
@@ -4818,11 +4756,11 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4818
4756
|
headerAlign: _options.headerAlign,
|
|
4819
4757
|
align: _options.cellAlign
|
|
4820
4758
|
}, {
|
|
4821
|
-
default: ({row: row
|
|
4759
|
+
default: ({row: row}) => renderSelectTypeContent(row)
|
|
4822
4760
|
}) ]
|
|
4823
4761
|
}) ]
|
|
4824
4762
|
}) ]), createVNode("div", {
|
|
4825
|
-
class: ns$
|
|
4763
|
+
class: ns$a.em("input-table", "footer")
|
|
4826
4764
|
}, [ createVNode(ElButton, {
|
|
4827
4765
|
onClick: onResetTableSelect
|
|
4828
4766
|
}, _isSlot$3(_slot = t("next.form.reset")) ? _slot : {
|
|
@@ -4838,7 +4776,7 @@ const ns$9 = useNamespace("form"), InputTableSelect = defineComponent({
|
|
|
4838
4776
|
};
|
|
4839
4777
|
return () => createVNode(Fragment, null, [ renderContent() ]);
|
|
4840
4778
|
}
|
|
4841
|
-
}), ns$
|
|
4779
|
+
}), ns$9 = useNamespace("form");
|
|
4842
4780
|
|
|
4843
4781
|
var UploadImage = defineComponent({
|
|
4844
4782
|
name: "UploadImage",
|
|
@@ -4895,7 +4833,7 @@ var UploadImage = defineComponent({
|
|
|
4895
4833
|
let urls = [];
|
|
4896
4834
|
return "string" == typeof value ? urls = [ value ] : "[object Array]" === Object.prototype.toString.call(value) && (urls = value),
|
|
4897
4835
|
urls = urls.filter((url => !!url)), urls.length ? createVNode(ElImage, {
|
|
4898
|
-
class: ns$
|
|
4836
|
+
class: ns$9.e("preview-image"),
|
|
4899
4837
|
src: urls[0],
|
|
4900
4838
|
previewSrcList: urls,
|
|
4901
4839
|
"preview-teleported": !0,
|
|
@@ -4910,7 +4848,7 @@ var UploadImage = defineComponent({
|
|
|
4910
4848
|
})
|
|
4911
4849
|
}) : null;
|
|
4912
4850
|
})(), _disabled ? null : createVNode(ElUpload, {
|
|
4913
|
-
class: [ ns$
|
|
4851
|
+
class: [ ns$9.b("upload-image"), props.className ],
|
|
4914
4852
|
style: props.style,
|
|
4915
4853
|
"list-type": props.listType,
|
|
4916
4854
|
multiple: props.multiple,
|
|
@@ -5102,9 +5040,9 @@ function _isSlot$2(s) {
|
|
|
5102
5040
|
return "function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s);
|
|
5103
5041
|
}
|
|
5104
5042
|
|
|
5105
|
-
const ns$
|
|
5043
|
+
const ns$8 = useNamespace("form");
|
|
5106
5044
|
|
|
5107
|
-
var Element$
|
|
5045
|
+
var Element$8 = defineComponent({
|
|
5108
5046
|
name: "NextForm",
|
|
5109
5047
|
props: {
|
|
5110
5048
|
options: {
|
|
@@ -5122,7 +5060,7 @@ var Element$7 = defineComponent({
|
|
|
5122
5060
|
},
|
|
5123
5061
|
emits: [ "submit", "close", "reset" ],
|
|
5124
5062
|
setup(props, {slots: slots, emit: emit, expose: expose}) {
|
|
5125
|
-
const _config = deepClone(defaultConfig$3), options = reactive(merge
|
|
5063
|
+
const _config = deepClone(defaultConfig$3), options = reactive(merge(_config, props.options)), _isEditing = computed((() => "boolean" != typeof options.isEditing || options.isEditing)), {t: t} = useLocale(), colSpan = ref(options.colSpan), formDatum = reactive(props.formDatum) || {}, formParams = reactive(merge({}, formDatum)), _formColumns = ref([]), formRules = reactive({});
|
|
5126
5064
|
watch((() => [ props.columns, props.formDatum ]), (() => {
|
|
5127
5065
|
(() => {
|
|
5128
5066
|
const columns = props.columns;
|
|
@@ -5510,7 +5448,7 @@ var Element$7 = defineComponent({
|
|
|
5510
5448
|
let _slot;
|
|
5511
5449
|
return createVNode(ElForm, {
|
|
5512
5450
|
ref: ruleFormRef,
|
|
5513
|
-
class: ns$
|
|
5451
|
+
class: ns$8.b(),
|
|
5514
5452
|
inline: !1,
|
|
5515
5453
|
model: formParams,
|
|
5516
5454
|
size: options.size
|
|
@@ -5530,7 +5468,7 @@ var Element$7 = defineComponent({
|
|
|
5530
5468
|
}, {
|
|
5531
5469
|
label: () => column.label ? createVNode(Fragment, null, [ createVNode(NextTextEllipsis, {
|
|
5532
5470
|
content: t(column.label),
|
|
5533
|
-
|
|
5471
|
+
className: ns$8.e("item-label")
|
|
5534
5472
|
}, null), column.tip ? createVNode(ElTooltip, {
|
|
5535
5473
|
effect: "dark",
|
|
5536
5474
|
content: column.tip,
|
|
@@ -5550,7 +5488,7 @@ var Element$7 = defineComponent({
|
|
|
5550
5488
|
})))) ? _slot : {
|
|
5551
5489
|
default: () => [ _slot ]
|
|
5552
5490
|
}), _isEditing.value && options.showFooter ? createVNode("div", {
|
|
5553
|
-
class: ns$
|
|
5491
|
+
class: ns$8.e("footer")
|
|
5554
5492
|
}, [ createVNode(ElButton, {
|
|
5555
5493
|
type: "primary",
|
|
5556
5494
|
loading: submitLoading.value,
|
|
@@ -5570,7 +5508,7 @@ var Element$7 = defineComponent({
|
|
|
5570
5508
|
}
|
|
5571
5509
|
});
|
|
5572
5510
|
|
|
5573
|
-
const NextTreeSelect = withInstall(treeSelect), NextTreeCascader = withInstall(treeCascader), NextInputTableSelect = withInstall(InputTableSelect), NextForm = withInstall(Element$
|
|
5511
|
+
const NextTreeSelect = withInstall(treeSelect), NextTreeCascader = withInstall(treeCascader), NextInputTableSelect = withInstall(InputTableSelect), NextForm = withInstall(Element$8);
|
|
5574
5512
|
|
|
5575
5513
|
var AddEditForm = defineComponent({
|
|
5576
5514
|
name: "AddEditForm",
|
|
@@ -5627,18 +5565,18 @@ function _isSlot(s) {
|
|
|
5627
5565
|
return "function" == typeof s || "[object Object]" === Object.prototype.toString.call(s) && !isVNode(s);
|
|
5628
5566
|
}
|
|
5629
5567
|
|
|
5630
|
-
const ns$
|
|
5568
|
+
const ns$7 = useNamespace("crud-table");
|
|
5631
5569
|
|
|
5632
|
-
var Element$
|
|
5570
|
+
var Element$7 = defineComponent({
|
|
5633
5571
|
name: "NextCrudTable",
|
|
5634
5572
|
props: defaultPropsConfig,
|
|
5635
5573
|
emits: [ "confirm-search", "clear-search", "change-pagination", "selection-change", "row-click", "row-contextmenu", "row-dblclick", "cell-click", "cell-dblclick", "cell-contextmenu", "cell-mouse-enter", "cell-mouse-leave", "expand-change", "click-add-edit", "close-add-edit", "view-add-edit", "delete-rows", "delete-row", "submit-form" ],
|
|
5636
5574
|
setup(props, {emit: emit, slots: slots, expose: expose}) {
|
|
5637
5575
|
const _config = deepClone(defaultConfig$4), _options = computed((() => {
|
|
5638
5576
|
const cfg = unref(props.options);
|
|
5639
|
-
return merge
|
|
5577
|
+
return merge(_config, cfg);
|
|
5640
5578
|
})), options = unref(_options);
|
|
5641
|
-
provide("options", computed((() => _options.value))), provide("ns", ns$
|
|
5579
|
+
provide("options", computed((() => _options.value))), provide("ns", ns$7);
|
|
5642
5580
|
const {t: t} = useLocale(), _columns = ref(options.columns), _searchColumns = ref([]), _formColumns = ref([]), _updateColumnsAll = ops => {
|
|
5643
5581
|
((options, cb) => {
|
|
5644
5582
|
const _columns = reactive(options.columns), _loadDicData = col => {
|
|
@@ -5734,7 +5672,8 @@ var Element$6 = defineComponent({
|
|
|
5734
5672
|
treeSelecCheckChange: valueExist(col.treeSelecCheckChangeSearch, col.treeSelecCheckChange, null),
|
|
5735
5673
|
treeSelecNodeExpand: valueExist(col.treeSelecNodeExpandSearch, col.treeSelecNodeExpand, null),
|
|
5736
5674
|
treeSelecNodeCollapse: valueExist(col.treeSelecNodeCollapseSearch, col.treeSelecNodeCollapse, null),
|
|
5737
|
-
treeSelecCurrentChange: valueExist(col.treeSelecCurrentChangeSearch, col.treeSelecCurrentChange, null)
|
|
5675
|
+
treeSelecCurrentChange: valueExist(col.treeSelecCurrentChangeSearch, col.treeSelecCurrentChange, null),
|
|
5676
|
+
onChange: valueExist(col.onChangeSearch, col.onChange, null)
|
|
5738
5677
|
};
|
|
5739
5678
|
return !col.dicData?.length && col.loadDicData && shareObjectProperty(item, col, "dicData"),
|
|
5740
5679
|
item;
|
|
@@ -5883,11 +5822,11 @@ var Element$6 = defineComponent({
|
|
|
5883
5822
|
});
|
|
5884
5823
|
return () => createVNode(Fragment, null, [ createVNode(Fragment, null, [ createVNode("div", {
|
|
5885
5824
|
ref: crudTableRef,
|
|
5886
|
-
class: [ ns$
|
|
5825
|
+
class: [ ns$7.b(), props.className ],
|
|
5887
5826
|
style: props.style
|
|
5888
5827
|
}, [ options.showSearchForm || options.showHeaderMenu ? createVNode("header", {
|
|
5889
5828
|
ref: headerRef,
|
|
5890
|
-
class: ns$
|
|
5829
|
+
class: ns$7.b("header")
|
|
5891
5830
|
}, [ options.showSearchForm && createVNode(HeaderSearch, {
|
|
5892
5831
|
columns: _searchColumns.value,
|
|
5893
5832
|
onZoomResize: updateTableContentHeight,
|
|
@@ -5906,7 +5845,7 @@ var Element$6 = defineComponent({
|
|
|
5906
5845
|
}, {
|
|
5907
5846
|
default: () => [ createVNode("div", {
|
|
5908
5847
|
ref: tableRef,
|
|
5909
|
-
class: ns$
|
|
5848
|
+
class: ns$7.b("content")
|
|
5910
5849
|
}, [ createVNode(ElTable, {
|
|
5911
5850
|
data: tableData.value,
|
|
5912
5851
|
height: tableContentHeight.value,
|
|
@@ -5935,7 +5874,14 @@ var Element$6 = defineComponent({
|
|
|
5935
5874
|
"onCell-mouse-leave": (...arg) => emit("cell-mouse-leave", ...arg),
|
|
5936
5875
|
"onExpand-change": (...arg) => emit("expand-change", ...arg)
|
|
5937
5876
|
}, {
|
|
5938
|
-
default: () => [ options.
|
|
5877
|
+
default: () => [ options.selection ? createVNode(ElTableColumn, {
|
|
5878
|
+
type: "selection",
|
|
5879
|
+
fixed: "left",
|
|
5880
|
+
label: t("next.table.selectionAll"),
|
|
5881
|
+
width: 55,
|
|
5882
|
+
headerAlign: options.headerAlign,
|
|
5883
|
+
align: options.cellAlign
|
|
5884
|
+
}, null) : null, options.index ? createVNode(ElTableColumn, {
|
|
5939
5885
|
type: "index",
|
|
5940
5886
|
label: "#",
|
|
5941
5887
|
width: _sortNumberMinWidth.value,
|
|
@@ -5943,13 +5889,6 @@ var Element$6 = defineComponent({
|
|
|
5943
5889
|
fixed: "left",
|
|
5944
5890
|
headerAlign: options.headerAlign,
|
|
5945
5891
|
align: options.cellAlign
|
|
5946
|
-
}, null) : null, options.selection ? createVNode(ElTableColumn, {
|
|
5947
|
-
type: "selection",
|
|
5948
|
-
fixed: "left",
|
|
5949
|
-
label: t("next.table.selectionAll"),
|
|
5950
|
-
width: 55,
|
|
5951
|
-
headerAlign: options.headerAlign,
|
|
5952
|
-
align: options.cellAlign
|
|
5953
5892
|
}, null) : null, slots.default?.(), _columns.value.map((col => createVNode(TableColumnDynamic, {
|
|
5954
5893
|
columnOption: col,
|
|
5955
5894
|
key: col.prop
|
|
@@ -5969,7 +5908,7 @@ var Element$6 = defineComponent({
|
|
|
5969
5908
|
}) ]) ]
|
|
5970
5909
|
}), options.isPagination ? createVNode("div", {
|
|
5971
5910
|
ref: footerRef,
|
|
5972
|
-
class: ns$
|
|
5911
|
+
class: ns$7.b("footer")
|
|
5973
5912
|
}, [ createVNode(FooterPagination, {
|
|
5974
5913
|
page: props.page,
|
|
5975
5914
|
onChange: onChangePagination
|
|
@@ -5996,7 +5935,7 @@ var Element$6 = defineComponent({
|
|
|
5996
5935
|
}
|
|
5997
5936
|
});
|
|
5998
5937
|
|
|
5999
|
-
const NextCrudTable = withInstall(Element$
|
|
5938
|
+
const NextCrudTable = withInstall(Element$7);
|
|
6000
5939
|
|
|
6001
5940
|
var propsConfig = {
|
|
6002
5941
|
className: {
|
|
@@ -6029,7 +5968,7 @@ var propsConfig = {
|
|
|
6029
5968
|
}
|
|
6030
5969
|
}, defaultConfig$2 = {};
|
|
6031
5970
|
|
|
6032
|
-
const ns$
|
|
5971
|
+
const ns$6 = useNamespace("crud-table-virtualized");
|
|
6033
5972
|
|
|
6034
5973
|
const NextCrudTableVirtualized = withInstall(defineComponent({
|
|
6035
5974
|
name: "NextCrudTableVirtualized",
|
|
@@ -6037,7 +5976,7 @@ const NextCrudTableVirtualized = withInstall(defineComponent({
|
|
|
6037
5976
|
setup(props, {emit: emit}) {
|
|
6038
5977
|
const _config = deepClone(defaultConfig$2), _options = computed((() => {
|
|
6039
5978
|
const cfg = unref(props.options);
|
|
6040
|
-
return merge
|
|
5979
|
+
return merge(_config, cfg);
|
|
6041
5980
|
})), options = unref(_options);
|
|
6042
5981
|
provide("options", computed((() => _options.value)));
|
|
6043
5982
|
const {t: t} = useLocale(), addEditDialog = reactive({
|
|
@@ -6050,7 +5989,7 @@ const NextCrudTableVirtualized = withInstall(defineComponent({
|
|
|
6050
5989
|
emit("close-add-edit");
|
|
6051
5990
|
};
|
|
6052
5991
|
return () => createVNode(Fragment, null, [ createVNode("div", {
|
|
6053
|
-
class: [ ns$
|
|
5992
|
+
class: [ ns$6.b(), props.className ]
|
|
6054
5993
|
}, [ createVNode(NextSpinLoading, null, null), createVNode(NextDialog, {
|
|
6055
5994
|
modelValue: addEditDialog.visible,
|
|
6056
5995
|
"onUpdate:modelValue": $event => addEditDialog.visible = $event,
|
|
@@ -6061,7 +6000,7 @@ const NextCrudTableVirtualized = withInstall(defineComponent({
|
|
|
6061
6000
|
onClose: onCloseAddEditDialog
|
|
6062
6001
|
}, null) ]) ]);
|
|
6063
6002
|
}
|
|
6064
|
-
})), NextSpinLoading = withInstall(NextSpinLoading$1), ns$
|
|
6003
|
+
})), NextSpinLoading = withInstall(NextSpinLoading$1), ns$5 = useNamespace("upload");
|
|
6065
6004
|
|
|
6066
6005
|
const NextUpload = withInstall(defineComponent({
|
|
6067
6006
|
name: "NextUpload",
|
|
@@ -6096,7 +6035,7 @@ const NextUpload = withInstall(defineComponent({
|
|
|
6096
6035
|
const slots = this.$slots, props = this.$props, emit = this.$emit, _t = this.t, uploadfilesPreview = ref([]), body = document.getElementsByTagName("body")[0];
|
|
6097
6036
|
let previewImagesContainer = null;
|
|
6098
6037
|
return createVNode(ElUpload, {
|
|
6099
|
-
class: [ ns$
|
|
6038
|
+
class: [ ns$5.b(), props.className ],
|
|
6100
6039
|
style: props.style,
|
|
6101
6040
|
"list-type": props.listType,
|
|
6102
6041
|
"auto-upload": !1,
|
|
@@ -6138,9 +6077,9 @@ const NextUpload = withInstall(defineComponent({
|
|
|
6138
6077
|
})
|
|
6139
6078
|
});
|
|
6140
6079
|
}
|
|
6141
|
-
})), ns$
|
|
6080
|
+
})), ns$4 = useNamespace("video-player");
|
|
6142
6081
|
|
|
6143
|
-
var Element$
|
|
6082
|
+
var Element$4 = defineComponent({
|
|
6144
6083
|
name: "NextVideoPlayer",
|
|
6145
6084
|
props: {
|
|
6146
6085
|
className: {
|
|
@@ -6213,7 +6152,7 @@ var Element$3 = defineComponent({
|
|
|
6213
6152
|
if (!classNames || !classNames.length) throw new Error("模型类别不能未空!");
|
|
6214
6153
|
container.innerHTML = "", tf.loadGraphModel(modelUrl).then((model => {
|
|
6215
6154
|
const canvas = document.createElement("canvas");
|
|
6216
|
-
canvas.className = ns$
|
|
6155
|
+
canvas.className = ns$4.b("recongition"), container.appendChild(canvas);
|
|
6217
6156
|
const ctx = canvas.getContext("2d"), detect_ctx = document.createElement("canvas").getContext("2d");
|
|
6218
6157
|
video.ontimeupdate = () => {
|
|
6219
6158
|
const {videoWidth: videoWidth, videoHeight: videoHeight, offsetTop: offsetTop, offsetLeft: offsetLeft} = video;
|
|
@@ -6384,18 +6323,38 @@ var Element$3 = defineComponent({
|
|
|
6384
6323
|
});
|
|
6385
6324
|
return () => createVNode(Fragment, null, [ createVNode("div", {
|
|
6386
6325
|
ref: videoBoxRef,
|
|
6387
|
-
class: [ ns$
|
|
6326
|
+
class: [ ns$4.b(), props.className ],
|
|
6388
6327
|
style: props.style
|
|
6389
6328
|
}, null) ]);
|
|
6390
6329
|
}
|
|
6391
6330
|
});
|
|
6392
6331
|
|
|
6393
|
-
const NextVideoPlayer = withInstall(Element$
|
|
6332
|
+
const NextVideoPlayer = withInstall(Element$4);
|
|
6394
6333
|
|
|
6395
6334
|
const NextDragResize = withInstall(defineComponent({
|
|
6396
6335
|
name: "NextDragResize",
|
|
6397
6336
|
props: {},
|
|
6398
6337
|
setup: () => () => createVNode(Fragment, null, [ createVNode(Fragment, null, null) ])
|
|
6338
|
+
})), ns$3 = useNamespace("container");
|
|
6339
|
+
|
|
6340
|
+
const NextCarousel = withInstall(defineComponent({
|
|
6341
|
+
name: "NextCarousel",
|
|
6342
|
+
props: {
|
|
6343
|
+
className: {
|
|
6344
|
+
type: String,
|
|
6345
|
+
default: ""
|
|
6346
|
+
},
|
|
6347
|
+
style: {
|
|
6348
|
+
type: Object,
|
|
6349
|
+
default: () => ({})
|
|
6350
|
+
}
|
|
6351
|
+
},
|
|
6352
|
+
setup: (props, {slots: slots}) => () => createVNode("div", {
|
|
6353
|
+
class: [ ns$3.b(), props.className ],
|
|
6354
|
+
style: {
|
|
6355
|
+
...props.style
|
|
6356
|
+
}
|
|
6357
|
+
}, [ slots.default?.() ])
|
|
6399
6358
|
}));
|
|
6400
6359
|
|
|
6401
6360
|
var ToolHeader = defineComponent({
|
|
@@ -6952,7 +6911,7 @@ var DraggableRect = defineComponent({
|
|
|
6952
6911
|
const image = new Image;
|
|
6953
6912
|
image.src = rowInfo.imageSrc, loadingImage.value = !0, image.onload = () => {
|
|
6954
6913
|
loadingImage.value = !1;
|
|
6955
|
-
const {canvasWidth: canvasWidth, canvasHeight: canvasHeight,
|
|
6914
|
+
const {canvasWidth: canvasWidth, canvasHeight: canvasHeight, originWidth: originWidth, originHeight: originHeight} = (image => {
|
|
6956
6915
|
const clientWidth = mainBasaeRef.value?.elementInstance.clientWidth, clientHeight = mainBasaeRef.value?.elementInstance.clientHeight;
|
|
6957
6916
|
let {width: width, height: height} = image, scaleFactor = 1;
|
|
6958
6917
|
const scale = width / height;
|
|
@@ -7037,7 +6996,6 @@ var DraggableRect = defineComponent({
|
|
|
7037
6996
|
canvasWidth: canvasWidth,
|
|
7038
6997
|
canvasHeight: canvasHeight,
|
|
7039
6998
|
labels: labels.value,
|
|
7040
|
-
scaleFactor: scaleFactor,
|
|
7041
6999
|
scaleOffset: scaleTranslateManager.scaleTranslate
|
|
7042
7000
|
});
|
|
7043
7001
|
drawBaseCanvas.value.updateLabels = updateLabels, drawBaseCanvas.value.addDrawRect = addDrawRect,
|
|
@@ -7385,7 +7343,7 @@ var Element$1 = defineComponent({
|
|
|
7385
7343
|
setup(props, {emit: emit, slots: slots, expose: expose}) {
|
|
7386
7344
|
const {t: t} = useLocale(), _config = deepClone(defaultConfig$1), _options = computed((() => {
|
|
7387
7345
|
const cfg = unref(props.options);
|
|
7388
|
-
return merge
|
|
7346
|
+
return merge(_config, cfg);
|
|
7389
7347
|
})), options = unref(_options);
|
|
7390
7348
|
provide("ns", ns$2), provide("_emit", emit);
|
|
7391
7349
|
const activateNodeIndex = ref(0), classes = ref(props.classes), labelImages = ref(deepClone(props.data));
|
|
@@ -8328,7 +8286,7 @@ var Element = defineComponent({
|
|
|
8328
8286
|
setup(props, {emit: emit, slots: slots}) {
|
|
8329
8287
|
const _config = deepClone(defaultConfig), _options = computed((() => {
|
|
8330
8288
|
const cfg = unref(props.options);
|
|
8331
|
-
return merge
|
|
8289
|
+
return merge(_config, cfg);
|
|
8332
8290
|
})), options = unref(_options);
|
|
8333
8291
|
provide("ns", ns);
|
|
8334
8292
|
const {t: t} = useLocale(), activateNodeIndex = ref(0), classes = ref(props.classes), labelImages = ref(deepClone(props.data));
|
|
@@ -8489,6 +8447,7 @@ const NextLabelme = withInstall(Element);
|
|
|
8489
8447
|
|
|
8490
8448
|
var components = Object.freeze({
|
|
8491
8449
|
__proto__: null,
|
|
8450
|
+
NextCarousel: NextCarousel,
|
|
8492
8451
|
NextContainer: NextContainer,
|
|
8493
8452
|
NextCrudTable: NextCrudTable,
|
|
8494
8453
|
NextCrudTableVirtualized: NextCrudTableVirtualized,
|
|
@@ -8542,7 +8501,7 @@ const zoomDialog = app => {
|
|
|
8542
8501
|
}));
|
|
8543
8502
|
}
|
|
8544
8503
|
});
|
|
8545
|
-
}, version = "0.5.
|
|
8504
|
+
}, version = "0.5.5", install = function(app) {
|
|
8546
8505
|
Object.keys(components).forEach((key => {
|
|
8547
8506
|
const component = components[key];
|
|
8548
8507
|
app.component(component.name, component);
|
|
@@ -8552,8 +8511,8 @@ const zoomDialog = app => {
|
|
|
8552
8511
|
};
|
|
8553
8512
|
|
|
8554
8513
|
var index = {
|
|
8555
|
-
version: "0.5.
|
|
8514
|
+
version: "0.5.5",
|
|
8556
8515
|
install: install
|
|
8557
8516
|
};
|
|
8558
8517
|
|
|
8559
|
-
export { NextContainer, NextCrudTable, NextCrudTableVirtualized, NextDialog, NextDragResize, NextForm, NextInputTableSelect, NextLabelimg, NextLabelimgPreview, NextLabelme, NextLayout, NextMenu, NextSpinLoading, NextTabs, NextTextEllipsis, NextTreeCascader, NextTreeSelect, NextUpload, NextVideoPlayer, buildLocaleContext, buildTranslator, index as default, defaultNamespace, install, localeContextKey, localeLang, namespaceContextKey, nextUseCssTheme, nextUseCssVar, translate, updateThemeColor, updateThemeColorCssVar, useDetectVideo, useGetDerivedNamespace, useLanguage, useLocale, useNamespace, version };
|
|
8518
|
+
export { NextCarousel, NextContainer, NextCrudTable, NextCrudTableVirtualized, NextDialog, NextDragResize, NextForm, NextInputTableSelect, NextLabelimg, NextLabelimgPreview, NextLabelme, NextLayout, NextMenu, NextSpinLoading, NextTabs, NextTextEllipsis, NextTreeCascader, NextTreeSelect, NextUpload, NextVideoPlayer, buildLocaleContext, buildTranslator, index as default, defaultNamespace, install, localeContextKey, localeLang, namespaceContextKey, nextUseCssTheme, nextUseCssVar, translate, updateThemeColor, updateThemeColorCssVar, useDetectVideo, useGetDerivedNamespace, useLanguage, useLocale, useNamespace, version };
|