@validol4ik/uikit 0.2.17 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Validates any requred field
3
+ *
4
+ * @param {string} val
5
+ * @returns string | boolean
6
+ */
7
+ declare const _default: (val: string) => string | boolean;
8
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  import { NamedColor } from 'quasar';
2
+ import { Size } from './types';
2
3
  export declare const COLORS: {
3
4
  PRIMARY: NamedColor;
4
5
  INFO: NamedColor;
@@ -6,3 +7,8 @@ export declare const COLORS: {
6
7
  NEGATIVE: NamedColor;
7
8
  POSITIVE: NamedColor;
8
9
  };
10
+ export declare const SIZES: {
11
+ SM: Size;
12
+ MD: Size;
13
+ LG: Size;
14
+ };
@@ -0,0 +1,22 @@
1
+ import { Size } from '../../types';
2
+ import { QSelectOption, QSelectProps } from 'quasar';
3
+ interface AppSelectOption extends QSelectOption {
4
+ done?: boolean;
5
+ }
6
+ export interface AppSelectProps {
7
+ modelValue?: QSelectProps["modelValue"];
8
+ size?: Size;
9
+ options: AppSelectOption[];
10
+ multiple?: boolean;
11
+ label?: string;
12
+ placeholder?: string;
13
+ required?: boolean;
14
+ clearable?: boolean;
15
+ disabled?: boolean;
16
+ loading?: boolean;
17
+ filtering?: boolean;
18
+ autofocus?: boolean;
19
+ rules?: QSelectProps["rules"];
20
+ lazyRules?: QSelectProps["lazyRules"];
21
+ }
22
+ export {};
@@ -1 +1 @@
1
- "use strict";const n=require("vue"),S={SM:"sm",MD:"md",LG:"lg"},de={[S.SM]:"3px 9px",[S.MD]:"5px 12px",[S.LG]:"9px 20px"},ne={PRIMARY:"primary",INFO:"info"},V={xs:18,sm:24,md:32,lg:38,xl:46},ae={size:String};function oe(e,t=V){return n.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Q(e){return n.markRaw(n.defineComponent(e))}function fe(e){return n.markRaw(e)}function ve(e,t){return e!==void 0&&e()||t}function j(e,t){return e!==void 0?t.concat(e()):t}const U="0 0 24 24",Y=e=>e,K=e=>`ionicons ${e}`,re={"mdi-":e=>`mdi ${e}`,"icon-":Y,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":K,"ion-ios":K,"ion-logo":K,"iconfont ":Y,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ie={o_:"-outlined",r_:"-round",s_:"-sharp"},le={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},me=new RegExp("^("+Object.keys(re).join("|")+")"),pe=new RegExp("^("+Object.keys(ie).join("|")+")"),G=new RegExp("^("+Object.keys(le).join("|")+")"),ge=/^[Mm]\s?[-+]?\.?\d/,he=/^img:/,be=/^svguse:/,ye=/^ion-/,ke=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,H=Q({name:"QIcon",props:{...ae,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:o}}=n.getCurrentInstance(),a=oe(e),i=n.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),d=n.computed(()=>{let c,l=e.name;if(l==="none"||!l)return{none:!0};if(o.iconMapFn!==null){const s=o.iconMapFn(l);if(s!==void 0)if(s.icon!==void 0){if(l=s.icon,l==="none"||!l)return{none:!0}}else return{cls:s.cls,content:s.content!==void 0?s.content:" "}}if(ge.test(l)===!0){const[s,h=U]=l.split("|");return{svg:!0,viewBox:h,nodes:s.split("&&").map(u=>{const[b,p,y]=u.split("@@");return n.h("path",{style:p,d:b,transform:y})})}}if(he.test(l)===!0)return{img:!0,src:l.substring(4)};if(be.test(l)===!0){const[s,h=U]=l.split("|");return{svguse:!0,src:s.substring(7),viewBox:h}}let C=" ";const g=l.match(me);if(g!==null)c=re[g[1]](l);else if(ke.test(l)===!0)c=l;else if(ye.test(l)===!0)c=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${l.substring(3)}`;else if(G.test(l)===!0){c="notranslate material-symbols";const s=l.match(G);s!==null&&(l=l.substring(6),c+=le[s[1]]),C=l}else{c="notranslate material-icons";const s=l.match(pe);s!==null&&(l=l.substring(2),c+=ie[s[1]]),C=l}return{cls:c,content:C}});return()=>{const c={class:i.value,style:a.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?n.h(e.tag,c,ve(t.default)):d.value.img===!0?n.h(e.tag,c,j(t.default,[n.h("img",{src:d.value.src})])):d.value.svg===!0?n.h(e.tag,c,j(t.default,[n.h("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?n.h(e.tag,c,j(t.default,[n.h("svg",{viewBox:d.value.viewBox},[n.h("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(c.class+=" "+d.value.cls),n.h(e.tag,c,j(t.default,[d.value.content])))}}}),Ce={size:{type:[String,Number],default:"1em"},color:String};function $e(e){return{cSize:n.computed(()=>e.size in V?`${V[e.size]}px`:e.size),classes:n.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const qe=Q({name:"QSpinner",props:{...Ce,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:o}=$e(e);return()=>n.h("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[n.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Be(e,t){const o=e.style;for(const a in t)o[a]=t[a]}const N={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(N,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Ee(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ue(e){e.stopPropagation()}function Le(e){e.cancelable!==!1&&e.preventDefault()}function P(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Re(e,t,o){const a=`__q_${t}_evt`;e[a]=e[a]!==void 0?e[a].concat(o):o,o.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],N[i[3]])})}function Se(e,t){const o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(a=>{a[0].removeEventListener(a[1],e[a[2]],N[a[3]])}),e[o]=void 0)}function _e(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function F(e,t){return _e(e)===!0?!1:[].concat(t).includes(e.keyCode)}function we(e,t=250){let o=!1,a;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),a=e.apply(this,arguments)),a}}function W(e,t,o,a){o.modifiers.stop===!0&&ue(e);const i=o.modifiers.color;let d=o.modifiers.center;d=d===!0||a===!0;const c=document.createElement("span"),l=document.createElement("span"),C=Ee(e),{left:g,top:s,width:h,height:u}=t.getBoundingClientRect(),b=Math.sqrt(h*h+u*u),p=b/2,y=`${(h-b)/2}px`,f=d?y:`${C.left-g-p}px`,k=`${(u-b)/2}px`,x=d?k:`${C.top-s-p}px`;l.className="q-ripple__inner",Be(l,{height:`${b}px`,width:`${b}px`,transform:`translate3d(${f},${x},0) scale3d(.2,.2,1)`,opacity:0}),c.className=`q-ripple${i?" text-"+i:""}`,c.setAttribute("dir","ltr"),c.appendChild(l),t.appendChild(c);const _=()=>{c.remove(),clearTimeout(w)};o.abort.push(_);let w=setTimeout(()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${y},${k},0) scale3d(1,1,1)`,l.style.opacity=.2,w=setTimeout(()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,w=setTimeout(()=>{c.remove(),o.abort.splice(o.abort.indexOf(_),1)},275)},250)},50)}function X(e,{modifiers:t,value:o,arg:a}){const i=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||a,keyCodes:[].concat(i.keyCodes||13)}}const xe=fe({name:"ripple",beforeMount(e,t){const o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;const a={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(i){a.enabled===!0&&i.qSkipRipple!==!0&&i.type===(a.modifiers.early===!0?"pointerdown":"click")&&W(i,e,a,i.qKeyEvent===!0)},keystart:we(i=>{a.enabled===!0&&i.qSkipRipple!==!0&&F(i,a.modifiers.keyCodes)===!0&&i.type===`key${a.modifiers.early===!0?"down":"up"}`&&W(i,e,a,!0)},300)};X(a,t),e.__qripple=a,Re(a,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&X(o,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),Se(t,"main"),delete e._qripple)}}),se={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Pe=Object.keys(se),Me={align:{type:String,validator:e=>Pe.includes(e)}};function Te(e){return n.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${se[t]}`})}function Oe(e){return e.appContext.config.globalProperties.$router!==void 0}function Z(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function J(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ze(e,t){for(const o in t){const a=t[o],i=e[o];if(typeof a=="string"){if(a!==i)return!1}else if(Array.isArray(i)===!1||i.length!==a.length||a.some((d,c)=>d!==i[c]))return!1}return!0}function ee(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,a)=>o===t[a]):e.length===1&&e[0]===t}function Ae(e,t){return Array.isArray(e)===!0?ee(e,t):Array.isArray(t)===!0?ee(t,e):e===t}function je(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(Ae(e[o],t[o])===!1)return!1;return!0}const Ie={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean};function De({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const o=n.getCurrentInstance(),{props:a,proxy:i,emit:d}=o,c=Oe(o),l=n.computed(()=>a.disable!==!0&&a.href!==void 0),C=t===!0?n.computed(()=>c===!0&&a.disable!==!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""):n.computed(()=>c===!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),g=n.computed(()=>C.value===!0?x(a.to):null),s=n.computed(()=>g.value!==null),h=n.computed(()=>l.value===!0||s.value===!0),u=n.computed(()=>a.type==="a"||h.value===!0?"a":a.tag||e||"div"),b=n.computed(()=>l.value===!0?{href:a.href,target:a.target}:s.value===!0?{href:g.value.href,target:a.target}:{}),p=n.computed(()=>{if(s.value===!1)return-1;const{matched:v}=g.value,{length:$}=v,B=v[$-1];if(B===void 0)return-1;const L=i.$route.matched;if(L.length===0)return-1;const R=L.findIndex(J.bind(null,B));if(R!==-1)return R;const I=Z(v[$-2]);return $>1&&Z(B)===I&&L[L.length-1].path!==I?L.findIndex(J.bind(null,v[$-2])):R}),y=n.computed(()=>s.value===!0&&p.value!==-1&&ze(i.$route.params,g.value.params)),f=n.computed(()=>y.value===!0&&p.value===i.$route.matched.length-1&&je(i.$route.params,g.value.params)),k=n.computed(()=>s.value===!0?f.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":y.value===!0?` ${a.activeClass}`:"":"");function x(v){try{return i.$router.resolve(v)}catch{}return null}function _(v,{returnRouterError:$,to:B=a.to,replace:L=a.replace}={}){if(a.disable===!0)return v.preventDefault(),Promise.resolve(!1);if(v.metaKey||v.altKey||v.ctrlKey||v.shiftKey||v.button!==void 0&&v.button!==0||a.target==="_blank")return Promise.resolve(!1);v.preventDefault();const R=i.$router[L===!0?"replace":"push"](B);return $===!0?R:R.then(()=>{}).catch(()=>{})}function w(v){if(s.value===!0){const $=B=>_(v,B);d("click",v,$),v.defaultPrevented!==!0&&$()}else d("click",v)}return{hasRouterLink:s,hasHrefLink:l,hasLink:h,linkTag:u,resolvedLink:g,linkIsActive:y,linkIsExactActive:f,linkClass:k,linkAttrs:b,getLink:x,navigateToRouterLink:_,navigateOnClick:w}}const te={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Ne={xs:8,sm:10,md:14,lg:20,xl:24},Ke=["button","submit","reset"],Ve=/[^\s]\/[^\s]/,Fe=["flat","outline","push","unelevated"];function Qe(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Ue={...ae,...Ie,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Fe.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Me.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Ye={...Ue,round:Boolean};function Ge(e){const t=oe(e,Ne),o=Te(e),{hasRouterLink:a,hasLink:i,linkTag:d,linkAttrs:c,navigateOnClick:l}=De({fallbackTag:"button"}),C=n.computed(()=>{const f=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},f,{padding:e.padding.split(/\s+/).map(k=>k in te?te[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):f}),g=n.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),s=n.computed(()=>e.disable!==!0&&e.loading!==!0),h=n.computed(()=>s.value===!0?e.tabindex||0:-1),u=n.computed(()=>Qe(e,"standard")),b=n.computed(()=>{const f={tabindex:h.value};return i.value===!0?Object.assign(f,c.value):Ke.includes(e.type)===!0&&(f.type=e.type),d.value==="a"?(e.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),a.value!==!0&&Ve.test(e.type)===!0&&(f.type=e.type)):e.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),f}),p=n.computed(()=>{let f;e.color!==void 0?e.flat===!0||e.outline===!0?f=`text-${e.textColor||e.color}`:f=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(f=`text-${e.textColor}`);const k=e.round===!0?"round":`rectangle${g.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${u.value} q-btn--${k}`+(f!==void 0?" "+f:"")+(s.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),y=n.computed(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:p,style:C,innerClasses:y,attributes:b,hasLink:i,linkTag:d,navigateOnClick:l,isActionable:s}}const{passiveCapture:q}=N;let M=null,T=null,O=null;const He=Q({name:"QBtn",props:{...Ye,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){const{proxy:a}=n.getCurrentInstance(),{classes:i,style:d,innerClasses:c,attributes:l,hasLink:C,linkTag:g,navigateOnClick:s,isActionable:h}=Ge(e),u=n.ref(null),b=n.ref(null);let p=null,y,f=null;const k=n.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),x=n.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:C.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),_=n.computed(()=>({center:e.round})),w=n.computed(()=>{const r=Math.max(0,Math.min(100,e.percentage));return r>0?{transition:"transform 0.6s",transform:`translateX(${r-100}%)`}:{}}),v=n.computed(()=>{if(e.loading===!0)return{onMousedown:A,onTouchstart:A,onClick:A,onKeydown:A,onKeyup:A};if(h.value===!0){const r={onClick:B,onKeydown:L,onMousedown:I};if(a.$q.platform.has.touch===!0){const m=e.onTouchstart!==void 0?"":"Passive";r[`onTouchstart${m}`]=R}return r}return{onClick:P}}),$=n.computed(()=>({ref:u,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:d.value,...l.value,...v.value}));function B(r){if(u.value!==null){if(r!==void 0){if(r.defaultPrevented===!0)return;const m=document.activeElement;if(e.type==="submit"&&m!==document.body&&u.value.contains(m)===!1&&m.contains(u.value)===!1){u.value.focus();const D=()=>{document.removeEventListener("keydown",P,!0),document.removeEventListener("keyup",D,q),u.value!==null&&u.value.removeEventListener("blur",D,q)};document.addEventListener("keydown",P,!0),document.addEventListener("keyup",D,q),u.value.addEventListener("blur",D,q)}}s(r)}}function L(r){u.value!==null&&(o("keydown",r),F(r,[13,32])===!0&&T!==u.value&&(T!==null&&z(),r.defaultPrevented!==!0&&(u.value.focus(),T=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("keyup",E,!0),u.value.addEventListener("blur",E,q)),P(r)))}function R(r){u.value!==null&&(o("touchstart",r),r.defaultPrevented!==!0&&(M!==u.value&&(M!==null&&z(),M=u.value,p=r.target,p.addEventListener("touchcancel",E,q),p.addEventListener("touchend",E,q)),y=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,y=!1},200)))}function I(r){u.value!==null&&(r.qSkipRipple=y===!0,o("mousedown",r),r.defaultPrevented!==!0&&O!==u.value&&(O!==null&&z(),O=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("mouseup",E,q)))}function E(r){if(u.value!==null&&!(r!==void 0&&r.type==="blur"&&document.activeElement===u.value)){if(r!==void 0&&r.type==="keyup"){if(T===u.value&&F(r,[13,32])===!0){const m=new MouseEvent("click",r);m.qKeyEvent=!0,r.defaultPrevented===!0&&Le(m),r.cancelBubble===!0&&ue(m),u.value.dispatchEvent(m),P(r),r.qKeyEvent=!0}o("keyup",r)}z()}}function z(r){const m=b.value;r!==!0&&(M===u.value||O===u.value)&&m!==null&&m!==document.activeElement&&(m.setAttribute("tabindex",-1),m.focus()),M===u.value&&(p!==null&&(p.removeEventListener("touchcancel",E,q),p.removeEventListener("touchend",E,q)),M=p=null),O===u.value&&(document.removeEventListener("mouseup",E,q),O=null),T===u.value&&(document.removeEventListener("keyup",E,!0),u.value!==null&&u.value.removeEventListener("blur",E,q),T=null),u.value!==null&&u.value.classList.remove("q-btn--active")}function A(r){P(r),r.qSkipRipple=!0}return n.onBeforeUnmount(()=>{z(!0)}),Object.assign(a,{click:r=>{h.value===!0&&B(r)}}),()=>{let r=[];e.icon!==void 0&&r.push(n.h(H,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img"})),k.value===!0&&r.push(n.h("span",{class:"block"},[e.label])),r=j(t.default,r),e.iconRight!==void 0&&e.round===!1&&r.push(n.h(H,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img"}));const m=[n.h("span",{class:"q-focus-helper",ref:b})];return e.loading===!0&&e.percentage!==void 0&&m.push(n.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[n.h("span",{class:"q-btn__progress-indicator fit block",style:w.value})])),m.push(n.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+c.value},r)),e.loading!==null&&m.push(n.h(n.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[n.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[n.h(qe)])]:null)),n.withDirectives(n.h(g.value,$.value,m),[[xe,x.value,void 0,_.value]])}}}),We=n.defineComponent({__name:"index",props:{size:{default:S.MD},transparent:{type:Boolean},flat:{type:Boolean},rounded:{type:Boolean},color:{default:ne.PRIMARY},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},emits:["click"],setup(e){const t=e,o=n.computed(()=>["app-btn",{"app-btn_default":!t.transparent&&!t.flat,"app-btn_trans":t.transparent,"app-btn_flat":t.flat,"app-btn_rounded":t.rounded,"app-btn_sm":t.size===S.SM,"app-btn_md":t.size===S.MD,"app-btn_lg":t.size===S.LG,"app-btn_icon-left":t.iconLeft,"app-btn_icon-right":t.iconRight,"app-btn_icon-middle":t.iconMiddle},`app-btn_${t.color}`]);return(a,i)=>(n.openBlock(),n.createBlock(n.unref(He),{"no-caps":"",unelevated:"",class:n.normalizeClass(o.value),padding:n.unref(de)[a.size||n.unref(S).MD],loading:a.loading,disable:a.disabled||void 0,to:a.to,href:a.href,target:a.target,type:a.submit?"submit":void 0,"aria-label":a.ariaLabel,onClick:i[0]||(i[0]=d=>a.$emit("click",d))},{default:n.withCtx(()=>[a.iconLeft||a.iconMiddle?(n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(["icon-kl",a.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${a.iconLeft||a.iconMiddle}`,a.transparent||a.flat?`text-${a.color}`:"text-secondary"])},null,2)):n.createCommentVNode("",!0),n.renderSlot(a.$slots,"default",{},void 0,!0),a.label?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode(n.toDisplayString(a.label),1)],64)):n.createCommentVNode("",!0),a.iconRight?(n.openBlock(),n.createElementBlock("i",{key:2,class:n.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${a.iconRight}`,a.transparent?`text-${a.color}`:"text-secondary"])},null,2)):n.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disable","to","href","target","type","aria-label"]))}}),ce=(e,t)=>{const o=e.__vccOpts||e;for(const[a,i]of t)o[a]=i;return o},Xe=ce(We,[["__scopeId","data-v-2e62fe83"]]),Ze=n.defineComponent({__name:"index",props:{name:{},size:{},color:{}},setup(e){return(t,o)=>(n.openBlock(),n.createElementBlock("i",{class:n.normalizeClass(["icon-kl",`icon-kl-${t.name}`,t.color?`text-${t.color}`:""]),style:n.normalizeStyle(t.size?`font-size: ${t.size}`:void 0)},null,6))}}),Je=ce(Ze,[["__scopeId","data-v-73419357"]]),et=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BhOQlazQ.cjs")));exports.AppButton=Xe;exports.AppButtonCopy=et;exports.COLORS=ne;exports.index=Je;
1
+ "use strict";const n=require("vue"),ne={PRIMARY:"primary",INFO:"info"},S={SM:"sm",MD:"md",LG:"lg"},de={[S.SM]:"3px 9px",[S.MD]:"5px 12px",[S.LG]:"9px 20px"},V={xs:18,sm:24,md:32,lg:38,xl:46},ae={size:String};function oe(e,t=V){return n.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Q(e){return n.markRaw(n.defineComponent(e))}function fe(e){return n.markRaw(e)}function ve(e,t){return e!==void 0&&e()||t}function j(e,t){return e!==void 0?t.concat(e()):t}const Y="0 0 24 24",G=e=>e,K=e=>`ionicons ${e}`,re={"mdi-":e=>`mdi ${e}`,"icon-":G,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":K,"ion-ios":K,"ion-logo":K,"iconfont ":G,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ie={o_:"-outlined",r_:"-round",s_:"-sharp"},le={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},me=new RegExp("^("+Object.keys(re).join("|")+")"),pe=new RegExp("^("+Object.keys(ie).join("|")+")"),H=new RegExp("^("+Object.keys(le).join("|")+")"),ge=/^[Mm]\s?[-+]?\.?\d/,he=/^img:/,be=/^svguse:/,ye=/^ion-/,ke=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,U=Q({name:"QIcon",props:{...ae,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:o}}=n.getCurrentInstance(),a=oe(e),i=n.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),d=n.computed(()=>{let c,l=e.name;if(l==="none"||!l)return{none:!0};if(o.iconMapFn!==null){const s=o.iconMapFn(l);if(s!==void 0)if(s.icon!==void 0){if(l=s.icon,l==="none"||!l)return{none:!0}}else return{cls:s.cls,content:s.content!==void 0?s.content:" "}}if(ge.test(l)===!0){const[s,h=Y]=l.split("|");return{svg:!0,viewBox:h,nodes:s.split("&&").map(u=>{const[b,p,y]=u.split("@@");return n.h("path",{style:p,d:b,transform:y})})}}if(he.test(l)===!0)return{img:!0,src:l.substring(4)};if(be.test(l)===!0){const[s,h=Y]=l.split("|");return{svguse:!0,src:s.substring(7),viewBox:h}}let C=" ";const g=l.match(me);if(g!==null)c=re[g[1]](l);else if(ke.test(l)===!0)c=l;else if(ye.test(l)===!0)c=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${l.substring(3)}`;else if(H.test(l)===!0){c="notranslate material-symbols";const s=l.match(H);s!==null&&(l=l.substring(6),c+=le[s[1]]),C=l}else{c="notranslate material-icons";const s=l.match(pe);s!==null&&(l=l.substring(2),c+=ie[s[1]]),C=l}return{cls:c,content:C}});return()=>{const c={class:i.value,style:a.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?n.h(e.tag,c,ve(t.default)):d.value.img===!0?n.h(e.tag,c,j(t.default,[n.h("img",{src:d.value.src})])):d.value.svg===!0?n.h(e.tag,c,j(t.default,[n.h("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?n.h(e.tag,c,j(t.default,[n.h("svg",{viewBox:d.value.viewBox},[n.h("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(c.class+=" "+d.value.cls),n.h(e.tag,c,j(t.default,[d.value.content])))}}}),Ce={size:{type:[String,Number],default:"1em"},color:String};function $e(e){return{cSize:n.computed(()=>e.size in V?`${V[e.size]}px`:e.size),classes:n.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const qe=Q({name:"QSpinner",props:{...Ce,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:o}=$e(e);return()=>n.h("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[n.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Ee(e,t){const o=e.style;for(const a in t)o[a]=t[a]}const N={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(N,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Be(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ue(e){e.stopPropagation()}function Le(e){e.cancelable!==!1&&e.preventDefault()}function P(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Re(e,t,o){const a=`__q_${t}_evt`;e[a]=e[a]!==void 0?e[a].concat(o):o,o.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],N[i[3]])})}function Se(e,t){const o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(a=>{a[0].removeEventListener(a[1],e[a[2]],N[a[3]])}),e[o]=void 0)}function _e(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function F(e,t){return _e(e)===!0?!1:[].concat(t).includes(e.keyCode)}function we(e,t=250){let o=!1,a;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),a=e.apply(this,arguments)),a}}function W(e,t,o,a){o.modifiers.stop===!0&&ue(e);const i=o.modifiers.color;let d=o.modifiers.center;d=d===!0||a===!0;const c=document.createElement("span"),l=document.createElement("span"),C=Be(e),{left:g,top:s,width:h,height:u}=t.getBoundingClientRect(),b=Math.sqrt(h*h+u*u),p=b/2,y=`${(h-b)/2}px`,f=d?y:`${C.left-g-p}px`,k=`${(u-b)/2}px`,x=d?k:`${C.top-s-p}px`;l.className="q-ripple__inner",Ee(l,{height:`${b}px`,width:`${b}px`,transform:`translate3d(${f},${x},0) scale3d(.2,.2,1)`,opacity:0}),c.className=`q-ripple${i?" text-"+i:""}`,c.setAttribute("dir","ltr"),c.appendChild(l),t.appendChild(c);const _=()=>{c.remove(),clearTimeout(w)};o.abort.push(_);let w=setTimeout(()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${y},${k},0) scale3d(1,1,1)`,l.style.opacity=.2,w=setTimeout(()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,w=setTimeout(()=>{c.remove(),o.abort.splice(o.abort.indexOf(_),1)},275)},250)},50)}function X(e,{modifiers:t,value:o,arg:a}){const i=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||a,keyCodes:[].concat(i.keyCodes||13)}}const xe=fe({name:"ripple",beforeMount(e,t){const o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;const a={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(i){a.enabled===!0&&i.qSkipRipple!==!0&&i.type===(a.modifiers.early===!0?"pointerdown":"click")&&W(i,e,a,i.qKeyEvent===!0)},keystart:we(i=>{a.enabled===!0&&i.qSkipRipple!==!0&&F(i,a.modifiers.keyCodes)===!0&&i.type===`key${a.modifiers.early===!0?"down":"up"}`&&W(i,e,a,!0)},300)};X(a,t),e.__qripple=a,Re(a,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&X(o,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),Se(t,"main"),delete e._qripple)}}),se={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Pe=Object.keys(se),Me={align:{type:String,validator:e=>Pe.includes(e)}};function Te(e){return n.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${se[t]}`})}function Oe(e){return e.appContext.config.globalProperties.$router!==void 0}function Z(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function J(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ze(e,t){for(const o in t){const a=t[o],i=e[o];if(typeof a=="string"){if(a!==i)return!1}else if(Array.isArray(i)===!1||i.length!==a.length||a.some((d,c)=>d!==i[c]))return!1}return!0}function ee(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,a)=>o===t[a]):e.length===1&&e[0]===t}function Ae(e,t){return Array.isArray(e)===!0?ee(e,t):Array.isArray(t)===!0?ee(t,e):e===t}function je(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(Ae(e[o],t[o])===!1)return!1;return!0}const Ie={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean};function De({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const o=n.getCurrentInstance(),{props:a,proxy:i,emit:d}=o,c=Oe(o),l=n.computed(()=>a.disable!==!0&&a.href!==void 0),C=t===!0?n.computed(()=>c===!0&&a.disable!==!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""):n.computed(()=>c===!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),g=n.computed(()=>C.value===!0?x(a.to):null),s=n.computed(()=>g.value!==null),h=n.computed(()=>l.value===!0||s.value===!0),u=n.computed(()=>a.type==="a"||h.value===!0?"a":a.tag||e||"div"),b=n.computed(()=>l.value===!0?{href:a.href,target:a.target}:s.value===!0?{href:g.value.href,target:a.target}:{}),p=n.computed(()=>{if(s.value===!1)return-1;const{matched:v}=g.value,{length:$}=v,E=v[$-1];if(E===void 0)return-1;const L=i.$route.matched;if(L.length===0)return-1;const R=L.findIndex(J.bind(null,E));if(R!==-1)return R;const I=Z(v[$-2]);return $>1&&Z(E)===I&&L[L.length-1].path!==I?L.findIndex(J.bind(null,v[$-2])):R}),y=n.computed(()=>s.value===!0&&p.value!==-1&&ze(i.$route.params,g.value.params)),f=n.computed(()=>y.value===!0&&p.value===i.$route.matched.length-1&&je(i.$route.params,g.value.params)),k=n.computed(()=>s.value===!0?f.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":y.value===!0?` ${a.activeClass}`:"":"");function x(v){try{return i.$router.resolve(v)}catch{}return null}function _(v,{returnRouterError:$,to:E=a.to,replace:L=a.replace}={}){if(a.disable===!0)return v.preventDefault(),Promise.resolve(!1);if(v.metaKey||v.altKey||v.ctrlKey||v.shiftKey||v.button!==void 0&&v.button!==0||a.target==="_blank")return Promise.resolve(!1);v.preventDefault();const R=i.$router[L===!0?"replace":"push"](E);return $===!0?R:R.then(()=>{}).catch(()=>{})}function w(v){if(s.value===!0){const $=E=>_(v,E);d("click",v,$),v.defaultPrevented!==!0&&$()}else d("click",v)}return{hasRouterLink:s,hasHrefLink:l,hasLink:h,linkTag:u,resolvedLink:g,linkIsActive:y,linkIsExactActive:f,linkClass:k,linkAttrs:b,getLink:x,navigateToRouterLink:_,navigateOnClick:w}}const te={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Ne={xs:8,sm:10,md:14,lg:20,xl:24},Ke=["button","submit","reset"],Ve=/[^\s]\/[^\s]/,Fe=["flat","outline","push","unelevated"];function Qe(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Ye={...ae,...Ie,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Fe.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Me.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Ge={...Ye,round:Boolean};function He(e){const t=oe(e,Ne),o=Te(e),{hasRouterLink:a,hasLink:i,linkTag:d,linkAttrs:c,navigateOnClick:l}=De({fallbackTag:"button"}),C=n.computed(()=>{const f=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},f,{padding:e.padding.split(/\s+/).map(k=>k in te?te[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):f}),g=n.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),s=n.computed(()=>e.disable!==!0&&e.loading!==!0),h=n.computed(()=>s.value===!0?e.tabindex||0:-1),u=n.computed(()=>Qe(e,"standard")),b=n.computed(()=>{const f={tabindex:h.value};return i.value===!0?Object.assign(f,c.value):Ke.includes(e.type)===!0&&(f.type=e.type),d.value==="a"?(e.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),a.value!==!0&&Ve.test(e.type)===!0&&(f.type=e.type)):e.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),f}),p=n.computed(()=>{let f;e.color!==void 0?e.flat===!0||e.outline===!0?f=`text-${e.textColor||e.color}`:f=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(f=`text-${e.textColor}`);const k=e.round===!0?"round":`rectangle${g.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${u.value} q-btn--${k}`+(f!==void 0?" "+f:"")+(s.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),y=n.computed(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:p,style:C,innerClasses:y,attributes:b,hasLink:i,linkTag:d,navigateOnClick:l,isActionable:s}}const{passiveCapture:q}=N;let M=null,T=null,O=null;const Ue=Q({name:"QBtn",props:{...Ge,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){const{proxy:a}=n.getCurrentInstance(),{classes:i,style:d,innerClasses:c,attributes:l,hasLink:C,linkTag:g,navigateOnClick:s,isActionable:h}=He(e),u=n.ref(null),b=n.ref(null);let p=null,y,f=null;const k=n.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),x=n.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:C.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),_=n.computed(()=>({center:e.round})),w=n.computed(()=>{const r=Math.max(0,Math.min(100,e.percentage));return r>0?{transition:"transform 0.6s",transform:`translateX(${r-100}%)`}:{}}),v=n.computed(()=>{if(e.loading===!0)return{onMousedown:A,onTouchstart:A,onClick:A,onKeydown:A,onKeyup:A};if(h.value===!0){const r={onClick:E,onKeydown:L,onMousedown:I};if(a.$q.platform.has.touch===!0){const m=e.onTouchstart!==void 0?"":"Passive";r[`onTouchstart${m}`]=R}return r}return{onClick:P}}),$=n.computed(()=>({ref:u,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:d.value,...l.value,...v.value}));function E(r){if(u.value!==null){if(r!==void 0){if(r.defaultPrevented===!0)return;const m=document.activeElement;if(e.type==="submit"&&m!==document.body&&u.value.contains(m)===!1&&m.contains(u.value)===!1){u.value.focus();const D=()=>{document.removeEventListener("keydown",P,!0),document.removeEventListener("keyup",D,q),u.value!==null&&u.value.removeEventListener("blur",D,q)};document.addEventListener("keydown",P,!0),document.addEventListener("keyup",D,q),u.value.addEventListener("blur",D,q)}}s(r)}}function L(r){u.value!==null&&(o("keydown",r),F(r,[13,32])===!0&&T!==u.value&&(T!==null&&z(),r.defaultPrevented!==!0&&(u.value.focus(),T=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("keyup",B,!0),u.value.addEventListener("blur",B,q)),P(r)))}function R(r){u.value!==null&&(o("touchstart",r),r.defaultPrevented!==!0&&(M!==u.value&&(M!==null&&z(),M=u.value,p=r.target,p.addEventListener("touchcancel",B,q),p.addEventListener("touchend",B,q)),y=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,y=!1},200)))}function I(r){u.value!==null&&(r.qSkipRipple=y===!0,o("mousedown",r),r.defaultPrevented!==!0&&O!==u.value&&(O!==null&&z(),O=u.value,u.value.classList.add("q-btn--active"),document.addEventListener("mouseup",B,q)))}function B(r){if(u.value!==null&&!(r!==void 0&&r.type==="blur"&&document.activeElement===u.value)){if(r!==void 0&&r.type==="keyup"){if(T===u.value&&F(r,[13,32])===!0){const m=new MouseEvent("click",r);m.qKeyEvent=!0,r.defaultPrevented===!0&&Le(m),r.cancelBubble===!0&&ue(m),u.value.dispatchEvent(m),P(r),r.qKeyEvent=!0}o("keyup",r)}z()}}function z(r){const m=b.value;r!==!0&&(M===u.value||O===u.value)&&m!==null&&m!==document.activeElement&&(m.setAttribute("tabindex",-1),m.focus()),M===u.value&&(p!==null&&(p.removeEventListener("touchcancel",B,q),p.removeEventListener("touchend",B,q)),M=p=null),O===u.value&&(document.removeEventListener("mouseup",B,q),O=null),T===u.value&&(document.removeEventListener("keyup",B,!0),u.value!==null&&u.value.removeEventListener("blur",B,q),T=null),u.value!==null&&u.value.classList.remove("q-btn--active")}function A(r){P(r),r.qSkipRipple=!0}return n.onBeforeUnmount(()=>{z(!0)}),Object.assign(a,{click:r=>{h.value===!0&&E(r)}}),()=>{let r=[];e.icon!==void 0&&r.push(n.h(U,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img"})),k.value===!0&&r.push(n.h("span",{class:"block"},[e.label])),r=j(t.default,r),e.iconRight!==void 0&&e.round===!1&&r.push(n.h(U,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img"}));const m=[n.h("span",{class:"q-focus-helper",ref:b})];return e.loading===!0&&e.percentage!==void 0&&m.push(n.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[n.h("span",{class:"q-btn__progress-indicator fit block",style:w.value})])),m.push(n.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+c.value},r)),e.loading!==null&&m.push(n.h(n.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[n.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[n.h(qe)])]:null)),n.withDirectives(n.h(g.value,$.value,m),[[xe,x.value,void 0,_.value]])}}}),We=n.defineComponent({__name:"index",props:{size:{default:S.MD},transparent:{type:Boolean},flat:{type:Boolean},rounded:{type:Boolean},color:{default:ne.PRIMARY},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},emits:["click"],setup(e){const t=e,o=n.computed(()=>["app-btn",{"app-btn_default":!t.transparent&&!t.flat,"app-btn_trans":t.transparent,"app-btn_flat":t.flat,"app-btn_rounded":t.rounded,"app-btn_sm":t.size===S.SM,"app-btn_md":t.size===S.MD,"app-btn_lg":t.size===S.LG,"app-btn_icon-left":t.iconLeft,"app-btn_icon-right":t.iconRight,"app-btn_icon-middle":t.iconMiddle},`app-btn_${t.color}`]);return(a,i)=>(n.openBlock(),n.createBlock(n.unref(Ue),{"no-caps":"",unelevated:"",class:n.normalizeClass(o.value),padding:n.unref(de)[a.size||n.unref(S).MD],loading:a.loading,disable:a.disabled||void 0,to:a.to,href:a.href,target:a.target,type:a.submit?"submit":void 0,"aria-label":a.ariaLabel,onClick:i[0]||(i[0]=d=>a.$emit("click",d))},{default:n.withCtx(()=>[a.iconLeft||a.iconMiddle?(n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(["icon-kl",a.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${a.iconLeft||a.iconMiddle}`,a.transparent||a.flat?`text-${a.color}`:"text-secondary"])},null,2)):n.createCommentVNode("",!0),n.renderSlot(a.$slots,"default",{},void 0,!0),a.label?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode(n.toDisplayString(a.label),1)],64)):n.createCommentVNode("",!0),a.iconRight?(n.openBlock(),n.createElementBlock("i",{key:2,class:n.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${a.iconRight}`,a.transparent?`text-${a.color}`:"text-secondary"])},null,2)):n.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disable","to","href","target","type","aria-label"]))}}),ce=(e,t)=>{const o=e.__vccOpts||e;for(const[a,i]of t)o[a]=i;return o},Xe=ce(We,[["__scopeId","data-v-ac94630a"]]),Ze=n.defineComponent({__name:"index",props:{name:{},size:{},color:{}},setup(e){return(t,o)=>(n.openBlock(),n.createElementBlock("i",{class:n.normalizeClass(["icon-kl",`icon-kl-${t.name}`,t.color?`text-${t.color}`:""]),style:n.normalizeStyle(t.size?`font-size: ${t.size}`:void 0)},null,6))}}),Je=ce(Ze,[["__scopeId","data-v-73419357"]]),et=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-IrXRxHX3.cjs")));exports.AppButton=Xe;exports.AppButtonCopy=et;exports.COLORS=ne;exports.index=Je;
@@ -1,16 +1,16 @@
1
- import { computed as u, markRaw as de, defineComponent as X, getCurrentInstance as Z, h as v, ref as ee, onBeforeUnmount as ke, Transition as $e, withDirectives as qe, openBlock as I, createBlock as Ee, unref as U, normalizeClass as V, withCtx as Le, createElementBlock as F, createCommentVNode as Y, renderSlot as Ce, Fragment as _e, createTextVNode as Se, toDisplayString as Be, normalizeStyle as Re, defineAsyncComponent as xe } from "vue";
2
- const R = {
1
+ import { computed as u, markRaw as de, defineComponent as X, getCurrentInstance as Z, h as v, ref as ee, onBeforeUnmount as ke, Transition as $e, withDirectives as qe, openBlock as I, createBlock as Ee, unref as Y, normalizeClass as V, withCtx as Le, createElementBlock as F, createCommentVNode as G, renderSlot as Ce, Fragment as Se, createTextVNode as _e, toDisplayString as Re, normalizeStyle as Be, defineAsyncComponent as xe } from "vue";
2
+ const we = {
3
+ PRIMARY: "primary",
4
+ INFO: "info"
5
+ }, B = {
3
6
  SM: "sm",
4
7
  MD: "md",
5
8
  LG: "lg"
6
- }, we = {
7
- [R.SM]: "3px 9px",
8
- [R.MD]: "5px 12px",
9
- [R.LG]: "9px 20px"
10
9
  }, Pe = {
11
- PRIMARY: "primary",
12
- INFO: "info"
13
- }, H = {
10
+ [B.SM]: "3px 9px",
11
+ [B.MD]: "5px 12px",
12
+ [B.LG]: "9px 20px"
13
+ }, U = {
14
14
  xs: 18,
15
15
  sm: 24,
16
16
  md: 32,
@@ -19,7 +19,7 @@ const R = {
19
19
  }, fe = {
20
20
  size: String
21
21
  };
22
- function ve(e, t = H) {
22
+ function ve(e, t = U) {
23
23
  return u(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
24
24
  }
25
25
  function J(e) {
@@ -34,15 +34,15 @@ function Te(e, t) {
34
34
  function D(e, t) {
35
35
  return e !== void 0 ? t.concat(e()) : t;
36
36
  }
37
- const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, ge = {
37
+ const te = "0 0 24 24", ne = (e) => e, H = (e) => `ionicons ${e}`, ge = {
38
38
  "mdi-": (e) => `mdi ${e}`,
39
39
  "icon-": ne,
40
40
  // fontawesome equiv
41
41
  "bt-": (e) => `bt ${e}`,
42
42
  "eva-": (e) => `eva ${e}`,
43
- "ion-md": G,
44
- "ion-ios": G,
45
- "ion-logo": G,
43
+ "ion-md": H,
44
+ "ion-ios": H,
45
+ "ion-logo": H,
46
46
  "iconfont ": ne,
47
47
  "ti-": (e) => `themify-icon ${e}`,
48
48
  "bi-": (e) => `bootstrap-icons ${e}`
@@ -165,7 +165,7 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, ge = {
165
165
  };
166
166
  function Ve(e) {
167
167
  return {
168
- cSize: u(() => e.size in H ? `${H[e.size]}px` : e.size),
168
+ cSize: u(() => e.size in U ? `${U[e.size]}px` : e.size),
169
169
  classes: u(
170
170
  () => "q-spinner" + (e.color ? ` text-${e.color}` : "")
171
171
  )
@@ -226,7 +226,7 @@ try {
226
226
  window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
227
227
  } catch {
228
228
  }
229
- function Ue(e) {
229
+ function Ye(e) {
230
230
  return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
231
231
  top: e.clientY,
232
232
  left: e.clientX
@@ -235,19 +235,19 @@ function Ue(e) {
235
235
  function be(e) {
236
236
  e.stopPropagation();
237
237
  }
238
- function Ye(e) {
238
+ function Ge(e) {
239
239
  e.cancelable !== !1 && e.preventDefault();
240
240
  }
241
241
  function M(e) {
242
242
  e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
243
243
  }
244
- function Ge(e, t, a) {
244
+ function He(e, t, a) {
245
245
  const n = `__q_${t}_evt`;
246
246
  e[n] = e[n] !== void 0 ? e[n].concat(a) : a, a.forEach((i) => {
247
247
  i[0].addEventListener(i[1], e[i[2]], Q[i[3]]);
248
248
  });
249
249
  }
250
- function He(e, t) {
250
+ function Ue(e, t) {
251
251
  const a = `__q_${t}_evt`;
252
252
  e[a] !== void 0 && (e[a].forEach((n) => {
253
253
  n[0].removeEventListener(n[1], e[n[2]], Q[n[3]]);
@@ -272,7 +272,7 @@ function ie(e, t, a, n) {
272
272
  const i = a.modifiers.color;
273
273
  let d = a.modifiers.center;
274
274
  d = d === !0 || n === !0;
275
- const c = document.createElement("span"), l = document.createElement("span"), q = Ue(e), { left: b, top: s, width: h, height: o } = t.getBoundingClientRect(), y = Math.sqrt(h * h + o * o), p = y / 2, k = `${(h - y) / 2}px`, f = d ? k : `${q.left - b - p}px`, $ = `${(o - y) / 2}px`, P = d ? $ : `${q.top - s - p}px`;
275
+ const c = document.createElement("span"), l = document.createElement("span"), q = Ye(e), { left: b, top: s, width: h, height: o } = t.getBoundingClientRect(), y = Math.sqrt(h * h + o * o), p = y / 2, k = `${(h - y) / 2}px`, f = d ? k : `${q.left - b - p}px`, $ = `${(o - y) / 2}px`, P = d ? $ : `${q.top - s - p}px`;
276
276
  l.className = "q-ripple__inner", Qe(l, {
277
277
  height: `${y}px`,
278
278
  width: `${y}px`,
@@ -320,7 +320,7 @@ const Ze = Me(
320
320
  n.enabled === !0 && i.qSkipRipple !== !0 && W(i, n.modifiers.keyCodes) === !0 && i.type === `key${n.modifiers.early === !0 ? "down" : "up"}` && ie(i, e, n, !0);
321
321
  }, 300)
322
322
  };
323
- le(n, t), e.__qripple = n, Ge(n, "main", [
323
+ le(n, t), e.__qripple = n, He(n, "main", [
324
324
  [e, "pointerdown", "start", "passive"],
325
325
  [e, "click", "start", "passive"],
326
326
  [e, "keydown", "keystart", "passive"],
@@ -337,7 +337,7 @@ const Ze = Me(
337
337
  const t = e.__qripple;
338
338
  t !== void 0 && (t.abort.forEach((a) => {
339
339
  a();
340
- }), He(t, "main"), delete e._qripple);
340
+ }), Ue(t, "main"), delete e._qripple);
341
341
  }
342
342
  }
343
343
  ), he = {
@@ -421,20 +421,20 @@ function ot({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
421
421
  const { matched: g } = b.value, { length: E } = g, C = g[E - 1];
422
422
  if (C === void 0)
423
423
  return -1;
424
- const S = i.$route.matched;
425
- if (S.length === 0)
424
+ const _ = i.$route.matched;
425
+ if (_.length === 0)
426
426
  return -1;
427
- const B = S.findIndex(
427
+ const R = _.findIndex(
428
428
  ue.bind(null, C)
429
429
  );
430
- if (B !== -1)
431
- return B;
430
+ if (R !== -1)
431
+ return R;
432
432
  const K = oe(g[E - 2]);
433
433
  return (
434
434
  // we are dealing with nested routes
435
- E > 1 && oe(C) === K && S[S.length - 1].path !== K ? S.findIndex(
435
+ E > 1 && oe(C) === K && _[_.length - 1].path !== K ? _.findIndex(
436
436
  ue.bind(null, g[E - 2])
437
- ) : B
437
+ ) : R
438
438
  );
439
439
  }), k = u(
440
440
  () => s.value === !0 && p.value !== -1 && at(i.$route.params, b.value.params)
@@ -448,7 +448,7 @@ function ot({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
448
448
  }
449
449
  return null;
450
450
  }
451
- function x(g, { returnRouterError: E, to: C = n.to, replace: S = n.replace } = {}) {
451
+ function x(g, { returnRouterError: E, to: C = n.to, replace: _ = n.replace } = {}) {
452
452
  if (n.disable === !0)
453
453
  return g.preventDefault(), Promise.resolve(!1);
454
454
  if (
@@ -458,8 +458,8 @@ function ot({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
458
458
  )
459
459
  return Promise.resolve(!1);
460
460
  g.preventDefault();
461
- const B = i.$router[S === !0 ? "replace" : "push"](C);
462
- return E === !0 ? B : B.then(() => {
461
+ const R = i.$router[_ === !0 ? "replace" : "push"](C);
462
+ return E === !0 ? R : R.then(() => {
463
463
  }).catch(() => {
464
464
  });
465
465
  }
@@ -632,12 +632,12 @@ const pt = J({
632
632
  if (h.value === !0) {
633
633
  const r = {
634
634
  onClick: C,
635
- onKeydown: S,
635
+ onKeydown: _,
636
636
  onMousedown: K
637
637
  };
638
638
  if (n.$q.platform.has.touch === !0) {
639
639
  const m = e.onTouchstart !== void 0 ? "" : "Passive";
640
- r[`onTouchstart${m}`] = B;
640
+ r[`onTouchstart${m}`] = R;
641
641
  }
642
642
  return r;
643
643
  }
@@ -669,23 +669,23 @@ const pt = J({
669
669
  s(r);
670
670
  }
671
671
  }
672
- function S(r) {
673
- o.value !== null && (a("keydown", r), W(r, [13, 32]) === !0 && O !== o.value && (O !== null && A(), r.defaultPrevented !== !0 && (o.value.focus(), O = o.value, o.value.classList.add("q-btn--active"), document.addEventListener("keyup", _, !0), o.value.addEventListener("blur", _, L)), M(r)));
672
+ function _(r) {
673
+ o.value !== null && (a("keydown", r), W(r, [13, 32]) === !0 && O !== o.value && (O !== null && A(), r.defaultPrevented !== !0 && (o.value.focus(), O = o.value, o.value.classList.add("q-btn--active"), document.addEventListener("keyup", S, !0), o.value.addEventListener("blur", S, L)), M(r)));
674
674
  }
675
- function B(r) {
676
- o.value !== null && (a("touchstart", r), r.defaultPrevented !== !0 && (T !== o.value && (T !== null && A(), T = o.value, p = r.target, p.addEventListener("touchcancel", _, L), p.addEventListener("touchend", _, L)), k = !0, f !== null && clearTimeout(f), f = setTimeout(() => {
675
+ function R(r) {
676
+ o.value !== null && (a("touchstart", r), r.defaultPrevented !== !0 && (T !== o.value && (T !== null && A(), T = o.value, p = r.target, p.addEventListener("touchcancel", S, L), p.addEventListener("touchend", S, L)), k = !0, f !== null && clearTimeout(f), f = setTimeout(() => {
677
677
  f = null, k = !1;
678
678
  }, 200)));
679
679
  }
680
680
  function K(r) {
681
- o.value !== null && (r.qSkipRipple = k === !0, a("mousedown", r), r.defaultPrevented !== !0 && z !== o.value && (z !== null && A(), z = o.value, o.value.classList.add("q-btn--active"), document.addEventListener("mouseup", _, L)));
681
+ o.value !== null && (r.qSkipRipple = k === !0, a("mousedown", r), r.defaultPrevented !== !0 && z !== o.value && (z !== null && A(), z = o.value, o.value.classList.add("q-btn--active"), document.addEventListener("mouseup", S, L)));
682
682
  }
683
- function _(r) {
683
+ function S(r) {
684
684
  if (o.value !== null && !(r !== void 0 && r.type === "blur" && document.activeElement === o.value)) {
685
685
  if (r !== void 0 && r.type === "keyup") {
686
686
  if (O === o.value && W(r, [13, 32]) === !0) {
687
687
  const m = new MouseEvent("click", r);
688
- m.qKeyEvent = !0, r.defaultPrevented === !0 && Ye(m), r.cancelBubble === !0 && be(m), o.value.dispatchEvent(m), M(r), r.qKeyEvent = !0;
688
+ m.qKeyEvent = !0, r.defaultPrevented === !0 && Ge(m), r.cancelBubble === !0 && be(m), o.value.dispatchEvent(m), M(r), r.qKeyEvent = !0;
689
689
  }
690
690
  a("keyup", r);
691
691
  }
@@ -694,7 +694,7 @@ const pt = J({
694
694
  }
695
695
  function A(r) {
696
696
  const m = y.value;
697
- r !== !0 && (T === o.value || z === o.value) && m !== null && m !== document.activeElement && (m.setAttribute("tabindex", -1), m.focus()), T === o.value && (p !== null && (p.removeEventListener("touchcancel", _, L), p.removeEventListener("touchend", _, L)), T = p = null), z === o.value && (document.removeEventListener("mouseup", _, L), z = null), O === o.value && (document.removeEventListener("keyup", _, !0), o.value !== null && o.value.removeEventListener("blur", _, L), O = null), o.value !== null && o.value.classList.remove("q-btn--active");
697
+ r !== !0 && (T === o.value || z === o.value) && m !== null && m !== document.activeElement && (m.setAttribute("tabindex", -1), m.focus()), T === o.value && (p !== null && (p.removeEventListener("touchcancel", S, L), p.removeEventListener("touchend", S, L)), T = p = null), z === o.value && (document.removeEventListener("mouseup", S, L), z = null), O === o.value && (document.removeEventListener("keyup", S, !0), o.value !== null && o.value.removeEventListener("blur", S, L), O = null), o.value !== null && o.value.classList.remove("q-btn--active");
698
698
  }
699
699
  function j(r) {
700
700
  M(r), r.qSkipRipple = !0;
@@ -768,11 +768,11 @@ const pt = J({
768
768
  }), bt = /* @__PURE__ */ X({
769
769
  __name: "index",
770
770
  props: {
771
- size: { default: R.MD },
771
+ size: { default: B.MD },
772
772
  transparent: { type: Boolean },
773
773
  flat: { type: Boolean },
774
774
  rounded: { type: Boolean },
775
- color: { default: Pe.PRIMARY },
775
+ color: { default: we.PRIMARY },
776
776
  iconLeft: {},
777
777
  iconRight: {},
778
778
  iconMiddle: {},
@@ -794,20 +794,20 @@ const pt = J({
794
794
  "app-btn_trans": t.transparent,
795
795
  "app-btn_flat": t.flat,
796
796
  "app-btn_rounded": t.rounded,
797
- "app-btn_sm": t.size === R.SM,
798
- "app-btn_md": t.size === R.MD,
799
- "app-btn_lg": t.size === R.LG,
797
+ "app-btn_sm": t.size === B.SM,
798
+ "app-btn_md": t.size === B.MD,
799
+ "app-btn_lg": t.size === B.LG,
800
800
  "app-btn_icon-left": t.iconLeft,
801
801
  "app-btn_icon-right": t.iconRight,
802
802
  "app-btn_icon-middle": t.iconMiddle
803
803
  },
804
804
  `app-btn_${t.color}`
805
805
  ]);
806
- return (n, i) => (I(), Ee(U(pt), {
806
+ return (n, i) => (I(), Ee(Y(pt), {
807
807
  "no-caps": "",
808
808
  unelevated: "",
809
809
  class: V(a.value),
810
- padding: U(we)[n.size || U(R).MD],
810
+ padding: Y(Pe)[n.size || Y(B).MD],
811
811
  loading: n.loading,
812
812
  disable: n.disabled || void 0,
813
813
  to: n.to,
@@ -826,11 +826,11 @@ const pt = J({
826
826
  `icon-kl-${n.iconLeft || n.iconMiddle}`,
827
827
  n.transparent || n.flat ? `text-${n.color}` : "text-secondary"
828
828
  ])
829
- }, null, 2)) : Y("", !0),
829
+ }, null, 2)) : G("", !0),
830
830
  Ce(n.$slots, "default", {}, void 0, !0),
831
- n.label ? (I(), F(_e, { key: 1 }, [
832
- Se(Be(n.label), 1)
833
- ], 64)) : Y("", !0),
831
+ n.label ? (I(), F(Se, { key: 1 }, [
832
+ _e(Re(n.label), 1)
833
+ ], 64)) : G("", !0),
834
834
  n.iconRight ? (I(), F("i", {
835
835
  key: 2,
836
836
  class: V([
@@ -839,7 +839,7 @@ const pt = J({
839
839
  `icon-kl-${n.iconRight}`,
840
840
  n.transparent ? `text-${n.color}` : "text-secondary"
841
841
  ])
842
- }, null, 2)) : Y("", !0)
842
+ }, null, 2)) : G("", !0)
843
843
  ]),
844
844
  _: 3
845
845
  }, 8, ["class", "padding", "loading", "disable", "to", "href", "target", "type", "aria-label"]));
@@ -849,7 +849,7 @@ const pt = J({
849
849
  for (const [n, i] of t)
850
850
  a[n] = i;
851
851
  return a;
852
- }, kt = /* @__PURE__ */ ye(bt, [["__scopeId", "data-v-2e62fe83"]]), ht = /* @__PURE__ */ X({
852
+ }, kt = /* @__PURE__ */ ye(bt, [["__scopeId", "data-v-ac94630a"]]), ht = /* @__PURE__ */ X({
853
853
  __name: "index",
854
854
  props: {
855
855
  name: {},
@@ -859,15 +859,15 @@ const pt = J({
859
859
  setup(e) {
860
860
  return (t, a) => (I(), F("i", {
861
861
  class: V(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
862
- style: Re(t.size ? `font-size: ${t.size}` : void 0)
862
+ style: Be(t.size ? `font-size: ${t.size}` : void 0)
863
863
  }, null, 6));
864
864
  }
865
865
  }), $t = /* @__PURE__ */ ye(ht, [["__scopeId", "data-v-73419357"]]), qt = xe(
866
- () => import("./index-CwwUABdd.js")
866
+ () => import("./index-ChN-hiVg.js")
867
867
  );
868
868
  export {
869
869
  kt as A,
870
- Pe as C,
870
+ we as C,
871
871
  qt as a,
872
872
  $t as i
873
873
  };
@@ -1,5 +1,5 @@
1
1
  import { ref as b, reactive as v, defineComponent as h, openBlock as x, createBlock as k, unref as y, mergeProps as g, withModifiers as O } from "vue";
2
- import { A as C, C as P } from "./index-B9RCyE8G.js";
2
+ import { A as C, C as P } from "./index-CahnauxT.js";
3
3
  function M(o, i, t, r) {
4
4
  return Object.defineProperty(o, i, {
5
5
  get: t,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),p=require("./index-DE-1xUzC.cjs");function h(o,i,t,r){return Object.defineProperty(o,i,{get:t,set:r,enumerable:!0}),o}const l=a.ref(!1);let u;function x(o,i){const t=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(o)||/(opr)[\/]([\w.]+)/.exec(o)||/(vivaldi)[\/]([\w.]+)/.exec(o)||/(chrome|crios)[\/]([\w.]+)/.exec(o)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(o)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(o)||/(firefox|fxios)[\/]([\w.]+)/.exec(o)||/(webkit)[\/]([\w.]+)/.exec(o)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(o)||[];return{browser:t[5]||t[3]||t[1]||"",version:t[4]||t[2]||"0",platform:i[0]||""}}function k(o){return/(ipad)/.exec(o)||/(ipod)/.exec(o)||/(windows phone)/.exec(o)||/(iphone)/.exec(o)||/(kindle)/.exec(o)||/(silk)/.exec(o)||/(android)/.exec(o)||/(win)/.exec(o)||/(mac)/.exec(o)||/(linux)/.exec(o)||/(cros)/.exec(o)||/(playbook)/.exec(o)||/(bb)/.exec(o)||/(blackberry)/.exec(o)||[]}const m="ontouchstart"in window||window.navigator.maxTouchPoints>0;function y(o){const i=o.toLowerCase(),t=k(i),r=x(i,t),e={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};r.browser&&(e[r.browser]=!0,e.version=r.version,e.versionNumber=parseInt(r.version,10)),r.platform&&(e[r.platform]=!0);const s=e.android||e.ios||e.bb||e.blackberry||e.ipad||e.iphone||e.ipod||e.kindle||e.playbook||e.silk||e["windows phone"];if(s===!0||i.indexOf("mobile")!==-1?e.mobile=!0:e.desktop=!0,e["windows phone"]&&(e.winphone=!0,delete e["windows phone"]),e.edga||e.edgios||e.edg?(e.edge=!0,r.browser="edge"):e.crios?(e.chrome=!0,r.browser="chrome"):e.fxios&&(e.firefox=!0,r.browser="firefox"),(e.ipod||e.ipad||e.iphone)&&(e.ios=!0),e.vivaldi&&(r.browser="vivaldi",e.vivaldi=!0),(e.chrome||e.opr||e.safari||e.vivaldi||e.mobile===!0&&e.ios!==!0&&s!==!0)&&(e.webkit=!0),e.opr&&(r.browser="opera",e.opera=!0),e.safari&&(e.blackberry||e.bb?(r.browser="blackberry",e.blackberry=!0):e.playbook?(r.browser="playbook",e.playbook=!0):e.android?(r.browser="android",e.android=!0):e.kindle?(r.browser="kindle",e.kindle=!0):e.silk&&(r.browser="silk",e.silk=!0)),e.name=r.browser,e.platform=r.platform,i.indexOf("electron")!==-1)e.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)e.bex=!0;else{if(window.Capacitor!==void 0?(e.capacitor=!0,e.nativeMobile=!0,e.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(e.cordova=!0,e.nativeMobile=!0,e.nativeMobileWrapper="cordova"),l.value===!0&&(u={is:{...e}}),m===!0&&e.mac===!0&&(e.desktop===!0&&e.safari===!0||e.nativeMobile===!0&&e.android!==!0&&e.ios!==!0&&e.ipad!==!0)){delete e.mac,delete e.desktop;const d=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:d,[d]:!0})}e.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete e.desktop,e.mobile=!0)}return e}const b=navigator.userAgent||navigator.vendor||window.opera,g={has:{touch:!1,webStorage:!1},within:{iframe:!1}},c={userAgent:b,is:y(b),has:{touch:m},within:{iframe:window.self!==window.top}},w={install(o){const{$q:i}=o;l.value===!0?(o.onSSRHydrated.push(()=>{Object.assign(i.platform,c),l.value=!1}),i.platform=a.reactive(this)):i.platform=this}};{let o;h(c.has,"webStorage",()=>{if(o!==void 0)return o;try{if(window.localStorage)return o=!0,!0}catch{}return o=!1,!1}),Object.assign(w,c),l.value===!0&&(Object.assign(w,u,g),u=null)}const n=[];function v(o){n[n.length-1](o)}function O(o){c.is.desktop===!0&&(n.push(o),n.length===1&&document.body.addEventListener("focusin",v))}function C(o){const i=n.indexOf(o);i!==-1&&(n.splice(i,1),n.length===0&&document.body.removeEventListener("focusin",v))}function P(o){const i=document.createElement("textarea");i.value=o,i.contentEditable="true",i.style.position="fixed";const t=()=>{};O(t),document.body.appendChild(i),i.focus(),i.select();const r=document.execCommand("copy");return i.remove(),C(t),r}function M(o){return navigator.clipboard!==void 0?navigator.clipboard.writeText(o):new Promise((i,t)=>{const r=P(o);r?i(!0):t(r)})}const f={COPY:"copy_o",COPIED:"copied_o"},S=a.defineComponent({__name:"index",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:p.COLORS.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},setup(o){const i=o,t=a.ref(f.COPY),r=()=>{t.value=f.COPIED,setTimeout(()=>{t.value=f.COPY},2e3)},e=()=>{M(i.text).then(r).catch(s=>{console.log(s)})};return(s,d)=>(a.openBlock(),a.createBlock(a.unref(p.AppButton),a.mergeProps(i,{"icon-middle":t.value,onClick:a.withModifiers(e,["prevent"])}),null,16,["icon-middle"]))}});exports.default=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),p=require("./index-CVNghYQb.cjs");function h(o,i,t,r){return Object.defineProperty(o,i,{get:t,set:r,enumerable:!0}),o}const l=a.ref(!1);let u;function x(o,i){const t=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(o)||/(opr)[\/]([\w.]+)/.exec(o)||/(vivaldi)[\/]([\w.]+)/.exec(o)||/(chrome|crios)[\/]([\w.]+)/.exec(o)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(o)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(o)||/(firefox|fxios)[\/]([\w.]+)/.exec(o)||/(webkit)[\/]([\w.]+)/.exec(o)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(o)||[];return{browser:t[5]||t[3]||t[1]||"",version:t[4]||t[2]||"0",platform:i[0]||""}}function k(o){return/(ipad)/.exec(o)||/(ipod)/.exec(o)||/(windows phone)/.exec(o)||/(iphone)/.exec(o)||/(kindle)/.exec(o)||/(silk)/.exec(o)||/(android)/.exec(o)||/(win)/.exec(o)||/(mac)/.exec(o)||/(linux)/.exec(o)||/(cros)/.exec(o)||/(playbook)/.exec(o)||/(bb)/.exec(o)||/(blackberry)/.exec(o)||[]}const m="ontouchstart"in window||window.navigator.maxTouchPoints>0;function y(o){const i=o.toLowerCase(),t=k(i),r=x(i,t),e={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};r.browser&&(e[r.browser]=!0,e.version=r.version,e.versionNumber=parseInt(r.version,10)),r.platform&&(e[r.platform]=!0);const s=e.android||e.ios||e.bb||e.blackberry||e.ipad||e.iphone||e.ipod||e.kindle||e.playbook||e.silk||e["windows phone"];if(s===!0||i.indexOf("mobile")!==-1?e.mobile=!0:e.desktop=!0,e["windows phone"]&&(e.winphone=!0,delete e["windows phone"]),e.edga||e.edgios||e.edg?(e.edge=!0,r.browser="edge"):e.crios?(e.chrome=!0,r.browser="chrome"):e.fxios&&(e.firefox=!0,r.browser="firefox"),(e.ipod||e.ipad||e.iphone)&&(e.ios=!0),e.vivaldi&&(r.browser="vivaldi",e.vivaldi=!0),(e.chrome||e.opr||e.safari||e.vivaldi||e.mobile===!0&&e.ios!==!0&&s!==!0)&&(e.webkit=!0),e.opr&&(r.browser="opera",e.opera=!0),e.safari&&(e.blackberry||e.bb?(r.browser="blackberry",e.blackberry=!0):e.playbook?(r.browser="playbook",e.playbook=!0):e.android?(r.browser="android",e.android=!0):e.kindle?(r.browser="kindle",e.kindle=!0):e.silk&&(r.browser="silk",e.silk=!0)),e.name=r.browser,e.platform=r.platform,i.indexOf("electron")!==-1)e.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)e.bex=!0;else{if(window.Capacitor!==void 0?(e.capacitor=!0,e.nativeMobile=!0,e.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(e.cordova=!0,e.nativeMobile=!0,e.nativeMobileWrapper="cordova"),l.value===!0&&(u={is:{...e}}),m===!0&&e.mac===!0&&(e.desktop===!0&&e.safari===!0||e.nativeMobile===!0&&e.android!==!0&&e.ios!==!0&&e.ipad!==!0)){delete e.mac,delete e.desktop;const d=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:d,[d]:!0})}e.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete e.desktop,e.mobile=!0)}return e}const b=navigator.userAgent||navigator.vendor||window.opera,g={has:{touch:!1,webStorage:!1},within:{iframe:!1}},c={userAgent:b,is:y(b),has:{touch:m},within:{iframe:window.self!==window.top}},w={install(o){const{$q:i}=o;l.value===!0?(o.onSSRHydrated.push(()=>{Object.assign(i.platform,c),l.value=!1}),i.platform=a.reactive(this)):i.platform=this}};{let o;h(c.has,"webStorage",()=>{if(o!==void 0)return o;try{if(window.localStorage)return o=!0,!0}catch{}return o=!1,!1}),Object.assign(w,c),l.value===!0&&(Object.assign(w,u,g),u=null)}const n=[];function v(o){n[n.length-1](o)}function O(o){c.is.desktop===!0&&(n.push(o),n.length===1&&document.body.addEventListener("focusin",v))}function C(o){const i=n.indexOf(o);i!==-1&&(n.splice(i,1),n.length===0&&document.body.removeEventListener("focusin",v))}function P(o){const i=document.createElement("textarea");i.value=o,i.contentEditable="true",i.style.position="fixed";const t=()=>{};O(t),document.body.appendChild(i),i.focus(),i.select();const r=document.execCommand("copy");return i.remove(),C(t),r}function M(o){return navigator.clipboard!==void 0?navigator.clipboard.writeText(o):new Promise((i,t)=>{const r=P(o);r?i(!0):t(r)})}const f={COPY:"copy_o",COPIED:"copied_o"},S=a.defineComponent({__name:"index",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:p.COLORS.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},setup(o){const i=o,t=a.ref(f.COPY),r=()=>{t.value=f.COPIED,setTimeout(()=>{t.value=f.COPY},2e3)},e=()=>{M(i.text).then(r).catch(s=>{console.log(s)})};return(s,d)=>(a.openBlock(),a.createBlock(a.unref(p.AppButton),a.mergeProps(i,{"icon-middle":t.value,onClick:a.withModifiers(e,["prevent"])}),null,16,["icon-middle"]))}});exports.default=S;
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .app-btn[data-v-2e62fe83] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-2e62fe83]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-2e62fe83] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-2e62fe83]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-2e62fe83]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-2e62fe83]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-2e62fe83]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-2e62fe83]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-2e62fe83]{padding:4px!important}.app-btn_md[data-v-2e62fe83]{font-size:14px;border-radius:8px}.app-btn_md[data-v-2e62fe83] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-2e62fe83]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-2e62fe83]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-2e62fe83]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-2e62fe83]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-2e62fe83]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-2e62fe83]{padding:5px!important}.app-btn_lg[data-v-2e62fe83]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-2e62fe83] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-2e62fe83]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-2e62fe83]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-2e62fe83]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-2e62fe83]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-2e62fe83]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-2e62fe83]{padding:11px!important}.app-btn_primary[data-v-2e62fe83]{color:#1a5cff}.app-btn_info[data-v-2e62fe83]{color:#399}.app-btn_negative[data-v-2e62fe83]{color:#ff4757}.app-btn_positive[data-v-2e62fe83]{color:#46c93a}.app-btn_default.app-btn_primary[data-v-2e62fe83]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-2e62fe83]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-2e62fe83]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-2e62fe83]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-2e62fe83]{background-color:#1a5cff26}.app-btn_trans.app-btn_info[data-v-2e62fe83]{background-color:#33999926}.app-btn_trans.app-btn_negative[data-v-2e62fe83]{background-color:#ff475726}.app-btn_trans.app-btn_positive[data-v-2e62fe83]{background-color:#46c93a26}.app-btn_flat[data-v-2e62fe83]{background-color:transparent}.app-btn_flat:hover.app-btn_primary[data-v-2e62fe83]{background-color:#1a5cff05}.app-btn_flat:hover.app-btn_info[data-v-2e62fe83]{background-color:#33999905}.app-btn_flat:hover.app-btn_negative[data-v-2e62fe83]{background-color:#ff475705}.app-btn_flat:hover.app-btn_positive[data-v-2e62fe83]{background-color:#46c93a05}.app-btn_rounded[data-v-2e62fe83]{border-radius:50px}.icon-kl[data-v-73419357]{font-size:24px}
1
+ .q-menu{background:#fdfffc40;border-radius:14px;box-shadow:2px 2px 8px #1e1e1e14;border-top:1px solid rgba(253,255,252,.6);border-left:1px solid rgba(253,255,252,.6);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.q-menu .q-item{padding:8px 14px;color:#1e1e1e}.q-menu .q-item:not(:last-child){border-bottom:1px solid rgba(30,30,30,.05)}.q-menu .q-item :hover .q-item__label{color:#1a5cff}.q-menu .q-item .q-focus-helper{display:none}.app-btn[data-v-ac94630a] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-ac94630a]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-ac94630a] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-ac94630a]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-ac94630a]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-ac94630a]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-ac94630a]{padding:4px!important}.app-btn_md[data-v-ac94630a]{font-size:14px;border-radius:8px}.app-btn_md[data-v-ac94630a] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-ac94630a]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-ac94630a]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-ac94630a]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-ac94630a]{padding:5px!important}.app-btn_lg[data-v-ac94630a]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-ac94630a] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-ac94630a]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-ac94630a]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-ac94630a]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-ac94630a]{padding:11px!important}.app-btn_primary[data-v-ac94630a]{color:#1a5cff}.app-btn_info[data-v-ac94630a]{color:#399}.app-btn_negative[data-v-ac94630a]{color:#ff4757}.app-btn_positive[data-v-ac94630a]{color:#46c93a}.app-btn_default.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-ac94630a]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-ac94630a]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-ac94630a]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff26}.app-btn_trans.app-btn_info[data-v-ac94630a]{background-color:#33999926}.app-btn_trans.app-btn_negative[data-v-ac94630a]{background-color:#ff475726}.app-btn_trans.app-btn_positive[data-v-ac94630a]{background-color:#46c93a26}.app-btn_flat[data-v-ac94630a]{background-color:transparent}.app-btn_flat:hover.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff05}.app-btn_flat:hover.app-btn_info[data-v-ac94630a]{background-color:#33999905}.app-btn_flat:hover.app-btn_negative[data-v-ac94630a]{background-color:#ff475705}.app-btn_flat:hover.app-btn_positive[data-v-ac94630a]{background-color:#46c93a05}.app-btn_rounded[data-v-ac94630a]{border-radius:50px}.icon-kl[data-v-73419357]{font-size:24px}
package/dist/uikit.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const t=require("./index-DE-1xUzC.cjs");exports.AppButton=t.AppButton;exports.AppButtonCopy=t.AppButtonCopy;exports.AppIcon=t.index;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-CVNghYQb.cjs");require("vue");exports.AppButton=t.AppButton;exports.AppButtonCopy=t.AppButtonCopy;exports.AppIcon=t.index;
package/dist/uikit.es.js CHANGED
@@ -1,5 +1,5 @@
1
+ import { A as a, a as A, i as n } from "./index-CahnauxT.js";
1
2
  import "vue";
2
- import { A as a, a as A, i as n } from "./index-B9RCyE8G.js";
3
3
  export {
4
4
  a as AppButton,
5
5
  A as AppButtonCopy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@validol4ik/uikit",
3
- "version": "0.2.17",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/uikit.cjs",
6
6
  "module": "./dist/uikit.es.js",
@@ -1,7 +0,0 @@
1
- import { Size } from '../types';
2
- declare const _default: {
3
- SM: Size;
4
- MD: Size;
5
- LG: Size;
6
- };
7
- export default _default;