@mekari/pixel3-autocomplete 0.0.0

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.
@@ -0,0 +1,291 @@
1
+ import * as vue from 'vue';
2
+ import { StringNumberAnyObject } from './modules/autocomplete.props.mjs';
3
+ import '@mekari/pixel3-popover';
4
+
5
+ declare const MpAutocomplete: vue.DefineComponent<{
6
+ id: {
7
+ type: vue.PropType<string>;
8
+ default: string;
9
+ };
10
+ data: {
11
+ type: vue.PropType<unknown[]>;
12
+ default: () => never[];
13
+ };
14
+ modelValue: {
15
+ type: vue.PropType<StringNumberAnyObject | undefined>;
16
+ };
17
+ defaultValue: (StringConstructor | NumberConstructor | ObjectConstructor)[];
18
+ placeholder: {
19
+ type: vue.PropType<string>;
20
+ };
21
+ labelProp: {
22
+ type: vue.PropType<string>;
23
+ default: string;
24
+ };
25
+ valueProp: {
26
+ type: vue.PropType<string>;
27
+ default: string;
28
+ };
29
+ isReadOnly: {
30
+ type: vue.PropType<boolean>;
31
+ default: boolean;
32
+ };
33
+ isDisabled: {
34
+ type: vue.PropType<boolean>;
35
+ default: boolean;
36
+ };
37
+ isInvalid: {
38
+ type: vue.PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ isRequired: {
42
+ type: vue.PropType<boolean>;
43
+ default: boolean;
44
+ };
45
+ isFullWidth: {
46
+ type: vue.PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ isLoading: {
50
+ type: vue.PropType<boolean>;
51
+ default: boolean;
52
+ };
53
+ isContentLoading: {
54
+ type: vue.PropType<boolean>;
55
+ default: boolean;
56
+ };
57
+ isClearable: {
58
+ type: vue.PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ isSearchable: {
62
+ type: vue.PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ contentAttrs: {
66
+ type: vue.PropType<{
67
+ [key: string]: unknown;
68
+ class?: unknown;
69
+ style?: unknown;
70
+ } & {} & {
71
+ isDark?: boolean | undefined;
72
+ isUnstyled?: boolean | undefined;
73
+ }>;
74
+ };
75
+ emptyText: {
76
+ type: vue.PropType<string>;
77
+ default: string;
78
+ };
79
+ contentLoadingText: {
80
+ type: vue.PropType<string>;
81
+ default: string;
82
+ };
83
+ isInfinityScroll: {
84
+ type: vue.PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ isManualFilter: {
88
+ type: vue.PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ usePortal: {
92
+ type: vue.PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ isShowButtonAction: {
96
+ type: vue.PropType<boolean>;
97
+ default: boolean;
98
+ };
99
+ buttonActionText: {
100
+ type: vue.PropType<string>;
101
+ default: string;
102
+ };
103
+ isGroupSuggestions: {
104
+ type: vue.PropType<boolean>;
105
+ default: boolean;
106
+ };
107
+ groupKey: {
108
+ type: vue.PropType<string>;
109
+ default: string;
110
+ };
111
+ keyCode: {
112
+ type: vue.PropType<string[]>;
113
+ default: () => string[];
114
+ };
115
+ isRawValue: {
116
+ type: vue.PropType<boolean>;
117
+ default: boolean;
118
+ };
119
+ isListItemActiveFunction: {
120
+ type: vue.PropType<(selected: StringNumberAnyObject | undefined, item: StringNumberAnyObject | undefined) => boolean>;
121
+ };
122
+ isKeepAlive: {
123
+ type: vue.PropType<boolean>;
124
+ default: boolean;
125
+ };
126
+ isAdaptiveWidth: {
127
+ type: vue.PropType<boolean>;
128
+ default: boolean;
129
+ };
130
+ }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:modelValue" | "input" | "change" | "enter" | "scrollEnd" | "buttonAction")[], "update:modelValue" | "input" | "change" | "enter" | "scrollEnd" | "buttonAction", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
131
+ id: {
132
+ type: vue.PropType<string>;
133
+ default: string;
134
+ };
135
+ data: {
136
+ type: vue.PropType<unknown[]>;
137
+ default: () => never[];
138
+ };
139
+ modelValue: {
140
+ type: vue.PropType<StringNumberAnyObject | undefined>;
141
+ };
142
+ defaultValue: (StringConstructor | NumberConstructor | ObjectConstructor)[];
143
+ placeholder: {
144
+ type: vue.PropType<string>;
145
+ };
146
+ labelProp: {
147
+ type: vue.PropType<string>;
148
+ default: string;
149
+ };
150
+ valueProp: {
151
+ type: vue.PropType<string>;
152
+ default: string;
153
+ };
154
+ isReadOnly: {
155
+ type: vue.PropType<boolean>;
156
+ default: boolean;
157
+ };
158
+ isDisabled: {
159
+ type: vue.PropType<boolean>;
160
+ default: boolean;
161
+ };
162
+ isInvalid: {
163
+ type: vue.PropType<boolean>;
164
+ default: boolean;
165
+ };
166
+ isRequired: {
167
+ type: vue.PropType<boolean>;
168
+ default: boolean;
169
+ };
170
+ isFullWidth: {
171
+ type: vue.PropType<boolean>;
172
+ default: boolean;
173
+ };
174
+ isLoading: {
175
+ type: vue.PropType<boolean>;
176
+ default: boolean;
177
+ };
178
+ isContentLoading: {
179
+ type: vue.PropType<boolean>;
180
+ default: boolean;
181
+ };
182
+ isClearable: {
183
+ type: vue.PropType<boolean>;
184
+ default: boolean;
185
+ };
186
+ isSearchable: {
187
+ type: vue.PropType<boolean>;
188
+ default: boolean;
189
+ };
190
+ contentAttrs: {
191
+ type: vue.PropType<{
192
+ [key: string]: unknown;
193
+ class?: unknown;
194
+ style?: unknown;
195
+ } & {} & {
196
+ isDark?: boolean | undefined;
197
+ isUnstyled?: boolean | undefined;
198
+ }>;
199
+ };
200
+ emptyText: {
201
+ type: vue.PropType<string>;
202
+ default: string;
203
+ };
204
+ contentLoadingText: {
205
+ type: vue.PropType<string>;
206
+ default: string;
207
+ };
208
+ isInfinityScroll: {
209
+ type: vue.PropType<boolean>;
210
+ default: boolean;
211
+ };
212
+ isManualFilter: {
213
+ type: vue.PropType<boolean>;
214
+ default: boolean;
215
+ };
216
+ usePortal: {
217
+ type: vue.PropType<boolean>;
218
+ default: boolean;
219
+ };
220
+ isShowButtonAction: {
221
+ type: vue.PropType<boolean>;
222
+ default: boolean;
223
+ };
224
+ buttonActionText: {
225
+ type: vue.PropType<string>;
226
+ default: string;
227
+ };
228
+ isGroupSuggestions: {
229
+ type: vue.PropType<boolean>;
230
+ default: boolean;
231
+ };
232
+ groupKey: {
233
+ type: vue.PropType<string>;
234
+ default: string;
235
+ };
236
+ keyCode: {
237
+ type: vue.PropType<string[]>;
238
+ default: () => string[];
239
+ };
240
+ isRawValue: {
241
+ type: vue.PropType<boolean>;
242
+ default: boolean;
243
+ };
244
+ isListItemActiveFunction: {
245
+ type: vue.PropType<(selected: StringNumberAnyObject | undefined, item: StringNumberAnyObject | undefined) => boolean>;
246
+ };
247
+ isKeepAlive: {
248
+ type: vue.PropType<boolean>;
249
+ default: boolean;
250
+ };
251
+ isAdaptiveWidth: {
252
+ type: vue.PropType<boolean>;
253
+ default: boolean;
254
+ };
255
+ }>> & {
256
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
257
+ onInput?: ((...args: any[]) => any) | undefined;
258
+ onChange?: ((...args: any[]) => any) | undefined;
259
+ onEnter?: ((...args: any[]) => any) | undefined;
260
+ onScrollEnd?: ((...args: any[]) => any) | undefined;
261
+ onButtonAction?: ((...args: any[]) => any) | undefined;
262
+ }, {
263
+ id: string;
264
+ data: unknown[];
265
+ labelProp: string;
266
+ valueProp: string;
267
+ isReadOnly: boolean;
268
+ isDisabled: boolean;
269
+ isInvalid: boolean;
270
+ isRequired: boolean;
271
+ isFullWidth: boolean;
272
+ isLoading: boolean;
273
+ isContentLoading: boolean;
274
+ isClearable: boolean;
275
+ isSearchable: boolean;
276
+ emptyText: string;
277
+ contentLoadingText: string;
278
+ isInfinityScroll: boolean;
279
+ isManualFilter: boolean;
280
+ usePortal: boolean;
281
+ isShowButtonAction: boolean;
282
+ buttonActionText: string;
283
+ isGroupSuggestions: boolean;
284
+ groupKey: string;
285
+ keyCode: string[];
286
+ isRawValue: boolean;
287
+ isKeepAlive: boolean;
288
+ isAdaptiveWidth: boolean;
289
+ }, {}>;
290
+
291
+ export { MpAutocomplete };
@@ -0,0 +1,291 @@
1
+ import * as vue from 'vue';
2
+ import { StringNumberAnyObject } from './modules/autocomplete.props.js';
3
+ import '@mekari/pixel3-popover';
4
+
5
+ declare const MpAutocomplete: vue.DefineComponent<{
6
+ id: {
7
+ type: vue.PropType<string>;
8
+ default: string;
9
+ };
10
+ data: {
11
+ type: vue.PropType<unknown[]>;
12
+ default: () => never[];
13
+ };
14
+ modelValue: {
15
+ type: vue.PropType<StringNumberAnyObject | undefined>;
16
+ };
17
+ defaultValue: (StringConstructor | NumberConstructor | ObjectConstructor)[];
18
+ placeholder: {
19
+ type: vue.PropType<string>;
20
+ };
21
+ labelProp: {
22
+ type: vue.PropType<string>;
23
+ default: string;
24
+ };
25
+ valueProp: {
26
+ type: vue.PropType<string>;
27
+ default: string;
28
+ };
29
+ isReadOnly: {
30
+ type: vue.PropType<boolean>;
31
+ default: boolean;
32
+ };
33
+ isDisabled: {
34
+ type: vue.PropType<boolean>;
35
+ default: boolean;
36
+ };
37
+ isInvalid: {
38
+ type: vue.PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ isRequired: {
42
+ type: vue.PropType<boolean>;
43
+ default: boolean;
44
+ };
45
+ isFullWidth: {
46
+ type: vue.PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ isLoading: {
50
+ type: vue.PropType<boolean>;
51
+ default: boolean;
52
+ };
53
+ isContentLoading: {
54
+ type: vue.PropType<boolean>;
55
+ default: boolean;
56
+ };
57
+ isClearable: {
58
+ type: vue.PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ isSearchable: {
62
+ type: vue.PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ contentAttrs: {
66
+ type: vue.PropType<{
67
+ [key: string]: unknown;
68
+ class?: unknown;
69
+ style?: unknown;
70
+ } & {} & {
71
+ isDark?: boolean | undefined;
72
+ isUnstyled?: boolean | undefined;
73
+ }>;
74
+ };
75
+ emptyText: {
76
+ type: vue.PropType<string>;
77
+ default: string;
78
+ };
79
+ contentLoadingText: {
80
+ type: vue.PropType<string>;
81
+ default: string;
82
+ };
83
+ isInfinityScroll: {
84
+ type: vue.PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ isManualFilter: {
88
+ type: vue.PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ usePortal: {
92
+ type: vue.PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ isShowButtonAction: {
96
+ type: vue.PropType<boolean>;
97
+ default: boolean;
98
+ };
99
+ buttonActionText: {
100
+ type: vue.PropType<string>;
101
+ default: string;
102
+ };
103
+ isGroupSuggestions: {
104
+ type: vue.PropType<boolean>;
105
+ default: boolean;
106
+ };
107
+ groupKey: {
108
+ type: vue.PropType<string>;
109
+ default: string;
110
+ };
111
+ keyCode: {
112
+ type: vue.PropType<string[]>;
113
+ default: () => string[];
114
+ };
115
+ isRawValue: {
116
+ type: vue.PropType<boolean>;
117
+ default: boolean;
118
+ };
119
+ isListItemActiveFunction: {
120
+ type: vue.PropType<(selected: StringNumberAnyObject | undefined, item: StringNumberAnyObject | undefined) => boolean>;
121
+ };
122
+ isKeepAlive: {
123
+ type: vue.PropType<boolean>;
124
+ default: boolean;
125
+ };
126
+ isAdaptiveWidth: {
127
+ type: vue.PropType<boolean>;
128
+ default: boolean;
129
+ };
130
+ }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:modelValue" | "input" | "change" | "enter" | "scrollEnd" | "buttonAction")[], "update:modelValue" | "input" | "change" | "enter" | "scrollEnd" | "buttonAction", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
131
+ id: {
132
+ type: vue.PropType<string>;
133
+ default: string;
134
+ };
135
+ data: {
136
+ type: vue.PropType<unknown[]>;
137
+ default: () => never[];
138
+ };
139
+ modelValue: {
140
+ type: vue.PropType<StringNumberAnyObject | undefined>;
141
+ };
142
+ defaultValue: (StringConstructor | NumberConstructor | ObjectConstructor)[];
143
+ placeholder: {
144
+ type: vue.PropType<string>;
145
+ };
146
+ labelProp: {
147
+ type: vue.PropType<string>;
148
+ default: string;
149
+ };
150
+ valueProp: {
151
+ type: vue.PropType<string>;
152
+ default: string;
153
+ };
154
+ isReadOnly: {
155
+ type: vue.PropType<boolean>;
156
+ default: boolean;
157
+ };
158
+ isDisabled: {
159
+ type: vue.PropType<boolean>;
160
+ default: boolean;
161
+ };
162
+ isInvalid: {
163
+ type: vue.PropType<boolean>;
164
+ default: boolean;
165
+ };
166
+ isRequired: {
167
+ type: vue.PropType<boolean>;
168
+ default: boolean;
169
+ };
170
+ isFullWidth: {
171
+ type: vue.PropType<boolean>;
172
+ default: boolean;
173
+ };
174
+ isLoading: {
175
+ type: vue.PropType<boolean>;
176
+ default: boolean;
177
+ };
178
+ isContentLoading: {
179
+ type: vue.PropType<boolean>;
180
+ default: boolean;
181
+ };
182
+ isClearable: {
183
+ type: vue.PropType<boolean>;
184
+ default: boolean;
185
+ };
186
+ isSearchable: {
187
+ type: vue.PropType<boolean>;
188
+ default: boolean;
189
+ };
190
+ contentAttrs: {
191
+ type: vue.PropType<{
192
+ [key: string]: unknown;
193
+ class?: unknown;
194
+ style?: unknown;
195
+ } & {} & {
196
+ isDark?: boolean | undefined;
197
+ isUnstyled?: boolean | undefined;
198
+ }>;
199
+ };
200
+ emptyText: {
201
+ type: vue.PropType<string>;
202
+ default: string;
203
+ };
204
+ contentLoadingText: {
205
+ type: vue.PropType<string>;
206
+ default: string;
207
+ };
208
+ isInfinityScroll: {
209
+ type: vue.PropType<boolean>;
210
+ default: boolean;
211
+ };
212
+ isManualFilter: {
213
+ type: vue.PropType<boolean>;
214
+ default: boolean;
215
+ };
216
+ usePortal: {
217
+ type: vue.PropType<boolean>;
218
+ default: boolean;
219
+ };
220
+ isShowButtonAction: {
221
+ type: vue.PropType<boolean>;
222
+ default: boolean;
223
+ };
224
+ buttonActionText: {
225
+ type: vue.PropType<string>;
226
+ default: string;
227
+ };
228
+ isGroupSuggestions: {
229
+ type: vue.PropType<boolean>;
230
+ default: boolean;
231
+ };
232
+ groupKey: {
233
+ type: vue.PropType<string>;
234
+ default: string;
235
+ };
236
+ keyCode: {
237
+ type: vue.PropType<string[]>;
238
+ default: () => string[];
239
+ };
240
+ isRawValue: {
241
+ type: vue.PropType<boolean>;
242
+ default: boolean;
243
+ };
244
+ isListItemActiveFunction: {
245
+ type: vue.PropType<(selected: StringNumberAnyObject | undefined, item: StringNumberAnyObject | undefined) => boolean>;
246
+ };
247
+ isKeepAlive: {
248
+ type: vue.PropType<boolean>;
249
+ default: boolean;
250
+ };
251
+ isAdaptiveWidth: {
252
+ type: vue.PropType<boolean>;
253
+ default: boolean;
254
+ };
255
+ }>> & {
256
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
257
+ onInput?: ((...args: any[]) => any) | undefined;
258
+ onChange?: ((...args: any[]) => any) | undefined;
259
+ onEnter?: ((...args: any[]) => any) | undefined;
260
+ onScrollEnd?: ((...args: any[]) => any) | undefined;
261
+ onButtonAction?: ((...args: any[]) => any) | undefined;
262
+ }, {
263
+ id: string;
264
+ data: unknown[];
265
+ labelProp: string;
266
+ valueProp: string;
267
+ isReadOnly: boolean;
268
+ isDisabled: boolean;
269
+ isInvalid: boolean;
270
+ isRequired: boolean;
271
+ isFullWidth: boolean;
272
+ isLoading: boolean;
273
+ isContentLoading: boolean;
274
+ isClearable: boolean;
275
+ isSearchable: boolean;
276
+ emptyText: string;
277
+ contentLoadingText: string;
278
+ isInfinityScroll: boolean;
279
+ isManualFilter: boolean;
280
+ usePortal: boolean;
281
+ isShowButtonAction: boolean;
282
+ buttonActionText: string;
283
+ isGroupSuggestions: boolean;
284
+ groupKey: string;
285
+ keyCode: string[];
286
+ isRawValue: boolean;
287
+ isKeepAlive: boolean;
288
+ isAdaptiveWidth: boolean;
289
+ }, {}>;
290
+
291
+ export { MpAutocomplete };