@wfrog/vc-ui 1.0.0 → 1.1.1

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 (111) hide show
  1. package/README.md +3 -3
  2. package/dist/es/chunk/{BMzd-IS6.mjs → 09Ec85_u.mjs} +13 -13
  3. package/dist/es/chunk/{su2Zrql0.mjs → 4eyJqDa9.mjs} +1 -1
  4. package/dist/es/chunk/{Dqz1zvKN.mjs → 73YgKz3H.mjs} +1 -1
  5. package/dist/es/chunk/{Dh4jaUSg.mjs → B5UQmWXg.mjs} +5 -5
  6. package/dist/es/chunk/{CVlj9F0I.mjs → BHsNc7jl.mjs} +4 -3
  7. package/dist/es/chunk/{CEm0brzD.mjs → BI0vrXwX.mjs} +2 -1
  8. package/dist/es/chunk/{BJS5Pdfp.mjs → BTpNRPQW.mjs} +1 -1
  9. package/dist/es/chunk/{De_EXLIy.mjs → BUEEWLrd.mjs} +1 -1
  10. package/dist/es/chunk/BaJ7k5Lg.mjs +209 -0
  11. package/dist/es/chunk/{C5hWsUfD.mjs → BcTuAX8r.mjs} +2 -2
  12. package/dist/es/chunk/{DyDMGLoF.mjs → Bl2KlMdP.mjs} +3 -2
  13. package/dist/es/chunk/{ViP2SEY4.mjs → Bp9jXKX0.mjs} +2 -3
  14. package/dist/es/chunk/{C2LgraHx.mjs → BpqBBo4z.mjs} +2 -3
  15. package/dist/es/chunk/{CS4VKsqy.mjs → BsGCX4td.mjs} +1 -1
  16. package/dist/es/chunk/{-EkpfdcW.mjs → BsLJxiSC.mjs} +46 -8
  17. package/dist/es/chunk/{zfg5SOj1.mjs → BtTIs3tG.mjs} +3 -3
  18. package/dist/es/chunk/{B_tU9Nax.mjs → BzedaLtg.mjs} +1 -1
  19. package/dist/es/chunk/{Dvi7RsXg.mjs → C7wQNvSS.mjs} +10 -9
  20. package/dist/es/chunk/{8rLUmOVR.mjs → CBSopeeE.mjs} +3 -2
  21. package/dist/es/chunk/{Coex0GxM.mjs → CLCfXfvv.mjs} +10 -10
  22. package/dist/es/chunk/{DqUIKX7f.mjs → CLMc8GzD.mjs} +8 -7
  23. package/dist/es/chunk/{D3uV7vm-.mjs → CLbj8G-F.mjs} +3 -3
  24. package/dist/es/chunk/{C7iSSBUr.mjs → CPERtDRX.mjs} +5 -5
  25. package/dist/es/chunk/{VAdRxe-1.mjs → Cbhe4I9Z.mjs} +1 -1
  26. package/dist/es/chunk/{D5259bwd.mjs → CizMbf5K.mjs} +2 -1
  27. package/dist/es/chunk/CsLIbnzG.mjs +64 -0
  28. package/dist/es/chunk/{Ce9ApjrT.mjs → Cu6erWl4.mjs} +4 -4
  29. package/dist/es/chunk/{VCrtRnxt.mjs → D0LB3gF-.mjs} +7 -7
  30. package/dist/es/chunk/{BdDihk0t.mjs → D9iEroQw.mjs} +387 -564
  31. package/dist/es/chunk/{D3DXeVfC.mjs → DFOLES4O.mjs} +60 -16
  32. package/dist/es/chunk/{E_WRn0OP.mjs → DRoyW749.mjs} +58 -264
  33. package/dist/es/chunk/{D389hx_T.mjs → DTLPXrjb.mjs} +1 -1
  34. package/dist/es/chunk/{DZACQ9LT.mjs → DXPWe_a5.mjs} +2 -2
  35. package/dist/es/chunk/{BWcCXRRK.mjs → DZD-YnCt.mjs} +4 -4
  36. package/dist/es/chunk/{CZ4ggqDE.mjs → DihosKp1.mjs} +6 -6
  37. package/dist/es/chunk/{aibQ9WSZ.mjs → Dk6Bx0KT.mjs} +1 -1
  38. package/dist/es/chunk/{CyxEcbcy.mjs → DouIsSPi.mjs} +1 -1
  39. package/dist/es/chunk/{HSv8BL8o.mjs → DrgvuOYH.mjs} +2 -1
  40. package/dist/es/chunk/{DhhdKtyu.mjs → DwKWIlzw.mjs} +9 -8
  41. package/dist/es/chunk/{BX-Ogf7p.mjs → FHvLvzEB.mjs} +23 -23
  42. package/dist/es/chunk/{CMABHk8B.mjs → HAog8AWU.mjs} +22 -22
  43. package/dist/es/chunk/{Spa-JKB4.mjs → NQBKROII.mjs} +127 -2
  44. package/dist/es/chunk/{BAtns-Mc.mjs → OEa4tYPF.mjs} +1 -1
  45. package/dist/es/chunk/{JCIyOUEY.mjs → XwSiBVsA.mjs} +3 -2
  46. package/dist/es/chunk/{CaTfZePA.mjs → axpwSky6.mjs} +5 -5
  47. package/dist/es/chunk/{DMHNh_tw.mjs → cPBw23yt.mjs} +3 -3
  48. package/dist/es/chunk/{nWBcrYxV.mjs → f0-vIQGp.mjs} +3 -5
  49. package/dist/es/components/awesome-icon/awesome-icon.mjs +5 -6
  50. package/dist/es/components/backbottom/backbottom.mjs +2 -2
  51. package/dist/es/components/button/button.mjs +8 -8
  52. package/dist/es/components/choice/choice.mjs +2 -2
  53. package/dist/es/components/choice-boolean/choice-boolean.mjs +1 -1
  54. package/dist/es/components/config-provider/config-provider.d.ts +1 -0
  55. package/dist/es/components/config-provider/config-provider.mjs +13 -5
  56. package/dist/es/components/config-provider/config-provider2.mjs +1 -1
  57. package/dist/es/components/cropper/cropper.mjs +151 -15
  58. package/dist/es/components/currency/currency.mjs +6 -6
  59. package/dist/es/components/daterange-picker/daterange-picker.mjs +25 -23
  60. package/dist/es/components/dialog/dialog.mjs +11 -12
  61. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +20 -23
  62. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +9 -13
  63. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +12 -16
  64. package/dist/es/components/drag-verify/components/image.vue.d.ts +54 -0
  65. package/dist/es/components/drag-verify/components/text.vue.d.ts +22 -0
  66. package/dist/es/components/drag-verify/drag-verify.d.ts +22 -0
  67. package/dist/es/components/drag-verify/drag-verify.mjs +475 -0
  68. package/dist/es/components/drag-verify/drag-verify.vue.d.ts +123 -0
  69. package/dist/es/components/drag-verify/helper.d.ts +2 -0
  70. package/dist/es/components/drag-verify/index.css +117 -0
  71. package/dist/es/components/drag-verify/index.d.ts +4 -0
  72. package/dist/es/components/drag-verify/index.mjs +6 -0
  73. package/dist/es/components/drawer/drawer.mjs +12 -13
  74. package/dist/es/components/easy-pagination/easy-pagination.mjs +4 -4
  75. package/dist/es/components/el-icon/el-icon.mjs +2 -2
  76. package/dist/es/components/flag/flag.mjs +2 -1
  77. package/dist/es/components/icon/icon.mjs +2 -2
  78. package/dist/es/components/icon/icon2.mjs +1 -1
  79. package/dist/es/components/image/image.mjs +5 -5
  80. package/dist/es/components/input/input.mjs +4 -4
  81. package/dist/es/components/input-number/input-number.mjs +5 -5
  82. package/dist/es/components/pca-picker/pca-picker.mjs +21 -23
  83. package/dist/es/components/qr-code/qr-code.mjs +2 -1
  84. package/dist/es/components/screenfull/screenfull.mjs +6 -5
  85. package/dist/es/components/select/select.mjs +7 -7
  86. package/dist/es/components/single-player/single-player.mjs +16 -16
  87. package/dist/es/components/svg-icon/svg-icon.mjs +2 -2
  88. package/dist/es/components/switch/switch.mjs +2 -2
  89. package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +3 -3
  90. package/dist/es/components/tags/tags.mjs +9 -9
  91. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +4 -4
  92. package/dist/es/components/thousand-input/thousand-input.mjs +5 -4
  93. package/dist/es/components/tinymce/index.css +1 -1
  94. package/dist/es/components/tinymce/tinymce.mjs +9 -11
  95. package/dist/es/components/tree-picker/tree-picker.mjs +11 -12
  96. package/dist/es/components/upload-file/upload-file.mjs +6 -9
  97. package/dist/es/index.d.ts +1 -0
  98. package/dist/es/index.mjs +26 -24
  99. package/dist/es/use/useSmallScreen/index.mjs +1 -1
  100. package/dist/global.d.ts +1 -0
  101. package/dist/index.css +118 -1
  102. package/package.json +3 -6
  103. package/dist/es/chunk/BAGoDD49.mjs +0 -36
  104. package/dist/es/chunk/CD98REcR.mjs +0 -666
  105. package/dist/es/chunk/CEClY-_T.mjs +0 -445
  106. package/dist/es/chunk/Fo0dZYnz.mjs +0 -128
  107. package/dist/es/chunk/O-uhUKF4.mjs +0 -43
  108. package/dist/es/chunk/qY9OvNHY.mjs +0 -283
  109. package/dist/es/components/cdn-tag.vue.d.ts +0 -5
  110. package/dist/es/components/document.vue.d.ts +0 -14
  111. package/dist/es/components/example-wrapper.vue.d.ts +0 -19
package/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  组件开发时,依赖的 `vue` 版本是 `^3.5.22`
7
7
 
8
- 组件库所使用 CDN 源为 [jsdelivr](https://www.jsdelivr.com/),并使用了一个自用的函数库 `@wfrog/utils`
8
+ 组件库所使用 CDN 默认源为 [jsdelivr](https://www.jsdelivr.com/),并使用了一个自用的函数库 `@wfrog/vc-utils`
9
9
 
10
- **!!!如果 jsdelivr 无法访问,会导致部分组件失效。解决办法:todo**
10
+ **!!!如果 jsdelivr 无法访问,会导致部分组件失效。解决办法:将 cdn 文件放到自己的服务器上,通过 config-provider 指定地址**
11
11
 
12
12
  ## 组件库依赖
13
13
 
@@ -15,7 +15,7 @@
15
15
 
16
16
  ```sh
17
17
  pnpm i element-plus@~2.11.7 @element-plus/icons-vue@^2.3.2 @vueuse/core@^14.0.0
18
- pnpm i @wfrog/utils@^0.1.0 lodash-es@^4.17.21
18
+ pnpm i @wfrog/vc-utils@^1.0.0 lodash-es@^4.17.21
19
19
  ```
20
20
 
21
21
  ## 全量引入
@@ -1,20 +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
- import { c as useEventListener, d as useIntersectionObserver } from './CEClY-_T.mjs';
3
- import { b as ElTeleport, d as ElFocusTrap } from './DqUIKX7f.mjs';
4
- import { E as ElIcon } from './DMHNh_tw.mjs';
2
+ import { clamp, useEventListener, isClient, useThrottleFn, useIntersectionObserver } from '@vueuse/core';
3
+ import { b as ElTeleport, d as ElFocusTrap } from './CLMc8GzD.mjs';
4
+ import { E as ElIcon } from './cPBw23yt.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, m as clamp, n as fromPairs, o as isClient, i as isArray, p as isElement, h as isString, q as isWindow, r as useThrottleFn } from './E_WRn0OP.mjs';
6
+ import { f as isNumber, c as buildProps, d as definePropType, u as useNamespace, m as fromPairs, i as isArray, n as isElement, h as isString, o as isWindow } from './DRoyW749.mjs';
7
7
  import { m as mutable } from './B-rxnVJv.mjs';
8
- import { _ as _export_sfc, w as withInstall } from './D389hx_T.mjs';
9
- import { u as useLocale } from './aibQ9WSZ.mjs';
10
- import { u as useZIndex } from './CEm0brzD.mjs';
11
- import { u as useLockscreen } from './D3uV7vm-.mjs';
12
- import { g as getEventCode, E as EVENT_CODE } from './BJS5Pdfp.mjs';
8
+ import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
9
+ import { u as useLocale } from './Dk6Bx0KT.mjs';
10
+ import { u as useZIndex } from './BI0vrXwX.mjs';
11
+ import { u as useLockscreen } from './CLbj8G-F.mjs';
12
+ import { g as getEventCode, E as EVENT_CODE } from './BTpNRPQW.mjs';
13
13
  import { k as keysOf } from './DVNTpOBR.mjs';
14
- import { d as debounce } from './ViP2SEY4.mjs';
15
- import { i as isObject } from './Spa-JKB4.mjs';
16
- import { u as useAttrs$1 } from './De_EXLIy.mjs';
17
- import { g as getScrollContainer } from './DyDMGLoF.mjs';
14
+ import { d as debounce } from './Bp9jXKX0.mjs';
15
+ import { i as isObject } from './NQBKROII.mjs';
16
+ import { u as useAttrs$1 } from './BUEEWLrd.mjs';
17
+ import { g as getScrollContainer } from './Bl2KlMdP.mjs';
18
18
 
19
19
  /** Error message constants. */
20
20
  var FUNC_ERROR_TEXT = 'Expected a function';
@@ -1,4 +1,4 @@
1
- import { j as isFunction } from './E_WRn0OP.mjs';
1
+ import { j as isFunction } from './DRoyW749.mjs';
2
2
 
3
3
  const REPEAT_INTERVAL = 100;
4
4
  const REPEAT_DELAY = 600;
@@ -1,4 +1,4 @@
1
- import { t as toNumber } from './BAtns-Mc.mjs';
1
+ import { t as toNumber } from './OEa4tYPF.mjs';
2
2
 
3
3
  /**
4
4
  * The base implementation of `_.clamp` which doesn't coerce arguments.
@@ -1,9 +1,9 @@
1
1
  import { getCurrentInstance, inject, ref, computed, unref, provide } from 'vue';
2
- import { u as useNamespace, E as defaultNamespace, e as debugWarn, K as namespaceContextKey } from './E_WRn0OP.mjs';
3
- import { u as useZIndex, d as defaultInitialZIndex, z as zIndexContextKey } from './CEm0brzD.mjs';
4
- import { u as useLocale, l as localeContextKey } from './aibQ9WSZ.mjs';
5
- import { S as SIZE_INJECTION_KEY } from './CS4VKsqy.mjs';
6
- import { e as emptyValuesContextKey } from './C5hWsUfD.mjs';
2
+ import { u as useNamespace, x as defaultNamespace, e as debugWarn, C as namespaceContextKey } from './DRoyW749.mjs';
3
+ import { u as useZIndex, d as defaultInitialZIndex, z as zIndexContextKey } from './BI0vrXwX.mjs';
4
+ import { u as useLocale, l as localeContextKey } from './Dk6Bx0KT.mjs';
5
+ import { S as SIZE_INJECTION_KEY } from './BsGCX4td.mjs';
6
+ import { e as emptyValuesContextKey } from './BcTuAX8r.mjs';
7
7
  import { k as keysOf } from './DVNTpOBR.mjs';
8
8
 
9
9
  const configProviderContextKey = Symbol();
@@ -1,7 +1,8 @@
1
1
  import { ref, reactive, defineComponent, h, Transition, withCtx, withDirectives, createVNode, vShow, createApp, toRefs, nextTick, isRef } from 'vue';
2
- import { a as useGlobalComponentSettings } from './Dh4jaUSg.mjs';
3
- import { r as removeClass, g as getStyle, b as addClass } from './D5259bwd.mjs';
4
- import { o as isClient, h as isString, s as isObject, D as hyphenate } from './E_WRn0OP.mjs';
2
+ import { a as useGlobalComponentSettings } from './B5UQmWXg.mjs';
3
+ import { r as removeClass, g as getStyle, b as addClass } from './CizMbf5K.mjs';
4
+ import { isClient } from '@vueuse/core';
5
+ import { h as isString, p as isObject, w as hyphenate } from './DRoyW749.mjs';
5
6
 
6
7
  function createLoadingComponent(options, appContext) {
7
8
  let afterLeaveTimer;
@@ -1,5 +1,6 @@
1
1
  import { getCurrentInstance, inject, computed, unref, ref } from 'vue';
2
- import { f as isNumber, o as isClient, e as debugWarn } from './E_WRn0OP.mjs';
2
+ import { f as isNumber, e as debugWarn } from './DRoyW749.mjs';
3
+ import { isClient } from '@vueuse/core';
3
4
 
4
5
  const initial = {
5
6
  current: 0
@@ -1,4 +1,4 @@
1
- import { n as isAndroid } from './CEClY-_T.mjs';
1
+ import { d as isAndroid } from './CsLIbnzG.mjs';
2
2
 
3
3
  const EVENT_CODE = {
4
4
  tab: "Tab",
@@ -1,5 +1,5 @@
1
1
  import { computed, getCurrentInstance } from 'vue';
2
- import { e as debugWarn, n as fromPairs } from './E_WRn0OP.mjs';
2
+ import { e as debugWarn, m as fromPairs } from './DRoyW749.mjs';
3
3
 
4
4
  const DEFAULT_EXCLUDE_KEYS = ["class", "style"];
5
5
  const LISTENER_PREFIX = /^on[A-Z]/;
@@ -0,0 +1,209 @@
1
+ const isClient = typeof window !== "undefined";
2
+ const defaultWindow = isClient ? window : void 0;
3
+
4
+ function baseCdnUrl() {
5
+ return {
6
+ jsdelivr: "//cdn.jsdelivr.net/npm",
7
+ // jsdelivr.net
8
+ defaultBase: defaultWindow?.VC?.cdn?.host || "//cdn.staticfile.org",
9
+ localCDN: defaultWindow?.VC?.cdn?.path || "/local-cdn"
10
+ };
11
+ }
12
+ const cdnMapping = {
13
+ // 全屏
14
+ screenfull: (version = "5.2.0") => ({
15
+ version,
16
+ instance: () => defaultWindow && defaultWindow.screenfull,
17
+ source: {
18
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/screenfull@${version}`] },
19
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/screenfull.js/${version}/screenfull.min.js`] },
20
+ localCDN: { js: [`${baseCdnUrl().localCDN}/screenfull/${version}/screenfull.min.js`] }
21
+ }
22
+ }),
23
+ // 复制黏贴
24
+ clipboard: (version = "2.0.8") => ({
25
+ version,
26
+ instance: () => defaultWindow && defaultWindow.ClipboardJS,
27
+ source: {
28
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/clipboard@${version}`] },
29
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/clipboard.js/${version}/clipboard.min.js`] },
30
+ localCDN: { js: [`${baseCdnUrl().localCDN}/clipboard/${version}/clipboard.min.js`] }
31
+ }
32
+ }),
33
+ // 富文本编辑器
34
+ tinymce: (version = "5.8.1") => ({
35
+ version,
36
+ instance: () => defaultWindow && defaultWindow.tinyMCE,
37
+ source: {
38
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/tinymce@${version}`] },
39
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/tinymce/${version}/tinymce.min.js`] },
40
+ localCDN: { js: [`${baseCdnUrl().localCDN}/tinymce/${version}/tinymce.min.js`] }
41
+ }
42
+ }),
43
+ // 二维码生成
44
+ QRCode: (version = "1.5.1") => ({
45
+ version,
46
+ instance: () => defaultWindow && defaultWindow.QRCode,
47
+ source: {
48
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/qrcode@${version}/build/qrcode.min.js`] },
49
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/qrcodejs/${version}/qrcode.min.js`] },
50
+ localCDN: { js: [`${baseCdnUrl().localCDN}/qrcode/${version}/qrcode.min.js`] }
51
+ }
52
+ }),
53
+ // 千分位
54
+ cleave: (version = "1.6.0") => ({
55
+ version,
56
+ instance: () => defaultWindow && defaultWindow.Cleave,
57
+ source: {
58
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/cleave.js@${version}`] },
59
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/cleave.js/${version}/cleave.min.js`] },
60
+ localCDN: { js: [`${baseCdnUrl().localCDN}/cleave/${version}/cleave.min.js`] }
61
+ }
62
+ }),
63
+ // fontawesome 全量css版本
64
+ fontawesomeCss: (version = "7.1.0") => ({
65
+ version,
66
+ instance: () => window,
67
+ source: {
68
+ jsdelivr: { js: [], css: [`${baseCdnUrl().jsdelivr}/@fortawesome/fontawesome-free@${version}/css/all.min.css`] },
69
+ defaultBase: { js: [], css: [`${baseCdnUrl().defaultBase}/font-awesome/${version}/css/all.min.css`] },
70
+ localCDN: { js: [], css: [`${baseCdnUrl().localCDN}/font-awesome/${version}/css/all.min.css`] }
71
+ }
72
+ }),
73
+ // fontawesome 全量js版本
74
+ fontawesomeJs: (version = "7.1.0") => ({
75
+ version,
76
+ instance: () => window,
77
+ source: {
78
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/@fortawesome/fontawesome-free@${version}/js/all.min.js`] },
79
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/font-awesome/${version}/js/all.min.js`] },
80
+ localCDN: { js: [`${baseCdnUrl().localCDN}/font-awesome/${version}/js/all.min.js`] }
81
+ }
82
+ }),
83
+ cropper: (version = "1.5.12") => ({
84
+ version,
85
+ instance: () => defaultWindow && defaultWindow.Cropper,
86
+ source: {
87
+ jsdelivr: { js: [`${baseCdnUrl().jsdelivr}/cropperjs@${version}`], css: [`${baseCdnUrl().jsdelivr}/cropperjs@${version}/dist/cropper.min.css`] },
88
+ defaultBase: { js: [`${baseCdnUrl().defaultBase}/cropperjs/${version}/cropper.min.js`], css: [`${baseCdnUrl().defaultBase}/cropperjs/${version}/cropper.min.css`] },
89
+ localCDN: { js: [`${baseCdnUrl().localCDN}/cropperjs/${version}/cropper.min.js`], css: [`${baseCdnUrl().localCDN}/cropperjs/${version}/cropper.min.css`] }
90
+ }
91
+ }),
92
+ // flagIcons
93
+ flagIcons: (version = "6.6.6") => ({
94
+ version,
95
+ instance: () => window,
96
+ source: {
97
+ jsdelivr: { js: [], css: [`${baseCdnUrl().jsdelivr}/flag-icons@${version}/css/flag-icons.min.css`] },
98
+ defaultBase: { js: [], css: [`${baseCdnUrl().defaultBase}/flag-icons/${version}/css/flag-icons.min.css`] },
99
+ localCDN: { js: [], css: [`${baseCdnUrl().localCDN}/flag-icons/${version}/css/flag-icons.min.css`] }
100
+ }
101
+ })
102
+ };
103
+ function cdnSource(name, version) {
104
+ const cdnName = defaultWindow?.VC?.cdn?.name || "jsdelivr";
105
+ const resource = cdnMapping[name];
106
+ if (!resource) {
107
+ const defaultResource = {
108
+ instance: () => ({}),
109
+ js: [`${baseCdnUrl().defaultBase}/${cdnName}.js/${version}/${cdnName}.min.js`],
110
+ css: [`${baseCdnUrl().defaultBase}/${cdnName}/${version}/${cdnName}.min.css`]
111
+ };
112
+ return defaultResource;
113
+ }
114
+ const item = resource(version);
115
+ return Object.assign({ instance: void 0, js: [], css: [], version: "" }, { ...item.source[cdnName], instance: item.instance, version: item.version });
116
+ }
117
+
118
+ const FLAG_LOADEED = "yes";
119
+ function isScriptLoaded(url) {
120
+ const script = url && document.querySelector(`script[src="${url}"]`);
121
+ return !!(script && script.dataset.loader === FLAG_LOADEED);
122
+ }
123
+ function getScript(url) {
124
+ const script = url && document.querySelector(`script[src="${url}"]`);
125
+ return script && !script.dataset.loader ? script : null;
126
+ }
127
+ const isCssLoaded = (url) => !!(url && document.querySelector(`link[href="${url}"]`));
128
+ function loadScriptSingle(url) {
129
+ return new Promise((resolve, reject) => {
130
+ if (isScriptLoaded(url)) {
131
+ resolve(true);
132
+ } else {
133
+ const myScript = getScript(url);
134
+ if (!myScript) {
135
+ const head = document.getElementsByTagName("head")[0];
136
+ const script = document.createElement("script");
137
+ script.type = "text/javascript";
138
+ script.src = url;
139
+ script.onload = () => {
140
+ script.dataset.loaded = FLAG_LOADEED;
141
+ resolve(true);
142
+ };
143
+ script.onerror = () => {
144
+ head.removeChild(script);
145
+ reject(new Error("load failed"));
146
+ };
147
+ head.appendChild(script);
148
+ } else {
149
+ const timeout = 1e4;
150
+ const interval = 10;
151
+ let times = 0;
152
+ const timer = setInterval(() => {
153
+ times += interval;
154
+ if (times >= timeout) {
155
+ clearInterval(timer);
156
+ reject(new Error("time out!"));
157
+ }
158
+ if (myScript.dataset.loaded === FLAG_LOADEED) {
159
+ clearInterval(timer);
160
+ resolve(true);
161
+ }
162
+ }, interval);
163
+ }
164
+ }
165
+ });
166
+ }
167
+ async function loadScript(urls, options = { sequence: true }) {
168
+ if (options.sequence) {
169
+ try {
170
+ for (let i = 0; i < urls.length; i += 1) {
171
+ await loadScriptSingle(urls[i]);
172
+ }
173
+ return Promise.resolve(true);
174
+ } catch (e) {
175
+ return Promise.reject(e);
176
+ }
177
+ }
178
+ return Promise.all(urls.map((url) => loadScriptSingle(url)));
179
+ }
180
+ function loadCss(urls) {
181
+ const head = document.getElementsByTagName("head")[0];
182
+ urls.filter((url) => !isCssLoaded(url)).forEach((url) => {
183
+ const link = document.createElement("link");
184
+ link.type = "text/css";
185
+ link.rel = "stylesheet";
186
+ link.href = url;
187
+ head.appendChild(link);
188
+ });
189
+ }
190
+ function loadCdnSingle(name, version) {
191
+ const { js = [], css, instance } = cdnSource(name, version) || {};
192
+ Array.isArray(css) && css.length > 0 && loadCss(css);
193
+ return new Promise((resolve, reject) => {
194
+ loadScript(js).then(() => resolve(instance?.())).catch(() => reject(new Error(`加载 ${name} 失败`)));
195
+ });
196
+ }
197
+ const loadCdn = (names) => Promise.all(names.map((name) => loadCdnSingle(name)));
198
+ const index = {
199
+ loadScriptSingle,
200
+ loadScript,
201
+ loadCss,
202
+ loadCdnSingle,
203
+ loadCdn,
204
+ baseCdnUrl,
205
+ cdnMapping,
206
+ cdnSource
207
+ };
208
+
209
+ export { index as i };
@@ -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 './E_WRn0OP.mjs';
3
- import { i as isEqual } from './-EkpfdcW.mjs';
2
+ import { c as buildProps, d as definePropType, j as isFunction, i as isArray, e as debugWarn } from './DRoyW749.mjs';
3
+ import { i as isEqual } from './BsLJxiSC.mjs';
4
4
 
5
5
  const emptyValuesContextKey = Symbol("emptyValuesContextKey");
6
6
  const SCOPE = "use-empty-values";
@@ -1,5 +1,6 @@
1
- import { o as isClient, q as isWindow, j as isFunction } from './E_WRn0OP.mjs';
2
- import { g as getStyle } from './D5259bwd.mjs';
1
+ import { isClient } from '@vueuse/core';
2
+ import { o as isWindow, j as isFunction } from './DRoyW749.mjs';
3
+ import { g as getStyle } from './CizMbf5K.mjs';
3
4
 
4
5
  function easeInOutCubic(t, b, c, d) {
5
6
  const cc = c - b;
@@ -1,6 +1,5 @@
1
- import { i as isObject } from './Spa-JKB4.mjs';
2
- import { r as root } from './Fo0dZYnz.mjs';
3
- import { t as toNumber } from './BAtns-Mc.mjs';
1
+ import { r as root, i as isObject } from './NQBKROII.mjs';
2
+ import { t as toNumber } from './OEa4tYPF.mjs';
4
3
 
5
4
  /**
6
5
  * Gets the timestamp of the number of milliseconds that have elapsed since
@@ -1,6 +1,5 @@
1
- import { c as buildProps } from './E_WRn0OP.mjs';
2
- import { g as getNative, o as eq, b as isArray, j as isArguments, m as arrayPush, e as castPath, t as toKey, f as isLength, k as isIndex, i as isObject, d as baseGet } from './Spa-JKB4.mjs';
3
- import { S as Symbol$1 } from './Fo0dZYnz.mjs';
1
+ import { c as buildProps } from './DRoyW749.mjs';
2
+ import { h as getNative, s as eq, S as Symbol$1, b as isArray, m as isArguments, p as arrayPush, g as castPath, t as toKey, j as isLength, n as isIndex, i as isObject, d as baseGet } from './NQBKROII.mjs';
4
3
 
5
4
  /**
6
5
  * This method returns the first argument it receives.
@@ -1,5 +1,5 @@
1
1
  import { inject, computed, unref } from 'vue';
2
- import { z as buildProp } from './E_WRn0OP.mjs';
2
+ import { r as buildProp } from './DRoyW749.mjs';
3
3
 
4
4
  const componentSizes = ["", "default", "small", "large"];
5
5
 
@@ -1,6 +1,4 @@
1
- import { g as getNative, f as isLength, h as isFunction, j as isArguments, k as isIndex, b as isArray, L as ListCache, M as Map, l as MapCache, m as arrayPush, n as toSource, o as eq } from './Spa-JKB4.mjs';
2
- import { r as root, i as isObjectLike, b as baseGetTag, S as Symbol$1 } from './Fo0dZYnz.mjs';
3
- import { b as baseUnary, n as nodeUtil } from './O-uhUKF4.mjs';
1
+ import { h as getNative, r as root, j as isLength, k as isFunction, e as isObjectLike, f as baseGetTag, l as freeGlobal, m as isArguments, n as isIndex, b as isArray, L as ListCache, M as Map, o as MapCache, p as arrayPush, q as toSource, S as Symbol$1, s as eq } from './NQBKROII.mjs';
4
2
 
5
3
  /* Built-in method references that are verified to be native. */
6
4
  var WeakMap = getNative(root, 'WeakMap');
@@ -88,16 +86,16 @@ function stubFalse() {
88
86
  }
89
87
 
90
88
  /** Detect free variable `exports`. */
91
- var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
89
+ var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
92
90
 
93
91
  /** Detect free variable `module`. */
94
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
92
+ var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
95
93
 
96
94
  /** Detect the popular CommonJS extension `module.exports`. */
97
- var moduleExports = freeModule && freeModule.exports === freeExports;
95
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
98
96
 
99
97
  /** Built-in value references. */
100
- var Buffer = moduleExports ? root.Buffer : undefined;
98
+ var Buffer = moduleExports$1 ? root.Buffer : undefined;
101
99
 
102
100
  /* Built-in method references for those with the same name as other `lodash` methods. */
103
101
  var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
@@ -176,6 +174,46 @@ function baseIsTypedArray(value) {
176
174
  isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
177
175
  }
178
176
 
177
+ /**
178
+ * The base implementation of `_.unary` without support for storing metadata.
179
+ *
180
+ * @private
181
+ * @param {Function} func The function to cap arguments for.
182
+ * @returns {Function} Returns the new capped function.
183
+ */
184
+ function baseUnary(func) {
185
+ return function(value) {
186
+ return func(value);
187
+ };
188
+ }
189
+
190
+ /** Detect free variable `exports`. */
191
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
192
+
193
+ /** Detect free variable `module`. */
194
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
195
+
196
+ /** Detect the popular CommonJS extension `module.exports`. */
197
+ var moduleExports = freeModule && freeModule.exports === freeExports;
198
+
199
+ /** Detect free variable `process` from Node.js. */
200
+ var freeProcess = moduleExports && freeGlobal.process;
201
+
202
+ /** Used to access faster Node.js helpers. */
203
+ var nodeUtil = (function() {
204
+ try {
205
+ // Use `util.types` for Node.js 10+.
206
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
207
+
208
+ if (types) {
209
+ return types;
210
+ }
211
+
212
+ // Legacy `process.binding('util')` for Node.js < 10.
213
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
214
+ } catch (e) {}
215
+ }());
216
+
179
217
  /* Node.js helper references. */
180
218
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
181
219
 
@@ -1097,4 +1135,4 @@ function isEqual(value, other) {
1097
1135
  return baseIsEqual(value, other);
1098
1136
  }
1099
1137
 
1100
- 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, isBuffer as h, isEqual as i, getAllKeys as j, keys as k, overArg as o, stubArray as s };
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 };
@@ -1,9 +1,9 @@
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 './DMHNh_tw.mjs';
2
+ import { E as ElIcon } from './cPBw23yt.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 './E_WRn0OP.mjs';
4
+ import { c as buildProps, u as useNamespace, e as debugWarn } from './DRoyW749.mjs';
5
5
  import { k as keysOf } from './DVNTpOBR.mjs';
6
- import { _ as _export_sfc, w as withInstall } from './D389hx_T.mjs';
6
+ import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
7
7
 
8
8
  const alertEffects = ["light", "dark"];
9
9
  const alertProps = buildProps({
@@ -1,5 +1,5 @@
1
1
  import { isVNode, Fragment, Comment } from 'vue';
2
- import { i as isArray } from './E_WRn0OP.mjs';
2
+ import { i as isArray } from './DRoyW749.mjs';
3
3
 
4
4
  var PatchFlags = /* @__PURE__ */ ((PatchFlags2) => {
5
5
  PatchFlags2[PatchFlags2["TEXT"] = 1] = "TEXT";
@@ -1,17 +1,18 @@
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
- import { i as isFirefox, e as useResizeObserver } from './CEClY-_T.mjs';
3
- import { E as ElIcon } from './DMHNh_tw.mjs';
2
+ import { useResizeObserver, isClient } from '@vueuse/core';
3
+ import { E as ElIcon } from './cPBw23yt.mjs';
4
4
  import { CircleClose, View, Hide } from '@element-plus/icons-vue';
5
- 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, o as isClient, s as isObject } from './E_WRn0OP.mjs';
6
- import { u as useSizeProp } from './CS4VKsqy.mjs';
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, p as isObject } from './DRoyW749.mjs';
7
+ import { u as useSizeProp } from './BsGCX4td.mjs';
7
8
  import { i as iconPropType, V as ValidateComponentsMap } from '../components/icon/icon2.mjs';
8
9
  import { m as mutable } from './B-rxnVJv.mjs';
9
- import { u as useAriaProps } from './C2LgraHx.mjs';
10
+ import { u as useAriaProps } from './BpqBBo4z.mjs';
10
11
  import { U as UPDATE_MODEL_EVENT, C as CHANGE_EVENT, I as INPUT_EVENT } from './Ct6q2FXg.mjs';
11
- import { _ as _export_sfc, w as withInstall } from './D389hx_T.mjs';
12
- import { u as useAttrs$1 } from './De_EXLIy.mjs';
13
- import { c as useFormSize, b as useFormDisabled, u as useFormItem, a as useFormItemInputId } from './DZACQ9LT.mjs';
14
- import { u as useFocusController, a as useComposition } from './JCIyOUEY.mjs';
12
+ import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
13
+ import { u as useAttrs$1 } from './BUEEWLrd.mjs';
14
+ import { c as useFormSize, b as useFormDisabled, u as useFormItem, a as useFormItemInputId } from './DXPWe_a5.mjs';
15
+ import { u as useFocusController, a as useComposition } from './XwSiBVsA.mjs';
15
16
 
16
17
  let hiddenTextarea = void 0;
17
18
  const HIDDEN_STYLE = {
@@ -1,5 +1,6 @@
1
- import { inject, getCurrentInstance, unref } from 'vue';
2
- import { o as isClient, e as debugWarn, A as useGetDerivedNamespace, B as computedEager } from './E_WRn0OP.mjs';
1
+ import { unref, inject, getCurrentInstance } from 'vue';
2
+ import { isClient, computedEager } from '@vueuse/core';
3
+ import { e as debugWarn, s as useGetDerivedNamespace } from './DRoyW749.mjs';
3
4
 
4
5
  const defaultIdInjection = {
5
6
  prefix: Math.floor(Math.random() * 1e4),
@@ -1,16 +1,16 @@
1
1
  import { defineComponent, ref, reactive, computed, watch, onMounted, onUpdated, createElementBlock, openBlock, withModifiers, normalizeClass, unref, withDirectives, createCommentVNode, createVNode, withKeys, renderSlot, withCtx, createBlock, createSlots } from 'vue';
2
- import { E as ElInput } from './Dvi7RsXg.mjs';
3
- import { E as ElIcon } from './DMHNh_tw.mjs';
2
+ import { E as ElInput } from './C7wQNvSS.mjs';
3
+ import { E as ElIcon } from './cPBw23yt.mjs';
4
4
  import { ArrowDown, Minus, ArrowUp, Plus } from '@element-plus/icons-vue';
5
- import { f as isNumber, k as isNil, c as buildProps, d as definePropType, u as useNamespace, g as isUndefined, e as debugWarn, t as throwError, h as isString } from './E_WRn0OP.mjs';
6
- import { u as useSizeProp } from './CS4VKsqy.mjs';
7
- import { u as useAriaProps } from './C2LgraHx.mjs';
5
+ import { f as isNumber, k as isNil, c as buildProps, d as definePropType, u as useNamespace, g as isUndefined, e as debugWarn, t as throwError, h as isString } from './DRoyW749.mjs';
6
+ import { u as useSizeProp } from './BsGCX4td.mjs';
7
+ import { u as useAriaProps } from './BpqBBo4z.mjs';
8
8
  import { U as UPDATE_MODEL_EVENT, I as INPUT_EVENT, C as CHANGE_EVENT } from './Ct6q2FXg.mjs';
9
- import { _ as _export_sfc, w as withInstall } from './D389hx_T.mjs';
10
- import { v as vRepeatClick } from './su2Zrql0.mjs';
11
- import { g as getEventCode, a as getEventKey, E as EVENT_CODE } from './BJS5Pdfp.mjs';
12
- import { u as useLocale } from './aibQ9WSZ.mjs';
13
- import { u as useFormItem, c as useFormSize, b as useFormDisabled } from './DZACQ9LT.mjs';
9
+ import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
10
+ import { v as vRepeatClick } from './4eyJqDa9.mjs';
11
+ import { g as getEventCode, a as getEventKey, E as EVENT_CODE } from './BTpNRPQW.mjs';
12
+ import { u as useLocale } from './Dk6Bx0KT.mjs';
13
+ import { u as useFormItem, c as useFormSize, b as useFormDisabled } from './DXPWe_a5.mjs';
14
14
 
15
15
  const inputNumberProps = buildProps({
16
16
  id: {
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, ref, computed, provide, renderSlot, inject, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, withDirectives, cloneVNode, Comment, Fragment, Text, createVNode, onMounted, watch, createBlock, createCommentVNode, mergeProps, withCtx, nextTick, shallowRef, getCurrentInstance, toRef, Teleport as Teleport$1, onBeforeMount, Transition, vShow, readonly, onDeactivated, toDisplayString } from 'vue';
2
- import { c as buildProps, u as useNamespace, d as definePropType, N as NOOP, e as debugWarn, s as isObject, p as isElement, k as isNil, o as isClient, h as isString, n as fromPairs, f as isNumber, y as tryOnScopeDispose, z as buildProp, j as isFunction, x as isBoolean, i as isArray, A as useGetDerivedNamespace, B as computedEager } from './E_WRn0OP.mjs';
3
- import { _ as _export_sfc, w as withInstall } from './D389hx_T.mjs';
4
- import { u as useAriaProps } from './C2LgraHx.mjs';
5
- import { g as getEventCode, E as EVENT_CODE, c as composeEventHandlers } from './BJS5Pdfp.mjs';
6
- import { u as unrefElement, g as isFocusable, h as focusElement, o as onClickOutside } from './CEClY-_T.mjs';
7
- import { f as formItemContextKey, a as useIdInjection, u as useId } from './8rLUmOVR.mjs';
8
- import { u as useZIndex } from './CEm0brzD.mjs';
2
+ import { c as buildProps, u as useNamespace, d as definePropType, N as NOOP, e as debugWarn, p as isObject, n as isElement, k as isNil, h as isString, m as fromPairs, f as isNumber, r as buildProp, j as isFunction, q as isBoolean, i as isArray, s as useGetDerivedNamespace } from './DRoyW749.mjs';
3
+ import { _ as _export_sfc, w as withInstall } from './DTLPXrjb.mjs';
4
+ import { unrefElement, isClient, tryOnScopeDispose, computedEager, onClickOutside } from '@vueuse/core';
5
+ import { u as useAriaProps } from './BpqBBo4z.mjs';
6
+ import { g as getEventCode, E as EVENT_CODE, c as composeEventHandlers } from './BTpNRPQW.mjs';
7
+ import { a as isFocusable, f as focusElement } from './CsLIbnzG.mjs';
8
+ import { f as formItemContextKey, a as useIdInjection, u as useId } from './CBSopeeE.mjs';
9
+ import { u as useZIndex } from './BI0vrXwX.mjs';
9
10
 
10
11
  /**
11
12
  * Checks if `value` is `undefined`.
@@ -1,7 +1,7 @@
1
1
  import { isRef, computed, watch, onScopeDispose } from 'vue';
2
- import { t as throwError, u as useNamespace } from './E_WRn0OP.mjs';
3
- import { h as hasClass, b as addClass, g as getStyle, r as removeClass } from './D5259bwd.mjs';
4
- import { e as getScrollBarWidth } from './DyDMGLoF.mjs';
2
+ import { t as throwError, u as useNamespace } from './DRoyW749.mjs';
3
+ import { h as hasClass, b as addClass, g as getStyle, r as removeClass } from './CizMbf5K.mjs';
4
+ import { e as getScrollBarWidth } from './Bl2KlMdP.mjs';
5
5
 
6
6
  const useLockscreen = (trigger, options = {}) => {
7
7
  if (!isRef(trigger)) {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, computed, ref, unref, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementBlock, normalizeClass, toDisplayString, createTextVNode } from 'vue';
2
- import { u as useTooltipContentProps, r as roleTypes, f as useTooltipTriggerProps, a as ElTooltip } from './DqUIKX7f.mjs';
3
- import { c as buildProps, d as definePropType, x as isBoolean, u as useNamespace } from './E_WRn0OP.mjs';
4
- import { E as EVENT_CODE } from './BJS5Pdfp.mjs';
2
+ import { u as useTooltipContentProps, r as roleTypes, f as useTooltipTriggerProps, a as ElTooltip } from './CLMc8GzD.mjs';
3
+ import { c as buildProps, d as definePropType, q as isBoolean, u as useNamespace } from './DRoyW749.mjs';
4
+ import { E as EVENT_CODE } from './BTpNRPQW.mjs';
5
5
  import { i as iconPropType } from '../components/icon/icon2.mjs';
6
- import { _ as _export_sfc, w as withInstall, b as withInstallDirective } from './D389hx_T.mjs';
7
- import { a as addUnit } from './D5259bwd.mjs';
6
+ import { _ as _export_sfc, w as withInstall, b as withInstallDirective } from './DTLPXrjb.mjs';
7
+ import { a as addUnit } from './CizMbf5K.mjs';
8
8
 
9
9
  const dropdownProps = buildProps({
10
10
  trigger: {
@@ -1,5 +1,5 @@
1
1
  import { watch, unref } from 'vue';
2
- import { e as debugWarn } from './E_WRn0OP.mjs';
2
+ import { e as debugWarn } from './DRoyW749.mjs';
3
3
 
4
4
  const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
5
5
  watch(() => unref(condition), (val) => {
@@ -1,4 +1,5 @@
1
- import { f as isNumber, I as isStringNumber, h as isString, e as debugWarn, o as isClient, J as camelize } from './E_WRn0OP.mjs';
1
+ import { f as isNumber, A as isStringNumber, h as isString, e as debugWarn, B as camelize } from './DRoyW749.mjs';
2
+ import { isClient } from '@vueuse/core';
2
3
 
3
4
  const SCOPE = "utils/dom/style";
4
5
  const classNameToArray = (cls = "") => cls.split(" ").filter((item) => !!item.trim());