@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
@@ -142,48 +142,6 @@ function fromPairs(pairs) {
142
142
  return result;
143
143
  }
144
144
 
145
- /**
146
- * Checks if `value` is `null` or `undefined`.
147
- *
148
- * @static
149
- * @memberOf _
150
- * @since 4.0.0
151
- * @category Lang
152
- * @param {*} value The value to check.
153
- * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
154
- * @example
155
- *
156
- * _.isNil(null);
157
- * // => true
158
- *
159
- * _.isNil(void 0);
160
- * // => true
161
- *
162
- * _.isNil(NaN);
163
- * // => false
164
- */
165
- function isNil(value) {
166
- return value == null;
167
- }
168
-
169
- const isUndefined = (val) => val === void 0;
170
- const isBoolean = (val) => typeof val === "boolean";
171
- const isNumber = (val) => typeof val === "number";
172
- const isEmpty = (val) => !val && val !== 0 || isArray(val) && val.length === 0 || isObject(val) && !Object.keys(val).length;
173
- const isElement = (e) => {
174
- if (typeof Element === "undefined")
175
- return false;
176
- return e instanceof Element;
177
- };
178
- const isPropAbsent = (prop) => isNil(prop);
179
- const isStringNumber = (val) => {
180
- if (!isString(val)) {
181
- return false;
182
- }
183
- return !Number.isNaN(Number(val));
184
- };
185
- const isWindow = (val) => val === window;
186
-
187
145
  class ElementPlusError extends Error {
188
146
  constructor(m) {
189
147
  super(m);
@@ -246,4 +204,4 @@ const buildProps = (props) => fromPairs(
246
204
  ])
247
205
  );
248
206
 
249
- export { isStringNumber as A, camelize as B, namespaceContextKey as C, NOOP as N, isEmpty as a, isDate as b, buildProps as c, definePropType as d, debugWarn as e, isNumber as f, isUndefined as g, isString as h, isArray as i, isFunction as j, isNil as k, isPlainObject as l, isObject as m, fromPairs as n, isElement as o, isWindow as p, isBoolean as q, buildProp as r, useGetDerivedNamespace as s, throwError as t, useNamespace as u, isPropAbsent as v, hyphenate as w, defaultNamespace as x, isPromise as y, hasOwn as z };
207
+ export { NOOP as N, debugWarn as a, buildProps as b, isArray as c, definePropType as d, isDate as e, isFunction as f, isPlainObject as g, hasOwn as h, isString as i, isObject as j, fromPairs as k, buildProp as l, useGetDerivedNamespace as m, hyphenate as n, defaultNamespace as o, isPromise as p, camelize as q, namespaceContextKey as r, throwError as t, useNamespace as u };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, useSlots, ref, computed, createBlock, openBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, renderSlot, resolveDynamicComponent, createElementBlock, createTextVNode, toDisplayString, Fragment, createVNode, vShow } from 'vue';
2
- import { E as ElIcon } from './b9dx0jdT.mjs';
2
+ import { E as ElIcon } from './D1MHFKtN.mjs';
3
3
  import { T as TypeComponentsMap, a as TypeComponents } from '../components/icon/icon2.mjs';
4
- import { c as buildProps, u as useNamespace, e as debugWarn } from './DO-mBaf5.mjs';
5
- import { k as keysOf } from './DVNTpOBR.mjs';
6
- import { _ as _export_sfc, w as withInstall } from './Dn-BFXcJ.mjs';
7
- import { f as flattedChildren, b as isComment } from './C_7t9blX.mjs';
4
+ import { b as buildProps, u as useNamespace, a as debugWarn } from './By7FMB3I.mjs';
5
+ import { k as keysOf } from './EMeQxUfH.mjs';
6
+ import { _ as _export_sfc, w as withInstall } from './dN0VcQc2.mjs';
7
+ import { f as flattedChildren, b as isComment } from './BZ1uhZQF.mjs';
8
8
 
9
9
  const alertEffects = ["light", "dark"];
10
10
  const alertProps = buildProps({
@@ -1,5 +1,5 @@
1
1
  import { inject, ref, computed, unref, isRef } from 'vue';
2
- import { d as baseGet } from './DWcIzeMM.mjs';
2
+ import { q as baseGet } from './ytiKcA3H.mjs';
3
3
 
4
4
  /**
5
5
  * Gets the value at `path` of `object`. If the resolved value is
@@ -1,6 +1,6 @@
1
1
  import { getCurrentInstance, inject, ref, computed } from 'vue';
2
- import { c as buildProps, d as definePropType, j as isFunction, i as isArray, e as debugWarn } from './DO-mBaf5.mjs';
3
- import { i as isEqual } from './Dw-yyl2m.mjs';
2
+ import { b as buildProps, d as definePropType, f as isFunction, c as isArray, a as debugWarn } from './By7FMB3I.mjs';
3
+ import { i as isEqual } from './q2jRgbir.mjs';
4
4
 
5
5
  const emptyValuesContextKey = Symbol("emptyValuesContextKey");
6
6
  const SCOPE = "use-empty-values";
@@ -1,18 +1,19 @@
1
1
  import { defineComponent, useAttrs, useSlots, computed, shallowRef, ref, watch, nextTick, onMounted, toRef, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, mergeProps, withModifiers, toDisplayString } from 'vue';
2
2
  import { useResizeObserver, isClient } from '@vueuse/core';
3
- import { E as ElIcon } from './b9dx0jdT.mjs';
3
+ import { E as ElIcon } from './D1MHFKtN.mjs';
4
4
  import { CircleClose, View, Hide } from '@element-plus/icons-vue';
5
5
  import { i as isFirefox } from './CsLIbnzG.mjs';
6
- import { f as isNumber, h as isString, c as buildProps, d as definePropType, u as useNamespace, k as isNil, e as debugWarn, N as NOOP, m as isObject } from './DO-mBaf5.mjs';
7
- import { u as useSizeProp } from './C9ldJ8Hh.mjs';
6
+ import { b as isNumber, i as isNil } from './DViraU6I.mjs';
7
+ import { u as useSizeProp } from './CPCieLBG.mjs';
8
8
  import { i as iconPropType, V as ValidateComponentsMap } from '../components/icon/icon2.mjs';
9
9
  import { m as mutable } from './B-rxnVJv.mjs';
10
- import { u as useAriaProps } from './OVbHCQoq.mjs';
10
+ import { u as useAriaProps } from './DCS0eqqM.mjs';
11
11
  import { U as UPDATE_MODEL_EVENT, C as CHANGE_EVENT, I as INPUT_EVENT } from './Ct6q2FXg.mjs';
12
- import { _ as _export_sfc, w as withInstall } from './Dn-BFXcJ.mjs';
13
- import { u as useAttrs$1 } from './BJTCqgn1.mjs';
14
- import { c as useFormSize, b as useFormDisabled, u as useFormItem, a as useFormItemInputId } from './DEiqPcuO.mjs';
15
- import { u as useFocusController, a as useComposition } from './Xk5kfdyT.mjs';
12
+ import { i as isString, b as buildProps, d as definePropType, u as useNamespace, a as debugWarn, N as NOOP, j as isObject } from './By7FMB3I.mjs';
13
+ import { _ as _export_sfc, w as withInstall } from './dN0VcQc2.mjs';
14
+ import { u as useAttrs$1 } from './DDR6UjaC.mjs';
15
+ import { c as useFormSize, a as useFormDisabled, u as useFormItem, b as useFormItemInputId } from './BvNFaD5d.mjs';
16
+ import { u as useFocusController, a as useComposition } from './DAIuzoFs.mjs';
16
17
 
17
18
  let hiddenTextarea = void 0;
18
19
  const HIDDEN_STYLE = {
@@ -0,0 +1,69 @@
1
+ import { d as debounce } from './Cdh3HNZa.mjs';
2
+ import { a as isObject } from './ytiKcA3H.mjs';
3
+
4
+ /** Error message constants. */
5
+ var FUNC_ERROR_TEXT = 'Expected a function';
6
+
7
+ /**
8
+ * Creates a throttled function that only invokes `func` at most once per
9
+ * every `wait` milliseconds. The throttled function comes with a `cancel`
10
+ * method to cancel delayed `func` invocations and a `flush` method to
11
+ * immediately invoke them. Provide `options` to indicate whether `func`
12
+ * should be invoked on the leading and/or trailing edge of the `wait`
13
+ * timeout. The `func` is invoked with the last arguments provided to the
14
+ * throttled function. Subsequent calls to the throttled function return the
15
+ * result of the last `func` invocation.
16
+ *
17
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
18
+ * invoked on the trailing edge of the timeout only if the throttled function
19
+ * is invoked more than once during the `wait` timeout.
20
+ *
21
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
22
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
23
+ *
24
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
25
+ * for details over the differences between `_.throttle` and `_.debounce`.
26
+ *
27
+ * @static
28
+ * @memberOf _
29
+ * @since 0.1.0
30
+ * @category Function
31
+ * @param {Function} func The function to throttle.
32
+ * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
33
+ * @param {Object} [options={}] The options object.
34
+ * @param {boolean} [options.leading=true]
35
+ * Specify invoking on the leading edge of the timeout.
36
+ * @param {boolean} [options.trailing=true]
37
+ * Specify invoking on the trailing edge of the timeout.
38
+ * @returns {Function} Returns the new throttled function.
39
+ * @example
40
+ *
41
+ * // Avoid excessively updating the position while scrolling.
42
+ * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
43
+ *
44
+ * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
45
+ * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
46
+ * jQuery(element).on('click', throttled);
47
+ *
48
+ * // Cancel the trailing throttled invocation.
49
+ * jQuery(window).on('popstate', throttled.cancel);
50
+ */
51
+ function throttle(func, wait, options) {
52
+ var leading = true,
53
+ trailing = true;
54
+
55
+ if (typeof func != 'function') {
56
+ throw new TypeError(FUNC_ERROR_TEXT);
57
+ }
58
+ if (isObject(options)) {
59
+ leading = 'leading' in options ? !!options.leading : leading;
60
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
61
+ }
62
+ return debounce(func, wait, {
63
+ 'leading': leading,
64
+ 'maxWait': wait,
65
+ 'trailing': trailing
66
+ });
67
+ }
68
+
69
+ export { throttle as t };
@@ -1,5 +1,5 @@
1
1
  import { inject, computed, unref } from 'vue';
2
- import { r as buildProp } from './DO-mBaf5.mjs';
2
+ import { l as buildProp } from './By7FMB3I.mjs';
3
3
 
4
4
  const componentSizes = ["", "default", "small", "large"];
5
5
 
@@ -1,5 +1,6 @@
1
- import { f as isNumber, A as isStringNumber, h as isString, e as debugWarn, B as camelize } from './DO-mBaf5.mjs';
1
+ import { b as isNumber, h as isStringNumber } from './DViraU6I.mjs';
2
2
  import { isClient } from '@vueuse/core';
3
+ import { i as isString, a as debugWarn, q as camelize } from './By7FMB3I.mjs';
3
4
 
4
5
  const SCOPE = "utils/dom/style";
5
6
  const classNameToArray = (cls = "") => cls.split(" ").filter((item) => !!item.trim());
@@ -1,85 +1,20 @@
1
1
  import { defineComponent, markRaw, ref, effectScope, computed, shallowRef, watch, nextTick, onMounted, createBlock, openBlock, unref, withCtx, createVNode, Transition, createElementVNode, normalizeStyle, normalizeClass, createCommentVNode, createElementBlock, renderSlot, withModifiers, Fragment, createTextVNode, toDisplayString, resolveDynamicComponent, useAttrs, mergeProps, createSlots, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { clamp, useEventListener, isClient, useThrottleFn, useIntersectionObserver } from '@vueuse/core';
3
- import { b as ElTeleport, d as ElFocusTrap } from './DGGhWn1A.mjs';
4
- import { E as ElIcon } from './b9dx0jdT.mjs';
3
+ import { b as ElTeleport, d as ElFocusTrap } from './BfjuZmry.mjs';
4
+ import { E as ElIcon } from './D1MHFKtN.mjs';
5
5
  import { ScaleToOriginal, FullScreen, Close, ArrowLeft, ArrowRight, ZoomOut, ZoomIn, RefreshLeft, RefreshRight } from '@element-plus/icons-vue';
6
- import { f as isNumber, c as buildProps, d as definePropType, u as useNamespace, n as fromPairs, i as isArray, o as isElement, h as isString, p as isWindow } from './DO-mBaf5.mjs';
6
+ import { b as buildProps, d as definePropType, u as useNamespace, k as fromPairs, c as isArray, i as isString } from './By7FMB3I.mjs';
7
7
  import { m as mutable } from './B-rxnVJv.mjs';
8
- import { _ as _export_sfc, w as withInstall } from './Dn-BFXcJ.mjs';
9
- import { u as useLocale } from './plK2vnjp.mjs';
10
- import { u as useZIndex } from './DskGUrkJ.mjs';
11
- import { u as useLockscreen } from './C6bIuBQg.mjs';
8
+ import { b as isNumber, f as isElement, g as isWindow } from './DViraU6I.mjs';
9
+ import { _ as _export_sfc, w as withInstall } from './dN0VcQc2.mjs';
10
+ import { u as useLocale } from './CJ0afvkJ.mjs';
11
+ import { u as useZIndex } from './D6m3vWpc.mjs';
12
+ import { u as useLockscreen } from './D7CQDxqy.mjs';
12
13
  import { g as getEventCode, E as EVENT_CODE } from './BTpNRPQW.mjs';
13
- import { k as keysOf } from './DVNTpOBR.mjs';
14
- import { d as debounce } from './BambM7zX.mjs';
15
- import { i as isObject } from './DWcIzeMM.mjs';
16
- import { u as useAttrs$1 } from './BJTCqgn1.mjs';
17
- import { g as getScrollContainer } from './CQbpo0im.mjs';
18
-
19
- /** Error message constants. */
20
- var FUNC_ERROR_TEXT = 'Expected a function';
21
-
22
- /**
23
- * Creates a throttled function that only invokes `func` at most once per
24
- * every `wait` milliseconds. The throttled function comes with a `cancel`
25
- * method to cancel delayed `func` invocations and a `flush` method to
26
- * immediately invoke them. Provide `options` to indicate whether `func`
27
- * should be invoked on the leading and/or trailing edge of the `wait`
28
- * timeout. The `func` is invoked with the last arguments provided to the
29
- * throttled function. Subsequent calls to the throttled function return the
30
- * result of the last `func` invocation.
31
- *
32
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
33
- * invoked on the trailing edge of the timeout only if the throttled function
34
- * is invoked more than once during the `wait` timeout.
35
- *
36
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
37
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
38
- *
39
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
40
- * for details over the differences between `_.throttle` and `_.debounce`.
41
- *
42
- * @static
43
- * @memberOf _
44
- * @since 0.1.0
45
- * @category Function
46
- * @param {Function} func The function to throttle.
47
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
48
- * @param {Object} [options={}] The options object.
49
- * @param {boolean} [options.leading=true]
50
- * Specify invoking on the leading edge of the timeout.
51
- * @param {boolean} [options.trailing=true]
52
- * Specify invoking on the trailing edge of the timeout.
53
- * @returns {Function} Returns the new throttled function.
54
- * @example
55
- *
56
- * // Avoid excessively updating the position while scrolling.
57
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
58
- *
59
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
60
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
61
- * jQuery(element).on('click', throttled);
62
- *
63
- * // Cancel the trailing throttled invocation.
64
- * jQuery(window).on('popstate', throttled.cancel);
65
- */
66
- function throttle(func, wait, options) {
67
- var leading = true,
68
- trailing = true;
69
-
70
- if (typeof func != 'function') {
71
- throw new TypeError(FUNC_ERROR_TEXT);
72
- }
73
- if (isObject(options)) {
74
- leading = 'leading' in options ? !!options.leading : leading;
75
- trailing = 'trailing' in options ? !!options.trailing : trailing;
76
- }
77
- return debounce(func, wait, {
78
- 'leading': leading,
79
- 'maxWait': wait,
80
- 'trailing': trailing
81
- });
82
- }
14
+ import { k as keysOf } from './EMeQxUfH.mjs';
15
+ import { t as throttle } from './CNEMJL35.mjs';
16
+ import { u as useAttrs$1 } from './DDR6UjaC.mjs';
17
+ import { c as getScrollContainer } from './CboHfRXN.mjs';
83
18
 
84
19
  const imageViewerProps = buildProps({
85
20
  urlList: {
@@ -1,6 +1,8 @@
1
1
  import { isClient } from '@vueuse/core';
2
- import { p as isWindow, j as isFunction } from './DO-mBaf5.mjs';
3
- import { g as getStyle } from './C50_dziC.mjs';
2
+ import { g as isWindow } from './DViraU6I.mjs';
3
+ import { r as rAF, c as cAF } from './DhGOsWxx.mjs';
4
+ import { g as getStyle } from './CQz3lhyS.mjs';
5
+ import { f as isFunction } from './By7FMB3I.mjs';
4
6
 
5
7
  function easeInOutCubic(t, b, c, d) {
6
8
  const cc = c - b;
@@ -11,9 +13,6 @@ function easeInOutCubic(t, b, c, d) {
11
13
  return cc / 2 * ((t -= 2) * t * t + 2) + b;
12
14
  }
13
15
 
14
- const rAF = (fn) => isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
15
- const cAF = (handle) => isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle);
16
-
17
16
  const isScroll = (el, isVertical) => {
18
17
  if (!isClient)
19
18
  return false;
@@ -126,4 +125,4 @@ const getScrollTop = (container) => {
126
125
  return container.scrollTop;
127
126
  };
128
127
 
129
- export { getScrollElement as a, animateScrollTo as b, cAF as c, getScrollTop as d, getScrollBarWidth as e, getScrollContainer as g, rAF as r, scrollIntoView as s };
128
+ export { animateScrollTo as a, getScrollTop as b, getScrollContainer as c, getScrollBarWidth as d, getScrollElement as g, scrollIntoView as s };
@@ -1,5 +1,5 @@
1
- import { r as root, i as isObject } from './DWcIzeMM.mjs';
2
- import { t as toNumber } from './-ga82G_B.mjs';
1
+ import { r as root, a as isObject } from './ytiKcA3H.mjs';
2
+ import { t as toNumber } from './BdVq9mV6.mjs';
3
3
 
4
4
  /**
5
5
  * Gets the timestamp of the number of milliseconds that have elapsed since
@@ -1,5 +1,6 @@
1
1
  import { isClient } from '@vueuse/core';
2
- import { i as isArray, o as isElement } from './DO-mBaf5.mjs';
2
+ import { c as isArray } from './By7FMB3I.mjs';
3
+ import { f as isElement } from './DViraU6I.mjs';
3
4
 
4
5
  const nodeList = /* @__PURE__ */ new Map();
5
6
  if (isClient) {
@@ -1,4 +1,4 @@
1
- import { j as isFunction } from './DO-mBaf5.mjs';
1
+ import { f as isFunction } from './By7FMB3I.mjs';
2
2
 
3
3
  const REPEAT_INTERVAL = 100;
4
4
  const REPEAT_DELAY = 600;
@@ -0,0 +1,184 @@
1
+ import { b as baseFlatten } from './DCS0eqqM.mjs';
2
+ import { p as arrayMap, f as isArray } from './ytiKcA3H.mjs';
3
+ import { b as baseIteratee } from './BPqrpkTb.mjs';
4
+ import { k as keys, a as isArrayLike } from './q2jRgbir.mjs';
5
+
6
+ /**
7
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
8
+ *
9
+ * @private
10
+ * @param {boolean} [fromRight] Specify iterating from right to left.
11
+ * @returns {Function} Returns the new base function.
12
+ */
13
+ function createBaseFor(fromRight) {
14
+ return function(object, iteratee, keysFunc) {
15
+ var index = -1,
16
+ iterable = Object(object),
17
+ props = keysFunc(object),
18
+ length = props.length;
19
+
20
+ while (length--) {
21
+ var key = props[++index];
22
+ if (iteratee(iterable[key], key, iterable) === false) {
23
+ break;
24
+ }
25
+ }
26
+ return object;
27
+ };
28
+ }
29
+
30
+ /**
31
+ * The base implementation of `baseForOwn` which iterates over `object`
32
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
33
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
34
+ *
35
+ * @private
36
+ * @param {Object} object The object to iterate over.
37
+ * @param {Function} iteratee The function invoked per iteration.
38
+ * @param {Function} keysFunc The function to get the keys of `object`.
39
+ * @returns {Object} Returns `object`.
40
+ */
41
+ var baseFor = createBaseFor();
42
+
43
+ /**
44
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
45
+ *
46
+ * @private
47
+ * @param {Object} object The object to iterate over.
48
+ * @param {Function} iteratee The function invoked per iteration.
49
+ * @returns {Object} Returns `object`.
50
+ */
51
+ function baseForOwn(object, iteratee) {
52
+ return object && baseFor(object, iteratee, keys);
53
+ }
54
+
55
+ /**
56
+ * Creates a `baseEach` or `baseEachRight` function.
57
+ *
58
+ * @private
59
+ * @param {Function} eachFunc The function to iterate over a collection.
60
+ * @param {boolean} [fromRight] Specify iterating from right to left.
61
+ * @returns {Function} Returns the new base function.
62
+ */
63
+ function createBaseEach(eachFunc, fromRight) {
64
+ return function(collection, iteratee) {
65
+ if (collection == null) {
66
+ return collection;
67
+ }
68
+ if (!isArrayLike(collection)) {
69
+ return eachFunc(collection, iteratee);
70
+ }
71
+ var length = collection.length,
72
+ index = -1,
73
+ iterable = Object(collection);
74
+
75
+ while ((++index < length)) {
76
+ if (iteratee(iterable[index], index, iterable) === false) {
77
+ break;
78
+ }
79
+ }
80
+ return collection;
81
+ };
82
+ }
83
+
84
+ /**
85
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
86
+ *
87
+ * @private
88
+ * @param {Array|Object} collection The collection to iterate over.
89
+ * @param {Function} iteratee The function invoked per iteration.
90
+ * @returns {Array|Object} Returns `collection`.
91
+ */
92
+ var baseEach = createBaseEach(baseForOwn);
93
+
94
+ /**
95
+ * The base implementation of `_.map` without support for iteratee shorthands.
96
+ *
97
+ * @private
98
+ * @param {Array|Object} collection The collection to iterate over.
99
+ * @param {Function} iteratee The function invoked per iteration.
100
+ * @returns {Array} Returns the new mapped array.
101
+ */
102
+ function baseMap(collection, iteratee) {
103
+ var index = -1,
104
+ result = isArrayLike(collection) ? Array(collection.length) : [];
105
+
106
+ baseEach(collection, function(value, key, collection) {
107
+ result[++index] = iteratee(value, key, collection);
108
+ });
109
+ return result;
110
+ }
111
+
112
+ /**
113
+ * Creates an array of values by running each element in `collection` thru
114
+ * `iteratee`. The iteratee is invoked with three arguments:
115
+ * (value, index|key, collection).
116
+ *
117
+ * Many lodash methods are guarded to work as iteratees for methods like
118
+ * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
119
+ *
120
+ * The guarded methods are:
121
+ * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
122
+ * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
123
+ * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
124
+ * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
125
+ *
126
+ * @static
127
+ * @memberOf _
128
+ * @since 0.1.0
129
+ * @category Collection
130
+ * @param {Array|Object} collection The collection to iterate over.
131
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
132
+ * @returns {Array} Returns the new mapped array.
133
+ * @example
134
+ *
135
+ * function square(n) {
136
+ * return n * n;
137
+ * }
138
+ *
139
+ * _.map([4, 8], square);
140
+ * // => [16, 64]
141
+ *
142
+ * _.map({ 'a': 4, 'b': 8 }, square);
143
+ * // => [16, 64] (iteration order is not guaranteed)
144
+ *
145
+ * var users = [
146
+ * { 'user': 'barney' },
147
+ * { 'user': 'fred' }
148
+ * ];
149
+ *
150
+ * // The `_.property` iteratee shorthand.
151
+ * _.map(users, 'user');
152
+ * // => ['barney', 'fred']
153
+ */
154
+ function map(collection, iteratee) {
155
+ var func = isArray(collection) ? arrayMap : baseMap;
156
+ return func(collection, baseIteratee(iteratee));
157
+ }
158
+
159
+ /**
160
+ * Creates a flattened array of values by running each element in `collection`
161
+ * thru `iteratee` and flattening the mapped results. The iteratee is invoked
162
+ * with three arguments: (value, index|key, collection).
163
+ *
164
+ * @static
165
+ * @memberOf _
166
+ * @since 4.0.0
167
+ * @category Collection
168
+ * @param {Array|Object} collection The collection to iterate over.
169
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
170
+ * @returns {Array} Returns the new flattened array.
171
+ * @example
172
+ *
173
+ * function duplicate(n) {
174
+ * return [n, n];
175
+ * }
176
+ *
177
+ * _.flatMap([1, 2], duplicate);
178
+ * // => [1, 1, 2, 2]
179
+ */
180
+ function flatMap(collection, iteratee) {
181
+ return baseFlatten(map(collection, iteratee), 1);
182
+ }
183
+
184
+ export { baseFor as b, flatMap as f, map as m };
@@ -1,6 +1,6 @@
1
1
  import { unref, inject, getCurrentInstance } from 'vue';
2
2
  import { isClient, computedEager } from '@vueuse/core';
3
- import { e as debugWarn, s as useGetDerivedNamespace } from './DO-mBaf5.mjs';
3
+ import { a as debugWarn, m as useGetDerivedNamespace } from './By7FMB3I.mjs';
4
4
 
5
5
  const defaultIdInjection = {
6
6
  prefix: Math.floor(Math.random() * 1e4),
@@ -32,4 +32,4 @@ usage: app.provide(ID_INJECTION_KEY, {
32
32
  const formContextKey = Symbol("formContextKey");
33
33
  const formItemContextKey = Symbol("formItemContextKey");
34
34
 
35
- export { useIdInjection as a, formContextKey as b, formItemContextKey as f, useId as u };
35
+ export { formItemContextKey as a, useIdInjection as b, formContextKey as f, useId as u };