@vc-shell/framework 2.0.0-alpha.7 → 2.0.0-alpha.8

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 (308) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  3. package/dist/core/plugins/modularity/index.d.ts +0 -2
  4. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -3
  7. package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
  8. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts +30 -0
  9. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -0
  10. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts +3 -2
  11. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
  12. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  13. package/package.json +5 -5
  14. package/dist/assets/042c75b764bc78a7.svg +0 -1
  15. package/dist/assets/0ba156439a339f2a.svg +0 -1
  16. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  17. package/dist/assets/0d67e9e056b4c500.woff +0 -0
  18. package/dist/assets/0f590f8a94577092.svg +0 -1
  19. package/dist/assets/0fc5820f8be53a1b.svg +0 -1
  20. package/dist/assets/105efd028edc1dfe.woff +0 -0
  21. package/dist/assets/10768e2cc79fc60b.svg +0 -1
  22. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  23. package/dist/assets/131b34336aedaf47.woff +0 -0
  24. package/dist/assets/154365acf3010d96.woff2 +0 -0
  25. package/dist/assets/157b8721e0600ea8.svg +0 -1
  26. package/dist/assets/15e91cdd649cde9a.svg +0 -1
  27. package/dist/assets/19275e398ae57130.woff2 +0 -0
  28. package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
  29. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  30. package/dist/assets/1de63eb118636cce.svg +0 -1
  31. package/dist/assets/1ea01de36eb5491b.svg +0 -1
  32. package/dist/assets/2010ada3e82156ed.woff +0 -0
  33. package/dist/assets/204eaf512fde2023.svg +0 -1
  34. package/dist/assets/2088983edf42e153.svg +0 -1
  35. package/dist/assets/208f810a9321a327.svg +0 -1
  36. package/dist/assets/21220a9d10e6c558.svg +0 -1
  37. package/dist/assets/220db345a102045d.woff2 +0 -0
  38. package/dist/assets/225da11d23968333.svg +0 -1
  39. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  40. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  41. package/dist/assets/259e6ad461a52ad7.svg +0 -1
  42. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  43. package/dist/assets/262f46a0b6d94bb6.svg +0 -1
  44. package/dist/assets/2857c513073467da.svg +0 -1
  45. package/dist/assets/2b3be7889467d98f.woff +0 -0
  46. package/dist/assets/2d4e6190eec72737.svg +0 -1
  47. package/dist/assets/2eba973185078bc8.woff +0 -0
  48. package/dist/assets/334d3f6bc766c516.woff +0 -0
  49. package/dist/assets/34ff7dd0c2285956.svg +0 -1
  50. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  51. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  52. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  53. package/dist/assets/3fc09a6113184f16.woff +0 -0
  54. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  55. package/dist/assets/41275bcb979cb650.svg +0 -1
  56. package/dist/assets/434f7982590e462f.woff +0 -0
  57. package/dist/assets/475937116ee3314a.woff2 +0 -0
  58. package/dist/assets/477e1881a0394cc5.woff +0 -0
  59. package/dist/assets/489710fb710e73f0.woff +0 -0
  60. package/dist/assets/49791943b3872376.woff2 +0 -0
  61. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  62. package/dist/assets/4d7a77b0e5373992.svg +0 -1
  63. package/dist/assets/4e43c74354534fb3.svg +0 -1
  64. package/dist/assets/4fe75f5117100705.svg +0 -1
  65. package/dist/assets/52e261a005074e1b.woff +0 -0
  66. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  67. package/dist/assets/54cda5482c6c9218.woff +0 -0
  68. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  69. package/dist/assets/572bb1bb4156a9c1.svg +0 -1
  70. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  71. package/dist/assets/617c4736236e199e.woff +0 -0
  72. package/dist/assets/67230f05dc94a265.svg +0 -1
  73. package/dist/assets/6798e4dd4add9b48.svg +0 -1
  74. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  75. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  76. package/dist/assets/6a3e73faf406cf33.svg +0 -1
  77. package/dist/assets/72de3a63bc0b70dd.svg +0 -1
  78. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  79. package/dist/assets/74ed5f8a78e71106.svg +0 -1
  80. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  81. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  82. package/dist/assets/7d55399c2a7bc985.svg +0 -1
  83. package/dist/assets/7d970675c69fca1d.woff +0 -0
  84. package/dist/assets/7eda727273fd98d3.svg +0 -1
  85. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  86. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  87. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  88. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  89. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  90. package/dist/assets/910b0d99b9e26568.svg +0 -1
  91. package/dist/assets/91fe94e424323d61.woff +0 -0
  92. package/dist/assets/92508f8707159b51.svg +0 -1
  93. package/dist/assets/9392bf1d591e1abb.svg +0 -1
  94. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  95. package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
  96. package/dist/assets/9d37314695c0b68d.woff +0 -0
  97. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  98. package/dist/assets/a18404194e3f9047.svg +0 -1
  99. package/dist/assets/a2017fe7f0a26510.svg +0 -1
  100. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  101. package/dist/assets/abf88f301a0730f4.svg +0 -1
  102. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  103. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  104. package/dist/assets/b1a596e31ad1185a.svg +0 -1
  105. package/dist/assets/b27767411c8427be.woff +0 -0
  106. package/dist/assets/b325adcae33bbe7a.svg +0 -1
  107. package/dist/assets/b372390551ca2fa1.svg +0 -1
  108. package/dist/assets/b5bb1e8fc975decd.svg +0 -1
  109. package/dist/assets/b645a4a2181b9dc1.svg +0 -1
  110. package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
  111. package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
  112. package/dist/assets/b94421fadd23b0f2.svg +0 -1
  113. package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
  114. package/dist/assets/c5195215cb712e9c.woff2 +0 -0
  115. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  116. package/dist/assets/c97328b91ac5cc66.woff +0 -0
  117. package/dist/assets/ca791c5ca5848a03.svg +0 -1
  118. package/dist/assets/cb32840ce330103f.woff +0 -0
  119. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  120. package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
  121. package/dist/assets/d084bda16abe8a56.svg +0 -1
  122. package/dist/assets/d32b129cae2fffd6.svg +0 -1
  123. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  124. package/dist/assets/d3f792f54ae4c307.svg +0 -1
  125. package/dist/assets/d5a5b8630120073d.svg +0 -1
  126. package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
  127. package/dist/assets/d5f9664ebbfb104b.svg +0 -1
  128. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  129. package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
  130. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  131. package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
  132. package/dist/assets/e2ad5b3428289141.woff +0 -0
  133. package/dist/assets/e38acaa1757232e0.svg +0 -1
  134. package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
  135. package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
  136. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  137. package/dist/assets/e72bb11356af94c7.svg +0 -1
  138. package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
  139. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  140. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  141. package/dist/assets/f09d89268e4c0317.svg +0 -1
  142. package/dist/assets/f239394367fcf005.woff2 +0 -0
  143. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  144. package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
  145. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  146. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  147. package/dist/assets/fed13b0d59903483.svg +0 -1
  148. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  149. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  150. package/dist/core/plugins/modularity/loader-mf.d.ts +0 -17
  151. package/dist/core/plugins/modularity/loader-mf.d.ts.map +0 -1
  152. package/dist/framework.css +0 -9
  153. package/dist/framework.js +0 -32777
  154. package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts +0 -16
  155. package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts.map +0 -1
  156. package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts +0 -19
  157. package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts.map +0 -1
  158. package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts +0 -23
  159. package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts.map +0 -1
  160. package/dist/vendor-boolbase-DYkUBG-P.js +0 -18
  161. package/dist/vendor-cheerio-DE71XQ9x.js +0 -1053
  162. package/dist/vendor-cheerio-select-D-qK1Cpo.js +0 -191
  163. package/dist/vendor-css-select-DqoO1-RK.js +0 -622
  164. package/dist/vendor-css-what-CZZaquJM.js +0 -267
  165. package/dist/vendor-cypress-signalr-mock-itnm2wpA.js +0 -781
  166. package/dist/vendor-d3-array-9cpTrqlO.js +0 -149
  167. package/dist/vendor-d3-axis-D1_DbKLz.js +0 -74
  168. package/dist/vendor-d3-brush-CcKeJp9e.js +0 -1
  169. package/dist/vendor-d3-color-BOYE6h_9.js +0 -306
  170. package/dist/vendor-d3-dispatch-fx-WMg0D.js +0 -64
  171. package/dist/vendor-d3-ease-Cr34gv04.js +0 -8
  172. package/dist/vendor-d3-format-DaIwZvFc.js +0 -182
  173. package/dist/vendor-d3-interpolate-BYG2gvO4.js +0 -177
  174. package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +0 -299
  175. package/dist/vendor-d3-path-DJOTitNW.js +0 -64
  176. package/dist/vendor-d3-scale-CC5rtdt5.js +0 -561
  177. package/dist/vendor-d3-selection-CNMxsYiL.js +0 -603
  178. package/dist/vendor-d3-shape-DBhCDMiV.js +0 -925
  179. package/dist/vendor-d3-time-DAPP210_.js +0 -212
  180. package/dist/vendor-d3-time-format-hD7iE2WG.js +0 -491
  181. package/dist/vendor-d3-timer-C1cUWKPz.js +0 -67
  182. package/dist/vendor-d3-transition-BbNQT7qF.js +0 -524
  183. package/dist/vendor-d3-zoom-CcKeJp9e.js +0 -1
  184. package/dist/vendor-date-fns-BKO3x1R1.js +0 -3102
  185. package/dist/vendor-dom-serializer-BbVuF1MQ.js +0 -213
  186. package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
  187. package/dist/vendor-domhandler-Kufn9M_V.js +0 -311
  188. package/dist/vendor-dompurify-M2Bspgo5.js +0 -553
  189. package/dist/vendor-domutils-DDRq_ial.js +0 -386
  190. package/dist/vendor-emotion-cache-eEZT5l-Q.js +0 -274
  191. package/dist/vendor-emotion-hash-DImMRhyK.js +0 -22
  192. package/dist/vendor-emotion-memoize-BcEUCz8q.js +0 -9
  193. package/dist/vendor-emotion-serialize-BSDW8NwU.js +0 -123
  194. package/dist/vendor-emotion-sheet-CS8ZBl9s.js +0 -44
  195. package/dist/vendor-emotion-unitless-B7u1PU6w.js +0 -53
  196. package/dist/vendor-emotion-utils-D7refZTM.js +0 -28
  197. package/dist/vendor-entities-J86Og8IU.js +0 -364
  198. package/dist/vendor-floating-ui-core-BoHdh92a.js +0 -432
  199. package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +0 -398
  200. package/dist/vendor-floating-ui-utils-CidJRIm2.js +0 -257
  201. package/dist/vendor-floating-ui-vue-sCrhit51.js +0 -121
  202. package/dist/vendor-gridstack-Dkfw452e.js +0 -3390
  203. package/dist/vendor-headlessui-vue-Cn-RMs4E.js +0 -961
  204. package/dist/vendor-htmlparser2-BxKKzWLL.js +0 -735
  205. package/dist/vendor-internmap-Q5729_cS.js +0 -35
  206. package/dist/vendor-intlify-core-base-BmIo1dK4.js +0 -1141
  207. package/dist/vendor-intlify-message-compiler-D9VOavkL.js +0 -960
  208. package/dist/vendor-intlify-shared-SCAs3ybf.js +0 -144
  209. package/dist/vendor-iso-639-1-BEjYyfKo.js +0 -784
  210. package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +0 -286
  211. package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
  212. package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
  213. package/dist/vendor-lodash-es-Bz6MMQuN.js +0 -4818
  214. package/dist/vendor-lucide-vue-next-CPgeDcFj.js +0 -33093
  215. package/dist/vendor-markdown-it-Bs9KEWkF.js +0 -2266
  216. package/dist/vendor-markdown-it-task-lists-CHKeJZfk.js +0 -69
  217. package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
  218. package/dist/vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js +0 -1207
  219. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js +0 -261
  220. package/dist/vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js +0 -1822
  221. package/dist/vendor-microsoft-applicationinsights-common-CJjmnDMb.js +0 -1921
  222. package/dist/vendor-microsoft-applicationinsights-core-js-BOc_o46i.js +0 -4276
  223. package/dist/vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js +0 -1407
  224. package/dist/vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js +0 -572
  225. package/dist/vendor-microsoft-applicationinsights-shims-Dton8Vqy.js +0 -43
  226. package/dist/vendor-microsoft-applicationinsights-web-DTa5YN-h.js +0 -487
  227. package/dist/vendor-microsoft-dynamicproto-js-89GEKjvR.js +0 -147
  228. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
  229. package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +0 -22
  230. package/dist/vendor-module-federation-error-codes-DdVwX11j.js +0 -55
  231. package/dist/vendor-module-federation-runtime-CVH_lWgu.js +0 -91
  232. package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +0 -2202
  233. package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +0 -18
  234. package/dist/vendor-module-federation-sdk-DM4AJRa7.js +0 -683
  235. package/dist/vendor-nevware21-ts-async-D4qa7g-U.js +0 -261
  236. package/dist/vendor-nevware21-ts-utils-DII8jruI.js +0 -853
  237. package/dist/vendor-nth-check-D0N1qpsw.js +0 -45
  238. package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
  239. package/dist/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +0 -143
  240. package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
  241. package/dist/vendor-prettier-DeqUTTnE.js +0 -5215
  242. package/dist/vendor-prosemirror-commands-Bv4ChObl.js +0 -385
  243. package/dist/vendor-prosemirror-dropcursor-kF5UKNFM.js +0 -86
  244. package/dist/vendor-prosemirror-gapcursor-S3ikcYX6.js +0 -203
  245. package/dist/vendor-prosemirror-history-CQYKHz3u.js +0 -248
  246. package/dist/vendor-prosemirror-keymap-CAfQyvJ7.js +0 -62
  247. package/dist/vendor-prosemirror-markdown-rpUTSG_Q.js +0 -663
  248. package/dist/vendor-prosemirror-model-DAA3avbR.js +0 -2730
  249. package/dist/vendor-prosemirror-schema-list-BNJkECdS.js +0 -87
  250. package/dist/vendor-prosemirror-state-IeimrELV.js +0 -821
  251. package/dist/vendor-prosemirror-tables-zVUKdbdQ.js +0 -1414
  252. package/dist/vendor-prosemirror-transform-BUjWd5Tb.js +0 -1525
  253. package/dist/vendor-prosemirror-view-DFpBkGRq.js +0 -3794
  254. package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
  255. package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
  256. package/dist/vendor-semver-Dar8oU3V.js +0 -1023
  257. package/dist/vendor-striptags-DtlgQudQ.js +0 -120
  258. package/dist/vendor-stylis-ClfDrgKE.js +0 -334
  259. package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
  260. package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
  261. package/dist/vendor-throttle-debounce-CX0imT7m.js +0 -28
  262. package/dist/vendor-tiptap-core-CDScflP1.js +0 -3921
  263. package/dist/vendor-tiptap-extension-blockquote-ChRAwuus.js +0 -55
  264. package/dist/vendor-tiptap-extension-bold-BwoVpOFS.js +0 -74
  265. package/dist/vendor-tiptap-extension-code-DOlgG3ih.js +0 -52
  266. package/dist/vendor-tiptap-extension-code-block-CMeTs87s.js +0 -215
  267. package/dist/vendor-tiptap-extension-document-DO8oly70.js +0 -12
  268. package/dist/vendor-tiptap-extension-hard-break-BgDl2sHf.js +0 -59
  269. package/dist/vendor-tiptap-extension-heading-DFuYlwHi.js +0 -63
  270. package/dist/vendor-tiptap-extension-horizontal-rule-uyfttMp9.js +0 -56
  271. package/dist/vendor-tiptap-extension-image-DPeBaTE3.js +0 -128
  272. package/dist/vendor-tiptap-extension-italic-C9-3jNxO.js +0 -73
  273. package/dist/vendor-tiptap-extension-link-B57VzStq.js +0 -312
  274. package/dist/vendor-tiptap-extension-list-spvOF7Mz.js +0 -722
  275. package/dist/vendor-tiptap-extension-paragraph-Cj7auQB7.js +0 -44
  276. package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +0 -1
  277. package/dist/vendor-tiptap-extension-strike-yj6UvnkO.js +0 -64
  278. package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +0 -1
  279. package/dist/vendor-tiptap-extension-table-ex1kZQ-9.js +0 -374
  280. package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +0 -1
  281. package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +0 -1
  282. package/dist/vendor-tiptap-extension-text-C8FG4KnI.js +0 -13
  283. package/dist/vendor-tiptap-extension-text-style-DsQDXowp.js +0 -235
  284. package/dist/vendor-tiptap-extension-underline-HB3fg6Dc.js +0 -65
  285. package/dist/vendor-tiptap-extensions-CUGwjzl5.js +0 -296
  286. package/dist/vendor-tiptap-markdown-BTXJw7Bt.js +0 -826
  287. package/dist/vendor-tiptap-pm-DSHuSumV.js +0 -1
  288. package/dist/vendor-tiptap-starter-kit-C42PcJ7J.js +0 -28
  289. package/dist/vendor-tiptap-vue-3-BxWCzu9Z.js +0 -157
  290. package/dist/vendor-truncate-html-ChA1T5zy.js +0 -145
  291. package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
  292. package/dist/vendor-unovis-ts-stSsHr9j.js +0 -2382
  293. package/dist/vendor-unovis-vue-CZWGT3-0.js +0 -446
  294. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
  295. package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
  296. package/dist/vendor-vue-currency-input-CckB4kjx.js +0 -317
  297. package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
  298. package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
  299. package/dist/vendor-vue-i18n-DeO9Fa9I.js +0 -1387
  300. package/dist/vendor-vue-router-R3V0tq8_.js +0 -6
  301. package/dist/vendor-vue3-application-insights-BmJCYUcp.js +0 -69
  302. package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
  303. package/dist/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +0 -4998
  304. package/dist/vendor-vueuse-components-2jDVoLeo.js +0 -542
  305. package/dist/vendor-vueuse-core-CLhzVQ31.js +0 -5133
  306. package/dist/vendor-vueuse-shared-DMVXjSeM.js +0 -1169
  307. package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
  308. package/dist/vendor-web-vitals-vrpLO1bu.js +0 -207
@@ -1,1387 +0,0 @@
1
- import { C as H, D as et, u as z, c as Xt, a as ye, b as Ve, i as Z, A as Jt, s as Kt, g as zt, N as qt, d as Qt, e as Zt, f as ea, h as be, j as Me, p as Ue, t as We, M as we, k as $e, l as xe, m as Ge, n as He, o as ta, q as aa, r as na, v as sa, w as ra, x as la, y as oa, z as ia, B as ca } from "./vendor-intlify-core-base-BmIo1dK4.js";
2
- import { g as N, k as tt, B as y, f as ua, d as h, i as d, c as C, h as le, b as x, t as oe, C as he, a as S, e as A, D as re, m as ie, l as R, o as ee, w as ce, p as _a, n as Q } from "./vendor-intlify-shared-SCAs3ybf.js";
3
- import * as Ee from "vue";
4
- import { effectScope as ma, computed as q, watch as ve, isRef as fa, ref as ga, shallowRef as Ea, defineComponent as Fe, h as at, Fragment as nt, inject as da, onMounted as ba, onUnmounted as va, createVNode as Ia, Text as pa } from "vue";
5
- import { s as Na } from "./vendor-vue-devtools-api-aVYGocXp.js";
6
- import { c as Ta } from "./vendor-intlify-message-compiler-D9VOavkL.js";
7
- /*!
8
- * vue-i18n v11.3.0
9
- * (c) 2026 kazuya kawaguchi
10
- * Released under the MIT License.
11
- */
12
- const st = "11.3.0";
13
- function La() {
14
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Q().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Q().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Q().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Q().__INTLIFY_PROD_DEVTOOLS__ = !1);
15
- }
16
- const b = {
17
- // composer module errors
18
- UNEXPECTED_RETURN_TYPE: ea,
19
- // 24
20
- // legacy module errors
21
- INVALID_ARGUMENT: 25,
22
- // i18n module errors
23
- MUST_BE_CALL_SETUP_TOP: 26,
24
- NOT_INSTALLED: 27,
25
- // directive module errors
26
- REQUIRED_VALUE: 28,
27
- INVALID_VALUE: 29,
28
- // vue-devtools errors
29
- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: 30,
30
- NOT_INSTALLED_WITH_PROVIDE: 31,
31
- // unexpected error
32
- UNEXPECTED_ERROR: 32,
33
- // not compatible legacy vue-i18n constructor
34
- NOT_COMPATIBLE_LEGACY_VUE_I18N: 33,
35
- // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
36
- NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
37
- };
38
- function F(e, ...t) {
39
- return Ta(e, null, process.env.NODE_ENV !== "production" ? { messages: Oa, args: t } : void 0);
40
- }
41
- const Oa = {
42
- [b.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
43
- [b.INVALID_ARGUMENT]: "Invalid argument",
44
- [b.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
45
- [b.NOT_INSTALLED]: "Need to install with `app.use` function",
46
- [b.UNEXPECTED_ERROR]: "Unexpected error",
47
- [b.REQUIRED_VALUE]: "Required in value: {0}",
48
- [b.INVALID_VALUE]: "Invalid value",
49
- [b.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
50
- [b.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
51
- [b.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
52
- [b.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
53
- }, Ie = /* @__PURE__ */ y("__translateVNode"), pe = /* @__PURE__ */ y("__datetimeParts"), Ne = /* @__PURE__ */ y("__numberParts"), G = /* @__PURE__ */ y("__enableEmitter"), te = /* @__PURE__ */ y("__disableEmitter"), rt = y("__setPluralRules"), lt = /* @__PURE__ */ y("__injectWithOption"), Te = /* @__PURE__ */ y("__dispose"), D = {
54
- FALLBACK_TO_ROOT: H,
55
- // 10
56
- NOT_FOUND_PARENT_SCOPE: H + 1,
57
- IGNORE_OBJ_FLATTEN: H + 2,
58
- /**
59
- * @deprecated will be removed at vue-i18n v12
60
- */
61
- DEPRECATE_LEGACY_MODE: H + 3,
62
- /**
63
- * @deprecated will be removed at vue-i18n v12
64
- */
65
- DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: H + 4,
66
- // duplicate `useI18n` calling
67
- DUPLICATE_USE_I18N_CALLING: H + 5
68
- }, ha = {
69
- [D.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
70
- [D.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
71
- [D.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
72
- /**
73
- * @deprecated will be removed at vue-i18n v12
74
- */
75
- [D.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
76
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,
77
- /**
78
- * @deprecated will be removed at vue-i18n v12
79
- */
80
- [D.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
81
- [D.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
82
- };
83
- function j(e, ...t) {
84
- return ua(ha[e], ...t);
85
- }
86
- function ae(e) {
87
- if (!R(e) || Z(e))
88
- return e;
89
- for (const t in e)
90
- if (ie(e, t))
91
- if (!t.includes("."))
92
- R(e[t]) && ae(e[t]);
93
- else {
94
- const r = t.split("."), n = r.length - 1;
95
- let a = e, o = !1;
96
- for (let l = 0; l < n; l++) {
97
- if (r[l] === "__proto__")
98
- throw new Error(`unsafe key: ${r[l]}`);
99
- if (r[l] in a || (a[r[l]] = A()), !R(a[r[l]])) {
100
- process.env.NODE_ENV !== "production" && ce(j(D.IGNORE_OBJ_FLATTEN, {
101
- key: r[l]
102
- })), o = !0;
103
- break;
104
- }
105
- a = a[r[l]];
106
- }
107
- if (o || (Z(a) ? Jt.includes(r[n]) || delete e[t] : (a[r[n]] = e[t], delete e[t])), !Z(a)) {
108
- const l = a[r[n]];
109
- R(l) && ae(l);
110
- }
111
- }
112
- return e;
113
- }
114
- function Re(e, t) {
115
- const { messages: r, __i18n: n, messageResolver: a, flatJson: o } = t, l = h(r) ? r : C(n) ? A() : { [e]: A() };
116
- if (C(n) && n.forEach((c) => {
117
- if ("locale" in c && "resource" in c) {
118
- const { locale: _, resource: m } = c;
119
- _ ? (l[_] = l[_] || A(), re(m, l[_])) : re(m, l);
120
- } else
121
- d(c) && re(JSON.parse(c), l);
122
- }), a == null && o)
123
- for (const c in l)
124
- ie(l, c) && ae(l[c]);
125
- return l;
126
- }
127
- function ot(e) {
128
- return e.type;
129
- }
130
- function it(e, t, r) {
131
- let n = R(t.messages) ? t.messages : A();
132
- "__i18nGlobal" in r && (n = Re(e.locale.value, {
133
- messages: n,
134
- __i18n: r.__i18nGlobal
135
- }));
136
- const a = Object.keys(n);
137
- a.length && a.forEach((o) => {
138
- e.mergeLocaleMessage(o, n[o]);
139
- });
140
- {
141
- if (R(t.datetimeFormats)) {
142
- const o = Object.keys(t.datetimeFormats);
143
- o.length && o.forEach((l) => {
144
- e.mergeDateTimeFormat(l, t.datetimeFormats[l]);
145
- });
146
- }
147
- if (R(t.numberFormats)) {
148
- const o = Object.keys(t.numberFormats);
149
- o.length && o.forEach((l) => {
150
- e.mergeNumberFormat(l, t.numberFormats[l]);
151
- });
152
- }
153
- }
154
- }
155
- function Ye(e) {
156
- return Ia(pa, null, e, 0);
157
- }
158
- function Y() {
159
- const e = "currentInstance";
160
- return e in Ee ? Ee[e] : Ee.getCurrentInstance();
161
- }
162
- const je = "__INTLIFY_META__", Be = () => [], Fa = () => !1;
163
- let Xe = 0;
164
- function Je(e) {
165
- return ((t, r, n, a) => e(r, n, Y() || void 0, a));
166
- }
167
- const Ra = /* @__NO_SIDE_EFFECTS__ */ () => {
168
- const e = Y();
169
- let t = null;
170
- return e && (t = ot(e)[je]) ? { [je]: t } : null;
171
- };
172
- function ke(e = {}) {
173
- const { __root: t, __injectWithOption: r } = e, n = t === void 0, a = e.flatJson, o = oe ? ga : Ea;
174
- let l = N(e.inheritLocale) ? e.inheritLocale : !0;
175
- const c = o(
176
- // prettier-ignore
177
- t && l ? t.locale.value : d(e.locale) ? e.locale : et
178
- ), _ = o(
179
- // prettier-ignore
180
- t && l ? t.fallbackLocale.value : d(e.fallbackLocale) || C(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
181
- ), m = o(Re(c.value, e)), E = o(h(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(h(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
182
- let v = t ? t.missingWarn : N(e.missingWarn) || le(e.missingWarn) ? e.missingWarn : !0, T = t ? t.fallbackWarn : N(e.fallbackWarn) || le(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : N(e.fallbackRoot) ? e.fallbackRoot : !0, O = !!e.fallbackFormat, V = x(e.missing) ? e.missing : null, k = x(e.missing) ? Je(e.missing) : null, M = x(e.postTranslation) ? e.postTranslation : null, B = t ? t.warnHtmlMessage : N(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, X = !!e.escapeParameter;
183
- const J = t ? t.modifiers : h(e.modifiers) ? e.modifiers : {};
184
- let K = e.pluralRules || t && t.pluralRules, u;
185
- u = (() => {
186
- n && Me(null);
187
- const s = {
188
- version: st,
189
- locale: c.value,
190
- fallbackLocale: _.value,
191
- messages: m.value,
192
- modifiers: J,
193
- pluralRules: K,
194
- missing: k === null ? void 0 : k,
195
- missingWarn: v,
196
- fallbackWarn: T,
197
- fallbackFormat: O,
198
- unresolving: !0,
199
- postTranslation: M === null ? void 0 : M,
200
- warnHtmlMessage: B,
201
- escapeParameter: X,
202
- messageResolver: e.messageResolver,
203
- messageCompiler: e.messageCompiler,
204
- __meta: { framework: "vue" }
205
- };
206
- s.datetimeFormats = E.value, s.numberFormats = f.value, s.__datetimeFormatters = h(u) ? u.__datetimeFormatters : void 0, s.__numberFormatters = h(u) ? u.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (s.__v_emitter = h(u) ? u.__v_emitter : void 0);
207
- const i = Xt(s);
208
- return n && Me(i), i;
209
- })(), z(u, c.value, _.value);
210
- function ge() {
211
- return [
212
- c.value,
213
- _.value,
214
- m.value,
215
- E.value,
216
- f.value
217
- ];
218
- }
219
- const dt = q({
220
- get: () => c.value,
221
- set: (s) => {
222
- u.locale = s, c.value = s;
223
- }
224
- }), bt = q({
225
- get: () => _.value,
226
- set: (s) => {
227
- u.fallbackLocale = s, _.value = s, z(u, c.value, s);
228
- }
229
- }), vt = q(() => m.value), It = /* @__PURE__ */ q(() => E.value), pt = /* @__PURE__ */ q(() => f.value);
230
- function Nt() {
231
- return x(M) ? M : null;
232
- }
233
- function Tt(s) {
234
- M = s, u.postTranslation = s;
235
- }
236
- function Lt() {
237
- return V;
238
- }
239
- function Ot(s) {
240
- s !== null && (k = Je(s)), V = s, u.missing = k;
241
- }
242
- function ht(s, i) {
243
- return s !== "translate" || !i.resolvedMessage;
244
- }
245
- const U = (s, i, g, I, W, w) => {
246
- ge();
247
- let P;
248
- try {
249
- (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Kt(/* @__PURE__ */ Ra()), n || (u.fallbackContext = t ? zt() : void 0), P = s(u);
250
- } finally {
251
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (u.fallbackContext = void 0);
252
- }
253
- if (g !== "translate exists" && // for not `te` (e.g `t`)
254
- ee(P) && P === qt || g === "translate exists" && !P) {
255
- const [$, Bt] = i();
256
- if (process.env.NODE_ENV !== "production" && t && d($) && ht(g, Bt) && (L && (Qt(T, $) || Zt(v, $)) && ce(j(D.FALLBACK_TO_ROOT, {
257
- key: $,
258
- type: g
259
- })), process.env.NODE_ENV !== "production")) {
260
- const { __v_emitter: Se } = u;
261
- Se && L && Se.emit("fallback", {
262
- type: g,
263
- key: $,
264
- to: "global",
265
- groupId: `${g}:${$}`
266
- });
267
- }
268
- return t && L ? I(t) : W($);
269
- } else {
270
- if (w(P))
271
- return P;
272
- throw F(b.UNEXPECTED_RETURN_TYPE);
273
- }
274
- };
275
- function De(...s) {
276
- return U((i) => Reflect.apply(We, null, [i, ...s]), () => Ue(...s), "translate", (i) => Reflect.apply(i.t, i, [...s]), (i) => i, (i) => d(i));
277
- }
278
- function Ft(...s) {
279
- const [i, g, I] = s;
280
- if (I && !R(I))
281
- throw F(b.INVALID_ARGUMENT);
282
- return De(i, g, S({ resolvedMessage: !0 }, I || {}));
283
- }
284
- function Rt(...s) {
285
- return U((i) => Reflect.apply(xe, null, [i, ...s]), () => $e(...s), "datetime format", (i) => Reflect.apply(i.d, i, [...s]), () => we, (i) => d(i) || C(i));
286
- }
287
- function kt(...s) {
288
- return U((i) => Reflect.apply(He, null, [i, ...s]), () => Ge(...s), "number format", (i) => Reflect.apply(i.n, i, [...s]), () => we, (i) => d(i) || C(i));
289
- }
290
- function Pt(s) {
291
- return s.map((i) => d(i) || ee(i) || N(i) ? Ye(String(i)) : i);
292
- }
293
- const Ct = {
294
- normalize: Pt,
295
- interpolate: (s) => s,
296
- type: "vnode"
297
- };
298
- function Dt(...s) {
299
- return U((i) => {
300
- let g;
301
- const I = i;
302
- try {
303
- I.processor = Ct, g = Reflect.apply(We, null, [I, ...s]);
304
- } finally {
305
- I.processor = null;
306
- }
307
- return g;
308
- }, () => Ue(...s), "translate", (i) => i[Ie](...s), (i) => [Ye(i)], (i) => C(i));
309
- }
310
- function At(...s) {
311
- return U((i) => Reflect.apply(He, null, [i, ...s]), () => Ge(...s), "number format", (i) => i[Ne](...s), Be, (i) => d(i) || C(i));
312
- }
313
- function St(...s) {
314
- return U((i) => Reflect.apply(xe, null, [i, ...s]), () => $e(...s), "datetime format", (i) => i[pe](...s), Be, (i) => d(i) || C(i));
315
- }
316
- function yt(s) {
317
- K = s, u.pluralRules = K;
318
- }
319
- function Vt(s, i) {
320
- return U(() => {
321
- if (!s)
322
- return !1;
323
- const g = d(i) ? i : c.value, I = d(i) ? [g] : be(u, _.value, g);
324
- for (let W = 0; W < I.length; W++) {
325
- const w = Ae(I[W]);
326
- let P = u.messageResolver(w, s);
327
- if (P === null && (P = w[s]), Z(P) || ta(P) || d(P))
328
- return !0;
329
- }
330
- return !1;
331
- }, () => [s], "translate exists", (g) => Reflect.apply(g.te, g, [s, i]), Fa, (g) => N(g));
332
- }
333
- function Mt(s) {
334
- let i = null;
335
- const g = be(u, _.value, c.value);
336
- for (let I = 0; I < g.length; I++) {
337
- const W = m.value[g[I]] || {}, w = u.messageResolver(W, s);
338
- if (w != null) {
339
- i = w;
340
- break;
341
- }
342
- }
343
- return i;
344
- }
345
- function Ut(s) {
346
- const i = Mt(s);
347
- return i ?? (t ? t.tm(s) || {} : {});
348
- }
349
- function Ae(s) {
350
- return m.value[s] || {};
351
- }
352
- function Wt(s, i) {
353
- if (a) {
354
- const g = { [s]: i };
355
- for (const I in g)
356
- ie(g, I) && ae(g[I]);
357
- i = g[s];
358
- }
359
- m.value[s] = i, u.messages = m.value;
360
- }
361
- function wt(s, i) {
362
- m.value[s] = m.value[s] || {};
363
- const g = { [s]: i };
364
- if (a)
365
- for (const I in g)
366
- ie(g, I) && ae(g[I]);
367
- i = g[s], re(i, m.value[s]), u.messages = m.value;
368
- }
369
- function $t(s) {
370
- return E.value[s] || {};
371
- }
372
- function xt(s, i) {
373
- E.value[s] = i, u.datetimeFormats = E.value, ye(u, s, i);
374
- }
375
- function Gt(s, i) {
376
- E.value[s] = S(E.value[s] || {}, i), u.datetimeFormats = E.value, ye(u, s, i);
377
- }
378
- function Ht(s) {
379
- return f.value[s] || {};
380
- }
381
- function Yt(s, i) {
382
- f.value[s] = i, u.numberFormats = f.value, Ve(u, s, i);
383
- }
384
- function jt(s, i) {
385
- f.value[s] = S(f.value[s] || {}, i), u.numberFormats = f.value, Ve(u, s, i);
386
- }
387
- Xe++, t && oe && (ve(t.locale, (s) => {
388
- l && (c.value = s, u.locale = s, z(u, c.value, _.value));
389
- }), ve(t.fallbackLocale, (s) => {
390
- l && (_.value = s, u.fallbackLocale = s, z(u, c.value, _.value));
391
- }));
392
- const p = {
393
- id: Xe,
394
- locale: dt,
395
- fallbackLocale: bt,
396
- get inheritLocale() {
397
- return l;
398
- },
399
- set inheritLocale(s) {
400
- l = s, s && t && (c.value = t.locale.value, _.value = t.fallbackLocale.value, z(u, c.value, _.value));
401
- },
402
- get availableLocales() {
403
- return Object.keys(m.value).sort();
404
- },
405
- messages: vt,
406
- get modifiers() {
407
- return J;
408
- },
409
- get pluralRules() {
410
- return K || {};
411
- },
412
- get isGlobal() {
413
- return n;
414
- },
415
- get missingWarn() {
416
- return v;
417
- },
418
- set missingWarn(s) {
419
- v = s, u.missingWarn = v;
420
- },
421
- get fallbackWarn() {
422
- return T;
423
- },
424
- set fallbackWarn(s) {
425
- T = s, u.fallbackWarn = T;
426
- },
427
- get fallbackRoot() {
428
- return L;
429
- },
430
- set fallbackRoot(s) {
431
- L = s;
432
- },
433
- get fallbackFormat() {
434
- return O;
435
- },
436
- set fallbackFormat(s) {
437
- O = s, u.fallbackFormat = O;
438
- },
439
- get warnHtmlMessage() {
440
- return B;
441
- },
442
- set warnHtmlMessage(s) {
443
- B = s, u.warnHtmlMessage = s;
444
- },
445
- get escapeParameter() {
446
- return X;
447
- },
448
- set escapeParameter(s) {
449
- X = s, u.escapeParameter = s;
450
- },
451
- t: De,
452
- getLocaleMessage: Ae,
453
- setLocaleMessage: Wt,
454
- mergeLocaleMessage: wt,
455
- getPostTranslationHandler: Nt,
456
- setPostTranslationHandler: Tt,
457
- getMissingHandler: Lt,
458
- setMissingHandler: Ot,
459
- [rt]: yt
460
- };
461
- return p.datetimeFormats = It, p.numberFormats = pt, p.rt = Ft, p.te = Vt, p.tm = Ut, p.d = Rt, p.n = kt, p.getDateTimeFormat = $t, p.setDateTimeFormat = xt, p.mergeDateTimeFormat = Gt, p.getNumberFormat = Ht, p.setNumberFormat = Yt, p.mergeNumberFormat = jt, p[lt] = r, p[Ie] = Dt, p[pe] = St, p[Ne] = At, process.env.NODE_ENV !== "production" && (p[G] = (s) => {
462
- u.__v_emitter = s;
463
- }, p[te] = () => {
464
- u.__v_emitter = void 0;
465
- }), p;
466
- }
467
- const ct = "vue-i18n: composer properties", de = {
468
- "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
469
- "vue-i18n-resource-inspector": "Vue I18n DevTools",
470
- "vue-i18n-timeline": "Vue I18n"
471
- }, ka = {
472
- "vue-i18n-resource-inspector": "Search for scopes ..."
473
- }, Pa = {
474
- "vue-i18n-timeline": 16764185
475
- };
476
- let Le;
477
- async function Ca(e, t) {
478
- return new Promise((r, n) => {
479
- try {
480
- Na({
481
- id: "vue-devtools-plugin-vue-i18n",
482
- label: de["vue-devtools-plugin-vue-i18n"],
483
- packageName: "vue-i18n",
484
- homepage: "https://vue-i18n.intlify.dev",
485
- logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
486
- componentStateTypes: [ct],
487
- app: e
488
- // eslint-disable-line @typescript-eslint/no-explicit-any
489
- }, (a) => {
490
- Le = a, a.on.visitComponentTree(({ componentInstance: l, treeNode: c }) => {
491
- Da(l, c, t);
492
- }), a.on.inspectComponent(({ componentInstance: l, instanceData: c }) => {
493
- l.__VUE_I18N__ && c && (t.mode === "legacy" ? l.__VUE_I18N__ !== t.global.__composer && Ke(c, l.__VUE_I18N__) : Ke(c, l.__VUE_I18N__));
494
- }), a.addInspector({
495
- id: "vue-i18n-resource-inspector",
496
- label: de["vue-i18n-resource-inspector"],
497
- icon: "language",
498
- treeFilterPlaceholder: ka["vue-i18n-resource-inspector"]
499
- }), a.on.getInspectorTree((l) => {
500
- l.app === e && l.inspectorId === "vue-i18n-resource-inspector" && Ma(l, t);
501
- });
502
- const o = /* @__PURE__ */ new Map();
503
- a.on.getInspectorState(async (l) => {
504
- if (l.app === e && l.inspectorId === "vue-i18n-resource-inspector")
505
- if (a.unhighlightElement(), Wa(l, t), l.nodeId === "global") {
506
- if (!o.has(l.app)) {
507
- const [c] = await a.getComponentInstances(l.app);
508
- o.set(l.app, c);
509
- }
510
- a.highlightElement(o.get(l.app));
511
- } else {
512
- const c = Ua(l.nodeId, t);
513
- c && a.highlightElement(c);
514
- }
515
- }), a.on.editInspectorState((l) => {
516
- l.app === e && l.inspectorId === "vue-i18n-resource-inspector" && $a(l, t);
517
- }), a.addTimelineLayer({
518
- id: "vue-i18n-timeline",
519
- label: de["vue-i18n-timeline"],
520
- color: Pa["vue-i18n-timeline"]
521
- }), r(!0);
522
- });
523
- } catch (a) {
524
- console.error(a), n(!1);
525
- }
526
- });
527
- }
528
- function ut(e) {
529
- return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
530
- }
531
- function Da(e, t, r) {
532
- const n = r.mode === "composition" ? r.global : r.global.__composer;
533
- if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== n) {
534
- const a = {
535
- label: `i18n (${ut(e)} Scope)`,
536
- textColor: 0,
537
- backgroundColor: 16764185
538
- };
539
- t.tags.push(a);
540
- }
541
- }
542
- function Ke(e, t) {
543
- const r = ct;
544
- e.state.push({
545
- type: r,
546
- key: "locale",
547
- editable: !0,
548
- value: t.locale.value
549
- }), e.state.push({
550
- type: r,
551
- key: "availableLocales",
552
- editable: !1,
553
- value: t.availableLocales
554
- }), e.state.push({
555
- type: r,
556
- key: "fallbackLocale",
557
- editable: !0,
558
- value: t.fallbackLocale.value
559
- }), e.state.push({
560
- type: r,
561
- key: "inheritLocale",
562
- editable: !0,
563
- value: t.inheritLocale
564
- }), e.state.push({
565
- type: r,
566
- key: "messages",
567
- editable: !1,
568
- value: Pe(t.messages.value)
569
- }), e.state.push({
570
- type: r,
571
- key: "datetimeFormats",
572
- editable: !1,
573
- value: t.datetimeFormats.value
574
- }), e.state.push({
575
- type: r,
576
- key: "numberFormats",
577
- editable: !1,
578
- value: t.numberFormats.value
579
- });
580
- }
581
- function Pe(e) {
582
- const t = {};
583
- return Object.keys(e).forEach((r) => {
584
- const n = e[r];
585
- x(n) && "source" in n ? t[r] = Va(n) : Z(n) && n.loc && n.loc.source ? t[r] = n.loc.source : R(n) ? t[r] = Pe(n) : t[r] = n;
586
- }), t;
587
- }
588
- const Aa = {
589
- "<": "&lt;",
590
- ">": "&gt;",
591
- '"': "&quot;",
592
- "&": "&amp;"
593
- };
594
- function Sa(e) {
595
- return e.replace(/[<>"&]/g, ya);
596
- }
597
- function ya(e) {
598
- return Aa[e] || e;
599
- }
600
- function Va(e) {
601
- return {
602
- _custom: {
603
- type: "function",
604
- display: `<span>ƒ</span> ${e.source ? `("${Sa(e.source)}")` : "(?)"}`
605
- }
606
- };
607
- }
608
- function Ma(e, t) {
609
- e.rootNodes.push({
610
- id: "global",
611
- label: "Global Scope"
612
- });
613
- const r = t.mode === "composition" ? t.global : t.global.__composer;
614
- for (const [n, a] of t.__instances) {
615
- const o = t.mode === "composition" ? a : a.__composer;
616
- r !== o && e.rootNodes.push({
617
- id: o.id.toString(),
618
- label: `${ut(n)} Scope`
619
- });
620
- }
621
- }
622
- function Ua(e, t) {
623
- let r = null;
624
- if (e !== "global") {
625
- for (const [n, a] of t.__instances.entries())
626
- if (a.id.toString() === e) {
627
- r = n;
628
- break;
629
- }
630
- }
631
- return r;
632
- }
633
- function _t(e, t) {
634
- if (e === "global")
635
- return t.mode === "composition" ? t.global : t.global.__composer;
636
- {
637
- const r = Array.from(t.__instances.values()).find((n) => n.id.toString() === e);
638
- return r ? t.mode === "composition" ? r : r.__composer : null;
639
- }
640
- }
641
- function Wa(e, t) {
642
- const r = _t(e.nodeId, t);
643
- return r && (e.state = wa(r)), null;
644
- }
645
- function wa(e) {
646
- const t = {}, r = "Locale related info", n = [
647
- {
648
- type: r,
649
- key: "locale",
650
- editable: !0,
651
- value: e.locale.value
652
- },
653
- {
654
- type: r,
655
- key: "fallbackLocale",
656
- editable: !0,
657
- value: e.fallbackLocale.value
658
- },
659
- {
660
- type: r,
661
- key: "availableLocales",
662
- editable: !1,
663
- value: e.availableLocales
664
- },
665
- {
666
- type: r,
667
- key: "inheritLocale",
668
- editable: !0,
669
- value: e.inheritLocale
670
- }
671
- ];
672
- t[r] = n;
673
- const a = "Locale messages info", o = [
674
- {
675
- type: a,
676
- key: "messages",
677
- editable: !1,
678
- value: Pe(e.messages.value)
679
- }
680
- ];
681
- t[a] = o;
682
- {
683
- const l = "Datetime formats info", c = [
684
- {
685
- type: l,
686
- key: "datetimeFormats",
687
- editable: !1,
688
- value: e.datetimeFormats.value
689
- }
690
- ];
691
- t[l] = c;
692
- const _ = "Datetime formats info", m = [
693
- {
694
- type: _,
695
- key: "numberFormats",
696
- editable: !1,
697
- value: e.numberFormats.value
698
- }
699
- ];
700
- t[_] = m;
701
- }
702
- return t;
703
- }
704
- function ne(e, t) {
705
- if (Le) {
706
- let r;
707
- t && "groupId" in t && (r = t.groupId, delete t.groupId), Le.addTimelineEvent({
708
- layerId: "vue-i18n-timeline",
709
- event: {
710
- title: e,
711
- groupId: r,
712
- time: Date.now(),
713
- meta: {},
714
- data: t || {},
715
- logType: e === "compile-error" ? "error" : e === "fallback" || e === "missing" ? "warning" : "default"
716
- }
717
- });
718
- }
719
- }
720
- function $a(e, t) {
721
- const r = _t(e.nodeId, t);
722
- if (r) {
723
- const [n] = e.path;
724
- n === "locale" && d(e.state.value) ? r.locale.value = e.state.value : n === "fallbackLocale" && (d(e.state.value) || C(e.state.value) || R(e.state.value)) ? r.fallbackLocale.value = e.state.value : n === "inheritLocale" && N(e.state.value) && (r.inheritLocale = e.state.value);
725
- }
726
- }
727
- function xa(e) {
728
- const t = d(e.locale) ? e.locale : et, r = d(e.fallbackLocale) || C(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = x(e.missing) ? e.missing : void 0, a = N(e.silentTranslationWarn) || le(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = N(e.silentFallbackWarn) || le(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, l = N(e.fallbackRoot) ? e.fallbackRoot : !0, c = !!e.formatFallbackMessages, _ = h(e.modifiers) ? e.modifiers : {}, m = e.pluralizationRules, E = x(e.postTranslation) ? e.postTranslation : void 0, f = d(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, v = !!e.escapeParameterHtml, T = N(e.sync) ? e.sync : !0;
729
- let L = e.messages;
730
- if (h(e.sharedMessages)) {
731
- const J = e.sharedMessages;
732
- L = Object.keys(J).reduce((u, se) => {
733
- const ge = u[se] || (u[se] = {});
734
- return S(ge, J[se]), u;
735
- }, L || {});
736
- }
737
- const { __i18n: O, __root: V, __injectWithOption: k } = e, M = e.datetimeFormats, B = e.numberFormats, X = e.flatJson;
738
- return {
739
- locale: t,
740
- fallbackLocale: r,
741
- messages: L,
742
- flatJson: X,
743
- datetimeFormats: M,
744
- numberFormats: B,
745
- missing: n,
746
- missingWarn: a,
747
- fallbackWarn: o,
748
- fallbackRoot: l,
749
- fallbackFormat: c,
750
- modifiers: _,
751
- pluralRules: m,
752
- postTranslation: E,
753
- warnHtmlMessage: f,
754
- escapeParameter: v,
755
- messageResolver: e.messageResolver,
756
- inheritLocale: T,
757
- __i18n: O,
758
- __root: V,
759
- __injectWithOption: k
760
- };
761
- }
762
- function Oe(e = {}) {
763
- const t = ke(xa(e)), { __extender: r } = e, n = {
764
- // id
765
- id: t.id,
766
- // locale
767
- get locale() {
768
- return t.locale.value;
769
- },
770
- set locale(a) {
771
- t.locale.value = a;
772
- },
773
- // fallbackLocale
774
- get fallbackLocale() {
775
- return t.fallbackLocale.value;
776
- },
777
- set fallbackLocale(a) {
778
- t.fallbackLocale.value = a;
779
- },
780
- // messages
781
- get messages() {
782
- return t.messages.value;
783
- },
784
- // datetimeFormats
785
- get datetimeFormats() {
786
- return t.datetimeFormats.value;
787
- },
788
- // numberFormats
789
- get numberFormats() {
790
- return t.numberFormats.value;
791
- },
792
- // availableLocales
793
- get availableLocales() {
794
- return t.availableLocales;
795
- },
796
- // missing
797
- get missing() {
798
- return t.getMissingHandler();
799
- },
800
- set missing(a) {
801
- t.setMissingHandler(a);
802
- },
803
- // silentTranslationWarn
804
- get silentTranslationWarn() {
805
- return N(t.missingWarn) ? !t.missingWarn : t.missingWarn;
806
- },
807
- set silentTranslationWarn(a) {
808
- t.missingWarn = N(a) ? !a : a;
809
- },
810
- // silentFallbackWarn
811
- get silentFallbackWarn() {
812
- return N(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
813
- },
814
- set silentFallbackWarn(a) {
815
- t.fallbackWarn = N(a) ? !a : a;
816
- },
817
- // modifiers
818
- get modifiers() {
819
- return t.modifiers;
820
- },
821
- // formatFallbackMessages
822
- get formatFallbackMessages() {
823
- return t.fallbackFormat;
824
- },
825
- set formatFallbackMessages(a) {
826
- t.fallbackFormat = a;
827
- },
828
- // postTranslation
829
- get postTranslation() {
830
- return t.getPostTranslationHandler();
831
- },
832
- set postTranslation(a) {
833
- t.setPostTranslationHandler(a);
834
- },
835
- // sync
836
- get sync() {
837
- return t.inheritLocale;
838
- },
839
- set sync(a) {
840
- t.inheritLocale = a;
841
- },
842
- // warnInHtmlMessage
843
- get warnHtmlInMessage() {
844
- return t.warnHtmlMessage ? "warn" : "off";
845
- },
846
- set warnHtmlInMessage(a) {
847
- t.warnHtmlMessage = a !== "off";
848
- },
849
- // escapeParameterHtml
850
- get escapeParameterHtml() {
851
- return t.escapeParameter;
852
- },
853
- set escapeParameterHtml(a) {
854
- t.escapeParameter = a;
855
- },
856
- // pluralizationRules
857
- get pluralizationRules() {
858
- return t.pluralRules || {};
859
- },
860
- // for internal
861
- __composer: t,
862
- // t
863
- t(...a) {
864
- return Reflect.apply(t.t, t, [...a]);
865
- },
866
- // rt
867
- rt(...a) {
868
- return Reflect.apply(t.rt, t, [...a]);
869
- },
870
- // te
871
- te(a, o) {
872
- return t.te(a, o);
873
- },
874
- // tm
875
- tm(a) {
876
- return t.tm(a);
877
- },
878
- // getLocaleMessage
879
- getLocaleMessage(a) {
880
- return t.getLocaleMessage(a);
881
- },
882
- // setLocaleMessage
883
- setLocaleMessage(a, o) {
884
- t.setLocaleMessage(a, o);
885
- },
886
- // mergeLocaleMessage
887
- mergeLocaleMessage(a, o) {
888
- t.mergeLocaleMessage(a, o);
889
- },
890
- // d
891
- d(...a) {
892
- return Reflect.apply(t.d, t, [...a]);
893
- },
894
- // getDateTimeFormat
895
- getDateTimeFormat(a) {
896
- return t.getDateTimeFormat(a);
897
- },
898
- // setDateTimeFormat
899
- setDateTimeFormat(a, o) {
900
- t.setDateTimeFormat(a, o);
901
- },
902
- // mergeDateTimeFormat
903
- mergeDateTimeFormat(a, o) {
904
- t.mergeDateTimeFormat(a, o);
905
- },
906
- // n
907
- n(...a) {
908
- return Reflect.apply(t.n, t, [...a]);
909
- },
910
- // getNumberFormat
911
- getNumberFormat(a) {
912
- return t.getNumberFormat(a);
913
- },
914
- // setNumberFormat
915
- setNumberFormat(a, o) {
916
- t.setNumberFormat(a, o);
917
- },
918
- // mergeNumberFormat
919
- mergeNumberFormat(a, o) {
920
- t.mergeNumberFormat(a, o);
921
- }
922
- };
923
- return n.__extender = r, process.env.NODE_ENV !== "production" && (n.__enableEmitter = (a) => {
924
- const o = t;
925
- o[G] && o[G](a);
926
- }, n.__disableEmitter = () => {
927
- const a = t;
928
- a[te] && a[te]();
929
- }), n;
930
- }
931
- function Ga(e, t, r) {
932
- return {
933
- beforeCreate() {
934
- const n = Y();
935
- if (!n)
936
- throw F(b.UNEXPECTED_ERROR);
937
- const a = this.$options;
938
- if (a.i18n) {
939
- const o = a.i18n;
940
- if (a.__i18n && (o.__i18n = a.__i18n), o.__root = t, this === this.$root)
941
- this.$i18n = ze(e, o);
942
- else {
943
- o.__injectWithOption = !0, o.__extender = r.__vueI18nExtend, this.$i18n = Oe(o);
944
- const l = this.$i18n;
945
- l.__extender && (l.__disposer = l.__extender(this.$i18n));
946
- }
947
- } else if (a.__i18n)
948
- if (this === this.$root)
949
- this.$i18n = ze(e, a);
950
- else {
951
- this.$i18n = Oe({
952
- __i18n: a.__i18n,
953
- __injectWithOption: !0,
954
- __extender: r.__vueI18nExtend,
955
- __root: t
956
- });
957
- const o = this.$i18n;
958
- o.__extender && (o.__disposer = o.__extender(this.$i18n));
959
- }
960
- else
961
- this.$i18n = e;
962
- a.__i18nGlobal && it(t, a, a), this.$t = (...o) => this.$i18n.t(...o), this.$rt = (...o) => this.$i18n.rt(...o), this.$te = (o, l) => this.$i18n.te(o, l), this.$d = (...o) => this.$i18n.d(...o), this.$n = (...o) => this.$i18n.n(...o), this.$tm = (o) => this.$i18n.tm(o), r.__setInstance(n, this.$i18n);
963
- },
964
- mounted() {
965
- if (process.env.NODE_ENV !== "production" && this.$i18n) {
966
- const n = Y();
967
- if (!n)
968
- return;
969
- const a = this.$i18n;
970
- n.__VUE_I18N__ = a.__composer;
971
- const o = this.__v_emitter = he();
972
- a.__enableEmitter && a.__enableEmitter(o), o.on("*", ne);
973
- }
974
- },
975
- unmounted() {
976
- const n = Y();
977
- if (!n)
978
- throw F(b.UNEXPECTED_ERROR);
979
- const a = this.$i18n;
980
- process.env.NODE_ENV !== "production" && n.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", ne), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete n.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), r.__deleteInstance(n), delete this.$i18n;
981
- }
982
- };
983
- }
984
- function ze(e, t) {
985
- e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[rt](t.pluralizationRules || e.pluralizationRules);
986
- const r = Re(e.locale, {
987
- messages: t.messages,
988
- __i18n: t.__i18n
989
- });
990
- return Object.keys(r).forEach((n) => e.mergeLocaleMessage(n, r[n])), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((n) => e.mergeDateTimeFormat(n, t.datetimeFormats[n])), t.numberFormats && Object.keys(t.numberFormats).forEach((n) => e.mergeNumberFormat(n, t.numberFormats[n])), e;
991
- }
992
- const Ce = {
993
- tag: {
994
- type: [String, Object]
995
- },
996
- locale: {
997
- type: String
998
- },
999
- scope: {
1000
- type: String,
1001
- // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
1002
- validator: (e) => e === "parent" || e === "global",
1003
- default: "parent"
1004
- /* ComponentI18nScope */
1005
- },
1006
- i18n: {
1007
- type: Object
1008
- }
1009
- };
1010
- function Ha({ slots: e }, t) {
1011
- return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((n, a) => [
1012
- ...n,
1013
- // prettier-ignore
1014
- ...a.type === nt ? a.children : [a]
1015
- ], []) : t.reduce((r, n) => {
1016
- const a = e[n];
1017
- return a && (r[n] = a()), r;
1018
- }, A());
1019
- }
1020
- function mt() {
1021
- return nt;
1022
- }
1023
- const Ya = /* @__PURE__ */ Fe({
1024
- /* eslint-disable */
1025
- name: "i18n-t",
1026
- props: S({
1027
- keypath: {
1028
- type: String,
1029
- required: !0
1030
- },
1031
- plural: {
1032
- type: [Number, String],
1033
- validator: (e) => ee(e) || !isNaN(e)
1034
- }
1035
- }, Ce),
1036
- /* eslint-enable */
1037
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1038
- setup(e, t) {
1039
- const { slots: r, attrs: n } = t, a = e.i18n || fe({
1040
- useScope: e.scope,
1041
- __useComponent: !0
1042
- });
1043
- return () => {
1044
- const o = Object.keys(r).filter((f) => f[0] !== "_"), l = A();
1045
- e.locale && (l.locale = e.locale), e.plural !== void 0 && (l.plural = d(e.plural) ? +e.plural : e.plural);
1046
- const c = Ha(t, o), _ = a[Ie](e.keypath, c, l), m = S(A(), n), E = d(e.tag) || R(e.tag) ? e.tag : mt();
1047
- return at(E, m, _);
1048
- };
1049
- }
1050
- }), ue = Ya, ja = ue;
1051
- function Ba(e) {
1052
- return C(e) && !d(e[0]);
1053
- }
1054
- function ft(e, t, r, n) {
1055
- const { slots: a, attrs: o } = t;
1056
- return () => {
1057
- const l = { part: !0 };
1058
- let c = A();
1059
- e.locale && (l.locale = e.locale), d(e.format) ? l.key = e.format : R(e.format) && (d(e.format.key) && (l.key = e.format.key), c = Object.keys(e.format).reduce((v, T) => r.includes(T) ? S(A(), v, { [T]: e.format[T] }) : v, A()));
1060
- const _ = n(e.value, l, c);
1061
- let m = [l.key];
1062
- C(_) ? m = _.map((v, T) => {
1063
- const L = a[v.type], O = L ? L({ [v.type]: v.value, index: T, parts: _ }) : [v.value];
1064
- return Ba(O) && (O[0].key = `${v.type}-${T}`), O;
1065
- }) : d(_) && (m = [_]);
1066
- const E = S(A(), o), f = d(e.tag) || R(e.tag) ? e.tag : mt();
1067
- return at(f, E, m);
1068
- };
1069
- }
1070
- const Xa = /* @__PURE__ */ Fe({
1071
- /* eslint-disable */
1072
- name: "i18n-n",
1073
- props: S({
1074
- value: {
1075
- type: Number,
1076
- required: !0
1077
- },
1078
- format: {
1079
- type: [String, Object]
1080
- }
1081
- }, Ce),
1082
- /* eslint-enable */
1083
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1084
- setup(e, t) {
1085
- const r = e.i18n || fe({
1086
- useScope: e.scope,
1087
- __useComponent: !0
1088
- });
1089
- return ft(e, t, aa, (...n) => (
1090
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1091
- r[Ne](...n)
1092
- ));
1093
- }
1094
- }), _e = Xa, Ja = _e;
1095
- function Ka(e, t) {
1096
- const r = e;
1097
- if (e.mode === "composition")
1098
- return r.__getInstance(t) || e.global;
1099
- {
1100
- const n = r.__getInstance(t);
1101
- return n != null ? n.__composer : e.global.__composer;
1102
- }
1103
- }
1104
- function gt(e) {
1105
- const t = (l) => {
1106
- process.env.NODE_ENV !== "production" && tt(j(D.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
1107
- const { instance: c, value: _ } = l;
1108
- if (!c || !c.$)
1109
- throw F(b.UNEXPECTED_ERROR);
1110
- const m = Ka(e, c.$), E = qe(_);
1111
- return [
1112
- Reflect.apply(m.t, m, [...Qe(E)]),
1113
- m
1114
- ];
1115
- };
1116
- return {
1117
- created: (l, c) => {
1118
- const [_, m] = t(c);
1119
- oe && (l.__i18nWatcher = ve(m.locale, () => {
1120
- c.instance && c.instance.$forceUpdate();
1121
- })), l.__composer = m, l.textContent = _;
1122
- },
1123
- unmounted: (l) => {
1124
- oe && l.__i18nWatcher && (l.__i18nWatcher(), l.__i18nWatcher = void 0, delete l.__i18nWatcher), l.__composer && (l.__composer = void 0, delete l.__composer);
1125
- },
1126
- beforeUpdate: (l, { value: c }) => {
1127
- if (l.__composer) {
1128
- const _ = l.__composer, m = qe(c);
1129
- l.textContent = Reflect.apply(_.t, _, [
1130
- ...Qe(m)
1131
- ]);
1132
- }
1133
- },
1134
- getSSRProps: (l) => {
1135
- const [c] = t(l);
1136
- return { textContent: c };
1137
- }
1138
- };
1139
- }
1140
- function qe(e) {
1141
- if (d(e))
1142
- return { path: e };
1143
- if (h(e)) {
1144
- if (!("path" in e))
1145
- throw F(b.REQUIRED_VALUE, "path");
1146
- return e;
1147
- } else
1148
- throw F(b.INVALID_VALUE);
1149
- }
1150
- function Qe(e) {
1151
- const { path: t, locale: r, args: n, choice: a, plural: o } = e, l = {}, c = n || {};
1152
- return d(r) && (l.locale = r), ee(a) && (l.plural = a), ee(o) && (l.plural = o), [t, c, l];
1153
- }
1154
- function za(e, t, ...r) {
1155
- const n = h(r[0]) ? r[0] : {};
1156
- (N(n.globalInstall) ? n.globalInstall : !0) && ([ue.name, "I18nT"].forEach((o) => e.component(o, ue)), [_e.name, "I18nN"].forEach((o) => e.component(o, _e)), [me.name, "I18nD"].forEach((o) => e.component(o, me))), e.directive("t", gt(t));
1157
- }
1158
- const Et = /* @__PURE__ */ y("global-vue-i18n");
1159
- function qa(e = {}) {
1160
- const t = __VUE_I18N_LEGACY_API__ && N(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
1161
- process.env.NODE_ENV !== "production" && t && tt(j(D.DEPRECATE_LEGACY_MODE));
1162
- const r = N(e.globalInjection) ? e.globalInjection : !0, n = /* @__PURE__ */ new Map(), [a, o] = Qa(e, t), l = /* @__PURE__ */ y(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1163
- function c(f) {
1164
- return n.get(f) || null;
1165
- }
1166
- function _(f, v) {
1167
- n.set(f, v);
1168
- }
1169
- function m(f) {
1170
- n.delete(f);
1171
- }
1172
- const E = {
1173
- // mode
1174
- get mode() {
1175
- return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
1176
- },
1177
- // install plugin
1178
- async install(f, ...v) {
1179
- if (process.env.NODE_ENV !== "production" && (f.__VUE_I18N__ = E), f.__VUE_I18N_SYMBOL__ = l, f.provide(f.__VUE_I18N_SYMBOL__, E), h(v[0])) {
1180
- const O = v[0];
1181
- E.__composerExtend = O.__composerExtend, E.__vueI18nExtend = O.__vueI18nExtend;
1182
- }
1183
- let T = null;
1184
- !t && r && (T = ln(f, E.global)), __VUE_I18N_FULL_INSTALL__ && za(f, E, ...v), __VUE_I18N_LEGACY_API__ && t && f.mixin(Ga(o, o.__composer, E));
1185
- const L = f.unmount;
1186
- if (f.unmount = () => {
1187
- T && T(), E.dispose(), L();
1188
- }, process.env.NODE_ENV !== "production") {
1189
- if (!await Ca(f, E))
1190
- throw F(b.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1191
- const V = he();
1192
- if (t) {
1193
- const k = o;
1194
- k.__enableEmitter && k.__enableEmitter(V);
1195
- } else {
1196
- const k = o;
1197
- k[G] && k[G](V);
1198
- }
1199
- V.on("*", ne);
1200
- }
1201
- },
1202
- // global accessor
1203
- get global() {
1204
- return o;
1205
- },
1206
- dispose() {
1207
- a.stop();
1208
- },
1209
- // @internal
1210
- __instances: n,
1211
- // @internal
1212
- __getInstance: c,
1213
- // @internal
1214
- __setInstance: _,
1215
- // @internal
1216
- __deleteInstance: m
1217
- };
1218
- return E;
1219
- }
1220
- function fe(e = {}) {
1221
- const t = Y();
1222
- if (t == null)
1223
- throw F(b.MUST_BE_CALL_SETUP_TOP);
1224
- if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
1225
- throw F(b.NOT_INSTALLED);
1226
- const r = Za(t), n = tn(r), a = ot(t), o = en(e, a);
1227
- if (o === "global")
1228
- return it(n, e, a), n;
1229
- if (o === "parent") {
1230
- let _ = an(r, t, e.__useComponent);
1231
- return _ == null && (process.env.NODE_ENV !== "production" && ce(j(D.NOT_FOUND_PARENT_SCOPE)), _ = n), _;
1232
- }
1233
- const l = r;
1234
- let c = l.__getInstance(t);
1235
- if (c == null) {
1236
- const _ = S({}, e);
1237
- "__i18n" in a && (_.__i18n = a.__i18n), n && (_.__root = n), c = ke(_), l.__composerExtend && (c[Te] = l.__composerExtend(c)), sn(l, t, c), l.__setInstance(t, c);
1238
- } else
1239
- process.env.NODE_ENV !== "production" && o === "local" && ce(j(D.DUPLICATE_USE_I18N_CALLING));
1240
- return c;
1241
- }
1242
- function Qa(e, t) {
1243
- const r = ma(), n = __VUE_I18N_LEGACY_API__ && t ? r.run(() => Oe(e)) : r.run(() => ke(e));
1244
- if (n == null)
1245
- throw F(b.UNEXPECTED_ERROR);
1246
- return [r, n];
1247
- }
1248
- function Za(e) {
1249
- const t = da(e.isCE ? Et : e.appContext.app.__VUE_I18N_SYMBOL__);
1250
- if (!t)
1251
- throw F(e.isCE ? b.NOT_INSTALLED_WITH_PROVIDE : b.UNEXPECTED_ERROR);
1252
- return t;
1253
- }
1254
- function en(e, t) {
1255
- return _a(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
1256
- }
1257
- function tn(e) {
1258
- return e.mode === "composition" ? e.global : e.global.__composer;
1259
- }
1260
- function an(e, t, r = !1) {
1261
- let n = null;
1262
- const a = t.root;
1263
- let o = nn(t, r);
1264
- for (; o != null; ) {
1265
- const l = e;
1266
- if (e.mode === "composition")
1267
- n = l.__getInstance(o);
1268
- else if (__VUE_I18N_LEGACY_API__) {
1269
- const c = l.__getInstance(o);
1270
- c != null && (n = c.__composer, r && n && !n[lt] && (n = null));
1271
- }
1272
- if (n != null || a === o)
1273
- break;
1274
- o = o.parent;
1275
- }
1276
- return n;
1277
- }
1278
- function nn(e, t = !1) {
1279
- return e == null ? null : t && e.vnode.ctx || e.parent;
1280
- }
1281
- function sn(e, t, r) {
1282
- let n = null;
1283
- ba(() => {
1284
- if (process.env.NODE_ENV !== "production") {
1285
- t.__VUE_I18N__ = r, n = he();
1286
- const a = r;
1287
- a[G] && a[G](n), n.on("*", ne);
1288
- }
1289
- }, t), va(() => {
1290
- const a = r;
1291
- process.env.NODE_ENV !== "production" && (n && n.off("*", ne), a[te] && a[te](), delete t.__VUE_I18N__), e.__deleteInstance(t);
1292
- const o = a[Te];
1293
- o && (o(), delete a[Te]);
1294
- }, t);
1295
- }
1296
- const rn = [
1297
- "locale",
1298
- "fallbackLocale",
1299
- "availableLocales"
1300
- ], Ze = ["t", "rt", "d", "n", "tm", "te"];
1301
- function ln(e, t) {
1302
- const r = /* @__PURE__ */ Object.create(null);
1303
- return rn.forEach((a) => {
1304
- const o = Object.getOwnPropertyDescriptor(t, a);
1305
- if (!o)
1306
- throw F(b.UNEXPECTED_ERROR);
1307
- const l = fa(o.value) ? {
1308
- get() {
1309
- return o.value.value;
1310
- },
1311
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1312
- set(c) {
1313
- o.value.value = c;
1314
- }
1315
- } : {
1316
- get() {
1317
- return o.get && o.get();
1318
- }
1319
- };
1320
- Object.defineProperty(r, a, l);
1321
- }), e.config.globalProperties.$i18n = r, Ze.forEach((a) => {
1322
- const o = Object.getOwnPropertyDescriptor(t, a);
1323
- if (!o || !o.value)
1324
- throw F(b.UNEXPECTED_ERROR);
1325
- Object.defineProperty(e.config.globalProperties, `$${a}`, o);
1326
- }), () => {
1327
- delete e.config.globalProperties.$i18n, Ze.forEach((a) => {
1328
- delete e.config.globalProperties[`$${a}`];
1329
- });
1330
- };
1331
- }
1332
- const on = /* @__PURE__ */ Fe({
1333
- /* eslint-disable */
1334
- name: "i18n-d",
1335
- props: S({
1336
- value: {
1337
- type: [Number, Date],
1338
- required: !0
1339
- },
1340
- format: {
1341
- type: [String, Object]
1342
- }
1343
- }, Ce),
1344
- /* eslint-enable */
1345
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1346
- setup(e, t) {
1347
- const r = e.i18n || fe({
1348
- useScope: e.scope,
1349
- __useComponent: !0
1350
- });
1351
- return ft(e, t, na, (...n) => (
1352
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1353
- r[pe](...n)
1354
- ));
1355
- }
1356
- }), me = on, cn = me;
1357
- La();
1358
- sa(ia);
1359
- ra(ca);
1360
- la(be);
1361
- if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1362
- const e = Q();
1363
- e.__INTLIFY__ = !0, oa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1364
- }
1365
- process.env.NODE_ENV;
1366
- const bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1367
- __proto__: null,
1368
- DatetimeFormat: me,
1369
- I18nD: cn,
1370
- I18nInjectionKey: Et,
1371
- I18nN: Ja,
1372
- I18nT: ja,
1373
- NumberFormat: _e,
1374
- Translation: ue,
1375
- VERSION: st,
1376
- createI18n: qa,
1377
- useI18n: fe,
1378
- vTDirective: gt
1379
- }, Symbol.toStringTag, { value: "Module" })), un = "11.3.0", vn = {
1380
- version: un
1381
- };
1382
- export {
1383
- bn as V,
1384
- qa as c,
1385
- fe as u,
1386
- vn as v
1387
- };