halo-pc 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. package/dist/{Article-CjlnxF__.js → Article-7pMF1N-k.js} +67 -71
  2. package/dist/{Autocomplete-BnQpnnyK.js → Autocomplete-CEjjKXwo.js} +1 -1
  3. package/dist/Autocomplete-DqKo5NiJ.js +49 -0
  4. package/dist/Autocomplete-K5ipzchR.js +48 -0
  5. package/dist/{CSharp-Dxc7debp.js → CSharp-DatSqpip.js} +1 -1
  6. package/dist/{Calender-CZajLEjs.js → Calender-B1HoFiQg.js} +1 -1
  7. package/dist/Callback-PyCjejiv.js +20 -0
  8. package/dist/Cascader-B9lLRKjA.js +80 -0
  9. package/dist/Cascader-BNvlqc5t.js +41 -0
  10. package/dist/{Checkbox-DvjA_jtM.js → Checkbox-B6IkMrWB.js} +1 -1
  11. package/dist/Code-BdK547kD.js +4 -0
  12. package/dist/Code-DfFF-84i.js +36 -0
  13. package/dist/Code-LFQVJotC.js +54 -0
  14. package/dist/{Code-Dn68YB2V.js → Code-SZuIImtp.js} +1 -1
  15. package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
  16. package/dist/Column-DVjYrrr7.js +67 -0
  17. package/dist/Comment-Do7Mjpjr.js +98 -0
  18. package/dist/Compare-C_iDn27Q.js +56 -0
  19. package/dist/Compare-CrX3yfD4.js +26 -0
  20. package/dist/{Copy-C5yEC9dX.js → Copy-_sbdQvHJ.js} +11 -11
  21. package/dist/Custom-DarpQFG8.js +49 -0
  22. package/dist/{DataExport-GCZvxEp5.js → DataExport-I9iG4oEo.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js → DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js} +32 -36
  24. package/dist/{DataImport-BofV1eCR.js → DataImport-2KtOy-of.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
  26. package/dist/{Date-DgpsRJon.js → Date-PERpDDy_.js} +1 -1
  27. package/dist/{DateRange-UHosLXP9.js → DateRange-BaxHMjcx.js} +7 -11
  28. package/dist/{DateTime-CHn5T-FB.js → DateTime-B7gHENiu.js} +1 -1
  29. package/dist/{DateTimeRange-6TctUiMd.js → DateTimeRange-yI9Y2qgC.js} +10 -14
  30. package/dist/{Daterange-DISQqOFM.js → Daterange-DqvBvK-B.js} +13 -17
  31. package/dist/{Decimal-BB2w4V2o.js → Decimal-AXwMeqBW.js} +1 -1
  32. package/dist/Delete-BY3vAVWa.js +55 -0
  33. package/dist/{Detail-D-6vJTGF.js → Detail-aWACqVnM.js} +16 -18
  34. package/dist/Dictionary-DpQuFYQ5.js +55 -0
  35. package/dist/{File-CMCYSg30.js → File--NsXL6XX.js} +26 -29
  36. package/dist/{Image-BL458jPH.js → Image-CuwfJLKW.js} +1 -1
  37. package/dist/{Index-Ch59SxF3.js → Index-BNOFdDjW.js} +15 -19
  38. package/dist/Index-B_a_HzsB.js +4 -0
  39. package/dist/{Index-DZkeSKKp.js → Index-CQ9S2R9b.js} +1 -1
  40. package/dist/{Index-Cp7EDm0u.js → Index-Cewv4-Ik.js} +52 -57
  41. package/dist/{Index-B1ZfzgLV.js → Index-Cj79dCuO.js} +1 -1
  42. package/dist/Index-Cx2J_P37.js +4 -0
  43. package/dist/{Index-CopnEHli.js → Index-DA2wAurY.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js → Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js} +13 -18
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js → Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js} +12 -17
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js → Index.vue_vue_type_style_index_0_lang-DApNHvNX.js} +27 -31
  47. package/dist/{Install-CJbpeRw0.js → Install-BWdNbtVx.js} +17 -19
  48. package/dist/{Int-CkzuFSk2.js → Int-nmVkFRqG.js} +12 -16
  49. package/dist/List-BjdY1rMk.js +72 -0
  50. package/dist/Maintaince-DzYzyrAc.js +15 -0
  51. package/dist/{Markdown-Dq7L9EMQ.js → Markdown-DD6ufwhM.js} +1 -1
  52. package/dist/{Month-CUX-EnU_.js → Month-BqbTFGgo.js} +1 -1
  53. package/dist/{Normal-B2w0Isvm.js → Normal-f4HN1ciI.js} +48 -51
  54. package/dist/Paging-BMPtLi8P.js +90 -0
  55. package/dist/QueryApi-CbP5cCyH.js +13 -0
  56. package/dist/{Racebar-DqWtIQm-.js → Racebar-Bou-XNCm.js} +23 -27
  57. package/dist/{Radio-xLd4l78I.js → Radio-BmikzeCv.js} +1 -1
  58. package/dist/{Register-Bio0HxyZ.js → Register-CgbRZH9W.js} +86 -93
  59. package/dist/{RichText-BYNi_iMx.js → RichText-BeK3zZam.js} +18 -22
  60. package/dist/{SearchFooter-BAPlMiuj.js → SearchFooter-C4PeAkaR.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js → SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js} +1 -1
  62. package/dist/{SearchForm-BaPwWOch.js → SearchForm-C7fZiQaW.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js → SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js} +26 -31
  64. package/dist/{Select-Doyr8ioF.js → Select-C1-NVZdG.js} +17 -21
  65. package/dist/{Select-DMDcHdlD.js → Select-DR5fQH0d.js} +36 -41
  66. package/dist/{Select-Dlx4Tg2X.js → Select-DlbQvxQu.js} +1 -1
  67. package/dist/{Single-B4EEi5Bm.js → Single-BLRyJKB-.js} +75 -79
  68. package/dist/{Statistic-AY1NP5tM.js → Statistic-BOtmYiRA.js} +30 -34
  69. package/dist/{Stock-CcBqUgOB.js → Stock-BqQ6lM5B.js} +1 -1
  70. package/dist/{Stock-Sh2UHojP.js → Stock-Dnwof0R1.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js → Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js} +22 -26
  72. package/dist/{Switch-BOsRzAW-.js → Switch-DuMBV0AX.js} +1 -1
  73. package/dist/{Table-CrMo5L6q.js → Table-Be-rPXr_.js} +69 -71
  74. package/dist/{Table-C9IrdZEj.js → Table-RMVT0hlE.js} +79 -84
  75. package/dist/Text-DSXRKFPa.js +4 -0
  76. package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
  77. package/dist/TextLink-BZW-y_FS.js +62 -0
  78. package/dist/{Textarea-WPLyT7XC.js → Textarea-3ypOGE1S.js} +1 -1
  79. package/dist/{Timeline-Dolubd-b.js → Timeline-CLezCcgQ.js} +17 -21
  80. package/dist/{Tree-KwP6ais4.js → Tree-B6RBRT1y.js} +63 -65
  81. package/dist/Tree-CLpCeirT.js +117 -0
  82. package/dist/TreeNode-C16N8jqm.js +34 -0
  83. package/dist/{Update-C5bPCalk.js → Update-Dc3Tdkn0.js} +11 -13
  84. package/dist/Upload-DvWyjK3a.js +143 -0
  85. package/dist/Upload-SEu1V1yX.js +67 -0
  86. package/dist/{UploadApi-vYU0Jda6.js → UploadApi-Bs507D0w.js} +3 -8
  87. package/dist/{Year-Dlp5PKhI.js → Year-DKxOQNyS.js} +1 -1
  88. package/dist/main-QtNG6p7a.js +16673 -0
  89. package/dist/main.js +82 -76
  90. package/dist/style.css +1 -1
  91. package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
  92. package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
  93. package/dist/vendor-pinia-yrN6kSxh.js +861 -0
  94. package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
  95. package/esm/coms/business/HaCondition.vue.d.ts +18 -0
  96. package/esm/coms/business/HaCrud.vue.d.ts +29 -0
  97. package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
  98. package/esm/coms/business/HaDriver.vue.d.ts +52 -0
  99. package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
  100. package/esm/coms/business/HaForm.vue.d.ts +23 -0
  101. package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
  102. package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
  103. package/esm/coms/business/index.d.ts +124 -0
  104. package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
  105. package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
  106. package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
  107. package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
  108. package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
  109. package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
  110. package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
  111. package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
  112. package/esm/coms/commons/HaTable.vue.d.ts +34 -0
  113. package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
  114. package/esm/coms/commons/index.d.ts +32 -0
  115. package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
  116. package/esm/coms/controls/Cascader.vue.d.ts +24 -0
  117. package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
  118. package/esm/coms/controls/Code.vue.d.ts +24 -0
  119. package/esm/coms/controls/Color.vue.d.ts +24 -0
  120. package/esm/coms/controls/Compare.vue.d.ts +24 -0
  121. package/esm/coms/controls/Date.vue.d.ts +24 -0
  122. package/esm/coms/controls/DateRange.vue.d.ts +24 -0
  123. package/esm/coms/controls/DateTime.vue.d.ts +24 -0
  124. package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
  125. package/esm/coms/controls/Decimal.vue.d.ts +24 -0
  126. package/esm/coms/controls/Email.vue.d.ts +24 -0
  127. package/esm/coms/controls/Image.vue.d.ts +2 -0
  128. package/esm/coms/controls/Index.vue.d.ts +22 -0
  129. package/esm/coms/controls/Int.vue.d.ts +24 -0
  130. package/esm/coms/controls/Markdown.vue.d.ts +24 -0
  131. package/esm/coms/controls/Month.vue.d.ts +24 -0
  132. package/esm/coms/controls/Password.vue.d.ts +24 -0
  133. package/esm/coms/controls/Progress.vue.d.ts +24 -0
  134. package/esm/coms/controls/Radio.vue.d.ts +24 -0
  135. package/esm/coms/controls/Rate.vue.d.ts +24 -0
  136. package/esm/coms/controls/RichText.vue.d.ts +22 -0
  137. package/esm/coms/controls/Select.vue.d.ts +24 -0
  138. package/esm/coms/controls/Switch.vue.d.ts +24 -0
  139. package/esm/coms/controls/Text.vue.d.ts +26 -0
  140. package/esm/coms/controls/Textarea.vue.d.ts +24 -0
  141. package/esm/coms/controls/Time.vue.d.ts +24 -0
  142. package/esm/coms/controls/Upload.vue.d.ts +24 -0
  143. package/esm/coms/controls/Year.vue.d.ts +24 -0
  144. package/esm/coms/controls/index.d.ts +26 -0
  145. package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
  146. package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
  147. package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
  148. package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
  149. package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
  150. package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
  151. package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
  152. package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
  153. package/esm/coms/globals/index.d.ts +70 -0
  154. package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
  155. package/esm/coms/headers/Debugger.vue.d.ts +2 -0
  156. package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
  157. package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
  158. package/esm/coms/headers/Index.vue.d.ts +6 -0
  159. package/esm/coms/headers/Log.vue.d.ts +2 -0
  160. package/esm/coms/headers/Logo.vue.d.ts +6 -0
  161. package/esm/coms/headers/Refresh.vue.d.ts +6 -0
  162. package/esm/coms/headers/Setting.vue.d.ts +8 -0
  163. package/esm/coms/headers/index.d.ts +3 -0
  164. package/esm/coms/index.d.ts +11 -0
  165. package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
  166. package/esm/coms/layouts/Index.vue.d.ts +2 -0
  167. package/esm/coms/layouts/Side.vue.d.ts +2 -0
  168. package/esm/coms/layouts/Top.vue.d.ts +2 -0
  169. package/esm/coms/layouts/index.d.ts +7 -0
  170. package/esm/coms/lists/Calender.vue.d.ts +2 -0
  171. package/esm/coms/lists/Racebar.vue.d.ts +18 -0
  172. package/esm/coms/lists/Statistic.vue.d.ts +18 -0
  173. package/esm/coms/lists/Stock.vue.d.ts +12 -0
  174. package/esm/coms/lists/Timeline.vue.d.ts +12 -0
  175. package/esm/coms/lists/Tree.vue.d.ts +26 -0
  176. package/esm/coms/lists/index.d.ts +15 -0
  177. package/esm/coms/pages/Column.vue.d.ts +22 -0
  178. package/esm/coms/pages/Custom.vue.d.ts +25 -0
  179. package/esm/coms/pages/Delete.vue.d.ts +20 -0
  180. package/esm/coms/pages/Index.vue.d.ts +2 -0
  181. package/esm/coms/pages/List.vue.d.ts +24 -0
  182. package/esm/coms/pages/Paging.vue.d.ts +24 -0
  183. package/esm/coms/pages/Single.vue.d.ts +28 -0
  184. package/esm/coms/pages/index.d.ts +146 -0
  185. package/esm/coms/pagings/Article.vue.d.ts +27 -0
  186. package/esm/coms/pagings/Code.vue.d.ts +12 -0
  187. package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
  188. package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
  189. package/esm/coms/pagings/File.vue.d.ts +12 -0
  190. package/esm/coms/pagings/Index.vue.d.ts +33 -0
  191. package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
  192. package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
  193. package/esm/coms/pagings/Table.vue.d.ts +31 -0
  194. package/esm/coms/pagings/index.d.ts +11 -0
  195. package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
  196. package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
  197. package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
  198. package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
  199. package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
  200. package/esm/coms/panels/index.d.ts +13 -0
  201. package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
  202. package/esm/coms/partials/Detail.vue.d.ts +20 -0
  203. package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
  204. package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
  205. package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
  206. package/esm/coms/partials/Update.vue.d.ts +20 -0
  207. package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
  208. package/esm/coms/partials/index.d.ts +135 -0
  209. package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
  210. package/esm/coms/searches/Daterange.vue.d.ts +22 -0
  211. package/esm/coms/searches/Index.vue.d.ts +18 -0
  212. package/esm/coms/searches/Int.vue.d.ts +24 -0
  213. package/esm/coms/searches/Month.vue.d.ts +24 -0
  214. package/esm/coms/searches/Select.vue.d.ts +24 -0
  215. package/esm/coms/searches/Text.vue.d.ts +24 -0
  216. package/esm/coms/searches/index.d.ts +7 -0
  217. package/esm/coms/singles/Code.vue.d.ts +18 -0
  218. package/esm/coms/singles/Comment.vue.d.ts +12 -0
  219. package/esm/coms/singles/Index.vue.d.ts +25 -0
  220. package/esm/coms/singles/Normal.vue.d.ts +21 -0
  221. package/esm/coms/singles/Statistic.vue.d.ts +12 -0
  222. package/esm/coms/singles/Stock.vue.d.ts +12 -0
  223. package/esm/coms/singles/Table.vue.d.ts +22 -0
  224. package/esm/coms/singles/Tree.vue.d.ts +14 -0
  225. package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
  226. package/esm/coms/singles/index.d.ts +15 -0
  227. package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
  228. package/esm/coms/texts/CSharp.vue.d.ts +16 -0
  229. package/esm/coms/texts/Cascader.vue.d.ts +22 -0
  230. package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
  231. package/esm/coms/texts/Code.vue.d.ts +16 -0
  232. package/esm/coms/texts/Color.vue.d.ts +16 -0
  233. package/esm/coms/texts/Compare.vue.d.ts +16 -0
  234. package/esm/coms/texts/Copy.vue.d.ts +24 -0
  235. package/esm/coms/texts/Date.vue.d.ts +16 -0
  236. package/esm/coms/texts/DateRange.vue.d.ts +16 -0
  237. package/esm/coms/texts/DateTime.vue.d.ts +16 -0
  238. package/esm/coms/texts/Decimal.vue.d.ts +16 -0
  239. package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
  240. package/esm/coms/texts/Email.vue.d.ts +16 -0
  241. package/esm/coms/texts/Index.vue.d.ts +22 -0
  242. package/esm/coms/texts/Int.vue.d.ts +16 -0
  243. package/esm/coms/texts/Markdown.vue.d.ts +16 -0
  244. package/esm/coms/texts/Month.vue.d.ts +16 -0
  245. package/esm/coms/texts/Password.vue.d.ts +16 -0
  246. package/esm/coms/texts/Progress.vue.d.ts +16 -0
  247. package/esm/coms/texts/Radio.vue.d.ts +16 -0
  248. package/esm/coms/texts/Rate.vue.d.ts +24 -0
  249. package/esm/coms/texts/RichText.vue.d.ts +16 -0
  250. package/esm/coms/texts/Select.vue.d.ts +16 -0
  251. package/esm/coms/texts/Switch.vue.d.ts +16 -0
  252. package/esm/coms/texts/Text.vue.d.ts +16 -0
  253. package/esm/coms/texts/TextLink.vue.d.ts +29 -0
  254. package/esm/coms/texts/Textarea.vue.d.ts +16 -0
  255. package/esm/coms/texts/Upload.vue.d.ts +16 -0
  256. package/esm/coms/texts/Year.vue.d.ts +16 -0
  257. package/esm/main.d.ts +6 -2
  258. package/esm/plugins/PcMessager.d.ts +35 -0
  259. package/esm/plugins/index.d.ts +2 -0
  260. package/esm/services/index.d.ts +1 -2
  261. package/esm/stores/index.d.ts +2 -1
  262. package/package.json +2 -1
  263. package/dist/Autocomplete-C2FkoM3g.js +0 -52
  264. package/dist/Autocomplete-Da3h7NqJ.js +0 -53
  265. package/dist/Callback-txUuqwa4.js +0 -24
  266. package/dist/Cascader-Bm6ZjZBu.js +0 -84
  267. package/dist/Cascader-CWljbVzB.js +0 -45
  268. package/dist/Code--QwKtfhx.js +0 -4
  269. package/dist/Code-BO3eZKLy.js +0 -58
  270. package/dist/Code-Dh_cfHCX.js +0 -40
  271. package/dist/Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js +0 -63
  272. package/dist/Column-DGnsLHim.js +0 -69
  273. package/dist/Comment--Tr_kWBl.js +0 -102
  274. package/dist/Compare-C3rlbp4P.js +0 -60
  275. package/dist/Compare-DaSyOFIe.js +0 -30
  276. package/dist/Custom-K9vfVRxn.js +0 -53
  277. package/dist/DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js +0 -174
  278. package/dist/Delete-C7gIYWP8.js +0 -59
  279. package/dist/Dictionary-DfEacdox.js +0 -59
  280. package/dist/Index-8lbvVECt.js +0 -4
  281. package/dist/Index-tbCW5R6_.js +0 -4
  282. package/dist/List-V1uPlNfP.js +0 -77
  283. package/dist/Maintaince-BM4tthS_.js +0 -19
  284. package/dist/Paging-Bnpq9uSh.js +0 -95
  285. package/dist/QueryApi-BLc_au6L.js +0 -18
  286. package/dist/Text-vz76Xb4X.js +0 -4
  287. package/dist/Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js +0 -56
  288. package/dist/TextLink-DKm6XbeF.js +0 -66
  289. package/dist/Tree-Bv5eVC8s.js +0 -122
  290. package/dist/TreeNode-rHeuE2ot.js +0 -38
  291. package/dist/Upload-BSbIQu56.js +0 -147
  292. package/dist/Upload-heb0FQTh.js +0 -72
  293. package/dist/main-Bs5Q5ZLl.js +0 -6535
  294. package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
  295. package/dist/vendor-clone-BPtCWdXG.js +0 -134
  296. package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
  297. package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
  298. package/dist/vendor-moment-h96o7c8I.js +0 -2578
  299. package/dist/vendor-pinia-C-_fm-ER.js +0 -1167
  300. package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
  301. package/dist/vendor-state-local-CEworIRt.js +0 -131
  302. package/dist/vendor-underscore-DVTek3G4.js +0 -1070
  303. package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
  304. package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
  305. package/dist/vendor-vue-demi-DdR-Jw7p.js +0 -31
@@ -1,1167 +0,0 @@
1
- import { i as rt, s as te, d as ge, a as Le, b as oe, c as me } from "./vendor-vue-demi-DdR-Jw7p.js";
2
- import { hasInjectionContext as Re, inject as Ue, getCurrentInstance as Fe, ref as K, watch as Se, reactive as Me, markRaw as P, effectScope as $e, isRef as j, isReactive as W, toRef as H, toRaw as ee, nextTick as ce, computed as le, getCurrentScope as He, onScopeDispose as We, toRefs as ie, unref as ct } from "vue";
3
- import { s as Je } from "./vendor-@vue-aVYGocXp.js";
4
- /*!
5
- * pinia v2.1.7
6
- * (c) 2023 Eduardo San Martin Morote
7
- * @license MIT
8
- */
9
- let z;
10
- const ae = (e) => z = e, it = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
11
- /* istanbul ignore next */
12
- Symbol()
13
- );
14
- function L(e) {
15
- return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
16
- }
17
- var X;
18
- (function(e) {
19
- e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
20
- })(X || (X = {}));
21
- const Pe = typeof window < "u", Ee = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && Pe;
22
- function Be(e, n) {
23
- for (const o in n) {
24
- const t = n[o];
25
- if (!(o in e))
26
- continue;
27
- const c = e[o];
28
- L(c) && L(t) && !j(t) && !W(t) ? e[o] = Be(c, t) : e[o] = t;
29
- }
30
- return e;
31
- }
32
- const Ge = () => {
33
- };
34
- function De(e, n, o, t = Ge) {
35
- e.push(n);
36
- const c = () => {
37
- const u = e.indexOf(n);
38
- u > -1 && (e.splice(u, 1), t());
39
- };
40
- return !o && He() && We(c), c;
41
- }
42
- function U(e, ...n) {
43
- e.slice().forEach((o) => {
44
- o(...n);
45
- });
46
- }
47
- const at = (e) => e();
48
- function ve(e, n) {
49
- e instanceof Map && n instanceof Map && n.forEach((o, t) => e.set(t, o)), e instanceof Set && n instanceof Set && n.forEach(e.add, e);
50
- for (const o in n) {
51
- if (!n.hasOwnProperty(o))
52
- continue;
53
- const t = n[o], c = e[o];
54
- L(c) && L(t) && e.hasOwnProperty(o) && !j(t) && !W(t) ? e[o] = ve(c, t) : e[o] = t;
55
- }
56
- return e;
57
- }
58
- const ut = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
59
- /* istanbul ignore next */
60
- Symbol()
61
- );
62
- function lt(e) {
63
- return !L(e) || !e.hasOwnProperty(ut);
64
- }
65
- const { assign: S } = Object;
66
- function Ie(e) {
67
- return !!(j(e) && e.effect);
68
- }
69
- function je(e, n, o, t) {
70
- const { state: c, actions: u, getters: l } = n, a = o.state.value[e];
71
- let f;
72
- function p() {
73
- !a && (process.env.NODE_ENV === "production" || !t) && (o.state.value[e] = c ? c() : {});
74
- const _ = process.env.NODE_ENV !== "production" && t ? (
75
- // use ref() to unwrap refs inside state TODO: check if this is still necessary
76
- ie(K(c ? c() : {}).value)
77
- ) : ie(o.state.value[e]);
78
- return S(_, u, Object.keys(l || {}).reduce((h, g) => (process.env.NODE_ENV !== "production" && g in _ && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), h[g] = P(le(() => {
79
- ae(o);
80
- const E = o._s.get(e);
81
- return l[g].call(E, E);
82
- })), h), {}));
83
- }
84
- return f = ye(e, p, n, o, t, !0), f;
85
- }
86
- function ye(e, n, o = {}, t, c, u) {
87
- let l;
88
- const a = S({ actions: {} }, o);
89
- if (process.env.NODE_ENV !== "production" && !t._e.active)
90
- throw new Error("Pinia destroyed");
91
- const f = {
92
- deep: !0
93
- // flush: 'post',
94
- };
95
- process.env.NODE_ENV !== "production" && !rt && (f.onTrigger = (r) => {
96
- p ? E = r : p == !1 && !i._hotUpdating && (Array.isArray(E) ? E.push(r) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
97
- });
98
- let p, _, h = [], g = [], E;
99
- const O = t.state.value[e];
100
- !u && !O && (process.env.NODE_ENV === "production" || !c) && (t.state.value[e] = {});
101
- const A = K({});
102
- let J;
103
- function B(r) {
104
- let s;
105
- p = _ = !1, process.env.NODE_ENV !== "production" && (E = []), typeof r == "function" ? (r(t.state.value[e]), s = {
106
- type: X.patchFunction,
107
- storeId: e,
108
- events: E
109
- }) : (ve(t.state.value[e], r), s = {
110
- type: X.patchObject,
111
- payload: r,
112
- storeId: e,
113
- events: E
114
- });
115
- const d = J = Symbol();
116
- ce().then(() => {
117
- J === d && (p = !0);
118
- }), _ = !0, U(h, s, t.state.value[e]);
119
- }
120
- const de = u ? function() {
121
- const { state: s } = o, d = s ? s() : {};
122
- this.$patch((m) => {
123
- S(m, d);
124
- });
125
- } : (
126
- /* istanbul ignore next */
127
- process.env.NODE_ENV !== "production" ? () => {
128
- throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
129
- } : Ge
130
- );
131
- function pe() {
132
- l.stop(), h = [], g = [], t._s.delete(e);
133
- }
134
- function G(r, s) {
135
- return function() {
136
- ae(t);
137
- const d = Array.from(arguments), m = [], w = [];
138
- function he(v) {
139
- m.push(v);
140
- }
141
- function _e(v) {
142
- w.push(v);
143
- }
144
- U(g, {
145
- args: d,
146
- name: r,
147
- store: i,
148
- after: he,
149
- onError: _e
150
- });
151
- let V;
152
- try {
153
- V = s.apply(this && this.$id === e ? this : i, d);
154
- } catch (v) {
155
- throw U(w, v), v;
156
- }
157
- return V instanceof Promise ? V.then((v) => (U(m, v), v)).catch((v) => (U(w, v), Promise.reject(v))) : (U(m, V), V);
158
- };
159
- }
160
- const k = /* @__PURE__ */ P({
161
- actions: {},
162
- getters: {},
163
- state: [],
164
- hotState: A
165
- }), Y = {
166
- _p: t,
167
- // _s: scope,
168
- $id: e,
169
- $onAction: De.bind(null, g),
170
- $patch: B,
171
- $reset: de,
172
- $subscribe(r, s = {}) {
173
- const d = De(h, r, s.detached, () => m()), m = l.run(() => Se(() => t.state.value[e], (w) => {
174
- (s.flush === "sync" ? _ : p) && r({
175
- storeId: e,
176
- type: X.direct,
177
- events: E
178
- }, w);
179
- }, S({}, f, s)));
180
- return d;
181
- },
182
- $dispose: pe
183
- }, i = Me(process.env.NODE_ENV !== "production" || Ee ? S(
184
- {
185
- _hmrPayload: k,
186
- _customProperties: P(/* @__PURE__ */ new Set())
187
- // devtools custom properties
188
- },
189
- Y
190
- // must be added later
191
- // setupStore
192
- ) : Y);
193
- t._s.set(e, i);
194
- const b = (t._a && t._a.runWithContext || at)(() => t._e.run(() => (l = $e()).run(n)));
195
- for (const r in b) {
196
- const s = b[r];
197
- if (j(s) && !Ie(s) || W(s))
198
- process.env.NODE_ENV !== "production" && c ? te(A.value, r, H(b, r)) : u || (O && lt(s) && (j(s) ? s.value = O[r] : ve(s, O[r])), t.state.value[e][r] = s), process.env.NODE_ENV !== "production" && k.state.push(r);
199
- else if (typeof s == "function") {
200
- const d = process.env.NODE_ENV !== "production" && c ? s : G(r, s);
201
- b[r] = d, process.env.NODE_ENV !== "production" && (k.actions[r] = s), a.actions[r] = s;
202
- } else process.env.NODE_ENV !== "production" && Ie(s) && (k.getters[r] = u ? (
203
- // @ts-expect-error
204
- o.getters[r]
205
- ) : s, Pe && (b._getters || // @ts-expect-error: same
206
- (b._getters = P([]))).push(r));
207
- }
208
- if (S(i, b), S(ee(i), b), Object.defineProperty(i, "$state", {
209
- get: () => process.env.NODE_ENV !== "production" && c ? A.value : t.state.value[e],
210
- set: (r) => {
211
- if (process.env.NODE_ENV !== "production" && c)
212
- throw new Error("cannot set hotState");
213
- B((s) => {
214
- S(s, r);
215
- });
216
- }
217
- }), process.env.NODE_ENV !== "production" && (i._hotUpdate = P((r) => {
218
- i._hotUpdating = !0, r._hmrPayload.state.forEach((s) => {
219
- if (s in i.$state) {
220
- const d = r.$state[s], m = i.$state[s];
221
- typeof d == "object" && L(d) && L(m) ? Be(d, m) : r.$state[s] = m;
222
- }
223
- te(i, s, H(r.$state, s));
224
- }), Object.keys(i.$state).forEach((s) => {
225
- s in r.$state || ge(i, s);
226
- }), p = !1, _ = !1, t.state.value[e] = H(r._hmrPayload, "hotState"), _ = !0, ce().then(() => {
227
- p = !0;
228
- });
229
- for (const s in r._hmrPayload.actions) {
230
- const d = r[s];
231
- te(i, s, G(s, d));
232
- }
233
- for (const s in r._hmrPayload.getters) {
234
- const d = r._hmrPayload.getters[s], m = u ? (
235
- // special handling of options api
236
- le(() => (ae(t), d.call(i, i)))
237
- ) : d;
238
- te(i, s, m);
239
- }
240
- Object.keys(i._hmrPayload.getters).forEach((s) => {
241
- s in r._hmrPayload.getters || ge(i, s);
242
- }), Object.keys(i._hmrPayload.actions).forEach((s) => {
243
- s in r._hmrPayload.actions || ge(i, s);
244
- }), i._hmrPayload = r._hmrPayload, i._getters = r._getters, i._hotUpdating = !1;
245
- })), Ee) {
246
- const r = {
247
- writable: !0,
248
- configurable: !0,
249
- // avoid warning on devtools trying to display this property
250
- enumerable: !1
251
- };
252
- ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((s) => {
253
- Object.defineProperty(i, s, S({ value: i[s] }, r));
254
- });
255
- }
256
- return t._p.forEach((r) => {
257
- if (Ee) {
258
- const s = l.run(() => r({
259
- store: i,
260
- app: t._a,
261
- pinia: t,
262
- options: a
263
- }));
264
- Object.keys(s || {}).forEach((d) => i._customProperties.add(d)), S(i, s);
265
- } else
266
- S(i, l.run(() => r({
267
- store: i,
268
- app: t._a,
269
- pinia: t,
270
- options: a
271
- })));
272
- }), process.env.NODE_ENV !== "production" && i.$state && typeof i.$state == "object" && typeof i.$state.constructor == "function" && !i.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
273
- state: () => new MyClass()
274
- Found in store "${i.$id}".`), O && u && o.hydrate && o.hydrate(i.$state, O), p = !0, _ = !0, i;
275
- }
276
- function Tt(e, n, o) {
277
- let t, c;
278
- const u = typeof n == "function";
279
- if (typeof e == "string")
280
- t = e, c = u ? o : n;
281
- else if (c = e, t = e.id, process.env.NODE_ENV !== "production" && typeof t != "string")
282
- throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');
283
- function l(a, f) {
284
- const p = Re();
285
- if (a = // in test mode, ignore the argument provided as we can always retrieve a
286
- // pinia instance with getActivePinia()
287
- (process.env.NODE_ENV === "test" && z && z._testing ? null : a) || (p ? Ue(it, null) : null), a && ae(a), process.env.NODE_ENV !== "production" && !z)
288
- throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
289
- See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
290
- This will fail in production.`);
291
- a = z, a._s.has(t) || (u ? ye(t, n, c, a) : je(t, c, a), process.env.NODE_ENV !== "production" && (l._pinia = a));
292
- const _ = a._s.get(t);
293
- if (process.env.NODE_ENV !== "production" && f) {
294
- const h = "__hot:" + t, g = u ? ye(h, n, c, a, !0) : je(h, S({}, c), a, !0);
295
- f._hotUpdate(g), delete a.state.value[h], a._s.delete(h);
296
- }
297
- if (process.env.NODE_ENV !== "production" && Pe) {
298
- const h = Fe();
299
- if (h && h.proxy && // avoid adding stores that are just built for hot module replacement
300
- !f) {
301
- const g = h.proxy, E = "_pStores" in g ? g._pStores : g._pStores = {};
302
- E[t] = _;
303
- }
304
- }
305
- return _;
306
- }
307
- return l.$id = t, l;
308
- }
309
- /*!
310
- * pinia v2.1.7
311
- * (c) 2023 Eduardo San Martin Morote
312
- * @license MIT
313
- */
314
- let q;
315
- const Z = (e) => q = e, Ye = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
316
- /* istanbul ignore next */
317
- Symbol()
318
- );
319
- function R(e) {
320
- return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
321
- }
322
- var I;
323
- (function(e) {
324
- e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
325
- })(I || (I = {}));
326
- const fe = typeof window < "u", Q = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && fe, ke = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
327
- function ft(e, { autoBom: n = !1 } = {}) {
328
- return n && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
329
- }
330
- function we(e, n, o) {
331
- const t = new XMLHttpRequest();
332
- t.open("GET", e), t.responseType = "blob", t.onload = function() {
333
- Xe(t.response, n, o);
334
- }, t.onerror = function() {
335
- console.error("could not download file");
336
- }, t.send();
337
- }
338
- function ze(e) {
339
- const n = new XMLHttpRequest();
340
- n.open("HEAD", e, !1);
341
- try {
342
- n.send();
343
- } catch {
344
- }
345
- return n.status >= 200 && n.status <= 299;
346
- }
347
- function ne(e) {
348
- try {
349
- e.dispatchEvent(new MouseEvent("click"));
350
- } catch {
351
- const o = document.createEvent("MouseEvents");
352
- o.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(o);
353
- }
354
- }
355
- const se = typeof navigator == "object" ? navigator : { userAgent: "" }, qe = /Macintosh/.test(se.userAgent) && /AppleWebKit/.test(se.userAgent) && !/Safari/.test(se.userAgent), Xe = fe ? (
356
- // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
357
- typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !qe ? dt : (
358
- // Use msSaveOrOpenBlob as a second approach
359
- "msSaveOrOpenBlob" in se ? pt : (
360
- // Fallback to using FileReader and a popup
361
- ht
362
- )
363
- )
364
- ) : () => {
365
- };
366
- function dt(e, n = "download", o) {
367
- const t = document.createElement("a");
368
- t.download = n, t.rel = "noopener", typeof e == "string" ? (t.href = e, t.origin !== location.origin ? ze(t.href) ? we(e, n, o) : (t.target = "_blank", ne(t)) : ne(t)) : (t.href = URL.createObjectURL(e), setTimeout(function() {
369
- URL.revokeObjectURL(t.href);
370
- }, 4e4), setTimeout(function() {
371
- ne(t);
372
- }, 0));
373
- }
374
- function pt(e, n = "download", o) {
375
- if (typeof e == "string")
376
- if (ze(e))
377
- we(e, n, o);
378
- else {
379
- const t = document.createElement("a");
380
- t.href = e, t.target = "_blank", setTimeout(function() {
381
- ne(t);
382
- });
383
- }
384
- else
385
- navigator.msSaveOrOpenBlob(ft(e, o), n);
386
- }
387
- function ht(e, n, o, t) {
388
- if (t = t || open("", "_blank"), t && (t.document.title = t.document.body.innerText = "downloading..."), typeof e == "string")
389
- return we(e, n, o);
390
- const c = e.type === "application/octet-stream", u = /constructor/i.test(String(ke.HTMLElement)) || "safari" in ke, l = /CriOS\/[\d]+/.test(navigator.userAgent);
391
- if ((l || c && u || qe) && typeof FileReader < "u") {
392
- const a = new FileReader();
393
- a.onloadend = function() {
394
- let f = a.result;
395
- if (typeof f != "string")
396
- throw t = null, new Error("Wrong reader.result type");
397
- f = l ? f : f.replace(/^data:[^;]*;/, "data:attachment/file;"), t ? t.location.href = f : location.assign(f), t = null;
398
- }, a.readAsDataURL(e);
399
- } else {
400
- const a = URL.createObjectURL(e);
401
- t ? t.location.assign(a) : location.href = a, t = null, setTimeout(function() {
402
- URL.revokeObjectURL(a);
403
- }, 4e4);
404
- }
405
- }
406
- function y(e, n) {
407
- const o = "🍍 " + e;
408
- typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(o, n) : n === "error" ? console.error(o) : n === "warn" ? console.warn(o) : console.log(o);
409
- }
410
- function Ve(e) {
411
- return "_a" in e && "install" in e;
412
- }
413
- function Qe() {
414
- if (!("clipboard" in navigator))
415
- return y("Your browser doesn't support the Clipboard API", "error"), !0;
416
- }
417
- function Ze(e) {
418
- return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (y('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
419
- }
420
- async function _t(e) {
421
- if (!Qe())
422
- try {
423
- await navigator.clipboard.writeText(JSON.stringify(e.state.value)), y("Global state copied to clipboard.");
424
- } catch (n) {
425
- if (Ze(n))
426
- return;
427
- y("Failed to serialize the state. Check the console for more details.", "error"), console.error(n);
428
- }
429
- }
430
- async function gt(e) {
431
- if (!Qe())
432
- try {
433
- Ke(e, JSON.parse(await navigator.clipboard.readText())), y("Global state pasted from clipboard.");
434
- } catch (n) {
435
- if (Ze(n))
436
- return;
437
- y("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(n);
438
- }
439
- }
440
- async function mt(e) {
441
- try {
442
- Xe(new Blob([JSON.stringify(e.state.value)], {
443
- type: "text/plain;charset=utf-8"
444
- }), "pinia-state.json");
445
- } catch (n) {
446
- y("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(n);
447
- }
448
- }
449
- let C;
450
- function Et() {
451
- C || (C = document.createElement("input"), C.type = "file", C.accept = ".json");
452
- function e() {
453
- return new Promise((n, o) => {
454
- C.onchange = async () => {
455
- const t = C.files;
456
- if (!t)
457
- return n(null);
458
- const c = t.item(0);
459
- return n(c ? { text: await c.text(), file: c } : null);
460
- }, C.oncancel = () => n(null), C.onerror = o, C.click();
461
- });
462
- }
463
- return e;
464
- }
465
- async function vt(e) {
466
- try {
467
- const o = await Et()();
468
- if (!o)
469
- return;
470
- const { text: t, file: c } = o;
471
- Ke(e, JSON.parse(t)), y(`Global state imported from "${c.name}".`);
472
- } catch (n) {
473
- y("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(n);
474
- }
475
- }
476
- function Ke(e, n) {
477
- for (const o in n) {
478
- const t = e.state.value[o];
479
- t ? Object.assign(t, n[o]) : e.state.value[o] = n[o];
480
- }
481
- }
482
- function D(e) {
483
- return {
484
- _custom: {
485
- display: e
486
- }
487
- };
488
- }
489
- const et = "🍍 Pinia (root)", be = "_root";
490
- function yt(e) {
491
- return Ve(e) ? {
492
- id: be,
493
- label: et
494
- } : {
495
- id: e.$id,
496
- label: e.$id
497
- };
498
- }
499
- function bt(e) {
500
- if (Ve(e)) {
501
- const o = Array.from(e._s.keys()), t = e._s;
502
- return {
503
- state: o.map((u) => ({
504
- editable: !0,
505
- key: u,
506
- value: e.state.value[u]
507
- })),
508
- getters: o.filter((u) => t.get(u)._getters).map((u) => {
509
- const l = t.get(u);
510
- return {
511
- editable: !1,
512
- key: u,
513
- value: l._getters.reduce((a, f) => (a[f] = l[f], a), {})
514
- };
515
- })
516
- };
517
- }
518
- const n = {
519
- state: Object.keys(e.$state).map((o) => ({
520
- editable: !0,
521
- key: o,
522
- value: e.$state[o]
523
- }))
524
- };
525
- return e._getters && e._getters.length && (n.getters = e._getters.map((o) => ({
526
- editable: !1,
527
- key: o,
528
- value: e[o]
529
- }))), e._customProperties.size && (n.customProperties = Array.from(e._customProperties).map((o) => ({
530
- editable: !0,
531
- key: o,
532
- value: e[o]
533
- }))), n;
534
- }
535
- function Nt(e) {
536
- return e ? Array.isArray(e) ? e.reduce((n, o) => (n.keys.push(o.key), n.operations.push(o.type), n.oldValue[o.key] = o.oldValue, n.newValue[o.key] = o.newValue, n), {
537
- oldValue: {},
538
- keys: [],
539
- operations: [],
540
- newValue: {}
541
- }) : {
542
- operation: D(e.type),
543
- key: D(e.key),
544
- oldValue: e.oldValue,
545
- newValue: e.newValue
546
- } : {};
547
- }
548
- function Ot(e) {
549
- switch (e) {
550
- case I.direct:
551
- return "mutation";
552
- case I.patchFunction:
553
- return "$patch";
554
- case I.patchObject:
555
- return "$patch";
556
- default:
557
- return "unknown";
558
- }
559
- }
560
- let M = !0;
561
- const re = [], x = "pinia:mutations", N = "pinia", { assign: St } = Object, ue = (e) => "🍍 " + e;
562
- function $t(e, n) {
563
- Je({
564
- id: "dev.esm.pinia",
565
- label: "Pinia 🍍",
566
- logo: "https://pinia.vuejs.org/logo.svg",
567
- packageName: "pinia",
568
- homepage: "https://pinia.vuejs.org",
569
- componentStateTypes: re,
570
- app: e
571
- }, (o) => {
572
- typeof o.now != "function" && y("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), o.addTimelineLayer({
573
- id: x,
574
- label: "Pinia 🍍",
575
- color: 15064968
576
- }), o.addInspector({
577
- id: N,
578
- label: "Pinia 🍍",
579
- icon: "storage",
580
- treeFilterPlaceholder: "Search stores",
581
- actions: [
582
- {
583
- icon: "content_copy",
584
- action: () => {
585
- _t(n);
586
- },
587
- tooltip: "Serialize and copy the state"
588
- },
589
- {
590
- icon: "content_paste",
591
- action: async () => {
592
- await gt(n), o.sendInspectorTree(N), o.sendInspectorState(N);
593
- },
594
- tooltip: "Replace the state with the content of your clipboard"
595
- },
596
- {
597
- icon: "save",
598
- action: () => {
599
- mt(n);
600
- },
601
- tooltip: "Save the state as a JSON file"
602
- },
603
- {
604
- icon: "folder_open",
605
- action: async () => {
606
- await vt(n), o.sendInspectorTree(N), o.sendInspectorState(N);
607
- },
608
- tooltip: "Import the state from a JSON file"
609
- }
610
- ],
611
- nodeActions: [
612
- {
613
- icon: "restore",
614
- tooltip: 'Reset the state (with "$reset")',
615
- action: (t) => {
616
- const c = n._s.get(t);
617
- c ? typeof c.$reset != "function" ? y(`Cannot reset "${t}" store because it doesn't have a "$reset" method implemented.`, "warn") : (c.$reset(), y(`Store "${t}" reset.`)) : y(`Cannot reset "${t}" store because it wasn't found.`, "warn");
618
- }
619
- }
620
- ]
621
- }), o.on.inspectComponent((t, c) => {
622
- const u = t.componentInstance && t.componentInstance.proxy;
623
- if (u && u._pStores) {
624
- const l = t.componentInstance.proxy._pStores;
625
- Object.values(l).forEach((a) => {
626
- t.instanceData.state.push({
627
- type: ue(a.$id),
628
- key: "state",
629
- editable: !0,
630
- value: a._isOptionsAPI ? {
631
- _custom: {
632
- value: ee(a.$state),
633
- actions: [
634
- {
635
- icon: "restore",
636
- tooltip: "Reset the state of this store",
637
- action: () => a.$reset()
638
- }
639
- ]
640
- }
641
- } : (
642
- // NOTE: workaround to unwrap transferred refs
643
- Object.keys(a.$state).reduce((f, p) => (f[p] = a.$state[p], f), {})
644
- )
645
- }), a._getters && a._getters.length && t.instanceData.state.push({
646
- type: ue(a.$id),
647
- key: "getters",
648
- editable: !1,
649
- value: a._getters.reduce((f, p) => {
650
- try {
651
- f[p] = a[p];
652
- } catch (_) {
653
- f[p] = _;
654
- }
655
- return f;
656
- }, {})
657
- });
658
- });
659
- }
660
- }), o.on.getInspectorTree((t) => {
661
- if (t.app === e && t.inspectorId === N) {
662
- let c = [n];
663
- c = c.concat(Array.from(n._s.values())), t.rootNodes = (t.filter ? c.filter((u) => "$id" in u ? u.$id.toLowerCase().includes(t.filter.toLowerCase()) : et.toLowerCase().includes(t.filter.toLowerCase())) : c).map(yt);
664
- }
665
- }), o.on.getInspectorState((t) => {
666
- if (t.app === e && t.inspectorId === N) {
667
- const c = t.nodeId === be ? n : n._s.get(t.nodeId);
668
- if (!c)
669
- return;
670
- c && (t.state = bt(c));
671
- }
672
- }), o.on.editInspectorState((t, c) => {
673
- if (t.app === e && t.inspectorId === N) {
674
- const u = t.nodeId === be ? n : n._s.get(t.nodeId);
675
- if (!u)
676
- return y(`store "${t.nodeId}" not found`, "error");
677
- const { path: l } = t;
678
- Ve(u) ? l.unshift("state") : (l.length !== 1 || !u._customProperties.has(l[0]) || l[0] in u.$state) && l.unshift("$state"), M = !1, t.set(u, l, t.state.value), M = !0;
679
- }
680
- }), o.on.editComponentState((t) => {
681
- if (t.type.startsWith("🍍")) {
682
- const c = t.type.replace(/^🍍\s*/, ""), u = n._s.get(c);
683
- if (!u)
684
- return y(`store "${c}" not found`, "error");
685
- const { path: l } = t;
686
- if (l[0] !== "state")
687
- return y(`Invalid path for store "${c}":
688
- ${l}
689
- Only state can be modified.`);
690
- l[0] = "$state", M = !1, t.set(u, l, t.state.value), M = !0;
691
- }
692
- });
693
- });
694
- }
695
- function Pt(e, n) {
696
- re.includes(ue(n.$id)) || re.push(ue(n.$id)), Je({
697
- id: "dev.esm.pinia",
698
- label: "Pinia 🍍",
699
- logo: "https://pinia.vuejs.org/logo.svg",
700
- packageName: "pinia",
701
- homepage: "https://pinia.vuejs.org",
702
- componentStateTypes: re,
703
- app: e,
704
- settings: {
705
- logStoreChanges: {
706
- label: "Notify about new/deleted stores",
707
- type: "boolean",
708
- defaultValue: !0
709
- }
710
- // useEmojis: {
711
- // label: 'Use emojis in messages ⚡️',
712
- // type: 'boolean',
713
- // defaultValue: true,
714
- // },
715
- }
716
- }, (o) => {
717
- const t = typeof o.now == "function" ? o.now.bind(o) : Date.now;
718
- n.$onAction(({ after: l, onError: a, name: f, args: p }) => {
719
- const _ = tt++;
720
- o.addTimelineEvent({
721
- layerId: x,
722
- event: {
723
- time: t(),
724
- title: "🛫 " + f,
725
- subtitle: "start",
726
- data: {
727
- store: D(n.$id),
728
- action: D(f),
729
- args: p
730
- },
731
- groupId: _
732
- }
733
- }), l((h) => {
734
- T = void 0, o.addTimelineEvent({
735
- layerId: x,
736
- event: {
737
- time: t(),
738
- title: "🛬 " + f,
739
- subtitle: "end",
740
- data: {
741
- store: D(n.$id),
742
- action: D(f),
743
- args: p,
744
- result: h
745
- },
746
- groupId: _
747
- }
748
- });
749
- }), a((h) => {
750
- T = void 0, o.addTimelineEvent({
751
- layerId: x,
752
- event: {
753
- time: t(),
754
- logType: "error",
755
- title: "💥 " + f,
756
- subtitle: "end",
757
- data: {
758
- store: D(n.$id),
759
- action: D(f),
760
- args: p,
761
- error: h
762
- },
763
- groupId: _
764
- }
765
- });
766
- });
767
- }, !0), n._customProperties.forEach((l) => {
768
- Se(() => ct(n[l]), (a, f) => {
769
- o.notifyComponentUpdate(), o.sendInspectorState(N), M && o.addTimelineEvent({
770
- layerId: x,
771
- event: {
772
- time: t(),
773
- title: "Change",
774
- subtitle: l,
775
- data: {
776
- newValue: a,
777
- oldValue: f
778
- },
779
- groupId: T
780
- }
781
- });
782
- }, { deep: !0 });
783
- }), n.$subscribe(({ events: l, type: a }, f) => {
784
- if (o.notifyComponentUpdate(), o.sendInspectorState(N), !M)
785
- return;
786
- const p = {
787
- time: t(),
788
- title: Ot(a),
789
- data: St({ store: D(n.$id) }, Nt(l)),
790
- groupId: T
791
- };
792
- a === I.patchFunction ? p.subtitle = "⤵️" : a === I.patchObject ? p.subtitle = "🧩" : l && !Array.isArray(l) && (p.subtitle = l.type), l && (p.data["rawEvent(s)"] = {
793
- _custom: {
794
- display: "DebuggerEvent",
795
- type: "object",
796
- tooltip: "raw DebuggerEvent[]",
797
- value: l
798
- }
799
- }), o.addTimelineEvent({
800
- layerId: x,
801
- event: p
802
- });
803
- }, { detached: !0, flush: "sync" });
804
- const c = n._hotUpdate;
805
- n._hotUpdate = P((l) => {
806
- c(l), o.addTimelineEvent({
807
- layerId: x,
808
- event: {
809
- time: t(),
810
- title: "🔥 " + n.$id,
811
- subtitle: "HMR update",
812
- data: {
813
- store: D(n.$id),
814
- info: D("HMR update")
815
- }
816
- }
817
- }), o.notifyComponentUpdate(), o.sendInspectorTree(N), o.sendInspectorState(N);
818
- });
819
- const { $dispose: u } = n;
820
- n.$dispose = () => {
821
- u(), o.notifyComponentUpdate(), o.sendInspectorTree(N), o.sendInspectorState(N), o.getSettings().logStoreChanges && y(`Disposed "${n.$id}" store 🗑`);
822
- }, o.notifyComponentUpdate(), o.sendInspectorTree(N), o.sendInspectorState(N), o.getSettings().logStoreChanges && y(`"${n.$id}" store installed 🆕`);
823
- });
824
- }
825
- let tt = 0, T;
826
- function Ce(e, n, o) {
827
- const t = n.reduce((c, u) => (c[u] = ee(e)[u], c), {});
828
- for (const c in t)
829
- e[c] = function() {
830
- const u = tt, l = o ? new Proxy(e, {
831
- get(...f) {
832
- return T = u, Reflect.get(...f);
833
- },
834
- set(...f) {
835
- return T = u, Reflect.set(...f);
836
- }
837
- }) : e;
838
- T = u;
839
- const a = t[c].apply(l, arguments);
840
- return T = void 0, a;
841
- };
842
- }
843
- function wt({ app: e, store: n, options: o }) {
844
- if (n.$id.startsWith("__hot:"))
845
- return;
846
- n._isOptionsAPI = !!o.state, Ce(n, Object.keys(o.actions), n._isOptionsAPI);
847
- const t = n._hotUpdate;
848
- ee(n)._hotUpdate = function(c) {
849
- t.apply(this, arguments), Ce(n, Object.keys(c._hmrPayload.actions), !!n._isOptionsAPI);
850
- }, Pt(
851
- e,
852
- // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
853
- n
854
- );
855
- }
856
- function At() {
857
- const e = $e(!0), n = e.run(() => K({}));
858
- let o = [], t = [];
859
- const c = P({
860
- install(u) {
861
- Z(c), c._a = u, u.provide(Ye, c), u.config.globalProperties.$pinia = c, Q && $t(u, c), t.forEach((l) => o.push(l)), t = [];
862
- },
863
- use(u) {
864
- return !this._a && !Le ? t.push(u) : o.push(u), this;
865
- },
866
- _p: o,
867
- // it's actually undefined here
868
- // @ts-expect-error
869
- _a: null,
870
- _e: e,
871
- _s: /* @__PURE__ */ new Map(),
872
- state: n
873
- });
874
- return Q && typeof Proxy < "u" && c.use(wt), c;
875
- }
876
- function ot(e, n) {
877
- for (const o in n) {
878
- const t = n[o];
879
- if (!(o in e))
880
- continue;
881
- const c = e[o];
882
- R(c) && R(t) && !j(t) && !W(t) ? e[o] = ot(c, t) : e[o] = t;
883
- }
884
- return e;
885
- }
886
- const nt = () => {
887
- };
888
- function Te(e, n, o, t = nt) {
889
- e.push(n);
890
- const c = () => {
891
- const u = e.indexOf(n);
892
- u > -1 && (e.splice(u, 1), t());
893
- };
894
- return !o && He() && We(c), c;
895
- }
896
- function F(e, ...n) {
897
- e.slice().forEach((o) => {
898
- o(...n);
899
- });
900
- }
901
- const Vt = (e) => e();
902
- function Ne(e, n) {
903
- e instanceof Map && n instanceof Map && n.forEach((o, t) => e.set(t, o)), e instanceof Set && n instanceof Set && n.forEach(e.add, e);
904
- for (const o in n) {
905
- if (!n.hasOwnProperty(o))
906
- continue;
907
- const t = n[o], c = e[o];
908
- R(c) && R(t) && e.hasOwnProperty(o) && !j(t) && !W(t) ? e[o] = Ne(c, t) : e[o] = t;
909
- }
910
- return e;
911
- }
912
- const Dt = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
913
- /* istanbul ignore next */
914
- Symbol()
915
- );
916
- function It(e) {
917
- return !R(e) || !e.hasOwnProperty(Dt);
918
- }
919
- const { assign: $ } = Object;
920
- function Ae(e) {
921
- return !!(j(e) && e.effect);
922
- }
923
- function xe(e, n, o, t) {
924
- const { state: c, actions: u, getters: l } = n, a = o.state.value[e];
925
- let f;
926
- function p() {
927
- !a && (process.env.NODE_ENV === "production" || !t) && (o.state.value[e] = c ? c() : {});
928
- const _ = process.env.NODE_ENV !== "production" && t ? (
929
- // use ref() to unwrap refs inside state TODO: check if this is still necessary
930
- ie(K(c ? c() : {}).value)
931
- ) : ie(o.state.value[e]);
932
- return $(_, u, Object.keys(l || {}).reduce((h, g) => (process.env.NODE_ENV !== "production" && g in _ && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), h[g] = P(le(() => {
933
- Z(o);
934
- const E = o._s.get(e);
935
- return l[g].call(E, E);
936
- })), h), {}));
937
- }
938
- return f = Oe(e, p, n, o, t, !0), f;
939
- }
940
- function Oe(e, n, o = {}, t, c, u) {
941
- let l;
942
- const a = $({ actions: {} }, o);
943
- if (process.env.NODE_ENV !== "production" && !t._e.active)
944
- throw new Error("Pinia destroyed");
945
- const f = {
946
- deep: !0
947
- // flush: 'post',
948
- };
949
- process.env.NODE_ENV !== "production" && !Le && (f.onTrigger = (r) => {
950
- p ? E = r : p == !1 && !i._hotUpdating && (Array.isArray(E) ? E.push(r) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
951
- });
952
- let p, _, h = [], g = [], E;
953
- const O = t.state.value[e];
954
- !u && !O && (process.env.NODE_ENV === "production" || !c) && (t.state.value[e] = {});
955
- const A = K({});
956
- let J;
957
- function B(r) {
958
- let s;
959
- p = _ = !1, process.env.NODE_ENV !== "production" && (E = []), typeof r == "function" ? (r(t.state.value[e]), s = {
960
- type: I.patchFunction,
961
- storeId: e,
962
- events: E
963
- }) : (Ne(t.state.value[e], r), s = {
964
- type: I.patchObject,
965
- payload: r,
966
- storeId: e,
967
- events: E
968
- });
969
- const d = J = Symbol();
970
- ce().then(() => {
971
- J === d && (p = !0);
972
- }), _ = !0, F(h, s, t.state.value[e]);
973
- }
974
- const de = u ? function() {
975
- const { state: s } = o, d = s ? s() : {};
976
- this.$patch((m) => {
977
- $(m, d);
978
- });
979
- } : (
980
- /* istanbul ignore next */
981
- process.env.NODE_ENV !== "production" ? () => {
982
- throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
983
- } : nt
984
- );
985
- function pe() {
986
- l.stop(), h = [], g = [], t._s.delete(e);
987
- }
988
- function G(r, s) {
989
- return function() {
990
- Z(t);
991
- const d = Array.from(arguments), m = [], w = [];
992
- function he(v) {
993
- m.push(v);
994
- }
995
- function _e(v) {
996
- w.push(v);
997
- }
998
- F(g, {
999
- args: d,
1000
- name: r,
1001
- store: i,
1002
- after: he,
1003
- onError: _e
1004
- });
1005
- let V;
1006
- try {
1007
- V = s.apply(this && this.$id === e ? this : i, d);
1008
- } catch (v) {
1009
- throw F(w, v), v;
1010
- }
1011
- return V instanceof Promise ? V.then((v) => (F(m, v), v)).catch((v) => (F(w, v), Promise.reject(v))) : (F(m, V), V);
1012
- };
1013
- }
1014
- const k = /* @__PURE__ */ P({
1015
- actions: {},
1016
- getters: {},
1017
- state: [],
1018
- hotState: A
1019
- }), Y = {
1020
- _p: t,
1021
- // _s: scope,
1022
- $id: e,
1023
- $onAction: Te.bind(null, g),
1024
- $patch: B,
1025
- $reset: de,
1026
- $subscribe(r, s = {}) {
1027
- const d = Te(h, r, s.detached, () => m()), m = l.run(() => Se(() => t.state.value[e], (w) => {
1028
- (s.flush === "sync" ? _ : p) && r({
1029
- storeId: e,
1030
- type: I.direct,
1031
- events: E
1032
- }, w);
1033
- }, $({}, f, s)));
1034
- return d;
1035
- },
1036
- $dispose: pe
1037
- }, i = Me(process.env.NODE_ENV !== "production" || Q ? $(
1038
- {
1039
- _hmrPayload: k,
1040
- _customProperties: P(/* @__PURE__ */ new Set())
1041
- // devtools custom properties
1042
- },
1043
- Y
1044
- // must be added later
1045
- // setupStore
1046
- ) : Y);
1047
- t._s.set(e, i);
1048
- const b = (t._a && t._a.runWithContext || Vt)(() => t._e.run(() => (l = $e()).run(n)));
1049
- for (const r in b) {
1050
- const s = b[r];
1051
- if (j(s) && !Ae(s) || W(s))
1052
- process.env.NODE_ENV !== "production" && c ? oe(A.value, r, H(b, r)) : u || (O && It(s) && (j(s) ? s.value = O[r] : Ne(s, O[r])), t.state.value[e][r] = s), process.env.NODE_ENV !== "production" && k.state.push(r);
1053
- else if (typeof s == "function") {
1054
- const d = process.env.NODE_ENV !== "production" && c ? s : G(r, s);
1055
- b[r] = d, process.env.NODE_ENV !== "production" && (k.actions[r] = s), a.actions[r] = s;
1056
- } else process.env.NODE_ENV !== "production" && Ae(s) && (k.getters[r] = u ? (
1057
- // @ts-expect-error
1058
- o.getters[r]
1059
- ) : s, fe && (b._getters || // @ts-expect-error: same
1060
- (b._getters = P([]))).push(r));
1061
- }
1062
- if ($(i, b), $(ee(i), b), Object.defineProperty(i, "$state", {
1063
- get: () => process.env.NODE_ENV !== "production" && c ? A.value : t.state.value[e],
1064
- set: (r) => {
1065
- if (process.env.NODE_ENV !== "production" && c)
1066
- throw new Error("cannot set hotState");
1067
- B((s) => {
1068
- $(s, r);
1069
- });
1070
- }
1071
- }), process.env.NODE_ENV !== "production" && (i._hotUpdate = P((r) => {
1072
- i._hotUpdating = !0, r._hmrPayload.state.forEach((s) => {
1073
- if (s in i.$state) {
1074
- const d = r.$state[s], m = i.$state[s];
1075
- typeof d == "object" && R(d) && R(m) ? ot(d, m) : r.$state[s] = m;
1076
- }
1077
- oe(i, s, H(r.$state, s));
1078
- }), Object.keys(i.$state).forEach((s) => {
1079
- s in r.$state || me(i, s);
1080
- }), p = !1, _ = !1, t.state.value[e] = H(r._hmrPayload, "hotState"), _ = !0, ce().then(() => {
1081
- p = !0;
1082
- });
1083
- for (const s in r._hmrPayload.actions) {
1084
- const d = r[s];
1085
- oe(i, s, G(s, d));
1086
- }
1087
- for (const s in r._hmrPayload.getters) {
1088
- const d = r._hmrPayload.getters[s], m = u ? (
1089
- // special handling of options api
1090
- le(() => (Z(t), d.call(i, i)))
1091
- ) : d;
1092
- oe(i, s, m);
1093
- }
1094
- Object.keys(i._hmrPayload.getters).forEach((s) => {
1095
- s in r._hmrPayload.getters || me(i, s);
1096
- }), Object.keys(i._hmrPayload.actions).forEach((s) => {
1097
- s in r._hmrPayload.actions || me(i, s);
1098
- }), i._hmrPayload = r._hmrPayload, i._getters = r._getters, i._hotUpdating = !1;
1099
- })), Q) {
1100
- const r = {
1101
- writable: !0,
1102
- configurable: !0,
1103
- // avoid warning on devtools trying to display this property
1104
- enumerable: !1
1105
- };
1106
- ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((s) => {
1107
- Object.defineProperty(i, s, $({ value: i[s] }, r));
1108
- });
1109
- }
1110
- return t._p.forEach((r) => {
1111
- if (Q) {
1112
- const s = l.run(() => r({
1113
- store: i,
1114
- app: t._a,
1115
- pinia: t,
1116
- options: a
1117
- }));
1118
- Object.keys(s || {}).forEach((d) => i._customProperties.add(d)), $(i, s);
1119
- } else
1120
- $(i, l.run(() => r({
1121
- store: i,
1122
- app: t._a,
1123
- pinia: t,
1124
- options: a
1125
- })));
1126
- }), process.env.NODE_ENV !== "production" && i.$state && typeof i.$state == "object" && typeof i.$state.constructor == "function" && !i.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1127
- state: () => new MyClass()
1128
- Found in store "${i.$id}".`), O && u && o.hydrate && o.hydrate(i.$state, O), p = !0, _ = !0, i;
1129
- }
1130
- function xt(e, n, o) {
1131
- let t, c;
1132
- const u = typeof n == "function";
1133
- if (typeof e == "string")
1134
- t = e, c = u ? o : n;
1135
- else if (c = e, t = e.id, process.env.NODE_ENV !== "production" && typeof t != "string")
1136
- throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');
1137
- function l(a, f) {
1138
- const p = Re();
1139
- if (a = // in test mode, ignore the argument provided as we can always retrieve a
1140
- // pinia instance with getActivePinia()
1141
- (process.env.NODE_ENV === "test" && q && q._testing ? null : a) || (p ? Ue(Ye, null) : null), a && Z(a), process.env.NODE_ENV !== "production" && !q)
1142
- throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
1143
- See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
1144
- This will fail in production.`);
1145
- a = q, a._s.has(t) || (u ? Oe(t, n, c, a) : xe(t, c, a), process.env.NODE_ENV !== "production" && (l._pinia = a));
1146
- const _ = a._s.get(t);
1147
- if (process.env.NODE_ENV !== "production" && f) {
1148
- const h = "__hot:" + t, g = u ? Oe(h, n, c, a, !0) : xe(h, $({}, c), a, !0);
1149
- f._hotUpdate(g), delete a.state.value[h], a._s.delete(h);
1150
- }
1151
- if (process.env.NODE_ENV !== "production" && fe) {
1152
- const h = Fe();
1153
- if (h && h.proxy && // avoid adding stores that are just built for hot module replacement
1154
- !f) {
1155
- const g = h.proxy, E = "_pStores" in g ? g._pStores : g._pStores = {};
1156
- E[t] = _;
1157
- }
1158
- }
1159
- return _;
1160
- }
1161
- return l.$id = t, l;
1162
- }
1163
- export {
1164
- xt as a,
1165
- At as c,
1166
- Tt as d
1167
- };