@lumx/vue 4.29.0 → 4.30.0-next.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.
@@ -27,6 +27,8 @@ export interface AlertDialogProps extends Pick<BaseAlertDialogProps, 'kind' | 't
27
27
  }
28
28
  export declare const emitSchema: {
29
29
  close: () => boolean;
30
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the dialog itself. */
31
+ 'update:isOpen': (isOpen: boolean) => boolean;
30
32
  };
31
33
  /**
32
34
  * AlertDialog component.
@@ -39,7 +41,10 @@ export declare const emitSchema: {
39
41
  */
40
42
  declare const AlertDialog: import('vue').DefineSetupFnComponent<AlertDialogProps, {
41
43
  close: () => boolean;
44
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the dialog itself. */
45
+ 'update:isOpen': (isOpen: boolean) => boolean;
42
46
  }, {}, AlertDialogProps & {
43
47
  onClose?: (() => any) | undefined;
48
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
44
49
  }, import('vue').PublicProps>;
45
50
  export default AlertDialog;
@@ -3,6 +3,8 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
3
3
  export type CheckboxProps = VueToJSXProps<UIProps, 'inputId' | 'inputRef'>;
4
4
  export declare const emitSchema: {
5
5
  change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
6
+ /** Model update for `v-model:is-checked`. Always a boolean, also when `isChecked` prop is `'intermediate'`. */
7
+ 'update:isChecked': (isChecked: boolean) => boolean;
6
8
  };
7
9
  export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, INTERMEDIATE_STATE };
8
10
  /**
@@ -13,9 +15,12 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, INTERMEDIATE_STATE };
13
15
  */
14
16
  declare const Checkbox: import('vue').DefineSetupFnComponent<CheckboxProps, {
15
17
  change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
18
+ /** Model update for `v-model:is-checked`. Always a boolean, also when `isChecked` prop is `'intermediate'`. */
19
+ 'update:isChecked': (isChecked: boolean) => boolean;
16
20
  }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
17
21
  class?: import('../../utils/VueToJSX').ClassValue;
18
22
  } & {
19
23
  onChange?: ((isChecked: boolean, value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
24
+ "onUpdate:isChecked"?: ((isChecked: boolean) => any) | undefined;
20
25
  }, import('vue').PublicProps>;
21
26
  export default Checkbox;
@@ -12,12 +12,15 @@ export type SelectionChipGroupProps<O = any> = VueToJSXProps<UIProps<O>> & {
12
12
  /** SelectionChipGroup emit schema */
13
13
  export declare const emitSchema: {
14
14
  change: (_newValue?: any[]) => boolean;
15
+ /** Model update for `v-model:value`. Typed payload restored via `SelectionChipGroupEmits`. */
16
+ 'update:value': (_newValue?: any[]) => boolean;
15
17
  };
16
18
  /**
17
19
  * SelectionChipGroup emits adapted to the value generic type
18
20
  */
19
21
  export type SelectionChipGroupEmits<O> = {
20
22
  change: (newValue: O[] | undefined) => void;
23
+ 'update:value': (newValue: O[] | undefined) => void;
21
24
  };
22
25
  /**
23
26
  * SelectionChipGroup component constructor with generic type attached to props
@@ -39,6 +42,8 @@ export interface SelectionChipGroupConstructor {
39
42
  */
40
43
  declare const SelectionChipGroup: import('vue').DefineSetupFnComponent<SelectionChipGroupProps<any>, {
41
44
  change: (_newValue?: any[]) => boolean;
45
+ /** Model update for `v-model:value`. Typed payload restored via `SelectionChipGroupEmits`. */
46
+ 'update:value': (_newValue?: any[]) => boolean;
42
47
  }, {}, Omit<UIProps<any>, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
43
48
  class?: import('../../utils/VueToJSX').ClassValue;
44
49
  } & {
@@ -46,6 +51,7 @@ declare const SelectionChipGroup: import('vue').DefineSetupFnComponent<Selection
46
51
  inputRef?: HTMLInputElement | null;
47
52
  } & {
48
53
  onChange?: ((_newValue?: any[] | undefined) => any) | undefined;
54
+ "onUpdate:value"?: ((_newValue?: any[] | undefined) => any) | undefined;
49
55
  }, PublicProps>;
50
56
  declare const _default: SelectionChipGroupConstructor & typeof SelectionChipGroup;
51
57
  export default _default;
@@ -28,6 +28,8 @@ declare const ComboboxInput: import('vue').DefineSetupFnComponent<ComboboxInputP
28
28
  focus: (_event?: FocusEvent) => true;
29
29
  blur: (_event?: FocusEvent) => true;
30
30
  clear: (_event?: MouseEvent) => true;
31
+ /** Model update for `v-model:value`. */
32
+ 'update:value': (value: string) => boolean;
31
33
  }, {}, ComboboxInputProps & {
32
34
  onSelect?: ((option: {
33
35
  value: string;
@@ -36,6 +38,7 @@ declare const ComboboxInput: import('vue').DefineSetupFnComponent<ComboboxInputP
36
38
  onChange?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
37
39
  onFocus?: ((_event?: FocusEvent | undefined) => any) | undefined;
38
40
  onClear?: ((_event?: MouseEvent | undefined) => any) | undefined;
41
+ "onUpdate:value"?: ((value: string) => any) | undefined;
39
42
  }, import('vue').PublicProps>;
40
43
  export { COMPONENT_NAME, CLASSNAME };
41
44
  export default ComboboxInput;
@@ -50,6 +50,7 @@ export declare const Combobox: {
50
50
  focus: (_event?: FocusEvent) => true;
51
51
  blur: (_event?: FocusEvent) => true;
52
52
  clear: (_event?: MouseEvent) => true;
53
+ 'update:value': (value: string) => boolean;
53
54
  }, {}, import('./ComboboxInput').ComboboxInputProps & {
54
55
  onSelect?: ((option: {
55
56
  value: string;
@@ -58,6 +59,7 @@ export declare const Combobox: {
58
59
  onChange?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
59
60
  onFocus?: ((_event?: FocusEvent | undefined) => any) | undefined;
60
61
  onClear?: ((_event?: MouseEvent | undefined) => any) | undefined;
62
+ "onUpdate:value"?: ((value: string) => any) | undefined;
61
63
  }, import('vue').PublicProps>;
62
64
  /** Listbox container linked to the combobox trigger (must be rendered inside `Combobox.Provider`). */
63
65
  List: import('vue').DefineSetupFnComponent<import('.').ComboboxListProps, {}, {}, Omit<import('@lumx/core/js/components/Listbox/ListboxList').ListboxListProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-label" | "id" | "aria-busy" | "aria-multiselectable"> & {
@@ -36,10 +36,14 @@ export type DialogProps = Pick<BaseDialogProps, 'forceFooterDivider' | 'forceHea
36
36
  export declare const emitSchema: {
37
37
  close: () => boolean;
38
38
  visibilityChange: (isVisible: boolean) => boolean;
39
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the dialog itself. */
40
+ 'update:isOpen': (isOpen: boolean) => boolean;
39
41
  };
40
42
  declare const Dialog: import('vue').DefineSetupFnComponent<DialogProps, {
41
43
  close: () => boolean;
42
44
  visibilityChange: (isVisible: boolean) => boolean;
45
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the dialog itself. */
46
+ 'update:isOpen': (isOpen: boolean) => boolean;
43
47
  }, {}, Pick<BaseDialogProps, "isLoading" | "forceHeaderDivider" | "forceFooterDivider"> & HasCloseMode & {
44
48
  /** Additional class name. */
45
49
  class?: ClassValue;
@@ -73,5 +77,6 @@ declare const Dialog: import('vue').DefineSetupFnComponent<DialogProps, {
73
77
  } & {
74
78
  onClose?: (() => any) | undefined;
75
79
  onVisibilityChange?: ((isVisible: boolean) => any) | undefined;
80
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
76
81
  }, import('vue').PublicProps>;
77
82
  export default Dialog;
@@ -11,6 +11,8 @@ export declare const emitSchema: {
11
11
  open: (event: MouseEvent) => boolean;
12
12
  close: (event: MouseEvent) => boolean;
13
13
  toggleOpen: (shouldOpen: boolean, event: MouseEvent) => boolean;
14
+ /** Model update for `v-model:is-open`. */
15
+ 'update:isOpen': (isOpen: boolean) => boolean;
14
16
  };
15
17
  export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
16
18
  /**
@@ -23,6 +25,8 @@ declare const ExpansionPanel: import('vue').DefineSetupFnComponent<ExpansionPane
23
25
  open: (event: MouseEvent) => boolean;
24
26
  close: (event: MouseEvent) => boolean;
25
27
  toggleOpen: (shouldOpen: boolean, event: MouseEvent) => boolean;
28
+ /** Model update for `v-model:is-open`. */
29
+ 'update:isOpen': (isOpen: boolean) => boolean;
26
30
  }, {}, Omit<UIProps, "className" | "footer" | "ref" | "handleClick" | "handleChange" | "handleInput" | "handleKeyPress" | "handleClose" | "handleFocus" | "handleBlur" | "handleBeforeClick" | "handleAfterClick" | "handleMouseEnter" | "handleMouseLeave" | "handleKeyDown" | "children" | "wrapperRef" | "content" | "IconButton" | "toggleButtonProps" | "handleOpen" | "handleToggleOpen" | "headerProps" | "headerContent" | "dragHandle" | "isChildrenVisible"> & {
27
31
  class?: import('../../utils/VueToJSX').ClassValue;
28
32
  } & {
@@ -33,6 +37,7 @@ declare const ExpansionPanel: import('vue').DefineSetupFnComponent<ExpansionPane
33
37
  };
34
38
  } & {
35
39
  onClose?: ((event: MouseEvent) => any) | undefined;
40
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
36
41
  onOpen?: ((event: MouseEvent) => any) | undefined;
37
42
  onToggleOpen?: ((shouldOpen: boolean, event: MouseEvent) => any) | undefined;
38
43
  }, import('vue').PublicProps>;
@@ -4,6 +4,7 @@ export type { LightboxProps };
4
4
  export { emitSchema };
5
5
  declare const Lightbox: import('vue').DefineSetupFnComponent<LightboxProps, {
6
6
  close: () => boolean;
7
+ 'update:isOpen': (isOpen: boolean) => boolean;
7
8
  }, {}, Omit<import('@lumx/core/js/components/Lightbox').BaseLightboxProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-label" | "aria-labelledby" | "theme"> & {
8
9
  class?: import('../../utils/VueToJSX').ClassValue;
9
10
  } & {
@@ -12,5 +13,6 @@ declare const Lightbox: import('vue').DefineSetupFnComponent<LightboxProps, {
12
13
  closeButtonProps?: any;
13
14
  } & {
14
15
  onClose?: (() => any) | undefined;
16
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
15
17
  }, import('vue').PublicProps>;
16
18
  export default Lightbox;
@@ -8,6 +8,7 @@ import { LightboxProps } from './types';
8
8
  */
9
9
  declare const LightboxContent: import('vue').DefineSetupFnComponent<LightboxProps, {
10
10
  close: () => boolean;
11
+ 'update:isOpen': (isOpen: boolean) => boolean;
11
12
  }, {}, Omit<import('@lumx/core/js/components/Lightbox').BaseLightboxProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-label" | "aria-labelledby" | "theme"> & {
12
13
  class?: import('../../utils/VueToJSX').ClassValue;
13
14
  } & {
@@ -16,5 +17,6 @@ declare const LightboxContent: import('vue').DefineSetupFnComponent<LightboxProp
16
17
  closeButtonProps?: any;
17
18
  } & {
18
19
  onClose?: (() => any) | undefined;
20
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
19
21
  }, import('vue').PublicProps>;
20
22
  export default LightboxContent;
@@ -1,6 +1,8 @@
1
1
  /** Emit contract, shared by the `Lightbox` wrapper and `LightboxContent`. */
2
2
  export declare const emitSchema: {
3
3
  close: () => boolean;
4
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the lightbox itself. */
5
+ 'update:isOpen': (isOpen: boolean) => boolean;
4
6
  };
5
7
  /** Public prop names, shared by the `Lightbox` wrapper and `LightboxContent`. */
6
8
  export declare const LIGHTBOX_PROP_KEYS: Record<"isOpen" | "zIndex" | "focusElement" | "class" | "parentElement" | "preventAutoClose" | "preventCloseOnClick" | "closeButtonProps", {
@@ -23,9 +23,13 @@ export type PopoverProps = VueToJSXProps<CorePopoverProps, 'anchorRef' | 'bounda
23
23
  };
24
24
  export declare const emitSchema: {
25
25
  close: () => boolean;
26
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the popover itself. */
27
+ 'update:isOpen': (isOpen: boolean) => boolean;
26
28
  };
27
29
  declare const Popover: import('vue').DefineSetupFnComponent<PopoverProps, {
28
30
  close: () => boolean;
31
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the popover itself. */
32
+ 'update:isOpen': (isOpen: boolean) => boolean;
29
33
  }, {}, Omit<CorePopoverProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "children" | "focusElement" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
30
34
  class?: import('../../utils/VueToJSX').ClassValue;
31
35
  } & PopoverSizes & {
@@ -43,5 +47,6 @@ declare const Popover: import('vue').DefineSetupFnComponent<PopoverProps, {
43
47
  focusTrapZoneElement?: HTMLElement;
44
48
  } & {
45
49
  onClose?: (() => any) | undefined;
50
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
46
51
  }, import('vue').PublicProps>;
47
52
  export default Popover;
@@ -5,6 +5,7 @@ export type { PopoverDialogProps };
5
5
  export { emitSchema };
6
6
  declare const PopoverDialog: import('vue').DefineSetupFnComponent<PopoverDialogProps, {
7
7
  close: () => boolean;
8
+ 'update:isOpen': (isOpen: boolean) => boolean;
8
9
  }, {}, Omit<import('@lumx/core/js/components/Popover').PopoverProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "children" | "focusElement" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
9
10
  class?: import('../../utils/VueToJSX').ClassValue;
10
11
  } & import('@lumx/core/js/components/Popover/types').PopoverSizes & {
@@ -16,6 +17,7 @@ declare const PopoverDialog: import('vue').DefineSetupFnComponent<PopoverDialogP
16
17
  focusTrapZoneElement?: HTMLElement;
17
18
  } & Omit<import('@lumx/core/js/components/PopoverDialog').PopoverDialogProps, keyof import('@lumx/core/js/components/Popover').PopoverProps> & {
18
19
  onClose?: (() => any) | undefined;
20
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
19
21
  }, import('vue').PublicProps>;
20
22
  export default PopoverDialog;
21
23
  export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  title: string;
3
3
  component: import('vue').DefineSetupFnComponent<import('../..').PopoverDialogProps, {
4
4
  close: () => boolean;
5
+ 'update:isOpen': (isOpen: boolean) => boolean;
5
6
  }, {}, Omit<import('@lumx/core/js/components/Popover').PopoverProps, "className" | import('../..').PropsToOverride | "isOpen" | "children" | "focusElement" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
6
7
  class?: import('../../utils/VueToJSX').ClassValue;
7
8
  } & import('@lumx/core/js/components/Popover/types').PopoverSizes & {
@@ -13,6 +14,7 @@ declare const _default: {
13
14
  focusTrapZoneElement?: HTMLElement;
14
15
  } & Omit<import('@lumx/core/js/components/PopoverDialog').PopoverDialogProps, keyof import('@lumx/core/js/components/Popover').PopoverProps> & {
15
16
  onClose?: (() => any) | undefined;
17
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
16
18
  }, import('vue').PublicProps>;
17
19
  tags: string[];
18
20
  parameters: {
@@ -8,6 +8,7 @@ import { PopoverDialogProps } from './types';
8
8
  */
9
9
  declare const PopoverDialogContent: import('vue').DefineSetupFnComponent<PopoverDialogProps, {
10
10
  close: () => boolean;
11
+ 'update:isOpen': (isOpen: boolean) => boolean;
11
12
  }, {}, Omit<import('@lumx/core/js/components/Popover').PopoverProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "children" | "focusElement" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
12
13
  class?: import('../../utils/VueToJSX').ClassValue;
13
14
  } & import('@lumx/core/js/components/Popover/types').PopoverSizes & {
@@ -19,5 +20,6 @@ declare const PopoverDialogContent: import('vue').DefineSetupFnComponent<Popover
19
20
  focusTrapZoneElement?: HTMLElement;
20
21
  } & Omit<import('@lumx/core/js/components/PopoverDialog').PopoverDialogProps, keyof import('@lumx/core/js/components/Popover').PopoverProps> & {
21
22
  onClose?: (() => any) | undefined;
23
+ "onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
22
24
  }, import('vue').PublicProps>;
23
25
  export default PopoverDialogContent;
@@ -1,6 +1,8 @@
1
1
  /** Emit contract, shared by the `PopoverDialog` wrapper and `PopoverDialogContent`. */
2
2
  export declare const emitSchema: {
3
3
  close: () => boolean;
4
+ /** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the popover itself. */
5
+ 'update:isOpen': (isOpen: boolean) => boolean;
4
6
  };
5
7
  /** Public prop names, shared by the `PopoverDialog` wrapper and `PopoverDialogContent`. */
6
8
  export declare const POPOVER_DIALOG_PROP_KEYS: Record<"label" | "isOpen" | "zIndex" | "aria-label" | "aria-labelledby" | "focusElement" | "theme" | "class" | "closeMode" | "parentElement" | "as" | "width" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "offset" | "placement" | "anchorRef" | "boundaryRef" | "closeOnClickAway" | "closeOnEscape" | "elevation" | "fitToAnchorWidth" | "fitWithinViewportHeight" | "focusAnchorOnClose" | "hasArrow" | "usePortal" | "focusTrapZoneElement" | "withFocusTrap", {
@@ -99,12 +99,15 @@ export declare const emitSchema: {
99
99
  'load-more': () => boolean;
100
100
  /** Dropdown opened or closed. */
101
101
  open: (_isOpen: boolean) => boolean;
102
+ /** Model update for `v-model:value`. Typed payload restored via `SelectButtonEmits`. */
103
+ 'update:value': (_newValue: unknown) => boolean;
102
104
  };
103
105
  /**
104
106
  * SelectButton emits typed over the option type O and the selection type S.
105
107
  */
106
- type SelectButtonEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change'> & {
108
+ type SelectButtonEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change' | 'update:value'> & {
107
109
  change: (newValue: S extends 'multiple' ? O[] : O) => void;
110
+ 'update:value': (newValue: S extends 'multiple' ? O[] : O) => void;
108
111
  };
109
112
  type SingleSelectButtonPublicProps<O> = SingleSelectButtonProps<O> & EmitsToProps<SelectButtonEmits<O, 'single'>>;
110
113
  type MultipleSelectButtonPublicProps<O> = MultipleSelectButtonProps<O> & EmitsToProps<SelectButtonEmits<O, 'multiple'>>;
@@ -150,6 +153,8 @@ declare const SelectButton: import('vue').DefineSetupFnComponent<SelectButtonPro
150
153
  'load-more': () => boolean;
151
154
  /** Dropdown opened or closed. */
152
155
  open: (_isOpen: boolean) => boolean;
156
+ /** Model update for `v-model:value`. Typed payload restored via `SelectButtonEmits`. */
157
+ 'update:value': (_newValue: unknown) => boolean;
153
158
  }, SlotsType<{
154
159
  /**
155
160
  * Replaces the default `<Button rightIcon={mdiMenuDown}>` trigger.
@@ -169,6 +174,7 @@ declare const SelectButton: import('vue').DefineSetupFnComponent<SelectButtonPro
169
174
  }>, SelectButtonProps<any> & {
170
175
  onChange?: ((_newValue: unknown) => any) | undefined;
171
176
  onOpen?: ((_isOpen: boolean) => any) | undefined;
177
+ "onUpdate:value"?: ((_newValue: unknown) => any) | undefined;
172
178
  "onLoad-more"?: (() => any) | undefined;
173
179
  }, PublicProps>;
174
180
  declare const _default: SelectButtonConstructor & typeof SelectButton;
@@ -9,6 +9,11 @@ import { ClassValue, EmitsOf, HyphenatedAriaProps } from '../../utils/VueToJSX';
9
9
  interface BaseSelectTextFieldProps<O = any> extends Omit<BaseSelectTextFieldWrapperProps<O>, HyphenatedAriaProps> {
10
10
  /** Content to render before the options list. */
11
11
  beforeOptions?: JSXElement;
12
+ /**
13
+ * Element to display at the start of the field, after the icon.
14
+ * Mark it as decorative (`aria-hidden`) when the input text gives the same information.
15
+ */
16
+ beforeElement?: JSXElement;
12
17
  /** CSS class. */
13
18
  class?: ClassValue;
14
19
  }
@@ -63,12 +68,15 @@ declare const emitSchema: {
63
68
  clear: (_event?: MouseEvent) => boolean;
64
69
  /** Dropdown opened or closed. */
65
70
  open: (_isOpen: boolean) => boolean;
71
+ /** Model update for `v-model:value`. Typed payload restored via `SelectTextFieldEmits`. */
72
+ 'update:value': (_newValue?: unknown) => boolean;
66
73
  };
67
74
  /**
68
75
  * SelectTextField emits (adapting to the selection type).
69
76
  */
70
- type SelectTextFieldEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change'> & {
77
+ type SelectTextFieldEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change' | 'update:value'> & {
71
78
  change: (newValue: (S extends 'multiple' ? O[] : O) | undefined) => void;
79
+ 'update:value': (newValue: (S extends 'multiple' ? O[] : O) | undefined) => void;
72
80
  };
73
81
  type SingleSelectTextFieldPublicProps<O> = SingleSelectTextFieldProps<O> & EmitsToProps<SelectTextFieldEmits<O, 'single'>>;
74
82
  type MultipleSelectTextFieldPublicProps<O> = MultipleSelectTextFieldProps<O> & EmitsToProps<SelectTextFieldEmits<O, 'multiple'>>;
@@ -122,6 +130,8 @@ declare const SelectTextField: import('vue').DefineSetupFnComponent<SelectTextFi
122
130
  clear: (_event?: MouseEvent) => boolean;
123
131
  /** Dropdown opened or closed. */
124
132
  open: (_isOpen: boolean) => boolean;
133
+ /** Model update for `v-model:value`. Typed payload restored via `SelectTextFieldEmits`. */
134
+ 'update:value': (_newValue?: unknown) => boolean;
125
135
  }, {}, SelectTextFieldProps<any> & {
126
136
  onSearch?: ((_searchText: string) => any) | undefined;
127
137
  onBlur?: ((_event?: FocusEvent | undefined) => any) | undefined;
@@ -130,6 +140,7 @@ declare const SelectTextField: import('vue').DefineSetupFnComponent<SelectTextFi
130
140
  onKeydown?: ((_event?: KeyboardEvent | undefined) => any) | undefined;
131
141
  onClear?: ((_event?: MouseEvent | undefined) => any) | undefined;
132
142
  onOpen?: ((_isOpen: boolean) => any) | undefined;
143
+ "onUpdate:value"?: ((_newValue?: unknown) => any) | undefined;
133
144
  "onLoad-more"?: (() => any) | undefined;
134
145
  }, PublicProps>;
135
146
  declare const _default: SelectTextFieldConstructor & typeof SelectTextField;
@@ -172,6 +172,31 @@ export declare const ErrorState: {
172
172
  decorators: ((story: any, context: any) => any)[];
173
173
  render: ({ value, onChange }: any) => import("vue/jsx-runtime").JSX.Element;
174
174
  };
175
+ export declare const WithBeforeElement: {
176
+ args: {
177
+ value: {
178
+ id: string;
179
+ name: string;
180
+ avatar: string;
181
+ };
182
+ };
183
+ decorators: ((story: any, context: any) => any)[];
184
+ render: ({ value, onChange }: any) => import("vue/jsx-runtime").JSX.Element;
185
+ };
186
+ export declare const MultipleWithBeforeElement: {
187
+ args: {
188
+ value: {
189
+ id: string;
190
+ name: string;
191
+ icon: string;
192
+ category: string;
193
+ categoryIcon: string;
194
+ description: string;
195
+ }[];
196
+ };
197
+ decorators: ((story: any, context: any) => any)[];
198
+ render: ({ value, onChange }: any) => import("vue/jsx-runtime").JSX.Element;
199
+ };
175
200
  /** SelectTextField with custom option, section title, and chip rendering via scoped slots */
176
201
  export declare const CustomRender: {
177
202
  render: () => {
@@ -3,6 +3,8 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
3
3
  export type SwitchProps = VueToJSXProps<UIProps, 'inputId' | 'inputRef'>;
4
4
  export declare const emitSchema: {
5
5
  change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
6
+ /** Model update for `v-model:is-checked`. */
7
+ 'update:isChecked': (isChecked: boolean) => boolean;
6
8
  };
7
9
  export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
8
10
  /**
@@ -13,9 +15,12 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
13
15
  */
14
16
  declare const Switch: import('vue').DefineSetupFnComponent<SwitchProps, {
15
17
  change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
18
+ /** Model update for `v-model:is-checked`. */
19
+ 'update:isChecked': (isChecked: boolean) => boolean;
16
20
  }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
17
21
  class?: import('../../utils/VueToJSX').ClassValue;
18
22
  } & {
19
23
  onChange?: ((isChecked: boolean, value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
24
+ "onUpdate:isChecked"?: ((isChecked: boolean) => any) | undefined;
20
25
  }, import('vue').PublicProps>;
21
26
  export default Switch;
@@ -8,6 +8,8 @@ export interface TabProviderProps {
8
8
  }
9
9
  export declare const emitSchema: {
10
10
  change: (index: number) => boolean;
11
+ /** Model update for `v-model:active-tab-index`. */
12
+ 'update:activeTabIndex': (index: number) => boolean;
11
13
  };
12
14
  /**
13
15
  * This component provides a context in which tabs can be defined and linked to their tab panel.
@@ -20,7 +22,10 @@ export declare const emitSchema: {
20
22
  */
21
23
  declare const TabProvider: import('vue').DefineSetupFnComponent<TabProviderProps, {
22
24
  change: (index: number) => boolean;
25
+ /** Model update for `v-model:active-tab-index`. */
26
+ 'update:activeTabIndex': (index: number) => boolean;
23
27
  }, {}, TabProviderProps & {
24
28
  onChange?: ((index: number) => any) | undefined;
29
+ "onUpdate:activeTabIndex"?: ((index: number) => any) | undefined;
25
30
  }, import('vue').PublicProps>;
26
31
  export default TabProvider;
@@ -32,6 +32,8 @@ export declare const emitSchema: {
32
32
  focus: (_event?: FocusEvent) => boolean;
33
33
  blur: (_event?: FocusEvent) => boolean;
34
34
  clear: (_event?: MouseEvent) => boolean;
35
+ /** Model update for `v-model:value`. */
36
+ 'update:value': (value: string) => boolean;
35
37
  };
36
38
  export { CLASSNAME, COMPONENT_NAME };
37
39
  /**
@@ -46,6 +48,8 @@ declare const TextField: import('vue').DefineSetupFnComponent<TextFieldProps, {
46
48
  focus: (_event?: FocusEvent) => boolean;
47
49
  blur: (_event?: FocusEvent) => boolean;
48
50
  clear: (_event?: MouseEvent) => boolean;
51
+ /** Model update for `v-model:value`. */
52
+ 'update:value': (value: string) => boolean;
49
53
  }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "chips" | TextFieldPropsToOverride> & {
50
54
  class?: import('../../utils/VueToJSX').ClassValue;
51
55
  } & {
@@ -76,5 +80,6 @@ declare const TextField: import('vue').DefineSetupFnComponent<TextFieldProps, {
76
80
  onChange?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
77
81
  onFocus?: ((_event?: FocusEvent | undefined) => any) | undefined;
78
82
  onClear?: ((_event?: MouseEvent | undefined) => any) | undefined;
83
+ "onUpdate:value"?: ((value: string) => any) | undefined;
79
84
  }, import('vue').PublicProps>;
80
85
  export default TextField;
@@ -10,6 +10,9 @@ declare const _default: {
10
10
  afterElement: {
11
11
  control: boolean;
12
12
  };
13
+ beforeElement: {
14
+ control: boolean;
15
+ };
13
16
  onClear: {
14
17
  action: boolean;
15
18
  };
@@ -92,6 +95,18 @@ export declare const WithChips: {
92
95
  template: string;
93
96
  };
94
97
  };
98
+ export declare const WithBeforeElement: {
99
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
100
+ };
101
+ export declare const WithBeforeElementAndIcon: {
102
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
103
+ };
104
+ export declare const WithBeforeElementMultiline: {
105
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
106
+ };
107
+ export declare const WithBeforeElementDisabled: {
108
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
109
+ };
95
110
  export declare const Disabled: {
96
111
  args: {
97
112
  value: string;
@@ -22,6 +22,8 @@ export declare const emitSchema: {
22
22
  * matches the user selection. May be `undefined` when the field is cleared.
23
23
  */
24
24
  change: (_newValue?: Date) => boolean;
25
+ /** Model update for `v-model:value`. */
26
+ 'update:value': (_newValue?: Date) => boolean;
25
27
  };
26
28
  /**
27
29
  * A select-style picker for choosing a time of day. Wraps `SelectTextField`
@@ -39,7 +41,10 @@ declare const TimePickerField: import('vue').DefineSetupFnComponent<TimePickerFi
39
41
  * matches the user selection. May be `undefined` when the field is cleared.
40
42
  */
41
43
  change: (_newValue?: Date) => boolean;
44
+ /** Model update for `v-model:value`. */
45
+ 'update:value': (_newValue?: Date) => boolean;
42
46
  }, {}, TimePickerFieldProps & {
43
47
  onChange?: ((_newValue?: Date | undefined) => any) | undefined;
48
+ "onUpdate:value"?: ((_newValue?: Date | undefined) => any) | undefined;
44
49
  }, import('vue').PublicProps>;
45
50
  export default TimePickerField;
@@ -37,6 +37,8 @@ export declare const emitSchema: {
37
37
  * values with `selectionType="multiple"`.
38
38
  */
39
39
  change: (newValue: string | string[]) => boolean;
40
+ /** Model update for `v-model:value`. */
41
+ 'update:value': (newValue: string | string[]) => boolean;
40
42
  };
41
43
  /**
42
44
  * TreeList component: a list in the WAI-ARIA tree pattern (`role="tree"`), with `TreeListItem` (`TreeList.Item`) items.
@@ -88,11 +90,14 @@ declare const TreeList: import('vue').DefineSetupFnComponent<TreeListProps, {
88
90
  * values with `selectionType="multiple"`.
89
91
  */
90
92
  change: (newValue: string | string[]) => boolean;
93
+ /** Model update for `v-model:value`. */
94
+ 'update:value': (newValue: string | string[]) => boolean;
91
95
  }, {}, TreeListProps & {
92
96
  onSelect?: ((option: {
93
97
  value: string;
94
98
  }) => any) | undefined;
95
99
  onChange?: ((newValue: string | string[]) => any) | undefined;
100
+ "onUpdate:value"?: ((newValue: string | string[]) => any) | undefined;
96
101
  }, import('vue').PublicProps>;
97
102
  export { COMPONENT_NAME, CLASSNAME, DEFAULT_PROPS };
98
103
  export default TreeList;
@@ -12,11 +12,13 @@ export declare const TreeList: import('vue').DefineSetupFnComponent<import('./Tr
12
12
  value: string;
13
13
  }) => boolean;
14
14
  change: (newValue: string | string[]) => boolean;
15
+ 'update:value': (newValue: string | string[]) => boolean;
15
16
  }, {}, import('./TreeList').TreeListProps & {
16
17
  onSelect?: ((option: {
17
18
  value: string;
18
19
  }) => any) | undefined;
19
20
  onChange?: ((newValue: string | string[]) => any) | undefined;
21
+ "onUpdate:value"?: ((newValue: string | string[]) => any) | undefined;
20
22
  }, import('vue').PublicProps> & {
21
23
  /** One tree item of the tree, with its sub-items. */
22
24
  Item: import('vue').DefineSetupFnComponent<import('./TreeListItem').TreeListItemProps, {