@tap-payments/os-micro-frontend-shared 0.3.264 → 0.3.265
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/build/_chunks/{chunk-6IAMZFT6.js → chunk-2JYBMD4I.js} +1 -1
- package/build/_chunks/{chunk-ZRRZG4CU.js → chunk-4JUVQWRF.js} +1 -1
- package/build/_chunks/chunk-5DKCOPDF.js +1 -0
- package/build/_chunks/chunk-5V3PUIXN.js +1 -0
- package/build/_chunks/{chunk-ALZSCMJI.js → chunk-64ZDTAAW.js} +1 -1
- package/build/_chunks/{chunk-VDOQXEUT.js → chunk-7NMMD6VJ.js} +1 -1
- package/build/_chunks/{chunk-54TY5SXL.js → chunk-ABVY4O2O.js} +1 -1
- package/build/_chunks/{chunk-OL6PQPSI.js → chunk-AJS7K55Q.js} +1 -1
- package/build/_chunks/chunk-AXNWVU3K.js +2 -0
- package/build/_chunks/chunk-BK7CW4W6.js +2 -0
- package/build/_chunks/{chunk-MBC5H6W7.js → chunk-BNM6FJCR.js} +1 -1
- package/build/_chunks/{chunk-3CMVSEFO.js → chunk-BRFCMPF5.js} +1 -1
- package/build/_chunks/{chunk-LJY75SQY.js → chunk-BXVLLRHG.js} +1 -1
- package/build/_chunks/chunk-DEEC67P7.js +2 -0
- package/build/_chunks/{chunk-Q6AL55UP.js → chunk-DFEQ23C7.js} +1 -1
- package/build/_chunks/{chunk-5BAFTVZQ.js → chunk-DJRPY3A2.js} +1 -1
- package/build/_chunks/{chunk-ZZPTXUPF.js → chunk-DOZLA7RE.js} +1 -1
- package/build/_chunks/{chunk-PGRQEN5C.js → chunk-DRRME7J2.js} +1 -1
- package/build/_chunks/{chunk-BTE72W4R.js → chunk-EUMG4QKT.js} +1 -1
- package/build/_chunks/{chunk-YFIYVG7E.js → chunk-F3U4ZIAP.js} +1 -1
- package/build/_chunks/{chunk-IA5IEBOH.js → chunk-FMUJQ45L.js} +1 -1
- package/build/_chunks/{chunk-IRBWQZSH.js → chunk-FNUU2KSZ.js} +1 -1
- package/build/_chunks/chunk-FTRMTWS4.js +1 -0
- package/build/_chunks/{chunk-6BFV6NCN.js → chunk-GBGW63EG.js} +1 -1
- package/build/_chunks/{chunk-EB24OXAG.js → chunk-GFOWTME6.js} +1 -1
- package/build/_chunks/{chunk-44P3BD62.js → chunk-H4FZYTL7.js} +1 -1
- package/build/_chunks/{chunk-WYJOH2AK.js → chunk-HOHQMC2O.js} +1 -1
- package/build/_chunks/{chunk-PNIR4GUC.js → chunk-IBHWDBBJ.js} +1 -1
- package/build/_chunks/{chunk-ESRTU72R.js → chunk-IPEPXEL5.js} +1 -1
- package/build/_chunks/{chunk-JZN7D44A.js → chunk-K6LOVRKX.js} +1 -1
- package/build/_chunks/{chunk-Y2GYQNCW.js → chunk-KCIFOOFA.js} +1 -1
- package/build/_chunks/{chunk-UPSV4H3R.js → chunk-LDCBWAC4.js} +1 -1
- package/build/_chunks/{chunk-74TIGJAP.js → chunk-LON6X4MJ.js} +1 -1
- package/build/_chunks/{chunk-C5EKTMXI.js → chunk-LTIWXK7D.js} +1 -1
- package/build/_chunks/{chunk-HBR7P4LZ.js → chunk-LVQ2UFZT.js} +1 -1
- package/build/_chunks/{chunk-BFVDSVFM.js → chunk-LXG5YXOJ.js} +1 -1
- package/build/_chunks/chunk-MF5ATA3Y.js +1 -0
- package/build/_chunks/{chunk-TYMPXKFT.js → chunk-MI3EC2ZF.js} +1 -1
- package/build/_chunks/chunk-N5KO2TC3.js +9 -0
- package/build/_chunks/{chunk-QNBOZQDY.js → chunk-NUCUSAD2.js} +1 -1
- package/build/_chunks/{chunk-TC4ME6DZ.js → chunk-ONANHXZA.js} +1 -1
- package/build/_chunks/{chunk-2YNDLGG6.js → chunk-OOLWSYGD.js} +1 -1
- package/build/_chunks/chunk-OPDVYLZK.js +1 -0
- package/build/_chunks/{chunk-WHPBDYOY.js → chunk-PUJ762TG.js} +1 -1
- package/build/_chunks/{chunk-7GTNCNBB.js → chunk-REZFP4CA.js} +1 -1
- package/build/_chunks/{chunk-DCQXQHAI.js → chunk-RNJI3YXH.js} +1 -1
- package/build/_chunks/chunk-RUFO5P34.js +1 -0
- package/build/_chunks/{chunk-334EPCW5.js → chunk-SMJCH23I.js} +1 -1
- package/build/_chunks/{chunk-JWLIHVLP.js → chunk-TN55SPRQ.js} +1 -1
- package/build/_chunks/{chunk-4HUB6MWM.js → chunk-TX3XM6XL.js} +1 -1
- package/build/_chunks/chunk-TY7VGG46.js +1 -0
- package/build/_chunks/{chunk-SPNEIGHB.js → chunk-TZOMS57X.js} +1 -1
- package/build/_chunks/{chunk-TDNUHD3F.js → chunk-UC5FMNUV.js} +1 -1
- package/build/_chunks/chunk-UCJQFE45.js +1 -0
- package/build/_chunks/{chunk-NCG4PCDH.js → chunk-UPZR423T.js} +1 -1
- package/build/_chunks/{chunk-XOH5TUDL.js → chunk-UXR6RZN4.js} +1 -1
- package/build/_chunks/{chunk-LEFLUMTS.js → chunk-WC2MF35C.js} +1 -1
- package/build/_chunks/{chunk-AN2PVRN2.js → chunk-WXCTMI3J.js} +1 -1
- package/build/_chunks/{chunk-ZT35MSJQ.js → chunk-X5HRCMTE.js} +1 -1
- package/build/_chunks/{chunk-MGH52F2U.js → chunk-XRUOTYCI.js} +1 -1
- package/build/_chunks/{chunk-7SNHZ7VW.js → chunk-XXCH74F3.js} +1 -1
- package/build/_chunks/{chunk-HWDXYAQY.js → chunk-YIZKLFYJ.js} +1 -1
- package/build/_chunks/{chunk-7ZWAT3EG.js → chunk-ZCULKYWE.js} +1 -1
- package/build/_chunks/chunk-ZGWS7XFH.js +1 -0
- package/build/_chunks/chunk-ZRABDQRJ.js +2 -0
- package/build/_chunks/{chunk-OGVYYV4P.js → chunk-ZUK5FRG5.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/Autocomplete.d.ts +5 -10
- package/build/components/Autocomplete/constants.d.ts +69 -0
- package/build/components/Autocomplete/icons.d.ts +10 -0
- package/build/components/Autocomplete/index.d.ts +3 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/Autocomplete/style.d.ts +61 -6
- package/build/components/Autocomplete/type.d.ts +64 -0
- package/build/components/Autocomplete/utils.d.ts +11 -0
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/Card/index.js +1 -1
- package/build/components/CardList/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColorPicker/style.d.ts +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DateInput/DateInput.d.ts +4 -0
- package/build/components/DateInput/constants.d.ts +83 -0
- package/build/components/DateInput/icons.d.ts +3 -0
- package/build/components/DateInput/index.d.ts +5 -0
- package/build/components/DateInput/index.js +1 -0
- package/build/components/DateInput/style.d.ts +41 -0
- package/build/components/DateInput/type.d.ts +85 -0
- package/build/components/DateInput/utils.d.ts +25 -0
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/FileDropbox/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterChip/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/GroupedSelect/constants.d.ts +1 -0
- package/build/components/GroupedSelect/icons.d.ts +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/GroupedSelect/style.d.ts +8 -2
- package/build/components/GroupedSelect/type.d.ts +3 -0
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/FieldSelectedValues.d.ts +2 -2
- package/build/components/MultiLevelSelect/MultiLevelSelect.d.ts +4 -0
- package/build/components/MultiLevelSelect/NodeMenuItem.d.ts +11 -0
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/SelectableOption.d.ts +4 -4
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/SelectedChips.d.ts +3 -3
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/constants.d.ts +13 -12
- package/build/components/MultiLevelSelect/index.d.ts +4 -0
- package/build/components/MultiLevelSelect/index.js +1 -0
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/style.d.ts +10 -2
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/type.d.ts +10 -10
- package/build/components/{NestedMultiSelect → MultiLevelSelect}/utils.d.ts +12 -12
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/Select/Select.d.ts +4 -0
- package/build/components/Select/SelectField.d.ts +37 -0
- package/build/components/Select/SelectFieldValue.d.ts +14 -0
- package/build/components/Select/constants.d.ts +89 -0
- package/build/components/Select/icons.d.ts +10 -0
- package/build/components/Select/index.d.ts +5 -0
- package/build/components/Select/index.js +1 -0
- package/build/components/Select/style.d.ts +91 -0
- package/build/components/Select/type.d.ts +106 -0
- package/build/components/Select/utils.d.ts +39 -0
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/constants.d.ts +2 -0
- package/build/components/TextInput/index.js +1 -1
- package/build/components/TextInput/type.d.ts +6 -0
- package/build/components/TextInput/utils.d.ts +3 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/index.d.ts +4 -6
- package/build/components/index.js +1 -1
- package/build/components/modules/RangeCalender/index.js +1 -1
- package/build/components/modules/VirtualTables/index.js +1 -1
- package/build/components/primitives/FieldFeedback/icons.d.ts +2 -1
- package/build/components/primitives/index.js +1 -1
- package/build/datetime/components/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/types/user.d.ts +0 -46
- package/build/utils/index.js +1 -1
- package/build/utils/number.d.ts +7 -0
- package/package.json +1 -1
- package/build/_chunks/chunk-4YB6A7BD.js +0 -8
- package/build/_chunks/chunk-53C2M4NA.js +0 -1
- package/build/_chunks/chunk-5DFEQLOX.js +0 -1
- package/build/_chunks/chunk-637B2KTR.js +0 -2
- package/build/_chunks/chunk-DS6S5G66.js +0 -1
- package/build/_chunks/chunk-FOSRKOWU.js +0 -1
- package/build/_chunks/chunk-FQ2VMVUY.js +0 -0
- package/build/_chunks/chunk-HDCNWBW5.js +0 -1
- package/build/_chunks/chunk-I3LSSBRI.js +0 -1
- package/build/_chunks/chunk-JUVW4KPW.js +0 -1
- package/build/_chunks/chunk-K43ZLU4I.js +0 -2
- package/build/_chunks/chunk-L3QJZAXC.js +0 -1
- package/build/_chunks/chunk-MRA4IYK7.js +0 -1
- package/build/_chunks/chunk-MUR4ILTY.js +0 -2
- package/build/_chunks/chunk-NW7HJXBW.js +0 -8
- package/build/_chunks/chunk-O3LHVRBN.js +0 -2
- package/build/_chunks/chunk-SNCNXCPA.js +0 -1
- package/build/_chunks/chunk-Y7SE3WMR.js +0 -1
- package/build/_chunks/chunk-YROLX5D7.js +0 -8
- package/build/components/FormSelect/FormSelect.d.ts +0 -8
- package/build/components/FormSelect/FormSelectMenuSearchInput.d.ts +0 -9
- package/build/components/FormSelect/FormSelectSearchableField.d.ts +0 -3
- package/build/components/FormSelect/FormSelectSelectMenu.d.ts +0 -21
- package/build/components/FormSelect/index.d.ts +0 -3
- package/build/components/FormSelect/index.js +0 -1
- package/build/components/FormSelect/style.d.ts +0 -52
- package/build/components/FormSelect/type.d.ts +0 -105
- package/build/components/FormSelect/utils.d.ts +0 -15
- package/build/components/Icons/LoadingIcon.d.ts +0 -4
- package/build/components/Icons/MenuSearchIcon.d.ts +0 -3
- package/build/components/Icons/index.d.ts +0 -2
- package/build/components/Icons/index.js +0 -1
- package/build/components/InputBase/SelectBase/SelectBase.d.ts +0 -46
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.d.ts +0 -33
- package/build/components/InputBase/SelectBase/components/DefaultClearIcon.d.ts +0 -5
- package/build/components/InputBase/SelectBase/components/DefaultSelectIcon.d.ts +0 -5
- package/build/components/InputBase/SelectBase/components/SelectBaseEndAdornment.d.ts +0 -13
- package/build/components/InputBase/SelectBase/components/SelectInlineProgress.d.ts +0 -6
- package/build/components/InputBase/SelectBase/index.d.ts +0 -3
- package/build/components/InputBase/SelectBase/style.d.ts +0 -14
- package/build/components/InputBase/SelectBase/utils.d.ts +0 -2
- package/build/components/InputBase/index.d.ts +0 -1
- package/build/components/InputBase/index.js +0 -1
- package/build/components/Inputs/Select/Select.d.ts +0 -3
- package/build/components/Inputs/Select/index.d.ts +0 -2
- package/build/components/Inputs/Select/type.d.ts +0 -9
- package/build/components/Inputs/index.d.ts +0 -2
- package/build/components/Inputs/index.js +0 -1
- package/build/components/MultiSelect/MultiSelect.d.ts +0 -21
- package/build/components/MultiSelect/index.d.ts +0 -2
- package/build/components/MultiSelect/index.js +0 -1
- package/build/components/MultiSelect/style.d.ts +0 -40
- package/build/components/NestedMultiSelect/NestedMultiSelect.d.ts +0 -4
- package/build/components/NestedMultiSelect/NodeMenuItem.d.ts +0 -11
- package/build/components/NestedMultiSelect/index.d.ts +0 -4
- package/build/components/NestedMultiSelect/index.js +0 -1
- /package/build/components/{NestedMultiSelect → MultiLevelSelect}/BranchMenuItem.d.ts +0 -0
- /package/build/components/{NestedMultiSelect → MultiLevelSelect}/icons.d.ts +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type FormSelectMenuSearchInputProps = {
|
|
3
|
-
placeholder: string;
|
|
4
|
-
value: string;
|
|
5
|
-
onValueChange: (value: string) => void;
|
|
6
|
-
isLoading?: boolean;
|
|
7
|
-
};
|
|
8
|
-
/** Shared in-menu search field (Select custom menu + Autocomplete listbox subheader). */
|
|
9
|
-
export declare function FormSelectMenuSearchInput({ placeholder, value, onValueChange, isLoading }: Readonly<FormSelectMenuSearchInputProps>): import("react").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ControllerRenderProps, FieldValues } from 'react-hook-form';
|
|
3
|
-
export type FormSelectSelectMenuProps = {
|
|
4
|
-
menuSearchPlaceholder: string;
|
|
5
|
-
searchValue: string;
|
|
6
|
-
onSearchChange: (value: string) => void;
|
|
7
|
-
isLoading?: boolean;
|
|
8
|
-
menuHasNoOptionsText: boolean;
|
|
9
|
-
menuNoOptionsText?: React.ReactNode;
|
|
10
|
-
optionsWithoutEmptyValue: any[];
|
|
11
|
-
getOptionValue?: (option: any) => string;
|
|
12
|
-
getOptionLabel?: (option: any) => string;
|
|
13
|
-
renderOption?: (option: any) => React.ReactNode;
|
|
14
|
-
isOptionEqualToValue?: (option: any, value: any) => boolean;
|
|
15
|
-
menuHasSelectedCheckMark: boolean;
|
|
16
|
-
valueOnly: boolean;
|
|
17
|
-
getOptionId: (option: any) => string;
|
|
18
|
-
field: ControllerRenderProps<FieldValues>;
|
|
19
|
-
onChange?: (option: any) => void;
|
|
20
|
-
};
|
|
21
|
-
export declare function FormSelectSelectMenu({ menuSearchPlaceholder, searchValue, onSearchChange, isLoading, menuHasNoOptionsText, menuNoOptionsText, optionsWithoutEmptyValue, getOptionValue, getOptionLabel, renderOption, isOptionEqualToValue, menuHasSelectedCheckMark, valueOnly, getOptionId, field, onChange, }: Readonly<FormSelectSelectMenuProps>): React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-NW7HJXBW.js';import'../../_chunks/chunk-YROLX5D7.js';import'../../_chunks/chunk-SNCNXCPA.js';import'../../_chunks/chunk-Y7SE3WMR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-4YB6A7BD.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Theme } from '@mui/material/styles';
|
|
3
|
-
import type { FieldFeedbackType } from '../primitives';
|
|
4
|
-
/** In-menu search field loading spinner wrapper (Select + searchable listbox). */
|
|
5
|
-
export declare const FormSelectMenuSearchLoadingRoot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
-
}, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
8
|
-
/** Search glyph wrapper for searchable autocomplete popup indicator. */
|
|
9
|
-
export declare const FormSelectSearchablePopupIconRoot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
-
}, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
12
|
-
/** In-menu search row: extra top inset when used inside autocomplete listbox. */
|
|
13
|
-
export declare const FormSelectMenuSearchListSubheader: import("@emotion/styled").StyledComponent<import("@mui/material").ListSubheaderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
14
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
15
|
-
}, "color" | "inset" | "classes" | "className" | "style" | "children" | "sx" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
16
|
-
export declare const FormSelectAutocompleteListboxRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
17
|
-
export declare const FormSelectNoResultsMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
18
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
19
|
-
}, "disabled" | "classes" | "autoFocus" | "className" | "style" | "tabIndex" | "children" | "selected" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
20
|
-
export declare const FormSelectNativeOptionMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
21
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
22
|
-
}, "disabled" | "classes" | "autoFocus" | "className" | "style" | "tabIndex" | "children" | "selected" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
23
|
-
$selected?: boolean | undefined;
|
|
24
|
-
}, {}, {}>;
|
|
25
|
-
export declare const FormSelectOptionLabelSpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
26
|
-
export declare const FormSelectSelectedCheckIconImg: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
27
|
-
export declare const FormSelectAutocompleteOptionRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
28
|
-
$selected?: boolean | undefined;
|
|
29
|
-
$optionDisabled?: boolean | undefined;
|
|
30
|
-
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
31
|
-
/** Muted helper text in option rows (no results / loading). */
|
|
32
|
-
export declare const FormSelectMutedLabelTypography: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
33
|
-
/** Filled input matching SelectBase / MuiSelect (grey fill, 40px, label motion). */
|
|
34
|
-
export declare const FormSelectSearchableTextField: import("@emotion/styled").StyledComponent<{
|
|
35
|
-
variant?: import("@mui/material/TextField").TextFieldVariants | undefined;
|
|
36
|
-
} & Omit<import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
37
|
-
feedbackType?: FieldFeedbackType | undefined;
|
|
38
|
-
hasFeedback?: boolean | undefined;
|
|
39
|
-
hasLabel?: boolean | undefined;
|
|
40
|
-
}, {}, {}>;
|
|
41
|
-
/** List surface aligned with select menu (paper + listbox spacing). */
|
|
42
|
-
export declare const FormSelectSearchablePopper: import("@emotion/styled").StyledComponent<import("@mui/material/Popper").PopperProps & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
43
|
-
$menuHasLoadingText?: boolean | undefined;
|
|
44
|
-
/** Hide the “no options” row (before search, below minSearchLength, or menuHasNoOptionsText false). */
|
|
45
|
-
$suppressAutocompleteNoOptions?: boolean | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* When true, no list rows, no visible no-options row, and no visible loading row — collapse the
|
|
48
|
-
* menu surface (no border/shadow) without `display: none`, which breaks MUI Autocomplete open
|
|
49
|
-
* state and focus in some cases.
|
|
50
|
-
*/
|
|
51
|
-
$suppressEmptyMenuSurface?: boolean | undefined;
|
|
52
|
-
}, {}, {}>;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { AutocompleteRenderOptionState } from '@mui/material/Autocomplete';
|
|
3
|
-
import type { ControllerFieldState, ControllerRenderProps, FieldValues } from 'react-hook-form';
|
|
4
|
-
import type { SelectBaseProps } from '../InputBase/SelectBase/SelectBase';
|
|
5
|
-
/** Latest props for the in-menu search row (synced each render via ref; avoids React context). */
|
|
6
|
-
export type FormSelectMenuSearchListboxApi = {
|
|
7
|
-
searchValue: string;
|
|
8
|
-
setSearchValue: (v: string) => void;
|
|
9
|
-
menuSearchPlaceholder: string;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
};
|
|
12
|
-
export type FormSelectSearchablePopperFlags = {
|
|
13
|
-
menuHasLoadingText: boolean;
|
|
14
|
-
suppressAutocompleteNoOptions: boolean;
|
|
15
|
-
suppressEmptyMenuSurface: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare const DEFAULT_SEARCHABLE_POPPER_FLAGS: FormSelectSearchablePopperFlags;
|
|
18
|
-
export interface SelectProps extends Omit<SelectBaseProps, 'name' | 'hasError'> {
|
|
19
|
-
name: string;
|
|
20
|
-
startComponent?: React.ReactNode;
|
|
21
|
-
}
|
|
22
|
-
export interface FormSelectProps extends SelectProps {
|
|
23
|
-
/**
|
|
24
|
-
* Optional. Called after RHF updates the field. Always receives the selected option object
|
|
25
|
-
* (or `null` on default clear), even when `valueOnly` stores an ID. Not called when a custom
|
|
26
|
-
* `onClear` handles clear.
|
|
27
|
-
*/
|
|
28
|
-
onChange?: SelectBaseProps['onChange'];
|
|
29
|
-
/**
|
|
30
|
-
* When true, the form value is stored as a primitive ID (e.g. '1')
|
|
31
|
-
* instead of a full option object. The defaultValue / controlled value should also be
|
|
32
|
-
* an ID in this mode.
|
|
33
|
-
*/
|
|
34
|
-
valueOnly?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* When true, renders an MUI Autocomplete so the user types in the field; use with
|
|
37
|
-
* `onSearchInputChange` and parent-controlled `options` (e.g. API results).
|
|
38
|
-
* With **`menuSearchable`**, an extra search row inside the menu filters the current `options`
|
|
39
|
-
* by label (in addition to field-level search / API).
|
|
40
|
-
* “No results found” only appears after the user has typed a query (non-empty, and at least
|
|
41
|
-
* `minSearchLength` when that prop is set), not while the list is still empty before searching.
|
|
42
|
-
*/
|
|
43
|
-
searchable?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Called after debounce when the user types or clears the search field (`''` when cleared
|
|
46
|
-
* so the parent can reset the option list). Not called for intermediate queries shorter
|
|
47
|
-
* than `minSearchLength` (except when the query is empty).
|
|
48
|
-
*/
|
|
49
|
-
onSearchInputChange?: (query: string) => void;
|
|
50
|
-
/** Debounce for `onSearchInputChange` in ms. @default 300 */
|
|
51
|
-
searchDebounceMs?: number;
|
|
52
|
-
/**
|
|
53
|
-
* Minimum trimmed length before `onSearchInputChange` runs. Clearing the input still
|
|
54
|
-
* notifies with `''`. With async + `valueOnly`, include the selected option in `options`
|
|
55
|
-
* when hydrating or MUI Autocomplete may not show the value.
|
|
56
|
-
*/
|
|
57
|
-
minSearchLength?: number;
|
|
58
|
-
/**
|
|
59
|
-
* When searchable, content for the menu loading row (same visual style as
|
|
60
|
-
* “No results found” via popper styles). Defaults to “Loading…”.
|
|
61
|
-
*/
|
|
62
|
-
menuLoadingText?: React.ReactNode;
|
|
63
|
-
/**
|
|
64
|
-
* When searchable, if true, shows the menu loading row while `isLoading` is true
|
|
65
|
-
* (same style as “No results”). If false, the loading row is hidden and the list can look empty until options arrive.
|
|
66
|
-
* @default false
|
|
67
|
-
*/
|
|
68
|
-
menuHasLoadingText?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* When false, the empty-results row is not shown (`searchable` autocomplete `noOptionsText`,
|
|
71
|
-
* and `menuSearchable` filter with zero matches).
|
|
72
|
-
* @default true
|
|
73
|
-
*/
|
|
74
|
-
menuHasNoOptionsText?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Custom content for the empty-results state. Defaults to the same “No results found” label as today.
|
|
77
|
-
*/
|
|
78
|
-
menuNoOptionsText?: React.ReactNode;
|
|
79
|
-
}
|
|
80
|
-
/** Derived state, RHF `field` / `fieldState`, and Autocomplete-only props — not part of the public `FormSelect` API. */
|
|
81
|
-
export type FormSelectSearchableFieldOwnProps = {
|
|
82
|
-
inMenuSearchContextValue: FormSelectMenuSearchListboxApi;
|
|
83
|
-
searchableAutocompletePopperFlags: FormSelectSearchablePopperFlags;
|
|
84
|
-
optionsWithClearFilterOnly: any[];
|
|
85
|
-
autocompleteFilterOptions: (opts: any[]) => any[];
|
|
86
|
-
slotProps?: {
|
|
87
|
-
noOptions?: {
|
|
88
|
-
sx?: unknown;
|
|
89
|
-
};
|
|
90
|
-
[key: string]: unknown;
|
|
91
|
-
};
|
|
92
|
-
autocompleteRest: any;
|
|
93
|
-
getOptionId: (option: any) => string;
|
|
94
|
-
scheduleSearchNotification: (raw: string) => void;
|
|
95
|
-
setSearchableInputValue: (value: string) => void;
|
|
96
|
-
renderAutocompleteOption: (liProps: React.HTMLAttributes<HTMLLIElement>, option: unknown, state: AutocompleteRenderOptionState) => React.ReactNode;
|
|
97
|
-
field: ControllerRenderProps<FieldValues>;
|
|
98
|
-
fieldState: ControllerFieldState;
|
|
99
|
-
internalValue: unknown;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Everything `FormSelectSearchableField` needs: public fields forwarded from `FormSelectProps` (no
|
|
103
|
-
* second definition) plus internal props built in `FormSelect.tsx`.
|
|
104
|
-
*/
|
|
105
|
-
export type FormSelectSearchableFieldProps = Pick<FormSelectProps, 'ClearIconComponent' | 'disabled' | 'feedback' | 'getOptionLabel' | 'helperText' | 'inputRef' | 'isLoading' | 'isOptionEqualToValue' | 'label' | 'menuHasLoadingText' | 'menuLoadingText' | 'menuNoOptionsText' | 'menuSearchable' | 'onChange' | 'onClear' | 'placeholder' | 'required' | 'showClearIcon' | 'valueOnly'> & FormSelectSearchableFieldOwnProps;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { FormSelectMenuSearchListboxApi } from './type';
|
|
3
|
-
export declare const formSelectNoResultsLabel: React.JSX.Element;
|
|
4
|
-
export declare const formSelectLoadingLabel: React.JSX.Element;
|
|
5
|
-
export declare function resolveFormSelectOptionLabel(option: unknown, renderOption?: (option: unknown) => ReactNode, getOptionLabel?: (option: unknown) => string): ReactNode;
|
|
6
|
-
export declare function optionLabelMatchesMenuSearch(option: unknown, query: string, getOptionLabel?: (option: unknown) => string): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Returns options unchanged: disables MUI’s default input-based filtering (parent/API owns `options`)
|
|
9
|
-
* and keeps a stable `filterOptions` reference so it is not recreated every render.
|
|
10
|
-
*/
|
|
11
|
-
export declare function formSelectAutocompletePassthroughFilterOptions<T>(opts: T[]): T[];
|
|
12
|
-
/**
|
|
13
|
-
* Stable Autocomplete listbox + in-menu search row, bound to `apiRef` (read `apiRef.current` each render).
|
|
14
|
-
*/
|
|
15
|
-
export declare function createMenuSearchListbox(apiRef: React.MutableRefObject<FormSelectMenuSearchListboxApi | null>): React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{b as LoadingIcon,a as MenuSearchIcon}from'../../_chunks/chunk-MUR4ILTY.js';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React, { type ElementType } from 'react';
|
|
2
|
-
import { type SelectProps } from '@mui/material/Select';
|
|
3
|
-
import { type FieldFeedbackProps } from '../../primitives';
|
|
4
|
-
export interface SelectBaseProps extends Omit<SelectProps, 'onChange' | 'value'> {
|
|
5
|
-
hasError: boolean;
|
|
6
|
-
helperText?: string;
|
|
7
|
-
feedback?: FieldFeedbackProps | null;
|
|
8
|
-
label: string;
|
|
9
|
-
options: any[];
|
|
10
|
-
value?: any;
|
|
11
|
-
/**
|
|
12
|
-
* Called when the user selects an option. Receives the option object, or `null` on default clear
|
|
13
|
-
* (not called when a custom `onClear` handles clear).
|
|
14
|
-
*/
|
|
15
|
-
onChange?: (value: any) => void;
|
|
16
|
-
isOptionEqualToValue?: (option: any, value?: any) => boolean;
|
|
17
|
-
renderOption?: (value?: any) => React.ReactNode;
|
|
18
|
-
getOptionValue?: (value?: any) => string;
|
|
19
|
-
isLoading?: boolean;
|
|
20
|
-
getOptionLabel?: (option: any) => string;
|
|
21
|
-
/**
|
|
22
|
-
* Menu arrow rendered in `endAdornment` with the same flex alignment as clear/loading (MUI
|
|
23
|
-
* `IconComponent` slot uses `() => null`).
|
|
24
|
-
*/
|
|
25
|
-
IconComponent?: ElementType;
|
|
26
|
-
/** When true, shows a control to clear the current value. */
|
|
27
|
-
showClearIcon?: boolean;
|
|
28
|
-
/** Icon for the clear control; defaults to a built-in clear glyph. */
|
|
29
|
-
ClearIconComponent?: ElementType;
|
|
30
|
-
/**
|
|
31
|
-
* When set, called instead of the default clear (`onChange(null)`). You are responsible for
|
|
32
|
-
* updating the value (e.g. call `onChange(null)` yourself if you want the default behavior).
|
|
33
|
-
*/
|
|
34
|
-
onClear?: () => void;
|
|
35
|
-
/** When true, shows a search field inside the menu to filter options by label. */
|
|
36
|
-
menuSearchable?: boolean;
|
|
37
|
-
/** Placeholder for the in-menu search field. */
|
|
38
|
-
menuSearchPlaceholder?: string;
|
|
39
|
-
/**
|
|
40
|
-
* When true, the selected option shows a checkmark in the menu.
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
menuHasSelectedCheckMark?: boolean;
|
|
44
|
-
}
|
|
45
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<Readonly<SelectBaseProps>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
46
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React, { type ElementType } from 'react';
|
|
2
|
-
import { type SelectProps } from '@mui/material/Select';
|
|
3
|
-
import { type FieldFeedbackProps } from '../../primitives';
|
|
4
|
-
export interface SelectBaseProps extends Omit<SelectProps, 'onChange' | 'value'> {
|
|
5
|
-
hasError: boolean;
|
|
6
|
-
helperText?: string;
|
|
7
|
-
feedback?: FieldFeedbackProps | null;
|
|
8
|
-
label: string;
|
|
9
|
-
options: any[];
|
|
10
|
-
value?: any;
|
|
11
|
-
onChange?: (value: any) => void;
|
|
12
|
-
isOptionEqualToValue?: (option: any, value?: any) => boolean;
|
|
13
|
-
renderOption?: (value?: any) => React.ReactNode;
|
|
14
|
-
getOptionValue?: (value?: any) => string;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
getOptionLabel?: (option: any) => string;
|
|
17
|
-
/**
|
|
18
|
-
* Menu arrow rendered in `endAdornment` with the same flex alignment as clear/loading (MUI
|
|
19
|
-
* `IconComponent` slot uses `() => null`).
|
|
20
|
-
*/
|
|
21
|
-
IconComponent?: ElementType;
|
|
22
|
-
/** When true, shows a control to clear all selected values. */
|
|
23
|
-
showClearIcon?: boolean;
|
|
24
|
-
/** Icon for the clear control; defaults to a built-in clear glyph. */
|
|
25
|
-
ClearIconComponent?: ElementType;
|
|
26
|
-
/**
|
|
27
|
-
* When set, called instead of the default clear (`onChange([])`). You are responsible for
|
|
28
|
-
* updating the value (e.g. call `onChange([])` yourself if you want the default behavior).
|
|
29
|
-
*/
|
|
30
|
-
onClear?: () => void;
|
|
31
|
-
}
|
|
32
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<Readonly<SelectBaseProps>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
33
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const DefaultClearIcon: import("react").ForwardRefExoticComponent<Omit<import("@mui/material/SvgIcon").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
4
|
-
}, "color" | "fontSize" | "shapeRendering" | "classes" | "className" | "style" | "children" | "sx" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess">, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
-
export default DefaultClearIcon;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const DefaultSelectIcon: import("react").ForwardRefExoticComponent<Omit<import("@mui/material/SvgIcon").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
4
|
-
}, "color" | "fontSize" | "shapeRendering" | "classes" | "className" | "style" | "children" | "sx" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess">, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
-
export default DefaultSelectIcon;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ElementType, ReactNode } from 'react';
|
|
2
|
-
export type SelectBaseEndAdornmentProps = {
|
|
3
|
-
endAdornmentProp?: ReactNode;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
showClear: boolean;
|
|
6
|
-
showMenuArrow: boolean;
|
|
7
|
-
menuOpen: boolean;
|
|
8
|
-
IconComponent?: ElementType;
|
|
9
|
-
ClearIconComponent?: ElementType;
|
|
10
|
-
onClear?: () => void;
|
|
11
|
-
onClearDefault: () => void;
|
|
12
|
-
};
|
|
13
|
-
export default function SelectBaseEndAdornment({ endAdornmentProp, isLoading, showClear, showMenuArrow, menuOpen, IconComponent, ClearIconComponent, onClear, onClearDefault, }: Readonly<SelectBaseEndAdornmentProps>): import("react").JSX.Element | null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type CircularProgressProps } from '@mui/material/CircularProgress';
|
|
3
|
-
export type SelectInlineProgressProps = Omit<CircularProgressProps, 'color'> & {
|
|
4
|
-
color?: string;
|
|
5
|
-
};
|
|
6
|
-
export default function SelectInlineProgress({ size, color, ...props }: Readonly<SelectInlineProgressProps>): import("react").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { FieldFeedbackType } from '../../primitives';
|
|
3
|
-
export declare const FormControlStyles: import("@emotion/styled").StyledComponent<import("@mui/material/FormControl").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
}, "color" | "margin" | "disabled" | "error" | "classes" | "className" | "style" | "children" | "sx" | "variant" | "size" | "fullWidth" | "required" | "focused" | "hiddenLabel"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
6
|
-
export declare const StyledSelect: import("@emotion/styled").StyledComponent<import("@mui/material/Select").SelectProps<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
7
|
-
export declare const StyledErrorMessage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
8
|
-
export declare const MuiSelect: import("@emotion/styled").StyledComponent<(import("@mui/material/Select").SelectProps<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>) & {
|
|
9
|
-
feedbackType?: FieldFeedbackType | undefined;
|
|
10
|
-
hasFeedback?: boolean | undefined;
|
|
11
|
-
}, {}, {}>;
|
|
12
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SelectBase, type SelectBaseProps, SelectBaseMultiple } from './SelectBase';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as SelectBase}from'../../_chunks/chunk-SNCNXCPA.js';export{h as SelectBaseMultiple}from'../../_chunks/chunk-Y7SE3WMR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as Select}from'../../_chunks/chunk-L3QJZAXC.js';export{ba as FieldFeedback,$ as fieldFeedbackClassNames,aa as getFieldFeedbackColors}from'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SelectProps } from '../FormSelect/type';
|
|
3
|
-
export interface MultiSelectProps extends SelectProps {
|
|
4
|
-
getOptionLabel?: (option: any) => string;
|
|
5
|
-
/** When true, shows the checkbox next to each option. Set to false to hide. Defaults to true. */
|
|
6
|
-
showCheckbox?: boolean;
|
|
7
|
-
/** When provided, options for which this returns true are disabled */
|
|
8
|
-
getOptionDisabled?: (option: any) => boolean;
|
|
9
|
-
/**
|
|
10
|
-
* When true, the open menu shows a header above the options with the number of selected items
|
|
11
|
-
* and a “Clear” action. The header only appears while at least one item is selected.
|
|
12
|
-
*/
|
|
13
|
-
menuHasSelectionSummary?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* When true, the form value is stored as an array of primitive IDs (e.g. ['1', '2'])
|
|
16
|
-
* instead of full option objects. The defaultValue / controlled value should also be
|
|
17
|
-
* an array of IDs in this mode.
|
|
18
|
-
*/
|
|
19
|
-
valueOnly?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export default function MultiSelect({ name, helperText, getOptionValue, getOptionLabel, renderOption, isOptionEqualToValue, getOptionDisabled, menuSearchable, menuSearchPlaceholder, showCheckbox, menuHasSelectionSummary, valueOnly, options, isLoading, ...props }: Readonly<MultiSelectProps>): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-53C2M4NA.js';import'../../_chunks/chunk-YROLX5D7.js';import'../../_chunks/chunk-Y7SE3WMR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/** In-menu search field loading spinner wrapper. */
|
|
3
|
-
export declare const MultiSelectMenuSearchLoadingRoot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
6
|
-
export declare const SearchListSubheaderStyled: import("@emotion/styled").StyledComponent<import("@mui/material/ListSubheader").ListSubheaderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
7
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
8
|
-
}, "color" | "inset" | "classes" | "className" | "style" | "children" | "sx" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
9
|
-
export declare const SelectionSummaryCountStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
10
|
-
export declare const SelectionSummaryRowStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
13
|
-
/** Row above options: selection count + clear action (MultiSelect menu header). */
|
|
14
|
-
export declare const SelectionSummarySubheaderStyled: import("@emotion/styled").StyledComponent<import("@mui/material/ListSubheader").ListSubheaderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
15
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
16
|
-
}, "color" | "inset" | "classes" | "className" | "style" | "children" | "sx" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
17
|
-
export declare const SelectionSummaryClearButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
18
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
19
|
-
}, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "variant" | "size" | "startIcon" | "endIcon" | "fullWidth" | "href" | "disableFocusRipple" | "disableElevation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
20
|
-
export declare const CheckboxStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
21
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
22
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
23
|
-
export declare const SearchInputEndIconImgStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
24
|
-
export declare const MultiSelectOptionRowStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
26
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
27
|
-
export declare const MultiSelectMenuItemStyled: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
28
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
29
|
-
}, "disabled" | "classes" | "autoFocus" | "className" | "style" | "tabIndex" | "children" | "selected" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
30
|
-
$selected?: boolean | undefined;
|
|
31
|
-
}, {}, {}>;
|
|
32
|
-
export declare const MultiSelectOptionCheckboxStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
33
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
35
|
-
$mutedRect?: boolean | undefined;
|
|
36
|
-
}, {}, {}>;
|
|
37
|
-
export declare const SearchInputStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Input").InputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
38
|
-
export declare const SearchMenuItemStyled: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
39
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
40
|
-
}, "disabled" | "classes" | "autoFocus" | "className" | "style" | "tabIndex" | "children" | "selected" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { NestedMultiSelectProps } from './type';
|
|
3
|
-
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<NestedMultiSelectProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { NestedMultiSelectNode, NestedMultiSelectOption, NestedMultiSelectSelectable } from './type';
|
|
3
|
-
interface NodeMenuItemProps {
|
|
4
|
-
node: NestedMultiSelectNode;
|
|
5
|
-
depth: number;
|
|
6
|
-
value: NestedMultiSelectOption[] | undefined;
|
|
7
|
-
onChange: (options: NestedMultiSelectOption[]) => void;
|
|
8
|
-
isSelectable?: NestedMultiSelectSelectable;
|
|
9
|
-
}
|
|
10
|
-
export declare function NodeMenuItem({ node, depth, value, onChange, isSelectable }: NodeMenuItemProps): import("react").JSX.Element | null;
|
|
11
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { default } from './NestedMultiSelect';
|
|
2
|
-
export type { NestedMultiSelectSelectable, NestedMultiSelectProps, NestedMultiSelectOption, NestedMultiSelectOptions, NestedMultiSelectNode, } from './type';
|
|
3
|
-
export { nestedMultiSelectClassNames } from './constants';
|
|
4
|
-
export type { NestedMultiSelectClassNames } from './constants';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{b as default,a as nestedMultiSelectClassNames}from'../../_chunks/chunk-637B2KTR.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-K43ZLU4I.js';import'../../_chunks/chunk-I3LSSBRI.js';import'../../_chunks/chunk-IQAHULGQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
File without changes
|
|
File without changes
|