halo-pc 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. package/dist/{Article-DievbQaS.js → Article-CjlnxF__.js} +30 -30
  2. package/dist/{Autocomplete-CA9lAfcX.js → Autocomplete-BnQpnnyK.js} +1 -1
  3. package/dist/{Autocomplete-BC9yw7bd.js → Autocomplete-C2FkoM3g.js} +15 -15
  4. package/dist/{Autocomplete-9Dw6RZUJ.js → Autocomplete-Da3h7NqJ.js} +14 -14
  5. package/dist/{CSharp-9TTxxjTd.js → CSharp-Dxc7debp.js} +1 -1
  6. package/dist/{Calender-Cvt1swho.js → Calender-CZajLEjs.js} +1 -1
  7. package/dist/Callback-txUuqwa4.js +24 -0
  8. package/dist/{Cascader-B8DEKaGU.js → Cascader-Bm6ZjZBu.js} +17 -17
  9. package/dist/{Cascader-DCbx-Xfo.js → Cascader-CWljbVzB.js} +3 -3
  10. package/dist/{Checkbox-D928Sp6S.js → Checkbox-CYpA0Abh.js} +1 -1
  11. package/dist/{Checkbox-BPaKVuvv.js → Checkbox-DvjA_jtM.js} +1 -1
  12. package/dist/Code--QwKtfhx.js +4 -0
  13. package/dist/{Code-DS9dwk0s.js → Code-BO3eZKLy.js} +3 -3
  14. package/dist/{Code--ryEmiLJ.js → Code-Dh_cfHCX.js} +3 -3
  15. package/dist/{Code-DVUf05Qa.js → Code-Dn68YB2V.js} +1 -1
  16. package/dist/{Code.vue_vue_type_style_index_0_lang-BQQ6Jatk.js → Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js} +14 -14
  17. package/dist/{Column-BzM9a1Ai.js → Column-DGnsLHim.js} +11 -11
  18. package/dist/{Comment-5gH4WF9C.js → Comment--Tr_kWBl.js} +19 -19
  19. package/dist/{Compare-7rmSR2Vp.js → Compare-C3rlbp4P.js} +23 -20
  20. package/dist/Compare-DaSyOFIe.js +30 -0
  21. package/dist/{Copy-DcAUXAJq.js → Copy-C5yEC9dX.js} +1 -1
  22. package/dist/{Custom-lSjUvIAb.js → Custom-K9vfVRxn.js} +6 -6
  23. package/dist/{DataExport-Cl2LRmuu.js → DataExport-GCZvxEp5.js} +1 -1
  24. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js → DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js} +14 -14
  25. package/dist/{DataImport-C8MggQON.js → DataImport-BofV1eCR.js} +1 -1
  26. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js → DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js} +25 -23
  27. package/dist/{Date-B9tmMFuT.js → Date-BeHsQ2Ow.js} +1 -1
  28. package/dist/{Date-BRd0o_ib.js → Date-DgpsRJon.js} +1 -1
  29. package/dist/{DateRange-Q6osbxfF.js → DateRange-UHosLXP9.js} +4 -4
  30. package/dist/{DateTime-Ce1NnyqQ.js → DateTime-BfNjKDfI.js} +1 -1
  31. package/dist/{DateTime-DSUMg60T.js → DateTime-CHn5T-FB.js} +1 -1
  32. package/dist/{DateTimeRange-Cr_pV6VX.js → DateTimeRange-6TctUiMd.js} +20 -16
  33. package/dist/{Daterange-0qtKemST.js → Daterange-DISQqOFM.js} +4 -4
  34. package/dist/{Decimal-BBYZHN-L.js → Decimal-BB2w4V2o.js} +1 -1
  35. package/dist/Delete-C7gIYWP8.js +59 -0
  36. package/dist/{Detail-DlJeIF7u.js → Detail-D-6vJTGF.js} +13 -13
  37. package/dist/{Dictionary-DH3ukOm9.js → Dictionary-DfEacdox.js} +3 -3
  38. package/dist/{Email-BGc1mV9s.js → Email-ME_MU94C.js} +1 -1
  39. package/dist/{File-27vOsF_i.js → File-CMCYSg30.js} +22 -22
  40. package/dist/{Image-BejU08yZ.js → Image-BL458jPH.js} +1 -1
  41. package/dist/Index-8lbvVECt.js +4 -0
  42. package/dist/{Index-DEDLWObm.js → Index-B1ZfzgLV.js} +1 -1
  43. package/dist/{Index-CtQ5rwyH.js → Index-C_HCipwv.js} +1 -1
  44. package/dist/{Index-ByC6qZPq.js → Index-Ch59SxF3.js} +6 -6
  45. package/dist/{Index-9AheG9bs.js → Index-CopnEHli.js} +1 -1
  46. package/dist/{Index-BtK4Riqs.js → Index-Cp7EDm0u.js} +55 -52
  47. package/dist/{Index-DMdBkj-p.js → Index-DZkeSKKp.js} +1 -1
  48. package/dist/Index-tbCW5R6_.js +4 -0
  49. package/dist/{Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js → Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-3zk23es9.js → Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js} +13 -12
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js → Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js} +19 -12
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js → Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js} +10 -10
  53. package/dist/{Install-DzOXL82w.js → Install-CJbpeRw0.js} +12 -12
  54. package/dist/{Int-AE2e9jyG.js → Int-C-0RMDmy.js} +1 -1
  55. package/dist/{Int-D3k7ZnH3.js → Int-CkzuFSk2.js} +4 -4
  56. package/dist/{List-BeoZ2a1r.js → List-V1uPlNfP.js} +9 -8
  57. package/dist/Maintaince-BM4tthS_.js +19 -0
  58. package/dist/{Markdown-BVhD-lo1.js → Markdown-Dq7L9EMQ.js} +1 -1
  59. package/dist/{Month-BVKakHhk.js → Month-B_SzKf02.js} +1 -1
  60. package/dist/{Month--2hXaJkd.js → Month-CUX-EnU_.js} +1 -1
  61. package/dist/{Month-D9r3wt_e.js → Month-DfemgHac.js} +1 -1
  62. package/dist/{Normal-B3Xs7sFU.js → Normal-B2w0Isvm.js} +16 -15
  63. package/dist/Paging-Bnpq9uSh.js +95 -0
  64. package/dist/QueryApi-BLc_au6L.js +18 -0
  65. package/dist/{Racebar-CvsmozFH.js → Racebar-DqWtIQm-.js} +4 -4
  66. package/dist/{Radio-DMlWrRLV.js → Radio-xLd4l78I.js} +1 -1
  67. package/dist/{Register-B7KEYSdN.js → Register-Bio0HxyZ.js} +47 -46
  68. package/dist/{RichText-BX7WZjO-.js → RichText-BYNi_iMx.js} +4 -4
  69. package/dist/{SearchFooter-BSHxMoTL.js → SearchFooter-BAPlMiuj.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js → SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js} +1 -1
  71. package/dist/{SearchForm-CH5YWxKr.js → SearchForm-BaPwWOch.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js → SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js} +15 -14
  73. package/dist/{Select-Dmr_Q332.js → Select-DMDcHdlD.js} +28 -27
  74. package/dist/{Select-B7VB4CHX.js → Select-Dlx4Tg2X.js} +1 -1
  75. package/dist/Select-Doyr8ioF.js +84 -0
  76. package/dist/{Single-z7YLL5yh.js → Single-B4EEi5Bm.js} +63 -63
  77. package/dist/{Statistic-SFo_gi_N.js → Statistic-AY1NP5tM.js} +11 -11
  78. package/dist/{Statistic-B_mgjlnr.js → Statistic-CTxHNeof.js} +1 -1
  79. package/dist/{Stock-DInt0W2k.js → Stock-CcBqUgOB.js} +1 -1
  80. package/dist/{Stock-cw7lE17E.js → Stock-Sh2UHojP.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DKGuyQ08.js → Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js} +7 -7
  82. package/dist/{Switch-gkN2GOAQ.js → Switch-BOsRzAW-.js} +1 -1
  83. package/dist/{Table-BRSX9_5r.js → Table-C9IrdZEj.js} +40 -37
  84. package/dist/{Table-ByUYlERR.js → Table-CrMo5L6q.js} +10 -10
  85. package/dist/{Text-CLMVbFyi.js → Text-BRRmmXYV.js} +1 -1
  86. package/dist/{Text-EQNK15_K.js → Text-DKpPIUcY.js} +1 -1
  87. package/dist/Text-vz76Xb4X.js +4 -0
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js → Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js} +6 -6
  89. package/dist/TextLink-DKm6XbeF.js +66 -0
  90. package/dist/{Textarea-DoE5sGRR.js → Textarea-WPLyT7XC.js} +1 -1
  91. package/dist/{Time-CRVru-6c.js → Time-BcQzBDX-.js} +1 -1
  92. package/dist/{Timeline-CTj1FAtR.js → Timeline-Dolubd-b.js} +6 -6
  93. package/dist/{Tree-DfY_7l-G.js → Tree-Bv5eVC8s.js} +29 -28
  94. package/dist/Tree-KwP6ais4.js +295 -0
  95. package/dist/{TreeNode-BV9BiCFt.js → TreeNode-rHeuE2ot.js} +4 -4
  96. package/dist/{Update-C6EmSv2D.js → Update-C5bPCalk.js} +7 -7
  97. package/dist/{UpdateChild-CA0P17tZ.js → UpdateChild-B2A3hP6m.js} +14 -14
  98. package/dist/{Upload-CQo4b32p.js → Upload-BSbIQu56.js} +24 -24
  99. package/dist/{Upload-z2mEnrlN.js → Upload-heb0FQTh.js} +12 -11
  100. package/dist/{UploadApi-C0wC0lME.js → UploadApi-vYU0Jda6.js} +3 -3
  101. package/dist/{Year-DBuvSBYN.js → Year-1ug2_a1g.js} +1 -1
  102. package/dist/{Year-CEHCOGTW.js → Year-Dlp5PKhI.js} +1 -1
  103. package/dist/main-Bs5Q5ZLl.js +6535 -0
  104. package/dist/main.js +102 -84
  105. package/dist/style.css +1 -1
  106. package/dist/vendor-pinia-C-_fm-ER.js +1167 -0
  107. package/dist/vendor-vue-demi-DdR-Jw7p.js +31 -0
  108. package/esm/components/business/index.d.ts +8 -8
  109. package/esm/components/controls/Text.vue.d.ts +1 -1
  110. package/esm/components/index.d.ts +8 -8
  111. package/esm/components/lists/Tree.vue.d.ts +1 -1
  112. package/esm/components/lists/index.d.ts +1 -1
  113. package/esm/components/pages/Single.vue.d.ts +1 -1
  114. package/esm/components/pagings/Article.vue.d.ts +1 -1
  115. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  116. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  117. package/esm/components/pagings/Index.vue.d.ts +4 -4
  118. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  119. package/esm/components/pagings/Table.vue.d.ts +3 -3
  120. package/esm/components/pagings/index.d.ts +1 -1
  121. package/esm/components/partials/Detail.vue.d.ts +1 -1
  122. package/esm/components/partials/Update.vue.d.ts +1 -1
  123. package/esm/components/singles/index.d.ts +1 -1
  124. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  125. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  126. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  127. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  128. package/esm/components/texts/Code.vue.d.ts +1 -1
  129. package/esm/components/texts/Color.vue.d.ts +1 -1
  130. package/esm/components/texts/Compare.vue.d.ts +1 -1
  131. package/esm/components/texts/Copy.vue.d.ts +1 -1
  132. package/esm/components/texts/Date.vue.d.ts +1 -1
  133. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  134. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  135. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  136. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  137. package/esm/components/texts/Email.vue.d.ts +1 -1
  138. package/esm/components/texts/Index.vue.d.ts +1 -1
  139. package/esm/components/texts/Int.vue.d.ts +1 -1
  140. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  141. package/esm/components/texts/Month.vue.d.ts +1 -1
  142. package/esm/components/texts/Password.vue.d.ts +1 -1
  143. package/esm/components/texts/Progress.vue.d.ts +1 -1
  144. package/esm/components/texts/Radio.vue.d.ts +1 -1
  145. package/esm/components/texts/Rate.vue.d.ts +1 -1
  146. package/esm/components/texts/RichText.vue.d.ts +1 -1
  147. package/esm/components/texts/Select.vue.d.ts +1 -1
  148. package/esm/components/texts/Switch.vue.d.ts +1 -1
  149. package/esm/components/texts/Text.vue.d.ts +1 -1
  150. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  151. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  152. package/esm/components/texts/Upload.vue.d.ts +1 -1
  153. package/esm/components/texts/Year.vue.d.ts +1 -1
  154. package/esm/main.d.ts +5 -5
  155. package/esm/plugins/index.d.ts +1 -0
  156. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  157. package/esm/sdks/commons/index.d.ts +1 -59
  158. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  159. package/esm/sdks/globals/index.d.ts +4 -0
  160. package/esm/sdks/index.d.ts +4 -7
  161. package/esm/services/MessageService.d.ts +9 -8
  162. package/esm/services/index.d.ts +1 -3
  163. package/esm/stores/index.d.ts +1 -7
  164. package/package.json +17 -21
  165. package/dist/Callback-3bTaCoQy.js +0 -20
  166. package/dist/Code-CnU5c_Xk.js +0 -4
  167. package/dist/Compare-D-WXTccH.js +0 -27
  168. package/dist/Delete-DkSX4BUu.js +0 -55
  169. package/dist/Index-BaxI_lNq.js +0 -4
  170. package/dist/Index-BnNuVSxA.js +0 -4
  171. package/dist/Maintaince-BMLmBQI9.js +0 -15
  172. package/dist/Paging-CqpaB0Mn.js +0 -94
  173. package/dist/QueryApi-BqpLpqXT.js +0 -13
  174. package/dist/Select-zZ9NAS5C.js +0 -80
  175. package/dist/Text-CXXJqJ8N.js +0 -4
  176. package/dist/TextLink-KC_xsgpi.js +0 -66
  177. package/dist/Tree-B2ILQtRK.js +0 -295
  178. package/dist/main-CgmRyjET.js +0 -6158
  179. package/dist/vendor-axios-ud9O0vdJ.js +0 -1670
  180. package/dist/vendor-pinia-yrN6kSxh.js +0 -861
  181. package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
  182. package/esm/components/business/HoCondition.vue.d.ts +0 -18
  183. package/esm/components/business/HoCrud.vue.d.ts +0 -29
  184. package/esm/components/business/HoDrawer.vue.d.ts +0 -24
  185. package/esm/components/business/HoDriver.vue.d.ts +0 -52
  186. package/esm/components/business/HoFeedback.vue.d.ts +0 -8
  187. package/esm/components/business/HoForm.vue.d.ts +0 -23
  188. package/esm/components/business/HoSwitch.vue.d.ts +0 -24
  189. package/esm/components/business/HoWelcome.vue.d.ts +0 -8
  190. package/esm/drivers/IDriver.d.ts +0 -10
  191. package/esm/drivers/cdns/Cdn.d.ts +0 -14
  192. package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
  193. package/esm/drivers/cdns/ICdn.d.ts +0 -34
  194. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  195. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
  196. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
  197. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
  198. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
  199. package/esm/drivers/driver-helper.d.ts +0 -46
  200. package/esm/drivers/encoders/Encoder.d.ts +0 -11
  201. package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
  202. package/esm/drivers/encoders/IEncoder.d.ts +0 -22
  203. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
  204. package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
  205. package/esm/drivers/excels/IExcel.d.ts +0 -18
  206. package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
  207. package/esm/drivers/explainers/Explainer.d.ts +0 -4
  208. package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
  209. package/esm/drivers/explainers/IExplainer.d.ts +0 -3
  210. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
  211. package/esm/drivers/features/FeatureFactory.d.ts +0 -11
  212. package/esm/drivers/features/IFeature.d.ts +0 -23
  213. package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
  214. package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
  215. package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
  216. package/esm/drivers/hashers/Hasher.d.ts +0 -10
  217. package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
  218. package/esm/drivers/hashers/IHasher.d.ts +0 -19
  219. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
  220. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
  221. package/esm/drivers/index.d.ts +0 -7
  222. package/esm/drivers/providers/IProvider.d.ts +0 -43
  223. package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
  224. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
  225. package/esm/drivers/requesters/IRequester.d.ts +0 -17
  226. package/esm/drivers/requesters/Requester.d.ts +0 -11
  227. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -17
  228. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -22
  229. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  230. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -7
  231. package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -39
  232. package/esm/drivers/signers/ISigner.d.ts +0 -33
  233. package/esm/drivers/signers/SignerFactory.d.ts +0 -11
  234. package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
  235. package/esm/drivers/ssos/ISso.d.ts +0 -41
  236. package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
  237. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
  238. package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
  239. package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
  240. package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
  241. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
  242. package/esm/sdks/commons/HaCode.vue.d.ts +0 -39
  243. package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
  244. package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
  245. package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
  246. package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
  247. package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
  248. package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
  249. package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
  250. package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
  251. package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
  252. package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
  253. package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
  254. package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
  255. package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
  256. package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
  257. package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
  258. package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
  259. package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
  260. package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
  261. package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
  262. package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
  263. package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
  264. package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
  265. package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
  266. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
  267. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
  268. package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
  269. package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
  270. package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
  271. package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
  272. package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
  273. package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
  274. package/esm/sdks/helpers/array-helper.d.ts +0 -97
  275. package/esm/sdks/helpers/component-helper.d.ts +0 -10
  276. package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
  277. package/esm/sdks/helpers/dictionary-helper.d.ts +0 -10
  278. package/esm/sdks/helpers/dom-helper.d.ts +0 -74
  279. package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
  280. package/esm/sdks/helpers/event-helper.d.ts +0 -30
  281. package/esm/sdks/helpers/file-helper.d.ts +0 -22
  282. package/esm/sdks/helpers/html-helper.d.ts +0 -10
  283. package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
  284. package/esm/sdks/helpers/image-helper.d.ts +0 -10
  285. package/esm/sdks/helpers/index.d.ts +0 -26
  286. package/esm/sdks/helpers/json-helper.d.ts +0 -31
  287. package/esm/sdks/helpers/math-helper.d.ts +0 -42
  288. package/esm/sdks/helpers/micro-helper.d.ts +0 -10
  289. package/esm/sdks/helpers/mount-helper.d.ts +0 -14
  290. package/esm/sdks/helpers/object-helper.d.ts +0 -34
  291. package/esm/sdks/helpers/script-helper.d.ts +0 -31
  292. package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
  293. package/esm/sdks/helpers/sign-helper.d.ts +0 -14
  294. package/esm/sdks/helpers/storage-helper.d.ts +0 -34
  295. package/esm/sdks/helpers/string-helper.d.ts +0 -94
  296. package/esm/sdks/helpers/task-helper.d.ts +0 -26
  297. package/esm/sdks/helpers/time-helper.d.ts +0 -62
  298. package/esm/sdks/helpers/tree-helper.d.ts +0 -54
  299. package/esm/sdks/helpers/type-helper.d.ts +0 -26
  300. package/esm/sdks/helpers/url-helper.d.ts +0 -92
  301. package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
  302. package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
  303. package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
  304. package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
  305. package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
  306. package/esm/sdks/stores/window.d.ts +0 -25
  307. package/esm/sdks/thirds/index.d.ts +0 -8
  308. package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
  309. package/esm/sdks/utilities/EventUtility.d.ts +0 -30
  310. package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
  311. package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
  312. package/esm/sdks/utilities/index.d.ts +0 -4
  313. package/esm/services/HttpService.d.ts +0 -22
  314. package/esm/services/SettingService.d.ts +0 -5
  315. package/esm/stores/app.d.ts +0 -44
  316. package/esm/stores/component.d.ts +0 -30
  317. package/esm/stores/config.d.ts +0 -55
  318. package/esm/stores/driver.d.ts +0 -37
  319. package/esm/stores/i18n.d.ts +0 -67
  320. package/esm/stores/layout.d.ts +0 -13
  321. package/esm/stores/log.d.ts +0 -20
  322. package/esm/stores/router.d.ts +0 -20
  323. package/esm/stores/setting.d.ts +0 -43
  324. package/esm/stores/socket.d.ts +0 -27
  325. package/esm/stores/user.d.ts +0 -40
@@ -0,0 +1,1167 @@
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
+ };