@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,294 @@
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
+ modelValue: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ length: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ autoFocus: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ masked: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ onlyNumber: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ error: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ gap: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ w: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ h: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ r: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ fontSize: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ separator: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ separatorColor: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ separatorSize: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ placeholderChar: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ placeholderColor: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ bgColor: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ textColor: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ borderColor: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ activeBg: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ activeBorderColor: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ activeShadowColor: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ filledBg: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ filledBorderColor: {
102
+ type: StringConstructor;
103
+ default: string;
104
+ };
105
+ errorBg: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ errorBorderColor: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ inputClass: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ }>, {
118
+ uiAttrs: typeof uiAttrs;
119
+ otp: import('vue').Ref<string[], string[]>;
120
+ activeIdx: import('vue').Ref<number, number>;
121
+ wrapperStyle: import('vue').ComputedRef<{
122
+ display: string;
123
+ alignItems: string;
124
+ gap: string;
125
+ flexWrap: "wrap";
126
+ }>;
127
+ setRef: (el: HTMLInputElement, index: number) => void;
128
+ getCellStyle: (index: number) => {
129
+ width: string;
130
+ height: string;
131
+ fontSize: string;
132
+ borderRadius: string;
133
+ background: string;
134
+ color: string;
135
+ border: string;
136
+ boxShadow: string;
137
+ textAlign: "center";
138
+ fontWeight: string;
139
+ outline: string;
140
+ transition: string;
141
+ caretColor: string;
142
+ };
143
+ onInput: (e: Event, index: number) => void;
144
+ onKeydown: (e: KeyboardEvent, index: number) => void;
145
+ handlePaste: (e: ClipboardEvent) => void;
146
+ clear: () => void;
147
+ fill: (code: string) => void;
148
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "change" | "complete")[], "update:modelValue" | "change" | "complete", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
149
+ modelValue: {
150
+ type: StringConstructor;
151
+ default: string;
152
+ };
153
+ length: {
154
+ type: NumberConstructor;
155
+ default: number;
156
+ };
157
+ disabled: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ autoFocus: {
162
+ type: BooleanConstructor;
163
+ default: boolean;
164
+ };
165
+ masked: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ };
169
+ onlyNumber: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
173
+ error: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ gap: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ w: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ h: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ r: {
190
+ type: StringConstructor;
191
+ default: string;
192
+ };
193
+ fontSize: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ separator: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ separatorColor: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ separatorSize: {
206
+ type: StringConstructor;
207
+ default: string;
208
+ };
209
+ placeholderChar: {
210
+ type: StringConstructor;
211
+ default: string;
212
+ };
213
+ placeholderColor: {
214
+ type: StringConstructor;
215
+ default: string;
216
+ };
217
+ bgColor: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ textColor: {
222
+ type: StringConstructor;
223
+ default: string;
224
+ };
225
+ borderColor: {
226
+ type: StringConstructor;
227
+ default: string;
228
+ };
229
+ activeBg: {
230
+ type: StringConstructor;
231
+ default: string;
232
+ };
233
+ activeBorderColor: {
234
+ type: StringConstructor;
235
+ default: string;
236
+ };
237
+ activeShadowColor: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ };
241
+ filledBg: {
242
+ type: StringConstructor;
243
+ default: string;
244
+ };
245
+ filledBorderColor: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ };
249
+ errorBg: {
250
+ type: StringConstructor;
251
+ default: string;
252
+ };
253
+ errorBorderColor: {
254
+ type: StringConstructor;
255
+ default: string;
256
+ };
257
+ inputClass: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ }>> & Readonly<{
262
+ onChange?: ((...args: any[]) => any) | undefined;
263
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
264
+ onComplete?: ((...args: any[]) => any) | undefined;
265
+ }>, {
266
+ r: string;
267
+ length: number;
268
+ borderColor: string;
269
+ fontSize: string;
270
+ gap: string;
271
+ bgColor: string;
272
+ error: boolean;
273
+ textColor: string;
274
+ disabled: boolean;
275
+ w: string;
276
+ h: string;
277
+ modelValue: string;
278
+ inputClass: string;
279
+ activeBg: string;
280
+ autoFocus: boolean;
281
+ masked: boolean;
282
+ onlyNumber: boolean;
283
+ separator: string;
284
+ separatorColor: string;
285
+ separatorSize: string;
286
+ placeholderChar: string;
287
+ placeholderColor: string;
288
+ activeBorderColor: string;
289
+ activeShadowColor: string;
290
+ filledBg: string;
291
+ filledBorderColor: string;
292
+ errorBg: string;
293
+ errorBorderColor: string;
294
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,258 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ focus: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ separator: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ isLastChild: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ shouldAutoFocus: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ isInputNum: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ error: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ w: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ h: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ r: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ fontSize: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ bgColor: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ borderColor: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ textColor: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
64
+ activeBorderColor: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ activeShadowColor: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ filledBg: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ filledBorderColor: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ placeholder: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ inputClass: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ activeClass: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ filledClass: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ errorClass: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ separatorSpacing: {
101
+ type: NumberConstructor;
102
+ default: number;
103
+ };
104
+ }>, {
105
+ inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
106
+ model: import('vue').Ref<string, string>;
107
+ isFocused: import('vue').Ref<boolean, boolean>;
108
+ wrapperStyle: import('vue').ComputedRef<{
109
+ display: string;
110
+ alignItems: string;
111
+ }>;
112
+ cellStyle: import('vue').ComputedRef<{
113
+ width: string;
114
+ height: string;
115
+ borderRadius: string;
116
+ fontSize: string;
117
+ background: string;
118
+ borderColor: string;
119
+ color: string;
120
+ }>;
121
+ handleInput: (e: Event) => void;
122
+ handleFocus: () => void;
123
+ handleBlur: () => void;
124
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "on-change" | "on-keydown" | "on-paste" | "on-focus" | "on-blur")[], "update:modelValue" | "on-change" | "on-keydown" | "on-paste" | "on-focus" | "on-blur", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
125
+ modelValue: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ focus: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
133
+ separator: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ isLastChild: {
138
+ type: BooleanConstructor;
139
+ default: boolean;
140
+ };
141
+ shouldAutoFocus: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ isInputNum: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ disabled: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ error: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ w: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ h: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ r: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ fontSize: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ bgColor: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ };
177
+ borderColor: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ textColor: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ activeBorderColor: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ activeShadowColor: {
190
+ type: StringConstructor;
191
+ default: string;
192
+ };
193
+ filledBg: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ filledBorderColor: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ placeholder: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ inputClass: {
206
+ type: StringConstructor;
207
+ default: string;
208
+ };
209
+ activeClass: {
210
+ type: StringConstructor;
211
+ default: string;
212
+ };
213
+ filledClass: {
214
+ type: StringConstructor;
215
+ default: string;
216
+ };
217
+ errorClass: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ separatorSpacing: {
222
+ type: NumberConstructor;
223
+ default: number;
224
+ };
225
+ }>> & Readonly<{
226
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
227
+ "onOn-change"?: ((...args: any[]) => any) | undefined;
228
+ "onOn-keydown"?: ((...args: any[]) => any) | undefined;
229
+ "onOn-paste"?: ((...args: any[]) => any) | undefined;
230
+ "onOn-focus"?: ((...args: any[]) => any) | undefined;
231
+ "onOn-blur"?: ((...args: any[]) => any) | undefined;
232
+ }>, {
233
+ r: string;
234
+ borderColor: string;
235
+ fontSize: string;
236
+ bgColor: string;
237
+ error: boolean;
238
+ textColor: string;
239
+ disabled: boolean;
240
+ w: string;
241
+ h: string;
242
+ modelValue: string;
243
+ activeClass: string;
244
+ placeholder: string;
245
+ inputClass: string;
246
+ focus: boolean;
247
+ separator: string;
248
+ activeBorderColor: string;
249
+ activeShadowColor: string;
250
+ filledBg: string;
251
+ filledBorderColor: string;
252
+ isLastChild: boolean;
253
+ shouldAutoFocus: boolean;
254
+ isInputNum: boolean;
255
+ filledClass: string;
256
+ errorClass: string;
257
+ separatorSpacing: number;
258
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,107 @@
1
+ import { PropType } from 'vue';
2
+ type Size = "sm" | "md" | "lg";
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ modelValue: {
7
+ type: PropType<string | boolean | number>;
8
+ default: string;
9
+ };
10
+ id: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ label: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ name: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ size: {
23
+ type: PropType<Size>;
24
+ default: string;
25
+ };
26
+ disabled: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ color: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ labelColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ borderWidth: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ }>, {
43
+ isChecked: import('vue').ComputedRef<boolean>;
44
+ handleChange: () => void;
45
+ circleStyle: import('vue').ComputedRef<{
46
+ width: string;
47
+ height: string;
48
+ border: string;
49
+ flexShrink: string;
50
+ transition: string;
51
+ "--dot-size": string;
52
+ "--dot-color": string;
53
+ }>;
54
+ labelStyle: import('vue').ComputedRef<{
55
+ color: string;
56
+ fontSize: string;
57
+ cursor: string;
58
+ }>;
59
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
60
+ modelValue: {
61
+ type: PropType<string | boolean | number>;
62
+ default: string;
63
+ };
64
+ id: {
65
+ type: StringConstructor;
66
+ required: true;
67
+ };
68
+ label: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ name: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ size: {
77
+ type: PropType<Size>;
78
+ default: string;
79
+ };
80
+ disabled: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ color: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ labelColor: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ borderWidth: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ }>> & Readonly<{
97
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
98
+ }>, {
99
+ borderWidth: string;
100
+ color: string;
101
+ size: Size;
102
+ name: string;
103
+ label: string;
104
+ disabled: boolean;
105
+ modelValue: string | number | boolean;
106
+ labelColor: string;
107
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;