@signal24/vue-foundation 4.20.0 → 4.20.2

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.
@@ -7,4 +7,5 @@ export * from './alert-helpers';
7
7
  export * from './modal-helpers';
8
8
  export * from './overlay-container';
9
9
  export * from './toast-helpers';
10
+ export * from './vf-smart-select.types';
10
11
  export { VfAjaxSelect, VfAlertModal, VfEzSmartSelect, VfModal, VfSmartSelect };
@@ -0,0 +1,7 @@
1
+ export interface VfSmartSelectOptionDescriptor<T> {
2
+ key: string | symbol;
3
+ title: string;
4
+ subtitle?: string | null;
5
+ searchContent?: string;
6
+ ref?: T;
7
+ }
@@ -1,3 +1,4 @@
1
+ import type { VfSmartSelectOptionDescriptor } from './vf-smart-select.types';
1
2
  declare const _default: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
4
  readonly "onUpdate:modelValue"?: ((args_0: V) => any) | undefined;
@@ -20,6 +21,7 @@ declare const _default: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS
20
21
  labelField?: keyof T;
21
22
  formatter?: (option: T) => string;
22
23
  subtitleFormatter?: (option: T) => string;
24
+ classForOption?: (option: T) => string;
23
25
  nullTitle?: string;
24
26
  noResultsText?: string;
25
27
  disabled?: boolean;
@@ -33,7 +35,12 @@ declare const _default: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS
33
35
  addRemoteOption: (option: T) => void;
34
36
  }>): void;
35
37
  attrs: any;
36
- slots: {};
38
+ slots: {
39
+ option?(_: {
40
+ option: VfSmartSelectOptionDescriptor<T>;
41
+ }): any;
42
+ 'no-results'?(_: {}): any;
43
+ };
37
44
  emit: ((evt: "update:modelValue", args_0: V) => void) & ((evt: "optionsLoaded", args_0: T[]) => void);
38
45
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
46
  [key: string]: any;