@lumx/vue 4.17.0 → 4.18.0-next.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmitFn, EmitsToProps, PublicProps, SlotsType } from 'vue';
|
|
2
2
|
import { BaseSelectButtonWrapperProps } from '@lumx/core/js/utils/select/types';
|
|
3
|
-
import { SelectButtonProps as UIProps } from '@lumx/core/js/components/SelectButton';
|
|
3
|
+
import { DEFAULT_PROPS, CLASSNAME, SelectButtonProps as UIProps } from '@lumx/core/js/components/SelectButton';
|
|
4
4
|
import { EmitsOf } from '../../utils/VueToJSX';
|
|
5
5
|
/**
|
|
6
6
|
* Props exposed to the `#button` scoped slot of `<SelectButton>`.
|
|
@@ -173,3 +173,4 @@ declare const SelectButton: import('vue').DefineSetupFnComponent<SelectButtonPro
|
|
|
173
173
|
}, PublicProps>;
|
|
174
174
|
declare const _default: SelectButtonConstructor & typeof SelectButton;
|
|
175
175
|
export default _default;
|
|
176
|
+
export { DEFAULT_PROPS, CLASSNAME };
|
|
@@ -25,7 +25,11 @@ export interface MultipleSelectTextFieldProps<O = any> extends BaseSelectTextFie
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* SelectTextField props — supports both single and multiple selection.
|
|
28
|
-
* Discriminated on `selectionType`:
|
|
28
|
+
* Discriminated on `selectionType`:
|
|
29
|
+
* - `'single'` → `value?: O`, emits `change` with `O | undefined`.
|
|
30
|
+
* - `'multiple'` → `value?: O[]`, emits `change` with `O[] | undefined`.
|
|
31
|
+
*
|
|
32
|
+
* @typeParam O - Option object type, inferred from `options` / `getOptionId`.
|
|
29
33
|
*/
|
|
30
34
|
export type SelectTextFieldProps<O = any> = SingleSelectTextFieldProps<O> | MultipleSelectTextFieldProps<O>;
|
|
31
35
|
/**
|