@vc-shell/framework 1.1.99-alpha.2 → 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,1130 +0,0 @@
1
- import { i as R, w as ee, a as m, b as $, c as D, d as P, e as x, f as b, g as _e, h as Ye, j as S, k as B, l as Fe, m as de, n as I, o as oe, s as He, p as je, q as ge, r as j, t as y, u as z, v as ze, x as xe, y as Xe, z as Ze, A as qe } from "./vendor-intlify-shared-jWBPd9WB.js";
2
- import { c as Je, C as Qe, d as et, a as tt, b as nt } from "./vendor-intlify-message-compiler-CHvGSH2u.js";
3
- /*!
4
- * core-base v11.1.12
5
- * (c) 2025 kazuya kawaguchi
6
- * Released under the MIT License.
7
- */
8
- function rt() {
9
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (de().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (de().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
10
- }
11
- function Y(e) {
12
- return S(e) && le(e) === 0 && (B(e, "b") || B(e, "body"));
13
- }
14
- const Re = ["b", "body"];
15
- function at(e) {
16
- return G(e, Re);
17
- }
18
- const he = ["c", "cases"];
19
- function st(e) {
20
- return G(e, he, []);
21
- }
22
- const Le = ["s", "static"];
23
- function ot(e) {
24
- return G(e, Le);
25
- }
26
- const Se = ["i", "items"];
27
- function lt(e) {
28
- return G(e, Se, []);
29
- }
30
- const Ie = ["t", "type"];
31
- function le(e) {
32
- return G(e, Ie);
33
- }
34
- const ve = ["v", "value"];
35
- function J(e, t) {
36
- const n = G(e, ve);
37
- if (n != null)
38
- return n;
39
- throw Z(t);
40
- }
41
- const be = ["m", "modifier"];
42
- function it(e) {
43
- return G(e, be);
44
- }
45
- const Pe = ["k", "key"];
46
- function ct(e) {
47
- const t = G(e, Pe);
48
- if (t)
49
- return t;
50
- throw Z(
51
- 6
52
- /* NodeTypes.Linked */
53
- );
54
- }
55
- function G(e, t, n) {
56
- for (let r = 0; r < t.length; r++) {
57
- const a = t[r];
58
- if (B(e, a) && e[a] != null)
59
- return e[a];
60
- }
61
- return n;
62
- }
63
- const ut = [
64
- ...Re,
65
- ...he,
66
- ...Le,
67
- ...Se,
68
- ...Pe,
69
- ...be,
70
- ...ve,
71
- ...Ie
72
- ];
73
- function Z(e) {
74
- return new Error(`unhandled node type: ${e}`);
75
- }
76
- function te(e) {
77
- return (n) => mt(n, e);
78
- }
79
- function mt(e, t) {
80
- const n = at(t);
81
- if (n == null)
82
- throw Z(
83
- 0
84
- /* NodeTypes.Resource */
85
- );
86
- if (le(n) === 1) {
87
- const o = st(n);
88
- return e.plural(o.reduce((l, i) => [
89
- ...l,
90
- Ee(e, i)
91
- ], []));
92
- } else
93
- return Ee(e, n);
94
- }
95
- function Ee(e, t) {
96
- const n = ot(t);
97
- if (n != null)
98
- return e.type === "text" ? n : e.normalize([n]);
99
- {
100
- const r = lt(t).reduce((a, o) => [...a, ae(e, o)], []);
101
- return e.normalize(r);
102
- }
103
- }
104
- function ae(e, t) {
105
- const n = le(t);
106
- switch (n) {
107
- case 3:
108
- return J(t, n);
109
- case 9:
110
- return J(t, n);
111
- case 4: {
112
- const r = t;
113
- if (B(r, "k") && r.k)
114
- return e.interpolate(e.named(r.k));
115
- if (B(r, "key") && r.key)
116
- return e.interpolate(e.named(r.key));
117
- throw Z(n);
118
- }
119
- case 5: {
120
- const r = t;
121
- if (B(r, "i") && I(r.i))
122
- return e.interpolate(e.list(r.i));
123
- if (B(r, "index") && I(r.index))
124
- return e.interpolate(e.list(r.index));
125
- throw Z(n);
126
- }
127
- case 6: {
128
- const r = t, a = it(r), o = ct(r);
129
- return e.linked(ae(e, o), a ? ae(e, a) : void 0, e.type);
130
- }
131
- case 7:
132
- return J(t, n);
133
- case 8:
134
- return J(t, n);
135
- default:
136
- throw new Error(`unhandled node on format message part: ${n}`);
137
- }
138
- }
139
- const ft = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
140
- function _t(e, t) {
141
- t && et(e) && ee(Fe(ft, { source: e }));
142
- }
143
- const dt = (e) => e;
144
- let Q = P();
145
- function gt(e, t = {}) {
146
- let n = !1;
147
- const r = t.onError || tt;
148
- return t.onError = (a) => {
149
- n = !0, r(a);
150
- }, { ...nt(e, t), detectError: n };
151
- }
152
- // @__NO_SIDE_EFFECTS__
153
- function nn(e, t) {
154
- if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && m(e)) {
155
- const n = b(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
156
- process.env.NODE_ENV !== "production" && _t(e, n);
157
- const a = (t.onCacheKey || dt)(e), o = Q[a];
158
- if (o)
159
- return o;
160
- const { ast: l, detectError: i } = gt(e, {
161
- ...t,
162
- location: process.env.NODE_ENV !== "production",
163
- jit: !0
164
- }), s = te(l);
165
- return i ? s : Q[a] = s;
166
- } else {
167
- if (process.env.NODE_ENV !== "production" && !Y(e))
168
- return ee(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
169
- const n = e.cacheKey;
170
- if (n) {
171
- const r = Q[n];
172
- return r || (Q[n] = te(e));
173
- } else
174
- return te(e);
175
- }
176
- }
177
- let q = null;
178
- function rn(e) {
179
- q = e;
180
- }
181
- function Et(e, t, n) {
182
- q && q.emit("i18n:init", {
183
- timestamp: Date.now(),
184
- i18n: e,
185
- version: t,
186
- meta: n
187
- });
188
- }
189
- const Ot = /* @__PURE__ */ Tt("function:translate");
190
- function Tt(e) {
191
- return (t) => q && q.emit(e, t);
192
- }
193
- const L = {
194
- INVALID_ARGUMENT: Qe,
195
- // 17
196
- INVALID_DATE_ARGUMENT: 18,
197
- INVALID_ISO_DATE_ARGUMENT: 19,
198
- NOT_SUPPORT_NON_STRING_MESSAGE: 20,
199
- NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
200
- NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
201
- NOT_SUPPORT_LOCALE_TYPE: 23
202
- }, an = 24;
203
- function W(e) {
204
- return Je(e, null, process.env.NODE_ENV !== "production" ? { messages: Nt } : void 0);
205
- }
206
- const Nt = {
207
- [L.INVALID_ARGUMENT]: "Invalid arguments",
208
- [L.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
209
- [L.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
210
- [L.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
211
- [L.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
212
- [L.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
213
- [L.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
214
- };
215
- function ie(e, t) {
216
- return t.locale != null ? Oe(t.locale) : Oe(e.locale);
217
- }
218
- let ne;
219
- function Oe(e) {
220
- if (m(e))
221
- return e;
222
- if (R(e)) {
223
- if (e.resolvedOnce && ne != null)
224
- return ne;
225
- if (e.constructor.name === "Function") {
226
- const t = e();
227
- if (Xe(t))
228
- throw W(L.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
229
- return ne = t;
230
- } else
231
- throw W(L.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
232
- } else
233
- throw W(L.NOT_SUPPORT_LOCALE_TYPE);
234
- }
235
- function pt(e, t, n) {
236
- return [.../* @__PURE__ */ new Set([
237
- n,
238
- ...$(t) ? t : S(t) ? Object.keys(t) : m(t) ? [t] : [n]
239
- ])];
240
- }
241
- function sn(e, t, n) {
242
- const r = m(n) ? n : se, a = e;
243
- a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
244
- let o = a.__localeChainCache.get(r);
245
- if (!o) {
246
- o = [];
247
- let l = [n];
248
- for (; $(l); )
249
- l = Te(o, l, t);
250
- const i = $(t) || !D(t) ? t : t.default ? t.default : null;
251
- l = m(i) ? [i] : i, $(l) && Te(o, l, !1), a.__localeChainCache.set(r, o);
252
- }
253
- return o;
254
- }
255
- function Te(e, t, n) {
256
- let r = !0;
257
- for (let a = 0; a < t.length && b(r); a++) {
258
- const o = t[a];
259
- m(o) && (r = At(e, t[a], n));
260
- }
261
- return r;
262
- }
263
- function At(e, t, n) {
264
- let r;
265
- const a = t.split("-");
266
- do {
267
- const o = a.join("-");
268
- r = Ct(e, o, n), a.splice(-1, 1);
269
- } while (a.length && r === !0);
270
- return r;
271
- }
272
- function Ct(e, t, n) {
273
- let r = !1;
274
- if (!e.includes(t) && (r = !0, t)) {
275
- r = t[t.length - 1] !== "!";
276
- const a = t.replace(/!/g, "");
277
- e.push(a), ($(n) || D(n)) && n[a] && (r = n[a]);
278
- }
279
- return r;
280
- }
281
- const K = [];
282
- K[
283
- 0
284
- /* States.BEFORE_PATH */
285
- ] = {
286
- w: [
287
- 0
288
- /* States.BEFORE_PATH */
289
- ],
290
- i: [
291
- 3,
292
- 0
293
- /* Actions.APPEND */
294
- ],
295
- "[": [
296
- 4
297
- /* States.IN_SUB_PATH */
298
- ],
299
- o: [
300
- 7
301
- /* States.AFTER_PATH */
302
- ]
303
- };
304
- K[
305
- 1
306
- /* States.IN_PATH */
307
- ] = {
308
- w: [
309
- 1
310
- /* States.IN_PATH */
311
- ],
312
- ".": [
313
- 2
314
- /* States.BEFORE_IDENT */
315
- ],
316
- "[": [
317
- 4
318
- /* States.IN_SUB_PATH */
319
- ],
320
- o: [
321
- 7
322
- /* States.AFTER_PATH */
323
- ]
324
- };
325
- K[
326
- 2
327
- /* States.BEFORE_IDENT */
328
- ] = {
329
- w: [
330
- 2
331
- /* States.BEFORE_IDENT */
332
- ],
333
- i: [
334
- 3,
335
- 0
336
- /* Actions.APPEND */
337
- ],
338
- 0: [
339
- 3,
340
- 0
341
- /* Actions.APPEND */
342
- ]
343
- };
344
- K[
345
- 3
346
- /* States.IN_IDENT */
347
- ] = {
348
- i: [
349
- 3,
350
- 0
351
- /* Actions.APPEND */
352
- ],
353
- 0: [
354
- 3,
355
- 0
356
- /* Actions.APPEND */
357
- ],
358
- w: [
359
- 1,
360
- 1
361
- /* Actions.PUSH */
362
- ],
363
- ".": [
364
- 2,
365
- 1
366
- /* Actions.PUSH */
367
- ],
368
- "[": [
369
- 4,
370
- 1
371
- /* Actions.PUSH */
372
- ],
373
- o: [
374
- 7,
375
- 1
376
- /* Actions.PUSH */
377
- ]
378
- };
379
- K[
380
- 4
381
- /* States.IN_SUB_PATH */
382
- ] = {
383
- "'": [
384
- 5,
385
- 0
386
- /* Actions.APPEND */
387
- ],
388
- '"': [
389
- 6,
390
- 0
391
- /* Actions.APPEND */
392
- ],
393
- "[": [
394
- 4,
395
- 2
396
- /* Actions.INC_SUB_PATH_DEPTH */
397
- ],
398
- "]": [
399
- 1,
400
- 3
401
- /* Actions.PUSH_SUB_PATH */
402
- ],
403
- o: 8,
404
- l: [
405
- 4,
406
- 0
407
- /* Actions.APPEND */
408
- ]
409
- };
410
- K[
411
- 5
412
- /* States.IN_SINGLE_QUOTE */
413
- ] = {
414
- "'": [
415
- 4,
416
- 0
417
- /* Actions.APPEND */
418
- ],
419
- o: 8,
420
- l: [
421
- 5,
422
- 0
423
- /* Actions.APPEND */
424
- ]
425
- };
426
- K[
427
- 6
428
- /* States.IN_DOUBLE_QUOTE */
429
- ] = {
430
- '"': [
431
- 4,
432
- 0
433
- /* Actions.APPEND */
434
- ],
435
- o: 8,
436
- l: [
437
- 6,
438
- 0
439
- /* Actions.APPEND */
440
- ]
441
- };
442
- const Mt = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
443
- function Dt(e) {
444
- return Mt.test(e);
445
- }
446
- function Ft(e) {
447
- const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
448
- return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
449
- }
450
- function Rt(e) {
451
- if (e == null)
452
- return "o";
453
- switch (e.charCodeAt(0)) {
454
- case 91:
455
- // [
456
- case 93:
457
- // ]
458
- case 46:
459
- // .
460
- case 34:
461
- // "
462
- case 39:
463
- return e;
464
- case 95:
465
- // _
466
- case 36:
467
- // $
468
- case 45:
469
- return "i";
470
- case 9:
471
- // Tab (HT)
472
- case 10:
473
- // Newline (LF)
474
- case 13:
475
- // Return (CR)
476
- case 160:
477
- // No-break space (NBSP)
478
- case 65279:
479
- // Byte Order Mark (BOM)
480
- case 8232:
481
- // Line Separator (LS)
482
- case 8233:
483
- return "w";
484
- }
485
- return "i";
486
- }
487
- function ht(e) {
488
- const t = e.trim();
489
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Dt(t) ? Ft(t) : "*" + t;
490
- }
491
- function Lt(e) {
492
- const t = [];
493
- let n = -1, r = 0, a = 0, o, l, i, s, u, f, E;
494
- const c = [];
495
- c[
496
- 0
497
- /* Actions.APPEND */
498
- ] = () => {
499
- l === void 0 ? l = i : l += i;
500
- }, c[
501
- 1
502
- /* Actions.PUSH */
503
- ] = () => {
504
- l !== void 0 && (t.push(l), l = void 0);
505
- }, c[
506
- 2
507
- /* Actions.INC_SUB_PATH_DEPTH */
508
- ] = () => {
509
- c[
510
- 0
511
- /* Actions.APPEND */
512
- ](), a++;
513
- }, c[
514
- 3
515
- /* Actions.PUSH_SUB_PATH */
516
- ] = () => {
517
- if (a > 0)
518
- a--, r = 4, c[
519
- 0
520
- /* Actions.APPEND */
521
- ]();
522
- else {
523
- if (a = 0, l === void 0 || (l = ht(l), l === !1))
524
- return !1;
525
- c[
526
- 1
527
- /* Actions.PUSH */
528
- ]();
529
- }
530
- };
531
- function g() {
532
- const F = e[n + 1];
533
- if (r === 5 && F === "'" || r === 6 && F === '"')
534
- return n++, i = "\\" + F, c[
535
- 0
536
- /* Actions.APPEND */
537
- ](), !0;
538
- }
539
- for (; r !== null; )
540
- if (n++, o = e[n], !(o === "\\" && g())) {
541
- if (s = Rt(o), E = K[r], u = E[s] || E.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (f = c[u[1]], f && (i = o, f() === !1))))
542
- return;
543
- if (r === 7)
544
- return t;
545
- }
546
- }
547
- const Ne = /* @__PURE__ */ new Map();
548
- function St(e, t) {
549
- return S(e) ? e[t] : null;
550
- }
551
- function on(e, t) {
552
- if (!S(e))
553
- return null;
554
- let n = Ne.get(t);
555
- if (n || (n = Lt(t), n && Ne.set(t, n)), !n)
556
- return null;
557
- const r = n.length;
558
- let a = e, o = 0;
559
- for (; o < r; ) {
560
- const l = n[o];
561
- if (ut.includes(l) && Y(a))
562
- return null;
563
- const i = a[l];
564
- if (i === void 0 || R(a))
565
- return null;
566
- a = i, o++;
567
- }
568
- return a;
569
- }
570
- const v = {
571
- NOT_FOUND_KEY: 1,
572
- FALLBACK_TO_TRANSLATE: 2,
573
- CANNOT_FORMAT_NUMBER: 3,
574
- FALLBACK_TO_NUMBER_FORMAT: 4,
575
- CANNOT_FORMAT_DATE: 5,
576
- FALLBACK_TO_DATE_FORMAT: 6,
577
- EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
578
- }, ln = 8, It = {
579
- [v.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
580
- [v.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
581
- [v.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
582
- [v.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
583
- [v.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
584
- [v.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
585
- [v.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
586
- };
587
- function H(e, ...t) {
588
- return Fe(It[e], ...t);
589
- }
590
- const vt = "11.1.12", ce = -1, se = "en-US", we = "", pe = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
591
- function bt() {
592
- return {
593
- upper: (e, t) => t === "text" && m(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
594
- lower: (e, t) => t === "text" && m(e) ? e.toLowerCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
595
- capitalize: (e, t) => t === "text" && m(e) ? pe(e) : t === "vnode" && S(e) && "__v_isVNode" in e ? pe(e.children) : e
596
- };
597
- }
598
- let ye;
599
- function cn(e) {
600
- ye = e;
601
- }
602
- let ke;
603
- function un(e) {
604
- ke = e;
605
- }
606
- let Ve;
607
- function mn(e) {
608
- Ve = e;
609
- }
610
- let Ue = null;
611
- const fn = /* @__NO_SIDE_EFFECTS__ */ (e) => {
612
- Ue = e;
613
- }, Pt = /* @__NO_SIDE_EFFECTS__ */ () => Ue;
614
- let We = null;
615
- const _n = (e) => {
616
- We = e;
617
- }, dn = () => We;
618
- let Ae = 0;
619
- function gn(e = {}) {
620
- const t = R(e.onWarn) ? e.onWarn : ee, n = m(e.version) ? e.version : vt, r = m(e.locale) || R(e.locale) ? e.locale : se, a = R(r) ? se : r, o = $(e.fallbackLocale) || D(e.fallbackLocale) || m(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, l = D(e.messages) ? e.messages : re(a), i = D(e.datetimeFormats) ? e.datetimeFormats : re(a), s = D(e.numberFormats) ? e.numberFormats : re(a), u = x(P(), e.modifiers, bt()), f = e.pluralRules || P(), E = R(e.missing) ? e.missing : null, c = b(e.missingWarn) || _e(e.missingWarn) ? e.missingWarn : !0, g = b(e.fallbackWarn) || _e(e.fallbackWarn) ? e.fallbackWarn : !0, F = !!e.fallbackFormat, N = !!e.unresolving, M = R(e.postTranslation) ? e.postTranslation : null, O = D(e.processor) ? e.processor : null, _ = b(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, d = R(e.messageCompiler) ? e.messageCompiler : ye;
621
- process.env.NODE_ENV !== "production" && R(e.messageCompiler) && Ye(H(v.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
622
- const p = R(e.messageResolver) ? e.messageResolver : ke || St, A = R(e.localeFallbacker) ? e.localeFallbacker : Ve || pt, h = S(e.fallbackContext) ? e.fallbackContext : void 0, C = e, k = S(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), U = S(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), X = S(C.__meta) ? C.__meta : {};
623
- Ae++;
624
- const w = {
625
- version: n,
626
- cid: Ae,
627
- locale: r,
628
- fallbackLocale: o,
629
- messages: l,
630
- modifiers: u,
631
- pluralRules: f,
632
- missing: E,
633
- missingWarn: c,
634
- fallbackWarn: g,
635
- fallbackFormat: F,
636
- unresolving: N,
637
- postTranslation: M,
638
- processor: O,
639
- warnHtmlMessage: _,
640
- escapeParameter: T,
641
- messageCompiler: d,
642
- messageResolver: p,
643
- localeFallbacker: A,
644
- fallbackContext: h,
645
- onWarn: t,
646
- __meta: X
647
- };
648
- return w.datetimeFormats = i, w.numberFormats = s, w.__datetimeFormatters = k, w.__numberFormatters = U, process.env.NODE_ENV !== "production" && (w.__v_emitter = C.__v_emitter != null ? C.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Et(w, n, X), w;
649
- }
650
- const re = (e) => ({ [e]: P() });
651
- function ue(e, t) {
652
- return e instanceof RegExp ? e.test(t) : e;
653
- }
654
- function wt(e, t) {
655
- return e instanceof RegExp ? e.test(t) : e;
656
- }
657
- function me(e, t, n, r, a) {
658
- const { missing: o, onWarn: l } = e;
659
- if (process.env.NODE_ENV !== "production") {
660
- const i = e.__v_emitter;
661
- i && i.emit("missing", {
662
- locale: n,
663
- key: t,
664
- type: a,
665
- groupId: `${a}:${t}`
666
- });
667
- }
668
- if (o !== null) {
669
- const i = o(e, n, t, a);
670
- return m(i) ? i : t;
671
- } else
672
- return process.env.NODE_ENV !== "production" && wt(r, t) && l(H(v.NOT_FOUND_KEY, { key: t, locale: n })), t;
673
- }
674
- function En(e, t, n) {
675
- const r = e;
676
- r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
677
- }
678
- function $e(e, t) {
679
- return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
680
- }
681
- function yt(e, t) {
682
- const n = t.indexOf(e);
683
- if (n === -1)
684
- return !1;
685
- for (let r = n + 1; r < t.length; r++)
686
- if ($e(e, t[r]))
687
- return !0;
688
- return !1;
689
- }
690
- const Ce = typeof Intl < "u", Ge = {
691
- dateTimeFormat: Ce && typeof Intl.DateTimeFormat < "u",
692
- numberFormat: Ce && typeof Intl.NumberFormat < "u"
693
- };
694
- function On(e, ...t) {
695
- const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: i } = e;
696
- if (process.env.NODE_ENV !== "production" && !Ge.dateTimeFormat)
697
- return o(H(v.CANNOT_FORMAT_DATE)), we;
698
- const [s, u, f, E] = Vt(...t), c = b(f.missingWarn) ? f.missingWarn : e.missingWarn, g = b(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, F = !!f.part, N = ie(e, f), M = l(
699
- e,
700
- // eslint-disable-line @typescript-eslint/no-explicit-any
701
- a,
702
- N
703
- );
704
- if (!m(s) || s === "")
705
- return new Intl.DateTimeFormat(N, E).format(u);
706
- let O = {}, _, T = null, d = N, p = null;
707
- const A = "datetime format";
708
- for (let k = 0; k < M.length; k++) {
709
- if (_ = p = M[k], process.env.NODE_ENV !== "production" && N !== _ && ue(g, s) && o(H(v.FALLBACK_TO_DATE_FORMAT, {
710
- key: s,
711
- target: _
712
- })), process.env.NODE_ENV !== "production" && N !== _) {
713
- const U = e.__v_emitter;
714
- U && U.emit("fallback", {
715
- type: A,
716
- key: s,
717
- from: d,
718
- to: p,
719
- groupId: `${A}:${s}`
720
- });
721
- }
722
- if (O = n[_] || {}, T = O[s], D(T))
723
- break;
724
- me(e, s, _, c, A), d = p;
725
- }
726
- if (!D(T) || !m(_))
727
- return r ? ce : s;
728
- let h = `${_}__${s}`;
729
- oe(E) || (h = `${h}__${JSON.stringify(E)}`);
730
- let C = i.get(h);
731
- return C || (C = new Intl.DateTimeFormat(_, x({}, T, E)), i.set(h, C)), F ? C.formatToParts(u) : C.format(u);
732
- }
733
- const kt = [
734
- "localeMatcher",
735
- "weekday",
736
- "era",
737
- "year",
738
- "month",
739
- "day",
740
- "hour",
741
- "minute",
742
- "second",
743
- "timeZoneName",
744
- "formatMatcher",
745
- "hour12",
746
- "timeZone",
747
- "dateStyle",
748
- "timeStyle",
749
- "calendar",
750
- "dayPeriod",
751
- "numberingSystem",
752
- "hourCycle",
753
- "fractionalSecondDigits"
754
- ];
755
- function Vt(...e) {
756
- const [t, n, r, a] = e, o = P();
757
- let l = P(), i;
758
- if (m(t)) {
759
- const s = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
760
- if (!s)
761
- throw W(L.INVALID_ISO_DATE_ARGUMENT);
762
- const u = s[3] ? s[3].trim().startsWith("T") ? `${s[1].trim()}${s[3].trim()}` : `${s[1].trim()}T${s[3].trim()}` : s[1].trim();
763
- i = new Date(u);
764
- try {
765
- i.toISOString();
766
- } catch {
767
- throw W(L.INVALID_ISO_DATE_ARGUMENT);
768
- }
769
- } else if (je(t)) {
770
- if (isNaN(t.getTime()))
771
- throw W(L.INVALID_DATE_ARGUMENT);
772
- i = t;
773
- } else if (I(t))
774
- i = t;
775
- else
776
- throw W(L.INVALID_ARGUMENT);
777
- return m(n) ? o.key = n : D(n) && Object.keys(n).forEach((s) => {
778
- kt.includes(s) ? l[s] = n[s] : o[s] = n[s];
779
- }), m(r) ? o.locale = r : D(r) && (l = r), D(a) && (l = a), [o.key || "", i, o, l];
780
- }
781
- function Tn(e, t, n) {
782
- const r = e;
783
- for (const a in n) {
784
- const o = `${t}__${a}`;
785
- r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
786
- }
787
- }
788
- function Nn(e, ...t) {
789
- const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: i } = e;
790
- if (process.env.NODE_ENV !== "production" && !Ge.numberFormat)
791
- return o(H(v.CANNOT_FORMAT_NUMBER)), we;
792
- const [s, u, f, E] = Wt(...t), c = b(f.missingWarn) ? f.missingWarn : e.missingWarn, g = b(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, F = !!f.part, N = ie(e, f), M = l(
793
- e,
794
- // eslint-disable-line @typescript-eslint/no-explicit-any
795
- a,
796
- N
797
- );
798
- if (!m(s) || s === "")
799
- return new Intl.NumberFormat(N, E).format(u);
800
- let O = {}, _, T = null, d = N, p = null;
801
- const A = "number format";
802
- for (let k = 0; k < M.length; k++) {
803
- if (_ = p = M[k], process.env.NODE_ENV !== "production" && N !== _ && ue(g, s) && o(H(v.FALLBACK_TO_NUMBER_FORMAT, {
804
- key: s,
805
- target: _
806
- })), process.env.NODE_ENV !== "production" && N !== _) {
807
- const U = e.__v_emitter;
808
- U && U.emit("fallback", {
809
- type: A,
810
- key: s,
811
- from: d,
812
- to: p,
813
- groupId: `${A}:${s}`
814
- });
815
- }
816
- if (O = n[_] || {}, T = O[s], D(T))
817
- break;
818
- me(e, s, _, c, A), d = p;
819
- }
820
- if (!D(T) || !m(_))
821
- return r ? ce : s;
822
- let h = `${_}__${s}`;
823
- oe(E) || (h = `${h}__${JSON.stringify(E)}`);
824
- let C = i.get(h);
825
- return C || (C = new Intl.NumberFormat(_, x({}, T, E)), i.set(h, C)), F ? C.formatToParts(u) : C.format(u);
826
- }
827
- const Ut = [
828
- "localeMatcher",
829
- "style",
830
- "currency",
831
- "currencyDisplay",
832
- "currencySign",
833
- "useGrouping",
834
- "minimumIntegerDigits",
835
- "minimumFractionDigits",
836
- "maximumFractionDigits",
837
- "minimumSignificantDigits",
838
- "maximumSignificantDigits",
839
- "compactDisplay",
840
- "notation",
841
- "signDisplay",
842
- "unit",
843
- "unitDisplay",
844
- "roundingMode",
845
- "roundingPriority",
846
- "roundingIncrement",
847
- "trailingZeroDisplay"
848
- ];
849
- function Wt(...e) {
850
- const [t, n, r, a] = e, o = P();
851
- let l = P();
852
- if (!I(t))
853
- throw W(L.INVALID_ARGUMENT);
854
- const i = t;
855
- return m(n) ? o.key = n : D(n) && Object.keys(n).forEach((s) => {
856
- Ut.includes(s) ? l[s] = n[s] : o[s] = n[s];
857
- }), m(r) ? o.locale = r : D(r) && (l = r), D(a) && (l = a), [o.key || "", i, o, l];
858
- }
859
- function pn(e, t, n) {
860
- const r = e;
861
- for (const a in n) {
862
- const o = `${t}__${a}`;
863
- r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
864
- }
865
- }
866
- const $t = (e) => e, Gt = (e) => "", Kt = "text", Bt = (e) => e.length === 0 ? "" : ze(e), Yt = xe;
867
- function Me(e, t) {
868
- return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
869
- }
870
- function Ht(e) {
871
- const t = I(e.pluralIndex) ? e.pluralIndex : -1;
872
- return e.named && (I(e.named.count) || I(e.named.n)) ? I(e.named.count) ? e.named.count : I(e.named.n) ? e.named.n : t : t;
873
- }
874
- function jt(e, t) {
875
- t.count || (t.count = e), t.n || (t.n = e);
876
- }
877
- function zt(e = {}) {
878
- const t = e.locale, n = Ht(e), r = S(e.pluralRules) && m(t) && R(e.pluralRules[t]) ? e.pluralRules[t] : Me, a = S(e.pluralRules) && m(t) && R(e.pluralRules[t]) ? Me : void 0, o = (O) => O[r(n, O.length, a)], l = e.list || [], i = (O) => l[O], s = e.named || P();
879
- I(e.pluralIndex) && jt(n, s);
880
- const u = (O) => s[O];
881
- function f(O, _) {
882
- const T = R(e.messages) ? e.messages(O, !!_) : S(e.messages) ? e.messages[O] : !1;
883
- return T || (e.parent ? e.parent.message(O) : Gt);
884
- }
885
- const E = (O) => e.modifiers ? e.modifiers[O] : $t, c = D(e.processor) && R(e.processor.normalize) ? e.processor.normalize : Bt, g = D(e.processor) && R(e.processor.interpolate) ? e.processor.interpolate : Yt, F = D(e.processor) && m(e.processor.type) ? e.processor.type : Kt, M = {
886
- list: i,
887
- named: u,
888
- plural: o,
889
- linked: (O, ..._) => {
890
- const [T, d] = _;
891
- let p = "text", A = "";
892
- _.length === 1 ? S(T) ? (A = T.modifier || A, p = T.type || p) : m(T) && (A = T || A) : _.length === 2 && (m(T) && (A = T || A), m(d) && (p = d || p));
893
- const h = f(O, !0)(M), C = (
894
- // The message in vnode resolved with linked are returned as an array by processor.nomalize
895
- p === "vnode" && $(h) && A ? h[0] : h
896
- );
897
- return A ? E(A)(C, p) : C;
898
- },
899
- message: f,
900
- type: F,
901
- interpolate: g,
902
- normalize: c,
903
- values: x(P(), l, s)
904
- };
905
- return M;
906
- }
907
- const De = () => "", V = (e) => R(e);
908
- function An(e, ...t) {
909
- const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: l, messages: i } = e, [s, u] = Zt(...t), f = b(u.missingWarn) ? u.missingWarn : e.missingWarn, E = b(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, c = b(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, g = !!u.resolvedMessage, F = m(u.default) || b(u.default) ? b(u.default) ? o ? s : () => s : u.default : n ? o ? s : () => s : null, N = n || F != null && (m(F) || R(F)), M = ie(e, u);
910
- c && xt(u);
911
- let [O, _, T] = g ? [
912
- s,
913
- M,
914
- i[M] || P()
915
- ] : Ke(e, s, M, l, E, f), d = O, p = s;
916
- if (!g && !(m(d) || Y(d) || V(d)) && N && (d = F, p = d), !g && (!(m(d) || Y(d) || V(d)) || !m(_)))
917
- return a ? ce : s;
918
- if (process.env.NODE_ENV !== "production" && m(d) && e.messageCompiler == null)
919
- return ee(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`), s;
920
- let A = !1;
921
- const h = () => {
922
- A = !0;
923
- }, C = V(d) ? d : Be(e, s, _, d, p, h);
924
- if (A)
925
- return d;
926
- const k = Qt(e, _, T, u), U = zt(k), X = Xt(e, C, U);
927
- let w = r ? r(X, s) : X;
928
- if (c && m(w) && (w = He(w)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
929
- const fe = {
930
- timestamp: Date.now(),
931
- key: m(s) ? s : V(d) ? d.key : "",
932
- locale: _ || (V(d) ? d.locale : ""),
933
- format: m(d) ? d : V(d) ? d.source : "",
934
- message: w
935
- };
936
- fe.meta = x({}, e.__meta, /* @__PURE__ */ Pt() || {}), Ot(fe);
937
- }
938
- return w;
939
- }
940
- function xt(e) {
941
- $(e.list) ? e.list = e.list.map((t) => m(t) ? ge(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
942
- m(e.named[t]) && (e.named[t] = ge(e.named[t]));
943
- });
944
- }
945
- function Ke(e, t, n, r, a, o) {
946
- const { messages: l, onWarn: i, messageResolver: s, localeFallbacker: u } = e, f = u(e, r, n);
947
- let E = P(), c, g = null, F = n, N = null;
948
- const M = "translate";
949
- for (let O = 0; O < f.length; O++) {
950
- if (c = N = f[O], process.env.NODE_ENV !== "production" && n !== c && !$e(n, c) && ue(a, t) && i(H(v.FALLBACK_TO_TRANSLATE, {
951
- key: t,
952
- target: c
953
- })), process.env.NODE_ENV !== "production" && n !== c) {
954
- const p = e.__v_emitter;
955
- p && p.emit("fallback", {
956
- type: M,
957
- key: t,
958
- from: F,
959
- to: N,
960
- groupId: `${M}:${t}`
961
- });
962
- }
963
- E = l[c] || P();
964
- let _ = null, T, d;
965
- if (process.env.NODE_ENV !== "production" && j && (_ = window.performance.now(), T = "intlify-message-resolve-start", d = "intlify-message-resolve-end", y && y(T)), (g = s(E, t)) === null && (g = E[t]), process.env.NODE_ENV !== "production" && j) {
966
- const p = window.performance.now(), A = e.__v_emitter;
967
- A && _ && g && A.emit("message-resolve", {
968
- type: "message-resolve",
969
- key: t,
970
- message: g,
971
- time: p - _,
972
- groupId: `${M}:${t}`
973
- }), T && d && y && z && (y(d), z("intlify message resolve", T, d));
974
- }
975
- if (m(g) || Y(g) || V(g))
976
- break;
977
- if (!yt(c, f)) {
978
- const p = me(
979
- e,
980
- // eslint-disable-line @typescript-eslint/no-explicit-any
981
- t,
982
- c,
983
- o,
984
- M
985
- );
986
- p !== t && (g = p);
987
- }
988
- F = N;
989
- }
990
- return [g, c, E];
991
- }
992
- function Be(e, t, n, r, a, o) {
993
- const { messageCompiler: l, warnHtmlMessage: i } = e;
994
- if (V(r)) {
995
- const c = r;
996
- return c.locale = c.locale || n, c.key = c.key || t, c;
997
- }
998
- if (l == null) {
999
- const c = (() => r);
1000
- return c.locale = n, c.key = t, c;
1001
- }
1002
- let s = null, u, f;
1003
- process.env.NODE_ENV !== "production" && j && (s = window.performance.now(), u = "intlify-message-compilation-start", f = "intlify-message-compilation-end", y && y(u));
1004
- const E = l(r, qt(e, n, a, r, i, o));
1005
- if (process.env.NODE_ENV !== "production" && j) {
1006
- const c = window.performance.now(), g = e.__v_emitter;
1007
- g && s && g.emit("message-compilation", {
1008
- type: "message-compilation",
1009
- message: r,
1010
- time: c - s,
1011
- groupId: `translate:${t}`
1012
- }), u && f && y && z && (y(f), z("intlify message compilation", u, f));
1013
- }
1014
- return E.locale = n, E.key = t, E.source = r, E;
1015
- }
1016
- function Xt(e, t, n) {
1017
- let r = null, a, o;
1018
- process.env.NODE_ENV !== "production" && j && (r = window.performance.now(), a = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", y && y(a));
1019
- const l = t(n);
1020
- if (process.env.NODE_ENV !== "production" && j) {
1021
- const i = window.performance.now(), s = e.__v_emitter;
1022
- s && r && s.emit("message-evaluation", {
1023
- type: "message-evaluation",
1024
- value: l,
1025
- time: i - r,
1026
- groupId: `translate:${t.key}`
1027
- }), a && o && y && z && (y(o), z("intlify message evaluation", a, o));
1028
- }
1029
- return l;
1030
- }
1031
- function Zt(...e) {
1032
- const [t, n, r] = e, a = P();
1033
- if (!m(t) && !I(t) && !V(t) && !Y(t))
1034
- throw W(L.INVALID_ARGUMENT);
1035
- const o = I(t) ? String(t) : (V(t), t);
1036
- return I(n) ? a.plural = n : m(n) ? a.default = n : D(n) && !oe(n) ? a.named = n : $(n) && (a.list = n), I(r) ? a.plural = r : m(r) ? a.default = r : D(r) && x(a, r), [o, a];
1037
- }
1038
- function qt(e, t, n, r, a, o) {
1039
- return {
1040
- locale: t,
1041
- key: n,
1042
- warnHtmlMessage: a,
1043
- onError: (l) => {
1044
- if (o && o(l), process.env.NODE_ENV !== "production") {
1045
- const i = Jt(r), s = `Message compilation error: ${l.message}`, u = l.location && i && qe(i, l.location.start.offset, l.location.end.offset), f = e.__v_emitter;
1046
- f && i && f.emit("compile-error", {
1047
- message: i,
1048
- error: l.message,
1049
- start: l.location && l.location.start.offset,
1050
- end: l.location && l.location.end.offset,
1051
- groupId: `translate:${n}`
1052
- }), console.error(u ? `${s}
1053
- ${u}` : s);
1054
- } else
1055
- throw l;
1056
- },
1057
- onCacheKey: (l) => Ze(t, n, l)
1058
- };
1059
- }
1060
- function Jt(e) {
1061
- if (m(e))
1062
- return e;
1063
- if (e.loc && e.loc.source)
1064
- return e.loc.source;
1065
- }
1066
- function Qt(e, t, n, r) {
1067
- const { modifiers: a, pluralRules: o, messageResolver: l, fallbackLocale: i, fallbackWarn: s, missingWarn: u, fallbackContext: f } = e, c = {
1068
- locale: t,
1069
- modifiers: a,
1070
- pluralRules: o,
1071
- messages: (g, F) => {
1072
- let N = l(n, g);
1073
- if (N == null && (f || F)) {
1074
- const [, , M] = Ke(
1075
- f || e,
1076
- // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
1077
- g,
1078
- t,
1079
- i,
1080
- s,
1081
- u
1082
- );
1083
- N = l(M, g);
1084
- }
1085
- if (m(N) || Y(N)) {
1086
- let M = !1;
1087
- const _ = Be(e, g, t, N, g, () => {
1088
- M = !0;
1089
- });
1090
- return M ? De : _;
1091
- } else return V(N) ? N : De;
1092
- }
1093
- };
1094
- return e.processor && (c.processor = e.processor), r.list && (c.list = r.list), r.named && (c.named = r.named), I(r.plural) && (c.pluralIndex = r.plural), c;
1095
- }
1096
- rt();
1097
- export {
1098
- ut as A,
1099
- on as B,
1100
- ln as C,
1101
- se as D,
1102
- we as M,
1103
- ce as N,
1104
- Tn as a,
1105
- pn as b,
1106
- gn as c,
1107
- ue as d,
1108
- wt as e,
1109
- an as f,
1110
- dn as g,
1111
- sn as h,
1112
- Y as i,
1113
- _n as j,
1114
- Vt as k,
1115
- On as l,
1116
- Wt as m,
1117
- Nn as n,
1118
- V as o,
1119
- Zt as p,
1120
- Ut as q,
1121
- kt as r,
1122
- fn as s,
1123
- An as t,
1124
- En as u,
1125
- cn as v,
1126
- un as w,
1127
- mn as x,
1128
- rn as y,
1129
- nn as z
1130
- };