@vc-shell/framework 2.0.0-alpha.0 → 2.0.0-alpha.2

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