sprof 0.0.197 → 0.0.198

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.
@@ -25,6 +25,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
25
25
  };
26
26
  default: never[];
27
27
  };
28
+ width: {
29
+ type: (StringConstructor | NumberConstructor)[];
30
+ default: string;
31
+ };
28
32
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
33
  input: (...args: any[]) => void;
30
34
  select: (...args: any[]) => void;
@@ -54,10 +58,15 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
54
58
  };
55
59
  default: never[];
56
60
  };
61
+ width: {
62
+ type: (StringConstructor | NumberConstructor)[];
63
+ default: string;
64
+ };
57
65
  }>> & Readonly<{
58
66
  onInput?: ((...args: any[]) => any) | undefined;
59
67
  onSelect?: ((...args: any[]) => any) | undefined;
60
68
  }>, {
69
+ width: string | number;
61
70
  modelValue: string;
62
71
  searchFunc: Function;
63
72
  suggestions: ISearchObject[];
@@ -0,0 +1,369 @@
1
+ import { StoryFn } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
+ keyValue: {
6
+ type: globalThis.PropType<string>;
7
+ default: string;
8
+ };
9
+ modelValue: {
10
+ type: globalThis.PropType<string>;
11
+ default: string;
12
+ };
13
+ storeModule: {
14
+ type: globalThis.PropType<string>;
15
+ default: string;
16
+ };
17
+ placeholder: {
18
+ type: globalThis.PropType<string>;
19
+ default: string;
20
+ };
21
+ showSuggestions: {
22
+ type: globalThis.PropType<boolean>;
23
+ default: boolean;
24
+ };
25
+ width: {
26
+ type: (StringConstructor | NumberConstructor)[];
27
+ default: string;
28
+ };
29
+ focus: {
30
+ type: globalThis.PropType<boolean>;
31
+ default: boolean;
32
+ };
33
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ input: (...args: any[]) => void;
35
+ select: (...args: any[]) => void;
36
+ load: (...args: any[]) => void;
37
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
38
+ keyValue: {
39
+ type: globalThis.PropType<string>;
40
+ default: string;
41
+ };
42
+ modelValue: {
43
+ type: globalThis.PropType<string>;
44
+ default: string;
45
+ };
46
+ storeModule: {
47
+ type: globalThis.PropType<string>;
48
+ default: string;
49
+ };
50
+ placeholder: {
51
+ type: globalThis.PropType<string>;
52
+ default: string;
53
+ };
54
+ showSuggestions: {
55
+ type: globalThis.PropType<boolean>;
56
+ default: boolean;
57
+ };
58
+ width: {
59
+ type: (StringConstructor | NumberConstructor)[];
60
+ default: string;
61
+ };
62
+ focus: {
63
+ type: globalThis.PropType<boolean>;
64
+ default: boolean;
65
+ };
66
+ }>> & Readonly<{
67
+ onInput?: ((...args: any[]) => any) | undefined;
68
+ onSelect?: ((...args: any[]) => any) | undefined;
69
+ onLoad?: ((...args: any[]) => any) | undefined;
70
+ }>, {
71
+ focus: boolean;
72
+ storeModule: string;
73
+ width: string | number;
74
+ modelValue: string;
75
+ placeholder: string;
76
+ keyValue: string;
77
+ showSuggestions: boolean;
78
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
79
+ searchForm: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
80
+ modelValue: {
81
+ type: globalThis.PropType<string>;
82
+ default: string;
83
+ };
84
+ searchFunc: {
85
+ type: FunctionConstructor;
86
+ default: () => void;
87
+ };
88
+ suggestions: {
89
+ type: {
90
+ (arrayLength: number): import('../interfaces/ISearchObject').default[];
91
+ (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
92
+ new (arrayLength: number): import('../interfaces/ISearchObject').default[];
93
+ new (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
94
+ isArray(arg: any): arg is any[];
95
+ readonly prototype: any[];
96
+ from<T>(arrayLike: ArrayLike<T>): T[];
97
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
98
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
99
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
100
+ of<T_4>(...items: T_4[]): T_4[];
101
+ readonly [Symbol.species]: ArrayConstructor;
102
+ };
103
+ default: never[];
104
+ };
105
+ width: {
106
+ type: (StringConstructor | NumberConstructor)[];
107
+ default: string;
108
+ };
109
+ }>> & Readonly<{
110
+ onInput?: ((...args: any[]) => any) | undefined;
111
+ onSelect?: ((...args: any[]) => any) | undefined;
112
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
113
+ input: (...args: any[]) => void;
114
+ select: (...args: any[]) => void;
115
+ }, import('vue').PublicProps, {
116
+ width: string | number;
117
+ modelValue: string;
118
+ searchFunc: Function;
119
+ suggestions: import('../interfaces/ISearchObject').default[];
120
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
121
+ P: {};
122
+ B: {};
123
+ D: {};
124
+ C: {};
125
+ M: {};
126
+ Defaults: {};
127
+ }, Readonly<globalThis.ExtractPropTypes<{
128
+ modelValue: {
129
+ type: globalThis.PropType<string>;
130
+ default: string;
131
+ };
132
+ searchFunc: {
133
+ type: FunctionConstructor;
134
+ default: () => void;
135
+ };
136
+ suggestions: {
137
+ type: {
138
+ (arrayLength: number): import('../interfaces/ISearchObject').default[];
139
+ (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
140
+ new (arrayLength: number): import('../interfaces/ISearchObject').default[];
141
+ new (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
142
+ isArray(arg: any): arg is any[];
143
+ readonly prototype: any[];
144
+ from<T>(arrayLike: ArrayLike<T>): T[];
145
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
146
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
147
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
148
+ of<T_4>(...items: T_4[]): T_4[];
149
+ readonly [Symbol.species]: ArrayConstructor;
150
+ };
151
+ default: never[];
152
+ };
153
+ width: {
154
+ type: (StringConstructor | NumberConstructor)[];
155
+ default: string;
156
+ };
157
+ }>> & Readonly<{
158
+ onInput?: ((...args: any[]) => any) | undefined;
159
+ onSelect?: ((...args: any[]) => any) | undefined;
160
+ }>, {}, {}, {}, {}, {
161
+ width: string | number;
162
+ modelValue: string;
163
+ searchFunc: Function;
164
+ suggestions: import('../interfaces/ISearchObject').default[];
165
+ }> | null;
166
+ }, any>;
167
+ tags: string[];
168
+ parameters: {
169
+ docs: {
170
+ description: {
171
+ component: string;
172
+ };
173
+ };
174
+ };
175
+ argTypes: {
176
+ keyValue: {
177
+ control: string;
178
+ description: string;
179
+ };
180
+ modelValue: {
181
+ control: string;
182
+ description: string;
183
+ };
184
+ storeModule: {
185
+ control: string;
186
+ description: string;
187
+ };
188
+ placeholder: {
189
+ control: string;
190
+ description: string;
191
+ };
192
+ showSuggestions: {
193
+ control: string;
194
+ description: string;
195
+ };
196
+ width: {
197
+ control: string;
198
+ description: string;
199
+ };
200
+ focus: {
201
+ control: string;
202
+ description: string;
203
+ };
204
+ };
205
+ };
206
+ export default _default;
207
+ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
208
+ keyValue: {
209
+ type: globalThis.PropType<string>;
210
+ default: string;
211
+ };
212
+ modelValue: {
213
+ type: globalThis.PropType<string>;
214
+ default: string;
215
+ };
216
+ storeModule: {
217
+ type: globalThis.PropType<string>;
218
+ default: string;
219
+ };
220
+ placeholder: {
221
+ type: globalThis.PropType<string>;
222
+ default: string;
223
+ };
224
+ showSuggestions: {
225
+ type: globalThis.PropType<boolean>;
226
+ default: boolean;
227
+ };
228
+ width: {
229
+ type: (StringConstructor | NumberConstructor)[];
230
+ default: string;
231
+ };
232
+ focus: {
233
+ type: globalThis.PropType<boolean>;
234
+ default: boolean;
235
+ };
236
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
237
+ input: (...args: any[]) => void;
238
+ select: (...args: any[]) => void;
239
+ load: (...args: any[]) => void;
240
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
241
+ keyValue: {
242
+ type: globalThis.PropType<string>;
243
+ default: string;
244
+ };
245
+ modelValue: {
246
+ type: globalThis.PropType<string>;
247
+ default: string;
248
+ };
249
+ storeModule: {
250
+ type: globalThis.PropType<string>;
251
+ default: string;
252
+ };
253
+ placeholder: {
254
+ type: globalThis.PropType<string>;
255
+ default: string;
256
+ };
257
+ showSuggestions: {
258
+ type: globalThis.PropType<boolean>;
259
+ default: boolean;
260
+ };
261
+ width: {
262
+ type: (StringConstructor | NumberConstructor)[];
263
+ default: string;
264
+ };
265
+ focus: {
266
+ type: globalThis.PropType<boolean>;
267
+ default: boolean;
268
+ };
269
+ }>> & Readonly<{
270
+ onInput?: ((...args: any[]) => any) | undefined;
271
+ onSelect?: ((...args: any[]) => any) | undefined;
272
+ onLoad?: ((...args: any[]) => any) | undefined;
273
+ }>, {
274
+ focus: boolean;
275
+ storeModule: string;
276
+ width: string | number;
277
+ modelValue: string;
278
+ placeholder: string;
279
+ keyValue: string;
280
+ showSuggestions: boolean;
281
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
282
+ searchForm: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
283
+ modelValue: {
284
+ type: globalThis.PropType<string>;
285
+ default: string;
286
+ };
287
+ searchFunc: {
288
+ type: FunctionConstructor;
289
+ default: () => void;
290
+ };
291
+ suggestions: {
292
+ type: {
293
+ (arrayLength: number): import('../interfaces/ISearchObject').default[];
294
+ (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
295
+ new (arrayLength: number): import('../interfaces/ISearchObject').default[];
296
+ new (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
297
+ isArray(arg: any): arg is any[];
298
+ readonly prototype: any[];
299
+ from<T>(arrayLike: ArrayLike<T>): T[];
300
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
301
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
302
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
303
+ of<T_4>(...items: T_4[]): T_4[];
304
+ readonly [Symbol.species]: ArrayConstructor;
305
+ };
306
+ default: never[];
307
+ };
308
+ width: {
309
+ type: (StringConstructor | NumberConstructor)[];
310
+ default: string;
311
+ };
312
+ }>> & Readonly<{
313
+ onInput?: ((...args: any[]) => any) | undefined;
314
+ onSelect?: ((...args: any[]) => any) | undefined;
315
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
316
+ input: (...args: any[]) => void;
317
+ select: (...args: any[]) => void;
318
+ }, import('vue').PublicProps, {
319
+ width: string | number;
320
+ modelValue: string;
321
+ searchFunc: Function;
322
+ suggestions: import('../interfaces/ISearchObject').default[];
323
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
324
+ P: {};
325
+ B: {};
326
+ D: {};
327
+ C: {};
328
+ M: {};
329
+ Defaults: {};
330
+ }, Readonly<globalThis.ExtractPropTypes<{
331
+ modelValue: {
332
+ type: globalThis.PropType<string>;
333
+ default: string;
334
+ };
335
+ searchFunc: {
336
+ type: FunctionConstructor;
337
+ default: () => void;
338
+ };
339
+ suggestions: {
340
+ type: {
341
+ (arrayLength: number): import('../interfaces/ISearchObject').default[];
342
+ (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
343
+ new (arrayLength: number): import('../interfaces/ISearchObject').default[];
344
+ new (...items: import('../interfaces/ISearchObject').default[]): import('../interfaces/ISearchObject').default[];
345
+ isArray(arg: any): arg is any[];
346
+ readonly prototype: any[];
347
+ from<T>(arrayLike: ArrayLike<T>): T[];
348
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
349
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
350
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
351
+ of<T_4>(...items: T_4[]): T_4[];
352
+ readonly [Symbol.species]: ArrayConstructor;
353
+ };
354
+ default: never[];
355
+ };
356
+ width: {
357
+ type: (StringConstructor | NumberConstructor)[];
358
+ default: string;
359
+ };
360
+ }>> & Readonly<{
361
+ onInput?: ((...args: any[]) => any) | undefined;
362
+ onSelect?: ((...args: any[]) => any) | undefined;
363
+ }>, {}, {}, {}, {}, {
364
+ width: string | number;
365
+ modelValue: string;
366
+ searchFunc: Function;
367
+ suggestions: import('../interfaces/ISearchObject').default[];
368
+ }> | null;
369
+ }, any>>;
@@ -1,3 +1,4 @@
1
+ import { default as ISearchObject } from '../interfaces/ISearchObject';
1
2
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
3
  keyValue: {
3
4
  type: globalThis.PropType<string>;
@@ -19,9 +20,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
19
20
  type: globalThis.PropType<boolean>;
20
21
  default: boolean;
21
22
  };
22
- maxWidth: {
23
+ width: {
23
24
  type: (StringConstructor | NumberConstructor)[];
24
- default: number;
25
+ default: string;
25
26
  };
26
27
  focus: {
27
28
  type: globalThis.PropType<boolean>;
@@ -52,9 +53,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
52
53
  type: globalThis.PropType<boolean>;
53
54
  default: boolean;
54
55
  };
55
- maxWidth: {
56
+ width: {
56
57
  type: (StringConstructor | NumberConstructor)[];
57
- default: number;
58
+ default: string;
58
59
  };
59
60
  focus: {
60
61
  type: globalThis.PropType<boolean>;
@@ -67,12 +68,98 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
67
68
  }>, {
68
69
  focus: boolean;
69
70
  storeModule: string;
70
- maxWidth: string | number;
71
+ width: string | number;
71
72
  modelValue: string;
72
73
  placeholder: string;
73
74
  keyValue: string;
74
75
  showSuggestions: boolean;
75
76
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
76
- searchForm: unknown;
77
+ searchForm: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
78
+ modelValue: {
79
+ type: globalThis.PropType<string>;
80
+ default: string;
81
+ };
82
+ searchFunc: {
83
+ type: FunctionConstructor;
84
+ default: () => void;
85
+ };
86
+ suggestions: {
87
+ type: {
88
+ (arrayLength: number): ISearchObject[];
89
+ (...items: ISearchObject[]): ISearchObject[];
90
+ new (arrayLength: number): ISearchObject[];
91
+ new (...items: ISearchObject[]): ISearchObject[];
92
+ isArray(arg: any): arg is any[];
93
+ readonly prototype: any[];
94
+ from<T>(arrayLike: ArrayLike<T>): T[];
95
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
96
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
97
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
98
+ of<T_4>(...items: T_4[]): T_4[];
99
+ readonly [Symbol.species]: ArrayConstructor;
100
+ };
101
+ default: never[];
102
+ };
103
+ width: {
104
+ type: (StringConstructor | NumberConstructor)[];
105
+ default: string;
106
+ };
107
+ }>> & Readonly<{
108
+ onInput?: ((...args: any[]) => any) | undefined;
109
+ onSelect?: ((...args: any[]) => any) | undefined;
110
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
111
+ input: (...args: any[]) => void;
112
+ select: (...args: any[]) => void;
113
+ }, import('vue').PublicProps, {
114
+ width: string | number;
115
+ modelValue: string;
116
+ searchFunc: Function;
117
+ suggestions: ISearchObject[];
118
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
119
+ P: {};
120
+ B: {};
121
+ D: {};
122
+ C: {};
123
+ M: {};
124
+ Defaults: {};
125
+ }, Readonly<globalThis.ExtractPropTypes<{
126
+ modelValue: {
127
+ type: globalThis.PropType<string>;
128
+ default: string;
129
+ };
130
+ searchFunc: {
131
+ type: FunctionConstructor;
132
+ default: () => void;
133
+ };
134
+ suggestions: {
135
+ type: {
136
+ (arrayLength: number): ISearchObject[];
137
+ (...items: ISearchObject[]): ISearchObject[];
138
+ new (arrayLength: number): ISearchObject[];
139
+ new (...items: ISearchObject[]): ISearchObject[];
140
+ isArray(arg: any): arg is any[];
141
+ readonly prototype: any[];
142
+ from<T>(arrayLike: ArrayLike<T>): T[];
143
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
144
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
145
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
146
+ of<T_4>(...items: T_4[]): T_4[];
147
+ readonly [Symbol.species]: ArrayConstructor;
148
+ };
149
+ default: never[];
150
+ };
151
+ width: {
152
+ type: (StringConstructor | NumberConstructor)[];
153
+ default: string;
154
+ };
155
+ }>> & Readonly<{
156
+ onInput?: ((...args: any[]) => any) | undefined;
157
+ onSelect?: ((...args: any[]) => any) | undefined;
158
+ }>, {}, {}, {}, {}, {
159
+ width: string | number;
160
+ modelValue: string;
161
+ searchFunc: Function;
162
+ suggestions: ISearchObject[];
163
+ }> | null;
77
164
  }, any>;
78
165
  export default _default;