halo-pc 1.0.23 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. package/dist/{Article-4S7jNdlM.js → Article-BNacU3kR.js} +67 -73
  2. package/dist/{ArticleFooter-DQs1A7g2.js → ArticleFooter-Ya07aLYn.js} +17 -23
  3. package/dist/Autocomplete-Bud53PPx.js +48 -0
  4. package/dist/Autocomplete-CfE5ZKi2.js +49 -0
  5. package/dist/{Autocomplete-BXwtzACg.js → Autocomplete-CyXE-g54.js} +1 -1
  6. package/dist/{CSharp-aXdVWxPS.js → CSharp-DQLgcbTQ.js} +1 -1
  7. package/dist/{Calender-DSckLCh-.js → Calender-YujFxcgS.js} +4 -4
  8. package/dist/Callback-BaFg5U2u.js +20 -0
  9. package/dist/Cascader-C1kyNib7.js +41 -0
  10. package/dist/Cascader-D5PO9zK9.js +81 -0
  11. package/dist/Checkbox-CUtyT8l7.js +70 -0
  12. package/dist/{Checkbox-DtNMPsX4.js → Checkbox-Dkqh7eR4.js} +1 -1
  13. package/dist/Code-C160-nQS.js +54 -0
  14. package/dist/Code-DXkJ6x5_.js +4 -0
  15. package/dist/{Code-B2jpV8ek.js → Code-Dszcah6J.js} +1 -1
  16. package/dist/Code-pe9JMCAj.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js +59 -0
  18. package/dist/Column-C3j98RGT.js +69 -0
  19. package/dist/Comment-DIrY0RiI.js +98 -0
  20. package/dist/Compare-5j7MYou6.js +38 -0
  21. package/dist/{Compare-DMDVEK_Q.js → Compare-DKLN4wT4.js} +18 -24
  22. package/dist/Copy-Go_1uhB5.js +43 -0
  23. package/dist/Custom-C00oYEFm.js +51 -0
  24. package/dist/{DataExport-CU9MMI6C.js → DataExport-CFjE1loi.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js → DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js} +36 -41
  26. package/dist/{DataImport-Dzq9P4hO.js → DataImport-BQ0rieu8.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js → DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js} +58 -62
  28. package/dist/{Date-BD5syhZL.js → Date-C5WCVXDU.js} +1 -1
  29. package/dist/Date-uHiOL-PD.js +37 -0
  30. package/dist/DateRange-B-HjKQpJ.js +57 -0
  31. package/dist/{DateTime-hLc--zka.js → DateTime-BrsWm90_.js} +1 -1
  32. package/dist/DateTime-D4Ck5hBj.js +38 -0
  33. package/dist/{DateTimeRange-CSRaF4s1.js → DateTimeRange-DjIp1SAX.js} +11 -17
  34. package/dist/Daterange-DiZUFL_F.js +57 -0
  35. package/dist/{Decimal-DY34o2Nh.js → Decimal-_6FobwTd.js} +1 -1
  36. package/dist/Delete-C46eSfMC.js +56 -0
  37. package/dist/{Detail-BYlDGKVP.js → Detail-BMbiENm0.js} +16 -21
  38. package/dist/Dictionary-Dga6kbof.js +55 -0
  39. package/dist/Email-PVk9gqfn.js +48 -0
  40. package/dist/{File-czipSVR0.js → File-B9Q2QOa-.js} +29 -34
  41. package/dist/Image-CzOq81lm.js +9 -0
  42. package/dist/{Index-CK25oTiA.js → Index-BmVFh23J.js} +1 -1
  43. package/dist/Index-CfDvQD94.js +4 -0
  44. package/dist/Index-Cq20wsZC.js +173 -0
  45. package/dist/Index-DGiRkT-p.js +4 -0
  46. package/dist/{Index-DIUPLGQ4.js → Index-DJz-eVVd.js} +20 -25
  47. package/dist/{Index-BSZ_tPMy.js → Index-DvfJmbPU.js} +1 -1
  48. package/dist/Index-DyK_nYp9.js +4 -0
  49. package/dist/Index-z5MnS_Wq.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp4JjtSz.js → Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js} +16 -21
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js → Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js} +15 -20
  52. package/dist/{Install-qFVqjd7y.js → Install-CXj-qqao.js} +22 -27
  53. package/dist/Int-BG6MD24t.js +38 -0
  54. package/dist/Int-Dc7h_7Ga.js +41 -0
  55. package/dist/List-EDwPH8aL.js +73 -0
  56. package/dist/Maintaince-BqvMHxH0.js +14 -0
  57. package/dist/{Markdown-DymmFy2X.js → Markdown-CdP4Uf3M.js} +1 -1
  58. package/dist/Month-8mDUGsOp.js +37 -0
  59. package/dist/{Month-C5_ANmVr.js → Month-BUvqsSfA.js} +1 -1
  60. package/dist/Month-ClGd6IhI.js +38 -0
  61. package/dist/Normal-DUlWYlcs.js +254 -0
  62. package/dist/Paging-D_ticCtb.js +94 -0
  63. package/dist/{PagingHeader-BhwoSfFl.js → PagingHeader-aZb0fGRv.js} +24 -30
  64. package/dist/{PagingRow-BF6pUhoJ.js → PagingRow-_H7tCWDM.js} +20 -26
  65. package/dist/QueryApi-S0e3c6l0.js +13 -0
  66. package/dist/{Racebar-BNPXg9aN.js → Racebar-DESsxoi9.js} +42 -47
  67. package/dist/{Radio-wHwEjg6V.js → Radio-ChF3_bX0.js} +1 -1
  68. package/dist/{Register-B4Bc8s-2.js → Register-Du5lRabU.js} +66 -71
  69. package/dist/RichText-BJVvArGS.js +41 -0
  70. package/dist/{SearchFooter-zNYx9YkN.js → SearchFooter-HjKH1gD5.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js → SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js} +1 -1
  72. package/dist/{SearchForm-CJ3ru63a.js → SearchForm-C-o0Orkp.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js → SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js} +40 -45
  74. package/dist/{Select-DFLY8nGY.js → Select-CYaWHcWs.js} +20 -26
  75. package/dist/{Select-WXibWkE0.js → Select-DgKzH1gD.js} +30 -36
  76. package/dist/{Select-BDaDhqW7.js → Select-DrybbaWb.js} +1 -1
  77. package/dist/{Single-CmQgQl_u.js → Single-B-253IzX.js} +112 -118
  78. package/dist/{Statistic-BuU_GxqZ.js → Statistic-B7Tib1eh.js} +36 -43
  79. package/dist/{Stock-CDJ-AVw-.js → Stock-BBcnzi6G.js} +1 -1
  80. package/dist/{Stock-B7NgfM19.js → Stock-DuyZiPxv.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-pZYnIJLp.js → Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js} +28 -33
  82. package/dist/{Switch-DHf-0HZD.js → Switch-DP-_EUOK.js} +1 -1
  83. package/dist/{Table-7P4KXMsy.js → Table-2jZ0ISz7.js} +117 -124
  84. package/dist/{Table-CN-KYO1R.js → Table-hHG9kq1I.js} +79 -83
  85. package/dist/Text-C70dFJLS.js +4 -0
  86. package/dist/Text-RsldE1sr.js +52 -0
  87. package/dist/Text-lak-4VnA.js +53 -0
  88. package/dist/Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js +53 -0
  89. package/dist/TextLink-C-NU-oVe.js +59 -0
  90. package/dist/{Textarea-B91EwIdj.js → Textarea-QGa_EKSl.js} +1 -1
  91. package/dist/Time-BgWPjGd1.js +37 -0
  92. package/dist/Timeline-CBWcOVdY.js +53 -0
  93. package/dist/Tree--dJKRJvG.js +117 -0
  94. package/dist/{Tree-DxJKaqc6.js → Tree-B2fZE9Qf.js} +108 -113
  95. package/dist/TreeNode-CxTzNQo9.js +37 -0
  96. package/dist/{Update-D5cXmHyf.js → Update-BqQGp_9h.js} +13 -18
  97. package/dist/{UpdateChild-DvrF1nBA.js → UpdateChild-DejVqKrE.js} +17 -23
  98. package/dist/{Upload-CRpCHz3m.js → Upload-9z5VIixQ.js} +58 -62
  99. package/dist/Upload-tlSQp2Qu.js +67 -0
  100. package/dist/UploadApi-B2dxOS0T.js +13 -0
  101. package/dist/{Year-CwaPwkLN.js → Year-CrN8Fl5U.js} +1 -1
  102. package/dist/Year-DNDyqe5X.js +41 -0
  103. package/dist/main-D3_7YhaK.js +15700 -0
  104. package/dist/main.js +130 -129
  105. package/dist/style.css +1 -1
  106. package/esm/@types/CreatePcOptions.d.ts +15 -0
  107. package/esm/@types/index.d.ts +2 -0
  108. package/esm/coms/business/@types/CrudProps.d.ts +22 -0
  109. package/esm/coms/business/@types/DrawerProps.d.ts +14 -0
  110. package/esm/coms/business/@types/DriverProps.d.ts +63 -0
  111. package/esm/coms/business/@types/FormProps.d.ts +18 -0
  112. package/esm/coms/business/@types/index.d.ts +5 -0
  113. package/esm/coms/business/Crud.vue.d.ts +1 -1
  114. package/esm/coms/business/Drawer.vue.d.ts +1 -1
  115. package/esm/coms/business/Driver.vue.d.ts +1 -1
  116. package/esm/coms/business/Form.vue.d.ts +1 -1
  117. package/esm/coms/business/index.d.ts +1 -1
  118. package/esm/coms/commons/@types/TableProps.d.ts +22 -0
  119. package/esm/coms/commons/@types/index.d.ts +2 -0
  120. package/esm/coms/commons/Table.vue.d.ts +1 -1
  121. package/esm/coms/commons/index.d.ts +1 -1
  122. package/esm/coms/controls/@types/ControlProps.d.ts +26 -0
  123. package/esm/coms/controls/@types/index.d.ts +2 -0
  124. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  125. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  126. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  127. package/esm/coms/controls/Code.vue.d.ts +1 -1
  128. package/esm/coms/controls/Color.vue.d.ts +1 -1
  129. package/esm/coms/controls/Compare.vue.d.ts +1 -1
  130. package/esm/coms/controls/Date.vue.d.ts +1 -1
  131. package/esm/coms/controls/DateRange.vue.d.ts +1 -1
  132. package/esm/coms/controls/DateTime.vue.d.ts +1 -1
  133. package/esm/coms/controls/DateTimeRange.vue.d.ts +1 -1
  134. package/esm/coms/controls/Decimal.vue.d.ts +1 -1
  135. package/esm/coms/controls/Email.vue.d.ts +1 -1
  136. package/esm/coms/controls/Index.vue.d.ts +1 -1
  137. package/esm/coms/controls/Int.vue.d.ts +1 -1
  138. package/esm/coms/controls/Markdown.vue.d.ts +1 -1
  139. package/esm/coms/controls/Month.vue.d.ts +1 -1
  140. package/esm/coms/controls/Password.vue.d.ts +1 -1
  141. package/esm/coms/controls/Progress.vue.d.ts +1 -1
  142. package/esm/coms/controls/Radio.vue.d.ts +1 -1
  143. package/esm/coms/controls/Rate.vue.d.ts +1 -1
  144. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  145. package/esm/coms/controls/Select.vue.d.ts +1 -1
  146. package/esm/coms/controls/Switch.vue.d.ts +1 -1
  147. package/esm/coms/controls/Text.vue.d.ts +1 -1
  148. package/esm/coms/controls/Textarea.vue.d.ts +1 -1
  149. package/esm/coms/controls/Time.vue.d.ts +1 -1
  150. package/esm/coms/controls/Upload.vue.d.ts +1 -1
  151. package/esm/coms/controls/Year.vue.d.ts +1 -1
  152. package/esm/coms/controls/index.d.ts +3 -1
  153. package/esm/coms/globals/@types/WindowOptions.d.ts +38 -0
  154. package/esm/coms/globals/@types/WindowProps.d.ts +27 -0
  155. package/esm/coms/globals/@types/index.d.ts +3 -0
  156. package/esm/coms/globals/Window.vue.d.ts +1 -1
  157. package/esm/coms/globals/index.d.ts +1 -1
  158. package/esm/coms/headers/Index.vue.d.ts +21 -2
  159. package/esm/coms/layouts/@types/ITaskBar.d.ts +6 -0
  160. package/esm/coms/layouts/@types/index.d.ts +2 -0
  161. package/esm/coms/layouts/index.d.ts +1 -1
  162. package/esm/coms/lists/@types/ListProps.d.ts +15 -0
  163. package/esm/coms/lists/@types/index.d.ts +2 -0
  164. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  165. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  166. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  167. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  168. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  169. package/esm/coms/lists/index.d.ts +1 -1
  170. package/esm/coms/pages/@types/ColumnPageProps.d.ts +11 -0
  171. package/esm/coms/pages/@types/CustomPageProps.d.ts +11 -0
  172. package/esm/coms/pages/@types/DeletePageProps.d.ts +15 -0
  173. package/esm/coms/pages/@types/KeyboardType.d.ts +8 -0
  174. package/esm/coms/pages/@types/ListPageProps.d.ts +15 -0
  175. package/esm/coms/pages/@types/PageEmit.d.ts +22 -0
  176. package/esm/coms/pages/@types/PageProps.d.ts +14 -0
  177. package/esm/coms/pages/@types/PagingPageProps.d.ts +15 -0
  178. package/esm/coms/pages/@types/SchemaProps.d.ts +30 -0
  179. package/esm/coms/pages/@types/SinglePageProps.d.ts +15 -0
  180. package/esm/coms/pages/@types/index.d.ts +11 -0
  181. package/esm/coms/pages/Column.vue.d.ts +1 -1
  182. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  183. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  184. package/esm/coms/pages/List.vue.d.ts +1 -1
  185. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  186. package/esm/coms/pages/Single.vue.d.ts +1 -1
  187. package/esm/coms/pages/index.d.ts +1 -1
  188. package/esm/coms/pagings/@types/PagingProps.d.ts +11 -0
  189. package/esm/coms/pagings/@types/index.d.ts +2 -0
  190. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  191. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  192. package/esm/coms/pagings/File.vue.d.ts +1 -1
  193. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  194. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  195. package/esm/coms/pagings/index.d.ts +1 -1
  196. package/esm/coms/panels/@types/OperationProps.d.ts +10 -0
  197. package/esm/coms/panels/@types/index.d.ts +2 -0
  198. package/esm/coms/panels/Operation.vue.d.ts +1 -1
  199. package/esm/coms/panels/index.d.ts +1 -1
  200. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +26 -0
  201. package/esm/coms/partials/@types/DetailEmit.d.ts +18 -0
  202. package/esm/coms/partials/@types/DetailProps.d.ts +22 -0
  203. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +34 -0
  204. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +30 -0
  205. package/esm/coms/partials/@types/PagingRowEmit.d.ts +26 -0
  206. package/esm/coms/partials/@types/PagingRowProps.d.ts +22 -0
  207. package/esm/coms/partials/@types/TreeNodeProps.d.ts +22 -0
  208. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +22 -0
  209. package/esm/coms/partials/@types/UpdateChildProps.d.ts +22 -0
  210. package/esm/coms/partials/@types/UpdateEmit.d.ts +14 -0
  211. package/esm/coms/partials/@types/UpdateProps.d.ts +22 -0
  212. package/esm/coms/partials/@types/index.d.ts +13 -0
  213. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  214. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  215. package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
  216. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  217. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  218. package/esm/coms/partials/Update.vue.d.ts +1 -1
  219. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  220. package/esm/coms/partials/index.d.ts +1 -1
  221. package/esm/coms/searches/@types/SearchProps.d.ts +10 -0
  222. package/esm/coms/searches/@types/index.d.ts +2 -0
  223. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  224. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  225. package/esm/coms/searches/Index.vue.d.ts +1 -1
  226. package/esm/coms/searches/Int.vue.d.ts +1 -1
  227. package/esm/coms/searches/Month.vue.d.ts +1 -1
  228. package/esm/coms/searches/Select.vue.d.ts +1 -1
  229. package/esm/coms/searches/Text.vue.d.ts +1 -1
  230. package/esm/coms/searches/index.d.ts +1 -1
  231. package/esm/coms/singles/@types/SingleProps.d.ts +15 -0
  232. package/esm/coms/singles/@types/index.d.ts +2 -0
  233. package/esm/coms/singles/Code.vue.d.ts +1 -1
  234. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  235. package/esm/coms/singles/Index.vue.d.ts +1 -1
  236. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  237. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  238. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  239. package/esm/coms/singles/Table.vue.d.ts +1 -1
  240. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  241. package/esm/coms/singles/index.d.ts +1 -1
  242. package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
  243. package/esm/coms/texts/CSharp.vue.d.ts +1 -1
  244. package/esm/coms/texts/Cascader.vue.d.ts +1 -1
  245. package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
  246. package/esm/coms/texts/Code.vue.d.ts +1 -1
  247. package/esm/coms/texts/Color.vue.d.ts +1 -1
  248. package/esm/coms/texts/Compare.vue.d.ts +1 -1
  249. package/esm/coms/texts/Copy.vue.d.ts +1 -1
  250. package/esm/coms/texts/Date.vue.d.ts +1 -1
  251. package/esm/coms/texts/DateRange.vue.d.ts +1 -1
  252. package/esm/coms/texts/DateTime.vue.d.ts +1 -1
  253. package/esm/coms/texts/Decimal.vue.d.ts +1 -1
  254. package/esm/coms/texts/Dictionary.vue.d.ts +1 -1
  255. package/esm/coms/texts/Email.vue.d.ts +1 -1
  256. package/esm/coms/texts/Index.vue.d.ts +1 -1
  257. package/esm/coms/texts/Int.vue.d.ts +1 -1
  258. package/esm/coms/texts/Markdown.vue.d.ts +1 -1
  259. package/esm/coms/texts/Month.vue.d.ts +1 -1
  260. package/esm/coms/texts/Password.vue.d.ts +1 -1
  261. package/esm/coms/texts/Progress.vue.d.ts +1 -1
  262. package/esm/coms/texts/Radio.vue.d.ts +1 -1
  263. package/esm/coms/texts/Rate.vue.d.ts +1 -1
  264. package/esm/coms/texts/RichText.vue.d.ts +1 -1
  265. package/esm/coms/texts/Select.vue.d.ts +1 -1
  266. package/esm/coms/texts/Switch.vue.d.ts +1 -1
  267. package/esm/coms/texts/Text.vue.d.ts +1 -1
  268. package/esm/coms/texts/TextLink.vue.d.ts +1 -1
  269. package/esm/coms/texts/Textarea.vue.d.ts +1 -1
  270. package/esm/coms/texts/Upload.vue.d.ts +1 -1
  271. package/esm/coms/texts/Year.vue.d.ts +1 -1
  272. package/esm/main.d.ts +2 -2
  273. package/esm/svcs/AppSvc.d.ts +4 -36
  274. package/esm/svcs/ControlSvc.d.ts +8 -8
  275. package/esm/svcs/PageSvc.d.ts +0 -12
  276. package/esm/svcs/StandardSvc.d.ts +13 -3
  277. package/esm/svcs/index.d.ts +1 -6
  278. package/package.json +2 -2
  279. package/dist/Autocomplete-B9SJNrNq.js +0 -53
  280. package/dist/Autocomplete-BZNDoWFj.js +0 -54
  281. package/dist/Callback-xlj8oj2-.js +0 -26
  282. package/dist/Cascader-Cwi5mukb.js +0 -87
  283. package/dist/Cascader-D1RbjsMs.js +0 -47
  284. package/dist/Checkbox-DFnVivE9.js +0 -76
  285. package/dist/Code-CEafFSlR.js +0 -4
  286. package/dist/Code-CTmcyEEu.js +0 -60
  287. package/dist/Code-DEOvcbgy.js +0 -42
  288. package/dist/Code.vue_vue_type_style_index_0_lang-Cf1QzL0C.js +0 -65
  289. package/dist/Column-zAYqqGgI.js +0 -74
  290. package/dist/Comment-BZTVtxyP.js +0 -104
  291. package/dist/Compare-Dy_YDKN2.js +0 -43
  292. package/dist/Copy-KA_-9J5g.js +0 -49
  293. package/dist/Custom-BpQzSpoK.js +0 -57
  294. package/dist/Date-yqT5zILQ.js +0 -43
  295. package/dist/DateRange-CUQsaLxD.js +0 -63
  296. package/dist/DateTime-DcerQByM.js +0 -44
  297. package/dist/Daterange-DY2i3jwP.js +0 -63
  298. package/dist/Delete-CXnvlNw9.js +0 -62
  299. package/dist/Dictionary-DtXqTf_k.js +0 -59
  300. package/dist/Email-ofMPw09E.js +0 -54
  301. package/dist/Image-BwJO-IEo.js +0 -9
  302. package/dist/Index-Bwy9Q7qy.js +0 -4
  303. package/dist/Index-Ch5_Jqsf.js +0 -4
  304. package/dist/Index-DnNVMYOZ.js +0 -4
  305. package/dist/Index-j9BffBys.js +0 -178
  306. package/dist/Index-qOyfJhdG.js +0 -4
  307. package/dist/Index.vue_vue_type_style_index_0_lang-CTTyswoD.js +0 -122
  308. package/dist/Int-BWcRpPzt.js +0 -44
  309. package/dist/Int-BYyavcrM.js +0 -46
  310. package/dist/List-BejoBArm.js +0 -79
  311. package/dist/Maintaince-Dlh2ICnO.js +0 -20
  312. package/dist/Month-Cf8e0cin.js +0 -43
  313. package/dist/Month-DaYaF2WK.js +0 -44
  314. package/dist/Normal-NYkjZ2aA.js +0 -257
  315. package/dist/Paging-DoQ_cXwj.js +0 -99
  316. package/dist/QueryApi-CPQ67lb4.js +0 -20
  317. package/dist/RichText-Cj5QP79L.js +0 -47
  318. package/dist/Text-C05EoDxO.js +0 -59
  319. package/dist/Text-Da3ROjFC.js +0 -58
  320. package/dist/Text-DqapEwUL.js +0 -4
  321. package/dist/Text.vue_vue_type_style_index_0_lang-DKX9_aI4.js +0 -59
  322. package/dist/TextLink-CQ_46bry.js +0 -65
  323. package/dist/Time-DxyveGcA.js +0 -43
  324. package/dist/Timeline-C1xOEcU4.js +0 -59
  325. package/dist/Tree-BK6p6Ake.js +0 -122
  326. package/dist/TreeNode-C84IoqkK.js +0 -42
  327. package/dist/Upload-CK-ALAKV.js +0 -72
  328. package/dist/UploadApi-B-7WPVHD.js +0 -20
  329. package/dist/Year-BOL9ynRU.js +0 -47
  330. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  331. package/dist/assets/@vue-aVYGocXp.js +0 -93
  332. package/dist/assets/clone-BZn0cTAu.js +0 -134
  333. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  334. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  335. package/dist/assets/moment-h96o7c8I.js +0 -2578
  336. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  337. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  338. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  339. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  340. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
  341. package/dist/main-CnPQ_RYM.js +0 -8948
@@ -1,1670 +0,0 @@
1
- import { a as w, i as ae, b as N, c as V, d as L, m as H, w as S, e as qt, D as je, f as D, g as p, h as le, j as B, r as tt, k as Qt, l as Zt, n as ee, s as ea, o as ta, p as aa, q as fe, t as Ee, u as la, v as re, x as ge, N as na, y as ra, z as Be, A as sa, B as oa, C as ia, E as pt, F as ca, G as Rt, H as ua, I as at, J as lt, K as Pt, L as _a, M as ma, O as fa, P as Ea, Q as ga, R as va, S as nt, T as rt, U as st, V as ot, W as it, X as ct, Y as ut, Z as da, _ as _t } from "./@intlify-BISCQg1h.js";
2
- import { defineComponent as Xe, h as Ft, getCurrentInstance as se, effectScope as ba, inject as Na, onMounted as Ia, onUnmounted as Ta, shallowRef as ht, ref as te, computed as x, onBeforeMount as Oa, watch as We, Fragment as kt, isRef as La, createVNode as pa, Text as Ra } from "vue";
3
- import { s as Pa } from "./@vue-aVYGocXp.js";
4
- /*!
5
- * vue-i18n v9.13.1
6
- * (c) 2024 kazuya kawaguchi
7
- * Released under the MIT License.
8
- */
9
- const Fa = "9.13.1";
10
- function ha() {
11
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ee().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ee().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_JIT_COMPILATION__ != "boolean" && (ee().__INTLIFY_JIT_COMPILATION__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ee().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ee().__INTLIFY_PROD_DEVTOOLS__ = !1);
12
- }
13
- const Ct = _a.__EXTEND_POINT__, j = Rt(Ct), O = {
14
- FALLBACK_TO_ROOT: Ct,
15
- // 9
16
- NOT_SUPPORTED_PRESERVE: j(),
17
- // 10
18
- NOT_SUPPORTED_FORMATTER: j(),
19
- // 11
20
- NOT_SUPPORTED_PRESERVE_DIRECTIVE: j(),
21
- // 12
22
- NOT_SUPPORTED_GET_CHOICE_INDEX: j(),
23
- // 13
24
- COMPONENT_NAME_LEGACY_COMPATIBLE: j(),
25
- // 14
26
- NOT_FOUND_PARENT_SCOPE: j(),
27
- // 15
28
- IGNORE_OBJ_FLATTEN: j(),
29
- // 16
30
- NOTICE_DROP_ALLOW_COMPOSITION: j(),
31
- // 17
32
- NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG: j()
33
- // 18
34
- }, ka = {
35
- [O.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
36
- [O.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
37
- [O.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
38
- [O.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
39
- [O.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
40
- [O.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
41
- [O.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
42
- [O.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
43
- [O.NOTICE_DROP_ALLOW_COMPOSITION]: "'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",
44
- [O.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]: "'translateExistCompatible' option will be dropped in the next major version."
45
- };
46
- function M(e, ...l) {
47
- return ta(ka[e], ...l);
48
- }
49
- const Dt = ca.__EXTEND_POINT__, A = Rt(Dt), b = {
50
- // composer module errors
51
- UNEXPECTED_RETURN_TYPE: Dt,
52
- // 24
53
- // legacy module errors
54
- INVALID_ARGUMENT: A(),
55
- // 25
56
- // i18n module errors
57
- MUST_BE_CALL_SETUP_TOP: A(),
58
- // 26
59
- NOT_INSTALLED: A(),
60
- // 27
61
- NOT_AVAILABLE_IN_LEGACY_MODE: A(),
62
- // 28
63
- // directive module errors
64
- REQUIRED_VALUE: A(),
65
- // 29
66
- INVALID_VALUE: A(),
67
- // 30
68
- // vue-devtools errors
69
- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: A(),
70
- // 31
71
- NOT_INSTALLED_WITH_PROVIDE: A(),
72
- // 32
73
- // unexpected error
74
- UNEXPECTED_ERROR: A(),
75
- // 33
76
- // not compatible legacy vue-i18n constructor
77
- NOT_COMPATIBLE_LEGACY_VUE_I18N: A(),
78
- // 34
79
- // bridge support vue 2.x only
80
- BRIDGE_SUPPORT_VUE_2_ONLY: A(),
81
- // 35
82
- // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``
83
- MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: A(),
84
- // 36
85
- // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
86
- NOT_AVAILABLE_COMPOSITION_IN_LEGACY: A(),
87
- // 37
88
- // for enhancement
89
- __EXTEND_POINT__: A()
90
- // 38
91
- };
92
- function h(e, ...l) {
93
- return aa(e, null, process.env.NODE_ENV !== "production" ? { messages: Ca, args: l } : void 0);
94
- }
95
- const Ca = {
96
- [b.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
97
- [b.INVALID_ARGUMENT]: "Invalid argument",
98
- [b.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
99
- [b.NOT_INSTALLED]: "Need to install with `app.use` function",
100
- [b.UNEXPECTED_ERROR]: "Unexpected error",
101
- [b.NOT_AVAILABLE_IN_LEGACY_MODE]: "Not available in legacy mode",
102
- [b.REQUIRED_VALUE]: "Required in value: {0}",
103
- [b.INVALID_VALUE]: "Invalid value",
104
- [b.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
105
- [b.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
106
- [b.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
107
- [b.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
108
- [b.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
109
- [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"
110
- }, we = /* @__PURE__ */ H("__translateVNode"), $e = /* @__PURE__ */ H("__datetimeParts"), xe = /* @__PURE__ */ H("__numberParts"), Q = /* @__PURE__ */ H("__enableEmitter"), oe = /* @__PURE__ */ H("__disableEmitter"), At = H("__setPluralRules"), Mt = /* @__PURE__ */ H("__injectWithOption"), He = /* @__PURE__ */ H("__dispose");
111
- function ie(e) {
112
- if (!V(e))
113
- return e;
114
- for (const l in e)
115
- if (Ee(e, l))
116
- if (!l.includes("."))
117
- V(e[l]) && ie(e[l]);
118
- else {
119
- const a = l.split("."), n = a.length - 1;
120
- let s = e, t = !1;
121
- for (let r = 0; r < n; r++) {
122
- if (a[r] in s || (s[a[r]] = {}), !V(s[a[r]])) {
123
- process.env.NODE_ENV !== "production" && S(M(O.IGNORE_OBJ_FLATTEN, {
124
- key: a[r]
125
- })), t = !0;
126
- break;
127
- }
128
- s = s[a[r]];
129
- }
130
- t || (s[a[n]] = e[l], delete e[l]), V(s[a[n]]) && ie(s[a[n]]);
131
- }
132
- return e;
133
- }
134
- function ve(e, l) {
135
- const { messages: a, __i18n: n, messageResolver: s, flatJson: t } = l, r = p(a) ? a : D(n) ? {} : { [e]: {} };
136
- if (D(n) && n.forEach((i) => {
137
- if ("locale" in i && "resource" in i) {
138
- const { locale: _, resource: m } = i;
139
- _ ? (r[_] = r[_] || {}, fe(m, r[_])) : fe(m, r);
140
- } else
141
- N(i) && fe(JSON.parse(i), r);
142
- }), s == null && t)
143
- for (const i in r)
144
- Ee(r, i) && ie(r[i]);
145
- return r;
146
- }
147
- function St(e) {
148
- return e.type;
149
- }
150
- function Vt(e, l, a) {
151
- let n = V(l.messages) ? l.messages : {};
152
- "__i18nGlobal" in a && (n = ve(e.locale.value, {
153
- messages: n,
154
- __i18n: a.__i18nGlobal
155
- }));
156
- const s = Object.keys(n);
157
- s.length && s.forEach((t) => {
158
- e.mergeLocaleMessage(t, n[t]);
159
- });
160
- {
161
- if (V(l.datetimeFormats)) {
162
- const t = Object.keys(l.datetimeFormats);
163
- t.length && t.forEach((r) => {
164
- e.mergeDateTimeFormat(r, l.datetimeFormats[r]);
165
- });
166
- }
167
- if (V(l.numberFormats)) {
168
- const t = Object.keys(l.numberFormats);
169
- t.length && t.forEach((r) => {
170
- e.mergeNumberFormat(r, l.numberFormats[r]);
171
- });
172
- }
173
- }
174
- }
175
- function mt(e) {
176
- return pa(Ra, null, e, 0);
177
- }
178
- const ft = "__INTLIFY_META__", Et = () => [], Da = () => !1;
179
- let gt = 0;
180
- function vt(e) {
181
- return (l, a, n, s) => e(a, n, se() || void 0, s);
182
- }
183
- const Aa = /* @__NO_SIDE_EFFECTS__ */ () => {
184
- const e = se();
185
- let l = null;
186
- return e && (l = St(e)[ft]) ? { [ft]: l } : null;
187
- };
188
- function Je(e = {}, l) {
189
- const { __root: a, __injectWithOption: n } = e, s = a === void 0, t = e.flatJson, r = ge ? te : ht, i = !!e.translateExistCompatible;
190
- process.env.NODE_ENV !== "production" && i && la(M(O.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));
191
- let _ = L(e.inheritLocale) ? e.inheritLocale : !0;
192
- const m = r(
193
- // prettier-ignore
194
- a && _ ? a.locale.value : N(e.locale) ? e.locale : je
195
- ), g = r(
196
- // prettier-ignore
197
- a && _ ? a.fallbackLocale.value : N(e.fallbackLocale) || D(e.fallbackLocale) || p(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
198
- ), v = r(ve(m.value, e)), E = r(p(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), d = r(p(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
199
- let F = a ? a.missingWarn : L(e.missingWarn) || le(e.missingWarn) ? e.missingWarn : !0, k = a ? a.fallbackWarn : L(e.fallbackWarn) || le(e.fallbackWarn) ? e.fallbackWarn : !0, U = a ? a.fallbackRoot : L(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, W = B(e.missing) ? e.missing : null, C = B(e.missing) ? vt(e.missing) : null, G = B(e.postTranslation) ? e.postTranslation : null, z = a ? a.warnHtmlMessage : L(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, X = !!e.escapeParameter;
200
- const ne = a ? a.modifiers : p(e.modifiers) ? e.modifiers : {};
201
- let $ = e.pluralRules || a && a.pluralRules, f;
202
- f = (() => {
203
- s && _t(null);
204
- const o = {
205
- version: Fa,
206
- locale: m.value,
207
- fallbackLocale: g.value,
208
- messages: v.value,
209
- modifiers: ne,
210
- pluralRules: $,
211
- missing: C === null ? void 0 : C,
212
- missingWarn: F,
213
- fallbackWarn: k,
214
- fallbackFormat: y,
215
- unresolving: !0,
216
- postTranslation: G === null ? void 0 : G,
217
- warnHtmlMessage: z,
218
- escapeParameter: X,
219
- messageResolver: e.messageResolver,
220
- messageCompiler: e.messageCompiler,
221
- __meta: { framework: "vue" }
222
- };
223
- o.datetimeFormats = E.value, o.numberFormats = d.value, o.__datetimeFormatters = p(f) ? f.__datetimeFormatters : void 0, o.__numberFormatters = p(f) ? f.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (o.__v_emitter = p(f) ? f.__v_emitter : void 0);
224
- const c = ua(o);
225
- return s && _t(c), c;
226
- })(), re(f, m.value, g.value);
227
- function de() {
228
- return [
229
- m.value,
230
- g.value,
231
- v.value,
232
- E.value,
233
- d.value
234
- ];
235
- }
236
- const be = x({
237
- get: () => m.value,
238
- set: (o) => {
239
- m.value = o, f.locale = m.value;
240
- }
241
- }), Ne = x({
242
- get: () => g.value,
243
- set: (o) => {
244
- g.value = o, f.fallbackLocale = g.value, re(f, m.value, o);
245
- }
246
- }), Ie = x(() => v.value), Te = /* @__PURE__ */ x(() => E.value), J = /* @__PURE__ */ x(() => d.value);
247
- function Oe() {
248
- return B(G) ? G : null;
249
- }
250
- function Le(o) {
251
- G = o, f.postTranslation = o;
252
- }
253
- function pe() {
254
- return W;
255
- }
256
- function Re(o) {
257
- o !== null && (C = vt(o)), W = o, f.missing = C;
258
- }
259
- function Pe(o, c) {
260
- return o !== "translate" || !c.resolvedMessage;
261
- }
262
- const Y = (o, c, I, R, K, me) => {
263
- de();
264
- let Z;
265
- try {
266
- (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ma(/* @__PURE__ */ Aa()), s || (f.fallbackContext = a ? fa() : void 0), Z = o(f);
267
- } finally {
268
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (f.fallbackContext = void 0);
269
- }
270
- if (I !== "translate exists" && // for not `te` (e.g `t`)
271
- ae(Z) && Z === Ea || I === "translate exists" && !Z) {
272
- const [q, zt] = c();
273
- if (process.env.NODE_ENV !== "production" && a && N(q) && Pe(I, zt) && (U && (ga(k, q) || va(F, q)) && S(M(O.FALLBACK_TO_ROOT, {
274
- key: q,
275
- type: I
276
- })), process.env.NODE_ENV !== "production")) {
277
- const { __v_emitter: et } = f;
278
- et && U && et.emit("fallback", {
279
- type: I,
280
- key: q,
281
- to: "global",
282
- groupId: `${I}:${q}`
283
- });
284
- }
285
- return a && U ? R(a) : K(q);
286
- } else {
287
- if (me(Z))
288
- return Z;
289
- throw h(b.UNEXPECTED_RETURN_TYPE);
290
- }
291
- };
292
- function _e(...o) {
293
- return Y((c) => Reflect.apply(rt, null, [c, ...o]), () => nt(...o), "translate", (c) => Reflect.apply(c.t, c, [...o]), (c) => c, (c) => N(c));
294
- }
295
- function Fe(...o) {
296
- const [c, I, R] = o;
297
- if (R && !V(R))
298
- throw h(b.INVALID_ARGUMENT);
299
- return _e(c, I, w({ resolvedMessage: !0 }, R || {}));
300
- }
301
- function he(...o) {
302
- return Y((c) => Reflect.apply(it, null, [c, ...o]), () => ot(...o), "datetime format", (c) => Reflect.apply(c.d, c, [...o]), () => st, (c) => N(c));
303
- }
304
- function ke(...o) {
305
- return Y((c) => Reflect.apply(ut, null, [c, ...o]), () => ct(...o), "number format", (c) => Reflect.apply(c.n, c, [...o]), () => st, (c) => N(c));
306
- }
307
- function Ce(o) {
308
- return o.map((c) => N(c) || ae(c) || L(c) ? mt(String(c)) : c);
309
- }
310
- const De = {
311
- normalize: Ce,
312
- interpolate: (o) => o,
313
- type: "vnode"
314
- };
315
- function Ae(...o) {
316
- return Y(
317
- (c) => {
318
- let I;
319
- const R = c;
320
- try {
321
- R.processor = De, I = Reflect.apply(rt, null, [R, ...o]);
322
- } finally {
323
- R.processor = null;
324
- }
325
- return I;
326
- },
327
- () => nt(...o),
328
- "translate",
329
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
330
- (c) => c[we](...o),
331
- (c) => [mt(c)],
332
- (c) => D(c)
333
- );
334
- }
335
- function Me(...o) {
336
- return Y(
337
- (c) => Reflect.apply(ut, null, [c, ...o]),
338
- () => ct(...o),
339
- "number format",
340
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
341
- (c) => c[xe](...o),
342
- Et,
343
- (c) => N(c) || D(c)
344
- );
345
- }
346
- function Se(...o) {
347
- return Y(
348
- (c) => Reflect.apply(it, null, [c, ...o]),
349
- () => ot(...o),
350
- "datetime format",
351
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
352
- (c) => c[$e](...o),
353
- Et,
354
- (c) => N(c) || D(c)
355
- );
356
- }
357
- function Ve(o) {
358
- $ = o, f.pluralRules = $;
359
- }
360
- function u(o, c) {
361
- return Y(() => {
362
- if (!o)
363
- return !1;
364
- const I = N(c) ? c : m.value, R = Ze(I), K = f.messageResolver(R, o);
365
- return i ? K != null : Pt(K) || da(K) || N(K);
366
- }, () => [o], "translate exists", (I) => Reflect.apply(I.te, I, [o, c]), Da, (I) => L(I));
367
- }
368
- function T(o) {
369
- let c = null;
370
- const I = pt(f, g.value, m.value);
371
- for (let R = 0; R < I.length; R++) {
372
- const K = v.value[I[R]] || {}, me = f.messageResolver(K, o);
373
- if (me != null) {
374
- c = me;
375
- break;
376
- }
377
- }
378
- return c;
379
- }
380
- function xt(o) {
381
- const c = T(o);
382
- return c ?? (a ? a.tm(o) || {} : {});
383
- }
384
- function Ze(o) {
385
- return v.value[o] || {};
386
- }
387
- function Ht(o, c) {
388
- if (t) {
389
- const I = { [o]: c };
390
- for (const R in I)
391
- Ee(I, R) && ie(I[R]);
392
- c = I[o];
393
- }
394
- v.value[o] = c, f.messages = v.value;
395
- }
396
- function Gt(o, c) {
397
- v.value[o] = v.value[o] || {};
398
- const I = { [o]: c };
399
- if (t)
400
- for (const R in I)
401
- Ee(I, R) && ie(I[R]);
402
- c = I[o], fe(c, v.value[o]), f.messages = v.value;
403
- }
404
- function Yt(o) {
405
- return E.value[o] || {};
406
- }
407
- function jt(o, c) {
408
- E.value[o] = c, f.datetimeFormats = E.value, at(f, o, c);
409
- }
410
- function Bt(o, c) {
411
- E.value[o] = w(E.value[o] || {}, c), f.datetimeFormats = E.value, at(f, o, c);
412
- }
413
- function Xt(o) {
414
- return d.value[o] || {};
415
- }
416
- function Jt(o, c) {
417
- d.value[o] = c, f.numberFormats = d.value, lt(f, o, c);
418
- }
419
- function Kt(o, c) {
420
- d.value[o] = w(d.value[o] || {}, c), f.numberFormats = d.value, lt(f, o, c);
421
- }
422
- gt++, a && ge && (We(a.locale, (o) => {
423
- _ && (m.value = o, f.locale = o, re(f, m.value, g.value));
424
- }), We(a.fallbackLocale, (o) => {
425
- _ && (g.value = o, f.fallbackLocale = o, re(f, m.value, g.value));
426
- }));
427
- const P = {
428
- id: gt,
429
- locale: be,
430
- fallbackLocale: Ne,
431
- get inheritLocale() {
432
- return _;
433
- },
434
- set inheritLocale(o) {
435
- _ = o, o && a && (m.value = a.locale.value, g.value = a.fallbackLocale.value, re(f, m.value, g.value));
436
- },
437
- get availableLocales() {
438
- return Object.keys(v.value).sort();
439
- },
440
- messages: Ie,
441
- get modifiers() {
442
- return ne;
443
- },
444
- get pluralRules() {
445
- return $ || {};
446
- },
447
- get isGlobal() {
448
- return s;
449
- },
450
- get missingWarn() {
451
- return F;
452
- },
453
- set missingWarn(o) {
454
- F = o, f.missingWarn = F;
455
- },
456
- get fallbackWarn() {
457
- return k;
458
- },
459
- set fallbackWarn(o) {
460
- k = o, f.fallbackWarn = k;
461
- },
462
- get fallbackRoot() {
463
- return U;
464
- },
465
- set fallbackRoot(o) {
466
- U = o;
467
- },
468
- get fallbackFormat() {
469
- return y;
470
- },
471
- set fallbackFormat(o) {
472
- y = o, f.fallbackFormat = y;
473
- },
474
- get warnHtmlMessage() {
475
- return z;
476
- },
477
- set warnHtmlMessage(o) {
478
- z = o, f.warnHtmlMessage = o;
479
- },
480
- get escapeParameter() {
481
- return X;
482
- },
483
- set escapeParameter(o) {
484
- X = o, f.escapeParameter = o;
485
- },
486
- t: _e,
487
- getLocaleMessage: Ze,
488
- setLocaleMessage: Ht,
489
- mergeLocaleMessage: Gt,
490
- getPostTranslationHandler: Oe,
491
- setPostTranslationHandler: Le,
492
- getMissingHandler: pe,
493
- setMissingHandler: Re,
494
- [At]: Ve
495
- };
496
- return P.datetimeFormats = Te, P.numberFormats = J, P.rt = Fe, P.te = u, P.tm = xt, P.d = he, P.n = ke, P.getDateTimeFormat = Yt, P.setDateTimeFormat = jt, P.mergeDateTimeFormat = Bt, P.getNumberFormat = Xt, P.setNumberFormat = Jt, P.mergeNumberFormat = Kt, P[Mt] = n, P[we] = Ae, P[$e] = Se, P[xe] = Me, process.env.NODE_ENV !== "production" && (P[Q] = (o) => {
497
- f.__v_emitter = o;
498
- }, P[oe] = () => {
499
- f.__v_emitter = void 0;
500
- }), P;
501
- }
502
- function Ma(e) {
503
- const l = N(e.locale) ? e.locale : je, a = N(e.fallbackLocale) || D(e.fallbackLocale) || p(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, n = B(e.missing) ? e.missing : void 0, s = L(e.silentTranslationWarn) || le(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, t = L(e.silentFallbackWarn) || le(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, r = L(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, _ = p(e.modifiers) ? e.modifiers : {}, m = e.pluralizationRules, g = B(e.postTranslation) ? e.postTranslation : void 0, v = N(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, E = !!e.escapeParameterHtml, d = L(e.sync) ? e.sync : !0;
504
- process.env.NODE_ENV !== "production" && e.formatter && S(M(O.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && S(M(O.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
505
- let F = e.messages;
506
- if (p(e.sharedMessages)) {
507
- const X = e.sharedMessages;
508
- F = Object.keys(X).reduce(($, f) => {
509
- const ue = $[f] || ($[f] = {});
510
- return w(ue, X[f]), $;
511
- }, F || {});
512
- }
513
- const { __i18n: k, __root: U, __injectWithOption: y } = e, W = e.datetimeFormats, C = e.numberFormats, G = e.flatJson, z = e.translateExistCompatible;
514
- return {
515
- locale: l,
516
- fallbackLocale: a,
517
- messages: F,
518
- flatJson: G,
519
- datetimeFormats: W,
520
- numberFormats: C,
521
- missing: n,
522
- missingWarn: s,
523
- fallbackWarn: t,
524
- fallbackRoot: r,
525
- fallbackFormat: i,
526
- modifiers: _,
527
- pluralRules: m,
528
- postTranslation: g,
529
- warnHtmlMessage: v,
530
- escapeParameter: E,
531
- messageResolver: e.messageResolver,
532
- inheritLocale: d,
533
- translateExistCompatible: z,
534
- __i18n: k,
535
- __root: U,
536
- __injectWithOption: y
537
- };
538
- }
539
- function Ge(e = {}, l) {
540
- {
541
- const a = Je(Ma(e)), { __extender: n } = e, s = {
542
- // id
543
- id: a.id,
544
- // locale
545
- get locale() {
546
- return a.locale.value;
547
- },
548
- set locale(t) {
549
- a.locale.value = t;
550
- },
551
- // fallbackLocale
552
- get fallbackLocale() {
553
- return a.fallbackLocale.value;
554
- },
555
- set fallbackLocale(t) {
556
- a.fallbackLocale.value = t;
557
- },
558
- // messages
559
- get messages() {
560
- return a.messages.value;
561
- },
562
- // datetimeFormats
563
- get datetimeFormats() {
564
- return a.datetimeFormats.value;
565
- },
566
- // numberFormats
567
- get numberFormats() {
568
- return a.numberFormats.value;
569
- },
570
- // availableLocales
571
- get availableLocales() {
572
- return a.availableLocales;
573
- },
574
- // formatter
575
- get formatter() {
576
- return process.env.NODE_ENV !== "production" && S(M(O.NOT_SUPPORTED_FORMATTER)), {
577
- interpolate() {
578
- return [];
579
- }
580
- };
581
- },
582
- set formatter(t) {
583
- process.env.NODE_ENV !== "production" && S(M(O.NOT_SUPPORTED_FORMATTER));
584
- },
585
- // missing
586
- get missing() {
587
- return a.getMissingHandler();
588
- },
589
- set missing(t) {
590
- a.setMissingHandler(t);
591
- },
592
- // silentTranslationWarn
593
- get silentTranslationWarn() {
594
- return L(a.missingWarn) ? !a.missingWarn : a.missingWarn;
595
- },
596
- set silentTranslationWarn(t) {
597
- a.missingWarn = L(t) ? !t : t;
598
- },
599
- // silentFallbackWarn
600
- get silentFallbackWarn() {
601
- return L(a.fallbackWarn) ? !a.fallbackWarn : a.fallbackWarn;
602
- },
603
- set silentFallbackWarn(t) {
604
- a.fallbackWarn = L(t) ? !t : t;
605
- },
606
- // modifiers
607
- get modifiers() {
608
- return a.modifiers;
609
- },
610
- // formatFallbackMessages
611
- get formatFallbackMessages() {
612
- return a.fallbackFormat;
613
- },
614
- set formatFallbackMessages(t) {
615
- a.fallbackFormat = t;
616
- },
617
- // postTranslation
618
- get postTranslation() {
619
- return a.getPostTranslationHandler();
620
- },
621
- set postTranslation(t) {
622
- a.setPostTranslationHandler(t);
623
- },
624
- // sync
625
- get sync() {
626
- return a.inheritLocale;
627
- },
628
- set sync(t) {
629
- a.inheritLocale = t;
630
- },
631
- // warnInHtmlMessage
632
- get warnHtmlInMessage() {
633
- return a.warnHtmlMessage ? "warn" : "off";
634
- },
635
- set warnHtmlInMessage(t) {
636
- a.warnHtmlMessage = t !== "off";
637
- },
638
- // escapeParameterHtml
639
- get escapeParameterHtml() {
640
- return a.escapeParameter;
641
- },
642
- set escapeParameterHtml(t) {
643
- a.escapeParameter = t;
644
- },
645
- // preserveDirectiveContent
646
- get preserveDirectiveContent() {
647
- return process.env.NODE_ENV !== "production" && S(M(O.NOT_SUPPORTED_PRESERVE_DIRECTIVE)), !0;
648
- },
649
- set preserveDirectiveContent(t) {
650
- process.env.NODE_ENV !== "production" && S(M(O.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
651
- },
652
- // pluralizationRules
653
- get pluralizationRules() {
654
- return a.pluralRules || {};
655
- },
656
- // for internal
657
- __composer: a,
658
- // t
659
- t(...t) {
660
- const [r, i, _] = t, m = {};
661
- let g = null, v = null;
662
- if (!N(r))
663
- throw h(b.INVALID_ARGUMENT);
664
- const E = r;
665
- return N(i) ? m.locale = i : D(i) ? g = i : p(i) && (v = i), D(_) ? g = _ : p(_) && (v = _), Reflect.apply(a.t, a, [
666
- E,
667
- g || v || {},
668
- m
669
- ]);
670
- },
671
- rt(...t) {
672
- return Reflect.apply(a.rt, a, [...t]);
673
- },
674
- // tc
675
- tc(...t) {
676
- const [r, i, _] = t, m = { plural: 1 };
677
- let g = null, v = null;
678
- if (!N(r))
679
- throw h(b.INVALID_ARGUMENT);
680
- const E = r;
681
- return N(i) ? m.locale = i : ae(i) ? m.plural = i : D(i) ? g = i : p(i) && (v = i), N(_) ? m.locale = _ : D(_) ? g = _ : p(_) && (v = _), Reflect.apply(a.t, a, [
682
- E,
683
- g || v || {},
684
- m
685
- ]);
686
- },
687
- // te
688
- te(t, r) {
689
- return a.te(t, r);
690
- },
691
- // tm
692
- tm(t) {
693
- return a.tm(t);
694
- },
695
- // getLocaleMessage
696
- getLocaleMessage(t) {
697
- return a.getLocaleMessage(t);
698
- },
699
- // setLocaleMessage
700
- setLocaleMessage(t, r) {
701
- a.setLocaleMessage(t, r);
702
- },
703
- // mergeLocaleMessage
704
- mergeLocaleMessage(t, r) {
705
- a.mergeLocaleMessage(t, r);
706
- },
707
- // d
708
- d(...t) {
709
- return Reflect.apply(a.d, a, [...t]);
710
- },
711
- // getDateTimeFormat
712
- getDateTimeFormat(t) {
713
- return a.getDateTimeFormat(t);
714
- },
715
- // setDateTimeFormat
716
- setDateTimeFormat(t, r) {
717
- a.setDateTimeFormat(t, r);
718
- },
719
- // mergeDateTimeFormat
720
- mergeDateTimeFormat(t, r) {
721
- a.mergeDateTimeFormat(t, r);
722
- },
723
- // n
724
- n(...t) {
725
- return Reflect.apply(a.n, a, [...t]);
726
- },
727
- // getNumberFormat
728
- getNumberFormat(t) {
729
- return a.getNumberFormat(t);
730
- },
731
- // setNumberFormat
732
- setNumberFormat(t, r) {
733
- a.setNumberFormat(t, r);
734
- },
735
- // mergeNumberFormat
736
- mergeNumberFormat(t, r) {
737
- a.mergeNumberFormat(t, r);
738
- },
739
- // getChoiceIndex
740
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
741
- getChoiceIndex(t, r) {
742
- return process.env.NODE_ENV !== "production" && S(M(O.NOT_SUPPORTED_GET_CHOICE_INDEX)), -1;
743
- }
744
- };
745
- return s.__extender = n, process.env.NODE_ENV !== "production" && (s.__enableEmitter = (t) => {
746
- const r = a;
747
- r[Q] && r[Q](t);
748
- }, s.__disableEmitter = () => {
749
- const t = a;
750
- t[oe] && t[oe]();
751
- }), s;
752
- }
753
- }
754
- const Ke = {
755
- tag: {
756
- type: [String, Object]
757
- },
758
- locale: {
759
- type: String
760
- },
761
- scope: {
762
- type: String,
763
- // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
764
- validator: (e) => e === "parent" || e === "global",
765
- default: "parent"
766
- /* ComponentI18nScope */
767
- },
768
- i18n: {
769
- type: Object
770
- }
771
- };
772
- function Sa({ slots: e }, l) {
773
- return l.length === 1 && l[0] === "default" ? (e.default ? e.default() : []).reduce((n, s) => [
774
- ...n,
775
- // prettier-ignore
776
- ...s.type === kt ? s.children : [s]
777
- ], []) : l.reduce((a, n) => {
778
- const s = e[n];
779
- return s && (a[n] = s()), a;
780
- }, {});
781
- }
782
- function yt(e) {
783
- return kt;
784
- }
785
- const Va = /* @__PURE__ */ Xe({
786
- /* eslint-disable */
787
- name: "i18n-t",
788
- props: w({
789
- keypath: {
790
- type: String,
791
- required: !0
792
- },
793
- plural: {
794
- type: [Number, String],
795
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
796
- validator: (e) => ae(e) || !isNaN(e)
797
- }
798
- }, Ke),
799
- /* eslint-enable */
800
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
801
- setup(e, l) {
802
- const { slots: a, attrs: n } = l, s = e.i18n || qe({
803
- useScope: e.scope,
804
- __useComponent: !0
805
- });
806
- return () => {
807
- const t = Object.keys(a).filter((v) => v !== "_"), r = {};
808
- e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = N(e.plural) ? +e.plural : e.plural);
809
- const i = Sa(l, t), _ = s[we](e.keypath, i, r), m = w({}, n), g = N(e.tag) || V(e.tag) ? e.tag : yt();
810
- return Ft(g, m, _);
811
- };
812
- }
813
- }), ye = Va;
814
- function ya(e) {
815
- return D(e) && !N(e[0]);
816
- }
817
- function Ut(e, l, a, n) {
818
- const { slots: s, attrs: t } = l;
819
- return () => {
820
- const r = { part: !0 };
821
- let i = {};
822
- e.locale && (r.locale = e.locale), N(e.format) ? r.key = e.format : V(e.format) && (N(e.format.key) && (r.key = e.format.key), i = Object.keys(e.format).reduce((E, d) => a.includes(d) ? w({}, E, { [d]: e.format[d] }) : E, {}));
823
- const _ = n(e.value, r, i);
824
- let m = [r.key];
825
- D(_) ? m = _.map((E, d) => {
826
- const F = s[E.type], k = F ? F({ [E.type]: E.value, index: d, parts: _ }) : [E.value];
827
- return ya(k) && (k[0].key = `${E.type}-${d}`), k;
828
- }) : N(_) && (m = [_]);
829
- const g = w({}, t), v = N(e.tag) || V(e.tag) ? e.tag : yt();
830
- return Ft(v, g, m);
831
- };
832
- }
833
- const Ua = /* @__PURE__ */ Xe({
834
- /* eslint-disable */
835
- name: "i18n-n",
836
- props: w({
837
- value: {
838
- type: Number,
839
- required: !0
840
- },
841
- format: {
842
- type: [String, Object]
843
- }
844
- }, Ke),
845
- /* eslint-enable */
846
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
847
- setup(e, l) {
848
- const a = e.i18n || qe({
849
- useScope: e.scope,
850
- __useComponent: !0
851
- });
852
- return Ut(e, l, na, (...n) => (
853
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
854
- a[xe](...n)
855
- ));
856
- }
857
- }), dt = Ua, Wa = /* @__PURE__ */ Xe({
858
- /* eslint-disable */
859
- name: "i18n-d",
860
- props: w({
861
- value: {
862
- type: [Number, Date],
863
- required: !0
864
- },
865
- format: {
866
- type: [String, Object]
867
- }
868
- }, Ke),
869
- /* eslint-enable */
870
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
871
- setup(e, l) {
872
- const a = e.i18n || qe({
873
- useScope: e.scope,
874
- __useComponent: !0
875
- });
876
- return Ut(e, l, ra, (...n) => (
877
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
878
- a[$e](...n)
879
- ));
880
- }
881
- }), bt = Wa;
882
- function wa(e, l) {
883
- const a = e;
884
- if (e.mode === "composition")
885
- return a.__getInstance(l) || e.global;
886
- {
887
- const n = a.__getInstance(l);
888
- return n != null ? n.__composer : e.global.__composer;
889
- }
890
- }
891
- function $a(e) {
892
- const l = (r) => {
893
- const { instance: i, modifiers: _, value: m } = r;
894
- if (!i || !i.$)
895
- throw h(b.UNEXPECTED_ERROR);
896
- const g = wa(e, i.$);
897
- process.env.NODE_ENV !== "production" && _.preserve && S(M(O.NOT_SUPPORTED_PRESERVE));
898
- const v = Nt(m);
899
- return [
900
- Reflect.apply(g.t, g, [...It(v)]),
901
- g
902
- ];
903
- };
904
- return {
905
- created: (r, i) => {
906
- const [_, m] = l(i);
907
- ge && e.global === m && (r.__i18nWatcher = We(m.locale, () => {
908
- i.instance && i.instance.$forceUpdate();
909
- })), r.__composer = m, r.textContent = _;
910
- },
911
- unmounted: (r) => {
912
- ge && r.__i18nWatcher && (r.__i18nWatcher(), r.__i18nWatcher = void 0, delete r.__i18nWatcher), r.__composer && (r.__composer = void 0, delete r.__composer);
913
- },
914
- beforeUpdate: (r, { value: i }) => {
915
- if (r.__composer) {
916
- const _ = r.__composer, m = Nt(i);
917
- r.textContent = Reflect.apply(_.t, _, [
918
- ...It(m)
919
- ]);
920
- }
921
- },
922
- getSSRProps: (r) => {
923
- const [i] = l(r);
924
- return { textContent: i };
925
- }
926
- };
927
- }
928
- function Nt(e) {
929
- if (N(e))
930
- return { path: e };
931
- if (p(e)) {
932
- if (!("path" in e))
933
- throw h(b.REQUIRED_VALUE, "path");
934
- return e;
935
- } else
936
- throw h(b.INVALID_VALUE);
937
- }
938
- function It(e) {
939
- const { path: l, locale: a, args: n, choice: s, plural: t } = e, r = {}, i = n || {};
940
- return N(a) && (r.locale = a), ae(s) && (r.plural = s), ae(t) && (r.plural = t), [l, i, r];
941
- }
942
- function xa(e, l, ...a) {
943
- const n = p(a[0]) ? a[0] : {}, s = !!n.useI18nComponentName, t = L(n.globalInstall) ? n.globalInstall : !0;
944
- process.env.NODE_ENV !== "production" && t && s && S(M(O.COMPONENT_NAME_LEGACY_COMPATIBLE, {
945
- name: ye.name
946
- })), t && ([s ? "i18n" : ye.name, "I18nT"].forEach((r) => e.component(r, ye)), [dt.name, "I18nN"].forEach((r) => e.component(r, dt)), [bt.name, "I18nD"].forEach((r) => e.component(r, bt))), e.directive("t", $a(l));
947
- }
948
- const Ue = {
949
- "vue-devtools-plugin-vue-i18n": "Vue I18n devtools",
950
- "vue-i18n-resource-inspector": "I18n Resources",
951
- "vue-i18n-timeline": "Vue I18n"
952
- }, Ha = {
953
- "vue-i18n-resource-inspector": "Search for scopes ..."
954
- }, Ga = {
955
- "vue-i18n-timeline": 16764185
956
- }, Wt = "vue-i18n: composer properties";
957
- let Ye;
958
- async function Ya(e, l) {
959
- return new Promise((a, n) => {
960
- try {
961
- Pa({
962
- id: "vue-devtools-plugin-vue-i18n",
963
- label: Ue[
964
- "vue-devtools-plugin-vue-i18n"
965
- /* VueDevToolsIDs.PLUGIN */
966
- ],
967
- packageName: "vue-i18n",
968
- homepage: "https://vue-i18n.intlify.dev",
969
- logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
970
- componentStateTypes: [Wt],
971
- app: e
972
- // eslint-disable-line @typescript-eslint/no-explicit-any
973
- }, (s) => {
974
- Ye = s, s.on.visitComponentTree(({ componentInstance: r, treeNode: i }) => {
975
- ja(r, i, l);
976
- }), s.on.inspectComponent(({ componentInstance: r, instanceData: i }) => {
977
- r.vnode.el && r.vnode.el.__VUE_I18N__ && i && (l.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== l.global.__composer && Tt(i, r.vnode.el.__VUE_I18N__) : Tt(i, r.vnode.el.__VUE_I18N__));
978
- }), s.addInspector({
979
- id: "vue-i18n-resource-inspector",
980
- label: Ue[
981
- "vue-i18n-resource-inspector"
982
- /* VueDevToolsIDs.CUSTOM_INSPECTOR */
983
- ],
984
- icon: "language",
985
- treeFilterPlaceholder: Ha[
986
- "vue-i18n-resource-inspector"
987
- /* VueDevToolsIDs.CUSTOM_INSPECTOR */
988
- ]
989
- }), s.on.getInspectorTree((r) => {
990
- r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && za(r, l);
991
- });
992
- const t = /* @__PURE__ */ new Map();
993
- s.on.getInspectorState(async (r) => {
994
- if (r.app === e && r.inspectorId === "vue-i18n-resource-inspector")
995
- if (s.unhighlightElement(), Qa(r, l), r.nodeId === "global") {
996
- if (!t.has(r.app)) {
997
- const [i] = await s.getComponentInstances(r.app);
998
- t.set(r.app, i);
999
- }
1000
- s.highlightElement(t.get(r.app));
1001
- } else {
1002
- const i = qa(r.nodeId, l);
1003
- i && s.highlightElement(i);
1004
- }
1005
- }), s.on.editInspectorState((r) => {
1006
- r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && el(r, l);
1007
- }), s.addTimelineLayer({
1008
- id: "vue-i18n-timeline",
1009
- label: Ue[
1010
- "vue-i18n-timeline"
1011
- /* VueDevToolsIDs.TIMELINE */
1012
- ],
1013
- color: Ga[
1014
- "vue-i18n-timeline"
1015
- /* VueDevToolsIDs.TIMELINE */
1016
- ]
1017
- }), a(!0);
1018
- });
1019
- } catch (s) {
1020
- console.error(s), n(!1);
1021
- }
1022
- });
1023
- }
1024
- function wt(e) {
1025
- return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
1026
- }
1027
- function ja(e, l, a) {
1028
- const n = a.mode === "composition" ? a.global : a.global.__composer;
1029
- if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== n) {
1030
- const s = {
1031
- label: `i18n (${wt(e)} Scope)`,
1032
- textColor: 0,
1033
- backgroundColor: 16764185
1034
- };
1035
- l.tags.push(s);
1036
- }
1037
- }
1038
- function Tt(e, l) {
1039
- const a = Wt;
1040
- e.state.push({
1041
- type: a,
1042
- key: "locale",
1043
- editable: !0,
1044
- value: l.locale.value
1045
- }), e.state.push({
1046
- type: a,
1047
- key: "availableLocales",
1048
- editable: !1,
1049
- value: l.availableLocales
1050
- }), e.state.push({
1051
- type: a,
1052
- key: "fallbackLocale",
1053
- editable: !0,
1054
- value: l.fallbackLocale.value
1055
- }), e.state.push({
1056
- type: a,
1057
- key: "inheritLocale",
1058
- editable: !0,
1059
- value: l.inheritLocale
1060
- }), e.state.push({
1061
- type: a,
1062
- key: "messages",
1063
- editable: !1,
1064
- value: ze(l.messages.value)
1065
- }), e.state.push({
1066
- type: a,
1067
- key: "datetimeFormats",
1068
- editable: !1,
1069
- value: l.datetimeFormats.value
1070
- }), e.state.push({
1071
- type: a,
1072
- key: "numberFormats",
1073
- editable: !1,
1074
- value: l.numberFormats.value
1075
- });
1076
- }
1077
- function ze(e) {
1078
- const l = {};
1079
- return Object.keys(e).forEach((a) => {
1080
- const n = e[a];
1081
- B(n) && "source" in n ? l[a] = Ka(n) : Pt(n) && n.loc && n.loc.source ? l[a] = n.loc.source : V(n) ? l[a] = ze(n) : l[a] = n;
1082
- }), l;
1083
- }
1084
- const Ba = {
1085
- "<": "&lt;",
1086
- ">": "&gt;",
1087
- '"': "&quot;",
1088
- "&": "&amp;"
1089
- };
1090
- function Xa(e) {
1091
- return e.replace(/[<>"&]/g, Ja);
1092
- }
1093
- function Ja(e) {
1094
- return Ba[e] || e;
1095
- }
1096
- function Ka(e) {
1097
- return {
1098
- _custom: {
1099
- type: "function",
1100
- display: `<span>ƒ</span> ${e.source ? `("${Xa(e.source)}")` : "(?)"}`
1101
- }
1102
- };
1103
- }
1104
- function za(e, l) {
1105
- e.rootNodes.push({
1106
- id: "global",
1107
- label: "Global Scope"
1108
- });
1109
- const a = l.mode === "composition" ? l.global : l.global.__composer;
1110
- for (const [n, s] of l.__instances) {
1111
- const t = l.mode === "composition" ? s : s.__composer;
1112
- a !== t && e.rootNodes.push({
1113
- id: t.id.toString(),
1114
- label: `${wt(n)} Scope`
1115
- });
1116
- }
1117
- }
1118
- function qa(e, l) {
1119
- let a = null;
1120
- if (e !== "global") {
1121
- for (const [n, s] of l.__instances.entries())
1122
- if (s.id.toString() === e) {
1123
- a = n;
1124
- break;
1125
- }
1126
- }
1127
- return a;
1128
- }
1129
- function $t(e, l) {
1130
- if (e === "global")
1131
- return l.mode === "composition" ? l.global : l.global.__composer;
1132
- {
1133
- const a = Array.from(l.__instances.values()).find((n) => n.id.toString() === e);
1134
- return a ? l.mode === "composition" ? a : a.__composer : null;
1135
- }
1136
- }
1137
- function Qa(e, l) {
1138
- const a = $t(e.nodeId, l);
1139
- return a && (e.state = Za(a)), null;
1140
- }
1141
- function Za(e) {
1142
- const l = {}, a = "Locale related info", n = [
1143
- {
1144
- type: a,
1145
- key: "locale",
1146
- editable: !0,
1147
- value: e.locale.value
1148
- },
1149
- {
1150
- type: a,
1151
- key: "fallbackLocale",
1152
- editable: !0,
1153
- value: e.fallbackLocale.value
1154
- },
1155
- {
1156
- type: a,
1157
- key: "availableLocales",
1158
- editable: !1,
1159
- value: e.availableLocales
1160
- },
1161
- {
1162
- type: a,
1163
- key: "inheritLocale",
1164
- editable: !0,
1165
- value: e.inheritLocale
1166
- }
1167
- ];
1168
- l[a] = n;
1169
- const s = "Locale messages info", t = [
1170
- {
1171
- type: s,
1172
- key: "messages",
1173
- editable: !1,
1174
- value: ze(e.messages.value)
1175
- }
1176
- ];
1177
- l[s] = t;
1178
- {
1179
- const r = "Datetime formats info", i = [
1180
- {
1181
- type: r,
1182
- key: "datetimeFormats",
1183
- editable: !1,
1184
- value: e.datetimeFormats.value
1185
- }
1186
- ];
1187
- l[r] = i;
1188
- const _ = "Datetime formats info", m = [
1189
- {
1190
- type: _,
1191
- key: "numberFormats",
1192
- editable: !1,
1193
- value: e.numberFormats.value
1194
- }
1195
- ];
1196
- l[_] = m;
1197
- }
1198
- return l;
1199
- }
1200
- function ce(e, l) {
1201
- if (Ye) {
1202
- let a;
1203
- l && "groupId" in l && (a = l.groupId, delete l.groupId), Ye.addTimelineEvent({
1204
- layerId: "vue-i18n-timeline",
1205
- event: {
1206
- title: e,
1207
- groupId: a,
1208
- time: Date.now(),
1209
- meta: {},
1210
- data: l || {},
1211
- logType: e === "compile-error" ? "error" : e === "fallback" || e === "missing" ? "warning" : "default"
1212
- }
1213
- });
1214
- }
1215
- }
1216
- function el(e, l) {
1217
- const a = $t(e.nodeId, l);
1218
- if (a) {
1219
- const [n] = e.path;
1220
- n === "locale" && N(e.state.value) ? a.locale.value = e.state.value : n === "fallbackLocale" && (N(e.state.value) || D(e.state.value) || V(e.state.value)) ? a.fallbackLocale.value = e.state.value : n === "inheritLocale" && L(e.state.value) && (a.inheritLocale = e.state.value);
1221
- }
1222
- }
1223
- function tl(e, l, a) {
1224
- return {
1225
- beforeCreate() {
1226
- const n = se();
1227
- if (!n)
1228
- throw h(b.UNEXPECTED_ERROR);
1229
- const s = this.$options;
1230
- if (s.i18n) {
1231
- const t = s.i18n;
1232
- if (s.__i18n && (t.__i18n = s.__i18n), t.__root = l, this === this.$root)
1233
- this.$i18n = Ot(e, t);
1234
- else {
1235
- t.__injectWithOption = !0, t.__extender = a.__vueI18nExtend, this.$i18n = Ge(t);
1236
- const r = this.$i18n;
1237
- r.__extender && (r.__disposer = r.__extender(this.$i18n));
1238
- }
1239
- } else if (s.__i18n)
1240
- if (this === this.$root)
1241
- this.$i18n = Ot(e, s);
1242
- else {
1243
- this.$i18n = Ge({
1244
- __i18n: s.__i18n,
1245
- __injectWithOption: !0,
1246
- __extender: a.__vueI18nExtend,
1247
- __root: l
1248
- });
1249
- const t = this.$i18n;
1250
- t.__extender && (t.__disposer = t.__extender(this.$i18n));
1251
- }
1252
- else
1253
- this.$i18n = e;
1254
- s.__i18nGlobal && Vt(l, s, s), this.$t = (...t) => this.$i18n.t(...t), this.$rt = (...t) => this.$i18n.rt(...t), this.$tc = (...t) => this.$i18n.tc(...t), this.$te = (t, r) => this.$i18n.te(t, r), this.$d = (...t) => this.$i18n.d(...t), this.$n = (...t) => this.$i18n.n(...t), this.$tm = (t) => this.$i18n.tm(t), a.__setInstance(n, this.$i18n);
1255
- },
1256
- mounted() {
1257
- if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
1258
- const n = this.$i18n;
1259
- this.$el.__VUE_I18N__ = n.__composer;
1260
- const s = this.__v_emitter = Be();
1261
- n.__enableEmitter && n.__enableEmitter(s), s.on("*", ce);
1262
- }
1263
- },
1264
- unmounted() {
1265
- const n = se();
1266
- if (!n)
1267
- throw h(b.UNEXPECTED_ERROR);
1268
- const s = this.$i18n;
1269
- process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", ce), delete this.__v_emitter), this.$i18n && (s.__disableEmitter && s.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$tc, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, s.__disposer && (s.__disposer(), delete s.__disposer, delete s.__extender), a.__deleteInstance(n), delete this.$i18n;
1270
- }
1271
- };
1272
- }
1273
- function Ot(e, l) {
1274
- e.locale = l.locale || e.locale, e.fallbackLocale = l.fallbackLocale || e.fallbackLocale, e.missing = l.missing || e.missing, e.silentTranslationWarn = l.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = l.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = l.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = l.postTranslation || e.postTranslation, e.warnHtmlInMessage = l.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = l.escapeParameterHtml || e.escapeParameterHtml, e.sync = l.sync || e.sync, e.__composer[At](l.pluralizationRules || e.pluralizationRules);
1275
- const a = ve(e.locale, {
1276
- messages: l.messages,
1277
- __i18n: l.__i18n
1278
- });
1279
- return Object.keys(a).forEach((n) => e.mergeLocaleMessage(n, a[n])), l.datetimeFormats && Object.keys(l.datetimeFormats).forEach((n) => e.mergeDateTimeFormat(n, l.datetimeFormats[n])), l.numberFormats && Object.keys(l.numberFormats).forEach((n) => e.mergeNumberFormat(n, l.numberFormats[n])), e;
1280
- }
1281
- const al = /* @__PURE__ */ H("global-vue-i18n");
1282
- function vl(e = {}, l) {
1283
- const a = __VUE_I18N_LEGACY_API__ && L(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__, n = L(e.globalInjection) ? e.globalInjection : !0, s = __VUE_I18N_LEGACY_API__ && a ? !!e.allowComposition : !0, t = /* @__PURE__ */ new Map(), [r, i] = ll(e, a), _ = /* @__PURE__ */ H(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1284
- process.env.NODE_ENV !== "production" && a && s && S(M(O.NOTICE_DROP_ALLOW_COMPOSITION));
1285
- function m(E) {
1286
- return t.get(E) || null;
1287
- }
1288
- function g(E, d) {
1289
- t.set(E, d);
1290
- }
1291
- function v(E) {
1292
- t.delete(E);
1293
- }
1294
- {
1295
- const E = {
1296
- // mode
1297
- get mode() {
1298
- return __VUE_I18N_LEGACY_API__ && a ? "legacy" : "composition";
1299
- },
1300
- // allowComposition
1301
- get allowComposition() {
1302
- return s;
1303
- },
1304
- // install plugin
1305
- async install(d, ...F) {
1306
- if (process.env.NODE_ENV !== "production" && (d.__VUE_I18N__ = E), d.__VUE_I18N_SYMBOL__ = _, d.provide(d.__VUE_I18N_SYMBOL__, E), p(F[0])) {
1307
- const y = F[0];
1308
- E.__composerExtend = y.__composerExtend, E.__vueI18nExtend = y.__vueI18nExtend;
1309
- }
1310
- let k = null;
1311
- !a && n && (k = ml(d, E.global)), __VUE_I18N_FULL_INSTALL__ && xa(d, E, ...F), __VUE_I18N_LEGACY_API__ && a && d.mixin(tl(i, i.__composer, E));
1312
- const U = d.unmount;
1313
- if (d.unmount = () => {
1314
- k && k(), E.dispose(), U();
1315
- }, process.env.NODE_ENV !== "production") {
1316
- if (!await Ya(d, E))
1317
- throw h(b.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1318
- const W = Be();
1319
- if (a) {
1320
- const C = i;
1321
- C.__enableEmitter && C.__enableEmitter(W);
1322
- } else {
1323
- const C = i;
1324
- C[Q] && C[Q](W);
1325
- }
1326
- W.on("*", ce);
1327
- }
1328
- },
1329
- // global accessor
1330
- get global() {
1331
- return i;
1332
- },
1333
- dispose() {
1334
- r.stop();
1335
- },
1336
- // @internal
1337
- __instances: t,
1338
- // @internal
1339
- __getInstance: m,
1340
- // @internal
1341
- __setInstance: g,
1342
- // @internal
1343
- __deleteInstance: v
1344
- };
1345
- return E;
1346
- }
1347
- }
1348
- function qe(e = {}) {
1349
- const l = se();
1350
- if (l == null)
1351
- throw h(b.MUST_BE_CALL_SETUP_TOP);
1352
- if (!l.isCE && l.appContext.app != null && !l.appContext.app.__VUE_I18N_SYMBOL__)
1353
- throw h(b.NOT_INSTALLED);
1354
- const a = nl(l), n = sl(a), s = St(l), t = rl(e, s);
1355
- if (__VUE_I18N_LEGACY_API__ && a.mode === "legacy" && !e.__useComponent) {
1356
- if (!a.allowComposition)
1357
- throw h(b.NOT_AVAILABLE_IN_LEGACY_MODE);
1358
- return ul(l, t, n, e);
1359
- }
1360
- if (t === "global")
1361
- return Vt(n, e, s), n;
1362
- if (t === "parent") {
1363
- let _ = ol(a, l, e.__useComponent);
1364
- return _ == null && (process.env.NODE_ENV !== "production" && S(M(O.NOT_FOUND_PARENT_SCOPE)), _ = n), _;
1365
- }
1366
- const r = a;
1367
- let i = r.__getInstance(l);
1368
- if (i == null) {
1369
- const _ = w({}, e);
1370
- "__i18n" in s && (_.__i18n = s.__i18n), n && (_.__root = n), i = Je(_), r.__composerExtend && (i[He] = r.__composerExtend(i)), cl(r, l, i), r.__setInstance(l, i);
1371
- }
1372
- return i;
1373
- }
1374
- function ll(e, l, a) {
1375
- const n = ba();
1376
- {
1377
- const s = __VUE_I18N_LEGACY_API__ && l ? n.run(() => Ge(e)) : n.run(() => Je(e));
1378
- if (s == null)
1379
- throw h(b.UNEXPECTED_ERROR);
1380
- return [n, s];
1381
- }
1382
- }
1383
- function nl(e) {
1384
- {
1385
- const l = Na(e.isCE ? al : e.appContext.app.__VUE_I18N_SYMBOL__);
1386
- if (!l)
1387
- throw h(e.isCE ? b.NOT_INSTALLED_WITH_PROVIDE : b.UNEXPECTED_ERROR);
1388
- return l;
1389
- }
1390
- }
1391
- function rl(e, l) {
1392
- return qt(e) ? "__i18n" in l ? "local" : "global" : e.useScope ? e.useScope : "local";
1393
- }
1394
- function sl(e) {
1395
- return e.mode === "composition" ? e.global : e.global.__composer;
1396
- }
1397
- function ol(e, l, a = !1) {
1398
- let n = null;
1399
- const s = l.root;
1400
- let t = il(l, a);
1401
- for (; t != null; ) {
1402
- const r = e;
1403
- if (e.mode === "composition")
1404
- n = r.__getInstance(t);
1405
- else if (__VUE_I18N_LEGACY_API__) {
1406
- const i = r.__getInstance(t);
1407
- i != null && (n = i.__composer, a && n && !n[Mt] && (n = null));
1408
- }
1409
- if (n != null || s === t)
1410
- break;
1411
- t = t.parent;
1412
- }
1413
- return n;
1414
- }
1415
- function il(e, l = !1) {
1416
- return e == null ? null : l && e.vnode.ctx || e.parent;
1417
- }
1418
- function cl(e, l, a) {
1419
- let n = null;
1420
- Ia(() => {
1421
- if (process.env.NODE_ENV !== "production" && l.vnode.el) {
1422
- l.vnode.el.__VUE_I18N__ = a, n = Be();
1423
- const s = a;
1424
- s[Q] && s[Q](n), n.on("*", ce);
1425
- }
1426
- }, l), Ta(() => {
1427
- const s = a;
1428
- process.env.NODE_ENV !== "production" && l.vnode.el && l.vnode.el.__VUE_I18N__ && (n && n.off("*", ce), s[oe] && s[oe](), delete l.vnode.el.__VUE_I18N__), e.__deleteInstance(l);
1429
- const t = s[He];
1430
- t && (t(), delete s[He]);
1431
- }, l);
1432
- }
1433
- function ul(e, l, a, n = {}) {
1434
- const s = l === "local", t = ht(null);
1435
- if (s && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
1436
- throw h(b.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
1437
- const r = L(n.inheritLocale) ? n.inheritLocale : !N(n.locale), i = te(
1438
- // prettier-ignore
1439
- !s || r ? a.locale.value : N(n.locale) ? n.locale : je
1440
- ), _ = te(
1441
- // prettier-ignore
1442
- !s || r ? a.fallbackLocale.value : N(n.fallbackLocale) || D(n.fallbackLocale) || p(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i.value
1443
- ), m = te(ve(i.value, n)), g = te(p(n.datetimeFormats) ? n.datetimeFormats : { [i.value]: {} }), v = te(p(n.numberFormats) ? n.numberFormats : { [i.value]: {} }), E = s ? a.missingWarn : L(n.missingWarn) || le(n.missingWarn) ? n.missingWarn : !0, d = s ? a.fallbackWarn : L(n.fallbackWarn) || le(n.fallbackWarn) ? n.fallbackWarn : !0, F = s ? a.fallbackRoot : L(n.fallbackRoot) ? n.fallbackRoot : !0, k = !!n.fallbackFormat, U = B(n.missing) ? n.missing : null, y = B(n.postTranslation) ? n.postTranslation : null, W = s ? a.warnHtmlMessage : L(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, C = !!n.escapeParameter, G = s ? a.modifiers : p(n.modifiers) ? n.modifiers : {}, z = n.pluralRules || s && a.pluralRules;
1444
- function X() {
1445
- return [
1446
- i.value,
1447
- _.value,
1448
- m.value,
1449
- g.value,
1450
- v.value
1451
- ];
1452
- }
1453
- const ne = x({
1454
- get: () => t.value ? t.value.locale.value : i.value,
1455
- set: (u) => {
1456
- t.value && (t.value.locale.value = u), i.value = u;
1457
- }
1458
- }), $ = x({
1459
- get: () => t.value ? t.value.fallbackLocale.value : _.value,
1460
- set: (u) => {
1461
- t.value && (t.value.fallbackLocale.value = u), _.value = u;
1462
- }
1463
- }), f = x(() => t.value ? t.value.messages.value : m.value), ue = x(() => g.value), de = x(() => v.value);
1464
- function be() {
1465
- return t.value ? t.value.getPostTranslationHandler() : y;
1466
- }
1467
- function Ne(u) {
1468
- t.value && t.value.setPostTranslationHandler(u);
1469
- }
1470
- function Ie() {
1471
- return t.value ? t.value.getMissingHandler() : U;
1472
- }
1473
- function Te(u) {
1474
- t.value && t.value.setMissingHandler(u);
1475
- }
1476
- function J(u) {
1477
- return X(), u();
1478
- }
1479
- function Oe(...u) {
1480
- return t.value ? J(() => Reflect.apply(t.value.t, null, [...u])) : J(() => "");
1481
- }
1482
- function Le(...u) {
1483
- return t.value ? Reflect.apply(t.value.rt, null, [...u]) : "";
1484
- }
1485
- function pe(...u) {
1486
- return t.value ? J(() => Reflect.apply(t.value.d, null, [...u])) : J(() => "");
1487
- }
1488
- function Re(...u) {
1489
- return t.value ? J(() => Reflect.apply(t.value.n, null, [...u])) : J(() => "");
1490
- }
1491
- function Pe(u) {
1492
- return t.value ? t.value.tm(u) : {};
1493
- }
1494
- function Y(u, T) {
1495
- return t.value ? t.value.te(u, T) : !1;
1496
- }
1497
- function _e(u) {
1498
- return t.value ? t.value.getLocaleMessage(u) : {};
1499
- }
1500
- function Fe(u, T) {
1501
- t.value && (t.value.setLocaleMessage(u, T), m.value[u] = T);
1502
- }
1503
- function he(u, T) {
1504
- t.value && t.value.mergeLocaleMessage(u, T);
1505
- }
1506
- function ke(u) {
1507
- return t.value ? t.value.getDateTimeFormat(u) : {};
1508
- }
1509
- function Ce(u, T) {
1510
- t.value && (t.value.setDateTimeFormat(u, T), g.value[u] = T);
1511
- }
1512
- function Qe(u, T) {
1513
- t.value && t.value.mergeDateTimeFormat(u, T);
1514
- }
1515
- function De(u) {
1516
- return t.value ? t.value.getNumberFormat(u) : {};
1517
- }
1518
- function Ae(u, T) {
1519
- t.value && (t.value.setNumberFormat(u, T), v.value[u] = T);
1520
- }
1521
- function Me(u, T) {
1522
- t.value && t.value.mergeNumberFormat(u, T);
1523
- }
1524
- const Se = {
1525
- get id() {
1526
- return t.value ? t.value.id : -1;
1527
- },
1528
- locale: ne,
1529
- fallbackLocale: $,
1530
- messages: f,
1531
- datetimeFormats: ue,
1532
- numberFormats: de,
1533
- get inheritLocale() {
1534
- return t.value ? t.value.inheritLocale : r;
1535
- },
1536
- set inheritLocale(u) {
1537
- t.value && (t.value.inheritLocale = u);
1538
- },
1539
- get availableLocales() {
1540
- return t.value ? t.value.availableLocales : Object.keys(m.value);
1541
- },
1542
- get modifiers() {
1543
- return t.value ? t.value.modifiers : G;
1544
- },
1545
- get pluralRules() {
1546
- return t.value ? t.value.pluralRules : z;
1547
- },
1548
- get isGlobal() {
1549
- return t.value ? t.value.isGlobal : !1;
1550
- },
1551
- get missingWarn() {
1552
- return t.value ? t.value.missingWarn : E;
1553
- },
1554
- set missingWarn(u) {
1555
- t.value && (t.value.missingWarn = u);
1556
- },
1557
- get fallbackWarn() {
1558
- return t.value ? t.value.fallbackWarn : d;
1559
- },
1560
- set fallbackWarn(u) {
1561
- t.value && (t.value.missingWarn = u);
1562
- },
1563
- get fallbackRoot() {
1564
- return t.value ? t.value.fallbackRoot : F;
1565
- },
1566
- set fallbackRoot(u) {
1567
- t.value && (t.value.fallbackRoot = u);
1568
- },
1569
- get fallbackFormat() {
1570
- return t.value ? t.value.fallbackFormat : k;
1571
- },
1572
- set fallbackFormat(u) {
1573
- t.value && (t.value.fallbackFormat = u);
1574
- },
1575
- get warnHtmlMessage() {
1576
- return t.value ? t.value.warnHtmlMessage : W;
1577
- },
1578
- set warnHtmlMessage(u) {
1579
- t.value && (t.value.warnHtmlMessage = u);
1580
- },
1581
- get escapeParameter() {
1582
- return t.value ? t.value.escapeParameter : C;
1583
- },
1584
- set escapeParameter(u) {
1585
- t.value && (t.value.escapeParameter = u);
1586
- },
1587
- t: Oe,
1588
- getPostTranslationHandler: be,
1589
- setPostTranslationHandler: Ne,
1590
- getMissingHandler: Ie,
1591
- setMissingHandler: Te,
1592
- rt: Le,
1593
- d: pe,
1594
- n: Re,
1595
- tm: Pe,
1596
- te: Y,
1597
- getLocaleMessage: _e,
1598
- setLocaleMessage: Fe,
1599
- mergeLocaleMessage: he,
1600
- getDateTimeFormat: ke,
1601
- setDateTimeFormat: Ce,
1602
- mergeDateTimeFormat: Qe,
1603
- getNumberFormat: De,
1604
- setNumberFormat: Ae,
1605
- mergeNumberFormat: Me
1606
- };
1607
- function Ve(u) {
1608
- u.locale.value = i.value, u.fallbackLocale.value = _.value, Object.keys(m.value).forEach((T) => {
1609
- u.mergeLocaleMessage(T, m.value[T]);
1610
- }), Object.keys(g.value).forEach((T) => {
1611
- u.mergeDateTimeFormat(T, g.value[T]);
1612
- }), Object.keys(v.value).forEach((T) => {
1613
- u.mergeNumberFormat(T, v.value[T]);
1614
- }), u.escapeParameter = C, u.fallbackFormat = k, u.fallbackRoot = F, u.fallbackWarn = d, u.missingWarn = E, u.warnHtmlMessage = W;
1615
- }
1616
- return Oa(() => {
1617
- if (e.proxy == null || e.proxy.$i18n == null)
1618
- throw h(b.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
1619
- const u = t.value = e.proxy.$i18n.__composer;
1620
- l === "global" ? (i.value = u.locale.value, _.value = u.fallbackLocale.value, m.value = u.messages.value, g.value = u.datetimeFormats.value, v.value = u.numberFormats.value) : s && Ve(u);
1621
- }), Se;
1622
- }
1623
- const _l = [
1624
- "locale",
1625
- "fallbackLocale",
1626
- "availableLocales"
1627
- ], Lt = ["t", "rt", "d", "n", "tm", "te"];
1628
- function ml(e, l) {
1629
- const a = /* @__PURE__ */ Object.create(null);
1630
- return _l.forEach((s) => {
1631
- const t = Object.getOwnPropertyDescriptor(l, s);
1632
- if (!t)
1633
- throw h(b.UNEXPECTED_ERROR);
1634
- const r = La(t.value) ? {
1635
- get() {
1636
- return t.value.value;
1637
- },
1638
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1639
- set(i) {
1640
- t.value.value = i;
1641
- }
1642
- } : {
1643
- get() {
1644
- return t.get && t.get();
1645
- }
1646
- };
1647
- Object.defineProperty(a, s, r);
1648
- }), e.config.globalProperties.$i18n = a, Lt.forEach((s) => {
1649
- const t = Object.getOwnPropertyDescriptor(l, s);
1650
- if (!t || !t.value)
1651
- throw h(b.UNEXPECTED_ERROR);
1652
- Object.defineProperty(e.config.globalProperties, `$${s}`, t);
1653
- }), () => {
1654
- delete e.config.globalProperties.$i18n, Lt.forEach((s) => {
1655
- delete e.config.globalProperties[`$${s}`];
1656
- });
1657
- };
1658
- }
1659
- ha();
1660
- __INTLIFY_JIT_COMPILATION__ ? tt(sa) : tt(oa);
1661
- Qt(ia);
1662
- Zt(pt);
1663
- if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1664
- const e = ee();
1665
- e.__INTLIFY__ = !0, ea(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1666
- }
1667
- process.env.NODE_ENV;
1668
- export {
1669
- vl as c
1670
- };