@dayoakin/vue-ui 0.0.0-stage → 0.1.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 (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,238 @@
1
+ import { uiAttrs } from '../../core/ui';
2
+ type Mode = "pages" | "load-more" | "infinite";
3
+ type Size = "sm" | "md" | "lg";
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ currentPage: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ };
11
+ totalPages: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ mode: {
16
+ type: () => Mode;
17
+ default: string;
18
+ };
19
+ size: {
20
+ type: () => Size;
21
+ default: string;
22
+ };
23
+ loading: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ showJump: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ maxVisible: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ loadMoreText: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ gap: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ shadow: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ bgColor: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ textColor: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ borderColor: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ hoverBg: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ hoverText: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ activeBg: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ activeText: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ activeBorderColor: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ spinnerColor: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ radius: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ }>, {
88
+ uiAttrs: typeof uiAttrs;
89
+ jumpPage: import('vue').Ref<number, number>;
90
+ observerEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
91
+ isFirst: import('vue').ComputedRef<boolean>;
92
+ isLast: import('vue').ComputedRef<boolean>;
93
+ visiblePages: import('vue').ComputedRef<(string | number)[]>;
94
+ btnStyle: import('vue').ComputedRef<{
95
+ background: string;
96
+ color: string;
97
+ padding: string;
98
+ fontSize: string;
99
+ borderRadius: string;
100
+ border: string;
101
+ cursor: string;
102
+ transition: string;
103
+ fontWeight: string;
104
+ boxShadow: string;
105
+ }>;
106
+ activeBtnStyle: import('vue').ComputedRef<{
107
+ background: string;
108
+ color: string;
109
+ border: string;
110
+ padding: string;
111
+ fontSize: string;
112
+ borderRadius: string;
113
+ cursor: string;
114
+ transition: string;
115
+ fontWeight: string;
116
+ boxShadow: string;
117
+ }>;
118
+ jumpInputStyle: import('vue').ComputedRef<{
119
+ border: string;
120
+ borderRadius: string;
121
+ padding: string;
122
+ width: string;
123
+ textAlign: "center";
124
+ }>;
125
+ spinnerStyle: import('vue').ComputedRef<{
126
+ borderTopColor: string;
127
+ }>;
128
+ nextPage: () => void;
129
+ prevPage: () => void;
130
+ goToPage: (page: number) => void;
131
+ handleJump: () => void;
132
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:currentPage" | "next" | "prev")[], "update:currentPage" | "next" | "prev", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
133
+ currentPage: {
134
+ type: NumberConstructor;
135
+ default: number;
136
+ };
137
+ totalPages: {
138
+ type: NumberConstructor;
139
+ default: number;
140
+ };
141
+ mode: {
142
+ type: () => Mode;
143
+ default: string;
144
+ };
145
+ size: {
146
+ type: () => Size;
147
+ default: string;
148
+ };
149
+ loading: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ showJump: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ maxVisible: {
158
+ type: NumberConstructor;
159
+ default: number;
160
+ };
161
+ loadMoreText: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ gap: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ shadow: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ bgColor: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ };
177
+ textColor: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ borderColor: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ hoverBg: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ hoverText: {
190
+ type: StringConstructor;
191
+ default: string;
192
+ };
193
+ activeBg: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ activeText: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ activeBorderColor: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ spinnerColor: {
206
+ type: StringConstructor;
207
+ default: string;
208
+ };
209
+ radius: {
210
+ type: StringConstructor;
211
+ default: string;
212
+ };
213
+ }>> & Readonly<{
214
+ "onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
215
+ onNext?: ((...args: any[]) => any) | undefined;
216
+ onPrev?: ((...args: any[]) => any) | undefined;
217
+ }>, {
218
+ borderColor: string;
219
+ shadow: string;
220
+ gap: string;
221
+ bgColor: string;
222
+ size: Size;
223
+ textColor: string;
224
+ mode: Mode;
225
+ spinnerColor: string;
226
+ radius: string;
227
+ loading: boolean;
228
+ activeBg: string;
229
+ activeText: string;
230
+ activeBorderColor: string;
231
+ currentPage: number;
232
+ totalPages: number;
233
+ showJump: boolean;
234
+ maxVisible: number;
235
+ loadMoreText: string;
236
+ hoverBg: string;
237
+ hoverText: string;
238
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,81 @@
1
+ import { uiAttrs } from '../../core/ui';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ w: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ h: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ type: {
14
+ type: () => "rectangle" | "circle";
15
+ default: string;
16
+ };
17
+ radius: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ baseColor: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ highlightColor: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ speed: {
30
+ type: NumberConstructor;
31
+ default: number;
32
+ };
33
+ }>, {
34
+ uiAttrs: typeof uiAttrs;
35
+ skeletonStyle: import('vue').ComputedRef<{
36
+ width: string;
37
+ height: string;
38
+ borderRadius: string;
39
+ background: string;
40
+ backgroundSize: string;
41
+ animation: string;
42
+ display: string;
43
+ }>;
44
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
+ w: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ h: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ type: {
54
+ type: () => "rectangle" | "circle";
55
+ default: string;
56
+ };
57
+ radius: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ baseColor: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ highlightColor: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ speed: {
70
+ type: NumberConstructor;
71
+ default: number;
72
+ };
73
+ }>> & Readonly<{}>, {
74
+ type: "circle" | "rectangle";
75
+ radius: string;
76
+ w: string;
77
+ h: string;
78
+ baseColor: string;
79
+ highlightColor: string;
80
+ speed: number;
81
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,71 @@
1
+ type Size = "sm" | "md" | "lg";
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ size: {
6
+ type: () => Size;
7
+ default: string;
8
+ };
9
+ w: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ h: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ color: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ trackColor: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ thickness: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ }>, {
30
+ finalWidth: import('vue').ComputedRef<string>;
31
+ finalHeight: import('vue').ComputedRef<string>;
32
+ spinnerStyle: import('vue').ComputedRef<{
33
+ width: string;
34
+ height: string;
35
+ margin: string;
36
+ border: string;
37
+ borderColor: string;
38
+ }>;
39
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
40
+ size: {
41
+ type: () => Size;
42
+ default: string;
43
+ };
44
+ w: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ h: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ color: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ trackColor: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ thickness: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
64
+ }>> & Readonly<{}>, {
65
+ color: string;
66
+ size: Size;
67
+ w: string;
68
+ h: string;
69
+ trackColor: string;
70
+ thickness: string;
71
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,149 @@
1
+ import { uiAttrs } from '../../core/ui';
2
+ type Size = "sm" | "md" | "lg";
3
+ interface TabOption {
4
+ label: string;
5
+ value: string | number;
6
+ iconLeft?: string;
7
+ iconRight?: string;
8
+ image?: string;
9
+ }
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ options: {
14
+ type: () => (TabOption | string)[];
15
+ required: true;
16
+ default: () => never[];
17
+ };
18
+ modelValue: {
19
+ type: (StringConstructor | NumberConstructor)[];
20
+ required: true;
21
+ default: string;
22
+ };
23
+ size: {
24
+ type: () => Size;
25
+ default: string;
26
+ };
27
+ p: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ gap: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ activeBg: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ inactiveBg: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ activeText: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ inactiveText: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ hoverEffect: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ bgColor: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ r: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ }>, {
64
+ uiAttrs: typeof uiAttrs;
65
+ hovered: import('vue').Ref<string | number | null, string | number | null>;
66
+ normalizedOptions: import('vue').ComputedRef<TabOption[]>;
67
+ sizeClass: import('vue').ComputedRef<"tab-sm" | "tab-lg" | "tab-md">;
68
+ containerStyle: import('vue').ComputedRef<{
69
+ background: string;
70
+ borderRadius: string;
71
+ gap: string;
72
+ padding: string;
73
+ }>;
74
+ selectOption: (option: TabOption) => void;
75
+ getTabStyle: (option: TabOption) => {
76
+ background: string;
77
+ borderRadius: string;
78
+ };
79
+ getTextStyle: (option: TabOption) => {
80
+ color: string;
81
+ };
82
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
83
+ options: {
84
+ type: () => (TabOption | string)[];
85
+ required: true;
86
+ default: () => never[];
87
+ };
88
+ modelValue: {
89
+ type: (StringConstructor | NumberConstructor)[];
90
+ required: true;
91
+ default: string;
92
+ };
93
+ size: {
94
+ type: () => Size;
95
+ default: string;
96
+ };
97
+ p: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ gap: {
102
+ type: StringConstructor;
103
+ default: string;
104
+ };
105
+ activeBg: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ inactiveBg: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ activeText: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ inactiveText: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ hoverEffect: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ bgColor: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ r: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ }>> & Readonly<{
134
+ onChange?: ((...args: any[]) => any) | undefined;
135
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
136
+ }>, {
137
+ r: string;
138
+ p: string;
139
+ gap: string;
140
+ bgColor: string;
141
+ size: Size;
142
+ modelValue: string | number;
143
+ options: (string | TabOption)[];
144
+ activeBg: string;
145
+ activeText: string;
146
+ inactiveBg: string;
147
+ inactiveText: string;
148
+ hoverEffect: string;
149
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;