@mobileaction/action-kit 1.1.14 → 1.1.132

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.
@@ -9,4 +9,4 @@
9
9
  ak-track-button
10
10
  ak-track-button--${s.variant}
11
11
  ak-track-button--${s.size}
12
- `,{"ak-track-button--tracked":s?.tracked},{"ak-track-button--loading":s?.loading},{"ak-track-button--show-close":s?.showClose}]),r=e.computed(()=>s.loading?"loader":s?.showClose?"close-circle":s?.tracked?"tick-circle-bold":"add"),t=e.computed(()=>s.size==="lg"?"sm":"xs");return(l,i)=>(e.openBlock(),e.createBlock(e.unref(p.Button),e.mergeProps(l.$attrs,{class:e.unref(o),disabled:s?.disabled||s?.loading,role:"button","prefix-cls":"antd-btn"}),e.createSlots({icon:e.withCtx(()=>[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.createVNode(d,{spin:s?.loading,name:e.unref(r),size:e.unref(t)},null,8,["spin","name","size"])]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(n.keyword)+" ",1)]),_:2},[e.renderList(l.$slots,(a,v)=>({name:v,fn:e.withCtx(()=>[e.renderSlot(l.$slots,v)])}))]),1040,["class","disabled"]))}});const M={key:0,class:"ma-toggle__titles"},A={key:0,class:"ma-toggle__titles__title"},F={key:1,class:"ma-toggle__titles__sub-title"},j={name:"MaToggle"},L=e.defineComponent({...j,props:{size:{default:"default"},disabled:{type:Boolean},loading:{type:Boolean},checked:{type:Boolean},checkedChildren:null,unCheckedChildren:null,title:null,subTitle:null},emits:["click","change"],setup(n,{emit:s}){const o=n,r=e.computed({get(){return o.checked},set(l){s("change",l)}}),t=e.computed(()=>["ma-toggle",`ma-toggle--${o.size}`,{"ma-toggle--disabled":o.disabled}]);return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t))},[e.createVNode(e.unref(p.Switch),e.mergeProps({class:"ma-toggle__switch",checked:e.unref(r),"onUpdate:checked":i[0]||(i[0]=a=>e.isRef(r)?r.value=a:null)},l.$attrs,{onClick:i[1]||(i[1]=a=>l.$emit("click",a)),disabled:o.disabled,loading:o.loading,checkedChildren:o.checkedChildren,unCheckedChildren:o.unCheckedChildren,"prefix-cls":"antd-switch"}),null,16,["checked","disabled","loading","checkedChildren","unCheckedChildren"]),o.title||o.subTitle?(e.openBlock(),e.createElementBlock("div",M,[o.title?(e.openBlock(),e.createElementBlock("span",A,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),o.subTitle?(e.openBlock(),e.createElementBlock("span",F,e.toDisplayString(o.subTitle),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))}});const R=["aria-checked","disabled"],T={name:"MaSwitch"},O=e.defineComponent({...T,props:{active:null,leftIcon:null,rightIcon:null,leftValue:null,rightValue:null,disabled:{type:Boolean},type:{default:"secondary"}},emits:["click","change"],setup(n,{emit:s}){const o=n,r=e.computed({get(){return o.active},set(i){s("change",i)}}),t=e.computed(()=>["ma-switch","ak-switch",`ak-switch--${o.type}`,{"ak-switch--disabled":o.disabled}]),l=i=>{o.disabled||(r.value=i)};return(i,a)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps(i.$attrs,{class:e.unref(t),type:"button",role:"switch","aria-checked":e.unref(r)===o.rightValue,disabled:o.disabled}),[e.createElementVNode("span",{class:e.normalizeClass({active:o.active===o.leftValue}),onClick:a[0]||(a[0]=v=>l(o.leftValue))},[e.createVNode(d,{name:o.leftIcon},null,8,["name"])],2),e.createElementVNode("span",{class:e.normalizeClass({active:o.active===o.rightValue}),onClick:a[1]||(a[1]=v=>l(o.rightValue))},[e.createVNode(d,{name:o.rightIcon},null,8,["name"])],2)],16,R))}});const U={class:"ak-tooltip-overlay__content"},H={class:"ak-tooltip-overlay__content__title"},G={key:0,class:"ak-tooltip-overlay__content__description"},K={name:"MaTooltip"},W=e.defineComponent({...K,props:{placement:{default:"top"},type:{default:"secondary"},icon:null,title:null,description:null,trigger:{default:"hover"},closable:{type:Boolean},defaultVisible:{type:Boolean,default:!1}},setup(n){const s=n,o=e.computed(()=>["ma-tooltip","ak-tooltip",`ak-tooltip--${s.type}`,`ak-tooltip--${s.placement}`]),r=e.computed(()=>["ak-tooltip-overlay",`ak-tooltip-overlay--${s.type}`,`ak-tooltip-overlay--${s.placement}`].join(" ")),t=e.ref(s.defaultVisible),l=()=>{t.value=!1};return(i,a)=>(e.openBlock(),e.createBlock(e.unref(p.Tooltip),e.mergeProps(i.$attrs,{visible:t.value,"onUpdate:visible":a[0]||(a[0]=v=>t.value=v),class:e.unref(o),placement:s.placement,trigger:s.trigger,overlayClassName:e.unref(r),"prefix-cls":"antd-tooltip"}),{title:e.withCtx(()=>[s.icon?(e.openBlock(),e.createBlock(d,{key:0,size:"xs",name:s.icon},null,8,["name"])):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"icon"),e.createElementVNode("div",U,[e.createElementVNode("span",H,[e.createTextVNode(e.toDisplayString(s.title)+" ",1),e.renderSlot(i.$slots,"title")]),s?.description||i.$slots.description?(e.openBlock(),e.createElementBlock("span",G,[e.createTextVNode(e.toDisplayString(s.description)+" ",1),e.renderSlot(i.$slots,"description")])):e.createCommentVNode("",!0)]),s.closable?(e.openBlock(),e.createBlock(d,{key:1,onClick:l,class:"ak-tooltip-overlay__close",size:"xs",name:"close"})):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["visible","class","placement","trigger","overlayClassName"]))}});const J={name:"MaNonHSFormsIgnore"},Y=(n,s)=>{const o=n.__vccOpts||n;for(const[r,t]of s)o[r]=t;return o},Q=e.createElementVNode("label",{for:"cc-num",class:"hidden"},"HubspotCollectedFormsWorkaround",-1),X=e.createElementVNode("input",{id:"cc-num",name:"cc-num",class:"hidden",required:"",value:"HubspotCollectedFormsWorkaround"},null,-1);function Z(n,s,o,r,t,l){return e.openBlock(),e.createElementBlock(e.Fragment,null,[Q,X],64)}const ee=Y(J,[["render",Z]]),oe={name:"MaForm"},se=e.defineComponent({...oe,props:{nonHubspotFormsIgnore:{type:Boolean,default:!0}},setup(n,{expose:s}){const o=n,r=e.ref();return s({validate:()=>r.value.validate(),clearValidate:()=>r.value.clearValidate(),resetFields:()=>r.value.resetFields(),scrollToField:()=>r.value.scrollToField(),validateFields:()=>r.value.validateFields()}),(f,_)=>(e.openBlock(),e.createBlock(e.unref(p.Form),e.mergeProps(f.$attrs,{class:"ma-form","prefix-cls":"antd-form",ref_key:"form",ref:r}),{default:e.withCtx(()=>[o.nonHubspotFormsIgnore?(e.openBlock(),e.createBlock(ee,{key:0})):e.createCommentVNode("",!0),e.renderSlot(f.$slots,"default")]),_:3},16))}});const re={name:"MaFormItem"},ne=e.defineComponent({...re,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.FormItem),e.mergeProps(s.$attrs,{class:"ma-form-item","prefix-cls":"antd-form"}),e.createSlots({_:2},[e.renderList(s.$slots,(r,t)=>({name:t,fn:e.withCtx(()=>[e.renderSlot(s.$slots,t)])}))]),1040))}});var q=(n=>(n.text="text",n.password="password",n.textarea="textarea",n.number="number",n.email="email",n.url="url",n.tel="tel",n.amount="amount",n.creditCard="creditCard",n.userInfo="userInfo",n))(q||{}),B=(n=>(n.small="small",n.medium="medium",n.large="large",n))(B||{});const te={usd:"$",eur:"€",gbp:"£",jpy:"¥"},le=[{label:"USD",value:"USD"},{label:"EUR",value:"EUR"},{label:"GBP",value:"GBP"},{label:"JPY",value:"JPY"}],ie={name:"MaAvatar"},ae=e.defineComponent({...ie,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.Avatar),e.mergeProps(s.$attrs,{"prefix-cls":"antd-avatar"}),null,16))}}),ce={class:"dropdown-wrapper"},ue={class:"mobile-header"},me=e.createElementVNode("label",null,"Select",-1),de={name:"MaDropdownRender"},ve=e.defineComponent({...de,props:{menu:{type:Object,required:!0},filter:{type:String,default:""}},emits:["update:filter","closeDropdown"],setup(n,{emit:s}){const o=n,r=(i,{attrs:a})=>a.vnodes,t=e.computed({get(){return o.filter},set(i){s("update:filter",i)}}),l=()=>{s("closeDropdown")};return(i,a)=>(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",ue,[e.createVNode(d,{size:"lg",name:"close-circle",onClick:l}),me,e.createVNode($,{type:"grey-link",onClick:l},{default:e.withCtx(()=>[e.createTextVNode("Done")]),_:1})]),e.createVNode(x,{value:e.unref(t),"onUpdate:value":a[0]||(a[0]=v=>e.isRef(t)?t.value=v:null),autofocus:"",placeholder:"Search","prefix-icon":"search-normal"},null,8,["value"]),e.createVNode(r,{vnodes:n.menu},null,8,["vnodes"])]))}}),ge={key:0,class:"prefix-icon"},pe={name:"MaSelect"},w=e.defineComponent({...pe,props:{allowClear:{type:Boolean},autoClearSearchValue:{type:Boolean,default:!0},autofocus:{type:Boolean},clearIcon:null,defaultOpen:{type:Boolean},dropdownClassName:null,disabled:{type:Boolean},loading:{type:Boolean},menuItemSelectedIcon:{default:"check"},mode:null,optionFilterProp:null,optionLabelProp:null,options:null,placeholder:null,removeIcon:null,searchValue:null,showSearch:{type:Boolean},size:{default:"default"},suffixIcon:null,prefixIcon:null,open:{type:Boolean,default:!1},value:{default:""},listHeight:{default:288}},emits:["update:value"],setup(n,{emit:s}){const o=n,r=e.useSlots(),t=e.ref(o?.searchValue),l=e.ref(o.open),i=e.computed(()=>!o?.mode&&o?.showSearch),a=e.computed({get(){return o.value},set(u){s("update:value",u)}}),v=e.computed(()=>["ma-select",`ma-select--${o.size}`,{"ma-select--has-prefix":o.mode?!1:r?.prefixIcon||o?.prefixIcon},{"ma-select--selected":Array.isArray(a.value)?a.value.length:a.value},{"ma-select--custom-render":i}]),f=e.computed(()=>[o?.dropdownClassName,"ma-select-dropdown",!o?.mode&&(r?.prefixIcon||o?.prefixIcon)?"ma-select-dropdown--has-prefix":null].join(" ")),_=e.computed(()=>o?.loading?"loader":o?.suffixIcon),h=()=>{l.value=!0},P=u=>{l.value=u,t.value=""},y=e.computed(()=>!i.value&&o?.showSearch),m=()=>typeof window.orientation<"u"||navigator.userAgent.indexOf("Mobile")!==-1?window.innerHeight:o?.listHeight,c=()=>{l.value=!1};return(u,g)=>(e.openBlock(),e.createBlock(e.unref(p.Select),e.mergeProps({value:e.unref(a),"onUpdate:value":g[1]||(g[1]=k=>e.isRef(a)?a.value=k:null)},u.$attrs,{class:e.unref(v),allowClear:o?.allowClear,autoClearSearchValue:o?.autoClearSearchValue,autofocus:o?.autofocus,defaultOpen:o?.defaultOpen,disabled:o?.disabled||o?.loading,dropdownClassName:e.unref(f),loading:o?.loading,optionFilterProp:o?.optionFilterProp,optionLabelProp:o?.optionLabelProp,options:o?.options,placeholder:o?.placeholder,searchValue:t.value||void 0,showSearch:e.unref(y),mode:o?.mode,"list-height":m(),size:o?.size,open:l.value,onClick:h,onDropdownVisibleChange:P,"prefix-cls":"antd-select"}),e.createSlots({suffixIcon:e.withCtx(()=>[e.createVNode(d,{spin:o?.loading,name:e.unref(_)||"chevron-down"},null,8,["spin","name"]),u.$slots?.prefixIcon||o?.prefixIcon?(e.openBlock(),e.createElementBlock("div",ge,[e.renderSlot(u.$slots,"prefixIcon",{},()=>[o?.prefixIcon?(e.openBlock(),e.createBlock(d,{key:0,name:o?.prefixIcon},null,8,["name"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),removeIcon:e.withCtx(()=>[e.createVNode(d,{name:o?.removeIcon||"close"},null,8,["name"])]),_:2},[e.renderList(u.$slots,(k,b)=>({name:b,fn:e.withCtx(()=>[e.renderSlot(u.$slots,b)])})),o?.clearIcon?{name:"clearIcon",fn:e.withCtx(()=>[o?.clearIcon?(e.openBlock(),e.createBlock(d,{key:0,name:o?.clearIcon},null,8,["name"])):e.createCommentVNode("",!0)]),key:"0"}:void 0,o?.menuItemSelectedIcon?{name:"menuItemSelectedIcon",fn:e.withCtx(()=>[e.createVNode(d,{name:o?.menuItemSelectedIcon},null,8,["name"])]),key:"1"}:void 0,u.$slots.notFoundContent?void 0:{name:"notFoundContent",fn:e.withCtx(()=>[e.createVNode(d,{size:"sm",name:"warning"}),e.createTextVNode(" No result found! ")]),key:"2"},e.unref(i)&&l.value?{name:"dropdownRender",fn:e.withCtx(({menuNode:k})=>[e.createVNode(ve,{filter:t.value,"onUpdate:filter":g[0]||(g[0]=b=>t.value=b),menu:k,onCloseDropdown:c},null,8,["filter","menu"])]),key:"3"}:void 0]),1040,["value","class","allowClear","autoClearSearchValue","autofocus","defaultOpen","disabled","dropdownClassName","loading","optionFilterProp","optionLabelProp","options","placeholder","searchValue","showSearch","mode","list-height","size","open"]))}});const fe=["for"],he={key:1,class:"ak-input__wrapper"},_e={key:1,class:"currency"},Pe={key:2,class:"ak-input__textarea-wrapper"},ke={key:3,class:"ak-input__hint-text"},qe={name:"MaInput",inheritAttrs:!1},x=e.defineComponent({...qe,props:{allowClear:{type:Boolean},type:{default:q.text},size:{default:B.small},title:null,hintText:null,hasError:{type:Boolean},placeholder:null,disabled:{type:Boolean},addonBefore:null,addonAfter:null,avatarUrl:null,value:null,amountCurrency:null,hint:null,prefixIcon:null,suffixIcon:null},emits:["change","currency-change","update:value","update:amountCurrency"],setup(n,{emit:s}){const o=n,r=e.ref(null),t=e.computed(()=>[q.amount,q.creditCard].includes(o.type)?"number":o.type===q.userInfo?"text":o.type),l=e.computed(()=>[`ma-input ak-input ak-input--${o.type} ak-input--${o.size}`,{"ak-input--has-error":o.hasError},{"ak-input--disabled":o.disabled},{"ak-input--filled":o?.value}]),i=e.computed({get(){return o.value},set(c){s("update:value",c)}}),a=e.computed(()=>o.amountCurrency?te[o.amountCurrency.toLowerCase()]:null),v=e.computed({get(){return o.amountCurrency},set(c){s("update:amountCurrency",c)}}),f=e.computed(()=>o.type===q.password?p.InputPassword:p.Input),_=e.computed(()=>o.type===q.password?{"input-prefix-cls":"antd-input"}:{"prefix-cls":"antd-input"}),h=e.computed(()=>o.type===q.url?"https":o?.addonBefore),P=c=>{s("change",c)},y=c=>{s("currency-change",c)},m=()=>{r.value.focus()};return(c,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(l))},[e.renderSlot(c.$slots,"title"),o.title?(e.openBlock(),e.createElementBlock("label",{key:0,onClick:m,class:"ak-input__title",for:c.$attrs?.id},e.toDisplayString(o.title),9,fe)):e.createCommentVNode("",!0),o.type!=="textarea"?(e.openBlock(),e.createElementBlock("div",he,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(f)),e.mergeProps({value:e.unref(i),"onUpdate:value":u[1]||(u[1]=g=>e.isRef(i)?i.value=g:null)},{...c.$attrs,...e.unref(_)},{allowClear:o?.allowClear,type:e.unref(t),disabled:o?.disabled,placeholder:o?.placeholder,addonBefore:e.unref(h),addonAfter:n.addonAfter,class:"ak-input__input",onChange:P,ref_key:"inputRef",ref:r}),e.createSlots({prefix:e.withCtx(()=>[o.prefixIcon?(e.openBlock(),e.createBlock(d,{key:0,size:"xs",name:o.prefixIcon},null,8,["name"])):e.unref(a)?(e.openBlock(),e.createElementBlock("span",_e,e.toDisplayString(e.unref(a)),1)):o.type===e.unref(q).userInfo?(e.openBlock(),e.createBlock(ae,{key:2,src:o.avatarUrl,disabled:o.disabled},null,8,["src","disabled"])):e.createCommentVNode("",!0)]),suffix:e.withCtx(()=>[o.type==="amount"?(e.openBlock(),e.createBlock(w,{key:0,value:e.unref(v),"onUpdate:value":u[0]||(u[0]=g=>e.isRef(v)?v.value=g:null),onChange:y,dropdownClassName:"ak-input__input__ma-select__dropdown",options:e.unref(le),disabled:o.disabled,size:"small"},null,8,["value","options","disabled"])):e.createCommentVNode("",!0),o.suffixIcon?(e.openBlock(),e.createBlock(d,{key:1,size:"xs",name:o.suffixIcon},null,8,["name"])):e.createCommentVNode("",!0)]),_:2},[e.renderList(c.$slots,(g,k)=>({name:k,fn:e.withCtx(()=>[e.renderSlot(c.$slots,k)])}))]),1040,["value","allowClear","type","disabled","placeholder","addonBefore","addonAfter"]))])):(e.openBlock(),e.createElementBlock("div",Pe,[e.createVNode(e.unref(p.Textarea),e.mergeProps({value:e.unref(i),"onUpdate:value":u[2]||(u[2]=g=>e.isRef(i)?i.value=g:null)},c.$attrs,{class:"ak-input__input",disabled:o?.disabled,placeholder:o?.placeholder,onChange:P,rows:5,"prefix-cls":"antd-input",ref_key:"inputRef",ref:r}),e.createSlots({_:2},[e.renderList(c.$slots,(g,k)=>({name:k,fn:e.withCtx(()=>[e.renderSlot(c.$slots,k)])}))]),1040,["value","disabled","placeholder"])])),e.renderSlot(c.$slots,"hint"),o.hintText?(e.openBlock(),e.createElementBlock("div",ke,e.toDisplayString(o.hintText),1)):e.createCommentVNode("",!0)],2))}});const ye={name:"MaSelectOption"},be=e.defineComponent({...ye,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.SelectOption),e.mergeProps(s.$attrs,{class:"ma-select-option","prefix-cls":"antd-select"}),e.createSlots({_:2},[e.renderList(s.$slots,(r,t)=>({name:t,fn:e.withCtx(()=>[e.renderSlot(s.$slots,t)])}))]),1040))}}),Ce={name:"MaCheckbox"},$e=e.defineComponent({...Ce,props:{hint:null,indeterminate:{type:Boolean,default:void 0},disabled:{type:Boolean}},setup(n){const s=n,o=e.computed(()=>["ma-checkbox","ak-checkbox",{"ak-checkbox--intermediate":typeof s?.indeterminate=="boolean"}]);return(r,t)=>(e.openBlock(),e.createBlock(e.unref(p.Checkbox),e.mergeProps(r.$attrs,{class:e.unref(o),disabled:s?.disabled,indeterminate:s?.indeterminate,"prefix-cls":"antd-checkbox"}),e.createSlots({_:2},[e.renderList(r.$slots,(l,i)=>({name:i,fn:e.withCtx(()=>[e.renderSlot(r.$slots,i),s.hint?(e.openBlock(),e.createElementBlock("div",{key:i,class:"ak-checkbox__hint-text"},e.toDisplayString(s.hint),1)):e.createCommentVNode("",!0)])}))]),1040,["class","disabled","indeterminate"]))}});const Be={name:"MaCheckboxGroup"},we=e.defineComponent({...Be,props:{hint:null,disabled:{type:Boolean}},setup(n){const s=n;return(o,r)=>(e.openBlock(),e.createBlock(e.unref(p.CheckboxGroup),e.mergeProps(o.$attrs,{class:"ak-checkbox-group ma-checkbox-group","prefix-cls":"antd-checkbox"}),e.createSlots({_:2},[e.renderList(o.$slots,(t,l)=>({name:l,fn:e.withCtx(()=>[e.renderSlot(o.$slots,l),s.hint?(e.openBlock(),e.createElementBlock("div",{key:l,class:"ak-checkbox__hint-text"},e.toDisplayString(s.hint),1)):e.createCommentVNode("",!0)])}))]),1040))}}),xe=["value"],Ne=e.defineComponent({__name:"singleNumericInput",props:{value:{default:""},focus:{type:Boolean,default:!1}},emits:["update:value"],setup(n,{emit:s}){const o=n,r=e.ref(null);e.watch(()=>o.focus,l=>{l&&r.value.focus()});const t=l=>{s("update:value",l.target.value)};return(l,i)=>(e.openBlock(),e.createElementBlock("input",e.mergeProps(l.$attrs,{value:o.value,onInput:t,ref_key:"input",ref:r,type:"number",min:"0",max:"9",maxlength:"1",pattern:"[0-9]",inputmode:"numeric"}),null,16,xe))}}),Se={name:"MaNumericInput"},Ve=e.defineComponent({...Se,props:{disabled:{type:Boolean},length:{default:6},hasError:{type:Boolean},value:{default:""},placeholderStatus:{type:Boolean,default:!0},size:{default:"medium"}},emits:["update:value"],setup(n,{emit:s}){const o=n,r=e.ref(null),t=e.ref(Array.from({length:o.length},(m,c)=>o.value[c]||null)),l=e.computed(()=>["ma-numeric-input",`ma-numeric-input--${o.size}`,{"ma-numeric-input--has-error":o?.hasError},{"ma-numeric-input--disabled":o?.disabled}]),i=e.computed(()=>o?.placeholderStatus?"0":null),a=m=>/^Digit[0-9]$/.test(m),v=m=>r.value=m,f=(m,c)=>{switch(m.code){case"Backspace":case"Delete":P("",c),h();break;case"ArrowLeft":m.preventDefault(),h();break;case"ArrowRight":m.preventDefault(),_();break;default:a(m.code)&&(m.preventDefault(),P(m.key,c),_());break}},_=()=>{r.value<o.length&&r.value++},h=()=>{o.length>=r.value&&r.value>0&&r.value--},P=(m,c)=>{t.value[c]=m},y=(m,c)=>{m.preventDefault();const u=m.clipboardData.getData("text/plain").replaceAll(" ","").replaceAll("-","").slice(0,o.length);u.length===1&&u.match(/^\d+$/)?t.value[c]=u:u.match(/^\d+$/)&&(t.value=u.split(""))};return e.watch(()=>t.value,m=>{const c=m.join("");s("update:value",c)},{deep:!0}),e.watch(()=>o.value,m=>{m!==t.value.join("")&&m&&m.match(/^\d+$/)&&(t.value=m.split("").slice(0,o.length))}),(m,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(l)},m.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.length,u=>(e.openBlock(),e.createBlock(Ne,{focus:r.value===u-1,key:u,placeholder:e.unref(i),value:t.value[u-1],disabled:o.disabled,onFocus:g=>v(u-1),onKeydown:g=>f(g,u-1),onPaste:g=>y(g,u-1),class:"ma-numeric-input__input"},null,8,["focus","placeholder","value","disabled","onFocus","onKeydown","onPaste"]))),128))],16))}});const Ie={name:"MaRadio"},N=e.defineComponent({...Ie,props:{type:{default:"button"},hint:null,disabled:{type:Boolean}},setup(n){const s=n,o=e.computed(()=>[`ma-radio ma-radio--${s.type}`]);return(r,t)=>(e.openBlock(),e.createBlock(e.unref(p.Radio),e.mergeProps(r.$attrs,{class:e.unref(o),"prefix-cls":"antd-radio"}),e.createSlots({_:2},[e.renderList(r.$slots,(l,i)=>({name:i,fn:e.withCtx(()=>[e.renderSlot(r.$slots,i),s.hint?(e.openBlock(),e.createElementBlock("div",{key:i,class:"ma-radio__hint-text"},e.toDisplayString(s.hint),1)):e.createCommentVNode("",!0)])}))]),1040,["class"]))}});const ze=["aria-checked","disabled"],Ee=["src","alt"],De={class:"ma-app-track-button__text"},Me={class:"ma-app-track-button__text__title"},Ae={key:0,class:"ma-app-track-button__text__category"},Fe={class:"ma-app-track-button__check"},je={name:"MaAppTrackButton"},Le=e.defineComponent({...je,props:{checked:{type:Boolean,default:!1},appIcon:null,appName:null,appCategory:null,disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["update:checked","change"],setup(n,{emit:s}){const o=n,r=l=>{l.preventDefault(),s("change",!o.checked),s("update:checked",!o.checked)},t=e.computed(()=>["ma-app-track-button",{"ma-app-track-button--disabled":o.disabled||o.loading},{"ma-app-track-button--checked":o.checked},{"ma-app-track-button--loading":o.loading}]);return(l,i)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps({class:e.unref(t),role:"switch","aria-checked":o.checked,disabled:o.disabled},l.$attrs,{onClick:r}),[e.createElementVNode("img",{src:o.appIcon,alt:o.appName,width:"40",height:"40"},null,8,Ee),e.createElementVNode("span",De,[e.createElementVNode("span",Me,e.toDisplayString(o.appName),1),o.appCategory?(e.openBlock(),e.createElementBlock("span",Ae,e.toDisplayString(o?.appCategory),1)):e.createCommentVNode("",!0)]),e.createElementVNode("span",Fe,[e.createVNode(e.Transition,{name:"fade",mode:"out-in"},{default:e.withCtx(()=>[o.loading?(e.openBlock(),e.createBlock(d,{key:0,name:"loader",size:"xs",spin:""})):!o.multiple||o.checked?(e.openBlock(),e.createBlock(N,{key:1,checked:o.checked,type:"check"},null,8,["checked"])):(e.openBlock(),e.createBlock(d,{key:2,name:"add-circle",size:"xs"}))]),_:1})])],16,ze))}});const Re={class:"ak-app-icon__logo"},Te=["src"],Oe={key:1,class:"ak-app-icon-platform"},Ue={class:"ak-app-icon__text"},He={key:0,class:"ak-app-name"},Ge={key:1,class:"ak-app-description"},Ke={name:"MaAppIcon"},We=e.defineComponent({...Ke,props:{appIcon:null,appName:null,appDescription:null,closable:{type:Boolean,default:!0},platform:null,rounded:{type:Boolean,default:!1},size:{default:"medium"}},emits:["close"],setup(n,{emit:s}){const o=n,r=e.computed(()=>o.platform==="ios"?"apple-storefront":"android-storefront"),t=e.computed(()=>["ma-app-icon","ak-app-icon",`ak-app-icon--${o.size}`,{"ak-app-icon--rounded":o.rounded},{"ak-app-icon--only-icon":!o?.appName&&!o?.appDescription}]),l=()=>{s("close")};return(i,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t))},[e.createElementVNode("div",Re,[o.closable?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:l,class:"ak-app-icon-closable"},[e.createVNode(d,{size:"xs",name:"close-circle"})])):e.createCommentVNode("",!0),e.createElementVNode("img",{class:"ak-app-icon-img",src:o.appIcon},null,8,Te),o?.platform?(e.openBlock(),e.createElementBlock("span",Oe,[e.createVNode(d,{size:"xs",name:e.unref(r)},null,8,["name"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ue,[o?.appName?(e.openBlock(),e.createElementBlock("span",He,e.toDisplayString(o.appName),1)):e.createCommentVNode("",!0),o?.appDescription?(e.openBlock(),e.createElementBlock("span",Ge,e.toDisplayString(o.appDescription),1)):e.createCommentVNode("",!0)])],2))}});const Je={name:"MaRadioGroup"},Ye=e.defineComponent({...Je,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.RadioGroup),e.mergeProps(s.$attrs,{"prefix-cls":"antd-radio"}),e.createSlots({_:2},[e.renderList(s.$slots,(r,t)=>({name:t,fn:e.withCtx(()=>[e.renderSlot(s.$slots,t)])}))]),1040))}}),Qe={name:"MaBadge"},Xe=e.defineComponent({...Qe,props:{type:{default:"primary"},variant:{default:"dark"},size:{default:"medium"},icon:null,iconAlignment:{default:"left"}},setup(n){const s=n,o=e.computed(()=>["ma-badge","ak-badge",`ak-badge--${s.variant}--${s.type}`,`ak-badge--${s.size}`,{"ak-badge--icon-right":s.iconAlignment==="right"}]);return(r,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(o))},[s?.icon?(e.openBlock(),e.createBlock(d,{key:0,name:s?.icon},null,8,["name"])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")],2))}});const Ze={name:"MaAlert"},eo=e.defineComponent({...Ze,props:{variant:{default:"dark"},type:{default:"primary"},message:null,closable:{type:Boolean},description:null,icon:null},setup(n){const s=n,o=e.useSlots(),r=e.computed(()=>[`ma-alert ak-alert ak-alert--${s.variant}--${s.type}`]),t=e.computed(()=>!!s?.icon||!!o?.icon);return(l,i)=>(e.openBlock(),e.createBlock(e.unref(p.Alert),e.mergeProps(l.$attrs,{class:e.unref(r),description:n.description,message:n.message,closable:n.closable,showIcon:e.unref(t),"prefix-cls":"antd-alert"}),{closeIcon:e.withCtx(()=>[e.createVNode(d,{name:"close",size:"xs"})]),icon:e.withCtx(()=>[s?.icon?(e.openBlock(),e.createBlock(d,{key:0,name:n.icon,size:"lg"},null,8,["name"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"icon")]),message:e.withCtx(()=>[e.renderSlot(l.$slots,"message")]),description:e.withCtx(()=>[e.renderSlot(l.$slots,"description")]),_:3},16,["class","description","message","closable","showIcon"]))}});const oo={name:"MaAnimation"},so=e.defineComponent({...oo,props:{name:null,loop:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},width:null,height:null,rendererSettings:null},emits:["onLoaded","onComplete","onError"],setup(n,{expose:s,emit:o}){const r=n;let t;const l=e.ref(null),i=e.ref(null);s({animation:i});const a=e.computed(()=>({width:r.width?`${r.width}px`:void 0,height:r.height?`${r.height}px`:void 0}));e.watch(()=>r.name,()=>{_(),f()});const v=async()=>{const{default:h}=await Promise.resolve().then(()=>require("./lottie_light-09d9aa0d.js")).then(P=>P.lottie_light);t=h},f=async()=>{try{const{default:h}=await C(Object.assign({"./files/fly-waiting.json":()=>Promise.resolve().then(()=>require("./fly-waiting-9101fb8f.js")),"./files/no-data-found.json":()=>Promise.resolve().then(()=>require("./no-data-found-65b42caf.js")),"./files/rocket.json":()=>Promise.resolve().then(()=>require("./rocket-8d93d70d.js")),"./files/rounded-loading.json":()=>Promise.resolve().then(()=>require("./rounded-loading-c4ebb46c.js")),"./files/sad-not-found.json":()=>Promise.resolve().then(()=>require("./sad-not-found-7da4aa65.js")),"./files/success-confetti.json":()=>Promise.resolve().then(()=>require("./success-confetti-33dc00b3.js"))}),`./files/${r.name}.json`);i.value=t.loadAnimation({container:l.value,loop:r.loop,autoplay:r.autoplay,animationData:h,rendererSettings:r?.rendererSettings}),i.value.onComplete=()=>o("onComplete"),i.value.addEventListener("DOMLoaded",function(){o("onLoaded")})}catch(h){o("onError",h)}},_=()=>{i.value&&i.value.destroy()};return e.onMounted(async()=>{await v(),f()}),e.onBeforeUnmount(()=>{_()}),(h,P)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"animationRef",ref:l,class:"ma-animation",style:e.normalizeStyle(e.unref(a))},null,4))}});class ro{config=e.reactive({language:"en"});setConfig(s){for(const o in s)if(Object.prototype.hasOwnProperty.call(s,o)){const r=o;this.config[r]=s[r]}}getConfig(){return e.readonly(this.config)}setLanguage(s){this.config.language=s}getLanguage(){return this.config.language}}const S=new ro;function no(){return e.toRefs(S.getConfig())}exports.ActionKitConfig=S;exports.MaAlert=eo;exports.MaAnimation=so;exports.MaAppIcon=We;exports.MaAppTrackButton=Le;exports.MaBadge=Xe;exports.MaButton=$;exports.MaCheckbox=$e;exports.MaCheckboxGroup=we;exports.MaForm=se;exports.MaFormItem=ne;exports.MaIcon=d;exports.MaInput=x;exports.MaNumericInput=Ve;exports.MaRadio=N;exports.MaRadioGroup=Ye;exports.MaSelect=w;exports.MaSelectOption=be;exports.MaSwitch=O;exports.MaToggle=L;exports.MaTooltip=W;exports.MaTrackButton=D;exports.useActionKitConfig=no;
12
+ `,{"ak-track-button--tracked":s?.tracked},{"ak-track-button--loading":s?.loading},{"ak-track-button--show-close":s?.showClose}]),r=e.computed(()=>s.loading?"loader":s?.showClose?"close-circle":s?.tracked?"tick-circle-bold":"add"),t=e.computed(()=>s.size==="lg"?"sm":"xs");return(l,i)=>(e.openBlock(),e.createBlock(e.unref(p.Button),e.mergeProps(l.$attrs,{class:e.unref(o),disabled:s?.disabled||s?.loading,role:"button","prefix-cls":"antd-btn"}),e.createSlots({icon:e.withCtx(()=>[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.createVNode(d,{spin:s?.loading,name:e.unref(r),size:e.unref(t)},null,8,["spin","name","size"])]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(n.keyword)+" ",1)]),_:2},[e.renderList(l.$slots,(a,v)=>({name:v,fn:e.withCtx(()=>[e.renderSlot(l.$slots,v)])}))]),1040,["class","disabled"]))}});const M={key:0,class:"ma-toggle__titles"},A={key:0,class:"ma-toggle__titles__title"},F={key:1,class:"ma-toggle__titles__sub-title"},j={name:"MaToggle"},L=e.defineComponent({...j,props:{size:{default:"default"},disabled:{type:Boolean},loading:{type:Boolean},checked:{type:Boolean},checkedChildren:null,unCheckedChildren:null,title:null,subTitle:null},emits:["click","change"],setup(n,{emit:s}){const o=n,r=e.computed({get(){return o.checked},set(l){s("change",l)}}),t=e.computed(()=>["ma-toggle",`ma-toggle--${o.size}`,{"ma-toggle--disabled":o.disabled}]);return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t))},[e.createVNode(e.unref(p.Switch),e.mergeProps({class:"ma-toggle__switch",checked:e.unref(r),"onUpdate:checked":i[0]||(i[0]=a=>e.isRef(r)?r.value=a:null)},l.$attrs,{onClick:i[1]||(i[1]=a=>l.$emit("click",a)),disabled:o.disabled,loading:o.loading,checkedChildren:o.checkedChildren,unCheckedChildren:o.unCheckedChildren,"prefix-cls":"antd-switch"}),null,16,["checked","disabled","loading","checkedChildren","unCheckedChildren"]),o.title||o.subTitle?(e.openBlock(),e.createElementBlock("div",M,[o.title?(e.openBlock(),e.createElementBlock("span",A,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),o.subTitle?(e.openBlock(),e.createElementBlock("span",F,e.toDisplayString(o.subTitle),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))}});const R=["aria-checked","disabled"],T={name:"MaSwitch"},O=e.defineComponent({...T,props:{active:null,leftIcon:null,rightIcon:null,leftValue:null,rightValue:null,disabled:{type:Boolean},type:{default:"secondary"}},emits:["click","change"],setup(n,{emit:s}){const o=n,r=e.computed({get(){return o.active},set(i){s("change",i)}}),t=e.computed(()=>["ma-switch","ak-switch",`ak-switch--${o.type}`,{"ak-switch--disabled":o.disabled}]),l=i=>{o.disabled||(r.value=i)};return(i,a)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps(i.$attrs,{class:e.unref(t),type:"button",role:"switch","aria-checked":e.unref(r)===o.rightValue,disabled:o.disabled}),[e.createElementVNode("span",{class:e.normalizeClass({active:o.active===o.leftValue}),onClick:a[0]||(a[0]=v=>l(o.leftValue))},[e.createVNode(d,{name:o.leftIcon},null,8,["name"])],2),e.createElementVNode("span",{class:e.normalizeClass({active:o.active===o.rightValue}),onClick:a[1]||(a[1]=v=>l(o.rightValue))},[e.createVNode(d,{name:o.rightIcon},null,8,["name"])],2)],16,R))}});const U={class:"ak-tooltip-overlay__content"},H={class:"ak-tooltip-overlay__content__title"},G={key:0,class:"ak-tooltip-overlay__content__description"},K={name:"MaTooltip"},J=e.defineComponent({...K,props:{placement:{default:"top"},type:{default:"secondary"},icon:null,title:null,description:null,trigger:{default:"hover"},closable:{type:Boolean},defaultVisible:{type:Boolean,default:!1}},setup(n){const s=n,o=e.computed(()=>["ma-tooltip","ak-tooltip",`ak-tooltip--${s.type}`,`ak-tooltip--${s.placement}`]),r=e.computed(()=>["ak-tooltip-overlay",`ak-tooltip-overlay--${s.type}`,`ak-tooltip-overlay--${s.placement}`].join(" ")),t=e.ref(s.defaultVisible),l=()=>{t.value=!1};return(i,a)=>(e.openBlock(),e.createBlock(e.unref(p.Tooltip),e.mergeProps(i.$attrs,{visible:t.value,"onUpdate:visible":a[0]||(a[0]=v=>t.value=v),class:e.unref(o),placement:s.placement,trigger:s.trigger,overlayClassName:e.unref(r),"prefix-cls":"antd-tooltip"}),{title:e.withCtx(()=>[s.icon?(e.openBlock(),e.createBlock(d,{key:0,size:"xs",name:s.icon},null,8,["name"])):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"icon"),e.createElementVNode("div",U,[e.createElementVNode("span",H,[e.createTextVNode(e.toDisplayString(s.title)+" ",1),e.renderSlot(i.$slots,"title")]),s?.description||i.$slots.description?(e.openBlock(),e.createElementBlock("span",G,[e.createTextVNode(e.toDisplayString(s.description)+" ",1),e.renderSlot(i.$slots,"description")])):e.createCommentVNode("",!0)]),s.closable?(e.openBlock(),e.createBlock(d,{key:1,onClick:l,class:"ak-tooltip-overlay__close",size:"xs",name:"close"})):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["visible","class","placement","trigger","overlayClassName"]))}});const Y={name:"MaNonHSFormsIgnore"},W=(n,s)=>{const o=n.__vccOpts||n;for(const[r,t]of s)o[r]=t;return o},X=e.createElementVNode("label",{for:"amex",style:{display:"none"}},"AMEX",-1),Q=e.createElementVNode("input",{type:"hidden",name:"amex",required:"",value:"",id:"amex"},null,-1);function Z(n,s,o,r,t,l){return e.openBlock(),e.createElementBlock(e.Fragment,null,[X,Q],64)}const ee=W(Y,[["render",Z]]),oe={name:"MaForm"},se=e.defineComponent({...oe,props:{nonHubspotFormsIgnore:{type:Boolean,default:!0}},setup(n,{expose:s}){const o=n,r=e.ref();return s({validate:()=>r.value.validate(),clearValidate:()=>r.value.clearValidate(),resetFields:()=>r.value.resetFields(),scrollToField:()=>r.value.scrollToField(),validateFields:()=>r.value.validateFields()}),(f,_)=>(e.openBlock(),e.createBlock(e.unref(p.Form),e.mergeProps(f.$attrs,{class:"ma-form","prefix-cls":"antd-form",ref_key:"form",ref:r}),{default:e.withCtx(()=>[o.nonHubspotFormsIgnore?(e.openBlock(),e.createBlock(ee,{key:0})):e.createCommentVNode("",!0),e.renderSlot(f.$slots,"default")]),_:3},16))}});const re={name:"MaFormItem"},ne=e.defineComponent({...re,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.FormItem),e.mergeProps(s.$attrs,{class:"ma-form-item","prefix-cls":"antd-form"}),e.createSlots({_:2},[e.renderList(s.$slots,(r,t)=>({name:t,fn:e.withCtx(()=>[e.renderSlot(s.$slots,t)])}))]),1040))}});var q=(n=>(n.text="text",n.password="password",n.textarea="textarea",n.number="number",n.email="email",n.url="url",n.tel="tel",n.amount="amount",n.creditCard="creditCard",n.userInfo="userInfo",n))(q||{}),B=(n=>(n.small="small",n.medium="medium",n.large="large",n))(B||{});const te={usd:"$",eur:"€",gbp:"£",jpy:"¥"},le=[{label:"USD",value:"USD"},{label:"EUR",value:"EUR"},{label:"GBP",value:"GBP"},{label:"JPY",value:"JPY"}],ie={name:"MaAvatar"},ae=e.defineComponent({...ie,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.Avatar),e.mergeProps(s.$attrs,{"prefix-cls":"antd-avatar"}),null,16))}}),ce={class:"dropdown-wrapper"},ue={class:"mobile-header"},me=e.createElementVNode("label",null,"Select",-1),de={name:"MaDropdownRender"},ve=e.defineComponent({...de,props:{menu:{type:Object,required:!0},filter:{type:String,default:""}},emits:["update:filter","closeDropdown"],setup(n,{emit:s}){const o=n,r=(i,{attrs:a})=>a.vnodes,t=e.computed({get(){return o.filter},set(i){s("update:filter",i)}}),l=()=>{s("closeDropdown")};return(i,a)=>(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",ue,[e.createVNode(d,{size:"lg",name:"close-circle",onClick:l}),me,e.createVNode($,{type:"grey-link",onClick:l},{default:e.withCtx(()=>[e.createTextVNode("Done")]),_:1})]),e.createVNode(x,{value:e.unref(t),"onUpdate:value":a[0]||(a[0]=v=>e.isRef(t)?t.value=v:null),autofocus:"",placeholder:"Search","prefix-icon":"search-normal"},null,8,["value"]),e.createVNode(r,{vnodes:n.menu},null,8,["vnodes"])]))}}),ge={key:0,class:"prefix-icon"},pe={name:"MaSelect"},w=e.defineComponent({...pe,props:{allowClear:{type:Boolean},autoClearSearchValue:{type:Boolean,default:!0},autofocus:{type:Boolean},clearIcon:null,defaultOpen:{type:Boolean},dropdownClassName:null,disabled:{type:Boolean},loading:{type:Boolean},menuItemSelectedIcon:{default:"check"},mode:null,optionFilterProp:null,optionLabelProp:null,options:null,placeholder:null,removeIcon:null,searchValue:null,showSearch:{type:Boolean},size:{default:"default"},suffixIcon:null,prefixIcon:null,open:{type:Boolean,default:!1},value:{default:""},listHeight:{default:288}},emits:["update:value"],setup(n,{emit:s}){const o=n,r=e.useSlots(),t=e.ref(o?.searchValue),l=e.ref(o.open),i=e.computed(()=>!o?.mode&&o?.showSearch),a=e.computed({get(){return o.value},set(u){s("update:value",u)}}),v=e.computed(()=>["ma-select",`ma-select--${o.size}`,{"ma-select--has-prefix":o.mode?!1:r?.prefixIcon||o?.prefixIcon},{"ma-select--selected":Array.isArray(a.value)?a.value.length:a.value},{"ma-select--custom-render":i}]),f=e.computed(()=>[o?.dropdownClassName,"ma-select-dropdown",!o?.mode&&(r?.prefixIcon||o?.prefixIcon)?"ma-select-dropdown--has-prefix":null].join(" ")),_=e.computed(()=>o?.loading?"loader":o?.suffixIcon),h=()=>{l.value=!0},P=u=>{l.value=u,t.value=""},y=e.computed(()=>!i.value&&o?.showSearch),m=()=>typeof window.orientation<"u"||navigator.userAgent.indexOf("Mobile")!==-1?window.innerHeight:o?.listHeight,c=()=>{l.value=!1};return(u,g)=>(e.openBlock(),e.createBlock(e.unref(p.Select),e.mergeProps({value:e.unref(a),"onUpdate:value":g[1]||(g[1]=k=>e.isRef(a)?a.value=k:null)},u.$attrs,{class:e.unref(v),allowClear:o?.allowClear,autoClearSearchValue:o?.autoClearSearchValue,autofocus:o?.autofocus,defaultOpen:o?.defaultOpen,disabled:o?.disabled||o?.loading,dropdownClassName:e.unref(f),loading:o?.loading,optionFilterProp:o?.optionFilterProp,optionLabelProp:o?.optionLabelProp,options:o?.options,placeholder:o?.placeholder,searchValue:t.value||void 0,showSearch:e.unref(y),mode:o?.mode,"list-height":m(),size:o?.size,open:l.value,onClick:h,onDropdownVisibleChange:P,"prefix-cls":"antd-select"}),e.createSlots({suffixIcon:e.withCtx(()=>[e.createVNode(d,{spin:o?.loading,name:e.unref(_)||"chevron-down"},null,8,["spin","name"]),u.$slots?.prefixIcon||o?.prefixIcon?(e.openBlock(),e.createElementBlock("div",ge,[e.renderSlot(u.$slots,"prefixIcon",{},()=>[o?.prefixIcon?(e.openBlock(),e.createBlock(d,{key:0,name:o?.prefixIcon},null,8,["name"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),removeIcon:e.withCtx(()=>[e.createVNode(d,{name:o?.removeIcon||"close"},null,8,["name"])]),_:2},[e.renderList(u.$slots,(k,b)=>({name:b,fn:e.withCtx(()=>[e.renderSlot(u.$slots,b)])})),o?.clearIcon?{name:"clearIcon",fn:e.withCtx(()=>[o?.clearIcon?(e.openBlock(),e.createBlock(d,{key:0,name:o?.clearIcon},null,8,["name"])):e.createCommentVNode("",!0)]),key:"0"}:void 0,o?.menuItemSelectedIcon?{name:"menuItemSelectedIcon",fn:e.withCtx(()=>[e.createVNode(d,{name:o?.menuItemSelectedIcon},null,8,["name"])]),key:"1"}:void 0,u.$slots.notFoundContent?void 0:{name:"notFoundContent",fn:e.withCtx(()=>[e.createVNode(d,{size:"sm",name:"warning"}),e.createTextVNode(" No result found! ")]),key:"2"},e.unref(i)&&l.value?{name:"dropdownRender",fn:e.withCtx(({menuNode:k})=>[e.createVNode(ve,{filter:t.value,"onUpdate:filter":g[0]||(g[0]=b=>t.value=b),menu:k,onCloseDropdown:c},null,8,["filter","menu"])]),key:"3"}:void 0]),1040,["value","class","allowClear","autoClearSearchValue","autofocus","defaultOpen","disabled","dropdownClassName","loading","optionFilterProp","optionLabelProp","options","placeholder","searchValue","showSearch","mode","list-height","size","open"]))}});const fe=["for"],he={key:1,class:"ak-input__wrapper"},_e={key:1,class:"currency"},Pe={key:2,class:"ak-input__textarea-wrapper"},ke={key:3,class:"ak-input__hint-text"},qe={name:"MaInput",inheritAttrs:!1},x=e.defineComponent({...qe,props:{allowClear:{type:Boolean},type:{default:q.text},size:{default:B.small},title:null,hintText:null,hasError:{type:Boolean},placeholder:null,disabled:{type:Boolean},addonBefore:null,addonAfter:null,avatarUrl:null,value:null,amountCurrency:null,hint:null,prefixIcon:null,suffixIcon:null},emits:["change","currency-change","update:value","update:amountCurrency"],setup(n,{emit:s}){const o=n,r=e.ref(null),t=e.computed(()=>[q.amount,q.creditCard].includes(o.type)?"number":o.type===q.userInfo?"text":o.type),l=e.computed(()=>[`ma-input ak-input ak-input--${o.type} ak-input--${o.size}`,{"ak-input--has-error":o.hasError},{"ak-input--disabled":o.disabled},{"ak-input--filled":o?.value}]),i=e.computed({get(){return o.value},set(c){s("update:value",c)}}),a=e.computed(()=>o.amountCurrency?te[o.amountCurrency.toLowerCase()]:null),v=e.computed({get(){return o.amountCurrency},set(c){s("update:amountCurrency",c)}}),f=e.computed(()=>o.type===q.password?p.InputPassword:p.Input),_=e.computed(()=>o.type===q.password?{"input-prefix-cls":"antd-input"}:{"prefix-cls":"antd-input"}),h=e.computed(()=>o.type===q.url?"https":o?.addonBefore),P=c=>{s("change",c)},y=c=>{s("currency-change",c)},m=()=>{r.value.focus()};return(c,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(l))},[e.renderSlot(c.$slots,"title"),o.title?(e.openBlock(),e.createElementBlock("label",{key:0,onClick:m,class:"ak-input__title",for:c.$attrs?.id},e.toDisplayString(o.title),9,fe)):e.createCommentVNode("",!0),o.type!=="textarea"?(e.openBlock(),e.createElementBlock("div",he,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(f)),e.mergeProps({value:e.unref(i),"onUpdate:value":u[1]||(u[1]=g=>e.isRef(i)?i.value=g:null)},{...c.$attrs,...e.unref(_)},{allowClear:o?.allowClear,type:e.unref(t),disabled:o?.disabled,placeholder:o?.placeholder,addonBefore:e.unref(h),addonAfter:n.addonAfter,class:"ak-input__input",onChange:P,ref_key:"inputRef",ref:r}),e.createSlots({prefix:e.withCtx(()=>[o.prefixIcon?(e.openBlock(),e.createBlock(d,{key:0,size:"xs",name:o.prefixIcon},null,8,["name"])):e.unref(a)?(e.openBlock(),e.createElementBlock("span",_e,e.toDisplayString(e.unref(a)),1)):o.type===e.unref(q).userInfo?(e.openBlock(),e.createBlock(ae,{key:2,src:o.avatarUrl,disabled:o.disabled},null,8,["src","disabled"])):e.createCommentVNode("",!0)]),suffix:e.withCtx(()=>[o.type==="amount"?(e.openBlock(),e.createBlock(w,{key:0,value:e.unref(v),"onUpdate:value":u[0]||(u[0]=g=>e.isRef(v)?v.value=g:null),onChange:y,dropdownClassName:"ak-input__input__ma-select__dropdown",options:e.unref(le),disabled:o.disabled,size:"small"},null,8,["value","options","disabled"])):e.createCommentVNode("",!0),o.suffixIcon?(e.openBlock(),e.createBlock(d,{key:1,size:"xs",name:o.suffixIcon},null,8,["name"])):e.createCommentVNode("",!0)]),_:2},[e.renderList(c.$slots,(g,k)=>({name:k,fn:e.withCtx(()=>[e.renderSlot(c.$slots,k)])}))]),1040,["value","allowClear","type","disabled","placeholder","addonBefore","addonAfter"]))])):(e.openBlock(),e.createElementBlock("div",Pe,[e.createVNode(e.unref(p.Textarea),e.mergeProps({value:e.unref(i),"onUpdate:value":u[2]||(u[2]=g=>e.isRef(i)?i.value=g:null)},c.$attrs,{class:"ak-input__input",disabled:o?.disabled,placeholder:o?.placeholder,onChange:P,rows:5,"prefix-cls":"antd-input",ref_key:"inputRef",ref:r}),e.createSlots({_:2},[e.renderList(c.$slots,(g,k)=>({name:k,fn:e.withCtx(()=>[e.renderSlot(c.$slots,k)])}))]),1040,["value","disabled","placeholder"])])),e.renderSlot(c.$slots,"hint"),o.hintText?(e.openBlock(),e.createElementBlock("div",ke,e.toDisplayString(o.hintText),1)):e.createCommentVNode("",!0)],2))}});const ye={name:"MaSelectOption"},be=e.defineComponent({...ye,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.SelectOption),e.mergeProps(s.$attrs,{class:"ma-select-option","prefix-cls":"antd-select"}),e.createSlots({_:2},[e.renderList(s.$slots,(r,t)=>({name:t,fn:e.withCtx(()=>[e.renderSlot(s.$slots,t)])}))]),1040))}}),Ce={name:"MaCheckbox"},$e=e.defineComponent({...Ce,props:{hint:null,indeterminate:{type:Boolean,default:void 0},disabled:{type:Boolean}},setup(n){const s=n,o=e.computed(()=>["ma-checkbox","ak-checkbox",{"ak-checkbox--intermediate":typeof s?.indeterminate=="boolean"}]);return(r,t)=>(e.openBlock(),e.createBlock(e.unref(p.Checkbox),e.mergeProps(r.$attrs,{class:e.unref(o),disabled:s?.disabled,indeterminate:s?.indeterminate,"prefix-cls":"antd-checkbox"}),e.createSlots({_:2},[e.renderList(r.$slots,(l,i)=>({name:i,fn:e.withCtx(()=>[e.renderSlot(r.$slots,i),s.hint?(e.openBlock(),e.createElementBlock("div",{key:i,class:"ak-checkbox__hint-text"},e.toDisplayString(s.hint),1)):e.createCommentVNode("",!0)])}))]),1040,["class","disabled","indeterminate"]))}});const Be={name:"MaCheckboxGroup"},we=e.defineComponent({...Be,props:{hint:null,disabled:{type:Boolean}},setup(n){const s=n;return(o,r)=>(e.openBlock(),e.createBlock(e.unref(p.CheckboxGroup),e.mergeProps(o.$attrs,{class:"ak-checkbox-group ma-checkbox-group","prefix-cls":"antd-checkbox"}),e.createSlots({_:2},[e.renderList(o.$slots,(t,l)=>({name:l,fn:e.withCtx(()=>[e.renderSlot(o.$slots,l),s.hint?(e.openBlock(),e.createElementBlock("div",{key:l,class:"ak-checkbox__hint-text"},e.toDisplayString(s.hint),1)):e.createCommentVNode("",!0)])}))]),1040))}}),xe=["value"],Ne=e.defineComponent({__name:"singleNumericInput",props:{value:{default:""},focus:{type:Boolean,default:!1}},emits:["update:value"],setup(n,{emit:s}){const o=n,r=e.ref(null);e.watch(()=>o.focus,l=>{l&&r.value.focus()});const t=l=>{s("update:value",l.target.value)};return(l,i)=>(e.openBlock(),e.createElementBlock("input",e.mergeProps(l.$attrs,{value:o.value,onInput:t,ref_key:"input",ref:r,type:"number",min:"0",max:"9",maxlength:"1",pattern:"[0-9]",inputmode:"numeric"}),null,16,xe))}}),Se={name:"MaNumericInput"},Ve=e.defineComponent({...Se,props:{disabled:{type:Boolean},length:{default:6},hasError:{type:Boolean},value:{default:""},placeholderStatus:{type:Boolean,default:!0},size:{default:"medium"}},emits:["update:value"],setup(n,{emit:s}){const o=n,r=e.ref(null),t=e.ref(Array.from({length:o.length},(m,c)=>o.value[c]||null)),l=e.computed(()=>["ma-numeric-input",`ma-numeric-input--${o.size}`,{"ma-numeric-input--has-error":o?.hasError},{"ma-numeric-input--disabled":o?.disabled}]),i=e.computed(()=>o?.placeholderStatus?"0":null),a=m=>/^Digit[0-9]$/.test(m),v=m=>r.value=m,f=(m,c)=>{switch(m.code){case"Backspace":case"Delete":P("",c),h();break;case"ArrowLeft":m.preventDefault(),h();break;case"ArrowRight":m.preventDefault(),_();break;default:a(m.code)&&(m.preventDefault(),P(m.key,c),_());break}},_=()=>{r.value<o.length&&r.value++},h=()=>{o.length>=r.value&&r.value>0&&r.value--},P=(m,c)=>{t.value[c]=m},y=(m,c)=>{m.preventDefault();const u=m.clipboardData.getData("text/plain").replaceAll(" ","").replaceAll("-","").slice(0,o.length);u.length===1&&u.match(/^\d+$/)?t.value[c]=u:u.match(/^\d+$/)&&(t.value=u.split(""))};return e.watch(()=>t.value,m=>{const c=m.join("");s("update:value",c)},{deep:!0}),e.watch(()=>o.value,m=>{m!==t.value.join("")&&m&&m.match(/^\d+$/)&&(t.value=m.split("").slice(0,o.length))}),(m,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(l)},m.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.length,u=>(e.openBlock(),e.createBlock(Ne,{focus:r.value===u-1,key:u,placeholder:e.unref(i),value:t.value[u-1],disabled:o.disabled,onFocus:g=>v(u-1),onKeydown:g=>f(g,u-1),onPaste:g=>y(g,u-1),class:"ma-numeric-input__input"},null,8,["focus","placeholder","value","disabled","onFocus","onKeydown","onPaste"]))),128))],16))}});const Ie={name:"MaRadio"},N=e.defineComponent({...Ie,props:{type:{default:"button"},hint:null,disabled:{type:Boolean}},setup(n){const s=n,o=e.computed(()=>[`ma-radio ma-radio--${s.type}`]);return(r,t)=>(e.openBlock(),e.createBlock(e.unref(p.Radio),e.mergeProps(r.$attrs,{class:e.unref(o),"prefix-cls":"antd-radio"}),e.createSlots({_:2},[e.renderList(r.$slots,(l,i)=>({name:i,fn:e.withCtx(()=>[e.renderSlot(r.$slots,i),s.hint?(e.openBlock(),e.createElementBlock("div",{key:i,class:"ma-radio__hint-text"},e.toDisplayString(s.hint),1)):e.createCommentVNode("",!0)])}))]),1040,["class"]))}});const ze=["aria-checked","disabled"],Ee=["src","alt"],De={class:"ma-app-track-button__text"},Me={class:"ma-app-track-button__text__title"},Ae={key:0,class:"ma-app-track-button__text__category"},Fe={class:"ma-app-track-button__check"},je={name:"MaAppTrackButton"},Le=e.defineComponent({...je,props:{checked:{type:Boolean,default:!1},appIcon:null,appName:null,appCategory:null,disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["update:checked","change"],setup(n,{emit:s}){const o=n,r=l=>{l.preventDefault(),s("change",!o.checked),s("update:checked",!o.checked)},t=e.computed(()=>["ma-app-track-button",{"ma-app-track-button--disabled":o.disabled||o.loading},{"ma-app-track-button--checked":o.checked},{"ma-app-track-button--loading":o.loading}]);return(l,i)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps({class:e.unref(t),role:"switch","aria-checked":o.checked,disabled:o.disabled},l.$attrs,{onClick:r}),[e.createElementVNode("img",{src:o.appIcon,alt:o.appName,width:"40",height:"40"},null,8,Ee),e.createElementVNode("span",De,[e.createElementVNode("span",Me,e.toDisplayString(o.appName),1),o.appCategory?(e.openBlock(),e.createElementBlock("span",Ae,e.toDisplayString(o?.appCategory),1)):e.createCommentVNode("",!0)]),e.createElementVNode("span",Fe,[e.createVNode(e.Transition,{name:"fade",mode:"out-in"},{default:e.withCtx(()=>[o.loading?(e.openBlock(),e.createBlock(d,{key:0,name:"loader",size:"xs",spin:""})):!o.multiple||o.checked?(e.openBlock(),e.createBlock(N,{key:1,checked:o.checked,type:"check"},null,8,["checked"])):(e.openBlock(),e.createBlock(d,{key:2,name:"add-circle",size:"xs"}))]),_:1})])],16,ze))}});const Re={class:"ak-app-icon__logo"},Te=["src"],Oe={key:1,class:"ak-app-icon-platform"},Ue={class:"ak-app-icon__text"},He={key:0,class:"ak-app-name"},Ge={key:1,class:"ak-app-description"},Ke={name:"MaAppIcon"},Je=e.defineComponent({...Ke,props:{appIcon:null,appName:null,appDescription:null,closable:{type:Boolean,default:!0},platform:null,rounded:{type:Boolean,default:!1},size:{default:"medium"}},emits:["close"],setup(n,{emit:s}){const o=n,r=e.computed(()=>o.platform==="ios"?"apple-storefront":"android-storefront"),t=e.computed(()=>["ma-app-icon","ak-app-icon",`ak-app-icon--${o.size}`,{"ak-app-icon--rounded":o.rounded},{"ak-app-icon--only-icon":!o?.appName&&!o?.appDescription}]),l=()=>{s("close")};return(i,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t))},[e.createElementVNode("div",Re,[o.closable?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:l,class:"ak-app-icon-closable"},[e.createVNode(d,{size:"xs",name:"close-circle"})])):e.createCommentVNode("",!0),e.createElementVNode("img",{class:"ak-app-icon-img",src:o.appIcon},null,8,Te),o?.platform?(e.openBlock(),e.createElementBlock("span",Oe,[e.createVNode(d,{size:"xs",name:e.unref(r)},null,8,["name"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ue,[o?.appName?(e.openBlock(),e.createElementBlock("span",He,e.toDisplayString(o.appName),1)):e.createCommentVNode("",!0),o?.appDescription?(e.openBlock(),e.createElementBlock("span",Ge,e.toDisplayString(o.appDescription),1)):e.createCommentVNode("",!0)])],2))}});const Ye={name:"MaRadioGroup"},We=e.defineComponent({...Ye,setup(n){return(s,o)=>(e.openBlock(),e.createBlock(e.unref(p.RadioGroup),e.mergeProps(s.$attrs,{"prefix-cls":"antd-radio"}),e.createSlots({_:2},[e.renderList(s.$slots,(r,t)=>({name:t,fn:e.withCtx(()=>[e.renderSlot(s.$slots,t)])}))]),1040))}}),Xe={name:"MaBadge"},Qe=e.defineComponent({...Xe,props:{type:{default:"primary"},variant:{default:"dark"},size:{default:"medium"},icon:null,iconAlignment:{default:"left"}},setup(n){const s=n,o=e.computed(()=>["ma-badge","ak-badge",`ak-badge--${s.variant}--${s.type}`,`ak-badge--${s.size}`,{"ak-badge--icon-right":s.iconAlignment==="right"}]);return(r,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(o))},[s?.icon?(e.openBlock(),e.createBlock(d,{key:0,name:s?.icon},null,8,["name"])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")],2))}});const Ze={name:"MaAlert"},eo=e.defineComponent({...Ze,props:{variant:{default:"dark"},type:{default:"primary"},message:null,closable:{type:Boolean},description:null,icon:null},setup(n){const s=n,o=e.useSlots(),r=e.computed(()=>[`ma-alert ak-alert ak-alert--${s.variant}--${s.type}`]),t=e.computed(()=>!!s?.icon||!!o?.icon);return(l,i)=>(e.openBlock(),e.createBlock(e.unref(p.Alert),e.mergeProps(l.$attrs,{class:e.unref(r),description:n.description,message:n.message,closable:n.closable,showIcon:e.unref(t),"prefix-cls":"antd-alert"}),{closeIcon:e.withCtx(()=>[e.createVNode(d,{name:"close",size:"xs"})]),icon:e.withCtx(()=>[s?.icon?(e.openBlock(),e.createBlock(d,{key:0,name:n.icon,size:"lg"},null,8,["name"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"icon")]),message:e.withCtx(()=>[e.renderSlot(l.$slots,"message")]),description:e.withCtx(()=>[e.renderSlot(l.$slots,"description")]),_:3},16,["class","description","message","closable","showIcon"]))}});const oo={name:"MaAnimation"},so=e.defineComponent({...oo,props:{name:null,loop:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},width:null,height:null,rendererSettings:null},emits:["onLoaded","onComplete","onError"],setup(n,{expose:s,emit:o}){const r=n;let t;const l=e.ref(null),i=e.ref(null);s({animation:i});const a=e.computed(()=>({width:r.width?`${r.width}px`:void 0,height:r.height?`${r.height}px`:void 0}));e.watch(()=>r.name,()=>{_(),f()});const v=async()=>{const{default:h}=await Promise.resolve().then(()=>require("./lottie_light-09d9aa0d.js")).then(P=>P.lottie_light);t=h},f=async()=>{try{const{default:h}=await C(Object.assign({"./files/fly-waiting.json":()=>Promise.resolve().then(()=>require("./fly-waiting-9101fb8f.js")),"./files/no-data-found.json":()=>Promise.resolve().then(()=>require("./no-data-found-65b42caf.js")),"./files/rocket.json":()=>Promise.resolve().then(()=>require("./rocket-8d93d70d.js")),"./files/rounded-loading.json":()=>Promise.resolve().then(()=>require("./rounded-loading-c4ebb46c.js")),"./files/sad-not-found.json":()=>Promise.resolve().then(()=>require("./sad-not-found-7da4aa65.js")),"./files/success-confetti.json":()=>Promise.resolve().then(()=>require("./success-confetti-33dc00b3.js"))}),`./files/${r.name}.json`);i.value=t.loadAnimation({container:l.value,loop:r.loop,autoplay:r.autoplay,animationData:h,rendererSettings:r?.rendererSettings}),i.value.onComplete=()=>o("onComplete"),i.value.addEventListener("DOMLoaded",function(){o("onLoaded")})}catch(h){o("onError",h)}},_=()=>{i.value&&i.value.destroy()};return e.onMounted(async()=>{await v(),f()}),e.onBeforeUnmount(()=>{_()}),(h,P)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"animationRef",ref:l,class:"ma-animation",style:e.normalizeStyle(e.unref(a))},null,4))}});class ro{config=e.reactive({language:"en"});setConfig(s){for(const o in s)if(Object.prototype.hasOwnProperty.call(s,o)){const r=o;this.config[r]=s[r]}}getConfig(){return e.readonly(this.config)}setLanguage(s){this.config.language=s}getLanguage(){return this.config.language}}const S=new ro;function no(){return e.toRefs(S.getConfig())}exports.ActionKitConfig=S;exports.MaAlert=eo;exports.MaAnimation=so;exports.MaAppIcon=Je;exports.MaAppTrackButton=Le;exports.MaBadge=Qe;exports.MaButton=$;exports.MaCheckbox=$e;exports.MaCheckboxGroup=we;exports.MaForm=se;exports.MaFormItem=ne;exports.MaIcon=d;exports.MaInput=x;exports.MaNumericInput=Ve;exports.MaRadio=N;exports.MaRadioGroup=We;exports.MaSelect=w;exports.MaSelectOption=be;exports.MaSwitch=O;exports.MaToggle=L;exports.MaTooltip=J;exports.MaTrackButton=D;exports.useActionKitConfig=no;
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, computed as c, defineAsyncComponent as J, openBlock as l, createBlock as u, resolveDynamicComponent as q, unref as r, normalizeClass as j, mergeProps as $, createSlots as M, renderList as S, withCtx as g, renderSlot as k, createVNode as w, Transition as E, createTextVNode as O, toDisplayString as I, createElementBlock as f, isRef as P, createCommentVNode as _, createElementVNode as x, ref as V, Fragment as H, useSlots as G, watch as U, onMounted as Y, onBeforeUnmount as Q, normalizeStyle as X, reactive as Z, readonly as ee, toRefs as se } from "vue";
1
+ import { defineComponent as y, computed as c, defineAsyncComponent as Y, openBlock as l, createBlock as u, resolveDynamicComponent as E, unref as r, normalizeClass as j, mergeProps as $, createSlots as M, renderList as S, withCtx as g, renderSlot as k, createVNode as w, Transition as q, createTextVNode as O, toDisplayString as I, createElementBlock as f, isRef as P, createCommentVNode as _, createElementVNode as x, ref as F, Fragment as H, useSlots as G, watch as U, onMounted as W, onBeforeUnmount as X, normalizeStyle as Q, reactive as Z, readonly as ee, toRefs as se } from "vue";
2
2
  import { Button as K, Switch as oe, Tooltip as te, Form as ae, FormItem as ne, Avatar as ie, Select as le, InputPassword as re, Input as ce, Textarea as pe, SelectOption as ge, Checkbox as ue, CheckboxGroup as me, Radio as de, RadioGroup as fe, Alert as ve } from "ant-design-vue";
3
3
  const L = (t, s) => {
4
4
  const e = t[s];
@@ -11,10 +11,10 @@ const L = (t, s) => {
11
11
  md: "w-6 h-6",
12
12
  lg: "w-8 h-8",
13
13
  xl: "w-9 h-9"
14
- }, he = {
14
+ }, ye = {
15
15
  name: "MaIcon"
16
- }, y = /* @__PURE__ */ h({
17
- ...he,
16
+ }, h = /* @__PURE__ */ y({
17
+ ...ye,
18
18
  props: {
19
19
  name: null,
20
20
  size: { default: "md" },
@@ -22,7 +22,7 @@ const L = (t, s) => {
22
22
  },
23
23
  setup(t) {
24
24
  const s = t, e = ["flag", "pay"], o = c(
25
- () => J(
25
+ () => Y(
26
26
  function() {
27
27
  const n = e.find((i) => s.name.startsWith(`${i}-`));
28
28
  return n ? L(/* @__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/${n}/${s.name.replace(`${n}-`, "")}.svg`) : L(/* @__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/dislike-bold.svg": () => import("./dislike-bold-a013e761.mjs"), "./icons/dislike.svg": () => import("./dislike-0c9a2817.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/like-bold.svg": () => import("./like-bold-8d645465.mjs"), "./icons/like.svg": () => import("./like-2dfe9704.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/${s.name}.svg`);
@@ -35,14 +35,14 @@ const L = (t, s) => {
35
35
  _e[s.size],
36
36
  { "animate-spin": s.spin }
37
37
  ]);
38
- return (n, i) => (l(), u(q(r(o)), {
38
+ return (n, i) => (l(), u(E(r(o)), {
39
39
  class: j(r(a))
40
40
  }, null, 8, ["class"]));
41
41
  }
42
- }), ye = {
42
+ }), he = {
43
43
  name: "MaButton"
44
- }, ke = /* @__PURE__ */ h({
45
- ...ye,
44
+ }, ke = /* @__PURE__ */ y({
45
+ ...he,
46
46
  props: {
47
47
  type: { default: "primary" },
48
48
  variant: { default: "dark" },
@@ -91,12 +91,12 @@ const L = (t, s) => {
91
91
  r(a) ? {
92
92
  name: "icon",
93
93
  fn: g(() => [
94
- s?.loading ? (l(), u(y, {
94
+ s?.loading ? (l(), u(h, {
95
95
  key: 0,
96
96
  class: "ak-button__loader",
97
97
  spin: "",
98
98
  name: "loader"
99
- })) : (l(), u(y, {
99
+ })) : (l(), u(h, {
100
100
  key: 1,
101
101
  name: s?.icon
102
102
  }, null, 8, ["name"]))
@@ -108,7 +108,7 @@ const L = (t, s) => {
108
108
  });
109
109
  const be = {
110
110
  name: "MaTrackButton"
111
- }, Ds = /* @__PURE__ */ h({
111
+ }, Ds = /* @__PURE__ */ y({
112
112
  ...be,
113
113
  props: {
114
114
  variant: { default: "default" },
@@ -146,9 +146,9 @@ const be = {
146
146
  "prefix-cls": "antd-btn"
147
147
  }), M({
148
148
  icon: g(() => [
149
- w(E, { name: "fade" }, {
149
+ w(q, { name: "fade" }, {
150
150
  default: g(() => [
151
- w(y, {
151
+ w(h, {
152
152
  spin: s?.loading,
153
153
  name: r(o),
154
154
  size: r(a)
@@ -182,7 +182,7 @@ const $e = {
182
182
  class: "ma-toggle__titles__sub-title"
183
183
  }, xe = {
184
184
  name: "MaToggle"
185
- }, js = /* @__PURE__ */ h({
185
+ }, js = /* @__PURE__ */ y({
186
186
  ...xe,
187
187
  props: {
188
188
  size: { default: "default" },
@@ -234,7 +234,7 @@ const $e = {
234
234
  });
235
235
  const Ie = ["aria-checked", "disabled"], Be = {
236
236
  name: "MaSwitch"
237
- }, Ps = /* @__PURE__ */ h({
237
+ }, Ps = /* @__PURE__ */ y({
238
238
  ...Be,
239
239
  props: {
240
240
  active: null,
@@ -278,7 +278,7 @@ const Ie = ["aria-checked", "disabled"], Be = {
278
278
  class: j({ active: e.active === e.leftValue }),
279
279
  onClick: p[0] || (p[0] = (b) => n(e.leftValue))
280
280
  }, [
281
- w(y, {
281
+ w(h, {
282
282
  name: e.leftIcon
283
283
  }, null, 8, ["name"])
284
284
  ], 2),
@@ -286,7 +286,7 @@ const Ie = ["aria-checked", "disabled"], Be = {
286
286
  class: j({ active: e.active === e.rightValue }),
287
287
  onClick: p[1] || (p[1] = (b) => n(e.rightValue))
288
288
  }, [
289
- w(y, {
289
+ w(h, {
290
290
  name: e.rightIcon
291
291
  }, null, 8, ["name"])
292
292
  ], 2)
@@ -298,7 +298,7 @@ const ze = { class: "ak-tooltip-overlay__content" }, Se = { class: "ak-tooltip-o
298
298
  class: "ak-tooltip-overlay__content__description"
299
299
  }, Ne = {
300
300
  name: "MaTooltip"
301
- }, Rs = /* @__PURE__ */ h({
301
+ }, Rs = /* @__PURE__ */ y({
302
302
  ...Ne,
303
303
  props: {
304
304
  placement: { default: "top" },
@@ -320,7 +320,7 @@ const ze = { class: "ak-tooltip-overlay__content" }, Se = { class: "ak-tooltip-o
320
320
  "ak-tooltip-overlay",
321
321
  `ak-tooltip-overlay--${s.type}`,
322
322
  `ak-tooltip-overlay--${s.placement}`
323
- ].join(" ")), a = V(s.defaultVisible), n = () => {
323
+ ].join(" ")), a = F(s.defaultVisible), n = () => {
324
324
  a.value = !1;
325
325
  };
326
326
  return (i, p) => (l(), u(r(te), $(i.$attrs, {
@@ -333,7 +333,7 @@ const ze = { class: "ak-tooltip-overlay__content" }, Se = { class: "ak-tooltip-o
333
333
  "prefix-cls": "antd-tooltip"
334
334
  }), {
335
335
  title: g(() => [
336
- s.icon ? (l(), u(y, {
336
+ s.icon ? (l(), u(h, {
337
337
  key: 0,
338
338
  size: "xs",
339
339
  name: s.icon
@@ -349,7 +349,7 @@ const ze = { class: "ak-tooltip-overlay__content" }, Se = { class: "ak-tooltip-o
349
349
  k(i.$slots, "description")
350
350
  ])) : _("", !0)
351
351
  ]),
352
- s.closable ? (l(), u(y, {
352
+ s.closable ? (l(), u(h, {
353
353
  key: 1,
354
354
  onClick: n,
355
355
  class: "ak-tooltip-overlay__close",
@@ -366,36 +366,36 @@ const ze = { class: "ak-tooltip-overlay__content" }, Se = { class: "ak-tooltip-o
366
366
  });
367
367
  const Ae = {
368
368
  name: "MaNonHSFormsIgnore"
369
- }, Fe = (t, s) => {
369
+ }, Ve = (t, s) => {
370
370
  const e = t.__vccOpts || t;
371
371
  for (const [o, a] of s)
372
372
  e[o] = a;
373
373
  return e;
374
- }, Ve = /* @__PURE__ */ x("label", {
375
- for: "cc-num",
376
- class: "hidden"
377
- }, "HubspotCollectedFormsWorkaround", -1), De = /* @__PURE__ */ x("input", {
378
- id: "cc-num",
379
- name: "cc-num",
380
- class: "hidden",
374
+ }, Fe = /* @__PURE__ */ x("label", {
375
+ for: "amex",
376
+ style: { display: "none" }
377
+ }, "AMEX", -1), De = /* @__PURE__ */ x("input", {
378
+ type: "hidden",
379
+ name: "amex",
381
380
  required: "",
382
- value: "HubspotCollectedFormsWorkaround"
381
+ value: "",
382
+ id: "amex"
383
383
  }, null, -1);
384
384
  function je(t, s, e, o, a, n) {
385
385
  return l(), f(H, null, [
386
- Ve,
386
+ Fe,
387
387
  De
388
388
  ], 64);
389
389
  }
390
- const Pe = /* @__PURE__ */ Fe(Ae, [["render", je]]), Re = {
390
+ const Pe = /* @__PURE__ */ Ve(Ae, [["render", je]]), Re = {
391
391
  name: "MaForm"
392
- }, Os = /* @__PURE__ */ h({
392
+ }, Os = /* @__PURE__ */ y({
393
393
  ...Re,
394
394
  props: {
395
395
  nonHubspotFormsIgnore: { type: Boolean, default: !0 }
396
396
  },
397
397
  setup(t, { expose: s }) {
398
- const e = t, o = V();
398
+ const e = t, o = F();
399
399
  return s({
400
400
  validate: () => o.value.validate(),
401
401
  clearValidate: () => o.value.clearValidate(),
@@ -418,7 +418,7 @@ const Pe = /* @__PURE__ */ Fe(Ae, [["render", je]]), Re = {
418
418
  });
419
419
  const Oe = {
420
420
  name: "MaFormItem"
421
- }, Ts = /* @__PURE__ */ h({
421
+ }, Ts = /* @__PURE__ */ y({
422
422
  ...Oe,
423
423
  setup(t) {
424
424
  return (s, e) => (l(), u(r(ne), $(s.$attrs, {
@@ -434,7 +434,7 @@ const Oe = {
434
434
  ]), 1040));
435
435
  }
436
436
  });
437
- var D = /* @__PURE__ */ ((t) => (t.text = "text", t.password = "password", t.textarea = "textarea", t.number = "number", t.email = "email", t.url = "url", t.tel = "tel", t.amount = "amount", t.creditCard = "creditCard", t.userInfo = "userInfo", t))(D || {}), W = /* @__PURE__ */ ((t) => (t.small = "small", t.medium = "medium", t.large = "large", t))(W || {});
437
+ var D = /* @__PURE__ */ ((t) => (t.text = "text", t.password = "password", t.textarea = "textarea", t.number = "number", t.email = "email", t.url = "url", t.tel = "tel", t.amount = "amount", t.creditCard = "creditCard", t.userInfo = "userInfo", t))(D || {}), J = /* @__PURE__ */ ((t) => (t.small = "small", t.medium = "medium", t.large = "large", t))(J || {});
438
438
  const Te = {
439
439
  usd: "$",
440
440
  eur: "€",
@@ -447,14 +447,14 @@ const Te = {
447
447
  { label: "JPY", value: "JPY" }
448
448
  ], Le = {
449
449
  name: "MaAvatar"
450
- }, qe = /* @__PURE__ */ h({
450
+ }, Ee = /* @__PURE__ */ y({
451
451
  ...Le,
452
452
  setup(t) {
453
453
  return (s, e) => (l(), u(r(ie), $(s.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
454
454
  }
455
- }), Ee = { class: "dropdown-wrapper" }, He = { class: "mobile-header" }, Ge = /* @__PURE__ */ x("label", null, "Select", -1), Ke = {
455
+ }), qe = { class: "dropdown-wrapper" }, He = { class: "mobile-header" }, Ge = /* @__PURE__ */ x("label", null, "Select", -1), Ke = {
456
456
  name: "MaDropdownRender"
457
- }, We = /* @__PURE__ */ h({
457
+ }, Je = /* @__PURE__ */ y({
458
458
  ...Ke,
459
459
  props: {
460
460
  menu: {
@@ -478,9 +478,9 @@ const Te = {
478
478
  }), n = () => {
479
479
  s("closeDropdown");
480
480
  };
481
- return (i, p) => (l(), f("div", Ee, [
481
+ return (i, p) => (l(), f("div", qe, [
482
482
  x("div", He, [
483
- w(y, {
483
+ w(h, {
484
484
  size: "lg",
485
485
  name: "close-circle",
486
486
  onClick: n
@@ -506,13 +506,13 @@ const Te = {
506
506
  w(o, { vnodes: t.menu }, null, 8, ["vnodes"])
507
507
  ]));
508
508
  }
509
- }), Je = {
509
+ }), Ye = {
510
510
  key: 0,
511
511
  class: "prefix-icon"
512
- }, Ye = {
512
+ }, We = {
513
513
  name: "MaSelect"
514
- }, Qe = /* @__PURE__ */ h({
515
- ...Ye,
514
+ }, Xe = /* @__PURE__ */ y({
515
+ ...We,
516
516
  props: {
517
517
  allowClear: { type: Boolean },
518
518
  autoClearSearchValue: { type: Boolean, default: !0 },
@@ -542,7 +542,7 @@ const Te = {
542
542
  "update:value"
543
543
  ],
544
544
  setup(t, { emit: s }) {
545
- const e = t, o = G(), a = V(e?.searchValue), n = V(e.open), i = c(() => !e?.mode && e?.showSearch), p = c({
545
+ const e = t, o = G(), a = F(e?.searchValue), n = F(e.open), i = c(() => !e?.mode && e?.showSearch), p = c({
546
546
  get() {
547
547
  return e.value;
548
548
  },
@@ -574,7 +574,7 @@ const Te = {
574
574
  };
575
575
  return (d, C) => (l(), u(r(le), $({
576
576
  value: r(p),
577
- "onUpdate:value": C[1] || (C[1] = (F) => P(p) ? p.value = F : null)
577
+ "onUpdate:value": C[1] || (C[1] = (V) => P(p) ? p.value = V : null)
578
578
  }, d.$attrs, {
579
579
  class: r(b),
580
580
  allowClear: e?.allowClear,
@@ -599,13 +599,13 @@ const Te = {
599
599
  "prefix-cls": "antd-select"
600
600
  }), M({
601
601
  suffixIcon: g(() => [
602
- w(y, {
602
+ w(h, {
603
603
  spin: e?.loading,
604
604
  name: r(N) || "chevron-down"
605
605
  }, null, 8, ["spin", "name"]),
606
- d.$slots?.prefixIcon || e?.prefixIcon ? (l(), f("div", Je, [
606
+ d.$slots?.prefixIcon || e?.prefixIcon ? (l(), f("div", Ye, [
607
607
  k(d.$slots, "prefixIcon", {}, () => [
608
- e?.prefixIcon ? (l(), u(y, {
608
+ e?.prefixIcon ? (l(), u(h, {
609
609
  key: 0,
610
610
  name: e?.prefixIcon
611
611
  }, null, 8, ["name"])) : _("", !0)
@@ -613,13 +613,13 @@ const Te = {
613
613
  ])) : _("", !0)
614
614
  ]),
615
615
  removeIcon: g(() => [
616
- w(y, {
616
+ w(h, {
617
617
  name: e?.removeIcon || "close"
618
618
  }, null, 8, ["name"])
619
619
  ]),
620
620
  _: 2
621
621
  }, [
622
- S(d.$slots, (F, T) => ({
622
+ S(d.$slots, (V, T) => ({
623
623
  name: T,
624
624
  fn: g(() => [
625
625
  k(d.$slots, T)
@@ -628,7 +628,7 @@ const Te = {
628
628
  e?.clearIcon ? {
629
629
  name: "clearIcon",
630
630
  fn: g(() => [
631
- e?.clearIcon ? (l(), u(y, {
631
+ e?.clearIcon ? (l(), u(h, {
632
632
  key: 0,
633
633
  name: e?.clearIcon
634
634
  }, null, 8, ["name"])) : _("", !0)
@@ -638,7 +638,7 @@ const Te = {
638
638
  e?.menuItemSelectedIcon ? {
639
639
  name: "menuItemSelectedIcon",
640
640
  fn: g(() => [
641
- w(y, {
641
+ w(h, {
642
642
  name: e?.menuItemSelectedIcon
643
643
  }, null, 8, ["name"])
644
644
  ]),
@@ -647,7 +647,7 @@ const Te = {
647
647
  d.$slots.notFoundContent ? void 0 : {
648
648
  name: "notFoundContent",
649
649
  fn: g(() => [
650
- w(y, {
650
+ w(h, {
651
651
  size: "sm",
652
652
  name: "warning"
653
653
  }),
@@ -657,11 +657,11 @@ const Te = {
657
657
  },
658
658
  r(i) && n.value ? {
659
659
  name: "dropdownRender",
660
- fn: g(({ menuNode: F }) => [
661
- w(We, {
660
+ fn: g(({ menuNode: V }) => [
661
+ w(Je, {
662
662
  filter: a.value,
663
663
  "onUpdate:filter": C[0] || (C[0] = (T) => a.value = T),
664
- menu: F,
664
+ menu: V,
665
665
  onCloseDropdown: m
666
666
  }, null, 8, ["filter", "menu"])
667
667
  ]),
@@ -670,7 +670,7 @@ const Te = {
670
670
  ]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "mode", "list-height", "size", "open"]));
671
671
  }
672
672
  });
673
- const Xe = ["for"], Ze = {
673
+ const Qe = ["for"], Ze = {
674
674
  key: 1,
675
675
  class: "ak-input__wrapper"
676
676
  }, es = {
@@ -685,12 +685,12 @@ const Xe = ["for"], Ze = {
685
685
  }, ts = {
686
686
  name: "MaInput",
687
687
  inheritAttrs: !1
688
- }, as = /* @__PURE__ */ h({
688
+ }, as = /* @__PURE__ */ y({
689
689
  ...ts,
690
690
  props: {
691
691
  allowClear: { type: Boolean },
692
692
  type: { default: D.text },
693
- size: { default: W.small },
693
+ size: { default: J.small },
694
694
  title: null,
695
695
  hintText: null,
696
696
  hasError: { type: Boolean },
@@ -712,7 +712,7 @@ const Xe = ["for"], Ze = {
712
712
  "update:amountCurrency"
713
713
  ],
714
714
  setup(t, { emit: s }) {
715
- const e = t, o = V(null), a = c(() => [D.amount, D.creditCard].includes(e.type) ? "number" : e.type === D.userInfo ? "text" : e.type), n = c(() => [
715
+ const e = t, o = F(null), a = c(() => [D.amount, D.creditCard].includes(e.type) ? "number" : e.type === D.userInfo ? "text" : e.type), n = c(() => [
716
716
  `ma-input ak-input ak-input--${e.type} ak-input--${e.size}`,
717
717
  {
718
718
  "ak-input--has-error": e.hasError
@@ -753,9 +753,9 @@ const Xe = ["for"], Ze = {
753
753
  onClick: v,
754
754
  class: "ak-input__title",
755
755
  for: m.$attrs?.id
756
- }, I(e.title), 9, Xe)) : _("", !0),
756
+ }, I(e.title), 9, Qe)) : _("", !0),
757
757
  e.type !== "textarea" ? (l(), f("div", Ze, [
758
- (l(), u(q(r(B)), $({
758
+ (l(), u(E(r(B)), $({
759
759
  value: r(i),
760
760
  "onUpdate:value": d[1] || (d[1] = (C) => P(i) ? i.value = C : null)
761
761
  }, { ...m.$attrs, ...r(N) }, {
@@ -771,18 +771,18 @@ const Xe = ["for"], Ze = {
771
771
  ref: o
772
772
  }), M({
773
773
  prefix: g(() => [
774
- e.prefixIcon ? (l(), u(y, {
774
+ e.prefixIcon ? (l(), u(h, {
775
775
  key: 0,
776
776
  size: "xs",
777
777
  name: e.prefixIcon
778
- }, null, 8, ["name"])) : r(p) ? (l(), f("span", es, I(r(p)), 1)) : e.type === r(D).userInfo ? (l(), u(qe, {
778
+ }, null, 8, ["name"])) : r(p) ? (l(), f("span", es, I(r(p)), 1)) : e.type === r(D).userInfo ? (l(), u(Ee, {
779
779
  key: 2,
780
780
  src: e.avatarUrl,
781
781
  disabled: e.disabled
782
782
  }, null, 8, ["src", "disabled"])) : _("", !0)
783
783
  ]),
784
784
  suffix: g(() => [
785
- e.type === "amount" ? (l(), u(Qe, {
785
+ e.type === "amount" ? (l(), u(Xe, {
786
786
  key: 0,
787
787
  value: r(b),
788
788
  "onUpdate:value": d[0] || (d[0] = (C) => P(b) ? b.value = C : null),
@@ -792,7 +792,7 @@ const Xe = ["for"], Ze = {
792
792
  disabled: e.disabled,
793
793
  size: "small"
794
794
  }, null, 8, ["value", "options", "disabled"])) : _("", !0),
795
- e.suffixIcon ? (l(), u(y, {
795
+ e.suffixIcon ? (l(), u(h, {
796
796
  key: 1,
797
797
  size: "xs",
798
798
  name: e.suffixIcon
@@ -800,10 +800,10 @@ const Xe = ["for"], Ze = {
800
800
  ]),
801
801
  _: 2
802
802
  }, [
803
- S(m.$slots, (C, F) => ({
804
- name: F,
803
+ S(m.$slots, (C, V) => ({
804
+ name: V,
805
805
  fn: g(() => [
806
- k(m.$slots, F)
806
+ k(m.$slots, V)
807
807
  ])
808
808
  }))
809
809
  ]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter"]))
@@ -821,10 +821,10 @@ const Xe = ["for"], Ze = {
821
821
  ref_key: "inputRef",
822
822
  ref: o
823
823
  }), M({ _: 2 }, [
824
- S(m.$slots, (C, F) => ({
825
- name: F,
824
+ S(m.$slots, (C, V) => ({
825
+ name: V,
826
826
  fn: g(() => [
827
- k(m.$slots, F)
827
+ k(m.$slots, V)
828
828
  ])
829
829
  }))
830
830
  ]), 1040, ["value", "disabled", "placeholder"])
@@ -836,7 +836,7 @@ const Xe = ["for"], Ze = {
836
836
  });
837
837
  const ns = {
838
838
  name: "MaSelectOption"
839
- }, Us = /* @__PURE__ */ h({
839
+ }, Us = /* @__PURE__ */ y({
840
840
  ...ns,
841
841
  setup(t) {
842
842
  return (s, e) => (l(), u(r(ge), $(s.$attrs, {
@@ -853,7 +853,7 @@ const ns = {
853
853
  }
854
854
  }), is = {
855
855
  name: "MaCheckbox"
856
- }, Ls = /* @__PURE__ */ h({
856
+ }, Ls = /* @__PURE__ */ y({
857
857
  ...is,
858
858
  props: {
859
859
  hint: null,
@@ -889,7 +889,7 @@ const ns = {
889
889
  });
890
890
  const ls = {
891
891
  name: "MaCheckboxGroup"
892
- }, qs = /* @__PURE__ */ h({
892
+ }, Es = /* @__PURE__ */ y({
893
893
  ...ls,
894
894
  props: {
895
895
  hint: null,
@@ -913,7 +913,7 @@ const ls = {
913
913
  }))
914
914
  ]), 1040));
915
915
  }
916
- }), rs = ["value"], cs = /* @__PURE__ */ h({
916
+ }), rs = ["value"], cs = /* @__PURE__ */ y({
917
917
  __name: "singleNumericInput",
918
918
  props: {
919
919
  value: { default: "" },
@@ -921,7 +921,7 @@ const ls = {
921
921
  },
922
922
  emits: ["update:value"],
923
923
  setup(t, { emit: s }) {
924
- const e = t, o = V(null);
924
+ const e = t, o = F(null);
925
925
  U(
926
926
  () => e.focus,
927
927
  (n) => {
@@ -946,7 +946,7 @@ const ls = {
946
946
  }
947
947
  }), ps = {
948
948
  name: "MaNumericInput"
949
- }, Es = /* @__PURE__ */ h({
949
+ }, qs = /* @__PURE__ */ y({
950
950
  ...ps,
951
951
  props: {
952
952
  disabled: { type: Boolean },
@@ -958,7 +958,7 @@ const ls = {
958
958
  },
959
959
  emits: ["update:value"],
960
960
  setup(t, { emit: s }) {
961
- const e = t, o = V(null), a = V(Array.from({ length: e.length }, (v, m) => e.value[m] || null)), n = c(() => [
961
+ const e = t, o = F(null), a = F(Array.from({ length: e.length }, (v, m) => e.value[m] || null)), n = c(() => [
962
962
  "ma-numeric-input",
963
963
  `ma-numeric-input--${e.size}`,
964
964
  {
@@ -1023,7 +1023,7 @@ const ls = {
1023
1023
  });
1024
1024
  const gs = {
1025
1025
  name: "MaRadio"
1026
- }, us = /* @__PURE__ */ h({
1026
+ }, us = /* @__PURE__ */ y({
1027
1027
  ...gs,
1028
1028
  props: {
1029
1029
  type: { default: "button" },
@@ -1052,10 +1052,10 @@ const gs = {
1052
1052
  const ms = ["aria-checked", "disabled"], ds = ["src", "alt"], fs = { class: "ma-app-track-button__text" }, vs = { class: "ma-app-track-button__text__title" }, _s = {
1053
1053
  key: 0,
1054
1054
  class: "ma-app-track-button__text__category"
1055
- }, hs = { class: "ma-app-track-button__check" }, ys = {
1055
+ }, ys = { class: "ma-app-track-button__check" }, hs = {
1056
1056
  name: "MaAppTrackButton"
1057
- }, Hs = /* @__PURE__ */ h({
1058
- ...ys,
1057
+ }, Hs = /* @__PURE__ */ y({
1058
+ ...hs,
1059
1059
  props: {
1060
1060
  checked: { type: Boolean, default: !1 },
1061
1061
  appIcon: null,
@@ -1097,13 +1097,13 @@ const ms = ["aria-checked", "disabled"], ds = ["src", "alt"], fs = { class: "ma-
1097
1097
  x("span", vs, I(e.appName), 1),
1098
1098
  e.appCategory ? (l(), f("span", _s, I(e?.appCategory), 1)) : _("", !0)
1099
1099
  ]),
1100
- x("span", hs, [
1101
- w(E, {
1100
+ x("span", ys, [
1101
+ w(q, {
1102
1102
  name: "fade",
1103
1103
  mode: "out-in"
1104
1104
  }, {
1105
1105
  default: g(() => [
1106
- e.loading ? (l(), u(y, {
1106
+ e.loading ? (l(), u(h, {
1107
1107
  key: 0,
1108
1108
  name: "loader",
1109
1109
  size: "xs",
@@ -1112,7 +1112,7 @@ const ms = ["aria-checked", "disabled"], ds = ["src", "alt"], fs = { class: "ma-
1112
1112
  key: 1,
1113
1113
  checked: e.checked,
1114
1114
  type: "check"
1115
- }, null, 8, ["checked"])) : (l(), u(y, {
1115
+ }, null, 8, ["checked"])) : (l(), u(h, {
1116
1116
  key: 2,
1117
1117
  name: "add-circle",
1118
1118
  size: "xs"
@@ -1135,7 +1135,7 @@ const ks = { class: "ak-app-icon__logo" }, bs = ["src"], $s = {
1135
1135
  class: "ak-app-description"
1136
1136
  }, Is = {
1137
1137
  name: "MaAppIcon"
1138
- }, Gs = /* @__PURE__ */ h({
1138
+ }, Gs = /* @__PURE__ */ y({
1139
1139
  ...Is,
1140
1140
  props: {
1141
1141
  appIcon: null,
@@ -1166,7 +1166,7 @@ const ks = { class: "ak-app-icon__logo" }, bs = ["src"], $s = {
1166
1166
  onClick: n,
1167
1167
  class: "ak-app-icon-closable"
1168
1168
  }, [
1169
- w(y, {
1169
+ w(h, {
1170
1170
  size: "xs",
1171
1171
  name: "close-circle"
1172
1172
  })
@@ -1176,7 +1176,7 @@ const ks = { class: "ak-app-icon__logo" }, bs = ["src"], $s = {
1176
1176
  src: e.appIcon
1177
1177
  }, null, 8, bs),
1178
1178
  e?.platform ? (l(), f("span", $s, [
1179
- w(y, {
1179
+ w(h, {
1180
1180
  size: "xs",
1181
1181
  name: r(o)
1182
1182
  }, null, 8, ["name"])
@@ -1191,7 +1191,7 @@ const ks = { class: "ak-app-icon__logo" }, bs = ["src"], $s = {
1191
1191
  });
1192
1192
  const Bs = {
1193
1193
  name: "MaRadioGroup"
1194
- }, Ks = /* @__PURE__ */ h({
1194
+ }, Ks = /* @__PURE__ */ y({
1195
1195
  ...Bs,
1196
1196
  setup(t) {
1197
1197
  return (s, e) => (l(), u(r(fe), $(s.$attrs, { "prefix-cls": "antd-radio" }), M({ _: 2 }, [
@@ -1205,7 +1205,7 @@ const Bs = {
1205
1205
  }
1206
1206
  }), zs = {
1207
1207
  name: "MaBadge"
1208
- }, Ws = /* @__PURE__ */ h({
1208
+ }, Js = /* @__PURE__ */ y({
1209
1209
  ...zs,
1210
1210
  props: {
1211
1211
  type: { default: "primary" },
@@ -1227,7 +1227,7 @@ const Bs = {
1227
1227
  return (o, a) => (l(), f("div", {
1228
1228
  class: j(r(e))
1229
1229
  }, [
1230
- s?.icon ? (l(), u(y, {
1230
+ s?.icon ? (l(), u(h, {
1231
1231
  key: 0,
1232
1232
  name: s?.icon
1233
1233
  }, null, 8, ["name"])) : _("", !0),
@@ -1237,7 +1237,7 @@ const Bs = {
1237
1237
  });
1238
1238
  const Ss = {
1239
1239
  name: "MaAlert"
1240
- }, Js = /* @__PURE__ */ h({
1240
+ }, Ys = /* @__PURE__ */ y({
1241
1241
  ...Ss,
1242
1242
  props: {
1243
1243
  variant: { default: "dark" },
@@ -1258,13 +1258,13 @@ const Ss = {
1258
1258
  "prefix-cls": "antd-alert"
1259
1259
  }), {
1260
1260
  closeIcon: g(() => [
1261
- w(y, {
1261
+ w(h, {
1262
1262
  name: "close",
1263
1263
  size: "xs"
1264
1264
  })
1265
1265
  ]),
1266
1266
  icon: g(() => [
1267
- s?.icon ? (l(), u(y, {
1267
+ s?.icon ? (l(), u(h, {
1268
1268
  key: 0,
1269
1269
  name: t.icon,
1270
1270
  size: "lg"
@@ -1283,7 +1283,7 @@ const Ss = {
1283
1283
  });
1284
1284
  const Ms = {
1285
1285
  name: "MaAnimation"
1286
- }, Ys = /* @__PURE__ */ h({
1286
+ }, Ws = /* @__PURE__ */ y({
1287
1287
  ...Ms,
1288
1288
  props: {
1289
1289
  name: null,
@@ -1297,7 +1297,7 @@ const Ms = {
1297
1297
  setup(t, { expose: s, emit: e }) {
1298
1298
  const o = t;
1299
1299
  let a;
1300
- const n = V(null), i = V(null);
1300
+ const n = F(null), i = F(null);
1301
1301
  s({
1302
1302
  animation: i
1303
1303
  });
@@ -1332,15 +1332,15 @@ const Ms = {
1332
1332
  }, N = () => {
1333
1333
  i.value && i.value.destroy();
1334
1334
  };
1335
- return Y(async () => {
1335
+ return W(async () => {
1336
1336
  await b(), B();
1337
- }), Q(() => {
1337
+ }), X(() => {
1338
1338
  N();
1339
1339
  }), (z, A) => (l(), f("div", {
1340
1340
  ref_key: "animationRef",
1341
1341
  ref: n,
1342
1342
  class: "ma-animation",
1343
- style: X(r(p))
1343
+ style: Q(r(p))
1344
1344
  }, null, 4));
1345
1345
  }
1346
1346
  });
@@ -1366,31 +1366,31 @@ class Ns {
1366
1366
  }
1367
1367
  }
1368
1368
  const As = new Ns();
1369
- function Qs() {
1369
+ function Xs() {
1370
1370
  return se(As.getConfig());
1371
1371
  }
1372
1372
  export {
1373
1373
  As as ActionKitConfig,
1374
- Js as MaAlert,
1375
- Ys as MaAnimation,
1374
+ Ys as MaAlert,
1375
+ Ws as MaAnimation,
1376
1376
  Gs as MaAppIcon,
1377
1377
  Hs as MaAppTrackButton,
1378
- Ws as MaBadge,
1378
+ Js as MaBadge,
1379
1379
  ke as MaButton,
1380
1380
  Ls as MaCheckbox,
1381
- qs as MaCheckboxGroup,
1381
+ Es as MaCheckboxGroup,
1382
1382
  Os as MaForm,
1383
1383
  Ts as MaFormItem,
1384
- y as MaIcon,
1384
+ h as MaIcon,
1385
1385
  as as MaInput,
1386
- Es as MaNumericInput,
1386
+ qs as MaNumericInput,
1387
1387
  us as MaRadio,
1388
1388
  Ks as MaRadioGroup,
1389
- Qe as MaSelect,
1389
+ Xe as MaSelect,
1390
1390
  Us as MaSelectOption,
1391
1391
  Ps as MaSwitch,
1392
1392
  js as MaToggle,
1393
1393
  Rs as MaTooltip,
1394
1394
  Ds as MaTrackButton,
1395
- Qs as useActionKitConfig
1395
+ Xs as useActionKitConfig
1396
1396
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobileaction/action-kit",
3
- "version": "1.1.14",
3
+ "version": "1.1.132",
4
4
  "main": "dist/action-kit.js",
5
5
  "module": "dist/action-kit.mjs",
6
6
  "types": "dist/index.d.ts",