@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,170 @@
1
+ import { uiAttrs } from '../../../core/ui';
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: StringConstructor;
8
+ default: string;
9
+ };
10
+ placeholder: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ size: {
15
+ type: () => Size;
16
+ default: string;
17
+ };
18
+ disabled: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ p: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ w: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ radius: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ icon: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ iconPosition: {
39
+ type: () => "left" | "right";
40
+ default: string;
41
+ };
42
+ clearable: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ bgColor: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ textColor: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ borderColor: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ iconColor: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ focusColor: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ fontSize: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ }>, {
71
+ uiAttrs: typeof uiAttrs;
72
+ onInput: (e: Event) => void;
73
+ clearInput: () => void;
74
+ radiusClass: import('vue').ComputedRef<string>;
75
+ containerStyle: import('vue').ComputedRef<{
76
+ "--focus-color": string;
77
+ width: string;
78
+ background: string;
79
+ border: string;
80
+ borderRadius: string;
81
+ padding: string;
82
+ }>;
83
+ iconStyle: import('vue').ComputedRef<{
84
+ color: string;
85
+ }>;
86
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
87
+ modelValue: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ placeholder: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ size: {
96
+ type: () => Size;
97
+ default: string;
98
+ };
99
+ disabled: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ p: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ w: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ radius: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ icon: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ iconPosition: {
120
+ type: () => "left" | "right";
121
+ default: string;
122
+ };
123
+ clearable: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ bgColor: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ textColor: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ borderColor: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
139
+ iconColor: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ focusColor: {
144
+ type: StringConstructor;
145
+ default: string;
146
+ };
147
+ fontSize: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ }>> & Readonly<{
152
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
153
+ }>, {
154
+ p: string;
155
+ borderColor: string;
156
+ fontSize: string;
157
+ bgColor: string;
158
+ icon: string;
159
+ size: Size;
160
+ textColor: string;
161
+ radius: string;
162
+ disabled: boolean;
163
+ w: string;
164
+ modelValue: string;
165
+ iconColor: string;
166
+ placeholder: string;
167
+ iconPosition: "left" | "right";
168
+ clearable: boolean;
169
+ focusColor: string;
170
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,250 @@
1
+ import { uiAttrs } from '../../../core/ui';
2
+ type Option = string | Record<string, any>;
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
+ modelValue: {
8
+ type: any;
9
+ default: null;
10
+ };
11
+ options: {
12
+ type: () => Option[];
13
+ default: () => never[];
14
+ };
15
+ label: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ placeholder: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ multiple: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ disabled: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ required: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ searchable: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ size: {
40
+ type: () => Size;
41
+ default: string;
42
+ };
43
+ p: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ w: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ radius: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ bgColor: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ textColor: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ borderColor: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ focusColor: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ errorColor: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ labelColor: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ requiredColor: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ activeBg: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ activeText: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ reduce: {
92
+ type: any;
93
+ default: (item: any) => any;
94
+ };
95
+ errorText: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ }>, {
100
+ uiAttrs: typeof uiAttrs;
101
+ open: import('vue').Ref<boolean, boolean>;
102
+ search: import('vue').Ref<string, string>;
103
+ triggerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
104
+ dropdownRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
105
+ toggle: () => void;
106
+ sizeClass: import('vue').ComputedRef<"select-sm" | "select-lg" | "select-md">;
107
+ triggerStyle: import('vue').ComputedRef<{
108
+ background: string;
109
+ color: string;
110
+ border: string;
111
+ borderRadius: string;
112
+ padding: string;
113
+ boxShadow: string;
114
+ }>;
115
+ dropdownStyle: import('vue').ComputedRef<{
116
+ borderRadius: string;
117
+ border: string;
118
+ }>;
119
+ activeOptionStyle: import('vue').ComputedRef<{
120
+ background: string;
121
+ color: string;
122
+ }>;
123
+ getLabel: (opt: Option) => string;
124
+ filteredOptions: import('vue').ComputedRef<Option[]>;
125
+ selectedLabels: import('vue').ComputedRef<string[]>;
126
+ isSelected: (opt: Option) => boolean;
127
+ select: (opt: Option) => void;
128
+ removeByLabel: (lbl: string) => void;
129
+ showError: import('vue').ComputedRef<boolean>;
130
+ handleKeydown: (e: KeyboardEvent) => void;
131
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
132
+ modelValue: {
133
+ type: any;
134
+ default: null;
135
+ };
136
+ options: {
137
+ type: () => Option[];
138
+ default: () => never[];
139
+ };
140
+ label: {
141
+ type: StringConstructor;
142
+ default: string;
143
+ };
144
+ placeholder: {
145
+ type: StringConstructor;
146
+ default: string;
147
+ };
148
+ multiple: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ disabled: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ required: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ searchable: {
161
+ type: BooleanConstructor;
162
+ default: boolean;
163
+ };
164
+ size: {
165
+ type: () => Size;
166
+ default: string;
167
+ };
168
+ p: {
169
+ type: StringConstructor;
170
+ default: string;
171
+ };
172
+ w: {
173
+ type: StringConstructor;
174
+ default: string;
175
+ };
176
+ radius: {
177
+ type: StringConstructor;
178
+ default: string;
179
+ };
180
+ bgColor: {
181
+ type: StringConstructor;
182
+ default: string;
183
+ };
184
+ textColor: {
185
+ type: StringConstructor;
186
+ default: string;
187
+ };
188
+ borderColor: {
189
+ type: StringConstructor;
190
+ default: string;
191
+ };
192
+ focusColor: {
193
+ type: StringConstructor;
194
+ default: string;
195
+ };
196
+ errorColor: {
197
+ type: StringConstructor;
198
+ default: string;
199
+ };
200
+ labelColor: {
201
+ type: StringConstructor;
202
+ default: string;
203
+ };
204
+ requiredColor: {
205
+ type: StringConstructor;
206
+ default: string;
207
+ };
208
+ activeBg: {
209
+ type: StringConstructor;
210
+ default: string;
211
+ };
212
+ activeText: {
213
+ type: StringConstructor;
214
+ default: string;
215
+ };
216
+ reduce: {
217
+ type: any;
218
+ default: (item: any) => any;
219
+ };
220
+ errorText: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ }>> & Readonly<{
225
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
226
+ }>, {
227
+ p: string;
228
+ reduce: any;
229
+ borderColor: string;
230
+ bgColor: string;
231
+ size: Size;
232
+ textColor: string;
233
+ label: string;
234
+ radius: string;
235
+ required: boolean;
236
+ disabled: boolean;
237
+ w: string;
238
+ modelValue: any;
239
+ options: Option[];
240
+ placeholder: string;
241
+ focusColor: string;
242
+ errorColor: string;
243
+ requiredColor: string;
244
+ errorText: string;
245
+ labelColor: string;
246
+ multiple: boolean;
247
+ searchable: boolean;
248
+ activeBg: string;
249
+ activeText: string;
250
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,242 @@
1
+ import { uiAttrs } from '../../../core/ui';
2
+ type Size = "sm" | "md" | "lg";
3
+ type Shape = "rounded" | "square" | "pill";
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: StringConstructor;
9
+ default: string;
10
+ };
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ id: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ placeholder: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ required: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ disabled: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ defaultCountry: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ validation: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ errorText: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ disableDropDown: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ autoFormat: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ showCountryCode: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ size: {
56
+ type: () => Size;
57
+ default: string;
58
+ };
59
+ shape: {
60
+ type: () => Shape;
61
+ default: string;
62
+ };
63
+ w: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ bgColor: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ textColor: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ borderColor: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ focusColor: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ errorColor: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ labelColor: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ requiredColor: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ }>, {
96
+ uiAttrs: typeof uiAttrs;
97
+ inputRef: import('vue').Ref<any, any>;
98
+ internalValue: import('vue').Ref<string, string>;
99
+ showError: import('vue').ComputedRef<boolean>;
100
+ sizeClass: import('vue').ComputedRef<"tel-sm" | "tel-lg" | "tel-md">;
101
+ shapeClass: import('vue').ComputedRef<"tel-square" | "tel-pill" | "tel-rounded">;
102
+ stateClass: import('vue').ComputedRef<"" | "tel-error-state" | "tel-valid-state">;
103
+ inputStyle: import('vue').ComputedRef<{
104
+ "--tel-bg": string;
105
+ "--tel-text": string;
106
+ "--tel-border": string;
107
+ "--tel-focus": string;
108
+ }>;
109
+ inputOptions: import('vue').ComputedRef<{
110
+ id: string;
111
+ placeholder: string;
112
+ required: boolean;
113
+ showDialCode: boolean;
114
+ }>;
115
+ dropdownOptions: import('vue').ComputedRef<{
116
+ showSearchBox: boolean;
117
+ showFlags: boolean;
118
+ disabled: boolean;
119
+ }>;
120
+ onInputChange: (value: string) => void;
121
+ onValidate: (event: {
122
+ valid: boolean;
123
+ }) => void;
124
+ onBlur: () => void;
125
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "valid")[], "update:modelValue" | "valid", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
126
+ modelValue: {
127
+ type: StringConstructor;
128
+ default: string;
129
+ };
130
+ label: {
131
+ type: StringConstructor;
132
+ default: string;
133
+ };
134
+ id: {
135
+ type: StringConstructor;
136
+ default: string;
137
+ };
138
+ placeholder: {
139
+ type: StringConstructor;
140
+ default: string;
141
+ };
142
+ required: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ disabled: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ defaultCountry: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ validation: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ errorText: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ disableDropDown: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ autoFormat: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
170
+ showCountryCode: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ size: {
175
+ type: () => Size;
176
+ default: string;
177
+ };
178
+ shape: {
179
+ type: () => Shape;
180
+ default: string;
181
+ };
182
+ w: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ };
186
+ bgColor: {
187
+ type: StringConstructor;
188
+ default: string;
189
+ };
190
+ textColor: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
194
+ borderColor: {
195
+ type: StringConstructor;
196
+ default: string;
197
+ };
198
+ focusColor: {
199
+ type: StringConstructor;
200
+ default: string;
201
+ };
202
+ errorColor: {
203
+ type: StringConstructor;
204
+ default: string;
205
+ };
206
+ labelColor: {
207
+ type: StringConstructor;
208
+ default: string;
209
+ };
210
+ requiredColor: {
211
+ type: StringConstructor;
212
+ default: string;
213
+ };
214
+ }>> & Readonly<{
215
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
216
+ onValid?: ((...args: any[]) => any) | undefined;
217
+ }>, {
218
+ borderColor: string;
219
+ bgColor: string;
220
+ size: Size;
221
+ textColor: string;
222
+ label: string;
223
+ required: boolean;
224
+ disabled: boolean;
225
+ w: string;
226
+ id: string;
227
+ modelValue: string;
228
+ placeholder: string;
229
+ focusColor: string;
230
+ errorColor: string;
231
+ requiredColor: string;
232
+ errorText: string;
233
+ validation: boolean;
234
+ labelColor: string;
235
+ autoFormat: boolean;
236
+ defaultCountry: string;
237
+ disableDropDown: boolean;
238
+ showCountryCode: boolean;
239
+ shape: Shape;
240
+ }, {}, {
241
+ VueTelInput: import('vue').DefineComponent<import('vue-tel-input').VueTelInputProps, {}, {}, {}, {}, {}, {}, import('vue-tel-input').VueTelInputEmits>;
242
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;