@vc-shell/framework 1.1.99-alpha.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/core/api/platform.ts +9883 -9883
  2. package/core/composables/useDynamicProperties/index.ts +16 -10
  3. package/core/composables/useNotifications/index.ts +1 -32
  4. package/core/composables/useSettings/index.ts +3 -8
  5. package/core/composables/useUser/index.ts +171 -74
  6. package/core/composables/useUserManagement/index.ts +25 -67
  7. package/core/interceptors/index.ts +56 -19
  8. package/core/plugins/signalR/index.ts +1 -27
  9. package/core/types/index.ts +0 -2
  10. package/dist/core/api/platform.d.ts +1 -1
  11. package/dist/core/api/platform.d.ts.map +1 -1
  12. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  13. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  14. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  15. package/dist/core/composables/useUser/index.d.ts +9 -18
  16. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  17. package/dist/core/composables/useUserManagement/index.d.ts +7 -7
  18. package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
  19. package/dist/core/interceptors/index.d.ts +1 -2
  20. package/dist/core/interceptors/index.d.ts.map +1 -1
  21. package/dist/core/plugins/signalR/index.d.ts +0 -2
  22. package/dist/core/plugins/signalR/index.d.ts.map +1 -1
  23. package/dist/core/types/index.d.ts +1 -1
  24. package/dist/core/types/index.d.ts.map +1 -1
  25. package/dist/index.d.ts +0 -8
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/injection-keys.d.ts +1 -2
  28. package/dist/injection-keys.d.ts.map +1 -1
  29. package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
  30. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
  31. package/dist/shared/components/notifications/components/notification-container/index.d.ts +10 -10
  32. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  33. package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
  34. package/dist/shared/components/sign-in/useExternalProvider.d.ts.map +1 -1
  35. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  36. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
  37. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
  38. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
  39. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  40. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  41. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  42. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  45. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  46. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  47. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  48. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  49. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  50. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  51. package/dist/ui/components/molecules/index.d.ts +1 -0
  52. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  53. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +34 -0
  54. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -0
  55. package/dist/ui/components/molecules/vc-accordion/index.d.ts +7 -0
  56. package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -0
  57. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +42 -0
  58. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -0
  59. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +1 -1
  60. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
  61. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  62. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
  63. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  64. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +1 -1
  65. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  66. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  67. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
  68. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  69. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  70. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
  71. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  72. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  73. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
  74. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  75. package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
  76. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  77. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  78. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  79. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  80. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  81. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  82. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +5 -5
  83. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  84. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  85. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  86. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  87. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  88. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +2 -2
  89. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +2 -2
  90. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +3 -3
  91. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +1 -1
  92. package/package.json +5 -7
  93. package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +2 -2
  94. package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -15
  95. package/shared/components/sign-in/useExternalProvider.ts +1 -11
  96. package/shared/modules/dynamic/helpers/nodeBuilder.ts +3 -11
  97. package/ui/components/atoms/vc-badge/vc-badge.stories.ts +1 -1
  98. package/ui/components/atoms/vc-button/vc-button.stories.ts +1 -1
  99. package/ui/components/atoms/vc-card/vc-card.stories.ts +1 -1
  100. package/ui/components/atoms/vc-col/vc-col.stories.ts +1 -1
  101. package/ui/components/atoms/vc-container/vc-container.stories.ts +1 -1
  102. package/ui/components/atoms/vc-hint/vc-hint.stories.ts +1 -1
  103. package/ui/components/atoms/vc-icon/vc-icon.stories.ts +1 -1
  104. package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -1
  105. package/ui/components/atoms/vc-label/vc-label.stories.ts +1 -1
  106. package/ui/components/atoms/vc-link/vc-link.stories.ts +1 -1
  107. package/ui/components/atoms/vc-progress/vc-progress.stories.ts +1 -1
  108. package/ui/components/atoms/vc-row/vc-row.stories.ts +1 -1
  109. package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +1 -1
  110. package/ui/components/atoms/vc-status/vc-status.stories.ts +1 -1
  111. package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +1 -1
  112. package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +1 -1
  113. package/ui/components/atoms/vc-video/vc-video.stories.ts +1 -1
  114. package/ui/components/atoms/vc-widget/vc-widget.stories.ts +1 -1
  115. package/ui/components/molecules/index.ts +1 -0
  116. package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +251 -0
  117. package/ui/components/molecules/vc-accordion/index.ts +11 -0
  118. package/ui/components/molecules/vc-accordion/vc-accordion.stories.ts +526 -0
  119. package/ui/components/molecules/vc-accordion/vc-accordion.vue +176 -0
  120. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +1 -1
  121. package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +1 -1
  122. package/ui/components/molecules/vc-editor/vc-editor.stories.ts +1 -1
  123. package/ui/components/molecules/vc-field/vc-field.stories.ts +1 -1
  124. package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +1 -1
  125. package/ui/components/molecules/vc-form/vc-form.stories.ts +1 -1
  126. package/ui/components/molecules/vc-input/vc-input.stories.ts +1 -1
  127. package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
  128. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +1 -1
  129. package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +1 -1
  130. package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +1 -1
  131. package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +1 -1
  132. package/ui/components/molecules/vc-rating/vc-rating.stories.ts +1 -1
  133. package/ui/components/molecules/vc-select/vc-select.stories.ts +1 -1
  134. package/ui/components/molecules/vc-slider/vc-slider.stories.ts +1 -1
  135. package/ui/components/molecules/vc-switch/vc-switch.stories.ts +1 -1
  136. package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +1 -1
  137. package/ui/components/molecules/vc-toast/vc-toast.stories.ts +1 -1
  138. package/ui/components/organisms/vc-app/vc-app.vue +2 -20
  139. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +4 -0
  140. package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +1 -1
  141. package/ui/components/organisms/vc-popup/vc-popup.stories.ts +1 -1
  142. package/core/providers/README.md +0 -176
  143. package/core/providers/auth-provider-manager.ts +0 -74
  144. package/core/providers/auth-provider-utils.ts +0 -26
  145. package/core/providers/example-custom-auth-provider.ts +0 -162
  146. package/core/providers/index.ts +0 -3
  147. package/core/providers/platform-auth-provider.ts +0 -207
  148. package/core/types/auth-provider.ts +0 -40
  149. package/dist/assets/042c75b764bc78a7.svg +0 -1
  150. package/dist/assets/0ba156439a339f2a.svg +0 -1
  151. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  152. package/dist/assets/0f590f8a94577092.svg +0 -1
  153. package/dist/assets/0fc5820f8be53a1b.svg +0 -1
  154. package/dist/assets/105efd028edc1dfe.woff +0 -0
  155. package/dist/assets/10768e2cc79fc60b.svg +0 -1
  156. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  157. package/dist/assets/154365acf3010d96.woff2 +0 -0
  158. package/dist/assets/157b8721e0600ea8.svg +0 -1
  159. package/dist/assets/15e91cdd649cde9a.svg +0 -1
  160. package/dist/assets/19275e398ae57130.woff2 +0 -0
  161. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  162. package/dist/assets/1de63eb118636cce.svg +0 -1
  163. package/dist/assets/1ea01de36eb5491b.svg +0 -1
  164. package/dist/assets/204eaf512fde2023.svg +0 -1
  165. package/dist/assets/2088983edf42e153.svg +0 -1
  166. package/dist/assets/208f810a9321a327.svg +0 -1
  167. package/dist/assets/21220a9d10e6c558.svg +0 -1
  168. package/dist/assets/220db345a102045d.woff2 +0 -0
  169. package/dist/assets/225da11d23968333.svg +0 -1
  170. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  171. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  172. package/dist/assets/259e6ad461a52ad7.svg +0 -1
  173. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  174. package/dist/assets/262f46a0b6d94bb6.svg +0 -1
  175. package/dist/assets/2857c513073467da.svg +0 -1
  176. package/dist/assets/2b3be7889467d98f.woff +0 -0
  177. package/dist/assets/2d4e6190eec72737.svg +0 -1
  178. package/dist/assets/2eba973185078bc8.woff +0 -0
  179. package/dist/assets/334d3f6bc766c516.woff +0 -0
  180. package/dist/assets/34ff7dd0c2285956.svg +0 -1
  181. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  182. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  183. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  184. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  185. package/dist/assets/41275bcb979cb650.svg +0 -1
  186. package/dist/assets/434f7982590e462f.woff +0 -0
  187. package/dist/assets/475937116ee3314a.woff2 +0 -0
  188. package/dist/assets/489710fb710e73f0.woff +0 -0
  189. package/dist/assets/49791943b3872376.woff2 +0 -0
  190. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  191. package/dist/assets/4d7a77b0e5373992.svg +0 -1
  192. package/dist/assets/4e43c74354534fb3.svg +0 -1
  193. package/dist/assets/4fe75f5117100705.svg +0 -1
  194. package/dist/assets/52e261a005074e1b.woff +0 -0
  195. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  196. package/dist/assets/54cda5482c6c9218.woff +0 -0
  197. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  198. package/dist/assets/572bb1bb4156a9c1.svg +0 -1
  199. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  200. package/dist/assets/617c4736236e199e.woff +0 -0
  201. package/dist/assets/67230f05dc94a265.svg +0 -1
  202. package/dist/assets/6798e4dd4add9b48.svg +0 -1
  203. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  204. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  205. package/dist/assets/6a3e73faf406cf33.svg +0 -1
  206. package/dist/assets/72de3a63bc0b70dd.svg +0 -1
  207. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  208. package/dist/assets/74ed5f8a78e71106.svg +0 -1
  209. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  210. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  211. package/dist/assets/7d55399c2a7bc985.svg +0 -1
  212. package/dist/assets/7d970675c69fca1d.woff +0 -0
  213. package/dist/assets/7eda727273fd98d3.svg +0 -1
  214. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  215. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  216. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  217. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  218. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  219. package/dist/assets/910b0d99b9e26568.svg +0 -1
  220. package/dist/assets/91fe94e424323d61.woff +0 -0
  221. package/dist/assets/92508f8707159b51.svg +0 -1
  222. package/dist/assets/9392bf1d591e1abb.svg +0 -1
  223. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  224. package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
  225. package/dist/assets/9d37314695c0b68d.woff +0 -0
  226. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  227. package/dist/assets/a18404194e3f9047.svg +0 -1
  228. package/dist/assets/a2017fe7f0a26510.svg +0 -1
  229. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  230. package/dist/assets/abf88f301a0730f4.svg +0 -1
  231. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  232. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  233. package/dist/assets/b1a596e31ad1185a.svg +0 -1
  234. package/dist/assets/b27767411c8427be.woff +0 -0
  235. package/dist/assets/b325adcae33bbe7a.svg +0 -1
  236. package/dist/assets/b372390551ca2fa1.svg +0 -1
  237. package/dist/assets/b5bb1e8fc975decd.svg +0 -1
  238. package/dist/assets/b645a4a2181b9dc1.svg +0 -1
  239. package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
  240. package/dist/assets/b94421fadd23b0f2.svg +0 -1
  241. package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
  242. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  243. package/dist/assets/ca791c5ca5848a03.svg +0 -1
  244. package/dist/assets/cb32840ce330103f.woff +0 -0
  245. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  246. package/dist/assets/d084bda16abe8a56.svg +0 -1
  247. package/dist/assets/d32b129cae2fffd6.svg +0 -1
  248. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  249. package/dist/assets/d3f792f54ae4c307.svg +0 -1
  250. package/dist/assets/d5a5b8630120073d.svg +0 -1
  251. package/dist/assets/d5f9664ebbfb104b.svg +0 -1
  252. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  253. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  254. package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
  255. package/dist/assets/e2ad5b3428289141.woff +0 -0
  256. package/dist/assets/e38acaa1757232e0.svg +0 -1
  257. package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
  258. package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
  259. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  260. package/dist/assets/e72bb11356af94c7.svg +0 -1
  261. package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
  262. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  263. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  264. package/dist/assets/f09d89268e4c0317.svg +0 -1
  265. package/dist/assets/f239394367fcf005.woff2 +0 -0
  266. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  267. package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
  268. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  269. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  270. package/dist/assets/fed13b0d59903483.svg +0 -1
  271. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  272. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  273. package/dist/core/providers/auth-provider-manager.d.ts +0 -34
  274. package/dist/core/providers/auth-provider-manager.d.ts.map +0 -1
  275. package/dist/core/providers/auth-provider-utils.d.ts +0 -17
  276. package/dist/core/providers/auth-provider-utils.d.ts.map +0 -1
  277. package/dist/core/providers/example-custom-auth-provider.d.ts +0 -45
  278. package/dist/core/providers/example-custom-auth-provider.d.ts.map +0 -1
  279. package/dist/core/providers/index.d.ts +0 -3
  280. package/dist/core/providers/index.d.ts.map +0 -1
  281. package/dist/core/providers/platform-auth-provider.d.ts +0 -34
  282. package/dist/core/providers/platform-auth-provider.d.ts.map +0 -1
  283. package/dist/core/types/auth-provider.d.ts +0 -27
  284. package/dist/core/types/auth-provider.d.ts.map +0 -1
  285. package/dist/framework.js +0 -25048
  286. package/dist/index.css +0 -9
  287. package/dist/vendor-boolbase-A_-Pp38P.js +0 -23
  288. package/dist/vendor-cheerio-C46iBpCu.js +0 -1053
  289. package/dist/vendor-cheerio-select-C8emRZsx.js +0 -191
  290. package/dist/vendor-core-js-DDuR6YMQ.js +0 -1206
  291. package/dist/vendor-css-select-DR9bp36p.js +0 -622
  292. package/dist/vendor-css-what-CZZaquJM.js +0 -267
  293. package/dist/vendor-cypress-signalr-mock-DjBxJHA6.js +0 -769
  294. package/dist/vendor-date-fns-sZ1zMzTH.js +0 -3008
  295. package/dist/vendor-dom-serializer-Sk3xHhQk.js +0 -213
  296. package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
  297. package/dist/vendor-domhandler-CL40eeX9.js +0 -311
  298. package/dist/vendor-dompurify-BuxjWxA2.js +0 -553
  299. package/dist/vendor-domutils-BiVCXO8c.js +0 -386
  300. package/dist/vendor-entities-CCReaWqU.js +0 -364
  301. package/dist/vendor-floating-ui-core-Cl9nBI4j.js +0 -349
  302. package/dist/vendor-floating-ui-dom-3z44E4mf.js +0 -395
  303. package/dist/vendor-floating-ui-utils-D2sT7feD.js +0 -259
  304. package/dist/vendor-floating-ui-vue-ClrgkeO5.js +0 -107
  305. package/dist/vendor-headlessui-vue-D7tzx4PC.js +0 -961
  306. package/dist/vendor-htmlparser2-CpQu33io.js +0 -735
  307. package/dist/vendor-intlify-core-base-Da62SG4M.js +0 -1130
  308. package/dist/vendor-intlify-message-compiler-CHvGSH2u.js +0 -952
  309. package/dist/vendor-intlify-shared-jWBPd9WB.js +0 -144
  310. package/dist/vendor-iso-639-1-BJO6WZAt.js +0 -781
  311. package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
  312. package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
  313. package/dist/vendor-lodash-es-BqkGj3Jl.js +0 -4816
  314. package/dist/vendor-lucide-vue-next-m0L4DzUL.js +0 -29780
  315. package/dist/vendor-markdown-it-Czg9qJTh.js +0 -2263
  316. package/dist/vendor-markdown-it-task-lists-BxLwscWK.js +0 -69
  317. package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
  318. package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +0 -1207
  319. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js +0 -261
  320. package/dist/vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js +0 -1822
  321. package/dist/vendor-microsoft-applicationinsights-common-OjU3Zs6r.js +0 -1921
  322. package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +0 -4276
  323. package/dist/vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js +0 -1407
  324. package/dist/vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js +0 -572
  325. package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +0 -43
  326. package/dist/vendor-microsoft-applicationinsights-web-9yeJ0EZv.js +0 -487
  327. package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +0 -147
  328. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
  329. package/dist/vendor-moment-DMLRxgRE.js +0 -2589
  330. package/dist/vendor-nevware21-ts-async-CdMc_sGt.js +0 -261
  331. package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +0 -853
  332. package/dist/vendor-nth-check-CS1D-zr5.js +0 -45
  333. package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
  334. package/dist/vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js +0 -143
  335. package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
  336. package/dist/vendor-prettier-cZc5sCiS.js +0 -4875
  337. package/dist/vendor-prosemirror-commands-Cu1q5ZDk.js +0 -385
  338. package/dist/vendor-prosemirror-dropcursor-BuGmFgFS.js +0 -86
  339. package/dist/vendor-prosemirror-gapcursor-CyYcCWVK.js +0 -203
  340. package/dist/vendor-prosemirror-history-DzRcbrCw.js +0 -248
  341. package/dist/vendor-prosemirror-keymap-KfbdOEJw.js +0 -62
  342. package/dist/vendor-prosemirror-markdown-OyxRuawK.js +0 -650
  343. package/dist/vendor-prosemirror-model-DFp4ML7B.js +0 -2730
  344. package/dist/vendor-prosemirror-schema-list-CwCUArvx.js +0 -87
  345. package/dist/vendor-prosemirror-state-DHaVEu5h.js +0 -821
  346. package/dist/vendor-prosemirror-tables-mYok4vGT.js +0 -1711
  347. package/dist/vendor-prosemirror-transform-CAHmg-qG.js +0 -1508
  348. package/dist/vendor-prosemirror-view-CspJa44O.js +0 -3751
  349. package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
  350. package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
  351. package/dist/vendor-semver-Dar8oU3V.js +0 -1023
  352. package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
  353. package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +0 -1
  354. package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
  355. package/dist/vendor-tiptap-core-ClsTgaMv.js +0 -3699
  356. package/dist/vendor-tiptap-extension-blockquote-r1MBx4hD.js +0 -54
  357. package/dist/vendor-tiptap-extension-bold-BjLI4i8b.js +0 -74
  358. package/dist/vendor-tiptap-extension-code-D5-kDnMW.js +0 -52
  359. package/dist/vendor-tiptap-extension-code-block-RjEb0zPA.js +0 -215
  360. package/dist/vendor-tiptap-extension-document--PLOxIdq.js +0 -12
  361. package/dist/vendor-tiptap-extension-hard-break-9cxC2YOS.js +0 -59
  362. package/dist/vendor-tiptap-extension-heading-2w0TutHn.js +0 -63
  363. package/dist/vendor-tiptap-extension-horizontal-rule-CFowa_lc.js +0 -56
  364. package/dist/vendor-tiptap-extension-image-aWn-na6j.js +0 -127
  365. package/dist/vendor-tiptap-extension-italic-Bn-6saY0.js +0 -73
  366. package/dist/vendor-tiptap-extension-link-BmcG1_k-.js +0 -298
  367. package/dist/vendor-tiptap-extension-list-BrNBJ45n.js +0 -707
  368. package/dist/vendor-tiptap-extension-paragraph-DAiYhwUB.js +0 -41
  369. package/dist/vendor-tiptap-extension-placeholder-9tURDKy-.js +0 -1
  370. package/dist/vendor-tiptap-extension-strike-DqbXPfos.js +0 -64
  371. package/dist/vendor-tiptap-extension-table-DQwPaR7v.js +0 -374
  372. package/dist/vendor-tiptap-extension-table-cell-C0tEP_0i.js +0 -1
  373. package/dist/vendor-tiptap-extension-table-header-C0tEP_0i.js +0 -1
  374. package/dist/vendor-tiptap-extension-table-row-C0tEP_0i.js +0 -1
  375. package/dist/vendor-tiptap-extension-text-BFnfj70b.js +0 -13
  376. package/dist/vendor-tiptap-extension-text-style-Darua3qr.js +0 -235
  377. package/dist/vendor-tiptap-extension-underline-QyVnBqQZ.js +0 -65
  378. package/dist/vendor-tiptap-extensions-CU-D7bfm.js +0 -290
  379. package/dist/vendor-tiptap-markdown-BwATYN5A.js +0 -826
  380. package/dist/vendor-tiptap-pm-d91nGny8.js +0 -1
  381. package/dist/vendor-tiptap-starter-kit-5luf7zzS.js +0 -28
  382. package/dist/vendor-tiptap-vue-3-CFBErZGb.js +0 -157
  383. package/dist/vendor-truncate-html-DYC0Lj9o.js +0 -145
  384. package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
  385. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
  386. package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
  387. package/dist/vendor-vue-currency-input-BqaYAdhD.js +0 -317
  388. package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
  389. package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
  390. package/dist/vendor-vue-i18n-CO5LWKE0.js +0 -1370
  391. package/dist/vendor-vue3-application-insights-BKiiWnf2.js +0 -69
  392. package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
  393. package/dist/vendor-vuepic-vue-datepicker-CaY_xSnG.js +0 -4998
  394. package/dist/vendor-vueuse-components-sgKpNzof.js +0 -542
  395. package/dist/vendor-vueuse-core-D0cN7FqY.js +0 -5130
  396. package/dist/vendor-vueuse-shared-Pt0UEStA.js +0 -1169
  397. package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
@@ -1,316 +0,0 @@
1
- import "vue";
2
- import "vee-validate";
3
- /**
4
- * vee-validate v4.15.1
5
- * (c) 2025 Abdelrahman Awad
6
- * @license MIT
7
- */
8
- const a = {
9
- en: /^[A-Z]*$/i,
10
- cs: /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,
11
- da: /^[A-ZÆØÅ]*$/i,
12
- de: /^[A-ZÄÖÜß]*$/i,
13
- es: /^[A-ZÁÉÍÑÓÚÜ]*$/i,
14
- fr: /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,
15
- it: /^[A-Z\xC0-\xFF]*$/i,
16
- lt: /^[A-ZĄČĘĖĮŠŲŪŽ]*$/i,
17
- nl: /^[A-ZÉËÏÓÖÜ]*$/i,
18
- hu: /^[A-ZÁÉÍÓÖŐÚÜŰ]*$/i,
19
- pl: /^[A-ZĄĆĘŚŁŃÓŻŹ]*$/i,
20
- pt: /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,
21
- ru: /^[А-ЯЁ]*$/i,
22
- kz: /^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]*$/i,
23
- sk: /^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,
24
- sr: /^[A-ZČĆŽŠĐ]*$/i,
25
- sv: /^[A-ZÅÄÖ]*$/i,
26
- tr: /^[A-ZÇĞİıÖŞÜ]*$/i,
27
- uk: /^[А-ЩЬЮЯЄІЇҐ]*$/i,
28
- ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,
29
- az: /^[A-ZÇƏĞİıÖŞÜ]*$/i,
30
- ug: /^[A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ]*$/i
31
- }, c = {
32
- en: /^[A-Z\s]*$/i,
33
- cs: /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\s]*$/i,
34
- da: /^[A-ZÆØÅ\s]*$/i,
35
- de: /^[A-ZÄÖÜß\s]*$/i,
36
- es: /^[A-ZÁÉÍÑÓÚÜ\s]*$/i,
37
- fr: /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\s]*$/i,
38
- it: /^[A-Z\xC0-\xFF\s]*$/i,
39
- lt: /^[A-ZĄČĘĖĮŠŲŪŽ\s]*$/i,
40
- nl: /^[A-ZÉËÏÓÖÜ\s]*$/i,
41
- hu: /^[A-ZÁÉÍÓÖŐÚÜŰ\s]*$/i,
42
- pl: /^[A-ZĄĆĘŚŁŃÓŻŹ\s]*$/i,
43
- pt: /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s]*$/i,
44
- ru: /^[А-ЯЁ\s]*$/i,
45
- kz: /^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA\s]*$/i,
46
- sk: /^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\s]*$/i,
47
- sr: /^[A-ZČĆŽŠĐ\s]*$/i,
48
- sv: /^[A-ZÅÄÖ\s]*$/i,
49
- tr: /^[A-ZÇĞİıÖŞÜ\s]*$/i,
50
- uk: /^[А-ЩЬЮЯЄІЇҐ\s]*$/i,
51
- ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\s]*$/,
52
- az: /^[A-ZÇƏĞİıÖŞÜ\s]*$/i,
53
- ug: /^[A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ\s]*$/i
54
- }, $ = {
55
- en: /^[0-9A-Z]*$/i,
56
- cs: /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,
57
- da: /^[0-9A-ZÆØÅ]$/i,
58
- de: /^[0-9A-ZÄÖÜß]*$/i,
59
- es: /^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,
60
- fr: /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,
61
- it: /^[0-9A-Z\xC0-\xFF]*$/i,
62
- lt: /^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,
63
- hu: /^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,
64
- nl: /^[0-9A-ZÉËÏÓÖÜ]*$/i,
65
- pl: /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,
66
- pt: /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,
67
- ru: /^[0-9А-ЯЁ]*$/i,
68
- kz: /^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]*$/i,
69
- sk: /^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,
70
- sr: /^[0-9A-ZČĆŽŠĐ]*$/i,
71
- sv: /^[0-9A-ZÅÄÖ]*$/i,
72
- tr: /^[0-9A-ZÇĞİıÖŞÜ]*$/i,
73
- uk: /^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,
74
- ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,
75
- az: /^[0-9A-ZÇƏĞİıÖŞÜ]*$/i,
76
- ug: /^[0-9A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ]*$/i
77
- }, g = {
78
- en: /^[0-9A-Z_-]*$/i,
79
- cs: /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ_-]*$/i,
80
- da: /^[0-9A-ZÆØÅ_-]*$/i,
81
- de: /^[0-9A-ZÄÖÜß_-]*$/i,
82
- es: /^[0-9A-ZÁÉÍÑÓÚÜ_-]*$/i,
83
- fr: /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ_-]*$/i,
84
- it: /^[0-9A-Z\xC0-\xFF_-]*$/i,
85
- lt: /^[0-9A-ZĄČĘĖĮŠŲŪŽ_-]*$/i,
86
- nl: /^[0-9A-ZÉËÏÓÖÜ_-]*$/i,
87
- hu: /^[0-9A-ZÁÉÍÓÖŐÚÜŰ_-]*$/i,
88
- pl: /^[0-9A-ZĄĆĘŚŁŃÓŻŹ_-]*$/i,
89
- pt: /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ_-]*$/i,
90
- ru: /^[0-9А-ЯЁ_-]*$/i,
91
- kz: /^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA_-]*$/i,
92
- sk: /^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ_-]*$/i,
93
- sr: /^[0-9A-ZČĆŽŠĐ_-]*$/i,
94
- sv: /^[0-9A-ZÅÄÖ_-]*$/i,
95
- tr: /^[0-9A-ZÇĞİıÖŞÜ_-]*$/i,
96
- uk: /^[0-9А-ЩЬЮЯЄІЇҐ_-]*$/i,
97
- ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ_-]*$/,
98
- az: /^[0-9A-ZÇƏĞİıÖŞÜ_-]*$/i,
99
- ug: /^[0-9A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ_-]*$/i
100
- }, y = (r) => {
101
- if (r)
102
- return Array.isArray(r) ? r[0] : r.locale;
103
- };
104
- function u(r, e) {
105
- return Array.isArray(r) ? r[0] : r[e];
106
- }
107
- function s(r) {
108
- return !!(r == null || r === "" || Array.isArray(r) && r.length === 0);
109
- }
110
- const d = (r, e) => {
111
- if (s(r))
112
- return !0;
113
- const t = y(e);
114
- if (Array.isArray(r))
115
- return r.every((i) => d(i, { locale: t }));
116
- const n = String(r);
117
- return t ? (a[t] || a.en).test(n) : Object.keys(a).some((i) => a[i].test(n));
118
- }, m = (r, e) => {
119
- if (s(r))
120
- return !0;
121
- const t = y(e);
122
- if (Array.isArray(r))
123
- return r.every((i) => m(i, { locale: t }));
124
- const n = String(r);
125
- return t ? (g[t] || g.en).test(n) : Object.keys(g).some((i) => g[i].test(n));
126
- }, l = (r, e) => {
127
- if (s(r))
128
- return !0;
129
- const t = y(e);
130
- if (Array.isArray(r))
131
- return r.every((i) => l(i, { locale: t }));
132
- const n = String(r);
133
- return t ? ($[t] || $.en).test(n) : Object.keys($).some((i) => $[i].test(n));
134
- }, p = (r, e) => {
135
- if (s(r))
136
- return !0;
137
- const t = y(e);
138
- if (Array.isArray(r))
139
- return r.every((i) => p(i, { locale: t }));
140
- const n = String(r);
141
- return t ? (c[t] || c.en).test(n) : Object.keys(c).some((i) => c[i].test(n));
142
- };
143
- function k(r) {
144
- return Array.isArray(r) ? { min: r[0], max: r[1] } : r;
145
- }
146
- const _ = (r, e) => {
147
- if (s(r))
148
- return !0;
149
- const { min: t, max: n } = k(e);
150
- if (Array.isArray(r))
151
- return r.every((o) => _(o, { min: t, max: n }));
152
- const i = Number(r);
153
- return Number(t) <= i && Number(n) >= i;
154
- }, z = (r, e) => {
155
- const t = u(e, "target");
156
- return String(r) === String(t);
157
- }, V = (r, e) => {
158
- if (s(r))
159
- return !0;
160
- const t = u(e, "length");
161
- if (Array.isArray(r))
162
- return r.every((i) => V(i, { length: t }));
163
- const n = String(r);
164
- return /^[0-9]*$/.test(n) && n.length === Number(t);
165
- }, R = (r, e, t) => {
166
- const n = window.URL || window.webkitURL;
167
- return new Promise((i) => {
168
- const o = new Image();
169
- o.onerror = () => i(!1), o.onload = () => i(o.width === e && o.height === t), o.src = n.createObjectURL(r);
170
- });
171
- };
172
- function j(r) {
173
- return r ? Array.isArray(r) ? { width: Number(r[0]), height: Number(r[1]) } : {
174
- width: Number(r.width),
175
- height: Number(r.height)
176
- } : { width: 0, height: 0 };
177
- }
178
- const D = (r, e) => {
179
- if (s(r))
180
- return !0;
181
- const { width: t, height: n } = j(e), i = [], o = Array.isArray(r) ? r : [r];
182
- for (let A = 0; A < o.length; A++) {
183
- if (!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(o[A].name))
184
- return Promise.resolve(!1);
185
- i.push(o[A]);
186
- }
187
- return Promise.all(i.map((A) => R(A, t, n))).then((A) => A.every((E) => E));
188
- }, Z = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, O = (r) => s(r) ? !0 : Array.isArray(r) ? r.every((e) => Z.test(String(e))) : Z.test(String(r)), B = (r, e) => {
189
- if (s(r))
190
- return !0;
191
- const t = new RegExp(`\\.(${e.join("|")})$`, "i");
192
- return Array.isArray(r) ? r.every((n) => t.test(n.name)) : t.test(r.name);
193
- }, F = (r) => {
194
- if (s(r))
195
- return !0;
196
- const e = /\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;
197
- return Array.isArray(r) ? r.every((t) => e.test(t.name)) : e.test(r.name);
198
- }, L = (r) => s(r) ? !0 : Array.isArray(r) ? r.every((e) => /^-?[0-9]+$/.test(String(e))) : /^-?[0-9]+$/.test(String(r)), P = (r, e) => {
199
- const t = u(e, "other");
200
- return r === t;
201
- }, U = (r, e) => {
202
- const t = u(e, "other");
203
- return r !== t;
204
- }, C = (r, e) => {
205
- if (s(r))
206
- return !0;
207
- const t = u(e, "length");
208
- return typeof r == "number" && (r = String(r)), r.length || (r = Array.from(r)), r.length === Number(t);
209
- }, b = (r, e) => {
210
- if (s(r))
211
- return !0;
212
- const t = u(e, "length");
213
- return Array.isArray(r) ? r.every((n) => b(n, { length: t })) : [...String(r)].length <= Number(t);
214
- }, x = (r, e) => {
215
- if (s(r))
216
- return !0;
217
- const t = u(e, "max");
218
- return Array.isArray(r) ? r.length > 0 && r.every((n) => x(n, { max: t })) : Number(r) <= Number(t);
219
- }, h = /\+(.+)?/;
220
- function I(r) {
221
- let e = r;
222
- return h.test(r) && (e = r.replace(h, "(\\+$1)?")), new RegExp(e.replace("*", ".+"), "i");
223
- }
224
- const q = (r, e) => {
225
- if (s(r))
226
- return !0;
227
- e || (e = []);
228
- const t = e.map(I);
229
- return Array.isArray(r) ? r.every((n) => t.some((i) => i.test(n.type))) : t.some((n) => n.test(r.type));
230
- }, S = (r, e) => {
231
- if (s(r))
232
- return !0;
233
- const t = u(e, "length");
234
- return Array.isArray(r) ? r.every((n) => S(n, { length: t })) : [...String(r)].length >= Number(t);
235
- }, N = (r, e) => {
236
- if (s(r))
237
- return !0;
238
- const t = u(e, "min");
239
- return Array.isArray(r) ? r.length > 0 && r.every((n) => N(n, { min: t })) : Number(r) >= Number(t);
240
- }, f = (r, e) => s(r) ? !0 : Array.isArray(r) ? r.every((t) => f(t, e)) : Array.from(e).some((t) => t == r), M = (r, e) => s(r) ? !0 : !f(r, e), G = /^[٠١٢٣٤٥٦٧٨٩]+$/, H = /^[0-9]+$/, J = (r) => {
241
- if (s(r))
242
- return !0;
243
- const e = (t) => {
244
- const n = String(t);
245
- return H.test(n) || G.test(n);
246
- };
247
- return Array.isArray(r) ? r.every(e) : e(r);
248
- }, w = (r, e) => {
249
- if (s(r))
250
- return !0;
251
- let t = u(e, "regex");
252
- return typeof t == "string" && (t = new RegExp(t)), Array.isArray(r) ? r.every((n) => w(n, { regex: t })) : t.test(String(r));
253
- };
254
- function K(r) {
255
- return r == null;
256
- }
257
- function Q(r) {
258
- return Array.isArray(r) && r.length === 0;
259
- }
260
- const T = (r) => K(r) || Q(r) || r === !1 ? !1 : !!String(r).trim().length, W = (r, e) => {
261
- if (s(r))
262
- return !0;
263
- let t = u(e, "size");
264
- if (t = Number(t), isNaN(t))
265
- return !1;
266
- const n = t * 1024;
267
- if (!Array.isArray(r))
268
- return r.size <= n;
269
- for (let i = 0; i < r.length; i++)
270
- if (r[i].size > n)
271
- return !1;
272
- return !0;
273
- }, X = (r, e) => {
274
- var t;
275
- if (s(r))
276
- return !0;
277
- let n = u(e, "pattern");
278
- typeof n == "string" && (n = new RegExp(n));
279
- try {
280
- new URL(r);
281
- } catch {
282
- return !1;
283
- }
284
- return (t = n?.test(r)) !== null && t !== void 0 ? t : !0;
285
- }, rr = {
286
- alpha_dash: m,
287
- alpha_num: l,
288
- alpha_spaces: p,
289
- alpha: d,
290
- between: _,
291
- confirmed: z,
292
- digits: V,
293
- dimensions: D,
294
- email: O,
295
- ext: B,
296
- image: F,
297
- integer: L,
298
- is_not: U,
299
- is: P,
300
- length: C,
301
- max_value: x,
302
- max: b,
303
- mimes: q,
304
- min_value: N,
305
- min: S,
306
- not_one_of: M,
307
- numeric: J,
308
- one_of: f,
309
- regex: w,
310
- required: T,
311
- size: W,
312
- url: X
313
- };
314
- export {
315
- rr as a
316
- };
@@ -1,317 +0,0 @@
1
- import { ref as x, getCurrentInstance as N, version as O, computed as $, watch as P } from "vue";
2
- /**
3
- * Vue Currency Input 3.2.1
4
- * (c) 2018-2025 Matthias Stiller
5
- * @license MIT
6
- */
7
- var F;
8
- (function(s) {
9
- s.symbol = "symbol", s.narrowSymbol = "narrowSymbol", s.code = "code", s.name = "name", s.hidden = "hidden";
10
- })(F || (F = {}));
11
- var p;
12
- (function(s) {
13
- s.precision = "precision", s.thousands = "thousands", s.tenThousands = "tenThousands", s.millions = "millions", s.billions = "billions";
14
- })(p || (p = {}));
15
- const S = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), E = (s) => s.replace(/^0+(0$|[^0])/, "$1"), D = (s, i) => (s.match(new RegExp(S(i), "g")) || []).length, R = (s, i) => s.substring(0, s.indexOf(i)), I = [
16
- ",",
17
- ".",
18
- "٫",
19
- "。"
20
- ], V = "(0|[1-9]\\d*)";
21
- class _ {
22
- constructor(i) {
23
- var t, e, n, m, o, c;
24
- const { currency: l, currencyDisplay: d, locale: r, precision: a, accountingSign: h, useGrouping: f } = i;
25
- this.locale = r, this.options = {
26
- currency: l,
27
- useGrouping: f,
28
- style: "currency",
29
- currencySign: h ? "accounting" : void 0,
30
- currencyDisplay: d !== F.hidden ? d : void 0
31
- };
32
- const u = new Intl.NumberFormat(r, this.options), y = u.formatToParts(123456);
33
- this.currency = (t = y.find(({ type: g }) => g === "currency")) === null || t === void 0 ? void 0 : t.value, this.digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((g) => g.toLocaleString(r)), this.decimalSymbol = (e = y.find(({ type: g }) => g === "decimal")) === null || e === void 0 ? void 0 : e.value, this.groupingSymbol = (n = y.find(({ type: g }) => g === "group")) === null || n === void 0 ? void 0 : n.value, this.minusSign = (m = u.formatToParts(-1).find(({ type: g }) => g === "minusSign")) === null || m === void 0 ? void 0 : m.value, this.decimalSymbol === void 0 ? this.minimumFractionDigits = this.maximumFractionDigits = 0 : typeof a == "number" ? this.minimumFractionDigits = this.maximumFractionDigits = a : (this.minimumFractionDigits = (o = a?.min) !== null && o !== void 0 ? o : u.resolvedOptions().minimumFractionDigits, this.maximumFractionDigits = (c = a?.max) !== null && c !== void 0 ? c : u.resolvedOptions().maximumFractionDigits);
34
- const b = (g) => R(g, this.digits[1]), v = (g) => g.substring(g.lastIndexOf(this.decimalSymbol ? this.digits[0] : this.digits[1]) + 1);
35
- this.prefix = b(u.format(1)), this.suffix = v(u.format(1)), this.negativePrefix = b(u.format(-1)), this.negativeSuffix = v(u.format(-1));
36
- }
37
- parse(i) {
38
- if (i) {
39
- const t = this.isNegative(i);
40
- i = this.normalizeDigits(i), i = this.stripCurrency(i, t), i = this.stripSignLiterals(i);
41
- const e = this.decimalSymbol ? `(?:${S(this.decimalSymbol)}(\\d*))?` : "", n = this.stripGroupingSeparator(i).match(new RegExp(`^${V}${e}$`));
42
- if (n && this.isValidIntegerFormat(this.decimalSymbol ? i.split(this.decimalSymbol)[0] : i, Number(n[1])))
43
- return +`${t ? "-" : ""}${this.onlyDigits(n[1])}.${this.onlyDigits(n[2] || "")}`;
44
- }
45
- return null;
46
- }
47
- isValidIntegerFormat(i, t) {
48
- const e = { ...this.options, minimumFractionDigits: 0 };
49
- return [
50
- this.stripCurrency(this.normalizeDigits(t.toLocaleString(this.locale, { ...e, useGrouping: !0 })), !1),
51
- this.stripCurrency(this.normalizeDigits(t.toLocaleString(this.locale, { ...e, useGrouping: !1 })), !1)
52
- ].includes(i);
53
- }
54
- format(i, t = {
55
- minimumFractionDigits: this.minimumFractionDigits,
56
- maximumFractionDigits: this.maximumFractionDigits
57
- }) {
58
- return i != null ? i.toLocaleString(this.locale, { ...this.options, ...t }) : "";
59
- }
60
- toFraction(i) {
61
- return `${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(i.substring(1)).substring(0, this.maximumFractionDigits)}`;
62
- }
63
- isFractionIncomplete(i) {
64
- return !!this.normalizeDigits(this.stripGroupingSeparator(i)).match(new RegExp(`^${V}${S(this.decimalSymbol)}$`));
65
- }
66
- isNegative(i) {
67
- return i.startsWith(this.negativePrefix) || this.minusSign === void 0 && (i.startsWith("(") || i.startsWith("-")) || this.minusSign !== void 0 && i.replace("-", this.minusSign).startsWith(this.minusSign);
68
- }
69
- insertCurrency(i, t) {
70
- return `${t ? this.negativePrefix : this.prefix}${i}${t ? this.negativeSuffix : this.suffix}`;
71
- }
72
- stripGroupingSeparator(i) {
73
- return this.groupingSymbol !== void 0 ? i.replace(new RegExp(S(this.groupingSymbol), "g"), "") : i;
74
- }
75
- stripSignLiterals(i) {
76
- return this.minusSign !== void 0 ? i.replace("-", this.minusSign).replace(this.minusSign, "") : i.replace(/[-()]/g, "");
77
- }
78
- stripCurrency(i, t) {
79
- return i.replace(t ? this.negativePrefix : this.prefix, "").replace(t ? this.negativeSuffix : this.suffix, "");
80
- }
81
- normalizeDecimalSeparator(i, t) {
82
- return I.forEach((e) => {
83
- i = i.substring(0, t) + i.substring(t).replace(e, this.decimalSymbol);
84
- }), i;
85
- }
86
- normalizeDigits(i) {
87
- return this.digits[0] !== "0" && this.digits.forEach((t, e) => {
88
- i = i.replace(new RegExp(t, "g"), String(e));
89
- }), i;
90
- }
91
- onlyDigits(i) {
92
- return this.normalizeDigits(i).replace(/\D+/g, "");
93
- }
94
- onlyLocaleDigits(i) {
95
- return i.replace(new RegExp(`[^${this.digits.join("")}]*`, "g"), "");
96
- }
97
- }
98
- class M {
99
- constructor(i) {
100
- this.currencyFormat = i;
101
- }
102
- }
103
- class C extends M {
104
- conformToMask(i, t = "") {
105
- const e = this.currencyFormat.isNegative(i), n = (u) => u === "" && e && !(this.currencyFormat.minusSign === void 0 ? t === this.currencyFormat.negativePrefix + this.currencyFormat.negativeSuffix : t === this.currencyFormat.negativePrefix), m = (u) => {
106
- if (n(u))
107
- return "";
108
- if (this.currencyFormat.maximumFractionDigits > 0) {
109
- if (this.currencyFormat.isFractionIncomplete(u))
110
- return u;
111
- if (u.startsWith(this.currencyFormat.decimalSymbol))
112
- return this.currencyFormat.toFraction(u);
113
- }
114
- return null;
115
- };
116
- let o = i;
117
- o = this.currencyFormat.stripCurrency(o, e), o = this.currencyFormat.stripSignLiterals(o);
118
- const c = m(o);
119
- if (c != null)
120
- return this.currencyFormat.insertCurrency(c, e);
121
- const [l, ...d] = o.split(this.currencyFormat.decimalSymbol), r = E(this.currencyFormat.onlyDigits(l)), a = this.currencyFormat.onlyDigits(d.join("")).substring(0, this.currencyFormat.maximumFractionDigits), h = d.length > 0 && a.length === 0, f = r === "" && e && (this.currencyFormat.minusSign === void 0 ? t === i.slice(0, -2) + this.currencyFormat.negativeSuffix : t === i.slice(0, -1));
122
- return h || f || n(r) ? t : r.match(/\d+/) ? {
123
- numberValue: +`${e ? "-" : ""}${r}.${a}`,
124
- fractionDigits: a
125
- } : "";
126
- }
127
- }
128
- class A extends M {
129
- conformToMask(i, t = "") {
130
- if (i === "" || this.currencyFormat.parse(t) === 0 && this.currencyFormat.stripCurrency(t, !0).slice(0, -1) === this.currencyFormat.stripCurrency(i, !0))
131
- return "";
132
- const e = this.currencyFormat.isNegative(i), n = this.currencyFormat.stripSignLiterals(i) === "" ? -0 : +`${e ? "-" : ""}${E(this.currencyFormat.onlyDigits(i))}` / Math.pow(10, this.currencyFormat.maximumFractionDigits);
133
- return {
134
- numberValue: n,
135
- fractionDigits: n.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)
136
- };
137
- }
138
- }
139
- const L = {
140
- locale: void 0,
141
- currency: void 0,
142
- currencyDisplay: void 0,
143
- hideGroupingSeparatorOnFocus: !0,
144
- hideCurrencySymbolOnFocus: !0,
145
- hideNegligibleDecimalDigitsOnFocus: !0,
146
- precision: void 0,
147
- autoDecimalDigits: !1,
148
- valueRange: void 0,
149
- useGrouping: void 0,
150
- valueScaling: void 0
151
- };
152
- class T {
153
- constructor(i) {
154
- this.el = i.el, this.onInput = i.onInput, this.onChange = i.onChange, this.addEventListener(), this.init(i.options);
155
- }
156
- setOptions(i) {
157
- this.init(i), this.format(this.currencyFormat.format(this.validateValueRange(this.numberValue))), this.onChange(this.getValue());
158
- }
159
- getValue() {
160
- return { number: this.valueScaling && this.numberValue != null ? this.toInteger(this.numberValue, this.valueScaling) : this.numberValue, formatted: this.formattedValue };
161
- }
162
- setValue(i) {
163
- const t = this.valueScaling !== void 0 && i != null ? this.toFloat(i, this.valueScaling) : i;
164
- t !== this.numberValue && (this.format(this.currencyFormat.format(this.validateValueRange(t))), this.onChange(this.getValue()));
165
- }
166
- init(i) {
167
- this.options = {
168
- ...L,
169
- ...i
170
- }, this.options.autoDecimalDigits && (this.options.hideNegligibleDecimalDigitsOnFocus = !1), this.el.getAttribute("inputmode") || this.el.setAttribute("inputmode", this.options.autoDecimalDigits ? "numeric" : "decimal"), this.currencyFormat = new _(this.options), this.numberMask = this.options.autoDecimalDigits ? new A(this.currencyFormat) : new C(this.currencyFormat);
171
- const t = {
172
- [p.precision]: this.currencyFormat.maximumFractionDigits,
173
- [p.thousands]: 3,
174
- [p.tenThousands]: 4,
175
- [p.millions]: 6,
176
- [p.billions]: 9
177
- };
178
- this.valueScaling = this.options.valueScaling ? t[this.options.valueScaling] : void 0, this.valueScalingFractionDigits = this.valueScaling !== void 0 && this.options.valueScaling !== p.precision ? this.valueScaling + this.currencyFormat.maximumFractionDigits : this.currencyFormat.maximumFractionDigits, this.minValue = this.getMinValue(), this.maxValue = this.getMaxValue();
179
- }
180
- getMinValue() {
181
- var i, t;
182
- let e = this.toFloat(-Number.MAX_SAFE_INTEGER);
183
- return ((i = this.options.valueRange) === null || i === void 0 ? void 0 : i.min) !== void 0 && (e = Math.max((t = this.options.valueRange) === null || t === void 0 ? void 0 : t.min, this.toFloat(-Number.MAX_SAFE_INTEGER))), e;
184
- }
185
- getMaxValue() {
186
- var i, t;
187
- let e = this.toFloat(Number.MAX_SAFE_INTEGER);
188
- return ((i = this.options.valueRange) === null || i === void 0 ? void 0 : i.max) !== void 0 && (e = Math.min((t = this.options.valueRange) === null || t === void 0 ? void 0 : t.max, this.toFloat(Number.MAX_SAFE_INTEGER))), e;
189
- }
190
- toFloat(i, t) {
191
- return i / Math.pow(10, t ?? this.valueScalingFractionDigits);
192
- }
193
- toInteger(i, t) {
194
- return Number(i.toFixed(t ?? this.valueScalingFractionDigits).split(".").join(""));
195
- }
196
- validateValueRange(i) {
197
- return i != null ? Math.min(Math.max(i, this.minValue), this.maxValue) : i;
198
- }
199
- format(i, t = !1) {
200
- if (i != null) {
201
- this.decimalSymbolInsertedAt !== void 0 && (i = this.currencyFormat.normalizeDecimalSeparator(i, this.decimalSymbolInsertedAt), this.decimalSymbolInsertedAt = void 0);
202
- const e = this.numberMask.conformToMask(i, this.formattedValue);
203
- let n;
204
- if (typeof e == "object") {
205
- const { numberValue: m, fractionDigits: o } = e;
206
- let { maximumFractionDigits: c, minimumFractionDigits: l } = this.currencyFormat;
207
- this.focus ? l = t ? o.replace(/0+$/, "").length : Math.min(c, o.length) : Number.isInteger(m) && !this.options.autoDecimalDigits && (this.options.precision === void 0 || l === 0) && (l = c = 0), n = this.toInteger(Math.abs(m)) > Number.MAX_SAFE_INTEGER ? this.formattedValue : this.currencyFormat.format(m, {
208
- useGrouping: this.options.useGrouping !== !1 && !(this.focus && this.options.hideGroupingSeparatorOnFocus),
209
- minimumFractionDigits: l,
210
- maximumFractionDigits: c
211
- });
212
- } else
213
- n = e;
214
- this.maxValue <= 0 && !this.currencyFormat.isNegative(n) && this.currencyFormat.parse(n) !== 0 && (n = n.replace(this.currencyFormat.prefix, this.currencyFormat.negativePrefix)), this.minValue >= 0 && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.prefix)), (this.options.currencyDisplay === F.hidden || this.focus && this.options.hideCurrencySymbolOnFocus) && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.minusSign !== void 0 ? this.currencyFormat.minusSign : "(").replace(this.currencyFormat.negativeSuffix, this.currencyFormat.minusSign !== void 0 ? "" : ")").replace(this.currencyFormat.prefix, "").replace(this.currencyFormat.suffix, "")), this.el.value = n, this.numberValue = this.currencyFormat.parse(n);
215
- } else
216
- this.el.value = "", this.numberValue = null;
217
- this.formattedValue = this.el.value, this.onInput(this.getValue());
218
- }
219
- addEventListener() {
220
- this.el.addEventListener("input", (i) => {
221
- const { value: t, selectionStart: e } = this.el, n = i;
222
- if (e && n.data && I.includes(n.data) && (this.decimalSymbolInsertedAt = e - 1), this.format(t), this.focus && e != null) {
223
- const m = () => {
224
- const { prefix: o, suffix: c, decimalSymbol: l, maximumFractionDigits: d, groupingSymbol: r } = this.currencyFormat;
225
- let a = t.length - e;
226
- const h = this.formattedValue.length;
227
- if (this.currencyFormat.minusSign === void 0 && (t.startsWith("(") || t.startsWith("-")) && !t.endsWith(")"))
228
- return h - this.currencyFormat.negativeSuffix.length > 1 ? this.formattedValue.substring(e).length : 1;
229
- if (this.formattedValue.substring(e, 1) === r && D(this.formattedValue, r) === D(t, r) + 1)
230
- return h - a - 1;
231
- if (h < a)
232
- return e;
233
- if (l !== void 0 && t.indexOf(l) !== -1) {
234
- const f = t.indexOf(l) + 1;
235
- if (Math.abs(h - t.length) > 1 && e <= f)
236
- return this.formattedValue.indexOf(l) + 1;
237
- !this.options.autoDecimalDigits && e > f && this.currencyFormat.onlyDigits(t.substring(f)).length - 1 === d && (a -= 1);
238
- }
239
- return this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === F.hidden ? h - a : Math.max(h - Math.max(a, c.length), o.length);
240
- };
241
- this.setCaretPosition(m());
242
- }
243
- }), this.el.addEventListener("focus", () => {
244
- this.focus = !0, this.numberValueOnFocus = this.numberValue, setTimeout(() => {
245
- const { value: i, selectionStart: t, selectionEnd: e } = this.el;
246
- if (this.format(i, this.options.hideNegligibleDecimalDigitsOnFocus), t != null && e != null && Math.abs(t - e) > 0)
247
- this.setCaretPosition(0, this.el.value.length);
248
- else if (t != null) {
249
- const n = this.getCaretPositionOnFocus(i, t);
250
- this.setCaretPosition(n);
251
- }
252
- });
253
- }), this.el.addEventListener("blur", () => {
254
- this.focus = !1, this.format(this.currencyFormat.format(this.validateValueRange(this.numberValue))), this.numberValueOnFocus !== this.numberValue && this.onChange(this.getValue());
255
- });
256
- }
257
- getCaretPositionOnFocus(i, t) {
258
- if (this.numberValue == null)
259
- return t;
260
- const { prefix: e, negativePrefix: n, suffix: m, negativeSuffix: o, groupingSymbol: c, currency: l } = this.currencyFormat, d = this.numberValue < 0, r = d ? n : e, a = r.length;
261
- if (this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === F.hidden) {
262
- if (d) {
263
- if (t <= 1)
264
- return 1;
265
- if (i.endsWith(")") && t > i.indexOf(")"))
266
- return this.formattedValue.length - 1;
267
- }
268
- } else {
269
- const f = d ? o.length : m.length;
270
- if (t >= i.length - f)
271
- return this.formattedValue.length - f;
272
- if (t < a)
273
- return a;
274
- }
275
- let h = t;
276
- return this.options.hideCurrencySymbolOnFocus && this.options.currencyDisplay !== F.hidden && t >= a && l !== void 0 && r.includes(l) && (h -= a, d && (h += 1)), this.options.hideGroupingSeparatorOnFocus && c !== void 0 && (h -= D(i.substring(0, t), c)), h;
277
- }
278
- setCaretPosition(i, t = i) {
279
- this.el.setSelectionRange(i, t);
280
- }
281
- }
282
- const w = (s) => s?.matches("input") ? s : s?.querySelector("input");
283
- function k(s, i) {
284
- var t, e, n, m;
285
- let o;
286
- const c = x(null), l = x(null), d = x(null), r = N();
287
- r?.emit || ((e = (t = r?.proxy) === null || t === void 0 ? void 0 : t.$emit) === null || e === void 0 || e.bind(r?.proxy));
288
- const a = r?.props || ((n = r?.proxy) === null || n === void 0 ? void 0 : n.$props), h = O.startsWith("3");
289
- h && ((m = r?.attrs.modelModifiers) === null || m === void 0 || m.lazy);
290
- const f = $(() => a?.[h ? "modelValue" : "value"]);
291
- return P(c, (u) => {
292
- var y;
293
- if (u) {
294
- const b = w((y = u?.$el) !== null && y !== void 0 ? y : u);
295
- b ? (o = new T({
296
- el: b,
297
- options: s,
298
- onInput: (v) => {
299
- d.value = v.number, l.value = v.formatted;
300
- },
301
- onChange: (v) => {
302
- }
303
- }), o.setValue(f.value)) : console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.');
304
- } else
305
- o = null;
306
- }), {
307
- inputRef: c,
308
- numberValue: d,
309
- formattedValue: l,
310
- setValue: (u) => o?.setValue(u),
311
- setOptions: (u) => o?.setOptions(u)
312
- };
313
- }
314
- export {
315
- F as C,
316
- k as u
317
- };
@@ -1 +0,0 @@
1
- import "vue";