@wfrog/vc-ui 1.3.0 → 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.
Files changed (221) hide show
  1. package/dist/es/chunk/{CCmEeM7D.mjs → B3GxuXVE.mjs} +6 -6
  2. package/dist/es/chunk/BL8WhaLp.mjs +427 -0
  3. package/dist/es/chunk/{BiHWk71g.mjs → BPqrpkTb.mjs} +4 -4
  4. package/dist/es/chunk/{C_7t9blX.mjs → BZ1uhZQF.mjs} +1 -1
  5. package/dist/es/chunk/{-ga82G_B.mjs → BdVq9mV6.mjs} +1 -1
  6. package/dist/es/chunk/{DGGhWn1A.mjs → BfjuZmry.mjs} +6 -5
  7. package/dist/es/chunk/{BLLKi_0v.mjs → Bu3XHP55.mjs} +1 -1
  8. package/dist/es/chunk/{DEiqPcuO.mjs → BvNFaD5d.mjs} +3 -3
  9. package/dist/es/chunk/BxibBO68.mjs +5741 -0
  10. package/dist/es/chunk/{DO-mBaf5.mjs → By7FMB3I.mjs} +1 -43
  11. package/dist/es/chunk/{DATKTbFj.mjs → CGhekNBa.mjs} +5 -5
  12. package/dist/es/chunk/{plK2vnjp.mjs → CJ0afvkJ.mjs} +1 -1
  13. package/dist/es/chunk/{CtYp4FB7.mjs → CK5Bluh4.mjs} +2 -2
  14. package/dist/es/chunk/{Vv8g5_A1.mjs → CKZGL4_3.mjs} +9 -8
  15. package/dist/es/chunk/CNEMJL35.mjs +69 -0
  16. package/dist/es/chunk/{C9ldJ8Hh.mjs → CPCieLBG.mjs} +1 -1
  17. package/dist/es/chunk/{C50_dziC.mjs → CQz3lhyS.mjs} +2 -1
  18. package/dist/es/chunk/{Cekqdlxf.mjs → CbYM6R_O.mjs} +12 -77
  19. package/dist/es/chunk/{CQbpo0im.mjs → CboHfRXN.mjs} +5 -6
  20. package/dist/es/chunk/{BambM7zX.mjs → Cdh3HNZa.mjs} +2 -2
  21. package/dist/es/chunk/{aX4SRHmD.mjs → Cg-Krnly.mjs} +2 -1
  22. package/dist/es/chunk/{9qQNa4bM.mjs → Cjp0Czyu.mjs} +1 -1
  23. package/dist/es/chunk/Cmb_E8Ip.mjs +184 -0
  24. package/dist/es/chunk/{BIK5Djc_.mjs → Co77DVCw.mjs} +2 -2
  25. package/dist/es/chunk/CqTa_Vd-.mjs +375 -0
  26. package/dist/es/{components/dual-pane/dual-pane.mjs → chunk/CsjEhAYY.mjs} +11 -91
  27. package/dist/es/chunk/{BQyZW57B.mjs → CwXV7M2F.mjs} +3 -3
  28. package/dist/es/chunk/{b9dx0jdT.mjs → D1MHFKtN.mjs} +3 -3
  29. package/dist/es/chunk/{DskGUrkJ.mjs → D6m3vWpc.mjs} +2 -1
  30. package/dist/es/chunk/{4F1xxyju.mjs → D6nWUATi.mjs} +48 -2117
  31. package/dist/es/chunk/{C6bIuBQg.mjs → D7CQDxqy.mjs} +3 -3
  32. package/dist/es/chunk/{Dqk3gyUk.mjs → D9Lr0Bzb.mjs} +1 -374
  33. package/dist/es/chunk/{Xk5kfdyT.mjs → DAIuzoFs.mjs} +2 -1
  34. package/dist/es/chunk/{OVbHCQoq.mjs → DCS0eqqM.mjs} +3 -101
  35. package/dist/es/chunk/{BJTCqgn1.mjs → DDR6UjaC.mjs} +1 -1
  36. package/dist/es/chunk/{BKmk2ptO.mjs → DNsAO9iB.mjs} +2 -2
  37. package/dist/es/chunk/{-_x5oKYF.mjs → DQK0ezHm.mjs} +5 -4
  38. package/dist/es/chunk/{BQHHM_Gw.mjs → DQi1QPak.mjs} +30 -70
  39. package/dist/es/chunk/{BaqDgAvL.mjs → DSt2uDNE.mjs} +22 -434
  40. package/dist/es/chunk/DSw4GnC6.mjs +44 -0
  41. package/dist/es/chunk/DTbnchOm.mjs +94 -0
  42. package/dist/es/chunk/DViraU6I.mjs +45 -0
  43. package/dist/es/chunk/{C540ZOUa.mjs → DX84QR5M.mjs} +10 -9
  44. package/dist/es/chunk/DYKOYbzT.mjs +2003 -0
  45. package/dist/es/chunk/{D1PKXAql.mjs → D_F7nIja.mjs} +3 -4
  46. package/dist/es/chunk/{DcTh6n4x.mjs → D_Mvdscy.mjs} +5 -4
  47. package/dist/es/chunk/DhGOsWxx.mjs +6 -0
  48. package/dist/es/chunk/{DFxeI_lP.mjs → DhGcJR5p.mjs} +6 -6
  49. package/dist/es/chunk/DxxbB5jY.mjs +34 -0
  50. package/dist/es/chunk/EMeQxUfH.mjs +49 -0
  51. package/dist/es/chunk/{eN6VJ63C.mjs → F2ph6lWu.mjs} +9 -8
  52. package/dist/es/chunk/{Dn-BFXcJ.mjs → dN0VcQc2.mjs} +1 -1
  53. package/dist/es/chunk/{DTpr71Gd.mjs → e5i7OJY-.mjs} +4 -4
  54. package/dist/es/chunk/fueZ9sVu.mjs +890 -0
  55. package/dist/es/chunk/{CV2NA_2e.mjs → ipA7n6-J.mjs} +1 -1
  56. package/dist/es/chunk/{Dw-yyl2m.mjs → q2jRgbir.mjs} +2 -2
  57. package/dist/es/chunk/{C72pWnuz.mjs → w7VqVeWU.mjs} +5 -4
  58. package/dist/es/chunk/{DWcIzeMM.mjs → ytiKcA3H.mjs} +108 -10
  59. package/dist/es/chunk/{DFHjl3eL.mjs → yuIXvUxc.mjs} +1 -1
  60. package/dist/es/components/backbottom/backbottom.mjs +2 -2
  61. package/dist/es/components/button/button.d.ts +2 -1
  62. package/dist/es/components/button/button.mjs +68 -17
  63. package/dist/es/components/button/button.vue.d.ts +4 -1
  64. package/dist/es/components/choice/choice.mjs +3 -2
  65. package/dist/es/components/color-switcher/color-switcher.d.ts +15 -0
  66. package/dist/es/components/color-switcher/color-switcher.mjs +1215 -0
  67. package/dist/es/components/color-switcher/color-switcher.vue.d.ts +122 -0
  68. package/dist/es/components/color-switcher/index.css +5 -0
  69. package/dist/es/components/color-switcher/index.d.ts +4 -0
  70. package/dist/es/components/color-switcher/index.mjs +6 -0
  71. package/dist/es/components/cropper/cropper.mjs +12 -11
  72. package/dist/es/components/cropper/cropper.vue.d.ts +2 -2
  73. package/dist/es/components/currency/currency.mjs +7 -7
  74. package/dist/es/components/dark-switcher/dark-switcher.d.ts +10 -0
  75. package/dist/es/components/dark-switcher/dark-switcher.mjs +87 -0
  76. package/dist/es/components/dark-switcher/dark-switcher.vue.d.ts +12 -0
  77. package/dist/es/components/dark-switcher/index.css +11 -0
  78. package/dist/es/components/dark-switcher/index.d.ts +4 -0
  79. package/dist/es/components/dark-switcher/index.mjs +6 -0
  80. package/dist/es/components/daterange-picker/daterange-picker.mjs +21 -20
  81. package/dist/es/components/dialog/dialog.d.ts +1 -1
  82. package/dist/es/components/dialog/dialog.mjs +46 -61
  83. package/dist/es/components/dialog/dialog.vue.d.ts +1 -3
  84. package/dist/es/components/dialog/index.css +31 -32
  85. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +12 -12
  86. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +5 -5
  87. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +14 -13
  88. package/dist/es/components/document.vue.d.ts +14 -0
  89. package/dist/es/components/drag-verify/drag-verify.mjs +14 -14
  90. package/dist/es/components/drag-verify/index.css +11 -11
  91. package/dist/es/components/drawer/drawer.mjs +14 -14
  92. package/dist/es/components/drawer/index.css +16 -15
  93. package/dist/es/components/easy-pagination/easy-pagination.mjs +4 -4
  94. package/dist/es/components/el-icon/el-icon.mjs +2 -2
  95. package/dist/es/components/example-wrapper.vue.d.ts +19 -0
  96. package/dist/es/components/explorer/docs/data.d.ts +13 -0
  97. package/dist/es/components/explorer/explorer.d.ts +12 -0
  98. package/dist/es/components/explorer/explorer.mjs +64 -0
  99. package/dist/es/components/explorer/explorer.vue.d.ts +183 -0
  100. package/dist/es/components/explorer/explorer2.mjs +6 -0
  101. package/dist/es/components/explorer/index.css +14 -0
  102. package/dist/es/components/explorer/index.d.ts +4 -0
  103. package/dist/es/components/explorer/index.mjs +6 -0
  104. package/dist/es/components/explorer-column-table/explorer-column-table.d.ts +23 -0
  105. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +2948 -0
  106. package/dist/es/components/explorer-column-table/explorer-column-table.vue.d.ts +1486 -0
  107. package/dist/es/components/explorer-column-table/index.css +49 -0
  108. package/dist/es/components/explorer-column-table/index.d.ts +4 -0
  109. package/dist/es/components/explorer-column-table/index.mjs +6 -0
  110. package/dist/es/components/explorer-filter/explorer-filter.d.ts +12 -0
  111. package/dist/es/components/explorer-filter/explorer-filter.mjs +81 -0
  112. package/dist/es/components/explorer-filter/explorer-filter.vue.d.ts +14 -0
  113. package/dist/es/components/explorer-filter/index.css +7 -0
  114. package/dist/es/components/explorer-filter/index.d.ts +4 -0
  115. package/dist/es/components/explorer-filter/index.mjs +6 -0
  116. package/dist/es/components/explorer-footer/explorer-footer.d.ts +5 -0
  117. package/dist/es/components/explorer-footer/explorer-footer.mjs +92 -0
  118. package/dist/es/components/explorer-footer/explorer-footer.vue.d.ts +21 -0
  119. package/dist/es/components/explorer-footer/index.css +7 -0
  120. package/dist/es/components/explorer-footer/index.d.ts +4 -0
  121. package/dist/es/components/explorer-footer/index.mjs +6 -0
  122. package/dist/es/components/explorer-list/explorer-list.d.ts +23 -0
  123. package/dist/es/components/explorer-list/explorer-list.mjs +157 -0
  124. package/dist/es/components/explorer-list/explorer-list.vue.d.ts +38 -0
  125. package/dist/es/components/explorer-list/index.css +47 -0
  126. package/dist/es/components/explorer-list/index.d.ts +4 -0
  127. package/dist/es/components/explorer-list/index.mjs +6 -0
  128. package/dist/es/components/explorer-panel/explorer-panel.d.ts +14 -0
  129. package/dist/es/components/explorer-panel/explorer-panel.mjs +77 -0
  130. package/dist/es/components/explorer-panel/explorer-panel.vue.d.ts +253 -0
  131. package/dist/es/components/explorer-panel/explorer-panel2.mjs +6 -0
  132. package/dist/es/components/explorer-panel/index.css +12 -0
  133. package/dist/es/components/explorer-panel/index.d.ts +4 -0
  134. package/dist/es/components/explorer-panel/index.mjs +6 -0
  135. package/dist/es/components/explorer-query/explorer-query.d.ts +11 -0
  136. package/dist/es/components/explorer-query/explorer-query.mjs +2376 -0
  137. package/dist/es/components/explorer-query/explorer-query.vue.d.ts +396 -0
  138. package/dist/es/components/explorer-query/index.css +36 -0
  139. package/dist/es/components/explorer-query/index.d.ts +4 -0
  140. package/dist/es/components/explorer-query/index.mjs +6 -0
  141. package/dist/es/components/explorer-table/explorer-table.d.ts +11 -0
  142. package/dist/es/components/explorer-table/explorer-table.mjs +116 -0
  143. package/dist/es/components/explorer-table/explorer-table.vue.d.ts +25 -0
  144. package/dist/es/components/explorer-table/index.css +18 -0
  145. package/dist/es/components/explorer-table/index.d.ts +4 -0
  146. package/dist/es/components/explorer-table/index.mjs +6 -0
  147. package/dist/es/components/explorer-tools/components/column-setter.vue.d.ts +3028 -0
  148. package/dist/es/components/explorer-tools/explorer-tools.d.ts +35 -0
  149. package/dist/es/components/explorer-tools/explorer-tools.mjs +585 -0
  150. package/dist/es/components/explorer-tools/explorer-tools.vue.d.ts +43 -0
  151. package/dist/es/components/explorer-tools/index.css +60 -0
  152. package/dist/es/components/explorer-tools/index.d.ts +4 -0
  153. package/dist/es/components/explorer-tools/index.mjs +6 -0
  154. package/dist/es/components/explorer-tree/explorer-tree.d.ts +22 -0
  155. package/dist/es/components/explorer-tree/explorer-tree.mjs +174 -0
  156. package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +2055 -0
  157. package/dist/es/components/explorer-tree/index.css +55 -0
  158. package/dist/es/components/explorer-tree/index.d.ts +4 -0
  159. package/dist/es/components/explorer-tree/index.mjs +6 -0
  160. package/dist/es/components/icon/icon2.mjs +2 -2
  161. package/dist/es/components/icon-picker/components/collections.vue.d.ts +242 -196
  162. package/dist/es/components/icon-picker/icon-picker.mjs +38 -921
  163. package/dist/es/components/icon-picker/index.css +31 -29
  164. package/dist/es/components/iconify-icon/iconify-icon.mjs +2 -2
  165. package/dist/es/components/image/image.mjs +5 -5
  166. package/dist/es/components/image/image.vue.d.ts +7 -7
  167. package/dist/es/components/input/index.css +4 -5
  168. package/dist/es/components/input/input.mjs +7 -7
  169. package/dist/es/components/input/input.vue.d.ts +3 -3
  170. package/dist/es/components/input-number/input-number.mjs +5 -5
  171. package/dist/es/components/pca-picker/components/c.vue.d.ts +3 -3
  172. package/dist/es/components/pca-picker/index.css +4 -4
  173. package/dist/es/components/pca-picker/pca-picker.mjs +21 -209
  174. package/dist/es/components/pca-picker/pca-picker.vue.d.ts +10 -10
  175. package/dist/es/components/screenfull/screenfull.mjs +4 -4
  176. package/dist/es/components/scrollbar/index.css +6 -5
  177. package/dist/es/components/scrollbar/scrollbar.d.ts +2 -0
  178. package/dist/es/components/scrollbar/scrollbar.mjs +17 -12
  179. package/dist/es/components/scrollbar/scrollbar.vue.d.ts +156 -134
  180. package/dist/es/components/select/select.mjs +7 -7
  181. package/dist/es/components/single-player/index.css +11 -11
  182. package/dist/es/components/single-player/single-player.mjs +20 -19
  183. package/dist/es/components/splitter/index.d.ts +4 -0
  184. package/dist/es/components/splitter/index.mjs +6 -0
  185. package/dist/es/components/splitter/splitter.d.ts +4 -0
  186. package/dist/es/components/splitter/splitter.mjs +28 -0
  187. package/dist/es/components/{dual-pane/dual-pane.vue.d.ts → splitter/splitter.vue.d.ts} +3 -5
  188. package/dist/es/components/splitter-panel/index.css +5 -0
  189. package/dist/es/components/splitter-panel/index.d.ts +4 -0
  190. package/dist/es/components/splitter-panel/index.mjs +6 -0
  191. package/dist/es/components/splitter-panel/splitter-panel.d.ts +3 -0
  192. package/dist/es/components/splitter-panel/splitter-panel.mjs +49 -0
  193. package/dist/es/components/splitter-panel/splitter-panel.vue.d.ts +20 -0
  194. package/dist/es/components/svg-icon/svg-icon.mjs +2 -2
  195. package/dist/es/components/switch/switch.mjs +2 -2
  196. package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +2 -2
  197. package/dist/es/components/tags/tags.mjs +12 -11
  198. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +4 -4
  199. package/dist/es/components/text-ellipsis/text-ellipsis.vue.d.ts +1 -1
  200. package/dist/es/components/thousand-input/thousand-input.mjs +3 -3
  201. package/dist/es/components/thousand-input/thousand-input.vue.d.ts +8 -8
  202. package/dist/es/components/tinymce/index.css +1 -1
  203. package/dist/es/components/tinymce/tinymce.d.ts +1 -0
  204. package/dist/es/components/tinymce/tinymce.mjs +20 -11
  205. package/dist/es/components/tinymce/tinymce.vue.d.ts +1 -0
  206. package/dist/es/components/tree-picker/popover-cascader.css +1 -1
  207. package/dist/es/components/tree-picker/tree-picker.mjs +11 -10
  208. package/dist/es/components/tree-picker/tree-picker.vue.d.ts +10 -10
  209. package/dist/es/components/upload-file/upload-file.mjs +2 -2
  210. package/dist/es/index.d.ts +14 -1
  211. package/dist/es/index.mjs +69 -39
  212. package/dist/es/use/usePersistentModel/index.d.ts +4 -0
  213. package/dist/es/use/usePersistentModel/index.mjs +19 -0
  214. package/dist/global.d.ts +14 -1
  215. package/dist/index.css +450 -123
  216. package/package.json +4 -1
  217. package/dist/es/chunk/DVNTpOBR.mjs +0 -4
  218. package/dist/es/components/dual-pane/dual-pane.d.ts +0 -8
  219. package/dist/es/components/dual-pane/index.css +0 -8
  220. package/dist/es/components/dual-pane/index.d.ts +0 -4
  221. package/dist/es/components/dual-pane/index.mjs +0 -6
@@ -1,4 +1,4 @@
1
- import { b as baseClone } from './D1PKXAql.mjs';
1
+ import { b as baseClone } from './D_F7nIja.mjs';
2
2
 
3
3
  /** Used to compose bitmasks for cloning. */
4
4
  var CLONE_DEEP_FLAG = 1,
@@ -1,4 +1,4 @@
1
- import { g as getNative, r as root, h as isLength, j as isFunction, e as isObjectLike, f as baseGetTag, k as freeGlobal, l as isArguments, m as isIndex, b as isArray, L as ListCache, M as Map, n as MapCache, o as arrayPush, p as toSource, S as Symbol$1, q as eq } from './DWcIzeMM.mjs';
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, baseIsEqual as b, isPrototype as c, arrayLikeKeys as d, baseGetAllKeys as e, getTag as f, getSymbols as g, baseUnary as h, isEqual as i, isBuffer as j, keys as k, getAllKeys as l, nodeUtil as n, overArg as o, stubArray as s };
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 { c as buildProps, u as useNamespace, i as isArray, f as isNumber, h as isString, d as definePropType } from './DO-mBaf5.mjs';
3
- import { P as PatchFlags, i as isFragment, a as isValidElementNode } from './C_7t9blX.mjs';
4
- import { c as componentSizes } from './C9ldJ8Hh.mjs';
5
- import { w as withInstall } from './Dn-BFXcJ.mjs';
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$5 = Object.prototype;
14
+ var objectProto$6 = Object.prototype;
15
15
 
16
16
  /** Used to check objects for own properties. */
17
- var hasOwnProperty$4 = objectProto$5.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$5.toString;
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$4.call(value, symToStringTag$1),
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$4 = Object.prototype;
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$4.toString;
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$3 = Object.prototype;
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$3 = objectProto$3.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$3).replace(reRegExpChar, '\\$&')
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
- export { ListCache as L, Map as M, Symbol$1 as S, arrayMap as a, isArray as b, isKey as c, baseGet as d, isObjectLike as e, baseGetTag as f, getNative as g, isLength as h, isObject as i, isFunction as j, freeGlobal as k, isArguments as l, isIndex as m, MapCache as n, arrayPush as o, toSource as p, eq as q, root as r, isSymbol as s, toKey as t, castPath as u };
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,5 +1,5 @@
1
1
  import { watch, unref } from 'vue';
2
- import { e as debugWarn } from './DO-mBaf5.mjs';
2
+ import { a as debugWarn } from './By7FMB3I.mjs';
3
3
 
4
4
  const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
5
5
  watch(
@@ -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/DO-mBaf5.mjs';
2
+ import '../../chunk/By7FMB3I.mjs';
3
3
  import { CaretBottom } from '@element-plus/icons-vue';
4
- import { E as ElIcon } from '../../chunk/b9dx0jdT.mjs';
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
- time?: number;
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 { c as buildProps, u as useNamespace } from '../../chunk/DO-mBaf5.mjs';
3
- import { f as useTooltipTriggerProps, u as useTooltipContentProps, a as ElTooltip } from '../../chunk/DGGhWn1A.mjs';
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/Dqk3gyUk.mjs';
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/b9dx0jdT.mjs';
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/Dn-BFXcJ.mjs';
15
- import { u as useLocale } from '../../chunk/plK2vnjp.mjs';
16
- import { a as addUnit } from '../../chunk/C50_dziC.mjs';
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
- time: { default: 800 },
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.time);
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.time);
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
- createVNode(_component_ElButton, mergeProps(_ctx.$attrs, {
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
- }, 8, ["title", "confirm-button-text", "cancel-button-text", "popper-class", "onConfirm"])) : (openBlock(), createBlock(_component_ElButton, mergeProps({ key: 1 }, _ctx.$attrs, {
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", _hoisted_2, [
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
- time: number;
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/DO-mBaf5.mjs';
3
- import { E as ElRadioGroup, a as ElCheckboxGroup } from '../../chunk/BaqDgAvL.mjs';
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
+ };