@mobileaction/action-kit 1.0.20 → 1.0.21
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/index.es.js +254 -245
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as h, computed as p, defineAsyncComponent as
|
|
2
|
-
import { Button as
|
|
1
|
+
import { defineComponent as h, computed as p, defineAsyncComponent as J, openBlock as n, createBlock as d, resolveDynamicComponent as E, unref as a, normalizeClass as D, mergeProps as w, createSlots as B, renderList as I, withCtx as m, renderSlot as $, createVNode as k, Transition as G, createTextVNode as O, toDisplayString as x, createElementBlock as f, isRef as P, createCommentVNode as _, createElementVNode as z, ref as V, normalizeProps as K, guardReactiveProps as Y, useSlots as W, watch as U, Fragment as Q } from "vue";
|
|
2
|
+
import { Button as L, Switch as X, Tooltip as Z, Form as ss, FormItem as es, Avatar as os, Select as ts, InputPassword as as, Input as ns, ConfigProvider as is, Textarea as ls, SelectOption as rs, Checkbox as cs, CheckboxGroup as ps, Radio as gs, RadioGroup as ms, Alert as us } from "ant-design-vue";
|
|
3
3
|
const q = (o, e) => {
|
|
4
4
|
const s = o[e];
|
|
5
5
|
return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((i, t) => {
|
|
@@ -22,7 +22,7 @@ const q = (o, e) => {
|
|
|
22
22
|
},
|
|
23
23
|
setup(o) {
|
|
24
24
|
const e = o, s = ["flag", "pay"], i = p(
|
|
25
|
-
() =>
|
|
25
|
+
() => J(
|
|
26
26
|
function() {
|
|
27
27
|
const l = s.find((r) => e.name.startsWith(`${r}-`));
|
|
28
28
|
return l ? q(/* @__PURE__ */ Object.assign({ "./icons/flag/ad.svg": () => import("./ad-4f15339c.mjs"), "./icons/flag/ae.svg": () => import("./ae-0c29895c.mjs"), "./icons/flag/af.svg": () => import("./af-7c75f32c.mjs"), "./icons/flag/ag.svg": () => import("./ag-8a9bc70d.mjs"), "./icons/flag/ai.svg": () => import("./ai-92607296.mjs"), "./icons/flag/al.svg": () => import("./al-2451ab6a.mjs"), "./icons/flag/am.svg": () => import("./am-75ea01bf.mjs"), "./icons/flag/ao.svg": () => import("./ao-a5e4ad75.mjs"), "./icons/flag/ar.svg": () => import("./ar-a85b3f63.mjs"), "./icons/flag/as.svg": () => import("./as-7fa7e75d.mjs"), "./icons/flag/at.svg": () => import("./at-a7ba217a.mjs"), "./icons/flag/au.svg": () => import("./au-d199493b.mjs"), "./icons/flag/aw.svg": () => import("./aw-442c8572.mjs"), "./icons/flag/ax.svg": () => import("./ax-0714c25a.mjs"), "./icons/flag/az.svg": () => import("./az-199c77dc.mjs"), "./icons/flag/ba.svg": () => import("./ba-d2b7851d.mjs"), "./icons/flag/bb.svg": () => import("./bb-a8e49d76.mjs"), "./icons/flag/bd.svg": () => import("./bd-c63eb19f.mjs"), "./icons/flag/be.svg": () => import("./be-035c22e5.mjs"), "./icons/flag/bf.svg": () => import("./bf-347fcd2e.mjs"), "./icons/flag/bg.svg": () => import("./bg-d3a7da79.mjs"), "./icons/flag/bh.svg": () => import("./bh-c1690810.mjs"), "./icons/flag/bi.svg": () => import("./bi-adcc107b.mjs"), "./icons/flag/bj.svg": () => import("./bj-dd1424a3.mjs"), "./icons/flag/bl.svg": () => import("./bl-a9d0a40c.mjs"), "./icons/flag/bm.svg": () => import("./bm-76f51599.mjs"), "./icons/flag/bn.svg": () => import("./bn-aaa1c0ed.mjs"), "./icons/flag/bo.svg": () => import("./bo-6cec387a.mjs"), "./icons/flag/bq.svg": () => import("./bq-ce9bb442.mjs"), "./icons/flag/bq1.svg": () => import("./bq1-3a6921e5.mjs"), "./icons/flag/bq2.svg": () => import("./bq2-40b46acf.mjs"), "./icons/flag/br.svg": () => import("./br-0cf5492d.mjs"), "./icons/flag/bs.svg": () => import("./bs-89a8fc9a.mjs"), "./icons/flag/bt.svg": () => import("./bt-3ae1d227.mjs"), "./icons/flag/bw.svg": () => import("./bw-a5c65923.mjs"), "./icons/flag/by.svg": () => import("./by-2512965b.mjs"), "./icons/flag/bz.svg": () => import("./bz-8a265bec.mjs"), "./icons/flag/ca.svg": () => import("./ca-cacac026.mjs"), "./icons/flag/cc.svg": () => import("./cc-47939b86.mjs"), "./icons/flag/cd.svg": () => import("./cd-7fc590d2.mjs"), "./icons/flag/cd1.svg": () => import("./cd1-df53c8e1.mjs"), "./icons/flag/cf.svg": () => import("./cf-a60682d6.mjs"), "./icons/flag/ch.svg": () => import("./ch-462979fb.mjs"), "./icons/flag/ck.svg": () => import("./ck-c0c38e87.mjs"), "./icons/flag/cl.svg": () => import("./cl-d02807e7.mjs"), "./icons/flag/cm.svg": () => import("./cm-f951bab7.mjs"), "./icons/flag/cn.svg": () => import("./cn-63577685.mjs"), "./icons/flag/co.svg": () => import("./co-fb5ccff6.mjs"), "./icons/flag/cr.svg": () => import("./cr-c910bfa7.mjs"), "./icons/flag/cu.svg": () => import("./cu-154b8ef9.mjs"), "./icons/flag/cw.svg": () => import("./cw-61a8201a.mjs"), "./icons/flag/cx.svg": () => import("./cx-e5e88bca.mjs"), "./icons/flag/cy.svg": () => import("./cy-1edc9aca.mjs"), "./icons/flag/cz.svg": () => import("./cz-e30da26a.mjs"), "./icons/flag/de.svg": () => import("./de-5cfe1c09.mjs"), "./icons/flag/dj.svg": () => import("./dj-71a46a73.mjs"), "./icons/flag/dk.svg": () => import("./dk-2ffa3eab.mjs"), "./icons/flag/dm.svg": () => import("./dm-c8a641fc.mjs"), "./icons/flag/do.svg": () => import("./do-87d001de.mjs"), "./icons/flag/ds.svg": () => import("./ds-e65319d3.mjs"), "./icons/flag/dz.svg": () => import("./dz-d3b4c36e.mjs"), "./icons/flag/ec.svg": () => import("./ec-95bd8870.mjs"), "./icons/flag/ee.svg": () => import("./ee-faab8887.mjs"), "./icons/flag/eg.svg": () => import("./eg-e80c8056.mjs"), "./icons/flag/eh.svg": () => import("./eh-6afd9f94.mjs"), "./icons/flag/er.svg": () => import("./er-db994cbe.mjs"), "./icons/flag/es.svg": () => import("./es-3a635fca.mjs"), "./icons/flag/et.svg": () => import("./et-2ef41cdc.mjs"), "./icons/flag/fi.svg": () => import("./fi-9dd89328.mjs"), "./icons/flag/fj.svg": () => import("./fj-069f4655.mjs"), "./icons/flag/fk.svg": () => import("./fk-357e668b.mjs"), "./icons/flag/fm.svg": () => import("./fm-530a75f5.mjs"), "./icons/flag/fo.svg": () => import("./fo-28059777.mjs"), "./icons/flag/fr.svg": () => import("./fr-d328744f.mjs"), "./icons/flag/ga.svg": () => import("./ga-58e834f0.mjs"), "./icons/flag/gb-2.svg": () => import("./gb-2-e062951f.mjs"), "./icons/flag/gb.svg": () => import("./gb-67cdddfd.mjs"), "./icons/flag/gd.svg": () => import("./gd-c1bed1a8.mjs"), "./icons/flag/ge.svg": () => import("./ge-825ed87e.mjs"), "./icons/flag/gg.svg": () => import("./gg-6c4f9db5.mjs"), "./icons/flag/gh.svg": () => import("./gh-75d97c21.mjs"), "./icons/flag/gi.svg": () => import("./gi-67623541.mjs"), "./icons/flag/gl.svg": () => import("./gl-07791901.mjs"), "./icons/flag/gm.svg": () => import("./gm-f720b114.mjs"), "./icons/flag/gn.svg": () => import("./gn-38e65105.mjs"), "./icons/flag/gq.svg": () => import("./gq-f03057f5.mjs"), "./icons/flag/gr.svg": () => import("./gr-d657be09.mjs"), "./icons/flag/gt.svg": () => import("./gt-37fec00e.mjs"), "./icons/flag/gu.svg": () => import("./gu-25f495b3.mjs"), "./icons/flag/gw.svg": () => import("./gw-49b63aa6.mjs"), "./icons/flag/gy.svg": () => import("./gy-c3195dee.mjs"), "./icons/flag/hk.svg": () => import("./hk-203ee074.mjs"), "./icons/flag/hn.svg": () => import("./hn-f935c53c.mjs"), "./icons/flag/hr.svg": () => import("./hr-5c985cb6.mjs"), "./icons/flag/ht.svg": () => import("./ht-240304e2.mjs"), "./icons/flag/hu.svg": () => import("./hu-1e7c3a91.mjs"), "./icons/flag/id.svg": () => import("./id-01e604fc.mjs"), "./icons/flag/ie.svg": () => import("./ie-e226e54a.mjs"), "./icons/flag/il.svg": () => import("./il-4a51c7bd.mjs"), "./icons/flag/im.svg": () => import("./im-40319150.mjs"), "./icons/flag/in.svg": () => import("./in-1d105b0f.mjs"), "./icons/flag/io.svg": () => import("./io-6c269405.mjs"), "./icons/flag/iq.svg": () => import("./iq-6b9e3e5a.mjs"), "./icons/flag/ir.svg": () => import("./ir-857f9289.mjs"), "./icons/flag/is.svg": () => import("./is-cf0d2e76.mjs"), "./icons/flag/it.svg": () => import("./it-bce7a9ed.mjs"), "./icons/flag/je.svg": () => import("./je-41c855c9.mjs"), "./icons/flag/jm.svg": () => import("./jm-8dddd561.mjs"), "./icons/flag/jo.svg": () => import("./jo-544e9976.mjs"), "./icons/flag/jp.svg": () => import("./jp-01c6487d.mjs"), "./icons/flag/ke.svg": () => import("./ke-351dc14a.mjs"), "./icons/flag/kg.svg": () => import("./kg-a17fa4bf.mjs"), "./icons/flag/kh.svg": () => import("./kh-0bb7d19f.mjs"), "./icons/flag/ki.svg": () => import("./ki-3e626127.mjs"), "./icons/flag/km.svg": () => import("./km-816dc3ba.mjs"), "./icons/flag/kn.svg": () => import("./kn-bb319e99.mjs"), "./icons/flag/kp.svg": () => import("./kp-2b80118f.mjs"), "./icons/flag/kr.svg": () => import("./kr-32c1e8b7.mjs"), "./icons/flag/kw.svg": () => import("./kw-ad30457b.mjs"), "./icons/flag/ky.svg": () => import("./ky-0eb957f9.mjs"), "./icons/flag/kz.svg": () => import("./kz-72e43c67.mjs"), "./icons/flag/la.svg": () => import("./la-23b2dfcb.mjs"), "./icons/flag/lb.svg": () => import("./lb-be26799a.mjs"), "./icons/flag/lc.svg": () => import("./lc-90590887.mjs"), "./icons/flag/li.svg": () => import("./li-aa862cc7.mjs"), "./icons/flag/lk.svg": () => import("./lk-f17ec481.mjs"), "./icons/flag/lr.svg": () => import("./lr-aff36fda.mjs"), "./icons/flag/ls.svg": () => import("./ls-1cf90d43.mjs"), "./icons/flag/lt.svg": () => import("./lt-4a30e360.mjs"), "./icons/flag/lu.svg": () => import("./lu-986cbaa1.mjs"), "./icons/flag/lv.svg": () => import("./lv-e1792ca0.mjs"), "./icons/flag/ly.svg": () => import("./ly-a5393d64.mjs"), "./icons/flag/ma.svg": () => import("./ma-e1895759.mjs"), "./icons/flag/mc.svg": () => import("./mc-784352e6.mjs"), "./icons/flag/md.svg": () => import("./md-d4541b72.mjs"), "./icons/flag/me.svg": () => import("./me-cf26a608.mjs"), "./icons/flag/mg.svg": () => import("./mg-5a72197b.mjs"), "./icons/flag/mh.svg": () => import("./mh-a494ced3.mjs"), "./icons/flag/mk.svg": () => import("./mk-5d6dfbe2.mjs"), "./icons/flag/ml.svg": () => import("./ml-ea237b33.mjs"), "./icons/flag/mm.svg": () => import("./mm-ca2d2d6f.mjs"), "./icons/flag/mn.svg": () => import("./mn-9b3631e3.mjs"), "./icons/flag/mo.svg": () => import("./mo-8a8ca00c.mjs"), "./icons/flag/mp.svg": () => import("./mp-6e4057a6.mjs"), "./icons/flag/mq.svg": () => import("./mq-c4ad87c5.mjs"), "./icons/flag/mr.svg": () => import("./mr-7535e8e4.mjs"), "./icons/flag/ms.svg": () => import("./ms-0e8caa14.mjs"), "./icons/flag/mt.svg": () => import("./mt-be4c4deb.mjs"), "./icons/flag/mu.svg": () => import("./mu-2c88bc9d.mjs"), "./icons/flag/mv.svg": () => import("./mv-513ecec1.mjs"), "./icons/flag/mw.svg": () => import("./mw-6ddd4745.mjs"), "./icons/flag/mx.svg": () => import("./mx-359089aa.mjs"), "./icons/flag/my.svg": () => import("./my-04139588.mjs"), "./icons/flag/mz.svg": () => import("./mz-f694c775.mjs"), "./icons/flag/na.svg": () => import("./na-012ceddf.mjs"), "./icons/flag/ne.svg": () => import("./ne-f2a01939.mjs"), "./icons/flag/nf.svg": () => import("./nf-e6551856.mjs"), "./icons/flag/ng.svg": () => import("./ng-969a2891.mjs"), "./icons/flag/ni.svg": () => import("./ni-9c669cea.mjs"), "./icons/flag/nl.svg": () => import("./nl-d023a4e8.mjs"), "./icons/flag/no.svg": () => import("./no-463b4b53.mjs"), "./icons/flag/np.svg": () => import("./np-1e48b7f5.mjs"), "./icons/flag/nr.svg": () => import("./nr-3e362f8f.mjs"), "./icons/flag/nu.svg": () => import("./nu-55d767aa.mjs"), "./icons/flag/nz.svg": () => import("./nz-260712f6.mjs"), "./icons/flag/om.svg": () => import("./om-51ff2ef8.mjs"), "./icons/flag/pa.svg": () => import("./pa-2794cff1.mjs"), "./icons/flag/pe.svg": () => import("./pe-03062449.mjs"), "./icons/flag/pf.svg": () => import("./pf-7a7f8df3.mjs"), "./icons/flag/pg.svg": () => import("./pg-b27cc749.mjs"), "./icons/flag/ph.svg": () => import("./ph-cfeed391.mjs"), "./icons/flag/pk.svg": () => import("./pk-e0af5fcc.mjs"), "./icons/flag/pl.svg": () => import("./pl-8f8b354c.mjs"), "./icons/flag/pn.svg": () => import("./pn-1a715846.mjs"), "./icons/flag/pr.svg": () => import("./pr-aa1179ea.mjs"), "./icons/flag/ps.svg": () => import("./ps-af3368b8.mjs"), "./icons/flag/pt.svg": () => import("./pt-5964314a.mjs"), "./icons/flag/pw.svg": () => import("./pw-f405d571.mjs"), "./icons/flag/py.svg": () => import("./py-759ed64c.mjs"), "./icons/flag/qa.svg": () => import("./qa-def2a5c8.mjs"), "./icons/flag/ro.svg": () => import("./ro-b2c623ce.mjs"), "./icons/flag/rs.svg": () => import("./rs-1f43835a.mjs"), "./icons/flag/ru.svg": () => import("./ru-515b608f.mjs"), "./icons/flag/rw.svg": () => import("./rw-7bb5887d.mjs"), "./icons/flag/sa.svg": () => import("./sa-deb70e75.mjs"), "./icons/flag/sb.svg": () => import("./sb-5a3d1bd0.mjs"), "./icons/flag/sc.svg": () => import("./sc-5976b943.mjs"), "./icons/flag/se.svg": () => import("./se-d3641a11.mjs"), "./icons/flag/sg.svg": () => import("./sg-1251b5df.mjs"), "./icons/flag/si.svg": () => import("./si-c2a466f5.mjs"), "./icons/flag/sk.svg": () => import("./sk-0860725f.mjs"), "./icons/flag/sl.svg": () => import("./sl-51f9eed4.mjs"), "./icons/flag/sm.svg": () => import("./sm-75cf810c.mjs"), "./icons/flag/sn.svg": () => import("./sn-7f24ca51.mjs"), "./icons/flag/so.svg": () => import("./so-015e6af8.mjs"), "./icons/flag/sr.svg": () => import("./sr-1b0717af.mjs"), "./icons/flag/ss.svg": () => import("./ss-f6c88a4e.mjs"), "./icons/flag/st.svg": () => import("./st-989e6418.mjs"), "./icons/flag/sv.svg": () => import("./sv-23640770.mjs"), "./icons/flag/sx.svg": () => import("./sx-a304a4a6.mjs"), "./icons/flag/sy.svg": () => import("./sy-cf437d42.mjs"), "./icons/flag/sz.svg": () => import("./sz-e518a24d.mjs"), "./icons/flag/tc.svg": () => import("./tc-200bbddb.mjs"), "./icons/flag/td.svg": () => import("./td-1bb8e438.mjs"), "./icons/flag/tg.svg": () => import("./tg-2ca52b3e.mjs"), "./icons/flag/th.svg": () => import("./th-a72530d6.mjs"), "./icons/flag/tj.svg": () => import("./tj-2d376ebe.mjs"), "./icons/flag/tk.svg": () => import("./tk-7d3d0a7f.mjs"), "./icons/flag/tl.svg": () => import("./tl-55431a29.mjs"), "./icons/flag/tm.svg": () => import("./tm-d2ffabc8.mjs"), "./icons/flag/tn.svg": () => import("./tn-9e100c57.mjs"), "./icons/flag/to.svg": () => import("./to-3b674416.mjs"), "./icons/flag/tr.svg": () => import("./tr-04213ae8.mjs"), "./icons/flag/tt.svg": () => import("./tt-8ae61c7d.mjs"), "./icons/flag/tv.svg": () => import("./tv-c51c8fd6.mjs"), "./icons/flag/tw.svg": () => import("./tw-d92bcd35.mjs"), "./icons/flag/tz.svg": () => import("./tz-62c19f2e.mjs"), "./icons/flag/ua.svg": () => import("./ua-8acc7fe0.mjs"), "./icons/flag/ug.svg": () => import("./ug-cba81231.mjs"), "./icons/flag/us.svg": () => import("./us-041f888d.mjs"), "./icons/flag/uy.svg": () => import("./uy-588af199.mjs"), "./icons/flag/uz.svg": () => import("./uz-b15e9da9.mjs"), "./icons/flag/vc.svg": () => import("./vc-e9055307.mjs"), "./icons/flag/ve.svg": () => import("./ve-1a051a6e.mjs"), "./icons/flag/vg.svg": () => import("./vg-abdc103a.mjs"), "./icons/flag/vi.svg": () => import("./vi-ab2e1332.mjs"), "./icons/flag/vn.svg": () => import("./vn-cffe971d.mjs"), "./icons/flag/vu.svg": () => import("./vu-dc33d40a.mjs"), "./icons/flag/ws.svg": () => import("./ws-1b6fa1a1.mjs"), "./icons/flag/ye.svg": () => import("./ye-03199afb.mjs"), "./icons/flag/za.svg": () => import("./za-b29e17dc.mjs"), "./icons/flag/zm.svg": () => import("./zm-e90acb8f.mjs"), "./icons/flag/zw.svg": () => import("./zw-c483b7f4.mjs"), "./icons/pay/affirm.svg": () => import("./affirm-9aef00fd.mjs"), "./icons/pay/alipay.svg": () => import("./alipay-f8889c4a.mjs"), "./icons/pay/amazon.svg": () => import("./amazon-63784d92.mjs"), "./icons/pay/amex.svg": () => import("./amex-297df5f4.mjs"), "./icons/pay/applepay.svg": () => import("./applepay-bf0abc5b.mjs"), "./icons/pay/bancontact.svg": () => import("./bancontact-057becef.mjs"), "./icons/pay/bitcoin.svg": () => import("./bitcoin-0fec1e7b.mjs"), "./icons/pay/bitcoincash.svg": () => import("./bitcoincash-0a0c586f.mjs"), "./icons/pay/bitpay.svg": () => import("./bitpay-15ba47a5.mjs"), "./icons/pay/citadele.svg": () => import("./citadele-57105c23.mjs"), "./icons/pay/dinersclub.svg": () => import("./dinersclub-022391cd.mjs"), "./icons/pay/discover.svg": () => import("./discover-a393a333.mjs"), "./icons/pay/elo.svg": () => import("./elo-89d797db.mjs"), "./icons/pay/etherium.svg": () => import("./etherium-207a2f24.mjs"), "./icons/pay/forbrugsforeningen.svg": () => import("./forbrugsforeningen-52d2f2d6.mjs"), "./icons/pay/giropay.svg": () => import("./giropay-9ef50443.mjs"), "./icons/pay/googlepay.svg": () => import("./googlepay-41584edc.mjs"), "./icons/pay/ideal.svg": () => import("./ideal-c62c1699.mjs"), "./icons/pay/interac.svg": () => import("./interac-23f9a0cb.mjs"), "./icons/pay/jcb.svg": () => import("./jcb-a55712fc.mjs"), "./icons/pay/klarna.svg": () => import("./klarna-bc60c24a.mjs"), "./icons/pay/lightcoin.svg": () => import("./lightcoin-a710bd56.mjs"), "./icons/pay/maestro.svg": () => import("./maestro-6f52e0dc.mjs"), "./icons/pay/mastercard.svg": () => import("./mastercard-1bcd8146.mjs"), "./icons/pay/payoneer.svg": () => import("./payoneer-91400d09.mjs"), "./icons/pay/paypal.svg": () => import("./paypal-7a4e2657.mjs"), "./icons/pay/paysafe.svg": () => import("./paysafe-6a3eeb5f.mjs"), "./icons/pay/qiwi.svg": () => import("./qiwi-2e4cc2e5.mjs"), "./icons/pay/sepa.svg": () => import("./sepa-753ca2b4.mjs"), "./icons/pay/shop-pay.svg": () => import("./shop-pay-d97812ef.mjs"), "./icons/pay/skrill.svg": () => import("./skrill-a6ecb633.mjs"), "./icons/pay/sofort.svg": () => import("./sofort-d6f73b34.mjs"), "./icons/pay/stripe.svg": () => import("./stripe-fc7bc53b.mjs"), "./icons/pay/unionpay.svg": () => import("./unionpay-daddf101.mjs"), "./icons/pay/verifone.svg": () => import("./verifone-08122f8e.mjs"), "./icons/pay/visa.svg": () => import("./visa-030bb1b1.mjs"), "./icons/pay/webmoney.svg": () => import("./webmoney-c284cb72.mjs"), "./icons/pay/wechat.svg": () => import("./wechat-bb08d491.mjs"), "./icons/pay/yandex.svg": () => import("./yandex-55f02daa.mjs") }), `./icons/${l}/${e.name.replace(`${l}-`, "")}.svg`) : q(/* @__PURE__ */ Object.assign({ "./icons/add-bold.svg": () => import("./add-bold-a590b204.mjs"), "./icons/add-circle-bold.svg": () => import("./add-circle-bold-dd840204.mjs"), "./icons/add-circle.svg": () => import("./add-circle-db54355c.mjs"), "./icons/add.svg": () => import("./add-158c827a.mjs"), "./icons/android-storefront.svg": () => import("./android-storefront-7e2fce85.mjs"), "./icons/android.svg": () => import("./android-e7185e66.mjs"), "./icons/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.mjs"), "./icons/apple.svg": () => import("./apple-a0f4b202.mjs"), "./icons/arrow-left-bold.svg": () => import("./arrow-left-bold-22660af3.mjs"), "./icons/arrow-left.svg": () => import("./arrow-left-a307564c.mjs"), "./icons/calendar-bold.svg": () => import("./calendar-bold-f14e2aa4.mjs"), "./icons/calendar.svg": () => import("./calendar-027f7d21.mjs"), "./icons/card-bold.svg": () => import("./card-bold-082d635f.mjs"), "./icons/card.svg": () => import("./card-44596069.mjs"), "./icons/check.svg": () => import("./check-eb9fb8f0.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-3924f78b.mjs"), "./icons/chevron-left.svg": () => import("./chevron-left-b19ca4eb.mjs"), "./icons/chevron-right.svg": () => import("./chevron-right-a8d54d8e.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-9cb362ff.mjs"), "./icons/close-circle-bold.svg": () => import("./close-circle-bold-186ef930.mjs"), "./icons/close-circle.svg": () => import("./close-circle-8362ea8b.mjs"), "./icons/close.svg": () => import("./close-1d2421e4.mjs"), "./icons/dot.svg": () => import("./dot-c7334eb8.mjs"), "./icons/eye-bold.svg": () => import("./eye-bold-a4ee5469.mjs"), "./icons/eye-slash-bold.svg": () => import("./eye-slash-bold-857e7190.mjs"), "./icons/eye-slash.svg": () => import("./eye-slash-edd62efc.mjs"), "./icons/eye.svg": () => import("./eye-1763d285.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/grid.svg": () => import("./grid-ed70f316.mjs"), "./icons/hamburger.svg": () => import("./hamburger-57662701.mjs"), "./icons/info-circle.svg": () => import("./info-circle-02e1d68f.mjs"), "./icons/layer.svg": () => import("./layer-8c79f0e7.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-cd710e03.mjs"), "./icons/loader.svg": () => import("./loader-c103d22b.mjs"), "./icons/message-notif.svg": () => import("./message-notif-b29e79d7.mjs"), "./icons/message-text.svg": () => import("./message-text-a7be1d8c.mjs"), "./icons/password-check.svg": () => import("./password-check-3a237273.mjs"), "./icons/search-normal-bold.svg": () => import("./search-normal-bold-30371b6f.mjs"), "./icons/search-normal.svg": () => import("./search-normal-7eb2b97f.mjs"), "./icons/security-card-bold.svg": () => import("./security-card-bold-d3a72067.mjs"), "./icons/security-card.svg": () => import("./security-card-71d2be90.mjs"), "./icons/send.svg": () => import("./send-03f27d94.mjs"), "./icons/sms-bold.svg": () => import("./sms-bold-1716a26d.mjs"), "./icons/sms.svg": () => import("./sms-95584f15.mjs"), "./icons/tick-circle-bold.svg": () => import("./tick-circle-bold-3cce456e.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-56287e8e.mjs"), "./icons/tick.svg": () => import("./tick-ad241aa8.mjs"), "./icons/user-square.svg": () => import("./user-square-6d72a4fb.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/warning.svg": () => import("./warning-d3f5a4ee.mjs") }), `./icons/${e.name}.svg`);
|
|
@@ -30,7 +30,8 @@ const q = (o, e) => {
|
|
|
30
30
|
)
|
|
31
31
|
), t = p(() => [
|
|
32
32
|
"ma-icon",
|
|
33
|
-
|
|
33
|
+
"ak-icon",
|
|
34
|
+
`ak-icon--${e.name}`,
|
|
34
35
|
ds[e.size],
|
|
35
36
|
{ "animate-spin": e.spin }
|
|
36
37
|
]);
|
|
@@ -57,22 +58,23 @@ const q = (o, e) => {
|
|
|
57
58
|
setup(o) {
|
|
58
59
|
const e = o, s = p(() => e.variant === "secondary" ? "default" : e.variant === "grey-link" ? "link" : e.variant), i = p(() => [
|
|
59
60
|
`
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
ma-button
|
|
62
|
+
ak-button
|
|
63
|
+
ak-button--${e.variant}
|
|
64
|
+
ak-button--${e.type}
|
|
65
|
+
ak-button--${e.size}
|
|
64
66
|
`,
|
|
65
67
|
{
|
|
66
|
-
"
|
|
68
|
+
"ak-button--rounded": e.shape === "round"
|
|
67
69
|
},
|
|
68
70
|
{
|
|
69
|
-
"
|
|
71
|
+
"ak-button--icon-right": e.IconAlignment === "right"
|
|
70
72
|
},
|
|
71
73
|
{
|
|
72
|
-
"
|
|
74
|
+
"ak-button--disabled": l.value
|
|
73
75
|
}
|
|
74
76
|
]), t = p(() => e?.loading || e?.icon), l = p(() => e?.disabled || e?.loading);
|
|
75
|
-
return (r,
|
|
77
|
+
return (r, g) => (n(), d(a(L), w({
|
|
76
78
|
class: a(i),
|
|
77
79
|
href: e.href,
|
|
78
80
|
target: e.target,
|
|
@@ -82,16 +84,16 @@ const q = (o, e) => {
|
|
|
82
84
|
}, r.$attrs, { "prefix-cls": "antd-btn" }), B({ _: 2 }, [
|
|
83
85
|
I(r.$slots, (y, N) => ({
|
|
84
86
|
name: N,
|
|
85
|
-
fn:
|
|
87
|
+
fn: m(() => [
|
|
86
88
|
$(r.$slots, N)
|
|
87
89
|
])
|
|
88
90
|
})),
|
|
89
91
|
a(t) ? {
|
|
90
92
|
name: "icon",
|
|
91
|
-
fn:
|
|
93
|
+
fn: m(() => [
|
|
92
94
|
e?.loading ? (n(), d(v, {
|
|
93
95
|
key: 0,
|
|
94
|
-
class: "
|
|
96
|
+
class: "ak-button__loader",
|
|
95
97
|
spin: "",
|
|
96
98
|
name: "loader"
|
|
97
99
|
})) : (n(), d(v, {
|
|
@@ -106,7 +108,7 @@ const q = (o, e) => {
|
|
|
106
108
|
});
|
|
107
109
|
const hs = {
|
|
108
110
|
name: "MaTrackButton"
|
|
109
|
-
},
|
|
111
|
+
}, we = /* @__PURE__ */ h({
|
|
110
112
|
...hs,
|
|
111
113
|
props: {
|
|
112
114
|
variant: { default: "default" },
|
|
@@ -120,32 +122,33 @@ const hs = {
|
|
|
120
122
|
setup(o) {
|
|
121
123
|
const e = o, s = p(() => [
|
|
122
124
|
`
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
ma-track-button
|
|
126
|
+
ak-track-button
|
|
127
|
+
ak-track-button--${e.variant}
|
|
128
|
+
ak-track-button--${e.size}
|
|
129
|
+
`,
|
|
127
130
|
{
|
|
128
|
-
"
|
|
131
|
+
"ak-track-button--tracked": e?.tracked
|
|
129
132
|
},
|
|
130
133
|
{
|
|
131
|
-
"
|
|
134
|
+
"ak-track-button--loading": e?.loading
|
|
132
135
|
},
|
|
133
136
|
{
|
|
134
|
-
"
|
|
137
|
+
"ak-track-button--show-close": e?.showClose
|
|
135
138
|
}
|
|
136
139
|
]), i = p(
|
|
137
140
|
() => e.loading ? "loader" : e?.showClose ? "close-circle" : e?.tracked ? "tick-circle-bold" : "add"
|
|
138
141
|
), t = p(() => e.size === "lg" ? "sm" : "xs");
|
|
139
|
-
return (l, r) => (n(), d(a(
|
|
142
|
+
return (l, r) => (n(), d(a(L), w(l.$attrs, {
|
|
140
143
|
class: a(s),
|
|
141
144
|
disabled: e?.disabled || e?.loading,
|
|
142
145
|
role: "button",
|
|
143
146
|
"prefix-cls": "antd-btn"
|
|
144
147
|
}), B({
|
|
145
|
-
icon:
|
|
146
|
-
|
|
147
|
-
default:
|
|
148
|
-
|
|
148
|
+
icon: m(() => [
|
|
149
|
+
k(G, { name: "fade" }, {
|
|
150
|
+
default: m(() => [
|
|
151
|
+
k(v, {
|
|
149
152
|
spin: e?.loading,
|
|
150
153
|
name: a(i),
|
|
151
154
|
size: a(t)
|
|
@@ -154,14 +157,14 @@ const hs = {
|
|
|
154
157
|
_: 1
|
|
155
158
|
})
|
|
156
159
|
]),
|
|
157
|
-
default:
|
|
158
|
-
|
|
160
|
+
default: m(() => [
|
|
161
|
+
O(" " + x(o.keyword) + " ", 1)
|
|
159
162
|
]),
|
|
160
163
|
_: 2
|
|
161
164
|
}, [
|
|
162
|
-
I(l.$slots, (
|
|
165
|
+
I(l.$slots, (g, y) => ({
|
|
163
166
|
name: y,
|
|
164
|
-
fn:
|
|
167
|
+
fn: m(() => [
|
|
165
168
|
$(l.$slots, y)
|
|
166
169
|
])
|
|
167
170
|
}))
|
|
@@ -171,15 +174,15 @@ const hs = {
|
|
|
171
174
|
const ys = {
|
|
172
175
|
key: 0,
|
|
173
176
|
class: "ma-toggle__titles"
|
|
174
|
-
},
|
|
177
|
+
}, ks = {
|
|
175
178
|
key: 0,
|
|
176
179
|
class: "ma-toggle__titles__title"
|
|
177
|
-
},
|
|
180
|
+
}, bs = {
|
|
178
181
|
key: 1,
|
|
179
182
|
class: "ma-toggle__titles__sub-title"
|
|
180
183
|
}, $s = {
|
|
181
184
|
name: "MaToggle"
|
|
182
|
-
},
|
|
185
|
+
}, Ce = /* @__PURE__ */ h({
|
|
183
186
|
...$s,
|
|
184
187
|
props: {
|
|
185
188
|
size: { default: "default" },
|
|
@@ -210,12 +213,12 @@ const ys = {
|
|
|
210
213
|
return (l, r) => (n(), f("div", {
|
|
211
214
|
class: D(a(t))
|
|
212
215
|
}, [
|
|
213
|
-
|
|
216
|
+
k(a(X), w({
|
|
214
217
|
class: "ma-toggle__switch",
|
|
215
218
|
checked: a(i),
|
|
216
|
-
"onUpdate:checked": r[0] || (r[0] = (
|
|
219
|
+
"onUpdate:checked": r[0] || (r[0] = (g) => P(i) ? i.value = g : null)
|
|
217
220
|
}, l.$attrs, {
|
|
218
|
-
onClick: r[1] || (r[1] = (
|
|
221
|
+
onClick: r[1] || (r[1] = (g) => l.$emit("click", g)),
|
|
219
222
|
disabled: s.disabled,
|
|
220
223
|
loading: s.loading,
|
|
221
224
|
checkedChildren: s.checkedChildren,
|
|
@@ -223,15 +226,15 @@ const ys = {
|
|
|
223
226
|
"prefix-cls": "antd-switch"
|
|
224
227
|
}), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
|
|
225
228
|
s.title || s.subTitle ? (n(), f("div", ys, [
|
|
226
|
-
s.title ? (n(), f("span",
|
|
227
|
-
s.subTitle ? (n(), f("span",
|
|
229
|
+
s.title ? (n(), f("span", ks, x(s.title), 1)) : _("", !0),
|
|
230
|
+
s.subTitle ? (n(), f("span", bs, x(s.subTitle), 1)) : _("", !0)
|
|
228
231
|
])) : _("", !0)
|
|
229
232
|
], 2));
|
|
230
233
|
}
|
|
231
234
|
});
|
|
232
235
|
const ws = ["aria-checked", "disabled"], Cs = {
|
|
233
236
|
name: "MaSwitch"
|
|
234
|
-
},
|
|
237
|
+
}, xe = /* @__PURE__ */ h({
|
|
235
238
|
...Cs,
|
|
236
239
|
props: {
|
|
237
240
|
active: null,
|
|
@@ -256,14 +259,15 @@ const ws = ["aria-checked", "disabled"], Cs = {
|
|
|
256
259
|
}
|
|
257
260
|
}), t = p(() => [
|
|
258
261
|
"ma-switch",
|
|
259
|
-
|
|
262
|
+
"ak-switch",
|
|
263
|
+
`ak-switch--${s.type}`,
|
|
260
264
|
{
|
|
261
|
-
"
|
|
265
|
+
"ak-switch--disabled": s.disabled
|
|
262
266
|
}
|
|
263
267
|
]), l = (r) => {
|
|
264
268
|
s.disabled || (i.value = r);
|
|
265
269
|
};
|
|
266
|
-
return (r,
|
|
270
|
+
return (r, g) => (n(), f("button", w(r.$attrs, {
|
|
267
271
|
class: a(t),
|
|
268
272
|
type: "button",
|
|
269
273
|
role: "switch",
|
|
@@ -272,29 +276,29 @@ const ws = ["aria-checked", "disabled"], Cs = {
|
|
|
272
276
|
}), [
|
|
273
277
|
z("span", {
|
|
274
278
|
class: D({ active: s.active === s.leftValue }),
|
|
275
|
-
onClick:
|
|
279
|
+
onClick: g[0] || (g[0] = (y) => l(s.leftValue))
|
|
276
280
|
}, [
|
|
277
|
-
|
|
281
|
+
k(v, {
|
|
278
282
|
name: s.leftIcon
|
|
279
283
|
}, null, 8, ["name"])
|
|
280
284
|
], 2),
|
|
281
285
|
z("span", {
|
|
282
286
|
class: D({ active: s.active === s.rightValue }),
|
|
283
|
-
onClick:
|
|
287
|
+
onClick: g[1] || (g[1] = (y) => l(s.rightValue))
|
|
284
288
|
}, [
|
|
285
|
-
|
|
289
|
+
k(v, {
|
|
286
290
|
name: s.rightIcon
|
|
287
291
|
}, null, 8, ["name"])
|
|
288
292
|
], 2)
|
|
289
293
|
], 16, ws));
|
|
290
294
|
}
|
|
291
295
|
});
|
|
292
|
-
const xs = { class: "
|
|
296
|
+
const xs = { class: "ak-tooltip-overlay__content" }, Is = { class: "ak-tooltip-overlay__content__title" }, Bs = {
|
|
293
297
|
key: 0,
|
|
294
|
-
class: "
|
|
298
|
+
class: "ak-tooltip-overlay__content__description"
|
|
295
299
|
}, zs = {
|
|
296
300
|
name: "MaTooltip"
|
|
297
|
-
},
|
|
301
|
+
}, Ie = /* @__PURE__ */ h({
|
|
298
302
|
...zs,
|
|
299
303
|
props: {
|
|
300
304
|
placement: { default: "top" },
|
|
@@ -309,25 +313,26 @@ const xs = { class: "ma-tooltip-overlay__content" }, Is = { class: "ma-tooltip-o
|
|
|
309
313
|
setup(o) {
|
|
310
314
|
const e = o, s = p(() => [
|
|
311
315
|
"ma-tooltip",
|
|
312
|
-
|
|
313
|
-
`
|
|
316
|
+
"ak-tooltip",
|
|
317
|
+
`ak-tooltip--${e.type}`,
|
|
318
|
+
`ak-tooltip--${e.placement}`
|
|
314
319
|
]), i = p(() => [
|
|
315
|
-
"
|
|
316
|
-
`
|
|
317
|
-
`
|
|
320
|
+
"ak-tooltip-overlay",
|
|
321
|
+
`ak-tooltip-overlay--${e.type}`,
|
|
322
|
+
`ak-tooltip-overlay--${e.placement}`
|
|
318
323
|
].join(" ")), t = V(e.defaultVisible), l = () => {
|
|
319
324
|
t.value = !1;
|
|
320
325
|
};
|
|
321
|
-
return (r,
|
|
326
|
+
return (r, g) => (n(), d(a(Z), w(r.$attrs, {
|
|
322
327
|
visible: t.value,
|
|
323
|
-
"onUpdate:visible":
|
|
328
|
+
"onUpdate:visible": g[0] || (g[0] = (y) => t.value = y),
|
|
324
329
|
class: a(s),
|
|
325
330
|
placement: e.placement,
|
|
326
331
|
trigger: e.trigger,
|
|
327
332
|
overlayClassName: a(i),
|
|
328
333
|
"prefix-cls": "antd-tooltip"
|
|
329
334
|
}), B({
|
|
330
|
-
title:
|
|
335
|
+
title: m(() => [
|
|
331
336
|
e.icon ? (n(), d(v, {
|
|
332
337
|
key: 0,
|
|
333
338
|
size: "xs",
|
|
@@ -340,7 +345,7 @@ const xs = { class: "ma-tooltip-overlay__content" }, Is = { class: "ma-tooltip-o
|
|
|
340
345
|
e.closable ? (n(), d(v, {
|
|
341
346
|
key: 1,
|
|
342
347
|
onClick: l,
|
|
343
|
-
class: "
|
|
348
|
+
class: "ak-tooltip-overlay__close",
|
|
344
349
|
size: "xs",
|
|
345
350
|
name: "close"
|
|
346
351
|
})) : _("", !0)
|
|
@@ -349,7 +354,7 @@ const xs = { class: "ma-tooltip-overlay__content" }, Is = { class: "ma-tooltip-o
|
|
|
349
354
|
}, [
|
|
350
355
|
I(r.$slots, (y, N) => ({
|
|
351
356
|
name: N,
|
|
352
|
-
fn:
|
|
357
|
+
fn: m(() => [
|
|
353
358
|
$(r.$slots, N)
|
|
354
359
|
])
|
|
355
360
|
}))
|
|
@@ -358,7 +363,7 @@ const xs = { class: "ma-tooltip-overlay__content" }, Is = { class: "ma-tooltip-o
|
|
|
358
363
|
});
|
|
359
364
|
const Ns = {
|
|
360
365
|
name: "MaForm"
|
|
361
|
-
},
|
|
366
|
+
}, Be = /* @__PURE__ */ h({
|
|
362
367
|
...Ns,
|
|
363
368
|
setup(o, { expose: e }) {
|
|
364
369
|
const s = V();
|
|
@@ -376,7 +381,7 @@ const Ns = {
|
|
|
376
381
|
}), B({ _: 2 }, [
|
|
377
382
|
I(y.$slots, (A, S) => ({
|
|
378
383
|
name: S,
|
|
379
|
-
fn:
|
|
384
|
+
fn: m(() => [
|
|
380
385
|
$(y.$slots, S)
|
|
381
386
|
])
|
|
382
387
|
}))
|
|
@@ -385,7 +390,7 @@ const Ns = {
|
|
|
385
390
|
});
|
|
386
391
|
const Ss = {
|
|
387
392
|
name: "MaFormItem"
|
|
388
|
-
},
|
|
393
|
+
}, ze = /* @__PURE__ */ h({
|
|
389
394
|
...Ss,
|
|
390
395
|
setup(o) {
|
|
391
396
|
return (e, s) => (n(), d(a(es), w(e.$attrs, {
|
|
@@ -394,14 +399,14 @@ const Ss = {
|
|
|
394
399
|
}), B({ _: 2 }, [
|
|
395
400
|
I(e.$slots, (i, t) => ({
|
|
396
401
|
name: t,
|
|
397
|
-
fn:
|
|
402
|
+
fn: m(() => [
|
|
398
403
|
$(e.$slots, t)
|
|
399
404
|
])
|
|
400
405
|
}))
|
|
401
406
|
]), 1040));
|
|
402
407
|
}
|
|
403
408
|
});
|
|
404
|
-
var M = /* @__PURE__ */ ((o) => (o.text = "text", o.password = "password", o.textarea = "textarea", o.number = "number", o.email = "email", o.url = "url", o.tel = "tel", o.amount = "amount", o.creditCard = "creditCard", o.userInfo = "userInfo", o))(M || {}),
|
|
409
|
+
var M = /* @__PURE__ */ ((o) => (o.text = "text", o.password = "password", o.textarea = "textarea", o.number = "number", o.email = "email", o.url = "url", o.tel = "tel", o.amount = "amount", o.creditCard = "creditCard", o.userInfo = "userInfo", o))(M || {}), H = /* @__PURE__ */ ((o) => (o.small = "small", o.medium = "medium", o.large = "large", o))(H || {});
|
|
405
410
|
const Ms = {
|
|
406
411
|
usd: "$",
|
|
407
412
|
eur: "€",
|
|
@@ -417,7 +422,7 @@ const Ms = {
|
|
|
417
422
|
}, Ds = /* @__PURE__ */ h({
|
|
418
423
|
...As,
|
|
419
424
|
setup(o) {
|
|
420
|
-
return (e, s) => (n(), d(a(os), Y(
|
|
425
|
+
return (e, s) => (n(), d(a(os), K(Y(e.$attrs)), null, 16));
|
|
421
426
|
}
|
|
422
427
|
}), Fs = { class: "dropdown-wrapper" }, Ps = { class: "mobile-header" }, js = /* @__PURE__ */ z("label", null, "Select", -1), Rs = {
|
|
423
428
|
name: "MaDropdownRender"
|
|
@@ -435,7 +440,7 @@ const Ms = {
|
|
|
435
440
|
},
|
|
436
441
|
emits: ["update:filter", "closeDropdown"],
|
|
437
442
|
setup(o, { emit: e }) {
|
|
438
|
-
const s = o, i = (r, { attrs:
|
|
443
|
+
const s = o, i = (r, { attrs: g }) => g.vnodes, t = p({
|
|
439
444
|
get() {
|
|
440
445
|
return s.filter;
|
|
441
446
|
},
|
|
@@ -445,32 +450,32 @@ const Ms = {
|
|
|
445
450
|
}), l = () => {
|
|
446
451
|
e("closeDropdown");
|
|
447
452
|
};
|
|
448
|
-
return (r,
|
|
453
|
+
return (r, g) => (n(), f("div", Fs, [
|
|
449
454
|
z("div", Ps, [
|
|
450
|
-
|
|
455
|
+
k(v, {
|
|
451
456
|
size: "lg",
|
|
452
457
|
name: "close-circle",
|
|
453
458
|
onClick: l
|
|
454
459
|
}),
|
|
455
460
|
js,
|
|
456
|
-
|
|
461
|
+
k(_s, {
|
|
457
462
|
variant: "grey-link",
|
|
458
463
|
onClick: l
|
|
459
464
|
}, {
|
|
460
|
-
default:
|
|
461
|
-
|
|
465
|
+
default: m(() => [
|
|
466
|
+
O("Done")
|
|
462
467
|
]),
|
|
463
468
|
_: 1
|
|
464
469
|
})
|
|
465
470
|
]),
|
|
466
|
-
|
|
471
|
+
k(Ys, {
|
|
467
472
|
value: a(t),
|
|
468
|
-
"onUpdate:value":
|
|
473
|
+
"onUpdate:value": g[0] || (g[0] = (y) => P(t) ? t.value = y : null),
|
|
469
474
|
autofocus: "",
|
|
470
475
|
placeholder: "Search",
|
|
471
476
|
"prefix-icon": "search-normal"
|
|
472
477
|
}, null, 8, ["value"]),
|
|
473
|
-
|
|
478
|
+
k(i, { vnodes: o.menu }, null, 8, ["vnodes"])
|
|
474
479
|
]));
|
|
475
480
|
}
|
|
476
481
|
}), Us = {
|
|
@@ -508,7 +513,7 @@ const Ms = {
|
|
|
508
513
|
"update:value"
|
|
509
514
|
],
|
|
510
515
|
setup(o, { emit: e }) {
|
|
511
|
-
const s = o, i =
|
|
516
|
+
const s = o, i = W(), t = V(s?.searchValue), l = V(s.open), r = p(() => !s?.mode && s?.showSearch), g = p({
|
|
512
517
|
get() {
|
|
513
518
|
return s.value;
|
|
514
519
|
},
|
|
@@ -522,7 +527,7 @@ const Ms = {
|
|
|
522
527
|
"ma-select--has-prefix": s.mode ? !1 : i?.prefixIcon || s?.prefixIcon
|
|
523
528
|
},
|
|
524
529
|
{
|
|
525
|
-
"ma-select--selected": Array.isArray(
|
|
530
|
+
"ma-select--selected": Array.isArray(g.value) ? g.value.length : g.value
|
|
526
531
|
},
|
|
527
532
|
{
|
|
528
533
|
"ma-select--custom-render": r
|
|
@@ -535,12 +540,12 @@ const Ms = {
|
|
|
535
540
|
l.value = !0;
|
|
536
541
|
}, F = (u) => {
|
|
537
542
|
l.value = u, t.value = "";
|
|
538
|
-
}, j = p(() => !r.value && s?.showSearch), c = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : 288,
|
|
543
|
+
}, j = p(() => !r.value && s?.showSearch), c = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : 288, b = () => {
|
|
539
544
|
l.value = !1;
|
|
540
545
|
};
|
|
541
546
|
return (u, C) => (n(), d(a(ts), w({
|
|
542
|
-
value: a(
|
|
543
|
-
"onUpdate:value": C[1] || (C[1] = (R) => P(
|
|
547
|
+
value: a(g),
|
|
548
|
+
"onUpdate:value": C[1] || (C[1] = (R) => P(g) ? g.value = R : null)
|
|
544
549
|
}, u.$attrs, {
|
|
545
550
|
class: a(y),
|
|
546
551
|
allowClear: s?.allowClear,
|
|
@@ -564,8 +569,8 @@ const Ms = {
|
|
|
564
569
|
onDropdownVisibleChange: F,
|
|
565
570
|
"prefix-cls": "antd-select"
|
|
566
571
|
}), B({
|
|
567
|
-
suffixIcon:
|
|
568
|
-
|
|
572
|
+
suffixIcon: m(() => [
|
|
573
|
+
k(v, {
|
|
569
574
|
spin: s?.loading,
|
|
570
575
|
name: a(A) || "chevron-down"
|
|
571
576
|
}, null, 8, ["spin", "name"]),
|
|
@@ -578,8 +583,8 @@ const Ms = {
|
|
|
578
583
|
])
|
|
579
584
|
])) : _("", !0)
|
|
580
585
|
]),
|
|
581
|
-
removeIcon:
|
|
582
|
-
|
|
586
|
+
removeIcon: m(() => [
|
|
587
|
+
k(v, {
|
|
583
588
|
name: s?.removeIcon || "close"
|
|
584
589
|
}, null, 8, ["name"])
|
|
585
590
|
]),
|
|
@@ -587,13 +592,13 @@ const Ms = {
|
|
|
587
592
|
}, [
|
|
588
593
|
I(u.$slots, (R, T) => ({
|
|
589
594
|
name: T,
|
|
590
|
-
fn:
|
|
595
|
+
fn: m(() => [
|
|
591
596
|
$(u.$slots, T)
|
|
592
597
|
])
|
|
593
598
|
})),
|
|
594
599
|
s?.clearIcon ? {
|
|
595
600
|
name: "clearIcon",
|
|
596
|
-
fn:
|
|
601
|
+
fn: m(() => [
|
|
597
602
|
s?.clearIcon ? (n(), d(v, {
|
|
598
603
|
key: 0,
|
|
599
604
|
name: s?.clearIcon
|
|
@@ -603,8 +608,8 @@ const Ms = {
|
|
|
603
608
|
} : void 0,
|
|
604
609
|
s?.menuItemSelectedIcon ? {
|
|
605
610
|
name: "menuItemSelectedIcon",
|
|
606
|
-
fn:
|
|
607
|
-
|
|
611
|
+
fn: m(() => [
|
|
612
|
+
k(v, {
|
|
608
613
|
name: s?.menuItemSelectedIcon
|
|
609
614
|
}, null, 8, ["name"])
|
|
610
615
|
]),
|
|
@@ -612,23 +617,23 @@ const Ms = {
|
|
|
612
617
|
} : void 0,
|
|
613
618
|
u.$slots.notFoundContent ? void 0 : {
|
|
614
619
|
name: "notFoundContent",
|
|
615
|
-
fn:
|
|
616
|
-
|
|
620
|
+
fn: m(() => [
|
|
621
|
+
k(v, {
|
|
617
622
|
size: "sm",
|
|
618
623
|
name: "warning"
|
|
619
624
|
}),
|
|
620
|
-
|
|
625
|
+
O(" No result found! ")
|
|
621
626
|
]),
|
|
622
627
|
key: "2"
|
|
623
628
|
},
|
|
624
629
|
a(r) && l.value ? {
|
|
625
630
|
name: "dropdownRender",
|
|
626
|
-
fn:
|
|
627
|
-
|
|
631
|
+
fn: m(({ menuNode: R }) => [
|
|
632
|
+
k(Ts, {
|
|
628
633
|
filter: t.value,
|
|
629
634
|
"onUpdate:filter": C[0] || (C[0] = (T) => t.value = T),
|
|
630
635
|
menu: R,
|
|
631
|
-
onCloseDropdown:
|
|
636
|
+
onCloseDropdown: b
|
|
632
637
|
}, null, 8, ["filter", "menu"])
|
|
633
638
|
]),
|
|
634
639
|
key: "3"
|
|
@@ -638,22 +643,25 @@ const Ms = {
|
|
|
638
643
|
});
|
|
639
644
|
const Es = ["for"], Gs = {
|
|
640
645
|
key: 1,
|
|
641
|
-
class: "
|
|
646
|
+
class: "ak-input__wrapper"
|
|
642
647
|
}, Ls = {
|
|
643
|
-
key:
|
|
644
|
-
class: "
|
|
648
|
+
key: 1,
|
|
649
|
+
class: "currency"
|
|
645
650
|
}, Hs = {
|
|
646
|
-
key:
|
|
647
|
-
class: "
|
|
651
|
+
key: 2,
|
|
652
|
+
class: "ak-input__textarea-wrapper"
|
|
648
653
|
}, Js = {
|
|
654
|
+
key: 3,
|
|
655
|
+
class: "ak-input__hint-text"
|
|
656
|
+
}, Ks = {
|
|
649
657
|
name: "MaInput",
|
|
650
658
|
inheritAttrs: !1
|
|
651
|
-
},
|
|
652
|
-
...
|
|
659
|
+
}, Ys = /* @__PURE__ */ h({
|
|
660
|
+
...Ks,
|
|
653
661
|
props: {
|
|
654
662
|
allowClear: { type: Boolean },
|
|
655
663
|
type: { default: M.text },
|
|
656
|
-
size: { default:
|
|
664
|
+
size: { default: H.small },
|
|
657
665
|
title: null,
|
|
658
666
|
hintText: null,
|
|
659
667
|
hasError: { type: Boolean },
|
|
@@ -676,15 +684,15 @@ const Es = ["for"], Gs = {
|
|
|
676
684
|
],
|
|
677
685
|
setup(o, { emit: e }) {
|
|
678
686
|
const s = o, i = V(null), t = p(() => [M.amount, M.creditCard].includes(s.type) ? "number" : s.type === M.userInfo ? "text" : s.type), l = p(() => [
|
|
679
|
-
`ma-input
|
|
687
|
+
`ma-input ak-input ak-input--${s.type} ak-input--${s.size}`,
|
|
680
688
|
{
|
|
681
|
-
"
|
|
689
|
+
"ak-input--has-error": s.hasError
|
|
682
690
|
},
|
|
683
691
|
{
|
|
684
|
-
"
|
|
692
|
+
"ak-input--disabled": s.disabled
|
|
685
693
|
},
|
|
686
694
|
{
|
|
687
|
-
"
|
|
695
|
+
"ak-input--filled": s?.value
|
|
688
696
|
}
|
|
689
697
|
]), r = p({
|
|
690
698
|
get() {
|
|
@@ -693,7 +701,7 @@ const Es = ["for"], Gs = {
|
|
|
693
701
|
set(c) {
|
|
694
702
|
e("update:value", c);
|
|
695
703
|
}
|
|
696
|
-
}),
|
|
704
|
+
}), g = p(() => s.amountCurrency ? Ms[s.amountCurrency.toLowerCase()] : null), y = p({
|
|
697
705
|
get() {
|
|
698
706
|
return s.amountCurrency;
|
|
699
707
|
},
|
|
@@ -707,22 +715,22 @@ const Es = ["for"], Gs = {
|
|
|
707
715
|
}, j = () => {
|
|
708
716
|
i.value.focus();
|
|
709
717
|
};
|
|
710
|
-
return (c,
|
|
718
|
+
return (c, b) => (n(), f("div", {
|
|
711
719
|
class: D(a(l))
|
|
712
720
|
}, [
|
|
713
721
|
$(c.$slots, "title"),
|
|
714
722
|
s.title ? (n(), f("label", {
|
|
715
723
|
key: 0,
|
|
716
724
|
onClick: j,
|
|
717
|
-
class: "
|
|
725
|
+
class: "ak-input__title",
|
|
718
726
|
for: c.$attrs?.id
|
|
719
727
|
}, x(s.title), 9, Es)) : _("", !0),
|
|
720
728
|
s.type !== "textarea" ? (n(), f("div", Gs, [
|
|
721
|
-
|
|
722
|
-
default:
|
|
729
|
+
k(a(is), { "prefix-cls": "antd" }, {
|
|
730
|
+
default: m(() => [
|
|
723
731
|
(n(), d(E(a(N)), w({
|
|
724
732
|
value: a(r),
|
|
725
|
-
"onUpdate:value":
|
|
733
|
+
"onUpdate:value": b[1] || (b[1] = (u) => P(r) ? r.value = u : null)
|
|
726
734
|
}, c.$attrs, {
|
|
727
735
|
allowClear: s?.allowClear,
|
|
728
736
|
type: a(t),
|
|
@@ -730,31 +738,29 @@ const Es = ["for"], Gs = {
|
|
|
730
738
|
placeholder: s?.placeholder,
|
|
731
739
|
addonBefore: a(A),
|
|
732
740
|
addonAfter: o.addonAfter,
|
|
733
|
-
class: "
|
|
741
|
+
class: "ak-input__input",
|
|
734
742
|
onChange: S,
|
|
735
743
|
ref_key: "inputRef",
|
|
736
744
|
ref: i
|
|
737
745
|
}), B({
|
|
738
|
-
prefix:
|
|
746
|
+
prefix: m(() => [
|
|
739
747
|
s.prefixIcon ? (n(), d(v, {
|
|
740
748
|
key: 0,
|
|
741
749
|
size: "xs",
|
|
742
750
|
name: s.prefixIcon
|
|
743
|
-
}, null, 8, ["name"])) : a(
|
|
744
|
-
U(x(a(m)), 1)
|
|
745
|
-
], 64)) : s.type === a(M).userInfo ? (n(), d(Ds, {
|
|
751
|
+
}, null, 8, ["name"])) : a(g) ? (n(), f("span", Ls, x(a(g)), 1)) : s.type === a(M).userInfo ? (n(), d(Ds, {
|
|
746
752
|
key: 2,
|
|
747
753
|
src: s.avatarUrl,
|
|
748
754
|
disabled: s.disabled
|
|
749
755
|
}, null, 8, ["src", "disabled"])) : _("", !0)
|
|
750
756
|
]),
|
|
751
|
-
suffix:
|
|
757
|
+
suffix: m(() => [
|
|
752
758
|
s.type === "amount" ? (n(), d(qs, {
|
|
753
759
|
key: 0,
|
|
754
760
|
value: a(y),
|
|
755
|
-
"onUpdate:value":
|
|
761
|
+
"onUpdate:value": b[0] || (b[0] = (u) => P(y) ? y.value = u : null),
|
|
756
762
|
onChange: F,
|
|
757
|
-
dropdownClassName: "
|
|
763
|
+
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
758
764
|
options: a(Vs),
|
|
759
765
|
disabled: s.disabled,
|
|
760
766
|
size: "small"
|
|
@@ -769,7 +775,7 @@ const Es = ["for"], Gs = {
|
|
|
769
775
|
}, [
|
|
770
776
|
I(c.$slots, (u, C) => ({
|
|
771
777
|
name: C,
|
|
772
|
-
fn:
|
|
778
|
+
fn: m(() => [
|
|
773
779
|
$(c.$slots, C)
|
|
774
780
|
])
|
|
775
781
|
}))
|
|
@@ -777,12 +783,12 @@ const Es = ["for"], Gs = {
|
|
|
777
783
|
]),
|
|
778
784
|
_: 3
|
|
779
785
|
})
|
|
780
|
-
])) : (n(), f("div",
|
|
781
|
-
|
|
786
|
+
])) : (n(), f("div", Hs, [
|
|
787
|
+
k(a(ls), w({
|
|
782
788
|
value: a(r),
|
|
783
|
-
"onUpdate:value":
|
|
789
|
+
"onUpdate:value": b[2] || (b[2] = (u) => P(r) ? r.value = u : null)
|
|
784
790
|
}, c.$attrs, {
|
|
785
|
-
class: "
|
|
791
|
+
class: "ak-input__input",
|
|
786
792
|
disabled: s?.disabled,
|
|
787
793
|
placeholder: s?.placeholder,
|
|
788
794
|
onChange: S,
|
|
@@ -793,21 +799,21 @@ const Es = ["for"], Gs = {
|
|
|
793
799
|
}), B({ _: 2 }, [
|
|
794
800
|
I(c.$slots, (u, C) => ({
|
|
795
801
|
name: C,
|
|
796
|
-
fn:
|
|
802
|
+
fn: m(() => [
|
|
797
803
|
$(c.$slots, C)
|
|
798
804
|
])
|
|
799
805
|
}))
|
|
800
806
|
]), 1040, ["value", "disabled", "placeholder"])
|
|
801
807
|
])),
|
|
802
808
|
$(c.$slots, "hint"),
|
|
803
|
-
s.hintText ? (n(), f("div",
|
|
809
|
+
s.hintText ? (n(), f("div", Js, x(s.hintText), 1)) : _("", !0)
|
|
804
810
|
], 2));
|
|
805
811
|
}
|
|
806
812
|
});
|
|
807
|
-
const
|
|
813
|
+
const Ws = {
|
|
808
814
|
name: "MaSelectOption"
|
|
809
|
-
},
|
|
810
|
-
...
|
|
815
|
+
}, Ne = /* @__PURE__ */ h({
|
|
816
|
+
...Ws,
|
|
811
817
|
setup(o) {
|
|
812
818
|
return (e, s) => (n(), d(a(rs), w(e.$attrs, {
|
|
813
819
|
class: "ma-select-option",
|
|
@@ -815,16 +821,16 @@ const Ys = {
|
|
|
815
821
|
}), B({ _: 2 }, [
|
|
816
822
|
I(e.$slots, (i, t) => ({
|
|
817
823
|
name: t,
|
|
818
|
-
fn:
|
|
824
|
+
fn: m(() => [
|
|
819
825
|
$(e.$slots, t)
|
|
820
826
|
])
|
|
821
827
|
}))
|
|
822
828
|
]), 1040));
|
|
823
829
|
}
|
|
824
|
-
}),
|
|
830
|
+
}), Qs = {
|
|
825
831
|
name: "MaCheckbox"
|
|
826
|
-
},
|
|
827
|
-
...
|
|
832
|
+
}, Se = /* @__PURE__ */ h({
|
|
833
|
+
...Qs,
|
|
828
834
|
props: {
|
|
829
835
|
hint: null,
|
|
830
836
|
indeterminate: { type: Boolean, default: void 0 },
|
|
@@ -833,8 +839,9 @@ const Ys = {
|
|
|
833
839
|
setup(o) {
|
|
834
840
|
const e = o, s = p(() => [
|
|
835
841
|
"ma-checkbox",
|
|
842
|
+
"ak-checkbox",
|
|
836
843
|
{
|
|
837
|
-
"
|
|
844
|
+
"ak-checkbox--intermediate": typeof e?.indeterminate == "boolean"
|
|
838
845
|
}
|
|
839
846
|
]);
|
|
840
847
|
return (i, t) => (n(), d(a(cs), w(i.$attrs, {
|
|
@@ -845,21 +852,21 @@ const Ys = {
|
|
|
845
852
|
}), B({ _: 2 }, [
|
|
846
853
|
I(i.$slots, (l, r) => ({
|
|
847
854
|
name: r,
|
|
848
|
-
fn:
|
|
855
|
+
fn: m(() => [
|
|
849
856
|
$(i.$slots, r),
|
|
850
857
|
e.hint ? (n(), f("div", {
|
|
851
858
|
key: r,
|
|
852
|
-
class: "
|
|
859
|
+
class: "ak-checkbox__hint-text"
|
|
853
860
|
}, x(e.hint), 1)) : _("", !0)
|
|
854
861
|
])
|
|
855
862
|
}))
|
|
856
863
|
]), 1040, ["class", "disabled", "indeterminate"]));
|
|
857
864
|
}
|
|
858
865
|
});
|
|
859
|
-
const
|
|
866
|
+
const Xs = {
|
|
860
867
|
name: "MaCheckboxGroup"
|
|
861
|
-
},
|
|
862
|
-
...
|
|
868
|
+
}, Me = /* @__PURE__ */ h({
|
|
869
|
+
...Xs,
|
|
863
870
|
props: {
|
|
864
871
|
hint: null,
|
|
865
872
|
disabled: { type: Boolean }
|
|
@@ -867,22 +874,22 @@ const Qs = {
|
|
|
867
874
|
setup(o) {
|
|
868
875
|
const e = o;
|
|
869
876
|
return (s, i) => (n(), d(a(ps), w(s.$attrs, {
|
|
870
|
-
class: "ma-checkbox-group",
|
|
877
|
+
class: "ak-checkbox-group ma-checkbox-group",
|
|
871
878
|
"prefix-cls": "antd-checkbox"
|
|
872
879
|
}), B({ _: 2 }, [
|
|
873
880
|
I(s.$slots, (t, l) => ({
|
|
874
881
|
name: l,
|
|
875
|
-
fn:
|
|
882
|
+
fn: m(() => [
|
|
876
883
|
$(s.$slots, l),
|
|
877
884
|
e.hint ? (n(), f("div", {
|
|
878
885
|
key: l,
|
|
879
|
-
class: "
|
|
886
|
+
class: "ak-checkbox__hint-text"
|
|
880
887
|
}, x(e.hint), 1)) : _("", !0)
|
|
881
888
|
])
|
|
882
889
|
}))
|
|
883
890
|
]), 1040));
|
|
884
891
|
}
|
|
885
|
-
}),
|
|
892
|
+
}), Zs = ["value"], se = /* @__PURE__ */ h({
|
|
886
893
|
__name: "singleNumericInput",
|
|
887
894
|
props: {
|
|
888
895
|
value: { default: "" },
|
|
@@ -891,7 +898,7 @@ const Qs = {
|
|
|
891
898
|
emits: ["update:value"],
|
|
892
899
|
setup(o, { emit: e }) {
|
|
893
900
|
const s = o, i = V(null);
|
|
894
|
-
|
|
901
|
+
U(
|
|
895
902
|
() => s.focus,
|
|
896
903
|
(l) => {
|
|
897
904
|
l && i.value.focus();
|
|
@@ -911,12 +918,12 @@ const Qs = {
|
|
|
911
918
|
maxlength: "1",
|
|
912
919
|
pattern: "[0-9]",
|
|
913
920
|
inputmode: "numeric"
|
|
914
|
-
}), null, 16,
|
|
921
|
+
}), null, 16, Zs));
|
|
915
922
|
}
|
|
916
|
-
}),
|
|
923
|
+
}), ee = {
|
|
917
924
|
name: "MaNumericInput"
|
|
918
|
-
},
|
|
919
|
-
...
|
|
925
|
+
}, Ve = /* @__PURE__ */ h({
|
|
926
|
+
...ee,
|
|
920
927
|
props: {
|
|
921
928
|
disabled: { type: Boolean },
|
|
922
929
|
length: { default: 6 },
|
|
@@ -927,7 +934,7 @@ const Qs = {
|
|
|
927
934
|
},
|
|
928
935
|
emits: ["update:value"],
|
|
929
936
|
setup(o, { emit: e }) {
|
|
930
|
-
const s = o, i = V(null), t = V(Array.from({ length: s.length }, (c,
|
|
937
|
+
const s = o, i = V(null), t = V(Array.from({ length: s.length }, (c, b) => s.value[b] || null)), l = p(() => [
|
|
931
938
|
"ma-numeric-input",
|
|
932
939
|
`ma-numeric-input--${s.size}`,
|
|
933
940
|
{
|
|
@@ -936,11 +943,11 @@ const Qs = {
|
|
|
936
943
|
{
|
|
937
944
|
"ma-numeric-input--disabled": s?.disabled
|
|
938
945
|
}
|
|
939
|
-
]), r = p(() => s?.placeholderStatus ? "0" : null),
|
|
946
|
+
]), r = p(() => s?.placeholderStatus ? "0" : null), g = (c) => /^Digit[0-9]$/.test(c), y = (c) => i.value = c, N = (c, b) => {
|
|
940
947
|
switch (c.code) {
|
|
941
948
|
case "Backspace":
|
|
942
949
|
case "Delete":
|
|
943
|
-
F("",
|
|
950
|
+
F("", b), S();
|
|
944
951
|
break;
|
|
945
952
|
case "ArrowLeft":
|
|
946
953
|
c.preventDefault(), S();
|
|
@@ -949,34 +956,34 @@ const Qs = {
|
|
|
949
956
|
c.preventDefault(), A();
|
|
950
957
|
break;
|
|
951
958
|
default:
|
|
952
|
-
|
|
959
|
+
g(c.code) && (c.preventDefault(), F(c.key, b), A());
|
|
953
960
|
break;
|
|
954
961
|
}
|
|
955
962
|
}, A = () => {
|
|
956
963
|
i.value < s.length && i.value++;
|
|
957
964
|
}, S = () => {
|
|
958
965
|
s.length >= i.value && i.value > 0 && i.value--;
|
|
959
|
-
}, F = (c,
|
|
960
|
-
t.value[
|
|
961
|
-
}, j = (c,
|
|
966
|
+
}, F = (c, b) => {
|
|
967
|
+
t.value[b] = c;
|
|
968
|
+
}, j = (c, b) => {
|
|
962
969
|
c.preventDefault();
|
|
963
970
|
const u = c.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, s.length);
|
|
964
|
-
u.length === 1 && u.match(/^\d+$/) ? t.value[
|
|
971
|
+
u.length === 1 && u.match(/^\d+$/) ? t.value[b] = u : u.match(/^\d+$/) && (t.value = u.split(""));
|
|
965
972
|
};
|
|
966
|
-
return
|
|
973
|
+
return U(
|
|
967
974
|
() => t.value,
|
|
968
975
|
(c) => {
|
|
969
|
-
const
|
|
970
|
-
e("update:value",
|
|
976
|
+
const b = c.join("");
|
|
977
|
+
e("update:value", b);
|
|
971
978
|
},
|
|
972
979
|
{ deep: !0 }
|
|
973
|
-
),
|
|
980
|
+
), U(
|
|
974
981
|
() => s.value,
|
|
975
982
|
(c) => {
|
|
976
983
|
c !== t.value.join("") && c && c.match(/^\d+$/) && (t.value = c.split("").slice(0, s.length));
|
|
977
984
|
}
|
|
978
|
-
), (c,
|
|
979
|
-
(n(!0), f(
|
|
985
|
+
), (c, b) => (n(), f("div", w({ class: a(l) }, c.$attrs), [
|
|
986
|
+
(n(!0), f(Q, null, I(s.length, (u) => (n(), d(se, {
|
|
980
987
|
focus: i.value === u - 1,
|
|
981
988
|
key: u,
|
|
982
989
|
placeholder: a(r),
|
|
@@ -990,10 +997,10 @@ const Qs = {
|
|
|
990
997
|
], 16));
|
|
991
998
|
}
|
|
992
999
|
});
|
|
993
|
-
const
|
|
1000
|
+
const oe = {
|
|
994
1001
|
name: "MaRadio"
|
|
995
|
-
},
|
|
996
|
-
...
|
|
1002
|
+
}, te = /* @__PURE__ */ h({
|
|
1003
|
+
...oe,
|
|
997
1004
|
props: {
|
|
998
1005
|
type: { default: "button" },
|
|
999
1006
|
hint: null,
|
|
@@ -1001,13 +1008,13 @@ const ee = {
|
|
|
1001
1008
|
},
|
|
1002
1009
|
setup(o) {
|
|
1003
1010
|
const e = o, s = p(() => [`ma-radio ma-radio--${e.type}`]);
|
|
1004
|
-
return (i, t) => (n(), d(a(
|
|
1011
|
+
return (i, t) => (n(), d(a(gs), w(i.$attrs, {
|
|
1005
1012
|
class: a(s),
|
|
1006
1013
|
"prefix-cls": "antd-radio"
|
|
1007
1014
|
}), B({ _: 2 }, [
|
|
1008
1015
|
I(i.$slots, (l, r) => ({
|
|
1009
1016
|
name: r,
|
|
1010
|
-
fn:
|
|
1017
|
+
fn: m(() => [
|
|
1011
1018
|
$(i.$slots, r),
|
|
1012
1019
|
e.hint ? (n(), f("div", {
|
|
1013
1020
|
key: r,
|
|
@@ -1018,13 +1025,13 @@ const ee = {
|
|
|
1018
1025
|
]), 1040, ["class"]));
|
|
1019
1026
|
}
|
|
1020
1027
|
});
|
|
1021
|
-
const
|
|
1028
|
+
const ae = ["aria-checked", "disabled"], ne = ["src", "alt"], ie = { class: "ma-app-track-button__text" }, le = { class: "ma-app-track-button__text__title" }, re = {
|
|
1022
1029
|
key: 0,
|
|
1023
1030
|
class: "ma-app-track-button__text__category"
|
|
1024
|
-
},
|
|
1031
|
+
}, ce = { class: "ma-app-track-button__check" }, pe = {
|
|
1025
1032
|
name: "MaAppTrackButton"
|
|
1026
|
-
},
|
|
1027
|
-
...
|
|
1033
|
+
}, Ae = /* @__PURE__ */ h({
|
|
1034
|
+
...pe,
|
|
1028
1035
|
props: {
|
|
1029
1036
|
checked: { type: Boolean, default: !1 },
|
|
1030
1037
|
appIcon: null,
|
|
@@ -1061,23 +1068,23 @@ const te = ["aria-checked", "disabled"], ae = ["src", "alt"], ne = { class: "ma-
|
|
|
1061
1068
|
alt: s.appName,
|
|
1062
1069
|
width: "40",
|
|
1063
1070
|
height: "40"
|
|
1064
|
-
}, null, 8,
|
|
1065
|
-
z("span",
|
|
1066
|
-
z("span",
|
|
1067
|
-
s.appCategory ? (n(), f("span",
|
|
1071
|
+
}, null, 8, ne),
|
|
1072
|
+
z("span", ie, [
|
|
1073
|
+
z("span", le, x(s.appName), 1),
|
|
1074
|
+
s.appCategory ? (n(), f("span", re, x(s?.appCategory), 1)) : _("", !0)
|
|
1068
1075
|
]),
|
|
1069
|
-
z("span",
|
|
1070
|
-
|
|
1076
|
+
z("span", ce, [
|
|
1077
|
+
k(G, {
|
|
1071
1078
|
name: "fade",
|
|
1072
1079
|
mode: "out-in"
|
|
1073
1080
|
}, {
|
|
1074
|
-
default:
|
|
1081
|
+
default: m(() => [
|
|
1075
1082
|
s.loading ? (n(), d(v, {
|
|
1076
1083
|
key: 0,
|
|
1077
1084
|
name: "loader",
|
|
1078
1085
|
size: "xs",
|
|
1079
1086
|
spin: ""
|
|
1080
|
-
})) : !s.multiple || s.checked ? (n(), d(
|
|
1087
|
+
})) : !s.multiple || s.checked ? (n(), d(te, {
|
|
1081
1088
|
key: 1,
|
|
1082
1089
|
checked: s.checked,
|
|
1083
1090
|
type: "check"
|
|
@@ -1090,22 +1097,22 @@ const te = ["aria-checked", "disabled"], ae = ["src", "alt"], ne = { class: "ma-
|
|
|
1090
1097
|
_: 1
|
|
1091
1098
|
})
|
|
1092
1099
|
])
|
|
1093
|
-
], 16,
|
|
1100
|
+
], 16, ae));
|
|
1094
1101
|
}
|
|
1095
1102
|
});
|
|
1096
|
-
const
|
|
1103
|
+
const ge = { class: "ak-app-icon__logo" }, me = ["src"], ue = {
|
|
1097
1104
|
key: 1,
|
|
1098
|
-
class: "
|
|
1099
|
-
},
|
|
1105
|
+
class: "ak-app-icon-platform"
|
|
1106
|
+
}, de = { class: "ak-app-icon__text" }, fe = {
|
|
1100
1107
|
key: 0,
|
|
1101
|
-
class: "
|
|
1102
|
-
}, fe = {
|
|
1103
|
-
key: 1,
|
|
1104
|
-
class: "ma-app-description"
|
|
1108
|
+
class: "ak-app-name"
|
|
1105
1109
|
}, ve = {
|
|
1110
|
+
key: 1,
|
|
1111
|
+
class: "ak-app-description"
|
|
1112
|
+
}, _e = {
|
|
1106
1113
|
name: "MaAppIcon"
|
|
1107
|
-
},
|
|
1108
|
-
...
|
|
1114
|
+
}, De = /* @__PURE__ */ h({
|
|
1115
|
+
..._e,
|
|
1109
1116
|
props: {
|
|
1110
1117
|
appIcon: null,
|
|
1111
1118
|
appName: null,
|
|
@@ -1119,62 +1126,63 @@ const pe = { class: "ma-app-icon__logo" }, me = ["src"], ge = {
|
|
|
1119
1126
|
setup(o, { emit: e }) {
|
|
1120
1127
|
const s = o, i = p(() => s.platform === "ios" ? "apple-storefront" : "android-storefront"), t = p(() => [
|
|
1121
1128
|
"ma-app-icon",
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
{ "
|
|
1129
|
+
"ak-app-icon",
|
|
1130
|
+
`ak-app-icon--${s.size}`,
|
|
1131
|
+
{ "ak-app-icon--rounded": s.rounded },
|
|
1132
|
+
{ "ak-app-icon--only-icon": !s?.appName && !s?.appDescription }
|
|
1125
1133
|
]), l = () => {
|
|
1126
1134
|
e("close");
|
|
1127
1135
|
};
|
|
1128
|
-
return (r,
|
|
1136
|
+
return (r, g) => (n(), f("div", {
|
|
1129
1137
|
class: D(a(t))
|
|
1130
1138
|
}, [
|
|
1131
|
-
z("div",
|
|
1139
|
+
z("div", ge, [
|
|
1132
1140
|
s.closable ? (n(), f("span", {
|
|
1133
1141
|
key: 0,
|
|
1134
1142
|
onClick: l,
|
|
1135
|
-
class: "
|
|
1143
|
+
class: "ak-app-icon-closable"
|
|
1136
1144
|
}, [
|
|
1137
|
-
|
|
1145
|
+
k(v, {
|
|
1138
1146
|
size: "xs",
|
|
1139
1147
|
name: "close-circle"
|
|
1140
1148
|
})
|
|
1141
1149
|
])) : _("", !0),
|
|
1142
1150
|
z("img", {
|
|
1143
|
-
class: "
|
|
1151
|
+
class: "ak-app-icon-img",
|
|
1144
1152
|
src: s.appIcon
|
|
1145
1153
|
}, null, 8, me),
|
|
1146
|
-
s?.platform ? (n(), f("span",
|
|
1147
|
-
|
|
1154
|
+
s?.platform ? (n(), f("span", ue, [
|
|
1155
|
+
k(v, {
|
|
1148
1156
|
size: "xs",
|
|
1149
1157
|
name: a(i)
|
|
1150
1158
|
}, null, 8, ["name"])
|
|
1151
1159
|
])) : _("", !0)
|
|
1152
1160
|
]),
|
|
1153
|
-
z("div",
|
|
1154
|
-
s?.appName ? (n(), f("span",
|
|
1155
|
-
s?.appDescription ? (n(), f("span",
|
|
1161
|
+
z("div", de, [
|
|
1162
|
+
s?.appName ? (n(), f("span", fe, x(s.appName), 1)) : _("", !0),
|
|
1163
|
+
s?.appDescription ? (n(), f("span", ve, x(s.appDescription), 1)) : _("", !0)
|
|
1156
1164
|
])
|
|
1157
1165
|
], 2));
|
|
1158
1166
|
}
|
|
1159
1167
|
});
|
|
1160
|
-
const
|
|
1168
|
+
const he = {
|
|
1161
1169
|
name: "MaRadioGroup"
|
|
1162
|
-
},
|
|
1163
|
-
...
|
|
1170
|
+
}, Fe = /* @__PURE__ */ h({
|
|
1171
|
+
...he,
|
|
1164
1172
|
setup(o) {
|
|
1165
|
-
return (e, s) => (n(), d(a(
|
|
1173
|
+
return (e, s) => (n(), d(a(ms), w(e.$attrs, { "prefix-cls": "antd-radio" }), B({ _: 2 }, [
|
|
1166
1174
|
I(e.$slots, (i, t) => ({
|
|
1167
1175
|
name: t,
|
|
1168
|
-
fn:
|
|
1176
|
+
fn: m(() => [
|
|
1169
1177
|
$(e.$slots, t)
|
|
1170
1178
|
])
|
|
1171
1179
|
}))
|
|
1172
1180
|
]), 1040));
|
|
1173
1181
|
}
|
|
1174
|
-
}),
|
|
1182
|
+
}), ye = {
|
|
1175
1183
|
name: "MaBadge"
|
|
1176
|
-
},
|
|
1177
|
-
...
|
|
1184
|
+
}, Pe = /* @__PURE__ */ h({
|
|
1185
|
+
...ye,
|
|
1178
1186
|
props: {
|
|
1179
1187
|
type: { default: "primary" },
|
|
1180
1188
|
variant: { default: "dark" },
|
|
@@ -1185,10 +1193,11 @@ const _e = {
|
|
|
1185
1193
|
setup(o) {
|
|
1186
1194
|
const e = o, s = p(() => [
|
|
1187
1195
|
"ma-badge",
|
|
1188
|
-
|
|
1189
|
-
`
|
|
1196
|
+
"ak-badge",
|
|
1197
|
+
`ak-badge--${e.variant}--${e.type}`,
|
|
1198
|
+
`ak-badge--${e.size}`,
|
|
1190
1199
|
{
|
|
1191
|
-
"
|
|
1200
|
+
"ak-badge--icon-right": e.iconAlignment === "right"
|
|
1192
1201
|
}
|
|
1193
1202
|
]);
|
|
1194
1203
|
return (i, t) => (n(), f("div", {
|
|
@@ -1202,10 +1211,10 @@ const _e = {
|
|
|
1202
1211
|
], 2));
|
|
1203
1212
|
}
|
|
1204
1213
|
});
|
|
1205
|
-
const
|
|
1214
|
+
const ke = {
|
|
1206
1215
|
name: "MaAlert"
|
|
1207
|
-
},
|
|
1208
|
-
...
|
|
1216
|
+
}, je = /* @__PURE__ */ h({
|
|
1217
|
+
...ke,
|
|
1209
1218
|
props: {
|
|
1210
1219
|
variant: { default: "dark" },
|
|
1211
1220
|
type: { default: "primary" },
|
|
@@ -1215,7 +1224,7 @@ const ye = {
|
|
|
1215
1224
|
icon: null
|
|
1216
1225
|
},
|
|
1217
1226
|
setup(o) {
|
|
1218
|
-
const e = o, s = p(() => [`ma-alert
|
|
1227
|
+
const e = o, s = p(() => [`ma-alert ak-alert ak-alert--${e.variant}--${e.type}`]), i = p(() => !!e?.icon);
|
|
1219
1228
|
return (t, l) => (n(), d(a(us), w(t.$attrs, {
|
|
1220
1229
|
class: a(s),
|
|
1221
1230
|
description: o.description,
|
|
@@ -1224,52 +1233,52 @@ const ye = {
|
|
|
1224
1233
|
showIcon: a(i),
|
|
1225
1234
|
"prefix-cls": "antd-alert"
|
|
1226
1235
|
}), B({
|
|
1227
|
-
closeIcon:
|
|
1228
|
-
|
|
1236
|
+
closeIcon: m(() => [
|
|
1237
|
+
k(v, {
|
|
1229
1238
|
name: "close",
|
|
1230
1239
|
size: "xs"
|
|
1231
1240
|
})
|
|
1232
1241
|
]),
|
|
1233
|
-
icon:
|
|
1234
|
-
|
|
1242
|
+
icon: m(() => [
|
|
1243
|
+
k(v, {
|
|
1235
1244
|
name: o.icon,
|
|
1236
1245
|
size: "lg"
|
|
1237
1246
|
}, null, 8, ["name"])
|
|
1238
1247
|
]),
|
|
1239
|
-
message:
|
|
1248
|
+
message: m(() => [
|
|
1240
1249
|
$(t.$slots, "default")
|
|
1241
1250
|
]),
|
|
1242
1251
|
_: 2
|
|
1243
1252
|
}, [
|
|
1244
|
-
I(t.$slots, (r,
|
|
1245
|
-
name:
|
|
1246
|
-
fn:
|
|
1247
|
-
$(t.$slots,
|
|
1253
|
+
I(t.$slots, (r, g) => ({
|
|
1254
|
+
name: g,
|
|
1255
|
+
fn: m(() => [
|
|
1256
|
+
$(t.$slots, g)
|
|
1248
1257
|
])
|
|
1249
1258
|
}))
|
|
1250
1259
|
]), 1040, ["class", "description", "message", "closable", "showIcon"]));
|
|
1251
1260
|
}
|
|
1252
1261
|
});
|
|
1253
1262
|
export {
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1263
|
+
je as MaAlert,
|
|
1264
|
+
De as MaAppIcon,
|
|
1265
|
+
Ae as MaAppTrackButton,
|
|
1266
|
+
Pe as MaBadge,
|
|
1258
1267
|
_s as MaButton,
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1268
|
+
Se as MaCheckbox,
|
|
1269
|
+
Me as MaCheckboxGroup,
|
|
1270
|
+
Be as MaForm,
|
|
1271
|
+
ze as MaFormItem,
|
|
1263
1272
|
v as MaIcon,
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1273
|
+
Ys as MaInput,
|
|
1274
|
+
Ve as MaNumericInput,
|
|
1275
|
+
te as MaRadio,
|
|
1276
|
+
Fe as MaRadioGroup,
|
|
1268
1277
|
qs as MaSelect,
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1278
|
+
Ne as MaSelectOption,
|
|
1279
|
+
xe as MaSwitch,
|
|
1280
|
+
Ce as MaToggle,
|
|
1281
|
+
Ie as MaTooltip,
|
|
1282
|
+
we as MaTrackButton
|
|
1274
1283
|
};
|
|
1275
1284
|
//# sourceMappingURL=index.es.js.map
|