@vc-shell/framework 1.1.43 → 1.1.45

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 (453) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/core/plugins/modularity/loader.ts +120 -74
  3. package/core/services/app-bar-mobile-buttons-service.ts +1 -1
  4. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  5. package/dist/core/services/app-bar-mobile-buttons-service.d.ts +1 -1
  6. package/dist/core/services/app-bar-mobile-buttons-service.d.ts.map +1 -1
  7. package/dist/framework.js +33347 -295
  8. package/dist/index.css +1 -9
  9. package/dist/index.d.ts +0 -4
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/locales/de.json +0 -84
  12. package/dist/locales/en.json +0 -84
  13. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -1
  14. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +1 -1
  15. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +1 -1
  16. package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.d.ts.map +1 -1
  17. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +1 -1
  18. package/dist/shared/components/logout-button/logout-button.vue.d.ts.map +1 -1
  19. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  20. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
  21. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +6 -6
  22. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
  25. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -1
  26. package/dist/ui/components/atoms/vc-icon/icons/index.d.ts +0 -26
  27. package/dist/ui/components/atoms/vc-icon/icons/index.d.ts.map +1 -1
  28. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
  29. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
  30. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  31. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +0 -5
  32. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
  33. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +0 -20
  34. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  35. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  36. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +36 -0
  37. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts.map +1 -0
  38. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +17 -0
  39. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -0
  40. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +16 -2381
  41. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  42. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
  43. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
  44. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  45. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +1 -1
  46. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  47. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
  48. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  49. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  51. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts.map +1 -1
  53. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts.map +1 -1
  54. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  55. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  56. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -2
  57. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  58. package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts.map +1 -1
  59. package/dist/vendor-boolbase-Cp9L0GAZ.js +25 -0
  60. package/dist/vendor-cheerio-HN9zIPZn.js +3135 -0
  61. package/dist/vendor-cheerio-select-5Ry0HvBq.js +306 -0
  62. package/dist/vendor-core-js-l0sNRNKZ.js +1 -0
  63. package/dist/vendor-css-select-DRIZ9kfZ.js +966 -0
  64. package/dist/vendor-css-what-DuPJ1HEF.js +448 -0
  65. package/dist/vendor-cypress-signalr-mock-BKdBJpdt.js +778 -0
  66. package/dist/vendor-date-fns-515YWkk-.js +6724 -0
  67. package/dist/vendor-dom-serializer-nQMsqjYW.js +286 -0
  68. package/dist/vendor-dom7-CJLPMwy5.js +941 -0
  69. package/dist/vendor-domelementtype-CjSzQey5.js +53 -0
  70. package/dist/vendor-domhandler-9z8cS16a.js +484 -0
  71. package/dist/vendor-dompurify-CRFzu7ib.js +1336 -0
  72. package/dist/vendor-domutils-Bc-Opz-v.js +981 -0
  73. package/dist/vendor-entities-Bfsx4xOQ.js +636 -0
  74. package/dist/vendor-floating-ui-core-wV8u8QP4.js +511 -0
  75. package/dist/vendor-floating-ui-dom-DDnRPs17.js +706 -0
  76. package/dist/vendor-floating-ui-utils-OMIFy1QU.js +296 -0
  77. package/dist/vendor-floating-ui-vue-D-tCDAMm.js +167 -0
  78. package/dist/vendor-fontsource-plus-jakarta-sans.css +1 -0
  79. package/dist/vendor-headlessui-vue-CY9FRgTb.js +83 -0
  80. package/dist/vendor-htmlparser2-B1dhFPOs.js +1426 -0
  81. package/dist/vendor-iconify-vue-DfRGgyNu.js +1840 -0
  82. package/dist/vendor-intlify-core-base-BuknsFQe.js +1876 -0
  83. package/dist/vendor-intlify-message-compiler-CuOQDWx1.js +1508 -0
  84. package/dist/vendor-intlify-shared-Cz4YRMuC.js +241 -0
  85. package/dist/vendor-iso-639-1-BJCk9DvE.js +819 -0
  86. package/dist/vendor-linkify-it-CKUf4vsc.js +830 -0
  87. package/dist/vendor-linkifyjs-BfyGgbCh.js +1756 -0
  88. package/dist/vendor-lodash-es-BySUOlwf.js +18333 -0
  89. package/dist/vendor-markdown-it-D-apazHa.js +6000 -0
  90. package/dist/vendor-markdown-it-task-lists-rxMVH6Ku.js +131 -0
  91. package/dist/vendor-mdurl-BNh2CCgT.js +537 -0
  92. package/dist/vendor-microsoft-applicationinsights-analytics-js-kG3lLg8X.js +1275 -0
  93. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-C0uQkiQq.js +591 -0
  94. package/dist/vendor-microsoft-applicationinsights-channel-js-Dyd_PXA3.js +2153 -0
  95. package/dist/vendor-microsoft-applicationinsights-common-CfmP1_Qr.js +2470 -0
  96. package/dist/vendor-microsoft-applicationinsights-core-js-Cq4YSEvZ.js +6589 -0
  97. package/dist/vendor-microsoft-applicationinsights-dependencies-js-C56OBFr4.js +1510 -0
  98. package/dist/vendor-microsoft-applicationinsights-properties-js-CBJTBawx.js +761 -0
  99. package/dist/vendor-microsoft-applicationinsights-shims-CX8sJgar.js +70 -0
  100. package/dist/vendor-microsoft-applicationinsights-web-pim2ri-g.js +667 -0
  101. package/dist/vendor-microsoft-dynamicproto-js-CFBBUu9p.js +520 -0
  102. package/dist/vendor-microsoft-signalr-dUnlRsGm.js +3339 -0
  103. package/dist/vendor-moment-Mki5YqAR.js +5679 -0
  104. package/dist/vendor-nevware21-ts-async-CLMApQ9E.js +395 -0
  105. package/dist/vendor-nevware21-ts-utils-e8v8Jty3.js +1160 -0
  106. package/dist/vendor-normalize-css.css +1 -0
  107. package/dist/vendor-nth-check-Bx8TxtJt.js +157 -0
  108. package/dist/vendor-orderedmap-dGG6uMFJ.js +137 -0
  109. package/dist/vendor-parse5-Bt2NhSzR.js +8432 -0
  110. package/dist/vendor-parse5-htmlparser2-tree-adapter-BUUtKzf8.js +216 -0
  111. package/dist/vendor-popperjs-core-Cr2byIky.js +1790 -0
  112. package/dist/vendor-prettier-B4PaeWRQ.js +98 -0
  113. package/dist/vendor-prosemirror-commands-BH9lWGpW.js +561 -0
  114. package/dist/vendor-prosemirror-dropcursor-CeyPcxrA.js +146 -0
  115. package/dist/vendor-prosemirror-gapcursor-U8UoUJII.js +236 -0
  116. package/dist/vendor-prosemirror-history-BDaJkvNx.js +414 -0
  117. package/dist/vendor-prosemirror-keymap-BbWvIWmH.js +128 -0
  118. package/dist/vendor-prosemirror-markdown-gB0PXBbz.js +866 -0
  119. package/dist/vendor-prosemirror-model-BZu3WVcD.js +3463 -0
  120. package/dist/vendor-prosemirror-schema-list-Bl9NpKA7.js +158 -0
  121. package/dist/vendor-prosemirror-state-BvL9Pxph.js +1003 -0
  122. package/dist/vendor-prosemirror-tables-17qAnviK.js +2159 -0
  123. package/dist/vendor-prosemirror-transform-CE9VV3qg.js +2156 -0
  124. package/dist/vendor-prosemirror-view-CU2WTHT7.js +5811 -0
  125. package/dist/vendor-punycode-js-iAs5RxMf.js +441 -0
  126. package/dist/vendor-rope-sequence-BdXDKoGt.js +207 -0
  127. package/dist/vendor-semver-CVLMK-S4.js +2702 -0
  128. package/dist/vendor-ssr-window-s6OpKa3O.js +150 -0
  129. package/dist/vendor-swiper-CdiyNHVt.js +5679 -0
  130. package/dist/vendor-swiper.css +1 -0
  131. package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +1 -0
  132. package/dist/vendor-tanstack-vue-virtual-l0sNRNKZ.js +1 -0
  133. package/dist/vendor-tippy-js-DWFe2TfK.js +1647 -0
  134. package/dist/vendor-tiptap-core-NfwGfaQk.js +4910 -0
  135. package/dist/vendor-tiptap-extension-blockquote-jmWBTtsI.js +57 -0
  136. package/dist/vendor-tiptap-extension-bold-p5frh4ak.js +97 -0
  137. package/dist/vendor-tiptap-extension-bubble-menu-KUhZSfrs.js +218 -0
  138. package/dist/vendor-tiptap-extension-bullet-list-COmZRoSB.js +73 -0
  139. package/dist/vendor-tiptap-extension-code-block-DyTARZss.js +221 -0
  140. package/dist/vendor-tiptap-extension-code-jVv6CXpX.js +75 -0
  141. package/dist/vendor-tiptap-extension-document-DssuotYs.js +13 -0
  142. package/dist/vendor-tiptap-extension-dropcursor-BoO0Qv91.js +26 -0
  143. package/dist/vendor-tiptap-extension-floating-menu-CrO8CN5w.js +165 -0
  144. package/dist/vendor-tiptap-extension-gapcursor-KpsWEoMD.js +30 -0
  145. package/dist/vendor-tiptap-extension-hard-break-ldOzhSvf.js +68 -0
  146. package/dist/vendor-tiptap-extension-heading-CKz2llX0.js +77 -0
  147. package/dist/vendor-tiptap-extension-history-DeKZ2VQ9.js +48 -0
  148. package/dist/vendor-tiptap-extension-horizontal-rule-CAjWRyDS.js +92 -0
  149. package/dist/vendor-tiptap-extension-image-ZagcEYuk.js +76 -0
  150. package/dist/vendor-tiptap-extension-italic-CM4xdznY.js +96 -0
  151. package/dist/vendor-tiptap-extension-link-Z-AMC4Ri.js +414 -0
  152. package/dist/vendor-tiptap-extension-list-item-BJi5QpXc.js +37 -0
  153. package/dist/vendor-tiptap-extension-ordered-list-C_TMrfBE.js +97 -0
  154. package/dist/vendor-tiptap-extension-paragraph-CQw0E0Au.js +39 -0
  155. package/dist/vendor-tiptap-extension-placeholder-BBNVKfa_.js +66 -0
  156. package/dist/vendor-tiptap-extension-strike-DUyMYX1Z.js +79 -0
  157. package/dist/vendor-tiptap-extension-table-cell-CoDIMPA5.js +47 -0
  158. package/dist/vendor-tiptap-extension-table-header-DvbGHnmw.js +47 -0
  159. package/dist/vendor-tiptap-extension-table-row-D1uqN5Aj.js +26 -0
  160. package/dist/vendor-tiptap-extension-table-tKS4MOM4.js +354 -0
  161. package/dist/vendor-tiptap-extension-text-DtRBhKB2.js +12 -0
  162. package/dist/vendor-tiptap-extension-underline-DqaSFp_P.js +50 -0
  163. package/dist/vendor-tiptap-markdown-7-PCADTU.js +1017 -0
  164. package/dist/vendor-tiptap-pm-l0sNRNKZ.js +1 -0
  165. package/dist/vendor-tiptap-starter-kit-CDSV_Zuu.js +88 -0
  166. package/dist/vendor-tiptap-vue-3-DZg2fjq_.js +268 -0
  167. package/dist/vendor-truncate-html-3qQY0Djo.js +196 -0
  168. package/dist/vendor-uc-micro-jjt6LQ65.js +23 -0
  169. package/dist/vendor-vee-validate-i18n-v_gHjRmD.js +154 -0
  170. package/dist/vendor-vee-validate-rules-DzV3VY3N.js +536 -0
  171. package/dist/vendor-vue-currency-input-DGAkEFBO.js +545 -0
  172. package/dist/vendor-vue-demi-l0sNRNKZ.js +1 -0
  173. package/dist/vendor-vue-devtools-api-DXYR8qBG.js +169 -0
  174. package/dist/vendor-vue-i18n-Co752uk3.js +1897 -0
  175. package/dist/vendor-vue3-application-insights-CYWFCr_J.js +119 -0
  176. package/dist/vendor-vue3-touch-events-BJEAiSa3.js +416 -0
  177. package/dist/vendor-vuepic-vue-datepicker-BSWXRSiu.js +5019 -0
  178. package/dist/vendor-vuepic-vue-datepicker.css +1 -0
  179. package/dist/vendor-vueuse-components-l1bL12mE.js +339 -0
  180. package/dist/vendor-vueuse-core-DGcJOmwG.js +7743 -0
  181. package/dist/vendor-vueuse-shared-_mOXsFuM.js +1568 -0
  182. package/dist/vendor-w3c-keyname-BOm2dtJm.js +121 -0
  183. package/package.json +22 -11
  184. package/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue +3 -3
  185. package/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.ts +2 -1
  186. package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.ts +1 -0
  187. package/shared/components/change-password-button/change-password-button.vue +1 -2
  188. package/shared/components/logout-button/logout-button.vue +1 -2
  189. package/shared/components/notifications/components/notification-container/index.ts +1 -1
  190. package/shared/components/notifications/core/notification.ts +1 -1
  191. package/shared/components/settings-menu-item/settings-menu-item.vue +1 -0
  192. package/shared/components/sidebar/sidebar.vue +2 -2
  193. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +2 -1
  194. package/ui/components/atoms/vc-hint/vc-hint.vue +2 -0
  195. package/ui/components/atoms/vc-icon/composables/use-icon.ts +1 -1
  196. package/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue +18 -14
  197. package/ui/components/atoms/vc-icon/icons/index.ts +1 -27
  198. package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +7 -11
  199. package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +37 -31
  200. package/ui/components/atoms/vc-icon/vc-icon-examples.vue +1 -1
  201. package/ui/components/atoms/vc-icon/vc-icon.stories.ts +4 -5
  202. package/ui/components/atoms/vc-icon/vc-icon.vue +33 -163
  203. package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +22 -70
  204. package/ui/components/atoms/vc-icon/vc-material-icon.vue +28 -59
  205. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +2 -3
  206. package/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue +103 -0
  207. package/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue +252 -0
  208. package/ui/components/molecules/vc-editor/vc-editor.stories.ts +1 -4
  209. package/ui/components/molecules/vc-editor/vc-editor.vue +666 -360
  210. package/ui/components/molecules/vc-form/vc-form.vue +7 -5
  211. package/ui/components/molecules/vc-input/vc-input.vue +1 -1
  212. package/ui/components/molecules/vc-pagination/vc-pagination.vue +4 -17
  213. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue +1 -1
  214. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +1 -3
  215. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +1 -4
  216. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +1 -3
  217. package/ui/components/organisms/vc-app/vc-app.backupsb.ts +214 -214
  218. package/ui/components/organisms/vc-app/vc-app.vue +3 -5
  219. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +3 -10
  220. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue +1 -1
  221. package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue +2 -2
  222. package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue +2 -2
  223. package/ui/components/organisms/vc-blade/vc-blade.vue +4 -5
  224. package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +1 -3
  225. package/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue +1 -2
  226. package/ui/components/organisms/vc-table/composables/useTableState.ts +5 -5
  227. package/dist/apl-B2DGVGxc.js +0 -76
  228. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  229. package/dist/asn1-jKiBa2Ya.js +0 -95
  230. package/dist/asterisk-DS281yxp.js +0 -271
  231. package/dist/brainfuck-C_p9pTT8.js +0 -34
  232. package/dist/clike-DGTaUp48.js +0 -620
  233. package/dist/clojure-CCKyeQKf.js +0 -800
  234. package/dist/cmake-CuaCgAKt.js +0 -28
  235. package/dist/cobol-BlTKFDRj.js +0 -72
  236. package/dist/coffeescript-BVCvwO8I.js +0 -179
  237. package/dist/commonlisp-D_kxz07b.js +0 -75
  238. package/dist/crystal-D309uH6_.js +0 -217
  239. package/dist/css-BkF-NPzE.js +0 -1553
  240. package/dist/cypher-BMq4Fwjl.js +0 -68
  241. package/dist/d-BZcgY6La.js +0 -127
  242. package/dist/diff-Cg9d_RX2.js +0 -18
  243. package/dist/dockerfile-DIy8NleC.js +0 -194
  244. package/dist/dtd-CtLokQ-U.js +0 -84
  245. package/dist/dylan-QYeExnWK.js +0 -234
  246. package/dist/ebnf-DUPDuY4r.js +0 -78
  247. package/dist/ecl-CiXN-g_D.js +0 -121
  248. package/dist/eiffel-yQhjl4T1.js +0 -110
  249. package/dist/elm-CNT9vbN0.js +0 -108
  250. package/dist/erlang-CFOYdy9e.js +0 -487
  251. package/dist/factor-DDOC7X6P.js +0 -65
  252. package/dist/fcl-CPC2WYrI.js +0 -103
  253. package/dist/forth-BmxRyE9S.js +0 -60
  254. package/dist/fortran-9bvPyrOW.js +0 -442
  255. package/dist/gas-cpmYfFX2.js +0 -183
  256. package/dist/gherkin-CJuwpceU.js +0 -34
  257. package/dist/groovy-DZeT_VM-.js +0 -146
  258. package/dist/haskell-Bvt3Qq1t.js +0 -375
  259. package/dist/haxe-70NVW1pR.js +0 -359
  260. package/dist/http-D9LttvKF.js +0 -44
  261. package/dist/idl-B6TRFYjl.js +0 -947
  262. package/dist/index-4DWvmoYg.js +0 -71
  263. package/dist/index-52o7mJaX.js +0 -156
  264. package/dist/index-B0KatioT.js +0 -98
  265. package/dist/index-BP3W8zuk.js +0 -268
  266. package/dist/index-BykT5L1A.js +0 -148134
  267. package/dist/index-CfXo9hsG.js +0 -75
  268. package/dist/index-Ch37pBUt.js +0 -308
  269. package/dist/index-D2KGkAYT.js +0 -93
  270. package/dist/index-D83zQom_.js +0 -58
  271. package/dist/index-DuQrVLbu.js +0 -134
  272. package/dist/index-_fdMid5h.js +0 -288
  273. package/dist/index-a1wO-owY.js +0 -545
  274. package/dist/index-crMpNSFe.js +0 -611
  275. package/dist/index-dmBRpHHY.js +0 -137
  276. package/dist/index-kBdB14Fz.js +0 -341
  277. package/dist/index-uBhy41le.js +0 -249
  278. package/dist/index-zZrijNsr.js +0 -299
  279. package/dist/javascript-C2yteZeJ.js +0 -691
  280. package/dist/jinja2-DnB6dQmV.js +0 -154
  281. package/dist/julia-DpvXAuO6.js +0 -241
  282. package/dist/livescript-CanGTf8u.js +0 -272
  283. package/dist/lua-XplVlWi_.js +0 -217
  284. package/dist/mathematica-jaRHnSxC.js +0 -35
  285. package/dist/mbox-BctzC1hL.js +0 -76
  286. package/dist/mirc-CFBPAOaF.js +0 -72
  287. package/dist/mllike-BSnXJBGA.js +0 -272
  288. package/dist/modelica-vUgVs--1.js +0 -93
  289. package/dist/mscgen-Cpl0NYLN.js +0 -104
  290. package/dist/mumps-CQoS1kWX.js +0 -25
  291. package/dist/nginx-zDPm3Z74.js +0 -89
  292. package/dist/nsis-fePjrhq7.js +0 -62
  293. package/dist/ntriples-CsNjv2QF.js +0 -79
  294. package/dist/octave-C8PmmSRH.js +0 -143
  295. package/dist/oz-Ce8aN8oE.js +0 -151
  296. package/dist/pascal-De0D6mP7.js +0 -77
  297. package/dist/perl-B4bSCe1C.js +0 -915
  298. package/dist/pig-D24Z8EXi.js +0 -54
  299. package/dist/powershell-DkYVfTzP.js +0 -249
  300. package/dist/properties-Dn9wna3M.js +0 -26
  301. package/dist/protobuf-BPIjwpzm.js +0 -49
  302. package/dist/pug-CwAQJzGR.js +0 -248
  303. package/dist/puppet-nyd4dhjf.js +0 -45
  304. package/dist/python-BkR3uSy8.js +0 -313
  305. package/dist/q-DXjKs-tC.js +0 -83
  306. package/dist/r-LKEuhEGI.js +0 -104
  307. package/dist/rpm-IznJm2Xc.js +0 -57
  308. package/dist/ruby-CcYfvIk6.js +0 -228
  309. package/dist/sas-7E8yHoCW.js +0 -105
  310. package/dist/scheme-DjibxsNh.js +0 -124
  311. package/dist/shared/modules/dynamic/components/fields/storybook/common/args.d.ts +0 -113
  312. package/dist/shared/modules/dynamic/components/fields/storybook/common/args.d.ts.map +0 -1
  313. package/dist/shared/modules/dynamic/components/fields/storybook/common/templates.d.ts +0 -3
  314. package/dist/shared/modules/dynamic/components/fields/storybook/common/templates.d.ts.map +0 -1
  315. package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +0 -102
  316. package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +0 -1
  317. package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceHighlighter.d.ts +0 -4
  318. package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceHighlighter.d.ts.map +0 -1
  319. package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceTransform.d.ts +0 -3
  320. package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceTransform.d.ts.map +0 -1
  321. package/dist/shell-C0C2sNA_.js +0 -182
  322. package/dist/sieve-Bwz7vjP5.js +0 -72
  323. package/dist/simple-mode-B0dvCdAA.js +0 -89
  324. package/dist/smalltalk-Bhddl2pB.js +0 -48
  325. package/dist/solr-BNlsLglM.js +0 -41
  326. package/dist/sparql-FarWu_Gb.js +0 -197
  327. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  328. package/dist/sql-CfG5lQ3l.js +0 -282
  329. package/dist/stex-Du4h4KAU.js +0 -129
  330. package/dist/stylus-CAdqWld3.js +0 -250
  331. package/dist/swift-DSxqR9R6.js +0 -230
  332. package/dist/tcl-xfoLljhY.js +0 -81
  333. package/dist/textile-D1AWE-pc.js +0 -295
  334. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  335. package/dist/tiki-__Kn3CeS.js +0 -181
  336. package/dist/toml-BHiuTcfn.js +0 -49
  337. package/dist/troff-D2UO-fKf.js +0 -35
  338. package/dist/ttcn-Bsa4sfRm.js +0 -123
  339. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  340. package/dist/turtle-xwJUxoPV.js +0 -80
  341. package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts +0 -7
  342. package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts.map +0 -1
  343. package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts +0 -7
  344. package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts.map +0 -1
  345. package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts +0 -7
  346. package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts.map +0 -1
  347. package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts +0 -7
  348. package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts.map +0 -1
  349. package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts +0 -7
  350. package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts.map +0 -1
  351. package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts +0 -7
  352. package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts.map +0 -1
  353. package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts +0 -7
  354. package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts.map +0 -1
  355. package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts +0 -7
  356. package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts.map +0 -1
  357. package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts +0 -7
  358. package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts.map +0 -1
  359. package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts +0 -7
  360. package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts.map +0 -1
  361. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts +0 -7
  362. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts.map +0 -1
  363. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts +0 -7
  364. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts.map +0 -1
  365. package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts +0 -7
  366. package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts.map +0 -1
  367. package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts +0 -7
  368. package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts.map +0 -1
  369. package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts +0 -7
  370. package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts.map +0 -1
  371. package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts +0 -7
  372. package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts.map +0 -1
  373. package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts +0 -7
  374. package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts.map +0 -1
  375. package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts +0 -7
  376. package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts.map +0 -1
  377. package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts +0 -7
  378. package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts.map +0 -1
  379. package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts +0 -7
  380. package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts.map +0 -1
  381. package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts +0 -7
  382. package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts.map +0 -1
  383. package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts +0 -7
  384. package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts.map +0 -1
  385. package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts +0 -7
  386. package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts.map +0 -1
  387. package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts +0 -7
  388. package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts.map +0 -1
  389. package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts +0 -7
  390. package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts.map +0 -1
  391. package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts +0 -7
  392. package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts.map +0 -1
  393. package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts +0 -7
  394. package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts.map +0 -1
  395. package/dist/vb-c2kQGd6-.js +0 -74
  396. package/dist/vbscript-1f_Dhg5H.js +0 -324
  397. package/dist/velocity-DJd0pTTC.js +0 -96
  398. package/dist/verilog-CiS1jyi5.js +0 -262
  399. package/dist/vhdl-T9HkrbI2.js +0 -106
  400. package/dist/webidl-CjfDENEo.js +0 -155
  401. package/dist/xquery-BUQdORAS.js +0 -422
  402. package/dist/yacas-C0absKBh.js +0 -73
  403. package/dist/z80-Pki2zAjW.js +0 -61
  404. package/shared/modules/dynamic/components/fields/storybook/Button.stories.ts +0 -186
  405. package/shared/modules/dynamic/components/fields/storybook/Card.stories.ts +0 -175
  406. package/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.ts +0 -185
  407. package/shared/modules/dynamic/components/fields/storybook/ContentField.stories.ts +0 -245
  408. package/shared/modules/dynamic/components/fields/storybook/EditorField.stories.ts +0 -192
  409. package/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.ts +0 -347
  410. package/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.ts +0 -239
  411. package/shared/modules/dynamic/components/fields/storybook/ImageField.stories.ts +0 -186
  412. package/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.ts +0 -281
  413. package/shared/modules/dynamic/components/fields/storybook/InputField.stories.ts +0 -312
  414. package/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.ts +0 -361
  415. package/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.ts +0 -224
  416. package/shared/modules/dynamic/components/fields/storybook/RatingField.stories.ts +0 -131
  417. package/shared/modules/dynamic/components/fields/storybook/SelectField.stories.ts +0 -666
  418. package/shared/modules/dynamic/components/fields/storybook/StatusField.stories.ts +0 -202
  419. package/shared/modules/dynamic/components/fields/storybook/SwitchField.stories.ts +0 -178
  420. package/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.ts +0 -203
  421. package/shared/modules/dynamic/components/fields/storybook/VideoField.stories.ts +0 -92
  422. package/shared/modules/dynamic/components/fields/storybook/common/args.ts +0 -130
  423. package/shared/modules/dynamic/components/fields/storybook/common/templates.ts +0 -8
  424. package/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.ts +0 -54
  425. package/shared/modules/dynamic/components/fields/storybook/utils/sourceHighlighter.ts +0 -16
  426. package/shared/modules/dynamic/components/fields/storybook/utils/sourceTransform.ts +0 -41
  427. package/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue +0 -15
  428. package/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue +0 -20
  429. package/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue +0 -13
  430. package/ui/components/atoms/vc-icon/icons/BellIcon.vue +0 -14
  431. package/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue +0 -13
  432. package/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue +0 -13
  433. package/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue +0 -13
  434. package/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue +0 -13
  435. package/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue +0 -16
  436. package/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue +0 -20
  437. package/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue +0 -14
  438. package/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue +0 -14
  439. package/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue +0 -27
  440. package/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue +0 -22
  441. package/ui/components/atoms/vc-icon/icons/LogoutIcon.vue +0 -13
  442. package/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue +0 -14
  443. package/ui/components/atoms/vc-icon/icons/OffersIcon.vue +0 -23
  444. package/ui/components/atoms/vc-icon/icons/OrdersIcon.vue +0 -19
  445. package/ui/components/atoms/vc-icon/icons/PeopleIcon.vue +0 -21
  446. package/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue +0 -20
  447. package/ui/components/atoms/vc-icon/icons/ProductsIcon.vue +0 -23
  448. package/ui/components/atoms/vc-icon/icons/ProfileIcon.vue +0 -18
  449. package/ui/components/atoms/vc-icon/icons/SearchIcon.vue +0 -14
  450. package/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue +0 -21
  451. package/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue +0 -16
  452. package/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue +0 -26
  453. package/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue +0 -19
@@ -0,0 +1,1568 @@
1
+ import { computed, isRef, reactive, unref, effectScope, watch, nextTick, customRef, shallowRef, watchEffect, readonly, ref, getCurrentInstance, inject, provide, toRefs as toRefs$1, toRef as toRef$1, onBeforeMount, onBeforeUnmount, onMounted, getCurrentScope, onScopeDispose, onUnmounted, isReactive } from 'vue';
2
+
3
+ function computedEager(fn, options) {
4
+ var _a;
5
+ const result = shallowRef();
6
+ watchEffect(() => {
7
+ result.value = fn();
8
+ }, {
9
+ ...options,
10
+ flush: (_a = options == null ? void 0 : options.flush) != null ? _a : "sync"
11
+ });
12
+ return readonly(result);
13
+ }
14
+
15
+ function computedWithControl(source, fn) {
16
+ let v = void 0;
17
+ let track;
18
+ let trigger;
19
+ const dirty = ref(true);
20
+ const update = () => {
21
+ dirty.value = true;
22
+ trigger();
23
+ };
24
+ watch(source, update, { flush: "sync" });
25
+ const get = typeof fn === "function" ? fn : fn.get;
26
+ const set = typeof fn === "function" ? void 0 : fn.set;
27
+ const result = customRef((_track, _trigger) => {
28
+ track = _track;
29
+ trigger = _trigger;
30
+ return {
31
+ get() {
32
+ if (dirty.value) {
33
+ v = get();
34
+ dirty.value = false;
35
+ }
36
+ track();
37
+ return v;
38
+ },
39
+ set(v2) {
40
+ set == null ? void 0 : set(v2);
41
+ }
42
+ };
43
+ });
44
+ if (Object.isExtensible(result))
45
+ result.trigger = update;
46
+ return result;
47
+ }
48
+
49
+ function tryOnScopeDispose(fn) {
50
+ if (getCurrentScope()) {
51
+ onScopeDispose(fn);
52
+ return true;
53
+ }
54
+ return false;
55
+ }
56
+
57
+ function createEventHook() {
58
+ const fns = /* @__PURE__ */ new Set();
59
+ const off = (fn) => {
60
+ fns.delete(fn);
61
+ };
62
+ const on = (fn) => {
63
+ fns.add(fn);
64
+ const offFn = () => off(fn);
65
+ tryOnScopeDispose(offFn);
66
+ return {
67
+ off: offFn
68
+ };
69
+ };
70
+ const trigger = (...args) => {
71
+ return Promise.all(Array.from(fns).map((fn) => fn(...args)));
72
+ };
73
+ return {
74
+ on,
75
+ off,
76
+ trigger
77
+ };
78
+ }
79
+
80
+ function createGlobalState(stateFactory) {
81
+ let initialized = false;
82
+ let state;
83
+ const scope = effectScope(true);
84
+ return (...args) => {
85
+ if (!initialized) {
86
+ state = scope.run(() => stateFactory(...args));
87
+ initialized = true;
88
+ }
89
+ return state;
90
+ };
91
+ }
92
+
93
+ const localProvidedStateMap = /* @__PURE__ */ new WeakMap();
94
+
95
+ const provideLocal = (key, value) => {
96
+ var _a;
97
+ const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;
98
+ if (instance == null)
99
+ throw new Error("provideLocal must be called in setup");
100
+ if (!localProvidedStateMap.has(instance))
101
+ localProvidedStateMap.set(instance, /* @__PURE__ */ Object.create(null));
102
+ const localProvidedState = localProvidedStateMap.get(instance);
103
+ localProvidedState[key] = value;
104
+ provide(key, value);
105
+ };
106
+
107
+ const injectLocal = (...args) => {
108
+ var _a;
109
+ const key = args[0];
110
+ const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;
111
+ if (instance == null)
112
+ throw new Error("injectLocal must be called in setup");
113
+ if (localProvidedStateMap.has(instance) && key in localProvidedStateMap.get(instance))
114
+ return localProvidedStateMap.get(instance)[key];
115
+ return inject(...args);
116
+ };
117
+
118
+ function createInjectionState(composable, options) {
119
+ const key = (options == null ? void 0 : options.injectionKey) || Symbol(composable.name || "InjectionState");
120
+ const defaultValue = options == null ? void 0 : options.defaultValue;
121
+ const useProvidingState = (...args) => {
122
+ const state = composable(...args);
123
+ provideLocal(key, state);
124
+ return state;
125
+ };
126
+ const useInjectedState = () => injectLocal(key, defaultValue);
127
+ return [useProvidingState, useInjectedState];
128
+ }
129
+
130
+ function createSharedComposable(composable) {
131
+ let subscribers = 0;
132
+ let state;
133
+ let scope;
134
+ const dispose = () => {
135
+ subscribers -= 1;
136
+ if (scope && subscribers <= 0) {
137
+ scope.stop();
138
+ state = void 0;
139
+ scope = void 0;
140
+ }
141
+ };
142
+ return (...args) => {
143
+ subscribers += 1;
144
+ if (!state) {
145
+ scope = effectScope(true);
146
+ state = scope.run(() => composable(...args));
147
+ }
148
+ tryOnScopeDispose(dispose);
149
+ return state;
150
+ };
151
+ }
152
+
153
+ function extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {
154
+ for (const [key, value] of Object.entries(extend)) {
155
+ if (key === "value")
156
+ continue;
157
+ if (isRef(value) && unwrap) {
158
+ Object.defineProperty(ref, key, {
159
+ get() {
160
+ return value.value;
161
+ },
162
+ set(v) {
163
+ value.value = v;
164
+ },
165
+ enumerable
166
+ });
167
+ } else {
168
+ Object.defineProperty(ref, key, { value, enumerable });
169
+ }
170
+ }
171
+ return ref;
172
+ }
173
+
174
+ function get(obj, key) {
175
+ if (key == null)
176
+ return unref(obj);
177
+ return unref(obj)[key];
178
+ }
179
+
180
+ function isDefined(v) {
181
+ return unref(v) != null;
182
+ }
183
+
184
+ function makeDestructurable(obj, arr) {
185
+ if (typeof Symbol !== "undefined") {
186
+ const clone = { ...obj };
187
+ Object.defineProperty(clone, Symbol.iterator, {
188
+ enumerable: false,
189
+ value() {
190
+ let index = 0;
191
+ return {
192
+ next: () => ({
193
+ value: arr[index++],
194
+ done: index > arr.length
195
+ })
196
+ };
197
+ }
198
+ });
199
+ return clone;
200
+ } else {
201
+ return Object.assign([...arr], obj);
202
+ }
203
+ }
204
+
205
+ function toValue(r) {
206
+ return typeof r === "function" ? r() : unref(r);
207
+ }
208
+ const resolveUnref = toValue;
209
+
210
+ function reactify(fn, options) {
211
+ const unrefFn = (options == null ? void 0 : options.computedGetter) === false ? unref : toValue;
212
+ return function(...args) {
213
+ return computed(() => fn.apply(this, args.map((i) => unrefFn(i))));
214
+ };
215
+ }
216
+
217
+ function reactifyObject(obj, optionsOrKeys = {}) {
218
+ let keys = [];
219
+ let options;
220
+ if (Array.isArray(optionsOrKeys)) {
221
+ keys = optionsOrKeys;
222
+ } else {
223
+ options = optionsOrKeys;
224
+ const { includeOwnProperties = true } = optionsOrKeys;
225
+ keys.push(...Object.keys(obj));
226
+ if (includeOwnProperties)
227
+ keys.push(...Object.getOwnPropertyNames(obj));
228
+ }
229
+ return Object.fromEntries(
230
+ keys.map((key) => {
231
+ const value = obj[key];
232
+ return [
233
+ key,
234
+ typeof value === "function" ? reactify(value.bind(obj), options) : value
235
+ ];
236
+ })
237
+ );
238
+ }
239
+
240
+ function toReactive(objectRef) {
241
+ if (!isRef(objectRef))
242
+ return reactive(objectRef);
243
+ const proxy = new Proxy({}, {
244
+ get(_, p, receiver) {
245
+ return unref(Reflect.get(objectRef.value, p, receiver));
246
+ },
247
+ set(_, p, value) {
248
+ if (isRef(objectRef.value[p]) && !isRef(value))
249
+ objectRef.value[p].value = value;
250
+ else
251
+ objectRef.value[p] = value;
252
+ return true;
253
+ },
254
+ deleteProperty(_, p) {
255
+ return Reflect.deleteProperty(objectRef.value, p);
256
+ },
257
+ has(_, p) {
258
+ return Reflect.has(objectRef.value, p);
259
+ },
260
+ ownKeys() {
261
+ return Object.keys(objectRef.value);
262
+ },
263
+ getOwnPropertyDescriptor() {
264
+ return {
265
+ enumerable: true,
266
+ configurable: true
267
+ };
268
+ }
269
+ });
270
+ return reactive(proxy);
271
+ }
272
+
273
+ function reactiveComputed(fn) {
274
+ return toReactive(computed(fn));
275
+ }
276
+
277
+ function reactiveOmit(obj, ...keys) {
278
+ const flatKeys = keys.flat();
279
+ const predicate = flatKeys[0];
280
+ return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));
281
+ }
282
+
283
+ const isClient = typeof window !== "undefined" && typeof document !== "undefined";
284
+ const isWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
285
+ const isDef = (val) => typeof val !== "undefined";
286
+ const notNullish = (val) => val != null;
287
+ const assert = (condition, ...infos) => {
288
+ if (!condition)
289
+ console.warn(...infos);
290
+ };
291
+ const toString = Object.prototype.toString;
292
+ const isObject = (val) => toString.call(val) === "[object Object]";
293
+ const now = () => Date.now();
294
+ const timestamp = () => +Date.now();
295
+ const clamp = (n, min, max) => Math.min(max, Math.max(min, n));
296
+ const noop = () => {
297
+ };
298
+ const rand = (min, max) => {
299
+ min = Math.ceil(min);
300
+ max = Math.floor(max);
301
+ return Math.floor(Math.random() * (max - min + 1)) + min;
302
+ };
303
+ const hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);
304
+ const isIOS = /* @__PURE__ */ getIsIOS();
305
+ function getIsIOS() {
306
+ var _a, _b;
307
+ return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b = window == null ? void 0 : window.navigator) == null ? void 0 : _b.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
308
+ }
309
+
310
+ function createFilterWrapper(filter, fn) {
311
+ function wrapper(...args) {
312
+ return new Promise((resolve, reject) => {
313
+ Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);
314
+ });
315
+ }
316
+ return wrapper;
317
+ }
318
+ const bypassFilter = (invoke) => {
319
+ return invoke();
320
+ };
321
+ function debounceFilter(ms, options = {}) {
322
+ let timer;
323
+ let maxTimer;
324
+ let lastRejector = noop;
325
+ const _clearTimeout = (timer2) => {
326
+ clearTimeout(timer2);
327
+ lastRejector();
328
+ lastRejector = noop;
329
+ };
330
+ const filter = (invoke) => {
331
+ const duration = toValue(ms);
332
+ const maxDuration = toValue(options.maxWait);
333
+ if (timer)
334
+ _clearTimeout(timer);
335
+ if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
336
+ if (maxTimer) {
337
+ _clearTimeout(maxTimer);
338
+ maxTimer = null;
339
+ }
340
+ return Promise.resolve(invoke());
341
+ }
342
+ return new Promise((resolve, reject) => {
343
+ lastRejector = options.rejectOnCancel ? reject : resolve;
344
+ if (maxDuration && !maxTimer) {
345
+ maxTimer = setTimeout(() => {
346
+ if (timer)
347
+ _clearTimeout(timer);
348
+ maxTimer = null;
349
+ resolve(invoke());
350
+ }, maxDuration);
351
+ }
352
+ timer = setTimeout(() => {
353
+ if (maxTimer)
354
+ _clearTimeout(maxTimer);
355
+ maxTimer = null;
356
+ resolve(invoke());
357
+ }, duration);
358
+ });
359
+ };
360
+ return filter;
361
+ }
362
+ function throttleFilter(...args) {
363
+ let lastExec = 0;
364
+ let timer;
365
+ let isLeading = true;
366
+ let lastRejector = noop;
367
+ let lastValue;
368
+ let ms;
369
+ let trailing;
370
+ let leading;
371
+ let rejectOnCancel;
372
+ if (!isRef(args[0]) && typeof args[0] === "object")
373
+ ({ delay: ms, trailing = true, leading = true, rejectOnCancel = false } = args[0]);
374
+ else
375
+ [ms, trailing = true, leading = true, rejectOnCancel = false] = args;
376
+ const clear = () => {
377
+ if (timer) {
378
+ clearTimeout(timer);
379
+ timer = void 0;
380
+ lastRejector();
381
+ lastRejector = noop;
382
+ }
383
+ };
384
+ const filter = (_invoke) => {
385
+ const duration = toValue(ms);
386
+ const elapsed = Date.now() - lastExec;
387
+ const invoke = () => {
388
+ return lastValue = _invoke();
389
+ };
390
+ clear();
391
+ if (duration <= 0) {
392
+ lastExec = Date.now();
393
+ return invoke();
394
+ }
395
+ if (elapsed > duration && (leading || !isLeading)) {
396
+ lastExec = Date.now();
397
+ invoke();
398
+ } else if (trailing) {
399
+ lastValue = new Promise((resolve, reject) => {
400
+ lastRejector = rejectOnCancel ? reject : resolve;
401
+ timer = setTimeout(() => {
402
+ lastExec = Date.now();
403
+ isLeading = true;
404
+ resolve(invoke());
405
+ clear();
406
+ }, Math.max(0, duration - elapsed));
407
+ });
408
+ }
409
+ if (!leading && !timer)
410
+ timer = setTimeout(() => isLeading = true, duration);
411
+ isLeading = false;
412
+ return lastValue;
413
+ };
414
+ return filter;
415
+ }
416
+ function pausableFilter(extendFilter = bypassFilter) {
417
+ const isActive = ref(true);
418
+ function pause() {
419
+ isActive.value = false;
420
+ }
421
+ function resume() {
422
+ isActive.value = true;
423
+ }
424
+ const eventFilter = (...args) => {
425
+ if (isActive.value)
426
+ extendFilter(...args);
427
+ };
428
+ return { isActive: readonly(isActive), pause, resume, eventFilter };
429
+ }
430
+
431
+ const directiveHooks = {
432
+ mounted: "mounted" ,
433
+ updated: "updated" ,
434
+ unmounted: "unmounted"
435
+ };
436
+
437
+ function cacheStringFunction(fn) {
438
+ const cache = /* @__PURE__ */ Object.create(null);
439
+ return (str) => {
440
+ const hit = cache[str];
441
+ return hit || (cache[str] = fn(str));
442
+ };
443
+ }
444
+ const hyphenateRE = /\B([A-Z])/g;
445
+ const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
446
+ const camelizeRE = /-(\w)/g;
447
+ const camelize = cacheStringFunction((str) => {
448
+ return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
449
+ });
450
+
451
+ function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
452
+ return new Promise((resolve, reject) => {
453
+ if (throwOnTimeout)
454
+ setTimeout(() => reject(reason), ms);
455
+ else
456
+ setTimeout(resolve, ms);
457
+ });
458
+ }
459
+ function identity(arg) {
460
+ return arg;
461
+ }
462
+ function createSingletonPromise(fn) {
463
+ let _promise;
464
+ function wrapper() {
465
+ if (!_promise)
466
+ _promise = fn();
467
+ return _promise;
468
+ }
469
+ wrapper.reset = async () => {
470
+ const _prev = _promise;
471
+ _promise = void 0;
472
+ if (_prev)
473
+ await _prev;
474
+ };
475
+ return wrapper;
476
+ }
477
+ function invoke(fn) {
478
+ return fn();
479
+ }
480
+ function containsProp(obj, ...props) {
481
+ return props.some((k) => k in obj);
482
+ }
483
+ function increaseWithUnit(target, delta) {
484
+ var _a;
485
+ if (typeof target === "number")
486
+ return target + delta;
487
+ const value = ((_a = target.match(/^-?\d+\.?\d*/)) == null ? void 0 : _a[0]) || "";
488
+ const unit = target.slice(value.length);
489
+ const result = Number.parseFloat(value) + delta;
490
+ if (Number.isNaN(result))
491
+ return target;
492
+ return result + unit;
493
+ }
494
+ function objectPick(obj, keys, omitUndefined = false) {
495
+ return keys.reduce((n, k) => {
496
+ if (k in obj) {
497
+ if (!omitUndefined || obj[k] !== void 0)
498
+ n[k] = obj[k];
499
+ }
500
+ return n;
501
+ }, {});
502
+ }
503
+ function objectOmit(obj, keys, omitUndefined = false) {
504
+ return Object.fromEntries(Object.entries(obj).filter(([key, value]) => {
505
+ return (!omitUndefined || value !== void 0) && !keys.includes(key);
506
+ }));
507
+ }
508
+ function objectEntries(obj) {
509
+ return Object.entries(obj);
510
+ }
511
+ function getLifeCycleTarget(target) {
512
+ return target || getCurrentInstance();
513
+ }
514
+
515
+ function toRef(...args) {
516
+ if (args.length !== 1)
517
+ return toRef$1(...args);
518
+ const r = args[0];
519
+ return typeof r === "function" ? readonly(customRef(() => ({ get: r, set: noop }))) : ref(r);
520
+ }
521
+ const resolveRef = toRef;
522
+
523
+ function reactivePick(obj, ...keys) {
524
+ const flatKeys = keys.flat();
525
+ const predicate = flatKeys[0];
526
+ return reactiveComputed(() => typeof predicate === "function" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));
527
+ }
528
+
529
+ function refAutoReset(defaultValue, afterMs = 1e4) {
530
+ return customRef((track, trigger) => {
531
+ let value = toValue(defaultValue);
532
+ let timer;
533
+ const resetAfter = () => setTimeout(() => {
534
+ value = toValue(defaultValue);
535
+ trigger();
536
+ }, toValue(afterMs));
537
+ tryOnScopeDispose(() => {
538
+ clearTimeout(timer);
539
+ });
540
+ return {
541
+ get() {
542
+ track();
543
+ return value;
544
+ },
545
+ set(newValue) {
546
+ value = newValue;
547
+ trigger();
548
+ clearTimeout(timer);
549
+ timer = resetAfter();
550
+ }
551
+ };
552
+ });
553
+ }
554
+
555
+ function useDebounceFn(fn, ms = 200, options = {}) {
556
+ return createFilterWrapper(
557
+ debounceFilter(ms, options),
558
+ fn
559
+ );
560
+ }
561
+
562
+ function refDebounced(value, ms = 200, options = {}) {
563
+ const debounced = ref(value.value);
564
+ const updater = useDebounceFn(() => {
565
+ debounced.value = value.value;
566
+ }, ms, options);
567
+ watch(value, () => updater());
568
+ return debounced;
569
+ }
570
+
571
+ function refDefault(source, defaultValue) {
572
+ return computed({
573
+ get() {
574
+ var _a;
575
+ return (_a = source.value) != null ? _a : defaultValue;
576
+ },
577
+ set(value) {
578
+ source.value = value;
579
+ }
580
+ });
581
+ }
582
+
583
+ function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
584
+ return createFilterWrapper(
585
+ throttleFilter(ms, trailing, leading, rejectOnCancel),
586
+ fn
587
+ );
588
+ }
589
+
590
+ function refThrottled(value, delay = 200, trailing = true, leading = true) {
591
+ if (delay <= 0)
592
+ return value;
593
+ const throttled = ref(value.value);
594
+ const updater = useThrottleFn(() => {
595
+ throttled.value = value.value;
596
+ }, delay, trailing, leading);
597
+ watch(value, () => updater());
598
+ return throttled;
599
+ }
600
+
601
+ function refWithControl(initial, options = {}) {
602
+ let source = initial;
603
+ let track;
604
+ let trigger;
605
+ const ref = customRef((_track, _trigger) => {
606
+ track = _track;
607
+ trigger = _trigger;
608
+ return {
609
+ get() {
610
+ return get();
611
+ },
612
+ set(v) {
613
+ set(v);
614
+ }
615
+ };
616
+ });
617
+ function get(tracking = true) {
618
+ if (tracking)
619
+ track();
620
+ return source;
621
+ }
622
+ function set(value, triggering = true) {
623
+ var _a, _b;
624
+ if (value === source)
625
+ return;
626
+ const old = source;
627
+ if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)
628
+ return;
629
+ source = value;
630
+ (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);
631
+ if (triggering)
632
+ trigger();
633
+ }
634
+ const untrackedGet = () => get(false);
635
+ const silentSet = (v) => set(v, false);
636
+ const peek = () => get(false);
637
+ const lay = (v) => set(v, false);
638
+ return extendRef(
639
+ ref,
640
+ {
641
+ get,
642
+ set,
643
+ untrackedGet,
644
+ silentSet,
645
+ peek,
646
+ lay
647
+ },
648
+ { enumerable: true }
649
+ );
650
+ }
651
+ const controlledRef = refWithControl;
652
+
653
+ function set(...args) {
654
+ if (args.length === 2) {
655
+ const [ref, value] = args;
656
+ ref.value = value;
657
+ }
658
+ if (args.length === 3) {
659
+ {
660
+ const [target, key, value] = args;
661
+ target[key] = value;
662
+ }
663
+ }
664
+ }
665
+
666
+ function watchWithFilter(source, cb, options = {}) {
667
+ const {
668
+ eventFilter = bypassFilter,
669
+ ...watchOptions
670
+ } = options;
671
+ return watch(
672
+ source,
673
+ createFilterWrapper(
674
+ eventFilter,
675
+ cb
676
+ ),
677
+ watchOptions
678
+ );
679
+ }
680
+
681
+ function watchPausable(source, cb, options = {}) {
682
+ const {
683
+ eventFilter: filter,
684
+ ...watchOptions
685
+ } = options;
686
+ const { eventFilter, pause, resume, isActive } = pausableFilter(filter);
687
+ const stop = watchWithFilter(
688
+ source,
689
+ cb,
690
+ {
691
+ ...watchOptions,
692
+ eventFilter
693
+ }
694
+ );
695
+ return { stop, pause, resume, isActive };
696
+ }
697
+
698
+ function syncRef(left, right, ...[options]) {
699
+ const {
700
+ flush = "sync",
701
+ deep = false,
702
+ immediate = true,
703
+ direction = "both",
704
+ transform = {}
705
+ } = options || {};
706
+ const watchers = [];
707
+ const transformLTR = "ltr" in transform && transform.ltr || ((v) => v);
708
+ const transformRTL = "rtl" in transform && transform.rtl || ((v) => v);
709
+ if (direction === "both" || direction === "ltr") {
710
+ watchers.push(watchPausable(
711
+ left,
712
+ (newValue) => {
713
+ watchers.forEach((w) => w.pause());
714
+ right.value = transformLTR(newValue);
715
+ watchers.forEach((w) => w.resume());
716
+ },
717
+ { flush, deep, immediate }
718
+ ));
719
+ }
720
+ if (direction === "both" || direction === "rtl") {
721
+ watchers.push(watchPausable(
722
+ right,
723
+ (newValue) => {
724
+ watchers.forEach((w) => w.pause());
725
+ left.value = transformRTL(newValue);
726
+ watchers.forEach((w) => w.resume());
727
+ },
728
+ { flush, deep, immediate }
729
+ ));
730
+ }
731
+ const stop = () => {
732
+ watchers.forEach((w) => w.stop());
733
+ };
734
+ return stop;
735
+ }
736
+
737
+ function syncRefs(source, targets, options = {}) {
738
+ const {
739
+ flush = "sync",
740
+ deep = false,
741
+ immediate = true
742
+ } = options;
743
+ if (!Array.isArray(targets))
744
+ targets = [targets];
745
+ return watch(
746
+ source,
747
+ (newValue) => targets.forEach((target) => target.value = newValue),
748
+ { flush, deep, immediate }
749
+ );
750
+ }
751
+
752
+ function toRefs(objectRef, options = {}) {
753
+ if (!isRef(objectRef))
754
+ return toRefs$1(objectRef);
755
+ const result = Array.isArray(objectRef.value) ? Array.from({ length: objectRef.value.length }) : {};
756
+ for (const key in objectRef.value) {
757
+ result[key] = customRef(() => ({
758
+ get() {
759
+ return objectRef.value[key];
760
+ },
761
+ set(v) {
762
+ var _a;
763
+ const replaceRef = (_a = toValue(options.replaceRef)) != null ? _a : true;
764
+ if (replaceRef) {
765
+ if (Array.isArray(objectRef.value)) {
766
+ const copy = [...objectRef.value];
767
+ copy[key] = v;
768
+ objectRef.value = copy;
769
+ } else {
770
+ const newObject = { ...objectRef.value, [key]: v };
771
+ Object.setPrototypeOf(newObject, Object.getPrototypeOf(objectRef.value));
772
+ objectRef.value = newObject;
773
+ }
774
+ } else {
775
+ objectRef.value[key] = v;
776
+ }
777
+ }
778
+ }));
779
+ }
780
+ return result;
781
+ }
782
+
783
+ function tryOnBeforeMount(fn, sync = true, target) {
784
+ const instance = getLifeCycleTarget(target);
785
+ if (instance)
786
+ onBeforeMount(fn, target);
787
+ else if (sync)
788
+ fn();
789
+ else
790
+ nextTick(fn);
791
+ }
792
+
793
+ function tryOnBeforeUnmount(fn, target) {
794
+ const instance = getLifeCycleTarget(target);
795
+ if (instance)
796
+ onBeforeUnmount(fn, target);
797
+ }
798
+
799
+ function tryOnMounted(fn, sync = true, target) {
800
+ const instance = getLifeCycleTarget();
801
+ if (instance)
802
+ onMounted(fn, target);
803
+ else if (sync)
804
+ fn();
805
+ else
806
+ nextTick(fn);
807
+ }
808
+
809
+ function tryOnUnmounted(fn, target) {
810
+ const instance = getLifeCycleTarget(target);
811
+ if (instance)
812
+ onUnmounted(fn, target);
813
+ }
814
+
815
+ function createUntil(r, isNot = false) {
816
+ function toMatch(condition, { flush = "sync", deep = false, timeout, throwOnTimeout } = {}) {
817
+ let stop = null;
818
+ const watcher = new Promise((resolve) => {
819
+ stop = watch(
820
+ r,
821
+ (v) => {
822
+ if (condition(v) !== isNot) {
823
+ stop == null ? void 0 : stop();
824
+ resolve(v);
825
+ }
826
+ },
827
+ {
828
+ flush,
829
+ deep,
830
+ immediate: true
831
+ }
832
+ );
833
+ });
834
+ const promises = [watcher];
835
+ if (timeout != null) {
836
+ promises.push(
837
+ promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop == null ? void 0 : stop())
838
+ );
839
+ }
840
+ return Promise.race(promises);
841
+ }
842
+ function toBe(value, options) {
843
+ if (!isRef(value))
844
+ return toMatch((v) => v === value, options);
845
+ const { flush = "sync", deep = false, timeout, throwOnTimeout } = options != null ? options : {};
846
+ let stop = null;
847
+ const watcher = new Promise((resolve) => {
848
+ stop = watch(
849
+ [r, value],
850
+ ([v1, v2]) => {
851
+ if (isNot !== (v1 === v2)) {
852
+ stop == null ? void 0 : stop();
853
+ resolve(v1);
854
+ }
855
+ },
856
+ {
857
+ flush,
858
+ deep,
859
+ immediate: true
860
+ }
861
+ );
862
+ });
863
+ const promises = [watcher];
864
+ if (timeout != null) {
865
+ promises.push(
866
+ promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {
867
+ stop == null ? void 0 : stop();
868
+ return toValue(r);
869
+ })
870
+ );
871
+ }
872
+ return Promise.race(promises);
873
+ }
874
+ function toBeTruthy(options) {
875
+ return toMatch((v) => Boolean(v), options);
876
+ }
877
+ function toBeNull(options) {
878
+ return toBe(null, options);
879
+ }
880
+ function toBeUndefined(options) {
881
+ return toBe(void 0, options);
882
+ }
883
+ function toBeNaN(options) {
884
+ return toMatch(Number.isNaN, options);
885
+ }
886
+ function toContains(value, options) {
887
+ return toMatch((v) => {
888
+ const array = Array.from(v);
889
+ return array.includes(value) || array.includes(toValue(value));
890
+ }, options);
891
+ }
892
+ function changed(options) {
893
+ return changedTimes(1, options);
894
+ }
895
+ function changedTimes(n = 1, options) {
896
+ let count = -1;
897
+ return toMatch(() => {
898
+ count += 1;
899
+ return count >= n;
900
+ }, options);
901
+ }
902
+ if (Array.isArray(toValue(r))) {
903
+ const instance = {
904
+ toMatch,
905
+ toContains,
906
+ changed,
907
+ changedTimes,
908
+ get not() {
909
+ return createUntil(r, !isNot);
910
+ }
911
+ };
912
+ return instance;
913
+ } else {
914
+ const instance = {
915
+ toMatch,
916
+ toBe,
917
+ toBeTruthy,
918
+ toBeNull,
919
+ toBeNaN,
920
+ toBeUndefined,
921
+ changed,
922
+ changedTimes,
923
+ get not() {
924
+ return createUntil(r, !isNot);
925
+ }
926
+ };
927
+ return instance;
928
+ }
929
+ }
930
+ function until(r) {
931
+ return createUntil(r);
932
+ }
933
+
934
+ function defaultComparator(value, othVal) {
935
+ return value === othVal;
936
+ }
937
+ function useArrayDifference(...args) {
938
+ var _a;
939
+ const list = args[0];
940
+ const values = args[1];
941
+ let compareFn = (_a = args[2]) != null ? _a : defaultComparator;
942
+ if (typeof compareFn === "string") {
943
+ const key = compareFn;
944
+ compareFn = (value, othVal) => value[key] === othVal[key];
945
+ }
946
+ return computed(() => toValue(list).filter((x) => toValue(values).findIndex((y) => compareFn(x, y)) === -1));
947
+ }
948
+
949
+ function useArrayEvery(list, fn) {
950
+ return computed(() => toValue(list).every((element, index, array) => fn(toValue(element), index, array)));
951
+ }
952
+
953
+ function useArrayFilter(list, fn) {
954
+ return computed(() => toValue(list).map((i) => toValue(i)).filter(fn));
955
+ }
956
+
957
+ function useArrayFind(list, fn) {
958
+ return computed(() => toValue(
959
+ toValue(list).find((element, index, array) => fn(toValue(element), index, array))
960
+ ));
961
+ }
962
+
963
+ function useArrayFindIndex(list, fn) {
964
+ return computed(() => toValue(list).findIndex((element, index, array) => fn(toValue(element), index, array)));
965
+ }
966
+
967
+ function findLast(arr, cb) {
968
+ let index = arr.length;
969
+ while (index-- > 0) {
970
+ if (cb(arr[index], index, arr))
971
+ return arr[index];
972
+ }
973
+ return void 0;
974
+ }
975
+ function useArrayFindLast(list, fn) {
976
+ return computed(() => toValue(
977
+ !Array.prototype.findLast ? findLast(toValue(list), (element, index, array) => fn(toValue(element), index, array)) : toValue(list).findLast((element, index, array) => fn(toValue(element), index, array))
978
+ ));
979
+ }
980
+
981
+ function isArrayIncludesOptions(obj) {
982
+ return isObject(obj) && containsProp(obj, "formIndex", "comparator");
983
+ }
984
+ function useArrayIncludes(...args) {
985
+ var _a;
986
+ const list = args[0];
987
+ const value = args[1];
988
+ let comparator = args[2];
989
+ let formIndex = 0;
990
+ if (isArrayIncludesOptions(comparator)) {
991
+ formIndex = (_a = comparator.fromIndex) != null ? _a : 0;
992
+ comparator = comparator.comparator;
993
+ }
994
+ if (typeof comparator === "string") {
995
+ const key = comparator;
996
+ comparator = (element, value2) => element[key] === toValue(value2);
997
+ }
998
+ comparator = comparator != null ? comparator : (element, value2) => element === toValue(value2);
999
+ return computed(() => toValue(list).slice(formIndex).some((element, index, array) => comparator(
1000
+ toValue(element),
1001
+ toValue(value),
1002
+ index,
1003
+ toValue(array)
1004
+ )));
1005
+ }
1006
+
1007
+ function useArrayJoin(list, separator) {
1008
+ return computed(() => toValue(list).map((i) => toValue(i)).join(toValue(separator)));
1009
+ }
1010
+
1011
+ function useArrayMap(list, fn) {
1012
+ return computed(() => toValue(list).map((i) => toValue(i)).map(fn));
1013
+ }
1014
+
1015
+ function useArrayReduce(list, reducer, ...args) {
1016
+ const reduceCallback = (sum, value, index) => reducer(toValue(sum), toValue(value), index);
1017
+ return computed(() => {
1018
+ const resolved = toValue(list);
1019
+ return args.length ? resolved.reduce(reduceCallback, toValue(args[0])) : resolved.reduce(reduceCallback);
1020
+ });
1021
+ }
1022
+
1023
+ function useArraySome(list, fn) {
1024
+ return computed(() => toValue(list).some((element, index, array) => fn(toValue(element), index, array)));
1025
+ }
1026
+
1027
+ function uniq(array) {
1028
+ return Array.from(new Set(array));
1029
+ }
1030
+ function uniqueElementsBy(array, fn) {
1031
+ return array.reduce((acc, v) => {
1032
+ if (!acc.some((x) => fn(v, x, array)))
1033
+ acc.push(v);
1034
+ return acc;
1035
+ }, []);
1036
+ }
1037
+ function useArrayUnique(list, compareFn) {
1038
+ return computed(() => {
1039
+ const resolvedList = toValue(list).map((element) => toValue(element));
1040
+ return compareFn ? uniqueElementsBy(resolvedList, compareFn) : uniq(resolvedList);
1041
+ });
1042
+ }
1043
+
1044
+ function useCounter(initialValue = 0, options = {}) {
1045
+ let _initialValue = unref(initialValue);
1046
+ const count = ref(initialValue);
1047
+ const {
1048
+ max = Number.POSITIVE_INFINITY,
1049
+ min = Number.NEGATIVE_INFINITY
1050
+ } = options;
1051
+ const inc = (delta = 1) => count.value = Math.max(Math.min(max, count.value + delta), min);
1052
+ const dec = (delta = 1) => count.value = Math.min(Math.max(min, count.value - delta), max);
1053
+ const get = () => count.value;
1054
+ const set = (val) => count.value = Math.max(min, Math.min(max, val));
1055
+ const reset = (val = _initialValue) => {
1056
+ _initialValue = val;
1057
+ return set(val);
1058
+ };
1059
+ return { count, inc, dec, get, set, reset };
1060
+ }
1061
+
1062
+ const REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i;
1063
+ const REGEX_FORMAT = /[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;
1064
+ function defaultMeridiem(hours, minutes, isLowercase, hasPeriod) {
1065
+ let m = hours < 12 ? "AM" : "PM";
1066
+ if (hasPeriod)
1067
+ m = m.split("").reduce((acc, curr) => acc += `${curr}.`, "");
1068
+ return isLowercase ? m.toLowerCase() : m;
1069
+ }
1070
+ function formatOrdinal(num) {
1071
+ const suffixes = ["th", "st", "nd", "rd"];
1072
+ const v = num % 100;
1073
+ return num + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);
1074
+ }
1075
+ function formatDate(date, formatStr, options = {}) {
1076
+ var _a;
1077
+ const years = date.getFullYear();
1078
+ const month = date.getMonth();
1079
+ const days = date.getDate();
1080
+ const hours = date.getHours();
1081
+ const minutes = date.getMinutes();
1082
+ const seconds = date.getSeconds();
1083
+ const milliseconds = date.getMilliseconds();
1084
+ const day = date.getDay();
1085
+ const meridiem = (_a = options.customMeridiem) != null ? _a : defaultMeridiem;
1086
+ const matches = {
1087
+ Yo: () => formatOrdinal(years),
1088
+ YY: () => String(years).slice(-2),
1089
+ YYYY: () => years,
1090
+ M: () => month + 1,
1091
+ Mo: () => formatOrdinal(month + 1),
1092
+ MM: () => `${month + 1}`.padStart(2, "0"),
1093
+ MMM: () => date.toLocaleDateString(options.locales, { month: "short" }),
1094
+ MMMM: () => date.toLocaleDateString(options.locales, { month: "long" }),
1095
+ D: () => String(days),
1096
+ Do: () => formatOrdinal(days),
1097
+ DD: () => `${days}`.padStart(2, "0"),
1098
+ H: () => String(hours),
1099
+ Ho: () => formatOrdinal(hours),
1100
+ HH: () => `${hours}`.padStart(2, "0"),
1101
+ h: () => `${hours % 12 || 12}`.padStart(1, "0"),
1102
+ ho: () => formatOrdinal(hours % 12 || 12),
1103
+ hh: () => `${hours % 12 || 12}`.padStart(2, "0"),
1104
+ m: () => String(minutes),
1105
+ mo: () => formatOrdinal(minutes),
1106
+ mm: () => `${minutes}`.padStart(2, "0"),
1107
+ s: () => String(seconds),
1108
+ so: () => formatOrdinal(seconds),
1109
+ ss: () => `${seconds}`.padStart(2, "0"),
1110
+ SSS: () => `${milliseconds}`.padStart(3, "0"),
1111
+ d: () => day,
1112
+ dd: () => date.toLocaleDateString(options.locales, { weekday: "narrow" }),
1113
+ ddd: () => date.toLocaleDateString(options.locales, { weekday: "short" }),
1114
+ dddd: () => date.toLocaleDateString(options.locales, { weekday: "long" }),
1115
+ A: () => meridiem(hours, minutes),
1116
+ AA: () => meridiem(hours, minutes, false, true),
1117
+ a: () => meridiem(hours, minutes, true),
1118
+ aa: () => meridiem(hours, minutes, true, true)
1119
+ };
1120
+ return formatStr.replace(REGEX_FORMAT, (match, $1) => {
1121
+ var _a2, _b;
1122
+ return (_b = $1 != null ? $1 : (_a2 = matches[match]) == null ? void 0 : _a2.call(matches)) != null ? _b : match;
1123
+ });
1124
+ }
1125
+ function normalizeDate(date) {
1126
+ if (date === null)
1127
+ return new Date(Number.NaN);
1128
+ if (date === void 0)
1129
+ return /* @__PURE__ */ new Date();
1130
+ if (date instanceof Date)
1131
+ return new Date(date);
1132
+ if (typeof date === "string" && !/Z$/i.test(date)) {
1133
+ const d = date.match(REGEX_PARSE);
1134
+ if (d) {
1135
+ const m = d[2] - 1 || 0;
1136
+ const ms = (d[7] || "0").substring(0, 3);
1137
+ return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
1138
+ }
1139
+ }
1140
+ return new Date(date);
1141
+ }
1142
+ function useDateFormat(date, formatStr = "HH:mm:ss", options = {}) {
1143
+ return computed(() => formatDate(normalizeDate(toValue(date)), toValue(formatStr), options));
1144
+ }
1145
+
1146
+ function useIntervalFn(cb, interval = 1e3, options = {}) {
1147
+ const {
1148
+ immediate = true,
1149
+ immediateCallback = false
1150
+ } = options;
1151
+ let timer = null;
1152
+ const isActive = ref(false);
1153
+ function clean() {
1154
+ if (timer) {
1155
+ clearInterval(timer);
1156
+ timer = null;
1157
+ }
1158
+ }
1159
+ function pause() {
1160
+ isActive.value = false;
1161
+ clean();
1162
+ }
1163
+ function resume() {
1164
+ const intervalValue = toValue(interval);
1165
+ if (intervalValue <= 0)
1166
+ return;
1167
+ isActive.value = true;
1168
+ if (immediateCallback)
1169
+ cb();
1170
+ clean();
1171
+ timer = setInterval(cb, intervalValue);
1172
+ }
1173
+ if (immediate && isClient)
1174
+ resume();
1175
+ if (isRef(interval) || typeof interval === "function") {
1176
+ const stopWatch = watch(interval, () => {
1177
+ if (isActive.value && isClient)
1178
+ resume();
1179
+ });
1180
+ tryOnScopeDispose(stopWatch);
1181
+ }
1182
+ tryOnScopeDispose(pause);
1183
+ return {
1184
+ isActive,
1185
+ pause,
1186
+ resume
1187
+ };
1188
+ }
1189
+
1190
+ function useInterval(interval = 1e3, options = {}) {
1191
+ const {
1192
+ controls: exposeControls = false,
1193
+ immediate = true,
1194
+ callback
1195
+ } = options;
1196
+ const counter = ref(0);
1197
+ const update = () => counter.value += 1;
1198
+ const reset = () => {
1199
+ counter.value = 0;
1200
+ };
1201
+ const controls = useIntervalFn(
1202
+ callback ? () => {
1203
+ update();
1204
+ callback(counter.value);
1205
+ } : update,
1206
+ interval,
1207
+ { immediate }
1208
+ );
1209
+ if (exposeControls) {
1210
+ return {
1211
+ counter,
1212
+ reset,
1213
+ ...controls
1214
+ };
1215
+ } else {
1216
+ return counter;
1217
+ }
1218
+ }
1219
+
1220
+ function useLastChanged(source, options = {}) {
1221
+ var _a;
1222
+ const ms = ref((_a = options.initialValue) != null ? _a : null);
1223
+ watch(
1224
+ source,
1225
+ () => ms.value = timestamp(),
1226
+ options
1227
+ );
1228
+ return ms;
1229
+ }
1230
+
1231
+ function useTimeoutFn(cb, interval, options = {}) {
1232
+ const {
1233
+ immediate = true
1234
+ } = options;
1235
+ const isPending = ref(false);
1236
+ let timer = null;
1237
+ function clear() {
1238
+ if (timer) {
1239
+ clearTimeout(timer);
1240
+ timer = null;
1241
+ }
1242
+ }
1243
+ function stop() {
1244
+ isPending.value = false;
1245
+ clear();
1246
+ }
1247
+ function start(...args) {
1248
+ clear();
1249
+ isPending.value = true;
1250
+ timer = setTimeout(() => {
1251
+ isPending.value = false;
1252
+ timer = null;
1253
+ cb(...args);
1254
+ }, toValue(interval));
1255
+ }
1256
+ if (immediate) {
1257
+ isPending.value = true;
1258
+ if (isClient)
1259
+ start();
1260
+ }
1261
+ tryOnScopeDispose(stop);
1262
+ return {
1263
+ isPending: readonly(isPending),
1264
+ start,
1265
+ stop
1266
+ };
1267
+ }
1268
+
1269
+ function useTimeout(interval = 1e3, options = {}) {
1270
+ const {
1271
+ controls: exposeControls = false,
1272
+ callback
1273
+ } = options;
1274
+ const controls = useTimeoutFn(
1275
+ callback != null ? callback : noop,
1276
+ interval,
1277
+ options
1278
+ );
1279
+ const ready = computed(() => !controls.isPending.value);
1280
+ if (exposeControls) {
1281
+ return {
1282
+ ready,
1283
+ ...controls
1284
+ };
1285
+ } else {
1286
+ return ready;
1287
+ }
1288
+ }
1289
+
1290
+ function useToNumber(value, options = {}) {
1291
+ const {
1292
+ method = "parseFloat",
1293
+ radix,
1294
+ nanToZero
1295
+ } = options;
1296
+ return computed(() => {
1297
+ let resolved = toValue(value);
1298
+ if (typeof resolved === "string")
1299
+ resolved = Number[method](resolved, radix);
1300
+ if (nanToZero && Number.isNaN(resolved))
1301
+ resolved = 0;
1302
+ return resolved;
1303
+ });
1304
+ }
1305
+
1306
+ function useToString(value) {
1307
+ return computed(() => `${toValue(value)}`);
1308
+ }
1309
+
1310
+ function useToggle(initialValue = false, options = {}) {
1311
+ const {
1312
+ truthyValue = true,
1313
+ falsyValue = false
1314
+ } = options;
1315
+ const valueIsRef = isRef(initialValue);
1316
+ const _value = ref(initialValue);
1317
+ function toggle(value) {
1318
+ if (arguments.length) {
1319
+ _value.value = value;
1320
+ return _value.value;
1321
+ } else {
1322
+ const truthy = toValue(truthyValue);
1323
+ _value.value = _value.value === truthy ? toValue(falsyValue) : truthy;
1324
+ return _value.value;
1325
+ }
1326
+ }
1327
+ if (valueIsRef)
1328
+ return toggle;
1329
+ else
1330
+ return [_value, toggle];
1331
+ }
1332
+
1333
+ function watchArray(source, cb, options) {
1334
+ let oldList = (options == null ? void 0 : options.immediate) ? [] : [...source instanceof Function ? source() : Array.isArray(source) ? source : toValue(source)];
1335
+ return watch(source, (newList, _, onCleanup) => {
1336
+ const oldListRemains = Array.from({ length: oldList.length });
1337
+ const added = [];
1338
+ for (const obj of newList) {
1339
+ let found = false;
1340
+ for (let i = 0; i < oldList.length; i++) {
1341
+ if (!oldListRemains[i] && obj === oldList[i]) {
1342
+ oldListRemains[i] = true;
1343
+ found = true;
1344
+ break;
1345
+ }
1346
+ }
1347
+ if (!found)
1348
+ added.push(obj);
1349
+ }
1350
+ const removed = oldList.filter((_2, i) => !oldListRemains[i]);
1351
+ cb(newList, oldList, added, removed, onCleanup);
1352
+ oldList = [...newList];
1353
+ }, options);
1354
+ }
1355
+
1356
+ function watchAtMost(source, cb, options) {
1357
+ const {
1358
+ count,
1359
+ ...watchOptions
1360
+ } = options;
1361
+ const current = ref(0);
1362
+ const stop = watchWithFilter(
1363
+ source,
1364
+ (...args) => {
1365
+ current.value += 1;
1366
+ if (current.value >= toValue(count))
1367
+ nextTick(() => stop());
1368
+ cb(...args);
1369
+ },
1370
+ watchOptions
1371
+ );
1372
+ return { count: current, stop };
1373
+ }
1374
+
1375
+ function watchDebounced(source, cb, options = {}) {
1376
+ const {
1377
+ debounce = 0,
1378
+ maxWait = void 0,
1379
+ ...watchOptions
1380
+ } = options;
1381
+ return watchWithFilter(
1382
+ source,
1383
+ cb,
1384
+ {
1385
+ ...watchOptions,
1386
+ eventFilter: debounceFilter(debounce, { maxWait })
1387
+ }
1388
+ );
1389
+ }
1390
+
1391
+ function watchDeep(source, cb, options) {
1392
+ return watch(
1393
+ source,
1394
+ cb,
1395
+ {
1396
+ ...options,
1397
+ deep: true
1398
+ }
1399
+ );
1400
+ }
1401
+
1402
+ function watchIgnorable(source, cb, options = {}) {
1403
+ const {
1404
+ eventFilter = bypassFilter,
1405
+ ...watchOptions
1406
+ } = options;
1407
+ const filteredCb = createFilterWrapper(
1408
+ eventFilter,
1409
+ cb
1410
+ );
1411
+ let ignoreUpdates;
1412
+ let ignorePrevAsyncUpdates;
1413
+ let stop;
1414
+ if (watchOptions.flush === "sync") {
1415
+ const ignore = ref(false);
1416
+ ignorePrevAsyncUpdates = () => {
1417
+ };
1418
+ ignoreUpdates = (updater) => {
1419
+ ignore.value = true;
1420
+ updater();
1421
+ ignore.value = false;
1422
+ };
1423
+ stop = watch(
1424
+ source,
1425
+ (...args) => {
1426
+ if (!ignore.value)
1427
+ filteredCb(...args);
1428
+ },
1429
+ watchOptions
1430
+ );
1431
+ } else {
1432
+ const disposables = [];
1433
+ const ignoreCounter = ref(0);
1434
+ const syncCounter = ref(0);
1435
+ ignorePrevAsyncUpdates = () => {
1436
+ ignoreCounter.value = syncCounter.value;
1437
+ };
1438
+ disposables.push(
1439
+ watch(
1440
+ source,
1441
+ () => {
1442
+ syncCounter.value++;
1443
+ },
1444
+ { ...watchOptions, flush: "sync" }
1445
+ )
1446
+ );
1447
+ ignoreUpdates = (updater) => {
1448
+ const syncCounterPrev = syncCounter.value;
1449
+ updater();
1450
+ ignoreCounter.value += syncCounter.value - syncCounterPrev;
1451
+ };
1452
+ disposables.push(
1453
+ watch(
1454
+ source,
1455
+ (...args) => {
1456
+ const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;
1457
+ ignoreCounter.value = 0;
1458
+ syncCounter.value = 0;
1459
+ if (ignore)
1460
+ return;
1461
+ filteredCb(...args);
1462
+ },
1463
+ watchOptions
1464
+ )
1465
+ );
1466
+ stop = () => {
1467
+ disposables.forEach((fn) => fn());
1468
+ };
1469
+ }
1470
+ return { stop, ignoreUpdates, ignorePrevAsyncUpdates };
1471
+ }
1472
+
1473
+ function watchImmediate(source, cb, options) {
1474
+ return watch(
1475
+ source,
1476
+ cb,
1477
+ {
1478
+ ...options,
1479
+ immediate: true
1480
+ }
1481
+ );
1482
+ }
1483
+
1484
+ function watchOnce(source, cb, options) {
1485
+ const stop = watch(source, (...args) => {
1486
+ nextTick(() => stop());
1487
+ return cb(...args);
1488
+ }, options);
1489
+ return stop;
1490
+ }
1491
+
1492
+ function watchThrottled(source, cb, options = {}) {
1493
+ const {
1494
+ throttle = 0,
1495
+ trailing = true,
1496
+ leading = true,
1497
+ ...watchOptions
1498
+ } = options;
1499
+ return watchWithFilter(
1500
+ source,
1501
+ cb,
1502
+ {
1503
+ ...watchOptions,
1504
+ eventFilter: throttleFilter(throttle, trailing, leading)
1505
+ }
1506
+ );
1507
+ }
1508
+
1509
+ function watchTriggerable(source, cb, options = {}) {
1510
+ let cleanupFn;
1511
+ function onEffect() {
1512
+ if (!cleanupFn)
1513
+ return;
1514
+ const fn = cleanupFn;
1515
+ cleanupFn = void 0;
1516
+ fn();
1517
+ }
1518
+ function onCleanup(callback) {
1519
+ cleanupFn = callback;
1520
+ }
1521
+ const _cb = (value, oldValue) => {
1522
+ onEffect();
1523
+ return cb(value, oldValue, onCleanup);
1524
+ };
1525
+ const res = watchIgnorable(source, _cb, options);
1526
+ const { ignoreUpdates } = res;
1527
+ const trigger = () => {
1528
+ let res2;
1529
+ ignoreUpdates(() => {
1530
+ res2 = _cb(getWatchSources(source), getOldValue(source));
1531
+ });
1532
+ return res2;
1533
+ };
1534
+ return {
1535
+ ...res,
1536
+ trigger
1537
+ };
1538
+ }
1539
+ function getWatchSources(sources) {
1540
+ if (isReactive(sources))
1541
+ return sources;
1542
+ if (Array.isArray(sources))
1543
+ return sources.map((item) => toValue(item));
1544
+ return toValue(sources);
1545
+ }
1546
+ function getOldValue(source) {
1547
+ return Array.isArray(source) ? source.map(() => void 0) : void 0;
1548
+ }
1549
+
1550
+ function whenever(source, cb, options) {
1551
+ const stop = watch(
1552
+ source,
1553
+ (v, ov, onInvalidate) => {
1554
+ if (v) {
1555
+ if (options == null ? void 0 : options.once)
1556
+ nextTick(() => stop());
1557
+ cb(v, ov, onInvalidate);
1558
+ }
1559
+ },
1560
+ {
1561
+ ...options,
1562
+ once: false
1563
+ }
1564
+ );
1565
+ return stop;
1566
+ }
1567
+
1568
+ export { watchDebounced as $, useDebounceFn as A, tryOnUnmounted as B, useThrottleFn as C, watchPausable as D, watchWithFilter as E, tryOnBeforeUnmount as F, promiseTimeout as G, until as H, increaseWithUnit as I, containsProp as J, hasOwn as K, clamp as L, objectPick as M, isDef as N, isWorker as O, debounceFilter as P, bypassFilter as Q, camelize as R, assert as S, refAutoReset as T, computedEager as U, controlledRef as V, createGlobalState as W, createInjectionState as X, reactify as Y, createSharedComposable as Z, refDebounced as _, isClient as a, extendRef as a0, formatDate as a1, get as a2, getLifeCycleTarget as a3, hyphenate as a4, injectLocal as a5, invoke as a6, isDefined as a7, normalizeDate as a8, now as a9, useArraySome as aA, useArrayUnique as aB, useCounter as aC, useDateFormat as aD, useInterval as aE, useLastChanged as aF, useTimeout as aG, useToNumber as aH, useToString as aI, useToggle as aJ, watchArray as aK, watchAtMost as aL, watchDeep as aM, watchImmediate as aN, watchOnce as aO, watchTriggerable as aP, whenever as aQ, provideLocal as aa, rand as ab, reactifyObject as ac, reactiveComputed as ad, reactiveOmit as ae, reactivePick as af, refDefault as ag, refThrottled as ah, refWithControl as ai, resolveRef as aj, resolveUnref as ak, set as al, syncRefs as am, watchThrottled as an, toReactive as ao, tryOnBeforeMount as ap, useArrayDifference as aq, useArrayEvery as ar, useArrayFilter as as, useArrayFind as at, useArrayFindIndex as au, useArrayFindLast as av, useArrayIncludes as aw, useArrayJoin as ax, useArrayMap as ay, useArrayReduce as az, isObject as b, tryOnScopeDispose as c, directiveHooks as d, toRef as e, notNullish as f, identity as g, tryOnMounted as h, isIOS as i, objectEntries as j, createEventHook as k, computedWithControl as l, makeDestructurable as m, noop as n, objectOmit as o, toRefs as p, useIntervalFn as q, throttleFilter as r, timestamp as s, toValue as t, useTimeoutFn as u, createFilterWrapper as v, watchIgnorable as w, syncRef as x, createSingletonPromise as y, pausableFilter as z };