@acedatacloud/nexior 3.83.0 → 3.85.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.
- package/dist/assets/{Auth-CWuuGvoD.js → Auth-G2tqgSgU.js} +1 -1
- package/dist/assets/{BotPlaceholder-zF5XU4_i.js → BotPlaceholder-B_pcw1jf.js} +1 -1
- package/dist/assets/{Callback-BWkS8aur.js → Callback-C20Vp8Rq.js} +1 -1
- package/dist/assets/{Console-BfgnJVJL.js → Console-DvjLUapp.js} +1 -1
- package/dist/assets/{Consumption-DLgsrWMq.js → Consumption-CzfhsFJJ.js} +1 -1
- package/dist/assets/{Conversation-6QSPfJqw.js → Conversation-CEmPopzf.js} +1 -1
- package/dist/assets/{CopyToClipboard-CTWaHjNb.js → CopyToClipboard-DQNzHfAP.js} +1 -1
- package/dist/assets/{Detail-BFeFA_rK.js → Detail-BIl9p5wq.js} +2 -2
- package/dist/assets/{EditArray-C531uyGP.js → EditArray-B1EmZSbg.js} +1 -1
- package/dist/assets/{Extra-Bx0RCErD.js → Extra-BSLUhDmF.js} +1 -1
- package/dist/assets/{FilePreview-Cstmlc53.js → FilePreview-C9-7BuS7.js} +1 -1
- package/dist/assets/{History-urj5mZRJ.js → History-Bgs2d7i2.js} +1 -1
- package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-DgF9HfdK.js → IconPark.vue_vue_type_script_setup_true_lang-B2YtDINg.js} +1 -1
- package/dist/assets/{ImagePreview-J9-07RV0.js → ImagePreview-DHUZxJqJ.js} +1 -1
- package/dist/assets/{ImageWrapper-DXKVd-vZ.js → ImageWrapper-eq21KSDf.js} +1 -1
- package/dist/assets/{Index-BTPkcXoO.js → Index-B23NkUqx.js} +1 -1
- package/dist/assets/Index-BEmgJycH.css +1 -0
- package/dist/assets/{Index-BZ7Fd7bJ.js → Index-BTeuBdGq.js} +1 -1
- package/dist/assets/{Index-BVOLeIbT.js → Index-B_sTchM7.js} +1 -1
- package/dist/assets/{Index-C59_zbuN.js → Index-BkIMi8xp.js} +1 -1
- package/dist/assets/Index-BvD8ooBC.js +1 -0
- package/dist/assets/{Index-KZMkK5lS.js → Index-Bvm6y0Rf.js} +1 -1
- package/dist/assets/{Index-C2y4WChC.js → Index-C10mOiGO.js} +1 -1
- package/dist/assets/{Index-Bcc7V1A4.js → Index-C1y_zYEL.js} +1 -1
- package/dist/assets/{Index-C-T5dAwR.js → Index-CJLvetMx.js} +1 -1
- package/dist/assets/{Index-gXyeYRs4.js → Index-CclYrxgE.js} +1 -1
- package/dist/assets/{Index-lfgnL-1-.js → Index-Ce0tDP3d.js} +1 -1
- package/dist/assets/{Index-CiMYcoJn.js → Index-CsPQ6Spu.js} +1 -1
- package/dist/assets/{Index-DfRoPs1n.js → Index-CuRzrWlT.js} +1 -1
- package/dist/assets/{Index-CYgGwRfU.js → Index-CxkfTsLk.js} +1 -1
- package/dist/assets/{Index-CSej8obA.js → Index-D6a8zxjU.js} +1 -1
- package/dist/assets/{Index-BsFtaFDf.js → Index-DEK8F02Q.js} +1 -1
- package/dist/assets/{Index-DL5lnKaO.js → Index-Df2HnN_V.js} +1 -1
- package/dist/assets/{Index-C7OUFIJB.js → Index-Dn0GSc0L.js} +1 -1
- package/dist/assets/{Index-BqK2HQah.js → Index-Doj7b9Br.js} +1 -1
- package/dist/assets/{Index-wf3_tqyQ.js → Index-DrhlRZVw.js} +1 -1
- package/dist/assets/{Index-QHIN8ssn.js → Index-Dv9sU4_6.js} +1 -1
- package/dist/assets/{Index-BDCjGDwp.js → Index-H5xENHl5.js} +1 -1
- package/dist/assets/{Index-nIFIIt0X.js → Index-ULM_gHYk.js} +1 -1
- package/dist/assets/{Index-BHAcgVME.js → Index-pkNYIgnM.js} +1 -1
- package/dist/assets/{Index-DVWD5N5W.js → Index-sLgBGuVH.js} +1 -1
- package/dist/assets/{Invitees-B_pebwpD.js → Invitees-WFTjKUM1.js} +1 -1
- package/dist/assets/{List-DhRlEXGq.js → List-8qDajr03.js} +1 -1
- package/dist/assets/{List-4dlNMKpO.js → List-B0l3DQnF.js} +1 -1
- package/dist/assets/{List-CEYDch0-.js → List-BrrL16kN.js} +1 -1
- package/dist/assets/{List-BTjD7Vol.js → List-Dgcm5W6F.js} +1 -1
- package/dist/assets/{Main-D9coHZAF.js → Main-Bh2hXo07.js} +1 -1
- package/dist/assets/{Navigator-D4alBx_4.js → Navigator-DRg6D4NH.js} +1 -1
- package/dist/assets/{NoTasks-DBCobFaU.js → NoTasks-BnsnwhEj.js} +1 -1
- package/dist/assets/{NotFound-BdII7AZE.js → NotFound-BcqQID00.js} +1 -1
- package/dist/assets/{OAuthCallback-DkU-qIFn.js → OAuthCallback-BHHorLUv.js} +1 -1
- package/dist/assets/{Pagination-Bumji6yQ.js → Pagination-B8Mmuyja.js} +1 -1
- package/dist/assets/{ScrollList-KxH47Cw-.js → ScrollList-CP87wzcT.js} +1 -1
- package/dist/assets/{Status-aw1tCtAa.js → Status-CrRYW-kJ.js} +1 -1
- package/dist/assets/{Subscribe-FQ7xBrW2.js → Subscribe-02usFBOm.js} +1 -1
- package/dist/assets/{TransportWebHID-Dmgv0BzI.js → TransportWebHID-CMQ8tToZ.js} +1 -1
- package/dist/assets/{VideoPlayer-BGmno95P.js → VideoPlayer-DFR6K-55.js} +1 -1
- package/dist/assets/{_Uint8Array-CpyJ_Bjg.js → _Uint8Array-ncuXegKE.js} +1 -1
- package/dist/assets/{_baseClone-hIc8kioi.js → _baseClone-CAE5mQRc.js} +1 -1
- package/dist/assets/{_baseIteratee-BHAv1JuM.js → _baseIteratee-1PZ70oak.js} +1 -1
- package/dist/assets/{_initCloneObject-CROvvmYi.js → _initCloneObject-vYpGCrtd.js} +1 -1
- package/dist/assets/{add-CybTliX4.js → add-D07BAg-K.js} +1 -1
- package/dist/assets/{all-wallets-CV3SKDlO.js → all-wallets-C5umXLPw.js} +1 -1
- package/dist/assets/{app-store-DYes1MGQ.js → app-store-Cpr2M8rP.js} +1 -1
- package/dist/assets/{apple-DZowsurs.js → apple-B2gNLVA4.js} +1 -1
- package/dist/assets/{arrow-bottom-B3QQ_djx.js → arrow-bottom-CSdZ5X4n.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-C8bClnXr.js → arrow-bottom-circle-Blwh69Ng.js} +1 -1
- package/dist/assets/{arrow-left-CXCdb9O8.js → arrow-left-MGZt6TOa.js} +1 -1
- package/dist/assets/{arrow-right-BZonfdRR.js → arrow-right-DfIoDGDt.js} +1 -1
- package/dist/assets/{arrow-top-CuDvTwr6.js → arrow-top-CBoEVCw-.js} +1 -1
- package/dist/assets/{avatar-B6eMzoaJ.js → avatar-C_0nXSDd.js} +1 -1
- package/dist/assets/{bank-DjJDw6f5.js → bank-DGpIJkS2.js} +1 -1
- package/dist/assets/{basic-CsrjmNVE.js → basic-CuebNvqA.js} +1 -1
- package/dist/assets/{browser-DcLR-F5J.js → browser-Ctex1QjC.js} +1 -1
- package/dist/assets/{byokCredential-CveQXiwY.js → byokCredential-BWjQkRsH.js} +1 -1
- package/dist/assets/{card-BWDYTo8D.js → card-CG8RnMev.js} +1 -1
- package/dist/assets/{castArray-Cr6jBNxz.js → castArray-DHSoEYfB.js} +1 -1
- package/dist/assets/{chat-Dif3Drf2.js → chat-N0E-ZDIJ.js} +1 -1
- package/dist/assets/{checkmark-BCMmRZtd.js → checkmark-DkovB8tT.js} +1 -1
- package/dist/assets/{checkmark-bold-8LJevKid.js → checkmark-bold-CmfbyRg3.js} +1 -1
- package/dist/assets/{chevron-bottom-B6z4rXrZ.js → chevron-bottom-Cd2Tu5bo.js} +1 -1
- package/dist/assets/{chevron-left-Cjk2gFUW.js → chevron-left-OKfxqlAy.js} +1 -1
- package/dist/assets/{chevron-right-CVPhOI5c.js → chevron-right-DQ7Z4Pzi.js} +1 -1
- package/dist/assets/{chevron-top-gOp6gS-a.js → chevron-top-C8L6Du0g.js} +1 -1
- package/dist/assets/{chrome-store-Cp1Ruca7.js → chrome-store-CYDSOc5F.js} +1 -1
- package/dist/assets/{clock-BAsmuhYZ.js → clock-DpUNbUFo.js} +1 -1
- package/dist/assets/{close-Bctu4BTt.js → close-Ws5S1UUX.js} +1 -1
- package/dist/assets/{coinPlaceholder-B-ZrTXiG.js → coinPlaceholder-Fj74QJ3g.js} +1 -1
- package/dist/assets/{compass-BUTISxC6.js → compass-ByoxgNTX.js} +1 -1
- package/dist/assets/{copy-xi4iwM_X.js → copy-BNiMlRSf.js} +1 -1
- package/dist/assets/{cursor-C1t3KUov.js → cursor-DQWmzmEA.js} +1 -1
- package/dist/assets/{cursor-transparent-BwrkbtCV.js → cursor-transparent-DBZG5eyO.js} +1 -1
- package/dist/assets/{debounce-B33E3nVs.js → debounce-DFdNvHt7.js} +1 -1
- package/dist/assets/{desktop-C4B15tVh.js → desktop-mmp0UNY_.js} +1 -1
- package/dist/assets/{disconnect-rC4Q1w7f.js → disconnect-AlEyitQW.js} +1 -1
- package/dist/assets/{discord-C7n2xAWr.js → discord-ADQs0REe.js} +1 -1
- package/dist/assets/{distribution-DfJ0ixDg.js → distribution-CNa27ud-.js} +1 -1
- package/dist/assets/{dropdown-kw0BuWgm.js → dropdown-B4LEyqVL.js} +1 -1
- package/dist/assets/{etherscan-Ceu--KCW.js → etherscan-DEd8oG7n.js} +1 -1
- package/dist/assets/{exclamation-triangle-CClO-LfT.js → exclamation-triangle-0KvGagRT.js} +1 -1
- package/dist/assets/{extension-DrBzBcK1.js → extension-DtOGbK7v.js} +1 -1
- package/dist/assets/{external-link-C0jKB-JN.js → external-link-CcVK_B8F.js} +1 -1
- package/dist/assets/{facebook-BzcQQRNf.js → facebook-NOzOIVYQ.js} +1 -1
- package/dist/assets/{farcaster-BRM1QLyG.js → farcaster-BonGQmpi.js} +1 -1
- package/dist/assets/{filters-bcmarjI9.js → filters-HqYGvr_4.js} +1 -1
- package/dist/assets/{flux-DFMwZJGw.js → flux-BGInhSYQ.js} +1 -1
- package/dist/assets/{github-TsDVIS4N.js → github-ClBEbjZa.js} +1 -1
- package/dist/assets/{google-7DY_W5Ty.js → google-CrqmqxTx.js} +1 -1
- package/dist/assets/{hailuo-C8jevhy6.js → hailuo-CX-XlX2C.js} +1 -1
- package/dist/assets/{headshots-_wijy9XU.js → headshots-GtpOarsr.js} +1 -1
- package/dist/assets/{help-circle-Bq3q2IGu.js → help-circle-DOOoPv1d.js} +1 -1
- package/dist/assets/{id-BYboE6CE.js → id-CawcJkZm.js} +1 -1
- package/dist/assets/{image-P0Md064f.js → image-Dn8ALFbN.js} +1 -1
- package/dist/assets/{index-B5hyE4AW.js → index-6Q9t1Ed7.js} +1 -1
- package/dist/assets/{index-De8poNhD.js → index-B8EX_4nN.js} +1 -1
- package/dist/assets/{index-CrWlnrP3.js → index-B9OdoFRK.js} +1 -1
- package/dist/assets/{index-DF-ajBro.js → index-B9mkebXK.js} +1 -1
- package/dist/assets/{index-CuOn0cve.js → index-BA6OnlkK.js} +1 -1
- package/dist/assets/{index-BYkTFYMt.js → index-BOrdfXm0.js} +1 -1
- package/dist/assets/{index-Cn1WD7CQ.js → index-BSEftxF2.js} +1 -1
- package/dist/assets/{index-B0cZxMGn.js → index-BVSZEBka.js} +1 -1
- package/dist/assets/{index-Dfuf4hV8.js → index-BVuNfJJ8.js} +1 -1
- package/dist/assets/{index-CkzWWwXR.js → index-BY-ZoC5t.js} +1 -1
- package/dist/assets/{index-DZRC77E7.js → index-B_MYkK-X.js} +1 -1
- package/dist/assets/{index-CK3q16mg.js → index-BhYqPLDH.js} +1 -1
- package/dist/assets/{index-nBV877fl.js → index-BkovYRqP.js} +1 -1
- package/dist/assets/{index-Oj8frgKw.js → index-BqNMJBya.js} +1 -1
- package/dist/assets/{index-DovbXrIj.js → index-BuLn0ty3.js} +1 -1
- package/dist/assets/index-BySAK20i.js +1 -0
- package/dist/assets/{index-CsHdiBs1.js → index-C-9tE9fE.js} +1 -1
- package/dist/assets/{index-55Ti88eC.js → index-C37xDdHA.js} +1 -1
- package/dist/assets/{index-CTe9FU9p.js → index-CDyDMl98.js} +1 -1
- package/dist/assets/{index--wUfG14e.js → index-COEVVJJm.js} +1 -1
- package/dist/assets/{index-D7OtGD-R.js → index-CWFxDYqD.js} +1 -1
- package/dist/assets/{index-CqYZZSuZ.js → index-CdxDC4r-.js} +1 -1
- package/dist/assets/{index-Bh7n0iz-.js → index-Ce2YPDz8.js} +1 -1
- package/dist/assets/{index-CLv2jB4t.js → index-CehQDxZn.js} +1 -1
- package/dist/assets/{index-BKTgDOAX.js → index-ChsgTrac.js} +1 -1
- package/dist/assets/{index-WaGmuLF_.js → index-CiE6dz8g.js} +1 -1
- package/dist/assets/{index-CQgAso6w.js → index-Ck1f0PLc.js} +1 -1
- package/dist/assets/{index-dC-jhKsa.js → index-ClVmOtxV.js} +1 -1
- package/dist/assets/{index-BWZhftxf.js → index-CuU9sKqj.js} +1 -1
- package/dist/assets/{index-BsRfVOBi.js → index-Czmk9Vo5.js} +12 -12
- package/dist/assets/{index-CPSZIRvj.js → index-D0UVYFIw.js} +1 -1
- package/dist/assets/{index-DbZpMboa.js → index-D3GgdGNu.js} +1 -1
- package/dist/assets/{index-BaDxF_q3.js → index-D7X8R8q8.js} +1 -1
- package/dist/assets/{index-jF2Iai5A.js → index-DD9NuB8c.js} +1 -1
- package/dist/assets/{index-DvCISiVL.js → index-DHH-Zy_S.js} +1 -1
- package/dist/assets/{index-BQuDBYFl.js → index-DJuQtkyB.js} +3 -3
- package/dist/assets/{index-DmkIW0uH.js → index-DK7Kx24U.js} +1 -1
- package/dist/assets/{index-K7_I_RzW.js → index-DKqFJCvG.js} +1 -1
- package/dist/assets/{index-BkIiyfsz.js → index-DPE5ox0W.js} +1 -1
- package/dist/assets/{index-IQvl3A6E.js → index-DQsoiO0k.js} +1 -1
- package/dist/assets/{index-jr--EmKn.js → index-DVILE-GE.js} +1 -1
- package/dist/assets/{index-DPToRbcZ.css → index-DXyWd_Ff.css} +1 -1
- package/dist/assets/{index-DYBs-y3Q.js → index-DnVPyvwY.js} +1 -1
- package/dist/assets/{index-CBAIFx_C.js → index-DtJfBmV5.js} +1 -1
- package/dist/assets/{index-Bpxuylhg.js → index-DuY0d_Dx.js} +1 -1
- package/dist/assets/{index-NCp42kHn.js → index-Duqnk6y3.js} +1 -1
- package/dist/assets/{index-BcwCm8hF.js → index-HRknSgqZ.js} +1 -1
- package/dist/assets/{index-DW7KHmlm.js → index-LidlhdYE.js} +1 -1
- package/dist/assets/{index-DzuzKTw-.js → index-O2goqxN2.js} +1 -1
- package/dist/assets/{index-SfA9GAle.js → index-O4TX7hsc.js} +1 -1
- package/dist/assets/{index-C56sWkbl.js → index-U5TlZmGP.js} +1 -1
- package/dist/assets/{index-BhkXWBka.js → index-UQ-5wmiw.js} +1 -1
- package/dist/assets/{index-phXIfkjg.js → index-UW3Sx-3s.js} +1 -1
- package/dist/assets/{index-uOLOjutN.js → index-We5OlH6O.js} +1 -1
- package/dist/assets/{index-DZik69ds.js → index-eB_C8weR.js} +1 -1
- package/dist/assets/{index-DLtP01HC.js → index-gSZh88yT.js} +1 -1
- package/dist/assets/{index-D2fTt0Vt.js → index-kYMeyNFG.js} +1 -1
- package/dist/assets/{index-DZLY1Xbd.js → index-nh7FOxiG.js} +1 -1
- package/dist/assets/{index-dKU-sdTo.js → index-ojdxBcnO.js} +6 -6
- package/dist/assets/{index-D8Br_0xx.js → index-pCQhMpJj.js} +1 -1
- package/dist/assets/{index-E5hBoGm2.js → index-qtV91ZbD.js} +1 -1
- package/dist/assets/{index-eRIHLqvd.js → index-ul7ITtMB.js} +1 -1
- package/dist/assets/{index.browser.esm-CjpoENee.js → index.browser.esm-CBVq50TP.js} +1 -1
- package/dist/assets/{index.es-H0XarL6f.js → index.es-6Y-zE2ze.js} +1 -1
- package/dist/assets/{info-nKhn6iMF.js → info-CKQ87Exu.js} +1 -1
- package/dist/assets/{info-circle-D1CrhhaC.js → info-circle-CylG5cgj.js} +1 -1
- package/dist/assets/{isEqual-_nN4ehvi.js → isEqual-DlunMOKg.js} +1 -1
- package/dist/assets/{isPlainObject-DzzmmhYH.js → isPlainObject-B8td5WUA.js} +1 -1
- package/dist/assets/{kling-Da_cMQ16.js → kling-BRVdX3Pd.js} +1 -1
- package/dist/assets/kling-CJ-YFaJk.js +1 -0
- package/dist/assets/kling-D4qggOqj.js +1 -0
- package/dist/assets/{lightbulb-B5_spwGA.js → lightbulb-C8MmxeAe.js} +1 -1
- package/dist/assets/{luma-CA080Jyp.js → luma-BLLctpmL.js} +1 -1
- package/dist/assets/{mail-CI9DF8jM.js → mail-BqUXM8OY.js} +1 -1
- package/dist/assets/{midjourney-C_T6XIxb.js → midjourney-BS4xLpAe.js} +1 -1
- package/dist/assets/{mobile-BjFRkGwE.js → mobile-Dhj_AZpv.js} +1 -1
- package/dist/assets/{more-DAAHOgHT.js → more-CnlIoHj4.js} +1 -1
- package/dist/assets/{nanobanana-Bt70rsDJ.js → nanobanana-Bxt_qjAC.js} +1 -1
- package/dist/assets/{network-placeholder-D68_SBle.js → network-placeholder-BPF8lqNW.js} +1 -1
- package/dist/assets/{nftPlaceholder-BDtqDAcG.js → nftPlaceholder-BGtgkgPF.js} +1 -1
- package/dist/assets/{off-FOGupjYW.js → off-B7MuPQtM.js} +1 -1
- package/dist/assets/{openaiimage-BX9LBZC3.js → openaiimage-D9IqRK26.js} +1 -1
- package/dist/assets/{order-CoRjVFQA.js → order-BH7cxQeS.js} +1 -1
- package/dist/assets/{pika-C8DRu6Dt.js → pika-BSMtqSX_.js} +1 -1
- package/dist/assets/{pixverse-BFYaWrPf.js → pixverse-BFgkYesY.js} +1 -1
- package/dist/assets/{play-store-_l2bSTU_.js → play-store-TGJyXK1Q.js} +1 -1
- package/dist/assets/{plus-BiXjyKs2.js → plus-XT-eqdhn.js} +1 -1
- package/dist/assets/{price-DqpsQ3Zn.js → price-Dn2q_6i-.js} +1 -1
- package/dist/assets/{producer-BAJ_MmUy.js → producer-Bf_GqfWG.js} +1 -1
- package/dist/assets/{qr-code-CqzRLJII.js → qr-code-CXK4cr2G.js} +1 -1
- package/dist/assets/{qrart-DQuZgEzX.js → qrart-xDF7AILA.js} +1 -1
- package/dist/assets/{recycle-horizontal-DemaZ4Fl.js → recycle-horizontal-DcTbhHGD.js} +1 -1
- package/dist/assets/{refresh-CLWOXMhW.js → refresh-OwyoLp91.js} +1 -1
- package/dist/assets/{reown-logo-CY_263id.js → reown-logo-DMnA-2JS.js} +1 -1
- package/dist/assets/{search-IsV-qGd5.js → search-D5eWuot6.js} +1 -1
- package/dist/assets/{secp256k1-DgyrCZG-.js → secp256k1-BdO14UZh.js} +1 -1
- package/dist/assets/{secp256k1-B9BKCSGW.js → secp256k1-CgpRTl6a.js} +1 -1
- package/dist/assets/{seedance-544YW6qu.js → seedance-CpnM7-u5.js} +1 -1
- package/dist/assets/{seedream-DyUxhYzT.js → seedream-CsX2K46a.js} +1 -1
- package/dist/assets/{send-DdzhR5m3.js → send-xhrly_xY.js} +1 -1
- package/dist/assets/{service-BVkJoaxT.js → service-C9jfUCX7.js} +1 -1
- package/dist/assets/{solana-wallets-B7ChUBSF.js → solana-wallets-BOQmHms_.js} +2 -2
- package/dist/assets/{solana-wallets-vue-Bi1HI9AK.js → solana-wallets-vue-CANL4OQw.js} +1 -1
- package/dist/assets/{solanaEmbed.esm-CAltKpc0.js → solanaEmbed.esm-8KqNR-sn.js} +1 -1
- package/dist/assets/{sora-CB9I1_b_.js → sora-CYBO9z5Y.js} +1 -1
- package/dist/assets/{string_decoder-UrqADBRg.js → string_decoder-D-jcm-Dk.js} +1 -1
- package/dist/assets/{suno-DtRdI8UN.js → suno-Chm4xEDj.js} +1 -1
- package/dist/assets/{swapHorizontal-nxYoArxt.js → swapHorizontal-Bk3hVCbh.js} +1 -1
- package/dist/assets/{swapHorizontalBold-DOMiR_6X.js → swapHorizontalBold-CjeXwf_P.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-D-3Wz8Xi.js → swapHorizontalMedium-BB5MHEUJ.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-DgN3y5qt.js → swapHorizontalRoundedBold-DxZ-xpsB.js} +1 -1
- package/dist/assets/{swapVertical-C8PcDY67.js → swapVertical-Q75evzxh.js} +1 -1
- package/dist/assets/{telegram-XLeOAo9a.js → telegram-2TYC5sx0.js} +1 -1
- package/dist/assets/{three-dots-D9nAz6RG.js → three-dots-G9V-z3T6.js} +1 -1
- package/dist/assets/{twitch-DOX2stia.js → twitch-CmPDDnCI.js} +1 -1
- package/dist/assets/{twitterIcon-DgAqvIwG.js → twitterIcon-B21mN7tu.js} +1 -1
- package/dist/assets/{typescript-WpKkv8A8.js → typescript-C9zgpbNj.js} +1 -1
- package/dist/assets/{use-form-item-Bo5JE5VW.js → use-form-item-C_iVSxIM.js} +1 -1
- package/dist/assets/validator-C2BgMW0V.js +1 -0
- package/dist/assets/{veo-BcyekwTm.js → veo-Dwokt1fP.js} +1 -1
- package/dist/assets/{verify-CLGteuXB.js → verify-b1oNiZwm.js} +1 -1
- package/dist/assets/{verify-filled-Ce2Bwlki.js → verify-filled-jTkJ4g-H.js} +1 -1
- package/dist/assets/{w3m-modal-BfCaNDol.js → w3m-modal-Nh4Y9zpg.js} +1 -1
- package/dist/assets/{wallet-BdBYm2cG.js → wallet-BhS07gvy.js} +1 -1
- package/dist/assets/{wallet-placeholder-DTXACgQU.js → wallet-placeholder-BJXTyqc5.js} +1 -1
- package/dist/assets/{walletconnect-1SanmzSB.js → walletconnect-e1pt9ptA.js} +1 -1
- package/dist/assets/{wan--NcTM2Wa.js → wan-CKyazoG5.js} +1 -1
- package/dist/assets/{warning-circle-Dr2fbaL6.js → warning-circle-D3Sk_HBx.js} +1 -1
- package/dist/assets/{web-CCTzLpxX.js → web-DEG_yIev.js} +1 -1
- package/dist/assets/{web-Dyt-BuYG.js → web-DWoNMDdW.js} +1 -1
- package/dist/assets/{x-CLfMo0JB.js → x-vVLO8BbZ.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/Index-CD72JKfq.js +0 -1
- package/dist/assets/Index-Dh4UwaFK.css +0 -1
- package/dist/assets/index-B9pLYmCM.js +0 -1
- package/dist/assets/kling-0D-DKLa4.js +0 -1
- package/dist/assets/kling-CWQMX9wl.js +0 -1
- package/dist/assets/validator-CpqS5Owc.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aW as L,aX as v,aY as M}from"./index-
|
|
1
|
+
import{aW as L,aX as v,aY as M}from"./index-Czmk9Vo5.js";var N=/\s/;function B(n){for(var r=n.length;r--&&N.test(n.charAt(r)););return r}var R=/^\s+/;function $(n){return n&&n.slice(0,B(n)+1).replace(R,"")}var W=NaN,F=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,_=/^0o[0-7]+$/i,j=parseInt;function k(n){if(typeof n=="number")return n;if(L(n))return W;if(v(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=v(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=$(n);var t=X.test(n);return t||_.test(n)?j(n.slice(2),t?2:8):F.test(n)?W:+n}var h=function(){return M.Date.now()},D="Expected a function",H=Math.max,P=Math.min;function Y(n,r,t){var u,c,l,s,i,f,d=0,p=!1,o=!1,T=!0;if(typeof n!="function")throw new TypeError(D);r=k(r)||0,v(t)&&(p=!!t.leading,o="maxWait"in t,l=o?H(k(t.maxWait)||0,r):l,T="trailing"in t?!!t.trailing:T);function x(e){var a=u,m=c;return u=c=void 0,d=e,s=n.apply(m,a),s}function S(e){return d=e,i=setTimeout(g,r),p?x(e):s}function O(e){var a=e-f,m=e-d,E=r-a;return o?P(E,l-m):E}function y(e){var a=e-f,m=e-d;return f===void 0||a>=r||a<0||o&&m>=l}function g(){var e=h();if(y(e))return b(e);i=setTimeout(g,O(e))}function b(e){return i=void 0,T&&u?x(e):(u=c=void 0,s)}function A(){i!==void 0&&clearTimeout(i),d=0,u=f=c=i=void 0}function C(){return i===void 0?s:b(h())}function I(){var e=h(),a=y(e);if(u=arguments,c=this,f=e,a){if(i===void 0)return S(f);if(o)return clearTimeout(i),i=setTimeout(g,r),x(f)}return i===void 0&&(i=setTimeout(g,r)),s}return I.cancel=A,I.flush=C,I}export{Y as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<g clip-path="url(#b)">
|
|
4
4
|
<circle cx="20" cy="19.89" r="20" fill="#5865F2" />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i}from"./index-
|
|
1
|
+
import{h as i}from"./index-Czmk9Vo5.js";class e{key="distribution-histories";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}}const l=new e;class r{key="distribution-statuses";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}async initialize(){return await i.post(`/${this.key}/initialize/`)}}const c=new r;class a{key="distribution-levels";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}}const u=new a;class n{key="shorturl";async create(t){return await i.post(`/${this.key}`,{content:t})}}const y=new n;export{c as a,l as b,u as d,y as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as E,r as S,c as b}from"./index-
|
|
1
|
+
import{b as E,r as S,c as b}from"./index-LidlhdYE.js";import{y as C,H as m,aN as e,I as o,N as L}from"./index-Czmk9Vo5.js";import{z as y,d as T,i as $,o as M,u as f,a6 as h,b as _,p as I}from"./vendor-vue-C5BV5QrY.js";const w=T({inheritAttrs:!1});function v(n,s,a,r,i,d){return y(n.$slots,"default")}var A=C(w,[["render",v],["__file","collection.vue"]]);const B=T({name:"ElCollectionItem",inheritAttrs:!1});function K(n,s,a,r,i,d){return y(n.$slots,"default")}var P=C(B,[["render",K],["__file","collection-item.vue"]]);const x="data-el-collection-item",Y=n=>{const s=`El${n}Collection`,a=`${s}Item`,r=Symbol(s),i=Symbol(a),d={...A,name:s,setup(){const u=_(),c=new Map;I(r,{itemMap:c,getItems:()=>{const l=f(u);if(!l)return[];const t=Array.from(l.querySelectorAll(`[${x}]`));return[...c.values()].sort((O,g)=>t.indexOf(O.ref)-t.indexOf(g.ref))},collectionRef:u})}},N={...P,name:a,setup(u,{attrs:c}){const p=_(),l=$(r,void 0);I(i,{collectionItemRef:p}),M(()=>{const t=f(p);t&&l.itemMap.set(t,{ref:t,...c})}),h(()=>{const t=f(p);l.itemMap.delete(t)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:i,ElCollection:d,ElCollectionItem:N}},H=m({trigger:b.trigger,triggerKeys:{type:o(Array),default:()=>[e.enter,e.numpadEnter,e.space,e.down]},effect:{...E.effect,default:"light"},type:{type:o(String)},placement:{type:o(String),default:"bottom"},popperOptions:{type:o(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:o([Number,String]),default:0},maxHeight:{type:o([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:S,default:"menu"},buttonProps:{type:o(Object)},teleported:E.teleported,persistent:{type:Boolean,default:!0}}),U=m({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:L}}),V=m({onKeydown:{type:o(Function)}}),j=[e.down,e.pageDown,e.home],F=[e.up,e.pageUp,e.end],k=[...j,...F],{ElCollection:q,ElCollectionItem:G,COLLECTION_INJECTION_KEY:W,COLLECTION_ITEM_INJECTION_KEY:Q}=Y("Dropdown");export{Q as C,q as E,k as F,F as L,U as a,x as b,Y as c,H as d,G as e,V as f,W as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./index-
|
|
1
|
+
import{w as C}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const w=C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
|
|
3
3
|
</svg>
|
|
4
4
|
`;export{w as exclamationTriangleSvg};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as a}from"./index-
|
|
1
|
+
import{w as a}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const n=a`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<g clip-path="url(#b)">
|
|
4
4
|
<circle cx="20" cy="19.89" r="20" fill="#1877F2" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as h}from"./index-
|
|
1
|
+
import{w as h}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const e=h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
|
|
2
2
|
<rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
|
|
3
3
|
<path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
|
|
4
4
|
<path
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-Czmk9Vo5.js";class n{async task(a,t){return await e.post("/flux/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/flux/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/flux/images",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new n;export{c as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as i}from"./index-
|
|
1
|
+
import{w as i}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<g clip-path="url(#b)">
|
|
4
4
|
<circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const g=o`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<path
|
|
3
3
|
fill="#4285F4"
|
|
4
4
|
d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-Czmk9Vo5.js";class i{async task(a,t){return await e.post("/hailuo/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/hailuo/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/hailuo/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new i;export{c as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-
|
|
1
|
+
import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-Czmk9Vo5.js";class s{async task(a,t){return await e.post("/headshots/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/headshots/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/headshots/generate",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new s;export{c as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./index-
|
|
1
|
+
import{w as o}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as c}from"./index-
|
|
1
|
+
import{w as c}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const l=c`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="28"
|
|
4
4
|
height="28"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as C}from"./index-
|
|
1
|
+
import{w as C}from"./index-ojdxBcnO.js";import"./index.browser.esm-CBVq50TP.js";import"./vendor-dayjs-Cvgzdobq.js";import"./index-Czmk9Vo5.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-CVHPJfCy.js";import"./signer-Bt6hppoz.js";import"./types-Cvj5H4DH.js";const v=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
2
2
|
<path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
|
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
|
|
4
4
|
</svg>`;export{v as imageSvg};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as te,r as Ie,w as de,o as Ae,ah as je,q as B,H as X,G as Te,u as t,U as ve,Q as O,z as be,C as ce,y as ae,x as Z,J as re,af as Je,M as Ve,b as ee,c as V,S as xe,g as me,i as Qe,n as ye,a2 as Me,E as oe,F as qe,R as le,h as Ze,a as De,p as et,O as ge,N as ke}from"./vendor-vue-C5BV5QrY.js";import{u as pe}from"./typescript-WpKkv8A8.js";import{E as tt}from"./index-D7OtGD-R.js";import{U as Y,L as F,bC as fe,J as D,M as Se,H as Ne,bh as Pe,I as ue,y as Ce,ae as Ke,z as Ee,O as Xe,P as nt,bO as lt,c8 as at,R as Fe,c9 as rt,bN as ot,a1 as he,T as Oe,Q as we,A as Ye,aN as Q}from"./index-BsRfVOBi.js";import{u as Ue}from"./index-55Ti88eC.js";import{v as ze}from"./index-D-qg-A9-.js";import{u as We,a as ut}from"./use-form-item-Bo5JE5VW.js";import{e as Ge,E as st}from"./index-DW7KHmlm.js";import{d as Re}from"./debounce-B33E3nVs.js";const it=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:Pe,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||F(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...Ue(["ariaLabel"]),inputmode:{type:ue(String),default:void 0}}),dt={[Se]:(e,l)=>l!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[D]:e=>F(e)||fe(e),[Y]:e=>F(e)||fe(e)},ct=te({name:"ElInputNumber"}),mt=te({...ct,props:it,emits:dt,setup(e,{expose:l,emit:u}){const a=e,{t:f}=Ke(),c=Ee("input-number"),i=ee(),s=Ie({currentValue:a.modelValue,userInput:null}),{formItem:w}=We(),g=V(()=>F(a.modelValue)&&a.modelValue<=a.min),y=V(()=>F(a.modelValue)&&a.modelValue>=a.max),m=V(()=>{const n=A(a.step);return he(a.precision)?Math.max(A(a.modelValue),n):(n>a.precision,a.precision)}),k=V(()=>a.controls&&a.controlsPosition==="right"),$=Xe(),z=nt(),R=V(()=>{if(s.userInput!==null)return s.userInput;let n=s.currentValue;if(fe(n))return"";if(F(n)){if(Number.isNaN(n))return"";he(a.precision)||(n=n.toFixed(a.precision))}return n}),T=(n,r)=>{if(he(r)&&(r=m.value),r===0)return Math.round(n);let d=String(n);const p=d.indexOf(".");if(p===-1||!d.replace(".","").split("")[p+r])return n;const x=d.length;return d.charAt(x-1)==="5"&&(d=`${d.slice(0,Math.max(0,x-1))}6`),Number.parseFloat(Number(d).toFixed(r))},A=n=>{if(fe(n))return 0;const r=n.toString(),d=r.indexOf(".");let p=0;return d!==-1&&(p=r.length-d-1),p},M=(n,r=1)=>F(n)?n>=Number.MAX_SAFE_INTEGER&&r===1||n<=Number.MIN_SAFE_INTEGER&&r===-1?n:T(n+a.step*r):s.currentValue,K=()=>{if(a.readonly||z.value||y.value)return;const n=Number(R.value)||0,r=M(n);C(r),u(D,s.currentValue),S()},P=()=>{if(a.readonly||z.value||g.value)return;const n=Number(R.value)||0,r=M(n,-1);C(r),u(D,s.currentValue),S()},I=(n,r)=>{const{max:d,min:p,step:h,precision:N,stepStrictly:x,valueOnClear:_}=a;d<p&&Oe("InputNumber","min should not be greater than max.");let o=Number(n);if(fe(n)||Number.isNaN(o))return null;if(n===""){if(_===null)return null;o=xe(_)?{min:p,max:d}[_]:_}return x&&(o=T(Math.round(o/h)*h,N),o!==n&&r&&u(Y,o)),he(N)||(o=T(o,N)),(o>d||o<p)&&(o=o>d?d:p,r&&u(Y,o)),o},C=(n,r=!0)=>{var d;const p=s.currentValue,h=I(n);if(!r){u(Y,h);return}p===h&&n||(s.userInput=null,u(Y,h),p!==h&&u(Se,h,p),a.validateEvent&&((d=w?.validate)==null||d.call(w,"change").catch(N=>we())),s.currentValue=h)},G=n=>{s.userInput=n;const r=n===""?null:Number(n);u(D,r),C(r,!1)},ne=n=>{const r=n!==""?Number(n):"";(F(r)&&!Number.isNaN(r)||n==="")&&C(r),S(),s.userInput=null},H=()=>{var n,r;(r=(n=i.value)==null?void 0:n.focus)==null||r.call(n)},U=()=>{var n,r;(r=(n=i.value)==null?void 0:n.blur)==null||r.call(n)},j=n=>{u("focus",n)},v=n=>{var r,d;s.userInput=null,s.currentValue===null&&((r=i.value)!=null&&r.input)&&(i.value.input.value=""),u("blur",n),a.validateEvent&&((d=w?.validate)==null||d.call(w,"blur").catch(p=>we()))},S=()=>{s.currentValue!==a.modelValue&&(s.currentValue=a.modelValue)},L=n=>{document.activeElement===n.target&&n.preventDefault()};return de(()=>a.modelValue,(n,r)=>{const d=I(n,!0);s.userInput===null&&d!==r&&(s.currentValue=d)},{immediate:!0}),Ae(()=>{var n;const{min:r,max:d,modelValue:p}=a,h=(n=i.value)==null?void 0:n.input;if(h.setAttribute("role","spinbutton"),Number.isFinite(d)?h.setAttribute("aria-valuemax",String(d)):h.removeAttribute("aria-valuemax"),Number.isFinite(r)?h.setAttribute("aria-valuemin",String(r)):h.removeAttribute("aria-valuemin"),h.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),h.setAttribute("aria-disabled",String(z.value)),!F(p)&&p!=null){let N=Number(p);Number.isNaN(N)&&(N=null),u(Y,N)}h.addEventListener("wheel",L,{passive:!1})}),je(()=>{var n,r;const d=(n=i.value)==null?void 0:n.input;d?.setAttribute("aria-valuenow",`${(r=s.currentValue)!=null?r:""}`)}),l({focus:H,blur:U}),(n,r)=>(B(),X("div",{class:O([t(c).b(),t(c).m(t($)),t(c).is("disabled",t(z)),t(c).is("without-controls",!n.controls),t(c).is("controls-right",t(k))]),onDragstart:Ve(()=>{},["prevent"])},[n.controls?Te((B(),X("span",{key:0,role:"button","aria-label":t(f)("el.inputNumber.decrease"),class:O([t(c).e("decrease"),t(c).is("disabled",t(g))]),onKeydown:ve(P,["enter"])},[be(n.$slots,"decrease-icon",{},()=>[ce(t(Fe),null,{default:ae(()=>[t(k)?(B(),Z(t(lt),{key:0})):(B(),Z(t(at),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[t(ze),P]]):re("v-if",!0),n.controls?Te((B(),X("span",{key:1,role:"button","aria-label":t(f)("el.inputNumber.increase"),class:O([t(c).e("increase"),t(c).is("disabled",t(y))]),onKeydown:ve(K,["enter"])},[be(n.$slots,"increase-icon",{},()=>[ce(t(Fe),null,{default:ae(()=>[t(k)?(B(),Z(t(rt),{key:0})):(B(),Z(t(ot),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[t(ze),K]]):re("v-if",!0),ce(t(tt),{id:n.id,ref_key:"input",ref:i,type:"number",step:n.step,"model-value":t(R),placeholder:n.placeholder,readonly:n.readonly,disabled:t(z),size:t($),max:n.max,min:n.min,name:n.name,"aria-label":n.ariaLabel,"validate-event":!1,inputmode:n.inputmode,onKeydown:[ve(Ve(K,["prevent"]),["up"]),ve(Ve(P,["prevent"]),["down"])],onBlur:v,onFocus:j,onInput:G,onChange:ne},Je({_:2},[n.$slots.prefix?{name:"prefix",fn:ae(()=>[be(n.$slots,"prefix")])}:void 0,n.$slots.suffix?{name:"suffix",fn:ae(()=>[be(n.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","onKeydown"])],42,["onDragstart"]))}});var ft=Ce(mt,[["__file","input-number.vue"]]);const vt=Ye(ft),He=Symbol("sliderContextKey"),bt=Ne({modelValue:{type:ue([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:Pe,inputSize:Pe,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:ue(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:ue(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ge,default:"top"},marks:{type:ue(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Ue(["ariaLabel"])}),Be=e=>F(e)||me(e)&&e.every(F),gt={[Y]:Be,[D]:Be,[Se]:Be},ht=Ne({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ge,default:"top"}}),Vt={[Y]:e=>F(e)},yt=(e,l,u)=>{const a=ee(),f=ee(!1),c=V(()=>l.value instanceof Function),i=V(()=>c.value&&l.value(e.modelValue)||e.modelValue),s=Re(()=>{u.value&&(f.value=!0)},50),w=Re(()=>{u.value&&(f.value=!1)},50);return{tooltip:a,tooltipVisible:f,formatValue:i,displayTooltip:s,hideTooltip:w}},pt=(e,l,u)=>{const{disabled:a,min:f,max:c,step:i,showTooltip:s,persistent:w,precision:g,sliderSize:y,formatTooltip:m,emitChange:k,resetSize:$,updateDragging:z}=Qe(He),{tooltip:R,tooltipVisible:T,formatValue:A,displayTooltip:M,hideTooltip:K}=yt(e,m,s),P=ee(),I=V(()=>`${(e.modelValue-f.value)/(c.value-f.value)*100}%`),C=V(()=>e.vertical?{bottom:I.value}:{left:I.value}),G=()=>{l.hovering=!0,M()},ne=()=>{l.hovering=!1,l.dragging||K()},H=o=>{a.value||(o.preventDefault(),h(o),window.addEventListener("mousemove",N),window.addEventListener("touchmove",N),window.addEventListener("mouseup",x),window.addEventListener("touchend",x),window.addEventListener("contextmenu",x),P.value.focus())},U=o=>{a.value||(l.newPosition=Number.parseFloat(I.value)+o/(c.value-f.value)*100,_(l.newPosition),k())},j=()=>{U(-i.value)},v=()=>{U(i.value)},S=()=>{U(-i.value*4)},L=()=>{U(i.value*4)},n=()=>{a.value||(_(0),k())},r=()=>{a.value||(_(100),k())},d=o=>{let E=!0;switch(o.code){case Q.left:case Q.down:j();break;case Q.right:case Q.up:v();break;case Q.home:n();break;case Q.end:r();break;case Q.pageDown:S();break;case Q.pageUp:L();break;default:E=!1;break}E&&o.preventDefault()},p=o=>{let E,W;return o.type.startsWith("touch")?(W=o.touches[0].clientY,E=o.touches[0].clientX):(W=o.clientY,E=o.clientX),{clientX:E,clientY:W}},h=o=>{l.dragging=!0,l.isClick=!0;const{clientX:E,clientY:W}=p(o);e.vertical?l.startY=W:l.startX=E,l.startPosition=Number.parseFloat(I.value),l.newPosition=l.startPosition},N=o=>{if(l.dragging){l.isClick=!1,M(),$();let E;const{clientX:W,clientY:J}=p(o);e.vertical?(l.currentY=J,E=(l.startY-l.currentY)/y.value*100):(l.currentX=W,E=(l.currentX-l.startX)/y.value*100),l.newPosition=l.startPosition+E,_(l.newPosition)}},x=()=>{l.dragging&&(setTimeout(()=>{l.dragging=!1,l.hovering||K(),l.isClick||_(l.newPosition),k()},0),window.removeEventListener("mousemove",N),window.removeEventListener("touchmove",N),window.removeEventListener("mouseup",x),window.removeEventListener("touchend",x),window.removeEventListener("contextmenu",x))},_=async o=>{if(o===null||Number.isNaN(+o))return;o<0?o=0:o>100&&(o=100);const E=100/((c.value-f.value)/i.value);let J=Math.round(o/E)*E*(c.value-f.value)*.01+f.value;J=Number.parseFloat(J.toFixed(g.value)),J!==e.modelValue&&u(Y,J),!l.dragging&&e.modelValue!==l.oldValue&&(l.oldValue=e.modelValue),await ye(),l.dragging&&M(),R.value.updatePopper()};return de(()=>l.dragging,o=>{z(o)}),pe(P,"touchstart",H,{passive:!1}),{disabled:a,button:P,tooltip:R,tooltipVisible:T,showTooltip:s,persistent:w,wrapperStyle:C,formatValue:A,handleMouseEnter:G,handleMouseLeave:ne,onButtonDown:H,onKeyDown:d,setPosition:_}},wt=te({name:"ElSliderButton"}),St=te({...wt,props:ht,emits:Vt,setup(e,{expose:l,emit:u}){const a=e,f=Ee("slider"),c=Ie({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),i=V(()=>y.value?m.value:!1),{disabled:s,button:w,tooltip:g,showTooltip:y,persistent:m,tooltipVisible:k,wrapperStyle:$,formatValue:z,handleMouseEnter:R,handleMouseLeave:T,onButtonDown:A,onKeyDown:M,setPosition:K}=pt(a,c,u),{hovering:P,dragging:I}=Me(c);return l({onButtonDown:A,onKeyDown:M,setPosition:K,hovering:P,dragging:I}),(C,G)=>(B(),X("div",{ref_key:"button",ref:w,class:O([t(f).e("button-wrapper"),{hover:t(P),dragging:t(I)}]),style:le(t($)),tabindex:t(s)?-1:0,onMouseenter:t(R),onMouseleave:t(T),onMousedown:t(A),onFocus:t(R),onBlur:t(T),onKeydown:t(M)},[ce(t(st),{ref_key:"tooltip",ref:g,visible:t(k),placement:C.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":C.tooltipClass,disabled:!t(y),persistent:t(i)},{content:ae(()=>[oe("span",null,qe(t(z)),1)]),default:ae(()=>[oe("div",{class:O([t(f).e("button"),{hover:t(P),dragging:t(I)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var $e=Ce(St,[["__file","button.vue"]]);const Nt=Ne({mark:{type:ue([String,Object]),default:void 0}});var Et=te({name:"ElSliderMarker",props:Nt,setup(e){const l=Ee("slider"),u=V(()=>xe(e.mark)?e.mark:e.mark.label),a=V(()=>xe(e.mark)?void 0:e.mark.style);return()=>Ze("div",{class:l.e("marks-text"),style:a.value},u.value)}});const kt=(e,l,u)=>{const{form:a,formItem:f}=We(),c=De(),i=ee(),s=ee(),w={firstButton:i,secondButton:s},g=V(()=>e.disabled||a?.disabled||!1),y=V(()=>Math.min(l.firstValue,l.secondValue)),m=V(()=>Math.max(l.firstValue,l.secondValue)),k=V(()=>e.range?`${100*(m.value-y.value)/(e.max-e.min)}%`:`${100*(l.firstValue-e.min)/(e.max-e.min)}%`),$=V(()=>e.range?`${100*(y.value-e.min)/(e.max-e.min)}%`:"0%"),z=V(()=>e.vertical?{height:e.height}:{}),R=V(()=>e.vertical?{height:k.value,bottom:$.value}:{width:k.value,left:$.value}),T=()=>{c.value&&(l.sliderSize=c.value[`client${e.vertical?"Height":"Width"}`])},A=v=>{const S=e.min+v*(e.max-e.min)/100;if(!e.range)return i;let L;return Math.abs(y.value-S)<Math.abs(m.value-S)?L=l.firstValue<l.secondValue?"firstButton":"secondButton":L=l.firstValue>l.secondValue?"firstButton":"secondButton",w[L]},M=v=>{const S=A(v);return S.value.setPosition(v),S},K=v=>{l.firstValue=v??e.min,I(e.range?[y.value,m.value]:v??e.min)},P=v=>{l.secondValue=v,e.range&&I([y.value,m.value])},I=v=>{u(Y,v),u(D,v)},C=async()=>{await ye(),u(Se,e.range?[y.value,m.value]:e.modelValue)},G=v=>{var S,L,n,r,d,p;if(g.value||l.dragging)return;T();let h=0;if(e.vertical){const N=(n=(L=(S=v.touches)==null?void 0:S.item(0))==null?void 0:L.clientY)!=null?n:v.clientY;h=(c.value.getBoundingClientRect().bottom-N)/l.sliderSize*100}else{const N=(p=(d=(r=v.touches)==null?void 0:r.item(0))==null?void 0:d.clientX)!=null?p:v.clientX,x=c.value.getBoundingClientRect().left;h=(N-x)/l.sliderSize*100}if(!(h<0||h>100))return M(h)};return{elFormItem:f,slider:c,firstButton:i,secondButton:s,sliderDisabled:g,minValue:y,maxValue:m,runwayStyle:z,barStyle:R,resetSize:T,setPosition:M,emitChange:C,onSliderWrapperPrevent:v=>{var S,L;((S=w.firstButton.value)!=null&&S.dragging||(L=w.secondButton.value)!=null&&L.dragging)&&v.preventDefault()},onSliderClick:v=>{G(v)&&C()},onSliderDown:async v=>{const S=G(v);S&&(await ye(),S.value.onButtonDown(v))},onSliderMarkerDown:v=>{if(g.value||l.dragging)return;M(v)&&C()},setFirstValue:K,setSecondValue:P}},Bt=(e,l,u,a)=>({stops:V(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,s=100*e.step/(e.max-e.min),w=Array.from({length:i-1}).map((g,y)=>(y+1)*s);return e.range?w.filter(g=>g<100*(u.value-e.min)/(e.max-e.min)||g>100*(a.value-e.min)/(e.max-e.min)):w.filter(g=>g>100*(l.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),xt=e=>V(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((u,a)=>u-a).filter(u=>u<=e.max&&u>=e.min).map(u=>({point:u,position:(u-e.min)*100/(e.max-e.min),mark:e.marks[u]})):[]),Mt=(e,l,u,a,f,c)=>{const i=g=>{f(Y,g),f(D,g)},s=()=>e.range?![u.value,a.value].every((g,y)=>g===l.oldValue[y]):e.modelValue!==l.oldValue,w=()=>{var g,y;e.min>e.max&&Oe("Slider","min should not be greater than max.");const m=e.modelValue;e.range&&me(m)?m[1]<e.min?i([e.min,e.min]):m[0]>e.max?i([e.max,e.max]):m[0]<e.min?i([e.min,m[1]]):m[1]>e.max?i([m[0],e.max]):(l.firstValue=m[0],l.secondValue=m[1],s()&&(e.validateEvent&&((g=c?.validate)==null||g.call(c,"change").catch(k=>we())),l.oldValue=m.slice())):!e.range&&F(m)&&!Number.isNaN(m)&&(m<e.min?i(e.min):m>e.max?i(e.max):(l.firstValue=m,s()&&(e.validateEvent&&((y=c?.validate)==null||y.call(c,"change").catch(k=>we())),l.oldValue=m)))};w(),de(()=>l.dragging,g=>{g||w()}),de(()=>e.modelValue,(g,y)=>{l.dragging||me(g)&&me(y)&&g.every((m,k)=>m===y[k])&&l.firstValue===g[0]&&l.secondValue===g[1]||w()},{deep:!0}),de(()=>[e.min,e.max],()=>{w()})},Pt=(e,l,u)=>{const a=ee();return Ae(async()=>{e.range?(me(e.modelValue)?(l.firstValue=Math.max(e.min,e.modelValue[0]),l.secondValue=Math.min(e.max,e.modelValue[1])):(l.firstValue=e.min,l.secondValue=e.max),l.oldValue=[l.firstValue,l.secondValue]):(!F(e.modelValue)||Number.isNaN(e.modelValue)?l.firstValue=e.min:l.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),l.oldValue=l.firstValue),pe(window,"resize",u),await ye(),u()}),{sliderWrapper:a}},It=te({name:"ElSlider"}),Ct=te({...It,props:bt,emits:gt,setup(e,{expose:l,emit:u}){const a=e,f=Ee("slider"),{t:c}=Ke(),i=Ie({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:w,firstButton:g,secondButton:y,sliderDisabled:m,minValue:k,maxValue:$,runwayStyle:z,barStyle:R,resetSize:T,emitChange:A,onSliderWrapperPrevent:M,onSliderClick:K,onSliderDown:P,onSliderMarkerDown:I,setFirstValue:C,setSecondValue:G}=kt(a,i,u),{stops:ne,getStopStyle:H}=Bt(a,i,k,$),{inputId:U,isLabeledByFormItem:j}=ut(a,{formItemContext:s}),v=Xe(),S=V(()=>a.inputSize||v.value),L=V(()=>a.ariaLabel||c("el.slider.defaultLabel",{min:a.min,max:a.max})),n=V(()=>a.range?a.rangeStartLabel||c("el.slider.defaultRangeStartLabel"):L.value),r=V(()=>a.formatValueText?a.formatValueText(o.value):`${o.value}`),d=V(()=>a.rangeEndLabel||c("el.slider.defaultRangeEndLabel")),p=V(()=>a.formatValueText?a.formatValueText(E.value):`${E.value}`),h=V(()=>[f.b(),f.m(v.value),f.is("vertical",a.vertical),{[f.m("with-input")]:a.showInput}]),N=xt(a);Mt(a,i,k,$,u,s);const x=V(()=>{const b=[a.min,a.max,a.step].map(Le=>{const se=`${Le}`.split(".")[1];return se?se.length:0});return Math.max.apply(null,b)}),{sliderWrapper:_}=Pt(a,i,T),{firstValue:o,secondValue:E,sliderSize:W}=Me(i),J=b=>{i.dragging=b};return pe(_,"touchstart",M,{passive:!1}),pe(_,"touchmove",M,{passive:!1}),et(He,{...Me(a),sliderSize:W,disabled:m,precision:x,emitChange:A,resetSize:T,updateDragging:J}),l({onSliderClick:K}),(b,Le)=>{var se,_e;return B(),X("div",{id:b.range?t(U):void 0,ref_key:"sliderWrapper",ref:_,class:O(t(h)),role:b.range?"group":void 0,"aria-label":b.range&&!t(j)?t(L):void 0,"aria-labelledby":b.range&&t(j)?(se=t(s))==null?void 0:se.labelId:void 0},[oe("div",{ref_key:"slider",ref:w,class:O([t(f).e("runway"),{"show-input":b.showInput&&!b.range},t(f).is("disabled",t(m))]),style:le(t(z)),onMousedown:t(P),onTouchstartPassive:t(P)},[oe("div",{class:O(t(f).e("bar")),style:le(t(R))},null,6),ce($e,{id:b.range?void 0:t(U),ref_key:"firstButton",ref:g,"model-value":t(o),vertical:b.vertical,"tooltip-class":b.tooltipClass,placement:b.placement,role:"slider","aria-label":b.range||!t(j)?t(n):void 0,"aria-labelledby":!b.range&&t(j)?(_e=t(s))==null?void 0:_e.labelId:void 0,"aria-valuemin":b.min,"aria-valuemax":b.range?t(E):b.max,"aria-valuenow":t(o),"aria-valuetext":t(r),"aria-orientation":b.vertical?"vertical":"horizontal","aria-disabled":t(m),"onUpdate:modelValue":t(C)},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"]),b.range?(B(),Z($e,{key:0,ref_key:"secondButton",ref:y,"model-value":t(E),vertical:b.vertical,"tooltip-class":b.tooltipClass,placement:b.placement,role:"slider","aria-label":t(d),"aria-valuemin":t(o),"aria-valuemax":b.max,"aria-valuenow":t(E),"aria-valuetext":t(p),"aria-orientation":b.vertical?"vertical":"horizontal","aria-disabled":t(m),"onUpdate:modelValue":t(G)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):re("v-if",!0),b.showStops?(B(),X("div",{key:1},[(B(!0),X(ge,null,ke(t(ne),(q,ie)=>(B(),X("div",{key:ie,class:O(t(f).e("stop")),style:le(t(H)(q))},null,6))),128))])):re("v-if",!0),t(N).length>0?(B(),X(ge,{key:2},[oe("div",null,[(B(!0),X(ge,null,ke(t(N),(q,ie)=>(B(),X("div",{key:ie,style:le(t(H)(q.position)),class:O([t(f).e("stop"),t(f).e("marks-stop")])},null,6))),128))]),oe("div",{class:O(t(f).e("marks"))},[(B(!0),X(ge,null,ke(t(N),(q,ie)=>(B(),Z(t(Et),{key:ie,mark:q.mark,style:le(t(H)(q.position)),onMousedown:Ve(_t=>t(I)(q.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):re("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),b.showInput&&!b.range?(B(),Z(t(vt),{key:0,ref:"input","model-value":t(o),class:O(t(f).e("input")),step:b.step,disabled:t(m),controls:b.showInputControls,min:b.min,max:b.max,precision:t(x),debounce:b.debounce,size:t(S),"onUpdate:modelValue":t(C),onChange:t(A)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):re("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var Lt=Ce(Ct,[["__file","slider.vue"]]);const Yt=Ye(Lt);export{vt as E,Yt as a};
|
|
1
|
+
import{d as te,r as Ie,w as de,o as Ae,ah as je,q as B,H as X,G as Te,u as t,U as ve,Q as O,z as be,C as ce,y as ae,x as Z,J as re,af as Je,M as Ve,b as ee,c as V,S as xe,g as me,i as Qe,n as ye,a2 as Me,E as oe,F as qe,R as le,h as Ze,a as De,p as et,O as ge,N as ke}from"./vendor-vue-C5BV5QrY.js";import{u as pe}from"./typescript-C9zgpbNj.js";import{E as tt}from"./index-CWFxDYqD.js";import{U as Y,L as F,bC as fe,J as D,M as Se,H as Ne,bh as Pe,I as ue,y as Ce,ae as Ke,z as Ee,O as Xe,P as nt,bO as lt,c8 as at,R as Fe,c9 as rt,bN as ot,a1 as he,T as Oe,Q as we,A as Ye,aN as Q}from"./index-Czmk9Vo5.js";import{u as Ue}from"./index-C37xDdHA.js";import{v as ze}from"./index-D-qg-A9-.js";import{u as We,a as ut}from"./use-form-item-C_iVSxIM.js";import{e as Ge,E as st}from"./index-LidlhdYE.js";import{d as Re}from"./debounce-DFdNvHt7.js";const it=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:Pe,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||F(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...Ue(["ariaLabel"]),inputmode:{type:ue(String),default:void 0}}),dt={[Se]:(e,l)=>l!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[D]:e=>F(e)||fe(e),[Y]:e=>F(e)||fe(e)},ct=te({name:"ElInputNumber"}),mt=te({...ct,props:it,emits:dt,setup(e,{expose:l,emit:u}){const a=e,{t:f}=Ke(),c=Ee("input-number"),i=ee(),s=Ie({currentValue:a.modelValue,userInput:null}),{formItem:w}=We(),g=V(()=>F(a.modelValue)&&a.modelValue<=a.min),y=V(()=>F(a.modelValue)&&a.modelValue>=a.max),m=V(()=>{const n=A(a.step);return he(a.precision)?Math.max(A(a.modelValue),n):(n>a.precision,a.precision)}),k=V(()=>a.controls&&a.controlsPosition==="right"),$=Xe(),z=nt(),R=V(()=>{if(s.userInput!==null)return s.userInput;let n=s.currentValue;if(fe(n))return"";if(F(n)){if(Number.isNaN(n))return"";he(a.precision)||(n=n.toFixed(a.precision))}return n}),T=(n,r)=>{if(he(r)&&(r=m.value),r===0)return Math.round(n);let d=String(n);const p=d.indexOf(".");if(p===-1||!d.replace(".","").split("")[p+r])return n;const x=d.length;return d.charAt(x-1)==="5"&&(d=`${d.slice(0,Math.max(0,x-1))}6`),Number.parseFloat(Number(d).toFixed(r))},A=n=>{if(fe(n))return 0;const r=n.toString(),d=r.indexOf(".");let p=0;return d!==-1&&(p=r.length-d-1),p},M=(n,r=1)=>F(n)?n>=Number.MAX_SAFE_INTEGER&&r===1||n<=Number.MIN_SAFE_INTEGER&&r===-1?n:T(n+a.step*r):s.currentValue,K=()=>{if(a.readonly||z.value||y.value)return;const n=Number(R.value)||0,r=M(n);C(r),u(D,s.currentValue),S()},P=()=>{if(a.readonly||z.value||g.value)return;const n=Number(R.value)||0,r=M(n,-1);C(r),u(D,s.currentValue),S()},I=(n,r)=>{const{max:d,min:p,step:h,precision:N,stepStrictly:x,valueOnClear:_}=a;d<p&&Oe("InputNumber","min should not be greater than max.");let o=Number(n);if(fe(n)||Number.isNaN(o))return null;if(n===""){if(_===null)return null;o=xe(_)?{min:p,max:d}[_]:_}return x&&(o=T(Math.round(o/h)*h,N),o!==n&&r&&u(Y,o)),he(N)||(o=T(o,N)),(o>d||o<p)&&(o=o>d?d:p,r&&u(Y,o)),o},C=(n,r=!0)=>{var d;const p=s.currentValue,h=I(n);if(!r){u(Y,h);return}p===h&&n||(s.userInput=null,u(Y,h),p!==h&&u(Se,h,p),a.validateEvent&&((d=w?.validate)==null||d.call(w,"change").catch(N=>we())),s.currentValue=h)},G=n=>{s.userInput=n;const r=n===""?null:Number(n);u(D,r),C(r,!1)},ne=n=>{const r=n!==""?Number(n):"";(F(r)&&!Number.isNaN(r)||n==="")&&C(r),S(),s.userInput=null},H=()=>{var n,r;(r=(n=i.value)==null?void 0:n.focus)==null||r.call(n)},U=()=>{var n,r;(r=(n=i.value)==null?void 0:n.blur)==null||r.call(n)},j=n=>{u("focus",n)},v=n=>{var r,d;s.userInput=null,s.currentValue===null&&((r=i.value)!=null&&r.input)&&(i.value.input.value=""),u("blur",n),a.validateEvent&&((d=w?.validate)==null||d.call(w,"blur").catch(p=>we()))},S=()=>{s.currentValue!==a.modelValue&&(s.currentValue=a.modelValue)},L=n=>{document.activeElement===n.target&&n.preventDefault()};return de(()=>a.modelValue,(n,r)=>{const d=I(n,!0);s.userInput===null&&d!==r&&(s.currentValue=d)},{immediate:!0}),Ae(()=>{var n;const{min:r,max:d,modelValue:p}=a,h=(n=i.value)==null?void 0:n.input;if(h.setAttribute("role","spinbutton"),Number.isFinite(d)?h.setAttribute("aria-valuemax",String(d)):h.removeAttribute("aria-valuemax"),Number.isFinite(r)?h.setAttribute("aria-valuemin",String(r)):h.removeAttribute("aria-valuemin"),h.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),h.setAttribute("aria-disabled",String(z.value)),!F(p)&&p!=null){let N=Number(p);Number.isNaN(N)&&(N=null),u(Y,N)}h.addEventListener("wheel",L,{passive:!1})}),je(()=>{var n,r;const d=(n=i.value)==null?void 0:n.input;d?.setAttribute("aria-valuenow",`${(r=s.currentValue)!=null?r:""}`)}),l({focus:H,blur:U}),(n,r)=>(B(),X("div",{class:O([t(c).b(),t(c).m(t($)),t(c).is("disabled",t(z)),t(c).is("without-controls",!n.controls),t(c).is("controls-right",t(k))]),onDragstart:Ve(()=>{},["prevent"])},[n.controls?Te((B(),X("span",{key:0,role:"button","aria-label":t(f)("el.inputNumber.decrease"),class:O([t(c).e("decrease"),t(c).is("disabled",t(g))]),onKeydown:ve(P,["enter"])},[be(n.$slots,"decrease-icon",{},()=>[ce(t(Fe),null,{default:ae(()=>[t(k)?(B(),Z(t(lt),{key:0})):(B(),Z(t(at),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[t(ze),P]]):re("v-if",!0),n.controls?Te((B(),X("span",{key:1,role:"button","aria-label":t(f)("el.inputNumber.increase"),class:O([t(c).e("increase"),t(c).is("disabled",t(y))]),onKeydown:ve(K,["enter"])},[be(n.$slots,"increase-icon",{},()=>[ce(t(Fe),null,{default:ae(()=>[t(k)?(B(),Z(t(rt),{key:0})):(B(),Z(t(ot),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[t(ze),K]]):re("v-if",!0),ce(t(tt),{id:n.id,ref_key:"input",ref:i,type:"number",step:n.step,"model-value":t(R),placeholder:n.placeholder,readonly:n.readonly,disabled:t(z),size:t($),max:n.max,min:n.min,name:n.name,"aria-label":n.ariaLabel,"validate-event":!1,inputmode:n.inputmode,onKeydown:[ve(Ve(K,["prevent"]),["up"]),ve(Ve(P,["prevent"]),["down"])],onBlur:v,onFocus:j,onInput:G,onChange:ne},Je({_:2},[n.$slots.prefix?{name:"prefix",fn:ae(()=>[be(n.$slots,"prefix")])}:void 0,n.$slots.suffix?{name:"suffix",fn:ae(()=>[be(n.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","onKeydown"])],42,["onDragstart"]))}});var ft=Ce(mt,[["__file","input-number.vue"]]);const vt=Ye(ft),He=Symbol("sliderContextKey"),bt=Ne({modelValue:{type:ue([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:Pe,inputSize:Pe,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:ue(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:ue(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ge,default:"top"},marks:{type:ue(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Ue(["ariaLabel"])}),Be=e=>F(e)||me(e)&&e.every(F),gt={[Y]:Be,[D]:Be,[Se]:Be},ht=Ne({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ge,default:"top"}}),Vt={[Y]:e=>F(e)},yt=(e,l,u)=>{const a=ee(),f=ee(!1),c=V(()=>l.value instanceof Function),i=V(()=>c.value&&l.value(e.modelValue)||e.modelValue),s=Re(()=>{u.value&&(f.value=!0)},50),w=Re(()=>{u.value&&(f.value=!1)},50);return{tooltip:a,tooltipVisible:f,formatValue:i,displayTooltip:s,hideTooltip:w}},pt=(e,l,u)=>{const{disabled:a,min:f,max:c,step:i,showTooltip:s,persistent:w,precision:g,sliderSize:y,formatTooltip:m,emitChange:k,resetSize:$,updateDragging:z}=Qe(He),{tooltip:R,tooltipVisible:T,formatValue:A,displayTooltip:M,hideTooltip:K}=yt(e,m,s),P=ee(),I=V(()=>`${(e.modelValue-f.value)/(c.value-f.value)*100}%`),C=V(()=>e.vertical?{bottom:I.value}:{left:I.value}),G=()=>{l.hovering=!0,M()},ne=()=>{l.hovering=!1,l.dragging||K()},H=o=>{a.value||(o.preventDefault(),h(o),window.addEventListener("mousemove",N),window.addEventListener("touchmove",N),window.addEventListener("mouseup",x),window.addEventListener("touchend",x),window.addEventListener("contextmenu",x),P.value.focus())},U=o=>{a.value||(l.newPosition=Number.parseFloat(I.value)+o/(c.value-f.value)*100,_(l.newPosition),k())},j=()=>{U(-i.value)},v=()=>{U(i.value)},S=()=>{U(-i.value*4)},L=()=>{U(i.value*4)},n=()=>{a.value||(_(0),k())},r=()=>{a.value||(_(100),k())},d=o=>{let E=!0;switch(o.code){case Q.left:case Q.down:j();break;case Q.right:case Q.up:v();break;case Q.home:n();break;case Q.end:r();break;case Q.pageDown:S();break;case Q.pageUp:L();break;default:E=!1;break}E&&o.preventDefault()},p=o=>{let E,W;return o.type.startsWith("touch")?(W=o.touches[0].clientY,E=o.touches[0].clientX):(W=o.clientY,E=o.clientX),{clientX:E,clientY:W}},h=o=>{l.dragging=!0,l.isClick=!0;const{clientX:E,clientY:W}=p(o);e.vertical?l.startY=W:l.startX=E,l.startPosition=Number.parseFloat(I.value),l.newPosition=l.startPosition},N=o=>{if(l.dragging){l.isClick=!1,M(),$();let E;const{clientX:W,clientY:J}=p(o);e.vertical?(l.currentY=J,E=(l.startY-l.currentY)/y.value*100):(l.currentX=W,E=(l.currentX-l.startX)/y.value*100),l.newPosition=l.startPosition+E,_(l.newPosition)}},x=()=>{l.dragging&&(setTimeout(()=>{l.dragging=!1,l.hovering||K(),l.isClick||_(l.newPosition),k()},0),window.removeEventListener("mousemove",N),window.removeEventListener("touchmove",N),window.removeEventListener("mouseup",x),window.removeEventListener("touchend",x),window.removeEventListener("contextmenu",x))},_=async o=>{if(o===null||Number.isNaN(+o))return;o<0?o=0:o>100&&(o=100);const E=100/((c.value-f.value)/i.value);let J=Math.round(o/E)*E*(c.value-f.value)*.01+f.value;J=Number.parseFloat(J.toFixed(g.value)),J!==e.modelValue&&u(Y,J),!l.dragging&&e.modelValue!==l.oldValue&&(l.oldValue=e.modelValue),await ye(),l.dragging&&M(),R.value.updatePopper()};return de(()=>l.dragging,o=>{z(o)}),pe(P,"touchstart",H,{passive:!1}),{disabled:a,button:P,tooltip:R,tooltipVisible:T,showTooltip:s,persistent:w,wrapperStyle:C,formatValue:A,handleMouseEnter:G,handleMouseLeave:ne,onButtonDown:H,onKeyDown:d,setPosition:_}},wt=te({name:"ElSliderButton"}),St=te({...wt,props:ht,emits:Vt,setup(e,{expose:l,emit:u}){const a=e,f=Ee("slider"),c=Ie({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),i=V(()=>y.value?m.value:!1),{disabled:s,button:w,tooltip:g,showTooltip:y,persistent:m,tooltipVisible:k,wrapperStyle:$,formatValue:z,handleMouseEnter:R,handleMouseLeave:T,onButtonDown:A,onKeyDown:M,setPosition:K}=pt(a,c,u),{hovering:P,dragging:I}=Me(c);return l({onButtonDown:A,onKeyDown:M,setPosition:K,hovering:P,dragging:I}),(C,G)=>(B(),X("div",{ref_key:"button",ref:w,class:O([t(f).e("button-wrapper"),{hover:t(P),dragging:t(I)}]),style:le(t($)),tabindex:t(s)?-1:0,onMouseenter:t(R),onMouseleave:t(T),onMousedown:t(A),onFocus:t(R),onBlur:t(T),onKeydown:t(M)},[ce(t(st),{ref_key:"tooltip",ref:g,visible:t(k),placement:C.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":C.tooltipClass,disabled:!t(y),persistent:t(i)},{content:ae(()=>[oe("span",null,qe(t(z)),1)]),default:ae(()=>[oe("div",{class:O([t(f).e("button"),{hover:t(P),dragging:t(I)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var $e=Ce(St,[["__file","button.vue"]]);const Nt=Ne({mark:{type:ue([String,Object]),default:void 0}});var Et=te({name:"ElSliderMarker",props:Nt,setup(e){const l=Ee("slider"),u=V(()=>xe(e.mark)?e.mark:e.mark.label),a=V(()=>xe(e.mark)?void 0:e.mark.style);return()=>Ze("div",{class:l.e("marks-text"),style:a.value},u.value)}});const kt=(e,l,u)=>{const{form:a,formItem:f}=We(),c=De(),i=ee(),s=ee(),w={firstButton:i,secondButton:s},g=V(()=>e.disabled||a?.disabled||!1),y=V(()=>Math.min(l.firstValue,l.secondValue)),m=V(()=>Math.max(l.firstValue,l.secondValue)),k=V(()=>e.range?`${100*(m.value-y.value)/(e.max-e.min)}%`:`${100*(l.firstValue-e.min)/(e.max-e.min)}%`),$=V(()=>e.range?`${100*(y.value-e.min)/(e.max-e.min)}%`:"0%"),z=V(()=>e.vertical?{height:e.height}:{}),R=V(()=>e.vertical?{height:k.value,bottom:$.value}:{width:k.value,left:$.value}),T=()=>{c.value&&(l.sliderSize=c.value[`client${e.vertical?"Height":"Width"}`])},A=v=>{const S=e.min+v*(e.max-e.min)/100;if(!e.range)return i;let L;return Math.abs(y.value-S)<Math.abs(m.value-S)?L=l.firstValue<l.secondValue?"firstButton":"secondButton":L=l.firstValue>l.secondValue?"firstButton":"secondButton",w[L]},M=v=>{const S=A(v);return S.value.setPosition(v),S},K=v=>{l.firstValue=v??e.min,I(e.range?[y.value,m.value]:v??e.min)},P=v=>{l.secondValue=v,e.range&&I([y.value,m.value])},I=v=>{u(Y,v),u(D,v)},C=async()=>{await ye(),u(Se,e.range?[y.value,m.value]:e.modelValue)},G=v=>{var S,L,n,r,d,p;if(g.value||l.dragging)return;T();let h=0;if(e.vertical){const N=(n=(L=(S=v.touches)==null?void 0:S.item(0))==null?void 0:L.clientY)!=null?n:v.clientY;h=(c.value.getBoundingClientRect().bottom-N)/l.sliderSize*100}else{const N=(p=(d=(r=v.touches)==null?void 0:r.item(0))==null?void 0:d.clientX)!=null?p:v.clientX,x=c.value.getBoundingClientRect().left;h=(N-x)/l.sliderSize*100}if(!(h<0||h>100))return M(h)};return{elFormItem:f,slider:c,firstButton:i,secondButton:s,sliderDisabled:g,minValue:y,maxValue:m,runwayStyle:z,barStyle:R,resetSize:T,setPosition:M,emitChange:C,onSliderWrapperPrevent:v=>{var S,L;((S=w.firstButton.value)!=null&&S.dragging||(L=w.secondButton.value)!=null&&L.dragging)&&v.preventDefault()},onSliderClick:v=>{G(v)&&C()},onSliderDown:async v=>{const S=G(v);S&&(await ye(),S.value.onButtonDown(v))},onSliderMarkerDown:v=>{if(g.value||l.dragging)return;M(v)&&C()},setFirstValue:K,setSecondValue:P}},Bt=(e,l,u,a)=>({stops:V(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,s=100*e.step/(e.max-e.min),w=Array.from({length:i-1}).map((g,y)=>(y+1)*s);return e.range?w.filter(g=>g<100*(u.value-e.min)/(e.max-e.min)||g>100*(a.value-e.min)/(e.max-e.min)):w.filter(g=>g>100*(l.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),xt=e=>V(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((u,a)=>u-a).filter(u=>u<=e.max&&u>=e.min).map(u=>({point:u,position:(u-e.min)*100/(e.max-e.min),mark:e.marks[u]})):[]),Mt=(e,l,u,a,f,c)=>{const i=g=>{f(Y,g),f(D,g)},s=()=>e.range?![u.value,a.value].every((g,y)=>g===l.oldValue[y]):e.modelValue!==l.oldValue,w=()=>{var g,y;e.min>e.max&&Oe("Slider","min should not be greater than max.");const m=e.modelValue;e.range&&me(m)?m[1]<e.min?i([e.min,e.min]):m[0]>e.max?i([e.max,e.max]):m[0]<e.min?i([e.min,m[1]]):m[1]>e.max?i([m[0],e.max]):(l.firstValue=m[0],l.secondValue=m[1],s()&&(e.validateEvent&&((g=c?.validate)==null||g.call(c,"change").catch(k=>we())),l.oldValue=m.slice())):!e.range&&F(m)&&!Number.isNaN(m)&&(m<e.min?i(e.min):m>e.max?i(e.max):(l.firstValue=m,s()&&(e.validateEvent&&((y=c?.validate)==null||y.call(c,"change").catch(k=>we())),l.oldValue=m)))};w(),de(()=>l.dragging,g=>{g||w()}),de(()=>e.modelValue,(g,y)=>{l.dragging||me(g)&&me(y)&&g.every((m,k)=>m===y[k])&&l.firstValue===g[0]&&l.secondValue===g[1]||w()},{deep:!0}),de(()=>[e.min,e.max],()=>{w()})},Pt=(e,l,u)=>{const a=ee();return Ae(async()=>{e.range?(me(e.modelValue)?(l.firstValue=Math.max(e.min,e.modelValue[0]),l.secondValue=Math.min(e.max,e.modelValue[1])):(l.firstValue=e.min,l.secondValue=e.max),l.oldValue=[l.firstValue,l.secondValue]):(!F(e.modelValue)||Number.isNaN(e.modelValue)?l.firstValue=e.min:l.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),l.oldValue=l.firstValue),pe(window,"resize",u),await ye(),u()}),{sliderWrapper:a}},It=te({name:"ElSlider"}),Ct=te({...It,props:bt,emits:gt,setup(e,{expose:l,emit:u}){const a=e,f=Ee("slider"),{t:c}=Ke(),i=Ie({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:w,firstButton:g,secondButton:y,sliderDisabled:m,minValue:k,maxValue:$,runwayStyle:z,barStyle:R,resetSize:T,emitChange:A,onSliderWrapperPrevent:M,onSliderClick:K,onSliderDown:P,onSliderMarkerDown:I,setFirstValue:C,setSecondValue:G}=kt(a,i,u),{stops:ne,getStopStyle:H}=Bt(a,i,k,$),{inputId:U,isLabeledByFormItem:j}=ut(a,{formItemContext:s}),v=Xe(),S=V(()=>a.inputSize||v.value),L=V(()=>a.ariaLabel||c("el.slider.defaultLabel",{min:a.min,max:a.max})),n=V(()=>a.range?a.rangeStartLabel||c("el.slider.defaultRangeStartLabel"):L.value),r=V(()=>a.formatValueText?a.formatValueText(o.value):`${o.value}`),d=V(()=>a.rangeEndLabel||c("el.slider.defaultRangeEndLabel")),p=V(()=>a.formatValueText?a.formatValueText(E.value):`${E.value}`),h=V(()=>[f.b(),f.m(v.value),f.is("vertical",a.vertical),{[f.m("with-input")]:a.showInput}]),N=xt(a);Mt(a,i,k,$,u,s);const x=V(()=>{const b=[a.min,a.max,a.step].map(Le=>{const se=`${Le}`.split(".")[1];return se?se.length:0});return Math.max.apply(null,b)}),{sliderWrapper:_}=Pt(a,i,T),{firstValue:o,secondValue:E,sliderSize:W}=Me(i),J=b=>{i.dragging=b};return pe(_,"touchstart",M,{passive:!1}),pe(_,"touchmove",M,{passive:!1}),et(He,{...Me(a),sliderSize:W,disabled:m,precision:x,emitChange:A,resetSize:T,updateDragging:J}),l({onSliderClick:K}),(b,Le)=>{var se,_e;return B(),X("div",{id:b.range?t(U):void 0,ref_key:"sliderWrapper",ref:_,class:O(t(h)),role:b.range?"group":void 0,"aria-label":b.range&&!t(j)?t(L):void 0,"aria-labelledby":b.range&&t(j)?(se=t(s))==null?void 0:se.labelId:void 0},[oe("div",{ref_key:"slider",ref:w,class:O([t(f).e("runway"),{"show-input":b.showInput&&!b.range},t(f).is("disabled",t(m))]),style:le(t(z)),onMousedown:t(P),onTouchstartPassive:t(P)},[oe("div",{class:O(t(f).e("bar")),style:le(t(R))},null,6),ce($e,{id:b.range?void 0:t(U),ref_key:"firstButton",ref:g,"model-value":t(o),vertical:b.vertical,"tooltip-class":b.tooltipClass,placement:b.placement,role:"slider","aria-label":b.range||!t(j)?t(n):void 0,"aria-labelledby":!b.range&&t(j)?(_e=t(s))==null?void 0:_e.labelId:void 0,"aria-valuemin":b.min,"aria-valuemax":b.range?t(E):b.max,"aria-valuenow":t(o),"aria-valuetext":t(r),"aria-orientation":b.vertical?"vertical":"horizontal","aria-disabled":t(m),"onUpdate:modelValue":t(C)},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"]),b.range?(B(),Z($e,{key:0,ref_key:"secondButton",ref:y,"model-value":t(E),vertical:b.vertical,"tooltip-class":b.tooltipClass,placement:b.placement,role:"slider","aria-label":t(d),"aria-valuemin":t(o),"aria-valuemax":b.max,"aria-valuenow":t(E),"aria-valuetext":t(p),"aria-orientation":b.vertical?"vertical":"horizontal","aria-disabled":t(m),"onUpdate:modelValue":t(G)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):re("v-if",!0),b.showStops?(B(),X("div",{key:1},[(B(!0),X(ge,null,ke(t(ne),(q,ie)=>(B(),X("div",{key:ie,class:O(t(f).e("stop")),style:le(t(H)(q))},null,6))),128))])):re("v-if",!0),t(N).length>0?(B(),X(ge,{key:2},[oe("div",null,[(B(!0),X(ge,null,ke(t(N),(q,ie)=>(B(),X("div",{key:ie,style:le(t(H)(q.position)),class:O([t(f).e("stop"),t(f).e("marks-stop")])},null,6))),128))]),oe("div",{class:O(t(f).e("marks"))},[(B(!0),X(ge,null,ke(t(N),(q,ie)=>(B(),Z(t(Et),{key:ie,mark:q.mark,style:le(t(H)(q.position)),onMousedown:Ve(_t=>t(I)(q.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):re("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),b.showInput&&!b.range?(B(),Z(t(vt),{key:0,ref:"input","model-value":t(o),class:O(t(f).e("input")),step:b.step,disabled:t(m),controls:b.showInputControls,min:b.min,max:b.max,precision:t(x),debounce:b.debounce,size:t(S),"onUpdate:modelValue":t(C),onChange:t(A)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):re("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var Lt=Ce(Ct,[["__file","slider.vue"]]);const Yt=Ye(Lt);export{vt as E,Yt as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ao as o,a6 as f,aK as p,aq as S,aL as u}from"./index-
|
|
1
|
+
import{ao as o,a6 as f,aK as p,aq as S,aL as u}from"./index-Czmk9Vo5.js";import{s as b}from"./service-C9jfUCX7.js";import{s as C}from"./seedance-CpnM7-u5.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";const I=({commit:t})=>{t("resetAll")},$=async({commit:t,dispatch:s},e)=>{if(console.debug("set application",e),t("setApplication",e),!e){console.debug("application is null, return");return}const a=e?.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",e),await s("createCredential"))},E=async({commit:t},s)=>{console.debug("set applications",s),t("setApplications",s)},y=async({commit:t},s)=>{console.debug("set service",s),t("setService",s)},h=async({commit:t},s)=>{console.debug("set credential",s),t("setCredential",s)},O=async({commit:t,state:s})=>{const e=s.application;if(console.debug("prepare to create credential for application",e),!e){console.error("Application not found");return}console.debug("creating create credential for application",e);const{data:a}=await S.create({application_id:e?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},_=async({commit:t,state:s})=>{s.status.getService=o.Request;try{const{data:e}=await b.get(p);return s.status.getService=o.Success,t("setService",e),e}catch{s.status.getService=o.Error,t("setService",void 0)}},q=async({commit:t,state:s,rootState:e})=>{console.debug("start to get applications for seedance"),s.status.getApplications=o.Request;try{const{data:a}=await f.getAll({user_id:e?.user?.id,service_id:p});return s.status.getApplications=o.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),s.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},x=({commit:t},s)=>{t("setConfig",s)},P=({commit:t},s)=>{t("setTasks",s)},R=({commit:t},s)=>{t("setTasksItems",s)},D=({commit:t},s)=>{t("setTasksTotal",s)},L=({commit:t},s)=>{t("setTasksActive",s)},K=async({commit:t,state:s,rootState:e},{offset:a,limit:i,createdAtMin:g,createdAtMax:k})=>(s.status.getTasks=o.Request,new Promise((v,r)=>{console.debug("start to get tasks",a,i);const l=s.credential;console.debug("current credential",l);const d=l?.token;if(!d)return s.status.getTasks=o.Error,r("no token");C.tasks({userId:e?.user?.id,offset:a,limit:i,createdAtMin:g,createdAtMax:k,type:"videos"},{token:d}).then(n=>{console.debug("get videos tasks success",n.data.items);const T=s?.tasks?.items||[],A=n.data.items||[],m=w(T,A);t("setTasksItems",m),t("setTasksTotal",n.data.count),s.status.getTasks=o.Success,v(n.data.items)}).catch(n=>(s.status.getTasks=o.Error,r(n)))})),N={createCredential:O,setService:y,getService:_,resetAll:I,setCredential:h,setConfig:x,setApplications:E,setApplication:$,getApplications:q,setTasks:P,setTasksItems:R,setTasksTotal:D,setTasksActive:L,getTasks:K},c={items:void 0,total:void 0,active:void 0},V=t=>{Object.assign(t,u())},j=(t,s)=>{t.service=s},z=(t,s)=>{t.credential=s},B=(t,s)=>{t.application=s},F=(t,s)=>{t.applications=s},G=(t,s)=>{t.config=s},H=(t,s)=>{const e={...t.tasks||c,items:s};t.tasks=e},J=(t,s)=>{const e={...t.tasks||c,total:s};t.tasks=e},M=(t,s)=>{const e={...t.tasks||c,active:s};t.tasks=e},Q=(t,s)=>{t.tasks=s},U={setTasks:Q,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:M,setTasksItems:H,setTasksTotal:J,resetAll:V},ot={namespaced:!0,state:u,mutations:U,actions:N};export{ot as default,ot as seedance};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aq as T,ao as n,a6 as f,ay as u}from"./index-
|
|
1
|
+
import{aq as T,ao as n,a6 as f,ay as u}from"./index-Czmk9Vo5.js";import{S as g}from"./sora-BiA8hqQT.js";import{s as b}from"./service-C9jfUCX7.js";import{s as S}from"./sora-CYBO9z5Y.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.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)},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))}),V={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:L,createCredential:O},j=t=>{Object.assign(t,u())},z=(t,e)=>{t.service=e},B=(t,e)=>{t.credential=e},F=(t,e)=>{t.application=e},G=(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:F,setApplications:G,setConfig:H,setCredential:B,setService:z,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:j},ot={namespaced:!0,state:u,mutations:Q,actions:V};export{ot as default,ot as sora};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aq as A,ao as c,a6 as m,aC as T}from"./index-
|
|
1
|
+
import{aq as A,ao as c,a6 as m,aC as T}from"./index-Czmk9Vo5.js";import{S as f}from"./suno-DFuCGH70.js";import{s as b}from"./service-C9jfUCX7.js";import{s as l}from"./suno-Chm4xEDj.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";const S=({commit:e})=>{e("resetAll")},C=async({commit:e,dispatch:s},t)=>{if(console.debug("set application",t),e("setApplication",t),!t){console.debug("application is null, return");return}const o=t?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),e("setCredential",o)):(console.debug("credential not exists, start to create credential for application",t),await s("createCredential"))},I=async({commit:e},s)=>{console.debug("set applications",s),e("setApplications",s)},P=async({commit:e},s)=>{console.debug("set service",s),e("setService",s)},y=async({commit:e},s)=>{console.debug("set credential",s),e("setCredential",s)},$=async({commit:e,state:s})=>{const t=s.application;if(console.debug("prepare to create credential for application",t),!t){console.error("Application not found");return}console.debug("creating create credential for application",t);const{data:o}=await A.create({application_id:t?.id,host:window.location.origin});return console.debug("created credential success",o),e("setCredential",o),console.debug("end createCredential"),o},h=async({commit:e,state:s})=>{s.status.getService=c.Request;try{const{data:t}=await b.get(f);return s.status.getService=c.Success,e("setService",t),t}catch{s.status.getService=c.Error,e("setService",void 0)}},_=async({commit:e,state:s,rootState:t})=>{console.debug("start to get applications for chat"),s.status.getApplications=c.Request;const o=s.application;console.debug("current application",o);try{const{data:n}=await m.getAll({user_id:t?.user?.id,service_id:f});return s.status.getApplications=c.Success,e("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),s.status.getApplications=c.Error,e("setApplications",void 0),e("setApplication",void 0)}},x=({commit:e},s)=>{e("setConfig",s)},O=({commit:e},s)=>{e("setTasks",s)},E=({commit:e},s)=>{e("setTasksItems",s)},q=({commit:e},s)=>{e("setTasksTotal",s)},R=({commit:e},s)=>{e("setTasksActive",s)},D=({commit:e},s)=>{e("setAudio",s)},L=async({commit:e,state:s,rootState:t},{offset:o,limit:n,createdAtMin:a,createdAtMax:i})=>new Promise((k,d)=>{console.debug("start to get tasks",o,n,i,a);const p=s.credential?.token;if(!p)return d("no token");l.tasks({userId:t?.user?.id,createdAtMin:a,createdAtMax:i,type:"audios"},{token:p}).then(r=>{console.debug("get imagine tasks success",r.data.items);const u=s?.tasks?.items||[];console.debug("existing items",u);const g=r.data.items||[];console.debug("new items",g);const v=w(u,g);e("setTasksItems",v),e("setTasksTotal",r.data.count),k(r.data.items)}).catch(r=>d(r))}),F=async({commit:e,state:s,rootState:t})=>{const n=s.credential?.token;if(!n)return[];const a=t?.user?.id;if(!a)return[];try{const{data:i}=await l.personasList({user_id:a},{token:n});return e("setPersonas",i.items||[]),i.items||[]}catch(i){return console.error("get personas failed",i),[]}},N=async({state:e,dispatch:s,rootState:t},o)=>{const a=e.credential?.token;if(!a)return!1;try{return await l.personasDelete({persona_id:o,user_id:t?.user?.id},{token:a}),await s("getPersonas"),!0}catch(i){return console.error("delete persona failed",i),!1}},U={setService:P,getService:h,resetAll:S,setCredential:y,setConfig:x,setApplication:C,setApplications:I,getApplications:_,setTasks:O,setTasksItems:E,setTasksTotal:q,setTasksActive:R,getTasks:L,setAudio:D,getPersonas:F,deletePersona:N,createCredential:$},V=e=>{e.service=void 0,e.application=void 0,e.applications=void 0,e.config=void 0,e.credential=void 0,e.tasks=void 0,e.personas=void 0},z=(e,s)=>{e.applications=s},B=(e,s)=>{e.service=s},G=(e,s)=>{e.credential=s},H=(e,s)=>{e.application=s},J=(e,s)=>{e.config=s},K=(e,s)=>{const t={...e.tasks,items:s};e.tasks=t},Q=(e,s)=>{const t={...e.tasks,total:s};e.tasks=t},W=(e,s)=>{const t={...e.tasks,active:s};e.tasks=t},X=(e,s)=>{e.audio=s},Y=(e,s)=>{e.tasks=s},Z=(e,s)=>{e.personas=s},j=(e,s)=>{if(!s)return;Array.isArray(e.favoritePersonaIds)||(e.favoritePersonaIds=[]);const t=e.favoritePersonaIds.indexOf(s);t>=0?e.favoritePersonaIds.splice(t,1):e.favoritePersonaIds.push(s)},M={setTasks:Y,setApplication:H,setApplications:z,setConfig:J,setCredential:G,setService:B,setTasksActive:W,setTasksItems:K,setTasksTotal:Q,setAudio:X,setPersonas:Z,togglePersonaFavorite:j,resetAll:V},de={namespaced:!0,state:T,mutations:M,actions:U};export{de as default,de as suno};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as w,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 H,c as b,j as y}from"./vendor-vue-C5BV5QrY.js";import{a1 as R,H as j,a2 as q,a3 as E,y as G,z as J,b as L,R as T,a4 as M,A as Q}from"./index-
|
|
1
|
+
import{d as w,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 H,c as b,j as y}from"./vendor-vue-C5BV5QrY.js";import{a1 as R,H as j,a2 as q,a3 as E,y as G,z as J,b as L,R as T,a4 as M,A as Q}from"./index-Czmk9Vo5.js";import{u as U,a as X}from"./index-LidlhdYE.js";const K=["light","dark"],W=j({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:q(E),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=>R(n)||n instanceof Event},Z=w({name:"ElAlert"}),_=w({...Z,props:W,emits:Y,setup(n,{emit:v}){const l=n,{Close:S}=M,A=N(),t=J("alert"),p=H(!1),C=b(()=>E[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 L&&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(T),{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(T),{key:1,class:a(e(t).e("close-btn")),onClick:e(I)},{default:u(()=>[O(e(S))]),_:1},8,["class","onClick"]))],64)):r("v-if",!0)],2)],2),[[P,p.value]])]),_:3},8,["name"]))}});var x=G(_,[["__file","alert.vue"]]);const ae=Q(x);export{ae as E};
|