@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,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ tag: {
3
+ type: StringConstructor;
4
+ default: string;
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
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ }>>, {
12
+ tag: string;
13
+ }>;
14
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: string;
5
+ label: ({ props }: ThemeParams) => string;
6
+ drag: string;
7
+ };
8
+ styles: ({ props, colors, css }: ThemeParams) => Record<string, string>;
9
+ };
10
+ export default _default;
@@ -0,0 +1,87 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: StringConstructor;
3
+ min: NumberConstructor;
4
+ max: NumberConstructor;
5
+ step: {
6
+ type: NumberConstructor;
7
+ default: number;
8
+ };
9
+ gradient: BooleanConstructor;
10
+ modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
11
+ name: StringConstructor;
12
+ readonly: BooleanConstructor;
13
+ required: BooleanConstructor;
14
+ validateOnInput: {
15
+ readonly type: BooleanConstructor;
16
+ readonly default: true;
17
+ };
18
+ error: StringConstructor;
19
+ rules: {
20
+ readonly type: ArrayConstructor;
21
+ readonly default: () => never[];
22
+ };
23
+ disabled: BooleanConstructor;
24
+ loading: BooleanConstructor;
25
+ color: {
26
+ readonly type: StringConstructor;
27
+ readonly default: string | undefined;
28
+ };
29
+ size: {
30
+ readonly type: import("vue").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
+ label: StringConstructor;
42
+ min: NumberConstructor;
43
+ max: NumberConstructor;
44
+ step: {
45
+ type: NumberConstructor;
46
+ default: number;
47
+ };
48
+ gradient: BooleanConstructor;
49
+ modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
50
+ name: StringConstructor;
51
+ readonly: BooleanConstructor;
52
+ required: BooleanConstructor;
53
+ validateOnInput: {
54
+ readonly type: BooleanConstructor;
55
+ readonly default: true;
56
+ };
57
+ error: StringConstructor;
58
+ rules: {
59
+ readonly type: ArrayConstructor;
60
+ readonly default: () => never[];
61
+ };
62
+ disabled: BooleanConstructor;
63
+ loading: BooleanConstructor;
64
+ color: {
65
+ readonly type: StringConstructor;
66
+ readonly default: string | undefined;
67
+ };
68
+ size: {
69
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
70
+ readonly default: "md";
71
+ readonly validator: (value: string) => boolean;
72
+ };
73
+ }>> & {
74
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
75
+ }, {
76
+ readonly: boolean;
77
+ size: import("../../composables/common").Size;
78
+ required: boolean;
79
+ color: string;
80
+ disabled: boolean;
81
+ loading: boolean;
82
+ validateOnInput: boolean;
83
+ rules: unknown[];
84
+ step: number;
85
+ gradient: boolean;
86
+ }>;
87
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ icon: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ size: {
7
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
8
+ readonly default: "md";
9
+ readonly validator: (value: string) => boolean;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ icon: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ size: {
17
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
18
+ readonly default: "md";
19
+ readonly validator: (value: string) => boolean;
20
+ };
21
+ }>>, {
22
+ size: import("../../composables/common").Size;
23
+ icon: string;
24
+ }>;
25
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props, data }: ThemeParams) => string[];
5
+ label: string;
6
+ icon: string;
7
+ };
8
+ };
9
+ export default _default;
@@ -0,0 +1,43 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ };
5
+ tag: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ to: StringConstructor;
10
+ label: StringConstructor;
11
+ icon: StringConstructor;
12
+ disabled: BooleanConstructor;
13
+ exact: BooleanConstructor;
14
+ size: {
15
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
16
+ readonly default: "md";
17
+ readonly validator: (value: string) => boolean;
18
+ };
19
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ value: {
21
+ type: (NumberConstructor | StringConstructor)[];
22
+ };
23
+ tag: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ to: StringConstructor;
28
+ label: StringConstructor;
29
+ icon: StringConstructor;
30
+ disabled: BooleanConstructor;
31
+ exact: BooleanConstructor;
32
+ size: {
33
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
34
+ readonly default: "md";
35
+ readonly validator: (value: string) => boolean;
36
+ };
37
+ }>>, {
38
+ size: import("../../composables/common").Size;
39
+ tag: string;
40
+ disabled: boolean;
41
+ exact: boolean;
42
+ }>;
43
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: string;
5
+ list: ({ props, colors, css }: ThemeParams) => string[];
6
+ tracker: ({ props }: ThemeParams) => string[];
7
+ };
8
+ styles: ({ props, colors, css }: ThemeParams) => Record<string, string>;
9
+ };
10
+ export default _default;
@@ -0,0 +1,57 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ modelValue: (NumberConstructor | StringConstructor)[];
4
+ variant: {
5
+ type: PropType<"line" | "block">;
6
+ default: string;
7
+ };
8
+ align: {
9
+ type: PropType<"left" | "right" | "center">;
10
+ default: string;
11
+ };
12
+ ghost: BooleanConstructor;
13
+ grow: BooleanConstructor;
14
+ exact: BooleanConstructor;
15
+ color: {
16
+ readonly type: StringConstructor;
17
+ readonly default: string | undefined;
18
+ };
19
+ size: {
20
+ readonly type: PropType<import("../../composables/common").Size>;
21
+ readonly default: "md";
22
+ readonly validator: (value: string) => boolean;
23
+ };
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ modelValue: (NumberConstructor | StringConstructor)[];
26
+ variant: {
27
+ type: PropType<"line" | "block">;
28
+ default: string;
29
+ };
30
+ align: {
31
+ type: PropType<"left" | "right" | "center">;
32
+ default: string;
33
+ };
34
+ ghost: BooleanConstructor;
35
+ grow: BooleanConstructor;
36
+ exact: BooleanConstructor;
37
+ color: {
38
+ readonly type: StringConstructor;
39
+ readonly default: string | undefined;
40
+ };
41
+ size: {
42
+ readonly type: PropType<import("../../composables/common").Size>;
43
+ readonly default: "md";
44
+ readonly validator: (value: string) => boolean;
45
+ };
46
+ }>> & {
47
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
+ }, {
49
+ size: import("../../composables/common").Size;
50
+ color: string;
51
+ align: "left" | "right" | "center";
52
+ ghost: boolean;
53
+ exact: boolean;
54
+ variant: "line" | "block";
55
+ grow: boolean;
56
+ }>;
57
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props, data }: ThemeParams) => string[];
5
+ loadingWrapper: string;
6
+ };
7
+ };
8
+ export default _default;
@@ -0,0 +1,78 @@
1
+ import type { PropType } from 'vue';
2
+ import { type Align } from './TableHeader.vue';
3
+ export declare type Header = {
4
+ sortable?: boolean;
5
+ sort?: string[];
6
+ align?: Align;
7
+ value?: string;
8
+ text?: string;
9
+ width?: string | number;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<{
12
+ headers: {
13
+ type: PropType<Header[]>;
14
+ default: () => never[];
15
+ };
16
+ items: {
17
+ type: ArrayConstructor;
18
+ default: () => never[];
19
+ };
20
+ sort: {
21
+ type: PropType<string[]>;
22
+ default: () => never[];
23
+ };
24
+ loading: BooleanConstructor;
25
+ dense: BooleanConstructor;
26
+ fixed: BooleanConstructor;
27
+ striped: BooleanConstructor;
28
+ pointer: BooleanConstructor;
29
+ scrollable: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ stickyHeader: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:sort" | "click-row")[], "update:sort" | "click-row", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
+ headers: {
39
+ type: PropType<Header[]>;
40
+ default: () => never[];
41
+ };
42
+ items: {
43
+ type: ArrayConstructor;
44
+ default: () => never[];
45
+ };
46
+ sort: {
47
+ type: PropType<string[]>;
48
+ default: () => never[];
49
+ };
50
+ loading: BooleanConstructor;
51
+ dense: BooleanConstructor;
52
+ fixed: BooleanConstructor;
53
+ striped: BooleanConstructor;
54
+ pointer: BooleanConstructor;
55
+ scrollable: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ stickyHeader: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }>> & {
64
+ "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
65
+ "onClick-row"?: ((...args: any[]) => any) | undefined;
66
+ }, {
67
+ fixed: boolean;
68
+ sort: string[];
69
+ items: unknown[];
70
+ loading: boolean;
71
+ pointer: boolean;
72
+ dense: boolean;
73
+ stickyHeader: boolean;
74
+ striped: boolean;
75
+ headers: Header[];
76
+ scrollable: boolean;
77
+ }>;
78
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props }: ThemeParams) => string[];
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ textAlign: {
3
+ type: StringConstructor;
4
+ validator: (value: string) => boolean;
5
+ };
6
+ truncate: BooleanConstructor;
7
+ dense: BooleanConstructor;
8
+ fixed: BooleanConstructor;
9
+ verticalAlign: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ validator: (value: string) => boolean;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ textAlign: {
16
+ type: StringConstructor;
17
+ validator: (value: string) => boolean;
18
+ };
19
+ truncate: BooleanConstructor;
20
+ dense: BooleanConstructor;
21
+ fixed: BooleanConstructor;
22
+ verticalAlign: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ validator: (value: string) => boolean;
26
+ };
27
+ }>>, {
28
+ fixed: boolean;
29
+ dense: boolean;
30
+ verticalAlign: string;
31
+ truncate: boolean;
32
+ }>;
33
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,33 @@
1
+ import type { PropType } from 'vue';
2
+ export declare type Sort = 1 | -1 | undefined;
3
+ export declare type Align = 'left' | 'center' | 'right' | 'justify' | undefined;
4
+ declare const _default: import("vue").DefineComponent<{
5
+ sort: {
6
+ type: PropType<Sort>;
7
+ validator: (value: number) => boolean;
8
+ };
9
+ sortable: BooleanConstructor;
10
+ textAlign: {
11
+ type: PropType<Align>;
12
+ default: string;
13
+ validator: (value: string) => boolean;
14
+ };
15
+ stickyHeader: BooleanConstructor;
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ sort: {
18
+ type: PropType<Sort>;
19
+ validator: (value: number) => boolean;
20
+ };
21
+ sortable: BooleanConstructor;
22
+ textAlign: {
23
+ type: PropType<Align>;
24
+ default: string;
25
+ validator: (value: string) => boolean;
26
+ };
27
+ stickyHeader: BooleanConstructor;
28
+ }>>, {
29
+ textAlign: Align;
30
+ sortable: boolean;
31
+ stickyHeader: boolean;
32
+ }>;
33
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ pointer: BooleanConstructor;
4
+ striped: BooleanConstructor;
5
+ verticalAlign: {
6
+ type: PropType<"top" | "bottom" | "baseline" | "middle" | "text-bottom" | "text-top">;
7
+ default: string;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ pointer: BooleanConstructor;
12
+ striped: BooleanConstructor;
13
+ verticalAlign: {
14
+ type: PropType<"top" | "bottom" | "baseline" | "middle" | "text-bottom" | "text-top">;
15
+ default: string;
16
+ validator: (value: string) => boolean;
17
+ };
18
+ }>>, {
19
+ pointer: boolean;
20
+ verticalAlign: "top" | "bottom" | "baseline" | "middle" | "text-bottom" | "text-top";
21
+ striped: boolean;
22
+ }>;
23
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { ThemeParams } from '../../composables/theme';
2
+ declare const _default: {
3
+ classes: {
4
+ wrapper: ({ props, data }: ThemeParams) => string;
5
+ loadingWrapper: string;
6
+ };
7
+ styles: ({ colors, props, css }: ThemeParams) => Record<string, string>;
8
+ };
9
+ export default _default;
@@ -0,0 +1,45 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ tag: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ rounded: BooleanConstructor;
7
+ removable: BooleanConstructor;
8
+ outlined: BooleanConstructor;
9
+ color: {
10
+ readonly type: StringConstructor;
11
+ readonly default: string | undefined;
12
+ };
13
+ size: {
14
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
15
+ readonly default: "md";
16
+ readonly validator: (value: string) => boolean;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ tag: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ rounded: BooleanConstructor;
24
+ removable: BooleanConstructor;
25
+ outlined: BooleanConstructor;
26
+ color: {
27
+ readonly type: StringConstructor;
28
+ readonly default: string | undefined;
29
+ };
30
+ size: {
31
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
32
+ readonly default: "md";
33
+ readonly validator: (value: string) => boolean;
34
+ };
35
+ }>> & {
36
+ onRemove?: ((...args: any[]) => any) | undefined;
37
+ }, {
38
+ size: import("../../composables/common").Size;
39
+ outlined: boolean;
40
+ removable: boolean;
41
+ color: string;
42
+ tag: string;
43
+ rounded: boolean;
44
+ }>;
45
+ 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: string;
5
+ label: ({ props }: ThemeParams) => string;
6
+ input: ({ props, data }: ThemeParams) => string[];
7
+ };
8
+ styles: ({ colors, props, css }: ThemeParams) => Record<string, string>;
9
+ };
10
+ export default _default;
@@ -0,0 +1,100 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ helper: StringConstructor;
3
+ label: StringConstructor;
4
+ dir: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ rows: (NumberConstructor | StringConstructor)[];
9
+ max: (NumberConstructor | StringConstructor)[];
10
+ maxlength: (NumberConstructor | StringConstructor)[];
11
+ min: (NumberConstructor | StringConstructor)[];
12
+ minlength: (NumberConstructor | StringConstructor)[];
13
+ placeholder: StringConstructor;
14
+ adjustToText: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ preventEnter: BooleanConstructor;
19
+ block: BooleanConstructor;
20
+ modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
21
+ name: StringConstructor;
22
+ readonly: BooleanConstructor;
23
+ required: BooleanConstructor;
24
+ validateOnInput: {
25
+ readonly type: BooleanConstructor;
26
+ readonly default: true;
27
+ };
28
+ error: StringConstructor;
29
+ rules: {
30
+ readonly type: ArrayConstructor;
31
+ readonly default: () => never[];
32
+ };
33
+ disabled: BooleanConstructor;
34
+ loading: BooleanConstructor;
35
+ size: {
36
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
37
+ readonly default: "md";
38
+ readonly validator: (value: string) => boolean;
39
+ };
40
+ }, {
41
+ focus: () => void | undefined;
42
+ blur: () => void | undefined;
43
+ reset: () => void;
44
+ validate: (val: any) => boolean;
45
+ setError: (val: string) => void;
46
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ helper: StringConstructor;
48
+ label: StringConstructor;
49
+ dir: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ rows: (NumberConstructor | StringConstructor)[];
54
+ max: (NumberConstructor | StringConstructor)[];
55
+ maxlength: (NumberConstructor | StringConstructor)[];
56
+ min: (NumberConstructor | StringConstructor)[];
57
+ minlength: (NumberConstructor | StringConstructor)[];
58
+ placeholder: StringConstructor;
59
+ adjustToText: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ preventEnter: BooleanConstructor;
64
+ block: BooleanConstructor;
65
+ modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
66
+ name: StringConstructor;
67
+ readonly: BooleanConstructor;
68
+ required: BooleanConstructor;
69
+ validateOnInput: {
70
+ readonly type: BooleanConstructor;
71
+ readonly default: true;
72
+ };
73
+ error: StringConstructor;
74
+ rules: {
75
+ readonly type: ArrayConstructor;
76
+ readonly default: () => never[];
77
+ };
78
+ disabled: BooleanConstructor;
79
+ loading: BooleanConstructor;
80
+ size: {
81
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
82
+ readonly default: "md";
83
+ readonly validator: (value: string) => boolean;
84
+ };
85
+ }>> & {
86
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
87
+ }, {
88
+ readonly: boolean;
89
+ size: import("../../composables/common").Size;
90
+ required: boolean;
91
+ dir: string;
92
+ block: boolean;
93
+ disabled: boolean;
94
+ loading: boolean;
95
+ validateOnInput: boolean;
96
+ rules: unknown[];
97
+ adjustToText: boolean;
98
+ preventEnter: boolean;
99
+ }>;
100
+ export default _default;