@acedatacloud/nexior 3.108.0 → 3.110.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-zVS5e1Dk.js → Auth-CZBUsR-8.js} +1 -1
- package/dist/assets/{BotPlaceholder-PAjP823v.js → BotPlaceholder-808fKlrc.js} +1 -1
- package/dist/assets/{Callback-YdLWzI1c.js → Callback-BCw34S4I.js} +1 -1
- package/dist/assets/Console-DPEMhi7m.js +1 -0
- package/dist/assets/{Consumption-DtKxSOW0.js → Consumption-D8o6ZGlD.js} +1 -1
- package/dist/assets/{Conversation-DKKL2eDr.js → Conversation-BQ_U-I9L.js} +7 -7
- package/dist/assets/{CopyToClipboard-D8MfLJZp.js → CopyToClipboard-99x8TU_E.js} +1 -1
- package/dist/assets/{Detail-BJ3NxO0t.js → Detail-BTbBX_0l.js} +2 -2
- package/dist/assets/EditArray-BodaIya6.js +1 -0
- package/dist/assets/{Extra-BMK-v91O.js → Extra-CUrRwWxs.js} +1 -1
- package/dist/assets/{FilePreview-Bo7MaLrW.js → FilePreview-BMrbMk0x.js} +1 -1
- package/dist/assets/{History-BIQ2m0vZ.js → History-ZibpTepi.js} +1 -1
- package/dist/assets/IconPark.vue_vue_type_script_setup_true_lang-BF3qQycP.js +1 -0
- package/dist/assets/{ImagePreview-Dh9-XvKp.js → ImagePreview-B7ddO4K-.js} +1 -1
- package/dist/assets/{ImageWrapper-DPBNLYFT.js → ImageWrapper-B4mqUlhx.js} +1 -1
- package/dist/assets/{Index-D0je4Hb5.css → Index-BDmY1SY6.css} +1 -1
- package/dist/assets/{Index-0BNr41li.js → Index-BHFKdAzq.js} +1 -1
- package/dist/assets/{Index-LlYUHORU.js → Index-BIDqjbbO.js} +1 -1
- package/dist/assets/{Index-BWsajPgD.js → Index-Bg2Zm6-5.js} +1 -1
- package/dist/assets/{Index-DedaKs1r.js → Index-BpUiKoDK.js} +1 -1
- package/dist/assets/{Index-DuU78Uug.js → Index-C1xSniax.js} +1 -1
- package/dist/assets/{Index-BhbLi2Wu.js → Index-CK59qCoD.js} +1 -1
- package/dist/assets/{Index-DX6hm6OG.js → Index-CKjQDdoM.js} +1 -1
- package/dist/assets/Index-CSso_LoA.js +1 -0
- package/dist/assets/{Index-HxTiuRA7.js → Index-CUQg6KBW.js} +1 -1
- package/dist/assets/Index-CdKg1Y3u.js +1 -0
- package/dist/assets/{Index-Dsz19JNR.js → Index-CgdNSbRG.js} +1 -1
- package/dist/assets/{Index-C4f-sAnz.js → Index-CjcUhG9o.js} +2 -2
- package/dist/assets/{Index-77a4rojZ.js → Index-CjvSntWd.js} +1 -1
- package/dist/assets/Index-Ck00cdj3.js +1 -0
- package/dist/assets/{Index-C371szRa.js → Index-DCsM3bGF.js} +1 -1
- package/dist/assets/{Index-DH7JortT.js → Index-DEnL8MY5.js} +1 -1
- package/dist/assets/{Index-BDbVNS0t.js → Index-DHRBWrtm.js} +1 -1
- package/dist/assets/{Index-DfC96PCx.js → Index-DUe_N0MN.js} +1 -1
- package/dist/assets/{Index-eJDUZOqx.js → Index-DZEI8Sn1.js} +1 -1
- package/dist/assets/{Index-DPg6ghUo.js → Index-DpUp9_s9.js} +1 -1
- package/dist/assets/Index-Fco5LKSK.js +1 -0
- package/dist/assets/{Index-BzYCSO-B.js → Index-GcemLKVi.js} +1 -1
- package/dist/assets/{Index-Du3G-yxP.js → Index-RB9xEjUG.js} +1 -1
- package/dist/assets/{Index-BUhhttiR.js → Index-rd81kAqo.js} +1 -1
- package/dist/assets/Invitees-BvTLQ2Dx.js +1 -0
- package/dist/assets/{List-C6qESiDX.js → List-CzCbV2RI.js} +1 -1
- package/dist/assets/List-DrRSr6rf.js +1 -0
- package/dist/assets/{List-C7m0Yi5O.js → List-DxmG5Fsu.js} +1 -1
- package/dist/assets/Main-DAOxrJFm.js +1 -0
- package/dist/assets/Navigator-7tnlvMe5.js +1 -0
- package/dist/assets/Navigator-pY9n2Xr_.css +1 -0
- package/dist/assets/{NoTasks-DqYFgS_3.js → NoTasks-CzCoCJiJ.js} +1 -1
- package/dist/assets/{NotFound-D1e-3ova.js → NotFound-1k_dya0M.js} +1 -1
- package/dist/assets/{OAuthCallback-BgBZC5Lx.js → OAuthCallback-D2YKjyo8.js} +1 -1
- package/dist/assets/Pagination-BmrVtAe2.js +1 -0
- package/dist/assets/{ScrollList-CLSW3Dbs.js → ScrollList-CHr2ER0d.js} +1 -1
- package/dist/assets/{Status-CCKc1DDl.js → Status-BtwLPzrZ.js} +1 -1
- package/dist/assets/{Subscribe-CIaSSZ8X.js → Subscribe-DNcY8cWa.js} +1 -1
- package/dist/assets/{TransportWebHID-BQ0-asjx.js → TransportWebHID-BiNkPg4j.js} +1 -1
- package/dist/assets/{VideoPlayer-e--8Rl5J.js → VideoPlayer-BJPVVH4v.js} +1 -1
- package/dist/assets/{_Uint8Array-BtL2weNZ.js → _Uint8Array-BWy8cKCo.js} +1 -1
- package/dist/assets/{_baseClone-CLa2JSau.js → _baseClone-CVDR-yNh.js} +1 -1
- package/dist/assets/{_baseIteratee-D4xvLM3s.js → _baseIteratee-GCheQ423.js} +1 -1
- package/dist/assets/{_initCloneObject-toOyHWRX.js → _initCloneObject-BnGf6y2Q.js} +1 -1
- package/dist/assets/{add-Cdy5BqQn.js → add-CkjK2xW1.js} +1 -1
- package/dist/assets/{all-wallets-DvcE11VI.js → all-wallets-CdL_YtIS.js} +1 -1
- package/dist/assets/{app-store-0_Pow1kc.js → app-store-Bt1dpC73.js} +1 -1
- package/dist/assets/{apple-BUjWzLQK.js → apple-CEeGRsLR.js} +1 -1
- package/dist/assets/{arrow-bottom-CD1iQIYK.js → arrow-bottom-CY7QPC3v.js} +1 -1
- package/dist/assets/{arrow-bottom-circle-CmTKNmVz.js → arrow-bottom-circle-DUacLrTK.js} +1 -1
- package/dist/assets/{arrow-left-CQL6Uhms.js → arrow-left-DdkU_cJC.js} +1 -1
- package/dist/assets/{arrow-right-Cjg65YpT.js → arrow-right-BApVZAmW.js} +1 -1
- package/dist/assets/{arrow-top-PcWlVXih.js → arrow-top-6DcF8ipC.js} +1 -1
- package/dist/assets/{avatar-BA-f4AKX.js → avatar-C0m3kdBO.js} +1 -1
- package/dist/assets/{bank-mnjwVKQN.js → bank-FZTS0Bvm.js} +1 -1
- package/dist/assets/{basic-D5C9DEO2.js → basic-z3EiNtlJ.js} +1 -1
- package/dist/assets/{browser-DEyKUR6X.js → browser-D-00yn8G.js} +1 -1
- package/dist/assets/byokCredential-Cdy8REIp.js +1 -0
- package/dist/assets/{card-ZntnNq7S.js → card-D_wHBdr4.js} +1 -1
- package/dist/assets/{castArray-DCHtvbqo.js → castArray-BX2YHThj.js} +1 -1
- package/dist/assets/chat-D11jX4Iv.js +2 -0
- package/dist/assets/{checkmark-vqUUVRDF.js → checkmark-BEf3bMy_.js} +1 -1
- package/dist/assets/{checkmark-bold-65uGszaN.js → checkmark-bold-Bw9dOPyC.js} +1 -1
- package/dist/assets/{chevron-bottom-CQZTYcvm.js → chevron-bottom-GHiW7kBq.js} +1 -1
- package/dist/assets/{chevron-left-CKW1BARx.js → chevron-left-CNEj2dO4.js} +1 -1
- package/dist/assets/{chevron-right-CJa41M5T.js → chevron-right-sgqFx8lL.js} +1 -1
- package/dist/assets/{chevron-top-Bwcsi6Fc.js → chevron-top-DlAuFkpk.js} +1 -1
- package/dist/assets/{chrome-store-BE25Pa9x.js → chrome-store-ClGqsVeO.js} +1 -1
- package/dist/assets/{clock-xj7EdKic.js → clock-Dn87YZjp.js} +1 -1
- package/dist/assets/{close-CT7bFxJI.js → close-BwRH304n.js} +1 -1
- package/dist/assets/{coinPlaceholder-5CTzP4NT.js → coinPlaceholder-D3MTdGQ0.js} +1 -1
- package/dist/assets/{common-yRaSE63I.js → common-Dd5FTt3o.js} +1 -1
- package/dist/assets/{common-B14ULdeG.js → common-QyUpPC75.js} +1 -1
- package/dist/assets/{compass-Dv-0B9GR.js → compass-C-E2T0zy.js} +1 -1
- package/dist/assets/{copy-BLWdmT9m.js → copy-BNJGAvMa.js} +1 -1
- package/dist/assets/{cursor-DAJSj7A9.js → cursor--i4Xa0OQ.js} +1 -1
- package/dist/assets/{cursor-transparent-CY6Udyqb.js → cursor-transparent-WOU8mk8F.js} +1 -1
- package/dist/assets/{debounce-BSdgAkOS.js → debounce-rFO21RGd.js} +1 -1
- package/dist/assets/{desktop-DD9E3u_A.js → desktop-CdiQ5DFl.js} +1 -1
- package/dist/assets/{disconnect-B1ntDtWb.js → disconnect-BBTXz5Xp.js} +1 -1
- package/dist/assets/{discord-Cd-PmPkY.js → discord-BavN0D2g.js} +1 -1
- package/dist/assets/{distribution-mjUnnC-h.js → distribution-gC6pfUsz.js} +1 -1
- package/dist/assets/{dropdown-CYDyXxEu.js → dropdown-D7fDLjhX.js} +1 -1
- package/dist/assets/{etherscan-gtDZdE0i.js → etherscan-Bw-ZKmx-.js} +1 -1
- package/dist/assets/{exclamation-triangle-CpVgpz55.js → exclamation-triangle-DOt3gbax.js} +1 -1
- package/dist/assets/{extension-9BvXh8bE.js → extension-DAiziIeO.js} +1 -1
- package/dist/assets/{external-link-DILxfqqN.js → external-link-Cv8eFrXr.js} +1 -1
- package/dist/assets/{facebook-BrZqpFIw.js → facebook-CzJaALeT.js} +1 -1
- package/dist/assets/{farcaster-oyChKJgy.js → farcaster-DlHpFJ18.js} +1 -1
- package/dist/assets/{filters-BDv3O6Xe.js → filters-BWg9cLQ3.js} +1 -1
- package/dist/assets/{flux-DqA6rzqI.js → flux-BP0RP-7R.js} +1 -1
- package/dist/assets/{github-5Xk5UWFn.js → github-BlSjhO5R.js} +1 -1
- package/dist/assets/{google-B7y7CLXd.js → google-wrIehkN1.js} +1 -1
- package/dist/assets/{hailuo-zvLClPNR.js → hailuo-CpEa1UDZ.js} +1 -1
- package/dist/assets/{headshots-DtMQ-fML.js → headshots-C_z_6iJl.js} +1 -1
- package/dist/assets/{help-circle-C4grA0b3.js → help-circle-CgG5yAaM.js} +1 -1
- package/dist/assets/{id-BqGIhZxE.js → id-D2oqHw8z.js} +1 -1
- package/dist/assets/{image-D_kqC-k3.js → image-D4yLPdQZ.js} +1 -1
- package/dist/assets/{index-C0dHnShz.js → index-26h1mgt-.js} +1 -1
- package/dist/assets/index-38G9IKZp.js +1 -0
- package/dist/assets/{index-gZYfPUqH.js → index-3euot5lf.js} +1 -1
- package/dist/assets/index-B--xRYrq.js +1 -0
- package/dist/assets/{index-4zhYnizi.js → index-B2UzvqRs.js} +1 -1
- package/dist/assets/index-B2l9Ai7a.js +1 -0
- package/dist/assets/{index-C8gv9XpT.js → index-B5aLH4ZV.js} +1 -1
- package/dist/assets/{index-COinJ3wV.js → index-BCtLhxeC.js} +1 -1
- package/dist/assets/{index-CBjdw82V.js → index-BEYNW2EK.js} +1 -1
- package/dist/assets/{index-DZxK-Gau.js → index-BEvg2pRE.js} +1 -1
- package/dist/assets/{index-CvU5FK4u.js → index-BHTuBZXJ.js} +1 -1
- package/dist/assets/{index-CRyZ32qo.js → index-BRydlsSG.js} +1 -1
- package/dist/assets/{index-e3HA0biF.js → index-BVMM7e5x.js} +1 -1
- package/dist/assets/{index-3079y3xc.js → index-BXMkJF7H.js} +1 -1
- package/dist/assets/{index-C719vQ0b.js → index-B_xoWE5M.js} +1 -1
- package/dist/assets/{index-DPvEmYP7.js → index-BdrHjNrn.js} +2 -2
- package/dist/assets/{index-B2obAGFg.js → index-BlG1KEGq.js} +1 -1
- package/dist/assets/{index-sUPnpVwg.js → index-Bw6diQ6i.js} +2 -2
- package/dist/assets/{index-oC6bXubz.js → index-BwN6IC9f.js} +1 -1
- package/dist/assets/{index-BMqHAFe8.js → index-ByyI6VwW.js} +1 -1
- package/dist/assets/index-C1Nafj7o.js +1 -0
- package/dist/assets/{index-h55T8DVq.js → index-CENBZ_Mi.js} +1 -1
- package/dist/assets/index-CJJgickM.js +1 -0
- package/dist/assets/{index-B_sHRuvM.js → index-CJtfHm7C.js} +1 -1
- package/dist/assets/{index-J0DUz7lI.js → index-CNQqVjGk.js} +1 -1
- package/dist/assets/{index-BtQumjje.js → index-CNnZhdJr.js} +1 -1
- package/dist/assets/{index-Bc1uL1lh.js → index-CRPCTgYK.js} +1 -1
- package/dist/assets/{index-DzeWdEL6.js → index-CUOB8-6a.js} +6 -6
- package/dist/assets/index-CW-yt64R.js +1 -0
- package/dist/assets/{index-BqfmO_GZ.js → index-CWoJcxvr.js} +1 -1
- package/dist/assets/{index-Dz07L-di.js → index-CbXIzWSz.js} +1 -1
- package/dist/assets/{index-CWijHLd4.js → index-Cu8jEzMt.js} +1 -1
- package/dist/assets/{index-GYQMtYT6.js → index-CwJsW1oV.js} +1 -1
- package/dist/assets/{index-D4R39Q4T.js → index-D4Yc4tRk.js} +1 -1
- package/dist/assets/{index-Cn4_bu9L.js → index-D4vu-0Vi.js} +3 -3
- package/dist/assets/{index-BJKA6-Z-.js → index-D8V5LY1E.js} +1 -1
- package/dist/assets/{index-CGzKdsQS.js → index-DB1wHeLA.js} +1 -1
- package/dist/assets/{index-C_MyWrFR.js → index-DBcVZLrq.js} +1 -1
- package/dist/assets/{index-BlBQVbe7.js → index-DKT9lpv-.js} +1 -1
- package/dist/assets/{index-DAILxU5_.js → index-DPl_Q5wR.js} +1 -1
- package/dist/assets/{index-C36XUd3I.js → index-DTQtEf7n.js} +1 -1
- package/dist/assets/{index-CAois4ub.js → index-DUswWNzD.js} +1 -1
- package/dist/assets/{index-KJyVGKox.js → index-DWTCukaE.js} +1 -1
- package/dist/assets/index-DdfzO8ET.js +1 -0
- package/dist/assets/{index-BKQt60Ja.js → index-DefEPu5Z.js} +1 -1
- package/dist/assets/{index-B81rhKOl.js → index-DrvGU9i_.js} +1 -1
- package/dist/assets/index-Ds-UbI_q.js +1 -0
- package/dist/assets/{index-HsCXET59.js → index-DsKeM0Xq.js} +1 -1
- package/dist/assets/{index-D9jYVi3R.js → index-FF4WAJT-.js} +1 -1
- package/dist/assets/{index-CnxV03kA.js → index-FTscF_cz.js} +14 -14
- package/dist/assets/{index-CGF8tuXZ.js → index-FhK8yklc.js} +1 -1
- package/dist/assets/{index-BDsGzS8q.js → index-O7t1BsNB.js} +1 -1
- package/dist/assets/{index-DhIU2Ld8.js → index-RiVU3gTe.js} +1 -1
- package/dist/assets/{index-BXYIQVCp.js → index-W9z3tmv_.js} +1 -1
- package/dist/assets/{index-DjtI4ek9.js → index-a10HPOrI.js} +1 -1
- package/dist/assets/index-aO6Fi57H.js +1 -0
- package/dist/assets/{index-Y0NlT3jW.js → index-brUXT6Ic.js} +1 -1
- package/dist/assets/{index-CI4HOy64.js → index-d1Dl3INe.js} +1 -1
- package/dist/assets/index-jii325vi.js +1 -0
- package/dist/assets/{index-DCAfo8xw.js → index-o4zhAWG6.js} +1 -1
- package/dist/assets/{index-BqVw-i1m.js → index-oWuBTe9g.js} +1 -1
- package/dist/assets/{index.browser.esm-B9lcScWN.js → index.browser.esm-BaPNoGjI.js} +1 -1
- package/dist/assets/{index.es-CR5c3J-H.js → index.es-B1lW1a9B.js} +1 -1
- package/dist/assets/{info-BSOtOA-S.js → info-D2mbPMyX.js} +1 -1
- package/dist/assets/{info-circle-L_JdUOzd.js → info-circle-CQtpHFeL.js} +1 -1
- package/dist/assets/{isEqual-BUu7kkim.js → isEqual-BiGspMHU.js} +1 -1
- package/dist/assets/{isPlainObject-C951NK-Z.js → isPlainObject-1A9ncyWS.js} +1 -1
- package/dist/assets/{kling-oH6EbWd-.js → kling-Bga-2-Yk.js} +1 -1
- package/dist/assets/{lightbulb-CjYEE-pX.js → lightbulb-SMN0MP8P.js} +1 -1
- package/dist/assets/{luma-La5liYsl.js → luma-CHNWeOk6.js} +1 -1
- package/dist/assets/{mail-BNdDOdlU.js → mail-D-ZfsNgq.js} +1 -1
- package/dist/assets/{midjourney-6_dcZ0uf.js → midjourney-BdpbGQo1.js} +1 -1
- package/dist/assets/{mobile-PeQmDWlT.js → mobile-DEieegSW.js} +1 -1
- package/dist/assets/{more-DceYr4Lz.js → more-BMIzMnqp.js} +1 -1
- package/dist/assets/{nanobanana-BlWLw-0i.js → nanobanana-JVOGegpV.js} +1 -1
- package/dist/assets/{network-placeholder-8tg15sZ6.js → network-placeholder-ppqpKoOQ.js} +1 -1
- package/dist/assets/{nftPlaceholder-Oe4wEZQH.js → nftPlaceholder-55iywwqB.js} +1 -1
- package/dist/assets/{off-CKC5I7Sy.js → off-CpesiVFf.js} +1 -1
- package/dist/assets/{openaiimage-D2v8r2k0.js → openaiimage-CEkHQ02c.js} +1 -1
- package/dist/assets/{order-Br2dvRZB.js → order-BFBb3_Nm.js} +1 -1
- package/dist/assets/{pika-Cp3tYlXA.js → pika-DF9AQtCB.js} +1 -1
- package/dist/assets/{pixverse-8cawnrYd.js → pixverse-NFnml3Ad.js} +1 -1
- package/dist/assets/{pixverse-eUATiZ_u.js → pixverse-g-p4CgDy.js} +1 -1
- package/dist/assets/{play-store-Dh4-9TDC.js → play-store-EtWgj9tY.js} +1 -1
- package/dist/assets/{plus-DuKsmxfn.js → plus-Bz9Zrmf7.js} +1 -1
- package/dist/assets/{price-WuGL9UMF.js → price-D5TNZtWD.js} +1 -1
- package/dist/assets/{producer-DbMvJ5IJ.js → producer-BTXuQmdX.js} +1 -1
- package/dist/assets/{qr-code-xikcy3vY.js → qr-code-BteNX7f7.js} +1 -1
- package/dist/assets/{qrart-3p-uK2yX.js → qrart-DBM0vNab.js} +1 -1
- package/dist/assets/{recycle-horizontal-BTeDybYv.js → recycle-horizontal-DoCeu-wB.js} +1 -1
- package/dist/assets/{refresh-wEube-8p.js → refresh-B27QPFje.js} +1 -1
- package/dist/assets/{reown-logo-Duvq4cIZ.js → reown-logo-DOxrtg5r.js} +1 -1
- package/dist/assets/{search-4dSIOsol.js → search-Bbvjy0sE.js} +1 -1
- package/dist/assets/{secp256k1-DO_c0HE4.js → secp256k1-DfbSkrJA.js} +1 -1
- package/dist/assets/{secp256k1-D3b5sS3Y.js → secp256k1-cwsWPnax.js} +1 -1
- package/dist/assets/{seedance-BHv8zgWE.js → seedance-DHGvvKi5.js} +1 -1
- package/dist/assets/{seedream-BBuvt17Y.js → seedream-BGv1ajnv.js} +1 -1
- package/dist/assets/{send-C38hffi0.js → send-CKT6bzdT.js} +1 -1
- package/dist/assets/{service-D2vZhmYV.js → service-C5LrDt_v.js} +1 -1
- package/dist/assets/{solana-wallets-Bb5-bt8W.js → solana-wallets-D3sNEfV2.js} +2 -2
- package/dist/assets/{solana-wallets-vue-sz_RAUZf.js → solana-wallets-vue-CJOnb2mO.js} +1 -1
- package/dist/assets/{solanaEmbed.esm-B2XG1XS-.js → solanaEmbed.esm-AUvjIviJ.js} +1 -1
- package/dist/assets/{sora-CALwkS60.js → sora-B2wrmmta.js} +1 -1
- package/dist/assets/{string_decoder-BdyrBKKN.js → string_decoder-pE91rp0R.js} +1 -1
- package/dist/assets/{suno-CTS84rTs.js → suno-D94YFwAz.js} +1 -1
- package/dist/assets/{swapHorizontal-CIlvi2s1.js → swapHorizontal-7WpTJnsP.js} +1 -1
- package/dist/assets/{swapHorizontalBold-pb7Mt9U9.js → swapHorizontalBold-BCnSLf6o.js} +1 -1
- package/dist/assets/{swapHorizontalMedium-DwW_bADA.js → swapHorizontalMedium-mWC-N_Ro.js} +1 -1
- package/dist/assets/{swapHorizontalRoundedBold-BH0c6-X7.js → swapHorizontalRoundedBold-Bu0IBfBl.js} +1 -1
- package/dist/assets/{swapVertical-BmvQbdlw.js → swapVertical-zPCGtEyW.js} +1 -1
- package/dist/assets/{telegram-zNhhvV-T.js → telegram-CqVol6C7.js} +1 -1
- package/dist/assets/{three-dots-C2CRUM09.js → three-dots-BvwfJBxD.js} +1 -1
- package/dist/assets/{twitch-C4zzdLky.js → twitch-W0B0uQ2_.js} +1 -1
- package/dist/assets/{twitterIcon-B92_7L89.js → twitterIcon-Dy3K7R98.js} +1 -1
- package/dist/assets/{typescript-D-y7TKkl.js → typescript-CUMR9uNq.js} +1 -1
- package/dist/assets/{use-form-item-n1D0HOVh.js → use-form-item-DDWqgx7q.js} +1 -1
- package/dist/assets/validator-pb75_c-A.js +1 -0
- package/dist/assets/{veo-NH_MUVor.js → veo-Dg8Zhpd-.js} +1 -1
- package/dist/assets/{veo-CvNN8wNJ.js → veo-ibQ-pqXQ.js} +1 -1
- package/dist/assets/{verify-filled-DWfvqtTf.js → verify-filled-CKhjqWtR.js} +1 -1
- package/dist/assets/{verify-ZKFLiBPb.js → verify-qcg7LJmo.js} +1 -1
- package/dist/assets/{w3m-modal-z_Zw8vbr.js → w3m-modal-BYAeKj4C.js} +1 -1
- package/dist/assets/{wallet-placeholder-CxBgqhLt.js → wallet-placeholder-DdZaIWvi.js} +1 -1
- package/dist/assets/{wallet-CV4sqa98.js → wallet-q_V1cxSj.js} +1 -1
- package/dist/assets/{walletconnect-f0Q1J2xH.js → walletconnect-DqDsf_VI.js} +1 -1
- package/dist/assets/{wan-DnauGLkm.js → wan-BSsn6vES.js} +1 -1
- package/dist/assets/{warning-circle-Bo6YPJN9.js → warning-circle-olX97x29.js} +1 -1
- package/dist/assets/{web-Xw8Vpm8m.js → web-CpRQ4ifd.js} +1 -1
- package/dist/assets/{web-DHymevVm.js → web-Csr5ExDC.js} +1 -1
- package/dist/assets/{x-BdAb1Kuh.js → x-DfcqJEz9.js} +1 -1
- package/dist/index.html +62 -14
- package/package.json +1 -1
- package/dist/assets/Console-BX4tut8T.js +0 -1
- package/dist/assets/EditArray-qckoLhGU.js +0 -1
- package/dist/assets/IconPark.vue_vue_type_script_setup_true_lang-D5nebBc1.js +0 -1
- package/dist/assets/Index-621jgqyo.js +0 -1
- package/dist/assets/Index-BRHvzLcH.js +0 -1
- package/dist/assets/Index-BXgQL3oy.js +0 -1
- package/dist/assets/Index-CpxDt76g.js +0 -1
- package/dist/assets/Index-D1zi3VjW.css +0 -1
- package/dist/assets/Index-KYDwuUCb.js +0 -1
- package/dist/assets/Invitees-CfZKpPdS.js +0 -1
- package/dist/assets/List-Cw1eUK3j.js +0 -1
- package/dist/assets/Main-ZnfTm2_c.js +0 -1
- package/dist/assets/Navigator-1EahaRlS.css +0 -1
- package/dist/assets/Navigator-DEO-xgNM.js +0 -1
- package/dist/assets/Pagination-BQtrBLcO.js +0 -1
- package/dist/assets/byokCredential-umfRCH1d.js +0 -1
- package/dist/assets/chat-DdiicJjo.js +0 -2
- package/dist/assets/index-BGWjIWtx.js +0 -1
- package/dist/assets/index-Bd3Ciuoz.js +0 -1
- package/dist/assets/index-CFMP3iYS.js +0 -1
- package/dist/assets/index-CahX5AtG.js +0 -1
- package/dist/assets/index-CtIMFI1x.js +0 -1
- package/dist/assets/index-DAIZ68Ng.js +0 -1
- package/dist/assets/index-DOwlxqQ4.js +0 -1
- package/dist/assets/index-DRNT-3tY.js +0 -1
- package/dist/assets/index-Dnv-ARoh.js +0 -1
- package/dist/assets/index-aX-s__p_.js +0 -1
- package/dist/assets/validator-kdYNLPlp.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ar as T,ap as i,a7 as f,av as u}from"./index-FTscF_cz.js";import{L as g}from"./luma-DcySqBv2.js";import{s as b}from"./service-C5LrDt_v.js";import{l as S}from"./luma-CHNWeOk6.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-9TBHB1ku.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,console.debug("get applications success",n.items),t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},L=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},q=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:k,createdAtMax:m})=>new Promise((A,c)=>{console.debug("start to get tasks",a,n);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:m},{token:l}).then(o=>{console.debug("get luma tasks success",o.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=o.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",o.data.count),A(o.data.items)}).catch(o=>c(o))}),M={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:L,setTasksTotal:R,setTasksActive:q,getTasks:D,createCredential:x},U=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},K=(t,e)=>{t.tasks=e},N={setTasks:K,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:U},nt={namespaced:!0,state:u,mutations:N,actions:M};export{nt as default,nt as luma};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ar as T,ap as o,a7 as f,aw as u}from"./index-FTscF_cz.js";import{p as b,P as g}from"./pika-DF9AQtCB.js";import{s as w}from"./service-C5LrDt_v.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-9TBHB1ku.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},P=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await w.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:i}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},E=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},K=async({commit:t,state:e,rootState:s},{offset:a,limit:i,createdAtMin:k,createdAtMax:A})=>new Promise((v,c)=>{console.debug("start to get tasks",a,i);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");b.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(n=>{console.debug("get videos tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const m=S(p,d);t("setTasksItems",m),t("setTasksTotal",n.data.count),v(n.data.items)}).catch(n=>c(n))}),L={setService:h,getService:x,resetAll:C,setCredential:y,setConfig:_,setApplication:I,setApplications:$,getApplications:O,setTasks:E,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:K,createCredential:P},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:M,setTasksItems:H,setTasksTotal:J,resetAll:V},at={namespaced:!0,state:u,mutations:Q,actions:L};export{at as default,at as pika};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as l}from"./index-
|
|
1
|
+
import{e as l}from"./index-FTscF_cz.js";import{c as e,k as u}from"./vendor-vue-DU0w5ewx.js";const i=["class","style"],E=/^on[A-Z]/,m=(c={})=>{const{excludeListeners:o=!1,excludeKeys:t}=c,a=e(()=>(t?.value||[]).concat(i)),s=u();return s?e(()=>{var r;return l(Object.entries((r=s.proxy)==null?void 0:r.$attrs).filter(([n])=>!a.value.includes(n)&&!(o&&E.test(n))))}):e(()=>({}))};export{m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{I as c,J as p,z as u,A as f,D as v}from"./index-FTscF_cz.js";import{d as a,q as s,H as o,Q as i,u as r,z as m,J as y,R as S,c as _}from"./vendor-vue-DU0w5ewx.js";const z=c({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:p(String),default:"solid"}}),b=a({name:"ElDivider"}),h=a({...b,props:z,setup(n){const l=n,e=f("divider"),d=_(()=>e.cssVar({"border-style":l.borderStyle}));return(t,g)=>(s(),o("div",{class:i([r(e).b(),r(e).m(t.direction)]),style:S(r(d)),role:"separator"},[t.$slots.default&&t.direction!=="vertical"?(s(),o("div",{key:0,class:i([r(e).e("text"),r(e).is(t.contentPosition)])},[m(t.$slots,"default")],2)):y("v-if",!0)],6))}});var P=u(h,[["__file","divider.vue"]]);const k=v(P);export{k as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ar as A,ap as a,a7 as m,aE as T}from"./index-FTscF_cz.js";import{P as g}from"./producer-DP85fuAq.js";import{s as f}from"./service-C5LrDt_v.js";import{p as b}from"./producer-BTXuQmdX.js";import{m as C}from"./merge-C5jDS2au.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-9TBHB1ku.js";const S=({commit:t})=>{t("resetAll")},w=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const o=s?.credentials?.find(i=>i?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),t("setCredential",o)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},I=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},h=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:o}=await A.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",o),t("setCredential",o),console.debug("end createCredential"),o},E=async({commit:t,state:e})=>{e.status.getService=a.Request;try{const{data:s}=await f.get(g);return e.status.getService=a.Success,t("setService",s),s}catch{e.status.getService=a.Error,t("setService",void 0)}},P=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for producer"),e.status.getApplications=a.Request;const o=e.application;console.debug("current application",o);try{const{data:i}=await m.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=a.Success,t("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),e.status.getApplications=a.Error,t("setApplications",void 0),t("setApplication",void 0)}},O=({commit:t},e)=>{t("setConfig",e)},R=({commit:t},e)=>{t("setTasks",e)},_=({commit:t},e)=>{t("setTasksItems",e)},x=({commit:t},e)=>{t("setTasksTotal",e)},q=({commit:t},e)=>{t("setTasksActive",e)},D=({commit:t},e)=>{t("setAudio",e)},L=async({commit:t,state:e,rootState:s},{offset:o,limit:i,createdAtMin:c,createdAtMax:r})=>new Promise((k,l)=>{console.debug("start to get tasks",o,i,r,c);const p=e.credential?.token;if(!p)return l("no token");b.tasks({userId:s?.user?.id,createdAtMin:c,createdAtMax:r,type:"audios"},{token:p}).then(n=>{console.debug("get producer tasks success",n.data.items);const d=e?.tasks?.items||[];console.debug("existing items",d);const u=n.data.items||[];console.debug("new items",u);const v=C(d,u);t("setTasksItems",v),t("setTasksTotal",n.data.count),k(n.data.items)}).catch(n=>l(n))}),U={setService:$,getService:E,resetAll:S,setCredential:y,setConfig:O,setApplication:w,setApplications:I,getApplications:P,setTasks:R,setTasksItems:_,setTasksTotal:x,setTasksActive:q,getTasks:L,setAudio:D,createCredential:h},V=t=>{t.service=void 0,t.application=void 0,t.applications=void 0,t.config=void 0,t.credential=void 0,t.tasks=void 0},z=(t,e)=>{t.applications=e},B=(t,e)=>{t.service=e},F=(t,e)=>{t.credential=e},G=(t,e)=>{t.application=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},N=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},Q=(t,e)=>{t.audio=e},W=(t,e)=>{t.tasks=e},X={setTasks:W,setApplication:G,setApplications:z,setConfig:H,setCredential:F,setService:B,setTasksActive:N,setTasksItems:J,setTasksTotal:K,setAudio:Q,resetAll:V},at={namespaced:!0,state:T,mutations:X,actions:U};export{at as default,at as producer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as ue,ai as k,d as _,q as y,x as U,y as R,H as L,O as ke,N as Ee,U as de,u as t,Q as m,z as $,J as g,E as A,M as B,C as w,F as Z,R as Ce,aj as $e,b as ce,c as X,i as Re,a as J,an as x,m as Fe,w as ee,a6 as Pe,af as te,A as se,p as we,j as Le}from"./vendor-vue-DU0w5ewx.js";import{V as Y,bA as pe,I as q,J as v,z as M,af as Se,A as N,Q as H,S as D,bO as Te,Y as Ue,$ as _e,a0 as Oe,bm as De,bP as Be,bQ as je,R as Ae,D as Ne}from"./index-FTscF_cz.js";import{E as qe}from"./index-BdrHjNrn.js";import{m as Q,b as Me}from"./typescript-CUMR9uNq.js";import{b as He}from"./_baseClone-CVDR-yNh.js";import{i as Ke}from"./isEqual-BiGspMHU.js";var ze=1,Ie=4;function ae(o){return He(o,ze|Ie)}const fe=Symbol("uploadContextKey"),Ve="ElUpload";class Ge extends Error{constructor(l,a,c,i){super(l),this.name="UploadAjaxError",this.status=a,this.method=c,this.url=i}}function oe(o,l,a){let c;return a.response?c=`${a.response.error||a.response}`:a.responseText?c=`${a.responseText}`:c=`fail to ${l.method} ${o} ${a.status}`,new Ge(c,a.status,l.method,o)}function Xe(o){const l=o.responseText||o.response;if(!l)return l;try{return JSON.parse(l)}catch{return l}}const Je=o=>{typeof XMLHttpRequest>"u"&&Y(Ve,"XMLHttpRequest is undefined");const l=new XMLHttpRequest,a=o.action;l.upload&&l.upload.addEventListener("progress",d=>{const f=d;f.percent=d.total>0?d.loaded/d.total*100:0,o.onProgress(f)});const c=new FormData;if(o.data)for(const[d,f]of Object.entries(o.data))ue(f)&&f.length?c.append(d,...f):c.append(d,f);c.append(o.filename,o.file,o.file.name),l.addEventListener("error",()=>{o.onError(oe(a,o,l))}),l.addEventListener("load",()=>{if(l.status<200||l.status>=300)return o.onError(oe(a,o,l));o.onSuccess(Xe(l))}),l.open(o.method,a,!0),o.withCredentials&&"withCredentials"in l&&(l.withCredentials=!0);const i=o.headers||{};if(i instanceof Headers)i.forEach((d,f)=>l.setRequestHeader(f,d));else for(const[d,f]of Object.entries(i))pe(f)||l.setRequestHeader(d,String(f));return l.send(c),l},ve=["text","picture","picture-card"];let Qe=1;const W=()=>Date.now()+Qe++,me=q({action:{type:String,default:"#"},headers:{type:v(Object)},method:{type:String,default:"post"},data:{type:v([Object,Function,Promise]),default:()=>Q({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:v(Array),default:()=>Q([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:v(Function),default:Je},disabled:Boolean,limit:Number}),We=q({...me,beforeUpload:{type:v(Function),default:k},beforeRemove:{type:v(Function)},onRemove:{type:v(Function),default:k},onChange:{type:v(Function),default:k},onPreview:{type:v(Function),default:k},onSuccess:{type:v(Function),default:k},onProgress:{type:v(Function),default:k},onError:{type:v(Function),default:k},onExceed:{type:v(Function),default:k},crossorigin:{type:v(String)}}),Ye=q({files:{type:v(Array),default:()=>Q([])},disabled:Boolean,handlePreview:{type:v(Function),default:k},listType:{type:String,values:ve,default:"text"},crossorigin:{type:v(String)}}),Ze={remove:o=>!!o},xe=_({name:"ElUploadList"}),et=_({...xe,props:Ye,emits:Ze,setup(o,{emit:l}){const a=o,{t:c}=Se(),i=N("upload"),d=N("icon"),f=N("list"),C=H(),h=ce(!1),b=X(()=>[i.b("list"),i.bm("list",a.listType),i.is("disabled",a.disabled)]),E=p=>{l("remove",p)};return(p,S)=>(y(),U($e,{tag:"ul",class:m(t(b)),name:t(f).b()},{default:R(()=>[(y(!0),L(ke,null,Ee(p.files,(s,n)=>(y(),L("li",{key:s.uid||s.name,class:m([t(i).be("list","item"),t(i).is(s.status),{focusing:h.value}]),tabindex:"0",onKeydown:de(e=>!t(C)&&E(s),["delete"]),onFocus:e=>h.value=!0,onBlur:e=>h.value=!1,onClick:e=>h.value=!1},[$(p.$slots,"default",{file:s,index:n},()=>[p.listType==="picture"||s.status!=="uploading"&&p.listType==="picture-card"?(y(),L("img",{key:0,class:m(t(i).be("list","item-thumbnail")),src:s.url,crossorigin:p.crossorigin,alt:""},null,10,["src","crossorigin"])):g("v-if",!0),s.status==="uploading"||p.listType!=="picture-card"?(y(),L("div",{key:1,class:m(t(i).be("list","item-info"))},[A("a",{class:m(t(i).be("list","item-name")),onClick:B(e=>p.handlePreview(s),["prevent"])},[w(t(D),{class:m(t(d).m("document"))},{default:R(()=>[w(t(Te))]),_:1},8,["class"]),A("span",{class:m(t(i).be("list","item-file-name")),title:s.name},Z(s.name),11,["title"])],10,["onClick"]),s.status==="uploading"?(y(),U(t(qe),{key:0,type:p.listType==="picture-card"?"circle":"line","stroke-width":p.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:Ce(p.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):g("v-if",!0)],2)):g("v-if",!0),A("label",{class:m(t(i).be("list","item-status-label"))},[p.listType==="text"?(y(),U(t(D),{key:0,class:m([t(d).m("upload-success"),t(d).m("circle-check")])},{default:R(()=>[w(t(Ue))]),_:1},8,["class"])):["picture-card","picture"].includes(p.listType)?(y(),U(t(D),{key:1,class:m([t(d).m("upload-success"),t(d).m("check")])},{default:R(()=>[w(t(_e))]),_:1},8,["class"])):g("v-if",!0)],2),t(C)?g("v-if",!0):(y(),U(t(D),{key:2,class:m(t(d).m("close")),onClick:e=>E(s)},{default:R(()=>[w(t(Oe))]),_:2},1032,["class","onClick"])),g(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),g(" This is a bug which needs to be fixed "),g(" TODO: Fix the incorrect navigation interaction "),t(C)?g("v-if",!0):(y(),L("i",{key:3,class:m(t(d).m("close-tip"))},Z(t(c)("el.upload.deleteTip")),3)),p.listType==="picture-card"?(y(),L("span",{key:4,class:m(t(i).be("list","item-actions"))},[A("span",{class:m(t(i).be("list","item-preview")),onClick:e=>p.handlePreview(s)},[w(t(D),{class:m(t(d).m("zoom-in"))},{default:R(()=>[w(t(De))]),_:1},8,["class"])],10,["onClick"]),t(C)?g("v-if",!0):(y(),L("span",{key:0,class:m(t(i).be("list","item-delete")),onClick:e=>E(s)},[w(t(D),{class:m(t(d).m("delete"))},{default:R(()=>[w(t(Be))]),_:1},8,["class"])],10,["onClick"]))],2)):g("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),$(p.$slots,"append")]),_:3},8,["class","name"]))}});var ne=M(et,[["__file","upload-list.vue"]]);const tt=q({disabled:Boolean}),st={file:o=>ue(o)},ye="ElUploadDrag",at=_({name:ye}),ot=_({...at,props:tt,emits:st,setup(o,{emit:l}){Re(fe)||Y(ye,"usage: <el-upload><el-upload-dragger /></el-upload>");const c=N("upload"),i=ce(!1),d=H(),f=b=>{if(d.value)return;i.value=!1,b.stopPropagation();const E=Array.from(b.dataTransfer.files),p=b.dataTransfer.items||[];E.forEach((S,s)=>{var n;const e=p[s],u=(n=e?.webkitGetAsEntry)==null?void 0:n.call(e);u&&(S.isDirectory=u.isDirectory)}),l("file",E)},C=()=>{d.value||(i.value=!0)},h=b=>{b.currentTarget.contains(b.relatedTarget)||(i.value=!1)};return(b,E)=>(y(),L("div",{class:m([t(c).b("dragger"),t(c).is("dragover",i.value)]),onDrop:B(f,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(h,["prevent"])},[$(b.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var nt=M(ot,[["__file","upload-dragger.vue"]]);const rt=q({...me,beforeUpload:{type:v(Function),default:k},onRemove:{type:v(Function),default:k},onStart:{type:v(Function),default:k},onSuccess:{type:v(Function),default:k},onProgress:{type:v(Function),default:k},onError:{type:v(Function),default:k},onExceed:{type:v(Function),default:k}}),lt=_({name:"ElUploadContent",inheritAttrs:!1}),it=_({...lt,props:rt,setup(o,{expose:l}){const a=o,c=N("upload"),i=H(),d=J({}),f=J(),C=e=>{if(e.length===0)return;const{autoUpload:u,limit:r,fileList:F,multiple:P,onStart:T,onExceed:K}=a;if(r&&F.length+e.length>r){K(e,F);return}P||(e=e.slice(0,1));for(const z of e){const j=z;j.uid=W(),T(j),u&&h(j)}},h=async e=>{if(f.value.value="",!a.beforeUpload)return E(e);let u,r={};try{const P=a.data,T=a.beforeUpload(e);r=x(a.data)?ae(a.data):a.data,u=await T,x(a.data)&&Ke(P,r)&&(r=ae(a.data))}catch{u=!1}if(u===!1){a.onRemove(e);return}let F=e;u instanceof Blob&&(u instanceof File?F=u:F=new File([u],e.name,{type:e.type})),E(Object.assign(F,{uid:e.uid}),r)},b=async(e,u)=>Fe(e)?e(u):e,E=async(e,u)=>{const{headers:r,data:F,method:P,withCredentials:T,name:K,action:z,onProgress:j,onSuccess:ge,onError:be,httpRequest:he}=a;try{u=await b(u??F,e)}catch{a.onRemove(e);return}const{uid:I}=e,V={headers:r||{},withCredentials:T,file:e,data:u,method:P,filename:K,action:z,onProgress:O=>{j(O,e)},onSuccess:O=>{ge(O,e),delete d.value[I]},onError:O=>{be(O,e),delete d.value[I]}},G=he(V);d.value[I]=G,G instanceof Promise&&G.then(V.onSuccess,V.onError)},p=e=>{const u=e.target.files;u&&C(Array.from(u))},S=()=>{i.value||(f.value.value="",f.value.click())},s=()=>{S()};return l({abort:e=>{je(d.value).filter(e?([r])=>String(e.uid)===r:()=>!0).forEach(([r,F])=>{F instanceof XMLHttpRequest&&F.abort(),delete d.value[r]})},upload:h}),(e,u)=>(y(),L("div",{class:m([t(c).b(),t(c).m(e.listType),t(c).is("drag",e.drag),t(c).is("disabled",t(i))]),tabindex:t(i)?"-1":"0",onClick:S,onKeydown:de(B(s,["self"]),["enter","space"])},[e.drag?(y(),U(nt,{key:0,disabled:t(i),onFile:C},{default:R(()=>[$(e.$slots,"default")]),_:3},8,["disabled"])):$(e.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:f,class:m(t(c).e("input")),name:e.name,disabled:t(i),multiple:e.multiple,accept:e.accept,type:"file",onChange:p,onClick:B(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var re=M(it,[["__file","upload-content.vue"]]);const le="ElUpload",ie=o=>{var l;(l=o.url)!=null&&l.startsWith("blob:")&&URL.revokeObjectURL(o.url)},ut=(o,l)=>{const a=Me(o,"fileList",void 0,{passive:!0}),c=s=>a.value.find(n=>n.uid===s.uid);function i(s){var n;(n=l.value)==null||n.abort(s)}function d(s=["ready","uploading","success","fail"]){a.value=a.value.filter(n=>!s.includes(n.status))}function f(s){a.value=a.value.filter(n=>n.uid!==s.uid)}const C=(s,n)=>{const e=c(n);e&&(console.error(s),e.status="fail",f(e),o.onError(s,e,a.value),o.onChange(e,a.value))},h=(s,n)=>{const e=c(n);e&&(o.onProgress(s,e,a.value),e.status="uploading",e.percentage=Math.round(s.percent))},b=(s,n)=>{const e=c(n);e&&(e.status="success",e.response=s,o.onSuccess(s,e,a.value),o.onChange(e,a.value))},E=s=>{pe(s.uid)&&(s.uid=W());const n={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(o.listType==="picture-card"||o.listType==="picture")try{n.url=URL.createObjectURL(s)}catch(e){Ae(le,e.message),o.onError(e,n,a.value)}a.value=[...a.value,n],o.onChange(n,a.value)},p=async s=>{const n=s instanceof File?c(s):s;n||Y(le,"file to be removed not found");const e=u=>{i(u),f(u),o.onRemove(u,a.value),ie(u)};o.beforeRemove?await o.beforeRemove(n,a.value)!==!1&&e(n):e(n)};function S(){a.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var n;return s&&((n=l.value)==null?void 0:n.upload(s))})}return ee(()=>o.listType,s=>{s!=="picture-card"&&s!=="picture"||(a.value=a.value.map(n=>{const{raw:e,url:u}=n;if(!u&&e)try{n.url=URL.createObjectURL(e)}catch(r){o.onError(r,n,a.value)}return n}))}),ee(a,s=>{for(const n of s)n.uid||(n.uid=W()),n.status||(n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:a,abort:i,clearFiles:d,handleError:C,handleProgress:h,handleStart:E,handleSuccess:b,handleRemove:p,submit:S,revokeFileObjectURL:ie}},dt=_({name:"ElUpload"}),ct=_({...dt,props:We,setup(o,{expose:l}){const a=o,c=H(),i=J(),{abort:d,submit:f,clearFiles:C,uploadFiles:h,handleStart:b,handleError:E,handleRemove:p,handleSuccess:S,handleProgress:s,revokeFileObjectURL:n}=ut(a,i),e=X(()=>a.listType==="picture-card"),u=X(()=>({...a,fileList:h.value,onStart:b,onProgress:s,onSuccess:S,onError:E,onRemove:p}));return Pe(()=>{h.value.forEach(n)}),we(fe,{accept:Le(a,"accept")}),l({abort:d,submit:f,clearFiles:C,handleStart:b,handleRemove:p}),(r,F)=>(y(),L("div",null,[t(e)&&r.showFileList?(y(),U(ne,{key:0,disabled:t(c),"list-type":r.listType,files:t(h),crossorigin:r.crossorigin,"handle-preview":r.onPreview,onRemove:t(p)},te({append:R(()=>[w(re,se({ref_key:"uploadRef",ref:i},t(u)),{default:R(()=>[r.$slots.trigger?$(r.$slots,"trigger",{key:0}):g("v-if",!0),!r.$slots.trigger&&r.$slots.default?$(r.$slots,"default",{key:1}):g("v-if",!0)]),_:3},16)]),_:2},[r.$slots.file?{name:"default",fn:R(({file:P,index:T})=>[$(r.$slots,"file",{file:P,index:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):g("v-if",!0),!t(e)||t(e)&&!r.showFileList?(y(),U(re,se({key:1,ref_key:"uploadRef",ref:i},t(u)),{default:R(()=>[r.$slots.trigger?$(r.$slots,"trigger",{key:0}):g("v-if",!0),!r.$slots.trigger&&r.$slots.default?$(r.$slots,"default",{key:1}):g("v-if",!0)]),_:3},16)):g("v-if",!0),r.$slots.trigger?$(r.$slots,"default",{key:2}):g("v-if",!0),$(r.$slots,"tip"),!t(e)&&r.showFileList?(y(),U(ne,{key:3,disabled:t(c),"list-type":r.listType,files:t(h),crossorigin:r.crossorigin,"handle-preview":r.onPreview,onRemove:t(p)},te({_:2},[r.$slots.file?{name:"default",fn:R(({file:P,index:T})=>[$(r.$slots,"file",{file:P,index:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):g("v-if",!0)]))}});var pt=M(ct,[["__file","upload.vue"]]);const ht=Ne(pt);export{ht as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{I as p,J as y,z as u,A as h,D as m}from"./index-FTscF_cz.js";import{d as f,q as o,H as t,Q as r,u as a,z as l,I as d,F as n,J as i,E as C,R as S}from"./vendor-vue-DU0w5ewx.js";const c=p({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:y([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),v=f({name:"ElCard"}),b=f({...v,props:c,setup(w){const s=h("card");return(e,$)=>(o(),t("div",{class:r([a(s).b(),a(s).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?(o(),t("div",{key:0,class:r([a(s).e("header"),e.headerClass])},[l(e.$slots,"header",{},()=>[d(n(e.header),1)])],2)):i("v-if",!0),C("div",{class:r([a(s).e("body"),e.bodyClass]),style:S(e.bodyStyle)},[l(e.$slots,"default")],6),e.$slots.footer||e.footer?(o(),t("div",{key:1,class:r([a(s).e("footer"),e.footerClass])},[l(e.$slots,"footer",{},()=>[d(n(e.footer),1)])],2)):i("v-if",!0)],2))}});var g=u(b,[["__file","card.vue"]]);const z=m(g);export{z as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ar as v,ap as i,a7 as T,aV as d}from"./index-FTscF_cz.js";import{s as f}from"./service-C5LrDt_v.js";import{h as b}from"./headshots-C_z_6iJl.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-9TBHB1ku.js";const u="3b2ec5fb-cfcb-49f0-9393-6b8617a2d8c4",w=({commit:t})=>{t("resetAll")},C=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},I=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},$=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},y=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await v.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await f.get(u);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await T.getAll({user_id:s?.user?.id,service_id:u});return e.status.getApplications=i.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},_=({commit:t},e)=>{t("setTasks",e)},P=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},q=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:g,createdAtMax:k})=>new Promise((A,c)=>{console.debug("start to get tasks",a,n);const r=e.credential?.token;if(!r)return c("no token");b.tasks({userId:s?.user?.id,createdAtMin:g,createdAtMax:k},{token:r}).then(o=>{console.debug("get videos tasks success",o.data.items);const l=e?.tasks?.items||[];console.debug("existing items",l);const p=o.data.items||[];console.debug("new items",p);const m=S(l,p);t("setTasksItems",m),t("setTasksTotal",o.data.count),A(o.data.items)}).catch(o=>c(o))}),H={setService:I,getService:O,resetAll:w,setCredential:$,setConfig:E,setApplication:C,setApplications:h,getApplications:x,setTasks:_,setTasksItems:P,setTasksTotal:R,setTasksActive:q,getTasks:D,createCredential:y},V=t=>{Object.assign(t,d())},L=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:L,setTasksActive:K,setTasksItems:G,setTasksTotal:J,resetAll:V},at={namespaced:!0,state:d,mutations:N,actions:H};export{at as default,at as headshots};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ae as O,be as H,P as J,Q as D,I as Q,H as U,O as P,bf as q,J as M,A as w,z as F,S as T,D as R,a$ as X}from"./index-FTscF_cz.js";import{u as L}from"./use-form-item-DDWqgx7q.js";import{c as d,i as W,X as Y,ac as Z,b as tt,d as B,q as m,x as y,y as V,H as x,O as et,z as _,u,Q as N,V as $,J as E,A as ot,p as at,r as nt,j as G}from"./vendor-vue-DU0w5ewx.js";import{T as lt}from"./index-BuyEbX8F.js";const A=Symbol("buttonGroupContextKey"),st=(t,c)=>{O({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},d(()=>t.type==="text"));const n=W(A,void 0),a=H("button"),{form:s}=L(),l=J(d(()=>n?.size)),o=D(),b=tt(),v=Y(),p=d(()=>{var e;return t.type||n?.type||((e=a.value)==null?void 0:e.type)||""}),g=d(()=>{var e,r,i;return(i=(r=t.autoInsertSpace)!=null?r:(e=a.value)==null?void 0:e.autoInsertSpace)!=null?i:!1}),S=d(()=>{var e,r,i;return(i=(r=t.plain)!=null?r:(e=a.value)==null?void 0:e.plain)!=null?i:!1}),h=d(()=>{var e,r,i;return(i=(r=t.round)!=null?r:(e=a.value)==null?void 0:e.round)!=null?i:!1}),k=d(()=>t.tag==="button"?{ariaDisabled:o.value||t.loading,disabled:o.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),C=d(()=>{var e;const r=(e=v.default)==null?void 0:e.call(v);if(g.value&&r?.length===1){const i=r[0];if(i?.type===Z){const K=i.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(K.trim())}}return!1});return{_disabled:o,_size:l,_type:p,_ref:b,_props:k,_plain:S,_round:h,shouldAddSpace:C,handleClick:e=>{if(o.value||t.loading){e.stopPropagation();return}t.nativeType==="reset"&&s?.resetFields(),c("click",e)}}},rt=["default","primary","success","warning","info","danger","text",""],it=["button","submit","reset"],z=Q({size:q,disabled:Boolean,type:{type:String,values:rt,default:""},icon:{type:P},nativeType:{type:String,values:it,default:"button"},loading:Boolean,loadingIcon:{type:P,default:()=>U},plain:{type:Boolean,default:void 0},text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:M([String,Object]),default:"button"}}),ct={click:t=>t instanceof MouseEvent};function f(t,c=20){return t.mix("#141414",c).toString()}function ut(t){const c=D(),n=w("button");return d(()=>{let a={},s=t.color;if(s){const l=s.match(/var\((.*?)\)/);l&&(s=window.getComputedStyle(window.document.documentElement).getPropertyValue(l[1]));const o=new lt(s),b=t.dark?o.tint(20).toString():f(o,20);if(t.plain)a=n.cssVarBlock({"bg-color":t.dark?f(o,90):o.tint(90).toString(),"text-color":s,"border-color":t.dark?f(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":b,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":b}),c.value&&(a[n.cssVarBlockName("disabled-bg-color")]=t.dark?f(o,90):o.tint(90).toString(),a[n.cssVarBlockName("disabled-text-color")]=t.dark?f(o,50):o.tint(50).toString(),a[n.cssVarBlockName("disabled-border-color")]=t.dark?f(o,80):o.tint(80).toString());else{const v=t.dark?f(o,30):o.tint(30).toString(),p=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(a=n.cssVarBlock({"bg-color":s,"text-color":p,"border-color":s,"hover-bg-color":v,"hover-text-color":p,"hover-border-color":v,"active-bg-color":b,"active-border-color":b}),c.value){const g=t.dark?f(o,50):o.tint(50).toString();a[n.cssVarBlockName("disabled-bg-color")]=g,a[n.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,a[n.cssVarBlockName("disabled-border-color")]=g}}}return a})}const dt=B({name:"ElButton"}),bt=B({...dt,props:z,emits:ct,setup(t,{expose:c,emit:n}){const a=t,s=ut(a),l=w("button"),{_ref:o,_size:b,_type:v,_disabled:p,_props:g,_plain:S,_round:h,shouldAddSpace:k,handleClick:C}=st(a,n),I=d(()=>[l.b(),l.m(v.value),l.m(b.value),l.is("disabled",p.value),l.is("loading",a.loading),l.is("plain",S.value),l.is("round",h.value),l.is("circle",a.circle),l.is("text",a.text),l.is("link",a.link),l.is("has-bg",a.bg)]);return c({ref:o,size:b,type:v,disabled:p,shouldAddSpace:k}),(e,r)=>(m(),y($(e.tag),ot({ref_key:"_ref",ref:o},u(g),{class:u(I),style:u(s),onClick:u(C)}),{default:V(()=>[e.loading?(m(),x(et,{key:0},[e.$slots.loading?_(e.$slots,"loading",{key:0}):(m(),y(u(T),{key:1,class:N(u(l).is("loading"))},{default:V(()=>[(m(),y($(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(m(),y(u(T),{key:1},{default:V(()=>[e.icon?(m(),y($(e.icon),{key:0})):_(e.$slots,"icon",{key:1})]),_:3})):E("v-if",!0),e.$slots.default?(m(),x("span",{key:2,class:N({[u(l).em("text","expand")]:u(k)})},[_(e.$slots,"default")],2)):E("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var vt=F(bt,[["__file","button.vue"]]);const ft={size:z.size,type:z.type},mt=B({name:"ElButtonGroup"}),pt=B({...mt,props:ft,setup(t){const c=t;at(A,nt({size:G(c,"size"),type:G(c,"type")}));const n=w("button");return(a,s)=>(m(),x("div",{class:N(u(n).b("group"))},[_(a.$slots,"default")],2))}});var j=F(pt,[["__file","button-group.vue"]]);const Bt=R(vt,{ButtonGroup:j});X(j);export{Bt as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as w,d as L,c as d,b as S,w as
|
|
1
|
+
import{S as w,d as L,c as d,b as S,w as M,o as Y,q as i,H as v,E as T,U as Z,u as a,Q as u,x as c,y as p,V as y,J as r,F as E,C as _,z as F,R as x,M as ee,n as ae,W as O}from"./vendor-vue-DU0w5ewx.js";import{K as N,L as V,M as C,N as P,U as B,I as ie,O as g,J as te,z as ne,P as se,A as oe,Q as le,R as ce,S as m,H as re,T as ue,V as de,D as ve}from"./index-FTscF_cz.js";import{i as fe}from"./validator-pb75_c-A.js";import{u as pe}from"./index-DB1wHeLA.js";import{u as me,a as he}from"./use-form-item-DDWqgx7q.js";const ye=ie({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:fe},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:g},activeActionIcon:{type:g},activeIcon:{type:g},inactiveIcon:{type:g},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:te(Function)},id:String,tabindex:{type:[String,Number]},...pe(["ariaLabel"])}),be={[B]:o=>V(o)||w(o)||C(o),[P]:o=>V(o)||w(o)||C(o),[N]:o=>V(o)||w(o)||C(o)},U="ElSwitch",Ie=L({name:U}),ke=L({...Ie,props:ye,emits:be,setup(o,{expose:H,emit:f}){const n=o,{formItem:b}=me(),R=se(),t=oe("switch"),{inputId:J}=he(n,{formItemContext:b}),I=le(d(()=>n.loading)),A=S(n.modelValue!==!1),h=S(),Q=S(),W=d(()=>[t.b(),t.m(R.value),t.is("disabled",I.value),t.is("checked",s.value)]),$=d(()=>[t.e("label"),t.em("label","left"),t.is("active",!s.value)]),q=d(()=>[t.e("label"),t.em("label","right"),t.is("active",s.value)]),G=d(()=>({width:ue(n.width)}));M(()=>n.modelValue,()=>{A.value=!0});const z=d(()=>A.value?n.modelValue:!1),s=d(()=>z.value===n.activeValue);[n.activeValue,n.inactiveValue].includes(z.value)||(f(B,n.inactiveValue),f(P,n.inactiveValue),f(N,n.inactiveValue)),M(s,e=>{var l;h.value.checked=e,n.validateEvent&&((l=b?.validate)==null||l.call(b,"change").catch(X=>ce()))});const k=()=>{const e=s.value?n.inactiveValue:n.activeValue;f(B,e),f(P,e),f(N,e),ae(()=>{h.value.checked=s.value})},D=()=>{if(I.value)return;const{beforeChange:e}=n;if(!e){k();return}const l=e();[O(l),V(l)].includes(!0)||de(U,"beforeChange must return type `Promise<boolean>` or `boolean`"),O(l)?l.then(K=>{K&&k()}).catch(K=>{}):l&&k()},j=()=>{var e,l;(l=(e=h.value)==null?void 0:e.focus)==null||l.call(e)};return Y(()=>{h.value.checked=s.value}),H({focus:j,checked:s}),(e,l)=>(i(),v("div",{class:u(a(W)),onClick:ee(D,["prevent"])},[T("input",{id:a(J),ref_key:"input",ref:h,class:u(a(t).e("input")),type:"checkbox",role:"switch","aria-checked":a(s),"aria-disabled":a(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:a(I),tabindex:e.tabindex,onChange:k,onKeydown:Z(D,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText)?(i(),v("span",{key:0,class:u(a($))},[e.inactiveIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.inactiveIcon)))]),_:1})):r("v-if",!0),!e.inactiveIcon&&e.inactiveText?(i(),v("span",{key:1,"aria-hidden":a(s)},E(e.inactiveText),9,["aria-hidden"])):r("v-if",!0)],2)):r("v-if",!0),T("span",{ref_key:"core",ref:Q,class:u(a(t).e("core")),style:x(a(G))},[e.inlinePrompt?(i(),v("div",{key:0,class:u(a(t).e("inner"))},[e.activeIcon||e.inactiveIcon?(i(),c(a(m),{key:0,class:u(a(t).is("icon"))},{default:p(()=>[(i(),c(y(a(s)?e.activeIcon:e.inactiveIcon)))]),_:1},8,["class"])):e.activeText||e.inactiveText?(i(),v("span",{key:1,class:u(a(t).is("text")),"aria-hidden":!a(s)},E(a(s)?e.activeText:e.inactiveText),11,["aria-hidden"])):r("v-if",!0)],2)):r("v-if",!0),T("div",{class:u(a(t).e("action"))},[e.loading?(i(),c(a(m),{key:0,class:u(a(t).is("loading"))},{default:p(()=>[_(a(re))]),_:1},8,["class"])):a(s)?F(e.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.activeActionIcon)))]),_:1})):r("v-if",!0)]):a(s)?r("v-if",!0):F(e.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.inactiveActionIcon)))]),_:1})):r("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText)?(i(),v("span",{key:1,class:u(a(q))},[e.activeIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.activeIcon)))]),_:1})):r("v-if",!0),!e.activeIcon&&e.activeText?(i(),v("span",{key:1,"aria-hidden":!a(s)},E(e.activeText),9,["aria-hidden"])):r("v-if",!0)],2)):r("v-if",!0)],10,["onClick"]))}});var ge=ne(ke,[["__file","switch.vue"]]);const Ce=ve(ge);export{Ce as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ap as o,a7 as f,aL as p,ar as S,aM as u}from"./index-FTscF_cz.js";import{s as b}from"./service-C5LrDt_v.js";import{s as C}from"./seedance-DHGvvKi5.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-DU0w5ewx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-9TBHB1ku.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)}},x=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)}},P=({commit:t},s)=>{t("setConfig",s)},R=({commit:t},s)=>{t("setTasks",s)},q=({commit:t},s)=>{t("setTasksItems",s)},D=({commit:t},s)=>{t("setTasksTotal",s)},L=({commit:t},s)=>{t("setTasksActive",s)},M=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:P,setApplications:E,setApplication:$,getApplications:x,setTasks:R,setTasksItems:q,setTasksTotal:D,setTasksActive:L,getTasks:M},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},K=(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:K,setTasksItems:H,setTasksTotal:J,resetAll:V},ot={namespaced:!0,state:u,mutations:U,actions:N};export{ot as default,ot as seedance};
|