@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,952 +0,0 @@
1
- import { l as Se, e as re, a as z, v as se } from "./vendor-intlify-shared-jWBPd9WB.js";
2
- /*!
3
- * message-compiler v11.1.12
4
- * (c) 2025 kazuya kawaguchi
5
- * Released under the MIT License.
6
- */
7
- function ke(r, n, c) {
8
- return { line: r, column: n, offset: c };
9
- }
10
- function q(r, n, c) {
11
- return { start: r, end: n };
12
- }
13
- const d = {
14
- // tokenizer error codes
15
- EXPECTED_TOKEN: 1,
16
- INVALID_TOKEN_IN_PLACEHOLDER: 2,
17
- UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
18
- UNKNOWN_ESCAPE_SEQUENCE: 4,
19
- INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
20
- UNBALANCED_CLOSING_BRACE: 6,
21
- UNTERMINATED_CLOSING_BRACE: 7,
22
- EMPTY_PLACEHOLDER: 8,
23
- NOT_ALLOW_NEST_PLACEHOLDER: 9,
24
- INVALID_LINKED_FORMAT: 10,
25
- // parser error codes
26
- MUST_HAVE_MESSAGES_IN_PLURAL: 11,
27
- UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
28
- UNEXPECTED_EMPTY_LINKED_KEY: 13,
29
- UNEXPECTED_LEXICAL_ANALYSIS: 14,
30
- // generator error codes
31
- UNHANDLED_CODEGEN_NODE_TYPE: 15,
32
- // minifier error codes
33
- UNHANDLED_MINIFIER_NODE_TYPE: 16
34
- }, Je = 17, De = {
35
- // tokenizer error messages
36
- [d.EXPECTED_TOKEN]: "Expected token: '{0}'",
37
- [d.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
38
- [d.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
39
- [d.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
40
- [d.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
41
- [d.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
42
- [d.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
43
- [d.EMPTY_PLACEHOLDER]: "Empty placeholder",
44
- [d.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
45
- [d.INVALID_LINKED_FORMAT]: "Invalid linked format",
46
- // parser error messages
47
- [d.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
48
- [d.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
49
- [d.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
50
- [d.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
51
- // generator error messages
52
- [d.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
53
- // minimizer error messages
54
- [d.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
55
- };
56
- function G(r, n, c = {}) {
57
- const { domain: a, messages: _, args: u } = c, h = process.env.NODE_ENV !== "production" ? Se((_ || De)[r] || "", ...u || []) : r, I = new SyntaxError(String(h));
58
- return I.code = r, n && (I.location = n), I.domain = a, I;
59
- }
60
- function je(r) {
61
- throw r;
62
- }
63
- const Pe = /<\/?[\w\s="/.':;#-\/]+>/, Ze = (r) => Pe.test(r), M = " ", Oe = "\r", O = `
64
- `, me = "\u2028", ye = "\u2029";
65
- function be(r) {
66
- const n = r;
67
- let c = 0, a = 1, _ = 1, u = 0;
68
- const h = (p) => n[p] === Oe && n[p + 1] === O, I = (p) => n[p] === O, D = (p) => n[p] === ye, m = (p) => n[p] === me, b = (p) => h(p) || I(p) || D(p) || m(p), S = () => c, T = () => a, R = () => _, v = () => u, A = (p) => h(p) || D(p) || m(p) ? O : n[p], C = () => A(c), i = () => A(c + u);
69
- function l() {
70
- return u = 0, b(c) && (a++, _ = 0), h(c) && c++, c++, _++, n[c];
71
- }
72
- function E() {
73
- return h(c + u) && u++, u++, n[c + u];
74
- }
75
- function o() {
76
- c = 0, a = 1, _ = 1, u = 0;
77
- }
78
- function L(p = 0) {
79
- u = p;
80
- }
81
- function N() {
82
- const p = c + u;
83
- for (; p !== c; )
84
- l();
85
- u = 0;
86
- }
87
- return {
88
- index: S,
89
- line: T,
90
- column: R,
91
- peekOffset: v,
92
- charAt: A,
93
- currentChar: C,
94
- currentPeek: i,
95
- next: l,
96
- peek: E,
97
- reset: o,
98
- resetPeek: L,
99
- skipToPeek: N
100
- };
101
- }
102
- const w = void 0, Re = ".", ee = "'", Ue = "tokenizer";
103
- function ve(r, n = {}) {
104
- const c = n.location !== !1, a = be(r), _ = () => a.index(), u = () => ke(a.line(), a.column(), a.index()), h = u(), I = _(), D = {
105
- currentType: 13,
106
- offset: I,
107
- startLoc: h,
108
- endLoc: h,
109
- lastType: 13,
110
- lastOffset: I,
111
- lastStartLoc: h,
112
- lastEndLoc: h,
113
- braceNest: 0,
114
- inLinked: !1,
115
- text: ""
116
- }, m = () => D, { onError: b } = n;
117
- function S(e, t, s, ...f) {
118
- const k = m();
119
- if (t.column += s, t.offset += s, b) {
120
- const P = c ? q(k.startLoc, t) : null, U = G(e, P, {
121
- domain: Ue,
122
- args: f
123
- });
124
- b(U);
125
- }
126
- }
127
- function T(e, t, s) {
128
- e.endLoc = u(), e.currentType = t;
129
- const f = { type: t };
130
- return c && (f.loc = q(e.startLoc, e.endLoc)), s != null && (f.value = s), f;
131
- }
132
- const R = (e) => T(
133
- e,
134
- 13
135
- /* TokenTypes.EOF */
136
- );
137
- function v(e, t) {
138
- return e.currentChar() === t ? (e.next(), t) : (S(d.EXPECTED_TOKEN, u(), 0, t), "");
139
- }
140
- function A(e) {
141
- let t = "";
142
- for (; e.currentPeek() === M || e.currentPeek() === O; )
143
- t += e.currentPeek(), e.peek();
144
- return t;
145
- }
146
- function C(e) {
147
- const t = A(e);
148
- return e.skipToPeek(), t;
149
- }
150
- function i(e) {
151
- if (e === w)
152
- return !1;
153
- const t = e.charCodeAt(0);
154
- return t >= 97 && t <= 122 || // a-z
155
- t >= 65 && t <= 90 || // A-Z
156
- t === 95;
157
- }
158
- function l(e) {
159
- if (e === w)
160
- return !1;
161
- const t = e.charCodeAt(0);
162
- return t >= 48 && t <= 57;
163
- }
164
- function E(e, t) {
165
- const { currentType: s } = t;
166
- if (s !== 2)
167
- return !1;
168
- A(e);
169
- const f = i(e.currentPeek());
170
- return e.resetPeek(), f;
171
- }
172
- function o(e, t) {
173
- const { currentType: s } = t;
174
- if (s !== 2)
175
- return !1;
176
- A(e);
177
- const f = e.currentPeek() === "-" ? e.peek() : e.currentPeek(), k = l(f);
178
- return e.resetPeek(), k;
179
- }
180
- function L(e, t) {
181
- const { currentType: s } = t;
182
- if (s !== 2)
183
- return !1;
184
- A(e);
185
- const f = e.currentPeek() === ee;
186
- return e.resetPeek(), f;
187
- }
188
- function N(e, t) {
189
- const { currentType: s } = t;
190
- if (s !== 7)
191
- return !1;
192
- A(e);
193
- const f = e.currentPeek() === ".";
194
- return e.resetPeek(), f;
195
- }
196
- function p(e, t) {
197
- const { currentType: s } = t;
198
- if (s !== 8)
199
- return !1;
200
- A(e);
201
- const f = i(e.currentPeek());
202
- return e.resetPeek(), f;
203
- }
204
- function H(e, t) {
205
- const { currentType: s } = t;
206
- if (!(s === 7 || s === 11))
207
- return !1;
208
- A(e);
209
- const f = e.currentPeek() === ":";
210
- return e.resetPeek(), f;
211
- }
212
- function y(e, t) {
213
- const { currentType: s } = t;
214
- if (s !== 9)
215
- return !1;
216
- const f = () => {
217
- const P = e.currentPeek();
218
- return P === "{" ? i(e.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === M || !P ? !1 : P === O ? (e.peek(), f()) : F(e, !1);
219
- }, k = f();
220
- return e.resetPeek(), k;
221
- }
222
- function Y(e) {
223
- A(e);
224
- const t = e.currentPeek() === "|";
225
- return e.resetPeek(), t;
226
- }
227
- function F(e, t = !0) {
228
- const s = (k = !1, P = "") => {
229
- const U = e.currentPeek();
230
- return U === "{" || U === "@" || !U ? k : U === "|" ? !(P === M || P === O) : U === M ? (e.peek(), s(!0, M)) : U === O ? (e.peek(), s(!0, O)) : !0;
231
- }, f = s();
232
- return t && e.resetPeek(), f;
233
- }
234
- function g(e, t) {
235
- const s = e.currentChar();
236
- return s === w ? w : t(s) ? (e.next(), s) : null;
237
- }
238
- function ie(e) {
239
- const t = e.charCodeAt(0);
240
- return t >= 97 && t <= 122 || // a-z
241
- t >= 65 && t <= 90 || // A-Z
242
- t >= 48 && t <= 57 || // 0-9
243
- t === 95 || // _
244
- t === 36;
245
- }
246
- function ce(e) {
247
- return g(e, ie);
248
- }
249
- function ue(e) {
250
- const t = e.charCodeAt(0);
251
- return t >= 97 && t <= 122 || // a-z
252
- t >= 65 && t <= 90 || // A-Z
253
- t >= 48 && t <= 57 || // 0-9
254
- t === 95 || // _
255
- t === 36 || // $
256
- t === 45;
257
- }
258
- function ae(e) {
259
- return g(e, ue);
260
- }
261
- function oe(e) {
262
- const t = e.charCodeAt(0);
263
- return t >= 48 && t <= 57;
264
- }
265
- function le(e) {
266
- return g(e, oe);
267
- }
268
- function fe(e) {
269
- const t = e.charCodeAt(0);
270
- return t >= 48 && t <= 57 || // 0-9
271
- t >= 65 && t <= 70 || // A-F
272
- t >= 97 && t <= 102;
273
- }
274
- function Ee(e) {
275
- return g(e, fe);
276
- }
277
- function J(e) {
278
- let t = "", s = "";
279
- for (; t = le(e); )
280
- s += t;
281
- return s;
282
- }
283
- function de(e) {
284
- let t = "";
285
- for (; ; ) {
286
- const s = e.currentChar();
287
- if (s === "{" || s === "}" || s === "@" || s === "|" || !s)
288
- break;
289
- if (s === M || s === O)
290
- if (F(e))
291
- t += s, e.next();
292
- else {
293
- if (Y(e))
294
- break;
295
- t += s, e.next();
296
- }
297
- else
298
- t += s, e.next();
299
- }
300
- return t;
301
- }
302
- function Le(e) {
303
- C(e);
304
- let t = "", s = "";
305
- for (; t = ae(e); )
306
- s += t;
307
- const f = e.currentChar();
308
- if (f && f !== "}" && f !== w && f !== M && f !== O && f !== " ") {
309
- const k = Z(e);
310
- return S(d.INVALID_TOKEN_IN_PLACEHOLDER, u(), 0, s + k), s + k;
311
- }
312
- return e.currentChar() === w && S(d.UNTERMINATED_CLOSING_BRACE, u(), 0), s;
313
- }
314
- function Ne(e) {
315
- C(e);
316
- let t = "";
317
- return e.currentChar() === "-" ? (e.next(), t += `-${J(e)}`) : t += J(e), e.currentChar() === w && S(d.UNTERMINATED_CLOSING_BRACE, u(), 0), t;
318
- }
319
- function _e(e) {
320
- return e !== ee && e !== O;
321
- }
322
- function pe(e) {
323
- C(e), v(e, "'");
324
- let t = "", s = "";
325
- for (; t = g(e, _e); )
326
- t === "\\" ? s += Ie(e) : s += t;
327
- const f = e.currentChar();
328
- return f === O || f === w ? (S(d.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, u(), 0), f === O && (e.next(), v(e, "'")), s) : (v(e, "'"), s);
329
- }
330
- function Ie(e) {
331
- const t = e.currentChar();
332
- switch (t) {
333
- case "\\":
334
- case "'":
335
- return e.next(), `\\${t}`;
336
- case "u":
337
- return j(e, t, 4);
338
- case "U":
339
- return j(e, t, 6);
340
- default:
341
- return S(d.UNKNOWN_ESCAPE_SEQUENCE, u(), 0, t), "";
342
- }
343
- }
344
- function j(e, t, s) {
345
- v(e, t);
346
- let f = "";
347
- for (let k = 0; k < s; k++) {
348
- const P = Ee(e);
349
- if (!P) {
350
- S(d.INVALID_UNICODE_ESCAPE_SEQUENCE, u(), 0, `\\${t}${f}${e.currentChar()}`);
351
- break;
352
- }
353
- f += P;
354
- }
355
- return `\\${t}${f}`;
356
- }
357
- function Ce(e) {
358
- return e !== "{" && e !== "}" && e !== M && e !== O;
359
- }
360
- function Z(e) {
361
- C(e);
362
- let t = "", s = "";
363
- for (; t = g(e, Ce); )
364
- s += t;
365
- return s;
366
- }
367
- function he(e) {
368
- let t = "", s = "";
369
- for (; t = ce(e); )
370
- s += t;
371
- return s;
372
- }
373
- function Te(e) {
374
- const t = (s) => {
375
- const f = e.currentChar();
376
- return f === "{" || f === "@" || f === "|" || f === "(" || f === ")" || !f || f === M ? s : (s += f, e.next(), t(s));
377
- };
378
- return t("");
379
- }
380
- function V(e) {
381
- C(e);
382
- const t = v(
383
- e,
384
- "|"
385
- /* TokenChars.Pipe */
386
- );
387
- return C(e), t;
388
- }
389
- function B(e, t) {
390
- let s = null;
391
- switch (e.currentChar()) {
392
- case "{":
393
- return t.braceNest >= 1 && S(d.NOT_ALLOW_NEST_PLACEHOLDER, u(), 0), e.next(), s = T(
394
- t,
395
- 2,
396
- "{"
397
- /* TokenChars.BraceLeft */
398
- ), C(e), t.braceNest++, s;
399
- case "}":
400
- return t.braceNest > 0 && t.currentType === 2 && S(d.EMPTY_PLACEHOLDER, u(), 0), e.next(), s = T(
401
- t,
402
- 3,
403
- "}"
404
- /* TokenChars.BraceRight */
405
- ), t.braceNest--, t.braceNest > 0 && C(e), t.inLinked && t.braceNest === 0 && (t.inLinked = !1), s;
406
- case "@":
407
- return t.braceNest > 0 && S(d.UNTERMINATED_CLOSING_BRACE, u(), 0), s = $(e, t) || R(t), t.braceNest = 0, s;
408
- default: {
409
- let k = !0, P = !0, U = !0;
410
- if (Y(e))
411
- return t.braceNest > 0 && S(d.UNTERMINATED_CLOSING_BRACE, u(), 0), s = T(t, 1, V(e)), t.braceNest = 0, t.inLinked = !1, s;
412
- if (t.braceNest > 0 && (t.currentType === 4 || t.currentType === 5 || t.currentType === 6))
413
- return S(d.UNTERMINATED_CLOSING_BRACE, u(), 0), t.braceNest = 0, Q(e, t);
414
- if (k = E(e, t))
415
- return s = T(t, 4, Le(e)), C(e), s;
416
- if (P = o(e, t))
417
- return s = T(t, 5, Ne(e)), C(e), s;
418
- if (U = L(e, t))
419
- return s = T(t, 6, pe(e)), C(e), s;
420
- if (!k && !P && !U)
421
- return s = T(t, 12, Z(e)), S(d.INVALID_TOKEN_IN_PLACEHOLDER, u(), 0, s.value), C(e), s;
422
- break;
423
- }
424
- }
425
- return s;
426
- }
427
- function $(e, t) {
428
- const { currentType: s } = t;
429
- let f = null;
430
- const k = e.currentChar();
431
- switch ((s === 7 || s === 8 || s === 11 || s === 9) && (k === O || k === M) && S(d.INVALID_LINKED_FORMAT, u(), 0), k) {
432
- case "@":
433
- return e.next(), f = T(
434
- t,
435
- 7,
436
- "@"
437
- /* TokenChars.LinkedAlias */
438
- ), t.inLinked = !0, f;
439
- case ".":
440
- return C(e), e.next(), T(
441
- t,
442
- 8,
443
- "."
444
- /* TokenChars.LinkedDot */
445
- );
446
- case ":":
447
- return C(e), e.next(), T(
448
- t,
449
- 9,
450
- ":"
451
- /* TokenChars.LinkedDelimiter */
452
- );
453
- default:
454
- return Y(e) ? (f = T(t, 1, V(e)), t.braceNest = 0, t.inLinked = !1, f) : N(e, t) || H(e, t) ? (C(e), $(e, t)) : p(e, t) ? (C(e), T(t, 11, he(e))) : y(e, t) ? (C(e), k === "{" ? B(e, t) || f : T(t, 10, Te(e))) : (s === 7 && S(d.INVALID_LINKED_FORMAT, u(), 0), t.braceNest = 0, t.inLinked = !1, Q(e, t));
455
- }
456
- }
457
- function Q(e, t) {
458
- let s = {
459
- type: 13
460
- /* TokenTypes.EOF */
461
- };
462
- if (t.braceNest > 0)
463
- return B(e, t) || R(t);
464
- if (t.inLinked)
465
- return $(e, t) || R(t);
466
- switch (e.currentChar()) {
467
- case "{":
468
- return B(e, t) || R(t);
469
- case "}":
470
- return S(d.UNBALANCED_CLOSING_BRACE, u(), 0), e.next(), T(
471
- t,
472
- 3,
473
- "}"
474
- /* TokenChars.BraceRight */
475
- );
476
- case "@":
477
- return $(e, t) || R(t);
478
- default: {
479
- if (Y(e))
480
- return s = T(t, 1, V(e)), t.braceNest = 0, t.inLinked = !1, s;
481
- if (F(e))
482
- return T(t, 0, de(e));
483
- break;
484
- }
485
- }
486
- return s;
487
- }
488
- function Ae() {
489
- const { currentType: e, offset: t, startLoc: s, endLoc: f } = D;
490
- return D.lastType = e, D.lastOffset = t, D.lastStartLoc = s, D.lastEndLoc = f, D.offset = _(), D.startLoc = u(), a.currentChar() === w ? T(
491
- D,
492
- 13
493
- /* TokenTypes.EOF */
494
- ) : Q(a, D);
495
- }
496
- return {
497
- nextToken: Ae,
498
- currentOffset: _,
499
- currentPosition: u,
500
- context: m
501
- };
502
- }
503
- const Me = "parser", Xe = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
504
- function we(r, n, c) {
505
- switch (r) {
506
- case "\\\\":
507
- return "\\";
508
- // eslint-disable-next-line no-useless-escape
509
- case "\\'":
510
- return "'";
511
- default: {
512
- const a = parseInt(n || c, 16);
513
- return a <= 55295 || a >= 57344 ? String.fromCodePoint(a) : "�";
514
- }
515
- }
516
- }
517
- function He(r = {}) {
518
- const n = r.location !== !1, { onError: c } = r;
519
- function a(i, l, E, o, ...L) {
520
- const N = i.currentPosition();
521
- if (N.offset += o, N.column += o, c) {
522
- const p = n ? q(E, N) : null, H = G(l, p, {
523
- domain: Me,
524
- args: L
525
- });
526
- c(H);
527
- }
528
- }
529
- function _(i, l, E) {
530
- const o = { type: i };
531
- return n && (o.start = l, o.end = l, o.loc = { start: E, end: E }), o;
532
- }
533
- function u(i, l, E, o) {
534
- n && (i.end = l, i.loc && (i.loc.end = E));
535
- }
536
- function h(i, l) {
537
- const E = i.context(), o = _(3, E.offset, E.startLoc);
538
- return o.value = l, u(o, i.currentOffset(), i.currentPosition()), o;
539
- }
540
- function I(i, l) {
541
- const E = i.context(), { lastOffset: o, lastStartLoc: L } = E, N = _(5, o, L);
542
- return N.index = parseInt(l, 10), i.nextToken(), u(N, i.currentOffset(), i.currentPosition()), N;
543
- }
544
- function D(i, l) {
545
- const E = i.context(), { lastOffset: o, lastStartLoc: L } = E, N = _(4, o, L);
546
- return N.key = l, i.nextToken(), u(N, i.currentOffset(), i.currentPosition()), N;
547
- }
548
- function m(i, l) {
549
- const E = i.context(), { lastOffset: o, lastStartLoc: L } = E, N = _(9, o, L);
550
- return N.value = l.replace(Xe, we), i.nextToken(), u(N, i.currentOffset(), i.currentPosition()), N;
551
- }
552
- function b(i) {
553
- const l = i.nextToken(), E = i.context(), { lastOffset: o, lastStartLoc: L } = E, N = _(8, o, L);
554
- return l.type !== 11 ? (a(i, d.UNEXPECTED_EMPTY_LINKED_MODIFIER, E.lastStartLoc, 0), N.value = "", u(N, o, L), {
555
- nextConsumeToken: l,
556
- node: N
557
- }) : (l.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, X(l)), N.value = l.value || "", u(N, i.currentOffset(), i.currentPosition()), {
558
- node: N
559
- });
560
- }
561
- function S(i, l) {
562
- const E = i.context(), o = _(7, E.offset, E.startLoc);
563
- return o.value = l, u(o, i.currentOffset(), i.currentPosition()), o;
564
- }
565
- function T(i) {
566
- const l = i.context(), E = _(6, l.offset, l.startLoc);
567
- let o = i.nextToken();
568
- if (o.type === 8) {
569
- const L = b(i);
570
- E.modifier = L.node, o = L.nextConsumeToken || i.nextToken();
571
- }
572
- switch (o.type !== 9 && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(o)), o = i.nextToken(), o.type === 2 && (o = i.nextToken()), o.type) {
573
- case 10:
574
- o.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(o)), E.key = S(i, o.value || "");
575
- break;
576
- case 4:
577
- o.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(o)), E.key = D(i, o.value || "");
578
- break;
579
- case 5:
580
- o.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(o)), E.key = I(i, o.value || "");
581
- break;
582
- case 6:
583
- o.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(o)), E.key = m(i, o.value || "");
584
- break;
585
- default: {
586
- a(i, d.UNEXPECTED_EMPTY_LINKED_KEY, l.lastStartLoc, 0);
587
- const L = i.context(), N = _(7, L.offset, L.startLoc);
588
- return N.value = "", u(N, L.offset, L.startLoc), E.key = N, u(E, L.offset, L.startLoc), {
589
- nextConsumeToken: o,
590
- node: E
591
- };
592
- }
593
- }
594
- return u(E, i.currentOffset(), i.currentPosition()), {
595
- node: E
596
- };
597
- }
598
- function R(i) {
599
- const l = i.context(), E = l.currentType === 1 ? i.currentOffset() : l.offset, o = l.currentType === 1 ? l.endLoc : l.startLoc, L = _(2, E, o);
600
- L.items = [];
601
- let N = null;
602
- do {
603
- const y = N || i.nextToken();
604
- switch (N = null, y.type) {
605
- case 0:
606
- y.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(y)), L.items.push(h(i, y.value || ""));
607
- break;
608
- case 5:
609
- y.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(y)), L.items.push(I(i, y.value || ""));
610
- break;
611
- case 4:
612
- y.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(y)), L.items.push(D(i, y.value || ""));
613
- break;
614
- case 6:
615
- y.value == null && a(i, d.UNEXPECTED_LEXICAL_ANALYSIS, l.lastStartLoc, 0, X(y)), L.items.push(m(i, y.value || ""));
616
- break;
617
- case 7: {
618
- const Y = T(i);
619
- L.items.push(Y.node), N = Y.nextConsumeToken || null;
620
- break;
621
- }
622
- }
623
- } while (l.currentType !== 13 && l.currentType !== 1);
624
- const p = l.currentType === 1 ? l.lastOffset : i.currentOffset(), H = l.currentType === 1 ? l.lastEndLoc : i.currentPosition();
625
- return u(L, p, H), L;
626
- }
627
- function v(i, l, E, o) {
628
- const L = i.context();
629
- let N = o.items.length === 0;
630
- const p = _(1, l, E);
631
- p.cases = [], p.cases.push(o);
632
- do {
633
- const H = R(i);
634
- N || (N = H.items.length === 0), p.cases.push(H);
635
- } while (L.currentType !== 13);
636
- return N && a(i, d.MUST_HAVE_MESSAGES_IN_PLURAL, E, 0), u(p, i.currentOffset(), i.currentPosition()), p;
637
- }
638
- function A(i) {
639
- const l = i.context(), { offset: E, startLoc: o } = l, L = R(i);
640
- return l.currentType === 13 ? L : v(i, E, o, L);
641
- }
642
- function C(i) {
643
- const l = ve(i, re({}, r)), E = l.context(), o = _(0, E.offset, E.startLoc);
644
- return n && o.loc && (o.loc.source = i), o.body = A(l), r.onCacheKey && (o.cacheKey = r.onCacheKey(i)), E.currentType !== 13 && a(l, d.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, i[E.offset] || ""), u(o, l.currentOffset(), l.currentPosition()), o;
645
- }
646
- return { parse: C };
647
- }
648
- function X(r) {
649
- if (r.type === 13)
650
- return "EOF";
651
- const n = (r.value || "").replace(/\r?\n/gu, "\\n");
652
- return n.length > 10 ? n.slice(0, 9) + "…" : n;
653
- }
654
- function Ye(r, n = {}) {
655
- const c = {
656
- ast: r,
657
- helpers: /* @__PURE__ */ new Set()
658
- };
659
- return { context: () => c, helper: (u) => (c.helpers.add(u), u) };
660
- }
661
- function te(r, n) {
662
- for (let c = 0; c < r.length; c++)
663
- W(r[c], n);
664
- }
665
- function W(r, n) {
666
- switch (r.type) {
667
- case 1:
668
- te(r.cases, n), n.helper(
669
- "plural"
670
- /* HelperNameMap.PLURAL */
671
- );
672
- break;
673
- case 2:
674
- te(r.items, n);
675
- break;
676
- case 6: {
677
- W(r.key, n), n.helper(
678
- "linked"
679
- /* HelperNameMap.LINKED */
680
- ), n.helper(
681
- "type"
682
- /* HelperNameMap.TYPE */
683
- );
684
- break;
685
- }
686
- case 5:
687
- n.helper(
688
- "interpolate"
689
- /* HelperNameMap.INTERPOLATE */
690
- ), n.helper(
691
- "list"
692
- /* HelperNameMap.LIST */
693
- );
694
- break;
695
- case 4:
696
- n.helper(
697
- "interpolate"
698
- /* HelperNameMap.INTERPOLATE */
699
- ), n.helper(
700
- "named"
701
- /* HelperNameMap.NAMED */
702
- );
703
- break;
704
- }
705
- }
706
- function ge(r, n = {}) {
707
- const c = Ye(r);
708
- c.helper(
709
- "normalize"
710
- /* HelperNameMap.NORMALIZE */
711
- ), r.body && W(r.body, c);
712
- const a = c.context();
713
- r.helpers = Array.from(a.helpers);
714
- }
715
- function Ke(r) {
716
- const n = r.body;
717
- return n.type === 2 ? ne(n) : n.cases.forEach((c) => ne(c)), r;
718
- }
719
- function ne(r) {
720
- if (r.items.length === 1) {
721
- const n = r.items[0];
722
- (n.type === 3 || n.type === 9) && (r.static = n.value, delete n.value);
723
- } else {
724
- const n = [];
725
- for (let c = 0; c < r.items.length; c++) {
726
- const a = r.items[c];
727
- if (!(a.type === 3 || a.type === 9) || a.value == null)
728
- break;
729
- n.push(a.value);
730
- }
731
- if (n.length === r.items.length) {
732
- r.static = se(n);
733
- for (let c = 0; c < r.items.length; c++) {
734
- const a = r.items[c];
735
- (a.type === 3 || a.type === 9) && delete a.value;
736
- }
737
- }
738
- }
739
- }
740
- const xe = "minifier";
741
- function K(r) {
742
- switch (r.t = r.type, r.type) {
743
- case 0: {
744
- const n = r;
745
- K(n.body), n.b = n.body, delete n.body;
746
- break;
747
- }
748
- case 1: {
749
- const n = r, c = n.cases;
750
- for (let a = 0; a < c.length; a++)
751
- K(c[a]);
752
- n.c = c, delete n.cases;
753
- break;
754
- }
755
- case 2: {
756
- const n = r, c = n.items;
757
- for (let a = 0; a < c.length; a++)
758
- K(c[a]);
759
- n.i = c, delete n.items, n.static && (n.s = n.static, delete n.static);
760
- break;
761
- }
762
- case 3:
763
- case 9:
764
- case 8:
765
- case 7: {
766
- const n = r;
767
- n.value && (n.v = n.value, delete n.value);
768
- break;
769
- }
770
- case 6: {
771
- const n = r;
772
- K(n.key), n.k = n.key, delete n.key, n.modifier && (K(n.modifier), n.m = n.modifier, delete n.modifier);
773
- break;
774
- }
775
- case 5: {
776
- const n = r;
777
- n.i = n.index, delete n.index;
778
- break;
779
- }
780
- case 4: {
781
- const n = r;
782
- n.k = n.key, delete n.key;
783
- break;
784
- }
785
- default:
786
- if (process.env.NODE_ENV !== "production")
787
- throw G(d.UNHANDLED_MINIFIER_NODE_TYPE, null, {
788
- domain: xe,
789
- args: [r.type]
790
- });
791
- }
792
- delete r.type;
793
- }
794
- const $e = "parser";
795
- function Ge(r, n) {
796
- const { filename: c, breakLineCode: a, needIndent: _ } = n, u = n.location !== !1, h = {
797
- filename: c,
798
- code: "",
799
- column: 1,
800
- line: 1,
801
- offset: 0,
802
- map: void 0,
803
- breakLineCode: a,
804
- needIndent: _,
805
- indentLevel: 0
806
- };
807
- u && r.loc && (h.source = r.loc.source);
808
- const I = () => h;
809
- function D(A, C) {
810
- h.code += A;
811
- }
812
- function m(A, C = !0) {
813
- const i = C ? a : "";
814
- D(_ ? i + " ".repeat(A) : i);
815
- }
816
- function b(A = !0) {
817
- const C = ++h.indentLevel;
818
- A && m(C);
819
- }
820
- function S(A = !0) {
821
- const C = --h.indentLevel;
822
- A && m(C);
823
- }
824
- function T() {
825
- m(h.indentLevel);
826
- }
827
- return {
828
- context: I,
829
- push: D,
830
- indent: b,
831
- deindent: S,
832
- newline: T,
833
- helper: (A) => `_${A}`,
834
- needIndent: () => h.needIndent
835
- };
836
- }
837
- function Fe(r, n) {
838
- const { helper: c } = r;
839
- r.push(`${c(
840
- "linked"
841
- /* HelperNameMap.LINKED */
842
- )}(`), x(r, n.key), n.modifier ? (r.push(", "), x(r, n.modifier), r.push(", _type")) : r.push(", undefined, _type"), r.push(")");
843
- }
844
- function Ve(r, n) {
845
- const { helper: c, needIndent: a } = r;
846
- r.push(`${c(
847
- "normalize"
848
- /* HelperNameMap.NORMALIZE */
849
- )}([`), r.indent(a());
850
- const _ = n.items.length;
851
- for (let u = 0; u < _ && (x(r, n.items[u]), u !== _ - 1); u++)
852
- r.push(", ");
853
- r.deindent(a()), r.push("])");
854
- }
855
- function Be(r, n) {
856
- const { helper: c, needIndent: a } = r;
857
- if (n.cases.length > 1) {
858
- r.push(`${c(
859
- "plural"
860
- /* HelperNameMap.PLURAL */
861
- )}([`), r.indent(a());
862
- const _ = n.cases.length;
863
- for (let u = 0; u < _ && (x(r, n.cases[u]), u !== _ - 1); u++)
864
- r.push(", ");
865
- r.deindent(a()), r.push("])");
866
- }
867
- }
868
- function Qe(r, n) {
869
- n.body ? x(r, n.body) : r.push("null");
870
- }
871
- function x(r, n) {
872
- const { helper: c } = r;
873
- switch (n.type) {
874
- case 0:
875
- Qe(r, n);
876
- break;
877
- case 1:
878
- Be(r, n);
879
- break;
880
- case 2:
881
- Ve(r, n);
882
- break;
883
- case 6:
884
- Fe(r, n);
885
- break;
886
- case 8:
887
- r.push(JSON.stringify(n.value), n);
888
- break;
889
- case 7:
890
- r.push(JSON.stringify(n.value), n);
891
- break;
892
- case 5:
893
- r.push(`${c(
894
- "interpolate"
895
- /* HelperNameMap.INTERPOLATE */
896
- )}(${c(
897
- "list"
898
- /* HelperNameMap.LIST */
899
- )}(${n.index}))`, n);
900
- break;
901
- case 4:
902
- r.push(`${c(
903
- "interpolate"
904
- /* HelperNameMap.INTERPOLATE */
905
- )}(${c(
906
- "named"
907
- /* HelperNameMap.NAMED */
908
- )}(${JSON.stringify(n.key)}))`, n);
909
- break;
910
- case 9:
911
- r.push(JSON.stringify(n.value), n);
912
- break;
913
- case 3:
914
- r.push(JSON.stringify(n.value), n);
915
- break;
916
- default:
917
- if (process.env.NODE_ENV !== "production")
918
- throw G(d.UNHANDLED_CODEGEN_NODE_TYPE, null, {
919
- domain: $e,
920
- args: [n.type]
921
- });
922
- }
923
- }
924
- const qe = (r, n = {}) => {
925
- const c = z(n.mode) ? n.mode : "normal", a = z(n.filename) ? n.filename : "message.intl";
926
- n.sourceMap;
927
- const _ = n.breakLineCode != null ? n.breakLineCode : c === "arrow" ? ";" : `
928
- `, u = n.needIndent ? n.needIndent : c !== "arrow", h = r.helpers || [], I = Ge(r, {
929
- filename: a,
930
- breakLineCode: _,
931
- needIndent: u
932
- });
933
- I.push(c === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), I.indent(u), h.length > 0 && (I.push(`const { ${se(h.map((b) => `${b}: _${b}`), ", ")} } = ctx`), I.newline()), I.push("return "), x(I, r), I.deindent(u), I.push("}"), delete r.helpers;
934
- const { code: D, map: m } = I.context();
935
- return {
936
- ast: r,
937
- code: D,
938
- map: m ? m.toJSON() : void 0
939
- // eslint-disable-line @typescript-eslint/no-explicit-any
940
- };
941
- };
942
- function ze(r, n = {}) {
943
- const c = re({}, n), a = !!c.jit, _ = !!c.minify, u = c.optimize == null ? !0 : c.optimize, I = He(c).parse(r);
944
- return a ? (u && Ke(I), _ && K(I), { ast: I, code: "" }) : (ge(I, c), qe(I, c));
945
- }
946
- export {
947
- Je as C,
948
- je as a,
949
- ze as b,
950
- G as c,
951
- Ze as d
952
- };