@dayoakin/vue-ui 0.0.0-stage → 0.1.2

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 (55) hide show
  1. package/README.md +121 -2
  2. package/dist/components/AnimeHeight/index.vue.d.ts +28 -0
  3. package/dist/components/Badge/Badge.vue.d.ts +110 -0
  4. package/dist/components/Button/Button.vue.d.ts +231 -0
  5. package/dist/components/Button/ButtonGroup.vue.d.ts +41 -0
  6. package/dist/components/Button/SecondaryButton/index.vue.d.ts +231 -0
  7. package/dist/components/Card/Card.vue.d.ts +139 -0
  8. package/dist/components/CardSelect/CardSelect.vue.d.ts +178 -0
  9. package/dist/components/CodeBlock/index.vue.d.ts +291 -0
  10. package/dist/components/EmptyState/index.vue.d.ts +98 -0
  11. package/dist/components/Hr/index.vue.d.ts +3 -0
  12. package/dist/components/Input/AddressAutocomplete/index.vue.d.ts +218 -0
  13. package/dist/components/Input/CheckboxInput/index.vue.d.ts +115 -0
  14. package/dist/components/Input/CurrencyConverterInput/index.vue.d.ts +561 -0
  15. package/dist/components/Input/CurrencyInput/index.vue.d.ts +310 -0
  16. package/dist/components/Input/DateInput/index.vue.d.ts +276 -0
  17. package/dist/components/Input/DoubleRangeInput/index.vue.d.ts +206 -0
  18. package/dist/components/Input/Input.vue.d.ts +377 -0
  19. package/dist/components/Input/OtpInput/index.vue.d.ts +294 -0
  20. package/dist/components/Input/OtpInput/singleOtpInput.vue.d.ts +258 -0
  21. package/dist/components/Input/RadioInput/index.vue.d.ts +107 -0
  22. package/dist/components/Input/SearchInput/index.vue.d.ts +170 -0
  23. package/dist/components/Input/Select/index.vue.d.ts +250 -0
  24. package/dist/components/Input/TelInput/index.vue.d.ts +242 -0
  25. package/dist/components/Input/Upload/index.vue.d.ts +353 -0
  26. package/dist/components/Loaders/index.d.ts +8 -0
  27. package/dist/components/Loaders/index.vue.d.ts +104 -0
  28. package/dist/components/Loaders/loaderService.d.ts +18 -0
  29. package/dist/components/Modals/Modal.vue.d.ts +189 -0
  30. package/dist/components/Modals/RightSidebar.vue.d.ts +146 -0
  31. package/dist/components/Notification/AlertBox/AlertBox.vue.d.ts +103 -0
  32. package/dist/components/Notification/AlertBox/alertService.d.ts +21 -0
  33. package/dist/components/Notification/AlertBox/index.d.ts +8 -0
  34. package/dist/components/Notification/InlineToast/InlineToast.vue.d.ts +103 -0
  35. package/dist/components/Notification/Toast/index.d.ts +8 -0
  36. package/dist/components/Notification/Toast/index.vue.d.ts +76 -0
  37. package/dist/components/Notification/Toast/toastServices.d.ts +20 -0
  38. package/dist/components/Pagination/Pagination.vue.d.ts +238 -0
  39. package/dist/components/Skeleton/index.vue.d.ts +81 -0
  40. package/dist/components/Spinner/index.vue.d.ts +71 -0
  41. package/dist/components/Tab/Tab.vue.d.ts +149 -0
  42. package/dist/components/Table/index.vue.d.ts +551 -0
  43. package/dist/components/Tooltip/Tooltip.vue.d.ts +90 -0
  44. package/dist/components/index.d.ts +38 -0
  45. package/dist/components/ts/api.d.ts +4 -0
  46. package/dist/core/theme.d.ts +4 -0
  47. package/dist/core/ui.d.ts +88 -0
  48. package/dist/index-z9l8C72U-BM4uarLu.cjs +14 -0
  49. package/dist/index-z9l8C72U-CAfHR3NZ.js +3733 -0
  50. package/dist/index.cjs +7 -0
  51. package/dist/index.d.ts +2 -0
  52. package/dist/index.js +16257 -0
  53. package/dist/lib.d.ts +3 -0
  54. package/dist/style.css +1 -0
  55. package/package.json +53 -4
@@ -0,0 +1,231 @@
1
+ import { uiAttrs } from '../../../core/ui';
2
+ type Variant = "secondary" | "outline" | "ghost";
3
+ type Size = "sm" | "md" | "lg" | "xl";
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ text: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ type: {
12
+ type: () => "button" | "submit" | "reset";
13
+ default: string;
14
+ };
15
+ variant: {
16
+ type: () => Variant;
17
+ default: string;
18
+ };
19
+ size: {
20
+ type: () => Size;
21
+ default: string;
22
+ };
23
+ loading: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ disabled: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ bgColor: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ textColor: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ borderColor: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ spinnerColor: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ p: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ r: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ shadow: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ hoverBgColor: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ hoverTextColor: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ hoverBorderColor: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ hover: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ overlay: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ icon: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ preIcon: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ iconOnly: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ }>, {
92
+ uiAttrs: typeof uiAttrs;
93
+ hoverState: import('vue').ComputedRef<{
94
+ bgColor: string;
95
+ hoverBgColor: string;
96
+ hoverTextColor: string;
97
+ hoverBorderColor: string;
98
+ hover: boolean;
99
+ }>;
100
+ isDisabled: import('vue').ComputedRef<boolean>;
101
+ variantClass: import('vue').ComputedRef<"btn-outline-secondary" | "btn-ghost-secondary" | "btn-secondary">;
102
+ sizeClass: import('vue').ComputedRef<"btn-sm" | "btn-lg" | "btn-xl" | "btn-md">;
103
+ shadowClass: import('vue').ComputedRef<"" | "btn-shadow">;
104
+ iconOnlyClass: import('vue').ComputedRef<"" | "icon-only">;
105
+ buttonStyle: import('vue').ComputedRef<{
106
+ background: string;
107
+ color: string;
108
+ border: string;
109
+ padding: string | undefined;
110
+ borderRadius: string;
111
+ position: "relative";
112
+ overflow: "hidden";
113
+ }>;
114
+ overlayStyle: import('vue').ComputedRef<{
115
+ background: string;
116
+ position: "absolute";
117
+ inset: string;
118
+ display: string;
119
+ justifyContent: string;
120
+ alignItems: string;
121
+ zIndex: number;
122
+ }>;
123
+ handleClick: (e: Event) => void;
124
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
125
+ text: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ type: {
130
+ type: () => "button" | "submit" | "reset";
131
+ default: string;
132
+ };
133
+ variant: {
134
+ type: () => Variant;
135
+ default: string;
136
+ };
137
+ size: {
138
+ type: () => Size;
139
+ default: string;
140
+ };
141
+ loading: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ disabled: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ bgColor: {
150
+ type: StringConstructor;
151
+ default: string;
152
+ };
153
+ textColor: {
154
+ type: StringConstructor;
155
+ default: string;
156
+ };
157
+ borderColor: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ spinnerColor: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ p: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ r: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ shadow: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ hoverBgColor: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ hoverTextColor: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ hoverBorderColor: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ hover: {
190
+ type: BooleanConstructor;
191
+ default: boolean;
192
+ };
193
+ overlay: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ icon: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ preIcon: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ iconOnly: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ }>> & Readonly<{}>, {
210
+ r: string;
211
+ p: string;
212
+ borderColor: string;
213
+ shadow: boolean;
214
+ bgColor: string;
215
+ hoverBgColor: string;
216
+ hoverTextColor: string;
217
+ hoverBorderColor: string;
218
+ hover: boolean;
219
+ icon: string;
220
+ size: Size;
221
+ type: "button" | "submit" | "reset";
222
+ textColor: string;
223
+ text: string;
224
+ spinnerColor: string;
225
+ variant: Variant;
226
+ loading: boolean;
227
+ disabled: boolean;
228
+ overlay: string;
229
+ preIcon: string;
230
+ iconOnly: boolean;
231
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,139 @@
1
+ import { uiAttrs } from '../../core/ui';
2
+ type Size = "sm" | "md" | "lg";
3
+ type Shadow = "none" | "sm" | "md" | "lg";
4
+ type Hover = "none" | "lift" | "glow";
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ size: {
9
+ type: () => Size;
10
+ default: string;
11
+ };
12
+ shadow: {
13
+ type: () => Shadow;
14
+ default: string;
15
+ };
16
+ hover: {
17
+ type: () => Hover;
18
+ default: string;
19
+ };
20
+ p: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ w: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ radius: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ clickable: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ disabled: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ loading: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ bgColor: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ borderColor: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ textColor: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ }>, {
57
+ uiAttrs: typeof uiAttrs;
58
+ cardHover: import('vue').ComputedRef<{
59
+ bgColor: string;
60
+ hover: boolean;
61
+ }>;
62
+ shadowClass: import('vue').ComputedRef<"" | "shadow-md" | "shadow-lg" | "shadow-sm">;
63
+ hoverClass: import('vue').ComputedRef<"" | "hover-lift" | "hover-glow">;
64
+ cardStyle: import('vue').ComputedRef<{
65
+ background: string;
66
+ color: string;
67
+ border: string;
68
+ padding: string;
69
+ borderRadius: string;
70
+ width: string;
71
+ position: "relative";
72
+ overflow: "hidden";
73
+ }>;
74
+ handleClick: () => void;
75
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
76
+ size: {
77
+ type: () => Size;
78
+ default: string;
79
+ };
80
+ shadow: {
81
+ type: () => Shadow;
82
+ default: string;
83
+ };
84
+ hover: {
85
+ type: () => Hover;
86
+ default: string;
87
+ };
88
+ p: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ w: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ radius: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ clickable: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ disabled: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ loading: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ bgColor: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ borderColor: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ textColor: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ }>> & Readonly<{
125
+ onClick?: ((...args: any[]) => any) | undefined;
126
+ }>, {
127
+ p: string;
128
+ borderColor: string;
129
+ shadow: Shadow;
130
+ bgColor: string;
131
+ hover: Hover;
132
+ size: Size;
133
+ textColor: string;
134
+ radius: string;
135
+ loading: boolean;
136
+ disabled: boolean;
137
+ w: string;
138
+ clickable: boolean;
139
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,178 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ modelValue: (StringConstructor | ObjectConstructor | NumberConstructor)[];
5
+ options: {
6
+ type: () => any[];
7
+ default: () => never[];
8
+ };
9
+ labelKey: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ valueKey: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ loading: BooleanConstructor;
18
+ disabled: BooleanConstructor;
19
+ width: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ bgColor: StringConstructor;
24
+ textColor: StringConstructor;
25
+ borderColor: StringConstructor;
26
+ radius: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ activeClass: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ inactiveClass: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ emptyText: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ }>, {
43
+ open: import('vue').Ref<boolean, boolean>;
44
+ toggle: () => void;
45
+ select: (option: any) => void;
46
+ selectedLabel: import('vue').ComputedRef<any>;
47
+ radiusClass: import('vue').ComputedRef<string>;
48
+ triggerStyle: import('vue').ComputedRef<{
49
+ background: string;
50
+ color: string;
51
+ border: string;
52
+ borderRadius: string | undefined;
53
+ }>;
54
+ dropdownStyle: import('vue').ComputedRef<{
55
+ borderRadius: string | undefined;
56
+ }>;
57
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
58
+ modelValue: (StringConstructor | ObjectConstructor | NumberConstructor)[];
59
+ options: {
60
+ type: () => any[];
61
+ default: () => never[];
62
+ };
63
+ labelKey: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ valueKey: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ loading: BooleanConstructor;
72
+ disabled: BooleanConstructor;
73
+ width: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ bgColor: StringConstructor;
78
+ textColor: StringConstructor;
79
+ borderColor: StringConstructor;
80
+ radius: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ activeClass: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ inactiveClass: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ emptyText: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ }>> & Readonly<{
97
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
98
+ }>, {
99
+ width: string;
100
+ radius: string;
101
+ loading: boolean;
102
+ disabled: boolean;
103
+ options: any[];
104
+ labelKey: string;
105
+ valueKey: string;
106
+ activeClass: string;
107
+ inactiveClass: string;
108
+ emptyText: string;
109
+ }, {}, {
110
+ Spinner: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
111
+ size: {
112
+ type: () => "sm" | "md" | "lg";
113
+ default: string;
114
+ };
115
+ w: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ h: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ color: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ trackColor: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ thickness: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ }>, {
136
+ finalWidth: import('vue').ComputedRef<string>;
137
+ finalHeight: import('vue').ComputedRef<string>;
138
+ spinnerStyle: import('vue').ComputedRef<{
139
+ width: string;
140
+ height: string;
141
+ margin: string;
142
+ border: string;
143
+ borderColor: string;
144
+ }>;
145
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
146
+ size: {
147
+ type: () => "sm" | "md" | "lg";
148
+ default: string;
149
+ };
150
+ w: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ h: {
155
+ type: StringConstructor;
156
+ default: string;
157
+ };
158
+ color: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ trackColor: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ thickness: {
167
+ type: StringConstructor;
168
+ default: string;
169
+ };
170
+ }>> & Readonly<{}>, {
171
+ color: string;
172
+ size: "sm" | "md" | "lg";
173
+ w: string;
174
+ h: string;
175
+ trackColor: string;
176
+ thickness: string;
177
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
178
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;