@king-one/antdv 1.0.22 → 1.0.23

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 (277) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/es/components/base/style/index.js +1 -0
  3. package/dist/es/components/collapse-transtion/hooks/use-collapse-transtion.js +67 -0
  4. package/dist/es/components/collapse-transtion/index.js +11 -0
  5. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue.js +4 -0
  6. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue2.js +24 -0
  7. package/dist/es/components/collapse-transtion/src/types.js +9 -0
  8. package/dist/es/components/collapse-transtion/style/index.js +2 -0
  9. package/dist/es/components/form/component/form.js +11 -0
  10. package/dist/es/components/form/component/form.vue.js +4 -0
  11. package/dist/es/components/form/component/form.vue2.js +21 -0
  12. package/dist/es/components/form/index.js +10 -0
  13. package/dist/es/components/index.js +14 -0
  14. package/dist/es/components/pro-dialog/hooks/useProDialog.js +34 -0
  15. package/dist/es/components/pro-dialog/index.js +12 -0
  16. package/dist/es/components/pro-dialog/src/pro-dialog.vue.js +4 -0
  17. package/dist/es/components/pro-dialog/src/pro-dialog.vue2.js +21 -0
  18. package/dist/es/components/pro-dialog/src/types.js +8 -0
  19. package/dist/es/components/scale-virtual-list/component/scale-virtual-list.vue.js +4 -0
  20. package/dist/es/components/scale-virtual-list/component/scale-virtual-list.vue2.js +63 -0
  21. package/dist/es/components/scale-virtual-list/component/types.js +1 -0
  22. package/dist/es/components/scale-virtual-list/hooks/useVirtualList.js +157 -0
  23. package/dist/es/components/scale-virtual-list/index.js +10 -0
  24. package/dist/es/components/scale-virtual-list/style/index.js +2 -0
  25. package/dist/es/components/scroll-bar/index.js +9 -0
  26. package/dist/es/components/scroll-bar/src/scroll-bar.js +169 -0
  27. package/dist/es/components/scroll-bar/src/{types.mjs → types.js} +4 -4
  28. package/dist/es/components/utils/install.js +19 -0
  29. package/dist/es/components/virtual-list/index.js +10 -0
  30. package/dist/es/components/virtual-list/src/{types.mjs → types.js} +5 -5
  31. package/dist/es/components/virtual-list/src/virtual-list.vue.js +4 -0
  32. package/dist/es/components/virtual-list/src/virtual-list.vue2.js +87 -0
  33. package/dist/es/hooks/use-namespace/index.js +49 -0
  34. package/dist/es/index.js +30 -0
  35. package/dist/es/installer.js +14 -0
  36. package/dist/es/node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.4.38/node_modules/@vueuse/core/index.js +5149 -0
  37. package/dist/es/node_modules/.pnpm/@vueuse_shared@10.11.1_vue@3.4.38/node_modules/@vueuse/shared/index.js +1190 -0
  38. package/dist/es/node_modules/.pnpm/vue-demi@0.14.10_vue@3.4.38/node_modules/vue-demi/lib/index.js +24 -0
  39. package/dist/lib/node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.4.38/node_modules/@vueuse/core/index.js +1 -0
  40. package/dist/lib/node_modules/.pnpm/@vueuse_shared@10.11.1_vue@3.4.38/node_modules/@vueuse/shared/index.js +1 -0
  41. package/dist/lib/node_modules/.pnpm/vue-demi@0.14.10_vue@3.4.38/node_modules/vue-demi/lib/index.js +1 -0
  42. package/dist/lib/packages/antdv/components/base/style/index.js +1 -0
  43. package/dist/lib/packages/antdv/components/collapse-transtion/hooks/use-collapse-transtion.js +1 -0
  44. package/dist/lib/packages/antdv/components/collapse-transtion/index.js +1 -0
  45. package/dist/lib/packages/antdv/components/collapse-transtion/src/collapse-transtion.vue.js +1 -0
  46. package/dist/lib/packages/antdv/components/collapse-transtion/src/collapse-transtion.vue2.js +1 -0
  47. package/dist/lib/packages/antdv/components/collapse-transtion/src/types.js +1 -0
  48. package/dist/lib/packages/antdv/components/collapse-transtion/style/index.js +1 -0
  49. package/dist/lib/packages/antdv/components/form/component/form.js +1 -0
  50. package/dist/lib/packages/antdv/components/form/component/form.vue.js +1 -0
  51. package/dist/lib/packages/antdv/components/form/component/form.vue2.js +1 -0
  52. package/dist/lib/packages/antdv/components/form/index.js +1 -0
  53. package/dist/lib/packages/antdv/components/index.js +1 -0
  54. package/dist/lib/packages/antdv/components/pro-dialog/hooks/useProDialog.js +1 -0
  55. package/dist/lib/packages/antdv/components/pro-dialog/index.js +1 -0
  56. package/dist/lib/packages/antdv/components/pro-dialog/src/pro-dialog.vue.js +1 -0
  57. package/dist/lib/packages/antdv/components/pro-dialog/src/pro-dialog.vue2.js +1 -0
  58. package/dist/lib/packages/antdv/components/pro-dialog/src/types.js +1 -0
  59. package/dist/lib/packages/antdv/components/scale-virtual-list/component/scale-virtual-list.vue.js +1 -0
  60. package/dist/lib/packages/antdv/components/scale-virtual-list/component/scale-virtual-list.vue2.js +1 -0
  61. package/dist/lib/packages/antdv/components/scale-virtual-list/component/types.js +1 -0
  62. package/dist/lib/packages/antdv/components/scale-virtual-list/hooks/useVirtualList.js +1 -0
  63. package/dist/lib/packages/antdv/components/scale-virtual-list/index.js +1 -0
  64. package/dist/lib/packages/antdv/components/scale-virtual-list/style/index.js +1 -0
  65. package/dist/lib/packages/antdv/components/scroll-bar/index.js +1 -0
  66. package/dist/lib/packages/antdv/components/scroll-bar/src/scroll-bar.js +1 -0
  67. package/dist/lib/packages/antdv/components/scroll-bar/src/types.js +1 -0
  68. package/dist/lib/packages/antdv/components/utils/install.js +1 -0
  69. package/dist/lib/packages/antdv/components/virtual-list/index.js +1 -0
  70. package/dist/lib/packages/antdv/components/virtual-list/src/types.js +1 -0
  71. package/dist/lib/packages/antdv/components/virtual-list/src/virtual-list.vue.js +1 -0
  72. package/dist/lib/packages/antdv/components/virtual-list/src/virtual-list.vue2.js +1 -0
  73. package/dist/lib/packages/antdv/hooks/use-namespace/index.js +1 -0
  74. package/dist/lib/packages/antdv/index.js +1 -0
  75. package/dist/lib/packages/antdv/installer.js +1 -0
  76. package/dist/theme-chalk/index.css +1 -1
  77. package/dist/theme-chalk/scale-virtual-list.css +1 -0
  78. package/dist/{es → types}/components/collapse-transtion/hooks/use-collapse-transtion.d.ts +2 -2
  79. package/dist/types/components/collapse-transtion/index.d.ts +41 -0
  80. package/dist/types/components/collapse-transtion/src/collapse-transtion.vue.d.ts +27 -0
  81. package/dist/{es → types}/components/collapse-transtion/src/types.d.ts +1 -1
  82. package/dist/{lib → types}/components/form/component/form.d.ts +2 -2
  83. package/dist/types/components/form/component/form.vue.d.ts +32 -0
  84. package/dist/types/components/form/index.d.ts +50 -0
  85. package/dist/{lib → types}/components/index.d.ts +2 -0
  86. package/dist/{lib → types}/components/pro-dialog/hooks/useProDialog.d.ts +2 -1
  87. package/dist/types/components/pro-dialog/index.d.ts +26 -0
  88. package/dist/types/components/pro-dialog/src/pro-dialog.vue.d.ts +24 -0
  89. package/dist/types/components/pro-dialog/src/types.d.ts +7 -0
  90. package/dist/types/components/scale-virtual-list/component/scale-virtual-list.vue.d.ts +28 -0
  91. package/dist/types/components/scale-virtual-list/component/types.d.ts +11 -0
  92. package/dist/types/components/scale-virtual-list/hooks/useVirtualList.d.ts +70 -0
  93. package/dist/types/components/scale-virtual-list/index.d.ts +67 -0
  94. package/dist/types/components/scroll-bar/index.d.ts +36 -0
  95. package/dist/types/components/scroll-bar/src/scroll-bar.d.ts +34 -0
  96. package/dist/{es → types}/components/scroll-bar/src/types.d.ts +1 -1
  97. package/dist/{es → types}/components/utils/install.d.ts +1 -1
  98. package/dist/types/components/utils/tool.d.ts +1 -0
  99. package/dist/types/components/virtual-list/index.d.ts +163 -0
  100. package/dist/{es → types}/components/virtual-list/src/types.d.ts +2 -2
  101. package/dist/types/components/virtual-list/src/virtual-list.vue.d.ts +364 -0
  102. package/dist/{es → types}/index.d.ts +1 -1
  103. package/dist/{es → types}/installer.d.ts +1 -1
  104. package/package.json +4 -1
  105. package/dist/cdn/index.cdn.js +0 -16
  106. package/dist/cdn/index.cdn.js.map +0 -1
  107. package/dist/cdn/index.cdn.mjs +0 -16
  108. package/dist/cdn/index.cdn.mjs.map +0 -1
  109. package/dist/cdn/index.css +0 -1
  110. package/dist/es/components/base/style/index.mjs +0 -2
  111. package/dist/es/components/base/style/index.mjs.map +0 -1
  112. package/dist/es/components/collapse-transtion/hooks/use-collapse-transtion.mjs +0 -134
  113. package/dist/es/components/collapse-transtion/hooks/use-collapse-transtion.mjs.map +0 -1
  114. package/dist/es/components/collapse-transtion/index.d.ts +0 -29
  115. package/dist/es/components/collapse-transtion/index.mjs +0 -10
  116. package/dist/es/components/collapse-transtion/index.mjs.map +0 -1
  117. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue.d.ts +0 -27
  118. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue.mjs +0 -6
  119. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue.mjs.map +0 -1
  120. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue2.mjs +0 -30
  121. package/dist/es/components/collapse-transtion/src/collapse-transtion.vue2.mjs.map +0 -1
  122. package/dist/es/components/collapse-transtion/src/types.mjs +0 -9
  123. package/dist/es/components/collapse-transtion/src/types.mjs.map +0 -1
  124. package/dist/es/components/collapse-transtion/style/index.mjs +0 -3
  125. package/dist/es/components/collapse-transtion/style/index.mjs.map +0 -1
  126. package/dist/es/components/form/component/form.d.ts +0 -10
  127. package/dist/es/components/form/component/form.mjs +0 -11
  128. package/dist/es/components/form/component/form.mjs.map +0 -1
  129. package/dist/es/components/form/component/form.vue.d.ts +0 -16
  130. package/dist/es/components/form/component/form.vue.mjs +0 -6
  131. package/dist/es/components/form/component/form.vue.mjs.map +0 -1
  132. package/dist/es/components/form/component/form.vue2.mjs +0 -26
  133. package/dist/es/components/form/component/form.vue2.mjs.map +0 -1
  134. package/dist/es/components/form/index.d.ts +0 -17
  135. package/dist/es/components/form/index.mjs +0 -9
  136. package/dist/es/components/form/index.mjs.map +0 -1
  137. package/dist/es/components/form-item/component/form-item.vue.d.ts +0 -24
  138. package/dist/es/components/form-item/component/form-item.vue.mjs +0 -6
  139. package/dist/es/components/form-item/component/form-item.vue.mjs.map +0 -1
  140. package/dist/es/components/form-item/component/form-item.vue2.mjs +0 -128
  141. package/dist/es/components/form-item/component/form-item.vue2.mjs.map +0 -1
  142. package/dist/es/components/form-item/index.d.ts +0 -0
  143. package/dist/es/components/form-item/index.mjs +0 -2
  144. package/dist/es/components/form-item/index.mjs.map +0 -1
  145. package/dist/es/components/index.d.ts +0 -4
  146. package/dist/es/components/index.mjs +0 -10
  147. package/dist/es/components/index.mjs.map +0 -1
  148. package/dist/es/components/pro-dialog/hooks/useProDialog.d.ts +0 -13
  149. package/dist/es/components/pro-dialog/hooks/useProDialog.mjs +0 -49
  150. package/dist/es/components/pro-dialog/hooks/useProDialog.mjs.map +0 -1
  151. package/dist/es/components/pro-dialog/index.d.ts +0 -1542
  152. package/dist/es/components/pro-dialog/index.mjs +0 -11
  153. package/dist/es/components/pro-dialog/index.mjs.map +0 -1
  154. package/dist/es/components/pro-dialog/src/pro-dialog.vue.d.ts +0 -1539
  155. package/dist/es/components/pro-dialog/src/pro-dialog.vue.mjs +0 -6
  156. package/dist/es/components/pro-dialog/src/pro-dialog.vue.mjs.map +0 -1
  157. package/dist/es/components/pro-dialog/src/pro-dialog.vue2.mjs +0 -38
  158. package/dist/es/components/pro-dialog/src/pro-dialog.vue2.mjs.map +0 -1
  159. package/dist/es/components/pro-dialog/src/types.d.ts +0 -6
  160. package/dist/es/components/pro-dialog/src/types.mjs +0 -9
  161. package/dist/es/components/pro-dialog/src/types.mjs.map +0 -1
  162. package/dist/es/components/pro-dialog/style/index.mjs +0 -3
  163. package/dist/es/components/pro-dialog/style/index.mjs.map +0 -1
  164. package/dist/es/components/scroll-bar/index.d.ts +0 -35
  165. package/dist/es/components/scroll-bar/index.mjs +0 -9
  166. package/dist/es/components/scroll-bar/index.mjs.map +0 -1
  167. package/dist/es/components/scroll-bar/src/scroll-bar.d.ts +0 -33
  168. package/dist/es/components/scroll-bar/src/scroll-bar.mjs +0 -386
  169. package/dist/es/components/scroll-bar/src/scroll-bar.mjs.map +0 -1
  170. package/dist/es/components/scroll-bar/src/types.mjs.map +0 -1
  171. package/dist/es/components/scroll-bar/style/index.mjs +0 -3
  172. package/dist/es/components/scroll-bar/style/index.mjs.map +0 -1
  173. package/dist/es/components/utils/install.mjs +0 -19
  174. package/dist/es/components/utils/install.mjs.map +0 -1
  175. package/dist/es/components/virtual-list/index.d.ts +0 -312
  176. package/dist/es/components/virtual-list/index.mjs +0 -9
  177. package/dist/es/components/virtual-list/index.mjs.map +0 -1
  178. package/dist/es/components/virtual-list/src/types.mjs.map +0 -1
  179. package/dist/es/components/virtual-list/src/virtual-list.vue.d.ts +0 -312
  180. package/dist/es/components/virtual-list/src/virtual-list.vue.mjs +0 -6
  181. package/dist/es/components/virtual-list/src/virtual-list.vue.mjs.map +0 -1
  182. package/dist/es/components/virtual-list/src/virtual-list.vue2.mjs +0 -100
  183. package/dist/es/components/virtual-list/src/virtual-list.vue2.mjs.map +0 -1
  184. package/dist/es/hooks/use-namespace/index.d.ts +0 -23
  185. package/dist/es/hooks/use-namespace/index.mjs +0 -78
  186. package/dist/es/hooks/use-namespace/index.mjs.map +0 -1
  187. package/dist/es/index.mjs +0 -16
  188. package/dist/es/index.mjs.map +0 -1
  189. package/dist/es/installer.mjs +0 -14
  190. package/dist/es/installer.mjs.map +0 -1
  191. package/dist/lib/components/base/style/index.js +0 -5
  192. package/dist/lib/components/base/style/index.js.map +0 -1
  193. package/dist/lib/components/collapse-transtion/hooks/use-collapse-transtion.d.ts +0 -12
  194. package/dist/lib/components/collapse-transtion/hooks/use-collapse-transtion.js +0 -136
  195. package/dist/lib/components/collapse-transtion/hooks/use-collapse-transtion.js.map +0 -1
  196. package/dist/lib/components/collapse-transtion/index.d.ts +0 -29
  197. package/dist/lib/components/collapse-transtion/index.js +0 -16
  198. package/dist/lib/components/collapse-transtion/index.js.map +0 -1
  199. package/dist/lib/components/collapse-transtion/src/collapse-transtion.vue.d.ts +0 -27
  200. package/dist/lib/components/collapse-transtion/src/collapse-transtion.vue.js +0 -10
  201. package/dist/lib/components/collapse-transtion/src/collapse-transtion.vue.js.map +0 -1
  202. package/dist/lib/components/collapse-transtion/src/collapse-transtion.vue2.js +0 -34
  203. package/dist/lib/components/collapse-transtion/src/collapse-transtion.vue2.js.map +0 -1
  204. package/dist/lib/components/collapse-transtion/src/types.d.ts +0 -8
  205. package/dist/lib/components/collapse-transtion/src/types.js +0 -11
  206. package/dist/lib/components/collapse-transtion/src/types.js.map +0 -1
  207. package/dist/lib/components/collapse-transtion/style/index.js +0 -6
  208. package/dist/lib/components/collapse-transtion/style/index.js.map +0 -1
  209. package/dist/lib/components/form/component/form.js +0 -13
  210. package/dist/lib/components/form/component/form.js.map +0 -1
  211. package/dist/lib/components/form/component/form.vue.d.ts +0 -16
  212. package/dist/lib/components/form/component/form.vue.js +0 -10
  213. package/dist/lib/components/form/component/form.vue.js.map +0 -1
  214. package/dist/lib/components/form/component/form.vue2.js +0 -30
  215. package/dist/lib/components/form/component/form.vue2.js.map +0 -1
  216. package/dist/lib/components/form/index.d.ts +0 -17
  217. package/dist/lib/components/form/index.js +0 -15
  218. package/dist/lib/components/form/index.js.map +0 -1
  219. package/dist/lib/components/form-item/component/form-item.vue.d.ts +0 -24
  220. package/dist/lib/components/form-item/component/form-item.vue.js +0 -10
  221. package/dist/lib/components/form-item/component/form-item.vue.js.map +0 -1
  222. package/dist/lib/components/form-item/component/form-item.vue2.js +0 -132
  223. package/dist/lib/components/form-item/component/form-item.vue2.js.map +0 -1
  224. package/dist/lib/components/form-item/index.d.ts +0 -0
  225. package/dist/lib/components/form-item/index.js +0 -3
  226. package/dist/lib/components/form-item/index.js.map +0 -1
  227. package/dist/lib/components/index.js +0 -25
  228. package/dist/lib/components/index.js.map +0 -1
  229. package/dist/lib/components/pro-dialog/hooks/useProDialog.js +0 -52
  230. package/dist/lib/components/pro-dialog/hooks/useProDialog.js.map +0 -1
  231. package/dist/lib/components/pro-dialog/index.d.ts +0 -1542
  232. package/dist/lib/components/pro-dialog/index.js +0 -19
  233. package/dist/lib/components/pro-dialog/index.js.map +0 -1
  234. package/dist/lib/components/pro-dialog/src/pro-dialog.vue.d.ts +0 -1539
  235. package/dist/lib/components/pro-dialog/src/pro-dialog.vue.js +0 -10
  236. package/dist/lib/components/pro-dialog/src/pro-dialog.vue.js.map +0 -1
  237. package/dist/lib/components/pro-dialog/src/pro-dialog.vue2.js +0 -42
  238. package/dist/lib/components/pro-dialog/src/pro-dialog.vue2.js.map +0 -1
  239. package/dist/lib/components/pro-dialog/src/types.d.ts +0 -6
  240. package/dist/lib/components/pro-dialog/src/types.js +0 -11
  241. package/dist/lib/components/pro-dialog/src/types.js.map +0 -1
  242. package/dist/lib/components/pro-dialog/style/index.js +0 -6
  243. package/dist/lib/components/pro-dialog/style/index.js.map +0 -1
  244. package/dist/lib/components/scroll-bar/index.d.ts +0 -35
  245. package/dist/lib/components/scroll-bar/index.js +0 -15
  246. package/dist/lib/components/scroll-bar/index.js.map +0 -1
  247. package/dist/lib/components/scroll-bar/src/scroll-bar.d.ts +0 -33
  248. package/dist/lib/components/scroll-bar/src/scroll-bar.js +0 -390
  249. package/dist/lib/components/scroll-bar/src/scroll-bar.js.map +0 -1
  250. package/dist/lib/components/scroll-bar/src/types.d.ts +0 -7
  251. package/dist/lib/components/scroll-bar/src/types.js +0 -11
  252. package/dist/lib/components/scroll-bar/src/types.js.map +0 -1
  253. package/dist/lib/components/scroll-bar/style/index.js +0 -6
  254. package/dist/lib/components/scroll-bar/style/index.js.map +0 -1
  255. package/dist/lib/components/utils/install.d.ts +0 -7
  256. package/dist/lib/components/utils/install.js +0 -22
  257. package/dist/lib/components/utils/install.js.map +0 -1
  258. package/dist/lib/components/virtual-list/index.d.ts +0 -312
  259. package/dist/lib/components/virtual-list/index.js +0 -15
  260. package/dist/lib/components/virtual-list/index.js.map +0 -1
  261. package/dist/lib/components/virtual-list/src/types.d.ts +0 -39
  262. package/dist/lib/components/virtual-list/src/types.js +0 -32
  263. package/dist/lib/components/virtual-list/src/types.js.map +0 -1
  264. package/dist/lib/components/virtual-list/src/virtual-list.vue.d.ts +0 -312
  265. package/dist/lib/components/virtual-list/src/virtual-list.vue.js +0 -10
  266. package/dist/lib/components/virtual-list/src/virtual-list.vue.js.map +0 -1
  267. package/dist/lib/components/virtual-list/src/virtual-list.vue2.js +0 -104
  268. package/dist/lib/components/virtual-list/src/virtual-list.vue2.js.map +0 -1
  269. package/dist/lib/hooks/use-namespace/index.d.ts +0 -23
  270. package/dist/lib/hooks/use-namespace/index.js +0 -83
  271. package/dist/lib/hooks/use-namespace/index.js.map +0 -1
  272. package/dist/lib/index.d.ts +0 -3
  273. package/dist/lib/index.js +0 -30
  274. package/dist/lib/index.js.map +0 -1
  275. package/dist/lib/installer.d.ts +0 -6
  276. package/dist/lib/installer.js +0 -19
  277. package/dist/lib/installer.js.map +0 -1
@@ -0,0 +1,1190 @@
1
+ import { isVue3 as I, isVue2 as ee, set as te } from "../../../../vue-demi@0.14.10_vue@3.4.38/node_modules/vue-demi/lib/index.js";
2
+ import { shallowRef as ne, watchEffect as re, readonly as N, ref as w, watch as y, customRef as F, getCurrentScope as oe, onScopeDispose as ue, effectScope as z, getCurrentInstance as $, provide as ie, inject as se, version as ce, isRef as S, unref as M, computed as p, reactive as Y, toRefs as C, toRef as le, onBeforeMount as ae, nextTick as _, onBeforeUnmount as fe, onMounted as de, onUnmounted as me, isReactive as ve } from "vue";
3
+ function Ze(e, t) {
4
+ var n;
5
+ const r = ne();
6
+ return re(() => {
7
+ r.value = e();
8
+ }, {
9
+ ...t,
10
+ flush: (n = t == null ? void 0 : t.flush) != null ? n : "sync"
11
+ }), N(r);
12
+ }
13
+ function qe(e, t) {
14
+ let n, r, o;
15
+ const u = w(!0), s = () => {
16
+ u.value = !0, o();
17
+ };
18
+ y(e, s, { flush: "sync" });
19
+ const i = typeof t == "function" ? t : t.get, l = typeof t == "function" ? void 0 : t.set, m = F((d, f) => (r = d, o = f, {
20
+ get() {
21
+ return u.value && (n = i(), u.value = !1), r(), n;
22
+ },
23
+ set(a) {
24
+ l == null || l(a);
25
+ }
26
+ }));
27
+ return Object.isExtensible(m) && (m.trigger = s), m;
28
+ }
29
+ function T(e) {
30
+ return oe() ? (ue(e), !0) : !1;
31
+ }
32
+ function Xe() {
33
+ const e = /* @__PURE__ */ new Set(), t = (o) => {
34
+ e.delete(o);
35
+ };
36
+ return {
37
+ on: (o) => {
38
+ e.add(o);
39
+ const u = () => t(o);
40
+ return T(u), {
41
+ off: u
42
+ };
43
+ },
44
+ off: t,
45
+ trigger: (...o) => Promise.all(Array.from(e).map((u) => u(...o)))
46
+ };
47
+ }
48
+ function Je(e) {
49
+ let t = !1, n;
50
+ const r = z(!0);
51
+ return (...o) => (t || (n = r.run(() => e(...o)), t = !0), n);
52
+ }
53
+ const P = /* @__PURE__ */ new WeakMap(), pe = (e, t) => {
54
+ var n;
55
+ const r = (n = $()) == null ? void 0 : n.proxy;
56
+ if (r == null)
57
+ throw new Error("provideLocal must be called in setup");
58
+ P.has(r) || P.set(r, /* @__PURE__ */ Object.create(null));
59
+ const o = P.get(r);
60
+ o[e] = t, ie(e, t);
61
+ }, he = (...e) => {
62
+ var t;
63
+ const n = e[0], r = (t = $()) == null ? void 0 : t.proxy;
64
+ if (r == null)
65
+ throw new Error("injectLocal must be called in setup");
66
+ return P.has(r) && n in P.get(r) ? P.get(r)[n] : se(...e);
67
+ };
68
+ function Ke(e, t) {
69
+ const n = (t == null ? void 0 : t.injectionKey) || Symbol(e.name || "InjectionState"), r = t == null ? void 0 : t.defaultValue;
70
+ return [(...s) => {
71
+ const i = e(...s);
72
+ return pe(n, i), i;
73
+ }, () => he(n, r)];
74
+ }
75
+ function Qe(e) {
76
+ let t = 0, n, r;
77
+ const o = () => {
78
+ t -= 1, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
79
+ };
80
+ return (...u) => (t += 1, n || (r = z(!0), n = r.run(() => e(...u))), T(o), n);
81
+ }
82
+ function ye(e, t, { enumerable: n = !1, unwrap: r = !0 } = {}) {
83
+ if (!I && !ce.startsWith("2.7.")) {
84
+ if (process.env.NODE_ENV !== "production")
85
+ throw new Error("[VueUse] extendRef only works in Vue 2.7 or above.");
86
+ return;
87
+ }
88
+ for (const [o, u] of Object.entries(t))
89
+ o !== "value" && (S(u) && r ? Object.defineProperty(e, o, {
90
+ get() {
91
+ return u.value;
92
+ },
93
+ set(s) {
94
+ u.value = s;
95
+ },
96
+ enumerable: n
97
+ }) : Object.defineProperty(e, o, { value: u, enumerable: n }));
98
+ return e;
99
+ }
100
+ function et(e, t) {
101
+ return t == null ? M(e) : M(e)[t];
102
+ }
103
+ function tt(e) {
104
+ return M(e) != null;
105
+ }
106
+ function nt(e, t) {
107
+ if (typeof Symbol < "u") {
108
+ const n = { ...e };
109
+ return Object.defineProperty(n, Symbol.iterator, {
110
+ enumerable: !1,
111
+ value() {
112
+ let r = 0;
113
+ return {
114
+ next: () => ({
115
+ value: t[r++],
116
+ done: r > t.length
117
+ })
118
+ };
119
+ }
120
+ }), n;
121
+ } else
122
+ return Object.assign([...t], e);
123
+ }
124
+ function c(e) {
125
+ return typeof e == "function" ? e() : M(e);
126
+ }
127
+ const rt = c;
128
+ function ge(e, t) {
129
+ const n = (t == null ? void 0 : t.computedGetter) === !1 ? M : c;
130
+ return function(...r) {
131
+ return p(() => e.apply(this, r.map((o) => n(o))));
132
+ };
133
+ }
134
+ function ot(e, t = {}) {
135
+ let n = [], r;
136
+ if (Array.isArray(t))
137
+ n = t;
138
+ else {
139
+ r = t;
140
+ const { includeOwnProperties: o = !0 } = t;
141
+ n.push(...Object.keys(e)), o && n.push(...Object.getOwnPropertyNames(e));
142
+ }
143
+ return Object.fromEntries(
144
+ n.map((o) => {
145
+ const u = e[o];
146
+ return [
147
+ o,
148
+ typeof u == "function" ? ge(u.bind(e), r) : u
149
+ ];
150
+ })
151
+ );
152
+ }
153
+ function we(e) {
154
+ if (!S(e))
155
+ return Y(e);
156
+ const t = new Proxy({}, {
157
+ get(n, r, o) {
158
+ return M(Reflect.get(e.value, r, o));
159
+ },
160
+ set(n, r, o) {
161
+ return S(e.value[r]) && !S(o) ? e.value[r].value = o : e.value[r] = o, !0;
162
+ },
163
+ deleteProperty(n, r) {
164
+ return Reflect.deleteProperty(e.value, r);
165
+ },
166
+ has(n, r) {
167
+ return Reflect.has(e.value, r);
168
+ },
169
+ ownKeys() {
170
+ return Object.keys(e.value);
171
+ },
172
+ getOwnPropertyDescriptor() {
173
+ return {
174
+ enumerable: !0,
175
+ configurable: !0
176
+ };
177
+ }
178
+ });
179
+ return Y(t);
180
+ }
181
+ function Z(e) {
182
+ return we(p(e));
183
+ }
184
+ function ut(e, ...t) {
185
+ const n = t.flat(), r = n[0];
186
+ return Z(() => Object.fromEntries(typeof r == "function" ? Object.entries(C(e)).filter(([o, u]) => !r(c(u), o)) : Object.entries(C(e)).filter((o) => !n.includes(o[0]))));
187
+ }
188
+ const k = typeof window < "u" && typeof document < "u", it = typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope, st = (e) => typeof e < "u", ct = (e) => e != null, lt = (e, ...t) => {
189
+ e || console.warn(...t);
190
+ }, be = Object.prototype.toString, Oe = (e) => be.call(e) === "[object Object]", at = () => Date.now(), Se = () => +Date.now(), ft = (e, t, n) => Math.min(n, Math.max(t, e)), E = () => {
191
+ }, dt = (e, t) => (e = Math.ceil(e), t = Math.floor(t), Math.floor(Math.random() * (t - e + 1)) + e), mt = (e, t) => Object.prototype.hasOwnProperty.call(e, t), vt = /* @__PURE__ */ Ae();
192
+ function Ae() {
193
+ var e, t;
194
+ return k && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
195
+ }
196
+ function R(e, t) {
197
+ function n(...r) {
198
+ return new Promise((o, u) => {
199
+ Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(o).catch(u);
200
+ });
201
+ }
202
+ return n;
203
+ }
204
+ const V = (e) => e();
205
+ function q(e, t = {}) {
206
+ let n, r, o = E;
207
+ const u = (i) => {
208
+ clearTimeout(i), o(), o = E;
209
+ };
210
+ return (i) => {
211
+ const l = c(e), m = c(t.maxWait);
212
+ return n && u(n), l <= 0 || m !== void 0 && m <= 0 ? (r && (u(r), r = null), Promise.resolve(i())) : new Promise((d, f) => {
213
+ o = t.rejectOnCancel ? f : d, m && !r && (r = setTimeout(() => {
214
+ n && u(n), r = null, d(i());
215
+ }, m)), n = setTimeout(() => {
216
+ r && u(r), r = null, d(i());
217
+ }, l);
218
+ });
219
+ };
220
+ }
221
+ function X(...e) {
222
+ let t = 0, n, r = !0, o = E, u, s, i, l, m;
223
+ !S(e[0]) && typeof e[0] == "object" ? { delay: s, trailing: i = !0, leading: l = !0, rejectOnCancel: m = !1 } = e[0] : [s, i = !0, l = !0, m = !1] = e;
224
+ const d = () => {
225
+ n && (clearTimeout(n), n = void 0, o(), o = E);
226
+ };
227
+ return (a) => {
228
+ const v = c(s), h = Date.now() - t, b = () => u = a();
229
+ return d(), v <= 0 ? (t = Date.now(), b()) : (h > v && (l || !r) ? (t = Date.now(), b()) : i && (u = new Promise((g, O) => {
230
+ o = m ? O : g, n = setTimeout(() => {
231
+ t = Date.now(), r = !0, g(b()), d();
232
+ }, Math.max(0, v - h));
233
+ })), !l && !n && (n = setTimeout(() => r = !0, v)), r = !1, u);
234
+ };
235
+ }
236
+ function Me(e = V) {
237
+ const t = w(!0);
238
+ function n() {
239
+ t.value = !1;
240
+ }
241
+ function r() {
242
+ t.value = !0;
243
+ }
244
+ const o = (...u) => {
245
+ t.value && e(...u);
246
+ };
247
+ return { isActive: N(t), pause: n, resume: r, eventFilter: o };
248
+ }
249
+ const pt = {
250
+ mounted: I ? "mounted" : "inserted",
251
+ updated: I ? "updated" : "componentUpdated",
252
+ unmounted: I ? "unmounted" : "unbind"
253
+ };
254
+ function J(e) {
255
+ const t = /* @__PURE__ */ Object.create(null);
256
+ return (n) => t[n] || (t[n] = e(n));
257
+ }
258
+ const De = /\B([A-Z])/g, ht = J((e) => e.replace(De, "-$1").toLowerCase()), Pe = /-(\w)/g, yt = J((e) => e.replace(Pe, (t, n) => n ? n.toUpperCase() : ""));
259
+ function H(e, t = !1, n = "Timeout") {
260
+ return new Promise((r, o) => {
261
+ setTimeout(t ? () => o(n) : r, e);
262
+ });
263
+ }
264
+ function gt(e) {
265
+ return e;
266
+ }
267
+ function wt(e) {
268
+ let t;
269
+ function n() {
270
+ return t || (t = e()), t;
271
+ }
272
+ return n.reset = async () => {
273
+ const r = t;
274
+ t = void 0, r && await r;
275
+ }, n;
276
+ }
277
+ function bt(e) {
278
+ return e();
279
+ }
280
+ function Te(e, ...t) {
281
+ return t.some((n) => n in e);
282
+ }
283
+ function Ot(e, t) {
284
+ var n;
285
+ if (typeof e == "number")
286
+ return e + t;
287
+ const r = ((n = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : n[0]) || "", o = e.slice(r.length), u = Number.parseFloat(r) + t;
288
+ return Number.isNaN(u) ? e : u + o;
289
+ }
290
+ function St(e, t, n = !1) {
291
+ return t.reduce((r, o) => (o in e && (!n || e[o] !== void 0) && (r[o] = e[o]), r), {});
292
+ }
293
+ function At(e, t, n = !1) {
294
+ return Object.fromEntries(Object.entries(e).filter(([r, o]) => (!n || o !== void 0) && !t.includes(r)));
295
+ }
296
+ function Mt(e) {
297
+ return Object.entries(e);
298
+ }
299
+ function L(e) {
300
+ return e || $();
301
+ }
302
+ function K(...e) {
303
+ if (e.length !== 1)
304
+ return le(...e);
305
+ const t = e[0];
306
+ return typeof t == "function" ? N(F(() => ({ get: t, set: E }))) : w(t);
307
+ }
308
+ const Dt = K;
309
+ function Pt(e, ...t) {
310
+ const n = t.flat(), r = n[0];
311
+ return Z(() => Object.fromEntries(typeof r == "function" ? Object.entries(C(e)).filter(([o, u]) => r(c(u), o)) : n.map((o) => [o, K(e, o)])));
312
+ }
313
+ function Tt(e, t = 1e4) {
314
+ return F((n, r) => {
315
+ let o = c(e), u;
316
+ const s = () => setTimeout(() => {
317
+ o = c(e), r();
318
+ }, c(t));
319
+ return T(() => {
320
+ clearTimeout(u);
321
+ }), {
322
+ get() {
323
+ return n(), o;
324
+ },
325
+ set(i) {
326
+ o = i, r(), clearTimeout(u), u = s();
327
+ }
328
+ };
329
+ });
330
+ }
331
+ function Ee(e, t = 200, n = {}) {
332
+ return R(
333
+ q(t, n),
334
+ e
335
+ );
336
+ }
337
+ function Et(e, t = 200, n = {}) {
338
+ const r = w(e.value), o = Ee(() => {
339
+ r.value = e.value;
340
+ }, t, n);
341
+ return y(e, () => o()), r;
342
+ }
343
+ function Ft(e, t) {
344
+ return p({
345
+ get() {
346
+ var n;
347
+ return (n = e.value) != null ? n : t;
348
+ },
349
+ set(n) {
350
+ e.value = n;
351
+ }
352
+ });
353
+ }
354
+ function Fe(e, t = 200, n = !1, r = !0, o = !1) {
355
+ return R(
356
+ X(t, n, r, o),
357
+ e
358
+ );
359
+ }
360
+ function _t(e, t = 200, n = !0, r = !0) {
361
+ if (t <= 0)
362
+ return e;
363
+ const o = w(e.value), u = Fe(() => {
364
+ o.value = e.value;
365
+ }, t, n, r);
366
+ return y(e, () => u()), o;
367
+ }
368
+ function _e(e, t = {}) {
369
+ let n = e, r, o;
370
+ const u = F((a, v) => (r = a, o = v, {
371
+ get() {
372
+ return s();
373
+ },
374
+ set(h) {
375
+ i(h);
376
+ }
377
+ }));
378
+ function s(a = !0) {
379
+ return a && r(), n;
380
+ }
381
+ function i(a, v = !0) {
382
+ var h, b;
383
+ if (a === n)
384
+ return;
385
+ const g = n;
386
+ ((h = t.onBeforeChange) == null ? void 0 : h.call(t, a, g)) !== !1 && (n = a, (b = t.onChanged) == null || b.call(t, a, g), v && o());
387
+ }
388
+ return ye(
389
+ u,
390
+ {
391
+ get: s,
392
+ set: i,
393
+ untrackedGet: () => s(!1),
394
+ silentSet: (a) => i(a, !1),
395
+ peek: () => s(!1),
396
+ lay: (a) => i(a, !1)
397
+ },
398
+ { enumerable: !0 }
399
+ );
400
+ }
401
+ const xt = _e;
402
+ function It(...e) {
403
+ if (e.length === 2) {
404
+ const [t, n] = e;
405
+ t.value = n;
406
+ }
407
+ if (e.length === 3)
408
+ if (ee)
409
+ te(...e);
410
+ else {
411
+ const [t, n, r] = e;
412
+ t[n] = r;
413
+ }
414
+ }
415
+ function j(e, t, n = {}) {
416
+ const {
417
+ eventFilter: r = V,
418
+ ...o
419
+ } = n;
420
+ return y(
421
+ e,
422
+ R(
423
+ r,
424
+ t
425
+ ),
426
+ o
427
+ );
428
+ }
429
+ function G(e, t, n = {}) {
430
+ const {
431
+ eventFilter: r,
432
+ ...o
433
+ } = n, { eventFilter: u, pause: s, resume: i, isActive: l } = Me(r);
434
+ return { stop: j(
435
+ e,
436
+ t,
437
+ {
438
+ ...o,
439
+ eventFilter: u
440
+ }
441
+ ), pause: s, resume: i, isActive: l };
442
+ }
443
+ function Ct(e, t, ...[n]) {
444
+ const {
445
+ flush: r = "sync",
446
+ deep: o = !1,
447
+ immediate: u = !0,
448
+ direction: s = "both",
449
+ transform: i = {}
450
+ } = n || {}, l = [], m = "ltr" in i && i.ltr || ((a) => a), d = "rtl" in i && i.rtl || ((a) => a);
451
+ return (s === "both" || s === "ltr") && l.push(G(
452
+ e,
453
+ (a) => {
454
+ l.forEach((v) => v.pause()), t.value = m(a), l.forEach((v) => v.resume());
455
+ },
456
+ { flush: r, deep: o, immediate: u }
457
+ )), (s === "both" || s === "rtl") && l.push(G(
458
+ t,
459
+ (a) => {
460
+ l.forEach((v) => v.pause()), e.value = d(a), l.forEach((v) => v.resume());
461
+ },
462
+ { flush: r, deep: o, immediate: u }
463
+ )), () => {
464
+ l.forEach((a) => a.stop());
465
+ };
466
+ }
467
+ function kt(e, t, n = {}) {
468
+ const {
469
+ flush: r = "sync",
470
+ deep: o = !1,
471
+ immediate: u = !0
472
+ } = n;
473
+ return Array.isArray(t) || (t = [t]), y(
474
+ e,
475
+ (s) => t.forEach((i) => i.value = s),
476
+ { flush: r, deep: o, immediate: u }
477
+ );
478
+ }
479
+ function Nt(e, t = {}) {
480
+ if (!S(e))
481
+ return C(e);
482
+ const n = Array.isArray(e.value) ? Array.from({ length: e.value.length }) : {};
483
+ for (const r in e.value)
484
+ n[r] = F(() => ({
485
+ get() {
486
+ return e.value[r];
487
+ },
488
+ set(o) {
489
+ var u;
490
+ if ((u = c(t.replaceRef)) != null ? u : !0)
491
+ if (Array.isArray(e.value)) {
492
+ const i = [...e.value];
493
+ i[r] = o, e.value = i;
494
+ } else {
495
+ const i = { ...e.value, [r]: o };
496
+ Object.setPrototypeOf(i, Object.getPrototypeOf(e.value)), e.value = i;
497
+ }
498
+ else
499
+ e.value[r] = o;
500
+ }
501
+ }));
502
+ return n;
503
+ }
504
+ function Rt(e, t = !0, n) {
505
+ L(n) ? ae(e, n) : t ? e() : _(e);
506
+ }
507
+ function Lt(e, t) {
508
+ L(t) && fe(e, t);
509
+ }
510
+ function jt(e, t = !0, n) {
511
+ L() ? de(e, n) : t ? e() : _(e);
512
+ }
513
+ function Wt(e, t) {
514
+ L(t) && me(e, t);
515
+ }
516
+ function U(e, t = !1) {
517
+ function n(f, { flush: a = "sync", deep: v = !1, timeout: h, throwOnTimeout: b } = {}) {
518
+ let g = null;
519
+ const W = [new Promise((x) => {
520
+ g = y(
521
+ e,
522
+ (D) => {
523
+ f(D) !== t && (g == null || g(), x(D));
524
+ },
525
+ {
526
+ flush: a,
527
+ deep: v,
528
+ immediate: !0
529
+ }
530
+ );
531
+ })];
532
+ return h != null && W.push(
533
+ H(h, b).then(() => c(e)).finally(() => g == null ? void 0 : g())
534
+ ), Promise.race(W);
535
+ }
536
+ function r(f, a) {
537
+ if (!S(f))
538
+ return n((D) => D === f, a);
539
+ const { flush: v = "sync", deep: h = !1, timeout: b, throwOnTimeout: g } = a ?? {};
540
+ let O = null;
541
+ const x = [new Promise((D) => {
542
+ O = y(
543
+ [e, f],
544
+ ([B, Q]) => {
545
+ t !== (B === Q) && (O == null || O(), D(B));
546
+ },
547
+ {
548
+ flush: v,
549
+ deep: h,
550
+ immediate: !0
551
+ }
552
+ );
553
+ })];
554
+ return b != null && x.push(
555
+ H(b, g).then(() => c(e)).finally(() => (O == null || O(), c(e)))
556
+ ), Promise.race(x);
557
+ }
558
+ function o(f) {
559
+ return n((a) => !!a, f);
560
+ }
561
+ function u(f) {
562
+ return r(null, f);
563
+ }
564
+ function s(f) {
565
+ return r(void 0, f);
566
+ }
567
+ function i(f) {
568
+ return n(Number.isNaN, f);
569
+ }
570
+ function l(f, a) {
571
+ return n((v) => {
572
+ const h = Array.from(v);
573
+ return h.includes(f) || h.includes(c(f));
574
+ }, a);
575
+ }
576
+ function m(f) {
577
+ return d(1, f);
578
+ }
579
+ function d(f = 1, a) {
580
+ let v = -1;
581
+ return n(() => (v += 1, v >= f), a);
582
+ }
583
+ return Array.isArray(c(e)) ? {
584
+ toMatch: n,
585
+ toContains: l,
586
+ changed: m,
587
+ changedTimes: d,
588
+ get not() {
589
+ return U(e, !t);
590
+ }
591
+ } : {
592
+ toMatch: n,
593
+ toBe: r,
594
+ toBeTruthy: o,
595
+ toBeNull: u,
596
+ toBeNaN: i,
597
+ toBeUndefined: s,
598
+ changed: m,
599
+ changedTimes: d,
600
+ get not() {
601
+ return U(e, !t);
602
+ }
603
+ };
604
+ }
605
+ function Ut(e) {
606
+ return U(e);
607
+ }
608
+ function xe(e, t) {
609
+ return e === t;
610
+ }
611
+ function $t(...e) {
612
+ var t;
613
+ const n = e[0], r = e[1];
614
+ let o = (t = e[2]) != null ? t : xe;
615
+ if (typeof o == "string") {
616
+ const u = o;
617
+ o = (s, i) => s[u] === i[u];
618
+ }
619
+ return p(() => c(n).filter((u) => c(r).findIndex((s) => o(u, s)) === -1));
620
+ }
621
+ function Vt(e, t) {
622
+ return p(() => c(e).every((n, r, o) => t(c(n), r, o)));
623
+ }
624
+ function Bt(e, t) {
625
+ return p(() => c(e).map((n) => c(n)).filter(t));
626
+ }
627
+ function Yt(e, t) {
628
+ return p(() => c(
629
+ c(e).find((n, r, o) => t(c(n), r, o))
630
+ ));
631
+ }
632
+ function Ht(e, t) {
633
+ return p(() => c(e).findIndex((n, r, o) => t(c(n), r, o)));
634
+ }
635
+ function Ie(e, t) {
636
+ let n = e.length;
637
+ for (; n-- > 0; )
638
+ if (t(e[n], n, e))
639
+ return e[n];
640
+ }
641
+ function Gt(e, t) {
642
+ return p(() => c(
643
+ Array.prototype.findLast ? c(e).findLast((n, r, o) => t(c(n), r, o)) : Ie(c(e), (n, r, o) => t(c(n), r, o))
644
+ ));
645
+ }
646
+ function Ce(e) {
647
+ return Oe(e) && Te(e, "formIndex", "comparator");
648
+ }
649
+ function zt(...e) {
650
+ var t;
651
+ const n = e[0], r = e[1];
652
+ let o = e[2], u = 0;
653
+ if (Ce(o) && (u = (t = o.fromIndex) != null ? t : 0, o = o.comparator), typeof o == "string") {
654
+ const s = o;
655
+ o = (i, l) => i[s] === c(l);
656
+ }
657
+ return o = o ?? ((s, i) => s === c(i)), p(() => c(n).slice(u).some((s, i, l) => o(
658
+ c(s),
659
+ c(r),
660
+ i,
661
+ c(l)
662
+ )));
663
+ }
664
+ function Zt(e, t) {
665
+ return p(() => c(e).map((n) => c(n)).join(c(t)));
666
+ }
667
+ function qt(e, t) {
668
+ return p(() => c(e).map((n) => c(n)).map(t));
669
+ }
670
+ function Xt(e, t, ...n) {
671
+ const r = (o, u, s) => t(c(o), c(u), s);
672
+ return p(() => {
673
+ const o = c(e);
674
+ return n.length ? o.reduce(r, c(n[0])) : o.reduce(r);
675
+ });
676
+ }
677
+ function Jt(e, t) {
678
+ return p(() => c(e).some((n, r, o) => t(c(n), r, o)));
679
+ }
680
+ function ke(e) {
681
+ return Array.from(new Set(e));
682
+ }
683
+ function Ne(e, t) {
684
+ return e.reduce((n, r) => (n.some((o) => t(r, o, e)) || n.push(r), n), []);
685
+ }
686
+ function Kt(e, t) {
687
+ return p(() => {
688
+ const n = c(e).map((r) => c(r));
689
+ return t ? Ne(n, t) : ke(n);
690
+ });
691
+ }
692
+ function Qt(e = 0, t = {}) {
693
+ let n = M(e);
694
+ const r = w(e), {
695
+ max: o = Number.POSITIVE_INFINITY,
696
+ min: u = Number.NEGATIVE_INFINITY
697
+ } = t, s = (f = 1) => r.value = Math.max(Math.min(o, r.value + f), u), i = (f = 1) => r.value = Math.min(Math.max(u, r.value - f), o), l = () => r.value, m = (f) => r.value = Math.max(u, Math.min(o, f));
698
+ return { count: r, inc: s, dec: i, get: l, set: m, reset: (f = n) => (n = f, m(f)) };
699
+ }
700
+ const Re = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i, Le = /[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
701
+ function je(e, t, n, r) {
702
+ let o = e < 12 ? "AM" : "PM";
703
+ return r && (o = o.split("").reduce((u, s) => u += `${s}.`, "")), n ? o.toLowerCase() : o;
704
+ }
705
+ function A(e) {
706
+ const t = ["th", "st", "nd", "rd"], n = e % 100;
707
+ return e + (t[(n - 20) % 10] || t[n] || t[0]);
708
+ }
709
+ function We(e, t, n = {}) {
710
+ var r;
711
+ const o = e.getFullYear(), u = e.getMonth(), s = e.getDate(), i = e.getHours(), l = e.getMinutes(), m = e.getSeconds(), d = e.getMilliseconds(), f = e.getDay(), a = (r = n.customMeridiem) != null ? r : je, v = {
712
+ Yo: () => A(o),
713
+ YY: () => String(o).slice(-2),
714
+ YYYY: () => o,
715
+ M: () => u + 1,
716
+ Mo: () => A(u + 1),
717
+ MM: () => `${u + 1}`.padStart(2, "0"),
718
+ MMM: () => e.toLocaleDateString(n.locales, { month: "short" }),
719
+ MMMM: () => e.toLocaleDateString(n.locales, { month: "long" }),
720
+ D: () => String(s),
721
+ Do: () => A(s),
722
+ DD: () => `${s}`.padStart(2, "0"),
723
+ H: () => String(i),
724
+ Ho: () => A(i),
725
+ HH: () => `${i}`.padStart(2, "0"),
726
+ h: () => `${i % 12 || 12}`.padStart(1, "0"),
727
+ ho: () => A(i % 12 || 12),
728
+ hh: () => `${i % 12 || 12}`.padStart(2, "0"),
729
+ m: () => String(l),
730
+ mo: () => A(l),
731
+ mm: () => `${l}`.padStart(2, "0"),
732
+ s: () => String(m),
733
+ so: () => A(m),
734
+ ss: () => `${m}`.padStart(2, "0"),
735
+ SSS: () => `${d}`.padStart(3, "0"),
736
+ d: () => f,
737
+ dd: () => e.toLocaleDateString(n.locales, { weekday: "narrow" }),
738
+ ddd: () => e.toLocaleDateString(n.locales, { weekday: "short" }),
739
+ dddd: () => e.toLocaleDateString(n.locales, { weekday: "long" }),
740
+ A: () => a(i, l),
741
+ AA: () => a(i, l, !1, !0),
742
+ a: () => a(i, l, !0),
743
+ aa: () => a(i, l, !0, !0)
744
+ };
745
+ return t.replace(Le, (h, b) => {
746
+ var g, O;
747
+ return (O = b ?? ((g = v[h]) == null ? void 0 : g.call(v))) != null ? O : h;
748
+ });
749
+ }
750
+ function Ue(e) {
751
+ if (e === null)
752
+ return new Date(Number.NaN);
753
+ if (e === void 0)
754
+ return /* @__PURE__ */ new Date();
755
+ if (e instanceof Date)
756
+ return new Date(e);
757
+ if (typeof e == "string" && !/Z$/i.test(e)) {
758
+ const t = e.match(Re);
759
+ if (t) {
760
+ const n = t[2] - 1 || 0, r = (t[7] || "0").substring(0, 3);
761
+ return new Date(t[1], n, t[3] || 1, t[4] || 0, t[5] || 0, t[6] || 0, r);
762
+ }
763
+ }
764
+ return new Date(e);
765
+ }
766
+ function en(e, t = "HH:mm:ss", n = {}) {
767
+ return p(() => We(Ue(c(e)), c(t), n));
768
+ }
769
+ function $e(e, t = 1e3, n = {}) {
770
+ const {
771
+ immediate: r = !0,
772
+ immediateCallback: o = !1
773
+ } = n;
774
+ let u = null;
775
+ const s = w(!1);
776
+ function i() {
777
+ u && (clearInterval(u), u = null);
778
+ }
779
+ function l() {
780
+ s.value = !1, i();
781
+ }
782
+ function m() {
783
+ const d = c(t);
784
+ d <= 0 || (s.value = !0, o && e(), i(), u = setInterval(e, d));
785
+ }
786
+ if (r && k && m(), S(t) || typeof t == "function") {
787
+ const d = y(t, () => {
788
+ s.value && k && m();
789
+ });
790
+ T(d);
791
+ }
792
+ return T(l), {
793
+ isActive: s,
794
+ pause: l,
795
+ resume: m
796
+ };
797
+ }
798
+ function tn(e = 1e3, t = {}) {
799
+ const {
800
+ controls: n = !1,
801
+ immediate: r = !0,
802
+ callback: o
803
+ } = t, u = w(0), s = () => u.value += 1, i = () => {
804
+ u.value = 0;
805
+ }, l = $e(
806
+ o ? () => {
807
+ s(), o(u.value);
808
+ } : s,
809
+ e,
810
+ { immediate: r }
811
+ );
812
+ return n ? {
813
+ counter: u,
814
+ reset: i,
815
+ ...l
816
+ } : u;
817
+ }
818
+ function nn(e, t = {}) {
819
+ var n;
820
+ const r = w((n = t.initialValue) != null ? n : null);
821
+ return y(
822
+ e,
823
+ () => r.value = Se(),
824
+ t
825
+ ), r;
826
+ }
827
+ function Ve(e, t, n = {}) {
828
+ const {
829
+ immediate: r = !0
830
+ } = n, o = w(!1);
831
+ let u = null;
832
+ function s() {
833
+ u && (clearTimeout(u), u = null);
834
+ }
835
+ function i() {
836
+ o.value = !1, s();
837
+ }
838
+ function l(...m) {
839
+ s(), o.value = !0, u = setTimeout(() => {
840
+ o.value = !1, u = null, e(...m);
841
+ }, c(t));
842
+ }
843
+ return r && (o.value = !0, k && l()), T(i), {
844
+ isPending: N(o),
845
+ start: l,
846
+ stop: i
847
+ };
848
+ }
849
+ function rn(e = 1e3, t = {}) {
850
+ const {
851
+ controls: n = !1,
852
+ callback: r
853
+ } = t, o = Ve(
854
+ r ?? E,
855
+ e,
856
+ t
857
+ ), u = p(() => !o.isPending.value);
858
+ return n ? {
859
+ ready: u,
860
+ ...o
861
+ } : u;
862
+ }
863
+ function on(e, t = {}) {
864
+ const {
865
+ method: n = "parseFloat",
866
+ radix: r,
867
+ nanToZero: o
868
+ } = t;
869
+ return p(() => {
870
+ let u = c(e);
871
+ return typeof u == "string" && (u = Number[n](u, r)), o && Number.isNaN(u) && (u = 0), u;
872
+ });
873
+ }
874
+ function un(e) {
875
+ return p(() => `${c(e)}`);
876
+ }
877
+ function sn(e = !1, t = {}) {
878
+ const {
879
+ truthyValue: n = !0,
880
+ falsyValue: r = !1
881
+ } = t, o = S(e), u = w(e);
882
+ function s(i) {
883
+ if (arguments.length)
884
+ return u.value = i, u.value;
885
+ {
886
+ const l = c(n);
887
+ return u.value = u.value === l ? c(r) : l, u.value;
888
+ }
889
+ }
890
+ return o ? s : [u, s];
891
+ }
892
+ function cn(e, t, n) {
893
+ let r = n != null && n.immediate ? [] : [...e instanceof Function ? e() : Array.isArray(e) ? e : c(e)];
894
+ return y(e, (o, u, s) => {
895
+ const i = Array.from({ length: r.length }), l = [];
896
+ for (const d of o) {
897
+ let f = !1;
898
+ for (let a = 0; a < r.length; a++)
899
+ if (!i[a] && d === r[a]) {
900
+ i[a] = !0, f = !0;
901
+ break;
902
+ }
903
+ f || l.push(d);
904
+ }
905
+ const m = r.filter((d, f) => !i[f]);
906
+ t(o, r, l, m, s), r = [...o];
907
+ }, n);
908
+ }
909
+ function ln(e, t, n) {
910
+ const {
911
+ count: r,
912
+ ...o
913
+ } = n, u = w(0), s = j(
914
+ e,
915
+ (...i) => {
916
+ u.value += 1, u.value >= c(r) && _(() => s()), t(...i);
917
+ },
918
+ o
919
+ );
920
+ return { count: u, stop: s };
921
+ }
922
+ function an(e, t, n = {}) {
923
+ const {
924
+ debounce: r = 0,
925
+ maxWait: o = void 0,
926
+ ...u
927
+ } = n;
928
+ return j(
929
+ e,
930
+ t,
931
+ {
932
+ ...u,
933
+ eventFilter: q(r, { maxWait: o })
934
+ }
935
+ );
936
+ }
937
+ function fn(e, t, n) {
938
+ return y(
939
+ e,
940
+ t,
941
+ {
942
+ ...n,
943
+ deep: !0
944
+ }
945
+ );
946
+ }
947
+ function Be(e, t, n = {}) {
948
+ const {
949
+ eventFilter: r = V,
950
+ ...o
951
+ } = n, u = R(
952
+ r,
953
+ t
954
+ );
955
+ let s, i, l;
956
+ if (o.flush === "sync") {
957
+ const m = w(!1);
958
+ i = () => {
959
+ }, s = (d) => {
960
+ m.value = !0, d(), m.value = !1;
961
+ }, l = y(
962
+ e,
963
+ (...d) => {
964
+ m.value || u(...d);
965
+ },
966
+ o
967
+ );
968
+ } else {
969
+ const m = [], d = w(0), f = w(0);
970
+ i = () => {
971
+ d.value = f.value;
972
+ }, m.push(
973
+ y(
974
+ e,
975
+ () => {
976
+ f.value++;
977
+ },
978
+ { ...o, flush: "sync" }
979
+ )
980
+ ), s = (a) => {
981
+ const v = f.value;
982
+ a(), d.value += f.value - v;
983
+ }, m.push(
984
+ y(
985
+ e,
986
+ (...a) => {
987
+ const v = d.value > 0 && d.value === f.value;
988
+ d.value = 0, f.value = 0, !v && u(...a);
989
+ },
990
+ o
991
+ )
992
+ ), l = () => {
993
+ m.forEach((a) => a());
994
+ };
995
+ }
996
+ return { stop: l, ignoreUpdates: s, ignorePrevAsyncUpdates: i };
997
+ }
998
+ function dn(e, t, n) {
999
+ return y(
1000
+ e,
1001
+ t,
1002
+ {
1003
+ ...n,
1004
+ immediate: !0
1005
+ }
1006
+ );
1007
+ }
1008
+ function mn(e, t, n) {
1009
+ const r = y(e, (...o) => (_(() => r()), t(...o)), n);
1010
+ return r;
1011
+ }
1012
+ function vn(e, t, n = {}) {
1013
+ const {
1014
+ throttle: r = 0,
1015
+ trailing: o = !0,
1016
+ leading: u = !0,
1017
+ ...s
1018
+ } = n;
1019
+ return j(
1020
+ e,
1021
+ t,
1022
+ {
1023
+ ...s,
1024
+ eventFilter: X(r, o, u)
1025
+ }
1026
+ );
1027
+ }
1028
+ function pn(e, t, n = {}) {
1029
+ let r;
1030
+ function o() {
1031
+ if (!r)
1032
+ return;
1033
+ const d = r;
1034
+ r = void 0, d();
1035
+ }
1036
+ function u(d) {
1037
+ r = d;
1038
+ }
1039
+ const s = (d, f) => (o(), t(d, f, u)), i = Be(e, s, n), { ignoreUpdates: l } = i;
1040
+ return {
1041
+ ...i,
1042
+ trigger: () => {
1043
+ let d;
1044
+ return l(() => {
1045
+ d = s(Ye(e), He(e));
1046
+ }), d;
1047
+ }
1048
+ };
1049
+ }
1050
+ function Ye(e) {
1051
+ return ve(e) ? e : Array.isArray(e) ? e.map((t) => c(t)) : c(e);
1052
+ }
1053
+ function He(e) {
1054
+ return Array.isArray(e) ? e.map(() => {
1055
+ }) : void 0;
1056
+ }
1057
+ function hn(e, t, n) {
1058
+ const r = y(
1059
+ e,
1060
+ (o, u, s) => {
1061
+ o && (n != null && n.once && _(() => r()), t(o, u, s));
1062
+ },
1063
+ {
1064
+ ...n,
1065
+ once: !1
1066
+ }
1067
+ );
1068
+ return r;
1069
+ }
1070
+ export {
1071
+ lt as assert,
1072
+ Tt as autoResetRef,
1073
+ V as bypassFilter,
1074
+ yt as camelize,
1075
+ ft as clamp,
1076
+ Ze as computedEager,
1077
+ qe as computedWithControl,
1078
+ Te as containsProp,
1079
+ qe as controlledComputed,
1080
+ xt as controlledRef,
1081
+ Xe as createEventHook,
1082
+ R as createFilterWrapper,
1083
+ Je as createGlobalState,
1084
+ Ke as createInjectionState,
1085
+ ge as createReactiveFn,
1086
+ Qe as createSharedComposable,
1087
+ wt as createSingletonPromise,
1088
+ q as debounceFilter,
1089
+ Et as debouncedRef,
1090
+ an as debouncedWatch,
1091
+ pt as directiveHooks,
1092
+ Ze as eagerComputed,
1093
+ ye as extendRef,
1094
+ We as formatDate,
1095
+ et as get,
1096
+ L as getLifeCycleTarget,
1097
+ mt as hasOwn,
1098
+ ht as hyphenate,
1099
+ gt as identity,
1100
+ Be as ignorableWatch,
1101
+ Ot as increaseWithUnit,
1102
+ he as injectLocal,
1103
+ bt as invoke,
1104
+ k as isClient,
1105
+ st as isDef,
1106
+ tt as isDefined,
1107
+ vt as isIOS,
1108
+ Oe as isObject,
1109
+ it as isWorker,
1110
+ nt as makeDestructurable,
1111
+ E as noop,
1112
+ Ue as normalizeDate,
1113
+ ct as notNullish,
1114
+ at as now,
1115
+ Mt as objectEntries,
1116
+ At as objectOmit,
1117
+ St as objectPick,
1118
+ Me as pausableFilter,
1119
+ G as pausableWatch,
1120
+ H as promiseTimeout,
1121
+ pe as provideLocal,
1122
+ dt as rand,
1123
+ ge as reactify,
1124
+ ot as reactifyObject,
1125
+ Z as reactiveComputed,
1126
+ ut as reactiveOmit,
1127
+ Pt as reactivePick,
1128
+ Tt as refAutoReset,
1129
+ Et as refDebounced,
1130
+ Ft as refDefault,
1131
+ _t as refThrottled,
1132
+ _e as refWithControl,
1133
+ Dt as resolveRef,
1134
+ rt as resolveUnref,
1135
+ It as set,
1136
+ Ct as syncRef,
1137
+ kt as syncRefs,
1138
+ X as throttleFilter,
1139
+ _t as throttledRef,
1140
+ vn as throttledWatch,
1141
+ Se as timestamp,
1142
+ we as toReactive,
1143
+ K as toRef,
1144
+ Nt as toRefs,
1145
+ c as toValue,
1146
+ Rt as tryOnBeforeMount,
1147
+ Lt as tryOnBeforeUnmount,
1148
+ jt as tryOnMounted,
1149
+ T as tryOnScopeDispose,
1150
+ Wt as tryOnUnmounted,
1151
+ Ut as until,
1152
+ $t as useArrayDifference,
1153
+ Vt as useArrayEvery,
1154
+ Bt as useArrayFilter,
1155
+ Yt as useArrayFind,
1156
+ Ht as useArrayFindIndex,
1157
+ Gt as useArrayFindLast,
1158
+ zt as useArrayIncludes,
1159
+ Zt as useArrayJoin,
1160
+ qt as useArrayMap,
1161
+ Xt as useArrayReduce,
1162
+ Jt as useArraySome,
1163
+ Kt as useArrayUnique,
1164
+ Qt as useCounter,
1165
+ en as useDateFormat,
1166
+ Et as useDebounce,
1167
+ Ee as useDebounceFn,
1168
+ tn as useInterval,
1169
+ $e as useIntervalFn,
1170
+ nn as useLastChanged,
1171
+ _t as useThrottle,
1172
+ Fe as useThrottleFn,
1173
+ rn as useTimeout,
1174
+ Ve as useTimeoutFn,
1175
+ on as useToNumber,
1176
+ un as useToString,
1177
+ sn as useToggle,
1178
+ cn as watchArray,
1179
+ ln as watchAtMost,
1180
+ an as watchDebounced,
1181
+ fn as watchDeep,
1182
+ Be as watchIgnorable,
1183
+ dn as watchImmediate,
1184
+ mn as watchOnce,
1185
+ G as watchPausable,
1186
+ vn as watchThrottled,
1187
+ pn as watchTriggerable,
1188
+ j as watchWithFilter,
1189
+ hn as whenever
1190
+ };