@choosemycompany/ui 0.19.7 → 0.20.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.
package/dist/index.d.ts CHANGED
@@ -98,11 +98,13 @@ declare type __VLS_Props_15 = {
98
98
  };
99
99
 
100
100
  declare type __VLS_Props_2 = {
101
- items: string[];
101
+ items: AutocompleteItem[];
102
102
  label?: string;
103
103
  loading?: boolean;
104
- placeholder?: string;
105
- emptyValue?: string;
104
+ placeholder: string;
105
+ emptyValue: string;
106
+ minChars?: number;
107
+ debounce?: number;
106
108
  };
107
109
 
108
110
  declare type __VLS_Props_3 = {
@@ -157,7 +159,8 @@ declare type __VLS_Props_9 = {
157
159
  };
158
160
 
159
161
  declare type __VLS_PublicProps = {
160
- modelValue?: string;
162
+ modelValue?: string | null;
163
+ "search"?: string;
161
164
  } & __VLS_Props_2;
162
165
 
163
166
  declare type __VLS_PublicProps_2 = {
@@ -270,6 +273,11 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
270
273
  };
271
274
  };
272
275
 
276
+ declare type AutocompleteItem = {
277
+ label: string;
278
+ value: string;
279
+ };
280
+
273
281
  declare type BadgePillStatus = keyof typeof badgePillStatusOptions;
274
282
 
275
283
  declare const badgePillStatusOptions: {
@@ -328,14 +336,18 @@ export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
328
336
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
329
337
 
330
338
  export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
331
- "update:modelValue": (...args: any[]) => void;
339
+ search: (args_0: string) => any;
340
+ "update:modelValue": (...args: unknown[]) => any;
341
+ "update:search": (...args: unknown[]) => any;
332
342
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
333
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
343
+ onSearch?: ((args_0: string) => any) | undefined;
344
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
345
+ "onUpdate:search"?: ((...args: unknown[]) => any) | undefined;
334
346
  }>, {
335
347
  loading: boolean;
336
- placeholder: string;
337
348
  label: string;
338
- emptyValue: string;
349
+ minChars: number;
350
+ debounce: number;
339
351
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
340
352
  autocompleteRef: HTMLDivElement;
341
353
  }, HTMLDivElement>;