quail-ui 0.2.87 → 0.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -9,5 +9,5 @@ Minimum version required to store current data is: `+c+`.
|
|
|
9
9
|
|
|
10
10
|
`)}${d.value}`,host:window.location.host}),g.push($))}return g});function u(g,m){for(const $ in m)g=g.replace(`{${$}}`,m[$]);return g}function w(g){switch(g.name){case"mastodon":x();break;case"general":o.value=!0,r.value=decodeURIComponent(d.value),q.toDataURL(r.value,{width:400,margin:1},(m,$)=>{if(m){console.error(m);return}n.value=$});break;default:window.open(g.url,"_blank")}}function k(){n7(r.value),o.value=!1}function x(g){c.value=!0;const m=localStorage.getItem("quailui_global_mastodon_host")||"";l.value=m,setTimeout(()=>{var $,B;($=i.value)==null||$.focus(),(B=i.value)==null||B.select()},300)}function f(){const g=u(s.mastodon.url_template,{host:l.value,text:C.value,textWithUrl:`${C.value}${encodeURIComponent(`
|
|
11
11
|
|
|
12
|
-
`)}${d.value}`});localStorage.setItem("quailui_global_mastodon_host",l.value),window.open(g,"_blank"),c.value=!1}return(g,m)=>{const $=e.resolveComponent("q-icon-color-mastodon"),B=e.resolveComponent("q-icon-arrow-right"),M=e.resolveComponent("q-button"),y=e.resolveComponent("q-dialog"),I=e.resolveComponent("q-icon-copy");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-share",h.value])},[e.createVNode(y,{modelValue:c.value,"onUpdate:modelValue":m[1]||(m[1]=V=>c.value=V),title:"Share to Mastodon"},{default:e.withCtx(()=>[e.createElementVNode("div",G7,[e.createVNode($,{class:"service-icon"}),e.withDirectives(e.createElementVNode("input",{class:"text-field","onUpdate:modelValue":m[0]||(m[0]=V=>l.value=V),placeholder:"Instance Domain",ref_key:"mastodonHostInput",ref:i},null,512),[[e.vModelText,l.value]]),e.createVNode(M,{class:"primary icon ml-2",onClick:f},{default:e.withCtx(()=>[e.createVNode(B)]),_:1})])]),_:1},8,["modelValue"]),e.createVNode(y,{modelValue:o.value,"onUpdate:modelValue":m[2]||(m[2]=V=>o.value=V),title:"Share to ..."},{default:e.withCtx(()=>[e.createElementVNode("div",W7,[e.createElementVNode("div",Y7,[e.createElementVNode("img",{src:n.value,alt:"QR Code",class:"frame shadow"},null,8,K7)]),e.createElementVNode("div",v7,[e.createElementVNode("div",J7,[e.createVNode(M,{class:"outlined block",onClick:k},{default:e.withCtx(()=>[e.createVNode(I,{class:"icon"}),X7]),_:1})])])])]),_:1},8,["modelValue"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,V=>(e.openBlock(),e.createElementBlock("a",{key:`serv-${V.name}`,title:V.tooltip,class:e.normalizeClass(["q-share-link",V.name]),onClick:L=>w(V)},[e.createElementVNode("span",{class:e.normalizeClass(["q-share-link-inner",V.name])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V.icon),{class:"icon share-icon"}))],2)],10,er))),128))],2)}}}),Pi="",or=["src","alt"],j1="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgdmlld0JveD0iMCAwIDI1NiAyNTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHNjcmlwdCB4bWxucz0iIi8+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yMF8yKSI+CjxyZWN0IHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiBmaWxsPSIjRjJGMkYyIiBmaWxsLW9wYWNpdHk9IjAuNSIvPgo8Y2lyY2xlIGN4PSIxMjgiIGN5PSIxMjgiIHI9IjY0IiBmaWxsPSIjRDlEOUQ5IiBmaWxsLW9wYWNpdHk9IjAuNiIvPgo8Y2lyY2xlIGN4PSIxMjgiIGN5PSIyNzIiIHI9IjgwIiBmaWxsPSIjRDlEOUQ5IiBmaWxsLW9wYWNpdHk9IjAuNiIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzIwXzIiPgo8cmVjdCB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4=",nr=e.defineComponent({__name:"QAvatar",props:{src:{type:String,default:""},alt:{type:String,default:"An Avatar"},size:{type:Number,default:32},variant:{type:String,default:"circle"},borderType:{type:String,default:"none"},borderColor:{type:String,default:"#000"}},setup(t){const s=t,o=e.computed(()=>s.src||j1),r=e.computed(()=>{const l=[];return s.variant==="circle"?l.push("circle"):s.variant==="rounded"?l.push("rounded"):s.variant==="square"&&l.push("square"),s.borderType==="solid"?l.push("border-solid"):s.borderType==="hollow"&&l.push("border-hollow"),l.join(" ")}),n=e.computed(()=>{const l={width:`${s.size}px`,height:`${s.size}px`,"max-width":`${s.size}px`,"max-height":`${s.size}px`};return s.borderType==="hollow"&&(l["border-color"]=s.borderColor),l});function c(l){const i=l.target;i.src=j1}return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-avatar",r.value]),style:e.normalizeStyle(n.value)},[s.src===""?e.renderSlot(l.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock("img",{key:1,src:o.value,alt:t.alt,onError:c},null,40,or))],6))}}),qi="",sr={class:"q-dropdown-menu-with-text-field"},rr={class:"q-dropdown-menu-with-text-field-top"},cr={class:"q-dropdown-menu-wrapper"},ir={class:"q-text-field-wrapper"},lr=["placeholder"],ar={key:0,class:"q-dropdown-menu-with-text-field-bottom"},dr=["textContent"],hr={class:"text-xs text-hint"},_r=["textContent"],Cr=e.defineComponent({__name:"QDropdownMenuWithTextField",props:{items:{type:Array,required:!0},placeholder:{default:"Type here"},defaultSelection:{type:Object},defaultText:{default:""},fillActionLabel:{default:""},fillActionValue:{default:""},hintText:{default:""},textDisabled:{default:!1},selectDisabled:{default:!1}},emits:["change"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText),c=e.ref(o.defaultSelection),l=e.ref(null),i=e.computed(()=>o.fillActionLabel!==""||o.hintText!=="");function a(p){c.value=p,d()}function h(){d()}function d(){const p={selected:c.value,text:n.value};r("change",p)}function C(){n.value=o.fillActionValue,d()}return e.onMounted(()=>{X(()=>{c.value=o.defaultSelection,n.value=o.defaultText,(c.value===null||c.value===void 0)&&(c.value=o.items[0]),l.value.addEventListener("focus",()=>{l.value.select()})},300)()}),(p,u)=>{const w=e.resolveComponent("q-dropdown-menu");return e.openBlock(),e.createElementBlock("div",sr,[e.createElementVNode("div",rr,[e.createElementVNode("div",cr,[e.createVNode(w,{items:t.items,"initial-item":c.value,"use-dialog":"always","use-filter":"","scroll-height":"400px",variant:"plain",onChange:a},null,8,["items","initial-item"])]),e.createElementVNode("div",ir,[e.withDirectives(e.createElementVNode("input",{ref_key:"textField",ref:l,class:"q-text-field text-field",placeholder:o.placeholder,"onUpdate:modelValue":u[0]||(u[0]=k=>n.value=k),onChange:h},null,40,lr),[[e.vModelText,n.value]])])]),i.value?(e.openBlock(),e.createElementBlock("div",ar,[e.createElementVNode("div",{class:"fill-action text-xs plain flex",onClick:C},[e.createElementVNode("span",{textContent:e.toDisplayString(o.fillActionLabel)},null,8,dr),e.createVNode(u1,{class:"icon"})]),e.createElementVNode("div",hr,[e.createElementVNode("span",{textContent:e.toDisplayString(o.hintText)},null,8,_r)])])):e.createCommentVNode("",!0)])}}}),ji="",pr=_(Cr,[["__scopeId","data-v-abade42e"]]),ur=t=>(e.pushScopeId("data-v-239de42a"),t=t(),e.popScopeId(),t),fr=["disabled"],mr={key:0,class:"ocean"},gr=[ur(()=>e.createElementVNode("div",{class:"wave"},null,-1))],$r=e.defineComponent({__name:"QButton",props:{class:{type:String,default:"primary"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(t){const s=t,o=e.computed(()=>{const n=["q-button touchable"];return n.push(s.class),s.loading&&n.push("loading"),n.join(" ")}),r=e.computed(()=>!s.disabled);return(n,c)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(o.value),disabled:!r.value},[s.loading?(e.openBlock(),e.createElementBlock("div",mr,gr)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],10,fr))}}),Ui="",wr=_($r,[["__scopeId","data-v-239de42a"]]),kr={class:"q-tabs"},Br={class:"q-tab-button-label"},xr=e.defineComponent({__name:"QTabs",props:{modelValue:Object,tabs:{type:Array,required:!0},initialIndex:{type:Number,default:0}},emits:["change","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.tabs[o.initialIndex]),c=e.ref(o.initialIndex);e.watch(()=>o.modelValue,a=>{c.value=o.tabs.findIndex(h=>h.id===a.id),n.value=a||o.tabs[0]});function l(a,h){c.value=a,n.value=h,r("change",{index:a,tab:h}),r("update:modelValue",h)}function i(a,h){const d=[];return c.value===h?d.push("selected outlined"):d.push("plain"),a.icon&&d.push("with-icon"),a.title&&d.push("with-label"),d.join(" ")}return(a,h)=>{const d=e.resolveComponent("QButton");return e.openBlock(),e.createElementBlock("div",kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabs,(C,p)=>(e.openBlock(),e.createBlock(d,{class:e.normalizeClass(["q-tab-button sm",i(C,p)]),key:`tab-button-${p}`,onClick:u=>l(p,C)},{default:e.withCtx(()=>[C.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.icon),{key:0,class:"q-tab-button-icon"})):e.createCommentVNode("",!0),e.createElementVNode("div",Br,e.toDisplayString(C.title),1)]),_:2},1032,["class","onClick"]))),128))])}}}),Fi="",Mr=_(xr,[["__scopeId","data-v-c10a45b7"]]),yr={class:"q-input-prepend-out"},Vr={class:"q-text-field-wrapper"},Er={class:"q-text-field-inner"},Ir={class:"q-input-prepend"},Lr=["placeholder","disabled"],Nr={class:"q-input-append"},br={key:0,class:"q-text-field-hint"},Qr={class:"q-text-field-hint-left"},Sr={key:1,class:"q-text-field-hint-text"},Hr={key:0,class:"q-text-field-counter text-xs"},Dr={class:"q-input-append-out"},Ar=e.defineComponent({__name:"QInput",props:{modelValue:{type:String,default:""},placeholder:{default:"Type here"},defaultText:{default:""},disabled:{default:!1},hintIcon:{type:Object,default:null},hintText:{default:""},error:{default:!1},max:{type:Number,default:-1}},emits:["change","blur","focus","keyup","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText),c=e.ref(null);e.watch(()=>o.modelValue,u=>{n.value=u});const l=e.computed(()=>o.max===-1?!1:n.value.length>o.max),i=e.computed(()=>o.hintIcon||o.hintText||o.max!==-1||o.error),a=e.computed(()=>{const u=[];return o.disabled&&u.push("disabled"),o.error&&u.push("error"),l.value&&u.push("exceed"),n.value===""&&u.push("empty"),u.join(" ")});function h(u){p(),r("keyup",u)}function d(){p(),r("change",n.value)}function C(){n.value="",p(),c.value.focus(),r("change",n.value)}function p(){r("update:modelValue",n.value)}return e.onMounted(()=>{}),(u,w)=>{const k=e.resolveComponent("QIconEditorDelete"),x=e.resolveComponent("QButton");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-input",a.value])},[e.createElementVNode("div",yr,[e.renderSlot(u.$slots,"prepend-out",{},void 0,!0)]),e.createElementVNode("div",Vr,[e.createElementVNode("div",Er,[e.createElementVNode("div",Ir,[e.renderSlot(u.$slots,"prepend",{},void 0,!0)]),e.withDirectives(e.createElementVNode("input",{ref_key:"textField",ref:c,class:"q-text-field text-field",placeholder:o.placeholder,disabled:o.disabled,"onUpdate:modelValue":w[0]||(w[0]=f=>n.value=f),onChange:d,onKeyup:h,onFocus:w[1]||(w[1]=()=>r("focus")),onBlur:w[2]||(w[2]=()=>r("blur"))},null,40,Lr),[[e.vModelText,n.value]]),e.createVNode(x,{class:"clear-btn plain icon",onClick:C},{default:e.withCtx(()=>[e.createVNode(k,{class:"icon"})]),_:1}),e.createElementVNode("div",Nr,[e.renderSlot(u.$slots,"append",{},void 0,!0)])]),i.value?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("div",Qr,[t.hintIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.hintIcon),{key:0,class:"q-text-field-hint-icon"})):e.createCommentVNode("",!0),t.hintText?(e.openBlock(),e.createElementBlock("div",Sr,e.toDisplayString(t.hintText),1)):e.createCommentVNode("",!0)]),t.max!==-1?(e.openBlock(),e.createElementBlock("div",Hr,e.toDisplayString(n.value.length)+" / "+e.toDisplayString(t.max),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Dr,[e.renderSlot(u.$slots,"append-out",{},void 0,!0)])],2)}}}),zi="",Tr=_(Ar,[["__scopeId","data-v-03ef419e"]]),Pr={class:"q-search-input"},qr={key:0,class:"result"},jr=e.defineComponent({__name:"QSearchInput",props:{modelValue:{type:String,default:""},placeholder:{default:"Type here"},defaultText:{default:""},disabled:{default:!1},items:{type:Array,default:()=>[]}},emits:["change","blur","focus","keyup","select","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText),c=e.ref(!1);e.watch(()=>o.modelValue,d=>{n.value=d}),e.watch(()=>n.value,d=>{n.value===""&&(c.value=!1)}),e.watch(()=>o.items,d=>{c.value=d.length>0&&n.value!==""});const l=e.computed(()=>o.items.map(d=>({title:d.title,subtitle:d.subtitle,action:()=>{r("select",d),c.value=!1}})));function i(d){h(),r("keyup",d)}function a(){h(),r("change",n.value)}function h(){r("update:modelValue",n.value)}return e.onMounted(()=>{}),(d,C)=>{const p=e.resolveComponent("QInput"),u=e.resolveComponent("QMenu");return e.openBlock(),e.createElementBlock("div",Pr,[e.createVNode(p,{modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=w=>n.value=w),type:"text",placeholder:t.placeholder,disabled:t.disabled,onKeyup:i,onChange:a},null,8,["modelValue","placeholder","disabled"]),t.items&&c.value?(e.openBlock(),e.createElementBlock("div",qr,[e.createVNode(u,{items:l.value},null,8,["items"])])):e.createCommentVNode("",!0)])}}}),Ri="",Zr=_(jr,[["__scopeId","data-v-2bc84f25"]]),Ur=e.defineComponent({__name:"QToggleButton",props:{modelValue:{type:Boolean,default:!1},class:{type:String,default:"outlined"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.modelValue);e.watch(()=>o.modelValue,i=>{n.value=i});const c=e.computed(()=>{const i=["q-button touchable outlined"];return i.push(o.class),o.loading&&i.push("loading"),n.value?i.push("toggle-on"):i.push("toggle-off"),i.join(" ")});function l(){n.value=!n.value,r("update:modelValue",n.value)}return(i,a)=>{const h=e.resolveComponent("QButton");return e.openBlock(),e.createBlock(h,{class:e.normalizeClass(c.value),disabled:t.disabled,loading:t.loading,onClick:l},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class","disabled","loading"])}}}),Fr=["rows","placeholder","disabled"],zr={key:0,class:"q-textarea-hint"},Rr={class:"q-textarea-hint-left"},Or={key:1,class:"q-textarea-hint-text text-xs"},Gr={key:0,class:"q-textarea-counter text-xs"},Wr=e.defineComponent({__name:"QTextarea",props:{modelValue:{type:String,default:""},placeholder:{default:"Type here"},defaultText:{default:""},hintIcon:{type:Object,default:null},hintText:{default:""},disabled:{default:!1},rows:{type:Number,default:5},error:{default:!1},max:{type:Number,default:-1}},emits:["change","blur","focus","keyup","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText);e.watch(()=>o.modelValue,C=>{n.value=C});const c=e.computed(()=>o.max===-1?!1:n.value.length>o.max),l=e.computed(()=>o.hintIcon||o.hintText||o.max!==-1),i=e.computed(()=>{const C=[];return o.disabled&&C.push("disabled"),o.error&&C.push("error"),c.value&&C.push("exceed"),C.join(" ")});function a(C){d(),r("keyup",C)}function h(){d(),r("change",n.value)}function d(){r("update:modelValue",n.value)}return e.onMounted(()=>{}),(C,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-textarea",i.value])},[e.withDirectives(e.createElementVNode("textarea",{class:"textarea","onUpdate:modelValue":p[0]||(p[0]=u=>n.value=u),onChange:h,onKeyup:a,rows:t.rows,placeholder:o.placeholder,disabled:t.disabled},null,40,Fr),[[e.vModelText,n.value]]),l.value?(e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("div",Rr,[t.hintIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.hintIcon),{key:0,class:"q-textarea-hint-icon"})):e.createCommentVNode("",!0),t.hintText?(e.openBlock(),e.createElementBlock("div",Or,e.toDisplayString(t.hintText),1)):e.createCommentVNode("",!0)]),t.max!==-1?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.value.length)+" / "+e.toDisplayString(t.max),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))}}),Oi="",Yr=_(Wr,[["__scopeId","data-v-1288a75e"]]),Kr=e.defineComponent({__name:"QCurrencySelector",props:{currency:{type:String,default:"USD"}},emits:["change"],setup(t,{emit:s}){const o=s,r=t,n=e.ref(null),c=e.computed(()=>{let i=[{title:"US Dollar",value:"USD",action:l},{title:"人民币",value:"CNY",action:l},{title:"新台幣",value:"TWD",action:l},{title:"日本円",value:"JPY",action:l}];return i=i.map(a=>({...a,title:a.title})),i});function l(i){o("change",{title:i.title,value:i.value})}return e.watch(()=>r.currency,i=>{n.value=c.value.find(a=>i===a.value)}),e.onMounted(()=>{n.value=c.value.find(i=>r.currency===i.value)||c.value[0]}),(i,a)=>{const h=e.resolveComponent("QDropdownMenu");return e.openBlock(),e.createBlock(h,{items:c.value,"initial-item":n.value},null,8,["items","initial-item"])}}}),vr=t=>(e.pushScopeId("data-v-cbda2524"),t=t(),e.popScopeId(),t),Jr={class:"q-payment-apparoch-item"},Xr={class:"approach-inner"},e8={class:"approach-icons"},t8=["textContent"],o8=vr(()=>e.createElementVNode("div",{class:"spacer"},null,-1)),n8=["textContent"],s8=e.defineComponent({__name:"QPaymentApproachItem",props:{name:{type:String,required:!0},desc:{type:String,default:""},icons:{type:Array,default:()=>[]},symbol:{type:String,default:""},disabled:{type:Boolean,default:!1}},setup(t){const s=t;return(o,r)=>(e.openBlock(),e.createElementBlock("div",Jr,[e.createElementVNode("div",Xr,[e.createElementVNode("div",e8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.icons,n=>(e.openBlock(),e.createElementBlock("div",{key:`icon-${n}`,class:e.normalizeClass(["icon",`icon-${n}`])},null,2))),128))]),e.createElementVNode("div",{class:"approach-desc",textContent:e.toDisplayString(s.desc)},null,8,t8)]),o8,e.renderSlot(o.$slots,"default",{},void 0,!0),e.createElementVNode("div",{class:"quote-currency text-sm font-bold",textContent:e.toDisplayString(t.symbol)},null,8,n8)]))}}),Gi="",r8=_(s8,[["__scopeId","data-v-cbda2524"]]),c8={class:"q-payment-approach-select"},i8=["onClick"],l8=e.defineComponent({__name:"QPaymentApproachSelect",props:{channels:{type:Array,required:!0,default:()=>[]}},emits:["select"],setup(t,{emit:s}){const o=t,r=e.ref(o.channels),n=s;function c(i){const a=[i.selected?"selected":""];return i.disabled&&a.push("disabled"),a.join(" ")}function l(i){if(i.disabled)return;const a=r.value.findIndex(h=>h.name===i.name);a!==-1&&(r.value.forEach(h=>{h.selected=!1}),r.value[a].selected=!0,n("select",{name:i.name}))}return(i,a)=>{const h=e.resolveComponent("QPaymentApproachItem");return e.openBlock(),e.createElementBlock("div",c8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,d=>(e.openBlock(),e.createElementBlock("div",{key:`app-${d.name}`,class:e.normalizeClass(["q-payment-approach-item-wrapper mb-1",c(d)]),onClick:C=>l(d)},[e.createVNode(h,{name:d.name,icons:d.icons,symbol:d.symbol,desc:d.desc,disabled:d.disabled},null,8,["name","icons","symbol","desc","disabled"])],10,i8))),128))])}}}),Wi="",Z1=Object.freeze(Object.defineProperty({__proto__:null,QAvatar:nr,QButton:wr,QCurrencySelector:Kr,QDatetimePicker:F3,QDialog:Y3,QDropdownMenu:js,QDropdownMenuWithTextField:pr,QFence:is,QInput:Tr,QLanguageSelector:Ys,QLoading:_s,QMenu:ws,QMessageDialog:os,QPackCover:o7,QPagination:Rs,QPaymentApproachItem:r8,QPaymentApproachSelect:_(l8,[["__scopeId","data-v-2ae8ca3a"]]),QProgress:Ws,QSearchInput:Zr,QShare:tr,QSwitch:Ms,QTabs:Mr,QTextFieldWithButton:Ls,QTextarea:Yr,QToggleButton:Ur},Symbol.toStringTag,{value:"Module"})),Ki="",U1={install(t,s){s!=null&&s.debug&&console.log("options",s);for(const[o,r]of Object.entries(g1))s!=null&&s.debug&&console.log("[quail-ui] register icon component",o,r),t.component(o,r);for(const[o,r]of Object.entries(Z1))s!=null&&s.debug&&console.log("[quail-ui] register common component",o,r),t.component(o,r);document.body.addEventListener("click",o=>{$1()})}};N.Common=Z1,N.Icons=g1,N.QuailUI=U1,N.default=U1,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
12
|
+
`)}${d.value}`});localStorage.setItem("quailui_global_mastodon_host",l.value),window.open(g,"_blank"),c.value=!1}return(g,m)=>{const $=e.resolveComponent("q-icon-color-mastodon"),B=e.resolveComponent("q-icon-arrow-right"),M=e.resolveComponent("q-button"),y=e.resolveComponent("q-dialog"),I=e.resolveComponent("q-icon-copy");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-share",h.value])},[e.createVNode(y,{modelValue:c.value,"onUpdate:modelValue":m[1]||(m[1]=V=>c.value=V),title:"Share to Mastodon"},{default:e.withCtx(()=>[e.createElementVNode("div",G7,[e.createVNode($,{class:"service-icon"}),e.withDirectives(e.createElementVNode("input",{class:"text-field","onUpdate:modelValue":m[0]||(m[0]=V=>l.value=V),placeholder:"Instance Domain",ref_key:"mastodonHostInput",ref:i},null,512),[[e.vModelText,l.value]]),e.createVNode(M,{class:"primary icon ml-2",onClick:f},{default:e.withCtx(()=>[e.createVNode(B)]),_:1})])]),_:1},8,["modelValue"]),e.createVNode(y,{modelValue:o.value,"onUpdate:modelValue":m[2]||(m[2]=V=>o.value=V),title:"Share to ..."},{default:e.withCtx(()=>[e.createElementVNode("div",W7,[e.createElementVNode("div",Y7,[e.createElementVNode("img",{src:n.value,alt:"QR Code",class:"frame shadow"},null,8,K7)]),e.createElementVNode("div",v7,[e.createElementVNode("div",J7,[e.createVNode(M,{class:"outlined block",onClick:k},{default:e.withCtx(()=>[e.createVNode(I,{class:"icon"}),X7]),_:1})])])])]),_:1},8,["modelValue"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,V=>(e.openBlock(),e.createElementBlock("a",{key:`serv-${V.name}`,title:V.tooltip,class:e.normalizeClass(["q-share-link",V.name]),onClick:L=>w(V)},[e.createElementVNode("span",{class:e.normalizeClass(["q-share-link-inner",V.name])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V.icon),{class:"icon share-icon"}))],2)],10,er))),128))],2)}}}),Pi="",or=["src","alt"],j1="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgdmlld0JveD0iMCAwIDI1NiAyNTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHNjcmlwdCB4bWxucz0iIi8+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yMF8yKSI+CjxyZWN0IHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiBmaWxsPSIjRjJGMkYyIiBmaWxsLW9wYWNpdHk9IjAuNSIvPgo8Y2lyY2xlIGN4PSIxMjgiIGN5PSIxMjgiIHI9IjY0IiBmaWxsPSIjRDlEOUQ5IiBmaWxsLW9wYWNpdHk9IjAuNiIvPgo8Y2lyY2xlIGN4PSIxMjgiIGN5PSIyNzIiIHI9IjgwIiBmaWxsPSIjRDlEOUQ5IiBmaWxsLW9wYWNpdHk9IjAuNiIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzIwXzIiPgo8cmVjdCB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4=",nr=e.defineComponent({__name:"QAvatar",props:{src:{type:String,default:""},alt:{type:String,default:"An Avatar"},size:{type:Number,default:32},variant:{type:String,default:"circle"},borderType:{type:String,default:"none"},borderColor:{type:String,default:"#000"}},setup(t){const s=t,o=e.computed(()=>s.src||j1),r=e.computed(()=>{const l=[];return s.variant==="circle"?l.push("circle"):s.variant==="rounded"?l.push("rounded"):s.variant==="square"&&l.push("square"),s.borderType==="solid"?l.push("border-solid"):s.borderType==="hollow"&&l.push("border-hollow"),l.join(" ")}),n=e.computed(()=>{const l={width:`${s.size}px`,height:`${s.size}px`,"max-width":`${s.size}px`,"max-height":`${s.size}px`};return s.borderType==="hollow"&&(l["border-color"]=s.borderColor),l});function c(l){const i=l.target;i.src=j1}return(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-avatar",r.value]),style:e.normalizeStyle(n.value)},[s.src===""&&l.$slots.default?e.renderSlot(l.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock("img",{key:1,src:o.value,alt:t.alt,onError:c},null,40,or))],6))}}),qi="",sr={class:"q-dropdown-menu-with-text-field"},rr={class:"q-dropdown-menu-with-text-field-top"},cr={class:"q-dropdown-menu-wrapper"},ir={class:"q-text-field-wrapper"},lr=["placeholder"],ar={key:0,class:"q-dropdown-menu-with-text-field-bottom"},dr=["textContent"],hr={class:"text-xs text-hint"},_r=["textContent"],Cr=e.defineComponent({__name:"QDropdownMenuWithTextField",props:{items:{type:Array,required:!0},placeholder:{default:"Type here"},defaultSelection:{type:Object},defaultText:{default:""},fillActionLabel:{default:""},fillActionValue:{default:""},hintText:{default:""},textDisabled:{default:!1},selectDisabled:{default:!1}},emits:["change"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText),c=e.ref(o.defaultSelection),l=e.ref(null),i=e.computed(()=>o.fillActionLabel!==""||o.hintText!=="");function a(p){c.value=p,d()}function h(){d()}function d(){const p={selected:c.value,text:n.value};r("change",p)}function C(){n.value=o.fillActionValue,d()}return e.onMounted(()=>{X(()=>{c.value=o.defaultSelection,n.value=o.defaultText,(c.value===null||c.value===void 0)&&(c.value=o.items[0]),l.value.addEventListener("focus",()=>{l.value.select()})},300)()}),(p,u)=>{const w=e.resolveComponent("q-dropdown-menu");return e.openBlock(),e.createElementBlock("div",sr,[e.createElementVNode("div",rr,[e.createElementVNode("div",cr,[e.createVNode(w,{items:t.items,"initial-item":c.value,"use-dialog":"always","use-filter":"","scroll-height":"400px",variant:"plain",onChange:a},null,8,["items","initial-item"])]),e.createElementVNode("div",ir,[e.withDirectives(e.createElementVNode("input",{ref_key:"textField",ref:l,class:"q-text-field text-field",placeholder:o.placeholder,"onUpdate:modelValue":u[0]||(u[0]=k=>n.value=k),onChange:h},null,40,lr),[[e.vModelText,n.value]])])]),i.value?(e.openBlock(),e.createElementBlock("div",ar,[e.createElementVNode("div",{class:"fill-action text-xs plain flex",onClick:C},[e.createElementVNode("span",{textContent:e.toDisplayString(o.fillActionLabel)},null,8,dr),e.createVNode(u1,{class:"icon"})]),e.createElementVNode("div",hr,[e.createElementVNode("span",{textContent:e.toDisplayString(o.hintText)},null,8,_r)])])):e.createCommentVNode("",!0)])}}}),ji="",pr=_(Cr,[["__scopeId","data-v-abade42e"]]),ur=t=>(e.pushScopeId("data-v-239de42a"),t=t(),e.popScopeId(),t),fr=["disabled"],mr={key:0,class:"ocean"},gr=[ur(()=>e.createElementVNode("div",{class:"wave"},null,-1))],$r=e.defineComponent({__name:"QButton",props:{class:{type:String,default:"primary"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(t){const s=t,o=e.computed(()=>{const n=["q-button touchable"];return n.push(s.class),s.loading&&n.push("loading"),n.join(" ")}),r=e.computed(()=>!s.disabled);return(n,c)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(o.value),disabled:!r.value},[s.loading?(e.openBlock(),e.createElementBlock("div",mr,gr)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],10,fr))}}),Ui="",wr=_($r,[["__scopeId","data-v-239de42a"]]),kr={class:"q-tabs"},Br={class:"q-tab-button-label"},xr=e.defineComponent({__name:"QTabs",props:{modelValue:Object,tabs:{type:Array,required:!0},initialIndex:{type:Number,default:0}},emits:["change","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.tabs[o.initialIndex]),c=e.ref(o.initialIndex);e.watch(()=>o.modelValue,a=>{c.value=o.tabs.findIndex(h=>h.id===a.id),n.value=a||o.tabs[0]});function l(a,h){c.value=a,n.value=h,r("change",{index:a,tab:h}),r("update:modelValue",h)}function i(a,h){const d=[];return c.value===h?d.push("selected outlined"):d.push("plain"),a.icon&&d.push("with-icon"),a.title&&d.push("with-label"),d.join(" ")}return(a,h)=>{const d=e.resolveComponent("QButton");return e.openBlock(),e.createElementBlock("div",kr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabs,(C,p)=>(e.openBlock(),e.createBlock(d,{class:e.normalizeClass(["q-tab-button sm",i(C,p)]),key:`tab-button-${p}`,onClick:u=>l(p,C)},{default:e.withCtx(()=>[C.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.icon),{key:0,class:"q-tab-button-icon"})):e.createCommentVNode("",!0),e.createElementVNode("div",Br,e.toDisplayString(C.title),1)]),_:2},1032,["class","onClick"]))),128))])}}}),Fi="",Mr=_(xr,[["__scopeId","data-v-c10a45b7"]]),yr={class:"q-input-prepend-out"},Vr={class:"q-text-field-wrapper"},Er={class:"q-text-field-inner"},Ir={class:"q-input-prepend"},Lr=["placeholder","disabled"],Nr={class:"q-input-append"},br={key:0,class:"q-text-field-hint"},Qr={class:"q-text-field-hint-left"},Sr={key:1,class:"q-text-field-hint-text"},Hr={key:0,class:"q-text-field-counter text-xs"},Dr={class:"q-input-append-out"},Ar=e.defineComponent({__name:"QInput",props:{modelValue:{type:String,default:""},placeholder:{default:"Type here"},defaultText:{default:""},disabled:{default:!1},hintIcon:{type:Object,default:null},hintText:{default:""},error:{default:!1},max:{type:Number,default:-1}},emits:["change","blur","focus","keyup","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText),c=e.ref(null);e.watch(()=>o.modelValue,u=>{n.value=u});const l=e.computed(()=>o.max===-1?!1:n.value.length>o.max),i=e.computed(()=>o.hintIcon||o.hintText||o.max!==-1||o.error),a=e.computed(()=>{const u=[];return o.disabled&&u.push("disabled"),o.error&&u.push("error"),l.value&&u.push("exceed"),n.value===""&&u.push("empty"),u.join(" ")});function h(u){p(),r("keyup",u)}function d(){p(),r("change",n.value)}function C(){n.value="",p(),c.value.focus(),r("change",n.value)}function p(){r("update:modelValue",n.value)}return e.onMounted(()=>{}),(u,w)=>{const k=e.resolveComponent("QIconEditorDelete"),x=e.resolveComponent("QButton");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-input",a.value])},[e.createElementVNode("div",yr,[e.renderSlot(u.$slots,"prepend-out",{},void 0,!0)]),e.createElementVNode("div",Vr,[e.createElementVNode("div",Er,[e.createElementVNode("div",Ir,[e.renderSlot(u.$slots,"prepend",{},void 0,!0)]),e.withDirectives(e.createElementVNode("input",{ref_key:"textField",ref:c,class:"q-text-field text-field",placeholder:o.placeholder,disabled:o.disabled,"onUpdate:modelValue":w[0]||(w[0]=f=>n.value=f),onChange:d,onKeyup:h,onFocus:w[1]||(w[1]=()=>r("focus")),onBlur:w[2]||(w[2]=()=>r("blur"))},null,40,Lr),[[e.vModelText,n.value]]),e.createVNode(x,{class:"clear-btn plain icon",onClick:C},{default:e.withCtx(()=>[e.createVNode(k,{class:"icon"})]),_:1}),e.createElementVNode("div",Nr,[e.renderSlot(u.$slots,"append",{},void 0,!0)])]),i.value?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("div",Qr,[t.hintIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.hintIcon),{key:0,class:"q-text-field-hint-icon"})):e.createCommentVNode("",!0),t.hintText?(e.openBlock(),e.createElementBlock("div",Sr,e.toDisplayString(t.hintText),1)):e.createCommentVNode("",!0)]),t.max!==-1?(e.openBlock(),e.createElementBlock("div",Hr,e.toDisplayString(n.value.length)+" / "+e.toDisplayString(t.max),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Dr,[e.renderSlot(u.$slots,"append-out",{},void 0,!0)])],2)}}}),zi="",Tr=_(Ar,[["__scopeId","data-v-03ef419e"]]),Pr={class:"q-search-input"},qr={key:0,class:"result"},jr=e.defineComponent({__name:"QSearchInput",props:{modelValue:{type:String,default:""},placeholder:{default:"Type here"},defaultText:{default:""},disabled:{default:!1},items:{type:Array,default:()=>[]}},emits:["change","blur","focus","keyup","select","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText),c=e.ref(!1);e.watch(()=>o.modelValue,d=>{n.value=d}),e.watch(()=>n.value,d=>{n.value===""&&(c.value=!1)}),e.watch(()=>o.items,d=>{c.value=d.length>0&&n.value!==""});const l=e.computed(()=>o.items.map(d=>({title:d.title,subtitle:d.subtitle,action:()=>{r("select",d),c.value=!1}})));function i(d){h(),r("keyup",d)}function a(){h(),r("change",n.value)}function h(){r("update:modelValue",n.value)}return e.onMounted(()=>{}),(d,C)=>{const p=e.resolveComponent("QInput"),u=e.resolveComponent("QMenu");return e.openBlock(),e.createElementBlock("div",Pr,[e.createVNode(p,{modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=w=>n.value=w),type:"text",placeholder:t.placeholder,disabled:t.disabled,onKeyup:i,onChange:a},null,8,["modelValue","placeholder","disabled"]),t.items&&c.value?(e.openBlock(),e.createElementBlock("div",qr,[e.createVNode(u,{items:l.value},null,8,["items"])])):e.createCommentVNode("",!0)])}}}),Ri="",Zr=_(jr,[["__scopeId","data-v-2bc84f25"]]),Ur=e.defineComponent({__name:"QToggleButton",props:{modelValue:{type:Boolean,default:!1},class:{type:String,default:"outlined"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.modelValue);e.watch(()=>o.modelValue,i=>{n.value=i});const c=e.computed(()=>{const i=["q-button touchable outlined"];return i.push(o.class),o.loading&&i.push("loading"),n.value?i.push("toggle-on"):i.push("toggle-off"),i.join(" ")});function l(){n.value=!n.value,r("update:modelValue",n.value)}return(i,a)=>{const h=e.resolveComponent("QButton");return e.openBlock(),e.createBlock(h,{class:e.normalizeClass(c.value),disabled:t.disabled,loading:t.loading,onClick:l},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class","disabled","loading"])}}}),Fr=["rows","placeholder","disabled"],zr={key:0,class:"q-textarea-hint"},Rr={class:"q-textarea-hint-left"},Or={key:1,class:"q-textarea-hint-text text-xs"},Gr={key:0,class:"q-textarea-counter text-xs"},Wr=e.defineComponent({__name:"QTextarea",props:{modelValue:{type:String,default:""},placeholder:{default:"Type here"},defaultText:{default:""},hintIcon:{type:Object,default:null},hintText:{default:""},disabled:{default:!1},rows:{type:Number,default:5},error:{default:!1},max:{type:Number,default:-1}},emits:["change","blur","focus","keyup","update:modelValue"],setup(t,{emit:s}){const o=t,r=s,n=e.ref(o.defaultText);e.watch(()=>o.modelValue,C=>{n.value=C});const c=e.computed(()=>o.max===-1?!1:n.value.length>o.max),l=e.computed(()=>o.hintIcon||o.hintText||o.max!==-1),i=e.computed(()=>{const C=[];return o.disabled&&C.push("disabled"),o.error&&C.push("error"),c.value&&C.push("exceed"),C.join(" ")});function a(C){d(),r("keyup",C)}function h(){d(),r("change",n.value)}function d(){r("update:modelValue",n.value)}return e.onMounted(()=>{}),(C,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["q-textarea",i.value])},[e.withDirectives(e.createElementVNode("textarea",{class:"textarea","onUpdate:modelValue":p[0]||(p[0]=u=>n.value=u),onChange:h,onKeyup:a,rows:t.rows,placeholder:o.placeholder,disabled:t.disabled},null,40,Fr),[[e.vModelText,n.value]]),l.value?(e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("div",Rr,[t.hintIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.hintIcon),{key:0,class:"q-textarea-hint-icon"})):e.createCommentVNode("",!0),t.hintText?(e.openBlock(),e.createElementBlock("div",Or,e.toDisplayString(t.hintText),1)):e.createCommentVNode("",!0)]),t.max!==-1?(e.openBlock(),e.createElementBlock("div",Gr,e.toDisplayString(n.value.length)+" / "+e.toDisplayString(t.max),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))}}),Oi="",Yr=_(Wr,[["__scopeId","data-v-1288a75e"]]),Kr=e.defineComponent({__name:"QCurrencySelector",props:{currency:{type:String,default:"USD"}},emits:["change"],setup(t,{emit:s}){const o=s,r=t,n=e.ref(null),c=e.computed(()=>{let i=[{title:"US Dollar",value:"USD",action:l},{title:"人民币",value:"CNY",action:l},{title:"新台幣",value:"TWD",action:l},{title:"日本円",value:"JPY",action:l}];return i=i.map(a=>({...a,title:a.title})),i});function l(i){o("change",{title:i.title,value:i.value})}return e.watch(()=>r.currency,i=>{n.value=c.value.find(a=>i===a.value)}),e.onMounted(()=>{n.value=c.value.find(i=>r.currency===i.value)||c.value[0]}),(i,a)=>{const h=e.resolveComponent("QDropdownMenu");return e.openBlock(),e.createBlock(h,{items:c.value,"initial-item":n.value},null,8,["items","initial-item"])}}}),vr=t=>(e.pushScopeId("data-v-cbda2524"),t=t(),e.popScopeId(),t),Jr={class:"q-payment-apparoch-item"},Xr={class:"approach-inner"},e8={class:"approach-icons"},t8=["textContent"],o8=vr(()=>e.createElementVNode("div",{class:"spacer"},null,-1)),n8=["textContent"],s8=e.defineComponent({__name:"QPaymentApproachItem",props:{name:{type:String,required:!0},desc:{type:String,default:""},icons:{type:Array,default:()=>[]},symbol:{type:String,default:""},disabled:{type:Boolean,default:!1}},setup(t){const s=t;return(o,r)=>(e.openBlock(),e.createElementBlock("div",Jr,[e.createElementVNode("div",Xr,[e.createElementVNode("div",e8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.icons,n=>(e.openBlock(),e.createElementBlock("div",{key:`icon-${n}`,class:e.normalizeClass(["icon",`icon-${n}`])},null,2))),128))]),e.createElementVNode("div",{class:"approach-desc",textContent:e.toDisplayString(s.desc)},null,8,t8)]),o8,e.renderSlot(o.$slots,"default",{},void 0,!0),e.createElementVNode("div",{class:"quote-currency text-sm font-bold",textContent:e.toDisplayString(t.symbol)},null,8,n8)]))}}),Gi="",r8=_(s8,[["__scopeId","data-v-cbda2524"]]),c8={class:"q-payment-approach-select"},i8=["onClick"],l8=e.defineComponent({__name:"QPaymentApproachSelect",props:{channels:{type:Array,required:!0,default:()=>[]}},emits:["select"],setup(t,{emit:s}){const o=t,r=e.ref(o.channels),n=s;function c(i){const a=[i.selected?"selected":""];return i.disabled&&a.push("disabled"),a.join(" ")}function l(i){if(i.disabled)return;const a=r.value.findIndex(h=>h.name===i.name);a!==-1&&(r.value.forEach(h=>{h.selected=!1}),r.value[a].selected=!0,n("select",{name:i.name}))}return(i,a)=>{const h=e.resolveComponent("QPaymentApproachItem");return e.openBlock(),e.createElementBlock("div",c8,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,d=>(e.openBlock(),e.createElementBlock("div",{key:`app-${d.name}`,class:e.normalizeClass(["q-payment-approach-item-wrapper mb-1",c(d)]),onClick:C=>l(d)},[e.createVNode(h,{name:d.name,icons:d.icons,symbol:d.symbol,desc:d.desc,disabled:d.disabled},null,8,["name","icons","symbol","desc","disabled"])],10,i8))),128))])}}}),Wi="",Z1=Object.freeze(Object.defineProperty({__proto__:null,QAvatar:nr,QButton:wr,QCurrencySelector:Kr,QDatetimePicker:F3,QDialog:Y3,QDropdownMenu:js,QDropdownMenuWithTextField:pr,QFence:is,QInput:Tr,QLanguageSelector:Ys,QLoading:_s,QMenu:ws,QMessageDialog:os,QPackCover:o7,QPagination:Rs,QPaymentApproachItem:r8,QPaymentApproachSelect:_(l8,[["__scopeId","data-v-2ae8ca3a"]]),QProgress:Ws,QSearchInput:Zr,QShare:tr,QSwitch:Ms,QTabs:Mr,QTextFieldWithButton:Ls,QTextarea:Yr,QToggleButton:Ur},Symbol.toStringTag,{value:"Module"})),Ki="",U1={install(t,s){s!=null&&s.debug&&console.log("options",s);for(const[o,r]of Object.entries(g1))s!=null&&s.debug&&console.log("[quail-ui] register icon component",o,r),t.component(o,r);for(const[o,r]of Object.entries(Z1))s!=null&&s.debug&&console.log("[quail-ui] register common component",o,r),t.component(o,r);document.body.addEventListener("click",o=>{$1()})}};N.Common=Z1,N.Icons=g1,N.QuailUI=U1,N.default=U1,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
13
13
|
//# sourceMappingURL=index.umd.cjs.map
|