@choosemycompany/ui 0.19.7 → 0.20.1

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