veloce-vue 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,71 @@
1
+ import { Icons } from '../exports/icons';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export type AccordionItem = {
4
+ title: string;
5
+ content: string;
6
+ slot?: string;
7
+ icon?: Icons;
8
+ active?: boolean;
9
+ };
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: Partial<Record<string, (_: {}) => any>>;
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
18
+ items: {
19
+ type: () => AccordionItem[];
20
+ required: true;
21
+ };
22
+ shadow: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ contentClass: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ headerClass: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ multiple: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
39
+ items: {
40
+ type: () => AccordionItem[];
41
+ required: true;
42
+ };
43
+ shadow: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ contentClass: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ headerClass: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ multiple: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ }>> & Readonly<{}>, {
60
+ shadow: boolean;
61
+ contentClass: string;
62
+ headerClass: string;
63
+ multiple: boolean;
64
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
65
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
+ export default _default;
67
+ type __VLS_WithTemplateSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -1,6 +1,15 @@
1
1
  import { Icons } from '../exports/icons';
2
2
  import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ExtractPropTypes<{
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4
13
  label: {
5
14
  type: StringConstructor;
6
15
  default: string;
@@ -77,12 +86,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
77
86
  }>> & Readonly<{}>, {
78
87
  label: string;
79
88
  loading: boolean;
80
- icon: "check" | "close" | "loading" | "chevron-down" | "alert" | "hamburger";
89
+ icon: "check" | "close" | "loading" | "chevron-down" | "alert" | "hamburger" | "sun" | "moon" | "eye" | "eye-off";
81
90
  size: "sm" | "md" | "lg";
91
+ rounded: boolean;
82
92
  disabled: boolean;
83
93
  variant: "link" | "outlined" | "ghost" | "solid" | "soft";
84
94
  iconClass: string;
85
95
  iconPosition: "left" | "right";
86
- rounded: boolean;
87
96
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
97
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
88
98
  export default _default;
99
+ type __VLS_WithTemplateSlots<T, S> = T & {
100
+ new (): {
101
+ $slots: S;
102
+ };
103
+ };
@@ -0,0 +1,84 @@
1
+ import { Icons } from '../exports/icons';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type CheckboxSize = "sm" | "md" | "lg";
4
+ type CheckboxVariant = "primary" | "secondary" | "success" | "info" | "error" | "warning";
5
+ declare const _default: DefineComponent<ExtractPropTypes<{
6
+ label: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ labelClass: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ checkboxClass: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ size: {
19
+ type: () => CheckboxSize;
20
+ default: string;
21
+ };
22
+ variant: {
23
+ type: () => CheckboxVariant;
24
+ default: string;
25
+ };
26
+ icon: {
27
+ type: () => Icons;
28
+ default: string;
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ modelValue: {
35
+ type: PropType<boolean>;
36
+ required: true;
37
+ };
38
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
39
+ "update:modelValue": (value: boolean) => any;
40
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
41
+ label: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ labelClass: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ checkboxClass: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ size: {
54
+ type: () => CheckboxSize;
55
+ default: string;
56
+ };
57
+ variant: {
58
+ type: () => CheckboxVariant;
59
+ default: string;
60
+ };
61
+ icon: {
62
+ type: () => Icons;
63
+ default: string;
64
+ };
65
+ disabled: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ modelValue: {
70
+ type: PropType<boolean>;
71
+ required: true;
72
+ };
73
+ }>> & Readonly<{
74
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
75
+ }>, {
76
+ label: string;
77
+ icon: "check" | "close" | "loading" | "chevron-down" | "alert" | "hamburger" | "sun" | "moon" | "eye" | "eye-off";
78
+ size: CheckboxSize;
79
+ disabled: boolean;
80
+ variant: CheckboxVariant;
81
+ labelClass: string;
82
+ checkboxClass: string;
83
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
84
+ export default _default;
@@ -0,0 +1,80 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ content?(_: {}): any;
7
+ footer?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: any;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
14
+ direction: {
15
+ type: () => "left" | "bottom" | "right";
16
+ default: string;
17
+ options: string[];
18
+ };
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ description: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ showFooter: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ show: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ modelValue: {
36
+ type: PropType<any>;
37
+ };
38
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
39
+ "update:modelValue": (value: any) => any;
40
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
41
+ direction: {
42
+ type: () => "left" | "bottom" | "right";
43
+ default: string;
44
+ options: string[];
45
+ };
46
+ title: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ description: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ showFooter: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ show: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ modelValue: {
63
+ type: PropType<any>;
64
+ };
65
+ }>> & Readonly<{
66
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
67
+ }>, {
68
+ title: string;
69
+ direction: "bottom" | "left" | "right";
70
+ description: string;
71
+ showFooter: boolean;
72
+ show: boolean;
73
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
74
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
75
+ export default _default;
76
+ type __VLS_WithTemplateSlots<T, S> = T & {
77
+ new (): {
78
+ $slots: S;
79
+ };
80
+ };
@@ -0,0 +1,80 @@
1
+ import { Icons } from '../exports/icons';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ExtractPropTypes<{
4
+ leadingIcon: {
5
+ type: () => Icons;
6
+ default: string;
7
+ };
8
+ trailingIcon: {
9
+ type: () => Icons;
10
+ default: string;
11
+ };
12
+ placeholder: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ helpText: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ type: {
21
+ type: () => "text" | "password";
22
+ default: string;
23
+ };
24
+ labelStyle: {
25
+ type: () => "float" | "static";
26
+ default: string;
27
+ };
28
+ label: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ modelValue: {
33
+ type: PropType<any>;
34
+ };
35
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
36
+ "update:modelValue": (value: any) => any;
37
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
38
+ leadingIcon: {
39
+ type: () => Icons;
40
+ default: string;
41
+ };
42
+ trailingIcon: {
43
+ type: () => Icons;
44
+ default: string;
45
+ };
46
+ placeholder: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ helpText: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ type: {
55
+ type: () => "text" | "password";
56
+ default: string;
57
+ };
58
+ labelStyle: {
59
+ type: () => "float" | "static";
60
+ default: string;
61
+ };
62
+ label: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ modelValue: {
67
+ type: PropType<any>;
68
+ };
69
+ }>> & Readonly<{
70
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
71
+ }>, {
72
+ label: string;
73
+ type: "text" | "password";
74
+ placeholder: string;
75
+ leadingIcon: "check" | "close" | "loading" | "chevron-down" | "alert" | "hamburger" | "sun" | "moon" | "eye" | "eye-off";
76
+ trailingIcon: "check" | "close" | "loading" | "chevron-down" | "alert" | "hamburger" | "sun" | "moon" | "eye" | "eye-off";
77
+ helpText: string;
78
+ labelStyle: "float" | "static";
79
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
80
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_PublicProps = {
3
+ modelValue?: any;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ content?(_: {}): any;
10
+ footer?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
+ "update:modelValue": (value: any) => any;
18
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,51 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ body?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
13
+ position: {
14
+ type: () => "top" | "bottom";
15
+ default: string;
16
+ options: string[];
17
+ };
18
+ bodyClass: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ contentClass: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
27
+ position: {
28
+ type: () => "top" | "bottom";
29
+ default: string;
30
+ options: string[];
31
+ };
32
+ bodyClass: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ contentClass: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ }>> & Readonly<{}>, {
41
+ contentClass: string;
42
+ position: "bottom" | "top";
43
+ bodyClass: string;
44
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
+ export default _default;
47
+ type __VLS_WithTemplateSlots<T, S> = T & {
48
+ new (): {
49
+ $slots: S;
50
+ };
51
+ };
@@ -6,4 +6,8 @@ export declare const iconsMap: {
6
6
  readonly "chevron-down": DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
7
7
  readonly alert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
8
8
  readonly hamburger: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
9
+ readonly sun: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
10
+ readonly moon: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
11
+ readonly eye: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
12
+ readonly "eye-off": DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
9
13
  };
package/exports/ui.d.ts CHANGED
@@ -1 +1,7 @@
1
+ export { default as Accordion, type AccordionItem } from '../components/Accordion.vue';
1
2
  export { default as Button } from '../components/Button.vue';
3
+ export { default as Checkbox } from '../components/Checkbox.vue';
4
+ export { default as Drawer } from '../components/Drawer.vue';
5
+ export { default as Input } from '../components/Input.vue';
6
+ export { default as Modal } from '../components/Modal.vue';
7
+ export { default as Popover } from '../components/Popover.vue';
@@ -0,0 +1 @@
1
+ export { useRandomId } from '../utils/useRandomId';
package/icons.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, I as c, i } from "./index-DETZgETo.js";
1
+ import { _ as a, I as c, i } from "./index-1Hh5u2VX.js";
2
2
  export {
3
3
  a as Icon,
4
4
  c as Icons,
@@ -0,0 +1,227 @@
1
+ import { createElementBlock as r, openBlock as e, createElementVNode as n, defineComponent as h, computed as a, createBlock as _, renderSlot as u, resolveDynamicComponent as w, normalizeClass as m } from "vue";
2
+ const s = (o, t) => {
3
+ const c = o.__vccOpts || o;
4
+ for (const [i, l] of t)
5
+ c[i] = l;
6
+ return c;
7
+ }, f = {}, g = {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: "24",
10
+ height: "24",
11
+ viewBox: "0 0 24 24"
12
+ };
13
+ function p(o, t) {
14
+ return e(), r("svg", g, [...t[0] || (t[0] = [
15
+ n("path", {
16
+ fill: "currentColor",
17
+ d: "m9.55 15.15l8.475-8.475q.3-.3.7-.3t.7.3t.3.713t-.3.712l-9.175 9.2q-.3.3-.7.3t-.7-.3L4.55 13q-.3-.3-.288-.712t.313-.713t.713-.3t.712.3z"
18
+ }, null, -1)
19
+ ])]);
20
+ }
21
+ const v = /* @__PURE__ */ s(f, [["render", p]]), x = {}, k = {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ width: "24",
24
+ height: "24",
25
+ viewBox: "0 0 24 24"
26
+ };
27
+ function $(o, t) {
28
+ return e(), r("svg", k, [...t[0] || (t[0] = [
29
+ n("path", {
30
+ fill: "currentColor",
31
+ d: "m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z"
32
+ }, null, -1)
33
+ ])]);
34
+ }
35
+ const C = /* @__PURE__ */ s(x, [["render", $]]), M = {}, y = {
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: "24",
38
+ height: "24",
39
+ viewBox: "0 0 24 24"
40
+ };
41
+ function B(o, t) {
42
+ return e(), r("svg", y, [...t[0] || (t[0] = [
43
+ n("path", {
44
+ fill: "currentColor",
45
+ d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
46
+ opacity: "0.25"
47
+ }, null, -1),
48
+ n("path", {
49
+ fill: "currentColor",
50
+ d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"
51
+ }, [
52
+ n("animateTransform", {
53
+ type: "rotate",
54
+ attributeName: "transform",
55
+ dur: "0.75s",
56
+ repeatCount: "indefinite",
57
+ values: "0 12 12;360 12 12"
58
+ })
59
+ ], -1)
60
+ ])]);
61
+ }
62
+ const L = /* @__PURE__ */ s(M, [["render", B]]), z = {}, A = {
63
+ xmlns: "http://www.w3.org/2000/svg",
64
+ width: "24",
65
+ height: "24",
66
+ viewBox: "-5 -8 24 24"
67
+ };
68
+ function q(o, t) {
69
+ return e(), r("svg", A, [...t[0] || (t[0] = [
70
+ n("path", {
71
+ fill: "currentColor",
72
+ d: "m7.071 5.314l4.95-4.95a1 1 0 1 1 1.414 1.414L7.778 7.435a1 1 0 0 1-1.414 0L.707 1.778A1 1 0 1 1 2.121.364z"
73
+ }, null, -1)
74
+ ])]);
75
+ }
76
+ const j = /* @__PURE__ */ s(z, [["render", q]]), b = {}, E = {
77
+ xmlns: "http://www.w3.org/2000/svg",
78
+ width: "24",
79
+ height: "24",
80
+ viewBox: "0 0 24 24"
81
+ };
82
+ function I(o, t) {
83
+ return e(), r("svg", E, [...t[0] || (t[0] = [
84
+ n("g", { fill: "none" }, [
85
+ n("path", {
86
+ fill: "currentColor",
87
+ "fill-opacity": "0.16",
88
+ d: "M10.575 5.217L3.517 17a1.667 1.667 0 0 0 1.425 2.5h14.116a1.666 1.666 0 0 0 1.425-2.5L13.426 5.217a1.666 1.666 0 0 0-2.85 0"
89
+ }),
90
+ n("path", {
91
+ stroke: "currentColor",
92
+ "stroke-linecap": "round",
93
+ "stroke-linejoin": "round",
94
+ "stroke-miterlimit": "10",
95
+ "stroke-width": "1.5",
96
+ d: "M12 16h.008M12 10v3m-1.425-7.783L3.517 17a1.667 1.667 0 0 0 1.425 2.5h14.116a1.666 1.666 0 0 0 1.425-2.5L13.426 5.217a1.666 1.666 0 0 0-2.85 0"
97
+ })
98
+ ], -1)
99
+ ])]);
100
+ }
101
+ const H = /* @__PURE__ */ s(b, [["render", I]]), O = {}, S = {
102
+ xmlns: "http://www.w3.org/2000/svg",
103
+ width: "16",
104
+ height: "16",
105
+ viewBox: "0 0 16 16"
106
+ };
107
+ function Z(o, t) {
108
+ return e(), r("svg", S, [...t[0] || (t[0] = [
109
+ n("path", {
110
+ fill: "none",
111
+ stroke: "currentColor",
112
+ "stroke-linecap": "round",
113
+ "stroke-linejoin": "round",
114
+ "stroke-width": "1.5",
115
+ d: "m2.75 12.25h10.5m-10.5-4h10.5m-10.5-4h10.5"
116
+ }, null, -1)
117
+ ])]);
118
+ }
119
+ const D = /* @__PURE__ */ s(O, [["render", Z]]), N = {}, V = {
120
+ xmlns: "http://www.w3.org/2000/svg",
121
+ width: "20",
122
+ height: "20",
123
+ viewBox: "0 0 20 20"
124
+ };
125
+ function T(o, t) {
126
+ return e(), r("svg", V, [...t[0] || (t[0] = [
127
+ n("path", {
128
+ fill: "currentColor",
129
+ d: "M19 9.199h-.98c-.553 0-1 .359-1 .801c0 .441.447.799 1 .799H19c.552 0 1-.357 1-.799c0-.441-.449-.801-1-.801M10 4.5A5.483 5.483 0 0 0 4.5 10c0 3.051 2.449 5.5 5.5 5.5c3.05 0 5.5-2.449 5.5-5.5S13.049 4.5 10 4.5m0 9.5c-2.211 0-4-1.791-4-4c0-2.211 1.789-4 4-4a4 4 0 0 1 0 8m-7-4c0-.441-.449-.801-1-.801H1c-.553 0-1 .359-1 .801c0 .441.447.799 1 .799h1c.551 0 1-.358 1-.799m7-7c.441 0 .799-.447.799-1V1c0-.553-.358-1-.799-1s-.801.447-.801 1v1c0 .553.359 1 .801 1m0 14c-.442 0-.801.447-.801 1v1c0 .553.359 1 .801 1c.441 0 .799-.447.799-1v-1c0-.553-.358-1-.799-1m7.365-13.234c.391-.391.454-.961.142-1.273s-.883-.248-1.272.143l-.7.699c-.391.391-.454.961-.142 1.273s.883.248 1.273-.143zM3.334 15.533l-.7.701c-.391.391-.454.959-.142 1.271s.883.25 1.272-.141l.7-.699c.391-.391.454-.961.142-1.274s-.883-.247-1.272.142m.431-12.898c-.39-.391-.961-.455-1.273-.143s-.248.883.141 1.274l.7.699c.391.391.96.455 1.272.143s.249-.883-.141-1.273zm11.769 14.031l.7.699c.391.391.96.453 1.272.143c.312-.312.249-.883-.142-1.273l-.699-.699c-.391-.391-.961-.455-1.274-.143s-.248.882.143 1.273"
130
+ }, null, -1)
131
+ ])]);
132
+ }
133
+ const F = /* @__PURE__ */ s(N, [["render", T]]), G = {}, J = {
134
+ xmlns: "http://www.w3.org/2000/svg",
135
+ width: "24",
136
+ height: "24",
137
+ viewBox: "0 0 24 24"
138
+ };
139
+ function K(o, t) {
140
+ return e(), r("svg", J, [...t[0] || (t[0] = [
141
+ n("path", {
142
+ fill: "none",
143
+ stroke: "currentColor",
144
+ "stroke-linecap": "round",
145
+ "stroke-linejoin": "round",
146
+ "stroke-width": "1.5",
147
+ d: "M12 21a9 9 0 0 0 8.997-9.252a7 7 0 0 1-10.371-8.643A9 9 0 0 0 12 21"
148
+ }, null, -1)
149
+ ])]);
150
+ }
151
+ const P = /* @__PURE__ */ s(G, [["render", K]]), Q = {}, R = {
152
+ xmlns: "http://www.w3.org/2000/svg",
153
+ width: "24",
154
+ height: "24",
155
+ viewBox: "0 0 24 24"
156
+ };
157
+ function U(o, t) {
158
+ return e(), r("svg", R, [...t[0] || (t[0] = [
159
+ n("g", {
160
+ fill: "none",
161
+ stroke: "currentColor",
162
+ "stroke-linecap": "round",
163
+ "stroke-linejoin": "round",
164
+ "stroke-width": "2"
165
+ }, [
166
+ n("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0" }),
167
+ n("circle", {
168
+ cx: "12",
169
+ cy: "12",
170
+ r: "3"
171
+ })
172
+ ], -1)
173
+ ])]);
174
+ }
175
+ const W = /* @__PURE__ */ s(Q, [["render", U]]), X = {}, Y = {
176
+ xmlns: "http://www.w3.org/2000/svg",
177
+ width: "24",
178
+ height: "24",
179
+ viewBox: "0 0 24 24"
180
+ };
181
+ function t1(o, t) {
182
+ return e(), r("svg", Y, [...t[0] || (t[0] = [
183
+ n("g", {
184
+ fill: "none",
185
+ stroke: "currentColor",
186
+ "stroke-linecap": "round",
187
+ "stroke-linejoin": "round",
188
+ "stroke-width": "2"
189
+ }, [
190
+ n("path", { d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242" }),
191
+ n("path", { d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20" })
192
+ ], -1)
193
+ ])]);
194
+ }
195
+ const n1 = /* @__PURE__ */ s(X, [["render", t1]]), d = {
196
+ check: v,
197
+ close: C,
198
+ loading: L,
199
+ "chevron-down": j,
200
+ alert: H,
201
+ hamburger: D,
202
+ sun: F,
203
+ moon: P,
204
+ eye: W,
205
+ "eye-off": n1
206
+ }, s1 = /* @__PURE__ */ h({
207
+ __name: "Icon",
208
+ props: {
209
+ icon: {},
210
+ class: {},
211
+ size: {}
212
+ },
213
+ setup(o) {
214
+ const t = o, c = a(() => t.size ?? 24), i = a(() => t.icon ? o1[t.icon] : "");
215
+ return (l, e1) => i.value ? (e(), _(w(i.value), {
216
+ key: 0,
217
+ class: m(["shrink-0", t.class]),
218
+ width: c.value,
219
+ height: c.value
220
+ }, null, 8, ["class", "width", "height"])) : u(l.$slots, "default", { key: 1 });
221
+ }
222
+ }), o1 = d, c1 = Object.keys(d);
223
+ export {
224
+ o1 as I,
225
+ s1 as _,
226
+ c1 as i
227
+ };