@acedatacloud/nexior 3.125.0 → 3.127.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 (247) hide show
  1. package/dist/assets/{Auth-Co-Y6gFU.js → Auth-BjJxBNod.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-fJ2iI2E7.js → BotPlaceholder-lLrGkrg7.js} +1 -1
  3. package/dist/assets/{Callback-CNIox-oO.js → Callback-o9RMg1vp.js} +1 -1
  4. package/dist/assets/{Console-Bvj3HUVr.js → Console-BwNa_Tf1.js} +1 -1
  5. package/dist/assets/{Consumption-BT9nTKes.js → Consumption-CltcLzFm.js} +1 -1
  6. package/dist/assets/Conversation-CrBxsn1x.css +1 -0
  7. package/dist/assets/{Conversation-DEpq18vu.js → Conversation-D3EHPsf-.js} +10 -10
  8. package/dist/assets/{CopyToClipboard-maA8pg9_.js → CopyToClipboard-vp6unxKN.js} +1 -1
  9. package/dist/assets/{Detail-CVpa8aJt.js → Detail-CTJlPVCu.js} +2 -2
  10. package/dist/assets/{EditArray-B83AeF7s.js → EditArray-B667GEAL.js} +1 -1
  11. package/dist/assets/{Extra-BpbR520i.js → Extra-BZHzf3E8.js} +1 -1
  12. package/dist/assets/{FilePreview-DmJdZept.js → FilePreview-B9BReUP_.js} +1 -1
  13. package/dist/assets/{History-C6lwUWHC.js → History-DZtyLzXV.js} +1 -1
  14. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-BhrZODlv.js → IconPark.vue_vue_type_script_setup_true_lang-DV22NcYy.js} +1 -1
  15. package/dist/assets/{ImagePreview-BsSpA8r9.js → ImagePreview-CHNk4kRA.js} +1 -1
  16. package/dist/assets/{ImageWrapper-DwHjbFIg.js → ImageWrapper-CA46Cd7Y.js} +1 -1
  17. package/dist/assets/{Index-DuRF9Xwp.js → Index-95l_oZc8.js} +1 -1
  18. package/dist/assets/{Index-DelI7zCK.js → Index-B4aLZo4k.js} +1 -1
  19. package/dist/assets/{Index-CXGIE8XD.js → Index-BDqH1cZl.js} +1 -1
  20. package/dist/assets/{Index-CQAwzquf.js → Index-Ba8aGiQh.js} +1 -1
  21. package/dist/assets/{Index-DjCI26MS.js → Index-BwSmr8it.js} +1 -1
  22. package/dist/assets/{Index-CscPkncL.js → Index-C80PVFeu.js} +1 -1
  23. package/dist/assets/{Index-CgMGz-1k.js → Index-CJtqMBaX.js} +1 -1
  24. package/dist/assets/{Index-DzVu7zeE.js → Index-CT_4G-AE.js} +1 -1
  25. package/dist/assets/{Index-I5KU2wGW.js → Index-CkClBWat.js} +1 -1
  26. package/dist/assets/{Index-BhjSfvoQ.js → Index-Cm9dZShQ.js} +1 -1
  27. package/dist/assets/{Index-Du1T6bHj.js → Index-CsY6tQ2c.js} +1 -1
  28. package/dist/assets/{Index-BRajIhW2.js → Index-D04Rnli1.js} +1 -1
  29. package/dist/assets/{Index-BiT45LNh.js → Index-DA1BURET.js} +1 -1
  30. package/dist/assets/{Index-CBlXldMX.js → Index-DAHrvaGc.js} +1 -1
  31. package/dist/assets/{Index-D1GWrLzo.js → Index-DBZ978Hb.js} +1 -1
  32. package/dist/assets/{Index-CR_fDZ0d.js → Index-DEA5FjUl.js} +1 -1
  33. package/dist/assets/{Index-CWkyPbRy.js → Index-DGF0zoLN.js} +1 -1
  34. package/dist/assets/{Index-DlcDwScV.js → Index-DIbtzxb_.js} +1 -1
  35. package/dist/assets/{Index-AbeCkfMa.js → Index-Dqtcn_Re.js} +1 -1
  36. package/dist/assets/{Index-DsxPNKcE.js → Index-LFzw8HQc.js} +1 -1
  37. package/dist/assets/{Index-Chnpa1u3.js → Index-OnHsvPdN.js} +1 -1
  38. package/dist/assets/{Index-DfaA_OEb.js → Index-ciaBEpGO.js} +1 -1
  39. package/dist/assets/{Index-BPQn_3ML.js → Index-uOpWnUUL.js} +1 -1
  40. package/dist/assets/{Index-Cfsfgx1F.js → Index-v7P0gGHq.js} +1 -1
  41. package/dist/assets/{Invitees-U6v0XEmJ.js → Invitees-COAbeSpF.js} +1 -1
  42. package/dist/assets/{List-CKIwLazu.js → List-0IPbKuxq.js} +1 -1
  43. package/dist/assets/{List-DNB4pMCa.js → List-CyDojuKl.js} +1 -1
  44. package/dist/assets/{List-B7yUFUDn.js → List-jKth4XwT.js} +1 -1
  45. package/dist/assets/{Main-DczUvXhI.js → Main-Cg16BAjd.js} +1 -1
  46. package/dist/assets/Navigator-BAOLBJR9.css +1 -0
  47. package/dist/assets/{Navigator-CdxHUZmM.js → Navigator-DhmXMUX2.js} +1 -1
  48. package/dist/assets/{NoTasks-apA8s_fK.js → NoTasks-CpI_h4rI.js} +1 -1
  49. package/dist/assets/{NotFound-C15EWhha.js → NotFound-BSCWn481.js} +1 -1
  50. package/dist/assets/{OAuthCallback-B3gzFgkY.js → OAuthCallback-ChuwzSX6.js} +1 -1
  51. package/dist/assets/{Pagination-D4mGASW4.js → Pagination-Bw2JYeKD.js} +1 -1
  52. package/dist/assets/{ScrollList-Dc2KkmbN.js → ScrollList-Ct_WLj3l.js} +1 -1
  53. package/dist/assets/{Status-DFhDpKCe.js → Status-DZOTIPG3.js} +1 -1
  54. package/dist/assets/{Subscribe-DGcFM28J.js → Subscribe-B8whdzeL.js} +1 -1
  55. package/dist/assets/{TransportWebHID-2aTR0cy-.js → TransportWebHID-CYcnWbYO.js} +1 -1
  56. package/dist/assets/{VideoPlayer-Bs9fjGSj.js → VideoPlayer-DDi1h1Dr.js} +1 -1
  57. package/dist/assets/{_Uint8Array-BwShoYB3.js → _Uint8Array-DQfFpN7a.js} +1 -1
  58. package/dist/assets/{_baseClone-t3ACjmk1.js → _baseClone-CSdD3_Ty.js} +1 -1
  59. package/dist/assets/{_baseIteratee-CbK_SBHB.js → _baseIteratee-DboYKdzt.js} +1 -1
  60. package/dist/assets/{_initCloneObject-Bde5M2M_.js → _initCloneObject-CnHprDpa.js} +1 -1
  61. package/dist/assets/{add-D0GsGlEo.js → add-b0yV9OMq.js} +1 -1
  62. package/dist/assets/{all-wallets-BQpy11S4.js → all-wallets-DBMXtByv.js} +1 -1
  63. package/dist/assets/{app-store-CCt7Oz9k.js → app-store-Cj_9qR3l.js} +1 -1
  64. package/dist/assets/{apple-Dy3ltWr1.js → apple-C5p6L6Ts.js} +1 -1
  65. package/dist/assets/{arrow-bottom-DfXBYotV.js → arrow-bottom-B4BSZN8A.js} +1 -1
  66. package/dist/assets/{arrow-bottom-circle-DTTFwYjn.js → arrow-bottom-circle-C-powKLX.js} +1 -1
  67. package/dist/assets/{arrow-left-DQ3CqOAf.js → arrow-left-BZybmQgh.js} +1 -1
  68. package/dist/assets/{arrow-right-CdejLkOp.js → arrow-right-KglWQcAr.js} +1 -1
  69. package/dist/assets/{arrow-top-CYcdct-Y.js → arrow-top-CQXMS85I.js} +1 -1
  70. package/dist/assets/{avatar-ByMbk3zX.js → avatar-BruuYda7.js} +1 -1
  71. package/dist/assets/{bank-B3qR3DpB.js → bank-0YNroGUJ.js} +1 -1
  72. package/dist/assets/{basic-DmwVdxCE.js → basic-BrzkccWt.js} +1 -1
  73. package/dist/assets/{browser-Dp1MGc_h.js → browser-CbagLlRH.js} +1 -1
  74. package/dist/assets/{byokCredential-CDxC1XS6.js → byokCredential-DhnTORes.js} +1 -1
  75. package/dist/assets/{card-BQoZ3-qd.js → card-LiCeGVCf.js} +1 -1
  76. package/dist/assets/{castArray-0z8ezdPX.js → castArray-CUqqfqXQ.js} +1 -1
  77. package/dist/assets/{chat-IWu8ZCVA.js → chat-CwwAE5pQ.js} +1 -1
  78. package/dist/assets/{checkmark-C7p_qEAK.js → checkmark-CcvkS7BF.js} +1 -1
  79. package/dist/assets/{checkmark-bold-DNZuGUeM.js → checkmark-bold-D5O6ET7J.js} +1 -1
  80. package/dist/assets/{chevron-bottom-CTh9Zodc.js → chevron-bottom-0Jr1qAiK.js} +1 -1
  81. package/dist/assets/{chevron-left-B-UrS9HN.js → chevron-left-C094QmPb.js} +1 -1
  82. package/dist/assets/{chevron-right-BB5WlC3o.js → chevron-right-DfRB_4lf.js} +1 -1
  83. package/dist/assets/{chevron-top-Cwo6288H.js → chevron-top-Bq267qfD.js} +1 -1
  84. package/dist/assets/{chrome-store-TsyGRoMo.js → chrome-store-CDRcIaSs.js} +1 -1
  85. package/dist/assets/{clock-Gq1ntYUV.js → clock-xb0CIJtA.js} +1 -1
  86. package/dist/assets/{close-CPMgpD29.js → close-CmqITsQ0.js} +1 -1
  87. package/dist/assets/{coinPlaceholder-CSnt3eXF.js → coinPlaceholder-BstcslMb.js} +1 -1
  88. package/dist/assets/{compass-DeqFb38F.js → compass-QzMhDPbu.js} +1 -1
  89. package/dist/assets/{copy-D6M3TWom.js → copy-rShr8KmN.js} +1 -1
  90. package/dist/assets/{cursor-CzS-9dfJ.js → cursor-ChrSQxd7.js} +1 -1
  91. package/dist/assets/{cursor-transparent-B5nIsnl7.js → cursor-transparent-Cj1FopZD.js} +1 -1
  92. package/dist/assets/{debounce-_fEQ4abt.js → debounce-B_NS5xy8.js} +1 -1
  93. package/dist/assets/{desktop-BdWxRmxu.js → desktop-PHINHPyt.js} +1 -1
  94. package/dist/assets/{disconnect-iIzKzLgC.js → disconnect-C33OL2IK.js} +1 -1
  95. package/dist/assets/{discord-B4Jg2guP.js → discord-BFiUs_QM.js} +1 -1
  96. package/dist/assets/{distribution-CZm-DXRM.js → distribution-BESWyb0T.js} +1 -1
  97. package/dist/assets/{dropdown-bVF-JoOK.js → dropdown-CSLUH87Q.js} +1 -1
  98. package/dist/assets/{etherscan-Qj9h6GKW.js → etherscan-DTMn_EAo.js} +1 -1
  99. package/dist/assets/{exclamation-triangle-ClQzVUC7.js → exclamation-triangle-fVqUbyyM.js} +1 -1
  100. package/dist/assets/{extension-DE_6Sxmh.js → extension-DD9onS4f.js} +1 -1
  101. package/dist/assets/{external-link-DDigLlW2.js → external-link-8I8AOVYU.js} +1 -1
  102. package/dist/assets/{facebook-AbDnPUru.js → facebook-Pdw1Ym9J.js} +1 -1
  103. package/dist/assets/{farcaster-DOqhdCp1.js → farcaster-BgtvtRZ9.js} +1 -1
  104. package/dist/assets/{filters-DDtLSf1m.js → filters-CngZakls.js} +1 -1
  105. package/dist/assets/{flux-DoITZArj.js → flux-40_kB5c-.js} +1 -1
  106. package/dist/assets/{github-DznaVwZg.js → github-QDsPHIZd.js} +1 -1
  107. package/dist/assets/{google-CUZhtxWP.js → google-D9m95qyc.js} +1 -1
  108. package/dist/assets/{hailuo-2S0fr-9y.js → hailuo-3GAYoAWO.js} +1 -1
  109. package/dist/assets/{headshots-1WilyBKC.js → headshots-HVVpntxY.js} +1 -1
  110. package/dist/assets/{help-circle-BbFEI-yi.js → help-circle-rmuuW13P.js} +1 -1
  111. package/dist/assets/{id-xldLtYsR.js → id-BtqiDBYD.js} +1 -1
  112. package/dist/assets/{image-DIdqGKcF.js → image-DVbMeAXV.js} +1 -1
  113. package/dist/assets/{index-BQWaqk0W.js → index--x_jIZB9.js} +1 -1
  114. package/dist/assets/{index-Cyj2bje_.js → index-6x-lPwkQ.js} +3 -3
  115. package/dist/assets/{index-zdLRA1nP.js → index-7lUK_k0x.js} +1 -1
  116. package/dist/assets/{index-b84fqhlE.js → index-AkKsjzPf.js} +1 -1
  117. package/dist/assets/{index-Nz5Ow2IT.js → index-B12l7VU5.js} +1 -1
  118. package/dist/assets/{index-Ci9KurWN.js → index-B2tmFTFQ.js} +1 -1
  119. package/dist/assets/{index-DQPpdAkr.js → index-B5VrQA9C.js} +1 -1
  120. package/dist/assets/{index-CzWeAV5f.js → index-B8R0xonM.js} +1 -1
  121. package/dist/assets/{index-qzCsIY5L.js → index-BBIkzsTW.js} +1 -1
  122. package/dist/assets/{index-DRLF1HwE.js → index-BEPWLLkW.js} +3 -3
  123. package/dist/assets/{index-B4DUuks7.js → index-BFequRXw.js} +1 -1
  124. package/dist/assets/{index-CnISZ9Rd.js → index-BL2PThMt.js} +1 -1
  125. package/dist/assets/{index-tGb14ocE.js → index-BM-X4--M.js} +1 -1
  126. package/dist/assets/{index-DM9hc1Ba.js → index-BM13exyB.js} +1 -1
  127. package/dist/assets/{index-BW2KBoFz.js → index-BSWpWbJg.js} +1 -1
  128. package/dist/assets/{index-DAvNtE2J.js → index-BV-P7tSk.js} +1 -1
  129. package/dist/assets/{index-BTo-K-Vd.js → index-Barg7H_u.js} +1 -1
  130. package/dist/assets/{index-aE0vqXTp.js → index-BdmYct2e.js} +1 -1
  131. package/dist/assets/{index-D2CivMuZ.js → index-BgY9J1_j.js} +1 -1
  132. package/dist/assets/{index-Bh7yppYW.js → index-Bgh6gsTu.js} +6 -6
  133. package/dist/assets/{index-CJ7cQU97.js → index-BjGa6dar.js} +1 -1
  134. package/dist/assets/{index-B2vcZqiC.js → index-BmbMI8vj.js} +1 -1
  135. package/dist/assets/{index-BFTvjuJ5.js → index-BqEHbD8u.js} +1 -1
  136. package/dist/assets/{index-Cxc054rU.js → index-BzYle553.js} +1 -1
  137. package/dist/assets/{index-DQiIRihv.js → index-C2E71ims.js} +1 -1
  138. package/dist/assets/{index-ItYc4VK1.js → index-C2QYUj-E.js} +1 -1
  139. package/dist/assets/{index-C0cdFec_.js → index-C7hlb4nj.js} +1 -1
  140. package/dist/assets/{index-B4gJ7YW8.js → index-C91LPtY-.js} +1 -1
  141. package/dist/assets/{index-De7AK41X.js → index-C9piIppf.js} +1 -1
  142. package/dist/assets/{index-Cax2GoO5.js → index-CApwLCp_.js} +1 -1
  143. package/dist/assets/{index-DQRqFdzu.js → index-CH-VuDAF.js} +1 -1
  144. package/dist/assets/{index-BWqIPX_x.js → index-CIf2RZrZ.js} +1 -1
  145. package/dist/assets/{index-CdRNCEAz.js → index-CNuMQAGN.js} +1 -1
  146. package/dist/assets/{index-D0tFLxKz.js → index-CQ-_iycy.js} +1 -1
  147. package/dist/assets/{index-CLDNUBAf.js → index-CRQThSrB.js} +1 -1
  148. package/dist/assets/{index-b30c_pfq.js → index-CWMF1uKZ.js} +1 -1
  149. package/dist/assets/{index-BpfjoBhX.js → index-CfbHbxn-.js} +1 -1
  150. package/dist/assets/{index-DzMk116L.js → index-CgGDtQFJ.js} +1 -1
  151. package/dist/assets/{index-CK8L-hKV.js → index-Ck1OC0LA.js} +1 -1
  152. package/dist/assets/{index-DMX3j7KI.js → index-Cp5g_I-6.js} +1 -1
  153. package/dist/assets/{index-BB-3AhzC.js → index-Cw7-wldr.js} +1 -1
  154. package/dist/assets/{index-DJukw738.js → index-Cz4bsWiw.js} +1 -1
  155. package/dist/assets/{index-C9QkTASI.js → index-D5TvPKF6.js} +1 -1
  156. package/dist/assets/{index-BeMsdWUl.js → index-D5qA5XHs.js} +1 -1
  157. package/dist/assets/{index-BQizVoAd.js → index-DKqsmpr8.js} +1 -1
  158. package/dist/assets/{index-B2qL-Xno.js → index-DMWZS0_M.js} +1 -1
  159. package/dist/assets/{index-BGUNFF5z.css → index-DO8jOExu.css} +1 -1
  160. package/dist/assets/{index-OPQmWNIU.js → index-DTC2c1zM.js} +1 -1
  161. package/dist/assets/{index-DD8XgCNl.js → index-DTIJL7Lr.js} +1 -1
  162. package/dist/assets/{index-CDxKGH9o.js → index-DV-K3C2q.js} +1 -1
  163. package/dist/assets/{index-CIKx9Fui.js → index-DfTbLAtU.js} +1 -1
  164. package/dist/assets/{index-BbeDHHRT.js → index-Dgm_rH-r.js} +1 -1
  165. package/dist/assets/{index-CIpcOMBM.js → index-DiXOkM0S.js} +1 -1
  166. package/dist/assets/{index-B3_UZofs.js → index-Dk8bKyP6.js} +1 -1
  167. package/dist/assets/{index-EexU_QaS.js → index-GUPiE-pX.js} +1 -1
  168. package/dist/assets/{index-Grd1AQAi.js → index-Ibg-aPUq.js} +1 -1
  169. package/dist/assets/{index-pQZ10oUz.js → index-Nm9U7Yxd.js} +1 -1
  170. package/dist/assets/{index-iQRzeVF7.js → index-PRMHW73l.js} +1 -1
  171. package/dist/assets/{index-CPq_Hr9B.js → index-VhKx0lQu.js} +1 -1
  172. package/dist/assets/{index-CkzhnYjQ.js → index-bph68Yn6.js} +1 -1
  173. package/dist/assets/{index-BCzWTaFy.js → index-mAt_Vm7b.js} +1 -1
  174. package/dist/assets/{index-DEcxaWGW.js → index-mvpmbC0N.js} +1 -1
  175. package/dist/assets/{index-DwenzJU5.js → index-zwJWROz9.js} +1 -1
  176. package/dist/assets/{index.browser.esm-Dg96OHYb.js → index.browser.esm-BTYGLxbJ.js} +1 -1
  177. package/dist/assets/{index.es-D2kL2QYW.js → index.es-Cjf_BeL1.js} +1 -1
  178. package/dist/assets/{info-Bs1yNmdK.js → info-0_CcXqzZ.js} +1 -1
  179. package/dist/assets/{info-circle-CbmFRCtZ.js → info-circle-IQpyZH1S.js} +1 -1
  180. package/dist/assets/{isEqual-R59oJogZ.js → isEqual-MBgx5COD.js} +1 -1
  181. package/dist/assets/{isPlainObject-bRuAfxTr.js → isPlainObject-CUASEpkZ.js} +1 -1
  182. package/dist/assets/{kling-CT0h6PDm.js → kling-jGBzNliy.js} +1 -1
  183. package/dist/assets/{lightbulb-DKTYDQtb.js → lightbulb-s2MbYZ30.js} +1 -1
  184. package/dist/assets/{luma-IMgduzae.js → luma-Z8XZO88R.js} +1 -1
  185. package/dist/assets/{mail-Ci4FI_M3.js → mail-B3vPJ0OS.js} +1 -1
  186. package/dist/assets/{midjourney-BNKibr6y.js → midjourney-Cx0xsKrZ.js} +1 -1
  187. package/dist/assets/{mobile-CooCU7fH.js → mobile-CmPyBCd7.js} +1 -1
  188. package/dist/assets/{more-C7CJHbIz.js → more-gaDOIfyz.js} +1 -1
  189. package/dist/assets/{nanobanana-CmrScxWa.js → nanobanana-Bplc_fGk.js} +1 -1
  190. package/dist/assets/{network-placeholder-Cd0K20B9.js → network-placeholder-Dfn-VoTL.js} +1 -1
  191. package/dist/assets/{nftPlaceholder-Bh39_kt_.js → nftPlaceholder-DmiphXny.js} +1 -1
  192. package/dist/assets/{off-BTFPOxJU.js → off-BM5ARDVH.js} +1 -1
  193. package/dist/assets/{openaiimage-B1mx_aSi.js → openaiimage-LOuxmbBr.js} +1 -1
  194. package/dist/assets/{order-oVHLLmNz.js → order-e5OyDe0t.js} +1 -1
  195. package/dist/assets/{pika-BsBCTLKM.js → pika-CLRZHqEv.js} +1 -1
  196. package/dist/assets/{pixverse-Cfq2xaAi.js → pixverse-9W-lPrbd.js} +1 -1
  197. package/dist/assets/{play-store-cWeV6i08.js → play-store-CDhA0Rs8.js} +1 -1
  198. package/dist/assets/{plus-n5xnslMp.js → plus-CXT9teZy.js} +1 -1
  199. package/dist/assets/{price-CibASbAG.js → price-DhdMBbSu.js} +1 -1
  200. package/dist/assets/{producer-BUMh6XbJ.js → producer-DqSrUpb7.js} +1 -1
  201. package/dist/assets/{qr-code-DVAfyZVp.js → qr-code-B6KHTgwd.js} +1 -1
  202. package/dist/assets/{qrart-Dx_zPHt-.js → qrart-DZrSssn1.js} +1 -1
  203. package/dist/assets/{recycle-horizontal-CLAR7XDO.js → recycle-horizontal-BCdRRotI.js} +1 -1
  204. package/dist/assets/{refresh-mVUA40TL.js → refresh-DMN2vOMn.js} +1 -1
  205. package/dist/assets/{reown-logo-Q2iPJVmP.js → reown-logo-B73c_Kh6.js} +1 -1
  206. package/dist/assets/{search-DvTkuSpY.js → search-CrVgPDwi.js} +1 -1
  207. package/dist/assets/{secp256k1-tiIJgFpv.js → secp256k1-B87Q3Vdn.js} +1 -1
  208. package/dist/assets/{secp256k1-yI0cAr7l.js → secp256k1-BeE77vFw.js} +1 -1
  209. package/dist/assets/{seedance-C-_pvkD5.js → seedance-rQFnmHJr.js} +1 -1
  210. package/dist/assets/{seedream-BKa62l5M.js → seedream-BzdMQLQx.js} +1 -1
  211. package/dist/assets/{send-MyhmulWv.js → send-C0TkwYPN.js} +1 -1
  212. package/dist/assets/{service-Bw-wTdVi.js → service-CXUEJBne.js} +1 -1
  213. package/dist/assets/{solana-wallets-DfX2zCkl.js → solana-wallets-CVSL2ZtT.js} +2 -2
  214. package/dist/assets/{solana-wallets-vue-MaJO6vRt.js → solana-wallets-vue-C-L0zykT.js} +1 -1
  215. package/dist/assets/{solanaEmbed.esm-BDwZ8aB9.js → solanaEmbed.esm-D3eh31XX.js} +1 -1
  216. package/dist/assets/{sora-BU6hbIWv.js → sora-Blr7D0SG.js} +1 -1
  217. package/dist/assets/{string_decoder-Bw3ffjdO.js → string_decoder-Cz8JLk1U.js} +1 -1
  218. package/dist/assets/{suno-Bm8Wyiwm.js → suno-C5ksMjTa.js} +1 -1
  219. package/dist/assets/{swapHorizontal-B0ANxsAa.js → swapHorizontal-C6wNAVJr.js} +1 -1
  220. package/dist/assets/{swapHorizontalBold-Yo8n1sHr.js → swapHorizontalBold-C5r8KWPb.js} +1 -1
  221. package/dist/assets/{swapHorizontalMedium-DFjjoLJl.js → swapHorizontalMedium-C8Jzy17n.js} +1 -1
  222. package/dist/assets/{swapHorizontalRoundedBold-BuTFsvdx.js → swapHorizontalRoundedBold-CdXknPgo.js} +1 -1
  223. package/dist/assets/{swapVertical-DuQWEzpz.js → swapVertical-BlupXx4Q.js} +1 -1
  224. package/dist/assets/{telegram-Dc7KxeZA.js → telegram-Dbbg0skF.js} +1 -1
  225. package/dist/assets/{three-dots-D-E-rT6_.js → three-dots-JFibdYSo.js} +1 -1
  226. package/dist/assets/{twitch-V8ql-H7w.js → twitch-BPZ0Kgj8.js} +1 -1
  227. package/dist/assets/{twitterIcon-BasTBYew.js → twitterIcon-B6iAMyHO.js} +1 -1
  228. package/dist/assets/{typescript-CA6aDUpX.js → typescript-XFJ9jtD2.js} +1 -1
  229. package/dist/assets/{use-form-item-DQf4seac.js → use-form-item-CLghI_sM.js} +1 -1
  230. package/dist/assets/validator-BbYL-f0A.js +1 -0
  231. package/dist/assets/{veo-BRCgbzC9.js → veo-CqxqM9xq.js} +1 -1
  232. package/dist/assets/{verify-LFWe_t-l.js → verify-BErLcRsd.js} +1 -1
  233. package/dist/assets/{verify-filled-paJksYgr.js → verify-filled-Dd1QayrQ.js} +1 -1
  234. package/dist/assets/{w3m-modal-C2TO6vd9.js → w3m-modal-C2kIb6Z9.js} +1 -1
  235. package/dist/assets/{wallet-BPQ1JhCG.js → wallet-BYpsdlYc.js} +1 -1
  236. package/dist/assets/{wallet-placeholder-BhAmfx4s.js → wallet-placeholder-DdH4AeKs.js} +1 -1
  237. package/dist/assets/{walletconnect-DJvNsuTf.js → walletconnect-B8UgjMW5.js} +1 -1
  238. package/dist/assets/{wan-NjE6zD5T.js → wan-BNzGoAQ2.js} +1 -1
  239. package/dist/assets/{warning-circle-B3CyxES8.js → warning-circle-B5PRgHqP.js} +1 -1
  240. package/dist/assets/{web-Nxx47kL6.js → web-BzaCQZYd.js} +1 -1
  241. package/dist/assets/{web-CokAjqXa.js → web-CvtdQaSm.js} +1 -1
  242. package/dist/assets/{x-BnwMfsGN.js → x-DkpE92u-.js} +1 -1
  243. package/dist/index.html +2 -2
  244. package/package.json +1 -1
  245. package/dist/assets/Conversation-DJ6kk7pJ.css +0 -1
  246. package/dist/assets/Navigator-DnDgXXVK.css +0 -1
  247. package/dist/assets/validator-MfERrWuu.js +0 -1
@@ -1 +1 @@
1
- import{ax as v,av as o,a7 as T,aA as d}from"./index-DRLF1HwE.js";import{q as f,Q as u}from"./qrart-Dx_zPHt-.js";import{s as b}from"./service-Bw-wTdVi.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 w=({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)},q=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 v.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 b.get(u);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},y=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 T.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=S(l,p);t("setTasksItems",m),t("setTasksTotal",i.data.count),A(i.data.items)}).catch(i=>c(i))}),D={setService:$,getService:x,resetAll:w,setCredential:h,setConfig:O,setApplication:C,setApplications:I,getApplications:y,setTasks:R,setTasksItems:_,setTasksTotal:E,setTasksActive:P,getTasks:Q,createCredential:q},L=t=>{Object.assign(t,d())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.applications=e},z=(t,e)=>{t.credential=e},B=(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:B,setApplications:j,setConfig:F,setCredential:z,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:L},at={namespaced:!0,state:d,mutations:M,actions:D};export{at as default,at as qrart};
1
+ import{ax as v,av as o,a7 as T,aA as d}from"./index-BEPWLLkW.js";import{q as f,Q as u}from"./qrart-DZrSssn1.js";import{s as b}from"./service-CXUEJBne.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 w=({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)},q=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 v.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 b.get(u);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},y=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 T.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=S(l,p);t("setTasksItems",m),t("setTasksTotal",i.data.count),A(i.data.items)}).catch(i=>c(i))}),D={setService:$,getService:x,resetAll:w,setCredential:h,setConfig:O,setApplication:C,setApplications:I,getApplications:y,setTasks:R,setTasksItems:_,setTasksTotal:E,setTasksActive:P,getTasks:Q,createCredential:q},L=t=>{Object.assign(t,d())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.applications=e},z=(t,e)=>{t.credential=e},B=(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:B,setApplications:j,setConfig:F,setCredential:z,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:L},at={namespaced:!0,state:d,mutations:M,actions:D};export{at as default,at as qrart};
@@ -1 +1 @@
1
- import{av as o,a7 as f,aN as g,ax as b,aO as k}from"./index-DRLF1HwE.js";import{s as S}from"./service-Bw-wTdVi.js";import{o as w}from"./openaiimage-B1mx_aSi.js";import{m as C}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 I=({commit:t})=>{t("resetAll")},$=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"))},E=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},O=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)},x=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 b.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},y=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await S.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},P=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for openaiimage"),e.status.getApplications=o.Request;try{const{data:a}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},R=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},N=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},G=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:v,createdAtMax:T})=>(e.status.getTasks=o.Request,new Promise((m,l)=>{console.debug("start to get tasks",a,n);const p=e.credential;console.debug("current credential",p);const d=p?.token;if(!d)return e.status.getTasks=o.Error,l("no token");w.tasks({userId:s?.user?.id,offset:a,limit:n,createdAtMin:v,createdAtMax:T},{token:d}).then(i=>{console.debug("get images tasks success",i.data.items);const u=e?.tasks?.items||[];console.debug("existing items",u);const c=i.data.items||[];console.debug("new items",c);const A=C(u,c);t("setTasksItems",A),t("setTasksTotal",i.data.count),e.status.getTasks=o.Success,m(c)}).catch(i=>(e.status.getTasks=o.Error,l(i)))})),L={createCredential:x,setService:O,getService:y,resetAll:I,setCredential:h,setConfig:_,setApplications:E,setApplication:$,getApplications:P,setTasks:R,setTasksItems:q,setTasksTotal:N,setTasksActive:D,getTasks:G},r={items:void 0,total:void 0,active:void 0},M=t=>{Object.assign(t,k())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks||r,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks||r,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks||r,active:e};t.tasks=s},Q=(t,e)=>{t.tasks=e},U={setTasks:Q,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:K,setTasksItems:H,setTasksTotal:J,resetAll:M},ot={namespaced:!0,state:k,mutations:U,actions:L};export{ot as default,ot as openaiimage};
1
+ import{av as o,a7 as f,aN as g,ax as b,aO as k}from"./index-BEPWLLkW.js";import{s as S}from"./service-CXUEJBne.js";import{o as w}from"./openaiimage-LOuxmbBr.js";import{m as C}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 I=({commit:t})=>{t("resetAll")},$=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"))},E=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},O=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)},x=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 b.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},y=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await S.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},P=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for openaiimage"),e.status.getApplications=o.Request;try{const{data:a}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},R=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},N=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},G=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:v,createdAtMax:T})=>(e.status.getTasks=o.Request,new Promise((m,l)=>{console.debug("start to get tasks",a,n);const p=e.credential;console.debug("current credential",p);const d=p?.token;if(!d)return e.status.getTasks=o.Error,l("no token");w.tasks({userId:s?.user?.id,offset:a,limit:n,createdAtMin:v,createdAtMax:T},{token:d}).then(i=>{console.debug("get images tasks success",i.data.items);const u=e?.tasks?.items||[];console.debug("existing items",u);const c=i.data.items||[];console.debug("new items",c);const A=C(u,c);t("setTasksItems",A),t("setTasksTotal",i.data.count),e.status.getTasks=o.Success,m(c)}).catch(i=>(e.status.getTasks=o.Error,l(i)))})),L={createCredential:x,setService:O,getService:y,resetAll:I,setCredential:h,setConfig:_,setApplications:E,setApplication:$,getApplications:P,setTasks:R,setTasksItems:q,setTasksTotal:N,setTasksActive:D,getTasks:G},r={items:void 0,total:void 0,active:void 0},M=t=>{Object.assign(t,k())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks||r,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks||r,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks||r,active:e};t.tasks=s},Q=(t,e)=>{t.tasks=e},U={setTasks:Q,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:K,setTasksItems:H,setTasksTotal:J,resetAll:M},ot={namespaced:!0,state:k,mutations:U,actions:L};export{ot as default,ot as openaiimage};
@@ -1 +1 @@
1
- import{g}from"./vendor-vue-NSDaktjZ.js";import{a as x,b as C}from"./index-DRLF1HwE.js";const s=new Map;if(C){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of s.values())for(const{documentHandler:o}of n)o(t,e);e=void 0}})}function i(e,t){let n=[];return g(t.arg)?n=t.arg:x(t.arg)&&n.push(t.arg),function(o,a){const r=t.instance.popperRef,c=o.target,d=a?.target,l=!t||!t.instance,f=!c||!d,p=e.contains(c)||e.contains(d),m=e===c,h=n.length&&n.some(u=>u?.contains(c))||n.length&&n.includes(d),v=r&&(r.contains(c)||r.contains(d));l||f||p||m||h||v||t.value(o,a)}}const T={beforeMount(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:i(e,t),bindingFn:t.value})},updated(e,t){s.has(e)||s.set(e,[]);const n=s.get(e),o=n.findIndex(r=>r.bindingFn===t.oldValue),a={documentHandler:i(e,t),bindingFn:t.value};o>=0?n.splice(o,1,a):n.push(a)},unmounted(e){s.delete(e)}};export{T as C};
1
+ import{g}from"./vendor-vue-NSDaktjZ.js";import{a as x,b as C}from"./index-BEPWLLkW.js";const s=new Map;if(C){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of s.values())for(const{documentHandler:o}of n)o(t,e);e=void 0}})}function i(e,t){let n=[];return g(t.arg)?n=t.arg:x(t.arg)&&n.push(t.arg),function(o,a){const r=t.instance.popperRef,c=o.target,d=a?.target,l=!t||!t.instance,f=!c||!d,p=e.contains(c)||e.contains(d),m=e===c,h=n.length&&n.some(u=>u?.contains(c))||n.length&&n.includes(d),v=r&&(r.contains(c)||r.contains(d));l||f||p||m||h||v||t.value(o,a)}}const T={beforeMount(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:i(e,t),bindingFn:t.value})},updated(e,t){s.has(e)||s.set(e,[]);const n=s.get(e),o=n.findIndex(r=>r.bindingFn===t.oldValue),a={documentHandler:i(e,t),bindingFn:t.value};o>=0?n.splice(o,1,a):n.push(a)},unmounted(e){s.delete(e)}};export{T as C};
@@ -1 +1 @@
1
- import{ax as T,av as i,a7 as f,aT as u}from"./index-DRLF1HwE.js";import{W as g}from"./wan-DKq-jYOo.js";import{s as b}from"./service-Bw-wTdVi.js";import{w}from"./wan-NjE6zD5T.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(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"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=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},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=i.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)},W=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,n);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");w.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(o=>{console.debug("get videos tasks success",o.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=o.data.items||[];console.debug("new items",d);const v=S(p,d);t("setTasksItems",v),t("setTasksTotal",o.data.count),m(o.data.items)}).catch(o=>c(o))}),L={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:W,getTasks:D,createCredential:x},N=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=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:B,setConfig:F,setCredential:j,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:N},nt={namespaced:!0,state:u,mutations:M,actions:L};export{nt as default,nt as wan};
1
+ import{ax as T,av as i,a7 as f,aT as u}from"./index-BEPWLLkW.js";import{W as g}from"./wan-DKq-jYOo.js";import{s as b}from"./service-CXUEJBne.js";import{w}from"./wan-BNzGoAQ2.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(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"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=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},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=i.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)},W=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,n);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");w.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(o=>{console.debug("get videos tasks success",o.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=o.data.items||[];console.debug("new items",d);const v=S(p,d);t("setTasksItems",v),t("setTasksTotal",o.data.count),m(o.data.items)}).catch(o=>c(o))}),L={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:W,getTasks:D,createCredential:x},N=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=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:B,setConfig:F,setCredential:j,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:N},nt={namespaced:!0,state:u,mutations:M,actions:L};export{nt as default,nt as wan};
@@ -1 +1 @@
1
- import{e as l}from"./index-DRLF1HwE.js";import{c as e,k as u}from"./vendor-vue-NSDaktjZ.js";const i=["class","style"],E=/^on[A-Z]/,m=(c={})=>{const{excludeListeners:o=!1,excludeKeys:t}=c,a=e(()=>(t?.value||[]).concat(i)),s=u();return s?e(()=>{var r;return l(Object.entries((r=s.proxy)==null?void 0:r.$attrs).filter(([n])=>!a.value.includes(n)&&!(o&&E.test(n))))}):e(()=>({}))};export{m as u};
1
+ import{e as l}from"./index-BEPWLLkW.js";import{c as e,k as u}from"./vendor-vue-NSDaktjZ.js";const i=["class","style"],E=/^on[A-Z]/,m=(c={})=>{const{excludeListeners:o=!1,excludeKeys:t}=c,a=e(()=>(t?.value||[]).concat(i)),s=u();return s?e(()=>{var r;return l(Object.entries((r=s.proxy)==null?void 0:r.$attrs).filter(([n])=>!a.value.includes(n)&&!(o&&E.test(n))))}):e(()=>({}))};export{m as u};
@@ -1 +1 @@
1
- import{g as le,i as pe,w as ie,b as Z,n as de,c as f,d as ne,r as Pe,a4 as ge,q as M,H as R,C as Ce,y as Se,E as Q,Q as F,u as l,F as Ie,R as G,h as Re,S as ke,a as Fe,o as _e,p as Ke,x as me,J as se,O as ue,N as ve,M as Xe}from"./vendor-vue-NSDaktjZ.js";import{u as ce}from"./typescript-CA6aDUpX.js";import{E as Ye}from"./index-CLDNUBAf.js";import{e as Ne,E as $e}from"./index-CK8L-hKV.js";import{N as Le,K as be,U as oe,M as ae,I as he,al as Ee,J as te,aU as Y,z as Te,A as Ve,V as Ue,R as Be,af as We,P as Oe,D as Ae}from"./index-DRLF1HwE.js";import{u as je}from"./index-tGb14ocE.js";import{d as xe}from"./debounce-_fEQ4abt.js";import{u as He,a as Je}from"./use-form-item-DQf4seac.js";const ze=Symbol("sliderContextKey"),qe=he({modelValue:{type:te([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Ee,inputSize:Ee,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:te(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:te(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ne,default:"top"},marks:{type:te(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...je(["ariaLabel"])}),fe=e=>ae(e)||le(e)&&e.every(ae),Ge={[oe]:fe,[be]:fe,[Le]:fe},Qe=he({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ne,default:"top"}}),Ze={[oe]:e=>ae(e)},De=(e,t,d)=>{const a=Z(),u=Z(!1),m=f(()=>t.value instanceof Function),i=f(()=>m.value&&t.value(e.modelValue)||e.modelValue),h=xe(()=>{d.value&&(u.value=!0)},50),V=xe(()=>{d.value&&(u.value=!1)},50);return{tooltip:a,tooltipVisible:u,formatValue:i,displayTooltip:h,hideTooltip:V}},et=(e,t,d)=>{const{disabled:a,min:u,max:m,step:i,showTooltip:h,persistent:V,precision:c,sliderSize:v,formatTooltip:n,emitChange:y,resetSize:T,updateDragging:$}=pe(ze),{tooltip:z,tooltipVisible:C,formatValue:p,displayTooltip:S,hideTooltip:_}=De(e,n,h),E=Z(),k=f(()=>`${(e.modelValue-u.value)/(m.value-u.value)*100}%`),P=f(()=>e.vertical?{bottom:k.value}:{left:k.value}),U=()=>{t.hovering=!0,S()},re=()=>{t.hovering=!1,t.dragging||_()},W=o=>{a.value||(o.preventDefault(),I(o),window.addEventListener("mousemove",B),window.addEventListener("touchmove",B),window.addEventListener("mouseup",x),window.addEventListener("touchend",x),window.addEventListener("contextmenu",x),E.value.focus())},K=o=>{a.value||(t.newPosition=Number.parseFloat(k.value)+o/(m.value-u.value)*100,N(t.newPosition),y())},O=()=>{K(-i.value)},s=()=>{K(i.value)},b=()=>{K(-i.value*4)},w=()=>{K(i.value*4)},H=()=>{a.value||(N(0),y())},J=()=>{a.value||(N(100),y())},q=o=>{let g=!0;switch(o.code){case Y.left:case Y.down:O();break;case Y.right:case Y.up:s();break;case Y.home:H();break;case Y.end:J();break;case Y.pageDown:b();break;case Y.pageUp:w();break;default:g=!1;break}g&&o.preventDefault()},A=o=>{let g,L;return o.type.startsWith("touch")?(L=o.touches[0].clientY,g=o.touches[0].clientX):(L=o.clientY,g=o.clientX),{clientX:g,clientY:L}},I=o=>{t.dragging=!0,t.isClick=!0;const{clientX:g,clientY:L}=A(o);e.vertical?t.startY=L:t.startX=g,t.startPosition=Number.parseFloat(k.value),t.newPosition=t.startPosition},B=o=>{if(t.dragging){t.isClick=!1,S(),T();let g;const{clientX:L,clientY:X}=A(o);e.vertical?(t.currentY=X,g=(t.startY-t.currentY)/v.value*100):(t.currentX=L,g=(t.currentX-t.startX)/v.value*100),t.newPosition=t.startPosition+g,N(t.newPosition)}},x=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||_(),t.isClick||N(t.newPosition),y()},0),window.removeEventListener("mousemove",B),window.removeEventListener("touchmove",B),window.removeEventListener("mouseup",x),window.removeEventListener("touchend",x),window.removeEventListener("contextmenu",x))},N=async o=>{if(o===null||Number.isNaN(+o))return;o<0?o=0:o>100&&(o=100);const g=100/((m.value-u.value)/i.value);let X=Math.round(o/g)*g*(m.value-u.value)*.01+u.value;X=Number.parseFloat(X.toFixed(c.value)),X!==e.modelValue&&d(oe,X),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await de(),t.dragging&&S(),z.value.updatePopper()};return ie(()=>t.dragging,o=>{$(o)}),ce(E,"touchstart",W,{passive:!1}),{disabled:a,button:E,tooltip:z,tooltipVisible:C,showTooltip:h,persistent:V,wrapperStyle:P,formatValue:p,handleMouseEnter:U,handleMouseLeave:re,onButtonDown:W,onKeyDown:q,setPosition:N}},tt=ne({name:"ElSliderButton"}),lt=ne({...tt,props:Qe,emits:Ze,setup(e,{expose:t,emit:d}){const a=e,u=Ve("slider"),m=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),i=f(()=>v.value?n.value:!1),{disabled:h,button:V,tooltip:c,showTooltip:v,persistent:n,tooltipVisible:y,wrapperStyle:T,formatValue:$,handleMouseEnter:z,handleMouseLeave:C,onButtonDown:p,onKeyDown:S,setPosition:_}=et(a,m,d),{hovering:E,dragging:k}=ge(m);return t({onButtonDown:p,onKeyDown:S,setPosition:_,hovering:E,dragging:k}),(P,U)=>(M(),R("div",{ref_key:"button",ref:V,class:F([l(u).e("button-wrapper"),{hover:l(E),dragging:l(k)}]),style:G(l(T)),tabindex:l(h)?-1:0,onMouseenter:l(z),onMouseleave:l(C),onMousedown:l(p),onFocus:l(z),onBlur:l(C),onKeydown:l(S)},[Ce(l($e),{ref_key:"tooltip",ref:c,visible:l(y),placement:P.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":P.tooltipClass,disabled:!l(v),persistent:l(i)},{content:Se(()=>[Q("span",null,Ie(l($)),1)]),default:Se(()=>[Q("div",{class:F([l(u).e("button"),{hover:l(E),dragging:l(k)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var Me=Te(lt,[["__file","button.vue"]]);const at=he({mark:{type:te([String,Object]),default:void 0}});var nt=ne({name:"ElSliderMarker",props:at,setup(e){const t=Ve("slider"),d=f(()=>ke(e.mark)?e.mark:e.mark.label),a=f(()=>ke(e.mark)?void 0:e.mark.style);return()=>Re("div",{class:t.e("marks-text"),style:a.value},d.value)}});const ot=(e,t,d)=>{const{form:a,formItem:u}=He(),m=Fe(),i=Z(),h=Z(),V={firstButton:i,secondButton:h},c=f(()=>e.disabled||a?.disabled||!1),v=f(()=>Math.min(t.firstValue,t.secondValue)),n=f(()=>Math.max(t.firstValue,t.secondValue)),y=f(()=>e.range?`${100*(n.value-v.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),T=f(()=>e.range?`${100*(v.value-e.min)/(e.max-e.min)}%`:"0%"),$=f(()=>e.vertical?{height:e.height}:{}),z=f(()=>e.vertical?{height:y.value,bottom:T.value}:{width:y.value,left:T.value}),C=()=>{m.value&&(t.sliderSize=m.value[`client${e.vertical?"Height":"Width"}`])},p=s=>{const b=e.min+s*(e.max-e.min)/100;if(!e.range)return i;let w;return Math.abs(v.value-b)<Math.abs(n.value-b)?w=t.firstValue<t.secondValue?"firstButton":"secondButton":w=t.firstValue>t.secondValue?"firstButton":"secondButton",V[w]},S=s=>{const b=p(s);return b.value.setPosition(s),b},_=s=>{t.firstValue=s??e.min,k(e.range?[v.value,n.value]:s??e.min)},E=s=>{t.secondValue=s,e.range&&k([v.value,n.value])},k=s=>{d(oe,s),d(be,s)},P=async()=>{await de(),d(Le,e.range?[v.value,n.value]:e.modelValue)},U=s=>{var b,w,H,J,q,A;if(c.value||t.dragging)return;C();let I=0;if(e.vertical){const B=(H=(w=(b=s.touches)==null?void 0:b.item(0))==null?void 0:w.clientY)!=null?H:s.clientY;I=(m.value.getBoundingClientRect().bottom-B)/t.sliderSize*100}else{const B=(A=(q=(J=s.touches)==null?void 0:J.item(0))==null?void 0:q.clientX)!=null?A:s.clientX,x=m.value.getBoundingClientRect().left;I=(B-x)/t.sliderSize*100}if(!(I<0||I>100))return S(I)};return{elFormItem:u,slider:m,firstButton:i,secondButton:h,sliderDisabled:c,minValue:v,maxValue:n,runwayStyle:$,barStyle:z,resetSize:C,setPosition:S,emitChange:P,onSliderWrapperPrevent:s=>{var b,w;((b=V.firstButton.value)!=null&&b.dragging||(w=V.secondButton.value)!=null&&w.dragging)&&s.preventDefault()},onSliderClick:s=>{U(s)&&P()},onSliderDown:async s=>{const b=U(s);b&&(await de(),b.value.onButtonDown(s))},onSliderMarkerDown:s=>{if(c.value||t.dragging)return;S(s)&&P()},setFirstValue:_,setSecondValue:E}},rt=(e,t,d,a)=>({stops:f(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,h=100*e.step/(e.max-e.min),V=Array.from({length:i-1}).map((c,v)=>(v+1)*h);return e.range?V.filter(c=>c<100*(d.value-e.min)/(e.max-e.min)||c>100*(a.value-e.min)/(e.max-e.min)):V.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),st=e=>f(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((d,a)=>d-a).filter(d=>d<=e.max&&d>=e.min).map(d=>({point:d,position:(d-e.min)*100/(e.max-e.min),mark:e.marks[d]})):[]),ut=(e,t,d,a,u,m)=>{const i=c=>{u(oe,c),u(be,c)},h=()=>e.range?![d.value,a.value].every((c,v)=>c===t.oldValue[v]):e.modelValue!==t.oldValue,V=()=>{var c,v;e.min>e.max&&Ue("Slider","min should not be greater than max.");const n=e.modelValue;e.range&&le(n)?n[1]<e.min?i([e.min,e.min]):n[0]>e.max?i([e.max,e.max]):n[0]<e.min?i([e.min,n[1]]):n[1]>e.max?i([n[0],e.max]):(t.firstValue=n[0],t.secondValue=n[1],h()&&(e.validateEvent&&((c=m?.validate)==null||c.call(m,"change").catch(y=>Be())),t.oldValue=n.slice())):!e.range&&ae(n)&&!Number.isNaN(n)&&(n<e.min?i(e.min):n>e.max?i(e.max):(t.firstValue=n,h()&&(e.validateEvent&&((v=m?.validate)==null||v.call(m,"change").catch(y=>Be())),t.oldValue=n)))};V(),ie(()=>t.dragging,c=>{c||V()}),ie(()=>e.modelValue,(c,v)=>{t.dragging||le(c)&&le(v)&&c.every((n,y)=>n===v[y])&&t.firstValue===c[0]&&t.secondValue===c[1]||V()},{deep:!0}),ie(()=>[e.min,e.max],()=>{V()})},it=(e,t,d)=>{const a=Z();return _e(async()=>{e.range?(le(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!ae(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ce(window,"resize",d),await de(),d()}),{sliderWrapper:a}},dt=ne({name:"ElSlider"}),ct=ne({...dt,props:qe,emits:Ge,setup(e,{expose:t,emit:d}){const a=e,u=Ve("slider"),{t:m}=We(),i=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:h,slider:V,firstButton:c,secondButton:v,sliderDisabled:n,minValue:y,maxValue:T,runwayStyle:$,barStyle:z,resetSize:C,emitChange:p,onSliderWrapperPrevent:S,onSliderClick:_,onSliderDown:E,onSliderMarkerDown:k,setFirstValue:P,setSecondValue:U}=ot(a,i,d),{stops:re,getStopStyle:W}=rt(a,i,y,T),{inputId:K,isLabeledByFormItem:O}=Je(a,{formItemContext:h}),s=Oe(),b=f(()=>a.inputSize||s.value),w=f(()=>a.ariaLabel||m("el.slider.defaultLabel",{min:a.min,max:a.max})),H=f(()=>a.range?a.rangeStartLabel||m("el.slider.defaultRangeStartLabel"):w.value),J=f(()=>a.formatValueText?a.formatValueText(o.value):`${o.value}`),q=f(()=>a.rangeEndLabel||m("el.slider.defaultRangeEndLabel")),A=f(()=>a.formatValueText?a.formatValueText(g.value):`${g.value}`),I=f(()=>[u.b(),u.m(s.value),u.is("vertical",a.vertical),{[u.m("with-input")]:a.showInput}]),B=st(a);ut(a,i,y,T,d,h);const x=f(()=>{const r=[a.min,a.max,a.step].map(ye=>{const D=`${ye}`.split(".")[1];return D?D.length:0});return Math.max.apply(null,r)}),{sliderWrapper:N}=it(a,i,C),{firstValue:o,secondValue:g,sliderSize:L}=ge(i),X=r=>{i.dragging=r};return ce(N,"touchstart",S,{passive:!1}),ce(N,"touchmove",S,{passive:!1}),Ke(ze,{...ge(a),sliderSize:L,disabled:n,precision:x,emitChange:p,resetSize:C,updateDragging:X}),t({onSliderClick:_}),(r,ye)=>{var D,we;return M(),R("div",{id:r.range?l(K):void 0,ref_key:"sliderWrapper",ref:N,class:F(l(I)),role:r.range?"group":void 0,"aria-label":r.range&&!l(O)?l(w):void 0,"aria-labelledby":r.range&&l(O)?(D=l(h))==null?void 0:D.labelId:void 0},[Q("div",{ref_key:"slider",ref:V,class:F([l(u).e("runway"),{"show-input":r.showInput&&!r.range},l(u).is("disabled",l(n))]),style:G(l($)),onMousedown:l(E),onTouchstartPassive:l(E)},[Q("div",{class:F(l(u).e("bar")),style:G(l(z))},null,6),Ce(Me,{id:r.range?void 0:l(K),ref_key:"firstButton",ref:c,"model-value":l(o),vertical:r.vertical,"tooltip-class":r.tooltipClass,placement:r.placement,role:"slider","aria-label":r.range||!l(O)?l(H):void 0,"aria-labelledby":!r.range&&l(O)?(we=l(h))==null?void 0:we.labelId:void 0,"aria-valuemin":r.min,"aria-valuemax":r.range?l(g):r.max,"aria-valuenow":l(o),"aria-valuetext":l(J),"aria-orientation":r.vertical?"vertical":"horizontal","aria-disabled":l(n),"onUpdate:modelValue":l(P)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),r.range?(M(),me(Me,{key:0,ref_key:"secondButton",ref:v,"model-value":l(g),vertical:r.vertical,"tooltip-class":r.tooltipClass,placement:r.placement,role:"slider","aria-label":l(q),"aria-valuemin":l(o),"aria-valuemax":r.max,"aria-valuenow":l(g),"aria-valuetext":l(A),"aria-orientation":r.vertical?"vertical":"horizontal","aria-disabled":l(n),"onUpdate:modelValue":l(U)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):se("v-if",!0),r.showStops?(M(),R("div",{key:1},[(M(!0),R(ue,null,ve(l(re),(j,ee)=>(M(),R("div",{key:ee,class:F(l(u).e("stop")),style:G(l(W)(j))},null,6))),128))])):se("v-if",!0),l(B).length>0?(M(),R(ue,{key:2},[Q("div",null,[(M(!0),R(ue,null,ve(l(B),(j,ee)=>(M(),R("div",{key:ee,style:G(l(W)(j.position)),class:F([l(u).e("stop"),l(u).e("marks-stop")])},null,6))),128))]),Q("div",{class:F(l(u).e("marks"))},[(M(!0),R(ue,null,ve(l(B),(j,ee)=>(M(),me(l(nt),{key:ee,mark:j.mark,style:G(l(W)(j.position)),onMousedown:Xe(vt=>l(k)(j.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):se("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),r.showInput&&!r.range?(M(),me(l(Ye),{key:0,ref:"input","model-value":l(o),class:F(l(u).e("input")),step:r.step,disabled:l(n),controls:r.showInputControls,min:r.min,max:r.max,precision:l(x),debounce:r.debounce,size:l(b),"onUpdate:modelValue":l(P),onChange:l(p)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):se("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var mt=Te(ct,[["__file","slider.vue"]]);const kt=Ae(mt);export{kt as E};
1
+ import{g as le,i as pe,w as ie,b as Z,n as de,c as f,d as ne,r as Pe,a4 as ge,q as M,H as R,C as Ce,y as Se,E as Q,Q as F,u as l,F as Ie,R as G,h as Re,S as ke,a as Fe,o as _e,p as Ke,x as me,J as se,O as ue,N as ve,M as Xe}from"./vendor-vue-NSDaktjZ.js";import{u as ce}from"./typescript-XFJ9jtD2.js";import{E as Ye}from"./index-CRQThSrB.js";import{e as Ne,E as $e}from"./index-Ck1OC0LA.js";import{N as Le,K as be,U as oe,M as ae,I as he,al as Ee,J as te,aU as Y,z as Te,A as Ve,V as Ue,R as Be,af as We,P as Oe,D as Ae}from"./index-BEPWLLkW.js";import{u as je}from"./index-BM-X4--M.js";import{d as xe}from"./debounce-B_NS5xy8.js";import{u as He,a as Je}from"./use-form-item-CLghI_sM.js";const ze=Symbol("sliderContextKey"),qe=he({modelValue:{type:te([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Ee,inputSize:Ee,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:te(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:te(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ne,default:"top"},marks:{type:te(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...je(["ariaLabel"])}),fe=e=>ae(e)||le(e)&&e.every(ae),Ge={[oe]:fe,[be]:fe,[Le]:fe},Qe=he({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ne,default:"top"}}),Ze={[oe]:e=>ae(e)},De=(e,t,d)=>{const a=Z(),u=Z(!1),m=f(()=>t.value instanceof Function),i=f(()=>m.value&&t.value(e.modelValue)||e.modelValue),h=xe(()=>{d.value&&(u.value=!0)},50),V=xe(()=>{d.value&&(u.value=!1)},50);return{tooltip:a,tooltipVisible:u,formatValue:i,displayTooltip:h,hideTooltip:V}},et=(e,t,d)=>{const{disabled:a,min:u,max:m,step:i,showTooltip:h,persistent:V,precision:c,sliderSize:v,formatTooltip:n,emitChange:y,resetSize:T,updateDragging:$}=pe(ze),{tooltip:z,tooltipVisible:C,formatValue:p,displayTooltip:S,hideTooltip:_}=De(e,n,h),E=Z(),k=f(()=>`${(e.modelValue-u.value)/(m.value-u.value)*100}%`),P=f(()=>e.vertical?{bottom:k.value}:{left:k.value}),U=()=>{t.hovering=!0,S()},re=()=>{t.hovering=!1,t.dragging||_()},W=o=>{a.value||(o.preventDefault(),I(o),window.addEventListener("mousemove",B),window.addEventListener("touchmove",B),window.addEventListener("mouseup",x),window.addEventListener("touchend",x),window.addEventListener("contextmenu",x),E.value.focus())},K=o=>{a.value||(t.newPosition=Number.parseFloat(k.value)+o/(m.value-u.value)*100,N(t.newPosition),y())},O=()=>{K(-i.value)},s=()=>{K(i.value)},b=()=>{K(-i.value*4)},w=()=>{K(i.value*4)},H=()=>{a.value||(N(0),y())},J=()=>{a.value||(N(100),y())},q=o=>{let g=!0;switch(o.code){case Y.left:case Y.down:O();break;case Y.right:case Y.up:s();break;case Y.home:H();break;case Y.end:J();break;case Y.pageDown:b();break;case Y.pageUp:w();break;default:g=!1;break}g&&o.preventDefault()},A=o=>{let g,L;return o.type.startsWith("touch")?(L=o.touches[0].clientY,g=o.touches[0].clientX):(L=o.clientY,g=o.clientX),{clientX:g,clientY:L}},I=o=>{t.dragging=!0,t.isClick=!0;const{clientX:g,clientY:L}=A(o);e.vertical?t.startY=L:t.startX=g,t.startPosition=Number.parseFloat(k.value),t.newPosition=t.startPosition},B=o=>{if(t.dragging){t.isClick=!1,S(),T();let g;const{clientX:L,clientY:X}=A(o);e.vertical?(t.currentY=X,g=(t.startY-t.currentY)/v.value*100):(t.currentX=L,g=(t.currentX-t.startX)/v.value*100),t.newPosition=t.startPosition+g,N(t.newPosition)}},x=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||_(),t.isClick||N(t.newPosition),y()},0),window.removeEventListener("mousemove",B),window.removeEventListener("touchmove",B),window.removeEventListener("mouseup",x),window.removeEventListener("touchend",x),window.removeEventListener("contextmenu",x))},N=async o=>{if(o===null||Number.isNaN(+o))return;o<0?o=0:o>100&&(o=100);const g=100/((m.value-u.value)/i.value);let X=Math.round(o/g)*g*(m.value-u.value)*.01+u.value;X=Number.parseFloat(X.toFixed(c.value)),X!==e.modelValue&&d(oe,X),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await de(),t.dragging&&S(),z.value.updatePopper()};return ie(()=>t.dragging,o=>{$(o)}),ce(E,"touchstart",W,{passive:!1}),{disabled:a,button:E,tooltip:z,tooltipVisible:C,showTooltip:h,persistent:V,wrapperStyle:P,formatValue:p,handleMouseEnter:U,handleMouseLeave:re,onButtonDown:W,onKeyDown:q,setPosition:N}},tt=ne({name:"ElSliderButton"}),lt=ne({...tt,props:Qe,emits:Ze,setup(e,{expose:t,emit:d}){const a=e,u=Ve("slider"),m=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),i=f(()=>v.value?n.value:!1),{disabled:h,button:V,tooltip:c,showTooltip:v,persistent:n,tooltipVisible:y,wrapperStyle:T,formatValue:$,handleMouseEnter:z,handleMouseLeave:C,onButtonDown:p,onKeyDown:S,setPosition:_}=et(a,m,d),{hovering:E,dragging:k}=ge(m);return t({onButtonDown:p,onKeyDown:S,setPosition:_,hovering:E,dragging:k}),(P,U)=>(M(),R("div",{ref_key:"button",ref:V,class:F([l(u).e("button-wrapper"),{hover:l(E),dragging:l(k)}]),style:G(l(T)),tabindex:l(h)?-1:0,onMouseenter:l(z),onMouseleave:l(C),onMousedown:l(p),onFocus:l(z),onBlur:l(C),onKeydown:l(S)},[Ce(l($e),{ref_key:"tooltip",ref:c,visible:l(y),placement:P.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":P.tooltipClass,disabled:!l(v),persistent:l(i)},{content:Se(()=>[Q("span",null,Ie(l($)),1)]),default:Se(()=>[Q("div",{class:F([l(u).e("button"),{hover:l(E),dragging:l(k)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var Me=Te(lt,[["__file","button.vue"]]);const at=he({mark:{type:te([String,Object]),default:void 0}});var nt=ne({name:"ElSliderMarker",props:at,setup(e){const t=Ve("slider"),d=f(()=>ke(e.mark)?e.mark:e.mark.label),a=f(()=>ke(e.mark)?void 0:e.mark.style);return()=>Re("div",{class:t.e("marks-text"),style:a.value},d.value)}});const ot=(e,t,d)=>{const{form:a,formItem:u}=He(),m=Fe(),i=Z(),h=Z(),V={firstButton:i,secondButton:h},c=f(()=>e.disabled||a?.disabled||!1),v=f(()=>Math.min(t.firstValue,t.secondValue)),n=f(()=>Math.max(t.firstValue,t.secondValue)),y=f(()=>e.range?`${100*(n.value-v.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),T=f(()=>e.range?`${100*(v.value-e.min)/(e.max-e.min)}%`:"0%"),$=f(()=>e.vertical?{height:e.height}:{}),z=f(()=>e.vertical?{height:y.value,bottom:T.value}:{width:y.value,left:T.value}),C=()=>{m.value&&(t.sliderSize=m.value[`client${e.vertical?"Height":"Width"}`])},p=s=>{const b=e.min+s*(e.max-e.min)/100;if(!e.range)return i;let w;return Math.abs(v.value-b)<Math.abs(n.value-b)?w=t.firstValue<t.secondValue?"firstButton":"secondButton":w=t.firstValue>t.secondValue?"firstButton":"secondButton",V[w]},S=s=>{const b=p(s);return b.value.setPosition(s),b},_=s=>{t.firstValue=s??e.min,k(e.range?[v.value,n.value]:s??e.min)},E=s=>{t.secondValue=s,e.range&&k([v.value,n.value])},k=s=>{d(oe,s),d(be,s)},P=async()=>{await de(),d(Le,e.range?[v.value,n.value]:e.modelValue)},U=s=>{var b,w,H,J,q,A;if(c.value||t.dragging)return;C();let I=0;if(e.vertical){const B=(H=(w=(b=s.touches)==null?void 0:b.item(0))==null?void 0:w.clientY)!=null?H:s.clientY;I=(m.value.getBoundingClientRect().bottom-B)/t.sliderSize*100}else{const B=(A=(q=(J=s.touches)==null?void 0:J.item(0))==null?void 0:q.clientX)!=null?A:s.clientX,x=m.value.getBoundingClientRect().left;I=(B-x)/t.sliderSize*100}if(!(I<0||I>100))return S(I)};return{elFormItem:u,slider:m,firstButton:i,secondButton:h,sliderDisabled:c,minValue:v,maxValue:n,runwayStyle:$,barStyle:z,resetSize:C,setPosition:S,emitChange:P,onSliderWrapperPrevent:s=>{var b,w;((b=V.firstButton.value)!=null&&b.dragging||(w=V.secondButton.value)!=null&&w.dragging)&&s.preventDefault()},onSliderClick:s=>{U(s)&&P()},onSliderDown:async s=>{const b=U(s);b&&(await de(),b.value.onButtonDown(s))},onSliderMarkerDown:s=>{if(c.value||t.dragging)return;S(s)&&P()},setFirstValue:_,setSecondValue:E}},rt=(e,t,d,a)=>({stops:f(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,h=100*e.step/(e.max-e.min),V=Array.from({length:i-1}).map((c,v)=>(v+1)*h);return e.range?V.filter(c=>c<100*(d.value-e.min)/(e.max-e.min)||c>100*(a.value-e.min)/(e.max-e.min)):V.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),st=e=>f(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((d,a)=>d-a).filter(d=>d<=e.max&&d>=e.min).map(d=>({point:d,position:(d-e.min)*100/(e.max-e.min),mark:e.marks[d]})):[]),ut=(e,t,d,a,u,m)=>{const i=c=>{u(oe,c),u(be,c)},h=()=>e.range?![d.value,a.value].every((c,v)=>c===t.oldValue[v]):e.modelValue!==t.oldValue,V=()=>{var c,v;e.min>e.max&&Ue("Slider","min should not be greater than max.");const n=e.modelValue;e.range&&le(n)?n[1]<e.min?i([e.min,e.min]):n[0]>e.max?i([e.max,e.max]):n[0]<e.min?i([e.min,n[1]]):n[1]>e.max?i([n[0],e.max]):(t.firstValue=n[0],t.secondValue=n[1],h()&&(e.validateEvent&&((c=m?.validate)==null||c.call(m,"change").catch(y=>Be())),t.oldValue=n.slice())):!e.range&&ae(n)&&!Number.isNaN(n)&&(n<e.min?i(e.min):n>e.max?i(e.max):(t.firstValue=n,h()&&(e.validateEvent&&((v=m?.validate)==null||v.call(m,"change").catch(y=>Be())),t.oldValue=n)))};V(),ie(()=>t.dragging,c=>{c||V()}),ie(()=>e.modelValue,(c,v)=>{t.dragging||le(c)&&le(v)&&c.every((n,y)=>n===v[y])&&t.firstValue===c[0]&&t.secondValue===c[1]||V()},{deep:!0}),ie(()=>[e.min,e.max],()=>{V()})},it=(e,t,d)=>{const a=Z();return _e(async()=>{e.range?(le(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!ae(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ce(window,"resize",d),await de(),d()}),{sliderWrapper:a}},dt=ne({name:"ElSlider"}),ct=ne({...dt,props:qe,emits:Ge,setup(e,{expose:t,emit:d}){const a=e,u=Ve("slider"),{t:m}=We(),i=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:h,slider:V,firstButton:c,secondButton:v,sliderDisabled:n,minValue:y,maxValue:T,runwayStyle:$,barStyle:z,resetSize:C,emitChange:p,onSliderWrapperPrevent:S,onSliderClick:_,onSliderDown:E,onSliderMarkerDown:k,setFirstValue:P,setSecondValue:U}=ot(a,i,d),{stops:re,getStopStyle:W}=rt(a,i,y,T),{inputId:K,isLabeledByFormItem:O}=Je(a,{formItemContext:h}),s=Oe(),b=f(()=>a.inputSize||s.value),w=f(()=>a.ariaLabel||m("el.slider.defaultLabel",{min:a.min,max:a.max})),H=f(()=>a.range?a.rangeStartLabel||m("el.slider.defaultRangeStartLabel"):w.value),J=f(()=>a.formatValueText?a.formatValueText(o.value):`${o.value}`),q=f(()=>a.rangeEndLabel||m("el.slider.defaultRangeEndLabel")),A=f(()=>a.formatValueText?a.formatValueText(g.value):`${g.value}`),I=f(()=>[u.b(),u.m(s.value),u.is("vertical",a.vertical),{[u.m("with-input")]:a.showInput}]),B=st(a);ut(a,i,y,T,d,h);const x=f(()=>{const r=[a.min,a.max,a.step].map(ye=>{const D=`${ye}`.split(".")[1];return D?D.length:0});return Math.max.apply(null,r)}),{sliderWrapper:N}=it(a,i,C),{firstValue:o,secondValue:g,sliderSize:L}=ge(i),X=r=>{i.dragging=r};return ce(N,"touchstart",S,{passive:!1}),ce(N,"touchmove",S,{passive:!1}),Ke(ze,{...ge(a),sliderSize:L,disabled:n,precision:x,emitChange:p,resetSize:C,updateDragging:X}),t({onSliderClick:_}),(r,ye)=>{var D,we;return M(),R("div",{id:r.range?l(K):void 0,ref_key:"sliderWrapper",ref:N,class:F(l(I)),role:r.range?"group":void 0,"aria-label":r.range&&!l(O)?l(w):void 0,"aria-labelledby":r.range&&l(O)?(D=l(h))==null?void 0:D.labelId:void 0},[Q("div",{ref_key:"slider",ref:V,class:F([l(u).e("runway"),{"show-input":r.showInput&&!r.range},l(u).is("disabled",l(n))]),style:G(l($)),onMousedown:l(E),onTouchstartPassive:l(E)},[Q("div",{class:F(l(u).e("bar")),style:G(l(z))},null,6),Ce(Me,{id:r.range?void 0:l(K),ref_key:"firstButton",ref:c,"model-value":l(o),vertical:r.vertical,"tooltip-class":r.tooltipClass,placement:r.placement,role:"slider","aria-label":r.range||!l(O)?l(H):void 0,"aria-labelledby":!r.range&&l(O)?(we=l(h))==null?void 0:we.labelId:void 0,"aria-valuemin":r.min,"aria-valuemax":r.range?l(g):r.max,"aria-valuenow":l(o),"aria-valuetext":l(J),"aria-orientation":r.vertical?"vertical":"horizontal","aria-disabled":l(n),"onUpdate:modelValue":l(P)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),r.range?(M(),me(Me,{key:0,ref_key:"secondButton",ref:v,"model-value":l(g),vertical:r.vertical,"tooltip-class":r.tooltipClass,placement:r.placement,role:"slider","aria-label":l(q),"aria-valuemin":l(o),"aria-valuemax":r.max,"aria-valuenow":l(g),"aria-valuetext":l(A),"aria-orientation":r.vertical?"vertical":"horizontal","aria-disabled":l(n),"onUpdate:modelValue":l(U)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):se("v-if",!0),r.showStops?(M(),R("div",{key:1},[(M(!0),R(ue,null,ve(l(re),(j,ee)=>(M(),R("div",{key:ee,class:F(l(u).e("stop")),style:G(l(W)(j))},null,6))),128))])):se("v-if",!0),l(B).length>0?(M(),R(ue,{key:2},[Q("div",null,[(M(!0),R(ue,null,ve(l(B),(j,ee)=>(M(),R("div",{key:ee,style:G(l(W)(j.position)),class:F([l(u).e("stop"),l(u).e("marks-stop")])},null,6))),128))]),Q("div",{class:F(l(u).e("marks"))},[(M(!0),R(ue,null,ve(l(B),(j,ee)=>(M(),me(l(nt),{key:ee,mark:j.mark,style:G(l(W)(j.position)),onMousedown:Xe(vt=>l(k)(j.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):se("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),r.showInput&&!r.range?(M(),me(l(Ye),{key:0,ref:"input","model-value":l(o),class:F(l(u).e("input")),step:r.step,disabled:l(n),controls:r.showInputControls,min:r.min,max:r.max,precision:l(x),debounce:r.debounce,size:l(b),"onUpdate:modelValue":l(P),onChange:l(p)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):se("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var mt=Te(ct,[["__file","slider.vue"]]);const kt=Ae(mt);export{kt as E};
@@ -1 +1 @@
1
- import{av as i,a7 as g,aw as d,ax as v,ay as p}from"./index-DRLF1HwE.js";import{c as u}from"./chat-IWu8ZCVA.js";import{s as f}from"./service-Bw-wTdVi.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},H=(t,e)=>{t.service=e},P=(t,e)=>{t.conversations=e},T=(t,e)=>{t.pendingDraft=e||""},V={setModel:k,setModelGroup:R,setService:H,setCredential:q,setConversations:P,setApplication:D,setApplications:j,setPendingDraft:T,resetAll:_},U={namespaced:!0,state:p,mutations:V,actions:O};export{U as chat,U as default};
1
+ import{av as i,a7 as g,aw as d,ax as v,ay as p}from"./index-BEPWLLkW.js";import{c as u}from"./chat-CwwAE5pQ.js";import{s as f}from"./service-CXUEJBne.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},H=(t,e)=>{t.service=e},P=(t,e)=>{t.conversations=e},T=(t,e)=>{t.pendingDraft=e||""},V={setModel:k,setModelGroup:R,setService:H,setCredential:q,setConversations:P,setApplication:D,setApplications:j,setPendingDraft:T,resetAll:_},U={namespaced:!0,state:p,mutations:V,actions:O};export{U as chat,U as default};
@@ -1 +1 @@
1
- import{ax as T,av as n,a7 as f,aI as u}from"./index-DRLF1HwE.js";import{H as g}from"./hailuo-C8Dw-0xR.js";import{s as b}from"./service-Bw-wTdVi.js";import{h as S}from"./hailuo-2S0fr-9y.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"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=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},O=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)},H=({commit:t},e)=>{t("setTasksActive",e)},L=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))}),D={setService:$,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:h,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:H,getTasks:L,createCredential:x},U=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:K,setTasksItems:G,setTasksTotal:J,resetAll:U},ot={namespaced:!0,state:u,mutations:N,actions:D};export{ot as default,ot as hailuo};
1
+ import{ax as T,av as n,a7 as f,aI as u}from"./index-BEPWLLkW.js";import{H as g}from"./hailuo-C8Dw-0xR.js";import{s as b}from"./service-CXUEJBne.js";import{h as S}from"./hailuo-3GAYoAWO.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"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=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},O=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)},H=({commit:t},e)=>{t("setTasksActive",e)},L=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))}),D={setService:$,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:h,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:H,getTasks:L,createCredential:x},U=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:K,setTasksItems:G,setTasksTotal:J,resetAll:U},ot={namespaced:!0,state:u,mutations:N,actions:D};export{ot as default,ot as hailuo};