@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,206 @@
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
+ min: {
6
+ type: (StringConstructor | NumberConstructor)[];
7
+ required: true;
8
+ };
9
+ max: {
10
+ type: (StringConstructor | NumberConstructor)[];
11
+ required: true;
12
+ };
13
+ minThreshold: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ maxThreshold: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ step: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ w: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ h: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ trackHeight: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ thumbSize: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ radius: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ trackColor: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ rangeColor: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ rangeGradientTo: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ thumbColor: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ thumbBorderColor: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ tooltipBg: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ tooltipColor: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ currency: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ showTooltip: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ }>, {
82
+ uiAttrs: typeof uiAttrs;
83
+ localMin: import('vue').Ref<number, number>;
84
+ localMax: import('vue').Ref<number, number>;
85
+ pctMin: import('vue').ComputedRef<number>;
86
+ pctMax: import('vue').ComputedRef<number>;
87
+ fillStyle: import('vue').ComputedRef<{
88
+ left: string;
89
+ width: string;
90
+ }>;
91
+ rootStyle: import('vue').ComputedRef<{
92
+ width: string;
93
+ height: string;
94
+ "--track": string;
95
+ "--range": string;
96
+ "--range2": string;
97
+ "--thumb": string;
98
+ "--thumb-border": string;
99
+ "--thumb-size": string;
100
+ "--track-h": string;
101
+ "--radius": string;
102
+ "--tip-bg": string;
103
+ "--tip-color": string;
104
+ }>;
105
+ onMinInput: (e: Event) => void;
106
+ onMaxInput: (e: Event) => void;
107
+ format: (val: number) => string;
108
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:min" | "update:max")[], "update:min" | "update:max", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
109
+ min: {
110
+ type: (StringConstructor | NumberConstructor)[];
111
+ required: true;
112
+ };
113
+ max: {
114
+ type: (StringConstructor | NumberConstructor)[];
115
+ required: true;
116
+ };
117
+ minThreshold: {
118
+ type: NumberConstructor;
119
+ default: number;
120
+ };
121
+ maxThreshold: {
122
+ type: NumberConstructor;
123
+ default: number;
124
+ };
125
+ step: {
126
+ type: NumberConstructor;
127
+ default: number;
128
+ };
129
+ w: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ h: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ trackHeight: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ thumbSize: {
142
+ type: StringConstructor;
143
+ default: string;
144
+ };
145
+ radius: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ trackColor: {
150
+ type: StringConstructor;
151
+ default: string;
152
+ };
153
+ rangeColor: {
154
+ type: StringConstructor;
155
+ default: string;
156
+ };
157
+ rangeGradientTo: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ thumbColor: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ thumbBorderColor: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ tooltipBg: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ tooltipColor: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ };
177
+ currency: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ showTooltip: {
182
+ type: BooleanConstructor;
183
+ default: boolean;
184
+ };
185
+ }>> & Readonly<{
186
+ "onUpdate:min"?: ((...args: any[]) => any) | undefined;
187
+ "onUpdate:max"?: ((...args: any[]) => any) | undefined;
188
+ }>, {
189
+ radius: string;
190
+ w: string;
191
+ h: string;
192
+ trackColor: string;
193
+ minThreshold: number;
194
+ maxThreshold: number;
195
+ step: number;
196
+ trackHeight: string;
197
+ thumbSize: string;
198
+ rangeColor: string;
199
+ rangeGradientTo: string;
200
+ thumbColor: string;
201
+ thumbBorderColor: string;
202
+ tooltipBg: string;
203
+ tooltipColor: string;
204
+ currency: string;
205
+ showTooltip: boolean;
206
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,377 @@
1
+ type Size = "sm" | "md" | "lg";
2
+ type Variant = "outline" | "filled" | "ghost";
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: StringConstructor;
8
+ default: string;
9
+ };
10
+ type: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ label: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ id: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ placeholder: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ required: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ size: {
35
+ type: () => Size;
36
+ default: string;
37
+ };
38
+ variant: {
39
+ type: () => Variant;
40
+ default: string;
41
+ };
42
+ p: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ h: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ w: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ r: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ bgColor: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ borderColor: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ focusColor: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ textColor: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ errorColor: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ requiredColor: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ eyeColor: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ eyeHoverColor: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ eyeActiveColor: {
91
+ type: StringConstructor;
92
+ default: string;
93
+ };
94
+ revealPassword: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ showPrefix: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ prefixText: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ infoTooltip: {
107
+ type: StringConstructor;
108
+ default: string;
109
+ };
110
+ maxlength: {
111
+ type: NumberConstructor;
112
+ default: undefined;
113
+ };
114
+ autocomplete: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ autofocus: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ errorText: {
123
+ type: StringConstructor;
124
+ default: string;
125
+ };
126
+ validation: {
127
+ type: any;
128
+ default: boolean;
129
+ };
130
+ showSuccess: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ containerClass: {
135
+ type: StringConstructor;
136
+ default: string;
137
+ };
138
+ labelClass: {
139
+ type: StringConstructor;
140
+ default: string;
141
+ };
142
+ inputWrapperClass: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ inputClass: {
147
+ type: StringConstructor;
148
+ default: string;
149
+ };
150
+ }>, {
151
+ isFocused: import('vue').Ref<boolean, boolean>;
152
+ hasError: import('vue').Ref<boolean, boolean>;
153
+ isValid: import('vue').Ref<boolean, boolean>;
154
+ loading: import('vue').Ref<boolean, boolean>;
155
+ touched: import('vue').Ref<boolean, boolean>;
156
+ showPassword: import('vue').Ref<boolean, boolean>;
157
+ isHovering: import('vue').Ref<boolean, boolean>;
158
+ displayType: import('vue').ComputedRef<string>;
159
+ canReveal: import('vue').ComputedRef<boolean>;
160
+ toggleReveal: () => void;
161
+ wrapperStyle: import('vue').ComputedRef<{
162
+ background: string;
163
+ borderColor: string;
164
+ width: string;
165
+ height: string;
166
+ borderRadius: string;
167
+ } | {
168
+ borderColor: string;
169
+ background: string;
170
+ width: string;
171
+ height: string;
172
+ borderRadius: string;
173
+ } | {
174
+ background: string;
175
+ borderColor: string;
176
+ width: string;
177
+ height: string;
178
+ borderRadius: string;
179
+ }>;
180
+ fieldStyle: import('vue').ComputedRef<{
181
+ color: string;
182
+ padding: string;
183
+ }>;
184
+ prefixStyle: import('vue').ComputedRef<{
185
+ height: string;
186
+ display: string;
187
+ alignItems: string;
188
+ }>;
189
+ handleInput: (e: Event) => void;
190
+ onFocus: () => void;
191
+ onBlur: () => void;
192
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "valid")[], "update:modelValue" | "valid", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
193
+ modelValue: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ type: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ label: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ id: {
206
+ type: StringConstructor;
207
+ default: string;
208
+ };
209
+ placeholder: {
210
+ type: StringConstructor;
211
+ default: string;
212
+ };
213
+ required: {
214
+ type: BooleanConstructor;
215
+ default: boolean;
216
+ };
217
+ disabled: {
218
+ type: BooleanConstructor;
219
+ default: boolean;
220
+ };
221
+ size: {
222
+ type: () => Size;
223
+ default: string;
224
+ };
225
+ variant: {
226
+ type: () => Variant;
227
+ default: string;
228
+ };
229
+ p: {
230
+ type: StringConstructor;
231
+ default: string;
232
+ };
233
+ h: {
234
+ type: StringConstructor;
235
+ default: string;
236
+ };
237
+ w: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ };
241
+ r: {
242
+ type: StringConstructor;
243
+ default: string;
244
+ };
245
+ bgColor: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ };
249
+ borderColor: {
250
+ type: StringConstructor;
251
+ default: string;
252
+ };
253
+ focusColor: {
254
+ type: StringConstructor;
255
+ default: string;
256
+ };
257
+ textColor: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ errorColor: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ };
265
+ requiredColor: {
266
+ type: StringConstructor;
267
+ default: string;
268
+ };
269
+ eyeColor: {
270
+ type: StringConstructor;
271
+ default: string;
272
+ };
273
+ eyeHoverColor: {
274
+ type: StringConstructor;
275
+ default: string;
276
+ };
277
+ eyeActiveColor: {
278
+ type: StringConstructor;
279
+ default: string;
280
+ };
281
+ revealPassword: {
282
+ type: BooleanConstructor;
283
+ default: boolean;
284
+ };
285
+ showPrefix: {
286
+ type: BooleanConstructor;
287
+ default: boolean;
288
+ };
289
+ prefixText: {
290
+ type: StringConstructor;
291
+ default: string;
292
+ };
293
+ infoTooltip: {
294
+ type: StringConstructor;
295
+ default: string;
296
+ };
297
+ maxlength: {
298
+ type: NumberConstructor;
299
+ default: undefined;
300
+ };
301
+ autocomplete: {
302
+ type: StringConstructor;
303
+ default: string;
304
+ };
305
+ autofocus: {
306
+ type: BooleanConstructor;
307
+ default: boolean;
308
+ };
309
+ errorText: {
310
+ type: StringConstructor;
311
+ default: string;
312
+ };
313
+ validation: {
314
+ type: any;
315
+ default: boolean;
316
+ };
317
+ showSuccess: {
318
+ type: BooleanConstructor;
319
+ default: boolean;
320
+ };
321
+ containerClass: {
322
+ type: StringConstructor;
323
+ default: string;
324
+ };
325
+ labelClass: {
326
+ type: StringConstructor;
327
+ default: string;
328
+ };
329
+ inputWrapperClass: {
330
+ type: StringConstructor;
331
+ default: string;
332
+ };
333
+ inputClass: {
334
+ type: StringConstructor;
335
+ default: string;
336
+ };
337
+ }>> & Readonly<{
338
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
339
+ onValid?: ((...args: any[]) => any) | undefined;
340
+ }>, {
341
+ r: string;
342
+ p: string;
343
+ borderColor: string;
344
+ bgColor: string;
345
+ size: Size;
346
+ type: string;
347
+ textColor: string;
348
+ label: string;
349
+ required: boolean;
350
+ variant: Variant;
351
+ disabled: boolean;
352
+ w: string;
353
+ h: string;
354
+ id: string;
355
+ modelValue: string;
356
+ placeholder: string;
357
+ focusColor: string;
358
+ errorColor: string;
359
+ requiredColor: string;
360
+ eyeColor: string;
361
+ eyeHoverColor: string;
362
+ eyeActiveColor: string;
363
+ revealPassword: boolean;
364
+ showPrefix: boolean;
365
+ prefixText: string;
366
+ infoTooltip: string;
367
+ maxlength: number;
368
+ autocomplete: string;
369
+ autofocus: boolean;
370
+ errorText: string;
371
+ validation: any;
372
+ showSuccess: boolean;
373
+ containerClass: string;
374
+ labelClass: string;
375
+ inputWrapperClass: string;
376
+ inputClass: string;
377
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;