@acedatacloud/nexior 3.129.0 → 3.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/assets/{Auth-C6wr891o.js → Auth-CPun-ner.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-Bxg1WSeO.js → BotPlaceholder-ELkmSsnl.js} +1 -1
  3. package/dist/assets/{Callback-BwoKrpxP.js → Callback-4CuFDDCn.js} +1 -1
  4. package/dist/assets/{Console-CWmm0dyp.js → Console-CBUUE6hu.js} +1 -1
  5. package/dist/assets/{Consumption-DhMtSnnQ.js → Consumption-BTER3uKB.js} +1 -1
  6. package/dist/assets/{Conversation-DPk_uXLn.js → Conversation-D_l8--yU.js} +1 -1
  7. package/dist/assets/{CopyToClipboard-DrzpK9ow.js → CopyToClipboard-C7KqrpSG.js} +1 -1
  8. package/dist/assets/{Detail-C9F8qPBS.js → Detail-Duw-nCY-.js} +2 -2
  9. package/dist/assets/{EditArray-KHBbE9zY.js → EditArray-Vrcz4zIo.js} +1 -1
  10. package/dist/assets/{Extra-CK8Cz5kT.js → Extra-CM83q08B.js} +1 -1
  11. package/dist/assets/{FilePreview-DAghvicx.js → FilePreview-C38qtwml.js} +1 -1
  12. package/dist/assets/{History-BIBlU1lS.js → History-Cdos199I.js} +1 -1
  13. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-BzHyU7fq.js → IconPark.vue_vue_type_script_setup_true_lang-BaHTOpv8.js} +1 -1
  14. package/dist/assets/{ImagePreview-DGgsF-1W.js → ImagePreview-D1-wHUZ1.js} +1 -1
  15. package/dist/assets/{ImageWrapper-D3SmhRJ2.js → ImageWrapper-C3Zg_Tmp.js} +1 -1
  16. package/dist/assets/{Index-D115uFa4.js → Index-4wsXk6Uf.js} +1 -1
  17. package/dist/assets/{Index-C0Fhwvdl.js → Index-B-r6YJyv.js} +1 -1
  18. package/dist/assets/{Index-_MauVsrS.js → Index-BT4C-Men.js} +1 -1
  19. package/dist/assets/{Index-DMeXUxJq.js → Index-BUXYm_Su.js} +1 -1
  20. package/dist/assets/{Index-DuspubCQ.js → Index-BZIyMFNJ.js} +1 -1
  21. package/dist/assets/{Index-KezgLWzj.js → Index-BflzaZt1.js} +1 -1
  22. package/dist/assets/{Index-Pmwam5Y5.js → Index-BkppdjzW.js} +1 -1
  23. package/dist/assets/{Index-BzsYSUWi.js → Index-CER__2t3.js} +1 -1
  24. package/dist/assets/{Index-DXKlzMzm.js → Index-CEqsCcK2.js} +1 -1
  25. package/dist/assets/{Index-CJcWQf6n.js → Index-CSOhlOff.js} +1 -1
  26. package/dist/assets/{Index-Dz0-Akfd.js → Index-CdfJtbIW.js} +1 -1
  27. package/dist/assets/{Index-CZXMmH0p.js → Index-Clb7R5zx.js} +1 -1
  28. package/dist/assets/{Index-D4N_EcHx.js → Index-CsYi1UUb.js} +1 -1
  29. package/dist/assets/{Index-98pSKakk.js → Index-CwlyOPQR.js} +1 -1
  30. package/dist/assets/{Index-DO8x_-kO.js → Index-DNH6riVb.js} +1 -1
  31. package/dist/assets/{Index-CWm9n2YF.js → Index-DW-TMho9.js} +1 -1
  32. package/dist/assets/{Index-Dsg6kUwi.js → Index-Dj7O1bn6.js} +1 -1
  33. package/dist/assets/{Index-BDyuR4Yn.js → Index-Djl-yxtb.js} +1 -1
  34. package/dist/assets/{Index-lhUC1ujT.js → Index-DmOuiti2.js} +1 -1
  35. package/dist/assets/{Index-B9DdTfO_.js → Index-Dvqp-tEV.js} +1 -1
  36. package/dist/assets/{Index-DNxu1Tme.js → Index-Dwu06Yn-.js} +1 -1
  37. package/dist/assets/{Index-Bb9OC1vx.js → Index-Dzrn8zLS.js} +1 -1
  38. package/dist/assets/{Index-CUOw5gGW.js → Index-El7s1dN-.js} +1 -1
  39. package/dist/assets/{Index-BA8_9CQm.css → Index-X1bqdOeP.css} +1 -1
  40. package/dist/assets/{Index-lIlzXU6m.js → Index-gcG4M-N0.js} +1 -1
  41. package/dist/assets/{Invitees-BsSs-EAK.js → Invitees-DLE9q0ty.js} +1 -1
  42. package/dist/assets/{List-HNKAKFbq.js → List-BPKRi9u7.js} +1 -1
  43. package/dist/assets/{List-Dx1BdOBE.js → List-CyniqIXh.js} +1 -1
  44. package/dist/assets/{List-opMrjM1A.js → List-Nw0AhMAs.js} +1 -1
  45. package/dist/assets/Main-Bgx8A0lS.js +1 -0
  46. package/dist/assets/{Navigator-kqKQIHAX.js → Navigator-CaphA3zH.js} +1 -1
  47. package/dist/assets/{NoTasks-M-MqsF2Q.js → NoTasks-qWjyY3dd.js} +1 -1
  48. package/dist/assets/{NotFound-QwMecwb5.js → NotFound-bQHa1SMz.js} +1 -1
  49. package/dist/assets/{OAuthCallback-zw6v-flP.js → OAuthCallback-CCsG1knc.js} +1 -1
  50. package/dist/assets/{Pagination-D3wwQpIW.js → Pagination-DRntHdTl.js} +1 -1
  51. package/dist/assets/{ScrollList-DMu-o4cw.js → ScrollList-DwtS5Kms.js} +1 -1
  52. package/dist/assets/{Status-Dur0uyXT.js → Status-CMWrsp8I.js} +1 -1
  53. package/dist/assets/{Subscribe-BM78IM0M.js → Subscribe-BBVPomBj.js} +1 -1
  54. package/dist/assets/{TransportWebHID-B9bCMW4g.js → TransportWebHID-CtpearfN.js} +1 -1
  55. package/dist/assets/{VideoPlayer-CHTi5hkY.js → VideoPlayer-DkDgsLaU.js} +1 -1
  56. package/dist/assets/{_Uint8Array-C3Lbt_45.js → _Uint8Array-r2AiArwq.js} +1 -1
  57. package/dist/assets/{_baseClone-vd8PLpyA.js → _baseClone-BxigKdDr.js} +1 -1
  58. package/dist/assets/{_baseIteratee-BEktInjh.js → _baseIteratee-D3txZhwq.js} +1 -1
  59. package/dist/assets/{_initCloneObject-D5Z-CcL7.js → _initCloneObject-DgmkiSjt.js} +1 -1
  60. package/dist/assets/{add-Rhr3tPKw.js → add-B6KetULi.js} +1 -1
  61. package/dist/assets/{all-wallets-CCjRz3O9.js → all-wallets-BN91KmZN.js} +1 -1
  62. package/dist/assets/{app-store-lc068hsQ.js → app-store-Cdq1Haaz.js} +1 -1
  63. package/dist/assets/{apple-B7Ol_uH3.js → apple-CMW3rWdi.js} +1 -1
  64. package/dist/assets/{arrow-bottom-CItJJlyT.js → arrow-bottom-Ckc4u8b-.js} +1 -1
  65. package/dist/assets/{arrow-bottom-circle-B-D0ltWE.js → arrow-bottom-circle-CUIpTR60.js} +1 -1
  66. package/dist/assets/{arrow-left-C95ErQIg.js → arrow-left-CYKwcLq7.js} +1 -1
  67. package/dist/assets/{arrow-right-DVxN-a3P.js → arrow-right-D460fxTp.js} +1 -1
  68. package/dist/assets/{arrow-top-Cp2ChGar.js → arrow-top-Dz-Qwhtt.js} +1 -1
  69. package/dist/assets/{avatar-CzOVqXLD.js → avatar-tjGW8tMY.js} +1 -1
  70. package/dist/assets/{bank-xjecoC1A.js → bank-BAHhvjT3.js} +1 -1
  71. package/dist/assets/{basic-Bzuf2xSF.js → basic-CrU6pSQx.js} +1 -1
  72. package/dist/assets/{browser-BpqHtbmM.js → browser-C6PwqoIN.js} +1 -1
  73. package/dist/assets/{byokCredential-D6aUoPSm.js → byokCredential-BdXWk1L0.js} +1 -1
  74. package/dist/assets/{card-D8gw3i8F.js → card-B-8sZW6U.js} +1 -1
  75. package/dist/assets/{castArray-BgN0ywwP.js → castArray-B2vxXNhD.js} +1 -1
  76. package/dist/assets/{chat-CsIdwksH.js → chat-uSnIQ5XO.js} +1 -1
  77. package/dist/assets/{checkmark-Zv0yogw9.js → checkmark-7uT55G9N.js} +1 -1
  78. package/dist/assets/{checkmark-bold-BZEGI2-2.js → checkmark-bold-fWaaJG7W.js} +1 -1
  79. package/dist/assets/{chevron-bottom-DZrw0_8N.js → chevron-bottom-kL9AYe-e.js} +1 -1
  80. package/dist/assets/{chevron-left-do53nOJf.js → chevron-left-CTgkIzoj.js} +1 -1
  81. package/dist/assets/{chevron-right-TuH_zhQN.js → chevron-right-B0XHcuUn.js} +1 -1
  82. package/dist/assets/{chevron-top-DBG6w7XR.js → chevron-top-DoI4t_f-.js} +1 -1
  83. package/dist/assets/{chrome-store-DNON-ERX.js → chrome-store-BrI7wuL8.js} +1 -1
  84. package/dist/assets/{clock-_GvZ1cK4.js → clock-Cwj3KIRa.js} +1 -1
  85. package/dist/assets/{close-5vy-RJs0.js → close-D400peN4.js} +1 -1
  86. package/dist/assets/{coinPlaceholder-B-b0AZM6.js → coinPlaceholder-DTG8P9l3.js} +1 -1
  87. package/dist/assets/{compass-Bd4r_sA_.js → compass-DtCRatsI.js} +1 -1
  88. package/dist/assets/{copy-BFgv8THt.js → copy-Dsdggpg8.js} +1 -1
  89. package/dist/assets/{cursor-CVMC812V.js → cursor-BS0c5g5f.js} +1 -1
  90. package/dist/assets/{cursor-transparent-BTn1ZeoW.js → cursor-transparent-9Kdkp_yM.js} +1 -1
  91. package/dist/assets/{debounce-CfLqwhiY.js → debounce-_3S7zlL2.js} +1 -1
  92. package/dist/assets/{desktop-C5K6G_aZ.js → desktop-Kllc1aBt.js} +1 -1
  93. package/dist/assets/{disconnect-RBsPwfU6.js → disconnect-Mx6pQ0B3.js} +1 -1
  94. package/dist/assets/{discord-DynP7LWn.js → discord-myHVYqKR.js} +1 -1
  95. package/dist/assets/{distribution-CosZlALm.js → distribution-WeRSvqxq.js} +1 -1
  96. package/dist/assets/{dropdown-D3hMk_5d.js → dropdown-BFtPaRjY.js} +1 -1
  97. package/dist/assets/{etherscan-BrOlLE0m.js → etherscan-M4JtbwLK.js} +1 -1
  98. package/dist/assets/{exclamation-triangle-Cihq_Ywd.js → exclamation-triangle-kVwKJKv7.js} +1 -1
  99. package/dist/assets/{extension-mkEqD_BJ.js → extension-BiARG9LC.js} +1 -1
  100. package/dist/assets/{external-link-DYVDX0z5.js → external-link-Dy-EzyVs.js} +1 -1
  101. package/dist/assets/{facebook-QMnr-1js.js → facebook-DerLI8-k.js} +1 -1
  102. package/dist/assets/{farcaster-CPWveC__.js → farcaster-DGOKM0CL.js} +1 -1
  103. package/dist/assets/{filters-CYUcoLkD.js → filters-B0P8MCkP.js} +1 -1
  104. package/dist/assets/{flux-Bp51qI1Q.js → flux-C2cTCetu.js} +1 -1
  105. package/dist/assets/{github-uyLzo_z8.js → github-DuONAZxk.js} +1 -1
  106. package/dist/assets/{google-fPSfCR9C.js → google-DHIC66VL.js} +1 -1
  107. package/dist/assets/{hailuo-DZqfvXW2.js → hailuo-Ch2VbIzn.js} +1 -1
  108. package/dist/assets/{headshots-mfi_0kms.js → headshots-DsEEv1Ur.js} +1 -1
  109. package/dist/assets/{help-circle-CiHKb6Il.js → help-circle-DNXSJnRW.js} +1 -1
  110. package/dist/assets/{id-B8fRq-M4.js → id-CyrUum8M.js} +1 -1
  111. package/dist/assets/{image-CBVy9et1.js → image-B3kxKV7f.js} +1 -1
  112. package/dist/assets/{index-DZ1tqrhb.js → index-AcwFgQIP.js} +1 -1
  113. package/dist/assets/{index-BkRv-z3G.js → index-B1WDSdZi.js} +1 -1
  114. package/dist/assets/{index-D_y8kja2.js → index-B7F2z5E0.js} +1 -1
  115. package/dist/assets/{index-DLJaPPEs.js → index-B9arrHIM.js} +1 -1
  116. package/dist/assets/{index-BkJcEPcB.js → index-BJOZdRiR.js} +1 -1
  117. package/dist/assets/{index-Cq1B7Sqv.js → index-BLyzyfCi.js} +1 -1
  118. package/dist/assets/{index-CzpXDEHV.js → index-BNBvAVqk.js} +1 -1
  119. package/dist/assets/{index-X4RPhZd6.js → index-BORj7BGu.js} +1 -1
  120. package/dist/assets/{index-BxG3gwu6.js → index-BOifbS0e.js} +1 -1
  121. package/dist/assets/{index-BvsGeWBq.js → index-BP3406Mg.js} +1 -1
  122. package/dist/assets/{index-CO8_QyaE.js → index-BS7RBRf7.js} +1 -1
  123. package/dist/assets/{index-BE5mvr9Z.js → index-B_tgouxo.js} +1 -1
  124. package/dist/assets/{index-DKiuKeDx.js → index-BaQKeD8n.js} +1 -1
  125. package/dist/assets/{index-CwoK3VdT.js → index-BbKv819g.js} +1 -1
  126. package/dist/assets/{index-BMB0tPaL.js → index-BbLwXRUs.js} +1 -1
  127. package/dist/assets/{index-fpoSH8bT.js → index-BcF6c2fj.js} +1 -1
  128. package/dist/assets/{index-Bf-VYX2K.js → index-Bn2IlY-x.js} +1 -1
  129. package/dist/assets/{index-CwLbS1A8.js → index-BswHz97K.js} +1 -1
  130. package/dist/assets/{index-DrYucvvt.js → index-BswSqHMJ.js} +1 -1
  131. package/dist/assets/{index-D7J-d7kY.js → index-Bu5z2zqH.js} +1 -1
  132. package/dist/assets/{index-Bt0qEKcm.js → index-BusIrOhV.js} +6 -6
  133. package/dist/assets/{index-BfYt3lpS.js → index-Bw3CEnBC.js} +1 -1
  134. package/dist/assets/{index-Dirtp-2U.js → index-BzwM1E8W.js} +1 -1
  135. package/dist/assets/{index-DnoD1Giz.js → index-C5Y8uhbB.js} +1 -1
  136. package/dist/assets/{index-CEOn0L_0.js → index-C71gNsYG.js} +1 -1
  137. package/dist/assets/{index-dsEGFRI5.js → index-C9Y7_boo.js} +1 -1
  138. package/dist/assets/{index-1e6zn-my.js → index-CGhualWs.js} +1 -1
  139. package/dist/assets/{index-jvX6Scau.js → index-CKEO4YEr.js} +1 -1
  140. package/dist/assets/{index-C_CFcyfA.js → index-Cgx9mQ7g.js} +1 -1
  141. package/dist/assets/{index-chdjSg4m.js → index-CkSlSgEh.js} +1 -1
  142. package/dist/assets/{index-B5iae9JX.js → index-CkcwmFw8.js} +1 -1
  143. package/dist/assets/{index-xC8HW9HC.js → index-ClCG2tzm.js} +1 -1
  144. package/dist/assets/{index-ys73P36s.js → index-CrzPRMoa.js} +1 -1
  145. package/dist/assets/{index-DOxWI9dz.js → index-CvXUxhYv.js} +1 -1
  146. package/dist/assets/{index-C2rR58Ot.js → index-Cx55_vpl.js} +1 -1
  147. package/dist/assets/{index-8KP8o-wR.js → index-CxcuDOs0.js} +1 -1
  148. package/dist/assets/{index-D7TXnRb-.js → index-CyDEYil7.js} +1 -1
  149. package/dist/assets/{index-DfNRxa4s.js → index-D-dFHIoB.js} +1 -1
  150. package/dist/assets/{index-Br8Me_3x.js → index-D1zNbFDu.js} +1 -1
  151. package/dist/assets/{index-BySOUfaP.js → index-D57UyGSQ.js} +1 -1
  152. package/dist/assets/{index-DZxx2mSr.js → index-D5VLtUiZ.js} +1 -1
  153. package/dist/assets/{index-CMgORxMe.js → index-D7CgbKtA.js} +1 -1
  154. package/dist/assets/{index-C4Lwn9IE.js → index-DHeOtfLf.js} +1 -1
  155. package/dist/assets/{index-C9lzUGs5.js → index-DIsO_TM1.js} +1 -1
  156. package/dist/assets/{index-BBtY3fhg.js → index-DMTgZhwb.js} +1 -1
  157. package/dist/assets/{index-Z6qAnijd.js → index-DVtkga7n.js} +1 -1
  158. package/dist/assets/{index-BYgw8Ne9.js → index-DZJZt16Z.js} +1 -1
  159. package/dist/assets/{index-C4cFnn6h.js → index-Da9nVqf6.js} +1 -1
  160. package/dist/assets/{index-D-VeTnRp.js → index-DdVQI-NW.js} +3 -3
  161. package/dist/assets/{index-DOUTCEtG.js → index-DnPUVkoi.js} +1 -1
  162. package/dist/assets/{index-5aZRl_F2.js → index-DswwtSQ2.js} +1 -1
  163. package/dist/assets/{index-CfOE8c8A.js → index-Dwcgrhqp.js} +1 -1
  164. package/dist/assets/{index-BmskuvzR.js → index-ENoTMmXE.js} +3 -3
  165. package/dist/assets/{index-FPk3fSOu.js → index-Jnrcb_5s.js} +1 -1
  166. package/dist/assets/{index-C2eH1iHa.js → index-UxOF2h8N.js} +1 -1
  167. package/dist/assets/{index-C9PM4M05.js → index-VsL7uT2w.js} +1 -1
  168. package/dist/assets/{index-CKM7surl.js → index-WM9qmr1H.js} +1 -1
  169. package/dist/assets/{index-D1h0lpk4.js → index-aw-oanlj.js} +1 -1
  170. package/dist/assets/{index-JlXUmriI.js → index-bkFTkL1Z.js} +1 -1
  171. package/dist/assets/{index-Dlb1ce1V.js → index-oC0P_XSo.js} +1 -1
  172. package/dist/assets/{index-C38keIAt.js → index-tKiSg2XK.js} +1 -1
  173. package/dist/assets/{index-yeaw2_Qj.js → index-thCCTumg.js} +1 -1
  174. package/dist/assets/{index.browser.esm-qLCiA7oD.js → index.browser.esm-CeNOqTen.js} +1 -1
  175. package/dist/assets/{index.es-DgRqc681.js → index.es-DubEPH_n.js} +1 -1
  176. package/dist/assets/{info-1pyBFDvz.js → info-DvoghkAM.js} +1 -1
  177. package/dist/assets/{info-circle-CkCfVbaC.js → info-circle-yJ38X5kc.js} +1 -1
  178. package/dist/assets/{isEqual-BPX3ojYz.js → isEqual-DZkx_aG1.js} +1 -1
  179. package/dist/assets/{isPlainObject-COYsLQum.js → isPlainObject-DqrEVRCb.js} +1 -1
  180. package/dist/assets/{kling-GPS_1w8O.js → kling-Bn7s58rw.js} +1 -1
  181. package/dist/assets/{lightbulb-DQ75OCny.js → lightbulb-BSbmlRDv.js} +1 -1
  182. package/dist/assets/{luma-aWecxKUd.js → luma-CwPFkvci.js} +1 -1
  183. package/dist/assets/{mail-BLRceXUR.js → mail-C53UaC-Q.js} +1 -1
  184. package/dist/assets/{midjourney-CeqX80Ag.js → midjourney-DQ_KaRws.js} +1 -1
  185. package/dist/assets/{mobile-u_lzxBw2.js → mobile-B2NMqYex.js} +1 -1
  186. package/dist/assets/{more-B5BCNDgH.js → more-CXag8PT9.js} +1 -1
  187. package/dist/assets/{nanobanana-C9Llm_-d.js → nanobanana-B33aoEkq.js} +1 -1
  188. package/dist/assets/{network-placeholder-D7PTW8r9.js → network-placeholder-z3Dx0PoY.js} +1 -1
  189. package/dist/assets/{nftPlaceholder-eW3UWdis.js → nftPlaceholder-Cg8vQ94F.js} +1 -1
  190. package/dist/assets/{off-CAlsnWwC.js → off-DRe4zVUJ.js} +1 -1
  191. package/dist/assets/{openaiimage-AsNjvitU.js → openaiimage-Dk7_ftyU.js} +1 -1
  192. package/dist/assets/{order-Bqp2j3Jf.js → order-Vc1kv_wq.js} +1 -1
  193. package/dist/assets/{pika-B23NLf6i.js → pika-ClfsZ7jH.js} +1 -1
  194. package/dist/assets/{pixverse-CymNtjaz.js → pixverse-CzYfGXqE.js} +1 -1
  195. package/dist/assets/{play-store-lvlDQ5vJ.js → play-store-CVPQ3Chk.js} +1 -1
  196. package/dist/assets/{plus-D58DFJ1T.js → plus-CwTJwbyz.js} +1 -1
  197. package/dist/assets/{price-BGnrujo6.js → price-DFH_6K1X.js} +1 -1
  198. package/dist/assets/{producer-DjoJHK-p.js → producer-BL71UObd.js} +1 -1
  199. package/dist/assets/{qr-code-C5bC5x0O.js → qr-code-CLYRjc25.js} +1 -1
  200. package/dist/assets/{qrart-OgtVocdR.js → qrart-iPV1SSPb.js} +1 -1
  201. package/dist/assets/{recycle-horizontal-CQY-N3Q_.js → recycle-horizontal-C1RCZY5r.js} +1 -1
  202. package/dist/assets/{refresh-drZsyGvi.js → refresh-CCokFzdq.js} +1 -1
  203. package/dist/assets/{reown-logo-CcS9acqr.js → reown-logo-CER-kxwz.js} +1 -1
  204. package/dist/assets/{search-DfE8H2N-.js → search-BFHynMse.js} +1 -1
  205. package/dist/assets/{secp256k1-DzB028xx.js → secp256k1-BeoCPJW_.js} +1 -1
  206. package/dist/assets/{secp256k1-DkPjZYcD.js → secp256k1-CawIunWV.js} +1 -1
  207. package/dist/assets/{seedance-B0lpHKHp.js → seedance-CfGlmkGb.js} +1 -1
  208. package/dist/assets/{seedream-C4W4jOZg.js → seedream-D08UBTf5.js} +1 -1
  209. package/dist/assets/{send-CdO-Stc1.js → send-Dpw9htWZ.js} +1 -1
  210. package/dist/assets/{service-Ba0En9-N.js → service-DkaYV6nA.js} +1 -1
  211. package/dist/assets/{solana-wallets-ffNGp49h.js → solana-wallets-DT3WAfwA.js} +2 -2
  212. package/dist/assets/{solana-wallets-vue-BwoUgU-D.js → solana-wallets-vue-DCOmPSas.js} +1 -1
  213. package/dist/assets/{solanaEmbed.esm-CbUJ1Emr.js → solanaEmbed.esm-BVtR9JV0.js} +1 -1
  214. package/dist/assets/{sora-D1tfRRAJ.js → sora-hojbqARJ.js} +1 -1
  215. package/dist/assets/{string_decoder-UO8XV3w0.js → string_decoder-BFKRIBKI.js} +1 -1
  216. package/dist/assets/{suno-CH5veNaK.js → suno-D885IK17.js} +1 -1
  217. package/dist/assets/{swapHorizontal-CDkqUedL.js → swapHorizontal-DBtdxqwA.js} +1 -1
  218. package/dist/assets/{swapHorizontalBold-CKEmUjvW.js → swapHorizontalBold-Dkqza1tZ.js} +1 -1
  219. package/dist/assets/{swapHorizontalMedium-B1V9Px50.js → swapHorizontalMedium-DESzlSI_.js} +1 -1
  220. package/dist/assets/{swapHorizontalRoundedBold-BageN9lw.js → swapHorizontalRoundedBold-rbdX6kA5.js} +1 -1
  221. package/dist/assets/{swapVertical-CoUDmzSI.js → swapVertical-C8S-4Far.js} +1 -1
  222. package/dist/assets/{telegram-CFFroUec.js → telegram-BWe4Z6Wy.js} +1 -1
  223. package/dist/assets/{three-dots-CK9mr39y.js → three-dots-CQY3FH4I.js} +1 -1
  224. package/dist/assets/{twitch-Cr468Tua.js → twitch-B2Ap6n8c.js} +1 -1
  225. package/dist/assets/{twitterIcon-Bls5nwE-.js → twitterIcon-_Mq8quei.js} +1 -1
  226. package/dist/assets/{typescript-D5w3x56R.js → typescript-CRhtnxhr.js} +1 -1
  227. package/dist/assets/{use-form-item-7D-CUO4M.js → use-form-item-Cfa6DxBA.js} +1 -1
  228. package/dist/assets/validator-WY8t3OY1.js +1 -0
  229. package/dist/assets/{veo-CWhJ-UE3.js → veo-uLY-Cb0j.js} +1 -1
  230. package/dist/assets/{verify-HKc4Iikd.js → verify-BHqAL7cU.js} +1 -1
  231. package/dist/assets/{verify-filled-C2cJL44n.js → verify-filled-D2YrIDod.js} +1 -1
  232. package/dist/assets/{w3m-modal-JlUKAPAZ.js → w3m-modal-C5QEYIJ4.js} +1 -1
  233. package/dist/assets/{wallet-i38ODjy6.js → wallet-3BFYhCyf.js} +1 -1
  234. package/dist/assets/{wallet-placeholder-CA4dHP8h.js → wallet-placeholder-DwX4Z7NO.js} +1 -1
  235. package/dist/assets/{walletconnect-DkmKqSTr.js → walletconnect-D6GF7Qzj.js} +1 -1
  236. package/dist/assets/{wan-B_XnEbZW.js → wan-TvS4Ox6Z.js} +1 -1
  237. package/dist/assets/{warning-circle-BmlNgUmm.js → warning-circle-LmoCfeL1.js} +1 -1
  238. package/dist/assets/{web-ChsJIVKh.js → web-CaxVcUIy.js} +1 -1
  239. package/dist/assets/{web-C5BhI75D.js → web-DK8EbJ8i.js} +1 -1
  240. package/dist/assets/{x-CFu0d94i.js → x-DTSeMEJE.js} +1 -1
  241. package/dist/index.html +1 -1
  242. package/package.json +1 -1
  243. package/dist/assets/Main-5JqRXBq_.js +0 -1
  244. package/dist/assets/validator-DC9gRNtc.js +0 -1
@@ -1 +1 @@
1
- import{aw as i,a7 as g,ax as d,ay as v,az as p}from"./index-BmskuvzR.js";import{c as u}from"./chat-CsIdwksH.js";import{s as f}from"./service-Ba0En9-N.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";import"./errorCode-Cqj9Td_Z.js";const C=({commit:t})=>{t("resetAll")},A=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),console.debug("application is set"),!s){console.debug("application is null, return");return}const o=s?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),t("setCredential",o)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},b=async({commit:t},e)=>{console.debug("set applications for chat",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service for chat",e),t("setService",e)},S=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},m=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application for chat",s),!s){console.error("Application not found");return}console.debug("creating create credential for application for chat",s);const{data:o}=await v.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",o),t("setCredential",o),console.debug("end createCredential"),o},w=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await f.get(d);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;try{const{data:o}=await g.getAll({user_id:s?.user?.id,service_id:d});return console.debug("get applications success for chat",o),e.status.getApplications=i.Success,t("setApplications",o.items),console.debug("set applications for chat",o.items),o.items}catch(o){console.error("get applications failed for chat",o),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},M=async({commit:t},e)=>{t("setModel",e)},$=async({commit:t},e)=>{t("setModelGroup",e)},y=async({commit:t,state:e},s)=>{console.debug("set conversation",s);const o=e.conversations||[],n=o?.findIndex(r=>r.id===s.id);n>-1?o[n]=s:o?.unshift(s),t("setConversations",o),console.debug("set conversation success",o)},G=async({commit:t},e)=>{console.debug("set conversations",e),t("setConversations",e)},E=async({commit:t,state:e,rootState:s})=>{e.status.getConversations=i.Request;const n=e.credential?.token,r=e.modelGroup?.name;if(!n||!r)return e.status.getConversations=i.Error,t("setConversations",[]),[];try{const{data:c}=await u.getConversations({userId:s.user?.id,modelGroup:r},{token:n});return console.debug("get conversations success",c?.items?.length,"group=",r),e.status.getConversations=i.Success,t("setConversations",c.items),c.items}catch{return e.status.getConversations=i.Error,t("setConversations",[]),[]}},I=async({commit:t,state:e},s)=>{const o=e.credential?.token;if(!(!o||!s))try{const{data:n}=await u.getConversation(s,{token:o}),r=e.conversations||[],c=r.findIndex(a=>a.id===s),l=c>-1?{...r[c],...n}:n;if(c>-1){const a=[...r];a[c]=l,t("setConversations",a)}return l}catch(n){console.error("getConversation failed",s,n);return}},O={resetAll:C,createCredential:m,setModel:M,setModelGroup:$,getService:w,setService:h,setCredential:S,setApplication:A,setApplications:b,getApplications:x,setConversation:y,setConversations:G,getConversations:E,getConversation:I},_=t=>{Object.assign(t,p())},k=(t,e)=>{t.model=e},R=(t,e)=>{t.modelGroup=e},q=(t,e)=>{t.credential=e},D=(t,e)=>{t.application=e},j=(t,e)=>{t.applications=e},z=(t,e)=>{t.service=e},H=(t,e)=>{t.conversations=e},P=(t,e)=>{t.pendingDraft=e||""},T={setModel:k,setModelGroup:R,setService:z,setCredential:q,setConversations:H,setApplication:D,setApplications:j,setPendingDraft:P,resetAll:_},U={namespaced:!0,state:p,mutations:T,actions:O};export{U as chat,U as default};
1
+ import{aw as i,a7 as g,ax as d,ay as v,az as p}from"./index-ENoTMmXE.js";import{c as u}from"./chat-uSnIQ5XO.js";import{s as f}from"./service-DkaYV6nA.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";import"./errorCode-Cqj9Td_Z.js";const C=({commit:t})=>{t("resetAll")},A=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),console.debug("application is set"),!s){console.debug("application is null, return");return}const o=s?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),t("setCredential",o)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},b=async({commit:t},e)=>{console.debug("set applications for chat",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service for chat",e),t("setService",e)},S=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},m=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application for chat",s),!s){console.error("Application not found");return}console.debug("creating create credential for application for chat",s);const{data:o}=await v.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",o),t("setCredential",o),console.debug("end createCredential"),o},w=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await f.get(d);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;try{const{data:o}=await g.getAll({user_id:s?.user?.id,service_id:d});return console.debug("get applications success for chat",o),e.status.getApplications=i.Success,t("setApplications",o.items),console.debug("set applications for chat",o.items),o.items}catch(o){console.error("get applications failed for chat",o),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},M=async({commit:t},e)=>{t("setModel",e)},$=async({commit:t},e)=>{t("setModelGroup",e)},y=async({commit:t,state:e},s)=>{console.debug("set conversation",s);const o=e.conversations||[],n=o?.findIndex(r=>r.id===s.id);n>-1?o[n]=s:o?.unshift(s),t("setConversations",o),console.debug("set conversation success",o)},G=async({commit:t},e)=>{console.debug("set conversations",e),t("setConversations",e)},E=async({commit:t,state:e,rootState:s})=>{e.status.getConversations=i.Request;const n=e.credential?.token,r=e.modelGroup?.name;if(!n||!r)return e.status.getConversations=i.Error,t("setConversations",[]),[];try{const{data:c}=await u.getConversations({userId:s.user?.id,modelGroup:r},{token:n});return console.debug("get conversations success",c?.items?.length,"group=",r),e.status.getConversations=i.Success,t("setConversations",c.items),c.items}catch{return e.status.getConversations=i.Error,t("setConversations",[]),[]}},I=async({commit:t,state:e},s)=>{const o=e.credential?.token;if(!(!o||!s))try{const{data:n}=await u.getConversation(s,{token:o}),r=e.conversations||[],c=r.findIndex(a=>a.id===s),l=c>-1?{...r[c],...n}:n;if(c>-1){const a=[...r];a[c]=l,t("setConversations",a)}return l}catch(n){console.error("getConversation failed",s,n);return}},O={resetAll:C,createCredential:m,setModel:M,setModelGroup:$,getService:w,setService:h,setCredential:S,setApplication:A,setApplications:b,getApplications:x,setConversation:y,setConversations:G,getConversations:E,getConversation:I},_=t=>{Object.assign(t,p())},k=(t,e)=>{t.model=e},R=(t,e)=>{t.modelGroup=e},q=(t,e)=>{t.credential=e},D=(t,e)=>{t.application=e},j=(t,e)=>{t.applications=e},z=(t,e)=>{t.service=e},H=(t,e)=>{t.conversations=e},P=(t,e)=>{t.pendingDraft=e||""},T={setModel:k,setModelGroup:R,setService:z,setCredential:q,setConversations:H,setApplication:D,setApplications:j,setPendingDraft:P,resetAll:_},U={namespaced:!0,state:p,mutations:T,actions:O};export{U as chat,U as default};
@@ -1 +1 @@
1
- import{ay as T,aw as o,a7 as v,aB as d}from"./index-BmskuvzR.js";import{q as f,Q as u}from"./qrart-OgtVocdR.js";import{s as b}from"./service-Ba0En9-N.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";const S=({commit:t})=>{t("resetAll")},C=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},I=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},y=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},q=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await b.get(u);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await v.getAll({user_id:s?.user?.id,service_id:u});return e.status.getApplications=o.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},O=({commit:t},e)=>{t("setConfig",e)},R=({commit:t},e)=>{t("setTasks",e)},_=({commit:t},e)=>{t("setTasksItems",e)},E=({commit:t},e)=>{t("setTasksTotal",e)},P=({commit:t},e)=>{t("setTasksActive",e)},Q=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:g,createdAtMax:k})=>new Promise((A,c)=>{console.debug("start to get tasks",a,n);const r=e.credential?.token;if(!r)return c("no token");f.tasks({userId:s?.user?.id,createdAtMin:g,createdAtMax:k},{token:r}).then(i=>{console.debug("get qrart tasks success",i.data.items);const l=e?.tasks?.items||[];console.debug("existing items",l);const p=i.data.items||[];console.debug("new items",p);const m=w(l,p);t("setTasksItems",m),t("setTasksTotal",i.data.count),A(i.data.items)}).catch(i=>c(i))}),B={setService:$,getService:q,resetAll:S,setCredential:h,setConfig:O,setApplication:C,setApplications:I,getApplications:x,setTasks:R,setTasksItems:_,setTasksTotal:E,setTasksActive:P,getTasks:Q,createCredential:y},D=t=>{Object.assign(t,d())},L=(t,e)=>{t.service=e},V=(t,e)=>{t.applications=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},K=(t,e)=>{t.tasks=e},M={setTasks:K,setApplication:z,setApplications:V,setConfig:F,setCredential:j,setService:L,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:D},at={namespaced:!0,state:d,mutations:M,actions:B};export{at as default,at as qrart};
1
+ import{ay as T,aw as o,a7 as v,aB as d}from"./index-ENoTMmXE.js";import{q as f,Q as u}from"./qrart-iPV1SSPb.js";import{s as b}from"./service-DkaYV6nA.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";const S=({commit:t})=>{t("resetAll")},C=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},I=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},y=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},q=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await b.get(u);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await v.getAll({user_id:s?.user?.id,service_id:u});return e.status.getApplications=o.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},O=({commit:t},e)=>{t("setConfig",e)},R=({commit:t},e)=>{t("setTasks",e)},_=({commit:t},e)=>{t("setTasksItems",e)},E=({commit:t},e)=>{t("setTasksTotal",e)},P=({commit:t},e)=>{t("setTasksActive",e)},Q=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:g,createdAtMax:k})=>new Promise((A,c)=>{console.debug("start to get tasks",a,n);const r=e.credential?.token;if(!r)return c("no token");f.tasks({userId:s?.user?.id,createdAtMin:g,createdAtMax:k},{token:r}).then(i=>{console.debug("get qrart tasks success",i.data.items);const l=e?.tasks?.items||[];console.debug("existing items",l);const p=i.data.items||[];console.debug("new items",p);const m=w(l,p);t("setTasksItems",m),t("setTasksTotal",i.data.count),A(i.data.items)}).catch(i=>c(i))}),B={setService:$,getService:q,resetAll:S,setCredential:h,setConfig:O,setApplication:C,setApplications:I,getApplications:x,setTasks:R,setTasksItems:_,setTasksTotal:E,setTasksActive:P,getTasks:Q,createCredential:y},D=t=>{Object.assign(t,d())},L=(t,e)=>{t.service=e},V=(t,e)=>{t.applications=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},K=(t,e)=>{t.tasks=e},M={setTasks:K,setApplication:z,setApplications:V,setConfig:F,setCredential:j,setService:L,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:D},at={namespaced:!0,state:d,mutations:M,actions:B};export{at as default,at as qrart};
@@ -1 +1 @@
1
- import{ay as T,aw as o,a7 as f,aD as u}from"./index-BmskuvzR.js";import{p as b,P as g}from"./pika-B23NLf6i.js";import{s as w}from"./service-Ba0En9-N.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},P=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await w.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:i}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},E=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},K=async({commit:t,state:e,rootState:s},{offset:a,limit:i,createdAtMin:k,createdAtMax:A})=>new Promise((v,c)=>{console.debug("start to get tasks",a,i);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");b.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(n=>{console.debug("get videos tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const m=S(p,d);t("setTasksItems",m),t("setTasksTotal",n.data.count),v(n.data.items)}).catch(n=>c(n))}),L={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:_,setApplication:I,setApplications:$,getApplications:O,setTasks:E,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:K,createCredential:P},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:M,setTasksItems:H,setTasksTotal:J,resetAll:V},at={namespaced:!0,state:u,mutations:Q,actions:L};export{at as default,at as pika};
1
+ import{ay as T,aw as o,a7 as f,aD as u}from"./index-ENoTMmXE.js";import{p as b,P as g}from"./pika-ClfsZ7jH.js";import{s as w}from"./service-DkaYV6nA.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},P=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await w.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:i}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},E=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},K=async({commit:t,state:e,rootState:s},{offset:a,limit:i,createdAtMin:k,createdAtMax:A})=>new Promise((v,c)=>{console.debug("start to get tasks",a,i);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");b.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(n=>{console.debug("get videos tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const m=S(p,d);t("setTasksItems",m),t("setTasksTotal",n.data.count),v(n.data.items)}).catch(n=>c(n))}),L={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:_,setApplication:I,setApplications:$,getApplications:O,setTasks:E,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:K,createCredential:P},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:M,setTasksItems:H,setTasksTotal:J,resetAll:V},at={namespaced:!0,state:u,mutations:Q,actions:L};export{at as default,at as pika};
@@ -1 +1 @@
1
- import{d as j,r as oe,w as de,o as ce,Y as me,q as b,H as z,G as Q,u as r,U as w,Q as $,z as S,C as K,y as _,x as A,J as W,Z as pe,M as R,b as fe,c as h,S as be}from"./vendor-vue-NSDaktjZ.js";import{E as ve}from"./index-C4cFnn6h.js";import{U as N,M as p,al as y,K as F,N as ee,I as Ne,am as Ve,J as he,z as ye,ag as Ee,A as ge,P as Ie,Q as we,an as Se,ao as _e,S as X,ap as Ae,aq as Pe,a2 as P,V as Fe,R as Y,D as Me}from"./index-BmskuvzR.js";import{u as Ce}from"./index-CEOn0L_0.js";import{v as Z}from"./index-Cu41y2Fl.js";import{u as ke}from"./use-form-item-7D-CUO4M.js";const xe=Ne({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:Boolean,size:Ve,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:u=>u===null||p(u)||["min","max"].includes(u),default:null},name:String,placeholder:String,precision:{type:Number,validator:u=>u>=0&&u===Number.parseInt(`${u}`,10)},validateEvent:{type:Boolean,default:!0},...Ce(["ariaLabel"]),inputmode:{type:he(String),default:void 0}}),De={[ee]:(u,M)=>M!==u,blur:u=>u instanceof FocusEvent,focus:u=>u instanceof FocusEvent,[F]:u=>p(u)||y(u),[N]:u=>p(u)||y(u)},Te=j({name:"ElInputNumber"}),Be=j({...Te,props:xe,emits:De,setup(u,{expose:M,emit:d}){const a=u,{t:G}=Ee(),c=ge("input-number"),f=fe(),l=oe({currentValue:a.modelValue,userInput:null}),{formItem:v}=ke(),U=h(()=>p(a.modelValue)&&a.modelValue<=a.min),L=h(()=>p(a.modelValue)&&a.modelValue>=a.max),ne=h(()=>{const e=q(a.step);return P(a.precision)?Math.max(q(a.modelValue),e):(e>a.precision,a.precision)}),C=h(()=>a.controls&&a.controlsPosition==="right"),O=Ie(),V=we(),k=h(()=>{if(l.userInput!==null)return l.userInput;let e=l.currentValue;if(y(e))return"";if(p(e)){if(Number.isNaN(e))return"";P(a.precision)||(e=e.toFixed(a.precision))}return e}),x=(e,n)=>{if(P(n)&&(n=ne.value),n===0)return Math.round(e);let t=String(e);const s=t.indexOf(".");if(s===-1||!t.replace(".","").split("")[s+n])return e;const g=t.length;return t.charAt(g-1)==="5"&&(t=`${t.slice(0,Math.max(0,g-1))}6`),Number.parseFloat(Number(t).toFixed(n))},q=e=>{if(y(e))return 0;const n=e.toString(),t=n.indexOf(".");let s=0;return t!==-1&&(s=n.length-t-1),s},H=(e,n=1)=>p(e)?e>=Number.MAX_SAFE_INTEGER&&n===1||e<=Number.MIN_SAFE_INTEGER&&n===-1?e:x(e+a.step*n):l.currentValue,D=()=>{if(a.readonly||V.value||L.value)return;const e=Number(k.value)||0,n=H(e);E(n),d(F,l.currentValue),B()},T=()=>{if(a.readonly||V.value||U.value)return;const e=Number(k.value)||0,n=H(e,-1);E(n),d(F,l.currentValue),B()},J=(e,n)=>{const{max:t,min:s,step:i,precision:m,stepStrictly:g,valueOnClear:I}=a;t<s&&Fe("InputNumber","min should not be greater than max.");let o=Number(e);if(y(e)||Number.isNaN(o))return null;if(e===""){if(I===null)return null;o=be(I)?{min:s,max:t}[I]:I}return g&&(o=x(Math.round(o/i)*i,m),o!==e&&n&&d(N,o)),P(m)||(o=x(o,m)),(o>t||o<s)&&(o=o>t?t:s,n&&d(N,o)),o},E=(e,n=!0)=>{var t;const s=l.currentValue,i=J(e);if(!n){d(N,i);return}s===i&&e||(l.userInput=null,d(N,i),s!==i&&d(ee,i,s),a.validateEvent&&((t=v?.validate)==null||t.call(v,"change").catch(m=>Y())),l.currentValue=i)},te=e=>{l.userInput=e;const n=e===""?null:Number(e);d(F,n),E(n,!1)},re=e=>{const n=e!==""?Number(e):"";(p(n)&&!Number.isNaN(n)||e==="")&&E(n),B(),l.userInput=null},ae=()=>{var e,n;(n=(e=f.value)==null?void 0:e.focus)==null||n.call(e)},ue=()=>{var e,n;(n=(e=f.value)==null?void 0:e.blur)==null||n.call(e)},le=e=>{d("focus",e)},se=e=>{var n,t;l.userInput=null,l.currentValue===null&&((n=f.value)!=null&&n.input)&&(f.value.input.value=""),d("blur",e),a.validateEvent&&((t=v?.validate)==null||t.call(v,"blur").catch(s=>Y()))},B=()=>{l.currentValue!==a.modelValue&&(l.currentValue=a.modelValue)},ie=e=>{document.activeElement===e.target&&e.preventDefault()};return de(()=>a.modelValue,(e,n)=>{const t=J(e,!0);l.userInput===null&&t!==n&&(l.currentValue=t)},{immediate:!0}),ce(()=>{var e;const{min:n,max:t,modelValue:s}=a,i=(e=f.value)==null?void 0:e.input;if(i.setAttribute("role","spinbutton"),Number.isFinite(t)?i.setAttribute("aria-valuemax",String(t)):i.removeAttribute("aria-valuemax"),Number.isFinite(n)?i.setAttribute("aria-valuemin",String(n)):i.removeAttribute("aria-valuemin"),i.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),i.setAttribute("aria-disabled",String(V.value)),!p(s)&&s!=null){let m=Number(s);Number.isNaN(m)&&(m=null),d(N,m)}i.addEventListener("wheel",ie,{passive:!1})}),me(()=>{var e,n;const t=(e=f.value)==null?void 0:e.input;t?.setAttribute("aria-valuenow",`${(n=l.currentValue)!=null?n:""}`)}),M({focus:ae,blur:ue}),(e,n)=>(b(),z("div",{class:$([r(c).b(),r(c).m(r(O)),r(c).is("disabled",r(V)),r(c).is("without-controls",!e.controls),r(c).is("controls-right",r(C))]),onDragstart:R(()=>{},["prevent"])},[e.controls?Q((b(),z("span",{key:0,role:"button","aria-label":r(G)("el.inputNumber.decrease"),class:$([r(c).e("decrease"),r(c).is("disabled",r(U))]),onKeydown:w(T,["enter"])},[S(e.$slots,"decrease-icon",{},()=>[K(r(X),null,{default:_(()=>[r(C)?(b(),A(r(Se),{key:0})):(b(),A(r(_e),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[r(Z),T]]):W("v-if",!0),e.controls?Q((b(),z("span",{key:1,role:"button","aria-label":r(G)("el.inputNumber.increase"),class:$([r(c).e("increase"),r(c).is("disabled",r(L))]),onKeydown:w(D,["enter"])},[S(e.$slots,"increase-icon",{},()=>[K(r(X),null,{default:_(()=>[r(C)?(b(),A(r(Ae),{key:0})):(b(),A(r(Pe),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[r(Z),D]]):W("v-if",!0),K(r(ve),{id:e.id,ref_key:"input",ref:f,type:"number",step:e.step,"model-value":r(k),placeholder:e.placeholder,readonly:e.readonly,disabled:r(V),size:r(O),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:[w(R(D,["prevent"]),["up"]),w(R(T,["prevent"]),["down"])],onBlur:se,onFocus:le,onInput:te,onChange:re},pe({_:2},[e.$slots.prefix?{name:"prefix",fn:_(()=>[S(e.$slots,"prefix")])}:void 0,e.$slots.suffix?{name:"suffix",fn:_(()=>[S(e.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","onKeydown"])],42,["onDragstart"]))}});var ze=ye(Be,[["__file","input-number.vue"]]);const Oe=Me(ze);export{Oe as E};
1
+ import{d as j,r as oe,w as de,o as ce,Y as me,q as b,H as z,G as Q,u as r,U as w,Q as $,z as S,C as K,y as _,x as A,J as W,Z as pe,M as R,b as fe,c as h,S as be}from"./vendor-vue-NSDaktjZ.js";import{E as ve}from"./index-Da9nVqf6.js";import{U as N,M as p,al as y,K as F,N as ee,I as Ne,am as Ve,J as he,z as ye,ag as Ee,A as ge,P as Ie,Q as we,an as Se,ao as _e,S as X,ap as Ae,aq as Pe,a2 as P,V as Fe,R as Y,D as Me}from"./index-ENoTMmXE.js";import{u as Ce}from"./index-C71gNsYG.js";import{v as Z}from"./index-Cu41y2Fl.js";import{u as ke}from"./use-form-item-Cfa6DxBA.js";const xe=Ne({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:Boolean,size:Ve,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:u=>u===null||p(u)||["min","max"].includes(u),default:null},name:String,placeholder:String,precision:{type:Number,validator:u=>u>=0&&u===Number.parseInt(`${u}`,10)},validateEvent:{type:Boolean,default:!0},...Ce(["ariaLabel"]),inputmode:{type:he(String),default:void 0}}),De={[ee]:(u,M)=>M!==u,blur:u=>u instanceof FocusEvent,focus:u=>u instanceof FocusEvent,[F]:u=>p(u)||y(u),[N]:u=>p(u)||y(u)},Te=j({name:"ElInputNumber"}),Be=j({...Te,props:xe,emits:De,setup(u,{expose:M,emit:d}){const a=u,{t:G}=Ee(),c=ge("input-number"),f=fe(),l=oe({currentValue:a.modelValue,userInput:null}),{formItem:v}=ke(),U=h(()=>p(a.modelValue)&&a.modelValue<=a.min),L=h(()=>p(a.modelValue)&&a.modelValue>=a.max),ne=h(()=>{const e=q(a.step);return P(a.precision)?Math.max(q(a.modelValue),e):(e>a.precision,a.precision)}),C=h(()=>a.controls&&a.controlsPosition==="right"),O=Ie(),V=we(),k=h(()=>{if(l.userInput!==null)return l.userInput;let e=l.currentValue;if(y(e))return"";if(p(e)){if(Number.isNaN(e))return"";P(a.precision)||(e=e.toFixed(a.precision))}return e}),x=(e,n)=>{if(P(n)&&(n=ne.value),n===0)return Math.round(e);let t=String(e);const s=t.indexOf(".");if(s===-1||!t.replace(".","").split("")[s+n])return e;const g=t.length;return t.charAt(g-1)==="5"&&(t=`${t.slice(0,Math.max(0,g-1))}6`),Number.parseFloat(Number(t).toFixed(n))},q=e=>{if(y(e))return 0;const n=e.toString(),t=n.indexOf(".");let s=0;return t!==-1&&(s=n.length-t-1),s},H=(e,n=1)=>p(e)?e>=Number.MAX_SAFE_INTEGER&&n===1||e<=Number.MIN_SAFE_INTEGER&&n===-1?e:x(e+a.step*n):l.currentValue,D=()=>{if(a.readonly||V.value||L.value)return;const e=Number(k.value)||0,n=H(e);E(n),d(F,l.currentValue),B()},T=()=>{if(a.readonly||V.value||U.value)return;const e=Number(k.value)||0,n=H(e,-1);E(n),d(F,l.currentValue),B()},J=(e,n)=>{const{max:t,min:s,step:i,precision:m,stepStrictly:g,valueOnClear:I}=a;t<s&&Fe("InputNumber","min should not be greater than max.");let o=Number(e);if(y(e)||Number.isNaN(o))return null;if(e===""){if(I===null)return null;o=be(I)?{min:s,max:t}[I]:I}return g&&(o=x(Math.round(o/i)*i,m),o!==e&&n&&d(N,o)),P(m)||(o=x(o,m)),(o>t||o<s)&&(o=o>t?t:s,n&&d(N,o)),o},E=(e,n=!0)=>{var t;const s=l.currentValue,i=J(e);if(!n){d(N,i);return}s===i&&e||(l.userInput=null,d(N,i),s!==i&&d(ee,i,s),a.validateEvent&&((t=v?.validate)==null||t.call(v,"change").catch(m=>Y())),l.currentValue=i)},te=e=>{l.userInput=e;const n=e===""?null:Number(e);d(F,n),E(n,!1)},re=e=>{const n=e!==""?Number(e):"";(p(n)&&!Number.isNaN(n)||e==="")&&E(n),B(),l.userInput=null},ae=()=>{var e,n;(n=(e=f.value)==null?void 0:e.focus)==null||n.call(e)},ue=()=>{var e,n;(n=(e=f.value)==null?void 0:e.blur)==null||n.call(e)},le=e=>{d("focus",e)},se=e=>{var n,t;l.userInput=null,l.currentValue===null&&((n=f.value)!=null&&n.input)&&(f.value.input.value=""),d("blur",e),a.validateEvent&&((t=v?.validate)==null||t.call(v,"blur").catch(s=>Y()))},B=()=>{l.currentValue!==a.modelValue&&(l.currentValue=a.modelValue)},ie=e=>{document.activeElement===e.target&&e.preventDefault()};return de(()=>a.modelValue,(e,n)=>{const t=J(e,!0);l.userInput===null&&t!==n&&(l.currentValue=t)},{immediate:!0}),ce(()=>{var e;const{min:n,max:t,modelValue:s}=a,i=(e=f.value)==null?void 0:e.input;if(i.setAttribute("role","spinbutton"),Number.isFinite(t)?i.setAttribute("aria-valuemax",String(t)):i.removeAttribute("aria-valuemax"),Number.isFinite(n)?i.setAttribute("aria-valuemin",String(n)):i.removeAttribute("aria-valuemin"),i.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),i.setAttribute("aria-disabled",String(V.value)),!p(s)&&s!=null){let m=Number(s);Number.isNaN(m)&&(m=null),d(N,m)}i.addEventListener("wheel",ie,{passive:!1})}),me(()=>{var e,n;const t=(e=f.value)==null?void 0:e.input;t?.setAttribute("aria-valuenow",`${(n=l.currentValue)!=null?n:""}`)}),M({focus:ae,blur:ue}),(e,n)=>(b(),z("div",{class:$([r(c).b(),r(c).m(r(O)),r(c).is("disabled",r(V)),r(c).is("without-controls",!e.controls),r(c).is("controls-right",r(C))]),onDragstart:R(()=>{},["prevent"])},[e.controls?Q((b(),z("span",{key:0,role:"button","aria-label":r(G)("el.inputNumber.decrease"),class:$([r(c).e("decrease"),r(c).is("disabled",r(U))]),onKeydown:w(T,["enter"])},[S(e.$slots,"decrease-icon",{},()=>[K(r(X),null,{default:_(()=>[r(C)?(b(),A(r(Se),{key:0})):(b(),A(r(_e),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[r(Z),T]]):W("v-if",!0),e.controls?Q((b(),z("span",{key:1,role:"button","aria-label":r(G)("el.inputNumber.increase"),class:$([r(c).e("increase"),r(c).is("disabled",r(L))]),onKeydown:w(D,["enter"])},[S(e.$slots,"increase-icon",{},()=>[K(r(X),null,{default:_(()=>[r(C)?(b(),A(r(Ae),{key:0})):(b(),A(r(Pe),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[r(Z),D]]):W("v-if",!0),K(r(ve),{id:e.id,ref_key:"input",ref:f,type:"number",step:e.step,"model-value":r(k),placeholder:e.placeholder,readonly:e.readonly,disabled:r(V),size:r(O),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:[w(R(D,["prevent"]),["up"]),w(R(T,["prevent"]),["down"])],onBlur:se,onFocus:le,onInput:te,onChange:re},pe({_:2},[e.$slots.prefix?{name:"prefix",fn:_(()=>[S(e.$slots,"prefix")])}:void 0,e.$slots.suffix?{name:"suffix",fn:_(()=>[S(e.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","onKeydown"])],42,["onDragstart"]))}});var ze=ye(Be,[["__file","input-number.vue"]]);const Oe=Me(ze);export{Oe as E};
@@ -1 +1 @@
1
- import{I as c,J as p,z as u,A as f,D as v}from"./index-BmskuvzR.js";import{d as a,q as s,H as o,Q as i,u as r,z as m,J as y,R as S,c as _}from"./vendor-vue-NSDaktjZ.js";const z=c({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:p(String),default:"solid"}}),b=a({name:"ElDivider"}),h=a({...b,props:z,setup(n){const l=n,e=f("divider"),d=_(()=>e.cssVar({"border-style":l.borderStyle}));return(t,g)=>(s(),o("div",{class:i([r(e).b(),r(e).m(t.direction)]),style:S(r(d)),role:"separator"},[t.$slots.default&&t.direction!=="vertical"?(s(),o("div",{key:0,class:i([r(e).e("text"),r(e).is(t.contentPosition)])},[m(t.$slots,"default")],2)):y("v-if",!0)],6))}});var P=u(h,[["__file","divider.vue"]]);const k=v(P);export{k as E};
1
+ import{I as c,J as p,z as u,A as f,D as v}from"./index-ENoTMmXE.js";import{d as a,q as s,H as o,Q as i,u as r,z as m,J as y,R as S,c as _}from"./vendor-vue-NSDaktjZ.js";const z=c({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:p(String),default:"solid"}}),b=a({name:"ElDivider"}),h=a({...b,props:z,setup(n){const l=n,e=f("divider"),d=_(()=>e.cssVar({"border-style":l.borderStyle}));return(t,g)=>(s(),o("div",{class:i([r(e).b(),r(e).m(t.direction)]),style:S(r(d)),role:"separator"},[t.$slots.default&&t.direction!=="vertical"?(s(),o("div",{key:0,class:i([r(e).e("text"),r(e).is(t.contentPosition)])},[m(t.$slots,"default")],2)):y("v-if",!0)],6))}});var P=u(h,[["__file","divider.vue"]]);const k=v(P);export{k as E};
@@ -1 +1 @@
1
- import{d as T,X as N,q as o,x as i,y as u,G as V,E as g,Q as a,u as e,z as d,V as $,J as r,H as c,I as k,F as m,O as z,C as O,L as P,T as F,b as j,c as b,j as y}from"./vendor-vue-NSDaktjZ.js";import{a2 as q,I as G,a3 as H,a4 as w,z as J,A as L,b as M,S,a5 as Q,D as R}from"./index-BmskuvzR.js";import{u as U,a as X}from"./index-X4RPhZd6.js";const K=["light","dark"],W=G({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:H(w),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:K,default:"light"},...U}),Y={open:()=>!0,close:n=>q(n)||n instanceof Event},Z=T({name:"ElAlert"}),_=T({...Z,props:W,emits:Y,setup(n,{emit:v}){const l=n,{Close:E}=Q,A=N(),t=L("alert"),p=j(!1),C=b(()=>w[l.type]),f=b(()=>!!(l.description||A.default)),B=()=>{p.value=!0,v("open")},h=s=>{p.value=!1,v("close",s)},{onOpen:D,onClose:I}=X({showAfter:y(l,"showAfter"),hideAfter:y(l,"hideAfter"),autoClose:y(l,"autoClose"),open:B,close:h});return M&&D(),(s,ee)=>(o(),i(F,{name:e(t).b("fade"),persisted:""},{default:u(()=>[V(g("div",{class:a([e(t).b(),e(t).m(s.type),e(t).is("center",s.center),e(t).is(s.effect)]),role:"alert"},[s.showIcon&&(s.$slots.icon||e(C))?(o(),i(e(S),{key:0,class:a([e(t).e("icon"),{[e(t).is("big")]:e(f)}])},{default:u(()=>[d(s.$slots,"icon",{},()=>[(o(),i($(e(C))))])]),_:3},8,["class"])):r("v-if",!0),g("div",{class:a(e(t).e("content"))},[s.title||s.$slots.title?(o(),c("span",{key:0,class:a([e(t).e("title"),{"with-description":e(f)}])},[d(s.$slots,"title",{},()=>[k(m(s.title),1)])],2)):r("v-if",!0),e(f)?(o(),c("p",{key:1,class:a(e(t).e("description"))},[d(s.$slots,"default",{},()=>[k(m(s.description),1)])],2)):r("v-if",!0),s.closable?(o(),c(z,{key:2},[s.closeText?(o(),c("div",{key:0,class:a([e(t).e("close-btn"),e(t).is("customed")]),onClick:h},m(s.closeText),3)):(o(),i(e(S),{key:1,class:a(e(t).e("close-btn")),onClick:e(I)},{default:u(()=>[O(e(E))]),_:1},8,["class","onClick"]))],64)):r("v-if",!0)],2)],2),[[P,p.value]])]),_:3},8,["name"]))}});var x=J(_,[["__file","alert.vue"]]);const ae=R(x);export{ae as E};
1
+ import{d as T,X as N,q as o,x as i,y as u,G as V,E as g,Q as a,u as e,z as d,V as $,J as r,H as c,I as k,F as m,O as z,C as O,L as P,T as F,b as j,c as b,j as y}from"./vendor-vue-NSDaktjZ.js";import{a2 as q,I as G,a3 as H,a4 as w,z as J,A as L,b as M,S,a5 as Q,D as R}from"./index-ENoTMmXE.js";import{u as U,a as X}from"./index-BORj7BGu.js";const K=["light","dark"],W=G({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:H(w),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:K,default:"light"},...U}),Y={open:()=>!0,close:n=>q(n)||n instanceof Event},Z=T({name:"ElAlert"}),_=T({...Z,props:W,emits:Y,setup(n,{emit:v}){const l=n,{Close:E}=Q,A=N(),t=L("alert"),p=j(!1),C=b(()=>w[l.type]),f=b(()=>!!(l.description||A.default)),B=()=>{p.value=!0,v("open")},h=s=>{p.value=!1,v("close",s)},{onOpen:D,onClose:I}=X({showAfter:y(l,"showAfter"),hideAfter:y(l,"hideAfter"),autoClose:y(l,"autoClose"),open:B,close:h});return M&&D(),(s,ee)=>(o(),i(F,{name:e(t).b("fade"),persisted:""},{default:u(()=>[V(g("div",{class:a([e(t).b(),e(t).m(s.type),e(t).is("center",s.center),e(t).is(s.effect)]),role:"alert"},[s.showIcon&&(s.$slots.icon||e(C))?(o(),i(e(S),{key:0,class:a([e(t).e("icon"),{[e(t).is("big")]:e(f)}])},{default:u(()=>[d(s.$slots,"icon",{},()=>[(o(),i($(e(C))))])]),_:3},8,["class"])):r("v-if",!0),g("div",{class:a(e(t).e("content"))},[s.title||s.$slots.title?(o(),c("span",{key:0,class:a([e(t).e("title"),{"with-description":e(f)}])},[d(s.$slots,"title",{},()=>[k(m(s.title),1)])],2)):r("v-if",!0),e(f)?(o(),c("p",{key:1,class:a(e(t).e("description"))},[d(s.$slots,"default",{},()=>[k(m(s.description),1)])],2)):r("v-if",!0),s.closable?(o(),c(z,{key:2},[s.closeText?(o(),c("div",{key:0,class:a([e(t).e("close-btn"),e(t).is("customed")]),onClick:h},m(s.closeText),3)):(o(),i(e(S),{key:1,class:a(e(t).e("close-btn")),onClick:e(I)},{default:u(()=>[O(e(E))]),_:1},8,["class","onClick"]))],64)):r("v-if",!0)],2)],2),[[P,p.value]])]),_:3},8,["name"]))}});var x=J(_,[["__file","alert.vue"]]);const ae=R(x);export{ae as E};
@@ -1 +1 @@
1
- import{ay as T,aw as n,a7 as f,aG as u}from"./index-BmskuvzR.js";import{S as g}from"./sora-Dyuoglk1.js";import{s as b}from"./service-Ba0En9-N.js";import{s as S}from"./sora-D1tfRRAJ.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},G=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),L={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:G,createCredential:O},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},H=(t,e)=>{t.config=e},J=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:H,setCredential:z,setService:j,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:V},ot={namespaced:!0,state:u,mutations:Q,actions:L};export{ot as default,ot as sora};
1
+ import{ay as T,aw as n,a7 as f,aG as u}from"./index-ENoTMmXE.js";import{S as g}from"./sora-Dyuoglk1.js";import{s as b}from"./service-DkaYV6nA.js";import{s as S}from"./sora-hojbqARJ.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},G=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),L={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:G,createCredential:O},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},H=(t,e)=>{t.config=e},J=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:H,setCredential:z,setService:j,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:V},ot={namespaced:!0,state:u,mutations:Q,actions:L};export{ot as default,ot as sora};