@tap-payments/os-micro-frontend-shared 0.3.74 → 0.3.76

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 (305) hide show
  1. package/build/_chunks/chunk-B6JYXHQR.js +1 -0
  2. package/build/_chunks/{chunk-RXFNRAYJ.js → chunk-XL6C6YEB.js} +1 -1
  3. package/build/_chunks/chunk-ZMYE5T5X.js +2 -0
  4. package/build/components/ActiveFilterChip/index.js +1 -1
  5. package/build/components/Amount/index.js +1 -1
  6. package/build/components/AmountConversionFilter/index.js +1 -1
  7. package/build/components/AmountInput/index.js +1 -1
  8. package/build/components/AmountSlider/index.js +1 -1
  9. package/build/components/AppServices/index.js +1 -1
  10. package/build/components/AppServicesBar/index.js +1 -1
  11. package/build/components/BrandLogo/index.js +1 -1
  12. package/build/components/ColumnViews/index.js +1 -1
  13. package/build/components/CopyImage/index.js +1 -1
  14. package/build/components/CountryFilter/index.js +1 -1
  15. package/build/components/CurrencyFilter/index.js +1 -1
  16. package/build/components/Customer/index.js +1 -1
  17. package/build/components/DateFilter/index.js +1 -1
  18. package/build/components/Discount/index.js +1 -1
  19. package/build/components/FileInputPreview/index.js +1 -1
  20. package/build/components/FileUpload/index.js +1 -1
  21. package/build/components/FilterDropdown/index.js +1 -1
  22. package/build/components/Filters/index.js +1 -1
  23. package/build/components/LanguageDropdown/index.js +1 -1
  24. package/build/components/ListColumnFilter/index.js +1 -1
  25. package/build/components/ListHeader/index.js +1 -1
  26. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  27. package/build/components/MerchantLogo/index.js +1 -1
  28. package/build/components/MerchantsDropdown/index.js +1 -1
  29. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  30. package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.d.ts +0 -3
  31. package/build/components/PartnersFilter/index.js +1 -1
  32. package/build/components/PaymentSourceFilter/index.js +1 -1
  33. package/build/components/PhoneFilter/index.js +1 -1
  34. package/build/components/RFH/Inputs/SelectWithAccordion/index.d.ts +0 -3
  35. package/build/components/ReceiptsViewer/index.js +1 -1
  36. package/build/components/ReferenceTypeFilter/index.js +1 -1
  37. package/build/components/SearchButton/index.js +1 -1
  38. package/build/components/StatusBar/index.js +1 -1
  39. package/build/components/StatusButton/index.js +1 -1
  40. package/build/components/StatusFilter/index.js +1 -1
  41. package/build/components/StatusIcons/index.js +1 -1
  42. package/build/components/TableCells/index.js +1 -1
  43. package/build/components/TableReports/index.js +1 -1
  44. package/build/components/TreeDropdown/index.js +1 -1
  45. package/build/components/VAT/index.js +1 -1
  46. package/build/components/VerificationIcon/index.js +1 -1
  47. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  48. package/build/components/WindowSideBar/index.js +1 -1
  49. package/build/components/index.js +1 -1
  50. package/build/index.js +1 -1
  51. package/package.json +1 -17
  52. package/build/_chunks/chunk-OALK3JC4.js +0 -2
  53. package/build/_chunks/chunk-WPRSWA4H.js +0 -1
  54. package/build/components/_v2/composites/AmountSlider/AmountSlider.d.ts +0 -34
  55. package/build/components/_v2/composites/AmountSlider/index.d.ts +0 -2
  56. package/build/components/_v2/composites/Autocomplete/Autocomplete.d.ts +0 -4
  57. package/build/components/_v2/composites/Autocomplete/icons/LoadingIcon.d.ts +0 -4
  58. package/build/components/_v2/composites/Autocomplete/icons/SearchIcon.d.ts +0 -3
  59. package/build/components/_v2/composites/Autocomplete/icons/index.d.ts +0 -2
  60. package/build/components/_v2/composites/Autocomplete/index.d.ts +0 -2
  61. package/build/components/_v2/composites/Autocomplete/style.d.ts +0 -83
  62. package/build/components/_v2/composites/Autocomplete/type.d.ts +0 -81
  63. package/build/components/_v2/composites/CountryFlag/CountryFlag.d.ts +0 -12
  64. package/build/components/_v2/composites/CountryFlag/index.d.ts +0 -2
  65. package/build/components/_v2/composites/GroupedSelect/GroupedSelect.d.ts +0 -4
  66. package/build/components/_v2/composites/GroupedSelect/components/GroupedSelectTrigger.d.ts +0 -4
  67. package/build/components/_v2/composites/GroupedSelect/components/SelectedCheckIcon.d.ts +0 -2
  68. package/build/components/_v2/composites/GroupedSelect/index.d.ts +0 -2
  69. package/build/components/_v2/composites/GroupedSelect/style.d.ts +0 -31
  70. package/build/components/_v2/composites/GroupedSelect/type.d.ts +0 -80
  71. package/build/components/_v2/composites/MultiSelect/MultiSelect.d.ts +0 -5
  72. package/build/components/_v2/composites/MultiSelect/index.d.ts +0 -2
  73. package/build/components/_v2/composites/MultiSelect/style.d.ts +0 -1
  74. package/build/components/_v2/composites/NestedMultiSelect/NestedMultiSelect.d.ts +0 -4
  75. package/build/components/_v2/composites/NestedMultiSelect/index.d.ts +0 -2
  76. package/build/components/_v2/composites/NestedMultiSelect/style.d.ts +0 -47
  77. package/build/components/_v2/composites/NestedMultiSelect/type.d.ts +0 -92
  78. package/build/components/_v2/composites/NestedMultiSelect/util.d.ts +0 -7
  79. package/build/components/_v2/composites/NumberInput/NumberInput.d.ts +0 -28
  80. package/build/components/_v2/composites/NumberInput/index.d.ts +0 -2
  81. package/build/components/_v2/composites/PhoneInput/PhoneInput.d.ts +0 -24
  82. package/build/components/_v2/composites/PhoneInput/index.d.ts +0 -2
  83. package/build/components/_v2/composites/RangeCalender/RangeCalender.d.ts +0 -10
  84. package/build/components/_v2/composites/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +0 -10
  85. package/build/components/_v2/composites/RangeCalender/components/CustomTimepicker/index.d.ts +0 -2
  86. package/build/components/_v2/composites/RangeCalender/components/CustomTimepicker/style.d.ts +0 -15
  87. package/build/components/_v2/composites/RangeCalender/components/Error/Error.d.ts +0 -8
  88. package/build/components/_v2/composites/RangeCalender/components/Error/style.d.ts +0 -4
  89. package/build/components/_v2/composites/RangeCalender/components/GroupBy/GroupBy.d.ts +0 -13
  90. package/build/components/_v2/composites/RangeCalender/components/GroupBy/index.d.ts +0 -2
  91. package/build/components/_v2/composites/RangeCalender/components/GroupBy/style.d.ts +0 -15
  92. package/build/components/_v2/composites/RangeCalender/components/Hijri/Hijri.d.ts +0 -10
  93. package/build/components/_v2/composites/RangeCalender/components/Hijri/index.d.ts +0 -2
  94. package/build/components/_v2/composites/RangeCalender/components/Hijri/style.d.ts +0 -4
  95. package/build/components/_v2/composites/RangeCalender/components/QuickFilters/QuickFilters.d.ts +0 -12
  96. package/build/components/_v2/composites/RangeCalender/components/QuickFilters/index.d.ts +0 -2
  97. package/build/components/_v2/composites/RangeCalender/components/QuickFilters/style.d.ts +0 -7
  98. package/build/components/_v2/composites/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +0 -4
  99. package/build/components/_v2/composites/RangeCalender/components/RangeDatepicker/index.d.ts +0 -3
  100. package/build/components/_v2/composites/RangeCalender/components/RangeDatepicker/style.d.ts +0 -4
  101. package/build/components/_v2/composites/RangeCalender/components/RangeDatepicker/type.d.ts +0 -14
  102. package/build/components/_v2/composites/RangeCalender/components/Timezone/Timezone.d.ts +0 -17
  103. package/build/components/_v2/composites/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +0 -14
  104. package/build/components/_v2/composites/RangeCalender/components/Timezone/components/UserTimezone.d.ts +0 -12
  105. package/build/components/_v2/composites/RangeCalender/components/Timezone/index.d.ts +0 -2
  106. package/build/components/_v2/composites/RangeCalender/components/Timezone/style.d.ts +0 -21
  107. package/build/components/_v2/composites/RangeCalender/index.d.ts +0 -2
  108. package/build/components/_v2/composites/RangeCalender/style.d.ts +0 -33
  109. package/build/components/_v2/composites/RangeCalender/type.d.ts +0 -47
  110. package/build/components/_v2/composites/RangeCalender/util.d.ts +0 -10
  111. package/build/components/_v2/composites/Select/Select.d.ts +0 -4
  112. package/build/components/_v2/composites/Select/index.d.ts +0 -2
  113. package/build/components/_v2/composites/TextInput/TextInput.d.ts +0 -30
  114. package/build/components/_v2/composites/TextInput/index.d.ts +0 -2
  115. package/build/components/_v2/composites/Textarea/Textarea.d.ts +0 -15
  116. package/build/components/_v2/composites/Textarea/index.d.ts +0 -2
  117. package/build/components/_v2/composites/Timepicker/Timepicker.d.ts +0 -16
  118. package/build/components/_v2/composites/Timepicker/index.d.ts +0 -2
  119. package/build/components/_v2/composites/index.d.ts +0 -26
  120. package/build/components/_v2/forms/RHFAutocomplete/RHFAutocomplete.d.ts +0 -23
  121. package/build/components/_v2/forms/RHFAutocomplete/index.d.ts +0 -2
  122. package/build/components/_v2/forms/RHFCalender/RHFCalender.d.ts +0 -23
  123. package/build/components/_v2/forms/RHFCalender/index.d.ts +0 -2
  124. package/build/components/_v2/forms/RHFCheckbox/RHFCheckbox.d.ts +0 -21
  125. package/build/components/_v2/forms/RHFCheckbox/index.d.ts +0 -2
  126. package/build/components/_v2/forms/RHFGroupedSelect/RHFGroupedSelect.d.ts +0 -22
  127. package/build/components/_v2/forms/RHFGroupedSelect/index.d.ts +0 -2
  128. package/build/components/_v2/forms/RHFMultiSelect/RHFMultiSelect.d.ts +0 -25
  129. package/build/components/_v2/forms/RHFMultiSelect/index.d.ts +0 -2
  130. package/build/components/_v2/forms/RHFNestedMultiSelect/RHFNestedMultiSelect.d.ts +0 -23
  131. package/build/components/_v2/forms/RHFNestedMultiSelect/index.d.ts +0 -2
  132. package/build/components/_v2/forms/RHFNumberInput/RHFNumberInput.d.ts +0 -22
  133. package/build/components/_v2/forms/RHFNumberInput/index.d.ts +0 -2
  134. package/build/components/_v2/forms/RHFPhoneInput/RHFPhoneInput.d.ts +0 -25
  135. package/build/components/_v2/forms/RHFPhoneInput/index.d.ts +0 -2
  136. package/build/components/_v2/forms/RHFRadioGroup/RHFRadioGroup.d.ts +0 -22
  137. package/build/components/_v2/forms/RHFRadioGroup/index.d.ts +0 -2
  138. package/build/components/_v2/forms/RHFRangeCalender/RHFRangeCalender.d.ts +0 -29
  139. package/build/components/_v2/forms/RHFRangeCalender/index.d.ts +0 -2
  140. package/build/components/_v2/forms/RHFSelect/RHFSelect.d.ts +0 -24
  141. package/build/components/_v2/forms/RHFSelect/index.d.ts +0 -2
  142. package/build/components/_v2/forms/RHFSlider/RHFSlider.d.ts +0 -22
  143. package/build/components/_v2/forms/RHFSlider/index.d.ts +0 -2
  144. package/build/components/_v2/forms/RHFSwitch/RHFSwitch.d.ts +0 -18
  145. package/build/components/_v2/forms/RHFSwitch/index.d.ts +0 -2
  146. package/build/components/_v2/forms/RHFTextInput/RHFTextInput.d.ts +0 -23
  147. package/build/components/_v2/forms/RHFTextInput/index.d.ts +0 -2
  148. package/build/components/_v2/forms/RHFTextarea/RHFTextarea.d.ts +0 -22
  149. package/build/components/_v2/forms/RHFTextarea/index.d.ts +0 -2
  150. package/build/components/_v2/forms/RHFTimepicker/RHFTimepicker.d.ts +0 -23
  151. package/build/components/_v2/forms/RHFTimepicker/index.d.ts +0 -2
  152. package/build/components/_v2/forms/index.d.ts +0 -32
  153. package/build/components/_v2/index.d.ts +0 -3
  154. package/build/components/_v2/index.js +0 -9
  155. package/build/components/_v2/primitives/Accordion/Accordion.d.ts +0 -4
  156. package/build/components/_v2/primitives/Accordion/AccordionExpandIcon.d.ts +0 -8
  157. package/build/components/_v2/primitives/Accordion/index.d.ts +0 -5
  158. package/build/components/_v2/primitives/Accordion/style.d.ts +0 -21
  159. package/build/components/_v2/primitives/Accordion/type.d.ts +0 -53
  160. package/build/components/_v2/primitives/Avatar/Avatar.d.ts +0 -15
  161. package/build/components/_v2/primitives/Avatar/index.d.ts +0 -3
  162. package/build/components/_v2/primitives/Avatar/style.d.ts +0 -7
  163. package/build/components/_v2/primitives/Backdrop/Backdrop.d.ts +0 -10
  164. package/build/components/_v2/primitives/Backdrop/index.d.ts +0 -2
  165. package/build/components/_v2/primitives/Backdrop/style.d.ts +0 -4
  166. package/build/components/_v2/primitives/Badge/Badge.d.ts +0 -14
  167. package/build/components/_v2/primitives/Badge/index.d.ts +0 -2
  168. package/build/components/_v2/primitives/Badge/style.d.ts +0 -4
  169. package/build/components/_v2/primitives/Badge/type.d.ts +0 -32
  170. package/build/components/_v2/primitives/Button/Button.d.ts +0 -25
  171. package/build/components/_v2/primitives/Button/index.d.ts +0 -2
  172. package/build/components/_v2/primitives/Calender/Calender.d.ts +0 -28
  173. package/build/components/_v2/primitives/Calender/index.d.ts +0 -2
  174. package/build/components/_v2/primitives/Calender/style.d.ts +0 -29
  175. package/build/components/_v2/primitives/Checkbox/Checkbox.d.ts +0 -13
  176. package/build/components/_v2/primitives/Checkbox/icons.d.ts +0 -11
  177. package/build/components/_v2/primitives/Checkbox/index.d.ts +0 -3
  178. package/build/components/_v2/primitives/Chip/Chip.d.ts +0 -4
  179. package/build/components/_v2/primitives/Chip/index.d.ts +0 -2
  180. package/build/components/_v2/primitives/Chip/style.d.ts +0 -10
  181. package/build/components/_v2/primitives/Chip/type.d.ts +0 -25
  182. package/build/components/_v2/primitives/ChipStack/ChipStack.d.ts +0 -73
  183. package/build/components/_v2/primitives/ChipStack/components/AnimatedStack.d.ts +0 -34
  184. package/build/components/_v2/primitives/ChipStack/components/ChipStackFaceSlot.d.ts +0 -13
  185. package/build/components/_v2/primitives/ChipStack/components/OverlapChip.d.ts +0 -9
  186. package/build/components/_v2/primitives/ChipStack/components/StaticStack.d.ts +0 -15
  187. package/build/components/_v2/primitives/ChipStack/constants.d.ts +0 -14
  188. package/build/components/_v2/primitives/ChipStack/hooks/useAnimatedStack.d.ts +0 -28
  189. package/build/components/_v2/primitives/ChipStack/index.d.ts +0 -10
  190. package/build/components/_v2/primitives/ChipStack/style.d.ts +0 -31
  191. package/build/components/_v2/primitives/ChipStack/type.d.ts +0 -132
  192. package/build/components/_v2/primitives/ChipStack/util.d.ts +0 -74
  193. package/build/components/_v2/primitives/CircularProgress/CircularProgress.d.ts +0 -16
  194. package/build/components/_v2/primitives/CircularProgress/index.d.ts +0 -2
  195. package/build/components/_v2/primitives/CircularProgress/style.d.ts +0 -11
  196. package/build/components/_v2/primitives/Collapse/Collapse.d.ts +0 -14
  197. package/build/components/_v2/primitives/Collapse/index.d.ts +0 -2
  198. package/build/components/_v2/primitives/ColorPicker/ColorPicker.d.ts +0 -28
  199. package/build/components/_v2/primitives/ColorPicker/ColorPickerPanel.d.ts +0 -13
  200. package/build/components/_v2/primitives/ColorPicker/ColorSchemeSelect.d.ts +0 -10
  201. package/build/components/_v2/primitives/ColorPicker/HexaFields.d.ts +0 -12
  202. package/build/components/_v2/primitives/ColorPicker/RGBAFields.d.ts +0 -12
  203. package/build/components/_v2/primitives/ColorPicker/index.d.ts +0 -3
  204. package/build/components/_v2/primitives/ColorPicker/style.d.ts +0 -30
  205. package/build/components/_v2/primitives/CopyButton/CopyButton.d.ts +0 -16
  206. package/build/components/_v2/primitives/CopyButton/index.d.ts +0 -2
  207. package/build/components/_v2/primitives/CopyButton/type.d.ts +0 -9
  208. package/build/components/_v2/primitives/Dialog/Dialog.d.ts +0 -19
  209. package/build/components/_v2/primitives/Dialog/index.d.ts +0 -2
  210. package/build/components/_v2/primitives/Dialog/style.d.ts +0 -2
  211. package/build/components/_v2/primitives/Divider/Divider.d.ts +0 -14
  212. package/build/components/_v2/primitives/Divider/index.d.ts +0 -2
  213. package/build/components/_v2/primitives/FormField/index.d.ts +0 -1
  214. package/build/components/_v2/primitives/FormField/style.d.ts +0 -32
  215. package/build/components/_v2/primitives/Icon/Icon.d.ts +0 -4
  216. package/build/components/_v2/primitives/Icon/index.d.ts +0 -2
  217. package/build/components/_v2/primitives/Icon/style.d.ts +0 -2
  218. package/build/components/_v2/primitives/Icon/type.d.ts +0 -12
  219. package/build/components/_v2/primitives/InputFeedback/InputFeedback.d.ts +0 -13
  220. package/build/components/_v2/primitives/InputFeedback/index.d.ts +0 -2
  221. package/build/components/_v2/primitives/InputFeedback/style.d.ts +0 -8
  222. package/build/components/_v2/primitives/InputFeedback/type.d.ts +0 -14
  223. package/build/components/_v2/primitives/InputFeedback/util.d.ts +0 -29
  224. package/build/components/_v2/primitives/LazyImage/LazyImage.d.ts +0 -13
  225. package/build/components/_v2/primitives/LazyImage/index.d.ts +0 -2
  226. package/build/components/_v2/primitives/Loader/Loader.d.ts +0 -13
  227. package/build/components/_v2/primitives/Loader/index.d.ts +0 -2
  228. package/build/components/_v2/primitives/Loader/style.d.ts +0 -1
  229. package/build/components/_v2/primitives/Menu/Menu.d.ts +0 -14
  230. package/build/components/_v2/primitives/Menu/index.d.ts +0 -2
  231. package/build/components/_v2/primitives/Menu/style.d.ts +0 -6
  232. package/build/components/_v2/primitives/MenuItem/MenuItem.d.ts +0 -24
  233. package/build/components/_v2/primitives/MenuItem/index.d.ts +0 -2
  234. package/build/components/_v2/primitives/MenuItem/style.d.ts +0 -6
  235. package/build/components/_v2/primitives/MultiSelectBase/MultiSelectBase.d.ts +0 -5
  236. package/build/components/_v2/primitives/MultiSelectBase/MultiSelectOption.d.ts +0 -15
  237. package/build/components/_v2/primitives/MultiSelectBase/MultiSelectOptions.d.ts +0 -29
  238. package/build/components/_v2/primitives/MultiSelectBase/MultiSelectSelectionSummary.d.ts +0 -8
  239. package/build/components/_v2/primitives/MultiSelectBase/index.d.ts +0 -8
  240. package/build/components/_v2/primitives/MultiSelectBase/style.d.ts +0 -46
  241. package/build/components/_v2/primitives/MultiSelectBase/type.d.ts +0 -71
  242. package/build/components/_v2/primitives/NumberInputBase/NumberInputBase.d.ts +0 -17
  243. package/build/components/_v2/primitives/NumberInputBase/index.d.ts +0 -2
  244. package/build/components/_v2/primitives/NumberInputBase/style.d.ts +0 -19
  245. package/build/components/_v2/primitives/PhoneInputBase/CountriesList/CountriesList.d.ts +0 -22
  246. package/build/components/_v2/primitives/PhoneInputBase/CountriesList/index.d.ts +0 -2
  247. package/build/components/_v2/primitives/PhoneInputBase/CountriesList/style.d.ts +0 -11
  248. package/build/components/_v2/primitives/PhoneInputBase/PhoneInputBase.d.ts +0 -38
  249. package/build/components/_v2/primitives/PhoneInputBase/index.d.ts +0 -4
  250. package/build/components/_v2/primitives/PhoneInputBase/style.d.ts +0 -12
  251. package/build/components/_v2/primitives/ProgressBar/ProgressBar.d.ts +0 -15
  252. package/build/components/_v2/primitives/ProgressBar/index.d.ts +0 -2
  253. package/build/components/_v2/primitives/ProgressBar/style.d.ts +0 -17
  254. package/build/components/_v2/primitives/RadioButton/RadioButton.d.ts +0 -30
  255. package/build/components/_v2/primitives/RadioButton/index.d.ts +0 -2
  256. package/build/components/_v2/primitives/RadioButton/style.d.ts +0 -13
  257. package/build/components/_v2/primitives/RadioGroup/RadioGroup.d.ts +0 -13
  258. package/build/components/_v2/primitives/RadioGroup/index.d.ts +0 -2
  259. package/build/components/_v2/primitives/RadioGroup/style.d.ts +0 -6
  260. package/build/components/_v2/primitives/RadioGroup/type.d.ts +0 -34
  261. package/build/components/_v2/primitives/ScrollLoader/ScrollLoader.d.ts +0 -24
  262. package/build/components/_v2/primitives/ScrollLoader/index.d.ts +0 -2
  263. package/build/components/_v2/primitives/SelectBase/SelectBase.d.ts +0 -4
  264. package/build/components/_v2/primitives/SelectBase/SelectEndAdornment.d.ts +0 -16
  265. package/build/components/_v2/primitives/SelectBase/SelectIcons.d.ts +0 -3
  266. package/build/components/_v2/primitives/SelectBase/SelectMenuSearch.d.ts +0 -10
  267. package/build/components/_v2/primitives/SelectBase/SelectOptions.d.ts +0 -22
  268. package/build/components/_v2/primitives/SelectBase/getSelectMenuProps.d.ts +0 -2
  269. package/build/components/_v2/primitives/SelectBase/hooks/index.d.ts +0 -3
  270. package/build/components/_v2/primitives/SelectBase/hooks/useSelectMenuState.d.ts +0 -12
  271. package/build/components/_v2/primitives/SelectBase/hooks/useSelectOptionKeys.d.ts +0 -3
  272. package/build/components/_v2/primitives/SelectBase/index.d.ts +0 -10
  273. package/build/components/_v2/primitives/SelectBase/style.d.ts +0 -39
  274. package/build/components/_v2/primitives/SelectBase/type.d.ts +0 -75
  275. package/build/components/_v2/primitives/Skeleton/Skeleton.d.ts +0 -13
  276. package/build/components/_v2/primitives/Skeleton/index.d.ts +0 -2
  277. package/build/components/_v2/primitives/Slider/Slider.d.ts +0 -21
  278. package/build/components/_v2/primitives/Slider/index.d.ts +0 -2
  279. package/build/components/_v2/primitives/Switch/Switch.d.ts +0 -13
  280. package/build/components/_v2/primitives/Switch/index.d.ts +0 -2
  281. package/build/components/_v2/primitives/Switch/style.d.ts +0 -1
  282. package/build/components/_v2/primitives/Text/Text.d.ts +0 -17
  283. package/build/components/_v2/primitives/Text/index.d.ts +0 -2
  284. package/build/components/_v2/primitives/TextInputBase/TextInputBase.d.ts +0 -22
  285. package/build/components/_v2/primitives/TextInputBase/index.d.ts +0 -2
  286. package/build/components/_v2/primitives/TextInputBase/style.d.ts +0 -27
  287. package/build/components/_v2/primitives/TextareaBase/TextareaBase.d.ts +0 -12
  288. package/build/components/_v2/primitives/TextareaBase/index.d.ts +0 -2
  289. package/build/components/_v2/primitives/TextareaBase/style.d.ts +0 -3
  290. package/build/components/_v2/primitives/TimepickerBase/TimepickerBase.d.ts +0 -27
  291. package/build/components/_v2/primitives/TimepickerBase/constant.d.ts +0 -3
  292. package/build/components/_v2/primitives/TimepickerBase/index.d.ts +0 -4
  293. package/build/components/_v2/primitives/TimepickerBase/style.d.ts +0 -30
  294. package/build/components/_v2/primitives/TimepickerBase/util.d.ts +0 -5
  295. package/build/components/_v2/primitives/ToggleButtons/ToggleButtons.d.ts +0 -11
  296. package/build/components/_v2/primitives/ToggleButtons/index.d.ts +0 -2
  297. package/build/components/_v2/primitives/ToggleButtons/style.d.ts +0 -8
  298. package/build/components/_v2/primitives/ToggleButtons/type.d.ts +0 -23
  299. package/build/components/_v2/primitives/Tooltip/Tooltip.d.ts +0 -26
  300. package/build/components/_v2/primitives/Tooltip/index.d.ts +0 -2
  301. package/build/components/_v2/primitives/Tooltip/style.d.ts +0 -2
  302. package/build/components/_v2/primitives/Typography/Typography.d.ts +0 -4
  303. package/build/components/_v2/primitives/Typography/index.d.ts +0 -2
  304. package/build/components/_v2/primitives/Typography/type.d.ts +0 -30
  305. package/build/components/_v2/primitives/index.d.ts +0 -85
@@ -1 +0,0 @@
1
- import {f,b as b$3,g,a as a$3,e as e$1,d,c as c$1}from'./chunk-5SQHRFFG.js';import {a as a$2}from'./chunk-2DWZF5VU.js';import {c}from'./chunk-IIM3KUQY.js';import {o,j,k as k$1,l,p}from'./chunk-C7KUSA2X.js';import {b as b$2}from'./chunk-JEFQJHZO.js';import {b as b$1,e,d as d$1}from'./chunk-CEMNPTGR.js';import {a as a$1}from'./chunk-KHM5KW53.js';import {a as a$4}from'./chunk-HIL3BWQJ.js';import {fb,gb,db,Lc,Ra,Sa,oc,q as q$1}from'./chunk-K4W2YD5I.js';import {q}from'./chunk-Q37PZZQR.js';import {T,gi,ii,hi,fi,mi,Mg,Dg,Lg,zj,Aj,rb,Qj,Tj,Rj,ik,sb,ta,sa,ak,h,Cg}from'./chunk-ISV4GUHO.js';import {a,b}from'./chunk-YRT7GXGY.js';import {useId,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {styled,Box,useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {motion}from'framer-motion';import {styled as styled$1,useTheme as useTheme$1}from'@mui/material/styles';import cr from'@mui/material/Box';var V=a((Sa,Ve)=>{var Xo=fb(),Qo=gb(),Yo=Qo(function(t,e,o){return e=e.toLowerCase(),t+(o?Xo(e):e)});Ve.exports=Yo;});var ct={ORDER:{label:"order",icon:fi,color:"#5E30EB"},SAVED_CARD:{label:"cardAgreement",icon:hi,color:"#76BB40"},SUBSCRIPTION:{label:"subscription",icon:ii,color:"#00C7BE"},INSTALLMENT:{label:"installment",icon:gi,color:"#32ADE6"}},mt={SAVED_TOKEN:{label:"savedToken",icon:T,color:"#76BB40"},COUNT:{label:"countBadge",icon:"countBadge",color:"#76BB40"}};styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.5)}));styled("img")(()=>({width:"35px",height:"16px",display:"block"}));styled("span")(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"14.67px",height:"10px"}));styled("img")(()=>({maxWidth:"100%",width:"100%"}));var ut=styled("span")(({theme:t})=>({fontSize:"11px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"2px 0",color:t.palette.text.primary})),ft=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingInline:"8px"}));function Wo({type:t,hasSavedCard:e,totalPaymentsCount:o,isTextShown:r}){let l=Lc(useId(),"agreement-icon"),s=useTheme(),{t:i}=useTranslation(),n=useMemo(()=>[...e?[mt.SAVED_TOKEN]:[],...(o||0)>0?[mt.COUNT]:[],...t&&ct[t]?[ct[t]]:[]],[e,o,t]),d=c=>r?jsx(b$1,{"data-testid":"AgreementCell_countBadge",children:jsx(a$1,{title:i("totalPaymentCount",{amount:q$1(o)}),children:jsx(ft,{children:jsxs(ut,{"data-testid":"AgreementCell_totalPaymentsCount",sx:{color:mt.COUNT.color},children:["x",o]})})})},c):jsx(d$1,{totalPaymentsCount:o,index:c},c),p=n.map((c,g)=>c.label==="countBadge"?d(g):jsx(a$1,{title:i(c.label),children:jsx(b$1,{children:r?jsx(ft,{children:jsx(ut,{"data-testid":"AgreementCell_agreementType",sx:{color:c.color},children:i(c.label)})}):jsx(a$2,{sx:{maxWidth:"16px",maxHeight:"16px",height:"auto",width:"auto"},src:c.icon,alt:"agreement"})},c.color)},c.color)),f=jsx(a$1,{title:"No agreement",children:jsx(b$1,{children:r?jsx(ft,{children:jsx(ut,{"data-testid":"AgreementCell_agreementType",sx:{color:s.palette.text.secondary},children:"No agreement"})}):jsx(a$2,{sx:{maxWidth:"24px",maxHeight:"24px",height:"auto",width:"auto"},src:mi,alt:"agreement"})},"no-agreement")},"no-agreement");return jsx(Box,{id:l,"data-testid":"AgreementIcon",sx:{display:"flex",alignItems:"center",gap:"4px"},children:p?.length>0?p:f})}var Te=Wo;var Ro=Te;styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)}));styled("img")(()=>({maxWidth:"36px",maxHeight:"24px"}));styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({theme:t,sourcesCount:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${e*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:t.palette.background.paper,borderRadius:"16px"}));var we=styled("span")(({theme:t})=>({fontSize:"11px",padding:"2px 0",color:t.palette.text.primary})),Pe=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingInline:"4px",textAlign:"center",width:"100%"}));styled("span")(({theme:t})=>({position:"absolute",left:0,zIndex:6,border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,width:"36px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"}));styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)}));var We=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px"}));var Bt={"3DS":{tooltip:"3DS",icon:Aj,borderColor:"rgba(31, 136, 208, 0.10)"},"Device Biometric":{tooltip:"Biometric",icon:zj,borderColor:"rgba(31, 136, 208, 0.10)"},"Non-3DS":{tooltip:"Non 3DS",icon:Lg,borderColor:"rgba(31, 136, 208, 0.10)"}},ve={FAILED:{tooltip:"Failed",icon:Dg,borderColor:"rgba(255, 61, 0, 0.10)"},REJECTED:{tooltip:"Rejected",icon:Mg,borderColor:"rgba(255, 61, 0, 0.10)"}};function Bo({transactionStatus:t,eci:e,authType:o,isTextShown:r}){let l=Lc(useId(),"auth-icons"),s=useMemo(()=>{let n=t?ve[t]:null,d=n?.tooltip,p=t==="AUTHENTICATED"?null:n?.icon;return [{tooltip:d,content:r?d:p,type:r?"text":"icon"},...o?[{tooltip:o,content:r?Bt[o]?.tooltip:Bt[o]?.icon,type:r?"text":"icon"}]:[],{tooltip:"",content:e?`ECI ${e}`:"",type:"text"}]},[t,r,o,e]),i=useMemo(()=>s.filter(n=>!!n.content).map((n,d)=>{let p=n.type==="text"?jsx(Pe,{"data-testid":"AuthenticationCell_BadgeTextWrapper",children:jsx(we,{sx:{border:"none"},"data-testid":"AuthenticationCell_TextLabel","data-source":n.content,children:n.content})}):jsx(a$2,{sx:{width:"16px",height:"16px"},src:n.content,alt:n.tooltip});return jsx(a$1,{title:n.tooltip,children:p},`${n.tooltip}-${d}`)}),[s]);return jsx(We,{id:l,"data-testid":"AuthIcons",children:i})}var ke=Bo;var Lo=(t,e,o)=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"},...t>0&&{opacity:0}},animate:{x:o?t*o:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"},boxShadow:e,...t>0&&{opacity:1}}});var Do=ke;var ot={VOID:{icon:Rj},CAPTURED:{icon:Qj}};var xt=styled$1(motion.div)(({theme:t,isCapture:e})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:t.spacing(.5),paddingInline:t.spacing(.3),paddingBlock:t.spacing(.3),height:"100%",minWidth:"100%",backgroundColor:e?"#eaf3fb":"#eeeeee",borderRadius:"56px",width:"fit-content",fontSize:"10px",color:t.palette.text.primary,position:"relative",zIndex:10})),gt=styled$1("div")(({theme:t,percentage:e,isCapture:o})=>({border:`0.6px ${[0,100].includes(e)?"solid":"dashed"} ${o?t.palette.info.dark:"#656565"}`,borderRadius:"80px",padding:t.spacing(.316),paddingLeft:t.spacing(.516),fontSize:"7px",fontWeight:t.typography.fontWeightBold,color:o?t.palette.info.dark:"#656565",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.5)})),It=styled$1("div")(({percentage:t,isCapture:e,theme:o})=>({background:`conic-gradient(${e?o.palette.info.dark:"#656565"} ${t}%, transparent 0.00%)`,borderRadius:"50%",width:"8.333px",height:"8.333px",border:`0.6px solid ${e?o.palette.info.dark:"#656565"}`})),Be=styled$1("img")({width:"14px",height:"14px"}),H=styled$1(o)({width:"16px",height:"16px"}),F=styled$1("img")({width:"16px",height:"16px"}),Le=styled$1(Box)({display:"flex",alignItems:"center",justifyContent:"center"});function ht(t){return t<5?5:t===100?95:t}function Fo({voidPercentage:t,capturePercentage:e$1,captureCount:o,autoType:r,captureAmount:l,voidAmount:s,currency:i,isTextShown:n,remainingAmount:d,isSheetViewShown:p,selectionProps:f={}}){let c=Number(e$1)+Number(t)===100||d<=0,g=Lc(useId(),"capture-auto-icon"),T=useTheme$1(),{t:w}=useTranslation(),P=Ra(d||0),D=useCallback(C=>`Auto ${C} - ${i} ${P.integerAmount}.${P.decimalAmount}`,[i,P.decimalAmount,P.integerAmount]),Q=useCallback(C=>{let Y=C==="Capture"?l:s,{integerAmount:E,decimalAmount:v}=Sa(Y,i);return `Partial ${C} - ${i} ${E}.${v}`},[l,s,i]),x=e$1>0?jsx(a$1,{title:Q("Capture"),children:jsxs(xt,{isCapture:true,isFullyUsed:c,whileHover:["animate","fadeIn"],animate:"start",variants:{animate:{boxShadow:T.shadows[4]}},children:[jsx(Be,{src:rb,alt:"captured"}),jsxs(motion.div,{style:{display:"none",alignItems:"center",justifyContent:"center",gap:"4px"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:[jsxs(gt,{isCapture:true,percentage:e$1,children:[e$1,"% ",jsx(It,{isCapture:true,percentage:ht(e$1)})]}),o>1&&jsxs(e,{compact:true,variant:"dark",children:[o,"x"]})]})]})}):r==="CAPTURED"&&!c?jsx(a$1,{title:D("Capture"),children:jsx(H,{children:jsx(F,{src:ot.CAPTURED?.icon,alt:"auto"})})}):jsx(a$1,{title:D("Capture"),children:jsx(H,{children:jsx(F,{src:ot.CAPTURED?.icon,alt:"auto"})})}),I=e$1===100?jsx(a$1,{title:w("captured"),children:jsx(Le,{children:jsx(F,{src:Tj,alt:"captured"})})}):x,W=useMemo(()=>p&&I?jsx(b$2,{chipIndex:4,copyText:w("captured"),selectionProps:f,children:w("captured")}):n&&I?jsx(k$1,{children:w("captured")}):I,[n,I,p,f]);return W&&jsx("div",{id:g,"data-testid":"CaptureAutoIcon",style:{zIndex:12},children:W})}var Ee=Fo;function Ko({voidPercentage:t,capturePercentage:e$1,voidCount:o,autoType:r,captureAmount:l$1,voidAmount:s,currency:i,isTextShown:n,isSheetViewShown:d,selectionProps:p={},remainingAmount:f}){let c=Number(e$1)+Number(t)===100||f<=0,g=Lc(useId(),"void-auto-icon"),T=useTheme$1(),{t:w}=useTranslation(),P=Ra(f||0),D=useCallback(C=>`Auto ${C} - ${i} ${P.integerAmount}.${P.decimalAmount}`,[i,P.decimalAmount,P.integerAmount]),Q=useCallback(C=>{let Y=C==="Capture"?l$1:s,{integerAmount:E,decimalAmount:v}=Sa(Y,i);return `Partial ${C} - ${i} ${E}.${v}`},[l$1,s,i]),x=t>1?jsx(a$1,{title:Q("Void"),children:jsxs(xt,{whileHover:["animate","fadeIn"],animate:"start",sx:{zIndex:14,background:T.palette.common.white,border:`0.75px solid ${T.palette.grey[600]}1A`},variants:{animate:{boxShadow:T.shadows[4]}},children:[jsxs(gt,{percentage:t,children:[t,"% ",jsx(It,{percentage:ht(t)})]}),o>0&&jsx(motion.div,{style:{alignItems:"center",justifyContent:"center",gap:"4px",width:0,display:"none"},initial:{width:0,opacity:0},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex"},fadeIn:{transition:{delay:.5},opacity:1}},children:jsxs(e,{compact:true,variant:"neutral",children:[o,"x"]})})]})}):r==="VOID"&&!c?jsx(a$1,{title:D("Void"),children:jsx(H,{children:jsx(F,{src:ot.VOID?.icon,alt:"auto"})})}):null,I=t===100?jsx(a$1,{title:w("void"),children:jsx(H,{children:jsx(F,{src:ik,alt:"void"})})}):x,W=useMemo(()=>d&&I?jsx(b$2,{chipIndex:5,copyText:w("void"),selectionProps:p,children:w("void")}):n&&I?jsx(l,{children:w("void")}):I,[n,I,d,p]);return W?jsx("div",{id:g,"data-testid":"VoidAutoIcon",style:{...!d&&{zIndex:11}},children:W}):null}var _e=Ko;var Jo=Ee;var Me=b(V(),1);var er=({authorizedStatus:t,isTextShown:e,iconStyles:o,tableMode:r,chipIndex:l=0,selectionProps:s={}})=>{let{t:i}=useTranslation(),n=useTheme$1(),d=i((0, Me.default)(t));return db(r)?jsx(b$2,{copyText:d,chipIndex:l,selectionProps:s,children:d}):jsx(a$1,{title:d,children:e?jsx(j,{"data-testid":"StatusCell_AuthorizedStatusLabel",sx:{color:n.palette.info.dark},children:d}):jsx(a$2,{src:f[t],alt:"authorized-icon","data-testid":"StatusCell_AuthorizedStatusIcon",sx:o})})};var k=b(V(),1);var Ne=styled$1(motion.span)(({theme:t})=>({color:t.palette.common.white,display:"block",fontWeight:t.typography.fontWeightBold,fontSize:"9.78px",borderRadius:"4px",paddingInline:t.spacing(.45)})),ze=styled$1(motion.span)(()=>({display:"block",width:"0",overflow:"hidden"})),Dt=styled$1("img")(()=>({width:"10px",height:"10px"})),Et=styled$1(motion.span)(({theme:t})=>({width:"18px",height:"18px",borderRadius:"50%",backgroundColor:t.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"relative"})),$t=styled$1(motion.div,{shouldForwardProp:t=>t!=="isVisible"})(({isVisible:t})=>({display:"flex",justifyContent:"center",alignItems:"center",gap:"4px",width:"0",overflow:"hidden",opacity:0,...!t&&{padding:"0 !important"}})),Ge=styled$1(motion.div)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start"})),Fe=styled$1(motion.span)(()=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minHeight:"24px",cursor:"pointer",borderRadius:"16px"})),Ue={delay:.2,ease:"easeIn",fadeIn:{duration:.2}},Oe={animate:{width:"auto",paddingRight:"4px",paddingLeft:"4px"},fadeIn:{opacity:1,transition:{delay:.7}}},je={animate:{width:"auto"},fadeIn:{opacity:1,transition:{delay:1}}},He={animate:{width:"auto",paddingRight:"8px",paddingLeft:"4px"}},_t={fadeIn:{duration:.3},animate:{duration:.1}},qe={fadeIn:{opacity:1}},Ke=styled$1(j)(()=>({width:"88px",height:"100%"})),Vt=styled$1(Box)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.25),height:"100%"}));function ir({chargeStatus:t,gatewayTooltip:e,acquirerTooltip:o$1,chargeTooltip:r,errorCode:l,isTextShown:s,gatewayCode:i,acquirerCode:n,unCapturedStyles:d,iconStyles:p$1,iconWrapperStyles:f,gatewayIconWrapperStyles:c,gatewayContainerStyles:g$1,gateWayIconStyles:T,showBadge:w=true,isSheetViewShown:P=false,selectionProps:D={},chipIndex:Q=0}){let x=t?b$3[t]:null,I=t?g[t]:null,W=useTheme$1(),{t:C}=useTranslation(),Y=Lc(useId(),"charge-status-icon"),E=r&&jsx(Fragment,{children:jsx("div",{children:r})}),v=o$1&&jsxs(Fragment,{children:[jsx("div",{children:"Acquirer"}),jsx("div",{children:o$1})]}),Z=e&&jsxs(Fragment,{children:[jsx("div",{children:"Gateway"}),jsx("div",{children:e})]}),Ft=t&&a$3[t]&&jsx("div",{"data-testid":"ChargeStatusIcon_ChargeIcon",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px",borderRadius:x?"50%":"",...f},children:jsx(p,{src:a$3[t],alt:"charge-icon","data-testid":"ChargeStatusIcon_StatusIcon",style:{borderRadius:x?"50%":"",width:"16px",height:"16px",...p$1}})});return P?jsxs(Vt,{children:[jsxs(b$2,{copyText:C((0, k.default)(t)),chipIndex:Q,selectionProps:D,children:[C((0, k.default)(t))," ",l]}),x&&jsxs(Fragment,{children:[i&&jsxs(b$2,{copyText:"Gateway",chipIndex:1,selectionProps:D,children:["Gateway ",i]}),n&&jsxs(b$2,{copyText:"Acquirer",chipIndex:2,selectionProps:D,children:["Acquirer ",n]})]})]}):s?jsxs(Vt,{children:[jsx(a$1,{title:E,children:jsxs(Ke,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, k.default)(t),sx:{background:x?.background||I?.background||"transparent",color:x?.color||I?.color||W.palette.info.dark,borderColor:`${x?.color||I?.color||W.palette.info.dark}1A`},children:[C((0, k.default)(t))," ",l]})}),x&&jsxs(Fragment,{children:[i&&jsx(a$1,{title:Z,children:jsxs(j,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, k.default)(t),sx:{background:x?.background||I?.background||"transparent",color:x?.color||I?.color||W.palette.info.dark},children:["Gateway ",i]})}),n&&jsx(a$1,{title:v,children:jsxs(j,{"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, k.default)(t),sx:{background:x?.background||I?.background||"transparent",color:x?.color||I?.color||W.palette.info.dark},children:["Acquirer ",n]})})]})]}):jsx(o,{id:Y,"data-testid":"ChargeStatusIcon_StatusIconWrapper",style:{...f},children:q?.includes(t||"")&&(E||v||Z)?jsxs(Fe,{"data-testid":"ChargeStatusIcon_UnCapturedContainer",whileHover:["animate","fadeIn"],style:{left:"0",...w&&{paddingInline:"12px",border:"1px solid #F2F2F2",borderRadius:"12px",backgroundColor:"#fff"},...d},children:[jsx(Ge,{"data-testid":"ChargeStatusIcon_UnCapturedBadge",sx:{borderRadius:"56px"},initial:{background:"transparent"},variants:{animate:{background:x?.background}},children:jsx(a$1,{title:E??C((0, k.default)(t)),children:jsxs(Fragment,{children:[Ft,jsx(ze,{"data-testid":"ChargeStatusIcon_ErrorCodeWrapper",transition:{animate:{duration:.05}},variants:He,style:{...l&&{padding:"0 !important"}},children:jsx(Ne,{"data-testid":"ChargeStatusIcon_ErrorCodeLabel",sx:{background:x?.color},transition:Ue,variants:qe,initial:{opacity:0},children:l})})]})})}),jsx($t,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:_t,variants:Oe,style:g$1,isVisible:!!Z,children:Z&&jsx(a$1,{title:Z,children:jsx(Et,{"data-testid":"ChargeStatusIcon_GatewayIconWrapper",style:{background:x?.background,...c},children:jsx(Dt,{src:x?.gatewayIcon,alt:"gateway-icon","data-testid":"ChargeStatusIcon_GatewayIcon",style:T})})})}),jsx($t,{"data-testid":"ChargeStatusIcon_GatewaysContainer",transition:_t,variants:je,style:g$1,isVisible:!!v,children:v&&jsx(a$1,{title:v,children:jsx(Et,{"data-testid":"ChargeStatusIcon_AcquirerIconWrapper",style:{background:x?.background,...c},children:jsx(Dt,{src:x?.acquirerIcon,alt:"acquirer-icon","data-testid":"ChargeStatusIcon_AcquirerIcon",style:T})})})})]}):jsx(a$1,{title:E??C((0, k.default)(t)),children:jsx(o,{children:Ft})})})}var lr=()=>{let{t}=useTranslation(),e=Lc(useId(),"customer-initiated-icon");return jsx(a$1,{title:t("merchantInitiated"),children:jsx("img",{id:e,"data-testid":"merchantInitiatedIcon",src:sb,alt:"merchant",style:{width:"16px",height:"16px"}})})};var dr={G:"Global",R:"Regional",L:"Local"},rt=({geographyVariant:t,countryCode:e,isTextShown:o})=>{let r=t?dr[t]:void 0,l=r||e?`${r||""} ${r&&e?"-":""} ${e?`Country - ${e}`:""}`:void 0;return o||!e?null:jsx(a$1,{title:l,children:jsx(a$4,{countryCode:e})})};var ur=({geographyVariant:t,isTextShown:e,deviceCountry:o,deviceType:r,tableMode:l})=>{let s=Lc(useId(),"device-icon-chip");return jsxs(cr,{id:s,"data-testid":"DeviceIconChip",sx:{display:"flex",gap:"8px",alignItems:"center",...db(l)&&{height:"18px"}},children:[jsx(rt,{geographyVariant:t,isTextShown:e,countryCode:o}),jsx(c,{type:r,isTextShown:e,tableMode:l})]})};var gr=({isDisputeOpen:t,iconStyles:e})=>{let o=Lc(useId(),"dispute-icon");return jsx(p,{id:o,"data-testid":"StatusCell_DisputeStatusIcon",sx:{width:"13.5px",height:"13.5px"},src:t?ta:sa,alt:"dispute-icon",style:e})};var Ze=styled$1(cr,{shouldForwardProp:t=>t!=="tableMode"})(({theme:t,tableMode:e})=>({display:"flex",gap:t.spacing(.5),...db(e)&&{height:"18px"},alignItems:"center"})),to=styled$1("span")(({theme:t})=>({fontSize:"10px",fontWeight:500,color:t.palette.text.primary}));function Nt({countryCode:t,isTextShown:e,cardNumber:o,bankName:r,tableMode:l}){let s=Lc(useId(),"issuer-icon"),i=o?.slice(0,4),n=o?.slice(-4);return jsxs(Ze,{id:s,"data-testid":"IssuerIcon",tableMode:l,children:[t&&jsx(rt,{countryCode:t,isTextShown:e}),jsx(a$1,{title:`${r?`Issuer - ${r}`:""}`,children:jsx(to,{children:`${i||""} ${n||""}`})})]})}var br=Nt;var eo=b(V(),1);styled(motion.div)(({theme:t,background:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(.5),paddingInline:t.spacing(.75),paddingBlock:t.spacing(.5),backgroundColor:e,height:"24px",width:"fit-content",borderRadius:"24px",fontSize:"10px",color:t.palette.text.primary}));var Mi=styled("img")(()=>({height:"13.125px",width:"12px"})),bt=styled("div")(()=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",width:"65px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4.5px 8px",borderRadius:"24px"})),Ni=styled("div")(({theme:t})=>({color:t.palette.common.white,background:t.palette.error.main,fontSize:"0.6rem",fontWeight:600,borderRadius:"16px",padding:"2px 8px",display:"flex",alignItems:"center",justifyContent:"center"})),zi=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px"}));var wr=({payoutStatus:t="PENDING",isTextShown:e,payoutTooltip:o,iconStyles:r,isSheetViewShown:l,chipIndex:s=0,selectionProps:i={}})=>{let{t:n}=useTranslation(),d=Lc(useId(),"payout-icon"),p$1=n((0, eo.default)(t)),f=o||p$1;return l?jsx(b$2,{chipIndex:s,copyText:p$1,selectionProps:i,children:p$1}):jsx(a$1,{title:f,children:e?jsx(bt,{id:d,"data-testid":"StatusCell_PayoutStatusLabel",children:p$1}):jsx(p,{id:d,src:e$1[t],alt:"settled-icon","data-testid":"StatusCell_PayoutStatusIcon",style:r})})};var no=b(V(),1);var oo=styled$1(motion.img)(()=>({width:"14px",height:"14px"})),ro=styled$1(motion.span)(({theme:t})=>({color:t.palette.common.white,borderRadius:t.spacing(.5),height:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"9.782px",fontWeight:600,backgroundColor:t.palette.secondary.main})),zt=styled$1(motion.div)(({theme:t})=>({height:"16px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:`${t.palette.secondary.main}1A`,paddingInline:t.spacing(.5),borderRadius:"56px"}));var ep=styled$1(motion.span)(({isTextShown:t,theme:e})=>({border:`1px solid ${e.palette.divider}`,borderRadius:"12px",backgroundColor:e.palette.background.paper,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",minWidth:t?"auto":"36px",...t&&{border:"none"}})),op=styled$1(motion.div,{shouldForwardProp:t=>t!=="statusesCount"})(({statusesCount:t})=>({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",minWidth:`${t*6+36}px `,minHeight:"24px",cursor:"pointer",borderRadius:"16px"})),rp=styled$1(motion.div)(()=>({display:"flex",gap:"4px",justifyContent:"flex-start",alignItems:"center",position:"relative",width:"100%",overflow:"visible"}));var Rr=({isTextShown:t,refundStatus:e="PENDING",refundTooltip:o="",refundCount:r,iconStyles:l,isSheetViewShown:s,chipIndex:i=0,selectionProps:n={}})=>{let{t:d$1}=useTranslation(),p$1=useTheme$1(),f=Lc(useId(),"refund-icon"),c=(r||0)>1,g=d$1((0, no.default)(e));if(s)return jsxs(b$2,{chipIndex:i,selectionProps:n,copyText:g,children:[g," ",c?`${r}x`:null]});let T=jsxs(ro,{"data-testid":"StatusCell_RefundsCountBadge",initial:{width:0,opacity:0,padding:"0px"},transition:{animate:{duration:.5},fadeIn:{duration:.2}},variants:{animate:{width:"auto",display:"flex",padding:"1.285px 2.569px"},fadeIn:{transition:{delay:.5},opacity:1}},children:[r,"x"]});return t?jsx(a$1,{title:jsx("div",{children:jsx("div",{children:o})}),children:jsx(bt,{id:f,"data-testid":"StatusCell_RefundStatusLabel",sx:{color:d[e].color,backgroundColor:d[e].backgroundColor,width:"90px"},children:jsxs(zt,{whileInView:c?["animate","fadeIn"]:void 0,variants:{animate:{boxShadow:p$1.shadows[4],gap:p$1.spacing(.5)}},children:[g," ",c?T:null]})})}):jsx(a$1,{title:jsx("div",{children:jsx("div",{children:o})}),children:c?jsxs(zt,{id:f,whileHover:["animate","fadeIn"],animate:"start",variants:{animate:{boxShadow:p$1.shadows[4],gap:p$1.spacing(.5)}},children:[jsx(oo,{src:ak,alt:"multi-refunded-icon","data-testid":"StatusCell_MultiRefundIcon"}),T]}):jsx(p,{id:f,src:c$1[e],alt:"refunded-icon","data-testid":"StatusCell_RefundStatusIcon",style:l})})},ao=Rr;var kr=ao;var Pt=b(V(),1);var Br={american_express:"AMEX",debit:"card",credit:"card"},L=t=>Br[t?.toLowerCase()||""]||t;var co=b(V(),1);styled("span")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:t.spacing(1)}));var io=styled("img")(()=>({maxWidth:"24px",maxHeight:"16px"}));styled(motion.span,{shouldForwardProp:t=>t!=="sourcesCount"})(({theme:t,sourcesCount:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",position:"absolute",minWidth:`${e*6+36}px `,minHeight:"24px",cursor:"pointer",backgroundColor:t.palette.background.paper,borderRadius:"16px"}));var po=styled("span")(({theme:t})=>({fontSize:"11px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"2px 0",color:t.palette.text.primary})),so=styled("div")(()=>({display:"flex",alignItems:"center",justifyContent:"center",paddingInline:"8px",textAlign:"center",width:"100%"}));styled("span")(({theme:t})=>({position:"absolute",left:0,zIndex:6,border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,width:"36px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"}));var lo=styled("span")(({theme:t})=>({fontSize:"10px",fontWeight:500,color:t.palette.text.primary}));function wt({source:t,isTextShown:e,title:o,width:r,height:l,imgSx:s}){let{t:i}=useTranslation(),n=h(t);return jsx(a$1,{title:o,children:e?jsx(so,{"data-testid":"SourceCell_BadgeTextWrapper",children:jsx(po,{"data-testid":"SourceCell_TextLabel","data-source":t,children:i((0, co.default)(t))})}):jsx(io,{src:n,alt:t,width:r,height:l,onError:d=>{d.currentTarget.src=h("card");},sx:s})})}function Mr({payment:t,card:e,isTextShown:o,firstIcon:r}){let l=Lc(useId(),"source-icons"),{t:s}=useTranslation(),i=useCallback(()=>{let p=[],f=oc(t),c=t?.method,g=t?.scheme;return L(c)?.toLowerCase()===L(g)?.toLowerCase()?p.push(L(c),L(f)):p.push(L(c),L(f),L(g)),p},[t]),n=useMemo(()=>jsx(wt,{source:r,isTextShown:o,title:s((0, Pt.default)(r))},r),[r,o,s]),d=useMemo(()=>i()?.filter(p=>!!p&&p!==r)?.map((p,f,c)=>{let g=t?.wallet===s("sv_wallet")?s("storedValueWallet"):s("passThruWallet"),T=f===c.length-1&&e?.last_four?`${s((0, Pt.default)(p))} - ${e?.last_four}`:s((0, Pt.default)(p));return jsx(wt,{source:p,isTextShown:o,title:f===0&&p==="Wallet"?g:T},`${p}-${f}`)}),[i,t,e,o,s,r]);return jsxs(Box,{id:l,"data-testid":"SourceIcons",display:"flex",alignItems:"center",gap:.5,children:[r&&n,d,e?.last_four&&jsxs(lo,{children:["\xB7\xB7\xB7 ",e?.last_four]})]})}var at={PROCESSED:Cg,FAILED:""};var xo=styled("span")(({theme:t})=>({fontSize:"11px",padding:"2px 0",color:t.palette.text.primary})),go=styled("img")(()=>({width:"16px",height:"16px"})),Io=styled("span")(()=>({width:"24px",height:"24px",borderRadius:"50%",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}));var Wt=b(V(),1);function ho({status:t,isTextShown:e,isSheetViewShown:o,chipIndex:r=0,selectionProps:l={}}){let s=useTheme(),{t:i}=useTranslation(),n=Lc(useId(),"destination-icon"),d=i((0, Wt.default)(t));return o&&at[t]?jsx(b$2,{copyText:d,chipIndex:r,selectionProps:l,children:d}):e&&at[t]?jsx(xo,{id:n,"data-testid":"ChargeStatusIcon_isTextShown","data-status":(0, Wt.default)(t),sx:{background:"#1F88D00D",color:t==="PROCESSED"?s.palette.info.dark:s.palette.common.black},children:d}):jsx(Io,{id:n,"data-testid":"DestinationIcon",className:"destination-status",children:t&&at[t]&&jsx(a$1,{title:i((0, Wt.default)(t)),children:jsx(go,{src:at[t],alt:"destination-icon"})})})}export{ep as a,op as b,rp as c,Ro as d,Lo as e,Do as f,_e as g,Jo as h,V as i,er as j,ir as k,lr as l,rt as m,ur as n,gr as o,br as p,Mi as q,Ni as r,zi as s,wr as t,kr as u,L as v,wt as w,Mr as x,ho as y};
@@ -1,34 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { SliderProps } from '../../primitives/Slider';
4
- import type { InputFeedbackProps } from '../../primitives/InputFeedback';
5
- export interface AmountSliderProps extends SliderProps {
6
- /** Currency code for display (e.g., 'KWD', 'USD') */
7
- currency?: string;
8
- /** Field label */
9
- label?: ReactNode;
10
- /** Label for minimum value */
11
- minLabel?: ReactNode;
12
- /** Label for maximum value */
13
- maxLabel?: ReactNode;
14
- /**
15
- * Rich feedback panel rendered flush below the input.
16
- * Adjusts the input border colour and radius to connect visually.
17
- */
18
- feedback?: InputFeedbackProps | null;
19
- /** Custom formatter for displaying values */
20
- formatValue?: (value: number) => string;
21
- /** Hide currency display */
22
- hideCurrency?: boolean;
23
- /** Stretches the field to 100% of its container */
24
- fullWidth?: boolean;
25
- /** MUI sx style overrides for the root wrapper */
26
- sx?: SxProps<Theme>;
27
- }
28
- /**
29
- * Complete amount slider field with currency display, value formatting, and feedback.
30
- * Combines Slider primitive with currency flag, formatted value display, and range labels.
31
- * Supports rich feedback messages and custom value formatting.
32
- */
33
- declare const AmountSlider: import("react").NamedExoticComponent<AmountSliderProps>;
34
- export default AmountSlider;
@@ -1,2 +0,0 @@
1
- export { default } from './AmountSlider';
2
- export type { AmountSliderProps } from './AmountSlider';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { AutocompleteProps, AutocompleteOption } from './type';
3
- declare const Autocomplete: <T = AutocompleteOption>(props: AutocompleteProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
4
- export default Autocomplete;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- /** Small circular stroke loader (e.g. menu search / autocomplete loading adornment). */
3
- declare const LoadingIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4
- export default LoadingIcon;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3
- export default SearchIcon;
@@ -1,2 +0,0 @@
1
- export { default as SearchIcon } from './SearchIcon';
2
- export { default as LoadingIcon } from './LoadingIcon';
@@ -1,2 +0,0 @@
1
- export { default } from './Autocomplete';
2
- export type { AutocompleteProps, AutocompleteOption } from './type';
@@ -1,83 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Theme } from '@mui/material/styles';
3
- /** Styled Popper matching FormSelect dropdown styling */
4
- export declare const StyledAutocompletePopper: import("@emotion/styled").StyledComponent<import("@mui/material/Popper").PopperProps & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
5
- /** In-menu search field loading spinner wrapper (Select + searchable listbox). */
6
- export declare const FormSelectMenuSearchLoadingRoot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
8
- }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
9
- /** Search glyph wrapper for searchable autocomplete popup indicator. */
10
- export declare const FormSelectSearchablePopupIconRoot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<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<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
13
- /** Autocomplete TextField with custom styling for floating label and feedback support */
14
- export declare const StyledAutocompleteTextField: import("@emotion/styled").StyledComponent<{
15
- variant?: import("@mui/material/TextField").TextFieldVariants | undefined;
16
- } & Omit<import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
17
- /**
18
- * Autocomplete TextField sx generator with feedback support
19
- * Handles dynamic styles including label color on error and padding based on label
20
- */
21
- export declare const getAutocompleteTextFieldSx: (theme: Theme, options: {
22
- label?: string;
23
- isError?: boolean;
24
- feedbackSx?: Record<string, unknown>;
25
- }) => {
26
- backgroundColor: string;
27
- border: string;
28
- '& .MuiOutlinedInput-root': {
29
- height: number;
30
- backgroundColor: string;
31
- border: string;
32
- borderRadius: string;
33
- '& fieldset': {
34
- border: string;
35
- };
36
- '&:hover fieldset': {
37
- border: string;
38
- };
39
- '&.Mui-focused fieldset': {
40
- border: string;
41
- };
42
- '&:hover': {
43
- borderColor: string;
44
- };
45
- '&.Mui-focused': {
46
- boxShadow: string;
47
- };
48
- };
49
- '& .MuiOutlinedInput-input': {
50
- fontFamily: import("csstype").Property.FontFamily | undefined;
51
- fontSize: string;
52
- fontWeight: number;
53
- lineHeight: string;
54
- letterSpacing: string;
55
- padding: string;
56
- color: string;
57
- '&::placeholder': {
58
- color: string;
59
- opacity: number;
60
- fontFamily: import("csstype").Property.FontFamily | undefined;
61
- fontSize: string;
62
- fontWeight: number;
63
- lineHeight: string;
64
- };
65
- };
66
- '& .MuiFormLabel-root': {
67
- fontSize: string;
68
- fontWeight: number;
69
- color: string;
70
- transform: string;
71
- transformOrigin: string;
72
- transition: string;
73
- };
74
- '& .MuiFormLabel-root.MuiInputLabel-shrink': {
75
- transform: string;
76
- color: string;
77
- };
78
- '& .MuiAutocomplete-endAdornment': {
79
- position: string;
80
- right: string;
81
- marginRight: string;
82
- };
83
- };
@@ -1,81 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { InputFeedbackProps } from '../../primitives/InputFeedback/type';
4
- export interface AutocompleteOption {
5
- label?: string;
6
- value?: string | number;
7
- disabled?: boolean;
8
- [key: string]: unknown;
9
- }
10
- /**
11
- * Props for Autocomplete — a single-select field with autocomplete/typing support.
12
- * Similar to FormSelect's searchable prop but styled to match Select composite.
13
- * Users can type to search and filter options from a dropdown menu.
14
- *
15
- * **Value handling:** `value` and `onChange` work with primitive identifiers (strings),
16
- * not full option objects. This provides better integration with form libraries.
17
- */
18
- export interface AutocompleteProps<T = AutocompleteOption> {
19
- /** Visible label rendered above the input */
20
- label?: string;
21
- /** Plain helper text shown below when no feedback is supplied */
22
- helperText?: ReactNode;
23
- /**
24
- * Rich feedback panel rendered flush below the input.
25
- * Adjusts the input border colour and radius to connect visually.
26
- * Takes priority over `helperText` when both are supplied.
27
- */
28
- feedback?: InputFeedbackProps | null;
29
- /** Marks the input border as error state */
30
- error?: boolean;
31
- /** Styling for the field root wrapper */
32
- sx?: SxProps<Theme>;
33
- /** List of options to populate the dropdown */
34
- options?: T[];
35
- /** Currently selected value — a primitive identifier string (not the full option object) */
36
- value?: string | null;
37
- /** Called with the selected value as a primitive identifier string (or `null` when cleared) */
38
- onChange?: (value: string | null) => void;
39
- /** Returns the display string for an option row */
40
- getOptionLabel?: (option: T) => string;
41
- /** Extracts the primitive identifier (value) from an option. Defaults to `option.value` then `option.id` */
42
- getOptionValue?: (option: T) => string;
43
- /** Custom renderer for each option row in the dropdown */
44
- renderOption?: (option: T) => ReactNode;
45
- /** Custom equality check: compares option's value with current selected value */
46
- isOptionEqualToValue?: (option: T, value: string) => boolean;
47
- /** When it returns `true` the option is rendered but not selectable */
48
- getOptionDisabled?: (option: T) => boolean;
49
- /** Placeholder text shown when no option is selected */
50
- placeholder?: string | null;
51
- /** When true, shows a ✕ to clear the selection */
52
- clearable?: boolean;
53
- /** Called when the ✕ is clicked */
54
- onClear?: () => void;
55
- /** When true, shows a skeleton loader inside the dropdown */
56
- loading?: boolean;
57
- /** Whether the field is disabled */
58
- disabled?: boolean;
59
- /** Stretches the input to 100% of its container */
60
- fullWidth?: boolean;
61
- /** Callback when the search input value changes */
62
- onSearchInputChange?: (value: string) => void;
63
- /** Text shown when no options match the search */
64
- noOptionsText?: string;
65
- /** Text shown while options are loading */
66
- loadingText?: string;
67
- /** Delay (ms) before triggering search - useful for API calls */
68
- searchDebounceMs?: number;
69
- /**
70
- * Custom search icon component. Renders in the end adornment (right side of input) when user types and loading is false.
71
- * Always visible, not clickable, purely decorative.
72
- * @default SearchIcon
73
- */
74
- searchIcon?: ReactNode;
75
- /**
76
- * Custom loading icon component. Renders in the end adornment (right side of input) when loading is true.
77
- * Always visible, not clickable, purely decorative.
78
- * @default LoadingIcon (animated spinner)
79
- */
80
- loadingIcon?: ReactNode;
81
- }
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import type { IconProps } from '../../primitives/Icon';
3
- export interface CountryFlagProps extends Omit<IconProps, 'src'> {
4
- /** ISO 3166-1 alpha-2 country code (e.g. `"SA"`) used to resolve the flag image */
5
- countryCode?: string;
6
- /** ISO 4217 currency code (e.g. `"SAR"`) used as a fallback for flag resolution */
7
- currencyCode?: string;
8
- /** Width of the flag image in pixels (height scales proportionally) */
9
- width?: number;
10
- }
11
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Readonly<CountryFlagProps> & import("react").RefAttributes<HTMLImageElement>>>;
12
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default } from './CountryFlag';
2
- export type { CountryFlagProps } from './CountryFlag';
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type { GroupedSelectProps } from './type';
3
- declare const GroupedSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Readonly<GroupedSelectProps> & import("react").RefAttributes<HTMLDivElement>>>;
4
- export default GroupedSelect;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { GroupedSelectTriggerProps } from '../type';
3
- declare const GroupedSelectTrigger: React.MemoExoticComponent<React.ForwardRefExoticComponent<Readonly<GroupedSelectTriggerProps> & React.RefAttributes<HTMLDivElement>>>;
4
- export default GroupedSelectTrigger;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export default function SelectedCheckIcon(): import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- export { default } from './GroupedSelect';
2
- export type { GroupedSelectProps, GroupedSelectTriggerProps, GroupedOption, OptionGroup } from './type';
@@ -1,31 +0,0 @@
1
- /// <reference types="react" />
2
- import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { AccordionSlotProps } from '../../primitives/Accordion';
4
- export { FloatingLabel } from '../../primitives/FormField';
5
- export declare const GroupMenuWrapper: 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
- export declare function getPopoverSlotProps(paperWidth: number | undefined): {
9
- readonly paper: {
10
- readonly sx: {
11
- readonly width: number | undefined;
12
- readonly maxWidth: "unset";
13
- readonly boxSizing: "border-box";
14
- readonly borderRadius: "4px";
15
- readonly backgroundColor: "common.white";
16
- readonly mt: "4px";
17
- readonly boxShadow: "-26px 156px 44px 0px rgba(0,0,0,0.00), -17px 100px 41px 0px rgba(0,0,0,0.01), -9px 56px 34px 0px rgba(0,0,0,0.05), -4px 25px 25px 0px rgba(0,0,0,0.09), -1px 6px 14px 0px rgba(0,0,0,0.10), 0px 0px 0px 0px rgba(0,0,0,0.10)";
18
- };
19
- };
20
- };
21
- export declare function getGroupAccordionSlotProps(isExpanded: boolean): AccordionSlotProps;
22
- export declare const OptionItem: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
23
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
24
- }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme> & {
25
- $selected?: boolean | undefined;
26
- }, {}, {}>;
27
- /** Returns the base sx for the SelectRoot trigger inside GroupedSelectTrigger. */
28
- export declare function getGroupedTriggerSelectSx({ size, hasLabel }: {
29
- size: 'sm' | 'md' | 'lg';
30
- hasLabel: boolean;
31
- }): SxProps<Theme>;
@@ -1,80 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { InputFeedbackProps } from '../../primitives/InputFeedback';
4
- import type { SelectSize } from '../../primitives/SelectBase/type';
5
- /** A single option inside a group. */
6
- export interface GroupedOption {
7
- /** Unique string key used for selection comparison. */
8
- value: string;
9
- /** Display label shown in the trigger and option row. */
10
- label: string;
11
- }
12
- /** One collapsible group of options. */
13
- export interface OptionGroup {
14
- /** Group header text shown in the AccordionSummary. */
15
- label: string;
16
- options: GroupedOption[];
17
- }
18
- /** Props for the bare GroupedSelect trigger control (internal use only). */
19
- export interface GroupedSelectTriggerProps {
20
- /** Currently selected value — a primitive identifier string (not the full option object), or null when empty */
21
- value?: string | null;
22
- /** Called when the user picks an option, passing the selected value as a primitive identifier string */
23
- onChange?: (value: string) => void;
24
- /** Grouped option data rendered as accordion sections. */
25
- groups: OptionGroup[];
26
- /** Placeholder text shown when no option is selected. */
27
- placeholder?: string | null;
28
- disabled?: boolean;
29
- /** Shows a loading spinner in place of the chevron and disables the trigger. */
30
- loading?: boolean;
31
- /** Shows error border on the trigger. */
32
- error?: boolean;
33
- /** Height variant — matches Select size tokens. */
34
- size?: SelectSize;
35
- /**
36
- * @internal
37
- * When true the trigger height increases to 40 px to leave room for a
38
- * floating label rendered by the parent `GroupedSelect` (composite).
39
- */
40
- hasLabel?: boolean;
41
- /**
42
- * Custom renderer for an option row.
43
- * Receives the option and whether it is currently selected.
44
- */
45
- renderOption?: (option: GroupedOption, isSelected: boolean) => ReactNode;
46
- /**
47
- * Custom equality check: compares option's value with the current selected value string.
48
- * Defaults to `option.value === value`.
49
- */
50
- isOptionEqualToValue?: (option: GroupedOption, value: string) => boolean;
51
- /** Index of the accordion group that starts expanded. Defaults to 0. */
52
- defaultExpandedGroup?: number | null;
53
- sx?: SxProps<Theme>;
54
- /**
55
- * @internal
56
- * Extra styles forwarded directly to the inner `SelectRoot` trigger element.
57
- * Used by the `GroupedSelect` composite to apply `feedbackSx` (border / radius
58
- * overrides) without creating a double-border with the outer container.
59
- */
60
- selectSx?: SxProps<Theme>;
61
- fullWidth?: boolean;
62
- /** Called when the dropdown popover opens. */
63
- onOpen?: () => void;
64
- /** Called when the dropdown popover closes. */
65
- onClose?: () => void;
66
- }
67
- /** Props for the full `GroupedSelect` field (trigger + floating label + feedback). */
68
- export interface GroupedSelectProps extends GroupedSelectTriggerProps {
69
- /** Visible label rendered above the select. */
70
- label?: string;
71
- /** Plain helper text shown below when no feedback is supplied. */
72
- helperText?: ReactNode;
73
- /**
74
- * Rich feedback panel rendered flush below the select.
75
- * Takes priority over `helperText` when both are supplied.
76
- */
77
- feedback?: InputFeedbackProps | null;
78
- /** Styling for the field root wrapper. */
79
- fieldSx?: SxProps<Theme>;
80
- }
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import type { MultiSelectProps } from '../../primitives/MultiSelectBase';
3
- import type { SelectOption } from '../../primitives/SelectBase';
4
- declare const MultiSelect: <T = SelectOption>(props: MultiSelectProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
5
- export default MultiSelect;
@@ -1,2 +0,0 @@
1
- export { default } from './MultiSelect';
2
- export type { MultiSelectProps } from '../../primitives/MultiSelectBase';
@@ -1 +0,0 @@
1
- export { FloatingLabel } from '../../primitives/FormField';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { NestedMultiSelectProps, NestedOption } from './type';
3
- declare const NestedMultiSelect: React.ForwardRefExoticComponent<Readonly<NestedMultiSelectProps<NestedOption>> & React.RefAttributes<HTMLDivElement>>;
4
- export default NestedMultiSelect;
@@ -1,2 +0,0 @@
1
- export { default } from './NestedMultiSelect';
2
- export type { NestedMultiSelectProps, NestedOption, TreeNode, NestedSubGroup } from './type';
@@ -1,47 +0,0 @@
1
- /// <reference types="react" />
2
- export { FloatingLabel } from '../../primitives/FormField';
3
- /**
4
- * The outer trigger box — matches the old TriggerWrapper exactly:
5
- * grey[400] background, grey[100] border, 4px radius, column-flex, relative for arrow.
6
- */
7
- export declare const TriggerBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
10
- $open?: boolean | undefined;
11
- $disabled?: boolean | undefined;
12
- $error?: boolean | undefined;
13
- }, {}, {}>;
14
- export declare const TriggerLabel: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
17
- export declare const PlaceholderText: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
20
- export declare const TriggerArrow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
22
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
23
- export declare const BadgesWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
24
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
25
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
26
- export declare const Badge: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
27
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
28
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
29
- maxWidth?: number | undefined;
30
- }, {}, {}>;
31
- /**
32
- * Mirrors old Container: flex column, 4px gap, 4px padding.
33
- */
34
- export declare const MenuContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
35
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
36
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
37
- export declare const MenuSearchInput: import("@emotion/styled").StyledComponent<import("@mui/material/Input").InputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
38
- export declare const MenuItemRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
39
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
40
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
41
- $selected?: boolean | undefined;
42
- }, {}, {}>;
43
- export declare const LeafItemRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
44
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
45
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
46
- $selected?: boolean | undefined;
47
- }, {}, {}>;
@@ -1,92 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { SxProps, Theme } from '@mui/material/styles';
3
- import type { InputFeedbackProps } from '../../primitives/InputFeedback';
4
- import type { SelectSize } from '../../primitives/SelectBase/type';
5
- /**
6
- * A leaf option that can be selected. The only required fields are a unique key
7
- * and a display label — use `getOptionValue` / `getOptionLabel` to map your own
8
- * object shape.
9
- */
10
- export interface NestedOption {
11
- label: string;
12
- value: string;
13
- [key: string]: unknown;
14
- }
15
- /**
16
- * A node in the option tree. It is either:
17
- * - A **branch** node: has `children` (array of TreeNode) but no `value` — rendered as a hoverable row with a fly-out
18
- * - A **leaf** node: has `value` (selectable option) — rendered as a checkbox row
19
- */
20
- export interface TreeNode<T extends NestedOption = NestedOption> {
21
- /** Display label for this node (shown in the row). */
22
- label: string;
23
- /**
24
- * Child nodes. When present this is a branch; when absent/empty this is a leaf.
25
- * Branches open a fly-out menu on hover.
26
- */
27
- children?: TreeNode<T>[];
28
- /**
29
- * Unique key for this leaf option. When present (even with children absent) this node
30
- * is treated as a leaf and can be selected/deselected.
31
- */
32
- value?: string;
33
- /** Any extra fields on the option object — forwarded to renderOption/getOptionLabel. */
34
- [key: string]: unknown;
35
- }
36
- /** @deprecated Use TreeNode instead. Will be removed in a future release. */
37
- export type NestedSubGroup<T extends NestedOption = NestedOption> = TreeNode<T>;
38
- export interface NestedMultiSelectProps<T extends NestedOption = NestedOption> {
39
- /**
40
- * Nested option tree — supports arbitrary depth via recursive TreeNode structure.
41
- * Branch nodes (with `children`) open fly-out menus; leaf nodes (with `value`) are selectable.
42
- */
43
- nodes?: TreeNode<T>[];
44
- /** Currently selected option values (controlled) — array of primitive identifiers (strings), not full option objects. */
45
- value?: string[];
46
- /** Called with the updated selection of primitive identifiers whenever an option is toggled. */
47
- onChange?: (selected: string[]) => void;
48
- /** Returns the display string for an option. Defaults to `option.label`. */
49
- getOptionLabel?: (option: T) => string;
50
- /** Returns the unique key for an option. Defaults to `option.value`. */
51
- getOptionValue?: (option: T) => string;
52
- /** Custom renderer for a leaf option row inside the fly-out leaf panel. */
53
- renderOption?: (option: T, isSelected: boolean) => ReactNode;
54
- /**
55
- * When true (default), shows a search input inside the popover.
56
- * Filters leaf options by the string returned from `getOptionLabel`.
57
- */
58
- searchable?: boolean;
59
- /** Placeholder for the in-popover search input. @default 'Search' */
60
- searchPlaceholder?: string | null;
61
- /** Floating label rendered above the trigger. */
62
- label?: string;
63
- /** Placeholder shown in the trigger when nothing is selected. */
64
- placeholder?: string | null;
65
- /** Plain helper text shown below when no feedback is supplied. */
66
- helperText?: string;
67
- /**
68
- * Rich feedback panel rendered flush below the trigger.
69
- * Takes priority over `helperText` when both are supplied.
70
- */
71
- feedback?: InputFeedbackProps | null;
72
- /** Marks the field as error state. */
73
- error?: boolean;
74
- disabled?: boolean;
75
- /** Loading spinner replaces the search icon while options are being fetched. */
76
- loading?: boolean;
77
- /**
78
- * How many selected badges to show in the trigger before collapsing to "+N".
79
- * @default 2
80
- */
81
- maxBadges?: number;
82
- /** Height variant — matches other v2 select size tokens. */
83
- size?: SelectSize;
84
- /** Stretches the trigger to 100 % of its container. */
85
- fullWidth?: boolean;
86
- /** Styling for the outer field root wrapper. */
87
- sx?: SxProps<Theme>;
88
- /** Styling overrides for the select trigger control. */
89
- triggerSx?: SxProps<Theme>;
90
- onOpen?: () => void;
91
- onClose?: () => void;
92
- }