@validol4ik/uikit 0.2.2 → 0.2.3

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.
@@ -11,10 +11,7 @@ declare const __VLS_component: import('vue').DefineComponent<AppButtonProps, {},
11
11
  click: (...args: any[]) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<AppButtonProps> & Readonly<{
13
13
  onClick?: ((...args: any[]) => any) | undefined;
14
- }>, {
15
- size: "sm" | "md" | "lg";
16
- color: import('../../types').Color;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
16
  export default _default;
20
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
- import { AppButtonProps } from './AppButton/types';
1
+ import { ButtonPaddings } from './AppButton/types';
2
2
  declare const _default: {
3
- SM: AppButtonProps["size"];
4
- MD: AppButtonProps["size"];
5
- LG: AppButtonProps["size"];
3
+ SM: keyof typeof ButtonPaddings;
4
+ MD: keyof typeof ButtonPaddings;
5
+ LG: keyof typeof ButtonPaddings;
6
6
  };
7
7
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),p=require("./index-7IDuiHaN.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},rounded:{type:Boolean},color:{default:p.COLORS.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:[Boolean,null]},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{}},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-T5AGm1HZ.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},rounded:{type:Boolean},color:{default:p.COLORS.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:[Boolean,null]},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{}},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,5 +1,5 @@
1
- import { computed as u, markRaw as de, defineComponent as W, getCurrentInstance as X, h as v, ref as J, onBeforeUnmount as $e, Transition as Ee, withDirectives as qe, openBlock as K, createBlock as _e, unref as Q, normalizeClass as V, withCtx as Ce, createElementBlock as Y, createCommentVNode as ee, renderSlot as Le, normalizeStyle as xe, defineAsyncComponent as Re } from "vue";
2
- const j = {
1
+ import { computed as c, markRaw as de, defineComponent as W, getCurrentInstance as X, h as v, ref as J, onBeforeUnmount as $e, Transition as Ee, withDirectives as qe, openBlock as V, createBlock as _e, unref as P, normalizeClass as F, withCtx as Ce, createElementBlock as Y, createCommentVNode as ee, renderSlot as xe, normalizeStyle as Le, defineAsyncComponent as Re } from "vue";
2
+ const I = {
3
3
  SM: "sm",
4
4
  MD: "md",
5
5
  LG: "lg"
@@ -21,7 +21,7 @@ const Se = {
21
21
  size: String
22
22
  };
23
23
  function me(e, t = G) {
24
- return u(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
24
+ return c(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
25
25
  }
26
26
  function Z(e) {
27
27
  return de(W(e));
@@ -32,7 +32,7 @@ function we(e) {
32
32
  function Be(e, t) {
33
33
  return e !== void 0 && e() || t;
34
34
  }
35
- function I(e, t) {
35
+ function N(e, t) {
36
36
  return e !== void 0 ? t.concat(e()) : t;
37
37
  }
38
38
  const te = "0 0 24 24", ne = (e) => e, U = (e) => `ionicons ${e}`, ge = {
@@ -51,11 +51,11 @@ const te = "0 0 24 24", ne = (e) => e, U = (e) => `ionicons ${e}`, ge = {
51
51
  o_: "-outlined",
52
52
  r_: "-round",
53
53
  s_: "-sharp"
54
- }, he = {
54
+ }, be = {
55
55
  sym_o_: "-outlined",
56
56
  sym_r_: "-rounded",
57
57
  sym_s_: "-sharp"
58
- }, Pe = new RegExp("^(" + Object.keys(ge).join("|") + ")"), Te = new RegExp("^(" + Object.keys(pe).join("|") + ")"), ae = new RegExp("^(" + Object.keys(he).join("|") + ")"), Me = /^[Mm]\s?[-+]?\.?\d/, Oe = /^img:/, Ae = /^svguse:/, ze = /^ion-/, je = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, re = Z({
58
+ }, Pe = new RegExp("^(" + Object.keys(ge).join("|") + ")"), Te = new RegExp("^(" + Object.keys(pe).join("|") + ")"), ae = new RegExp("^(" + Object.keys(be).join("|") + ")"), Me = /^[Mm]\s?[-+]?\.?\d/, Oe = /^img:/, Ae = /^svguse:/, ze = /^ion-/, je = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, re = Z({
59
59
  name: "QIcon",
60
60
  props: {
61
61
  ...ve,
@@ -69,91 +69,91 @@ const te = "0 0 24 24", ne = (e) => e, U = (e) => `ionicons ${e}`, ge = {
69
69
  right: Boolean
70
70
  },
71
71
  setup(e, { slots: t }) {
72
- const { proxy: { $q: a } } = X(), n = me(e), i = u(
72
+ const { proxy: { $q: a } } = X(), n = me(e), o = c(
73
73
  () => "q-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
74
- ), d = u(() => {
75
- let c, o = e.name;
76
- if (o === "none" || !o)
74
+ ), l = c(() => {
75
+ let s, r = e.name;
76
+ if (r === "none" || !r)
77
77
  return { none: !0 };
78
78
  if (a.iconMapFn !== null) {
79
- const s = a.iconMapFn(o);
80
- if (s !== void 0)
81
- if (s.icon !== void 0) {
82
- if (o = s.icon, o === "none" || !o)
79
+ const d = a.iconMapFn(r);
80
+ if (d !== void 0)
81
+ if (d.icon !== void 0) {
82
+ if (r = d.icon, r === "none" || !r)
83
83
  return { none: !0 };
84
84
  } else
85
85
  return {
86
- cls: s.cls,
87
- content: s.content !== void 0 ? s.content : " "
86
+ cls: d.cls,
87
+ content: d.content !== void 0 ? d.content : " "
88
88
  };
89
89
  }
90
- if (Me.test(o) === !0) {
91
- const [s, b = te] = o.split("|");
90
+ if (Me.test(r) === !0) {
91
+ const [d, h = te] = r.split("|");
92
92
  return {
93
93
  svg: !0,
94
- viewBox: b,
95
- nodes: s.split("&&").map((l) => {
96
- const [y, p, k] = l.split("@@");
94
+ viewBox: h,
95
+ nodes: d.split("&&").map((u) => {
96
+ const [y, p, k] = u.split("@@");
97
97
  return v("path", { style: p, d: y, transform: k });
98
98
  })
99
99
  };
100
100
  }
101
- if (Oe.test(o) === !0)
101
+ if (Oe.test(r) === !0)
102
102
  return {
103
103
  img: !0,
104
- src: o.substring(4)
104
+ src: r.substring(4)
105
105
  };
106
- if (Ae.test(o) === !0) {
107
- const [s, b = te] = o.split("|");
106
+ if (Ae.test(r) === !0) {
107
+ const [d, h = te] = r.split("|");
108
108
  return {
109
109
  svguse: !0,
110
- src: s.substring(7),
111
- viewBox: b
110
+ src: d.substring(7),
111
+ viewBox: h
112
112
  };
113
113
  }
114
114
  let E = " ";
115
- const h = o.match(Pe);
116
- if (h !== null)
117
- c = ge[h[1]](o);
118
- else if (je.test(o) === !0)
119
- c = o;
120
- else if (ze.test(o) === !0)
121
- c = `ionicons ion-${a.platform.is.ios === !0 ? "ios" : "md"}${o.substring(3)}`;
122
- else if (ae.test(o) === !0) {
123
- c = "notranslate material-symbols";
124
- const s = o.match(ae);
125
- s !== null && (o = o.substring(6), c += he[s[1]]), E = o;
115
+ const b = r.match(Pe);
116
+ if (b !== null)
117
+ s = ge[b[1]](r);
118
+ else if (je.test(r) === !0)
119
+ s = r;
120
+ else if (ze.test(r) === !0)
121
+ s = `ionicons ion-${a.platform.is.ios === !0 ? "ios" : "md"}${r.substring(3)}`;
122
+ else if (ae.test(r) === !0) {
123
+ s = "notranslate material-symbols";
124
+ const d = r.match(ae);
125
+ d !== null && (r = r.substring(6), s += be[d[1]]), E = r;
126
126
  } else {
127
- c = "notranslate material-icons";
128
- const s = o.match(Te);
129
- s !== null && (o = o.substring(2), c += pe[s[1]]), E = o;
127
+ s = "notranslate material-icons";
128
+ const d = r.match(Te);
129
+ d !== null && (r = r.substring(2), s += pe[d[1]]), E = r;
130
130
  }
131
131
  return {
132
- cls: c,
132
+ cls: s,
133
133
  content: E
134
134
  };
135
135
  });
136
136
  return () => {
137
- const c = {
138
- class: i.value,
137
+ const s = {
138
+ class: o.value,
139
139
  style: n.value,
140
140
  "aria-hidden": "true",
141
141
  role: "presentation"
142
142
  };
143
- return d.value.none === !0 ? v(e.tag, c, Be(t.default)) : d.value.img === !0 ? v(e.tag, c, I(t.default, [
144
- v("img", { src: d.value.src })
145
- ])) : d.value.svg === !0 ? v(e.tag, c, I(t.default, [
143
+ return l.value.none === !0 ? v(e.tag, s, Be(t.default)) : l.value.img === !0 ? v(e.tag, s, N(t.default, [
144
+ v("img", { src: l.value.src })
145
+ ])) : l.value.svg === !0 ? v(e.tag, s, N(t.default, [
146
146
  v("svg", {
147
- viewBox: d.value.viewBox || "0 0 24 24"
148
- }, d.value.nodes)
149
- ])) : d.value.svguse === !0 ? v(e.tag, c, I(t.default, [
147
+ viewBox: l.value.viewBox || "0 0 24 24"
148
+ }, l.value.nodes)
149
+ ])) : l.value.svguse === !0 ? v(e.tag, s, N(t.default, [
150
150
  v("svg", {
151
- viewBox: d.value.viewBox
151
+ viewBox: l.value.viewBox
152
152
  }, [
153
- v("use", { "xlink:href": d.value.src })
153
+ v("use", { "xlink:href": l.value.src })
154
154
  ])
155
- ])) : (d.value.cls !== void 0 && (c.class += " " + d.value.cls), v(e.tag, c, I(t.default, [
156
- d.value.content
155
+ ])) : (l.value.cls !== void 0 && (s.class += " " + l.value.cls), v(e.tag, s, N(t.default, [
156
+ l.value.content
157
157
  ])));
158
158
  };
159
159
  }
@@ -166,8 +166,8 @@ const te = "0 0 24 24", ne = (e) => e, U = (e) => `ionicons ${e}`, ge = {
166
166
  };
167
167
  function Ne(e) {
168
168
  return {
169
- cSize: u(() => e.size in G ? `${G[e.size]}px` : e.size),
170
- classes: u(
169
+ cSize: c(() => e.size in G ? `${G[e.size]}px` : e.size),
170
+ classes: c(
171
171
  () => "q-spinner" + (e.color ? ` text-${e.color}` : "")
172
172
  )
173
173
  };
@@ -207,7 +207,7 @@ function Ke(e, t) {
207
207
  for (const n in t)
208
208
  a[n] = t[n];
209
209
  }
210
- const F = {
210
+ const Q = {
211
211
  hasPassive: !1,
212
212
  passiveCapture: !0,
213
213
  notPassiveCapture: !0
@@ -215,7 +215,7 @@ const F = {
215
215
  try {
216
216
  const e = Object.defineProperty({}, "passive", {
217
217
  get() {
218
- Object.assign(F, {
218
+ Object.assign(Q, {
219
219
  hasPassive: !0,
220
220
  passive: { passive: !0 },
221
221
  notPassive: { passive: !1 },
@@ -233,25 +233,25 @@ function Ve(e) {
233
233
  left: e.clientX
234
234
  };
235
235
  }
236
- function be(e) {
236
+ function he(e) {
237
237
  e.stopPropagation();
238
238
  }
239
239
  function Fe(e) {
240
240
  e.cancelable !== !1 && e.preventDefault();
241
241
  }
242
- function P(e) {
242
+ function T(e) {
243
243
  e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
244
244
  }
245
245
  function Qe(e, t, a) {
246
246
  const n = `__q_${t}_evt`;
247
- e[n] = e[n] !== void 0 ? e[n].concat(a) : a, a.forEach((i) => {
248
- i[0].addEventListener(i[1], e[i[2]], F[i[3]]);
247
+ e[n] = e[n] !== void 0 ? e[n].concat(a) : a, a.forEach((o) => {
248
+ o[0].addEventListener(o[1], e[o[2]], Q[o[3]]);
249
249
  });
250
250
  }
251
251
  function Ue(e, t) {
252
252
  const a = `__q_${t}_evt`;
253
253
  e[a] !== void 0 && (e[a].forEach((n) => {
254
- n[0].removeEventListener(n[1], e[n[2]], F[n[3]]);
254
+ n[0].removeEventListener(n[1], e[n[2]], Q[n[3]]);
255
255
  }), e[a] = void 0);
256
256
  }
257
257
  function Ye(e) {
@@ -269,37 +269,37 @@ function Ge(e, t = 250) {
269
269
  };
270
270
  }
271
271
  function ie(e, t, a, n) {
272
- a.modifiers.stop === !0 && be(e);
273
- const i = a.modifiers.color;
274
- let d = a.modifiers.center;
275
- d = d === !0 || n === !0;
276
- const c = document.createElement("span"), o = document.createElement("span"), E = Ve(e), { left: h, top: s, width: b, height: l } = t.getBoundingClientRect(), y = Math.sqrt(b * b + l * l), p = y / 2, k = `${(b - y) / 2}px`, f = d ? k : `${E.left - h - p}px`, $ = `${(l - y) / 2}px`, B = d ? $ : `${E.top - s - p}px`;
277
- o.className = "q-ripple__inner", Ke(o, {
272
+ a.modifiers.stop === !0 && he(e);
273
+ const o = a.modifiers.color;
274
+ let l = a.modifiers.center;
275
+ l = l === !0 || n === !0;
276
+ const s = document.createElement("span"), r = document.createElement("span"), E = Ve(e), { left: b, top: d, width: h, height: u } = t.getBoundingClientRect(), y = Math.sqrt(h * h + u * u), p = y / 2, k = `${(h - y) / 2}px`, f = l ? k : `${E.left - b - p}px`, $ = `${(u - y) / 2}px`, B = l ? $ : `${E.top - d - p}px`;
277
+ r.className = "q-ripple__inner", Ke(r, {
278
278
  height: `${y}px`,
279
279
  width: `${y}px`,
280
280
  transform: `translate3d(${f},${B},0) scale3d(.2,.2,1)`,
281
281
  opacity: 0
282
- }), c.className = `q-ripple${i ? " text-" + i : ""}`, c.setAttribute("dir", "ltr"), c.appendChild(o), t.appendChild(c);
282
+ }), s.className = `q-ripple${o ? " text-" + o : ""}`, s.setAttribute("dir", "ltr"), s.appendChild(r), t.appendChild(s);
283
283
  const S = () => {
284
- c.remove(), clearTimeout(w);
284
+ s.remove(), clearTimeout(w);
285
285
  };
286
286
  a.abort.push(S);
287
287
  let w = setTimeout(() => {
288
- o.classList.add("q-ripple__inner--enter"), o.style.transform = `translate3d(${k},${$},0) scale3d(1,1,1)`, o.style.opacity = 0.2, w = setTimeout(() => {
289
- o.classList.remove("q-ripple__inner--enter"), o.classList.add("q-ripple__inner--leave"), o.style.opacity = 0, w = setTimeout(() => {
290
- c.remove(), a.abort.splice(a.abort.indexOf(S), 1);
288
+ r.classList.add("q-ripple__inner--enter"), r.style.transform = `translate3d(${k},${$},0) scale3d(1,1,1)`, r.style.opacity = 0.2, w = setTimeout(() => {
289
+ r.classList.remove("q-ripple__inner--enter"), r.classList.add("q-ripple__inner--leave"), r.style.opacity = 0, w = setTimeout(() => {
290
+ s.remove(), a.abort.splice(a.abort.indexOf(S), 1);
291
291
  }, 275);
292
292
  }, 250);
293
293
  }, 50);
294
294
  }
295
295
  function oe(e, { modifiers: t, value: a, arg: n }) {
296
- const i = Object.assign({}, e.cfg.ripple, t, a);
296
+ const o = Object.assign({}, e.cfg.ripple, t, a);
297
297
  e.modifiers = {
298
- early: i.early === !0,
299
- stop: i.stop === !0,
300
- center: i.center === !0,
301
- color: i.color || n,
302
- keyCodes: [].concat(i.keyCodes || 13)
298
+ early: o.early === !0,
299
+ stop: o.stop === !0,
300
+ center: o.center === !0,
301
+ color: o.color || n,
302
+ keyCodes: [].concat(o.keyCodes || 13)
303
303
  };
304
304
  }
305
305
  const He = we(
@@ -314,11 +314,11 @@ const He = we(
314
314
  enabled: t.value !== !1,
315
315
  modifiers: {},
316
316
  abort: [],
317
- start(i) {
318
- n.enabled === !0 && i.qSkipRipple !== !0 && i.type === (n.modifiers.early === !0 ? "pointerdown" : "click") && ie(i, e, n, i.qKeyEvent === !0);
317
+ start(o) {
318
+ n.enabled === !0 && o.qSkipRipple !== !0 && o.type === (n.modifiers.early === !0 ? "pointerdown" : "click") && ie(o, e, n, o.qKeyEvent === !0);
319
319
  },
320
- keystart: Ge((i) => {
321
- n.enabled === !0 && i.qSkipRipple !== !0 && H(i, n.modifiers.keyCodes) === !0 && i.type === `key${n.modifiers.early === !0 ? "down" : "up"}` && ie(i, e, n, !0);
320
+ keystart: Ge((o) => {
321
+ n.enabled === !0 && o.qSkipRipple !== !0 && H(o, n.modifiers.keyCodes) === !0 && o.type === `key${n.modifiers.early === !0 ? "down" : "up"}` && ie(o, e, n, !0);
322
322
  }, 300)
323
323
  };
324
324
  oe(n, t), e.__qripple = n, Qe(n, "main", [
@@ -356,7 +356,7 @@ const He = we(
356
356
  }
357
357
  };
358
358
  function Ze(e) {
359
- return u(() => {
359
+ return c(() => {
360
360
  const t = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
361
361
  return `${e.vertical === !0 ? "items" : "justify"}-${ye[t]}`;
362
362
  });
@@ -372,11 +372,11 @@ function ue(e, t) {
372
372
  }
373
373
  function et(e, t) {
374
374
  for (const a in t) {
375
- const n = t[a], i = e[a];
375
+ const n = t[a], o = e[a];
376
376
  if (typeof n == "string") {
377
- if (n !== i)
377
+ if (n !== o)
378
378
  return !1;
379
- } else if (Array.isArray(i) === !1 || i.length !== n.length || n.some((d, c) => d !== i[c]))
379
+ } else if (Array.isArray(o) === !1 || o.length !== n.length || n.some((l, s) => l !== o[s]))
380
380
  return !1;
381
381
  }
382
382
  return !0;
@@ -406,50 +406,50 @@ const at = {
406
406
  disable: Boolean
407
407
  };
408
408
  function rt({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
409
- const a = X(), { props: n, proxy: i, emit: d } = a, c = Je(a), o = u(() => n.disable !== !0 && n.href !== void 0), E = t === !0 ? u(
410
- () => c === !0 && n.disable !== !0 && o.value !== !0 && n.to !== void 0 && n.to !== null && n.to !== ""
411
- ) : u(
412
- () => c === !0 && o.value !== !0 && n.to !== void 0 && n.to !== null && n.to !== ""
413
- ), h = u(() => E.value === !0 ? B(n.to) : null), s = u(() => h.value !== null), b = u(() => o.value === !0 || s.value === !0), l = u(() => n.type === "a" || b.value === !0 ? "a" : n.tag || e || "div"), y = u(() => o.value === !0 ? {
409
+ const a = X(), { props: n, proxy: o, emit: l } = a, s = Je(a), r = c(() => n.disable !== !0 && n.href !== void 0), E = t === !0 ? c(
410
+ () => s === !0 && n.disable !== !0 && r.value !== !0 && n.to !== void 0 && n.to !== null && n.to !== ""
411
+ ) : c(
412
+ () => s === !0 && r.value !== !0 && n.to !== void 0 && n.to !== null && n.to !== ""
413
+ ), b = c(() => E.value === !0 ? B(n.to) : null), d = c(() => b.value !== null), h = c(() => r.value === !0 || d.value === !0), u = c(() => n.type === "a" || h.value === !0 ? "a" : n.tag || e || "div"), y = c(() => r.value === !0 ? {
414
414
  href: n.href,
415
415
  target: n.target
416
- } : s.value === !0 ? {
417
- href: h.value.href,
416
+ } : d.value === !0 ? {
417
+ href: b.value.href,
418
418
  target: n.target
419
- } : {}), p = u(() => {
420
- if (s.value === !1)
419
+ } : {}), p = c(() => {
420
+ if (d.value === !1)
421
421
  return -1;
422
- const { matched: m } = h.value, { length: q } = m, C = m[q - 1];
422
+ const { matched: m } = b.value, { length: q } = m, C = m[q - 1];
423
423
  if (C === void 0)
424
424
  return -1;
425
- const x = i.$route.matched;
426
- if (x.length === 0)
425
+ const L = o.$route.matched;
426
+ if (L.length === 0)
427
427
  return -1;
428
- const R = x.findIndex(
428
+ const R = L.findIndex(
429
429
  ue.bind(null, C)
430
430
  );
431
431
  if (R !== -1)
432
432
  return R;
433
- const N = le(m[q - 2]);
433
+ const D = le(m[q - 2]);
434
434
  return (
435
435
  // we are dealing with nested routes
436
- q > 1 && le(C) === N && x[x.length - 1].path !== N ? x.findIndex(
436
+ q > 1 && le(C) === D && L[L.length - 1].path !== D ? L.findIndex(
437
437
  ue.bind(null, m[q - 2])
438
438
  ) : R
439
439
  );
440
- }), k = u(
441
- () => s.value === !0 && p.value !== -1 && et(i.$route.params, h.value.params)
442
- ), f = u(
443
- () => k.value === !0 && p.value === i.$route.matched.length - 1 && nt(i.$route.params, h.value.params)
444
- ), $ = u(() => s.value === !0 ? f.value === !0 ? ` ${n.exactActiveClass} ${n.activeClass}` : n.exact === !0 ? "" : k.value === !0 ? ` ${n.activeClass}` : "" : "");
440
+ }), k = c(
441
+ () => d.value === !0 && p.value !== -1 && et(o.$route.params, b.value.params)
442
+ ), f = c(
443
+ () => k.value === !0 && p.value === o.$route.matched.length - 1 && nt(o.$route.params, b.value.params)
444
+ ), $ = c(() => d.value === !0 ? f.value === !0 ? ` ${n.exactActiveClass} ${n.activeClass}` : n.exact === !0 ? "" : k.value === !0 ? ` ${n.activeClass}` : "" : "");
445
445
  function B(m) {
446
446
  try {
447
- return i.$router.resolve(m);
447
+ return o.$router.resolve(m);
448
448
  } catch {
449
449
  }
450
450
  return null;
451
451
  }
452
- function S(m, { returnRouterError: q, to: C = n.to, replace: x = n.replace } = {}) {
452
+ function S(m, { returnRouterError: q, to: C = n.to, replace: L = n.replace } = {}) {
453
453
  if (n.disable === !0)
454
454
  return m.preventDefault(), Promise.resolve(!1);
455
455
  if (
@@ -459,24 +459,24 @@ function rt({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
459
459
  )
460
460
  return Promise.resolve(!1);
461
461
  m.preventDefault();
462
- const R = i.$router[x === !0 ? "replace" : "push"](C);
462
+ const R = o.$router[L === !0 ? "replace" : "push"](C);
463
463
  return q === !0 ? R : R.then(() => {
464
464
  }).catch(() => {
465
465
  });
466
466
  }
467
467
  function w(m) {
468
- if (s.value === !0) {
468
+ if (d.value === !0) {
469
469
  const q = (C) => S(m, C);
470
- d("click", m, q), m.defaultPrevented !== !0 && q();
470
+ l("click", m, q), m.defaultPrevented !== !0 && q();
471
471
  } else
472
- d("click", m);
472
+ l("click", m);
473
473
  }
474
474
  return {
475
- hasRouterLink: s,
476
- hasHrefLink: o,
477
- hasLink: b,
478
- linkTag: l,
479
- resolvedLink: h,
475
+ hasRouterLink: d,
476
+ hasHrefLink: r,
477
+ hasLink: h,
478
+ linkTag: u,
479
+ resolvedLink: b,
480
480
  linkIsActive: k,
481
481
  linkIsExactActive: f,
482
482
  linkClass: $,
@@ -550,33 +550,33 @@ const ct = {
550
550
  round: Boolean
551
551
  };
552
552
  function ft(e) {
553
- const t = me(e, it), a = Ze(e), { hasRouterLink: n, hasLink: i, linkTag: d, linkAttrs: c, navigateOnClick: o } = rt({
553
+ const t = me(e, it), a = Ze(e), { hasRouterLink: n, hasLink: o, linkTag: l, linkAttrs: s, navigateOnClick: r } = rt({
554
554
  fallbackTag: "button"
555
- }), E = u(() => {
555
+ }), E = c(() => {
556
556
  const f = e.fab === !1 && e.fabMini === !1 ? t.value : {};
557
557
  return e.padding !== void 0 ? Object.assign({}, f, {
558
558
  padding: e.padding.split(/\s+/).map(($) => $ in ce ? ce[$] + "px" : $).join(" "),
559
559
  minWidth: "0",
560
560
  minHeight: "0"
561
561
  }) : f;
562
- }), h = u(
562
+ }), b = c(
563
563
  () => e.rounded === !0 || e.fab === !0 || e.fabMini === !0
564
- ), s = u(
564
+ ), d = c(
565
565
  () => e.disable !== !0 && e.loading !== !0
566
- ), b = u(() => s.value === !0 ? e.tabindex || 0 : -1), l = u(() => st(e, "standard")), y = u(() => {
567
- const f = { tabindex: b.value };
568
- return i.value === !0 ? Object.assign(f, c.value) : ot.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"), n.value !== !0 && lt.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, {
566
+ ), h = c(() => d.value === !0 ? e.tabindex || 0 : -1), u = c(() => st(e, "standard")), y = c(() => {
567
+ const f = { tabindex: h.value };
568
+ return o.value === !0 ? Object.assign(f, s.value) : ot.includes(e.type) === !0 && (f.type = e.type), l.value === "a" ? (e.disable === !0 ? f["aria-disabled"] = "true" : f.href === void 0 && (f.role = "button"), n.value !== !0 && lt.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, {
569
569
  role: "progressbar",
570
570
  "aria-valuemin": 0,
571
571
  "aria-valuemax": 100,
572
572
  "aria-valuenow": e.percentage
573
573
  }), f;
574
- }), p = u(() => {
574
+ }), p = c(() => {
575
575
  let f;
576
576
  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}`);
577
- const $ = e.round === !0 ? "round" : `rectangle${h.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
578
- return `q-btn--${l.value} q-btn--${$}` + (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" : "");
579
- }), k = u(
577
+ const $ = e.round === !0 ? "round" : `rectangle${b.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
578
+ return `q-btn--${u.value} q-btn--${$}` + (f !== void 0 ? " " + f : "") + (d.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" : "");
579
+ }), k = c(
580
580
  () => a.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
581
581
  );
582
582
  return {
@@ -584,14 +584,14 @@ function ft(e) {
584
584
  style: E,
585
585
  innerClasses: k,
586
586
  attributes: y,
587
- hasLink: i,
588
- linkTag: d,
589
- navigateOnClick: o,
590
- isActionable: s
587
+ hasLink: o,
588
+ linkTag: l,
589
+ navigateOnClick: r,
590
+ isActionable: d
591
591
  };
592
592
  }
593
- const { passiveCapture: _ } = F;
594
- let T = null, M = null, O = null;
593
+ const { passiveCapture: _ } = Q;
594
+ let M = null, O = null, A = null;
595
595
  const vt = Z({
596
596
  name: "QBtn",
597
597
  props: {
@@ -603,120 +603,120 @@ const vt = Z({
603
603
  emits: ["click", "keydown", "mousedown", "keyup"],
604
604
  setup(e, { slots: t, emit: a }) {
605
605
  const { proxy: n } = X(), {
606
- classes: i,
607
- style: d,
608
- innerClasses: c,
609
- attributes: o,
606
+ classes: o,
607
+ style: l,
608
+ innerClasses: s,
609
+ attributes: r,
610
610
  hasLink: E,
611
- linkTag: h,
612
- navigateOnClick: s,
613
- isActionable: b
614
- } = ft(e), l = J(null), y = J(null);
611
+ linkTag: b,
612
+ navigateOnClick: d,
613
+ isActionable: h
614
+ } = ft(e), u = J(null), y = J(null);
615
615
  let p = null, k, f = null;
616
- const $ = u(
616
+ const $ = c(
617
617
  () => e.label !== void 0 && e.label !== null && e.label !== ""
618
- ), B = u(() => e.disable === !0 || e.ripple === !1 ? !1 : {
618
+ ), B = c(() => e.disable === !0 || e.ripple === !1 ? !1 : {
619
619
  keyCodes: E.value === !0 ? [13, 32] : [13],
620
620
  ...e.ripple === !0 ? {} : e.ripple
621
- }), S = u(() => ({ center: e.round })), w = u(() => {
622
- const r = Math.max(0, Math.min(100, e.percentage));
623
- return r > 0 ? { transition: "transform 0.6s", transform: `translateX(${r - 100}%)` } : {};
624
- }), m = u(() => {
621
+ }), S = c(() => ({ center: e.round })), w = c(() => {
622
+ const i = Math.max(0, Math.min(100, e.percentage));
623
+ return i > 0 ? { transition: "transform 0.6s", transform: `translateX(${i - 100}%)` } : {};
624
+ }), m = c(() => {
625
625
  if (e.loading === !0)
626
626
  return {
627
- onMousedown: z,
628
- onTouchstart: z,
629
- onClick: z,
630
- onKeydown: z,
631
- onKeyup: z
627
+ onMousedown: j,
628
+ onTouchstart: j,
629
+ onClick: j,
630
+ onKeydown: j,
631
+ onKeyup: j
632
632
  };
633
- if (b.value === !0) {
634
- const r = {
633
+ if (h.value === !0) {
634
+ const i = {
635
635
  onClick: C,
636
- onKeydown: x,
637
- onMousedown: N
636
+ onKeydown: L,
637
+ onMousedown: D
638
638
  };
639
639
  if (n.$q.platform.has.touch === !0) {
640
640
  const g = e.onTouchstart !== void 0 ? "" : "Passive";
641
- r[`onTouchstart${g}`] = R;
641
+ i[`onTouchstart${g}`] = R;
642
642
  }
643
- return r;
643
+ return i;
644
644
  }
645
645
  return {
646
646
  // needed; especially for disabled <a> tags
647
- onClick: P
647
+ onClick: T
648
648
  };
649
- }), q = u(() => ({
650
- ref: l,
651
- class: "q-btn q-btn-item non-selectable no-outline " + i.value,
652
- style: d.value,
653
- ...o.value,
649
+ }), q = c(() => ({
650
+ ref: u,
651
+ class: "q-btn q-btn-item non-selectable no-outline " + o.value,
652
+ style: l.value,
653
+ ...r.value,
654
654
  ...m.value
655
655
  }));
656
- function C(r) {
657
- if (l.value !== null) {
658
- if (r !== void 0) {
659
- if (r.defaultPrevented === !0)
656
+ function C(i) {
657
+ if (u.value !== null) {
658
+ if (i !== void 0) {
659
+ if (i.defaultPrevented === !0)
660
660
  return;
661
661
  const g = document.activeElement;
662
- if (e.type === "submit" && g !== document.body && l.value.contains(g) === !1 && g.contains(l.value) === !1) {
663
- l.value.focus();
664
- const D = () => {
665
- document.removeEventListener("keydown", P, !0), document.removeEventListener("keyup", D, _), l.value !== null && l.value.removeEventListener("blur", D, _);
662
+ if (e.type === "submit" && g !== document.body && u.value.contains(g) === !1 && g.contains(u.value) === !1) {
663
+ u.value.focus();
664
+ const K = () => {
665
+ document.removeEventListener("keydown", T, !0), document.removeEventListener("keyup", K, _), u.value !== null && u.value.removeEventListener("blur", K, _);
666
666
  };
667
- document.addEventListener("keydown", P, !0), document.addEventListener("keyup", D, _), l.value.addEventListener("blur", D, _);
667
+ document.addEventListener("keydown", T, !0), document.addEventListener("keyup", K, _), u.value.addEventListener("blur", K, _);
668
668
  }
669
669
  }
670
- s(r);
670
+ d(i);
671
671
  }
672
672
  }
673
- function x(r) {
674
- l.value !== null && (a("keydown", r), H(r, [13, 32]) === !0 && M !== l.value && (M !== null && A(), r.defaultPrevented !== !0 && (l.value.focus(), M = l.value, l.value.classList.add("q-btn--active"), document.addEventListener("keyup", L, !0), l.value.addEventListener("blur", L, _)), P(r)));
673
+ function L(i) {
674
+ u.value !== null && (a("keydown", i), H(i, [13, 32]) === !0 && O !== u.value && (O !== null && z(), i.defaultPrevented !== !0 && (u.value.focus(), O = u.value, u.value.classList.add("q-btn--active"), document.addEventListener("keyup", x, !0), u.value.addEventListener("blur", x, _)), T(i)));
675
675
  }
676
- function R(r) {
677
- l.value !== null && (a("touchstart", r), r.defaultPrevented !== !0 && (T !== l.value && (T !== null && A(), T = l.value, p = r.target, p.addEventListener("touchcancel", L, _), p.addEventListener("touchend", L, _)), k = !0, f !== null && clearTimeout(f), f = setTimeout(() => {
676
+ function R(i) {
677
+ u.value !== null && (a("touchstart", i), i.defaultPrevented !== !0 && (M !== u.value && (M !== null && z(), M = u.value, p = i.target, p.addEventListener("touchcancel", x, _), p.addEventListener("touchend", x, _)), k = !0, f !== null && clearTimeout(f), f = setTimeout(() => {
678
678
  f = null, k = !1;
679
679
  }, 200)));
680
680
  }
681
- function N(r) {
682
- l.value !== null && (r.qSkipRipple = k === !0, a("mousedown", r), r.defaultPrevented !== !0 && O !== l.value && (O !== null && A(), O = l.value, l.value.classList.add("q-btn--active"), document.addEventListener("mouseup", L, _)));
681
+ function D(i) {
682
+ u.value !== null && (i.qSkipRipple = k === !0, a("mousedown", i), i.defaultPrevented !== !0 && A !== u.value && (A !== null && z(), A = u.value, u.value.classList.add("q-btn--active"), document.addEventListener("mouseup", x, _)));
683
683
  }
684
- function L(r) {
685
- if (l.value !== null && !(r !== void 0 && r.type === "blur" && document.activeElement === l.value)) {
686
- if (r !== void 0 && r.type === "keyup") {
687
- if (M === l.value && H(r, [13, 32]) === !0) {
688
- const g = new MouseEvent("click", r);
689
- g.qKeyEvent = !0, r.defaultPrevented === !0 && Fe(g), r.cancelBubble === !0 && be(g), l.value.dispatchEvent(g), P(r), r.qKeyEvent = !0;
684
+ function x(i) {
685
+ if (u.value !== null && !(i !== void 0 && i.type === "blur" && document.activeElement === u.value)) {
686
+ if (i !== void 0 && i.type === "keyup") {
687
+ if (O === u.value && H(i, [13, 32]) === !0) {
688
+ const g = new MouseEvent("click", i);
689
+ g.qKeyEvent = !0, i.defaultPrevented === !0 && Fe(g), i.cancelBubble === !0 && he(g), u.value.dispatchEvent(g), T(i), i.qKeyEvent = !0;
690
690
  }
691
- a("keyup", r);
691
+ a("keyup", i);
692
692
  }
693
- A();
693
+ z();
694
694
  }
695
695
  }
696
- function A(r) {
696
+ function z(i) {
697
697
  const g = y.value;
698
- r !== !0 && (T === l.value || O === l.value) && g !== null && g !== document.activeElement && (g.setAttribute("tabindex", -1), g.focus()), T === l.value && (p !== null && (p.removeEventListener("touchcancel", L, _), p.removeEventListener("touchend", L, _)), T = p = null), O === l.value && (document.removeEventListener("mouseup", L, _), O = null), M === l.value && (document.removeEventListener("keyup", L, !0), l.value !== null && l.value.removeEventListener("blur", L, _), M = null), l.value !== null && l.value.classList.remove("q-btn--active");
698
+ i !== !0 && (M === u.value || A === u.value) && g !== null && g !== document.activeElement && (g.setAttribute("tabindex", -1), g.focus()), M === u.value && (p !== null && (p.removeEventListener("touchcancel", x, _), p.removeEventListener("touchend", x, _)), M = p = null), A === u.value && (document.removeEventListener("mouseup", x, _), A = null), O === u.value && (document.removeEventListener("keyup", x, !0), u.value !== null && u.value.removeEventListener("blur", x, _), O = null), u.value !== null && u.value.classList.remove("q-btn--active");
699
699
  }
700
- function z(r) {
701
- P(r), r.qSkipRipple = !0;
700
+ function j(i) {
701
+ T(i), i.qSkipRipple = !0;
702
702
  }
703
703
  return $e(() => {
704
- A(!0);
704
+ z(!0);
705
705
  }), Object.assign(n, {
706
- click: (r) => {
707
- b.value === !0 && C(r);
706
+ click: (i) => {
707
+ h.value === !0 && C(i);
708
708
  }
709
709
  }), () => {
710
- let r = [];
711
- e.icon !== void 0 && r.push(
710
+ let i = [];
711
+ e.icon !== void 0 && i.push(
712
712
  v(re, {
713
713
  name: e.icon,
714
714
  left: e.stack !== !0 && $.value === !0,
715
715
  role: "img"
716
716
  })
717
- ), $.value === !0 && r.push(
717
+ ), $.value === !0 && i.push(
718
718
  v("span", { class: "block" }, [e.label])
719
- ), r = I(t.default, r), e.iconRight !== void 0 && e.round === !1 && r.push(
719
+ ), i = N(t.default, i), e.iconRight !== void 0 && e.round === !1 && i.push(
720
720
  v(re, {
721
721
  name: e.iconRight,
722
722
  right: e.stack !== !0 && $.value === !0,
@@ -740,8 +740,8 @@ const vt = Z({
740
740
  ])
741
741
  ), g.push(
742
742
  v("span", {
743
- class: "q-btn__content text-center col items-center q-anchor--skip " + c.value
744
- }, r)
743
+ class: "q-btn__content text-center col items-center q-anchor--skip " + s.value
744
+ }, i)
745
745
  ), e.loading !== null && g.push(
746
746
  v(Ee, {
747
747
  name: "q-transition--fade"
@@ -753,7 +753,7 @@ const vt = Z({
753
753
  ] : null)
754
754
  ), qe(
755
755
  v(
756
- h.value,
756
+ b.value,
757
757
  q.value,
758
758
  g
759
759
  ),
@@ -769,10 +769,10 @@ const vt = Z({
769
769
  }), mt = /* @__PURE__ */ W({
770
770
  __name: "index",
771
771
  props: {
772
- size: { default: j.MD },
772
+ size: {},
773
773
  transparent: { type: Boolean },
774
774
  rounded: { type: Boolean },
775
- color: { default: Se.PRIMARY },
775
+ color: {},
776
776
  iconLeft: {},
777
777
  iconRight: {},
778
778
  iconMiddle: {},
@@ -786,53 +786,53 @@ const vt = Z({
786
786
  },
787
787
  emits: ["click"],
788
788
  setup(e) {
789
- const t = e, a = u(() => [
789
+ const t = e, { size: a = I.MD, color: n = Se.PRIMARY } = t, o = c(() => [
790
790
  "app-btn",
791
791
  {
792
792
  "app-btn_default": !t.transparent,
793
793
  "app-btn_trans": t.transparent,
794
794
  "app-btn_rounded": t.rounded,
795
- "app-btn_sm": t.size === j.SM,
796
- "app-btn_md": t.size === j.MD,
797
- "app-btn_lg": t.size === j.LG,
795
+ "app-btn_sm": a === I.SM,
796
+ "app-btn_md": a === I.MD,
797
+ "app-btn_lg": a === I.LG,
798
798
  "app-btn_icon-left": t.iconLeft,
799
799
  "app-btn_icon-right": t.iconRight,
800
800
  "app-btn_icon-middle": t.iconMiddle
801
801
  },
802
- `app-btn_${t.color}`
802
+ `app-btn_${n}`
803
803
  ]);
804
- return (n, i) => (K(), _e(Q(vt), {
804
+ return (l, s) => (V(), _e(P(vt), {
805
805
  "no-caps": "",
806
806
  unelevated: "",
807
- class: V(a.value),
808
- padding: Q(fe)[t.size || Q(j).MD],
809
- loading: n.loading,
810
- disabled: n.disabled || void 0,
811
- to: n.to,
812
- href: n.href,
813
- target: n.target,
814
- type: n.submit ? "submit" : void 0,
815
- "aria-label": n.ariaLabel,
816
- onClick: i[0] || (i[0] = (d) => n.$emit("click", d))
807
+ class: F(o.value),
808
+ padding: P(fe)[P(a) || P(I).MD],
809
+ loading: l.loading,
810
+ disabled: l.disabled || void 0,
811
+ to: l.to,
812
+ href: l.href,
813
+ target: l.target,
814
+ type: l.submit ? "submit" : void 0,
815
+ "aria-label": l.ariaLabel,
816
+ onClick: s[0] || (s[0] = (r) => l.$emit("click", r))
817
817
  }, {
818
818
  default: Ce(() => [
819
- n.iconLeft || n.iconMiddle ? (K(), Y("i", {
819
+ l.iconLeft || l.iconMiddle ? (V(), Y("i", {
820
820
  key: 0,
821
- class: V([
821
+ class: F([
822
822
  "icon-kl",
823
- n.iconLeft ? "icon-kl_left" : "icon-kl_middle",
824
- `icon-kl-${n.iconLeft || n.iconMiddle}`,
825
- n.transparent ? `text-${n.color}` : "text-secondary"
823
+ l.iconLeft ? "icon-kl_left" : "icon-kl_middle",
824
+ `icon-kl-${l.iconLeft || l.iconMiddle}`,
825
+ l.transparent ? `text-${P(n)}` : "text-secondary"
826
826
  ])
827
827
  }, null, 2)) : ee("", !0),
828
- Le(n.$slots, "default", {}, void 0, !0),
829
- n.iconRight ? (K(), Y("i", {
828
+ xe(l.$slots, "default", {}, void 0, !0),
829
+ l.iconRight ? (V(), Y("i", {
830
830
  key: 1,
831
- class: V([
831
+ class: F([
832
832
  "icon-kl",
833
833
  "icon-kl_right",
834
- `icon-kl-${n.iconRight}`,
835
- n.transparent ? `text-${n.color}` : "text-secondary"
834
+ `icon-kl-${l.iconRight}`,
835
+ l.transparent ? `text-${P(n)}` : "text-secondary"
836
836
  ])
837
837
  }, null, 2)) : ee("", !0)
838
838
  ]),
@@ -841,10 +841,10 @@ const vt = Z({
841
841
  }
842
842
  }), ke = (e, t) => {
843
843
  const a = e.__vccOpts || e;
844
- for (const [n, i] of t)
845
- a[n] = i;
844
+ for (const [n, o] of t)
845
+ a[n] = o;
846
846
  return a;
847
- }, ht = /* @__PURE__ */ ke(mt, [["__scopeId", "data-v-16e02783"]]), gt = /* @__PURE__ */ W({
847
+ }, bt = /* @__PURE__ */ ke(mt, [["__scopeId", "data-v-42f3b7cf"]]), gt = /* @__PURE__ */ W({
848
848
  __name: "index",
849
849
  props: {
850
850
  name: {},
@@ -852,17 +852,17 @@ const vt = Z({
852
852
  color: {}
853
853
  },
854
854
  setup(e) {
855
- return (t, a) => (K(), Y("i", {
856
- class: V(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
857
- style: xe(t.size ? `font-size: ${t.size}` : void 0)
855
+ return (t, a) => (V(), Y("i", {
856
+ class: F(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
857
+ style: Le(t.size ? `font-size: ${t.size}` : void 0)
858
858
  }, null, 6));
859
859
  }
860
- }), bt = /* @__PURE__ */ ke(gt, [["__scopeId", "data-v-73419357"]]), yt = Re(
861
- () => import("./index-DKPlHok-.js")
860
+ }), ht = /* @__PURE__ */ ke(gt, [["__scopeId", "data-v-73419357"]]), yt = Re(
861
+ () => import("./index-DEntzJGe.js")
862
862
  );
863
863
  export {
864
- ht as A,
864
+ bt as A,
865
865
  Se as C,
866
866
  yt as a,
867
- bt as i
867
+ ht as i
868
868
  };
@@ -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 { C, A as P } from "./index-D3yc3EET.js";
2
+ import { C, A as P } from "./index-BS3pXsq7.js";
3
3
  function M(o, i, t, r) {
4
4
  return Object.defineProperty(o, i, {
5
5
  get: t,
@@ -0,0 +1 @@
1
+ "use strict";const n=require("vue"),z={SM:"sm",MD:"md",LG:"lg"};var ne=(e=>(e.sm="3px 9px",e.md="5px 12px",e.lg="9px 20px",e))(ne||{});const ae={PRIMARY:"primary",INFO:"info",ACCENT:"accent",NEGATIVE:"negative",POSITIVE:"positive"},V={xs:18,sm:24,md:32,lg:38,xl:46},re={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}`,ie={"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}`},ue={o_:"-outlined",r_:"-round",s_:"-sharp"},le={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},me=new RegExp("^("+Object.keys(ie).join("|")+")"),pe=new RegExp("^("+Object.keys(ue).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:{...re,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:r}}=n.getCurrentInstance(),a=oe(e),u=n.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),l=n.computed(()=>{let c,o=e.name;if(o==="none"||!o)return{none:!0};if(r.iconMapFn!==null){const d=r.iconMapFn(o);if(d!==void 0)if(d.icon!==void 0){if(o=d.icon,o==="none"||!o)return{none:!0}}else return{cls:d.cls,content:d.content!==void 0?d.content:" "}}if(ge.test(o)===!0){const[d,h=U]=o.split("|");return{svg:!0,viewBox:h,nodes:d.split("&&").map(s=>{const[b,p,y]=s.split("@@");return n.h("path",{style:p,d:b,transform:y})})}}if(he.test(o)===!0)return{img:!0,src:o.substring(4)};if(be.test(o)===!0){const[d,h=U]=o.split("|");return{svguse:!0,src:d.substring(7),viewBox:h}}let C=" ";const g=o.match(me);if(g!==null)c=ie[g[1]](o);else if(ke.test(o)===!0)c=o;else if(ye.test(o)===!0)c=`ionicons ion-${r.platform.is.ios===!0?"ios":"md"}${o.substring(3)}`;else if(G.test(o)===!0){c="notranslate material-symbols";const d=o.match(G);d!==null&&(o=o.substring(6),c+=le[d[1]]),C=o}else{c="notranslate material-icons";const d=o.match(pe);d!==null&&(o=o.substring(2),c+=ue[d[1]]),C=o}return{cls:c,content:C}});return()=>{const c={class:u.value,style:a.value,"aria-hidden":"true",role:"presentation"};return l.value.none===!0?n.h(e.tag,c,ve(t.default)):l.value.img===!0?n.h(e.tag,c,j(t.default,[n.h("img",{src:l.value.src})])):l.value.svg===!0?n.h(e.tag,c,j(t.default,[n.h("svg",{viewBox:l.value.viewBox||"0 0 24 24"},l.value.nodes)])):l.value.svguse===!0?n.h(e.tag,c,j(t.default,[n.h("svg",{viewBox:l.value.viewBox},[n.h("use",{"xlink:href":l.value.src})])])):(l.value.cls!==void 0&&(c.class+=" "+l.value.cls),n.h(e.tag,c,j(t.default,[l.value.content])))}}}),Ce={size:{type:[String,Number],default:"1em"},color:String};function Ee(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 $e=Q({name:"QSpinner",props:{...Ce,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:r}=Ee(e);return()=>n.h("svg",{class:r.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 qe(e,t){const r=e.style;for(const a in t)r[a]=t[a]}const D={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(D,{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 _e(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 se(e){e.stopPropagation()}function Be(e){e.cancelable!==!1&&e.preventDefault()}function w(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Le(e,t,r){const a=`__q_${t}_evt`;e[a]=e[a]!==void 0?e[a].concat(r):r,r.forEach(u=>{u[0].addEventListener(u[1],e[u[2]],D[u[3]])})}function xe(e,t){const r=`__q_${t}_evt`;e[r]!==void 0&&(e[r].forEach(a=>{a[0].removeEventListener(a[1],e[a[2]],D[a[3]])}),e[r]=void 0)}function Re(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function F(e,t){return Re(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Se(e,t=250){let r=!1,a;return function(){return r===!1&&(r=!0,setTimeout(()=>{r=!1},t),a=e.apply(this,arguments)),a}}function W(e,t,r,a){r.modifiers.stop===!0&&se(e);const u=r.modifiers.color;let l=r.modifiers.center;l=l===!0||a===!0;const c=document.createElement("span"),o=document.createElement("span"),C=_e(e),{left:g,top:d,width:h,height:s}=t.getBoundingClientRect(),b=Math.sqrt(h*h+s*s),p=b/2,y=`${(h-b)/2}px`,f=l?y:`${C.left-g-p}px`,k=`${(s-b)/2}px`,S=l?k:`${C.top-d-p}px`;o.className="q-ripple__inner",qe(o,{height:`${b}px`,width:`${b}px`,transform:`translate3d(${f},${S},0) scale3d(.2,.2,1)`,opacity:0}),c.className=`q-ripple${u?" text-"+u:""}`,c.setAttribute("dir","ltr"),c.appendChild(o),t.appendChild(c);const x=()=>{c.remove(),clearTimeout(R)};r.abort.push(x);let R=setTimeout(()=>{o.classList.add("q-ripple__inner--enter"),o.style.transform=`translate3d(${y},${k},0) scale3d(1,1,1)`,o.style.opacity=.2,R=setTimeout(()=>{o.classList.remove("q-ripple__inner--enter"),o.classList.add("q-ripple__inner--leave"),o.style.opacity=0,R=setTimeout(()=>{c.remove(),r.abort.splice(r.abort.indexOf(x),1)},275)},250)},50)}function X(e,{modifiers:t,value:r,arg:a}){const u=Object.assign({},e.cfg.ripple,t,r);e.modifiers={early:u.early===!0,stop:u.stop===!0,center:u.center===!0,color:u.color||a,keyCodes:[].concat(u.keyCodes||13)}}const we=fe({name:"ripple",beforeMount(e,t){const r=t.instance.$.appContext.config.globalProperties.$q.config||{};if(r.ripple===!1)return;const a={cfg:r,enabled:t.value!==!1,modifiers:{},abort:[],start(u){a.enabled===!0&&u.qSkipRipple!==!0&&u.type===(a.modifiers.early===!0?"pointerdown":"click")&&W(u,e,a,u.qKeyEvent===!0)},keystart:Se(u=>{a.enabled===!0&&u.qSkipRipple!==!0&&F(u,a.modifiers.keyCodes)===!0&&u.type===`key${a.modifiers.early===!0?"down":"up"}`&&W(u,e,a,!0)},300)};X(a,t),e.__qripple=a,Le(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 r=e.__qripple;r!==void 0&&(r.enabled=t.value!==!1,r.enabled===!0&&Object(t.value)===t.value&&X(r,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(r=>{r()}),xe(t,"main"),delete e._qripple)}}),ce={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Pe=Object.keys(ce),Te={align:{type:String,validator:e=>Pe.includes(e)}};function Me(e){return n.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ce[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 Ae(e,t){for(const r in t){const a=t[r],u=e[r];if(typeof a=="string"){if(a!==u)return!1}else if(Array.isArray(u)===!1||u.length!==a.length||a.some((l,c)=>l!==u[c]))return!1}return!0}function ee(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((r,a)=>r===t[a]):e.length===1&&e[0]===t}function ze(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 r in e)if(ze(e[r],t[r])===!1)return!1;return!0}const Ie={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean};function Ne({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const r=n.getCurrentInstance(),{props:a,proxy:u,emit:l}=r,c=Oe(r),o=n.computed(()=>a.disable!==!0&&a.href!==void 0),C=t===!0?n.computed(()=>c===!0&&a.disable!==!0&&o.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""):n.computed(()=>c===!0&&o.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==""),g=n.computed(()=>C.value===!0?S(a.to):null),d=n.computed(()=>g.value!==null),h=n.computed(()=>o.value===!0||d.value===!0),s=n.computed(()=>a.type==="a"||h.value===!0?"a":a.tag||e||"div"),b=n.computed(()=>o.value===!0?{href:a.href,target:a.target}:d.value===!0?{href:g.value.href,target:a.target}:{}),p=n.computed(()=>{if(d.value===!1)return-1;const{matched:v}=g.value,{length:E}=v,q=v[E-1];if(q===void 0)return-1;const B=u.$route.matched;if(B.length===0)return-1;const L=B.findIndex(J.bind(null,q));if(L!==-1)return L;const I=Z(v[E-2]);return E>1&&Z(q)===I&&B[B.length-1].path!==I?B.findIndex(J.bind(null,v[E-2])):L}),y=n.computed(()=>d.value===!0&&p.value!==-1&&Ae(u.$route.params,g.value.params)),f=n.computed(()=>y.value===!0&&p.value===u.$route.matched.length-1&&je(u.$route.params,g.value.params)),k=n.computed(()=>d.value===!0?f.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?"":y.value===!0?` ${a.activeClass}`:"":"");function S(v){try{return u.$router.resolve(v)}catch{}return null}function x(v,{returnRouterError:E,to:q=a.to,replace:B=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 L=u.$router[B===!0?"replace":"push"](q);return E===!0?L:L.then(()=>{}).catch(()=>{})}function R(v){if(d.value===!0){const E=q=>x(v,q);l("click",v,E),v.defaultPrevented!==!0&&E()}else l("click",v)}return{hasRouterLink:d,hasHrefLink:o,hasLink:h,linkTag:s,resolvedLink:g,linkIsActive:y,linkIsExactActive:f,linkClass:k,linkAttrs:b,getLink:S,navigateToRouterLink:x,navigateOnClick:R}}const te={none:0,xs:4,sm:8,md:16,lg:24,xl:32},De={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={...re,...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:{...Te.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,De),r=Me(e),{hasRouterLink:a,hasLink:u,linkTag:l,linkAttrs:c,navigateOnClick:o}=Ne({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),d=n.computed(()=>e.disable!==!0&&e.loading!==!0),h=n.computed(()=>d.value===!0?e.tabindex||0:-1),s=n.computed(()=>Qe(e,"standard")),b=n.computed(()=>{const f={tabindex:h.value};return u.value===!0?Object.assign(f,c.value):Ke.includes(e.type)===!0&&(f.type=e.type),l.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--${s.value} q-btn--${k}`+(f!==void 0?" "+f:"")+(d.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(()=>r.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:u,linkTag:l,navigateOnClick:o,isActionable:d}}const{passiveCapture:$}=D;let P=null,T=null,M=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:r}){const{proxy:a}=n.getCurrentInstance(),{classes:u,style:l,innerClasses:c,attributes:o,hasLink:C,linkTag:g,navigateOnClick:d,isActionable:h}=Ge(e),s=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!==""),S=n.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:C.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),x=n.computed(()=>({center:e.round})),R=n.computed(()=>{const i=Math.max(0,Math.min(100,e.percentage));return i>0?{transition:"transform 0.6s",transform:`translateX(${i-100}%)`}:{}}),v=n.computed(()=>{if(e.loading===!0)return{onMousedown:A,onTouchstart:A,onClick:A,onKeydown:A,onKeyup:A};if(h.value===!0){const i={onClick:q,onKeydown:B,onMousedown:I};if(a.$q.platform.has.touch===!0){const m=e.onTouchstart!==void 0?"":"Passive";i[`onTouchstart${m}`]=L}return i}return{onClick:w}}),E=n.computed(()=>({ref:s,class:"q-btn q-btn-item non-selectable no-outline "+u.value,style:l.value,...o.value,...v.value}));function q(i){if(s.value!==null){if(i!==void 0){if(i.defaultPrevented===!0)return;const m=document.activeElement;if(e.type==="submit"&&m!==document.body&&s.value.contains(m)===!1&&m.contains(s.value)===!1){s.value.focus();const N=()=>{document.removeEventListener("keydown",w,!0),document.removeEventListener("keyup",N,$),s.value!==null&&s.value.removeEventListener("blur",N,$)};document.addEventListener("keydown",w,!0),document.addEventListener("keyup",N,$),s.value.addEventListener("blur",N,$)}}d(i)}}function B(i){s.value!==null&&(r("keydown",i),F(i,[13,32])===!0&&T!==s.value&&(T!==null&&O(),i.defaultPrevented!==!0&&(s.value.focus(),T=s.value,s.value.classList.add("q-btn--active"),document.addEventListener("keyup",_,!0),s.value.addEventListener("blur",_,$)),w(i)))}function L(i){s.value!==null&&(r("touchstart",i),i.defaultPrevented!==!0&&(P!==s.value&&(P!==null&&O(),P=s.value,p=i.target,p.addEventListener("touchcancel",_,$),p.addEventListener("touchend",_,$)),y=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,y=!1},200)))}function I(i){s.value!==null&&(i.qSkipRipple=y===!0,r("mousedown",i),i.defaultPrevented!==!0&&M!==s.value&&(M!==null&&O(),M=s.value,s.value.classList.add("q-btn--active"),document.addEventListener("mouseup",_,$)))}function _(i){if(s.value!==null&&!(i!==void 0&&i.type==="blur"&&document.activeElement===s.value)){if(i!==void 0&&i.type==="keyup"){if(T===s.value&&F(i,[13,32])===!0){const m=new MouseEvent("click",i);m.qKeyEvent=!0,i.defaultPrevented===!0&&Be(m),i.cancelBubble===!0&&se(m),s.value.dispatchEvent(m),w(i),i.qKeyEvent=!0}r("keyup",i)}O()}}function O(i){const m=b.value;i!==!0&&(P===s.value||M===s.value)&&m!==null&&m!==document.activeElement&&(m.setAttribute("tabindex",-1),m.focus()),P===s.value&&(p!==null&&(p.removeEventListener("touchcancel",_,$),p.removeEventListener("touchend",_,$)),P=p=null),M===s.value&&(document.removeEventListener("mouseup",_,$),M=null),T===s.value&&(document.removeEventListener("keyup",_,!0),s.value!==null&&s.value.removeEventListener("blur",_,$),T=null),s.value!==null&&s.value.classList.remove("q-btn--active")}function A(i){w(i),i.qSkipRipple=!0}return n.onBeforeUnmount(()=>{O(!0)}),Object.assign(a,{click:i=>{h.value===!0&&q(i)}}),()=>{let i=[];e.icon!==void 0&&i.push(n.h(H,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img"})),k.value===!0&&i.push(n.h("span",{class:"block"},[e.label])),i=j(t.default,i),e.iconRight!==void 0&&e.round===!1&&i.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:R.value})])),m.push(n.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+c.value},i)),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($e)])]:null)),n.withDirectives(n.h(g.value,E.value,m),[[we,S.value,void 0,x.value]])}}}),We=n.defineComponent({__name:"index",props:{size:{},transparent:{type:Boolean},rounded:{type:Boolean},color:{},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:[Boolean,null]},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{}},emits:["click"],setup(e){const t=e,{size:r=z.MD,color:a=ae.PRIMARY}=t,u=n.computed(()=>["app-btn",{"app-btn_default":!t.transparent,"app-btn_trans":t.transparent,"app-btn_rounded":t.rounded,"app-btn_sm":r===z.SM,"app-btn_md":r===z.MD,"app-btn_lg":r===z.LG,"app-btn_icon-left":t.iconLeft,"app-btn_icon-right":t.iconRight,"app-btn_icon-middle":t.iconMiddle},`app-btn_${a}`]);return(l,c)=>(n.openBlock(),n.createBlock(n.unref(He),{"no-caps":"",unelevated:"",class:n.normalizeClass(u.value),padding:n.unref(ne)[n.unref(r)||n.unref(z).MD],loading:l.loading,disabled:l.disabled||void 0,to:l.to,href:l.href,target:l.target,type:l.submit?"submit":void 0,"aria-label":l.ariaLabel,onClick:c[0]||(c[0]=o=>l.$emit("click",o))},{default:n.withCtx(()=>[l.iconLeft||l.iconMiddle?(n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(["icon-kl",l.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${l.iconLeft||l.iconMiddle}`,l.transparent?`text-${n.unref(a)}`:"text-secondary"])},null,2)):n.createCommentVNode("",!0),n.renderSlot(l.$slots,"default",{},void 0,!0),l.iconRight?(n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${l.iconRight}`,l.transparent?`text-${n.unref(a)}`:"text-secondary"])},null,2)):n.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disabled","to","href","target","type","aria-label"]))}}),de=(e,t)=>{const r=e.__vccOpts||e;for(const[a,u]of t)r[a]=u;return r},Xe=de(We,[["__scopeId","data-v-42f3b7cf"]]),Ze=n.defineComponent({__name:"index",props:{name:{},size:{},color:{}},setup(e){return(t,r)=>(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=de(Ze,[["__scopeId","data-v-73419357"]]),et=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BR4HAU8T.cjs")));exports.AppButton=Xe;exports.AppButtonCopy=et;exports.COLORS=ae;exports.index=Je;
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .app-btn[data-v-16e02783] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-16e02783]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-16e02783] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-16e02783]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-16e02783]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-16e02783]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-16e02783]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-16e02783]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-16e02783]{padding:4px!important}.app-btn_md[data-v-16e02783]{font-size:14px;border-radius:8px}.app-btn_md[data-v-16e02783] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-16e02783]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-16e02783]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-16e02783]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-16e02783]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-16e02783]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-16e02783]{padding:5px!important}.app-btn_lg[data-v-16e02783]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-16e02783] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-16e02783]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-16e02783]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-16e02783]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-16e02783]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-16e02783]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-16e02783]{padding:11px!important}.app-btn_default.app-btn_primary[data-v-16e02783]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-16e02783]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-16e02783]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-16e02783]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-16e02783]{background-color:#1a5cff26;color:#1a5cff}.app-btn_trans.app-btn_info[data-v-16e02783]{background-color:#33999926;color:#2e757c}.app-btn_trans.app-btn_negative[data-v-16e02783]{background-color:#ff475726;color:#ff4757}.app-btn_trans.app-btn_positive[data-v-16e02783]{background-color:#46c93a26;color:#46c93a}.app-btn_rounded[data-v-16e02783]{border-radius:50px}.icon-kl[data-v-73419357]{font-size:24px}
1
+ .app-btn[data-v-42f3b7cf] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-42f3b7cf]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-42f3b7cf] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-42f3b7cf]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-42f3b7cf]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-42f3b7cf]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-42f3b7cf]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-42f3b7cf]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-42f3b7cf]{padding:4px!important}.app-btn_md[data-v-42f3b7cf]{font-size:14px;border-radius:8px}.app-btn_md[data-v-42f3b7cf] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-42f3b7cf]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-42f3b7cf]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-42f3b7cf]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-42f3b7cf]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-42f3b7cf]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-42f3b7cf]{padding:5px!important}.app-btn_lg[data-v-42f3b7cf]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-42f3b7cf] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-42f3b7cf]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-42f3b7cf]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-42f3b7cf]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-42f3b7cf]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-42f3b7cf]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-42f3b7cf]{padding:11px!important}.app-btn_default.app-btn_primary[data-v-42f3b7cf]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-42f3b7cf]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-42f3b7cf]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-42f3b7cf]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-42f3b7cf]{background-color:#1a5cff26;color:#1a5cff}.app-btn_trans.app-btn_info[data-v-42f3b7cf]{background-color:#33999926;color:#2e757c}.app-btn_trans.app-btn_negative[data-v-42f3b7cf]{background-color:#ff475726;color:#ff4757}.app-btn_trans.app-btn_positive[data-v-42f3b7cf]{background-color:#46c93a26;color:#46c93a}.app-btn_rounded[data-v-42f3b7cf]{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-7IDuiHaN.cjs");exports.AppButton=t.AppButton;exports.AppButtonCopy=t.AppButtonCopy;exports.AppIcon=t.index;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const t=require("./index-T5AGm1HZ.cjs");exports.AppButton=t.AppButton;exports.AppButtonCopy=t.AppButtonCopy;exports.AppIcon=t.index;
package/dist/uikit.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { A as a, a as A, i as n } from "./index-D3yc3EET.js";
2
+ import { A as a, a as A, i as n } from "./index-BS3pXsq7.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.2",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "main": "./dist/uikit.cjs",
6
6
  "module": "./dist/uikit.es.js",
@@ -1 +0,0 @@
1
- "use strict";const a=require("vue"),A={SM:"sm",MD:"md",LG:"lg"};var ne=(e=>(e.sm="3px 9px",e.md="5px 12px",e.lg="9px 20px",e))(ne||{});const ae={PRIMARY:"primary",INFO:"info",ACCENT:"accent",NEGATIVE:"negative",POSITIVE:"positive"},V={xs:18,sm:24,md:32,lg:38,xl:46},oe={size:String};function re(e,t=V){return a.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Q(e){return a.markRaw(a.defineComponent(e))}function fe(e){return a.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}`,ie={"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}`},ue={o_:"-outlined",r_:"-round",s_:"-sharp"},le={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},me=new RegExp("^("+Object.keys(ie).join("|")+")"),pe=new RegExp("^("+Object.keys(ue).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:{...oe,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:o}}=a.getCurrentInstance(),n=re(e),i=a.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),d=a.computed(()=>{let c,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){const s=o.iconMapFn(u);if(s!==void 0)if(s.icon!==void 0){if(u=s.icon,u==="none"||!u)return{none:!0}}else return{cls:s.cls,content:s.content!==void 0?s.content:" "}}if(ge.test(u)===!0){const[s,h=U]=u.split("|");return{svg:!0,viewBox:h,nodes:s.split("&&").map(l=>{const[b,p,y]=l.split("@@");return a.h("path",{style:p,d:b,transform:y})})}}if(he.test(u)===!0)return{img:!0,src:u.substring(4)};if(be.test(u)===!0){const[s,h=U]=u.split("|");return{svguse:!0,src:s.substring(7),viewBox:h}}let C=" ";const g=u.match(me);if(g!==null)c=ie[g[1]](u);else if(ke.test(u)===!0)c=u;else if(ye.test(u)===!0)c=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(G.test(u)===!0){c="notranslate material-symbols";const s=u.match(G);s!==null&&(u=u.substring(6),c+=le[s[1]]),C=u}else{c="notranslate material-icons";const s=u.match(pe);s!==null&&(u=u.substring(2),c+=ue[s[1]]),C=u}return{cls:c,content:C}});return()=>{const c={class:i.value,style:n.value,"aria-hidden":"true",role:"presentation"};return d.value.none===!0?a.h(e.tag,c,ve(t.default)):d.value.img===!0?a.h(e.tag,c,j(t.default,[a.h("img",{src:d.value.src})])):d.value.svg===!0?a.h(e.tag,c,j(t.default,[a.h("svg",{viewBox:d.value.viewBox||"0 0 24 24"},d.value.nodes)])):d.value.svguse===!0?a.h(e.tag,c,j(t.default,[a.h("svg",{viewBox:d.value.viewBox},[a.h("use",{"xlink:href":d.value.src})])])):(d.value.cls!==void 0&&(c.class+=" "+d.value.cls),a.h(e.tag,c,j(t.default,[d.value.content])))}}}),Ce={size:{type:[String,Number],default:"1em"},color:String};function Ee(e){return{cSize:a.computed(()=>e.size in V?`${V[e.size]}px`:e.size),classes:a.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const $e=Q({name:"QSpinner",props:{...Ce,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:o}=Ee(e);return()=>a.h("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[a.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function qe(e,t){const o=e.style;for(const n in t)o[n]=t[n]}const D={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(D,{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 _e(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 se(e){e.stopPropagation()}function Be(e){e.cancelable!==!1&&e.preventDefault()}function w(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Le(e,t,o){const n=`__q_${t}_evt`;e[n]=e[n]!==void 0?e[n].concat(o):o,o.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],D[i[3]])})}function Re(e,t){const o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(n=>{n[0].removeEventListener(n[1],e[n[2]],D[n[3]])}),e[o]=void 0)}function Se(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function F(e,t){return Se(e)===!0?!1:[].concat(t).includes(e.keyCode)}function xe(e,t=250){let o=!1,n;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),n=e.apply(this,arguments)),n}}function W(e,t,o,n){o.modifiers.stop===!0&&se(e);const i=o.modifiers.color;let d=o.modifiers.center;d=d===!0||n===!0;const c=document.createElement("span"),u=document.createElement("span"),C=_e(e),{left:g,top:s,width:h,height:l}=t.getBoundingClientRect(),b=Math.sqrt(h*h+l*l),p=b/2,y=`${(h-b)/2}px`,f=d?y:`${C.left-g-p}px`,k=`${(l-b)/2}px`,x=d?k:`${C.top-s-p}px`;u.className="q-ripple__inner",qe(u,{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(u),t.appendChild(c);const R=()=>{c.remove(),clearTimeout(S)};o.abort.push(R);let S=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${y},${k},0) scale3d(1,1,1)`,u.style.opacity=.2,S=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,S=setTimeout(()=>{c.remove(),o.abort.splice(o.abort.indexOf(R),1)},275)},250)},50)}function X(e,{modifiers:t,value:o,arg:n}){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||n,keyCodes:[].concat(i.keyCodes||13)}}const we=fe({name:"ripple",beforeMount(e,t){const o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;const n={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(i){n.enabled===!0&&i.qSkipRipple!==!0&&i.type===(n.modifiers.early===!0?"pointerdown":"click")&&W(i,e,n,i.qKeyEvent===!0)},keystart:xe(i=>{n.enabled===!0&&i.qSkipRipple!==!0&&F(i,n.modifiers.keyCodes)===!0&&i.type===`key${n.modifiers.early===!0?"down":"up"}`&&W(i,e,n,!0)},300)};X(n,t),e.__qripple=n,Le(n,"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()}),Re(t,"main"),delete e._qripple)}}),ce={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Pe=Object.keys(ce),Te={align:{type:String,validator:e=>Pe.includes(e)}};function Me(e){return a.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ce[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 n=t[o],i=e[o];if(typeof n=="string"){if(n!==i)return!1}else if(Array.isArray(i)===!1||i.length!==n.length||n.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,n)=>o===t[n]):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 Ne({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const o=a.getCurrentInstance(),{props:n,proxy:i,emit:d}=o,c=Oe(o),u=a.computed(()=>n.disable!==!0&&n.href!==void 0),C=t===!0?a.computed(()=>c===!0&&n.disable!==!0&&u.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!==""):a.computed(()=>c===!0&&u.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!==""),g=a.computed(()=>C.value===!0?x(n.to):null),s=a.computed(()=>g.value!==null),h=a.computed(()=>u.value===!0||s.value===!0),l=a.computed(()=>n.type==="a"||h.value===!0?"a":n.tag||e||"div"),b=a.computed(()=>u.value===!0?{href:n.href,target:n.target}:s.value===!0?{href:g.value.href,target:n.target}:{}),p=a.computed(()=>{if(s.value===!1)return-1;const{matched:v}=g.value,{length:E}=v,q=v[E-1];if(q===void 0)return-1;const B=i.$route.matched;if(B.length===0)return-1;const L=B.findIndex(J.bind(null,q));if(L!==-1)return L;const I=Z(v[E-2]);return E>1&&Z(q)===I&&B[B.length-1].path!==I?B.findIndex(J.bind(null,v[E-2])):L}),y=a.computed(()=>s.value===!0&&p.value!==-1&&ze(i.$route.params,g.value.params)),f=a.computed(()=>y.value===!0&&p.value===i.$route.matched.length-1&&je(i.$route.params,g.value.params)),k=a.computed(()=>s.value===!0?f.value===!0?` ${n.exactActiveClass} ${n.activeClass}`:n.exact===!0?"":y.value===!0?` ${n.activeClass}`:"":"");function x(v){try{return i.$router.resolve(v)}catch{}return null}function R(v,{returnRouterError:E,to:q=n.to,replace:B=n.replace}={}){if(n.disable===!0)return v.preventDefault(),Promise.resolve(!1);if(v.metaKey||v.altKey||v.ctrlKey||v.shiftKey||v.button!==void 0&&v.button!==0||n.target==="_blank")return Promise.resolve(!1);v.preventDefault();const L=i.$router[B===!0?"replace":"push"](q);return E===!0?L:L.then(()=>{}).catch(()=>{})}function S(v){if(s.value===!0){const E=q=>R(v,q);d("click",v,E),v.defaultPrevented!==!0&&E()}else d("click",v)}return{hasRouterLink:s,hasHrefLink:u,hasLink:h,linkTag:l,resolvedLink:g,linkIsActive:y,linkIsExactActive:f,linkClass:k,linkAttrs:b,getLink:x,navigateToRouterLink:R,navigateOnClick:S}}const te={none:0,xs:4,sm:8,md:16,lg:24,xl:32},De={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={...oe,...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:{...Te.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Ye={...Ue,round:Boolean};function Ge(e){const t=re(e,De),o=Me(e),{hasRouterLink:n,hasLink:i,linkTag:d,linkAttrs:c,navigateOnClick:u}=Ne({fallbackTag:"button"}),C=a.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=a.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),s=a.computed(()=>e.disable!==!0&&e.loading!==!0),h=a.computed(()=>s.value===!0?e.tabindex||0:-1),l=a.computed(()=>Qe(e,"standard")),b=a.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"),n.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=a.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--${l.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=a.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:u,isActionable:s}}const{passiveCapture:$}=D;let P=null,T=null,M=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:n}=a.getCurrentInstance(),{classes:i,style:d,innerClasses:c,attributes:u,hasLink:C,linkTag:g,navigateOnClick:s,isActionable:h}=Ge(e),l=a.ref(null),b=a.ref(null);let p=null,y,f=null;const k=a.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),x=a.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:C.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),R=a.computed(()=>({center:e.round})),S=a.computed(()=>{const r=Math.max(0,Math.min(100,e.percentage));return r>0?{transition:"transform 0.6s",transform:`translateX(${r-100}%)`}:{}}),v=a.computed(()=>{if(e.loading===!0)return{onMousedown:z,onTouchstart:z,onClick:z,onKeydown:z,onKeyup:z};if(h.value===!0){const r={onClick:q,onKeydown:B,onMousedown:I};if(n.$q.platform.has.touch===!0){const m=e.onTouchstart!==void 0?"":"Passive";r[`onTouchstart${m}`]=L}return r}return{onClick:w}}),E=a.computed(()=>({ref:l,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:d.value,...u.value,...v.value}));function q(r){if(l.value!==null){if(r!==void 0){if(r.defaultPrevented===!0)return;const m=document.activeElement;if(e.type==="submit"&&m!==document.body&&l.value.contains(m)===!1&&m.contains(l.value)===!1){l.value.focus();const N=()=>{document.removeEventListener("keydown",w,!0),document.removeEventListener("keyup",N,$),l.value!==null&&l.value.removeEventListener("blur",N,$)};document.addEventListener("keydown",w,!0),document.addEventListener("keyup",N,$),l.value.addEventListener("blur",N,$)}}s(r)}}function B(r){l.value!==null&&(o("keydown",r),F(r,[13,32])===!0&&T!==l.value&&(T!==null&&O(),r.defaultPrevented!==!0&&(l.value.focus(),T=l.value,l.value.classList.add("q-btn--active"),document.addEventListener("keyup",_,!0),l.value.addEventListener("blur",_,$)),w(r)))}function L(r){l.value!==null&&(o("touchstart",r),r.defaultPrevented!==!0&&(P!==l.value&&(P!==null&&O(),P=l.value,p=r.target,p.addEventListener("touchcancel",_,$),p.addEventListener("touchend",_,$)),y=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,y=!1},200)))}function I(r){l.value!==null&&(r.qSkipRipple=y===!0,o("mousedown",r),r.defaultPrevented!==!0&&M!==l.value&&(M!==null&&O(),M=l.value,l.value.classList.add("q-btn--active"),document.addEventListener("mouseup",_,$)))}function _(r){if(l.value!==null&&!(r!==void 0&&r.type==="blur"&&document.activeElement===l.value)){if(r!==void 0&&r.type==="keyup"){if(T===l.value&&F(r,[13,32])===!0){const m=new MouseEvent("click",r);m.qKeyEvent=!0,r.defaultPrevented===!0&&Be(m),r.cancelBubble===!0&&se(m),l.value.dispatchEvent(m),w(r),r.qKeyEvent=!0}o("keyup",r)}O()}}function O(r){const m=b.value;r!==!0&&(P===l.value||M===l.value)&&m!==null&&m!==document.activeElement&&(m.setAttribute("tabindex",-1),m.focus()),P===l.value&&(p!==null&&(p.removeEventListener("touchcancel",_,$),p.removeEventListener("touchend",_,$)),P=p=null),M===l.value&&(document.removeEventListener("mouseup",_,$),M=null),T===l.value&&(document.removeEventListener("keyup",_,!0),l.value!==null&&l.value.removeEventListener("blur",_,$),T=null),l.value!==null&&l.value.classList.remove("q-btn--active")}function z(r){w(r),r.qSkipRipple=!0}return a.onBeforeUnmount(()=>{O(!0)}),Object.assign(n,{click:r=>{h.value===!0&&q(r)}}),()=>{let r=[];e.icon!==void 0&&r.push(a.h(H,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img"})),k.value===!0&&r.push(a.h("span",{class:"block"},[e.label])),r=j(t.default,r),e.iconRight!==void 0&&e.round===!1&&r.push(a.h(H,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img"}));const m=[a.h("span",{class:"q-focus-helper",ref:b})];return e.loading===!0&&e.percentage!==void 0&&m.push(a.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[a.h("span",{class:"q-btn__progress-indicator fit block",style:S.value})])),m.push(a.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+c.value},r)),e.loading!==null&&m.push(a.h(a.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[a.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[a.h($e)])]:null)),a.withDirectives(a.h(g.value,E.value,m),[[we,x.value,void 0,R.value]])}}}),We=a.defineComponent({__name:"index",props:{size:{default:A.MD},transparent:{type:Boolean},rounded:{type:Boolean},color:{default:ae.PRIMARY},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:[Boolean,null]},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{}},emits:["click"],setup(e){const t=e,o=a.computed(()=>["app-btn",{"app-btn_default":!t.transparent,"app-btn_trans":t.transparent,"app-btn_rounded":t.rounded,"app-btn_sm":t.size===A.SM,"app-btn_md":t.size===A.MD,"app-btn_lg":t.size===A.LG,"app-btn_icon-left":t.iconLeft,"app-btn_icon-right":t.iconRight,"app-btn_icon-middle":t.iconMiddle},`app-btn_${t.color}`]);return(n,i)=>(a.openBlock(),a.createBlock(a.unref(He),{"no-caps":"",unelevated:"",class:a.normalizeClass(o.value),padding:a.unref(ne)[t.size||a.unref(A).MD],loading:n.loading,disabled:n.disabled||void 0,to:n.to,href:n.href,target:n.target,type:n.submit?"submit":void 0,"aria-label":n.ariaLabel,onClick:i[0]||(i[0]=d=>n.$emit("click",d))},{default:a.withCtx(()=>[n.iconLeft||n.iconMiddle?(a.openBlock(),a.createElementBlock("i",{key:0,class:a.normalizeClass(["icon-kl",n.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${n.iconLeft||n.iconMiddle}`,n.transparent?`text-${n.color}`:"text-secondary"])},null,2)):a.createCommentVNode("",!0),a.renderSlot(n.$slots,"default",{},void 0,!0),n.iconRight?(a.openBlock(),a.createElementBlock("i",{key:1,class:a.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${n.iconRight}`,n.transparent?`text-${n.color}`:"text-secondary"])},null,2)):a.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disabled","to","href","target","type","aria-label"]))}}),de=(e,t)=>{const o=e.__vccOpts||e;for(const[n,i]of t)o[n]=i;return o},Xe=de(We,[["__scopeId","data-v-16e02783"]]),Ze=a.defineComponent({__name:"index",props:{name:{},size:{},color:{}},setup(e){return(t,o)=>(a.openBlock(),a.createElementBlock("i",{class:a.normalizeClass(["icon-kl",`icon-kl-${t.name}`,t.color?`text-${t.color}`:""]),style:a.normalizeStyle(t.size?`font-size: ${t.size}`:void 0)},null,6))}}),Je=de(Ze,[["__scopeId","data-v-73419357"]]),et=a.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DGMHft9c.cjs")));exports.AppButton=Xe;exports.AppButtonCopy=et;exports.COLORS=ae;exports.index=Je;