@agrotools1/at-components 1.0.63 → 1.0.64

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.
@@ -1,298 +0,0 @@
1
- import { SelectItemProps as ISelectItemProps } from './Item/Item';
2
- import { SelectCoreProps } from './Select.core';
3
-
4
- export type SelectProps = SelectCoreProps;
5
- export type SelectItemProps = ISelectItemProps;
6
- export declare const AtSelect: {
7
- Single: import('vue').DefineComponent<{
8
- modelValue: {
9
- type: import('vue').PropType<string | ISelectItemProps>;
10
- required: false;
11
- default: string;
12
- };
13
- label: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- required: {
18
- type: BooleanConstructor;
19
- required: false;
20
- default: boolean;
21
- };
22
- items: {
23
- type: () => ISelectItemProps[];
24
- default: () => ISelectItemProps[];
25
- validator: (value: ISelectItemProps[]) => boolean;
26
- };
27
- emitValue: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- isLoading: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- disabled: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- hasAutocomplete: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- showClearButton: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- showTooltipOnOverflow: {
48
- type: BooleanConstructor;
49
- required: false;
50
- default: boolean;
51
- };
52
- error: {
53
- type: ObjectConstructor;
54
- default: () => void;
55
- };
56
- msgNoResult: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- placeholder: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- }, {
65
- onSelectedValueChange: (item: ISelectItemProps) => void;
66
- selectedValue: import('vue').Ref<string | {
67
- text: string;
68
- value: string;
69
- onClick?: ((payload: MouseEvent) => void) | undefined;
70
- onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
71
- checkboxValue?: boolean | undefined;
72
- isSelected?: boolean | undefined;
73
- type?: "text" | "multiple" | "with-icon" | undefined;
74
- icon?: string | undefined;
75
- btnClass?: string | undefined;
76
- }>;
77
- open: import('vue').Ref<boolean>;
78
- valueOfModel: import('vue').ComputedRef<string>;
79
- containerRef: import('vue').Ref<HTMLDivElement | null>;
80
- isInternalChange: import('vue').Ref<boolean>;
81
- rotateIcon: () => void;
82
- handleTyping: (value: string) => void;
83
- filteredItems: import('vue').ComputedRef<import('vue').Ref<{
84
- text: string;
85
- value: string;
86
- onClick?: ((payload: MouseEvent) => void) | undefined;
87
- onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
88
- checkboxValue?: boolean | undefined;
89
- isSelected?: boolean | undefined;
90
- type?: "text" | "multiple" | "with-icon" | undefined;
91
- icon?: string | undefined;
92
- btnClass?: string | undefined;
93
- }[]>>;
94
- textValue: import('vue').Ref<string>;
95
- showNoResult: import('vue').ComputedRef<boolean>;
96
- handleClearInput: () => void;
97
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "clearValue")[], "update:modelValue" | "clearValue", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
98
- modelValue: {
99
- type: import('vue').PropType<string | ISelectItemProps>;
100
- required: false;
101
- default: string;
102
- };
103
- label: {
104
- type: StringConstructor;
105
- default: string;
106
- };
107
- required: {
108
- type: BooleanConstructor;
109
- required: false;
110
- default: boolean;
111
- };
112
- items: {
113
- type: () => ISelectItemProps[];
114
- default: () => ISelectItemProps[];
115
- validator: (value: ISelectItemProps[]) => boolean;
116
- };
117
- emitValue: {
118
- type: BooleanConstructor;
119
- default: boolean;
120
- };
121
- isLoading: {
122
- type: BooleanConstructor;
123
- default: boolean;
124
- };
125
- disabled: {
126
- type: BooleanConstructor;
127
- default: boolean;
128
- };
129
- hasAutocomplete: {
130
- type: BooleanConstructor;
131
- default: boolean;
132
- };
133
- showClearButton: {
134
- type: BooleanConstructor;
135
- default: boolean;
136
- };
137
- showTooltipOnOverflow: {
138
- type: BooleanConstructor;
139
- required: false;
140
- default: boolean;
141
- };
142
- error: {
143
- type: ObjectConstructor;
144
- default: () => void;
145
- };
146
- msgNoResult: {
147
- type: StringConstructor;
148
- default: string;
149
- };
150
- placeholder: {
151
- type: StringConstructor;
152
- default: string;
153
- };
154
- }>> & {
155
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
156
- onClearValue?: ((...args: any[]) => any) | undefined;
157
- }, {
158
- required: boolean;
159
- label: string;
160
- error: Record<string, any>;
161
- disabled: boolean;
162
- isLoading: boolean;
163
- modelValue: string | ISelectItemProps;
164
- placeholder: string;
165
- items: ISelectItemProps[];
166
- showClearButton: boolean;
167
- msgNoResult: string;
168
- showTooltipOnOverflow: boolean;
169
- emitValue: boolean;
170
- hasAutocomplete: boolean;
171
- }, {}>;
172
- Multiple: import('vue').DefineComponent<{
173
- label: {
174
- type: StringConstructor;
175
- default: string;
176
- };
177
- modelValue: {
178
- type: import('vue').PropType<string[] | ISelectItemProps[]>;
179
- default: () => ISelectItemProps[];
180
- };
181
- disabled: {
182
- type: BooleanConstructor;
183
- default: boolean;
184
- };
185
- emitValue: {
186
- type: BooleanConstructor;
187
- default: boolean;
188
- };
189
- items: {
190
- type: () => ISelectItemProps[];
191
- default: () => ISelectItemProps[];
192
- validator: (value: ISelectItemProps[]) => boolean;
193
- };
194
- required: {
195
- type: BooleanConstructor;
196
- required: false;
197
- default: boolean;
198
- };
199
- separator: {
200
- type: StringConstructor;
201
- default: string;
202
- };
203
- error: {
204
- type: ObjectConstructor;
205
- default: () => void;
206
- };
207
- placeholder: {
208
- type: StringConstructor;
209
- default: string;
210
- };
211
- }, {
212
- onSelectedValueChange: (item: ISelectItemProps, isChecked: boolean) => void;
213
- onSelectedItemClick: (selectedValue: string, isOpen?: boolean) => void;
214
- rotateIcon: () => void;
215
- myItems: import('vue').Ref<{
216
- text: string;
217
- value: string;
218
- onClick?: ((payload: MouseEvent) => void) | undefined;
219
- onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
220
- checkboxValue?: boolean | undefined;
221
- isSelected?: boolean | undefined;
222
- type?: "text" | "multiple" | "with-icon" | undefined;
223
- icon?: string | undefined;
224
- btnClass?: string | undefined;
225
- }[]>;
226
- values: import('vue').ComputedRef<string>;
227
- selectedValues: import('vue').Ref<{
228
- text: string;
229
- value: string;
230
- onClick?: ((payload: MouseEvent) => void) | undefined;
231
- onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
232
- checkboxValue?: boolean | undefined;
233
- isSelected?: boolean | undefined;
234
- type?: "text" | "multiple" | "with-icon" | undefined;
235
- icon?: string | undefined;
236
- btnClass?: string | undefined;
237
- }[]>;
238
- isInternalChange: import('vue').Ref<boolean>;
239
- isOpen: import('vue').Ref<boolean>;
240
- containerRef: import('vue').Ref<HTMLDivElement | null>;
241
- icons: {
242
- indicatorSvg: string;
243
- };
244
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "update:items" | "update:selectedItems")[], "update:modelValue" | "update:items" | "update:selectedItems", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
245
- label: {
246
- type: StringConstructor;
247
- default: string;
248
- };
249
- modelValue: {
250
- type: import('vue').PropType<string[] | ISelectItemProps[]>;
251
- default: () => ISelectItemProps[];
252
- };
253
- disabled: {
254
- type: BooleanConstructor;
255
- default: boolean;
256
- };
257
- emitValue: {
258
- type: BooleanConstructor;
259
- default: boolean;
260
- };
261
- items: {
262
- type: () => ISelectItemProps[];
263
- default: () => ISelectItemProps[];
264
- validator: (value: ISelectItemProps[]) => boolean;
265
- };
266
- required: {
267
- type: BooleanConstructor;
268
- required: false;
269
- default: boolean;
270
- };
271
- separator: {
272
- type: StringConstructor;
273
- default: string;
274
- };
275
- error: {
276
- type: ObjectConstructor;
277
- default: () => void;
278
- };
279
- placeholder: {
280
- type: StringConstructor;
281
- default: string;
282
- };
283
- }>> & {
284
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
285
- "onUpdate:items"?: ((...args: any[]) => any) | undefined;
286
- "onUpdate:selectedItems"?: ((...args: any[]) => any) | undefined;
287
- }, {
288
- required: boolean;
289
- label: string;
290
- error: Record<string, any>;
291
- disabled: boolean;
292
- modelValue: string[] | ISelectItemProps[];
293
- placeholder: string;
294
- items: ISelectItemProps[];
295
- separator: string;
296
- emitValue: boolean;
297
- }, {}>;
298
- };
package/dist/Tag/Tag.d.ts DELETED
@@ -1,60 +0,0 @@
1
- import { PropType } from 'vue';
2
-
3
- export interface TagProps {
4
- type: "error" | "success" | "warning" | "info" | "disabled";
5
- }
6
- declare const _default: import('vue').DefineComponent<{
7
- type: {
8
- type: PropType<"success" | "error" | "info" | "disabled" | "warning">;
9
- required: true;
10
- default: string;
11
- };
12
- }, {
13
- iconComponent: import('vue').ComputedRef<{
14
- icon: import('vue').DefineComponent<{
15
- size: {
16
- type: PropType<"12" | "16" | "20" | "24" | "28" | "32">;
17
- };
18
- color: {
19
- type: PropType<string>;
20
- };
21
- class: {
22
- type: PropType<string>;
23
- };
24
- style: {
25
- type: PropType<object>;
26
- };
27
- onClickCallback: {
28
- type: PropType<() => void>;
29
- };
30
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
31
- size: {
32
- type: PropType<"12" | "16" | "20" | "24" | "28" | "32">;
33
- };
34
- color: {
35
- type: PropType<string>;
36
- };
37
- class: {
38
- type: PropType<string>;
39
- };
40
- style: {
41
- type: PropType<object>;
42
- };
43
- onClickCallback: {
44
- type: PropType<() => void>;
45
- };
46
- }>>, {}, {}>;
47
- bgclass: string;
48
- iconClass: string;
49
- } | null>;
50
- tag: import('vue').Ref<HTMLElement | null>;
51
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
52
- type: {
53
- type: PropType<"success" | "error" | "info" | "disabled" | "warning">;
54
- required: true;
55
- default: string;
56
- };
57
- }>>, {
58
- type: "success" | "error" | "info" | "disabled" | "warning";
59
- }, {}>;
60
- export default _default;
@@ -1,63 +0,0 @@
1
- export interface ToggleProps {
2
- size: "p" | "m" | "g";
3
- }
4
- declare const _default: import('vue').DefineComponent<{
5
- modelValue: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- size: {
10
- type: () => "p" | "m" | "g";
11
- default: string;
12
- validator: (value: "p" | "m" | "g") => boolean;
13
- };
14
- disabled: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- preventDefault: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- }, {
23
- isChecked: import('vue').Ref<boolean>;
24
- isDisabled: import('vue').ComputedRef<boolean>;
25
- onClick: () => void;
26
- circleSizeMap: {
27
- p: string;
28
- m: string;
29
- g: string;
30
- };
31
- borderSizeMap: {
32
- p: string;
33
- m: string;
34
- g: string;
35
- };
36
- buttonRef: import('vue').Ref<HTMLButtonElement | null>;
37
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
38
- modelValue: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- size: {
43
- type: () => "p" | "m" | "g";
44
- default: string;
45
- validator: (value: "p" | "m" | "g") => boolean;
46
- };
47
- disabled: {
48
- type: BooleanConstructor;
49
- default: boolean;
50
- };
51
- preventDefault: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- }>> & {
56
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
- }, {
58
- size: "p" | "g" | "m";
59
- disabled: boolean;
60
- modelValue: boolean;
61
- preventDefault: boolean;
62
- }, {}>;
63
- export default _default;
@@ -1,86 +0,0 @@
1
- import { PropType } from 'vue';
2
-
3
- declare const _default: import('vue').DefineComponent<{
4
- uploadText: {
5
- type: StringConstructor;
6
- required: false;
7
- default: string;
8
- validator: (value: string) => boolean;
9
- };
10
- uploadInteractionText: {
11
- type: StringConstructor;
12
- required: true;
13
- default: string;
14
- validator: (value: string) => boolean;
15
- };
16
- multipleSelect: {
17
- type: BooleanConstructor;
18
- required: false;
19
- default: boolean;
20
- validator: (value: boolean) => boolean;
21
- };
22
- handleDrop: {
23
- type: PropType<(event: DragEvent) => void>;
24
- required: true;
25
- };
26
- handleFileUpload: {
27
- type: PropType<(event: Event) => Promise<void>>;
28
- required: true;
29
- };
30
- acceptTypes: {
31
- type: PropType<string[]>;
32
- default: () => never[];
33
- };
34
- acceptTypesInput: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- }, {
39
- dropAreaElem: import('vue').Ref<HTMLDivElement | null | undefined>;
40
- dropAreaClasses: import('vue').Ref<string[]>;
41
- resetFileInput: () => void;
42
- fileInputRef: import('vue').Ref<HTMLInputElement | null>;
43
- uid: string | number;
44
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
45
- uploadText: {
46
- type: StringConstructor;
47
- required: false;
48
- default: string;
49
- validator: (value: string) => boolean;
50
- };
51
- uploadInteractionText: {
52
- type: StringConstructor;
53
- required: true;
54
- default: string;
55
- validator: (value: string) => boolean;
56
- };
57
- multipleSelect: {
58
- type: BooleanConstructor;
59
- required: false;
60
- default: boolean;
61
- validator: (value: boolean) => boolean;
62
- };
63
- handleDrop: {
64
- type: PropType<(event: DragEvent) => void>;
65
- required: true;
66
- };
67
- handleFileUpload: {
68
- type: PropType<(event: Event) => Promise<void>>;
69
- required: true;
70
- };
71
- acceptTypes: {
72
- type: PropType<string[]>;
73
- default: () => never[];
74
- };
75
- acceptTypesInput: {
76
- type: StringConstructor;
77
- default: string;
78
- };
79
- }>>, {
80
- uploadText: string;
81
- uploadInteractionText: string;
82
- multipleSelect: boolean;
83
- acceptTypes: string[];
84
- acceptTypesInput: string;
85
- }, {}>;
86
- export default _default;