@wfrog/vc-ui 1.3.1 → 1.4.0
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/es/chunk/{CCmEeM7D.mjs → B3GxuXVE.mjs} +6 -6
- package/dist/es/chunk/BL8WhaLp.mjs +427 -0
- package/dist/es/chunk/{BiHWk71g.mjs → BPqrpkTb.mjs} +4 -4
- package/dist/es/chunk/{C_7t9blX.mjs → BZ1uhZQF.mjs} +1 -1
- package/dist/es/chunk/{-ga82G_B.mjs → BdVq9mV6.mjs} +1 -1
- package/dist/es/chunk/{DGGhWn1A.mjs → BfjuZmry.mjs} +6 -5
- package/dist/es/chunk/{BLLKi_0v.mjs → Bu3XHP55.mjs} +1 -1
- package/dist/es/chunk/{DEiqPcuO.mjs → BvNFaD5d.mjs} +3 -3
- package/dist/es/chunk/BxibBO68.mjs +5741 -0
- package/dist/es/chunk/{DO-mBaf5.mjs → By7FMB3I.mjs} +1 -43
- package/dist/es/chunk/{DATKTbFj.mjs → CGhekNBa.mjs} +5 -5
- package/dist/es/chunk/{plK2vnjp.mjs → CJ0afvkJ.mjs} +1 -1
- package/dist/es/chunk/{CtYp4FB7.mjs → CK5Bluh4.mjs} +2 -2
- package/dist/es/chunk/{Vv8g5_A1.mjs → CKZGL4_3.mjs} +9 -8
- package/dist/es/chunk/CNEMJL35.mjs +69 -0
- package/dist/es/chunk/{C9ldJ8Hh.mjs → CPCieLBG.mjs} +1 -1
- package/dist/es/chunk/{C50_dziC.mjs → CQz3lhyS.mjs} +2 -1
- package/dist/es/chunk/{Cekqdlxf.mjs → CbYM6R_O.mjs} +12 -77
- package/dist/es/chunk/{CQbpo0im.mjs → CboHfRXN.mjs} +5 -6
- package/dist/es/chunk/{BambM7zX.mjs → Cdh3HNZa.mjs} +2 -2
- package/dist/es/chunk/{aX4SRHmD.mjs → Cg-Krnly.mjs} +2 -1
- package/dist/es/chunk/{9qQNa4bM.mjs → Cjp0Czyu.mjs} +1 -1
- package/dist/es/chunk/Cmb_E8Ip.mjs +184 -0
- package/dist/es/chunk/{BIK5Djc_.mjs → Co77DVCw.mjs} +2 -2
- package/dist/es/chunk/CqTa_Vd-.mjs +375 -0
- package/dist/es/{components/dual-pane/dual-pane.mjs → chunk/CsjEhAYY.mjs} +11 -91
- package/dist/es/chunk/{BQyZW57B.mjs → CwXV7M2F.mjs} +3 -3
- package/dist/es/chunk/{b9dx0jdT.mjs → D1MHFKtN.mjs} +3 -3
- package/dist/es/chunk/{DskGUrkJ.mjs → D6m3vWpc.mjs} +2 -1
- package/dist/es/chunk/{4F1xxyju.mjs → D6nWUATi.mjs} +48 -2117
- package/dist/es/chunk/{C6bIuBQg.mjs → D7CQDxqy.mjs} +3 -3
- package/dist/es/chunk/{Dqk3gyUk.mjs → D9Lr0Bzb.mjs} +1 -374
- package/dist/es/chunk/{Xk5kfdyT.mjs → DAIuzoFs.mjs} +2 -1
- package/dist/es/chunk/{OVbHCQoq.mjs → DCS0eqqM.mjs} +3 -101
- package/dist/es/chunk/{BJTCqgn1.mjs → DDR6UjaC.mjs} +1 -1
- package/dist/es/chunk/{BKmk2ptO.mjs → DNsAO9iB.mjs} +2 -2
- package/dist/es/chunk/{-_x5oKYF.mjs → DQK0ezHm.mjs} +5 -4
- package/dist/es/chunk/{BQHHM_Gw.mjs → DQi1QPak.mjs} +30 -70
- package/dist/es/chunk/{BaqDgAvL.mjs → DSt2uDNE.mjs} +22 -434
- package/dist/es/chunk/DSw4GnC6.mjs +44 -0
- package/dist/es/chunk/DTbnchOm.mjs +94 -0
- package/dist/es/chunk/DViraU6I.mjs +45 -0
- package/dist/es/chunk/{C540ZOUa.mjs → DX84QR5M.mjs} +10 -9
- package/dist/es/chunk/DYKOYbzT.mjs +2003 -0
- package/dist/es/chunk/{D1PKXAql.mjs → D_F7nIja.mjs} +3 -4
- package/dist/es/chunk/{DcTh6n4x.mjs → D_Mvdscy.mjs} +5 -4
- package/dist/es/chunk/DhGOsWxx.mjs +6 -0
- package/dist/es/chunk/{DFxeI_lP.mjs → DhGcJR5p.mjs} +6 -6
- package/dist/es/chunk/DxxbB5jY.mjs +34 -0
- package/dist/es/chunk/EMeQxUfH.mjs +49 -0
- package/dist/es/chunk/{eN6VJ63C.mjs → F2ph6lWu.mjs} +9 -8
- package/dist/es/chunk/{Dn-BFXcJ.mjs → dN0VcQc2.mjs} +1 -1
- package/dist/es/chunk/{DTpr71Gd.mjs → e5i7OJY-.mjs} +4 -4
- package/dist/es/chunk/fueZ9sVu.mjs +890 -0
- package/dist/es/chunk/{CV2NA_2e.mjs → ipA7n6-J.mjs} +1 -1
- package/dist/es/chunk/{Dw-yyl2m.mjs → q2jRgbir.mjs} +2 -2
- package/dist/es/chunk/{C72pWnuz.mjs → w7VqVeWU.mjs} +5 -4
- package/dist/es/chunk/{DWcIzeMM.mjs → ytiKcA3H.mjs} +108 -10
- package/dist/es/chunk/{DFHjl3eL.mjs → yuIXvUxc.mjs} +1 -1
- package/dist/es/components/backbottom/backbottom.mjs +2 -2
- package/dist/es/components/button/button.d.ts +2 -1
- package/dist/es/components/button/button.mjs +68 -17
- package/dist/es/components/button/button.vue.d.ts +4 -1
- package/dist/es/components/choice/choice.mjs +3 -2
- package/dist/es/components/color-switcher/color-switcher.d.ts +15 -0
- package/dist/es/components/color-switcher/color-switcher.mjs +1215 -0
- package/dist/es/components/color-switcher/color-switcher.vue.d.ts +122 -0
- package/dist/es/components/color-switcher/index.css +5 -0
- package/dist/es/components/color-switcher/index.d.ts +4 -0
- package/dist/es/components/color-switcher/index.mjs +6 -0
- package/dist/es/components/cropper/cropper.mjs +12 -11
- package/dist/es/components/cropper/cropper.vue.d.ts +2 -2
- package/dist/es/components/currency/currency.mjs +7 -7
- package/dist/es/components/dark-switcher/dark-switcher.d.ts +10 -0
- package/dist/es/components/dark-switcher/dark-switcher.mjs +87 -0
- package/dist/es/components/dark-switcher/dark-switcher.vue.d.ts +12 -0
- package/dist/es/components/dark-switcher/index.css +11 -0
- package/dist/es/components/dark-switcher/index.d.ts +4 -0
- package/dist/es/components/dark-switcher/index.mjs +6 -0
- package/dist/es/components/daterange-picker/daterange-picker.mjs +21 -20
- package/dist/es/components/dialog/dialog.d.ts +1 -1
- package/dist/es/components/dialog/dialog.mjs +46 -61
- package/dist/es/components/dialog/dialog.vue.d.ts +1 -3
- package/dist/es/components/dialog/index.css +31 -32
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +12 -12
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +5 -5
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +14 -13
- package/dist/es/components/drag-verify/drag-verify.mjs +14 -14
- package/dist/es/components/drag-verify/index.css +11 -11
- package/dist/es/components/drawer/drawer.mjs +14 -14
- package/dist/es/components/drawer/index.css +16 -15
- package/dist/es/components/easy-pagination/easy-pagination.mjs +4 -4
- package/dist/es/components/el-icon/el-icon.mjs +2 -2
- package/dist/es/components/explorer/docs/data.d.ts +13 -0
- package/dist/es/components/explorer/explorer.d.ts +12 -0
- package/dist/es/components/explorer/explorer.mjs +64 -0
- package/dist/es/components/explorer/explorer.vue.d.ts +183 -0
- package/dist/es/components/explorer/explorer2.mjs +6 -0
- package/dist/es/components/explorer/index.css +14 -0
- package/dist/es/components/explorer/index.d.ts +4 -0
- package/dist/es/components/explorer/index.mjs +6 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.d.ts +23 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.mjs +2948 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.vue.d.ts +1486 -0
- package/dist/es/components/explorer-column-table/index.css +49 -0
- package/dist/es/components/explorer-column-table/index.d.ts +4 -0
- package/dist/es/components/explorer-column-table/index.mjs +6 -0
- package/dist/es/components/explorer-filter/explorer-filter.d.ts +12 -0
- package/dist/es/components/explorer-filter/explorer-filter.mjs +81 -0
- package/dist/es/components/explorer-filter/explorer-filter.vue.d.ts +14 -0
- package/dist/es/components/explorer-filter/index.css +7 -0
- package/dist/es/components/explorer-filter/index.d.ts +4 -0
- package/dist/es/components/explorer-filter/index.mjs +6 -0
- package/dist/es/components/explorer-footer/explorer-footer.d.ts +5 -0
- package/dist/es/components/explorer-footer/explorer-footer.mjs +92 -0
- package/dist/es/components/explorer-footer/explorer-footer.vue.d.ts +21 -0
- package/dist/es/components/explorer-footer/index.css +7 -0
- package/dist/es/components/explorer-footer/index.d.ts +4 -0
- package/dist/es/components/explorer-footer/index.mjs +6 -0
- package/dist/es/components/explorer-list/explorer-list.d.ts +23 -0
- package/dist/es/components/explorer-list/explorer-list.mjs +157 -0
- package/dist/es/components/explorer-list/explorer-list.vue.d.ts +38 -0
- package/dist/es/components/explorer-list/index.css +47 -0
- package/dist/es/components/explorer-list/index.d.ts +4 -0
- package/dist/es/components/explorer-list/index.mjs +6 -0
- package/dist/es/components/explorer-panel/explorer-panel.d.ts +14 -0
- package/dist/es/components/explorer-panel/explorer-panel.mjs +77 -0
- package/dist/es/components/explorer-panel/explorer-panel.vue.d.ts +253 -0
- package/dist/es/components/explorer-panel/explorer-panel2.mjs +6 -0
- package/dist/es/components/explorer-panel/index.css +12 -0
- package/dist/es/components/explorer-panel/index.d.ts +4 -0
- package/dist/es/components/explorer-panel/index.mjs +6 -0
- package/dist/es/components/explorer-query/explorer-query.d.ts +11 -0
- package/dist/es/components/explorer-query/explorer-query.mjs +2376 -0
- package/dist/es/components/explorer-query/explorer-query.vue.d.ts +396 -0
- package/dist/es/components/explorer-query/index.css +36 -0
- package/dist/es/components/explorer-query/index.d.ts +4 -0
- package/dist/es/components/explorer-query/index.mjs +6 -0
- package/dist/es/components/explorer-table/explorer-table.d.ts +11 -0
- package/dist/es/components/explorer-table/explorer-table.mjs +116 -0
- package/dist/es/components/explorer-table/explorer-table.vue.d.ts +25 -0
- package/dist/es/components/explorer-table/index.css +18 -0
- package/dist/es/components/explorer-table/index.d.ts +4 -0
- package/dist/es/components/explorer-table/index.mjs +6 -0
- package/dist/es/components/explorer-tools/components/column-setter.vue.d.ts +3028 -0
- package/dist/es/components/explorer-tools/explorer-tools.d.ts +35 -0
- package/dist/es/components/explorer-tools/explorer-tools.mjs +585 -0
- package/dist/es/components/explorer-tools/explorer-tools.vue.d.ts +43 -0
- package/dist/es/components/explorer-tools/index.css +60 -0
- package/dist/es/components/explorer-tools/index.d.ts +4 -0
- package/dist/es/components/explorer-tools/index.mjs +6 -0
- package/dist/es/components/explorer-tree/explorer-tree.d.ts +22 -0
- package/dist/es/components/explorer-tree/explorer-tree.mjs +174 -0
- package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +2055 -0
- package/dist/es/components/explorer-tree/index.css +55 -0
- package/dist/es/components/explorer-tree/index.d.ts +4 -0
- package/dist/es/components/explorer-tree/index.mjs +6 -0
- package/dist/es/components/icon/icon2.mjs +2 -2
- package/dist/es/components/icon-picker/components/collections.vue.d.ts +242 -196
- package/dist/es/components/icon-picker/icon-picker.mjs +38 -921
- package/dist/es/components/icon-picker/index.css +31 -29
- package/dist/es/components/iconify-icon/iconify-icon.mjs +2 -2
- package/dist/es/components/image/image.mjs +5 -5
- package/dist/es/components/image/image.vue.d.ts +7 -7
- package/dist/es/components/input/index.css +4 -5
- package/dist/es/components/input/input.mjs +7 -7
- package/dist/es/components/input/input.vue.d.ts +3 -3
- package/dist/es/components/input-number/input-number.mjs +5 -5
- package/dist/es/components/pca-picker/components/c.vue.d.ts +3 -3
- package/dist/es/components/pca-picker/index.css +4 -4
- package/dist/es/components/pca-picker/pca-picker.mjs +21 -209
- package/dist/es/components/pca-picker/pca-picker.vue.d.ts +10 -10
- package/dist/es/components/screenfull/screenfull.mjs +4 -4
- package/dist/es/components/scrollbar/index.css +6 -5
- package/dist/es/components/scrollbar/scrollbar.d.ts +2 -0
- package/dist/es/components/scrollbar/scrollbar.mjs +17 -12
- package/dist/es/components/scrollbar/scrollbar.vue.d.ts +156 -134
- package/dist/es/components/select/select.mjs +7 -7
- package/dist/es/components/single-player/index.css +11 -11
- package/dist/es/components/single-player/single-player.mjs +20 -19
- package/dist/es/components/splitter/index.d.ts +4 -0
- package/dist/es/components/splitter/index.mjs +6 -0
- package/dist/es/components/splitter/splitter.d.ts +4 -0
- package/dist/es/components/splitter/splitter.mjs +28 -0
- package/dist/es/components/{dual-pane/dual-pane.vue.d.ts → splitter/splitter.vue.d.ts} +3 -5
- package/dist/es/components/splitter-panel/index.css +5 -0
- package/dist/es/components/splitter-panel/index.d.ts +4 -0
- package/dist/es/components/splitter-panel/index.mjs +6 -0
- package/dist/es/components/splitter-panel/splitter-panel.d.ts +3 -0
- package/dist/es/components/splitter-panel/splitter-panel.mjs +49 -0
- package/dist/es/components/splitter-panel/splitter-panel.vue.d.ts +20 -0
- package/dist/es/components/svg-icon/svg-icon.mjs +2 -2
- package/dist/es/components/switch/switch.mjs +2 -2
- package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +2 -2
- package/dist/es/components/tags/tags.mjs +12 -11
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +4 -4
- package/dist/es/components/text-ellipsis/text-ellipsis.vue.d.ts +1 -1
- package/dist/es/components/thousand-input/thousand-input.mjs +3 -3
- package/dist/es/components/thousand-input/thousand-input.vue.d.ts +8 -8
- package/dist/es/components/tinymce/index.css +1 -1
- package/dist/es/components/tinymce/tinymce.d.ts +1 -0
- package/dist/es/components/tinymce/tinymce.mjs +20 -11
- package/dist/es/components/tinymce/tinymce.vue.d.ts +1 -0
- package/dist/es/components/tree-picker/popover-cascader.css +1 -1
- package/dist/es/components/tree-picker/tree-picker.mjs +11 -10
- package/dist/es/components/tree-picker/tree-picker.vue.d.ts +10 -10
- package/dist/es/components/upload-file/upload-file.mjs +2 -2
- package/dist/es/index.d.ts +14 -1
- package/dist/es/index.mjs +69 -39
- package/dist/es/use/usePersistentModel/index.d.ts +4 -0
- package/dist/es/use/usePersistentModel/index.mjs +19 -0
- package/dist/global.d.ts +14 -1
- package/dist/index.css +450 -123
- package/package.json +4 -1
- package/dist/es/chunk/DVNTpOBR.mjs +0 -4
- package/dist/es/components/dual-pane/dual-pane.d.ts +0 -8
- package/dist/es/components/dual-pane/index.css +0 -8
- package/dist/es/components/dual-pane/index.d.ts +0 -4
- package/dist/es/components/dual-pane/index.mjs +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as getNative, r as root, k as isLength, h as isFunction, i as isObjectLike, b as baseGetTag, l as freeGlobal, g as isArguments, c as isIndex, f as isArray, L as ListCache, M as Map, m as MapCache, n as arrayPush, t as toSource, S as Symbol$1, e as eq } from './ytiKcA3H.mjs';
|
|
2
2
|
|
|
3
3
|
/* Built-in method references that are verified to be native. */
|
|
4
4
|
var WeakMap = getNative(root, 'WeakMap');
|
|
@@ -1135,4 +1135,4 @@ function isEqual(value, other) {
|
|
|
1135
1135
|
return baseIsEqual(value, other);
|
|
1136
1136
|
}
|
|
1137
1137
|
|
|
1138
|
-
export { Stack as S, Uint8Array as U, isArrayLike as a,
|
|
1138
|
+
export { Stack as S, Uint8Array as U, isArrayLike as a, isBuffer as b, isTypedArray as c, isPrototype as d, arrayLikeKeys as e, baseGetAllKeys as f, getSymbols as g, getTag as h, isEqual as i, baseUnary as j, keys as k, getAllKeys as l, baseIsEqual as m, nodeUtil as n, overArg as o, stubArray as s };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, h, renderSlot, ref, watchEffect, createVNode, createTextVNode, isVNode, Comment } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { b as buildProps, u as useNamespace, c as isArray, i as isString, d as definePropType } from './By7FMB3I.mjs';
|
|
3
|
+
import { b as isNumber } from './DViraU6I.mjs';
|
|
4
|
+
import { P as PatchFlags, i as isFragment, a as isValidElementNode } from './BZ1uhZQF.mjs';
|
|
5
|
+
import { c as componentSizes } from './CPCieLBG.mjs';
|
|
6
|
+
import { w as withInstall } from './dN0VcQc2.mjs';
|
|
6
7
|
|
|
7
8
|
const spaceItemProps = buildProps({
|
|
8
9
|
prefixCls: {
|
|
@@ -11,17 +11,17 @@ var root = freeGlobal || freeSelf || Function('return this')();
|
|
|
11
11
|
var Symbol$1 = root.Symbol;
|
|
12
12
|
|
|
13
13
|
/** Used for built-in method references. */
|
|
14
|
-
var objectProto$
|
|
14
|
+
var objectProto$6 = Object.prototype;
|
|
15
15
|
|
|
16
16
|
/** Used to check objects for own properties. */
|
|
17
|
-
var hasOwnProperty$
|
|
17
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Used to resolve the
|
|
21
21
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
22
22
|
* of values.
|
|
23
23
|
*/
|
|
24
|
-
var nativeObjectToString$1 = objectProto$
|
|
24
|
+
var nativeObjectToString$1 = objectProto$6.toString;
|
|
25
25
|
|
|
26
26
|
/** Built-in value references. */
|
|
27
27
|
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
@@ -34,7 +34,7 @@ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
|
34
34
|
* @returns {string} Returns the raw `toStringTag`.
|
|
35
35
|
*/
|
|
36
36
|
function getRawTag(value) {
|
|
37
|
-
var isOwn = hasOwnProperty$
|
|
37
|
+
var isOwn = hasOwnProperty$5.call(value, symToStringTag$1),
|
|
38
38
|
tag = value[symToStringTag$1];
|
|
39
39
|
|
|
40
40
|
try {
|
|
@@ -54,14 +54,14 @@ function getRawTag(value) {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/** Used for built-in method references. */
|
|
57
|
-
var objectProto$
|
|
57
|
+
var objectProto$5 = Object.prototype;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Used to resolve the
|
|
61
61
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
62
62
|
* of values.
|
|
63
63
|
*/
|
|
64
|
-
var nativeObjectToString = objectProto$
|
|
64
|
+
var nativeObjectToString = objectProto$5.toString;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -342,17 +342,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
|
342
342
|
|
|
343
343
|
/** Used for built-in method references. */
|
|
344
344
|
var funcProto = Function.prototype,
|
|
345
|
-
objectProto$
|
|
345
|
+
objectProto$4 = Object.prototype;
|
|
346
346
|
|
|
347
347
|
/** Used to resolve the decompiled source of functions. */
|
|
348
348
|
var funcToString = funcProto.toString;
|
|
349
349
|
|
|
350
350
|
/** Used to check objects for own properties. */
|
|
351
|
-
var hasOwnProperty$
|
|
351
|
+
var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
|
|
352
352
|
|
|
353
353
|
/** Used to detect if a method is native. */
|
|
354
354
|
var reIsNative = RegExp('^' +
|
|
355
|
-
funcToString.call(hasOwnProperty$
|
|
355
|
+
funcToString.call(hasOwnProperty$4).replace(reRegExpChar, '\\$&')
|
|
356
356
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
357
357
|
);
|
|
358
358
|
|
|
@@ -397,6 +397,14 @@ function getNative(object, key) {
|
|
|
397
397
|
return baseIsNative(value) ? value : undefined;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
+
var defineProperty = (function() {
|
|
401
|
+
try {
|
|
402
|
+
var func = getNative(Object, 'defineProperty');
|
|
403
|
+
func({}, '', {});
|
|
404
|
+
return func;
|
|
405
|
+
} catch (e) {}
|
|
406
|
+
}());
|
|
407
|
+
|
|
400
408
|
/** Used as references for various `Number` constants. */
|
|
401
409
|
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
402
410
|
|
|
@@ -421,6 +429,28 @@ function isIndex(value, length) {
|
|
|
421
429
|
(value > -1 && value % 1 == 0 && value < length);
|
|
422
430
|
}
|
|
423
431
|
|
|
432
|
+
/**
|
|
433
|
+
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
434
|
+
* value checks.
|
|
435
|
+
*
|
|
436
|
+
* @private
|
|
437
|
+
* @param {Object} object The object to modify.
|
|
438
|
+
* @param {string} key The key of the property to assign.
|
|
439
|
+
* @param {*} value The value to assign.
|
|
440
|
+
*/
|
|
441
|
+
function baseAssignValue(object, key, value) {
|
|
442
|
+
if (key == '__proto__' && defineProperty) {
|
|
443
|
+
defineProperty(object, key, {
|
|
444
|
+
'configurable': true,
|
|
445
|
+
'enumerable': true,
|
|
446
|
+
'value': value,
|
|
447
|
+
'writable': true
|
|
448
|
+
});
|
|
449
|
+
} else {
|
|
450
|
+
object[key] = value;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
424
454
|
/**
|
|
425
455
|
* Performs a
|
|
426
456
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -457,6 +487,30 @@ function eq(value, other) {
|
|
|
457
487
|
return value === other || (value !== value && other !== other);
|
|
458
488
|
}
|
|
459
489
|
|
|
490
|
+
/** Used for built-in method references. */
|
|
491
|
+
var objectProto$3 = Object.prototype;
|
|
492
|
+
|
|
493
|
+
/** Used to check objects for own properties. */
|
|
494
|
+
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
498
|
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
499
|
+
* for equality comparisons.
|
|
500
|
+
*
|
|
501
|
+
* @private
|
|
502
|
+
* @param {Object} object The object to modify.
|
|
503
|
+
* @param {string} key The key of the property to assign.
|
|
504
|
+
* @param {*} value The value to assign.
|
|
505
|
+
*/
|
|
506
|
+
function assignValue(object, key, value) {
|
|
507
|
+
var objValue = object[key];
|
|
508
|
+
if (!(hasOwnProperty$3.call(object, key) && eq(objValue, value)) ||
|
|
509
|
+
(value === undefined && !(key in object))) {
|
|
510
|
+
baseAssignValue(object, key, value);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
460
514
|
/** Used as references for various `Number` constants. */
|
|
461
515
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
462
516
|
|
|
@@ -1168,4 +1222,48 @@ function arrayPush(array, values) {
|
|
|
1168
1222
|
return array;
|
|
1169
1223
|
}
|
|
1170
1224
|
|
|
1171
|
-
|
|
1225
|
+
/**
|
|
1226
|
+
* The base implementation of `_.set`.
|
|
1227
|
+
*
|
|
1228
|
+
* @private
|
|
1229
|
+
* @param {Object} object The object to modify.
|
|
1230
|
+
* @param {Array|string} path The path of the property to set.
|
|
1231
|
+
* @param {*} value The value to set.
|
|
1232
|
+
* @param {Function} [customizer] The function to customize path creation.
|
|
1233
|
+
* @returns {Object} Returns `object`.
|
|
1234
|
+
*/
|
|
1235
|
+
function baseSet(object, path, value, customizer) {
|
|
1236
|
+
if (!isObject(object)) {
|
|
1237
|
+
return object;
|
|
1238
|
+
}
|
|
1239
|
+
path = castPath(path, object);
|
|
1240
|
+
|
|
1241
|
+
var index = -1,
|
|
1242
|
+
length = path.length,
|
|
1243
|
+
lastIndex = length - 1,
|
|
1244
|
+
nested = object;
|
|
1245
|
+
|
|
1246
|
+
while (nested != null && ++index < length) {
|
|
1247
|
+
var key = toKey(path[index]),
|
|
1248
|
+
newValue = value;
|
|
1249
|
+
|
|
1250
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
1251
|
+
return object;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
if (index != lastIndex) {
|
|
1255
|
+
var objValue = nested[key];
|
|
1256
|
+
newValue = undefined;
|
|
1257
|
+
if (newValue === undefined) {
|
|
1258
|
+
newValue = isObject(objValue)
|
|
1259
|
+
? objValue
|
|
1260
|
+
: (isIndex(path[index + 1]) ? [] : {});
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
assignValue(nested, key, newValue);
|
|
1264
|
+
nested = nested[key];
|
|
1265
|
+
}
|
|
1266
|
+
return object;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
export { ListCache as L, Map as M, Symbol$1 as S, isObject as a, baseGetTag as b, isIndex as c, baseAssignValue as d, eq as e, isArray as f, isArguments as g, isFunction as h, isObjectLike as i, getNative as j, isLength as k, freeGlobal as l, MapCache as m, arrayPush as n, isSymbol as o, arrayMap as p, baseGet as q, root as r, castPath as s, toSource as t, toKey as u, defineProperty as v, baseSet as w, assignValue as x, isKey as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, useTemplateRef, ref, computed, onMounted, onBeforeUnmount, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createVNode, unref, vShow, Teleport, mergeProps } from 'vue';
|
|
2
|
-
import '../../chunk/
|
|
2
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
3
3
|
import { CaretBottom } from '@element-plus/icons-vue';
|
|
4
|
-
import { E as ElIcon } from '../../chunk/
|
|
4
|
+
import { E as ElIcon } from '../../chunk/D1MHFKtN.mjs';
|
|
5
5
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
6
|
|
|
7
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -6,7 +6,7 @@ export interface IIconOption {
|
|
|
6
6
|
}
|
|
7
7
|
export interface IButtonProps {
|
|
8
8
|
icon?: IIconOption;
|
|
9
|
-
|
|
9
|
+
throttle?: number;
|
|
10
10
|
type?: ButtonType;
|
|
11
11
|
confirm?: {
|
|
12
12
|
type?: 'popconfirm' | 'messagebox' | 'none';
|
|
@@ -15,4 +15,5 @@ export interface IButtonProps {
|
|
|
15
15
|
cancelButtonText?: string;
|
|
16
16
|
msg?: string;
|
|
17
17
|
};
|
|
18
|
+
stop?: boolean;
|
|
18
19
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import {
|
|
3
|
-
import { f as useTooltipTriggerProps, u as useTooltipContentProps, a as ElTooltip } from '../../chunk/
|
|
2
|
+
import { b as buildProps, u as useNamespace } from '../../chunk/By7FMB3I.mjs';
|
|
3
|
+
import { f as useTooltipTriggerProps, u as useTooltipContentProps, a as ElTooltip } from '../../chunk/BfjuZmry.mjs';
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { b as buttonTypes, E as ElButton } from '../../chunk/
|
|
6
|
-
import { defineComponent, ref, computed, unref, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeClass, createTextVNode, normalizeStyle, resolveDynamicComponent, toDisplayString, createVNode, createElementBlock } from 'vue';
|
|
5
|
+
import { b as buttonTypes, E as ElButton } from '../../chunk/CqTa_Vd-.mjs';
|
|
6
|
+
import { defineComponent, ref, computed, unref, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeClass, createTextVNode, normalizeStyle, resolveDynamicComponent, toDisplayString, createVNode, withModifiers, createElementBlock } from 'vue';
|
|
7
7
|
import { ElMessageBox } from 'element-plus';
|
|
8
8
|
import { i as injectConfig } from '../config-provider/config-provider2.mjs';
|
|
9
9
|
import { _ as _sfc_main$2 } from '../icon/icon.mjs';
|
|
10
10
|
import { useThrottleFn } from '@vueuse/core';
|
|
11
|
-
import { E as ElIcon } from '../../chunk/
|
|
11
|
+
import { E as ElIcon } from '../../chunk/D1MHFKtN.mjs';
|
|
12
12
|
import { QuestionFilled } from '@element-plus/icons-vue';
|
|
13
13
|
import { i as iconPropType } from '../icon/icon2.mjs';
|
|
14
|
-
import { _ as _export_sfc, w as withInstall } from '../../chunk/
|
|
15
|
-
import { u as useLocale } from '../../chunk/
|
|
16
|
-
import { a as addUnit } from '../../chunk/
|
|
14
|
+
import { _ as _export_sfc, w as withInstall } from '../../chunk/dN0VcQc2.mjs';
|
|
15
|
+
import { u as useLocale } from '../../chunk/CJ0afvkJ.mjs';
|
|
16
|
+
import { a as addUnit } from '../../chunk/CQz3lhyS.mjs';
|
|
17
17
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
18
18
|
|
|
19
19
|
const popconfirmProps = buildProps({
|
|
@@ -221,13 +221,16 @@ const ElPopconfirm = withInstall(Popconfirm);
|
|
|
221
221
|
|
|
222
222
|
const _hoisted_1 = { key: 1 };
|
|
223
223
|
const _hoisted_2 = { key: 1 };
|
|
224
|
+
const _hoisted_3 = { key: 1 };
|
|
225
|
+
const _hoisted_4 = { key: 1 };
|
|
224
226
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
225
227
|
__name: "button",
|
|
226
228
|
props: {
|
|
227
229
|
icon: {},
|
|
228
|
-
|
|
230
|
+
throttle: { default: 800 },
|
|
229
231
|
type: { default: "" },
|
|
230
|
-
confirm: { default: void 0 }
|
|
232
|
+
confirm: { default: void 0 },
|
|
233
|
+
stop: { type: Boolean, default: false }
|
|
231
234
|
},
|
|
232
235
|
emits: ["click"],
|
|
233
236
|
setup(__props, { emit: __emit }) {
|
|
@@ -247,6 +250,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
247
250
|
}
|
|
248
251
|
}
|
|
249
252
|
const handleClick = useThrottleFn(async (e) => {
|
|
253
|
+
if (props.stop) {
|
|
254
|
+
e.stopPropagation();
|
|
255
|
+
}
|
|
250
256
|
if (myConfirm.value === "messagebox") {
|
|
251
257
|
const result = await handleComfirm();
|
|
252
258
|
result && emits("click", e);
|
|
@@ -256,10 +262,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
256
262
|
return;
|
|
257
263
|
}
|
|
258
264
|
emits("click", e);
|
|
259
|
-
}, props.
|
|
265
|
+
}, props.throttle);
|
|
260
266
|
const handleConfirm = useThrottleFn(async (e) => {
|
|
267
|
+
if (props.stop) {
|
|
268
|
+
e.stopPropagation();
|
|
269
|
+
}
|
|
261
270
|
emits("click", e);
|
|
262
|
-
}, props.
|
|
271
|
+
}, props.throttle);
|
|
263
272
|
return (_ctx, _cache) => {
|
|
264
273
|
const _component_ElButton = ElButton;
|
|
265
274
|
const _component_ElPopconfirm = ElPopconfirm;
|
|
@@ -272,10 +281,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
272
281
|
onConfirm: unref(handleConfirm)
|
|
273
282
|
}, {
|
|
274
283
|
reference: withCtx(() => [
|
|
275
|
-
|
|
284
|
+
__props.stop ? (openBlock(), createBlock(_component_ElButton, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
276
285
|
type: __props.type,
|
|
277
286
|
class: _ctx.$style.button,
|
|
278
|
-
onClick: unref(handleClick)
|
|
287
|
+
onClick: withModifiers(unref(handleClick), ["stop"])
|
|
279
288
|
}), {
|
|
280
289
|
default: withCtx(() => [
|
|
281
290
|
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
@@ -293,10 +302,52 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
293
302
|
}, null, 8, ["type", "name"])) : createCommentVNode("", true)
|
|
294
303
|
]),
|
|
295
304
|
_: 3
|
|
296
|
-
}, 16, ["type", "class", "onClick"])
|
|
305
|
+
}, 16, ["type", "class", "onClick"])) : (openBlock(), createBlock(_component_ElButton, mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
306
|
+
type: __props.type,
|
|
307
|
+
class: _ctx.$style.button,
|
|
308
|
+
onClick: unref(handleClick)
|
|
309
|
+
}), {
|
|
310
|
+
default: withCtx(() => [
|
|
311
|
+
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
312
|
+
key: 0,
|
|
313
|
+
type: unref(iconType),
|
|
314
|
+
name: unref(name)
|
|
315
|
+
}, null, 8, ["type", "name"])) : createCommentVNode("", true),
|
|
316
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
317
|
+
renderSlot(_ctx.$slots, "default")
|
|
318
|
+
])) : createCommentVNode("", true),
|
|
319
|
+
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
320
|
+
key: 2,
|
|
321
|
+
type: unref(iconType),
|
|
322
|
+
name: unref(name)
|
|
323
|
+
}, null, 8, ["type", "name"])) : createCommentVNode("", true)
|
|
324
|
+
]),
|
|
325
|
+
_: 3
|
|
326
|
+
}, 16, ["type", "class", "onClick"]))
|
|
327
|
+
]),
|
|
328
|
+
_: 3
|
|
329
|
+
}, 8, ["title", "confirm-button-text", "cancel-button-text", "popper-class", "onConfirm"])) : __props.stop ? (openBlock(), createBlock(_component_ElButton, mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
330
|
+
type: __props.type,
|
|
331
|
+
class: _ctx.$style.button,
|
|
332
|
+
onClick: withModifiers(unref(handleClick), ["stop"])
|
|
333
|
+
}), {
|
|
334
|
+
default: withCtx(() => [
|
|
335
|
+
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
336
|
+
key: 0,
|
|
337
|
+
type: unref(iconType),
|
|
338
|
+
name: unref(name)
|
|
339
|
+
}, null, 8, ["type", "name"])) : createCommentVNode("", true),
|
|
340
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
341
|
+
renderSlot(_ctx.$slots, "default")
|
|
342
|
+
])) : createCommentVNode("", true),
|
|
343
|
+
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
344
|
+
key: 2,
|
|
345
|
+
type: unref(iconType),
|
|
346
|
+
name: unref(name)
|
|
347
|
+
}, null, 8, ["type", "name"])) : createCommentVNode("", true)
|
|
297
348
|
]),
|
|
298
349
|
_: 3
|
|
299
|
-
},
|
|
350
|
+
}, 16, ["type", "class", "onClick"])) : (openBlock(), createBlock(_component_ElButton, mergeProps({ key: 2 }, _ctx.$attrs, {
|
|
300
351
|
type: __props.type,
|
|
301
352
|
class: _ctx.$style.button,
|
|
302
353
|
onClick: unref(handleClick)
|
|
@@ -307,7 +358,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
307
358
|
type: unref(iconType),
|
|
308
359
|
name: unref(name)
|
|
309
360
|
}, null, 8, ["type", "name"])) : createCommentVNode("", true),
|
|
310
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span",
|
|
361
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
311
362
|
renderSlot(_ctx.$slots, "default")
|
|
312
363
|
])) : createCommentVNode("", true),
|
|
313
364
|
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
@@ -4,6 +4,8 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
default?(_: {}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
default?(_: {}): any;
|
|
7
9
|
};
|
|
8
10
|
refs: {};
|
|
9
11
|
rootEl: any;
|
|
@@ -15,7 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<IButtonProps, {}, {
|
|
|
15
17
|
onClick?: ((event: Event) => any) | undefined;
|
|
16
18
|
}>, {
|
|
17
19
|
type: import('element-plus').ButtonType;
|
|
18
|
-
|
|
20
|
+
stop: boolean;
|
|
19
21
|
confirm: {
|
|
20
22
|
type?: "popconfirm" | "messagebox" | "none";
|
|
21
23
|
title?: string;
|
|
@@ -23,6 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<IButtonProps, {}, {
|
|
|
23
25
|
cancelButtonText?: string;
|
|
24
26
|
msg?: string;
|
|
25
27
|
};
|
|
28
|
+
throttle: number;
|
|
26
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
31
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import '../../chunk/
|
|
3
|
-
import {
|
|
2
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
3
|
+
import { a as ElCheckboxGroup } from '../../chunk/DSt2uDNE.mjs';
|
|
4
|
+
import { E as ElRadioGroup } from '../../chunk/BL8WhaLp.mjs';
|
|
4
5
|
import { defineComponent, computed, createBlock, openBlock, mergeProps, unref } from 'vue';
|
|
5
6
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
7
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IColorSwitcherProps {
|
|
2
|
+
darkStorageKey?: string;
|
|
3
|
+
storageKey?: string;
|
|
4
|
+
size?: string | number;
|
|
5
|
+
}
|
|
6
|
+
export interface IColorSwitcherEmits {
|
|
7
|
+
(e: 'change', value: string): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const PRESET_COLORS: readonly ["#409EFF", "#8B5CF6", "#EC4899", "#EAB308", "#0EA5E9", "#22C55E", "#52525B", "#14B8A6", "#1D4ED8", "#F97316", "#E11D48", "#262626", "#475569", "#6B7280"];
|
|
10
|
+
export declare const CSS_VARS: Record<string, string>;
|
|
11
|
+
export declare function applyTheme(color: string, isDark: boolean): void;
|
|
12
|
+
export declare function useTheme(storageKey: string, darkStorageKey: string): {
|
|
13
|
+
themeColor: import('@vueuse/core').RemovableRef<string>;
|
|
14
|
+
setTheme: (color: string) => void;
|
|
15
|
+
};
|