@indielayer/ui 1.0.0 → 1.0.1

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.
Files changed (147) hide show
  1. package/README.md +2 -2
  2. package/lib/common/icons.d.ts +15 -0
  3. package/lib/common/utils.d.ts +32 -0
  4. package/lib/components/alert/Alert.theme.d.ts +8 -0
  5. package/lib/components/alert/Alert.vue.d.ts +31 -0
  6. package/lib/components/alert/__tests__/Alert.spec.d.ts +1 -0
  7. package/lib/components/avatar/Avatar.theme.d.ts +8 -0
  8. package/lib/components/avatar/Avatar.vue.d.ts +46 -0
  9. package/lib/components/avatar/__tests__/Avatar.spec.d.ts +1 -0
  10. package/lib/components/badge/Badge.theme.d.ts +8 -0
  11. package/lib/components/badge/Badge.vue.d.ts +74 -0
  12. package/lib/components/badge/__tests__/Badge.spec.d.ts +1 -0
  13. package/lib/components/breadcrumbs/Breadcrumbs.theme.d.ts +8 -0
  14. package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +41 -0
  15. package/lib/components/breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +1 -0
  16. package/lib/components/button/Button.theme.d.ts +10 -0
  17. package/lib/components/button/Button.vue.d.ts +81 -0
  18. package/lib/components/button/ButtonGroup.theme.d.ts +6 -0
  19. package/lib/components/button/ButtonGroup.vue.d.ts +52 -0
  20. package/lib/components/button/__tests__/ Button.spec.d.ts +1 -0
  21. package/lib/components/button/__tests__/ ButtonGroup.spec.d.ts +1 -0
  22. package/lib/components/card/Card.theme.d.ts +7 -0
  23. package/lib/components/card/Card.vue.d.ts +17 -0
  24. package/lib/components/card/__tests__/Card.spec.d.ts +1 -0
  25. package/lib/components/checkbox/Checkbox.theme.d.ts +11 -0
  26. package/lib/components/checkbox/Checkbox.vue.d.ts +77 -0
  27. package/lib/components/checkbox/__tests__/Checkbox.spec.d.ts +1 -0
  28. package/lib/components/collapse/Collapse.theme.d.ts +9 -0
  29. package/lib/components/collapse/Collapse.vue.d.ts +40 -0
  30. package/lib/components/collapse/__tests__/Collapse.spec.d.ts +1 -0
  31. package/lib/components/container/Container.theme.d.ts +6 -0
  32. package/lib/components/container/Container.vue.d.ts +14 -0
  33. package/lib/components/container/__tests__/Container.spec.d.ts +1 -0
  34. package/lib/components/divider/Divider.theme.d.ts +9 -0
  35. package/lib/components/divider/Divider.vue.d.ts +10 -0
  36. package/lib/components/divider/__tests__/Divider.spec.d.ts +1 -0
  37. package/lib/components/drawer/Drawer.theme.d.ts +7 -0
  38. package/lib/components/drawer/Drawer.vue.d.ts +61 -0
  39. package/lib/components/drawer/__tests__/Drawer.spec.d.ts +1 -0
  40. package/lib/components/form/Form.theme.d.ts +6 -0
  41. package/lib/components/form/Form.vue.d.ts +48 -0
  42. package/lib/components/form/__tests__/Form.spec.d.ts +1 -0
  43. package/lib/components/helpers/InputError.d.ts +8 -0
  44. package/lib/components/icon/Icon.theme.d.ts +7 -0
  45. package/lib/components/icon/Icon.vue.d.ts +36 -0
  46. package/lib/components/icon/__tests__/Icon.spec.d.ts +1 -0
  47. package/lib/components/image/Image.theme.d.ts +6 -0
  48. package/lib/components/image/Image.vue.d.ts +6 -0
  49. package/lib/components/image/__tests__/Image.spec.d.ts +1 -0
  50. package/lib/components/index.d.ts +45 -0
  51. package/lib/components/input/Input.theme.d.ts +11 -0
  52. package/lib/components/input/Input.vue.d.ts +119 -0
  53. package/lib/components/input/__tests__/Input.spec.d.ts +1 -0
  54. package/lib/components/link/Link.theme.d.ts +8 -0
  55. package/lib/components/link/Link.vue.d.ts +34 -0
  56. package/lib/components/link/__tests__/Link.spec.d.ts +1 -0
  57. package/lib/components/menu/Menu.theme.d.ts +6 -0
  58. package/lib/components/menu/Menu.vue.d.ts +65 -0
  59. package/lib/components/menu/MenuItem.theme.d.ts +8 -0
  60. package/lib/components/menu/MenuItem.vue.d.ts +89 -0
  61. package/lib/components/menu/__tests__/Menu.spec.d.ts +1 -0
  62. package/lib/components/menu/__tests__/MenuItem.spec.d.ts +1 -0
  63. package/lib/components/modal/Modal.theme.d.ts +13 -0
  64. package/lib/components/modal/Modal.vue.d.ts +29 -0
  65. package/lib/components/modal/__tests__/Modal.spec.d.ts +1 -0
  66. package/lib/components/notifications/Notifications.theme.d.ts +8 -0
  67. package/lib/components/notifications/Notifications.vue.d.ts +91 -0
  68. package/lib/components/notifications/__tests__/Notifications.spec.d.ts +1 -0
  69. package/lib/components/pagination/Pagination.theme.d.ts +9 -0
  70. package/lib/components/pagination/Pagination.vue.d.ts +49 -0
  71. package/lib/components/pagination/PaginationItem.theme.d.ts +7 -0
  72. package/lib/components/pagination/PaginationItem.vue.d.ts +33 -0
  73. package/lib/components/pagination/__tests__/Pagination.spec.d.ts +1 -0
  74. package/lib/components/pagination/__tests__/PaginationItem.spec.d.ts +1 -0
  75. package/lib/components/popover/Popover.theme.d.ts +7 -0
  76. package/lib/components/popover/Popover.vue.d.ts +64 -0
  77. package/lib/components/popover/PopoverContainer.theme.d.ts +6 -0
  78. package/lib/components/popover/PopoverContainer.vue.d.ts +14 -0
  79. package/lib/components/popover/__tests__/Popover.spec.d.ts +1 -0
  80. package/lib/components/popover/__tests__/PopoverContainer.spec.d.ts +1 -0
  81. package/lib/components/progress/Progress.theme.d.ts +10 -0
  82. package/lib/components/progress/Progress.vue.d.ts +40 -0
  83. package/lib/components/progress/__tests__/Progress.spec.d.ts +1 -0
  84. package/lib/components/radio/Radio.theme.d.ts +12 -0
  85. package/lib/components/radio/Radio.vue.d.ts +78 -0
  86. package/lib/components/radio/__tests__/Radio.spec.d.ts +1 -0
  87. package/lib/components/scroll/Scroll.theme.d.ts +6 -0
  88. package/lib/components/scroll/Scroll.vue.d.ts +23 -0
  89. package/lib/components/scroll/__tests__/Scroll.spec.d.ts +1 -0
  90. package/lib/components/select/Select.theme.d.ts +13 -0
  91. package/lib/components/select/Select.vue.d.ts +80 -0
  92. package/lib/components/select/__tests__/Select.spec.d.ts +1 -0
  93. package/lib/components/skeleton/Skeleton.theme.d.ts +6 -0
  94. package/lib/components/skeleton/Skeleton.vue.d.ts +14 -0
  95. package/lib/components/skeleton/__tests__/Skeleton.spec.d.ts +1 -0
  96. package/lib/components/slider/Slider.theme.d.ts +10 -0
  97. package/lib/components/slider/Slider.vue.d.ts +87 -0
  98. package/lib/components/slider/__tests__/Slider.spec.d.ts +1 -0
  99. package/lib/components/spacer/Spacer.d.ts +2 -0
  100. package/lib/components/spacer/__tests__/Spacer.spec.d.ts +1 -0
  101. package/lib/components/spinner/Spinner.vue.d.ts +25 -0
  102. package/lib/components/spinner/__tests__/Spinner.spec.d.ts +1 -0
  103. package/lib/components/tab/Tab.theme.d.ts +9 -0
  104. package/lib/components/tab/Tab.vue.d.ts +43 -0
  105. package/lib/components/tab/TabGroup.theme.d.ts +10 -0
  106. package/lib/components/tab/TabGroup.vue.d.ts +57 -0
  107. package/lib/components/tab/__tests__/Tab.spec.d.ts +1 -0
  108. package/lib/components/tab/__tests__/TabGroup.spec.d.ts +1 -0
  109. package/lib/components/table/Table.theme.d.ts +8 -0
  110. package/lib/components/table/Table.vue.d.ts +78 -0
  111. package/lib/components/table/TableBody.d.ts +2 -0
  112. package/lib/components/table/TableCell.theme.d.ts +7 -0
  113. package/lib/components/table/TableCell.vue.d.ts +33 -0
  114. package/lib/components/table/TableHead.d.ts +2 -0
  115. package/lib/components/table/TableHeader.vue.d.ts +33 -0
  116. package/lib/components/table/TableRow.vue.d.ts +23 -0
  117. package/lib/components/table/__tests__/Table.spec.d.ts +1 -0
  118. package/lib/components/tag/Tag.theme.d.ts +9 -0
  119. package/lib/components/tag/Tag.vue.d.ts +45 -0
  120. package/lib/components/tag/__tests__/Tag.spec.d.ts +1 -0
  121. package/lib/components/textarea/Textarea.theme.d.ts +10 -0
  122. package/lib/components/textarea/Textarea.vue.d.ts +100 -0
  123. package/lib/components/textarea/__tests__/Textarea.spec.d.ts +1 -0
  124. package/lib/components/toggle/Toggle.theme.d.ts +11 -0
  125. package/lib/components/toggle/Toggle.vue.d.ts +78 -0
  126. package/lib/components/toggle/__tests__/Toggle.spec.d.ts +1 -0
  127. package/lib/components/tooltip/Tooltip.theme.d.ts +11 -0
  128. package/lib/components/tooltip/Tooltip.vue.d.ts +2 -0
  129. package/lib/components/tooltip/__tests__/Tooltip.spec.d.ts +1 -0
  130. package/lib/composables/colors-utils.d.ts +7 -0
  131. package/lib/composables/colors.d.ts +30 -0
  132. package/lib/composables/common.d.ts +15 -0
  133. package/lib/composables/css.d.ts +6 -0
  134. package/lib/composables/index.d.ts +7 -0
  135. package/lib/composables/inputtable.d.ts +37 -0
  136. package/lib/composables/interactive.d.ts +15 -0
  137. package/lib/composables/keys.d.ts +8 -0
  138. package/lib/composables/notifications.d.ts +1 -0
  139. package/lib/composables/theme.d.ts +20 -0
  140. package/lib/create.d.ts +13 -0
  141. package/lib/index.cjs.js +1 -1
  142. package/lib/index.d.ts +6 -0
  143. package/lib/index.es.js +2 -2
  144. package/lib/install.d.ts +4 -0
  145. package/lib/version.d.ts +2 -0
  146. package/package.json +1 -1
  147. package/src/version.ts +1 -1
@@ -0,0 +1,13 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: string;
5
+ backdrop: string;
6
+ modal: ({ props }: ThemeParams) => string;
7
+ closeIcon: string;
8
+ header: string;
9
+ content: string;
10
+ actions: string;
11
+ };
12
+ };
13
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ size: {
4
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
5
+ default: string;
6
+ };
7
+ modelValue: BooleanConstructor;
8
+ showClose: BooleanConstructor;
9
+ backdrop: BooleanConstructor;
10
+ }, {
11
+ open: () => void;
12
+ close: () => void;
13
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ size: {
15
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
16
+ default: string;
17
+ };
18
+ modelValue: BooleanConstructor;
19
+ showClose: BooleanConstructor;
20
+ backdrop: BooleanConstructor;
21
+ }>> & {
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }, {
24
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "full";
25
+ modelValue: boolean;
26
+ backdrop: boolean;
27
+ showClose: boolean;
28
+ }>;
29
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ classes: {
3
+ wrapper: string;
4
+ list: string;
5
+ item: string;
6
+ };
7
+ };
8
+ export default _default;
@@ -0,0 +1,91 @@
1
+ import { type PropType } from 'vue';
2
+ export declare type NotificationAlign = 'left' | 'right';
3
+ export declare type NotificationPosition = 'bottom' | 'top';
4
+ export declare type NotificationAction = {
5
+ onClick: () => void;
6
+ label: string;
7
+ color?: string;
8
+ };
9
+ export declare type NotificationEvent = {
10
+ id?: number;
11
+ icon?: string;
12
+ action?: NotificationAction;
13
+ iconColor?: string;
14
+ title?: string;
15
+ style?: string;
16
+ message?: string;
17
+ timeout?: number;
18
+ removable?: boolean;
19
+ align?: NotificationAlign;
20
+ position?: NotificationPosition;
21
+ };
22
+ declare const _default: import("vue").DefineComponent<{
23
+ align: {
24
+ type: PropType<NotificationAlign>;
25
+ default: string;
26
+ validator: (value: string) => boolean;
27
+ };
28
+ position: {
29
+ type: PropType<NotificationPosition>;
30
+ default: string;
31
+ validator: (value: string) => boolean;
32
+ };
33
+ timeout: {
34
+ type: NumberConstructor;
35
+ default: number;
36
+ };
37
+ removable: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ injectKey: {
42
+ type: (SymbolConstructor | StringConstructor)[];
43
+ default: import("vue").InjectionKey<any>;
44
+ };
45
+ color: {
46
+ readonly type: StringConstructor;
47
+ readonly default: string | undefined;
48
+ };
49
+ }, {
50
+ log: (notification: NotificationEvent | string) => void;
51
+ info: (notification: NotificationEvent | string) => void;
52
+ success: (notification: NotificationEvent | string) => void;
53
+ warn: (notification: NotificationEvent | string) => void;
54
+ warning: (notification: NotificationEvent | string) => void;
55
+ error: (notification: NotificationEvent | string) => void;
56
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
+ align: {
58
+ type: PropType<NotificationAlign>;
59
+ default: string;
60
+ validator: (value: string) => boolean;
61
+ };
62
+ position: {
63
+ type: PropType<NotificationPosition>;
64
+ default: string;
65
+ validator: (value: string) => boolean;
66
+ };
67
+ timeout: {
68
+ type: NumberConstructor;
69
+ default: number;
70
+ };
71
+ removable: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ injectKey: {
76
+ type: (SymbolConstructor | StringConstructor)[];
77
+ default: import("vue").InjectionKey<any>;
78
+ };
79
+ color: {
80
+ readonly type: StringConstructor;
81
+ readonly default: string | undefined;
82
+ };
83
+ }>>, {
84
+ removable: boolean;
85
+ color: string;
86
+ position: NotificationPosition;
87
+ align: NotificationAlign;
88
+ timeout: number;
89
+ injectKey: string | symbol;
90
+ }>;
91
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props }: ThemeParams) => "flex items-center" | "flex items-center space-x-2" | "flex space-x-6";
5
+ dots: ({ props }: ThemeParams) => "h-4 w-4" | "h-5 w-5" | "h-2 w-2" | "h-3 w-3";
6
+ };
7
+ styles: ({ props, css, colors }: ThemeParams) => string;
8
+ };
9
+ export default _default;
@@ -0,0 +1,49 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ links: BooleanConstructor;
4
+ totalPages: {
5
+ type: NumberConstructor;
6
+ default: number;
7
+ };
8
+ modelValue: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ variant: {
13
+ type: PropType<"simple" | "dots" | "quick">;
14
+ default: string;
15
+ };
16
+ size: {
17
+ readonly type: PropType<import("../../composables/common").Size>;
18
+ readonly default: "md";
19
+ readonly validator: (value: string) => boolean;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ links: BooleanConstructor;
23
+ totalPages: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ modelValue: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ variant: {
32
+ type: PropType<"simple" | "dots" | "quick">;
33
+ default: string;
34
+ };
35
+ size: {
36
+ readonly type: PropType<import("../../composables/common").Size>;
37
+ readonly default: "md";
38
+ readonly validator: (value: string) => boolean;
39
+ };
40
+ }>> & {
41
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
42
+ }, {
43
+ size: import("../../composables/common").Size;
44
+ modelValue: number;
45
+ links: boolean;
46
+ totalPages: number;
47
+ variant: "simple" | "dots" | "quick";
48
+ }>;
49
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props }: ThemeParams) => "!leading-none !p-1 min-w-[1.375rem]" | "!leading-none !p-2 min-w-[2rem]" | "!leading-none !p-3 min-w-[2.75rem]" | "!leading-none !p-4 min-w-[3.375rem]" | "!leading-none !p-2 min-w-[2.125rem]";
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ selected: BooleanConstructor;
7
+ links: BooleanConstructor;
8
+ size: {
9
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
10
+ readonly default: "md";
11
+ readonly validator: (value: string) => boolean;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ value: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ selected: BooleanConstructor;
19
+ links: BooleanConstructor;
20
+ size: {
21
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
22
+ readonly default: "md";
23
+ readonly validator: (value: string) => boolean;
24
+ };
25
+ }>> & {
26
+ onInput?: ((...args: any[]) => any) | undefined;
27
+ }, {
28
+ size: import("../../composables/common").Size;
29
+ value: number;
30
+ selected: boolean;
31
+ links: boolean;
32
+ }>;
33
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ classes: {
3
+ wrapper: string;
4
+ content: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,64 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ align: {
4
+ type: PropType<"top" | "bottom" | "left" | "right" | "center">;
5
+ default: string;
6
+ validator: (value: string) => boolean;
7
+ };
8
+ position: {
9
+ type: PropType<"top" | "bottom" | "left" | "right">;
10
+ default: string;
11
+ validator: (value: string) => boolean;
12
+ };
13
+ dismissOnClick: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ autoAlign: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ disabled: BooleanConstructor;
22
+ hover: BooleanConstructor;
23
+ block: BooleanConstructor;
24
+ }, {
25
+ open: () => void;
26
+ close: () => void;
27
+ toggle: () => void;
28
+ isOpen: import("vue").Ref<boolean>;
29
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "toggle" | "open")[], "toggle" | "open" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ align: {
31
+ type: PropType<"top" | "bottom" | "left" | "right" | "center">;
32
+ default: string;
33
+ validator: (value: string) => boolean;
34
+ };
35
+ position: {
36
+ type: PropType<"top" | "bottom" | "left" | "right">;
37
+ default: string;
38
+ validator: (value: string) => boolean;
39
+ };
40
+ dismissOnClick: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ autoAlign: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ disabled: BooleanConstructor;
49
+ hover: BooleanConstructor;
50
+ block: BooleanConstructor;
51
+ }>> & {
52
+ onClose?: ((...args: any[]) => any) | undefined;
53
+ onToggle?: ((...args: any[]) => any) | undefined;
54
+ onOpen?: ((...args: any[]) => any) | undefined;
55
+ }, {
56
+ hover: boolean;
57
+ position: "top" | "bottom" | "left" | "right";
58
+ align: "top" | "bottom" | "left" | "right" | "center";
59
+ block: boolean;
60
+ disabled: boolean;
61
+ dismissOnClick: boolean;
62
+ autoAlign: boolean;
63
+ }>;
64
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ classes: {
3
+ wrapper: string;
4
+ };
5
+ };
6
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ tag: {
3
+ default: string;
4
+ type: StringConstructor;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ tag: {
8
+ default: string;
9
+ type: StringConstructor;
10
+ };
11
+ }>>, {
12
+ tag: string;
13
+ }>;
14
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props }: ThemeParams) => string;
5
+ list: string;
6
+ item: string;
7
+ };
8
+ styles: ({ props, colors, css }: ThemeParams) => Record<string, string>[];
9
+ };
10
+ export default _default;
@@ -0,0 +1,40 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ percentage: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ validator: (value: number) => boolean;
6
+ };
7
+ gradient: BooleanConstructor;
8
+ animate: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ thick: BooleanConstructor;
13
+ color: {
14
+ readonly type: StringConstructor;
15
+ readonly default: string | undefined;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ percentage: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ validator: (value: number) => boolean;
22
+ };
23
+ gradient: BooleanConstructor;
24
+ animate: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ thick: BooleanConstructor;
29
+ color: {
30
+ readonly type: StringConstructor;
31
+ readonly default: string | undefined;
32
+ };
33
+ }>>, {
34
+ color: string;
35
+ animate: boolean;
36
+ thick: boolean;
37
+ percentage: number;
38
+ gradient: boolean;
39
+ }>;
40
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: string;
5
+ circle: ({ props }: ThemeParams) => string;
6
+ circleIcon: ({ props, data }: ThemeParams) => string[];
7
+ label: ({ props, data }: ThemeParams) => string;
8
+ content: ({ props }: ThemeParams) => string;
9
+ };
10
+ styles: ({ props, colors, css, data }: ThemeParams) => Record<string, string> | (string | Record<string, string>)[];
11
+ };
12
+ export default _default;
@@ -0,0 +1,78 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: (ObjectConstructor | NumberConstructor | StringConstructor | ArrayConstructor | FunctionConstructor | BooleanConstructor)[];
3
+ label: StringConstructor;
4
+ helper: StringConstructor;
5
+ glow: BooleanConstructor;
6
+ modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
7
+ name: StringConstructor;
8
+ readonly: BooleanConstructor;
9
+ required: BooleanConstructor;
10
+ validateOnInput: {
11
+ readonly type: BooleanConstructor;
12
+ readonly default: true;
13
+ };
14
+ error: StringConstructor;
15
+ rules: {
16
+ readonly type: ArrayConstructor;
17
+ readonly default: () => never[];
18
+ };
19
+ disabled: BooleanConstructor;
20
+ loading: BooleanConstructor;
21
+ color: {
22
+ readonly type: StringConstructor;
23
+ readonly default: string | undefined;
24
+ };
25
+ size: {
26
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
27
+ readonly default: "md";
28
+ readonly validator: (value: string) => boolean;
29
+ };
30
+ }, {
31
+ focus: () => void | undefined;
32
+ blur: () => void | undefined;
33
+ reset: () => void;
34
+ validate: (val: any) => boolean;
35
+ setError: (val: string) => void;
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ value: (ObjectConstructor | NumberConstructor | StringConstructor | ArrayConstructor | FunctionConstructor | BooleanConstructor)[];
38
+ label: StringConstructor;
39
+ helper: StringConstructor;
40
+ glow: BooleanConstructor;
41
+ modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
42
+ name: StringConstructor;
43
+ readonly: BooleanConstructor;
44
+ required: BooleanConstructor;
45
+ validateOnInput: {
46
+ readonly type: BooleanConstructor;
47
+ readonly default: true;
48
+ };
49
+ error: StringConstructor;
50
+ rules: {
51
+ readonly type: ArrayConstructor;
52
+ readonly default: () => never[];
53
+ };
54
+ disabled: BooleanConstructor;
55
+ loading: BooleanConstructor;
56
+ color: {
57
+ readonly type: StringConstructor;
58
+ readonly default: string | undefined;
59
+ };
60
+ size: {
61
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
62
+ readonly default: "md";
63
+ readonly validator: (value: string) => boolean;
64
+ };
65
+ }>> & {
66
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
67
+ }, {
68
+ readonly: boolean;
69
+ size: import("../../composables/common").Size;
70
+ required: boolean;
71
+ glow: boolean;
72
+ color: string;
73
+ disabled: boolean;
74
+ loading: boolean;
75
+ validateOnInput: boolean;
76
+ rules: unknown[];
77
+ }>;
78
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ classes: {
3
+ wrapper: string;
4
+ };
5
+ };
6
+ export default _default;
@@ -0,0 +1,23 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ shadow: BooleanConstructor;
3
+ horizontal: BooleanConstructor;
4
+ mousewheel: BooleanConstructor;
5
+ scrollbar: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ shadow: BooleanConstructor;
11
+ horizontal: BooleanConstructor;
12
+ mousewheel: BooleanConstructor;
13
+ scrollbar: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>>, {
18
+ shadow: boolean;
19
+ horizontal: boolean;
20
+ scrollbar: boolean;
21
+ mousewheel: boolean;
22
+ }>;
23
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: string;
5
+ label: ({ props }: ThemeParams) => string;
6
+ box: ({ props, data }: ThemeParams) => string;
7
+ content: string;
8
+ iconWrapper: string;
9
+ icon: ({ props }: ThemeParams) => "h-6 w-6" | "h-5 w-5" | "h-3 w-3" | "h-7 w-7";
10
+ };
11
+ styles: ({ props, colors, css }: ThemeParams) => string;
12
+ };
13
+ export default _default;
@@ -0,0 +1,80 @@
1
+ import { type PropType } from 'vue';
2
+ export declare type SelectOption = {
3
+ value: number | string;
4
+ disabled: boolean;
5
+ label: string;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<{
8
+ placeholder: StringConstructor;
9
+ options: PropType<SelectOption[]>;
10
+ multiple: BooleanConstructor;
11
+ label: StringConstructor;
12
+ helper: StringConstructor;
13
+ flat: BooleanConstructor;
14
+ modelValue: PropType<string | number | boolean | object | any[] | undefined>;
15
+ name: StringConstructor;
16
+ readonly: BooleanConstructor;
17
+ required: BooleanConstructor;
18
+ validateOnInput: {
19
+ readonly type: BooleanConstructor;
20
+ readonly default: true;
21
+ };
22
+ error: StringConstructor;
23
+ rules: {
24
+ readonly type: ArrayConstructor;
25
+ readonly default: () => never[];
26
+ };
27
+ disabled: BooleanConstructor;
28
+ loading: BooleanConstructor;
29
+ size: {
30
+ readonly type: PropType<import("../../composables/common").Size>;
31
+ readonly default: "md";
32
+ readonly validator: (value: string) => boolean;
33
+ };
34
+ }, {
35
+ focus: () => void | undefined;
36
+ blur: () => void | undefined;
37
+ reset: () => void;
38
+ validate: (val: any) => boolean;
39
+ setError: (val: string) => void;
40
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
+ placeholder: StringConstructor;
42
+ options: PropType<SelectOption[]>;
43
+ multiple: BooleanConstructor;
44
+ label: StringConstructor;
45
+ helper: StringConstructor;
46
+ flat: BooleanConstructor;
47
+ modelValue: PropType<string | number | boolean | object | any[] | undefined>;
48
+ name: StringConstructor;
49
+ readonly: BooleanConstructor;
50
+ required: BooleanConstructor;
51
+ validateOnInput: {
52
+ readonly type: BooleanConstructor;
53
+ readonly default: true;
54
+ };
55
+ error: StringConstructor;
56
+ rules: {
57
+ readonly type: ArrayConstructor;
58
+ readonly default: () => never[];
59
+ };
60
+ disabled: BooleanConstructor;
61
+ loading: BooleanConstructor;
62
+ size: {
63
+ readonly type: PropType<import("../../composables/common").Size>;
64
+ readonly default: "md";
65
+ readonly validator: (value: string) => boolean;
66
+ };
67
+ }>> & {
68
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
69
+ }, {
70
+ readonly: boolean;
71
+ flat: boolean;
72
+ size: import("../../composables/common").Size;
73
+ required: boolean;
74
+ disabled: boolean;
75
+ loading: boolean;
76
+ validateOnInput: boolean;
77
+ rules: unknown[];
78
+ multiple: boolean;
79
+ }>;
80
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ classes: {
3
+ wrapper: string;
4
+ };
5
+ };
6
+ export default _default;