@tap-payments/os-micro-frontend-shared 0.3.192 → 0.3.193-test.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.
Files changed (176) hide show
  1. package/build/_chunks/chunk-2UGDNNCT.js +2 -0
  2. package/build/_chunks/chunk-3PLNPUOW.js +1 -0
  3. package/build/_chunks/{chunk-TWCRVIMF.js → chunk-7G4HONFM.js} +1 -1
  4. package/build/_chunks/chunk-BUZ4SKVB.js +1 -0
  5. package/build/_chunks/chunk-EW3R5HVK.js +1 -0
  6. package/build/_chunks/chunk-HDCNWBW5.js +1 -0
  7. package/build/_chunks/chunk-JHXPO26H.js +1 -0
  8. package/build/_chunks/chunk-LPVONGC4.js +1 -0
  9. package/build/_chunks/chunk-N7IZEJPM.js +2 -0
  10. package/build/_chunks/chunk-NH2RS5EN.js +1 -0
  11. package/build/_chunks/chunk-QM55EFW3.js +1 -0
  12. package/build/_chunks/chunk-RJ5CVSWW.js +2 -0
  13. package/build/_chunks/chunk-WWHRZD52.js +1 -0
  14. package/build/components/AmountConversionFilter/index.js +1 -1
  15. package/build/components/AmountInput/index.js +1 -1
  16. package/build/components/AmountSlider/index.js +1 -1
  17. package/build/components/AppServices/index.js +1 -1
  18. package/build/components/AppServicesBar/index.js +1 -1
  19. package/build/components/BrandLogo/index.js +1 -1
  20. package/build/components/ChipStack/index.js +1 -1
  21. package/build/components/ColumnViews/index.js +1 -1
  22. package/build/components/CurrencyFilter/index.js +1 -1
  23. package/build/components/Customer/index.js +1 -1
  24. package/build/components/DateFilter/index.js +1 -1
  25. package/build/components/Discount/index.js +1 -1
  26. package/build/components/DropdownChevronIcon/index.d.ts +2 -0
  27. package/build/components/DropdownChevronIcon/index.js +1 -0
  28. package/build/components/DropdownChevronIcon/type.d.ts +3 -0
  29. package/build/components/FileInputPreview/index.js +1 -1
  30. package/build/components/FilePreview/index.js +1 -1
  31. package/build/components/FileUploader/index.js +1 -1
  32. package/build/components/FilterDropdown/index.js +1 -1
  33. package/build/components/InputBase/index.js +1 -1
  34. package/build/components/ListColumnFilter/index.js +1 -1
  35. package/build/components/ListHeader/index.js +1 -1
  36. package/build/components/MaskedText/MaskedText.d.ts +3 -3
  37. package/build/components/MaskedText/constants.d.ts +8 -0
  38. package/build/components/MaskedText/icons.d.ts +2 -0
  39. package/build/components/MaskedText/index.d.ts +3 -2
  40. package/build/components/MaskedText/index.js +1 -1
  41. package/build/components/MaskedText/style.d.ts +4 -0
  42. package/build/components/MaskedText/type.d.ts +9 -3
  43. package/build/components/MaskedText/utils.d.ts +5 -0
  44. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  45. package/build/components/MerchantLogo/index.js +1 -1
  46. package/build/components/MerchantsDropdown/index.js +1 -1
  47. package/build/components/NestedMultiSelect/BranchMenuItem.d.ts +12 -0
  48. package/build/components/NestedMultiSelect/FieldSelectedValues.d.ts +8 -0
  49. package/build/components/NestedMultiSelect/NestedMultiSelect.d.ts +4 -0
  50. package/build/components/NestedMultiSelect/NodeMenuItem.d.ts +10 -0
  51. package/build/components/NestedMultiSelect/SelectableOption.d.ts +9 -0
  52. package/build/components/NestedMultiSelect/constants.d.ts +16 -0
  53. package/build/components/NestedMultiSelect/index.d.ts +4 -0
  54. package/build/components/NestedMultiSelect/index.js +1 -0
  55. package/build/components/NestedMultiSelect/style.d.ts +45 -0
  56. package/build/components/NestedMultiSelect/type.d.ts +52 -0
  57. package/build/components/NestedMultiSelect/utils.d.ts +23 -0
  58. package/build/components/PartnersFilter/index.js +1 -1
  59. package/build/components/PaymentSourceFilter/index.js +1 -1
  60. package/build/components/PhoneFilter/index.js +1 -1
  61. package/build/components/RFH/index.js +1 -1
  62. package/build/components/ReceiptsViewer/index.js +1 -1
  63. package/build/components/ReferenceTypeFilter/index.js +1 -1
  64. package/build/components/SalesChannelFilter/index.js +1 -1
  65. package/build/components/SalesChannelFilter/style.d.ts +1 -1
  66. package/build/components/SheetViewChip/SheetViewChip.d.ts +4 -0
  67. package/build/components/SheetViewChip/constants.d.ts +12 -0
  68. package/build/components/SheetViewChip/index.d.ts +4 -0
  69. package/build/components/SheetViewChip/index.js +1 -0
  70. package/build/components/{StatusChip → SheetViewChip}/style.d.ts +15 -23
  71. package/build/components/SheetViewChip/type.d.ts +28 -0
  72. package/build/components/StatusFilter/index.js +1 -1
  73. package/build/components/StatusIcons/DestinationIcon/DestinationIcon.d.ts +2 -4
  74. package/build/components/StatusIcons/index.js +1 -1
  75. package/build/components/StatusLabel/index.js +1 -1
  76. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.d.ts +1 -1
  77. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.d.ts +1 -1
  78. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.d.ts +1 -1
  79. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.d.ts +1 -1
  80. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.d.ts +1 -1
  81. package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.d.ts +2 -2
  82. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.d.ts +1 -1
  83. package/build/components/TableCells/CustomCells/index.d.ts +0 -1
  84. package/build/components/TableCells/index.js +1 -1
  85. package/build/components/TableReports/index.js +1 -1
  86. package/build/components/TreeDropdown/index.js +1 -1
  87. package/build/components/VAT/index.js +1 -1
  88. package/build/components/VerificationIcon/index.js +1 -1
  89. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  90. package/build/components/WindowSideBar/index.js +1 -1
  91. package/build/components/index.d.ts +6 -13
  92. package/build/components/index.js +1 -1
  93. package/build/index.js +1 -1
  94. package/package.json +2 -2
  95. package/build/_chunks/chunk-3Q5OZQPU.js +0 -1
  96. package/build/_chunks/chunk-43Y4G733.js +0 -1
  97. package/build/_chunks/chunk-4AT6MVPS.js +0 -2
  98. package/build/_chunks/chunk-4CCJR5TN.js +0 -1
  99. package/build/_chunks/chunk-4H7CRAGJ.js +0 -1
  100. package/build/_chunks/chunk-7YO3MHIA.js +0 -1
  101. package/build/_chunks/chunk-A73QNHW7.js +0 -1
  102. package/build/_chunks/chunk-AWNFVAW7.js +0 -1
  103. package/build/_chunks/chunk-CDEAHMMR.js +0 -1
  104. package/build/_chunks/chunk-CF5MCUMN.js +0 -1
  105. package/build/_chunks/chunk-CKN5W76E.js +0 -2
  106. package/build/_chunks/chunk-DGAX7HUY.js +0 -1
  107. package/build/_chunks/chunk-JARFVM2P.js +0 -1
  108. package/build/_chunks/chunk-JTC7EPQL.js +0 -1
  109. package/build/_chunks/chunk-K227MKFN.js +0 -1
  110. package/build/_chunks/chunk-L6FVX4JA.js +0 -1
  111. package/build/_chunks/chunk-P3QRKBID.js +0 -1
  112. package/build/_chunks/chunk-Q7DXGK4R.js +0 -1
  113. package/build/_chunks/chunk-U7VUIT37.js +0 -1
  114. package/build/_chunks/chunk-W6ULJ2HR.js +0 -1
  115. package/build/_chunks/chunk-XK4S7TQN.js +0 -1
  116. package/build/_chunks/chunk-ZDU6AH4F.js +0 -1
  117. package/build/components/AccountDropdown/Dropdown.d.ts +0 -13
  118. package/build/components/AccountDropdown/index.d.ts +0 -2
  119. package/build/components/AccountDropdown/index.js +0 -1
  120. package/build/components/AccountDropdown/style.d.ts +0 -18
  121. package/build/components/AmountStatusChip/AmountStatusChip.d.ts +0 -9
  122. package/build/components/AmountStatusChip/index.d.ts +0 -3
  123. package/build/components/AmountStatusChip/index.js +0 -1
  124. package/build/components/AmountStatusChip/style.d.ts +0 -3
  125. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.d.ts +0 -9
  126. package/build/components/AuthenticationTypeChip/constants.d.ts +0 -16
  127. package/build/components/AuthenticationTypeChip/index.d.ts +0 -3
  128. package/build/components/AuthenticationTypeChip/index.js +0 -1
  129. package/build/components/Chip/Chip.d.ts +0 -4
  130. package/build/components/Chip/GroupIconChip.d.ts +0 -4
  131. package/build/components/Chip/GroupIconChips.d.ts +0 -4
  132. package/build/components/Chip/index.d.ts +0 -4
  133. package/build/components/Chip/index.js +0 -1
  134. package/build/components/Chip/style.d.ts +0 -276
  135. package/build/components/Chip/type.d.ts +0 -27
  136. package/build/components/DropdownButton/DropdownButton.d.ts +0 -8
  137. package/build/components/DropdownButton/constants.d.ts +0 -13
  138. package/build/components/DropdownButton/index.d.ts +0 -4
  139. package/build/components/DropdownButton/index.js +0 -1
  140. package/build/components/DropdownButton/style.d.ts +0 -31
  141. package/build/components/DropdownButton/type.d.ts +0 -14
  142. package/build/components/MultiSelectWithSearch/ChildMenuItem.d.ts +0 -10
  143. package/build/components/MultiSelectWithSearch/FlatMenuItem.d.ts +0 -9
  144. package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.d.ts +0 -4
  145. package/build/components/MultiSelectWithSearch/ParentMenuItem.d.ts +0 -13
  146. package/build/components/MultiSelectWithSearch/index.d.ts +0 -6
  147. package/build/components/MultiSelectWithSearch/index.js +0 -1
  148. package/build/components/MultiSelectWithSearch/style.d.ts +0 -32
  149. package/build/components/MultiSelectWithSearch/type.d.ts +0 -23
  150. package/build/components/MultiSelectWithSearch/utils.d.ts +0 -4
  151. package/build/components/SelectWithSearch/SearchIcon.d.ts +0 -8
  152. package/build/components/SelectWithSearch/SelectWithSearch.d.ts +0 -4
  153. package/build/components/SelectWithSearch/index.d.ts +0 -4
  154. package/build/components/SelectWithSearch/index.js +0 -1
  155. package/build/components/SelectWithSearch/style.d.ts +0 -28
  156. package/build/components/SelectWithSearch/type.d.ts +0 -34
  157. package/build/components/StatusChip/StatusChip.d.ts +0 -4
  158. package/build/components/StatusChip/index.d.ts +0 -3
  159. package/build/components/StatusChip/index.js +0 -1
  160. package/build/components/StatusChip/type.d.ts +0 -19
  161. package/build/components/StatusChipWithCopy/StatusChipWithCopy.d.ts +0 -13
  162. package/build/components/StatusChipWithCopy/index.d.ts +0 -4
  163. package/build/components/StatusChipWithCopy/index.js +0 -1
  164. package/build/components/StatusChipWithCopy/utils.d.ts +0 -4
  165. package/build/components/StatusGroupChips/StatusGroupChips.d.ts +0 -4
  166. package/build/components/StatusGroupChips/index.d.ts +0 -2
  167. package/build/components/StatusGroupChips/index.js +0 -1
  168. package/build/components/StatusGroupChips/style.d.ts +0 -5
  169. package/build/components/StatusGroupChips/type.d.ts +0 -13
  170. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.d.ts +0 -21
  171. package/build/components/TableCells/CustomCells/TextWithChipCell/index.d.ts +0 -2
  172. package/build/components/TooltipChip/TooltipChip.d.ts +0 -14
  173. package/build/components/TooltipChip/index.d.ts +0 -1
  174. package/build/components/TooltipChip/index.js +0 -1
  175. package/build/components/TooltipChip/style.d.ts +0 -9
  176. /package/build/components/{DropdownButton/ChevronIcon.d.ts → DropdownChevronIcon/DropdownChevronIcon.d.ts} +0 -0
@@ -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
- };
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ChipProps } from './type';
3
- declare const StatusChip: ({ children, unknownText, copyText, expandDirection, chipStyles, containerStyles, fullWidth, ...props }: ChipProps) => import("react").JSX.Element;
4
- export default StatusChip;
@@ -1,3 +0,0 @@
1
- import StatusChip from './StatusChip';
2
- export type { ChipProps as StatusChipProps } from './type';
3
- export default StatusChip;
@@ -1 +0,0 @@
1
- export{a as default}from'../../_chunks/chunk-3Q5OZQPU.js';import'../../_chunks/chunk-PLMJIRXJ.js';import'../../_chunks/chunk-WHXHVOBY.js';import'../../_chunks/chunk-YKKS24ES.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,19 +0,0 @@
1
- import { BoxProps } from '@mui/material';
2
- import { PropsWithChildren } from 'react';
3
- export type ChipProps = PropsWithChildren<{
4
- textColor?: string;
5
- bgColor?: string;
6
- borderColor?: string;
7
- disabled?: boolean;
8
- padding?: string;
9
- unknownText?: string;
10
- minWidth?: string;
11
- maxWidth?: string;
12
- isSelected?: boolean;
13
- copyText?: string;
14
- expandDirection?: 'left' | 'right';
15
- chipStyles?: object;
16
- disableAnimation?: boolean;
17
- containerStyles?: object;
18
- fullWidth?: boolean;
19
- } & BoxProps>;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { StatusChipProps } from '../StatusChip';
3
- import { SelectionProps } from '../../types/index.js';
4
- export interface StatusChipWithCopyProps extends StatusChipProps {
5
- copyText?: string;
6
- chipIndex: number;
7
- selectionProps: SelectionProps;
8
- chipStyles?: object;
9
- fullWidth?: boolean;
10
- }
11
- declare function StatusChipWithCopy({ children, copyText, chipIndex, selectionProps: { onClick, rowIndex, colIndex, selectedId }, ...rest }: StatusChipWithCopyProps): import("react").JSX.Element;
12
- declare const _default: import("react").MemoExoticComponent<typeof StatusChipWithCopy>;
13
- export default _default;
@@ -1,4 +0,0 @@
1
- import StatusChipWithCopy from './StatusChipWithCopy';
2
- export * from './StatusChipWithCopy';
3
- export * from './utils';
4
- export default StatusChipWithCopy;
@@ -1 +0,0 @@
1
- export{a as checkIsSelected,b as default}from'../../_chunks/chunk-AWNFVAW7.js';import'../../_chunks/chunk-3Q5OZQPU.js';import'../../_chunks/chunk-PLMJIRXJ.js';import'../../_chunks/chunk-WHXHVOBY.js';import'../../_chunks/chunk-YKKS24ES.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,4 +0,0 @@
1
- import { SelectionProps } from '../../types/index.js';
2
- export declare const checkIsSelected: ({ chipIndex, rowIndex, colIndex, selectedId, }: Pick<SelectionProps, "rowIndex" | "selectedId" | "colIndex"> & {
3
- chipIndex: number;
4
- }) => boolean;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { StatusGroupChipsProps } from './type';
3
- declare const StatusGroupChips: ({ chips, containerSx, defaultChipSx, ...containerProps }: StatusGroupChipsProps) => import("react").JSX.Element | null;
4
- export default StatusGroupChips;
@@ -1,2 +0,0 @@
1
- export { default as StatusGroupChips } from './StatusGroupChips';
2
- export type { StatusGroupChipsProps, ChipConfig } from './type';
@@ -1 +0,0 @@
1
- export{a as StatusGroupChips}from'../../_chunks/chunk-7YO3MHIA.js';import'../../_chunks/chunk-AWNFVAW7.js';import'../../_chunks/chunk-3Q5OZQPU.js';import'../../_chunks/chunk-PLMJIRXJ.js';import'../../_chunks/chunk-WHXHVOBY.js';import'../../_chunks/chunk-YKKS24ES.js';import'../../_chunks/chunk-65DHLOE2.js';
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
- export declare const StyledStatusChip: import("@emotion/styled").StyledComponent<import("../StatusChipWithCopy").StatusChipWithCopyProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,13 +0,0 @@
1
- import type React from 'react';
2
- import type { BoxProps } from '@mui/material/Box';
3
- import { StatusChipWithCopyProps } from '../StatusChipWithCopy';
4
- export interface ChipConfig extends Omit<StatusChipWithCopyProps, 'content'> {
5
- key: string;
6
- content: React.ReactNode;
7
- sx?: object;
8
- }
9
- export interface StatusGroupChipsProps extends Omit<BoxProps, 'children'> {
10
- chips: ChipConfig[];
11
- containerSx?: object;
12
- defaultChipSx?: object;
13
- }
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { StackProps } from '@mui/material/Stack';
3
- import { TypographyProps } from '@mui/material/Typography';
4
- import { ChipProps, Tooltip } from '../../../index.js';
5
- import { TextAndLang } from '../../../../types/index.js';
6
- export type TextWithChipCell<T extends React.ElementType = 'div'> = StackProps<T> & {
7
- name?: TextAndLang[];
8
- icon?: React.ReactNode;
9
- namePlaceholder?: React.ReactNode;
10
- showIcon?: boolean;
11
- showLabel?: boolean;
12
- slotsProps?: {
13
- tooltip?: Partial<React.ComponentProps<typeof Tooltip>>;
14
- chip?: Partial<ChipProps>;
15
- chipsTooltip?: Partial<React.ComponentProps<typeof Tooltip>>;
16
- label?: Partial<TypographyProps>;
17
- labelTooltip?: Partial<React.ComponentProps<typeof Tooltip>>;
18
- };
19
- };
20
- declare const _default: React.MemoExoticComponent<(props: TextWithChipCell<"div">) => React.JSX.Element | null>;
21
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as TextWithChipCell } from './TextWithChipCell';
2
- export * from './TextWithChipCell';
@@ -1,14 +0,0 @@
1
- import React, { PropsWithChildren } from 'react';
2
- import { Tooltip } from '../primitives';
3
- import { type ChipProps } from '../Chip';
4
- type TooltipChipProps = PropsWithChildren<{
5
- title: React.ReactNode;
6
- variant?: ChipProps['variant'];
7
- slotProps?: {
8
- tooltip?: React.ComponentProps<typeof Tooltip>;
9
- chip?: Partial<ChipProps>;
10
- };
11
- children: React.ReactNode;
12
- }>;
13
- declare const TooltipChip: ({ title, slotProps, children }: TooltipChipProps) => React.JSX.Element;
14
- export default TooltipChip;
@@ -1 +0,0 @@
1
- export { default as TooltipChip } from './TooltipChip';
@@ -1 +0,0 @@
1
- export{a as TooltipChip}from'../../_chunks/chunk-Q7DXGK4R.js';import'../../_chunks/chunk-CDEAHMMR.js';import'../../_chunks/chunk-ZONDSLTR.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,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledChip: import("@emotion/styled").StyledComponent<{
3
- variant?: import("../Chip").ChipVariant | undefined;
4
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactDOM | null | undefined;
5
- } & import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & import("@mui/material/OverridableComponent").CommonProps & 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/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & {
8
- children?: import("react").ReactNode;
9
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;