@tap-payments/os-micro-frontend-shared 0.3.192 → 0.3.193
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-TWCRVIMF.js → chunk-7G4HONFM.js} +1 -1
- package/build/_chunks/chunk-BUZ4SKVB.js +1 -0
- package/build/_chunks/chunk-EW3R5HVK.js +1 -0
- package/build/_chunks/chunk-HDCNWBW5.js +1 -0
- package/build/_chunks/{chunk-AQBSQEMA.js → chunk-HL4IRO4S.js} +1 -1
- package/build/_chunks/{chunk-WNU66KFJ.js → chunk-HOCMRLLW.js} +1 -1
- package/build/_chunks/chunk-JHXPO26H.js +1 -0
- package/build/_chunks/chunk-N7IZEJPM.js +2 -0
- package/build/_chunks/{chunk-K227MKFN.js → chunk-OYJTFXHJ.js} +1 -1
- package/build/_chunks/chunk-QM55EFW3.js +1 -0
- package/build/_chunks/{chunk-CKN5W76E.js → chunk-UAWHFFKY.js} +2 -2
- package/build/_chunks/chunk-WWHRZD52.js +1 -0
- package/build/_chunks/{chunk-PGNIENI6.js → chunk-YMCYR4NV.js} +1 -1
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/DropdownChevronIcon/index.d.ts +2 -0
- package/build/components/DropdownChevronIcon/index.js +1 -0
- package/build/components/DropdownChevronIcon/type.d.ts +3 -0
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/BranchMenuItem.d.ts +12 -0
- package/build/components/NestedMultiSelect/FieldSelectedValues.d.ts +8 -0
- package/build/components/NestedMultiSelect/NestedMultiSelect.d.ts +4 -0
- package/build/components/NestedMultiSelect/NodeMenuItem.d.ts +10 -0
- package/build/components/NestedMultiSelect/SelectableOption.d.ts +9 -0
- package/build/components/NestedMultiSelect/constants.d.ts +16 -0
- package/build/components/NestedMultiSelect/index.d.ts +4 -0
- package/build/components/NestedMultiSelect/index.js +1 -0
- package/build/components/NestedMultiSelect/style.d.ts +45 -0
- package/build/components/NestedMultiSelect/type.d.ts +52 -0
- package/build/components/NestedMultiSelect/utils.d.ts +23 -0
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/SalesChannelFilter/style.d.ts +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +2 -5
- package/build/components/index.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-4AT6MVPS.js +0 -2
- package/build/_chunks/chunk-4H7CRAGJ.js +0 -1
- package/build/_chunks/chunk-A73QNHW7.js +0 -1
- package/build/_chunks/chunk-CF5MCUMN.js +0 -1
- package/build/_chunks/chunk-JARFVM2P.js +0 -1
- package/build/_chunks/chunk-P3QRKBID.js +0 -1
- package/build/_chunks/chunk-W6ULJ2HR.js +0 -1
- package/build/_chunks/chunk-ZDU6AH4F.js +0 -1
- package/build/components/AccountDropdown/Dropdown.d.ts +0 -13
- package/build/components/AccountDropdown/index.d.ts +0 -2
- package/build/components/AccountDropdown/index.js +0 -1
- package/build/components/AccountDropdown/style.d.ts +0 -18
- package/build/components/DropdownButton/DropdownButton.d.ts +0 -8
- package/build/components/DropdownButton/constants.d.ts +0 -13
- package/build/components/DropdownButton/index.d.ts +0 -4
- package/build/components/DropdownButton/index.js +0 -1
- package/build/components/DropdownButton/style.d.ts +0 -31
- package/build/components/DropdownButton/type.d.ts +0 -14
- package/build/components/MultiSelectWithSearch/ChildMenuItem.d.ts +0 -10
- package/build/components/MultiSelectWithSearch/FlatMenuItem.d.ts +0 -9
- package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.d.ts +0 -4
- package/build/components/MultiSelectWithSearch/ParentMenuItem.d.ts +0 -13
- package/build/components/MultiSelectWithSearch/index.d.ts +0 -6
- package/build/components/MultiSelectWithSearch/index.js +0 -1
- package/build/components/MultiSelectWithSearch/style.d.ts +0 -32
- package/build/components/MultiSelectWithSearch/type.d.ts +0 -23
- package/build/components/MultiSelectWithSearch/utils.d.ts +0 -4
- package/build/components/SelectWithSearch/SearchIcon.d.ts +0 -8
- package/build/components/SelectWithSearch/SelectWithSearch.d.ts +0 -4
- package/build/components/SelectWithSearch/index.d.ts +0 -4
- package/build/components/SelectWithSearch/index.js +0 -1
- package/build/components/SelectWithSearch/style.d.ts +0 -28
- package/build/components/SelectWithSearch/type.d.ts +0 -34
- /package/build/components/{DropdownButton/ChevronIcon.d.ts → DropdownChevronIcon/DropdownChevronIcon.d.ts} +0 -0
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Caption: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
3
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
4
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
6
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
7
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
|
-
export declare const AccordionWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
11
|
-
export declare const InputStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Input").InputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
12
|
-
export declare const CheckboxStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
13
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
14
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
15
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
18
|
-
export declare const SelectedBadgesWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
19
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
21
|
-
export declare const SelectedBadge: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
24
|
-
maxWidth?: number | undefined;
|
|
25
|
-
}, {}, {}>;
|
|
26
|
-
export declare const ItemStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
27
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
28
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
29
|
-
export declare const TriggerWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
30
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
31
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
32
|
-
export declare const ArrowIcon: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material/styles").Theme>>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface Option {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
}
|
|
5
|
-
export type NestedOptions = {
|
|
6
|
-
options: {
|
|
7
|
-
label: string;
|
|
8
|
-
options: Option[];
|
|
9
|
-
}[];
|
|
10
|
-
label: string;
|
|
11
|
-
}[];
|
|
12
|
-
/** Flat list or nested hierarchy. */
|
|
13
|
-
export type MultiSelectOptions = Option[] | NestedOptions;
|
|
14
|
-
export interface MultiSelectWithSearchProps {
|
|
15
|
-
/** Flat list or nested hierarchy. Pass an empty array for flat mode with no selectable items. */
|
|
16
|
-
options: MultiSelectOptions;
|
|
17
|
-
onChangeOptions: (options: Option[]) => void;
|
|
18
|
-
selectedOptions?: Option[];
|
|
19
|
-
placeholder?: string | null;
|
|
20
|
-
isLoading?: boolean;
|
|
21
|
-
searchBy?: string[];
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MultiSelectOptions, NestedOptions, Option } from './type';
|
|
2
|
-
export declare const isFlatOptions: (options: MultiSelectOptions) => options is Option[];
|
|
3
|
-
export declare const filterFlatOptions: (options: Option[], searchValue: string, searchBy: string[]) => Option[];
|
|
4
|
-
export declare const filterNestedOptions: (nestedOptions: NestedOptions, searchValue: string, searchBy: string[]) => NestedOptions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
3
|
-
export interface SearchIconProps extends SvgIconProps {
|
|
4
|
-
/** Width and height in px (square) */
|
|
5
|
-
size?: number | string;
|
|
6
|
-
}
|
|
7
|
-
declare function SearchIcon({ size, sx, className, ...props }: SearchIconProps): import("react").JSX.Element;
|
|
8
|
-
export default SearchIcon;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SelectWithSearchProps } from './type';
|
|
3
|
-
declare function SelectWithSearch({ options, onChangeOption, selectedOption, placeholder, label, isLoading, renderOption, iconUrl, disabled, onClearValue, slotProps, hideSelectedCheckmark, listWrapperSx, name, ...rest }: SelectWithSearchProps): import("react").JSX.Element;
|
|
4
|
-
export default SelectWithSearch;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{c as AccordionWrapper,a as Caption,e as CheckboxStyled,f as Container,d as InputStyled,i as ItemStyled,h as SelectedBadge,g as SelectedBadgesWrapper,b as Title,j as default}from'../../_chunks/chunk-P3QRKBID.js';import'../../_chunks/chunk-QVGSIVO2.js';import'../../_chunks/chunk-ZDU6AH4F.js';import'../../_chunks/chunk-4KSZBODD.js';import'../../_chunks/chunk-4QONVXGE.js';import'../../_chunks/chunk-YHKF6F6S.js';import'../../_chunks/chunk-PLMJIRXJ.js';import'../../_chunks/chunk-WHXHVOBY.js';import'../../_chunks/chunk-YKKS24ES.js';import'../../_chunks/chunk-65DHLOE2.js';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Caption: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
3
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
4
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
6
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
7
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
|
-
export declare const AccordionWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
11
|
-
export declare const InputStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Input").InputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
12
|
-
export declare const CheckboxStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
13
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
14
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
15
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
18
|
-
export declare const SelectedBadgesWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
19
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
21
|
-
export declare const SelectedBadge: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
24
|
-
export declare const ItemStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
25
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
26
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
27
|
-
selected: boolean;
|
|
28
|
-
}, {}, {}>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { InputBase } from '../InputBase';
|
|
3
|
-
import { Container, InputStyled, ItemStyled } from './style';
|
|
4
|
-
import { DropdownI } from '../SelectDropdown/SelectDropdown';
|
|
5
|
-
export interface Option {
|
|
6
|
-
label: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}
|
|
9
|
-
export type SelectWithSearchProps<T extends React.ElementType = 'div', AdditionalProps = {}> = Omit<DropdownI<T, AdditionalProps>, 'open' | 'anchorEl' | 'onOpen' | 'onClose' | 'trigger' | 'children'> & {
|
|
10
|
-
/**
|
|
11
|
-
* Passed to the underlying input as the HTML `name` attribute so the control
|
|
12
|
-
* participates in form submission, autofill, and other browser field semantics.
|
|
13
|
-
*/
|
|
14
|
-
name?: string;
|
|
15
|
-
options: Option[];
|
|
16
|
-
label?: React.ReactNode;
|
|
17
|
-
onChangeOption: (option: Option | null) => void;
|
|
18
|
-
selectedOption?: Option | null;
|
|
19
|
-
placeholder?: string | null;
|
|
20
|
-
isLoading?: boolean;
|
|
21
|
-
renderOption?: (option: Option, { closeDropdown, open }: {
|
|
22
|
-
closeDropdown: () => void;
|
|
23
|
-
open: boolean;
|
|
24
|
-
}) => ReactNode;
|
|
25
|
-
iconUrl?: string;
|
|
26
|
-
onClearValue?: () => void;
|
|
27
|
-
slotProps?: {
|
|
28
|
-
selectInput?: React.ComponentProps<typeof InputBase>;
|
|
29
|
-
searchInput?: React.ComponentProps<typeof InputStyled>;
|
|
30
|
-
dropdownContainer?: React.ComponentProps<typeof Container>;
|
|
31
|
-
item?: React.ComponentProps<typeof ItemStyled>;
|
|
32
|
-
};
|
|
33
|
-
hideSelectedCheckmark?: boolean;
|
|
34
|
-
};
|
|
File without changes
|