@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,310 @@
1
+ import { uiAttrs } from '../../../core/ui';
2
+ export interface CurrencyItem {
3
+ code: string;
4
+ symbol: string;
5
+ }
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ modelValue: {
10
+ type: (StringConstructor | NumberConstructor)[];
11
+ default: string;
12
+ };
13
+ modelCurrency: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ id: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ label: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ placeholder: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ desc: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ errorText: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ infoTooltip: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ required: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ disabled: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ validation: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ showCurrency: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ showRightSymbol: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ maxlength: {
62
+ type: NumberConstructor;
63
+ default: number;
64
+ };
65
+ currencyOptions: {
66
+ type: () => CurrencyItem[];
67
+ default: () => {
68
+ code: string;
69
+ symbol: string;
70
+ }[];
71
+ };
72
+ w: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ h: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ p: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ r: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ fontSize: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ labelSize: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ bgColor: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ borderColor: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ focusColor: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ textColor: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ labelColor: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ mutedColor: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ dangerColor: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ shadow: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ }>, {
129
+ uiAttrs: typeof uiAttrs;
130
+ inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
131
+ isFocused: import('vue').Ref<boolean, boolean>;
132
+ hasError: import('vue').Ref<boolean, boolean>;
133
+ selectedCurrency: import('vue').Ref<string, string>;
134
+ rawValue: import('vue').Ref<number, number>;
135
+ activeSymbol: import('vue').ComputedRef<string>;
136
+ displayValue: import('vue').WritableComputedRef<string, string>;
137
+ handleInput: (e: Event) => void;
138
+ handleCurrencyChange: () => void;
139
+ handleFocus: () => void;
140
+ handleBlur: () => void;
141
+ boxStyle: import('vue').ComputedRef<{
142
+ height: string;
143
+ borderRadius: string;
144
+ background: string;
145
+ borderColor: string;
146
+ boxShadow: string;
147
+ }>;
148
+ inputStyle: import('vue').ComputedRef<{
149
+ color: string;
150
+ fontSize: string;
151
+ padding: string;
152
+ }>;
153
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "valid" | "update:modelCurrency" | "change" | "focus" | "blur")[], "update:modelValue" | "valid" | "update:modelCurrency" | "change" | "focus" | "blur", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
154
+ modelValue: {
155
+ type: (StringConstructor | NumberConstructor)[];
156
+ default: string;
157
+ };
158
+ modelCurrency: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ id: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ label: {
167
+ type: StringConstructor;
168
+ default: string;
169
+ };
170
+ placeholder: {
171
+ type: StringConstructor;
172
+ default: string;
173
+ };
174
+ desc: {
175
+ type: StringConstructor;
176
+ default: string;
177
+ };
178
+ errorText: {
179
+ type: StringConstructor;
180
+ default: string;
181
+ };
182
+ infoTooltip: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ };
186
+ required: {
187
+ type: BooleanConstructor;
188
+ default: boolean;
189
+ };
190
+ disabled: {
191
+ type: BooleanConstructor;
192
+ default: boolean;
193
+ };
194
+ validation: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ showCurrency: {
199
+ type: BooleanConstructor;
200
+ default: boolean;
201
+ };
202
+ showRightSymbol: {
203
+ type: BooleanConstructor;
204
+ default: boolean;
205
+ };
206
+ maxlength: {
207
+ type: NumberConstructor;
208
+ default: number;
209
+ };
210
+ currencyOptions: {
211
+ type: () => CurrencyItem[];
212
+ default: () => {
213
+ code: string;
214
+ symbol: string;
215
+ }[];
216
+ };
217
+ w: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ h: {
222
+ type: StringConstructor;
223
+ default: string;
224
+ };
225
+ p: {
226
+ type: StringConstructor;
227
+ default: string;
228
+ };
229
+ r: {
230
+ type: StringConstructor;
231
+ default: string;
232
+ };
233
+ fontSize: {
234
+ type: StringConstructor;
235
+ default: string;
236
+ };
237
+ labelSize: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ };
241
+ bgColor: {
242
+ type: StringConstructor;
243
+ default: string;
244
+ };
245
+ borderColor: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ };
249
+ focusColor: {
250
+ type: StringConstructor;
251
+ default: string;
252
+ };
253
+ textColor: {
254
+ type: StringConstructor;
255
+ default: string;
256
+ };
257
+ labelColor: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ mutedColor: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ };
265
+ dangerColor: {
266
+ type: StringConstructor;
267
+ default: string;
268
+ };
269
+ shadow: {
270
+ type: StringConstructor;
271
+ default: string;
272
+ };
273
+ }>> & Readonly<{
274
+ onFocus?: ((...args: any[]) => any) | undefined;
275
+ onBlur?: ((...args: any[]) => any) | undefined;
276
+ onChange?: ((...args: any[]) => any) | undefined;
277
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
278
+ onValid?: ((...args: any[]) => any) | undefined;
279
+ "onUpdate:modelCurrency"?: ((...args: any[]) => any) | undefined;
280
+ }>, {
281
+ r: string;
282
+ p: string;
283
+ borderColor: string;
284
+ fontSize: string;
285
+ shadow: string;
286
+ bgColor: string;
287
+ textColor: string;
288
+ label: string;
289
+ desc: string;
290
+ required: boolean;
291
+ disabled: boolean;
292
+ w: string;
293
+ h: string;
294
+ id: string;
295
+ modelValue: string | number;
296
+ placeholder: string;
297
+ focusColor: string;
298
+ infoTooltip: string;
299
+ maxlength: number;
300
+ errorText: string;
301
+ validation: boolean;
302
+ modelCurrency: string;
303
+ showCurrency: boolean;
304
+ showRightSymbol: boolean;
305
+ currencyOptions: CurrencyItem[];
306
+ labelSize: string;
307
+ labelColor: string;
308
+ mutedColor: string;
309
+ dangerColor: string;
310
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,276 @@
1
+ import { Component } from 'vue';
2
+ type Size = "sm" | "md" | "lg";
3
+ type Variant = "outline" | "filled" | "ghost";
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ modelValue: {
8
+ type: any;
9
+ default: null;
10
+ };
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ placeholder: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ required: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ disabled: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ clearable: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ range: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ enableTime: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ enableSeconds: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ minDate: {
44
+ type: any;
45
+ default: undefined;
46
+ };
47
+ maxDate: {
48
+ type: any;
49
+ default: undefined;
50
+ };
51
+ size: {
52
+ type: () => Size;
53
+ default: string;
54
+ };
55
+ variant: {
56
+ type: () => Variant;
57
+ default: string;
58
+ };
59
+ w: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ h: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ p: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ radius: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ bgColor: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ borderColor: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ focusColor: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ textColor: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ placeholderColor: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ iconColor: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ errorColor: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ requiredColor: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ errorText: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ containerClass: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ }>, {
116
+ hasError: import('vue').Ref<boolean, boolean>;
117
+ dateMode: import('vue').ComputedRef<"date" | "dateTime">;
118
+ masks: {
119
+ input: string;
120
+ };
121
+ formatDate: (val: any) => string;
122
+ handleInput: (val: any) => void;
123
+ clearValue: () => void;
124
+ sizeClass: import('vue').ComputedRef<"date-trigger--sm" | "date-trigger--lg" | "date-trigger--md">;
125
+ triggerStyle: import('vue').ComputedRef<{
126
+ width: string;
127
+ height: string;
128
+ padding: string;
129
+ borderRadius: string;
130
+ border: string;
131
+ background: string;
132
+ color: string;
133
+ }>;
134
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "valid")[], "update:modelValue" | "valid", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
135
+ modelValue: {
136
+ type: any;
137
+ default: null;
138
+ };
139
+ label: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ placeholder: {
144
+ type: StringConstructor;
145
+ default: string;
146
+ };
147
+ required: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
151
+ disabled: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ clearable: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ range: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ enableTime: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ enableSeconds: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ minDate: {
172
+ type: any;
173
+ default: undefined;
174
+ };
175
+ maxDate: {
176
+ type: any;
177
+ default: undefined;
178
+ };
179
+ size: {
180
+ type: () => Size;
181
+ default: string;
182
+ };
183
+ variant: {
184
+ type: () => Variant;
185
+ default: string;
186
+ };
187
+ w: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ h: {
192
+ type: StringConstructor;
193
+ default: string;
194
+ };
195
+ p: {
196
+ type: StringConstructor;
197
+ default: string;
198
+ };
199
+ radius: {
200
+ type: StringConstructor;
201
+ default: string;
202
+ };
203
+ bgColor: {
204
+ type: StringConstructor;
205
+ default: string;
206
+ };
207
+ borderColor: {
208
+ type: StringConstructor;
209
+ default: string;
210
+ };
211
+ focusColor: {
212
+ type: StringConstructor;
213
+ default: string;
214
+ };
215
+ textColor: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ placeholderColor: {
220
+ type: StringConstructor;
221
+ default: string;
222
+ };
223
+ iconColor: {
224
+ type: StringConstructor;
225
+ default: string;
226
+ };
227
+ errorColor: {
228
+ type: StringConstructor;
229
+ default: string;
230
+ };
231
+ requiredColor: {
232
+ type: StringConstructor;
233
+ default: string;
234
+ };
235
+ errorText: {
236
+ type: StringConstructor;
237
+ default: string;
238
+ };
239
+ containerClass: {
240
+ type: StringConstructor;
241
+ default: string;
242
+ };
243
+ }>> & Readonly<{
244
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
245
+ onValid?: ((...args: any[]) => any) | undefined;
246
+ }>, {
247
+ p: string;
248
+ borderColor: string;
249
+ bgColor: string;
250
+ size: Size;
251
+ textColor: string;
252
+ label: string;
253
+ radius: string;
254
+ required: boolean;
255
+ variant: Variant;
256
+ disabled: boolean;
257
+ w: string;
258
+ h: string;
259
+ modelValue: any;
260
+ iconColor: string;
261
+ placeholder: string;
262
+ clearable: boolean;
263
+ focusColor: string;
264
+ errorColor: string;
265
+ requiredColor: string;
266
+ errorText: string;
267
+ containerClass: string;
268
+ range: boolean;
269
+ placeholderColor: string;
270
+ minDate: any;
271
+ maxDate: any;
272
+ enableTime: boolean;
273
+ enableSeconds: boolean;
274
+ }, {}, {
275
+ DatePicker: Component;
276
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;