@tap-payments/os-micro-frontend-shared 0.1.441 → 0.1.442
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/AccordionAdapter/AccordionAdapter.js +23 -0
- package/build/components/AccordionAdapter/index.js +2 -1
- package/build/components/AccordionAdapter/style.js +38 -0
- package/build/components/AccountDropdown/Dropdown.js +17 -0
- package/build/components/AccountDropdown/index.js +2 -1
- package/build/components/AccountDropdown/style.js +26 -0
- package/build/components/ActionMenu/ActionMenu.js +101 -0
- package/build/components/ActionMenu/ActionMenuDropDown.js +24 -0
- package/build/components/ActionMenu/ActionMenuItem.js +20 -0
- package/build/components/ActionMenu/index.js +4 -0
- package/build/components/ActionMenu/style.js +179 -0
- package/build/components/ActionMenu/type.js +1 -0
- package/build/components/ActivityAreaChart/ActivityAreaChart.js +43 -0
- package/build/components/ActivityAreaChart/components/ChartTooltip.js +24 -0
- package/build/components/ActivityAreaChart/components/LoadingChart.js +18 -0
- package/build/components/ActivityAreaChart/components/index.js +2 -0
- package/build/components/ActivityAreaChart/index.js +4 -1
- package/build/components/ActivityAreaChart/styles.js +46 -0
- package/build/components/ActivityAreaChart/types.js +1 -0
- package/build/components/ActivityAreaChart/utils.js +27 -0
- package/build/components/Amount/TotalAmount/Loading.js +9 -0
- package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
- package/build/components/Amount/TotalAmount/index.js +1 -0
- package/build/components/Amount/TotalAmount/style.js +26 -0
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountConversionFilter/style.js +47 -0
- package/build/components/AmountInput/AmountInput.js +44 -0
- package/build/components/AmountInput/index.js +2 -1
- package/build/components/AmountInput/style.js +30 -0
- package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
- package/build/components/AmountStatusChip/index.js +2 -1
- package/build/components/AmountStatusChip/style.js +13 -0
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
- package/build/components/AnimatedSpinnerIcon/index.js +2 -1
- package/build/components/AnimatedSpinnerIcon/style.js +8 -0
- package/build/components/AppServices/AppServices.js +82 -0
- package/build/components/AppServices/ServiceItem.js +36 -0
- package/build/components/AppServices/index.js +2 -1
- package/build/components/AppServices/style.js +33 -0
- package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +44 -0
- package/build/components/AppServicesActionMenu/ServicesSubmenu.js +12 -0
- package/build/components/AppServicesActionMenu/index.js +3 -1
- package/build/components/AppServicesActionMenu/style.js +45 -0
- package/build/components/AppServicesActionMenu/types.js +1 -0
- package/build/components/AppServicesBar/AppServicesBar.js +18 -0
- package/build/components/AppServicesBar/index.js +3 -1
- package/build/components/AppServicesBar/style.js +6 -0
- package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +82 -0
- package/build/components/AppWindowWrapper/AppWindow/constant.js +6 -0
- package/build/components/AppWindowWrapper/AppWindow/index.js +4 -0
- package/build/components/AppWindowWrapper/AppWindow/style.js +77 -0
- package/build/components/AppWindowWrapper/AppWindow/type.js +1 -0
- package/build/components/AppWindowWrapper/AppWindowWrapper.js +22 -0
- package/build/components/AppWindowWrapper/context/Provider.js +71 -0
- package/build/components/AppWindowWrapper/context/context.js +30 -0
- package/build/components/AppWindowWrapper/context/index.js +2 -0
- package/build/components/AppWindowWrapper/context/type.js +1 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +31 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +10 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +2 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.js +1 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +3 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/type.js +1 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +23 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +20 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +4 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.js +1 -0
- package/build/components/AppWindowWrapper/index.js +7 -1
- package/build/components/AppWindowWrapper/type.js +1 -0
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
- package/build/components/AuthenticationTypeChip/constants.js +13 -0
- package/build/components/AuthenticationTypeChip/index.js +2 -1
- package/build/components/Autocomplete/Autocomplete.js +33 -0
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/Autocomplete/style.js +47 -0
- package/build/components/BackgroundAnimation/BackgroundAnimation.js +52 -0
- package/build/components/BackgroundAnimation/Blob/Blob.js +34 -0
- package/build/components/BackgroundAnimation/Blob/index.js +2 -0
- package/build/components/BackgroundAnimation/Blob/type.js +1 -0
- package/build/components/BackgroundAnimation/index.js +3 -1
- package/build/components/BetaBanner/BetaBanner.js +5 -0
- package/build/components/BetaBanner/index.js +2 -1
- package/build/components/BetaBanner/style.js +18 -0
- package/build/components/BrandLogo/BrandLogo.js +35 -0
- package/build/components/BrandLogo/Loading.js +3 -0
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/Button.js +19 -0
- package/build/components/Button/PlusButton/PlusButton.js +21 -0
- package/build/components/Button/PlusButton/index.js +2 -0
- package/build/components/Button/StyledButton/StyledButton.js +20 -0
- package/build/components/Button/StyledButton/index.js +2 -0
- package/build/components/Button/StyledButton/style.js +13 -0
- package/build/components/Button/index.js +4 -1
- package/build/components/Button/style.js +23 -0
- package/build/components/Calender/Calender.js +71 -0
- package/build/components/Calender/index.js +2 -1
- package/build/components/Calender/style.js +171 -0
- package/build/components/CardEmptyState/CardEmptyState.js +20 -0
- package/build/components/CardEmptyState/index.js +2 -1
- package/build/components/CardEmptyState/style.js +35 -0
- package/build/components/CardEmptyState/type.js +1 -0
- package/build/components/CardHeadline/CardHeadline.js +15 -0
- package/build/components/CardHeadline/index.js +2 -1
- package/build/components/Checkbox/Checkbox.js +14 -0
- package/build/components/Checkbox/index.js +2 -1
- package/build/components/Chip/Chip.js +20 -0
- package/build/components/Chip/GroupIconChip.js +17 -0
- package/build/components/Chip/GroupIconChips.js +36 -0
- package/build/components/Chip/index.js +4 -1
- package/build/components/Chip/style.js +76 -0
- package/build/components/Chip/type.js +1 -0
- package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.js +7 -0
- package/build/components/CircularProgressWithLabel/index.js +2 -1
- package/build/components/CircularProgressWithLabel/style.js +31 -0
- package/build/components/Collapse/Collapse.js +17 -0
- package/build/components/Collapse/index.js +2 -1
- package/build/components/ColorPicker/ColorPicker.js +35 -0
- package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
- package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
- package/build/components/ColorPicker/HexaFields.js +83 -0
- package/build/components/ColorPicker/RGBAFields.js +37 -0
- package/build/components/ColorPicker/index.js +2 -1
- package/build/components/ColorPicker/style.js +157 -0
- package/build/components/ConfirmDialog/ConfirmDialog.js +8 -0
- package/build/components/ConfirmDialog/context/Provider.js +18 -0
- package/build/components/ConfirmDialog/context/context.js +14 -0
- package/build/components/ConfirmDialog/context/index.js +2 -0
- package/build/components/ConfirmDialog/hooks/index.js +1 -0
- package/build/components/ConfirmDialog/hooks/useDialog.js +22 -0
- package/build/components/ConfirmDialog/index.js +4 -1
- package/build/components/ConfirmDialog/styles.js +42 -0
- package/build/components/ConfirmDialog/type.js +1 -0
- package/build/components/ControlPanelContainer/ControlPanelContainer.js +5 -0
- package/build/components/ControlPanelContainer/index.js +2 -1
- package/build/components/ControlPanelContainer/style.js +9 -0
- package/build/components/CopyImage/CopyImage.js +11 -0
- package/build/components/CopyImage/index.js +2 -1
- package/build/components/CountBadge/CountBadge.js +51 -0
- package/build/components/CountBadge/CountBadgeAnimated.js +15 -0
- package/build/components/CountBadge/index.js +5 -1
- package/build/components/CountBadge/style.js +29 -0
- package/build/components/CountBadge/type.js +16 -0
- package/build/components/CountryFilter/CountryFilter.js +71 -0
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFilter/style.js +7 -0
- package/build/components/CountryFlag/CountryFlag.js +23 -0
- package/build/components/CountryFlag/index.js +2 -1
- package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
- package/build/components/CurrencySymbol/index.js +2 -1
- package/build/components/CurrencySymbol/style.js +27 -0
- package/build/components/CustomBackdrop/CustomBackdrop.js +8 -0
- package/build/components/CustomBackdrop/index.js +2 -1
- package/build/components/CustomBackdrop/style.js +9 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
- package/build/components/Customer/CustomerDropdown/index.js +1 -0
- package/build/components/Customer/CustomerDropdown/style.js +30 -0
- package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
- package/build/components/Customer/CustomerForms/index.js +9 -0
- package/build/components/Customer/CustomerForms/style.js +71 -0
- package/build/components/Customer/CustomerForms/validation.js +42 -0
- package/build/components/Customer/index.js +2 -1
- package/build/components/DateButton/DateButton.js +9 -0
- package/build/components/DateButton/index.js +2 -1
- package/build/components/DateFilter/DateFilter.js +32 -0
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DateFilter/style.js +100 -0
- package/build/components/DeviceIcon/DeviceIcon.js +29 -0
- package/build/components/DeviceIcon/constants.js +6 -0
- package/build/components/DeviceIcon/index.js +4 -1
- package/build/components/DeviceIcon/style.js +18 -0
- package/build/components/DeviceIcon/utils.js +4 -0
- package/build/components/Dialog/Dialog.js +9 -0
- package/build/components/Dialog/components/DialogToolbar.js +31 -0
- package/build/components/Dialog/components/index.js +2 -0
- package/build/components/Dialog/constant.js +1 -0
- package/build/components/Dialog/index.js +4 -1
- package/build/components/Dialog/style.js +50 -0
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
- package/build/components/Discount/DiscountDropdown/index.js +2 -0
- package/build/components/Discount/DiscountDropdown/style.js +40 -0
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
- package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
- package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
- package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
- package/build/components/Discount/TotalDiscount/index.js +1 -0
- package/build/components/Discount/TotalDiscount/style.js +5 -0
- package/build/components/Discount/index.js +4 -1
- package/build/components/Discount/utils.js +12 -0
- package/build/components/DisplayAmount/DisplayAmount.js +21 -0
- package/build/components/DisplayAmount/index.js +2 -1
- package/build/components/DisplayAmount/style.js +14 -0
- package/build/components/DockButton/DockButton.js +27 -0
- package/build/components/DockButton/index.js +2 -1
- package/build/components/DockButton/style.js +25 -0
- package/build/components/DockButton/type.js +1 -0
- package/build/components/Dropdown2/Dropdown2.js +29 -0
- package/build/components/Dropdown2/index.js +2 -1
- package/build/components/Dropdown2/style.js +24 -0
- package/build/components/DropdownButton/ChevronIcon.js +16 -0
- package/build/components/DropdownButton/DropdownButton.js +50 -0
- package/build/components/DropdownButton/constants.js +5 -0
- package/build/components/DropdownButton/index.js +3 -1
- package/build/components/DropdownButton/style.js +70 -0
- package/build/components/DropdownButton/type.js +1 -0
- package/build/components/DropdownMenu/DropdownMenu.js +43 -0
- package/build/components/DropdownMenu/index.js +3 -0
- package/build/components/DropdownMenu/styles.js +158 -0
- package/build/components/DropdownMenu/type.js +1 -0
- package/build/components/Error/Error.js +20 -0
- package/build/components/Error/index.js +2 -1
- package/build/components/Error/style.js +13 -0
- package/build/components/ErrorBoundary/AppError.js +16 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js +25 -0
- package/build/components/ErrorBoundary/index.js +2 -1
- package/build/components/ErrorBoundary/style.js +19 -0
- package/build/components/ErrorToast/ErrorToast.js +7 -0
- package/build/components/ErrorToast/index.js +2 -1
- package/build/components/ErrorToast/style.js +33 -0
- package/build/components/ErrorToast/type.js +1 -0
- package/build/components/ExpandableSideBar/ExpandableSideBar.js +35 -0
- package/build/components/ExpandableSideBar/constant.js +1 -0
- package/build/components/ExpandableSideBar/index.js +2 -1
- package/build/components/ExpandableSideBar/style.js +47 -0
- package/build/components/ExpandableSideBar/type.js +1 -0
- package/build/components/FileInputPreview/FileInputPreview.js +51 -0
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FileInputPreview/style.js +20 -0
- package/build/components/FileInputPreview/type.js +1 -0
- package/build/components/FileInputPreview/utils.js +14 -0
- package/build/components/FilePreview/FilePreview.js +18 -0
- package/build/components/FilePreview/index.js +3 -1
- package/build/components/FilePreview/style.js +55 -0
- package/build/components/FilePreview/type.js +1 -0
- package/build/components/FileUpload/FileUpload.js +41 -0
- package/build/components/FileUpload/index.js +2 -1
- package/build/components/FileUpload/style.js +106 -0
- package/build/components/FileUploader/FileUploader.js +13 -0
- package/build/components/FileUploader/index.js +2 -1
- package/build/components/FileUploader/style.js +55 -0
- package/build/components/FileUploader/type.js +1 -0
- package/build/components/FilterDropdown/FilterDropdown.js +58 -0
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
- package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
- package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
- package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
- package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +45 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +4 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/type.js +7 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +55 -0
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
- package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
- package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
- package/build/components/FilterDropdown/components/index.js +6 -0
- package/build/components/FilterDropdown/index.js +3 -1
- package/build/components/FilterDropdown/style.js +73 -0
- package/build/components/FilterDropdown/type.js +1 -0
- package/build/components/FilteredIds/FilteredIds.js +16 -0
- package/build/components/FilteredIds/index.js +2 -1
- package/build/components/FilteredIds/style.js +33 -0
- package/build/components/FilteredIds/type.js +1 -0
- package/build/components/Filters/index.js +1 -1
- package/build/components/Filters/style.js +51 -0
- package/build/components/FlagDetails/FlagDetails.js +31 -0
- package/build/components/FlagDetails/index.js +2 -1
- package/build/components/FlippingCard/FlippingCard.js +7 -0
- package/build/components/FlippingCard/index.js +2 -1
- package/build/components/FlippingCard/style.js +26 -0
- package/build/components/HeatMap/HeatMap.js +20 -0
- package/build/components/HeatMap/constant.js +1 -0
- package/build/components/HeatMap/index.js +3 -1
- package/build/components/HeatMap/style.js +34 -0
- package/build/components/HeatMap/type.js +1 -0
- package/build/components/HeatMap/utils.js +9 -0
- package/build/components/IOSSwitch/IOSSwitch.js +7 -0
- package/build/components/IOSSwitch/index.js +2 -1
- package/build/components/IOSSwitch/styles.js +49 -0
- package/build/components/Icon/Icon.js +12 -0
- package/build/components/Icon/index.js +2 -1
- package/build/components/Icon/type.js +1 -0
- package/build/components/IconGallery/IconGallery.js +13 -0
- package/build/components/IconGallery/index.js +2 -1
- package/build/components/IconGallery/styles.js +21 -0
- package/build/components/IconGallery/type.js +1 -0
- package/build/components/IconWithBadge/IconWithBadge.js +21 -0
- package/build/components/IconWithBadge/index.js +2 -1
- package/build/components/IconWithBadge/style.js +11 -0
- package/build/components/IconWithBadge/type.js +1 -0
- package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +19 -0
- package/build/components/IconWithHoverOverlays/index.js +2 -1
- package/build/components/IconWithHoverOverlays/style.js +45 -0
- package/build/components/IconWithLabel/IconWithLabel.js +7 -0
- package/build/components/IconWithLabel/index.js +2 -1
- package/build/components/IconWithLabel/style.js +21 -0
- package/build/components/IconsDropdown/IconsDropdown.js +31 -0
- package/build/components/IconsDropdown/index.js +2 -1
- package/build/components/IconsDropdown/style.js +47 -0
- package/build/components/ImageWrapper/ImageWrapper.js +16 -0
- package/build/components/ImageWrapper/index.js +2 -1
- package/build/components/Input/Input.js +22 -0
- package/build/components/Input/index.js +2 -1
- package/build/components/Input/style.js +18 -0
- package/build/components/InputBase/AmountInputBase/AmountInputBase.js +30 -0
- package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.js +50 -0
- package/build/components/InputBase/AmountInputBase/CurrencyList/index.js +2 -0
- package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +42 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.js +24 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/index.js +3 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/style.js +24 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/type.js +1 -0
- package/build/components/InputBase/AmountInputBase/index.js +4 -0
- package/build/components/InputBase/AmountInputBase/style.js +26 -0
- package/build/components/InputBase/InputBase/InputBase.js +28 -0
- package/build/components/InputBase/InputBase/index.js +2 -0
- package/build/components/InputBase/InputBase/style.js +68 -0
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +65 -0
- package/build/components/InputBase/PhoneInputBase/CountriesList/index.js +2 -0
- package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +49 -0
- package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +27 -0
- package/build/components/InputBase/PhoneInputBase/index.js +3 -0
- package/build/components/InputBase/PhoneInputBase/style.js +23 -0
- package/build/components/InputBase/SelectBase/SelectBase.js +45 -0
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +64 -0
- package/build/components/InputBase/SelectBase/index.js +3 -0
- package/build/components/InputBase/SelectBase/style.js +109 -0
- package/build/components/InputBase/index.js +4 -1
- package/build/components/InputNumber/InputNumber.js +40 -0
- package/build/components/InputNumber/index.js +2 -1
- package/build/components/InputNumber/style.js +20 -0
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +59 -0
- package/build/components/Inputs/CountriesDropDown/index.js +3 -0
- package/build/components/Inputs/CountriesDropDown/style.js +68 -0
- package/build/components/Inputs/FileInput/FileInput.js +13 -0
- package/build/components/Inputs/FileInput/index.js +2 -0
- package/build/components/Inputs/FileInput/style.js +41 -0
- package/build/components/Inputs/FileInput/type.js +1 -0
- package/build/components/Inputs/Input/Input.js +23 -0
- package/build/components/Inputs/Input/index.js +2 -0
- package/build/components/Inputs/Input/style.js +85 -0
- package/build/components/Inputs/Input/type.js +1 -0
- package/build/components/Inputs/SearchInput/SearchInput.js +24 -0
- package/build/components/Inputs/SearchInput/index.js +2 -0
- package/build/components/Inputs/SearchInput/styles.js +17 -0
- package/build/components/Inputs/Select/Select.js +67 -0
- package/build/components/Inputs/Select/index.js +2 -0
- package/build/components/Inputs/Select/style.js +24 -0
- package/build/components/Inputs/Select/type.js +1 -0
- package/build/components/Inputs/index.js +5 -1
- package/build/components/JSONViewer/JSONViewer.js +285 -0
- package/build/components/JSONViewer/JSONViewerList.js +10 -0
- package/build/components/JSONViewer/components/FooterButton/FooterButton.js +44 -0
- package/build/components/JSONViewer/components/FooterButton/index.js +2 -0
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +9 -0
- package/build/components/JSONViewer/components/JSONTitleBar/index.js +3 -0
- package/build/components/JSONViewer/components/JSONTitleBar/type.js +1 -0
- package/build/components/JSONViewer/components/index.js +2 -0
- package/build/components/JSONViewer/context/Provider.js +44 -0
- package/build/components/JSONViewer/context/context.js +7 -0
- package/build/components/JSONViewer/context/index.js +2 -0
- package/build/components/JSONViewer/hooks/index.js +1 -0
- package/build/components/JSONViewer/hooks/useJsonViewerContext.js +18 -0
- package/build/components/JSONViewer/index.js +7 -1
- package/build/components/JSONViewer/style.js +176 -0
- package/build/components/JSONViewer/type.js +1 -0
- package/build/components/LabeledIconDropdown/LabeledIconDropdown.js +51 -0
- package/build/components/LabeledIconDropdown/index.js +2 -1
- package/build/components/LabeledIconDropdown/style.js +104 -0
- package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
- package/build/components/LanguageDropdown/index.js +2 -1
- package/build/components/LanguageDropdown/style.js +5 -0
- package/build/components/LazyImage/LazyImage.js +39 -0
- package/build/components/LazyImage/index.js +3 -1
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +30 -0
- package/build/components/LeftPeekRightExpandingChip/index.js +2 -1
- package/build/components/LeftPeekRightExpandingChip/style.js +65 -0
- package/build/components/LeftPeekRightExpandingChip/type.js +1 -0
- package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +134 -0
- package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListColumnFilter/style.js +35 -0
- package/build/components/ListLayout/ListLayout.js +20 -0
- package/build/components/ListLayout/index.js +2 -1
- package/build/components/ListLayout/styles.js +9 -0
- package/build/components/Loader/Loader.js +7 -0
- package/build/components/Loader/index.js +2 -1
- package/build/components/Loader/style.js +15 -0
- package/build/components/Loaders/TapLoader.js +29 -0
- package/build/components/Loaders/index.js +2 -1
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
- package/build/components/MFWidgetLoader/index.js +2 -1
- package/build/components/MUIThemeProvider/MUIThemeProvider.js +9 -0
- package/build/components/MUIThemeProvider/index.js +2 -1
- package/build/components/MainContainer/MainContainer.js +8 -0
- package/build/components/MainContainer/index.js +2 -1
- package/build/components/MaskedText/MaskedText.js +9 -0
- package/build/components/MaskedText/index.js +2 -1
- package/build/components/MaskedText/type.js +1 -0
- package/build/components/Menu/Menu.js +29 -0
- package/build/components/Menu/index.js +2 -1
- package/build/components/Menu/style.js +23 -0
- package/build/components/MenuItem/MenuItem.js +21 -0
- package/build/components/MenuItem/index.js +2 -1
- package/build/components/MenuItem/style.js +30 -0
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/style.js +64 -0
- package/build/components/MerchantLogo/MerchantLogo.js +17 -0
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantLogo/style.js +13 -0
- package/build/components/MerchantsDropdown/BrandItem.js +71 -0
- package/build/components/MerchantsDropdown/EntityItem.js +69 -0
- package/build/components/MerchantsDropdown/EntityList.js +7 -0
- package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
- package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
- package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
- package/build/components/MerchantsDropdown/hooks.js +54 -0
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MerchantsDropdown/style.js +155 -0
- package/build/components/MerchantsDropdown/type.js +1 -0
- package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.js +19 -0
- package/build/components/MultiDatakeyDonut/index.js +1 -1
- package/build/components/MultiDatakeyDonut/style.js +23 -0
- package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +32 -0
- package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
- package/build/components/MultiSelectDropdownButton/index.js +3 -1
- package/build/components/MultiSelectDropdownButton/style.js +8 -0
- package/build/components/MultiSelectDropdownButton/type.js +1 -0
- package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +93 -0
- package/build/components/MultiSelectStatusButton/index.js +2 -1
- package/build/components/MultiSelectStatusButton/style.js +77 -0
- package/build/components/MultiSelectStatusButton/type.js +1 -0
- package/build/components/MultiSelectWithSearch/ChildMenuItem.js +45 -0
- package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.js +52 -0
- package/build/components/MultiSelectWithSearch/ParentMenuItem.js +27 -0
- package/build/components/MultiSelectWithSearch/index.js +4 -1
- package/build/components/MultiSelectWithSearch/style.js +88 -0
- package/build/components/MultiSelectWithSearch/type.js +1 -0
- package/build/components/MultiSelectWithSearch/utils.js +12 -0
- package/build/components/NestedDropdown/Dropdown.js +60 -0
- package/build/components/NestedDropdown/NestedDropdown.js +49 -0
- package/build/components/NestedDropdown/NestedMenuItem.js +48 -0
- package/build/components/NestedDropdown/index.js +5 -1
- package/build/components/NestedDropdown/styles.js +100 -0
- package/build/components/NestedDropdown/types.js +1 -0
- package/build/components/NoInternet/NoInternet.js +6 -0
- package/build/components/NoInternet/index.js +2 -1
- package/build/components/NoInternet/style.js +32 -0
- package/build/components/OTPInput/OTPInput.js +36 -0
- package/build/components/OTPInput/index.js +2 -1
- package/build/components/OTPInput/style.js +28 -0
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/OpenFileInNewTab/style.js +8 -0
- package/build/components/PartnersFilter/PartnersFilter.js +50 -0
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/AuthenticationMode.js +59 -0
- package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
- package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
- package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
- package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
- package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +16 -0
- package/build/components/PaymentSourceFilter/index.js +6 -1
- package/build/components/PaymentSourceFilter/style.js +22 -0
- package/build/components/PaymentSourceFilter/type.js +1 -0
- package/build/components/PhoneFilter/PhoneFilter.js +13 -0
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ProgressBar/ProgressBar.js +6 -0
- package/build/components/ProgressBar/index.js +2 -1
- package/build/components/ProgressBar/style.js +19 -0
- package/build/components/ProgressRing/LoadingSkeleton.js +6 -0
- package/build/components/ProgressRing/ProgressRing.js +17 -0
- package/build/components/ProgressRing/index.js +2 -1
- package/build/components/ProgressRing/style.js +37 -0
- package/build/components/RFH/Forms/DefaultForm.js +7 -0
- package/build/components/RFH/Forms/index.js +1 -0
- package/build/components/RFH/Inputs/AmountInput/AmountInput.js +35 -0
- package/build/components/RFH/Inputs/AmountInput/index.js +3 -0
- package/build/components/RFH/Inputs/AmountInput/type.js +1 -0
- package/build/components/RFH/Inputs/AmountInput/utils.js +3 -0
- package/build/components/RFH/Inputs/FormInput/FormInput.js +32 -0
- package/build/components/RFH/Inputs/FormInput/index.js +2 -0
- package/build/components/RFH/Inputs/FormSelect/FormSelect.js +25 -0
- package/build/components/RFH/Inputs/FormSelect/index.js +2 -0
- package/build/components/RFH/Inputs/FormSelect/type.js +1 -0
- package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +66 -0
- package/build/components/RFH/Inputs/MultiSelect/index.js +2 -0
- package/build/components/RFH/Inputs/MultiSelect/style.js +56 -0
- package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +30 -0
- package/build/components/RFH/Inputs/PhoneInput/index.js +2 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +62 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/index.js +2 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/style.js +70 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/type.js +1 -0
- package/build/components/RFH/Inputs/Switch/Switch.js +22 -0
- package/build/components/RFH/Inputs/Switch/index.js +2 -0
- package/build/components/RFH/Inputs/index.js +7 -0
- package/build/components/RFH/hooks/index.js +1 -0
- package/build/components/RFH/hooks/useRFHForm.js +2 -0
- package/build/components/RFH/index.js +3 -1
- package/build/components/RadioButton/RadioButton.js +19 -0
- package/build/components/RadioButton/index.js +1 -1
- package/build/components/RadioButton/style.js +64 -0
- package/build/components/RadioButton/type.js +1 -0
- package/build/components/RadioGroup/RadioGroup.js +38 -0
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RadioGroup/style.js +16 -0
- package/build/components/RadioGroup/type.js +1 -0
- package/build/components/RangeCalender/RangeCalender.js +99 -0
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +40 -0
- package/build/components/RangeCalender/components/CustomTimepicker/index.js +2 -0
- package/build/components/RangeCalender/components/CustomTimepicker/style.js +132 -0
- package/build/components/RangeCalender/components/GroupBy/GroupBy.js +33 -0
- package/build/components/RangeCalender/components/GroupBy/index.js +2 -0
- package/build/components/RangeCalender/components/GroupBy/style.js +39 -0
- package/build/components/RangeCalender/components/Hijri/Hijri.js +13 -0
- package/build/components/RangeCalender/components/Hijri/index.js +2 -0
- package/build/components/RangeCalender/components/Hijri/style.js +25 -0
- package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +47 -0
- package/build/components/RangeCalender/components/QuickFilters/index.js +2 -0
- package/build/components/RangeCalender/components/QuickFilters/style.js +27 -0
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +31 -0
- package/build/components/RangeCalender/components/RangeDatepicker/index.js +3 -0
- package/build/components/RangeCalender/components/RangeDatepicker/style.js +9 -0
- package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
- package/build/components/RangeCalender/components/Timezone/Timezone.js +32 -0
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +38 -0
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +14 -0
- package/build/components/RangeCalender/components/Timezone/index.js +2 -0
- package/build/components/RangeCalender/components/Timezone/style.js +61 -0
- package/build/components/RangeCalender/index.js +2 -1
- package/build/components/RangeCalender/style.js +193 -0
- package/build/components/RangeCalender/type.js +1 -0
- package/build/components/RangeCalender/utils.js +26 -0
- package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReceiptsViewer/style.js +7 -0
- package/build/components/ReceiptsViewer/type.js +1 -0
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/ReferenceTypeFilter/style.js +34 -0
- package/build/components/ResizableHeightInput/ResizableHeightInput.js +24 -0
- package/build/components/ResizableHeightInput/index.js +2 -1
- package/build/components/ResizableHeightInput/style.js +12 -0
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +113 -0
- package/build/components/RightLeftExpandingCenterChip/index.js +2 -1
- package/build/components/RightLeftExpandingCenterChip/style.js +130 -0
- package/build/components/RightLeftExpandingCenterChip/type.js +1 -0
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +233 -0
- package/build/components/Routes/PrivateRoute.js +10 -0
- package/build/components/Routes/PublicRoute.js +6 -0
- package/build/components/Routes/index.js +3 -1
- package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/SalesChannelFilter/style.js +29 -0
- package/build/components/Sandbox/Sandbox.js +10 -0
- package/build/components/Sandbox/index.js +2 -1
- package/build/components/Sandbox/style.js +58 -0
- package/build/components/ScrollLoader/ScrollLoader.js +69 -0
- package/build/components/ScrollLoader/index.js +3 -1
- package/build/components/SearchButton/SearchButton.js +57 -0
- package/build/components/SearchButton/index.js +2 -1
- package/build/components/SearchButton/styles.js +44 -0
- package/build/components/SearchListInput/SearchListInput.js +20 -0
- package/build/components/SearchListInput/index.js +2 -1
- package/build/components/SearchListInput/style.js +15 -0
- package/build/components/SelectDropdown/SelectDropdown.js +18 -0
- package/build/components/SelectDropdown/index.js +2 -1
- package/build/components/SelectDropdown/style.js +18 -0
- package/build/components/SelectWithSearch/SelectWithSearch.js +61 -0
- package/build/components/SelectWithSearch/index.js +3 -1
- package/build/components/SelectWithSearch/style.js +70 -0
- package/build/components/SelectWithSearch/type.js +1 -0
- package/build/components/SimpleDialog/SimpleDialog.js +9 -0
- package/build/components/SimpleDialog/index.js +2 -0
- package/build/components/SimpleDialog/style.js +13 -0
- package/build/components/SimpleDialog/type.js +1 -0
- package/build/components/Skeleton/Skeleton.js +19 -0
- package/build/components/Skeleton/index.js +2 -1
- package/build/components/SplashScreen/SplashScreen.js +17 -0
- package/build/components/SplashScreen/index.js +2 -1
- package/build/components/StatusBar/StatusBar.js +54 -0
- package/build/components/StatusBar/index.js +2 -1
- package/build/components/StatusBar/type.js +1 -0
- package/build/components/StatusButton/ChevronIcon.js +18 -0
- package/build/components/StatusButton/StatusButton.js +94 -0
- package/build/components/StatusButton/constant.js +30 -0
- package/build/components/StatusButton/index.js +3 -1
- package/build/components/StatusButton/style.js +92 -0
- package/build/components/StatusButton/type.js +1 -0
- package/build/components/StatusChip/StatusChip.js +58 -0
- package/build/components/StatusChip/index.js +2 -1
- package/build/components/StatusChip/style.js +37 -0
- package/build/components/StatusChip/type.js +1 -0
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +23 -0
- package/build/components/StatusChipWithCopy/index.js +4 -1
- package/build/components/StatusChipWithCopy/utils.js +4 -0
- package/build/components/StatusFilter/StatusFilter.js +88 -0
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusFilter/utils.js +10 -0
- package/build/components/StatusGroupChips/StatusGroupChips.js +24 -0
- package/build/components/StatusGroupChips/index.js +1 -1
- package/build/components/StatusGroupChips/style.js +17 -0
- package/build/components/StatusGroupChips/type.js +1 -0
- package/build/components/StatusIcons/AgreementIcon/AgreementIcon.js +34 -0
- package/build/components/StatusIcons/AgreementIcon/constant.js +32 -0
- package/build/components/StatusIcons/AgreementIcon/index.js +3 -0
- package/build/components/StatusIcons/AgreementIcon/style.js +37 -0
- package/build/components/StatusIcons/AgreementIcon/type.js +1 -0
- package/build/components/StatusIcons/AuthIcons/AuthIcons.js +45 -0
- package/build/components/StatusIcons/AuthIcons/constants.js +35 -0
- package/build/components/StatusIcons/AuthIcons/index.js +3 -0
- package/build/components/StatusIcons/AuthIcons/style.js +61 -0
- package/build/components/StatusIcons/AuthIcons/type.js +14 -0
- package/build/components/StatusIcons/AuthIcons/utils.js +8 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +82 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +85 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/constant.js +5 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +4 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +58 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/type.js +1 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/utils.js +9 -0
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +20 -0
- package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -0
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +58 -0
- package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -0
- package/build/components/StatusIcons/ChargeStatusIcon/style.js +113 -0
- package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.js +11 -0
- package/build/components/StatusIcons/CustomerInitiated/index.js +1 -0
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +22 -0
- package/build/components/StatusIcons/DestinationIcon/constant.js +7 -0
- package/build/components/StatusIcons/DestinationIcon/index.js +1 -0
- package/build/components/StatusIcons/DestinationIcon/style.js +20 -0
- package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +7 -0
- package/build/components/StatusIcons/DeviceIcon/index.js +1 -0
- package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +9 -0
- package/build/components/StatusIcons/DisputeIcon/index.js +1 -0
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +17 -0
- package/build/components/StatusIcons/GeographyIcon/index.js +1 -0
- package/build/components/StatusIcons/GeographyIcon/style.js +23 -0
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +9 -0
- package/build/components/StatusIcons/IssuerIcon/index.js +3 -0
- package/build/components/StatusIcons/IssuerIcon/style.js +10 -0
- package/build/components/StatusIcons/IssuerIcon/type.js +1 -0
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +17 -0
- package/build/components/StatusIcons/PayoutIcon/index.js +1 -0
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +59 -0
- package/build/components/StatusIcons/RefundIcon/index.js +2 -0
- package/build/components/StatusIcons/SourceIcons/SourceIcons.js +38 -0
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +13 -0
- package/build/components/StatusIcons/SourceIcons/components/index.js +1 -0
- package/build/components/StatusIcons/SourceIcons/index.js +3 -0
- package/build/components/StatusIcons/SourceIcons/style.js +57 -0
- package/build/components/StatusIcons/SourceIcons/type.js +1 -0
- package/build/components/StatusIcons/SourceIcons/utils.js +8 -0
- package/build/components/StatusIcons/index.js +14 -1
- package/build/components/StatusLabel/StatusLabel.js +10 -0
- package/build/components/StatusLabel/index.js +2 -1
- package/build/components/StatusLabel/style.js +20 -0
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +97 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +51 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.js +21 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +74 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +29 -0
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.js +37 -0
- package/build/components/TableCells/CustomCells/ActionCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/ActionCell/style.js +29 -0
- package/build/components/TableCells/CustomCells/ActionCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +51 -0
- package/build/components/TableCells/CustomCells/AgreementCell/constant.js +32 -0
- package/build/components/TableCells/CustomCells/AgreementCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AgreementCell/style.js +59 -0
- package/build/components/TableCells/CustomCells/AgreementCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +24 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +15 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/index.js +5 -0
- package/build/components/TableCells/CustomCells/AmountCell/style.js +37 -0
- package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +57 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +51 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AppsCell/AppsCell.js +25 -0
- package/build/components/TableCells/CustomCells/AppsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AppsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +30 -0
- package/build/components/TableCells/CustomCells/AuthCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AuthCell/style.js +15 -0
- package/build/components/TableCells/CustomCells/AuthCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +66 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/constant.js +50 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.js +65 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +31 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +20 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +24 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/constant.js +9 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +36 -0
- package/build/components/TableCells/CustomCells/AvatarCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AvatarCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +60 -0
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/BalanceCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/BalanceCell/style.js +39 -0
- package/build/components/TableCells/CustomCells/BalanceCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/utils.js +9 -0
- package/build/components/TableCells/CustomCells/BankCell/BankCell.js +26 -0
- package/build/components/TableCells/CustomCells/BankCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BankCell/style.js +37 -0
- package/build/components/TableCells/CustomCells/BankCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.js +10 -0
- package/build/components/TableCells/CustomCells/BankReferenceCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/BankReferenceCell/style.js +14 -0
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +28 -0
- package/build/components/TableCells/CustomCells/BrandCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BrandCell/style.js +20 -0
- package/build/components/TableCells/CustomCells/BrandCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +21 -0
- package/build/components/TableCells/CustomCells/BrandsCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/BrandsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +31 -0
- package/build/components/TableCells/CustomCells/BrandsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.js +39 -0
- package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BusinessStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +55 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/constant.js +6 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/style.js +36 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +32 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/constant.js +5 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.js +20 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +6 -0
- package/build/components/TableCells/CustomCells/CurrencyCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/CurrencyCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +46 -0
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
- package/build/components/TableCells/CustomCells/CustomerCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/CustomerCell/style.js +24 -0
- package/build/components/TableCells/CustomCells/CustomerCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +26 -0
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
- package/build/components/TableCells/CustomCells/DateCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/DateCell/style.js +7 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +27 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
- package/build/components/TableCells/CustomCells/DestinationCell/index.js +4 -0
- package/build/components/TableCells/CustomCells/DestinationCell/styled.js +68 -0
- package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationCell/utils.js +12 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +25 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +21 -0
- package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DeviceCell/style.js +7 -0
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +29 -0
- package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DueDateCell/style.js +43 -0
- package/build/components/TableCells/CustomCells/DueDateCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DueDateCell/utils.js +53 -0
- package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +23 -0
- package/build/components/TableCells/CustomCells/EntityCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/EntityCell/style.js +28 -0
- package/build/components/TableCells/CustomCells/EntityCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/IDButton/IDButton.js +44 -0
- package/build/components/TableCells/CustomCells/IDButton/index.js +1 -0
- package/build/components/TableCells/CustomCells/IDButton/style.js +15 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +21 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/style.js +51 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +33 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.js +20 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +18 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +69 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +17 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +50 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/utils.js +40 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +25 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +9 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
- package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +28 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/MetadataCell/MetadataCell.js +18 -0
- package/build/components/TableCells/CustomCells/MetadataCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +27 -0
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
- package/build/components/TableCells/CustomCells/OrderCell/constant.js +1 -0
- package/build/components/TableCells/CustomCells/OrderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
- package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +35 -0
- package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +20 -0
- package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +18 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +32 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/constant.js +12 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +63 -0
- package/build/components/TableCells/CustomCells/ProductsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProductsCell/style.js +58 -0
- package/build/components/TableCells/CustomCells/ProductsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +11 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +43 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/style.js +60 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +96 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/constant.js +14 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +39 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/utils.js +9 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +36 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +15 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +60 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +10 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/constant.js +20 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/hooks/useRefundStyles.js +54 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +71 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +40 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +60 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +53 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/constant.js +8 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/style.js +51 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +26 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/AuthenticationMode.js +9 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/index.js +5 -0
- package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/SourceCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/SourceCell/type.js +13 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +42 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
- package/build/components/TableCells/CustomCells/StatusCell/constant.js +93 -0
- package/build/components/TableCells/CustomCells/StatusCell/index.js +4 -0
- package/build/components/TableCells/CustomCells/StatusCell/style.js +69 -0
- package/build/components/TableCells/CustomCells/StatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
- package/build/components/TableCells/CustomCells/StatusCell/utils.js +9 -0
- package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +6 -0
- package/build/components/TableCells/CustomCells/TextTableCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TextTableCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +29 -0
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +33 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/constant.js +9 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +26 -0
- package/build/components/TableCells/CustomCells/WalletCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/WalletCell/style.js +26 -0
- package/build/components/TableCells/CustomCells/WalletCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/index.js +56 -0
- package/build/components/TableCells/CustomCells/style.js +140 -0
- package/build/components/TableCells/CustomCells/type.js +15 -0
- package/build/components/TableCells/TableCell.js +19 -0
- package/build/components/TableCells/index.js +3 -1
- package/build/components/TableCells/style.js +18 -0
- package/build/components/TableCells/type.js +1 -0
- package/build/components/TableHeader/FiltersRow.js +24 -0
- package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
- package/build/components/TableHeader/TableHeader.js +22 -0
- package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
- package/build/components/TableHeader/TableModeButton.js +11 -0
- package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/CreateViewDialog.js +91 -0
- package/build/components/TableHeader/TableView/CustomViews.js +21 -0
- package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
- package/build/components/TableHeader/TableView/TableView.js +54 -0
- package/build/components/TableHeader/TableView/ViewsDropdown.js +153 -0
- package/build/components/TableHeader/TableView/ViewsMenu.js +36 -0
- package/build/components/TableHeader/TableView/components/ColumnList.js +73 -0
- package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +71 -0
- package/build/components/TableHeader/TableView/components/index.js +2 -0
- package/build/components/TableHeader/TableView/constants.js +39 -0
- package/build/components/TableHeader/TableView/hooks/index.js +10 -0
- package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +92 -0
- package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +105 -0
- package/build/components/TableHeader/TableView/hooks/useDialogPosition.js +16 -0
- package/build/components/TableHeader/TableView/hooks/useNestedSubmenu.js +27 -0
- package/build/components/TableHeader/TableView/hooks/useOriginalColumns.js +18 -0
- package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
- package/build/components/TableHeader/TableView/hooks/useSubmenuHover.js +42 -0
- package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
- package/build/components/TableHeader/TableView/hooks/useViewsManager.js +37 -0
- package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +162 -0
- package/build/components/TableHeader/TableView/index.js +10 -0
- package/build/components/TableHeader/TableView/styles.js +427 -0
- package/build/components/TableHeader/TableView/types.js +1 -0
- package/build/components/TableHeader/TableView/utils/columnState.js +187 -0
- package/build/components/TableHeader/TableView/utils/customTableViews.js +30 -0
- package/build/components/TableHeader/TableView/utils/index.js +6 -0
- package/build/components/TableHeader/TableView/utils/layoutTransform.js +71 -0
- package/build/components/TableHeader/TableView/utils/templateState.js +27 -0
- package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +153 -0
- package/build/components/TableHeader/TableView/utils/viewMenu.js +90 -0
- package/build/components/TableHeader/data.js +7 -0
- package/build/components/TableHeader/index.js +9 -1
- package/build/components/TableHeader/style.js +43 -0
- package/build/components/TableHeader/type.js +1 -0
- package/build/components/TableReports/DownloadIconButton.js +20 -0
- package/build/components/TableReports/Downloads.js +24 -0
- package/build/components/TableReports/RecordLoading.js +6 -0
- package/build/components/TableReports/TableReports.js +53 -0
- package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
- package/build/components/TableReports/components/DownloadButton/index.js +2 -0
- package/build/components/TableReports/components/DownloadButton/style.js +15 -0
- package/build/components/TableReports/hooks/index.js +1 -0
- package/build/components/TableReports/hooks/useDownloadReport.js +59 -0
- package/build/components/TableReports/index.js +7 -1
- package/build/components/TableReports/style.js +163 -0
- package/build/components/TableReports/type.js +1 -0
- package/build/components/TableReports/utils.js +32 -0
- package/build/components/TableView/CustomViews.js +80 -0
- package/build/components/TableView/DefaultViews.js +22 -0
- package/build/components/TableView/TableView.js +56 -0
- package/build/components/TableView/data.js +7 -0
- package/build/components/TableView/index.js +3 -1
- package/build/components/TableView/style.js +102 -0
- package/build/components/TapLogo/TapLogo.js +6 -0
- package/build/components/TapLogo/index.js +2 -1
- package/build/components/Text/Text.js +9 -0
- package/build/components/Text/index.js +2 -1
- package/build/components/Timepicker/Timepicker.js +87 -0
- package/build/components/Timepicker/constant.js +3 -0
- package/build/components/Timepicker/index.js +5 -1
- package/build/components/Timepicker/style.js +45 -0
- package/build/components/Timepicker/utils.js +28 -0
- package/build/components/Toaster/Toaster.js +12 -0
- package/build/components/Toaster/index.js +2 -1
- package/build/components/Toaster/style.js +15 -0
- package/build/components/ToggleButtons/ToggleButtons.js +6 -0
- package/build/components/ToggleButtons/index.js +3 -1
- package/build/components/ToggleButtons/style.js +25 -0
- package/build/components/ToggleButtons/type.js +1 -0
- package/build/components/ToggleView/ToggleView.js +32 -0
- package/build/components/ToggleView/ToggleWrapper.js +8 -0
- package/build/components/ToggleView/index.js +3 -1
- package/build/components/ToggleView/style.js +31 -0
- package/build/components/ToggleView/types.js +6 -0
- package/build/components/Toolbar/Toolbar.js +20 -0
- package/build/components/Toolbar/index.js +4 -1
- package/build/components/Toolbar/style.js +98 -0
- package/build/components/Toolbar/type.js +1 -0
- package/build/components/ToolbarIcon/CloseIcon/CloseIcon.js +6 -0
- package/build/components/ToolbarIcon/CloseIcon/index.js +1 -0
- package/build/components/ToolbarIcon/CloseIcon/style.js +7 -0
- package/build/components/ToolbarIcon/ExpandButton/ExpandButton.js +21 -0
- package/build/components/ToolbarIcon/ExpandButton/index.js +1 -0
- package/build/components/ToolbarIcon/ExpandButton/style.js +31 -0
- package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.js +18 -0
- package/build/components/ToolbarIcon/MaximizeIcon/index.js +1 -0
- package/build/components/ToolbarIcon/MaximizeIcon/style.js +7 -0
- package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.js +6 -0
- package/build/components/ToolbarIcon/MinimizeIcon/index.js +1 -0
- package/build/components/ToolbarIcon/MinimizeIcon/style.js +7 -0
- package/build/components/ToolbarIcon/index.js +4 -1
- package/build/components/ToolbarIcon/style.js +20 -0
- package/build/components/Tooltip/Tooltip.js +21 -0
- package/build/components/Tooltip/index.js +2 -0
- package/build/components/Tooltip/styles.js +34 -0
- package/build/components/TooltipChip/TooltipChip.js +20 -0
- package/build/components/TooltipChip/index.js +1 -1
- package/build/components/TooltipChip/style.js +7 -0
- package/build/components/TreeDropdown/TreeDropdown.js +67 -0
- package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +17 -0
- package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +64 -0
- package/build/components/TreeDropdown/TreeNodeItem/index.js +2 -0
- package/build/components/TreeDropdown/TreeNodeItem/style.js +46 -0
- package/build/components/TreeDropdown/TreeNodeList/List.js +17 -0
- package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +36 -0
- package/build/components/TreeDropdown/TreeNodeList/index.js +2 -0
- package/build/components/TreeDropdown/TreeNodeList/style.js +60 -0
- package/build/components/TreeDropdown/context/TreeDropdownProvider.js +13 -0
- package/build/components/TreeDropdown/hooks/useSearch.js +38 -0
- package/build/components/TreeDropdown/hooks/useTreeDropdown.js +10 -0
- package/build/components/TreeDropdown/index.js +4 -1
- package/build/components/TreeDropdown/style.js +43 -0
- package/build/components/TreeDropdown/type.js +6 -0
- package/build/components/TreeDropdown/utils.js +161 -0
- package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
- package/build/components/VAT/TotalVAT/index.js +1 -0
- package/build/components/VAT/TotalVAT/style.js +5 -0
- package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
- package/build/components/VAT/VATDropdown/index.js +1 -0
- package/build/components/VAT/VATDropdown/style.js +32 -0
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
- package/build/components/VAT/VATRateDropdown/index.js +1 -0
- package/build/components/VAT/VATRateDropdown/style.js +30 -0
- package/build/components/VAT/index.js +4 -1
- package/build/components/VAT/utils.js +8 -0
- package/build/components/VerificationIcon/VerificationIcon.js +7 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
- package/build/components/VerificationIcon/constant.js +18 -0
- package/build/components/VerificationIcon/index.js +3 -1
- package/build/components/VerificationIcon/type.js +1 -0
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/style.js +20 -0
- package/build/components/ViewColumnRadioFilter/type.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +141 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +21 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +19 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +13 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +24 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +12 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +62 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +56 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js +32 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.js +45 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +37 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +9 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +7 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +73 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumnsWidths.js +15 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useSynchronizedScroll.js +30 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +41 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +65 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +57 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/index.js +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/style.js +110 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/types.js +1 -0
- package/build/components/VirtualTables/VirtualTable/VirtualTable.js +113 -0
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +89 -0
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +46 -0
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +51 -0
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/index.js +2 -0
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.js +47 -0
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +61 -0
- package/build/components/VirtualTables/components/ColumnFilter/List/index.js +2 -0
- package/build/components/VirtualTables/components/ColumnFilter/index.js +5 -0
- package/build/components/VirtualTables/components/ColumnFilter/style.js +50 -0
- package/build/components/VirtualTables/components/ColumnFilter/type.js +1 -0
- package/build/components/VirtualTables/components/ColumnSort/ColumnSort.js +41 -0
- package/build/components/VirtualTables/components/ColumnSort/index.js +2 -0
- package/build/components/VirtualTables/components/ColumnSort/style.js +10 -0
- package/build/components/VirtualTables/components/EmptyList/EmptyList.js +23 -0
- package/build/components/VirtualTables/components/EmptyList/index.js +3 -0
- package/build/components/VirtualTables/components/EmptyList/styles.js +39 -0
- package/build/components/VirtualTables/components/ErrorList/ErrorList.js +23 -0
- package/build/components/VirtualTables/components/ErrorList/index.js +2 -0
- package/build/components/VirtualTables/components/ErrorList/styles.js +72 -0
- package/build/components/VirtualTables/components/RowErrorState.js +21 -0
- package/build/components/VirtualTables/components/TableError.js +22 -0
- package/build/components/VirtualTables/components/TableFooter/TableFooter.js +22 -0
- package/build/components/VirtualTables/components/TableFooter/index.js +2 -0
- package/build/components/VirtualTables/components/TableFooter/style.js +53 -0
- package/build/components/VirtualTables/components/TableHeader/TableHeader.js +10 -0
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +16 -0
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +2 -0
- package/build/components/VirtualTables/components/TableHeader/components/index.js +1 -0
- package/build/components/VirtualTables/components/TableHeader/constant.js +6 -0
- package/build/components/VirtualTables/components/TableHeader/index.js +3 -0
- package/build/components/VirtualTables/components/TableHeader/style.js +23 -0
- package/build/components/VirtualTables/components/TableHeader/type.js +1 -0
- package/build/components/VirtualTables/components/TableLastItem.js +39 -0
- package/build/components/VirtualTables/components/TableLoading.js +19 -0
- package/build/components/VirtualTables/components/TableLoadingWithCard.js +19 -0
- package/build/components/VirtualTables/components/TableNoData.js +13 -0
- package/build/components/VirtualTables/components/TableNoDataWithCard.js +29 -0
- package/build/components/VirtualTables/components/TableRow.js +93 -0
- package/build/components/VirtualTables/components/TableRowLoading.js +21 -0
- package/build/components/VirtualTables/components/TableRowLoadingWithCard.js +14 -0
- package/build/components/VirtualTables/components/TableRowWithCard.js +9 -0
- package/build/components/VirtualTables/components/index.js +18 -0
- package/build/components/VirtualTables/components/style.js +180 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +112 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +28 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollInner.js +20 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +79 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollOuter.js +21 -0
- package/build/components/VirtualTables/components/virtualScroll/index.js +5 -0
- package/build/components/VirtualTables/context/Provider.js +3 -0
- package/build/components/VirtualTables/context/context.js +2 -0
- package/build/components/VirtualTables/context/index.js +2 -0
- package/build/components/VirtualTables/hooks/index.js +1 -0
- package/build/components/VirtualTables/hooks/useColumnFilter.js +22 -0
- package/build/components/VirtualTables/hooks/useScrollBackShadow.js +26 -0
- package/build/components/VirtualTables/index.js +7 -1
- package/build/components/Widget/List.js +23 -0
- package/build/components/Widget/ListItem.js +19 -0
- package/build/components/Widget/Widget.js +19 -0
- package/build/components/Widget/WidgetHeader.js +19 -0
- package/build/components/Widget/index.js +6 -1
- package/build/components/Widget/style.js +71 -0
- package/build/components/Widget/useScrollWithShadow.js +14 -0
- package/build/components/Window/Window.js +43 -0
- package/build/components/Window/index.js +2 -1
- package/build/components/Window/style.js +47 -0
- package/build/components/WindowAppIcon/WindowAppIcon.js +17 -0
- package/build/components/WindowAppIcon/index.js +2 -0
- package/build/components/WindowAppIcon/style.js +25 -0
- package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/WindowSideBar.js +11 -0
- package/build/components/WindowSideBar/constant.js +1 -0
- package/build/components/WindowSideBar/index.js +4 -1
- package/build/components/WindowSideBar/style.js +33 -0
- package/build/components/WindowSideBar/type.js +1 -0
- package/build/components/index.js +159 -1
- package/build/constants/api.js +57 -0
- package/build/constants/apps.js +495 -0
- package/build/constants/assets.js +621 -0
- package/build/constants/authentication.js +23 -0
- package/build/constants/charge.js +1 -0
- package/build/constants/chips/index.js +1 -0
- package/build/constants/chips/statusChips.js +5 -0
- package/build/constants/country.js +1 -0
- package/build/constants/currency.js +22 -0
- package/build/constants/document.js +5 -0
- package/build/constants/index.js +21 -1
- package/build/constants/payment.js +53 -0
- package/build/constants/rate.js +6 -0
- package/build/constants/reports.js +119 -0
- package/build/constants/segment.js +12 -0
- package/build/constants/server.js +6 -0
- package/build/constants/servicesTags.js +53 -0
- package/build/constants/style.js +3 -0
- package/build/constants/svgIcons.js +3 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.js +132 -0
- package/build/constants/table/cell/authorizationTableCellWidth.js +247 -0
- package/build/constants/table/cell/chargeTableCellWidth.js +297 -0
- package/build/constants/table/cell/destinationsTableCellWidth.js +197 -0
- package/build/constants/table/cell/index.js +20 -0
- package/build/constants/table/cell/intentsTableCellWidth.js +32 -0
- package/build/constants/table/cell/invoicesTableCellWidth.js +107 -0
- package/build/constants/table/cell/leadsTableCellWidth.js +37 -0
- package/build/constants/table/cell/merchantsTableCellWidth.js +152 -0
- package/build/constants/table/cell/ordersTableCellWidth.js +57 -0
- package/build/constants/table/cell/payoutsTableCellWidth.js +57 -0
- package/build/constants/table/cell/protectAuthorizationsTableCellWidth.js +72 -0
- package/build/constants/table/cell/protectChargesTableCellWidth.js +67 -0
- package/build/constants/table/cell/refundTableCellWidth.js +237 -0
- package/build/constants/table/cell/terminalsTableCellWidth.js +72 -0
- package/build/constants/table/cell/tokensTableCellWidth.js +47 -0
- package/build/constants/table/cell/topupsTableCellWidth.js +57 -0
- package/build/constants/table/cell/walletDetailsTableCellWidth.js +32 -0
- package/build/constants/table/cell/walletStatementTableCellWidth.js +62 -0
- package/build/constants/table/cell/walletTableCellWidth.js +32 -0
- package/build/constants/table.js +8 -0
- package/build/constants/timezones.js +47 -0
- package/build/constants/toggleOptions.js +8 -0
- package/build/hooks/index.js +17 -1
- package/build/hooks/useActionMenu.js +45 -0
- package/build/hooks/useAppEventListener.js +13 -0
- package/build/hooks/useAppEventPublisher.js +7 -0
- package/build/hooks/useAppsInfo.js +21 -0
- package/build/hooks/useBadgesCount.js +15 -0
- package/build/hooks/useCheckUserLoggedIn.js +11 -0
- package/build/hooks/useCountdown.js +50 -0
- package/build/hooks/useDelayToSetValue.js +19 -0
- package/build/hooks/useIsParameterSelected.js +13 -0
- package/build/hooks/useMouseState.js +25 -0
- package/build/hooks/useNetworkState.js +112 -0
- package/build/hooks/useScrolledTo.js +45 -0
- package/build/hooks/useSelectedMerchantDetails.js +15 -0
- package/build/hooks/useStickyHeaderShadow.js +20 -0
- package/build/hooks/useThemeMode.js +8 -0
- package/build/hooks/useToast.js +29 -0
- package/build/hooks/useWindowDimensions.js +21 -0
- package/build/index.js +6 -1
- package/build/theme/components.js +22 -0
- package/build/theme/index.js +5 -1
- package/build/theme/palette.js +106 -0
- package/build/theme/shadows.js +27 -0
- package/build/theme/theme.js +15 -0
- package/build/theme/typography.js +33 -0
- package/build/types/account.js +8 -0
- package/build/types/analytics.js +11 -0
- package/build/types/api.js +1 -0
- package/build/types/appConfig.js +1 -0
- package/build/types/appEvents.js +16 -0
- package/build/types/apps.js +1 -0
- package/build/types/authentication.js +1 -0
- package/build/types/brand.js +13 -0
- package/build/types/cell.js +1 -0
- package/build/types/charge.js +1 -0
- package/build/types/column.js +1 -0
- package/build/types/common.js +1 -0
- package/build/types/currency.js +13 -0
- package/build/types/day.js +1 -0
- package/build/types/destination.js +1 -0
- package/build/types/discount.js +6 -0
- package/build/types/document.js +1 -0
- package/build/types/entity.js +1 -0
- package/build/types/error.js +1 -0
- package/build/types/file.js +1 -0
- package/build/types/filter.js +6 -0
- package/build/types/flag.js +1 -0
- package/build/types/index.js +38 -1
- package/build/types/invoice.js +13 -0
- package/build/types/merchant.js +1 -0
- package/build/types/receipt.js +1 -0
- package/build/types/redux.js +1 -0
- package/build/types/refund.js +1 -0
- package/build/types/reports.js +7 -0
- package/build/types/segment.js +16 -0
- package/build/types/sort.js +1 -0
- package/build/types/table.js +1 -0
- package/build/types/theme.js +10 -0
- package/build/types/toast.js +1 -0
- package/build/types/toggleOptions.js +1 -0
- package/build/types/tsUtils.js +1 -0
- package/build/types/user.js +1 -0
- package/build/types/utilities.js +1 -0
- package/build/types/window.js +1 -0
- package/build/utils/api.js +96 -0
- package/build/utils/app.js +7 -0
- package/build/utils/array.js +20 -0
- package/build/utils/billing.js +33 -0
- package/build/utils/boolean.js +7 -0
- package/build/utils/browser.js +25 -0
- package/build/utils/card.js +15 -0
- package/build/utils/chargeError.js +10 -0
- package/build/utils/color.js +65 -0
- package/build/utils/columnResizeStorage.js +96 -0
- package/build/utils/columns.js +81 -0
- package/build/utils/conversion.js +27 -0
- package/build/utils/country.js +14 -0
- package/build/utils/currency.js +91 -0
- package/build/utils/date.js +287 -0
- package/build/utils/day.js +9 -0
- package/build/utils/download.js +24 -0
- package/build/utils/encrypt.js +46 -0
- package/build/utils/entity.js +13 -0
- package/build/utils/error.js +71 -0
- package/build/utils/extractIdsFromRowData.js +22 -0
- package/build/utils/file.js +16 -0
- package/build/utils/flag.js +13 -0
- package/build/utils/freshdesk.js +56 -0
- package/build/utils/geography.js +10 -0
- package/build/utils/index.js +48 -1
- package/build/utils/language.js +14 -0
- package/build/utils/localStorage.js +213 -0
- package/build/utils/merchant.js +24 -0
- package/build/utils/merchantSource.js +36 -0
- package/build/utils/navigation.js +11 -0
- package/build/utils/number.js +38 -0
- package/build/utils/object.js +15 -0
- package/build/utils/payout.js +172 -0
- package/build/utils/phone.js +8 -0
- package/build/utils/reports.js +3 -0
- package/build/utils/segment.js +63 -0
- package/build/utils/skeletonColumns.js +55 -0
- package/build/utils/source.js +9 -0
- package/build/utils/string.js +73 -0
- package/build/utils/style.js +95 -0
- package/build/utils/table.js +230 -0
- package/build/utils/timezone.js +3 -0
- package/build/utils/toggleOptions.js +10 -0
- package/build/utils/url.js +20 -0
- package/build/utils/user.js +7 -0
- package/build/utils/validation.js +3 -0
- package/package.json +18 -15
- package/build/chunk-23C4BLEJ.js +0 -1
- package/build/chunk-24UTRGGG.js +0 -2
- package/build/chunk-24XGEJR2.js +0 -1
- package/build/chunk-2FDPAJY4.js +0 -1
- package/build/chunk-2LMLVUW4.js +0 -1
- package/build/chunk-2Q6H6K3P.js +0 -1
- package/build/chunk-2T2Z5RPJ.js +0 -1
- package/build/chunk-34II3WB7.js +0 -1
- package/build/chunk-3A4B5D6T.js +0 -1
- package/build/chunk-3ABTBVXY.js +0 -1
- package/build/chunk-3EU4NGZ7.js +0 -1
- package/build/chunk-4A6Z3DYW.js +0 -1
- package/build/chunk-4O4EFXIC.js +0 -1
- package/build/chunk-544TDVOA.js +0 -1
- package/build/chunk-5AIEKGEA.js +0 -1
- package/build/chunk-5QGYWOQI.js +0 -1
- package/build/chunk-5ZTIXOFI.js +0 -1
- package/build/chunk-62CGUEB4.js +0 -1
- package/build/chunk-66JBLKME.js +0 -1
- package/build/chunk-6DLPM4RB.js +0 -1
- package/build/chunk-6ZPCHYOF.js +0 -1
- package/build/chunk-7A7PBYFB.js +0 -1
- package/build/chunk-7IW25XZP.js +0 -1
- package/build/chunk-7NYF2UBV.js +0 -1
- package/build/chunk-A5FGRP2T.js +0 -1
- package/build/chunk-ABDRIOU6.js +0 -2
- package/build/chunk-AMMCJJFH.js +0 -1
- package/build/chunk-ARHJB5QJ.js +0 -1
- package/build/chunk-AUM6AR3E.js +0 -1
- package/build/chunk-B4QKXIT7.js +0 -1
- package/build/chunk-BFGMD3VQ.js +0 -1
- package/build/chunk-BNUBHZV7.js +0 -1
- package/build/chunk-BTANFCN2.js +0 -1
- package/build/chunk-BV5VAMBI.js +0 -1
- package/build/chunk-CQT4MCPB.js +0 -1
- package/build/chunk-CTBYQDKG.js +0 -1
- package/build/chunk-D4S6DH7W.js +0 -1
- package/build/chunk-D5EB3ZRT.js +0 -1
- package/build/chunk-DJYRLVOD.js +0 -1
- package/build/chunk-DQ76BKNS.js +0 -1
- package/build/chunk-DQLGJFLX.js +0 -2
- package/build/chunk-DYWKQE3E.js +0 -1
- package/build/chunk-E6XVMA37.js +0 -1
- package/build/chunk-EAUWAY4T.js +0 -1
- package/build/chunk-EDMW226P.js +0 -1
- package/build/chunk-F4KVGV4T.js +0 -1
- package/build/chunk-FAYAV46R.js +0 -1
- package/build/chunk-FL7ZDVP7.js +0 -1
- package/build/chunk-FQXBL3YF.js +0 -1
- package/build/chunk-G6N4V3PP.js +0 -1
- package/build/chunk-GF7D4WGP.js +0 -1
- package/build/chunk-GI3U6XGW.js +0 -1
- package/build/chunk-GMRNI4U5.js +0 -1
- package/build/chunk-GPFU7WD4.js +0 -1
- package/build/chunk-HBY2XKKF.js +0 -1
- package/build/chunk-HRHKLBHG.js +0 -1
- package/build/chunk-IBPFWRCW.js +0 -1
- package/build/chunk-IXQ7Y6Y5.js +0 -1
- package/build/chunk-J72TLM2F.js +0 -1
- package/build/chunk-JQYBCTVW.js +0 -1
- package/build/chunk-JT54SXJ7.js +0 -1
- package/build/chunk-JWC3XDE4.js +0 -1
- package/build/chunk-JYJ3D2X6.js +0 -1
- package/build/chunk-KGQT7R3W.js +0 -1
- package/build/chunk-KM4UT2GM.js +0 -1
- package/build/chunk-L3M6OM4B.js +0 -1
- package/build/chunk-LDIEOZVR.js +0 -1
- package/build/chunk-LDZG7EXA.js +0 -1
- package/build/chunk-LLPG2AC6.js +0 -3
- package/build/chunk-LMKY6Q27.js +0 -1
- package/build/chunk-LOJTJZSX.js +0 -1
- package/build/chunk-LONKQ3XM.js +0 -1
- package/build/chunk-M7YGOEQF.js +0 -1
- package/build/chunk-MTJECG6U.js +0 -1
- package/build/chunk-MYFLXP7G.js +0 -1
- package/build/chunk-NLAQMZT4.js +0 -1
- package/build/chunk-NLEKLEHC.js +0 -2
- package/build/chunk-NLOKMDQY.js +0 -1
- package/build/chunk-NLPYBEGY.js +0 -1
- package/build/chunk-NQVCWKMH.js +0 -1
- package/build/chunk-OFBKWUDT.js +0 -1
- package/build/chunk-OJJ2Q5XK.js +0 -1
- package/build/chunk-OLPNHTE7.js +0 -1
- package/build/chunk-OYEIM6ED.js +0 -2
- package/build/chunk-P6K4PD7Y.js +0 -1
- package/build/chunk-PX7SYRBV.js +0 -1
- package/build/chunk-QF32XNU6.js +0 -1
- package/build/chunk-QFMHEDCR.js +0 -1
- package/build/chunk-QGXXI4EO.js +0 -1
- package/build/chunk-RQ2V5JZH.js +0 -1
- package/build/chunk-RUU3IQ7Y.js +0 -1
- package/build/chunk-RWXGVZUC.js +0 -1
- package/build/chunk-S2BQCMBY.js +0 -1
- package/build/chunk-SZBR7LB3.js +0 -1
- package/build/chunk-T3BFBXVJ.js +0 -1
- package/build/chunk-TG2IA55S.js +0 -1
- package/build/chunk-TUTEF6YD.js +0 -1
- package/build/chunk-TZAF2TGI.js +0 -1
- package/build/chunk-UB5L7C6S.js +0 -1
- package/build/chunk-UEMTPYYH.js +0 -1
- package/build/chunk-UF4FBI5V.js +0 -1
- package/build/chunk-V44MUKYW.js +0 -1
- package/build/chunk-V5OHALLD.js +0 -1
- package/build/chunk-VJLQXTHX.js +0 -1
- package/build/chunk-VNK7I7AL.js +0 -1
- package/build/chunk-WGCHJPEZ.js +0 -1
- package/build/chunk-WGPV3VEK.js +0 -4
- package/build/chunk-WHWKA4SY.js +0 -1
- package/build/chunk-WX7HFBCU.js +0 -1
- package/build/chunk-X5KEG2KP.js +0 -1
- package/build/chunk-XQVSYDRO.js +0 -1
- package/build/chunk-XRTET45W.js +0 -1
- package/build/chunk-XUDGW7IY.js +0 -1
- package/build/chunk-XXZJ5D5P.js +0 -1
- package/build/chunk-XY57JRPE.js +0 -1
- package/build/chunk-XZORYOIS.js +0 -16
- package/build/chunk-YLE4Q6WH.js +0 -1
- package/build/chunk-YTBVTQNQ.js +0 -1
- package/build/chunk-YVHYNRRL.js +0 -1
- package/build/chunk-ZCSUNBRA.js +0 -1
- package/build/chunk-ZLWJCX4K.js +0 -1
- package/build/chunk-ZMTLSAZW.js +0 -1
- package/build/chunk-ZN4NGPK4.js +0 -2
- package/build/chunk-ZTHZGDV6.js +0 -1
- package/build/chunk-ZUBHIDDI.js +0 -1
- package/build/chunk-ZWJTEKFP.js +0 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import capitalize from 'lodash/capitalize';
|
|
2
|
+
import startCase from 'lodash/startCase';
|
|
3
|
+
export const removePrefixFromString = (str, prefix) => {
|
|
4
|
+
if (!prefix) {
|
|
5
|
+
return str;
|
|
6
|
+
}
|
|
7
|
+
const prefixIndex = str.indexOf(prefix);
|
|
8
|
+
return str.substring(prefixIndex + prefix.length);
|
|
9
|
+
};
|
|
10
|
+
export const matchOccurrence = (text, search) => {
|
|
11
|
+
const regex = new RegExp(search, 'gi');
|
|
12
|
+
const matches = text.match(regex);
|
|
13
|
+
if (matches) {
|
|
14
|
+
return matches.length;
|
|
15
|
+
}
|
|
16
|
+
return 0;
|
|
17
|
+
};
|
|
18
|
+
export const getFirstChar = (words) => {
|
|
19
|
+
return words.reduce((accumulator, word) => {
|
|
20
|
+
accumulator.push(word[0]);
|
|
21
|
+
return accumulator;
|
|
22
|
+
}, []);
|
|
23
|
+
};
|
|
24
|
+
export function generateRandomString() {
|
|
25
|
+
return Math.random().toString(36).substring(2, 15);
|
|
26
|
+
}
|
|
27
|
+
export const generateUniqueUUID = () => {
|
|
28
|
+
var _a;
|
|
29
|
+
return ((_a = crypto === null || crypto === void 0 ? void 0 : crypto.randomUUID) === null || _a === void 0 ? void 0 : _a.call(crypto)) || generateRandomString();
|
|
30
|
+
};
|
|
31
|
+
export const copyText = (text) => {
|
|
32
|
+
if (navigator.clipboard) {
|
|
33
|
+
navigator.clipboard.writeText(text);
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
const textArea = document.createElement('textarea');
|
|
37
|
+
textArea.value = text;
|
|
38
|
+
// Avoid scrolling to bottom
|
|
39
|
+
textArea.style.top = '0';
|
|
40
|
+
textArea.style.left = '0';
|
|
41
|
+
textArea.style.position = 'fixed';
|
|
42
|
+
document.body.appendChild(textArea);
|
|
43
|
+
textArea.select();
|
|
44
|
+
document.execCommand('copy');
|
|
45
|
+
textArea.remove();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export const capitalizeFirstLetter = (text) => {
|
|
49
|
+
if (typeof text !== 'string')
|
|
50
|
+
return text;
|
|
51
|
+
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
52
|
+
};
|
|
53
|
+
export const percentageToNumber = (percentageStr) => {
|
|
54
|
+
const [number] = percentageStr.split('%');
|
|
55
|
+
return parseFloat(number) || 0;
|
|
56
|
+
};
|
|
57
|
+
export const maskValue = (value) => `••• ${value.slice(-4)}`;
|
|
58
|
+
/**
|
|
59
|
+
* Transforms a string by replacing a separator with a replacement character and applying proper case formatting
|
|
60
|
+
* @param text - The string to transform
|
|
61
|
+
* @param separator - The separator to replace (defaults to underscore)
|
|
62
|
+
* @param replacement - The replacement character (defaults to space)
|
|
63
|
+
* @returns The transformed string with proper case formatting
|
|
64
|
+
*/
|
|
65
|
+
export const transformStringToProperCase = (text, separator = /_/g, replacement = ' ') => {
|
|
66
|
+
// Replace separator with replacement character
|
|
67
|
+
const updatedText = text.replace(separator, replacement);
|
|
68
|
+
// Apply proper case formatting
|
|
69
|
+
return startCase(updatedText);
|
|
70
|
+
};
|
|
71
|
+
export const capitalizeString = (text) => {
|
|
72
|
+
return capitalize(startCase(text));
|
|
73
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// Selection style constants
|
|
2
|
+
export const SELECTION_COLORS = {
|
|
3
|
+
primary: '#1F88D0',
|
|
4
|
+
background: 'white',
|
|
5
|
+
border: '#F2F2F2',
|
|
6
|
+
transparent: 'transparent',
|
|
7
|
+
};
|
|
8
|
+
const BORDER_STYLES = {
|
|
9
|
+
thin: '0.5px',
|
|
10
|
+
thick: '1px',
|
|
11
|
+
none: '0px',
|
|
12
|
+
};
|
|
13
|
+
const CELL_DIMENSIONS = {
|
|
14
|
+
minHeight: '28px',
|
|
15
|
+
fullHeight: '100%',
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Generates CSS styles for table cell selection states
|
|
19
|
+
*
|
|
20
|
+
* @param params - Selection state parameters
|
|
21
|
+
* @returns CSS-in-JS style object for the selected cell/column
|
|
22
|
+
*/
|
|
23
|
+
export const getSelectionStyles = ({ isSelected, isCellSelected, isColumnSelected, isRowSelected, isLastRow, }) => {
|
|
24
|
+
// Early return for non-selected cells
|
|
25
|
+
if (!isSelected) {
|
|
26
|
+
return {};
|
|
27
|
+
}
|
|
28
|
+
// Row selection styles
|
|
29
|
+
if (isRowSelected) {
|
|
30
|
+
return getRowSelectionStyles();
|
|
31
|
+
}
|
|
32
|
+
// Single cell selection styles
|
|
33
|
+
if (isCellSelected && !isColumnSelected) {
|
|
34
|
+
return getSingleCellSelectionStyles();
|
|
35
|
+
}
|
|
36
|
+
// Column selection styles
|
|
37
|
+
if (isColumnSelected) {
|
|
38
|
+
return getColumnSelectionStyles(isLastRow);
|
|
39
|
+
}
|
|
40
|
+
return {};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Returns styles for row selection
|
|
44
|
+
*/
|
|
45
|
+
const getRowSelectionStyles = () => ({
|
|
46
|
+
backgroundColor: SELECTION_COLORS.background,
|
|
47
|
+
color: SELECTION_COLORS.primary,
|
|
48
|
+
});
|
|
49
|
+
/**
|
|
50
|
+
* Returns styles for a single selected cell
|
|
51
|
+
*/
|
|
52
|
+
const getSingleCellSelectionStyles = () => ({
|
|
53
|
+
border: `${BORDER_STYLES.thin} solid ${SELECTION_COLORS.primary}`,
|
|
54
|
+
backgroundColor: SELECTION_COLORS.background,
|
|
55
|
+
color: SELECTION_COLORS.primary,
|
|
56
|
+
borderRadius: '2px',
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* Returns styles for column selection
|
|
60
|
+
*
|
|
61
|
+
* @param isLastRow - Whether this is the last row in the selection
|
|
62
|
+
*/
|
|
63
|
+
const getColumnSelectionStyles = (isLastRow) => {
|
|
64
|
+
const borderWidth = getBorderWidthForColumn();
|
|
65
|
+
const borderBottom = getBorderBottomForColumn(isLastRow);
|
|
66
|
+
return {
|
|
67
|
+
borderWidth,
|
|
68
|
+
borderStyle: 'solid',
|
|
69
|
+
borderColor: SELECTION_COLORS.primary,
|
|
70
|
+
borderBottom,
|
|
71
|
+
height: CELL_DIMENSIONS.fullHeight,
|
|
72
|
+
minHeight: CELL_DIMENSIONS.minHeight,
|
|
73
|
+
display: 'flex',
|
|
74
|
+
alignItems: 'center',
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Calculates border width for column selection
|
|
79
|
+
*/
|
|
80
|
+
const getBorderWidthForColumn = () => {
|
|
81
|
+
const { none, thin } = BORDER_STYLES;
|
|
82
|
+
return `${none} ${thin} ${thin} ${thin}`;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Calculates border bottom for column selection
|
|
86
|
+
*/
|
|
87
|
+
const getBorderBottomForColumn = (isLastRow) => {
|
|
88
|
+
return isLastRow ? `${BORDER_STYLES.thick} solid ${SELECTION_COLORS.primary}` : `${BORDER_STYLES.thin} solid ${SELECTION_COLORS.border}`;
|
|
89
|
+
};
|
|
90
|
+
export const getRowSelectionBorderStyles = ({ effectiveFirst, isPinnedStart, isPinnedEnd }) => ({
|
|
91
|
+
borderTop: `${BORDER_STYLES.thin} solid ${SELECTION_COLORS.primary}`,
|
|
92
|
+
borderBottom: `${BORDER_STYLES.thin} solid ${SELECTION_COLORS.primary}`,
|
|
93
|
+
borderRight: `${BORDER_STYLES.thin} solid ${isPinnedEnd ? SELECTION_COLORS.primary : 'none'}`,
|
|
94
|
+
borderLeft: `${BORDER_STYLES.thin} solid ${isPinnedStart && effectiveFirst ? SELECTION_COLORS.primary : 'transparent'}`,
|
|
95
|
+
});
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { walletDetailsTableCellWidth, authenticationsTableCellWidth, authorizationTableCellWidth, chargeTableCellWidth, destinationsTableCellWidth, intentsTableCellWidth, invoicesTableCellWidth, leadsTableCellWidth, ordersTableCellWidth, payoutsTableCellWidth, protectChargesTableCellWidth, protectAuthorizationsTableCellWidth, refundTableCellWidth, tokensTableCellWidth, walletStatementTableCellWidth, topupsTableCellWidth, walletTableCellWidth, TABLE_CONTENT_ROW_HEIGHT, TABLE_LOADING_ROW_HEIGHT, TABLE_ROW_HEIGHT, merchantsTableCellWidth, terminalsTableCellWidth, APP_CODES, } from '../constants/index.js';
|
|
2
|
+
export const getColumnWidthPercentage = (widthInPx, options) => {
|
|
3
|
+
const { isFirst, isLast } = options || {};
|
|
4
|
+
const paddingInPx = isFirst || isLast ? 0 : 0;
|
|
5
|
+
const widthInPercentage = ((widthInPx + paddingInPx) / 898) * 100; // 1128 is the total width of the table
|
|
6
|
+
return `${widthInPercentage}%`;
|
|
7
|
+
};
|
|
8
|
+
export const getCellWidth = ({ table, cellID, tableMode }) => {
|
|
9
|
+
switch (table) {
|
|
10
|
+
case 'charge':
|
|
11
|
+
return chargeTableCellWidth[cellID][tableMode];
|
|
12
|
+
case 'refund':
|
|
13
|
+
return refundTableCellWidth[cellID][tableMode];
|
|
14
|
+
case 'authorization':
|
|
15
|
+
return authorizationTableCellWidth[cellID][tableMode];
|
|
16
|
+
case 'intents':
|
|
17
|
+
return intentsTableCellWidth[cellID][tableMode];
|
|
18
|
+
case 'topups':
|
|
19
|
+
return topupsTableCellWidth[cellID][tableMode];
|
|
20
|
+
case 'destinations':
|
|
21
|
+
return destinationsTableCellWidth[cellID][tableMode];
|
|
22
|
+
case 'leads':
|
|
23
|
+
return leadsTableCellWidth[cellID][tableMode];
|
|
24
|
+
case 'orders':
|
|
25
|
+
return ordersTableCellWidth[cellID][tableMode];
|
|
26
|
+
case 'tokens':
|
|
27
|
+
return tokensTableCellWidth[cellID][tableMode];
|
|
28
|
+
case 'payouts':
|
|
29
|
+
return payoutsTableCellWidth[cellID][tableMode];
|
|
30
|
+
case 'protectCharges':
|
|
31
|
+
return protectChargesTableCellWidth[cellID][tableMode];
|
|
32
|
+
case 'protectAuthorizations':
|
|
33
|
+
return protectAuthorizationsTableCellWidth[cellID][tableMode];
|
|
34
|
+
case 'wallet':
|
|
35
|
+
return walletTableCellWidth[cellID][tableMode];
|
|
36
|
+
case 'invoices':
|
|
37
|
+
return invoicesTableCellWidth[cellID][tableMode];
|
|
38
|
+
case 'authentications':
|
|
39
|
+
return authenticationsTableCellWidth[cellID][tableMode];
|
|
40
|
+
case 'walletDetails':
|
|
41
|
+
return walletDetailsTableCellWidth[cellID][tableMode];
|
|
42
|
+
case 'walletStatement':
|
|
43
|
+
return walletStatementTableCellWidth[cellID][tableMode];
|
|
44
|
+
case 'merchants':
|
|
45
|
+
return merchantsTableCellWidth[cellID][tableMode];
|
|
46
|
+
case 'terminals':
|
|
47
|
+
return terminalsTableCellWidth[cellID][tableMode];
|
|
48
|
+
default:
|
|
49
|
+
return '100px';
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export const calculateMaxAllowedRows = (isLoaded, isLoading) => {
|
|
53
|
+
let maxWindowHeight;
|
|
54
|
+
const customHeight = window.innerHeight - 24 - 88 * 3;
|
|
55
|
+
if (isLoaded) {
|
|
56
|
+
maxWindowHeight = window.innerHeight / 1.7;
|
|
57
|
+
}
|
|
58
|
+
else if (isLoading) {
|
|
59
|
+
maxWindowHeight = customHeight - 100;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
maxWindowHeight = customHeight - 20;
|
|
63
|
+
}
|
|
64
|
+
const rowHeight = isLoaded || isLoading ? TABLE_LOADING_ROW_HEIGHT : TABLE_CONTENT_ROW_HEIGHT;
|
|
65
|
+
return Math.floor(maxWindowHeight / rowHeight);
|
|
66
|
+
};
|
|
67
|
+
const maxRowsThatFit = () => {
|
|
68
|
+
const windowHeight = (window.innerHeight * 0.82) / 1.24 - TABLE_ROW_HEIGHT;
|
|
69
|
+
const contentHeight = 70;
|
|
70
|
+
return Math.floor(windowHeight / contentHeight);
|
|
71
|
+
};
|
|
72
|
+
export const isHeightNotFullyFilledByRows = (totalRows) => {
|
|
73
|
+
const allowedRows = maxRowsThatFit();
|
|
74
|
+
return totalRows < allowedRows + 1;
|
|
75
|
+
};
|
|
76
|
+
export const isTableDefaultMode = (tableMode) => {
|
|
77
|
+
return tableMode === 'default';
|
|
78
|
+
};
|
|
79
|
+
export const isTableSheetMode = (tableMode) => {
|
|
80
|
+
return tableMode === 'sheet';
|
|
81
|
+
};
|
|
82
|
+
export const isTableTextMode = (tableMode) => {
|
|
83
|
+
return tableMode === 'text';
|
|
84
|
+
};
|
|
85
|
+
export const getPossibleActionNavigationView = () => {
|
|
86
|
+
return {
|
|
87
|
+
charge: {
|
|
88
|
+
prefixes: ['chg_', 'payout_', 'settlement_', 'terminal_'],
|
|
89
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
90
|
+
accessor: (rowData) => {
|
|
91
|
+
var _a, _b, _c, _d;
|
|
92
|
+
return [
|
|
93
|
+
rowData.id,
|
|
94
|
+
(_b = (_a = rowData.capture) === null || _a === void 0 ? void 0 : _a.charge) === null || _b === void 0 ? void 0 : _b.map((charge) => charge.id),
|
|
95
|
+
(_c = rowData.charge) === null || _c === void 0 ? void 0 : _c.id,
|
|
96
|
+
(_d = rowData.transactions) === null || _d === void 0 ? void 0 : _d.map((transaction) => transaction.id),
|
|
97
|
+
rowData.charge_id,
|
|
98
|
+
];
|
|
99
|
+
},
|
|
100
|
+
label: 'Charge',
|
|
101
|
+
appCode: APP_CODES.acceptance.code,
|
|
102
|
+
serviceCode: APP_CODES.acceptance.services.charges.code,
|
|
103
|
+
icon: 'capture',
|
|
104
|
+
},
|
|
105
|
+
authorize: {
|
|
106
|
+
prefixes: ['auth_'],
|
|
107
|
+
keys: ['id', 'authorize.id', 'source.id', 'charge.source.id'],
|
|
108
|
+
label: 'Authorization',
|
|
109
|
+
appCode: APP_CODES.acceptance.code,
|
|
110
|
+
serviceCode: APP_CODES.acceptance.services.authorization.code,
|
|
111
|
+
icon: 'capture',
|
|
112
|
+
},
|
|
113
|
+
intents: {
|
|
114
|
+
prefixes: ['intent_'],
|
|
115
|
+
keys: [],
|
|
116
|
+
label: 'Intents',
|
|
117
|
+
appCode: APP_CODES.acceptance.code,
|
|
118
|
+
serviceCode: APP_CODES.acceptance.services.intents.code,
|
|
119
|
+
icon: 'capture',
|
|
120
|
+
},
|
|
121
|
+
refunds: {
|
|
122
|
+
prefixes: ['re_', 'payout_'],
|
|
123
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
124
|
+
accessor: (rowData) => {
|
|
125
|
+
var _a, _b, _c, _d;
|
|
126
|
+
return [
|
|
127
|
+
(_b = (_a = rowData === null || rowData === void 0 ? void 0 : rowData.refunds) === null || _a === void 0 ? void 0 : _a.refund) === null || _b === void 0 ? void 0 : _b.map((refund) => refund.id),
|
|
128
|
+
rowData === null || rowData === void 0 ? void 0 : rowData.id,
|
|
129
|
+
...(((_c = rowData === null || rowData === void 0 ? void 0 : rowData.refunds) === null || _c === void 0 ? void 0 : _c.length) ? [(_d = rowData === null || rowData === void 0 ? void 0 : rowData.refunds) === null || _d === void 0 ? void 0 : _d.map((refund) => refund.id)] : []),
|
|
130
|
+
];
|
|
131
|
+
},
|
|
132
|
+
label: 'Refunds',
|
|
133
|
+
appCode: APP_CODES.acceptance.code,
|
|
134
|
+
serviceCode: APP_CODES.acceptance.services.refunds.code,
|
|
135
|
+
icon: 'refund',
|
|
136
|
+
},
|
|
137
|
+
authentication: {
|
|
138
|
+
prefixes: ['auth_payer_'],
|
|
139
|
+
keys: ['authentication.id'],
|
|
140
|
+
label: 'Authentication',
|
|
141
|
+
appCode: APP_CODES.authentication.code,
|
|
142
|
+
serviceCode: APP_CODES.authentication.services.authentication.code,
|
|
143
|
+
icon: 'capture',
|
|
144
|
+
},
|
|
145
|
+
order: {
|
|
146
|
+
prefixes: ['order_', 'ord_'],
|
|
147
|
+
keys: ['order.id'],
|
|
148
|
+
label: 'Order',
|
|
149
|
+
appCode: APP_CODES.order.code,
|
|
150
|
+
serviceCode: APP_CODES.order.services.orders.code,
|
|
151
|
+
icon: 'capture',
|
|
152
|
+
},
|
|
153
|
+
chargeFlags: {
|
|
154
|
+
prefixes: ['flag_'],
|
|
155
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
156
|
+
accessor: (rowData) => {
|
|
157
|
+
var _a, _b;
|
|
158
|
+
return (_b = (_a = rowData === null || rowData === void 0 ? void 0 : rowData.flags) === null || _a === void 0 ? void 0 : _a.flag) === null || _b === void 0 ? void 0 : _b.map((flag) => flag.id);
|
|
159
|
+
},
|
|
160
|
+
label: 'Flags',
|
|
161
|
+
appCode: APP_CODES.protect.code,
|
|
162
|
+
serviceCode: APP_CODES.protect.services.chargesFlags.code,
|
|
163
|
+
icon: 'flag',
|
|
164
|
+
},
|
|
165
|
+
authorizationFlags: {
|
|
166
|
+
prefixes: ['flag_'],
|
|
167
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
168
|
+
accessor: (rowData) => {
|
|
169
|
+
var _a, _b;
|
|
170
|
+
return (_b = (_a = rowData === null || rowData === void 0 ? void 0 : rowData.flags) === null || _a === void 0 ? void 0 : _a.flag) === null || _b === void 0 ? void 0 : _b.map((flag) => flag.id);
|
|
171
|
+
},
|
|
172
|
+
label: 'Flags',
|
|
173
|
+
appCode: APP_CODES.protect.code,
|
|
174
|
+
serviceCode: APP_CODES.protect.services.authorizationsFlags.code,
|
|
175
|
+
icon: 'flag',
|
|
176
|
+
},
|
|
177
|
+
token: {
|
|
178
|
+
prefixes: ['tok_'],
|
|
179
|
+
keys: ['source.id'],
|
|
180
|
+
label: 'Token',
|
|
181
|
+
appCode: APP_CODES.tokens.code,
|
|
182
|
+
serviceCode: APP_CODES.tokens.services.tokens.code,
|
|
183
|
+
icon: 'capture',
|
|
184
|
+
},
|
|
185
|
+
destination: {
|
|
186
|
+
prefixes: ['trf_', 'payout_'],
|
|
187
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
188
|
+
accessor: (rowData) => {
|
|
189
|
+
var _a, _b;
|
|
190
|
+
return [(_b = (_a = rowData === null || rowData === void 0 ? void 0 : rowData.destinations) === null || _a === void 0 ? void 0 : _a.destination) === null || _b === void 0 ? void 0 : _b.map((destination) => { var _a; return (_a = destination === null || destination === void 0 ? void 0 : destination.transfer) === null || _a === void 0 ? void 0 : _a.id; }), rowData === null || rowData === void 0 ? void 0 : rowData.id];
|
|
191
|
+
},
|
|
192
|
+
label: 'Destination',
|
|
193
|
+
appCode: APP_CODES.acceptance.code,
|
|
194
|
+
serviceCode: APP_CODES.acceptance.services.destinations.code,
|
|
195
|
+
icon: 'destination',
|
|
196
|
+
},
|
|
197
|
+
payout: {
|
|
198
|
+
prefixes: ['payout_'],
|
|
199
|
+
keys: ['balance.payout.id'],
|
|
200
|
+
label: 'Payout',
|
|
201
|
+
appCode: APP_CODES.payouts.code,
|
|
202
|
+
serviceCode: APP_CODES.payouts.services.payouts.code,
|
|
203
|
+
icon: 'capture',
|
|
204
|
+
},
|
|
205
|
+
settlement: {
|
|
206
|
+
prefixes: ['settlement_'],
|
|
207
|
+
keys: ['settlement.id'],
|
|
208
|
+
label: 'Settlement',
|
|
209
|
+
appCode: APP_CODES.acceptance.code,
|
|
210
|
+
serviceCode: APP_CODES.acceptance.services.settlements.code,
|
|
211
|
+
icon: 'capture',
|
|
212
|
+
},
|
|
213
|
+
intent: {
|
|
214
|
+
prefixes: ['intent_'],
|
|
215
|
+
keys: ['intent.id'],
|
|
216
|
+
label: 'Intent',
|
|
217
|
+
appCode: APP_CODES.acceptance.code,
|
|
218
|
+
serviceCode: APP_CODES.acceptance.services.intents.code,
|
|
219
|
+
icon: 'capture',
|
|
220
|
+
},
|
|
221
|
+
topup: {
|
|
222
|
+
prefixes: ['topup_'],
|
|
223
|
+
keys: ['topup.id'],
|
|
224
|
+
label: 'Topup',
|
|
225
|
+
appCode: APP_CODES.acceptance.code,
|
|
226
|
+
serviceCode: APP_CODES.acceptance.services.topups.code,
|
|
227
|
+
icon: 'capture',
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { COUNTRIES_TIMEZONES } from '../constants/index.js';
|
|
2
|
+
export const getTimezoneByCountryCode = (code) => { var _a; return (_a = COUNTRIES_TIMEZONES.find((country) => country.countryCode === code)) !== null && _a !== void 0 ? _a : COUNTRIES_TIMEZONES[0]; };
|
|
3
|
+
export const getTimezoneByTimezone = (timezone) => { var _a; return (_a = COUNTRIES_TIMEZONES.find((country) => country.timezone === timezone)) !== null && _a !== void 0 ? _a : COUNTRIES_TIMEZONES[0]; };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DATA_KEY, DATA_KEY_LABEL } from '../constants/index.js';
|
|
2
|
+
export const getLocalizedUnitLabel = (dataKey, value) => {
|
|
3
|
+
if (value === undefined || value === null)
|
|
4
|
+
return '';
|
|
5
|
+
const unitKey = DATA_KEY_LABEL[dataKey];
|
|
6
|
+
if (dataKey === DATA_KEY.COUNT) {
|
|
7
|
+
return value === 1 ? unitKey : `${unitKey}s`;
|
|
8
|
+
}
|
|
9
|
+
return unitKey;
|
|
10
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const openNewTab = (url, target = '_blank') => {
|
|
2
|
+
const link = document.createElement('a');
|
|
3
|
+
link.href = url;
|
|
4
|
+
link.target = target;
|
|
5
|
+
link.rel = 'noopener noreferrer';
|
|
6
|
+
link.click();
|
|
7
|
+
link.remove();
|
|
8
|
+
};
|
|
9
|
+
export const openUrl = (url) => {
|
|
10
|
+
const isUrl = /^https?:\/\//i.test(url);
|
|
11
|
+
if (isUrl) {
|
|
12
|
+
// Open normal URLs directly
|
|
13
|
+
window.open(url, '_blank', 'noopener,noreferrer');
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
// Show the string in the url bar as a query param
|
|
17
|
+
const newUrl = 'about:blank?' + encodeURIComponent(url);
|
|
18
|
+
window.open(newUrl, '_blank', 'noopener,noreferrer');
|
|
19
|
+
}
|
|
20
|
+
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.442",
|
|
5
5
|
"testVersion": 0,
|
|
6
6
|
"type": "module",
|
|
7
|
-
"sideEffects": false,
|
|
8
7
|
"main": "build/index.js",
|
|
9
8
|
"module": "build/index.js",
|
|
10
9
|
"types": "build/index.d.ts",
|
|
@@ -12,35 +11,43 @@
|
|
|
12
11
|
"./package.json": "./package.json",
|
|
13
12
|
".": {
|
|
14
13
|
"types": "./build/index.d.ts",
|
|
15
|
-
"import": "./build/index.js"
|
|
14
|
+
"import": "./build/index.js",
|
|
15
|
+
"require": "./build/index.js"
|
|
16
16
|
},
|
|
17
17
|
"./constants": {
|
|
18
18
|
"types": "./build/constants/index.d.ts",
|
|
19
|
-
"import": "./build/constants/index.js"
|
|
19
|
+
"import": "./build/constants/index.js",
|
|
20
|
+
"require": "./build/constants/index.js"
|
|
20
21
|
},
|
|
21
22
|
"./components": {
|
|
22
23
|
"types": "./build/components/index.d.ts",
|
|
23
|
-
"import": "./build/components/index.js"
|
|
24
|
+
"import": "./build/components/index.js",
|
|
25
|
+
"require": "./build/components/index.js"
|
|
24
26
|
},
|
|
25
27
|
"./components/*": {
|
|
26
28
|
"types": "./build/components/*/index.d.ts",
|
|
27
|
-
"import": "./build/components/*/index.js"
|
|
29
|
+
"import": "./build/components/*/index.js",
|
|
30
|
+
"require": "./build/components/*/index.js"
|
|
28
31
|
},
|
|
29
32
|
"./hooks": {
|
|
30
33
|
"types": "./build/hooks/index.d.ts",
|
|
31
|
-
"import": "./build/hooks/index.js"
|
|
34
|
+
"import": "./build/hooks/index.js",
|
|
35
|
+
"require": "./build/hooks/index.js"
|
|
32
36
|
},
|
|
33
37
|
"./utils": {
|
|
34
38
|
"types": "./build/utils/index.d.ts",
|
|
35
|
-
"import": "./build/utils/index.js"
|
|
39
|
+
"import": "./build/utils/index.js",
|
|
40
|
+
"require": "./build/utils/index.js"
|
|
36
41
|
},
|
|
37
42
|
"./theme": {
|
|
38
43
|
"types": "./build/theme/index.d.ts",
|
|
39
|
-
"import": "./build/theme/index.js"
|
|
44
|
+
"import": "./build/theme/index.js",
|
|
45
|
+
"require": "./build/theme/index.js"
|
|
40
46
|
},
|
|
41
47
|
"./types": {
|
|
42
48
|
"types": "./build/types/index.d.ts",
|
|
43
|
-
"import": "./build/types/index.js"
|
|
49
|
+
"import": "./build/types/index.js",
|
|
50
|
+
"require": "./build/types/index.js"
|
|
44
51
|
}
|
|
45
52
|
},
|
|
46
53
|
"license": "MIT",
|
|
@@ -53,9 +60,7 @@
|
|
|
53
60
|
"readme.md"
|
|
54
61
|
],
|
|
55
62
|
"scripts": {
|
|
56
|
-
"ts:build
|
|
57
|
-
"ts:build:types": "tsc -p tsconfig.npm.json --emitDeclarationOnly && tsc-alias -p tsconfig.npm.json",
|
|
58
|
-
"ts:build": "yarn ts:build:js && yarn ts:build:types",
|
|
63
|
+
"ts:build": "rm -rf build && tsc -p tsconfig.npm.json && tsc-alias -p tsconfig.npm.json",
|
|
59
64
|
"push:local": "yarn ts:build && yalc publish --push",
|
|
60
65
|
"push": "npm run ts:build && npm publish --access public",
|
|
61
66
|
"push:test": "node scripts/increment-test-version.cjs && npm run ts:build && npm publish --access public --tag test && node scripts/restore-version.cjs",
|
|
@@ -104,7 +109,6 @@
|
|
|
104
109
|
"@eslint/js": "^9.17.0",
|
|
105
110
|
"@testing-library/jest-dom": "^5.16.5",
|
|
106
111
|
"@types/lodash": "^4.17.15",
|
|
107
|
-
"@types/node": "^20.11.0",
|
|
108
112
|
"@types/react": "^18.2.6",
|
|
109
113
|
"@types/react-dom": "^18.3.5",
|
|
110
114
|
"@types/react-lazy-load-image-component": "^1.6.4",
|
|
@@ -120,7 +124,6 @@
|
|
|
120
124
|
"lint-staged": "^13.2.2",
|
|
121
125
|
"prettier": "^2.8.8",
|
|
122
126
|
"tsc-alias": "^1.8.16",
|
|
123
|
-
"tsup": "^8.5.1",
|
|
124
127
|
"typescript": "5.0.2",
|
|
125
128
|
"typescript-eslint": "^8.18.2",
|
|
126
129
|
"vite": "6.0.5",
|
package/build/chunk-23C4BLEJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import'./chunk-GF7D4WGP.js';import {a}from'./chunk-WHWKA4SY.js';import {memo}from'react';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var S="32px";var g=styled(p,{shouldForwardProp:r=>r!=="isMaximized"})(({theme:r,isMaximized:t})=>({background:alpha(r.palette.common.white,.7),backdropFilter:"blur(8px)",width:183,position:"sticky",padding:"16px 8px",paddingTop:t?S:"16px",height:"100%",overflow:"auto"})),A=styled(p)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),y=styled(p,{shouldForwardProp:r=>r!=="isActive"})(({theme:r,isActive:t})=>({background:t?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:t?r.palette.common.white:r.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),B=styled(p,{shouldForwardProp:r=>r!=="isActive"})(({theme:r,isActive:t})=>({background:t?"#FFFFFF":"transparent",borderRadius:"4px",padding:"4px 8px",color:r.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600}));function w({sections:r,isMaximized:t,onClick:i,activeSection:h,activeSubSection:F}){var x,m,u,l;let n=h||((x=r==null?void 0:r[0])==null?void 0:x.id),M=F||((l=(u=(m=r==null?void 0:r[0])==null?void 0:m.subSections)==null?void 0:u[0])==null?void 0:l.id);return jsx(g,{isMaximized:t,children:jsx(A,{children:r==null?void 0:r.map(e=>{var f;return jsx(a,{defaultExpanded:n===e.id,summarySx:{padding:0,minHeight:0,marginBottom:"4px",borderRadius:"4px !important","& .MuiAccordionSummary-content":{margin:"0 !important"}},sx:{background:"transparent",border:"none !important","&.MuiAccordion-root":{borderRadius:"4px !important"}},Header:jsx(B,{onClick:()=>{var o,b;i==null||i(e.id,(b=(o=e.subSections)==null?void 0:o[0])==null?void 0:b.id);},isActive:n===e.id,children:e.title},e.id),children:jsx(Fragment,{children:(f=e.subSections)==null?void 0:f.map(o=>jsx(y,{onClick:()=>{i==null||i(e.id,o.id);},isActive:M===o.id,children:o.title},`${e.id}-${o.id}`))})},`${e.id}`)})})})}var E=memo(w);var j=E;export{j as a};
|
package/build/chunk-24UTRGGG.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {memo}from'react';import {jsxs,jsx}from'react/jsx-runtime';function a({width:r=78,height:i=32}){return jsxs("svg",{width:r,height:i,viewBox:"0 0 289 210",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("g",{filter:"url(#filter0_di_46_16849)",children:jsx("rect",{x:"123",y:"40",width:"121.36",height:"121.36",rx:"32",fill:"url(#paint0_linear_46_16849)"})}),jsx("path",{d:"M165.45 124.938C161.073 124.938 157.342 123.958 154.257 121.999C151.172 120.019 148.837 117.267 147.253 113.744C145.669 110.222 144.877 106.136 144.877 101.488C144.877 96.8397 145.669 92.7541 147.253 89.2314C148.837 85.7087 151.172 82.9677 154.257 81.0083C157.342 79.0281 161.073 78.038 165.45 78.038C169.849 78.038 173.59 79.0281 176.675 81.0083C179.76 82.9677 182.095 85.7087 183.679 89.2314C185.263 92.7541 186.055 96.8397 186.055 101.488C186.055 106.136 185.263 110.222 183.679 113.744C182.095 117.267 179.76 120.019 176.675 121.999C173.59 123.958 169.849 124.938 165.45 124.938ZM165.45 121.03C168.994 121.03 171.985 120.217 174.424 118.591C176.863 116.944 178.687 114.662 179.896 111.743C181.125 108.804 181.74 105.386 181.74 101.488C181.74 97.5901 181.125 94.182 179.896 91.2638C178.687 88.3247 176.863 86.0422 174.424 84.4164C171.985 82.7905 168.994 81.9671 165.45 81.9463C161.949 81.9463 158.978 82.7697 156.539 84.4164C154.101 86.0422 152.266 88.3143 151.036 91.2325C149.828 94.1507 149.213 97.5692 149.192 101.488C149.15 105.365 149.744 108.773 150.974 111.712C152.204 114.651 154.038 116.934 156.477 118.56C158.937 120.185 161.928 121.009 165.45 121.03Z",fill:"white"}),jsx("path",{d:"M205.269 124.938C202.163 124.938 199.359 124.417 196.858 123.375C194.356 122.332 192.293 120.863 190.667 118.966C189.062 117.048 187.999 114.787 187.478 112.181L191.605 111.493C192.105 113.453 193.002 115.151 194.294 116.59C195.586 118.028 197.181 119.133 199.078 119.904C200.995 120.654 203.101 121.03 205.394 121.03C207.728 121.03 209.802 120.665 211.616 119.935C213.429 119.185 214.847 118.132 215.868 116.777C216.889 115.402 217.4 113.807 217.4 111.994C217.4 110.43 217.035 109.138 216.306 108.116C215.576 107.095 214.701 106.313 213.679 105.771C212.658 105.209 211.47 104.719 210.115 104.302L198.765 100.925C196.722 100.321 195.003 99.5494 193.606 98.6114C192.209 97.6734 191.126 96.5061 190.354 95.1096C189.604 93.713 189.229 92.0975 189.229 90.2632C189.229 87.8453 189.875 85.7087 191.167 83.8536C192.46 81.9984 194.263 80.5706 196.576 79.57C198.89 78.5487 201.506 78.038 204.424 78.038C207.384 78.0588 210.052 78.6112 212.429 79.6951C214.805 80.7582 216.754 82.2798 218.275 84.26C219.797 86.2194 220.787 88.5331 221.246 91.2012L217.056 91.9516C216.743 89.9714 216.003 88.2309 214.836 86.7301C213.69 85.2085 212.21 84.0412 210.396 83.2282C208.583 82.3945 206.582 81.9671 204.393 81.9463C202.309 81.9463 200.433 82.3007 198.765 83.0094C197.118 83.7181 195.826 84.6978 194.888 85.9484C193.971 87.1783 193.512 88.5644 193.512 90.1069C193.512 91.5869 193.919 92.8167 194.732 93.7964C195.545 94.7761 196.524 95.5369 197.671 96.0788C198.838 96.5999 200.214 97.0898 201.798 97.5484L210.74 100.175C212.533 100.696 214.18 101.332 215.68 102.082C217.181 102.812 218.526 103.979 219.714 105.584C220.902 107.189 221.496 109.284 221.496 111.868C221.496 114.557 220.798 116.882 219.401 118.841C218.025 120.8 216.108 122.312 213.648 123.375C211.209 124.417 208.416 124.938 205.269 124.938Z",fill:"white"}),jsx("path",{d:"M18.7164 123.645C14.7917 124.452 11.2433 124.465 8.07124 123.685C4.89919 122.906 2.65457 121.172 1.33737 118.484C0.719086 117.194 0.329301 115.89 0.168011 114.573C0.0336023 113.255 -0.0201611 111.468 0.00672029 109.21V108.202V68H5.28898V108.04V109.331C5.2621 111.078 5.28898 112.409 5.36962 113.323C5.47715 114.237 5.74597 115.083 6.17608 115.863C7.09005 117.61 8.55511 118.699 10.5712 119.129C12.5874 119.559 15.3024 119.492 18.7164 118.927V123.645ZM0.00656226 80.0968H18.7164V84.7339H0.00656226V80.0968Z",fill:"#20232B"}),jsx("path",{d:"M39.7251 124.855C36.5262 124.855 33.7977 124.277 31.5396 123.121C29.2815 121.965 27.588 120.419 26.459 118.484C25.3299 116.522 24.7654 114.358 24.7654 111.992C24.7654 108.524 25.7735 105.769 27.7896 103.726C29.8326 101.683 32.588 100.231 36.0557 99.371C38.3676 98.8333 40.8273 98.3763 43.4348 98C46.0692 97.6237 49.6176 97.1398 54.0799 96.5484C55.424 96.414 56.7009 96.2527 57.9106 96.0645L56.0154 97.2339C56.0692 94.1694 55.7063 91.6694 54.9267 89.7339C54.174 87.7715 52.8971 86.3199 51.0961 85.379C49.3219 84.4113 46.9428 83.9274 43.959 83.9274C40.76 83.9274 38.1122 84.6532 36.0154 86.1048C33.9455 87.5296 32.5074 89.7204 31.7009 92.6774L26.4186 91.1855C27.4401 87.2339 29.4563 84.1962 32.467 82.0726C35.4778 79.9489 39.3488 78.8871 44.0799 78.8871C48.0853 78.8871 51.459 79.6532 54.2009 81.1855C56.9697 82.7177 58.9052 84.8817 60.0074 87.6774C60.4643 88.8333 60.7869 90.164 60.9751 91.6694C61.1633 93.1747 61.2574 94.8011 61.2574 96.5484V123.645H56.4993V112.435L58.0316 112.96C57.0907 115.513 55.7466 117.677 53.9993 119.452C52.252 121.226 50.1686 122.57 47.7493 123.484C45.3299 124.398 42.6552 124.855 39.7251 124.855ZM40.1686 120.137C42.9643 120.137 45.4375 119.64 47.588 118.645C49.7654 117.624 51.5127 116.199 52.8299 114.371C54.174 112.543 55.0477 110.419 55.4509 108C55.6928 106.925 55.8407 105.796 55.8945 104.613C55.9482 103.403 55.9751 101.965 55.9751 100.298V99.5726L58.1122 100.782L55.5316 101.105C51.5799 101.535 48.2197 101.938 45.4509 102.315C42.6821 102.691 40.209 103.161 38.0315 103.726C35.7466 104.371 33.8514 105.339 32.3461 106.629C30.8676 107.919 30.1283 109.707 30.1283 111.992C30.1283 113.39 30.4643 114.707 31.1364 115.944C31.8084 117.18 32.8971 118.188 34.4025 118.968C35.9079 119.747 37.8299 120.137 40.1686 120.137Z",fill:"#20232B"}),jsx("path",{d:"M91.0746 124.855C87.2306 124.855 83.9107 123.86 81.115 121.871C78.3462 119.855 76.2359 117.113 74.7843 113.645C73.3596 110.151 72.6472 106.199 72.6472 101.79C72.6472 97.3548 73.3596 93.4167 74.7843 89.9758C76.2359 86.5081 78.373 83.793 81.1956 81.8306C84.0451 79.8683 87.4591 78.8871 91.4376 78.8871C95.2816 78.8871 98.6284 79.8817 101.478 81.871C104.327 83.8602 106.505 86.6021 108.01 90.0968C109.542 93.5645 110.309 97.4624 110.309 101.79C110.309 106.199 109.542 110.151 108.01 113.645C106.505 117.14 104.3 119.882 101.397 121.871C98.494 123.86 95.0531 124.855 91.0746 124.855ZM71.7601 80.0968H76.5182V113.242H77.0424V143H71.7601V80.0968ZM90.6311 119.855C93.6687 119.855 96.2359 119.075 98.3327 117.516C100.456 115.957 102.042 113.82 103.091 111.105C104.166 108.39 104.704 105.285 104.704 101.79C104.704 98.3226 104.179 95.2446 103.131 92.5565C102.083 89.8414 100.497 87.7177 98.373 86.1855C96.2494 84.6263 93.6419 83.8468 90.5505 83.8468C87.5128 83.8468 84.9322 84.6129 82.8085 86.1452C80.7117 87.6505 79.1392 89.7473 78.0908 92.4355C77.0424 95.1237 76.5182 98.2419 76.5182 101.79C76.5182 105.339 77.0424 108.47 78.0908 111.185C79.166 113.901 80.7521 116.024 82.8488 117.556C84.9725 119.089 87.5666 119.855 90.6311 119.855Z",fill:"#20232B"}),jsxs("defs",{children:[jsxs("filter",{id:"filter0_di_46_16849",x:"79",y:"0",width:"209.359",height:"209.36",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),jsx("feOffset",{dy:"4"}),jsx("feGaussianBlur",{stdDeviation:"22"}),jsx("feComposite",{in2:"hardAlpha",operator:"out"}),jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"}),jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_46_16849"}),jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_46_16849",result:"shape"}),jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),jsx("feOffset",{dy:"-4"}),jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"}),jsx("feBlend",{mode:"normal",in2:"shape",result:"effect2_innerShadow_46_16849"})]}),jsxs("linearGradient",{id:"paint0_linear_46_16849",x1:"123",y1:"100.68",x2:"244.36",y2:"100.68",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#42464F"}),jsx("stop",{offset:"1","stop-color":"#272B34"})]})]})]})}var t=memo(a);var d=t;
|
|
2
|
-
export{d as a};
|
package/build/chunk-24XGEJR2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {jb}from'./chunk-OYEIM6ED.js';import {c,b,a}from'./chunk-RWXGVZUC.js';import {useCallback}from'react';import y,{autocompleteClasses}from'@mui/material/Autocomplete';import S from'@mui/material/Box';import {styled}from'@mui/material/styles';import M from'@mui/material/TextField';import g from'@mui/material/Popper';import {jsx}from'react/jsx-runtime';var m=styled(M)({"& .MuiInputBase-root":{paddingTop:13,paddingBottom:13,borderRadius:4,"& .MuiOutlinedInput-notchedOutline":{borderWidth:1,borderStyle:"solid",borderColor:"#F2F2F2"},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#F2F2F2"}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#1F88D0",boxShadow:"0px 0px 4px 0px #1F88D080"},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#1F88D0"}}},[`& .${autocompleteClasses.input}`]:{fontSize:11,paddingTop:0,paddingBottom:0,paddingLeft:0},[`& .${autocompleteClasses.endAdornment}`]:{marginRight:8}}}),f=styled(g)({fontSize:11,borderRadius:"8px",border:"1px solid #F2F2F2",boxShadow:"0px 2px 56px 0px #20232B24"});var T=x=>{let r=x,{options:c$1,value:b$1,onChange:F,label:n,renderInput:C,slotProps:o,textFieldProps:t}=r,P=c(r,["options","value","onChange","label","renderInput","slotProps","textFieldProps"]),h=useCallback(d=>{let A=typeof t=="function"?t(d):t;return jsx(m,b(a(a({},d),A),{label:n}))},[t,n]);return jsx(y,b(a({options:c$1,value:b$1,onChange:F,popupIcon:jsx(S,{component:"img",src:jb,sx:{transform:"rotate(90deg)"},width:8,alt:"close"}),renderInput:C||h,PopperComponent:f},P),{slotProps:b(a({},o),{popper:a({modifiers:[{name:"offset",options:{offset:[0,4]}}]},o==null?void 0:o.popper)})}))},R=T;export{R as a};
|
package/build/chunk-2FDPAJY4.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a as a$5}from'./chunk-544TDVOA.js';import {a,c as c$1,e,f,b as b$1}from'./chunk-NLOKMDQY.js';import {a as a$4}from'./chunk-2Q6H6K3P.js';import {a as a$3}from'./chunk-GMRNI4U5.js';import {a as a$2}from'./chunk-5AIEKGEA.js';import {a as a$6}from'./chunk-WHWKA4SY.js';import {a as a$7}from'./chunk-HBY2XKKF.js';import {Cc,u}from'./chunk-OYEIM6ED.js';import {c,b,a as a$1}from'./chunk-RWXGVZUC.js';import*as H from'react';import H__default,{useState,useMemo}from'react';import {useFormContext,Controller,FormProvider,useForm}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';import M from'@mui/material/Box';import Ze from'@mui/material/Input';import {styled}from'@mui/material/styles';import {Box,MenuItem}from'@mui/material';import je from'@mui/material/MenuItem';function We({onSubmit:e,methods:r,children:t}){return jsx(FormProvider,b(a$1({},r),{children:jsx("form",{onSubmit:e,noValidate:true,children:t})}))}var De=H__default.memo(We);var te=H.forwardRef((S,i)=>{var f=S,{name:e,helperText:r,hideArrows:t}=f,n=c(f,["name","helperText","hideArrows"]);let{control:d}=useFormContext();return jsx(Controller,{name:e,control:d,defaultValue:n.defaultValue,render:({field:p,fieldState:s})=>{var l;return jsx(a,b(a$1(a$1({},n),p),{ref:i,hasError:!!s.error,helperText:r!=null?r:(l=s.error)==null?void 0:l.message,hideArrows:t,onChange:m=>{var F;p.onChange(m),(F=n.onChange)==null||F.call(n,m);},onWheel:m=>{m.target instanceof HTMLElement&&m.target.blur();}}))}})});te.displayName="RFHFormInput";var ne=H.memo(te);var ze=ne;function le(d){var p=d,{phoneName:e$1,countries:r,countryName:t,helperText:n,isCountriesLoading:i,disabled:S}=p,f=c(p,["phoneName","countries","countryName","helperText","isCountriesLoading","disabled"]);let{control:s,watch:l,setValue:m}=useFormContext(),F=l(t),I=x=>{m(t,x);};return jsx(Controller,{name:e$1,control:s,render:({field:{onChange:x,value:C},fieldState:h})=>{var P;return jsx(e,b(a$1({},f),{phoneValue:C,countries:r,hasError:!!h.error,helperText:n!=null?n:(P=h.error)==null?void 0:P.message,onPhoneChange:g=>{x(g);},disabled:S,countryValue:F,onCountryChange:I,isCountriesLoading:i}))}})}le.displayName="RFHPhoneInput";var me=le;var Ne=me;var V=(e,r)=>e.toFixed(r);function pe(f$1){var d=f$1,{amountName:e,currencies:r,currencyName:t,helperText:n,isCurrenciesLoading:i}=d,S=c(d,["amountName","currencies","currencyName","helperText","isCurrenciesLoading"]);let{control:p,watch:s,setValue:l}=useFormContext(),m=s(t),F=s(e),I=x=>{l(t,x),l(e,V(Number(F),(x==null?void 0:x.decimals)||2));};return jsx(Controller,{name:e,control:p,render:({field:{onChange:x,value:C},fieldState:h})=>{var P;return jsx(f,b(a$1({},S),{amountValue:C!=null?C:"",currencies:r,hasError:!!h.error,helperText:n!=null?n:(P=h.error)==null?void 0:P.message,onAmountChange:g=>{x(g);},onAmountBlur:g=>{x(V(Number(g),(m==null?void 0:m.decimals)||2));},currencyValue:m,onCurrencyChange:I,isCurrenciesLoading:i}))}})}pe.displayName="RFHAmountInput";var ce=pe;var Ke=ce;function se(n){var i=n,{name:e,helperText:r}=i,t=c(i,["name","helperText"]);let{control:S}=useFormContext();return jsx(Controller,{name:e,control:S,render:({field:f,fieldState:d})=>{var p;return jsx(c$1,b(a$1(a$1({},t),f),{hasError:!!d.error,helperText:r!=null?r:(p=d.error)==null?void 0:p.message}))}})}se.displayName="RFHSelect";var fe=H.memo(se);var z=fe;function ge(n){var i=n,{name:e,disabled:r}=i,t=c(i,["name","disabled"]);let{control:S}=useFormContext();return jsx(Controller,{name:e,control:S,render:({field:{name:f,onBlur:d,onChange:p,value:s,disabled:l}})=>jsx(a$4,b(a$1({},t),{onChange:p,onBlur:d,name:f,disabled:l||r,checked:s!=null?s:false}))})}ge.displayName="RFHSWitch";var Se=H.memo(ge);var Ye=Se;var be=styled(a$2)(({theme:e})=>({fontSize:"10px",color:e.palette.grey[700],fontWeight:600,lineHeight:"10px"}));styled(a$2)(({theme:e})=>({fontSize:"11px",color:e.palette.text.primary,fontWeight:600,lineHeight:"14.3px",width:200}));var Ce=styled(M)(()=>({display:"flex",flexDirection:"column",maxHeight:180,overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"#E5E5E5 #E5E5E5"}));styled(Ze)(({theme:e})=>({width:"inherit",height:32,padding:"11px 12px",fontSize:"10px",borderRadius:"5px",backgroundColor:"#F9F9F9",border:"1px solid transparent","&.Mui-focused":{borderColor:e.palette.info.dark}}));var Pe=styled(M)(()=>({display:"flex",flexDirection:"column",gap:"8px"}));styled(M)(()=>({display:"flex",gap:"8px",padding:"4px",flexWrap:"wrap",paddingInlineEnd:"20px"}));styled(M)(({theme:e,maxWidth:r})=>a$1({display:"flex",padding:"4px 8px 4px 6px",alignItems:"center",gap:"4px",borderRadius:"13px",backgroundColor:`${e.palette.info.dark}1a`,fontSize:"10px",fontWeight:500,cursor:"pointer"},r&&{maxWidth:`${r}%`}));var Fe=styled(a$2)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",fontSize:"10px",fontWeight:500,color:e.palette.common.black,cursor:"pointer",padding:"8px 20px"}));styled(M)(({theme:e})=>({width:"100%",flexDirection:"column",border:`1px solid ${e.palette.grey[100]}`,borderRadius:"4px",backgroundColor:e.palette.grey[400]}));function Oe(n){var i=n,{name:e,options:r}=i,t=c(i,["name","options"]);var C;let[S,f]=useState(null),[d,p]=useState(0),s=!!S,l=h=>{f(s?null:h.currentTarget);},m=()=>{f(null);},{watch:F,setValue:I}=useFormContext(),x=F(e);return jsx(a$5,{open:s,anchorEl:S,onOpen:l,onClose:m,trigger:jsx(z,b(a$1({name:e,options:[]},t),{open:false})),hideArrow:true,listWrapperSx:{padding:0,margin:0},children:jsx(Pe,{children:jsx(Ce,{"data-testid":"AccordionWrapper",children:(C=r.map)==null?void 0:C.call(r,(h,P)=>{let g=d===P;return jsx(a$6,{Header:jsx(be,{variant:"caption",children:h.group}),defaultExpanded:true,sx:a$1({flexShrink:0,border:0},g&&{borderBottom:"1px solid #0000001A",borderTop:"1px solid #0000001A"}),summarySx:{backgroundColor:g?"#F8F8F8":"#ffffff",borderBottom:"1px solid #0000001A",minHeight:28},expanded:g,onChange:(c,w)=>{c.stopPropagation(),c.preventDefault(),p(w?P:null);},children:((h==null?void 0:h.options)||[]).map((c,w)=>{var k,R;let o=(k=t==null?void 0:t.isOptionEqualToValue)==null?void 0:k.call(t,c,x);return jsxs(Fe,{onClick:()=>{I(e,c,{shouldDirty:true,shouldTouch:true,shouldValidate:true}),m();},children:[((R=t.renderOption)==null?void 0:R.call(t,c))||c.label,o&&jsx(a$7,{src:Cc,alt:"blue-check",sx:{width:14,height:10}})]},`${c.value}-${c.label}-${w}`)})},`${h.group}-group-${P}`)})})})})}var Ie=Oe;var Ge=Ie;var we=styled(a$3)(()=>({padding:0,".MuiSvgIcon-root":{width:12,height:12}})),Ae=styled(Ze)(({theme:e})=>({width:"100%",height:36,padding:"8px 8px 8px 12px",borderRadius:4,backgroundColor:e.palette.common.white,border:"1px solid #F2F2F2",boxSizing:"border-box","&:hover":{borderColor:"#F2F2F2"},"&.Mui-focused":{borderColor:"#F2F2F2",backgroundColor:e.palette.common.white},"&:before, &:after":{display:"none"},"& input":{padding:0,fontSize:10},"& .MuiInputBase-input":{paddingRight:4}})),Be=styled(je)(({theme:e})=>({opacity:1,paddingTop:0,paddingBottom:0,marginBottom:8,minHeight:"auto",pointerEvents:"none",backgroundColor:e.palette.common.white,"&:hover":{backgroundColor:e.palette.common.white},"&.Mui-focusVisible":{backgroundColor:e.palette.common.white},"&.Mui-disabled":{backgroundColor:e.palette.common.white,opacity:1}}));function N(F){var I=F,{name:e,helperText:r,getOptionValue:t,getOptionLabel:n,renderOption:i,isOptionEqualToValue:S,getOptionDisabled:f,showSearchInput:d=false,searchPlaceholder:p="Search",showCheckbox:s=true,options:l}=I,m=c(I,["name","helperText","getOptionValue","getOptionLabel","renderOption","isOptionEqualToValue","getOptionDisabled","showSearchInput","searchPlaceholder","showCheckbox","options"]);let{control:x}=useFormContext(),[C,h]=useState(""),P=useMemo(()=>{if(!d||!C.trim())return l!=null?l:[];let g=C.toLowerCase().trim();return (l!=null?l:[]).filter(c=>{var o;let w=(o=n?n(c):c==null?void 0:c.label)!=null?o:"";return String(w).toLowerCase().includes(g)})},[l,d,C,n]);return jsx(Controller,{name:e,control:x,render:({field:g,fieldState:c})=>{var w;return jsxs(b$1,b(a$1(a$1({},m),g),{options:l,getOptionLabel:n,hasError:!!c.error,helperText:r!=null?r:(w=c.error)==null?void 0:w.message,onChange:o=>{g.onChange(o);},MenuProps:b(a$1({},m.MenuProps),{autoFocus:false,disableEnforceFocus:true}),children:[d&&jsx(Be,{disabled:true,onPointerDown:o=>o.stopPropagation(),style:{backgroundColor:"#fff"},children:jsx(Box,{sx:{pointerEvents:"auto",width:"100%"},onPointerDown:o=>o.stopPropagation(),children:jsx(Ae,{placeholder:p,value:C,onChange:o=>h(o.target.value),onKeyDown:o=>o.stopPropagation(),onKeyUp:o=>o.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":p},endAdornment:jsx(Box,{component:"img",src:u,alt:"search",sx:{width:14,height:14,flexShrink:0}})})})}),P==null?void 0:P.map(o=>{var v,U,K;let k=(v=g.value)==null?void 0:v.some(E=>S?S(E,o):(E==null?void 0:E.id)===(o==null?void 0:o.id)),R=f?f(o):false,ke=n?n(o):o.label,W;return i?W=i(o):W=ke,jsx(MenuItem,{value:(K=t?t(o):o==null?void 0:o.id)!=null?K:"",disabled:R,sx:{fontSize:"12px",backgroundColor:E=>k?"#F8F8F8 !important":E.palette.common.white},children:s?jsxs(Box,{sx:{display:"flex",alignItems:"center",width:"100%",gap:"8px"},children:[jsx(we,{checked:k}),W]}):W},(U=t?t(o):o==null?void 0:o.id)!=null?U:"")})]}))}})}var lo=N;var io=useForm;export{De as a,ze as b,Ne as c,Ke as d,z as e,Ye as f,Ge as g,lo as h,io as i};
|
package/build/chunk-2LMLVUW4.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {zb,ic}from'./chunk-DQLGJFLX.js';import {la,ja,xl}from'./chunk-OYEIM6ED.js';import {a,c,b}from'./chunk-RWXGVZUC.js';import {useState,useCallback,useMemo}from'react';import {useTranslation}from'react-i18next';import {motion,AnimatePresence}from'framer-motion';import u from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var h=styled(u,{shouldForwardProp:e=>!["textColor","bgColor","borderColor","disabled","minWidth","padding","maxWidth","isSelected","disableAnimation"].includes(e)})(({theme:e,isSelected:d,textColor:n=e.palette.text.primary,bgColor:i="#EFF1F2",borderColor:x="#EFF1F2",disabled:l=false,padding:r,minWidth:p,maxWidth:f,disableAnimation:m})=>a(a({display:"flex",justifyContent:"center",alignItems:"center",gap:"4px",height:"18px",padding:r||"0px 8px",borderRadius:"30px",border:`1px solid ${x}`,backgroundColor:i,color:n,cursor:l?"not-allowed":"pointer",opacity:l?.5:1,whiteSpace:"nowrap",fontSize:"11px",minWidth:p||"67px",maxWidth:f||"none",width:"fit-content",overflow:"hidden",textOverflow:f?"ellipsis":"unset",boxSizing:"border-box"},d&&{boxShadow:"white 7px 0px 8px 2px"}),m&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}})),g=styled(u)(()=>({gap:"4px",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1})),j=styled(u)(()=>({position:"absolute",top:0,height:"100%",width:"12px",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center"}));var J=f=>{var m=f,{children:e,unknownText:d,copyText:n,expandDirection:i="right",chipStyles:x,containerStyles:l,fullWidth:r=false}=m,p=c(m,["children","unknownText","copyText","expandDirection","chipStyles","containerStyles","fullWidth"]);let[w,S]=useState(false),{t:b$1}=useTranslation(),a$1=p.isSelected,v=a$1&&n,P=useCallback(y=>{if(y.stopPropagation(),n){S(true),zb(n);let H=setTimeout(()=>{S(false);},2e3);return ()=>{clearTimeout(H);}}},[n]),A=useMemo(()=>jsx(j,{sx:a(a({},i==="right"&&{right:"8px"}),i==="left"&&{left:"8px"}),children:jsx(motion.img,{initial:{opacity:0,x:-5},animate:{opacity:1,x:0},exit:{opacity:0,x:-2},transition:{duration:.1},onClick:P,src:w?la:ja,style:{height:12,width:12,objectFit:"contain"}})}),[w,P,i]),F=v&&i==="right",W=v&&i==="left";return e?jsxs(motion.div,{style:a(a({position:"relative"},l),r&&{width:"100%",minWidth:0}),animate:{zIndex:a$1?3:0},children:[jsx(h,b(a({},p),{sx:{visibility:"hidden",pointerEvents:"none",width:r?"100%":"auto"},children:jsx(g,{children:e})})),jsx(motion.div,{style:{position:"absolute",top:0,zIndex:a$1?3:0,width:r?"100%":"auto",left:i==="right"?0:"unset",right:i==="left"?0:"unset"},transition:{delay:a$1?0:.3,duration:.2},children:jsx(h,b(a(b(a({},p),{isSelected:a$1,sx:{width:r?"100%":"auto"}}),x),{children:jsxs(motion.div,{layout:"size",style:a({display:"flex",gap:"4px"},r&&{maxWidth:"100%",width:"100%"}),animate:a(a({},F&&{paddingRight:12}),W&&{paddingLeft:12}),transition:{delay:a$1?0:.3,duration:.2},children:[jsx(AnimatePresence,{children:W&&A}),jsx(g,{"data-is-arabic":typeof e=="string"&&ic(e),children:e}),jsx(AnimatePresence,{children:F&&A})]})}))})]}):jsx(h,b(a(a({},xl),p),{isSelected:false,sx:y=>({borderColor:y.palette.divider,width:r?"100%":"auto"}),children:b$1(d||"unknown")}))},O=J;var pt=O;export{pt as a};
|
package/build/chunk-2Q6H6K3P.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-RWXGVZUC.js';import {memo}from'react';import {styled,Switch}from'@mui/material';import {jsx}from'react/jsx-runtime';var o=styled(Switch)(({theme:i})=>({width:32.903,height:20,borderRadius:"13px",padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(13px)",color:i.palette.common.white,"& + .MuiSwitch-track":{backgroundColor:i.palette.mode==="dark"?"#2ECA45":"#34C759",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid",borderColor:i.palette.common.white},"&.Mui-disabled .MuiSwitch-thumb":{color:i.palette.mode==="light"?i.palette.grey[100]:i.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:i.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:16,height:16,filter:"drop-shadow(0px 1.9354851245880127px 0.6451616883277893px rgba(0, 0, 0, 0.06)) drop-shadow(0px 1.9354851245880127px 5.1612935066223145px rgba(0, 0, 0, 0.15))"},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:i.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:i.transitions.create(["background-color"],{duration:500})}}));function e(i){return jsx(o,a({focusVisibleClassName:".Mui-focusVisible",disableRipple:true},i))}var r=memo(e);var m=r;export{m as a};
|
package/build/chunk-2T2Z5RPJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-E6XVMA37.js';import {o}from'./chunk-DQLGJFLX.js';import {$a}from'./chunk-OYEIM6ED.js';import {styled as styled$1,alpha}from'@mui/material';import {styled}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {motion}from'framer-motion';import {jsx,jsxs}from'react/jsx-runtime';var s=(o=>(o.DEFAULT="default",o.PRIMARY="primary",o.SECONDARY="secondary",o.SUCCESS="success",o.WARNING="warning",o.ERROR="error",o.INACTIVE="inActive",o.ACTIVE="active",o.DARK="dark",o.NEUTRAL="neutral",o.GRAY="gray",o.ORANGE="orange",o.RED="red",o))(s||{});var C=(e,t)=>new Map([["default",t.palette.info.main],["primary","#1976d2"],["secondary","#f50057"],["inActive",t.palette.grey[100]],["active",alpha(t.palette.text.primary,.1)],["dark",t.palette.info.dark],["neutral","#656565"],["gray","#CFCFCF"],["orange","#FFD503"],["red","#FF0000"]]).get(e)||t.palette.common.white,R=(e,t)=>new Map([["default",t.palette.common.white],["primary",t.palette.common.white],["secondary",t.palette.common.white],["inActive",t.palette.text.primary],["active",t.palette.common.white],["dark",t.palette.common.white],["neutral",t.palette.common.white]]).get(e)||t.palette.common.white,x=new Map([["compact",.5],["round",0],["normal",2]]),E=styled("span")(({theme:e,variant:t,compact:r,round:p,pointer:g})=>({padding:r?"0.08031rem 0.16056rem":p?"0.5rem 0.275rem":"8px 8px",borderRadius:e.spacing(x.get(p?"round":r?"compact":"normal")||2),backgroundColor:C(t,e),color:R(t,e),fontSize:"0.6rem",fontWeight:600,overflow:"hidden",height:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"Tap Sans",cursor:g?"pointer":"auto"})),c=E;var u=styled$1(motion.span)(({order:e})=>({zIndex:(e||0)+1})),a=(e,t)=>({start:{x:e*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:t?e*t:e*39,transition:{duration:.3,type:"tween",ease:"easeOut"}}}),A=styled$1("span")(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:e.spacing(.25)}));function S({totalPaymentsCount:e,index:t}){let{t:r}=useTranslation();return jsx(a$1,{title:r("totalPaymentCount",{amount:o(e)}),children:jsx(u,{order:t,variants:a(t),"data-testid":"AgreementCell_CountAnimatedBadge",children:jsxs(A,{children:[jsx("img",{src:$a,alt:"start",style:{width:"10px",height:"10px"}})," ",(e||0)>1&&jsx("span",{style:{fontSize:"9.782px"},children:e})]})})})}var z=c;export{s as a,u as b,a as c,S as d,z as e};
|
package/build/chunk-34II3WB7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {c,a}from'./chunk-RWXGVZUC.js';import {memo}from'react';import f from'@mui/material/Skeleton';import {jsx}from'react/jsx-runtime';function i(u){var o=u,{variant:n="rounded",height:l=16}=o,m=c(o,["variant","height"]);return jsx(f,a({variant:n,height:l},m))}var r=memo(i);var v=r;export{v as a};
|
package/build/chunk-3A4B5D6T.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {b}from'./chunk-XUDGW7IY.js';import {xl}from'./chunk-OYEIM6ED.js';import {a,c,b as b$1}from'./chunk-RWXGVZUC.js';import {memo}from'react';import {jsx}from'react/jsx-runtime';var n={"3DS":{text:"3DS"},"Non-3DS":{text:"Non 3DS",styles:a({},xl)},"Device Biometric":{text:"Biometric"}};function f(c$1){var p=c$1,{title:e,ref:m}=p,C=c(p,["title","ref"]);let t=n[e];return jsx(b,b$1(a({chipStyles:t==null?void 0:t.styles,ref:m},C),{children:(t==null?void 0:t.text)||e}))}var y=memo(f);var g=y;export{g as a};
|