@tap-payments/os-micro-frontend-shared 0.1.35 → 0.1.36-9.fix.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/AccordionAdapter/AccordionAdapter.d.ts +1 -1
- package/build/components/AccordionAdapter/style.d.ts +2 -2
- package/build/components/AccountDropdown/Dropdown.d.ts +1 -1
- package/build/components/AccountDropdown/style.d.ts +1 -1
- package/build/components/ActionMenu/ActionMenuDropDown.d.ts +2 -1
- package/build/components/ActionMenu/ActionMenuDropDown.js +4 -3
- package/build/components/ActionMenu/ActionMenuItem.d.ts +1 -1
- package/build/components/ActionMenu/ActionMenuItem.js +4 -4
- package/build/components/ActionMenu/style.d.ts +1 -2
- package/build/components/ActionMenu/style.js +0 -4
- package/build/components/ActivityAreaChart/ActivityAreaChart.d.ts +2 -1
- package/build/components/ActivityAreaChart/components/ChartTooltip.d.ts +2 -1
- package/build/components/ActivityAreaChart/components/ChartTooltip.js +4 -3
- package/build/components/ActivityAreaChart/components/LoadingChart.d.ts +2 -1
- package/build/components/ActivityAreaChart/styles.d.ts +3 -4
- package/build/components/ActivityAreaChart/styles.js +0 -6
- package/build/components/Amount/TotalAmount/Loading.d.ts +2 -0
- package/build/components/Amount/TotalAmount/Loading.js +9 -0
- package/build/components/Amount/TotalAmount/TotalAmount.d.ts +15 -0
- package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
- package/build/components/Amount/TotalAmount/index.d.ts +1 -0
- package/build/components/Amount/TotalAmount/index.js +1 -0
- package/build/components/Amount/TotalAmount/style.d.ts +11 -0
- package/build/components/Amount/TotalAmount/style.js +26 -0
- package/build/components/Amount/index.d.ts +1 -0
- package/build/components/Amount/index.js +1 -0
- package/build/components/AmountConversionFilter/AmountConversionFilter.d.ts +20 -0
- package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.d.ts +10 -0
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
- package/build/components/AmountConversionFilter/index.d.ts +1 -0
- package/build/components/AmountConversionFilter/index.js +1 -0
- package/build/components/AmountConversionFilter/style.d.ts +7 -0
- package/build/components/AmountConversionFilter/style.js +47 -0
- package/build/components/AmountInput/AmountInput.d.ts +14 -0
- package/build/components/AmountInput/AmountInput.js +44 -0
- package/build/components/AmountInput/index.d.ts +2 -0
- package/build/components/AmountInput/index.js +2 -0
- package/build/components/AmountInput/style.d.ts +8 -0
- package/build/components/AmountInput/style.js +30 -0
- package/build/components/AmountStatusChip/AmountStatusChip.d.ts +9 -0
- package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
- package/build/components/AmountStatusChip/index.d.ts +3 -0
- package/build/components/AmountStatusChip/index.js +2 -0
- package/build/components/AmountStatusChip/style.d.ts +3 -0
- package/build/components/AmountStatusChip/style.js +13 -0
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.d.ts +9 -0
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
- package/build/components/AnimatedSpinnerIcon/index.d.ts +2 -0
- package/build/components/AnimatedSpinnerIcon/index.js +2 -0
- package/build/components/AnimatedSpinnerIcon/style.d.ts +280 -0
- package/build/components/AnimatedSpinnerIcon/style.js +8 -0
- package/build/components/AppServices/AppServices.d.ts +9 -5
- package/build/components/AppServices/AppServices.js +13 -20
- package/build/components/AppServices/ServiceItem.d.ts +2 -4
- package/build/components/AppServices/ServiceItem.js +6 -10
- package/build/components/AppServices/style.d.ts +1 -1
- package/build/components/AppServicesBar/AppServicesBar.d.ts +22 -0
- package/build/components/AppServicesBar/AppServicesBar.js +18 -0
- package/build/components/AppServicesBar/index.d.ts +3 -0
- package/build/components/AppServicesBar/index.js +3 -0
- package/build/components/AppServicesBar/style.d.ts +4 -0
- package/build/components/AppServicesBar/style.js +6 -0
- package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
- package/build/components/AppWindowWrapper/AppWindowWrapper.d.ts +2 -1
- package/build/components/AppWindowWrapper/context/Provider.d.ts +2 -1
- package/build/components/AppWindowWrapper/context/Provider.js +4 -3
- package/build/components/AppWindowWrapper/context/type.d.ts +4 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +1 -1
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +2 -2
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.d.ts +9 -0
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
- package/build/components/AuthenticationTypeChip/constants.d.ts +16 -0
- package/build/components/AuthenticationTypeChip/constants.js +13 -0
- package/build/components/AuthenticationTypeChip/index.d.ts +3 -0
- package/build/components/AuthenticationTypeChip/index.js +2 -0
- package/build/components/Autocomplete/Autocomplete.d.ts +10 -0
- package/build/components/Autocomplete/Autocomplete.js +33 -0
- package/build/components/Autocomplete/index.d.ts +2 -0
- package/build/components/Autocomplete/index.js +1 -0
- package/build/components/Autocomplete/style.d.ts +4 -0
- package/build/components/Autocomplete/style.js +47 -0
- package/build/components/BackgroundAnimation/BackgroundAnimation.d.ts +1 -1
- package/build/components/BackgroundAnimation/BackgroundAnimation.js +28 -0
- package/build/components/BackgroundAnimation/Blob/Blob.d.ts +1 -1
- package/build/components/BackgroundAnimation/Blob/Blob.js +2 -0
- package/build/components/BetaBanner/BetaBanner.d.ts +2 -0
- package/build/components/BetaBanner/BetaBanner.js +5 -0
- package/build/components/BetaBanner/index.d.ts +2 -0
- package/build/components/BetaBanner/index.js +2 -0
- package/build/components/BetaBanner/style.d.ts +6 -0
- package/build/components/BetaBanner/style.js +18 -0
- package/build/components/BrandLogo/BrandLogo.d.ts +12 -0
- package/build/components/BrandLogo/BrandLogo.js +35 -0
- package/build/components/BrandLogo/Loading.d.ts +7 -0
- package/build/components/BrandLogo/Loading.js +3 -0
- package/build/components/BrandLogo/index.d.ts +1 -0
- package/build/components/BrandLogo/index.js +1 -0
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/Button/PlusButton/PlusButton.d.ts +1 -1
- package/build/components/Button/StyledButton/StyledButton.d.ts +1 -1
- package/build/components/Button/style.d.ts +1 -1
- package/build/components/Calender/Calender.d.ts +1 -1
- package/build/components/Calender/style.d.ts +4 -4
- package/build/components/CardEmptyState/CardEmptyState.d.ts +2 -1
- package/build/components/CardHeadline/CardHeadline.d.ts +1 -1
- package/build/components/Checkbox/Checkbox.d.ts +1 -1
- package/build/components/Chip/GroupIconChip.d.ts +2 -1
- package/build/components/Chip/GroupIconChips.d.ts +2 -1
- package/build/components/Chip/style.d.ts +10 -10
- package/build/components/Chip/style.js +1 -0
- package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.d.ts +1 -1
- package/build/components/CircularProgressWithLabel/style.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +2 -1
- package/build/components/ColorPicker/ColorPicker.d.ts +15 -0
- package/build/components/ColorPicker/ColorPicker.js +35 -0
- package/build/components/ColorPicker/ColorPickerPanel.d.ts +9 -0
- package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
- package/build/components/ColorPicker/ColorSchemeSelect.d.ts +8 -0
- package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
- package/build/components/ColorPicker/HexaFields.d.ts +9 -0
- package/build/components/ColorPicker/HexaFields.js +83 -0
- package/build/components/ColorPicker/RGBAFields.d.ts +9 -0
- package/build/components/ColorPicker/RGBAFields.js +37 -0
- package/build/components/ColorPicker/index.d.ts +2 -0
- package/build/components/ColorPicker/index.js +2 -0
- package/build/components/ColorPicker/style.d.ts +30 -0
- package/build/components/ColorPicker/style.js +157 -0
- package/build/components/ConfirmDialog/ConfirmDialog.d.ts +2 -1
- package/build/components/ConfirmDialog/context/Provider.d.ts +1 -1
- package/build/components/ConfirmDialog/context/index.d.ts +1 -1
- package/build/components/ConfirmDialog/context/index.js +1 -1
- package/build/components/ConfirmDialog/styles.d.ts +1 -1
- package/build/components/ControlPanelContainer/ControlPanelContainer.d.ts +2 -1
- package/build/components/CopyImage/CopyImage.d.ts +1 -1
- package/build/components/CountBadge/CountBadgeAnimated.d.ts +2 -1
- package/build/components/CountBadge/style.d.ts +10 -10
- package/build/components/CountryFilter/CountryFilter.d.ts +14 -0
- package/build/components/CountryFilter/CountryFilter.js +71 -0
- package/build/components/CountryFilter/index.d.ts +1 -0
- package/build/components/CountryFilter/index.js +1 -0
- package/build/components/CountryFilter/style.d.ts +6 -0
- package/build/components/CountryFilter/style.js +7 -0
- package/build/components/CountryFlag/CountryFlag.d.ts +3 -2
- package/build/components/CountryFlag/CountryFlag.js +4 -3
- package/build/components/CurrencyFilter/CurrencyFilter.d.ts +11 -0
- package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
- package/build/components/CurrencyFilter/index.d.ts +1 -0
- package/build/components/CurrencyFilter/index.js +1 -0
- package/build/components/CurrencySymbol/CurrencySymbol.d.ts +8 -0
- package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
- package/build/components/CurrencySymbol/index.d.ts +2 -0
- package/build/components/CurrencySymbol/index.js +2 -0
- package/build/components/{CurrencyIcon → CurrencySymbol}/style.d.ts +6 -1
- package/build/components/CurrencySymbol/style.js +27 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.d.ts +8 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
- package/build/components/Customer/CustomerDropdown/index.d.ts +1 -0
- package/build/components/Customer/CustomerDropdown/index.js +1 -0
- package/build/components/Customer/CustomerDropdown/style.d.ts +10 -0
- package/build/components/Customer/CustomerDropdown/style.js +30 -0
- package/build/components/Customer/CustomerForms/CustomerEmailForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfo.d.ts +14 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
- package/build/components/Customer/CustomerForms/index.d.ts +9 -0
- package/build/components/Customer/CustomerForms/index.js +9 -0
- package/build/components/Customer/CustomerForms/style.d.ts +25 -0
- package/build/components/Customer/CustomerForms/style.js +71 -0
- package/build/components/Customer/CustomerForms/validation.d.ts +30 -0
- package/build/components/Customer/CustomerForms/validation.js +42 -0
- package/build/components/Customer/index.d.ts +2 -0
- package/build/components/Customer/index.js +2 -0
- package/build/components/DateButton/DateButton.d.ts +1 -1
- package/build/components/DateFilter/DateFilter.d.ts +17 -0
- package/build/components/DateFilter/DateFilter.js +32 -0
- package/build/components/DateFilter/index.d.ts +1 -0
- package/build/components/DateFilter/index.js +1 -0
- package/build/components/DateFilter/style.d.ts +35 -0
- package/build/components/DateFilter/style.js +100 -0
- package/build/components/DeviceIcon/DeviceIcon.d.ts +1 -1
- package/build/components/DeviceIcon/DeviceIcon.js +1 -1
- package/build/components/Dialog/Dialog.d.ts +1 -1
- package/build/components/Dialog/components/DialogToolbar.d.ts +1 -1
- package/build/components/Dialog/style.d.ts +10 -10
- package/build/components/Dialog/style.js +1 -0
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.d.ts +13 -0
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
- package/build/components/Discount/DiscountDropdown/index.d.ts +2 -0
- package/build/components/Discount/DiscountDropdown/index.js +2 -0
- package/build/components/Discount/DiscountDropdown/style.d.ts +12 -0
- package/build/components/Discount/DiscountDropdown/style.js +40 -0
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.d.ts +12 -0
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
- package/build/components/Discount/DiscountRateDropdown/index.d.ts +2 -0
- package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
- package/build/components/Discount/DiscountRateDropdown/style.d.ts +7 -0
- package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
- package/build/components/Discount/TotalDiscount/TotalDiscount.d.ts +12 -0
- package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
- package/build/components/Discount/TotalDiscount/index.d.ts +1 -0
- package/build/components/Discount/TotalDiscount/index.js +1 -0
- package/build/components/Discount/TotalDiscount/style.d.ts +12 -0
- package/build/components/Discount/TotalDiscount/style.js +5 -0
- package/build/components/Discount/index.d.ts +4 -0
- package/build/components/Discount/index.js +4 -0
- package/build/components/Discount/utils.d.ts +8 -0
- package/build/components/Discount/utils.js +12 -0
- package/build/components/DisplayAmount/DisplayAmount.d.ts +9 -0
- package/build/components/DisplayAmount/DisplayAmount.js +21 -0
- package/build/components/DisplayAmount/index.d.ts +2 -0
- package/build/components/DisplayAmount/index.js +2 -0
- package/build/components/DisplayAmount/style.d.ts +5 -0
- package/build/components/DisplayAmount/style.js +14 -0
- package/build/components/DockButton/DockButton.d.ts +1 -1
- package/build/components/DockButton/style.d.ts +1 -1
- package/build/components/Dropdown2/Dropdown2.d.ts +2 -1
- package/build/components/Dropdown2/style.js +2 -0
- package/build/components/DropdownButton/ChevronIcon.d.ts +2 -1
- package/build/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/build/components/DropdownButton/constants.d.ts +2 -2
- package/build/components/DropdownButton/style.d.ts +2 -2
- package/build/components/DropdownMenu/DropdownMenu.d.ts +2 -1
- package/build/components/DropdownMenu/styles.d.ts +2 -2
- package/build/components/Error/Error.d.ts +2 -2
- package/build/components/ErrorBoundary/AppError.d.ts +2 -1
- package/build/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/build/components/ErrorBoundary/style.d.ts +1 -1
- package/build/components/ErrorToast/ErrorToast.d.ts +4 -0
- package/build/components/ErrorToast/ErrorToast.js +7 -0
- package/build/components/ErrorToast/index.d.ts +2 -0
- package/build/components/ErrorToast/index.js +2 -0
- package/build/components/ErrorToast/style.d.ts +9 -0
- package/build/components/ErrorToast/style.js +33 -0
- package/build/components/ErrorToast/type.d.ts +10 -0
- package/build/components/ExpandableSideBar/ExpandableSideBar.d.ts +1 -1
- package/build/components/FileInputPreview/FileInputPreview.d.ts +5 -0
- package/build/components/FileInputPreview/FileInputPreview.js +51 -0
- package/build/components/FileInputPreview/index.d.ts +1 -0
- package/build/components/FileInputPreview/index.js +1 -0
- package/build/components/FileInputPreview/style.d.ts +9 -0
- package/build/components/FileInputPreview/style.js +20 -0
- package/build/components/FileInputPreview/type.d.ts +21 -0
- package/build/components/FileInputPreview/utils.d.ts +3 -0
- package/build/components/FileInputPreview/utils.js +14 -0
- package/build/components/FilePreview/FilePreview.d.ts +4 -0
- package/build/components/FilePreview/FilePreview.js +18 -0
- package/build/components/FilePreview/index.d.ts +3 -0
- package/build/components/FilePreview/index.js +3 -0
- package/build/components/FilePreview/style.d.ts +20 -0
- package/build/components/FilePreview/style.js +55 -0
- package/build/components/FilePreview/type.d.ts +12 -0
- package/build/components/FilePreview/type.js +1 -0
- package/build/components/FileUpload/FileUpload.d.ts +1 -1
- package/build/components/FileUpload/style.d.ts +3 -3
- package/build/components/FileUploader/FileUploader.d.ts +2 -1
- package/build/components/FileUploader/FileUploader.js +3 -3
- package/build/components/FileUploader/style.d.ts +1 -1
- package/build/components/FileUploader/style.js +1 -1
- package/build/components/FileUploader/type.d.ts +5 -0
- package/build/components/FilterDropdown/FilterDropdown.d.ts +10 -0
- package/build/components/FilterDropdown/FilterDropdown.js +54 -0
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.d.ts +12 -0
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
- package/build/components/FilterDropdown/components/BrandItem/index.d.ts +2 -0
- package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
- package/build/components/FilterDropdown/components/BrandItem/style.d.ts +4 -0
- package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.d.ts +12 -0
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
- package/build/components/FilterDropdown/components/CountriesItem/index.d.ts +1 -0
- package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.d.ts +12 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/index.d.ts +1 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.d.ts +12 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.d.ts +2 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.d.ts +12 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.d.ts +13 -0
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
- package/build/components/FilterDropdown/components/MerchantItem/index.d.ts +2 -0
- package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.d.ts +14 -0
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
- package/build/components/FilterDropdown/components/RetailersItem/index.d.ts +1 -0
- package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
- package/build/components/FilterDropdown/components/RetailersItem/style.d.ts +4 -0
- package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
- package/build/components/FilterDropdown/components/index.d.ts +4 -0
- package/build/components/FilterDropdown/components/index.js +4 -0
- package/build/components/FilterDropdown/index.d.ts +3 -0
- package/build/components/FilterDropdown/index.js +3 -0
- package/build/components/FilterDropdown/style.d.ts +20 -0
- package/build/components/FilterDropdown/style.js +60 -0
- package/build/components/FilterDropdown/type.d.ts +4 -0
- package/build/components/FilterDropdown/type.js +1 -0
- package/build/components/FilteredIds/FilteredIds.d.ts +1 -1
- package/build/components/FilteredIds/FilteredIds.js +1 -1
- package/build/components/FilteredIds/style.d.ts +0 -1
- package/build/components/FilteredIds/style.js +4 -5
- package/build/components/Filters/index.d.ts +1 -0
- package/build/components/Filters/index.js +1 -0
- package/build/components/Filters/style.d.ts +15 -0
- package/build/components/Filters/style.js +51 -0
- package/build/components/FlagDetails/FlagDetails.d.ts +2 -1
- package/build/components/FlippingCard/FlippingCard.d.ts +1 -1
- package/build/components/FlippingCard/style.d.ts +10 -10
- package/build/components/HeatMap/HeatMap.d.ts +2 -1
- package/build/components/HeatMap/constant.js +1 -1
- package/build/components/IOSSwitch/IOSSwitch.d.ts +1 -1
- package/build/components/Icon/type.d.ts +2 -1
- package/build/components/IconGallery/IconGallery.d.ts +2 -1
- package/build/components/IconWithBadge/IconWithBadge.d.ts +2 -1
- package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.d.ts +1 -1
- package/build/components/IconWithLabel/IconWithLabel.d.ts +2 -1
- package/build/components/IconWithLabel/style.d.ts +1 -1
- package/build/components/IconsDropdown/IconsDropdown.d.ts +1 -1
- package/build/components/IconsDropdown/style.d.ts +2 -2
- package/build/components/ImageWrapper/ImageWrapper.d.ts +10 -10
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.d.ts +1 -1
- package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +3 -0
- package/build/components/InputBase/InputBase/InputBase.d.ts +2 -2
- package/build/components/InputBase/InputBase/InputBase.js +3 -3
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.d.ts +1 -1
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
- package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +3 -0
- package/build/components/InputBase/SelectBase/SelectBase.js +5 -2
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +3 -0
- package/build/components/InputBase/SelectBase/style.d.ts +1 -1
- package/build/components/InputBase/SelectBase/style.js +3 -2
- package/build/components/InputNumber/InputNumber.js +2 -0
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.d.ts +5 -4
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +3 -3
- package/build/components/Inputs/FileInput/FileInput.d.ts +2 -1
- package/build/components/Inputs/FileInput/style.d.ts +1 -1
- package/build/components/Inputs/Input/Input.d.ts +2 -1
- package/build/components/Inputs/Input/style.js +6 -2
- package/build/components/Inputs/SearchInput/SearchInput.d.ts +2 -1
- package/build/components/Inputs/Select/Select.d.ts +2 -1
- package/build/components/Inputs/Select/Select.js +1 -0
- package/build/components/Inputs/Select/style.js +3 -2
- package/build/components/JSONViewer/JSONViewer.d.ts +2 -1
- package/build/components/JSONViewer/JSONViewer.js +11 -3
- package/build/components/JSONViewer/JSONViewerList.d.ts +2 -1
- package/build/components/JSONViewer/components/FooterButton/FooterButton.d.ts +1 -1
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.d.ts +1 -1
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
- package/build/components/JSONViewer/context/Provider.d.ts +1 -1
- package/build/components/JSONViewer/context/Provider.js +2 -0
- package/build/components/JSONViewer/style.d.ts +21 -21
- package/build/components/LabeledIconDropdown/LabeledIconDropdown.d.ts +1 -1
- package/build/components/LabeledIconDropdown/style.d.ts +3 -3
- package/build/components/LanguageDropdown/LanguageDropdown.d.ts +7 -0
- package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
- package/build/components/LanguageDropdown/index.d.ts +2 -0
- package/build/components/LanguageDropdown/index.js +2 -0
- package/build/components/LanguageDropdown/style.d.ts +6 -0
- package/build/components/LanguageDropdown/style.js +5 -0
- package/build/components/LazyImage/LazyImage.d.ts +4 -0
- package/build/components/LazyImage/LazyImage.js +39 -0
- package/build/components/LazyImage/index.d.ts +3 -0
- package/build/components/LazyImage/index.js +3 -0
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.d.ts +12 -1
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +14 -1
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +30 -30
- package/build/components/LeftPeekRightExpandingChip/style.js +1 -0
- package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +30 -2
- package/build/components/ListColumnFilter/ListColumnFilter.d.ts +17 -0
- package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
- package/build/components/ListColumnFilter/index.d.ts +1 -0
- package/build/components/ListColumnFilter/index.js +1 -0
- package/build/components/ListColumnFilter/style.d.ts +15 -0
- package/build/components/ListColumnFilter/style.js +35 -0
- package/build/components/ListLayout/ListLayout.d.ts +10 -0
- package/build/components/ListLayout/ListLayout.js +20 -0
- package/build/components/ListLayout/index.d.ts +2 -0
- package/build/components/ListLayout/index.js +2 -0
- package/build/components/ListLayout/styles.d.ts +4 -0
- package/build/components/ListLayout/styles.js +9 -0
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/Loaders/TapLoader.d.ts +1 -1
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.d.ts +2 -0
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +6 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.d.ts +2 -0
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
- package/build/components/MFWidgetLoader/index.d.ts +2 -0
- package/build/components/MFWidgetLoader/index.js +2 -0
- package/build/components/MUIThemeProvider/MUIThemeProvider.d.ts +1 -1
- package/build/components/MainContainer/MainContainer.d.ts +1 -1
- package/build/components/MaskedText/MaskedText.d.ts +2 -1
- package/build/components/MaskedText/MaskedText.js +3 -3
- package/build/components/MaskedText/type.d.ts +2 -1
- package/build/components/Menu/Menu.d.ts +4 -4
- package/build/components/Menu/Menu.js +15 -6
- package/build/components/Menu/style.d.ts +4 -2
- package/build/components/Menu/style.js +10 -1
- package/build/components/MenuItem/MenuItem.d.ts +3 -2
- package/build/components/MenuItem/MenuItem.js +4 -2
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.d.ts +12 -0
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.d.ts +6 -0
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
- package/build/components/MerchantCurrencyDropdown/index.d.ts +1 -0
- package/build/components/MerchantCurrencyDropdown/index.js +1 -0
- package/build/components/MerchantCurrencyDropdown/style.d.ts +13 -0
- package/build/components/MerchantCurrencyDropdown/style.js +64 -0
- package/build/components/MerchantLogo/MerchantLogo.d.ts +11 -0
- package/build/components/MerchantLogo/MerchantLogo.js +17 -0
- package/build/components/MerchantLogo/index.d.ts +1 -0
- package/build/components/MerchantLogo/index.js +1 -0
- package/build/components/MerchantLogo/style.d.ts +5 -0
- package/build/components/MerchantLogo/style.js +13 -0
- package/build/components/MerchantsDropdown/BrandItem.d.ts +13 -0
- package/build/components/MerchantsDropdown/BrandItem.js +71 -0
- package/build/components/MerchantsDropdown/EntityItem.d.ts +14 -0
- package/build/components/MerchantsDropdown/EntityItem.js +69 -0
- package/build/components/MerchantsDropdown/EntityList.d.ts +12 -0
- package/build/components/MerchantsDropdown/EntityList.js +7 -0
- package/build/components/MerchantsDropdown/MerchantItem.d.ts +13 -0
- package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
- package/build/components/MerchantsDropdown/MerchantsDropdown.d.ts +5 -0
- package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
- package/build/components/MerchantsDropdown/MerchantsList.d.ts +12 -0
- package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
- package/build/components/MerchantsDropdown/hooks.d.ts +19 -0
- package/build/components/MerchantsDropdown/hooks.js +54 -0
- package/build/components/MerchantsDropdown/index.d.ts +1 -0
- package/build/components/MerchantsDropdown/index.js +1 -0
- package/build/components/MerchantsDropdown/style.d.ts +38 -0
- package/build/components/MerchantsDropdown/style.js +155 -0
- package/build/components/MerchantsDropdown/type.d.ts +15 -0
- package/build/components/MerchantsDropdown/type.js +1 -0
- package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.d.ts +1 -1
- package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +1 -1
- package/build/components/MultiSelectDropdownButton/components/StatusButton.d.ts +10 -0
- package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
- package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.d.ts +1 -1
- package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +3 -0
- package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
- package/build/components/MultiSelectWithSearch/ChildMenuItem.d.ts +2 -1
- package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.d.ts +2 -1
- package/build/components/MultiSelectWithSearch/ParentMenuItem.d.ts +2 -1
- package/build/components/MultiSelectWithSearch/style.d.ts +3 -3
- package/build/components/NestedDropdown/Dropdown.d.ts +1 -1
- package/build/components/NestedDropdown/Dropdown.js +5 -2
- package/build/components/NestedDropdown/NestedDropdown.d.ts +4 -2
- package/build/components/NestedDropdown/NestedDropdown.js +13 -2
- package/build/components/NestedDropdown/NestedMenuItem.d.ts +4 -1
- package/build/components/NestedDropdown/NestedMenuItem.js +2 -4
- package/build/components/NestedDropdown/styles.d.ts +1 -1
- package/build/components/NestedDropdown/types.d.ts +1 -1
- package/build/components/NoInternet/NoInternet.d.ts +2 -1
- package/build/components/OTPInput/OTPInput.d.ts +1 -1
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.d.ts +8 -0
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
- package/build/components/OpenFileInNewTab/index.d.ts +1 -0
- package/build/components/OpenFileInNewTab/index.js +1 -0
- package/build/components/OpenFileInNewTab/style.d.ts +2 -0
- package/build/components/OpenFileInNewTab/style.js +8 -0
- package/build/components/PartnersFilter/PartnersFilter.d.ts +11 -0
- package/build/components/PartnersFilter/PartnersFilter.js +50 -0
- package/build/components/PartnersFilter/index.d.ts +1 -0
- package/build/components/PartnersFilter/index.js +1 -0
- package/build/components/PaymentSourceFilter/PaymentIcon.d.ts +6 -0
- package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
- package/build/components/PaymentSourceFilter/PaymentInitiated.d.ts +9 -0
- package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
- package/build/components/PaymentSourceFilter/PaymentMethod.d.ts +7 -0
- package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
- package/build/components/PaymentSourceFilter/PaymentMethods.d.ts +8 -0
- package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
- package/build/components/PaymentSourceFilter/PaymentSchemes.d.ts +8 -0
- package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.d.ts +16 -0
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +15 -0
- package/build/components/PaymentSourceFilter/index.d.ts +2 -0
- package/build/components/PaymentSourceFilter/index.js +1 -0
- package/build/components/PaymentSourceFilter/style.d.ts +5 -0
- package/build/components/PaymentSourceFilter/style.js +22 -0
- package/build/components/PaymentSourceFilter/type.d.ts +10 -0
- package/build/components/PaymentSourceFilter/type.js +1 -0
- package/build/components/PhoneFilter/PhoneFilter.d.ts +10 -0
- package/build/components/PhoneFilter/PhoneFilter.js +13 -0
- package/build/components/PhoneFilter/index.d.ts +1 -0
- package/build/components/PhoneFilter/index.js +1 -0
- package/build/components/ProgressBar/ProgressBar.d.ts +2 -1
- package/build/components/ProgressBar/style.d.ts +1 -1
- package/build/components/ProgressRing/LoadingSkeleton.d.ts +2 -1
- package/build/components/ProgressRing/ProgressRing.d.ts +2 -1
- package/build/components/ProgressRing/style.d.ts +2 -2
- package/build/components/RFH/Forms/DefaultForm.d.ts +1 -1
- package/build/components/RFH/Inputs/AmountInput/AmountInput.d.ts +2 -1
- package/build/components/RFH/Inputs/FormInput/FormInput.d.ts +1 -5
- package/build/components/RFH/Inputs/FormInput/FormInput.js +8 -3
- package/build/components/RFH/Inputs/FormSelect/FormSelect.d.ts +1 -1
- package/build/components/RFH/Inputs/MultiSelect/MultiSelect.d.ts +2 -1
- package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -0
- package/build/components/RFH/Inputs/PhoneInput/PhoneInput.d.ts +2 -1
- package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.d.ts +2 -1
- package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +3 -3
- package/build/components/RFH/Inputs/SelectWithAccordion/style.d.ts +3 -3
- package/build/components/RFH/Inputs/Switch/Switch.d.ts +1 -1
- package/build/components/RadioButton/RadioButton.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioGroup/style.js +1 -0
- package/build/components/RangeCalender/RangeCalender.d.ts +3 -27
- package/build/components/RangeCalender/RangeCalender.js +19 -16
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +3 -6
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +34 -27
- package/build/components/RangeCalender/components/CustomTimepicker/style.d.ts +1 -1
- package/build/components/RangeCalender/components/GroupBy/GroupBy.d.ts +1 -1
- package/build/components/RangeCalender/components/GroupBy/GroupBy.js +2 -2
- package/build/components/RangeCalender/components/Hijri/Hijri.d.ts +2 -1
- package/build/components/RangeCalender/components/QuickFilters/QuickFilters.d.ts +2 -1
- package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +1 -1
- package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +1 -9
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +3 -1
- package/build/components/RangeCalender/components/RangeDatepicker/index.d.ts +1 -0
- package/build/components/RangeCalender/components/RangeDatepicker/index.js +1 -0
- package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
- package/build/components/RangeCalender/components/RangeDatepicker/type.d.ts +9 -0
- package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
- package/build/components/RangeCalender/components/Timezone/Timezone.d.ts +3 -2
- package/build/components/RangeCalender/components/Timezone/Timezone.js +4 -4
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +4 -6
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +10 -9
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.d.ts +2 -1
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
- package/build/components/RangeCalender/style.d.ts +3 -3
- package/build/components/RangeCalender/style.js +1 -1
- package/build/components/RangeCalender/type.d.ts +26 -0
- package/build/components/RangeCalender/utils.d.ts +5 -1
- package/build/components/RangeCalender/utils.js +11 -0
- package/build/components/ReceiptsViewer/ReceiptViewer.d.ts +3 -0
- package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.d.ts +12 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
- package/build/components/ReceiptsViewer/index.d.ts +1 -0
- package/build/components/ReceiptsViewer/index.js +1 -0
- package/build/components/ReceiptsViewer/style.d.ts +4 -0
- package/build/components/ReceiptsViewer/style.js +7 -0
- package/build/components/ReceiptsViewer/type.d.ts +11 -0
- package/build/components/ReceiptsViewer/type.js +1 -0
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.d.ts +20 -0
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
- package/build/components/ReferenceTypeFilter/index.d.ts +1 -0
- package/build/components/ReferenceTypeFilter/index.js +1 -0
- package/build/components/ReferenceTypeFilter/style.d.ts +14 -0
- package/build/components/ReferenceTypeFilter/style.js +34 -0
- package/build/components/ResizableHeightInput/ResizableHeightInput.d.ts +1 -1
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.d.ts +34 -1
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +75 -4
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +130 -130
- package/build/components/RightLeftExpandingCenterChip/style.js +32 -7
- package/build/components/RightLeftExpandingCenterChip/type.d.ts +2 -1
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.d.ts +15 -5
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +91 -23
- package/build/components/Routes/PrivateRoute.d.ts +1 -1
- package/build/components/Routes/PublicRoute.d.ts +1 -1
- package/build/components/SalesChannelFilter/SalesChannelFilter.d.ts +12 -0
- package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
- package/build/components/SalesChannelFilter/index.d.ts +1 -0
- package/build/components/SalesChannelFilter/index.js +1 -0
- package/build/components/SalesChannelFilter/style.d.ts +15 -0
- package/build/components/SalesChannelFilter/style.js +29 -0
- package/build/components/Sandbox/Sandbox.d.ts +2 -1
- package/build/components/ScrollLoader/ScrollLoader.d.ts +1 -1
- package/build/components/ScrollLoader/ScrollLoader.js +2 -1
- package/build/components/SearchButton/SearchButton.d.ts +1 -1
- package/build/components/SearchButton/styles.d.ts +26 -26
- package/build/components/SearchListInput/SearchListInput.d.ts +11 -0
- package/build/components/SearchListInput/SearchListInput.js +20 -0
- package/build/components/SearchListInput/index.d.ts +2 -0
- package/build/components/SearchListInput/index.js +2 -0
- package/build/components/SearchListInput/style.d.ts +7 -0
- package/build/components/SearchListInput/style.js +15 -0
- package/build/components/SelectDropdown/SelectDropdown.d.ts +3 -1
- package/build/components/SelectDropdown/SelectDropdown.js +4 -3
- package/build/components/SelectDropdown/style.d.ts +1 -1
- package/build/components/SelectWithSearch/SelectWithSearch.d.ts +2 -1
- package/build/components/SelectWithSearch/SelectWithSearch.js +3 -3
- package/build/components/SelectWithSearch/style.d.ts +3 -3
- package/build/components/SelectWithSearch/type.d.ts +1 -0
- package/build/components/SimpleDialog/SimpleDialog.d.ts +2 -1
- package/build/components/Skeleton/Skeleton.d.ts +1 -1
- package/build/components/SplashScreen/SplashScreen.d.ts +1 -1
- package/build/components/StatusBar/StatusBar.d.ts +4 -1
- package/build/components/StatusBar/StatusBar.js +11 -16
- package/build/components/StatusBar/type.d.ts +1 -1
- package/build/components/StatusBar/type.js +0 -6
- package/build/components/StatusButton/ChevronIcon.d.ts +2 -1
- package/build/components/StatusButton/StatusButton.d.ts +1 -1
- package/build/components/StatusButton/StatusButton.js +13 -7
- package/build/components/StatusButton/constant.d.ts +4 -0
- package/build/components/StatusButton/constant.js +7 -1
- package/build/components/StatusButton/style.d.ts +5 -4
- package/build/components/StatusButton/type.d.ts +16 -2
- package/build/components/StatusChip/StatusChip.d.ts +2 -1
- package/build/components/StatusChip/StatusChip.js +40 -6
- package/build/components/StatusChip/style.d.ts +19 -3
- package/build/components/StatusChip/style.js +35 -36
- package/build/components/StatusChip/type.d.ts +8 -0
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.d.ts +13 -0
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +23 -0
- package/build/components/StatusChipWithCopy/index.d.ts +4 -0
- package/build/components/StatusChipWithCopy/index.js +4 -0
- package/build/components/StatusChipWithCopy/utils.d.ts +4 -0
- package/build/components/StatusChipWithCopy/utils.js +4 -0
- package/build/components/StatusFilter/StatusFilter.d.ts +16 -0
- package/build/components/StatusFilter/StatusFilter.js +88 -0
- package/build/components/StatusFilter/index.d.ts +1 -0
- package/build/components/StatusFilter/index.js +1 -0
- package/build/components/StatusFilter/utils.d.ts +4 -0
- package/build/components/StatusFilter/utils.js +10 -0
- package/build/components/StatusGroupChips/StatusGroupChips.d.ts +2 -1
- package/build/components/StatusGroupChips/style.d.ts +1 -13
- package/build/components/StatusGroupChips/style.js +2 -2
- package/build/components/StatusGroupChips/type.d.ts +3 -3
- package/build/components/StatusIcons/AgreementIcon/AgreementIcon.d.ts +2 -1
- package/build/components/StatusIcons/AuthIcons/AuthIcons.d.ts +2 -1
- package/build/components/StatusIcons/AuthIcons/constants.js +5 -0
- package/build/components/StatusIcons/AuthIcons/style.d.ts +20 -20
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.d.ts +2 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +23 -3
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.d.ts +2 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +24 -4
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +10 -10
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/type.d.ts +3 -0
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.d.ts +4 -2
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +9 -4
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.d.ts +6 -2
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +23 -19
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +60 -60
- package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.d.ts +2 -1
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.d.ts +7 -3
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +13 -5
- package/build/components/StatusIcons/DeviceIcon/DeviceIcon.d.ts +2 -1
- package/build/components/StatusIcons/DisputeIcon/DisputeIcon.d.ts +1 -1
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.d.ts +2 -1
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +4 -6
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.d.ts +2 -1
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +1 -1
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.d.ts +5 -1
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +8 -3
- package/build/components/StatusIcons/RefundIcon/RefundIcon.d.ts +5 -1
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +18 -10
- package/build/components/StatusIcons/SourceIcons/SourceIcons.d.ts +2 -1
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.d.ts +7 -2
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +2 -2
- package/build/components/StatusIcons/SourceIcons/index.d.ts +1 -0
- package/build/components/StatusIcons/SourceIcons/index.js +1 -0
- package/build/components/StatusIcons/SourceIcons/style.d.ts +10 -10
- package/build/components/StatusIcons/index.d.ts +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/StatusLabel.d.ts +2 -1
- package/build/components/StatusLabel/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +2 -3
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +15 -13
- package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.d.ts → components/ActionIconColumn.d.ts} +2 -2
- package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.js → components/ActionIconColumn.js} +20 -17
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.d.ts → components/ActionsColumn.d.ts} +3 -3
- package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.js → components/ActionsColumn.js} +7 -7
- package/build/components/TableCells/CustomCells/ActionCell/components/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/index.js +2 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +3 -1
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +3 -1
- package/build/components/TableCells/CustomCells/ActionCell/index.d.ts +1 -3
- package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -3
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +13 -13
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -2
- package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +266 -0
- package/build/components/TableCells/CustomCells/AgreementCell/style.js +22 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.d.ts +3 -2
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +8 -10
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.d.ts +4 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
- package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.d.ts → components/AmountConversionTooltipLabel.d.ts} +2 -1
- package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.js → components/AmountConversionTooltipLabel.js} +4 -4
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.d.ts +8 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.d.ts +8 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/index.d.ts +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/index.d.ts +3 -1
- package/build/components/TableCells/CustomCells/AmountCell/index.js +3 -1
- package/build/components/TableCells/CustomCells/AmountCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -6
- package/build/components/TableCells/CustomCells/AmountCell/type.d.ts +22 -0
- package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +14 -12
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/AppsCell/AppsCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/AuthCell/AuthCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +20 -20
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.d.ts +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +6 -4
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +14 -13
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/BalanceCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/BalanceCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/BalanceCell/type.d.ts +9 -4
- package/build/components/TableCells/CustomCells/BankCell/BankCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BankCell/BankCell.js +3 -7
- package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -0
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +4 -6
- package/build/components/TableCells/CustomCells/BrandsCell/style.d.ts +10 -3
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +21 -19
- package/build/components/TableCells/CustomCells/BrandsCell/type.d.ts +2 -1
- package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +3 -4
- package/build/components/TableCells/CustomCells/CurrencyCell/style.d.ts +0 -2
- package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -10
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.d.ts +3 -2
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +2 -5
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
- package/build/components/TableCells/CustomCells/CustomerCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/CustomerCell/type.d.ts +15 -0
- package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +10 -3
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +13 -16
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +4 -0
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
- package/build/components/TableCells/CustomCells/DateCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/DateCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.d.ts +3 -2
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +7 -33
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.d.ts +4 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
- package/build/components/TableCells/CustomCells/DestinationCell/index.d.ts +3 -1
- package/build/components/TableCells/CustomCells/DestinationCell/index.js +3 -1
- package/build/components/TableCells/CustomCells/DestinationCell/type.d.ts +34 -0
- package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationCell/utils.d.ts +2 -1
- package/build/components/TableCells/CustomCells/DestinationCell/utils.js +3 -3
- package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/EntityCell/EntityCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +5 -5
- package/build/components/TableCells/CustomCells/EntityCell/constants.js +3 -3
- package/build/components/TableCells/CustomCells/EntityCell/style.d.ts +10 -5
- package/build/components/TableCells/CustomCells/EntityCell/style.js +12 -36
- package/build/components/TableCells/CustomCells/IDButton/IDButton.d.ts +1 -1
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +20 -20
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
- package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +3 -3
- package/build/components/TableCells/CustomCells/IndividualsCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +4 -4
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.d.ts +1 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.d.ts +7 -0
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
- package/build/components/TableCells/CustomCells/LinkCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/style.d.ts +7 -0
- package/build/components/TableCells/CustomCells/LinkCell/style.js +19 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +4 -4
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
- package/build/components/TableCells/CustomCells/MetadataCell/MetadataCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -4
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
- package/build/components/TableCells/CustomCells/OrderCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.d.ts +23 -0
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
- package/build/components/TableCells/CustomCells/OrdersCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.d.ts +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.d.ts +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +3 -2
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +5 -6
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +274 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +2 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +8 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/ProductsCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.d.ts +3 -0
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.d.ts +5 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.d.ts +5 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.d.ts +3 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.d.ts +8 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.d.ts +9 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.d.ts +5 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.d.ts +3 -5
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +3 -7
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.d.ts +3 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/type.d.ts +3 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +3 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +20 -20
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +6 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.d.ts +2 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +4 -7
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +2 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +8 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.d.ts +2 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +11 -11
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +3 -3
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +12 -8
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +15 -11
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +13 -7
- package/build/components/TableCells/CustomCells/SalesChannelCell/type.d.ts +4 -2
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.d.ts +3 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +24 -18
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.d.ts +5 -3
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +24 -76
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.d.ts +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.d.ts +6 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/index.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/index.js +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/constant.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/index.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +6 -268
- package/build/components/TableCells/CustomCells/SourceCell/style.js +8 -38
- package/build/components/TableCells/CustomCells/SourceCell/type.d.ts +17 -0
- package/build/components/TableCells/CustomCells/SourceCell/type.js +12 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.d.ts +2 -4
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +6 -11
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.d.ts +5 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.d.ts +7 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
- package/build/components/TableCells/CustomCells/StatusCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/StatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +62 -62
- package/build/components/TableCells/CustomCells/StatusCell/type.d.ts +2 -4
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.d.ts +6 -0
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
- package/build/components/TableCells/CustomCells/StatusCell/utils.d.ts +2 -1
- package/build/components/TableCells/CustomCells/StatusCell/utils.js +2 -1
- package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.d.ts +21 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.d.ts +2 -1
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +2 -6
- package/build/components/TableCells/CustomCells/index.d.ts +6 -3
- package/build/components/TableCells/CustomCells/index.js +6 -3
- package/build/components/TableCells/CustomCells/style.d.ts +11 -12
- package/build/components/TableCells/CustomCells/style.js +3 -7
- package/build/components/TableCells/CustomCells/type.d.ts +5 -63
- package/build/components/TableHeader/FiltersRow.d.ts +2 -1
- package/build/components/TableHeader/FiltersRow.js +17 -4
- package/build/components/TableHeader/FiltersRowWrapper.d.ts +5 -0
- package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
- package/build/components/TableHeader/TableHeader.d.ts +6 -4
- package/build/components/TableHeader/TableHeader.js +21 -6
- package/build/components/TableHeader/TableHeaderWrapper.d.ts +5 -0
- package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
- package/build/components/TableHeader/TableModeButton.d.ts +9 -0
- package/build/components/TableHeader/TableModeButton.js +11 -0
- package/build/components/TableHeader/TableView/ColumnItem.d.ts +14 -0
- package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/CustomViews.d.ts +5 -0
- package/build/components/TableHeader/TableView/CustomViews.js +21 -0
- package/build/components/TableHeader/TableView/DefaultViews.d.ts +13 -0
- package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
- package/build/components/TableHeader/TableView/TableView.d.ts +12 -0
- package/build/components/TableHeader/TableView/TableView.js +55 -0
- package/build/components/TableHeader/TableView/hooks/index.d.ts +3 -0
- package/build/components/TableHeader/TableView/hooks/index.js +3 -0
- package/build/components/TableHeader/TableView/hooks/useColumnItem.d.ts +21 -0
- package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/hooks/useSubMenu.d.ts +10 -0
- package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
- package/build/components/TableHeader/TableView/hooks/useViewColumns.d.ts +13 -0
- package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
- package/build/components/TableHeader/TableView/index.d.ts +3 -0
- package/build/components/TableHeader/TableView/index.js +3 -0
- package/build/components/TableHeader/TableView/style.d.ts +24 -0
- package/build/components/TableHeader/TableView/style.js +102 -0
- package/build/components/TableHeader/TableView/type.d.ts +10 -0
- package/build/components/TableHeader/TableView/type.js +1 -0
- package/build/components/TableHeader/data.d.ts +5 -0
- package/build/components/TableHeader/data.js +7 -0
- package/build/components/TableHeader/index.d.ts +6 -2
- package/build/components/TableHeader/index.js +6 -2
- package/build/components/TableHeader/style.d.ts +2 -2
- package/build/components/TableHeader/style.js +1 -1
- package/build/components/TableHeader/type.d.ts +19 -11
- package/build/components/TableHeader/type.js +0 -7
- package/build/components/TableReports/DownloadIconButton.d.ts +7 -0
- package/build/components/TableReports/DownloadIconButton.js +20 -0
- package/build/components/TableReports/Downloads.d.ts +10 -0
- package/build/components/TableReports/Downloads.js +24 -0
- package/build/components/TableReports/RecordLoading.d.ts +2 -0
- package/build/components/TableReports/RecordLoading.js +6 -0
- package/build/components/TableReports/TableReports.d.ts +5 -0
- package/build/components/TableReports/TableReports.js +53 -0
- package/build/components/TableReports/components/DownloadButton/DownloadButton.d.ts +8 -0
- package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
- package/build/components/TableReports/components/DownloadButton/index.d.ts +2 -0
- package/build/components/TableReports/components/DownloadButton/index.js +2 -0
- package/build/components/TableReports/components/DownloadButton/style.d.ts +263 -0
- package/build/components/TableReports/components/DownloadButton/style.js +15 -0
- package/build/components/TableReports/hooks/index.d.ts +1 -0
- package/build/components/TableReports/hooks/index.js +1 -0
- package/build/components/TableReports/hooks/useDownloadReport.d.ts +11 -0
- package/build/components/TableReports/hooks/useDownloadReport.js +58 -0
- package/build/components/TableReports/index.d.ts +7 -0
- package/build/components/TableReports/index.js +7 -0
- package/build/components/TableReports/style.d.ts +323 -0
- package/build/components/TableReports/style.js +163 -0
- package/build/components/TableReports/type.d.ts +32 -0
- package/build/components/TableReports/type.js +1 -0
- package/build/components/TableReports/utils.d.ts +2 -0
- package/build/components/TableReports/utils.js +32 -0
- package/build/components/TableView/CustomViews.d.ts +1 -1
- package/build/components/TableView/CustomViews.js +2 -0
- package/build/components/TableView/DefaultViews.d.ts +1 -1
- package/build/components/TableView/TableView.d.ts +1 -1
- package/build/components/TableView/TableView.js +1 -0
- package/build/components/TapLogo/TapLogo.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/Timepicker/Timepicker.d.ts +3 -1
- package/build/components/Timepicker/Timepicker.js +9 -7
- package/build/components/Timepicker/index.d.ts +1 -0
- package/build/components/Timepicker/index.js +1 -0
- package/build/components/Timepicker/style.d.ts +3 -2
- package/build/components/Timepicker/style.js +1 -1
- package/build/components/Timepicker/utils.js +9 -5
- package/build/components/Toaster/Toaster.d.ts +2 -0
- package/build/components/Toaster/Toaster.js +12 -0
- package/build/components/Toaster/index.d.ts +2 -0
- package/build/components/Toaster/index.js +2 -0
- package/build/components/ToggleButtons/ToggleButtons.d.ts +2 -1
- package/build/components/ToggleView/ToggleView.d.ts +16 -0
- package/build/components/ToggleView/ToggleView.js +32 -0
- package/build/components/ToggleView/ToggleWrapper.d.ts +4 -0
- package/build/components/ToggleView/ToggleWrapper.js +8 -0
- package/build/components/ToggleView/index.d.ts +3 -0
- package/build/components/ToggleView/index.js +3 -0
- package/build/components/ToggleView/style.d.ts +14 -0
- package/build/components/ToggleView/style.js +31 -0
- package/build/components/ToggleView/types.d.ts +6 -0
- package/build/components/ToggleView/types.js +6 -0
- package/build/components/Toolbar/Toolbar.d.ts +1 -1
- package/build/components/Toolbar/style.d.ts +5 -2
- package/build/components/Toolbar/style.js +6 -1
- package/build/components/ToolbarIcon/CloseIcon/CloseIcon.d.ts +2 -1
- package/build/components/ToolbarIcon/ExpandButton/ExpandButton.d.ts +1 -1
- package/build/components/ToolbarIcon/ExpandButton/style.d.ts +1 -1
- package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.d.ts +2 -1
- package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.d.ts +2 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +5 -2
- package/build/components/TooltipChip/TooltipChip.d.ts +1 -1
- package/build/components/VAT/TotalVAT/TotalVAT.d.ts +12 -0
- package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
- package/build/components/VAT/TotalVAT/index.d.ts +1 -0
- package/build/components/VAT/TotalVAT/index.js +1 -0
- package/build/components/VAT/TotalVAT/style.d.ts +12 -0
- package/build/components/VAT/TotalVAT/style.js +5 -0
- package/build/components/VAT/VATDropdown/VATDropdown.d.ts +11 -0
- package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
- package/build/components/VAT/VATDropdown/index.d.ts +1 -0
- package/build/components/VAT/VATDropdown/index.js +1 -0
- package/build/components/VAT/VATDropdown/style.d.ts +7 -0
- package/build/components/VAT/VATDropdown/style.js +32 -0
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.d.ts +10 -0
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
- package/build/components/VAT/VATRateDropdown/index.d.ts +1 -0
- package/build/components/VAT/VATRateDropdown/index.js +1 -0
- package/build/components/VAT/VATRateDropdown/style.d.ts +7 -0
- package/build/components/VAT/VATRateDropdown/style.js +30 -0
- package/build/components/VAT/index.d.ts +4 -0
- package/build/components/VAT/index.js +4 -0
- package/build/components/VAT/utils.d.ts +7 -0
- package/build/components/VAT/utils.js +8 -0
- package/build/components/VerificationIcon/VerificationIcon.d.ts +6 -0
- package/build/components/VerificationIcon/VerificationIcon.js +7 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.d.ts +6 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
- package/build/components/VerificationIcon/constant.d.ts +2 -0
- package/build/components/VerificationIcon/constant.js +18 -0
- package/build/components/VerificationIcon/index.d.ts +3 -0
- package/build/components/VerificationIcon/index.js +3 -0
- package/build/components/VerificationIcon/type.d.ts +2 -0
- package/build/components/VerificationIcon/type.js +1 -0
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.d.ts +3 -0
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
- package/build/components/ViewColumnRadioFilter/index.d.ts +1 -0
- package/build/components/ViewColumnRadioFilter/index.js +1 -0
- package/build/components/ViewColumnRadioFilter/style.d.ts +3 -0
- package/build/components/ViewColumnRadioFilter/style.js +20 -0
- package/build/components/ViewColumnRadioFilter/type.d.ts +9 -0
- package/build/components/ViewColumnRadioFilter/type.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +62 -10
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +7 -3
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +7 -3
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.d.ts +4 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +23 -12
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +41 -4
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.d.ts +3 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +8 -4
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.d.ts +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.d.ts +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.d.ts +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.d.ts +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.d.ts +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.d.ts +16 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.d.ts +64 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.d.ts +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.d.ts +17 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.d.ts +45 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.d.ts +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.d.ts +18 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.d.ts +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.d.ts +12 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.d.ts +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +35 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.d.ts +9 -3
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +9 -5
- package/build/components/VirtualTables/SheetViewVirtualTable/style.d.ts +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/style.js +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/types.d.ts +10 -0
- package/build/components/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
- package/build/components/VirtualTables/VirtualTable/VirtualTable.js +23 -5
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.d.ts +1 -1
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +8 -3
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +3 -3
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +4 -1
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/List/List.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
- package/build/components/VirtualTables/components/ColumnSort/ColumnSort.d.ts +1 -1
- package/build/components/VirtualTables/components/EmptyList/EmptyList.d.ts +1 -1
- package/build/components/VirtualTables/components/ErrorList/ErrorList.d.ts +1 -1
- package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
- package/build/components/VirtualTables/components/RowErrorState.d.ts +2 -1
- package/build/components/VirtualTables/components/TableError.d.ts +1 -1
- package/build/components/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
- package/build/components/VirtualTables/components/TableFooter/TableFooter.js +2 -2
- package/build/components/VirtualTables/components/TableFooter/style.d.ts +2 -2
- package/build/components/VirtualTables/components/TableHeader/TableHeader.d.ts +1 -1
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.d.ts +2 -1
- package/build/components/VirtualTables/components/TableHeader/style.d.ts +2 -2
- package/build/components/VirtualTables/components/TableLastItem.d.ts +1 -1
- package/build/components/VirtualTables/components/TableLoading.d.ts +1 -1
- package/build/components/VirtualTables/components/TableLoadingWithCard.d.ts +1 -1
- package/build/components/VirtualTables/components/TableNoData.d.ts +1 -1
- package/build/components/VirtualTables/components/TableRow.d.ts +7 -4
- package/build/components/VirtualTables/components/TableRow.js +81 -29
- package/build/components/VirtualTables/components/TableRowLoading.d.ts +1 -1
- package/build/components/VirtualTables/components/TableRowLoadingWithCard.d.ts +1 -1
- package/build/components/VirtualTables/components/TableRowWithCard.d.ts +1 -1
- package/build/components/VirtualTables/components/style.d.ts +14 -13
- package/build/components/VirtualTables/components/style.js +4 -2
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +3 -2
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +6 -4
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.d.ts +1 -1
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +2 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +16 -1
- package/build/components/VirtualTables/context/Provider.d.ts +1 -1
- package/build/components/Widget/List.d.ts +2 -1
- package/build/components/Widget/List.js +2 -2
- package/build/components/Widget/ListItem.d.ts +1 -1
- package/build/components/Widget/Widget.d.ts +1 -1
- package/build/components/Widget/WidgetHeader.d.ts +1 -1
- package/build/components/Widget/style.d.ts +1 -1
- package/build/components/Widget/useScrollWithShadow.js +5 -4
- package/build/components/Window/Window.d.ts +4 -2
- package/build/components/Window/Window.js +8 -20
- package/build/components/Window/style.d.ts +20 -20
- package/build/components/Window/style.js +1 -0
- package/build/components/WindowAppIcon/WindowAppIcon.d.ts +2 -1
- package/build/components/WindowAppIcon/style.d.ts +1 -1
- package/build/components/WindowBackdrop/WindowBackdrop.d.ts +6 -0
- package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
- package/build/components/WindowBackdrop/index.d.ts +1 -0
- package/build/components/WindowBackdrop/index.js +1 -0
- package/build/components/WindowSideBar/WindowSideBar.d.ts +5 -9
- package/build/components/WindowSideBar/index.d.ts +1 -0
- package/build/components/WindowSideBar/type.d.ts +10 -0
- package/build/components/WindowSideBar/type.js +1 -0
- package/build/components/index.d.ts +56 -4
- package/build/components/index.js +56 -4
- package/build/constants/api.d.ts +3 -3
- package/build/constants/api.js +3 -3
- package/build/constants/apps.d.ts +288 -0
- package/build/constants/apps.js +141 -7
- package/build/constants/assets.d.ts +66 -0
- package/build/constants/assets.js +73 -3
- package/build/constants/authentication.d.ts +2 -0
- package/build/constants/authentication.js +14 -0
- package/build/constants/chips/index.d.ts +1 -0
- package/build/constants/chips/index.js +1 -0
- package/build/{components/StatusChip/constants.d.ts → constants/chips/statusChips.d.ts} +1 -1
- package/build/{components/StatusChip/constants.js → constants/chips/statusChips.js} +1 -1
- package/build/constants/country.d.ts +1 -0
- package/build/constants/country.js +1 -0
- package/build/constants/currency.js +1 -0
- package/build/constants/document.d.ts +5 -0
- package/build/constants/document.js +5 -0
- package/build/constants/index.d.ts +7 -0
- package/build/constants/index.js +7 -0
- package/build/constants/payment.d.ts +10 -0
- package/build/constants/payment.js +22 -7
- package/build/constants/rate.d.ts +6 -0
- package/build/constants/rate.js +6 -0
- package/build/constants/reports.d.ts +29 -0
- package/build/constants/reports.js +108 -0
- package/build/constants/segment.d.ts +13 -0
- package/build/constants/segment.js +12 -0
- package/build/constants/server.js +3 -3
- package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +26 -6
- package/build/constants/table/cell/authenticationsTableCellWidth.js +26 -6
- package/build/constants/table/cell/authorizationTableCellWidth.d.ts +103 -18
- package/build/constants/table/cell/authorizationTableCellWidth.js +103 -18
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +51 -21
- package/build/constants/table/cell/chargeTableCellWidth.js +51 -21
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +105 -15
- package/build/constants/table/cell/destinationsTableCellWidth.js +105 -15
- package/build/constants/table/cell/invoicesTableCellWidth.d.ts +28 -8
- package/build/constants/table/cell/invoicesTableCellWidth.js +28 -8
- package/build/constants/table/cell/merchantsTableCellWidth.d.ts +98 -18
- package/build/constants/table/cell/merchantsTableCellWidth.js +98 -18
- package/build/constants/table/cell/payoutsTableCellWidth.d.ts +2 -2
- package/build/constants/table/cell/payoutsTableCellWidth.js +2 -2
- package/build/constants/table/cell/refundTableCellWidth.d.ts +114 -19
- package/build/constants/table/cell/refundTableCellWidth.js +114 -19
- package/build/constants/table/cell/terminalsTableCellWidth.d.ts +12 -12
- package/build/constants/table/cell/terminalsTableCellWidth.js +12 -12
- package/build/constants/table/cell/walletTableCellWidth.d.ts +1 -1
- package/build/constants/table/cell/walletTableCellWidth.js +1 -1
- package/build/constants/table.d.ts +2 -0
- package/build/constants/table.js +2 -0
- package/build/constants/timezones.js +3 -1
- package/build/hooks/index.d.ts +5 -0
- package/build/hooks/index.js +5 -0
- package/build/hooks/useAppEventListener.d.ts +2 -0
- package/build/hooks/useAppEventListener.js +13 -0
- package/build/hooks/useAppEventPublisher.d.ts +2 -0
- package/build/hooks/useAppEventPublisher.js +7 -0
- package/build/hooks/useAppsInfo.d.ts +17 -0
- package/build/hooks/useAppsInfo.js +21 -0
- package/build/hooks/useCountdown.js +4 -0
- package/build/hooks/useSelectedMerchantDetails.d.ts +10 -0
- package/build/hooks/useSelectedMerchantDetails.js +15 -0
- package/build/hooks/useStickyHeaderShadow.js +6 -0
- package/build/hooks/useToast.d.ts +12 -0
- package/build/hooks/useToast.js +29 -0
- package/build/theme/shadows.js +1 -1
- package/build/types/account.d.ts +2 -1
- package/build/types/account.js +1 -0
- package/build/types/appEvents.d.ts +51 -0
- package/build/types/appEvents.js +16 -0
- package/build/types/apps.d.ts +78 -10
- package/build/types/brand.d.ts +2 -1
- package/build/types/column.d.ts +4 -1
- package/build/types/common.d.ts +7 -0
- package/build/types/common.js +1 -0
- package/build/types/destination.d.ts +14 -0
- package/build/types/discount.d.ts +5 -0
- package/build/types/discount.js +6 -0
- package/build/types/document.d.ts +2 -0
- package/build/types/document.js +1 -0
- package/build/types/entity.d.ts +29 -2
- package/build/types/filter.d.ts +5 -0
- package/build/types/filter.js +6 -0
- package/build/types/index.d.ts +11 -1
- package/build/types/index.js +11 -1
- package/build/types/invoice.d.ts +1 -6
- package/build/types/invoice.js +0 -6
- package/build/types/merchant.d.ts +108 -88
- package/build/types/receipt.d.ts +4 -0
- package/build/types/receipt.js +1 -0
- package/build/types/refund.d.ts +440 -0
- package/build/types/reports.d.ts +6 -0
- package/build/types/reports.js +7 -0
- package/build/types/segment.d.ts +15 -0
- package/build/types/segment.js +16 -1
- package/build/types/table.d.ts +25 -7
- package/build/types/toast.d.ts +16 -0
- package/build/types/toast.js +1 -0
- package/build/types/tsUtils.d.ts +12 -0
- package/build/types/tsUtils.js +1 -0
- package/build/types/user.d.ts +66 -21
- package/build/types/utilities.d.ts +24 -0
- package/build/types/utilities.js +1 -0
- package/build/types/window.d.ts +4 -0
- package/build/types/window.js +1 -0
- package/build/utils/api.js +3 -0
- package/build/utils/array.js +5 -1
- package/build/utils/billing.js +1 -0
- package/build/utils/boolean.d.ts +1 -0
- package/build/utils/boolean.js +7 -0
- package/build/utils/color.d.ts +11 -0
- package/build/utils/color.js +27 -0
- package/build/utils/columnResizeStorage.d.ts +16 -0
- package/build/utils/columnResizeStorage.js +96 -0
- package/build/utils/columns.d.ts +2 -2
- package/build/utils/columns.js +3 -4
- package/build/utils/country.d.ts +2 -1
- package/build/utils/country.js +6 -3
- package/build/utils/currency.d.ts +0 -1
- package/build/utils/currency.js +8 -8
- package/build/utils/date.d.ts +11 -0
- package/build/utils/date.js +58 -3
- package/build/utils/encrypt.js +3 -1
- package/build/utils/error.js +2 -0
- package/build/utils/freshdesk.js +2 -0
- package/build/utils/geography.js +1 -1
- package/build/utils/index.d.ts +4 -0
- package/build/utils/index.js +4 -0
- package/build/utils/localStorage.d.ts +10 -1
- package/build/utils/localStorage.js +51 -0
- package/build/utils/merchant.js +3 -0
- package/build/utils/merchantSource.d.ts +30 -0
- package/build/utils/merchantSource.js +36 -0
- package/build/utils/navigation.d.ts +1 -1
- package/build/utils/number.d.ts +2 -0
- package/build/utils/number.js +8 -0
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +4 -3
- package/build/utils/segment.d.ts +59 -2
- package/build/utils/segment.js +48 -0
- package/build/utils/source.d.ts +1 -0
- package/build/utils/source.js +5 -0
- package/build/utils/string.d.ts +8 -0
- package/build/utils/string.js +14 -1
- package/build/utils/style.d.ts +25 -1
- package/build/utils/style.js +50 -17
- package/build/utils/table.d.ts +15 -2
- package/build/utils/table.js +155 -3
- package/build/utils/timezone.d.ts +2 -0
- package/build/utils/timezone.js +3 -0
- package/build/utils/url.d.ts +1 -0
- package/build/utils/url.js +12 -0
- package/package.json +37 -4
- package/build/components/CurrencyIcon/CurrencyIcon.d.ts +0 -5
- package/build/components/CurrencyIcon/CurrencyIcon.js +0 -15
- package/build/components/CurrencyIcon/index.d.ts +0 -2
- package/build/components/CurrencyIcon/index.js +0 -2
- package/build/components/CurrencyIcon/style.js +0 -13
- package/build/components/Notifications/Notifications.d.ts +0 -1
- package/build/components/Notifications/Notifications.js +0 -12
- package/build/components/Notifications/index.d.ts +0 -2
- package/build/components/Notifications/index.js +0 -2
- package/build/components/TableCells/CustomCells/SourceCell/utils.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/utils.js +0 -8
- package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.d.ts +0 -11
- package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.js +0 -51
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.d.ts +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +0 -99
- package/build/components/TableCells/CustomCells/SourceMergedCell/index.d.ts +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +0 -1622
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.js +0 -95
- package/build/components/TableCells/CustomCells/SourceMergedCell/type.d.ts +0 -19
- package/build/components/TableCells/CustomCells/SourceMergedCell/utils.d.ts +0 -12
- package/build/components/TableCells/CustomCells/SourceMergedCell/utils.js +0 -12
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.d.ts +0 -12
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.js +0 -20
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.d.ts +0 -12
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js +0 -19
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.js +0 -1
- package/build/types/source.d.ts +0 -1
- /package/build/components/{TableCells/CustomCells/SourceMergedCell → ErrorToast}/type.js +0 -0
- /package/build/{types/source.js → components/FileInputPreview/type.js} +0 -0
- /package/build/components/{Notifications → Toaster}/style.d.ts +0 -0
- /package/build/components/{Notifications → Toaster}/style.js +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from 'react';
|
|
3
|
+
import uniqBy from 'lodash/uniqBy';
|
|
4
|
+
import { useTranslation } from 'react-i18next';
|
|
5
|
+
import { CountryFlag, Menu, MenuItem, FilterCancelButton, FilterFooter, FilterOkayButton, FilterTitle } from '../index.js';
|
|
6
|
+
export default function CurrencyFilter({ selectedCurrencies, onCurrenciesChange, merchantCurrencies, anchorEl, onCloseDropdown, onConfirm, }) {
|
|
7
|
+
const open = Boolean(anchorEl);
|
|
8
|
+
const { t } = useTranslation();
|
|
9
|
+
const uniqueCurrencies = useMemo(() => uniqBy(merchantCurrencies, 'currencyCode'), [merchantCurrencies]);
|
|
10
|
+
const handleOkButtonClick = (e) => {
|
|
11
|
+
onConfirm(selectedCurrencies);
|
|
12
|
+
onCloseDropdown(e);
|
|
13
|
+
};
|
|
14
|
+
const checkIsSelected = (currencyCode) => { var _a; return (_a = selectedCurrencies === null || selectedCurrencies === void 0 ? void 0 : selectedCurrencies.includes(currencyCode)) !== null && _a !== void 0 ? _a : false; };
|
|
15
|
+
const onClickCurrency = (currencyCode) => {
|
|
16
|
+
var _a;
|
|
17
|
+
if ((selectedCurrencies === null || selectedCurrencies === void 0 ? void 0 : selectedCurrencies.indexOf(currencyCode)) !== -1) {
|
|
18
|
+
const newCurrencies = (_a = selectedCurrencies === null || selectedCurrencies === void 0 ? void 0 : selectedCurrencies.filter((currency) => currency !== currencyCode)) !== null && _a !== void 0 ? _a : [];
|
|
19
|
+
onCurrenciesChange(newCurrencies.length > 0 ? newCurrencies : []);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
onCurrenciesChange([...selectedCurrencies, currencyCode]);
|
|
23
|
+
};
|
|
24
|
+
return (_jsxs(Menu, Object.assign({ open: open, anchorEl: anchorEl, sx: { marginTop: '8px', marginBottom: '8px' } }, { children: [_jsx(FilterTitle, Object.assign({ component: "span" }, { children: t('filterBy') })), uniqueCurrencies.map(({ currencyCode }) => (_jsxs(MenuItem, Object.assign({ isSelected: checkIsSelected(currencyCode), onClick: () => {
|
|
25
|
+
onClickCurrency(currencyCode);
|
|
26
|
+
} }, { children: [_jsx(CountryFlag, { currencyCode: currencyCode }), currencyCode] }), currencyCode))), _jsxs(FilterFooter, { children: [_jsx(FilterCancelButton, Object.assign({ onClick: onCloseDropdown }, { children: t('cancel') })), _jsx(FilterOkayButton, Object.assign({ onClick: handleOkButtonClick }, { children: t('okay') }))] })] })));
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CurrencyFilter, type CurrencyFilterProps } from './CurrencyFilter';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CurrencyFilter } from './CurrencyFilter';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface CurrencySymbolProps {
|
|
3
|
+
currency?: string;
|
|
4
|
+
fontSize?: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function CurrencySymbol({ currency, fontSize, color }: CurrencySymbolProps): import("react").JSX.Element;
|
|
8
|
+
export default CurrencySymbol;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { DirhamIconImage, SARIconImage } from '../../constants/index.js';
|
|
3
|
+
import { StyleCurrencySymbol, MaskedSymbol } from './style';
|
|
4
|
+
const currencyMap = {
|
|
5
|
+
SAR: SARIconImage,
|
|
6
|
+
AED: DirhamIconImage,
|
|
7
|
+
};
|
|
8
|
+
function CurrencySymbol({ currency, fontSize, color }) {
|
|
9
|
+
const symbol = currencyMap[currency];
|
|
10
|
+
if (!symbol)
|
|
11
|
+
return _jsx(_Fragment, { children: currency });
|
|
12
|
+
if (color) {
|
|
13
|
+
return _jsx(MaskedSymbol, { symbol: symbol, fontSize: fontSize, color: color, "aria-label": currency, role: "img" });
|
|
14
|
+
}
|
|
15
|
+
return _jsx(StyleCurrencySymbol, { component: "img", src: symbol, alt: currency, sx: { height: fontSize } });
|
|
16
|
+
}
|
|
17
|
+
export default CurrencySymbol;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const StyleCurrencySymbol: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material/styles").Theme>>;
|
|
3
3
|
export declare const CurrencySpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
4
|
export declare const DecimalSpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
+
export declare const MaskedSymbol: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
6
|
+
symbol: string;
|
|
7
|
+
fontSize?: number | undefined;
|
|
8
|
+
color: string;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import Box from '@mui/material/Box';
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
|
+
export const StyleCurrencySymbol = styled(Box)(() => ({
|
|
4
|
+
height: 10,
|
|
5
|
+
}));
|
|
6
|
+
export const CurrencySpan = styled('span')(({ theme }) => ({
|
|
7
|
+
fontSize: theme.typography.body2.fontSize,
|
|
8
|
+
lineHeight: '17px',
|
|
9
|
+
fontWeight: '700',
|
|
10
|
+
}));
|
|
11
|
+
export const DecimalSpan = styled('span')(() => ({
|
|
12
|
+
fontWeight: '400',
|
|
13
|
+
}));
|
|
14
|
+
export const MaskedSymbol = styled('span')(({ symbol, fontSize, color }) => ({
|
|
15
|
+
display: 'inline-block',
|
|
16
|
+
height: fontSize,
|
|
17
|
+
width: fontSize,
|
|
18
|
+
backgroundColor: color,
|
|
19
|
+
maskImage: `url("${symbol}")`,
|
|
20
|
+
maskSize: 'contain',
|
|
21
|
+
maskRepeat: 'no-repeat',
|
|
22
|
+
maskPosition: 'center',
|
|
23
|
+
WebkitMaskImage: `url("${symbol}")`,
|
|
24
|
+
WebkitMaskSize: 'contain',
|
|
25
|
+
WebkitMaskRepeat: 'no-repeat',
|
|
26
|
+
WebkitMaskPosition: 'center',
|
|
27
|
+
}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CustomerFullInfoProps } from '../CustomerForms/CustomerFullInfo';
|
|
3
|
+
export interface CustomerDropdownProps extends CustomerFullInfoProps {
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function CustomerDropdown({ ...props }: Readonly<CustomerDropdownProps>): import("react").JSX.Element;
|
|
7
|
+
declare const _default: import("react").MemoExoticComponent<typeof CustomerDropdown>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { memo, useMemo, useState } from 'react';
|
|
14
|
+
import Popper from '@mui/material/Popper';
|
|
15
|
+
import { useTranslation } from 'react-i18next';
|
|
16
|
+
import { getRandomGradientColor } from '../../../utils/index.js';
|
|
17
|
+
import { CustomBackdrop } from '../../index.js';
|
|
18
|
+
import { customerIcon2 } from '../../../constants/index.js';
|
|
19
|
+
import { Wrapper, AvatarStyled, Button } from './style';
|
|
20
|
+
import FullInfo from '../CustomerForms/CustomerFullInfo';
|
|
21
|
+
function CustomerDropdown(_a) {
|
|
22
|
+
var _b, _c;
|
|
23
|
+
var props = __rest(_a, []);
|
|
24
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
25
|
+
const { firstName, lastName } = props.customer;
|
|
26
|
+
const { t } = useTranslation();
|
|
27
|
+
const open = Boolean(anchorEl);
|
|
28
|
+
const openDropdown = (event) => {
|
|
29
|
+
if (!open)
|
|
30
|
+
setAnchorEl(event.currentTarget);
|
|
31
|
+
};
|
|
32
|
+
const closeDropdown = () => {
|
|
33
|
+
if (open)
|
|
34
|
+
setAnchorEl(null);
|
|
35
|
+
};
|
|
36
|
+
const AvatarColor = useMemo(() => getRandomGradientColor(), []);
|
|
37
|
+
return (_jsxs(Wrapper, Object.assign({ sx: Object.assign({}, (props.isDisabled && { pointerEvents: 'none', opacity: 0.7 })) }, { children: [_jsxs(Button, Object.assign({ onClick: openDropdown }, { children: [(!firstName || !lastName) && (_jsxs(_Fragment, { children: [_jsx("img", { src: customerIcon2, alt: "c" }), _jsx("span", { children: t('customer') })] })), firstName && lastName && (_jsxs(_Fragment, { children: [_jsx(AvatarStyled, Object.assign({ src: "#", alt: "a", sx: { background: AvatarColor } }, { children: `${(_b = firstName[0]) === null || _b === void 0 ? void 0 : _b.toUpperCase()}${((_c = lastName[0]) === null || _c === void 0 ? void 0 : _c.toUpperCase()) || ''}` })), `${firstName} ${lastName}`] }))] })), open && _jsx(CustomBackdrop, { onClick: closeDropdown }), _jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: "bottom-start" }, { children: _jsx(FullInfo, Object.assign({}, props)) }))] })));
|
|
38
|
+
}
|
|
39
|
+
export default memo(CustomerDropdown);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type CustomerDropdownProps } from './CustomerDropdown';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomerDropdown';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
+
export declare const Button: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
|
+
export declare const AvatarStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Avatar").AvatarOwnProps & import("@mui/material/Avatar").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, "classes" | "className" | "style" | "children" | "sx" | "variant" | "slotProps" | "slots" | "sizes" | "src" | "alt" | "srcSet" | "imgProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import Avatar from '@mui/material/Avatar';
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
|
+
export const Wrapper = styled(Box)(() => ({
|
|
5
|
+
position: 'relative',
|
|
6
|
+
flexGrow: 0,
|
|
7
|
+
}));
|
|
8
|
+
export const Button = styled(Box)(({ theme }) => ({
|
|
9
|
+
fontSize: '11px',
|
|
10
|
+
color: theme.palette.text.primary,
|
|
11
|
+
display: 'flex',
|
|
12
|
+
padding: theme.spacing(1),
|
|
13
|
+
gap: theme.spacing(1),
|
|
14
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
15
|
+
borderRadius: '4px',
|
|
16
|
+
backgroundColor: theme.palette.common.white,
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
height: 32,
|
|
19
|
+
textTransform: 'capitalize',
|
|
20
|
+
cursor: 'pointer',
|
|
21
|
+
}));
|
|
22
|
+
export const AvatarStyled = styled(Avatar)(({ theme }) => ({
|
|
23
|
+
width: 16,
|
|
24
|
+
height: 16,
|
|
25
|
+
cursor: 'pointer',
|
|
26
|
+
fontSize: '5.667px',
|
|
27
|
+
color: theme.palette.common.white,
|
|
28
|
+
fontWeight: 500,
|
|
29
|
+
border: `1px solid ${theme.palette.common.white}`,
|
|
30
|
+
}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Item } from '../../../types/index.js';
|
|
3
|
+
import { CustomerFullInfoProps } from './CustomerFullInfo';
|
|
4
|
+
export interface CustomerEmailFormProps extends Pick<CustomerFullInfoProps, 'onCustomerChange' | 'isCustomerNotValid' | 'customer'> {
|
|
5
|
+
items: Item[];
|
|
6
|
+
isItemsNotValid: boolean;
|
|
7
|
+
submitButtonText: string;
|
|
8
|
+
onSubmit: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare function CustomerEmailForm({ submitButtonText, onSubmit, customer, isItemsNotValid, items, onCustomerChange }: Readonly<CustomerEmailFormProps>): import("react").JSX.Element;
|
|
11
|
+
declare const _default: import("react").MemoExoticComponent<typeof CustomerEmailForm>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { memo, useEffect, useRef } from 'react';
|
|
14
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
15
|
+
import Box from '@mui/material/Box';
|
|
16
|
+
import { Controller, useForm } from 'react-hook-form';
|
|
17
|
+
import { useTranslation } from 'react-i18next';
|
|
18
|
+
import { FormWrapper, InputStyled, SubmitButton, ErrorStyled } from './style';
|
|
19
|
+
import { validationEmailFromSchema } from './validation';
|
|
20
|
+
function CustomerEmailForm({ submitButtonText, onSubmit, customer, isItemsNotValid, items, onCustomerChange }) {
|
|
21
|
+
const firstNameRef = useRef();
|
|
22
|
+
const lastNameRef = useRef();
|
|
23
|
+
const emailRef = useRef();
|
|
24
|
+
const { t } = useTranslation();
|
|
25
|
+
const { control, formState: { isValid, errors }, watch, trigger, } = useForm({
|
|
26
|
+
mode: 'onChange',
|
|
27
|
+
resolver: yupResolver(validationEmailFromSchema),
|
|
28
|
+
defaultValues: {
|
|
29
|
+
firstName: customer.firstName,
|
|
30
|
+
email: customer.email,
|
|
31
|
+
lastName: customer.lastName,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
// revalidate default values
|
|
36
|
+
if (customer.firstName && customer.email && customer.lastName) {
|
|
37
|
+
trigger();
|
|
38
|
+
}
|
|
39
|
+
}, []);
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
watch(({ firstName = '', lastName = '', email = '' }) => {
|
|
42
|
+
onCustomerChange(Object.assign(Object.assign({}, customer), { email,
|
|
43
|
+
firstName,
|
|
44
|
+
lastName }));
|
|
45
|
+
});
|
|
46
|
+
}, [watch, errors, customer]);
|
|
47
|
+
const onMouseLeave = (e) => {
|
|
48
|
+
e.stopPropagation();
|
|
49
|
+
};
|
|
50
|
+
return (_jsxs(FormWrapper, Object.assign({ onMouseLeave: onMouseLeave }, { children: [_jsx(Controller, { control: control, name: "email", render: (_a) => {
|
|
51
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
52
|
+
return (_jsxs(Box, Object.assign({ ref: emailRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { "data-testid": "EmailForm_email", placeholder: t('email'), inputProps: {
|
|
53
|
+
autoComplete: 'off',
|
|
54
|
+
form: {
|
|
55
|
+
autoComplete: 'off',
|
|
56
|
+
},
|
|
57
|
+
}, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
58
|
+
} }), _jsx(Controller, { control: control, name: "firstName", render: (_a) => {
|
|
59
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
60
|
+
return (_jsxs(Box, Object.assign({ ref: firstNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { "data-testid": "EmailForm_firstName", placeholder: t('firstName'), inputProps: {
|
|
61
|
+
autoComplete: 'off',
|
|
62
|
+
form: {
|
|
63
|
+
autoComplete: 'off',
|
|
64
|
+
},
|
|
65
|
+
}, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
66
|
+
} }), _jsx(Controller, { control: control, name: "lastName", render: (_a) => {
|
|
67
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
68
|
+
return (_jsxs(Box, Object.assign({ ref: lastNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { "data-testid": "EmailForm_lastName", placeholder: t('lastName'), inputProps: {
|
|
69
|
+
autoComplete: 'off',
|
|
70
|
+
form: {
|
|
71
|
+
autoComplete: 'off',
|
|
72
|
+
},
|
|
73
|
+
}, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
74
|
+
} }), _jsx(SubmitButton, Object.assign({ type: "button", "data-testid": "EmailForm_submit", onClick: onSubmit, disabled: !isValid || isItemsNotValid || !items.length }, { children: submitButtonText }))] })));
|
|
75
|
+
}
|
|
76
|
+
export default memo(CustomerEmailForm);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Country, CustomerInfo, SegmentCountry } from '../../../types/index.js';
|
|
3
|
+
export interface CustomerFullInfoProps {
|
|
4
|
+
customer: CustomerInfo;
|
|
5
|
+
country: Country;
|
|
6
|
+
defaultCountry: SegmentCountry;
|
|
7
|
+
countries: Country[];
|
|
8
|
+
isCountriesLoading: boolean;
|
|
9
|
+
onCountryChange: (country: Country) => void;
|
|
10
|
+
onCustomerChange: (customer: CustomerInfo) => void;
|
|
11
|
+
isCustomerNotValid?: (value: boolean, err?: string) => void;
|
|
12
|
+
}
|
|
13
|
+
declare function CustomerFullInfo({ customer, country, defaultCountry, countries, isCountriesLoading, onCustomerChange, onCountryChange, isCustomerNotValid, }: Readonly<CustomerFullInfoProps>): import("react").JSX.Element;
|
|
14
|
+
export default CustomerFullInfo;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { useEffect, useRef, useCallback } from 'react';
|
|
14
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
15
|
+
import Box from '@mui/material/Box';
|
|
16
|
+
import { Controller, useForm } from 'react-hook-form';
|
|
17
|
+
import { useTranslation } from 'react-i18next';
|
|
18
|
+
import { MobileWrapper, FormWrapper, InputStyled, InputNumberStyled, ErrorStyled } from './style';
|
|
19
|
+
import { validationFullInfoSchema } from './validation';
|
|
20
|
+
import CountriesDropdown from '../../Inputs/CountriesDropDown';
|
|
21
|
+
function CustomerFullInfo({ customer, country, defaultCountry, countries, isCountriesLoading, onCustomerChange, onCountryChange, isCustomerNotValid, }) {
|
|
22
|
+
const firstNameRef = useRef();
|
|
23
|
+
const lastNameRef = useRef();
|
|
24
|
+
const emailRef = useRef();
|
|
25
|
+
const phoneNumberRef = useRef();
|
|
26
|
+
const { t } = useTranslation();
|
|
27
|
+
const { control, watch, formState: { errors, isValid }, } = useForm({
|
|
28
|
+
mode: 'onChange',
|
|
29
|
+
resolver: yupResolver(validationFullInfoSchema(country.max_digits)),
|
|
30
|
+
defaultValues: {
|
|
31
|
+
firstName: customer.firstName,
|
|
32
|
+
email: customer.email,
|
|
33
|
+
lastName: customer.lastName,
|
|
34
|
+
phoneNumber: customer.phoneNumber,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
watch(({ firstName = '', lastName = '', email = '', phoneNumber = '' }) => {
|
|
39
|
+
onCustomerChange({
|
|
40
|
+
firstName,
|
|
41
|
+
lastName,
|
|
42
|
+
email,
|
|
43
|
+
phoneNumber,
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
}, [watch, errors, customer]);
|
|
47
|
+
const getFirstError = useCallback(() => { var _a, _b, _c, _d, _e, _f, _g; return (_f = (_d = (_b = (_a = errors.firstName) === null || _a === void 0 ? void 0 : _a.message) !== null && _b !== void 0 ? _b : (_c = errors.lastName) === null || _c === void 0 ? void 0 : _c.message) !== null && _d !== void 0 ? _d : (_e = errors.email) === null || _e === void 0 ? void 0 : _e.message) !== null && _f !== void 0 ? _f : (_g = errors.phoneNumber) === null || _g === void 0 ? void 0 : _g.message; }, [errors]);
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
isCustomerNotValid === null || isCustomerNotValid === void 0 ? void 0 : isCustomerNotValid(!isValid, getFirstError());
|
|
50
|
+
}, [isValid, getFirstError]);
|
|
51
|
+
const onMouseLeave = (e) => {
|
|
52
|
+
e.stopPropagation();
|
|
53
|
+
};
|
|
54
|
+
return (_jsxs(FormWrapper, Object.assign({ onMouseLeave: onMouseLeave }, { children: [_jsx(Controller, { control: control, name: "firstName", render: (_a) => {
|
|
55
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
56
|
+
return (_jsxs(Box, Object.assign({ ref: firstNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('firstName'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
57
|
+
} }, "fullInfoFirstName"), _jsx(Controller, { control: control, name: "lastName", render: (_a) => {
|
|
58
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
59
|
+
return (_jsxs(Box, Object.assign({ ref: lastNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('lastName'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
60
|
+
} }, "fullInfoLastName"), _jsx(Controller, { control: control, name: "email", render: (_a) => {
|
|
61
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
62
|
+
return (_jsxs(Box, Object.assign({ ref: emailRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('email'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
63
|
+
} }, "fullInfoEmail"), _jsx(Controller, { control: control, name: "phoneNumber", render: (_a) => {
|
|
64
|
+
var _b, _c;
|
|
65
|
+
var _d = _a.field, { ref } = _d, field = __rest(_d, ["ref"]), { fieldState: { error } } = _a;
|
|
66
|
+
return (_jsxs(Box, Object.assign({ ref: phoneNumberRef }, { children: [_jsxs(MobileWrapper, Object.assign({ sx: Object.assign({}, ((error === null || error === void 0 ? void 0 : error.message) && { borderBottom: 'none' })) }, { children: [_jsx(CountriesDropdown, { defaultCountry: (_c = (_b = country === null || country === void 0 ? void 0 : country.iso2) !== null && _b !== void 0 ? _b : defaultCountry === null || defaultCountry === void 0 ? void 0 : defaultCountry.code) !== null && _c !== void 0 ? _c : 'SA', value: country, onChangeCountry: onCountryChange, countries: countries, isLoading: isCountriesLoading }), _jsx(InputNumberStyled, Object.assign({}, field, { placeholder: t('mobile'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message), sx: {
|
|
67
|
+
border: 'none',
|
|
68
|
+
paddingInlineEnd: 0,
|
|
69
|
+
}, hideArrows: true }))] })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message, { numberLen: country.max_digits }) })] })));
|
|
70
|
+
} }, "fullInfoPhoneNumber")] })));
|
|
71
|
+
}
|
|
72
|
+
export default CustomerFullInfo;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { Item } from '../../../types/index.js';
|
|
3
|
+
import { CustomerFullInfoProps } from './CustomerFullInfo';
|
|
4
|
+
export interface CustomerFullInfoFormProps extends CustomerFullInfoProps {
|
|
5
|
+
items: Item[];
|
|
6
|
+
isItemsNotValid: boolean;
|
|
7
|
+
submitButtonText: string;
|
|
8
|
+
onSubmit: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare function CustomerFullInfoForm({ submitButtonText, onSubmit, customer, country, items, isItemsNotValid, defaultCountry, countries, isCountriesLoading, onCustomerChange, onCountryChange, }: Readonly<CustomerFullInfoFormProps>): import("react").JSX.Element;
|
|
11
|
+
declare const _default: import("react").MemoExoticComponent<typeof CustomerFullInfoForm>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { memo, useEffect, useRef } from 'react';
|
|
14
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
15
|
+
import Box from '@mui/material/Box';
|
|
16
|
+
import { Controller, useForm } from 'react-hook-form';
|
|
17
|
+
import { useTranslation } from 'react-i18next';
|
|
18
|
+
import { InputNumberStyled, MobileWrapper } from '../../index.js';
|
|
19
|
+
import { FormWrapper, SubmitButton, InputStyled, ErrorStyled } from './style';
|
|
20
|
+
import { validationFullInfoSchema } from './validation';
|
|
21
|
+
import CountriesDropdown from '../../Inputs/CountriesDropDown';
|
|
22
|
+
function CustomerFullInfoForm({ submitButtonText, onSubmit, customer, country, items, isItemsNotValid, defaultCountry, countries, isCountriesLoading, onCustomerChange, onCountryChange, }) {
|
|
23
|
+
const firstNameRef = useRef();
|
|
24
|
+
const lastNameRef = useRef();
|
|
25
|
+
const emailRef = useRef();
|
|
26
|
+
const phoneNumberRef = useRef();
|
|
27
|
+
const { t } = useTranslation();
|
|
28
|
+
const { control, watch, trigger, formState: { isValid, errors }, } = useForm({
|
|
29
|
+
mode: 'onChange',
|
|
30
|
+
resolver: yupResolver(validationFullInfoSchema(country.max_digits)),
|
|
31
|
+
defaultValues: {
|
|
32
|
+
firstName: customer.firstName,
|
|
33
|
+
email: customer.email,
|
|
34
|
+
lastName: customer.lastName,
|
|
35
|
+
phoneNumber: customer.phoneNumber,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
watch(({ firstName = '', lastName = '', email = '', phoneNumber = '' }) => {
|
|
40
|
+
onCustomerChange({
|
|
41
|
+
email,
|
|
42
|
+
firstName,
|
|
43
|
+
lastName,
|
|
44
|
+
phoneNumber,
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
}, [watch, errors, customer]);
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
// revalidate default values
|
|
50
|
+
if (customer.firstName && customer.lastName && (customer.email || customer.phoneNumber)) {
|
|
51
|
+
trigger();
|
|
52
|
+
}
|
|
53
|
+
}, []);
|
|
54
|
+
return (_jsxs(FormWrapper, Object.assign({ onMouseLeave: (e) => {
|
|
55
|
+
e.stopPropagation();
|
|
56
|
+
} }, { children: [_jsx(Controller, { control: control, name: "firstName", render: (_a) => {
|
|
57
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
58
|
+
return (_jsxs(Box, Object.assign({ ref: firstNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('firstName'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
59
|
+
} }, "fullInfoFormFirstName"), _jsx(Controller, { control: control, name: "lastName", render: (_a) => {
|
|
60
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
61
|
+
return (_jsxs(Box, Object.assign({ ref: lastNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('lastName'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
62
|
+
} }, "fullInfoFormLastName"), _jsx(Controller, { control: control, name: "email", render: (_a) => {
|
|
63
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
64
|
+
return (_jsxs(Box, Object.assign({ ref: emailRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('email'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
65
|
+
} }, "fullInfoFormEmail"), _jsx(Controller, { control: control, name: "phoneNumber", render: (_a) => {
|
|
66
|
+
var _b, _c;
|
|
67
|
+
var _d = _a.field, { ref } = _d, field = __rest(_d, ["ref"]), { fieldState: { error } } = _a;
|
|
68
|
+
return (_jsxs(Box, Object.assign({ ref: phoneNumberRef }, { children: [_jsxs(MobileWrapper, Object.assign({ sx: Object.assign({}, ((error === null || error === void 0 ? void 0 : error.message) && { borderBottom: 'none' })) }, { children: [_jsx(CountriesDropdown, { defaultCountry: (_c = (_b = country === null || country === void 0 ? void 0 : country.iso2) !== null && _b !== void 0 ? _b : defaultCountry === null || defaultCountry === void 0 ? void 0 : defaultCountry.code) !== null && _c !== void 0 ? _c : 'SA', value: country, onChangeCountry: onCountryChange, countries: countries, isLoading: isCountriesLoading }), _jsx(InputNumberStyled, Object.assign({}, field, { placeholder: t('mobile'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message), sx: {
|
|
69
|
+
border: 'none',
|
|
70
|
+
paddingInlineEnd: 0,
|
|
71
|
+
}, hideArrows: true }))] })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message, { numberLen: country.max_digits }) })] })));
|
|
72
|
+
} }), _jsx(SubmitButton, Object.assign({ onClick: onSubmit, disabled: !isValid || isItemsNotValid || !items.length }, { children: submitButtonText }))] })));
|
|
73
|
+
}
|
|
74
|
+
export default memo(CustomerFullInfoForm);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Item } from '../../../types/index.js';
|
|
3
|
+
import { CustomerFullInfoProps } from './CustomerFullInfo';
|
|
4
|
+
export interface CustomerPhoneNumberFormProps extends Pick<CustomerFullInfoProps, 'customer' | 'country' | 'onCountryChange' | 'onCustomerChange' | 'defaultCountry' | 'countries' | 'isCountriesLoading'> {
|
|
5
|
+
isItemsNotValid: boolean;
|
|
6
|
+
items: Item[];
|
|
7
|
+
submitButtonText: string;
|
|
8
|
+
onSubmit: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare function CustomerPhoneNumberForm({ submitButtonText, onSubmit, customer, country, isItemsNotValid, items, defaultCountry, countries, isCountriesLoading, onCustomerChange, onCountryChange, }: Readonly<CustomerPhoneNumberFormProps>): import("react").JSX.Element;
|
|
11
|
+
declare const _default: import("react").MemoExoticComponent<typeof CustomerPhoneNumberForm>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { memo, useEffect, useRef } from 'react';
|
|
14
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
15
|
+
import Box from '@mui/material/Box';
|
|
16
|
+
import { Controller, useForm } from 'react-hook-form';
|
|
17
|
+
import { useTranslation } from 'react-i18next';
|
|
18
|
+
import { CountriesDropdown, InputNumberStyled, MobileWrapper } from '../../index.js';
|
|
19
|
+
import { FormWrapper, SubmitButton, InputStyled, ErrorStyled } from './style';
|
|
20
|
+
import { validationPhoneNumberSchema } from './validation';
|
|
21
|
+
function CustomerPhoneNumberForm({ submitButtonText, onSubmit, customer, country, isItemsNotValid, items, defaultCountry, countries, isCountriesLoading, onCustomerChange, onCountryChange, }) {
|
|
22
|
+
const firstNameRef = useRef();
|
|
23
|
+
const lastNameRef = useRef();
|
|
24
|
+
const phoneNumberRef = useRef();
|
|
25
|
+
const { t } = useTranslation();
|
|
26
|
+
const { control, formState: { isValid, errors }, watch, trigger, } = useForm({
|
|
27
|
+
mode: 'onChange',
|
|
28
|
+
resolver: yupResolver(validationPhoneNumberSchema(country.max_digits)),
|
|
29
|
+
defaultValues: {
|
|
30
|
+
firstName: customer.firstName,
|
|
31
|
+
phoneNumber: customer.phoneNumber,
|
|
32
|
+
lastName: customer.lastName,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
// revalidate default values
|
|
37
|
+
if (customer.firstName && customer.phoneNumber && customer.lastName) {
|
|
38
|
+
trigger();
|
|
39
|
+
}
|
|
40
|
+
}, []);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
watch(({ firstName = '', lastName = '', phoneNumber = '' }) => {
|
|
43
|
+
onCustomerChange(Object.assign(Object.assign({}, customer), { firstName,
|
|
44
|
+
lastName,
|
|
45
|
+
phoneNumber }));
|
|
46
|
+
});
|
|
47
|
+
}, [watch, errors, customer]);
|
|
48
|
+
const onMouseLeave = (e) => {
|
|
49
|
+
e.stopPropagation();
|
|
50
|
+
};
|
|
51
|
+
return (_jsxs(FormWrapper, Object.assign({ onMouseLeave: onMouseLeave }, { children: [_jsx(Controller, { control: control, name: "phoneNumber", render: (_a) => {
|
|
52
|
+
var _b, _c;
|
|
53
|
+
var _d = _a.field, { ref } = _d, field = __rest(_d, ["ref"]), { fieldState: { error } } = _a;
|
|
54
|
+
return (_jsxs(Box, Object.assign({ ref: phoneNumberRef }, { children: [_jsxs(MobileWrapper, Object.assign({ sx: Object.assign({}, ((error === null || error === void 0 ? void 0 : error.message) && { borderBottom: 'none' })) }, { children: [_jsx(CountriesDropdown, { defaultCountry: (_c = (_b = country === null || country === void 0 ? void 0 : country.iso2) !== null && _b !== void 0 ? _b : defaultCountry === null || defaultCountry === void 0 ? void 0 : defaultCountry.code) !== null && _c !== void 0 ? _c : 'SA', value: country, onChangeCountry: onCountryChange, countries: countries, isLoading: isCountriesLoading }), _jsx(InputNumberStyled, Object.assign({}, field, { placeholder: t('mobile'), error: Boolean(error === null || error === void 0 ? void 0 : error.message), sx: {
|
|
55
|
+
border: 'none',
|
|
56
|
+
paddingInlineEnd: 0,
|
|
57
|
+
}, inputProps: {
|
|
58
|
+
autoComplete: 'off',
|
|
59
|
+
form: {
|
|
60
|
+
autoComplete: 'off',
|
|
61
|
+
},
|
|
62
|
+
}, hideArrows: true }))] })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message, { numberLen: country.max_digits }) })] })));
|
|
63
|
+
} }, "phoneNumberFormPhone"), _jsx(Controller, { control: control, name: "firstName", render: (_a) => {
|
|
64
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
65
|
+
return (_jsxs(Box, Object.assign({ ref: firstNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('firstName'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
66
|
+
} }, "phoneNumberFormFirstName"), _jsx(Controller, { control: control, name: "lastName", render: (_a) => {
|
|
67
|
+
var _b = _a.field, { ref } = _b, field = __rest(_b, ["ref"]), { fieldState: { error } } = _a;
|
|
68
|
+
return (_jsxs(Box, Object.assign({ ref: lastNameRef }, { children: [_jsx(InputStyled, Object.assign({}, field, { placeholder: t('lastName'), inputProps: { autoComplete: 'off' }, error: Boolean(error === null || error === void 0 ? void 0 : error.message) })), (error === null || error === void 0 ? void 0 : error.message) && _jsx(ErrorStyled, { error: t(error.message) })] })));
|
|
69
|
+
} }, "phoneNumberFormLastName"), _jsx(SubmitButton, Object.assign({ onClick: onSubmit, disabled: !isValid || isItemsNotValid || !items.length }, { children: submitButtonText }))] })));
|
|
70
|
+
}
|
|
71
|
+
export default memo(CustomerPhoneNumberForm);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './validation';
|
|
2
|
+
export * from './CustomerEmailForm';
|
|
3
|
+
export { default as CustomerEmailForm } from './CustomerEmailForm';
|
|
4
|
+
export * from './CustomerFullInfo';
|
|
5
|
+
export { default as CustomerFullInfo } from './CustomerFullInfo';
|
|
6
|
+
export * from './CustomerFullInfoForm';
|
|
7
|
+
export { default as CustomerFullInfoForm } from './CustomerFullInfoForm';
|
|
8
|
+
export * from './CustomerPhoneNumberForm';
|
|
9
|
+
export { default as CustomerPhoneNumberForm } from './CustomerPhoneNumberForm';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './validation';
|
|
2
|
+
export * from './CustomerEmailForm';
|
|
3
|
+
export { default as CustomerEmailForm } from './CustomerEmailForm';
|
|
4
|
+
export * from './CustomerFullInfo';
|
|
5
|
+
export { default as CustomerFullInfo } from './CustomerFullInfo';
|
|
6
|
+
export * from './CustomerFullInfoForm';
|
|
7
|
+
export { default as CustomerFullInfoForm } from './CustomerFullInfoForm';
|
|
8
|
+
export * from './CustomerPhoneNumberForm';
|
|
9
|
+
export { default as CustomerPhoneNumberForm } from './CustomerPhoneNumberForm';
|