@tap-payments/os-micro-frontend-shared 0.1.441 → 0.1.442
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/AccordionAdapter/AccordionAdapter.js +23 -0
- package/build/components/AccordionAdapter/index.js +2 -1
- package/build/components/AccordionAdapter/style.js +38 -0
- package/build/components/AccountDropdown/Dropdown.js +17 -0
- package/build/components/AccountDropdown/index.js +2 -1
- package/build/components/AccountDropdown/style.js +26 -0
- package/build/components/ActionMenu/ActionMenu.js +101 -0
- package/build/components/ActionMenu/ActionMenuDropDown.js +24 -0
- package/build/components/ActionMenu/ActionMenuItem.js +20 -0
- package/build/components/ActionMenu/index.js +4 -0
- package/build/components/ActionMenu/style.js +179 -0
- package/build/components/ActionMenu/type.js +1 -0
- package/build/components/ActivityAreaChart/ActivityAreaChart.js +43 -0
- package/build/components/ActivityAreaChart/components/ChartTooltip.js +24 -0
- package/build/components/ActivityAreaChart/components/LoadingChart.js +18 -0
- package/build/components/ActivityAreaChart/components/index.js +2 -0
- package/build/components/ActivityAreaChart/index.js +4 -1
- package/build/components/ActivityAreaChart/styles.js +46 -0
- package/build/components/ActivityAreaChart/types.js +1 -0
- package/build/components/ActivityAreaChart/utils.js +27 -0
- package/build/components/Amount/TotalAmount/Loading.js +9 -0
- package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
- package/build/components/Amount/TotalAmount/index.js +1 -0
- package/build/components/Amount/TotalAmount/style.js +26 -0
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountConversionFilter/style.js +47 -0
- package/build/components/AmountInput/AmountInput.js +44 -0
- package/build/components/AmountInput/index.js +2 -1
- package/build/components/AmountInput/style.js +30 -0
- package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
- package/build/components/AmountStatusChip/index.js +2 -1
- package/build/components/AmountStatusChip/style.js +13 -0
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
- package/build/components/AnimatedSpinnerIcon/index.js +2 -1
- package/build/components/AnimatedSpinnerIcon/style.js +8 -0
- package/build/components/AppServices/AppServices.js +82 -0
- package/build/components/AppServices/ServiceItem.js +36 -0
- package/build/components/AppServices/index.js +2 -1
- package/build/components/AppServices/style.js +33 -0
- package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +44 -0
- package/build/components/AppServicesActionMenu/ServicesSubmenu.js +12 -0
- package/build/components/AppServicesActionMenu/index.js +3 -1
- package/build/components/AppServicesActionMenu/style.js +45 -0
- package/build/components/AppServicesActionMenu/types.js +1 -0
- package/build/components/AppServicesBar/AppServicesBar.js +18 -0
- package/build/components/AppServicesBar/index.js +3 -1
- package/build/components/AppServicesBar/style.js +6 -0
- package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +82 -0
- package/build/components/AppWindowWrapper/AppWindow/constant.js +6 -0
- package/build/components/AppWindowWrapper/AppWindow/index.js +4 -0
- package/build/components/AppWindowWrapper/AppWindow/style.js +77 -0
- package/build/components/AppWindowWrapper/AppWindow/type.js +1 -0
- package/build/components/AppWindowWrapper/AppWindowWrapper.js +22 -0
- package/build/components/AppWindowWrapper/context/Provider.js +71 -0
- package/build/components/AppWindowWrapper/context/context.js +30 -0
- package/build/components/AppWindowWrapper/context/index.js +2 -0
- package/build/components/AppWindowWrapper/context/type.js +1 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +31 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +10 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +2 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.js +1 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +3 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/type.js +1 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +23 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +20 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +4 -0
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.js +1 -0
- package/build/components/AppWindowWrapper/index.js +7 -1
- package/build/components/AppWindowWrapper/type.js +1 -0
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
- package/build/components/AuthenticationTypeChip/constants.js +13 -0
- package/build/components/AuthenticationTypeChip/index.js +2 -1
- package/build/components/Autocomplete/Autocomplete.js +33 -0
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/Autocomplete/style.js +47 -0
- package/build/components/BackgroundAnimation/BackgroundAnimation.js +52 -0
- package/build/components/BackgroundAnimation/Blob/Blob.js +34 -0
- package/build/components/BackgroundAnimation/Blob/index.js +2 -0
- package/build/components/BackgroundAnimation/Blob/type.js +1 -0
- package/build/components/BackgroundAnimation/index.js +3 -1
- package/build/components/BetaBanner/BetaBanner.js +5 -0
- package/build/components/BetaBanner/index.js +2 -1
- package/build/components/BetaBanner/style.js +18 -0
- package/build/components/BrandLogo/BrandLogo.js +35 -0
- package/build/components/BrandLogo/Loading.js +3 -0
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/Button.js +19 -0
- package/build/components/Button/PlusButton/PlusButton.js +21 -0
- package/build/components/Button/PlusButton/index.js +2 -0
- package/build/components/Button/StyledButton/StyledButton.js +20 -0
- package/build/components/Button/StyledButton/index.js +2 -0
- package/build/components/Button/StyledButton/style.js +13 -0
- package/build/components/Button/index.js +4 -1
- package/build/components/Button/style.js +23 -0
- package/build/components/Calender/Calender.js +71 -0
- package/build/components/Calender/index.js +2 -1
- package/build/components/Calender/style.js +171 -0
- package/build/components/CardEmptyState/CardEmptyState.js +20 -0
- package/build/components/CardEmptyState/index.js +2 -1
- package/build/components/CardEmptyState/style.js +35 -0
- package/build/components/CardEmptyState/type.js +1 -0
- package/build/components/CardHeadline/CardHeadline.js +15 -0
- package/build/components/CardHeadline/index.js +2 -1
- package/build/components/Checkbox/Checkbox.js +14 -0
- package/build/components/Checkbox/index.js +2 -1
- package/build/components/Chip/Chip.js +20 -0
- package/build/components/Chip/GroupIconChip.js +17 -0
- package/build/components/Chip/GroupIconChips.js +36 -0
- package/build/components/Chip/index.js +4 -1
- package/build/components/Chip/style.js +76 -0
- package/build/components/Chip/type.js +1 -0
- package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.js +7 -0
- package/build/components/CircularProgressWithLabel/index.js +2 -1
- package/build/components/CircularProgressWithLabel/style.js +31 -0
- package/build/components/Collapse/Collapse.js +17 -0
- package/build/components/Collapse/index.js +2 -1
- package/build/components/ColorPicker/ColorPicker.js +35 -0
- package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
- package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
- package/build/components/ColorPicker/HexaFields.js +83 -0
- package/build/components/ColorPicker/RGBAFields.js +37 -0
- package/build/components/ColorPicker/index.js +2 -1
- package/build/components/ColorPicker/style.js +157 -0
- package/build/components/ConfirmDialog/ConfirmDialog.js +8 -0
- package/build/components/ConfirmDialog/context/Provider.js +18 -0
- package/build/components/ConfirmDialog/context/context.js +14 -0
- package/build/components/ConfirmDialog/context/index.js +2 -0
- package/build/components/ConfirmDialog/hooks/index.js +1 -0
- package/build/components/ConfirmDialog/hooks/useDialog.js +22 -0
- package/build/components/ConfirmDialog/index.js +4 -1
- package/build/components/ConfirmDialog/styles.js +42 -0
- package/build/components/ConfirmDialog/type.js +1 -0
- package/build/components/ControlPanelContainer/ControlPanelContainer.js +5 -0
- package/build/components/ControlPanelContainer/index.js +2 -1
- package/build/components/ControlPanelContainer/style.js +9 -0
- package/build/components/CopyImage/CopyImage.js +11 -0
- package/build/components/CopyImage/index.js +2 -1
- package/build/components/CountBadge/CountBadge.js +51 -0
- package/build/components/CountBadge/CountBadgeAnimated.js +15 -0
- package/build/components/CountBadge/index.js +5 -1
- package/build/components/CountBadge/style.js +29 -0
- package/build/components/CountBadge/type.js +16 -0
- package/build/components/CountryFilter/CountryFilter.js +71 -0
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFilter/style.js +7 -0
- package/build/components/CountryFlag/CountryFlag.js +23 -0
- package/build/components/CountryFlag/index.js +2 -1
- package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
- package/build/components/CurrencySymbol/index.js +2 -1
- package/build/components/CurrencySymbol/style.js +27 -0
- package/build/components/CustomBackdrop/CustomBackdrop.js +8 -0
- package/build/components/CustomBackdrop/index.js +2 -1
- package/build/components/CustomBackdrop/style.js +9 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
- package/build/components/Customer/CustomerDropdown/index.js +1 -0
- package/build/components/Customer/CustomerDropdown/style.js +30 -0
- package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
- package/build/components/Customer/CustomerForms/index.js +9 -0
- package/build/components/Customer/CustomerForms/style.js +71 -0
- package/build/components/Customer/CustomerForms/validation.js +42 -0
- package/build/components/Customer/index.js +2 -1
- package/build/components/DateButton/DateButton.js +9 -0
- package/build/components/DateButton/index.js +2 -1
- package/build/components/DateFilter/DateFilter.js +32 -0
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DateFilter/style.js +100 -0
- package/build/components/DeviceIcon/DeviceIcon.js +29 -0
- package/build/components/DeviceIcon/constants.js +6 -0
- package/build/components/DeviceIcon/index.js +4 -1
- package/build/components/DeviceIcon/style.js +18 -0
- package/build/components/DeviceIcon/utils.js +4 -0
- package/build/components/Dialog/Dialog.js +9 -0
- package/build/components/Dialog/components/DialogToolbar.js +31 -0
- package/build/components/Dialog/components/index.js +2 -0
- package/build/components/Dialog/constant.js +1 -0
- package/build/components/Dialog/index.js +4 -1
- package/build/components/Dialog/style.js +50 -0
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
- package/build/components/Discount/DiscountDropdown/index.js +2 -0
- package/build/components/Discount/DiscountDropdown/style.js +40 -0
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
- package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
- package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
- package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
- package/build/components/Discount/TotalDiscount/index.js +1 -0
- package/build/components/Discount/TotalDiscount/style.js +5 -0
- package/build/components/Discount/index.js +4 -1
- package/build/components/Discount/utils.js +12 -0
- package/build/components/DisplayAmount/DisplayAmount.js +21 -0
- package/build/components/DisplayAmount/index.js +2 -1
- package/build/components/DisplayAmount/style.js +14 -0
- package/build/components/DockButton/DockButton.js +27 -0
- package/build/components/DockButton/index.js +2 -1
- package/build/components/DockButton/style.js +25 -0
- package/build/components/DockButton/type.js +1 -0
- package/build/components/Dropdown2/Dropdown2.js +29 -0
- package/build/components/Dropdown2/index.js +2 -1
- package/build/components/Dropdown2/style.js +24 -0
- package/build/components/DropdownButton/ChevronIcon.js +16 -0
- package/build/components/DropdownButton/DropdownButton.js +50 -0
- package/build/components/DropdownButton/constants.js +5 -0
- package/build/components/DropdownButton/index.js +3 -1
- package/build/components/DropdownButton/style.js +70 -0
- package/build/components/DropdownButton/type.js +1 -0
- package/build/components/DropdownMenu/DropdownMenu.js +43 -0
- package/build/components/DropdownMenu/index.js +3 -0
- package/build/components/DropdownMenu/styles.js +158 -0
- package/build/components/DropdownMenu/type.js +1 -0
- package/build/components/Error/Error.js +20 -0
- package/build/components/Error/index.js +2 -1
- package/build/components/Error/style.js +13 -0
- package/build/components/ErrorBoundary/AppError.js +16 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js +25 -0
- package/build/components/ErrorBoundary/index.js +2 -1
- package/build/components/ErrorBoundary/style.js +19 -0
- package/build/components/ErrorToast/ErrorToast.js +7 -0
- package/build/components/ErrorToast/index.js +2 -1
- package/build/components/ErrorToast/style.js +33 -0
- package/build/components/ErrorToast/type.js +1 -0
- package/build/components/ExpandableSideBar/ExpandableSideBar.js +35 -0
- package/build/components/ExpandableSideBar/constant.js +1 -0
- package/build/components/ExpandableSideBar/index.js +2 -1
- package/build/components/ExpandableSideBar/style.js +47 -0
- package/build/components/ExpandableSideBar/type.js +1 -0
- package/build/components/FileInputPreview/FileInputPreview.js +51 -0
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FileInputPreview/style.js +20 -0
- package/build/components/FileInputPreview/type.js +1 -0
- package/build/components/FileInputPreview/utils.js +14 -0
- package/build/components/FilePreview/FilePreview.js +18 -0
- package/build/components/FilePreview/index.js +3 -1
- package/build/components/FilePreview/style.js +55 -0
- package/build/components/FilePreview/type.js +1 -0
- package/build/components/FileUpload/FileUpload.js +41 -0
- package/build/components/FileUpload/index.js +2 -1
- package/build/components/FileUpload/style.js +106 -0
- package/build/components/FileUploader/FileUploader.js +13 -0
- package/build/components/FileUploader/index.js +2 -1
- package/build/components/FileUploader/style.js +55 -0
- package/build/components/FileUploader/type.js +1 -0
- package/build/components/FilterDropdown/FilterDropdown.js +58 -0
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
- package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
- package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
- package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
- package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +45 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +4 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/type.js +7 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +55 -0
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
- package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
- package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
- package/build/components/FilterDropdown/components/index.js +6 -0
- package/build/components/FilterDropdown/index.js +3 -1
- package/build/components/FilterDropdown/style.js +73 -0
- package/build/components/FilterDropdown/type.js +1 -0
- package/build/components/FilteredIds/FilteredIds.js +16 -0
- package/build/components/FilteredIds/index.js +2 -1
- package/build/components/FilteredIds/style.js +33 -0
- package/build/components/FilteredIds/type.js +1 -0
- package/build/components/Filters/index.js +1 -1
- package/build/components/Filters/style.js +51 -0
- package/build/components/FlagDetails/FlagDetails.js +31 -0
- package/build/components/FlagDetails/index.js +2 -1
- package/build/components/FlippingCard/FlippingCard.js +7 -0
- package/build/components/FlippingCard/index.js +2 -1
- package/build/components/FlippingCard/style.js +26 -0
- package/build/components/HeatMap/HeatMap.js +20 -0
- package/build/components/HeatMap/constant.js +1 -0
- package/build/components/HeatMap/index.js +3 -1
- package/build/components/HeatMap/style.js +34 -0
- package/build/components/HeatMap/type.js +1 -0
- package/build/components/HeatMap/utils.js +9 -0
- package/build/components/IOSSwitch/IOSSwitch.js +7 -0
- package/build/components/IOSSwitch/index.js +2 -1
- package/build/components/IOSSwitch/styles.js +49 -0
- package/build/components/Icon/Icon.js +12 -0
- package/build/components/Icon/index.js +2 -1
- package/build/components/Icon/type.js +1 -0
- package/build/components/IconGallery/IconGallery.js +13 -0
- package/build/components/IconGallery/index.js +2 -1
- package/build/components/IconGallery/styles.js +21 -0
- package/build/components/IconGallery/type.js +1 -0
- package/build/components/IconWithBadge/IconWithBadge.js +21 -0
- package/build/components/IconWithBadge/index.js +2 -1
- package/build/components/IconWithBadge/style.js +11 -0
- package/build/components/IconWithBadge/type.js +1 -0
- package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +19 -0
- package/build/components/IconWithHoverOverlays/index.js +2 -1
- package/build/components/IconWithHoverOverlays/style.js +45 -0
- package/build/components/IconWithLabel/IconWithLabel.js +7 -0
- package/build/components/IconWithLabel/index.js +2 -1
- package/build/components/IconWithLabel/style.js +21 -0
- package/build/components/IconsDropdown/IconsDropdown.js +31 -0
- package/build/components/IconsDropdown/index.js +2 -1
- package/build/components/IconsDropdown/style.js +47 -0
- package/build/components/ImageWrapper/ImageWrapper.js +16 -0
- package/build/components/ImageWrapper/index.js +2 -1
- package/build/components/Input/Input.js +22 -0
- package/build/components/Input/index.js +2 -1
- package/build/components/Input/style.js +18 -0
- package/build/components/InputBase/AmountInputBase/AmountInputBase.js +30 -0
- package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.js +50 -0
- package/build/components/InputBase/AmountInputBase/CurrencyList/index.js +2 -0
- package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +42 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.js +24 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/index.js +3 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/style.js +24 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/type.js +1 -0
- package/build/components/InputBase/AmountInputBase/index.js +4 -0
- package/build/components/InputBase/AmountInputBase/style.js +26 -0
- package/build/components/InputBase/InputBase/InputBase.js +28 -0
- package/build/components/InputBase/InputBase/index.js +2 -0
- package/build/components/InputBase/InputBase/style.js +68 -0
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +65 -0
- package/build/components/InputBase/PhoneInputBase/CountriesList/index.js +2 -0
- package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +49 -0
- package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +27 -0
- package/build/components/InputBase/PhoneInputBase/index.js +3 -0
- package/build/components/InputBase/PhoneInputBase/style.js +23 -0
- package/build/components/InputBase/SelectBase/SelectBase.js +45 -0
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +64 -0
- package/build/components/InputBase/SelectBase/index.js +3 -0
- package/build/components/InputBase/SelectBase/style.js +109 -0
- package/build/components/InputBase/index.js +4 -1
- package/build/components/InputNumber/InputNumber.js +40 -0
- package/build/components/InputNumber/index.js +2 -1
- package/build/components/InputNumber/style.js +20 -0
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +59 -0
- package/build/components/Inputs/CountriesDropDown/index.js +3 -0
- package/build/components/Inputs/CountriesDropDown/style.js +68 -0
- package/build/components/Inputs/FileInput/FileInput.js +13 -0
- package/build/components/Inputs/FileInput/index.js +2 -0
- package/build/components/Inputs/FileInput/style.js +41 -0
- package/build/components/Inputs/FileInput/type.js +1 -0
- package/build/components/Inputs/Input/Input.js +23 -0
- package/build/components/Inputs/Input/index.js +2 -0
- package/build/components/Inputs/Input/style.js +85 -0
- package/build/components/Inputs/Input/type.js +1 -0
- package/build/components/Inputs/SearchInput/SearchInput.js +24 -0
- package/build/components/Inputs/SearchInput/index.js +2 -0
- package/build/components/Inputs/SearchInput/styles.js +17 -0
- package/build/components/Inputs/Select/Select.js +67 -0
- package/build/components/Inputs/Select/index.js +2 -0
- package/build/components/Inputs/Select/style.js +24 -0
- package/build/components/Inputs/Select/type.js +1 -0
- package/build/components/Inputs/index.js +5 -1
- package/build/components/JSONViewer/JSONViewer.js +285 -0
- package/build/components/JSONViewer/JSONViewerList.js +10 -0
- package/build/components/JSONViewer/components/FooterButton/FooterButton.js +44 -0
- package/build/components/JSONViewer/components/FooterButton/index.js +2 -0
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +9 -0
- package/build/components/JSONViewer/components/JSONTitleBar/index.js +3 -0
- package/build/components/JSONViewer/components/JSONTitleBar/type.js +1 -0
- package/build/components/JSONViewer/components/index.js +2 -0
- package/build/components/JSONViewer/context/Provider.js +44 -0
- package/build/components/JSONViewer/context/context.js +7 -0
- package/build/components/JSONViewer/context/index.js +2 -0
- package/build/components/JSONViewer/hooks/index.js +1 -0
- package/build/components/JSONViewer/hooks/useJsonViewerContext.js +18 -0
- package/build/components/JSONViewer/index.js +7 -1
- package/build/components/JSONViewer/style.js +176 -0
- package/build/components/JSONViewer/type.js +1 -0
- package/build/components/LabeledIconDropdown/LabeledIconDropdown.js +51 -0
- package/build/components/LabeledIconDropdown/index.js +2 -1
- package/build/components/LabeledIconDropdown/style.js +104 -0
- package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
- package/build/components/LanguageDropdown/index.js +2 -1
- package/build/components/LanguageDropdown/style.js +5 -0
- package/build/components/LazyImage/LazyImage.js +39 -0
- package/build/components/LazyImage/index.js +3 -1
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +30 -0
- package/build/components/LeftPeekRightExpandingChip/index.js +2 -1
- package/build/components/LeftPeekRightExpandingChip/style.js +65 -0
- package/build/components/LeftPeekRightExpandingChip/type.js +1 -0
- package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +134 -0
- package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListColumnFilter/style.js +35 -0
- package/build/components/ListLayout/ListLayout.js +20 -0
- package/build/components/ListLayout/index.js +2 -1
- package/build/components/ListLayout/styles.js +9 -0
- package/build/components/Loader/Loader.js +7 -0
- package/build/components/Loader/index.js +2 -1
- package/build/components/Loader/style.js +15 -0
- package/build/components/Loaders/TapLoader.js +29 -0
- package/build/components/Loaders/index.js +2 -1
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
- package/build/components/MFWidgetLoader/index.js +2 -1
- package/build/components/MUIThemeProvider/MUIThemeProvider.js +9 -0
- package/build/components/MUIThemeProvider/index.js +2 -1
- package/build/components/MainContainer/MainContainer.js +8 -0
- package/build/components/MainContainer/index.js +2 -1
- package/build/components/MaskedText/MaskedText.js +9 -0
- package/build/components/MaskedText/index.js +2 -1
- package/build/components/MaskedText/type.js +1 -0
- package/build/components/Menu/Menu.js +29 -0
- package/build/components/Menu/index.js +2 -1
- package/build/components/Menu/style.js +23 -0
- package/build/components/MenuItem/MenuItem.js +21 -0
- package/build/components/MenuItem/index.js +2 -1
- package/build/components/MenuItem/style.js +30 -0
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/style.js +64 -0
- package/build/components/MerchantLogo/MerchantLogo.js +17 -0
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantLogo/style.js +13 -0
- package/build/components/MerchantsDropdown/BrandItem.js +71 -0
- package/build/components/MerchantsDropdown/EntityItem.js +69 -0
- package/build/components/MerchantsDropdown/EntityList.js +7 -0
- package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
- package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
- package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
- package/build/components/MerchantsDropdown/hooks.js +54 -0
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MerchantsDropdown/style.js +155 -0
- package/build/components/MerchantsDropdown/type.js +1 -0
- package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.js +19 -0
- package/build/components/MultiDatakeyDonut/index.js +1 -1
- package/build/components/MultiDatakeyDonut/style.js +23 -0
- package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +32 -0
- package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
- package/build/components/MultiSelectDropdownButton/index.js +3 -1
- package/build/components/MultiSelectDropdownButton/style.js +8 -0
- package/build/components/MultiSelectDropdownButton/type.js +1 -0
- package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +93 -0
- package/build/components/MultiSelectStatusButton/index.js +2 -1
- package/build/components/MultiSelectStatusButton/style.js +77 -0
- package/build/components/MultiSelectStatusButton/type.js +1 -0
- package/build/components/MultiSelectWithSearch/ChildMenuItem.js +45 -0
- package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.js +52 -0
- package/build/components/MultiSelectWithSearch/ParentMenuItem.js +27 -0
- package/build/components/MultiSelectWithSearch/index.js +4 -1
- package/build/components/MultiSelectWithSearch/style.js +88 -0
- package/build/components/MultiSelectWithSearch/type.js +1 -0
- package/build/components/MultiSelectWithSearch/utils.js +12 -0
- package/build/components/NestedDropdown/Dropdown.js +60 -0
- package/build/components/NestedDropdown/NestedDropdown.js +49 -0
- package/build/components/NestedDropdown/NestedMenuItem.js +48 -0
- package/build/components/NestedDropdown/index.js +5 -1
- package/build/components/NestedDropdown/styles.js +100 -0
- package/build/components/NestedDropdown/types.js +1 -0
- package/build/components/NoInternet/NoInternet.js +6 -0
- package/build/components/NoInternet/index.js +2 -1
- package/build/components/NoInternet/style.js +32 -0
- package/build/components/OTPInput/OTPInput.js +36 -0
- package/build/components/OTPInput/index.js +2 -1
- package/build/components/OTPInput/style.js +28 -0
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/OpenFileInNewTab/style.js +8 -0
- package/build/components/PartnersFilter/PartnersFilter.js +50 -0
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/AuthenticationMode.js +59 -0
- package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
- package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
- package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
- package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
- package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +16 -0
- package/build/components/PaymentSourceFilter/index.js +6 -1
- package/build/components/PaymentSourceFilter/style.js +22 -0
- package/build/components/PaymentSourceFilter/type.js +1 -0
- package/build/components/PhoneFilter/PhoneFilter.js +13 -0
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ProgressBar/ProgressBar.js +6 -0
- package/build/components/ProgressBar/index.js +2 -1
- package/build/components/ProgressBar/style.js +19 -0
- package/build/components/ProgressRing/LoadingSkeleton.js +6 -0
- package/build/components/ProgressRing/ProgressRing.js +17 -0
- package/build/components/ProgressRing/index.js +2 -1
- package/build/components/ProgressRing/style.js +37 -0
- package/build/components/RFH/Forms/DefaultForm.js +7 -0
- package/build/components/RFH/Forms/index.js +1 -0
- package/build/components/RFH/Inputs/AmountInput/AmountInput.js +35 -0
- package/build/components/RFH/Inputs/AmountInput/index.js +3 -0
- package/build/components/RFH/Inputs/AmountInput/type.js +1 -0
- package/build/components/RFH/Inputs/AmountInput/utils.js +3 -0
- package/build/components/RFH/Inputs/FormInput/FormInput.js +32 -0
- package/build/components/RFH/Inputs/FormInput/index.js +2 -0
- package/build/components/RFH/Inputs/FormSelect/FormSelect.js +25 -0
- package/build/components/RFH/Inputs/FormSelect/index.js +2 -0
- package/build/components/RFH/Inputs/FormSelect/type.js +1 -0
- package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +66 -0
- package/build/components/RFH/Inputs/MultiSelect/index.js +2 -0
- package/build/components/RFH/Inputs/MultiSelect/style.js +56 -0
- package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +30 -0
- package/build/components/RFH/Inputs/PhoneInput/index.js +2 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +62 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/index.js +2 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/style.js +70 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/type.js +1 -0
- package/build/components/RFH/Inputs/Switch/Switch.js +22 -0
- package/build/components/RFH/Inputs/Switch/index.js +2 -0
- package/build/components/RFH/Inputs/index.js +7 -0
- package/build/components/RFH/hooks/index.js +1 -0
- package/build/components/RFH/hooks/useRFHForm.js +2 -0
- package/build/components/RFH/index.js +3 -1
- package/build/components/RadioButton/RadioButton.js +19 -0
- package/build/components/RadioButton/index.js +1 -1
- package/build/components/RadioButton/style.js +64 -0
- package/build/components/RadioButton/type.js +1 -0
- package/build/components/RadioGroup/RadioGroup.js +38 -0
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RadioGroup/style.js +16 -0
- package/build/components/RadioGroup/type.js +1 -0
- package/build/components/RangeCalender/RangeCalender.js +99 -0
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +40 -0
- package/build/components/RangeCalender/components/CustomTimepicker/index.js +2 -0
- package/build/components/RangeCalender/components/CustomTimepicker/style.js +132 -0
- package/build/components/RangeCalender/components/GroupBy/GroupBy.js +33 -0
- package/build/components/RangeCalender/components/GroupBy/index.js +2 -0
- package/build/components/RangeCalender/components/GroupBy/style.js +39 -0
- package/build/components/RangeCalender/components/Hijri/Hijri.js +13 -0
- package/build/components/RangeCalender/components/Hijri/index.js +2 -0
- package/build/components/RangeCalender/components/Hijri/style.js +25 -0
- package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +47 -0
- package/build/components/RangeCalender/components/QuickFilters/index.js +2 -0
- package/build/components/RangeCalender/components/QuickFilters/style.js +27 -0
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +31 -0
- package/build/components/RangeCalender/components/RangeDatepicker/index.js +3 -0
- package/build/components/RangeCalender/components/RangeDatepicker/style.js +9 -0
- package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
- package/build/components/RangeCalender/components/Timezone/Timezone.js +32 -0
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +38 -0
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +14 -0
- package/build/components/RangeCalender/components/Timezone/index.js +2 -0
- package/build/components/RangeCalender/components/Timezone/style.js +61 -0
- package/build/components/RangeCalender/index.js +2 -1
- package/build/components/RangeCalender/style.js +193 -0
- package/build/components/RangeCalender/type.js +1 -0
- package/build/components/RangeCalender/utils.js +26 -0
- package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReceiptsViewer/style.js +7 -0
- package/build/components/ReceiptsViewer/type.js +1 -0
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/ReferenceTypeFilter/style.js +34 -0
- package/build/components/ResizableHeightInput/ResizableHeightInput.js +24 -0
- package/build/components/ResizableHeightInput/index.js +2 -1
- package/build/components/ResizableHeightInput/style.js +12 -0
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +113 -0
- package/build/components/RightLeftExpandingCenterChip/index.js +2 -1
- package/build/components/RightLeftExpandingCenterChip/style.js +130 -0
- package/build/components/RightLeftExpandingCenterChip/type.js +1 -0
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +233 -0
- package/build/components/Routes/PrivateRoute.js +10 -0
- package/build/components/Routes/PublicRoute.js +6 -0
- package/build/components/Routes/index.js +3 -1
- package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/SalesChannelFilter/style.js +29 -0
- package/build/components/Sandbox/Sandbox.js +10 -0
- package/build/components/Sandbox/index.js +2 -1
- package/build/components/Sandbox/style.js +58 -0
- package/build/components/ScrollLoader/ScrollLoader.js +69 -0
- package/build/components/ScrollLoader/index.js +3 -1
- package/build/components/SearchButton/SearchButton.js +57 -0
- package/build/components/SearchButton/index.js +2 -1
- package/build/components/SearchButton/styles.js +44 -0
- package/build/components/SearchListInput/SearchListInput.js +20 -0
- package/build/components/SearchListInput/index.js +2 -1
- package/build/components/SearchListInput/style.js +15 -0
- package/build/components/SelectDropdown/SelectDropdown.js +18 -0
- package/build/components/SelectDropdown/index.js +2 -1
- package/build/components/SelectDropdown/style.js +18 -0
- package/build/components/SelectWithSearch/SelectWithSearch.js +61 -0
- package/build/components/SelectWithSearch/index.js +3 -1
- package/build/components/SelectWithSearch/style.js +70 -0
- package/build/components/SelectWithSearch/type.js +1 -0
- package/build/components/SimpleDialog/SimpleDialog.js +9 -0
- package/build/components/SimpleDialog/index.js +2 -0
- package/build/components/SimpleDialog/style.js +13 -0
- package/build/components/SimpleDialog/type.js +1 -0
- package/build/components/Skeleton/Skeleton.js +19 -0
- package/build/components/Skeleton/index.js +2 -1
- package/build/components/SplashScreen/SplashScreen.js +17 -0
- package/build/components/SplashScreen/index.js +2 -1
- package/build/components/StatusBar/StatusBar.js +54 -0
- package/build/components/StatusBar/index.js +2 -1
- package/build/components/StatusBar/type.js +1 -0
- package/build/components/StatusButton/ChevronIcon.js +18 -0
- package/build/components/StatusButton/StatusButton.js +94 -0
- package/build/components/StatusButton/constant.js +30 -0
- package/build/components/StatusButton/index.js +3 -1
- package/build/components/StatusButton/style.js +92 -0
- package/build/components/StatusButton/type.js +1 -0
- package/build/components/StatusChip/StatusChip.js +58 -0
- package/build/components/StatusChip/index.js +2 -1
- package/build/components/StatusChip/style.js +37 -0
- package/build/components/StatusChip/type.js +1 -0
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +23 -0
- package/build/components/StatusChipWithCopy/index.js +4 -1
- package/build/components/StatusChipWithCopy/utils.js +4 -0
- package/build/components/StatusFilter/StatusFilter.js +88 -0
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusFilter/utils.js +10 -0
- package/build/components/StatusGroupChips/StatusGroupChips.js +24 -0
- package/build/components/StatusGroupChips/index.js +1 -1
- package/build/components/StatusGroupChips/style.js +17 -0
- package/build/components/StatusGroupChips/type.js +1 -0
- package/build/components/StatusIcons/AgreementIcon/AgreementIcon.js +34 -0
- package/build/components/StatusIcons/AgreementIcon/constant.js +32 -0
- package/build/components/StatusIcons/AgreementIcon/index.js +3 -0
- package/build/components/StatusIcons/AgreementIcon/style.js +37 -0
- package/build/components/StatusIcons/AgreementIcon/type.js +1 -0
- package/build/components/StatusIcons/AuthIcons/AuthIcons.js +45 -0
- package/build/components/StatusIcons/AuthIcons/constants.js +35 -0
- package/build/components/StatusIcons/AuthIcons/index.js +3 -0
- package/build/components/StatusIcons/AuthIcons/style.js +61 -0
- package/build/components/StatusIcons/AuthIcons/type.js +14 -0
- package/build/components/StatusIcons/AuthIcons/utils.js +8 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +82 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +85 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/constant.js +5 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +4 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +58 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/type.js +1 -0
- package/build/components/StatusIcons/AuthorizationAutoIcons/utils.js +9 -0
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +20 -0
- package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -0
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +58 -0
- package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -0
- package/build/components/StatusIcons/ChargeStatusIcon/style.js +113 -0
- package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.js +11 -0
- package/build/components/StatusIcons/CustomerInitiated/index.js +1 -0
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +22 -0
- package/build/components/StatusIcons/DestinationIcon/constant.js +7 -0
- package/build/components/StatusIcons/DestinationIcon/index.js +1 -0
- package/build/components/StatusIcons/DestinationIcon/style.js +20 -0
- package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +7 -0
- package/build/components/StatusIcons/DeviceIcon/index.js +1 -0
- package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +9 -0
- package/build/components/StatusIcons/DisputeIcon/index.js +1 -0
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +17 -0
- package/build/components/StatusIcons/GeographyIcon/index.js +1 -0
- package/build/components/StatusIcons/GeographyIcon/style.js +23 -0
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +9 -0
- package/build/components/StatusIcons/IssuerIcon/index.js +3 -0
- package/build/components/StatusIcons/IssuerIcon/style.js +10 -0
- package/build/components/StatusIcons/IssuerIcon/type.js +1 -0
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +17 -0
- package/build/components/StatusIcons/PayoutIcon/index.js +1 -0
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +59 -0
- package/build/components/StatusIcons/RefundIcon/index.js +2 -0
- package/build/components/StatusIcons/SourceIcons/SourceIcons.js +38 -0
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +13 -0
- package/build/components/StatusIcons/SourceIcons/components/index.js +1 -0
- package/build/components/StatusIcons/SourceIcons/index.js +3 -0
- package/build/components/StatusIcons/SourceIcons/style.js +57 -0
- package/build/components/StatusIcons/SourceIcons/type.js +1 -0
- package/build/components/StatusIcons/SourceIcons/utils.js +8 -0
- package/build/components/StatusIcons/index.js +14 -1
- package/build/components/StatusLabel/StatusLabel.js +10 -0
- package/build/components/StatusLabel/index.js +2 -1
- package/build/components/StatusLabel/style.js +20 -0
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +97 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +51 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.js +21 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +74 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +29 -0
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.js +37 -0
- package/build/components/TableCells/CustomCells/ActionCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/ActionCell/style.js +29 -0
- package/build/components/TableCells/CustomCells/ActionCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +51 -0
- package/build/components/TableCells/CustomCells/AgreementCell/constant.js +32 -0
- package/build/components/TableCells/CustomCells/AgreementCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AgreementCell/style.js +59 -0
- package/build/components/TableCells/CustomCells/AgreementCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +24 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +15 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/index.js +5 -0
- package/build/components/TableCells/CustomCells/AmountCell/style.js +37 -0
- package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +57 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +51 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AppsCell/AppsCell.js +25 -0
- package/build/components/TableCells/CustomCells/AppsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AppsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +30 -0
- package/build/components/TableCells/CustomCells/AuthCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AuthCell/style.js +15 -0
- package/build/components/TableCells/CustomCells/AuthCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +66 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/constant.js +50 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.js +65 -0
- package/build/components/TableCells/CustomCells/AuthenticationCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +31 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +20 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +24 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/constant.js +9 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +36 -0
- package/build/components/TableCells/CustomCells/AvatarCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/AvatarCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +60 -0
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/BalanceCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/BalanceCell/style.js +39 -0
- package/build/components/TableCells/CustomCells/BalanceCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/utils.js +9 -0
- package/build/components/TableCells/CustomCells/BankCell/BankCell.js +26 -0
- package/build/components/TableCells/CustomCells/BankCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BankCell/style.js +37 -0
- package/build/components/TableCells/CustomCells/BankCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.js +10 -0
- package/build/components/TableCells/CustomCells/BankReferenceCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/BankReferenceCell/style.js +14 -0
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +28 -0
- package/build/components/TableCells/CustomCells/BrandCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BrandCell/style.js +20 -0
- package/build/components/TableCells/CustomCells/BrandCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +21 -0
- package/build/components/TableCells/CustomCells/BrandsCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/BrandsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +31 -0
- package/build/components/TableCells/CustomCells/BrandsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.js +39 -0
- package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/BusinessStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +55 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/constant.js +6 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/style.js +36 -0
- package/build/components/TableCells/CustomCells/ChannelsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +32 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/constant.js +5 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.js +20 -0
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +6 -0
- package/build/components/TableCells/CustomCells/CurrencyCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/CurrencyCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +46 -0
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
- package/build/components/TableCells/CustomCells/CustomerCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/CustomerCell/style.js +24 -0
- package/build/components/TableCells/CustomCells/CustomerCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +26 -0
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
- package/build/components/TableCells/CustomCells/DateCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/DateCell/style.js +7 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +27 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
- package/build/components/TableCells/CustomCells/DestinationCell/index.js +4 -0
- package/build/components/TableCells/CustomCells/DestinationCell/styled.js +68 -0
- package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationCell/utils.js +12 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +25 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/DestinationStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +21 -0
- package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DeviceCell/style.js +7 -0
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +29 -0
- package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DueDateCell/style.js +43 -0
- package/build/components/TableCells/CustomCells/DueDateCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DueDateCell/utils.js +53 -0
- package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +23 -0
- package/build/components/TableCells/CustomCells/EntityCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/EntityCell/style.js +28 -0
- package/build/components/TableCells/CustomCells/EntityCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/IDButton/IDButton.js +44 -0
- package/build/components/TableCells/CustomCells/IDButton/index.js +1 -0
- package/build/components/TableCells/CustomCells/IDButton/style.js +15 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +21 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/style.js +51 -0
- package/build/components/TableCells/CustomCells/IndividualsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +33 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.js +20 -0
- package/build/components/TableCells/CustomCells/IntentsStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +18 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +69 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +17 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +50 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/utils.js +40 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +25 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +9 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
- package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +28 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/MetadataCell/MetadataCell.js +18 -0
- package/build/components/TableCells/CustomCells/MetadataCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +27 -0
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
- package/build/components/TableCells/CustomCells/OrderCell/constant.js +1 -0
- package/build/components/TableCells/CustomCells/OrderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
- package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +35 -0
- package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +20 -0
- package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +18 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +32 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/constant.js +12 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/PayoutStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +63 -0
- package/build/components/TableCells/CustomCells/ProductsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProductsCell/style.js +58 -0
- package/build/components/TableCells/CustomCells/ProductsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +11 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +43 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/style.js +60 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +96 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/constant.js +14 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +39 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/RefundChargeCell/utils.js +9 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +36 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +15 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +60 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +10 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/constant.js +20 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/hooks/useRefundStyles.js +54 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +71 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +40 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +3 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +60 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +53 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/constant.js +8 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/style.js +51 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +26 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/AuthenticationMode.js +9 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/index.js +5 -0
- package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/SourceCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/SourceCell/type.js +13 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +42 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
- package/build/components/TableCells/CustomCells/StatusCell/constant.js +93 -0
- package/build/components/TableCells/CustomCells/StatusCell/index.js +4 -0
- package/build/components/TableCells/CustomCells/StatusCell/style.js +69 -0
- package/build/components/TableCells/CustomCells/StatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
- package/build/components/TableCells/CustomCells/StatusCell/utils.js +9 -0
- package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +6 -0
- package/build/components/TableCells/CustomCells/TextTableCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TextTableCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +29 -0
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +33 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/constant.js +9 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.js +57 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +26 -0
- package/build/components/TableCells/CustomCells/WalletCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/WalletCell/style.js +26 -0
- package/build/components/TableCells/CustomCells/WalletCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/index.js +56 -0
- package/build/components/TableCells/CustomCells/style.js +140 -0
- package/build/components/TableCells/CustomCells/type.js +15 -0
- package/build/components/TableCells/TableCell.js +19 -0
- package/build/components/TableCells/index.js +3 -1
- package/build/components/TableCells/style.js +18 -0
- package/build/components/TableCells/type.js +1 -0
- package/build/components/TableHeader/FiltersRow.js +24 -0
- package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
- package/build/components/TableHeader/TableHeader.js +22 -0
- package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
- package/build/components/TableHeader/TableModeButton.js +11 -0
- package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/CreateViewDialog.js +91 -0
- package/build/components/TableHeader/TableView/CustomViews.js +21 -0
- package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
- package/build/components/TableHeader/TableView/TableView.js +54 -0
- package/build/components/TableHeader/TableView/ViewsDropdown.js +153 -0
- package/build/components/TableHeader/TableView/ViewsMenu.js +36 -0
- package/build/components/TableHeader/TableView/components/ColumnList.js +73 -0
- package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +71 -0
- package/build/components/TableHeader/TableView/components/index.js +2 -0
- package/build/components/TableHeader/TableView/constants.js +39 -0
- package/build/components/TableHeader/TableView/hooks/index.js +10 -0
- package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +92 -0
- package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +105 -0
- package/build/components/TableHeader/TableView/hooks/useDialogPosition.js +16 -0
- package/build/components/TableHeader/TableView/hooks/useNestedSubmenu.js +27 -0
- package/build/components/TableHeader/TableView/hooks/useOriginalColumns.js +18 -0
- package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
- package/build/components/TableHeader/TableView/hooks/useSubmenuHover.js +42 -0
- package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
- package/build/components/TableHeader/TableView/hooks/useViewsManager.js +37 -0
- package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +162 -0
- package/build/components/TableHeader/TableView/index.js +10 -0
- package/build/components/TableHeader/TableView/styles.js +427 -0
- package/build/components/TableHeader/TableView/types.js +1 -0
- package/build/components/TableHeader/TableView/utils/columnState.js +187 -0
- package/build/components/TableHeader/TableView/utils/customTableViews.js +30 -0
- package/build/components/TableHeader/TableView/utils/index.js +6 -0
- package/build/components/TableHeader/TableView/utils/layoutTransform.js +71 -0
- package/build/components/TableHeader/TableView/utils/templateState.js +27 -0
- package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +153 -0
- package/build/components/TableHeader/TableView/utils/viewMenu.js +90 -0
- package/build/components/TableHeader/data.js +7 -0
- package/build/components/TableHeader/index.js +9 -1
- package/build/components/TableHeader/style.js +43 -0
- package/build/components/TableHeader/type.js +1 -0
- package/build/components/TableReports/DownloadIconButton.js +20 -0
- package/build/components/TableReports/Downloads.js +24 -0
- package/build/components/TableReports/RecordLoading.js +6 -0
- package/build/components/TableReports/TableReports.js +53 -0
- package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
- package/build/components/TableReports/components/DownloadButton/index.js +2 -0
- package/build/components/TableReports/components/DownloadButton/style.js +15 -0
- package/build/components/TableReports/hooks/index.js +1 -0
- package/build/components/TableReports/hooks/useDownloadReport.js +59 -0
- package/build/components/TableReports/index.js +7 -1
- package/build/components/TableReports/style.js +163 -0
- package/build/components/TableReports/type.js +1 -0
- package/build/components/TableReports/utils.js +32 -0
- package/build/components/TableView/CustomViews.js +80 -0
- package/build/components/TableView/DefaultViews.js +22 -0
- package/build/components/TableView/TableView.js +56 -0
- package/build/components/TableView/data.js +7 -0
- package/build/components/TableView/index.js +3 -1
- package/build/components/TableView/style.js +102 -0
- package/build/components/TapLogo/TapLogo.js +6 -0
- package/build/components/TapLogo/index.js +2 -1
- package/build/components/Text/Text.js +9 -0
- package/build/components/Text/index.js +2 -1
- package/build/components/Timepicker/Timepicker.js +87 -0
- package/build/components/Timepicker/constant.js +3 -0
- package/build/components/Timepicker/index.js +5 -1
- package/build/components/Timepicker/style.js +45 -0
- package/build/components/Timepicker/utils.js +28 -0
- package/build/components/Toaster/Toaster.js +12 -0
- package/build/components/Toaster/index.js +2 -1
- package/build/components/Toaster/style.js +15 -0
- package/build/components/ToggleButtons/ToggleButtons.js +6 -0
- package/build/components/ToggleButtons/index.js +3 -1
- package/build/components/ToggleButtons/style.js +25 -0
- package/build/components/ToggleButtons/type.js +1 -0
- package/build/components/ToggleView/ToggleView.js +32 -0
- package/build/components/ToggleView/ToggleWrapper.js +8 -0
- package/build/components/ToggleView/index.js +3 -1
- package/build/components/ToggleView/style.js +31 -0
- package/build/components/ToggleView/types.js +6 -0
- package/build/components/Toolbar/Toolbar.js +20 -0
- package/build/components/Toolbar/index.js +4 -1
- package/build/components/Toolbar/style.js +98 -0
- package/build/components/Toolbar/type.js +1 -0
- package/build/components/ToolbarIcon/CloseIcon/CloseIcon.js +6 -0
- package/build/components/ToolbarIcon/CloseIcon/index.js +1 -0
- package/build/components/ToolbarIcon/CloseIcon/style.js +7 -0
- package/build/components/ToolbarIcon/ExpandButton/ExpandButton.js +21 -0
- package/build/components/ToolbarIcon/ExpandButton/index.js +1 -0
- package/build/components/ToolbarIcon/ExpandButton/style.js +31 -0
- package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.js +18 -0
- package/build/components/ToolbarIcon/MaximizeIcon/index.js +1 -0
- package/build/components/ToolbarIcon/MaximizeIcon/style.js +7 -0
- package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.js +6 -0
- package/build/components/ToolbarIcon/MinimizeIcon/index.js +1 -0
- package/build/components/ToolbarIcon/MinimizeIcon/style.js +7 -0
- package/build/components/ToolbarIcon/index.js +4 -1
- package/build/components/ToolbarIcon/style.js +20 -0
- package/build/components/Tooltip/Tooltip.js +21 -0
- package/build/components/Tooltip/index.js +2 -0
- package/build/components/Tooltip/styles.js +34 -0
- package/build/components/TooltipChip/TooltipChip.js +20 -0
- package/build/components/TooltipChip/index.js +1 -1
- package/build/components/TooltipChip/style.js +7 -0
- package/build/components/TreeDropdown/TreeDropdown.js +67 -0
- package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +17 -0
- package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +64 -0
- package/build/components/TreeDropdown/TreeNodeItem/index.js +2 -0
- package/build/components/TreeDropdown/TreeNodeItem/style.js +46 -0
- package/build/components/TreeDropdown/TreeNodeList/List.js +17 -0
- package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +36 -0
- package/build/components/TreeDropdown/TreeNodeList/index.js +2 -0
- package/build/components/TreeDropdown/TreeNodeList/style.js +60 -0
- package/build/components/TreeDropdown/context/TreeDropdownProvider.js +13 -0
- package/build/components/TreeDropdown/hooks/useSearch.js +38 -0
- package/build/components/TreeDropdown/hooks/useTreeDropdown.js +10 -0
- package/build/components/TreeDropdown/index.js +4 -1
- package/build/components/TreeDropdown/style.js +43 -0
- package/build/components/TreeDropdown/type.js +6 -0
- package/build/components/TreeDropdown/utils.js +161 -0
- package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
- package/build/components/VAT/TotalVAT/index.js +1 -0
- package/build/components/VAT/TotalVAT/style.js +5 -0
- package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
- package/build/components/VAT/VATDropdown/index.js +1 -0
- package/build/components/VAT/VATDropdown/style.js +32 -0
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
- package/build/components/VAT/VATRateDropdown/index.js +1 -0
- package/build/components/VAT/VATRateDropdown/style.js +30 -0
- package/build/components/VAT/index.js +4 -1
- package/build/components/VAT/utils.js +8 -0
- package/build/components/VerificationIcon/VerificationIcon.js +7 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
- package/build/components/VerificationIcon/constant.js +18 -0
- package/build/components/VerificationIcon/index.js +3 -1
- package/build/components/VerificationIcon/type.js +1 -0
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/style.js +20 -0
- package/build/components/ViewColumnRadioFilter/type.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +141 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +21 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +19 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +13 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +24 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +12 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +62 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +56 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js +32 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.js +45 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +37 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +9 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +7 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +73 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumnsWidths.js +15 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useSynchronizedScroll.js +30 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +41 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +65 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +57 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/index.js +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/style.js +110 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/types.js +1 -0
- package/build/components/VirtualTables/VirtualTable/VirtualTable.js +113 -0
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +89 -0
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +46 -0
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +51 -0
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/index.js +2 -0
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.js +47 -0
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +61 -0
- package/build/components/VirtualTables/components/ColumnFilter/List/index.js +2 -0
- package/build/components/VirtualTables/components/ColumnFilter/index.js +5 -0
- package/build/components/VirtualTables/components/ColumnFilter/style.js +50 -0
- package/build/components/VirtualTables/components/ColumnFilter/type.js +1 -0
- package/build/components/VirtualTables/components/ColumnSort/ColumnSort.js +41 -0
- package/build/components/VirtualTables/components/ColumnSort/index.js +2 -0
- package/build/components/VirtualTables/components/ColumnSort/style.js +10 -0
- package/build/components/VirtualTables/components/EmptyList/EmptyList.js +23 -0
- package/build/components/VirtualTables/components/EmptyList/index.js +3 -0
- package/build/components/VirtualTables/components/EmptyList/styles.js +39 -0
- package/build/components/VirtualTables/components/ErrorList/ErrorList.js +23 -0
- package/build/components/VirtualTables/components/ErrorList/index.js +2 -0
- package/build/components/VirtualTables/components/ErrorList/styles.js +72 -0
- package/build/components/VirtualTables/components/RowErrorState.js +21 -0
- package/build/components/VirtualTables/components/TableError.js +22 -0
- package/build/components/VirtualTables/components/TableFooter/TableFooter.js +22 -0
- package/build/components/VirtualTables/components/TableFooter/index.js +2 -0
- package/build/components/VirtualTables/components/TableFooter/style.js +53 -0
- package/build/components/VirtualTables/components/TableHeader/TableHeader.js +10 -0
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +16 -0
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +2 -0
- package/build/components/VirtualTables/components/TableHeader/components/index.js +1 -0
- package/build/components/VirtualTables/components/TableHeader/constant.js +6 -0
- package/build/components/VirtualTables/components/TableHeader/index.js +3 -0
- package/build/components/VirtualTables/components/TableHeader/style.js +23 -0
- package/build/components/VirtualTables/components/TableHeader/type.js +1 -0
- package/build/components/VirtualTables/components/TableLastItem.js +39 -0
- package/build/components/VirtualTables/components/TableLoading.js +19 -0
- package/build/components/VirtualTables/components/TableLoadingWithCard.js +19 -0
- package/build/components/VirtualTables/components/TableNoData.js +13 -0
- package/build/components/VirtualTables/components/TableNoDataWithCard.js +29 -0
- package/build/components/VirtualTables/components/TableRow.js +93 -0
- package/build/components/VirtualTables/components/TableRowLoading.js +21 -0
- package/build/components/VirtualTables/components/TableRowLoadingWithCard.js +14 -0
- package/build/components/VirtualTables/components/TableRowWithCard.js +9 -0
- package/build/components/VirtualTables/components/index.js +18 -0
- package/build/components/VirtualTables/components/style.js +180 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +112 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +28 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollInner.js +20 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +79 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollOuter.js +21 -0
- package/build/components/VirtualTables/components/virtualScroll/index.js +5 -0
- package/build/components/VirtualTables/context/Provider.js +3 -0
- package/build/components/VirtualTables/context/context.js +2 -0
- package/build/components/VirtualTables/context/index.js +2 -0
- package/build/components/VirtualTables/hooks/index.js +1 -0
- package/build/components/VirtualTables/hooks/useColumnFilter.js +22 -0
- package/build/components/VirtualTables/hooks/useScrollBackShadow.js +26 -0
- package/build/components/VirtualTables/index.js +7 -1
- package/build/components/Widget/List.js +23 -0
- package/build/components/Widget/ListItem.js +19 -0
- package/build/components/Widget/Widget.js +19 -0
- package/build/components/Widget/WidgetHeader.js +19 -0
- package/build/components/Widget/index.js +6 -1
- package/build/components/Widget/style.js +71 -0
- package/build/components/Widget/useScrollWithShadow.js +14 -0
- package/build/components/Window/Window.js +43 -0
- package/build/components/Window/index.js +2 -1
- package/build/components/Window/style.js +47 -0
- package/build/components/WindowAppIcon/WindowAppIcon.js +17 -0
- package/build/components/WindowAppIcon/index.js +2 -0
- package/build/components/WindowAppIcon/style.js +25 -0
- package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/WindowSideBar.js +11 -0
- package/build/components/WindowSideBar/constant.js +1 -0
- package/build/components/WindowSideBar/index.js +4 -1
- package/build/components/WindowSideBar/style.js +33 -0
- package/build/components/WindowSideBar/type.js +1 -0
- package/build/components/index.js +159 -1
- package/build/constants/api.js +57 -0
- package/build/constants/apps.js +495 -0
- package/build/constants/assets.js +621 -0
- package/build/constants/authentication.js +23 -0
- package/build/constants/charge.js +1 -0
- package/build/constants/chips/index.js +1 -0
- package/build/constants/chips/statusChips.js +5 -0
- package/build/constants/country.js +1 -0
- package/build/constants/currency.js +22 -0
- package/build/constants/document.js +5 -0
- package/build/constants/index.js +21 -1
- package/build/constants/payment.js +53 -0
- package/build/constants/rate.js +6 -0
- package/build/constants/reports.js +119 -0
- package/build/constants/segment.js +12 -0
- package/build/constants/server.js +6 -0
- package/build/constants/servicesTags.js +53 -0
- package/build/constants/style.js +3 -0
- package/build/constants/svgIcons.js +3 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.js +132 -0
- package/build/constants/table/cell/authorizationTableCellWidth.js +247 -0
- package/build/constants/table/cell/chargeTableCellWidth.js +297 -0
- package/build/constants/table/cell/destinationsTableCellWidth.js +197 -0
- package/build/constants/table/cell/index.js +20 -0
- package/build/constants/table/cell/intentsTableCellWidth.js +32 -0
- package/build/constants/table/cell/invoicesTableCellWidth.js +107 -0
- package/build/constants/table/cell/leadsTableCellWidth.js +37 -0
- package/build/constants/table/cell/merchantsTableCellWidth.js +152 -0
- package/build/constants/table/cell/ordersTableCellWidth.js +57 -0
- package/build/constants/table/cell/payoutsTableCellWidth.js +57 -0
- package/build/constants/table/cell/protectAuthorizationsTableCellWidth.js +72 -0
- package/build/constants/table/cell/protectChargesTableCellWidth.js +67 -0
- package/build/constants/table/cell/refundTableCellWidth.js +237 -0
- package/build/constants/table/cell/terminalsTableCellWidth.js +72 -0
- package/build/constants/table/cell/tokensTableCellWidth.js +47 -0
- package/build/constants/table/cell/topupsTableCellWidth.js +57 -0
- package/build/constants/table/cell/walletDetailsTableCellWidth.js +32 -0
- package/build/constants/table/cell/walletStatementTableCellWidth.js +62 -0
- package/build/constants/table/cell/walletTableCellWidth.js +32 -0
- package/build/constants/table.js +8 -0
- package/build/constants/timezones.js +47 -0
- package/build/constants/toggleOptions.js +8 -0
- package/build/hooks/index.js +17 -1
- package/build/hooks/useActionMenu.js +45 -0
- package/build/hooks/useAppEventListener.js +13 -0
- package/build/hooks/useAppEventPublisher.js +7 -0
- package/build/hooks/useAppsInfo.js +21 -0
- package/build/hooks/useBadgesCount.js +15 -0
- package/build/hooks/useCheckUserLoggedIn.js +11 -0
- package/build/hooks/useCountdown.js +50 -0
- package/build/hooks/useDelayToSetValue.js +19 -0
- package/build/hooks/useIsParameterSelected.js +13 -0
- package/build/hooks/useMouseState.js +25 -0
- package/build/hooks/useNetworkState.js +112 -0
- package/build/hooks/useScrolledTo.js +45 -0
- package/build/hooks/useSelectedMerchantDetails.js +15 -0
- package/build/hooks/useStickyHeaderShadow.js +20 -0
- package/build/hooks/useThemeMode.js +8 -0
- package/build/hooks/useToast.js +29 -0
- package/build/hooks/useWindowDimensions.js +21 -0
- package/build/index.js +6 -1
- package/build/theme/components.js +22 -0
- package/build/theme/index.js +5 -1
- package/build/theme/palette.js +106 -0
- package/build/theme/shadows.js +27 -0
- package/build/theme/theme.js +15 -0
- package/build/theme/typography.js +33 -0
- package/build/types/account.js +8 -0
- package/build/types/analytics.js +11 -0
- package/build/types/api.js +1 -0
- package/build/types/appConfig.js +1 -0
- package/build/types/appEvents.js +16 -0
- package/build/types/apps.js +1 -0
- package/build/types/authentication.js +1 -0
- package/build/types/brand.js +13 -0
- package/build/types/cell.js +1 -0
- package/build/types/charge.js +1 -0
- package/build/types/column.js +1 -0
- package/build/types/common.js +1 -0
- package/build/types/currency.js +13 -0
- package/build/types/day.js +1 -0
- package/build/types/destination.js +1 -0
- package/build/types/discount.js +6 -0
- package/build/types/document.js +1 -0
- package/build/types/entity.js +1 -0
- package/build/types/error.js +1 -0
- package/build/types/file.js +1 -0
- package/build/types/filter.js +6 -0
- package/build/types/flag.js +1 -0
- package/build/types/index.js +38 -1
- package/build/types/invoice.js +13 -0
- package/build/types/merchant.js +1 -0
- package/build/types/receipt.js +1 -0
- package/build/types/redux.js +1 -0
- package/build/types/refund.js +1 -0
- package/build/types/reports.js +7 -0
- package/build/types/segment.js +16 -0
- package/build/types/sort.js +1 -0
- package/build/types/table.js +1 -0
- package/build/types/theme.js +10 -0
- package/build/types/toast.js +1 -0
- package/build/types/toggleOptions.js +1 -0
- package/build/types/tsUtils.js +1 -0
- package/build/types/user.js +1 -0
- package/build/types/utilities.js +1 -0
- package/build/types/window.js +1 -0
- package/build/utils/api.js +96 -0
- package/build/utils/app.js +7 -0
- package/build/utils/array.js +20 -0
- package/build/utils/billing.js +33 -0
- package/build/utils/boolean.js +7 -0
- package/build/utils/browser.js +25 -0
- package/build/utils/card.js +15 -0
- package/build/utils/chargeError.js +10 -0
- package/build/utils/color.js +65 -0
- package/build/utils/columnResizeStorage.js +96 -0
- package/build/utils/columns.js +81 -0
- package/build/utils/conversion.js +27 -0
- package/build/utils/country.js +14 -0
- package/build/utils/currency.js +91 -0
- package/build/utils/date.js +287 -0
- package/build/utils/day.js +9 -0
- package/build/utils/download.js +24 -0
- package/build/utils/encrypt.js +46 -0
- package/build/utils/entity.js +13 -0
- package/build/utils/error.js +71 -0
- package/build/utils/extractIdsFromRowData.js +22 -0
- package/build/utils/file.js +16 -0
- package/build/utils/flag.js +13 -0
- package/build/utils/freshdesk.js +56 -0
- package/build/utils/geography.js +10 -0
- package/build/utils/index.js +48 -1
- package/build/utils/language.js +14 -0
- package/build/utils/localStorage.js +213 -0
- package/build/utils/merchant.js +24 -0
- package/build/utils/merchantSource.js +36 -0
- package/build/utils/navigation.js +11 -0
- package/build/utils/number.js +38 -0
- package/build/utils/object.js +15 -0
- package/build/utils/payout.js +172 -0
- package/build/utils/phone.js +8 -0
- package/build/utils/reports.js +3 -0
- package/build/utils/segment.js +63 -0
- package/build/utils/skeletonColumns.js +55 -0
- package/build/utils/source.js +9 -0
- package/build/utils/string.js +73 -0
- package/build/utils/style.js +95 -0
- package/build/utils/table.js +230 -0
- package/build/utils/timezone.js +3 -0
- package/build/utils/toggleOptions.js +10 -0
- package/build/utils/url.js +20 -0
- package/build/utils/user.js +7 -0
- package/build/utils/validation.js +3 -0
- package/package.json +18 -15
- package/build/chunk-23C4BLEJ.js +0 -1
- package/build/chunk-24UTRGGG.js +0 -2
- package/build/chunk-24XGEJR2.js +0 -1
- package/build/chunk-2FDPAJY4.js +0 -1
- package/build/chunk-2LMLVUW4.js +0 -1
- package/build/chunk-2Q6H6K3P.js +0 -1
- package/build/chunk-2T2Z5RPJ.js +0 -1
- package/build/chunk-34II3WB7.js +0 -1
- package/build/chunk-3A4B5D6T.js +0 -1
- package/build/chunk-3ABTBVXY.js +0 -1
- package/build/chunk-3EU4NGZ7.js +0 -1
- package/build/chunk-4A6Z3DYW.js +0 -1
- package/build/chunk-4O4EFXIC.js +0 -1
- package/build/chunk-544TDVOA.js +0 -1
- package/build/chunk-5AIEKGEA.js +0 -1
- package/build/chunk-5QGYWOQI.js +0 -1
- package/build/chunk-5ZTIXOFI.js +0 -1
- package/build/chunk-62CGUEB4.js +0 -1
- package/build/chunk-66JBLKME.js +0 -1
- package/build/chunk-6DLPM4RB.js +0 -1
- package/build/chunk-6ZPCHYOF.js +0 -1
- package/build/chunk-7A7PBYFB.js +0 -1
- package/build/chunk-7IW25XZP.js +0 -1
- package/build/chunk-7NYF2UBV.js +0 -1
- package/build/chunk-A5FGRP2T.js +0 -1
- package/build/chunk-ABDRIOU6.js +0 -2
- package/build/chunk-AMMCJJFH.js +0 -1
- package/build/chunk-ARHJB5QJ.js +0 -1
- package/build/chunk-AUM6AR3E.js +0 -1
- package/build/chunk-B4QKXIT7.js +0 -1
- package/build/chunk-BFGMD3VQ.js +0 -1
- package/build/chunk-BNUBHZV7.js +0 -1
- package/build/chunk-BTANFCN2.js +0 -1
- package/build/chunk-BV5VAMBI.js +0 -1
- package/build/chunk-CQT4MCPB.js +0 -1
- package/build/chunk-CTBYQDKG.js +0 -1
- package/build/chunk-D4S6DH7W.js +0 -1
- package/build/chunk-D5EB3ZRT.js +0 -1
- package/build/chunk-DJYRLVOD.js +0 -1
- package/build/chunk-DQ76BKNS.js +0 -1
- package/build/chunk-DQLGJFLX.js +0 -2
- package/build/chunk-DYWKQE3E.js +0 -1
- package/build/chunk-E6XVMA37.js +0 -1
- package/build/chunk-EAUWAY4T.js +0 -1
- package/build/chunk-EDMW226P.js +0 -1
- package/build/chunk-F4KVGV4T.js +0 -1
- package/build/chunk-FAYAV46R.js +0 -1
- package/build/chunk-FL7ZDVP7.js +0 -1
- package/build/chunk-FQXBL3YF.js +0 -1
- package/build/chunk-G6N4V3PP.js +0 -1
- package/build/chunk-GF7D4WGP.js +0 -1
- package/build/chunk-GI3U6XGW.js +0 -1
- package/build/chunk-GMRNI4U5.js +0 -1
- package/build/chunk-GPFU7WD4.js +0 -1
- package/build/chunk-HBY2XKKF.js +0 -1
- package/build/chunk-HRHKLBHG.js +0 -1
- package/build/chunk-IBPFWRCW.js +0 -1
- package/build/chunk-IXQ7Y6Y5.js +0 -1
- package/build/chunk-J72TLM2F.js +0 -1
- package/build/chunk-JQYBCTVW.js +0 -1
- package/build/chunk-JT54SXJ7.js +0 -1
- package/build/chunk-JWC3XDE4.js +0 -1
- package/build/chunk-JYJ3D2X6.js +0 -1
- package/build/chunk-KGQT7R3W.js +0 -1
- package/build/chunk-KM4UT2GM.js +0 -1
- package/build/chunk-L3M6OM4B.js +0 -1
- package/build/chunk-LDIEOZVR.js +0 -1
- package/build/chunk-LDZG7EXA.js +0 -1
- package/build/chunk-LLPG2AC6.js +0 -3
- package/build/chunk-LMKY6Q27.js +0 -1
- package/build/chunk-LOJTJZSX.js +0 -1
- package/build/chunk-LONKQ3XM.js +0 -1
- package/build/chunk-M7YGOEQF.js +0 -1
- package/build/chunk-MTJECG6U.js +0 -1
- package/build/chunk-MYFLXP7G.js +0 -1
- package/build/chunk-NLAQMZT4.js +0 -1
- package/build/chunk-NLEKLEHC.js +0 -2
- package/build/chunk-NLOKMDQY.js +0 -1
- package/build/chunk-NLPYBEGY.js +0 -1
- package/build/chunk-NQVCWKMH.js +0 -1
- package/build/chunk-OFBKWUDT.js +0 -1
- package/build/chunk-OJJ2Q5XK.js +0 -1
- package/build/chunk-OLPNHTE7.js +0 -1
- package/build/chunk-OYEIM6ED.js +0 -2
- package/build/chunk-P6K4PD7Y.js +0 -1
- package/build/chunk-PX7SYRBV.js +0 -1
- package/build/chunk-QF32XNU6.js +0 -1
- package/build/chunk-QFMHEDCR.js +0 -1
- package/build/chunk-QGXXI4EO.js +0 -1
- package/build/chunk-RQ2V5JZH.js +0 -1
- package/build/chunk-RUU3IQ7Y.js +0 -1
- package/build/chunk-RWXGVZUC.js +0 -1
- package/build/chunk-S2BQCMBY.js +0 -1
- package/build/chunk-SZBR7LB3.js +0 -1
- package/build/chunk-T3BFBXVJ.js +0 -1
- package/build/chunk-TG2IA55S.js +0 -1
- package/build/chunk-TUTEF6YD.js +0 -1
- package/build/chunk-TZAF2TGI.js +0 -1
- package/build/chunk-UB5L7C6S.js +0 -1
- package/build/chunk-UEMTPYYH.js +0 -1
- package/build/chunk-UF4FBI5V.js +0 -1
- package/build/chunk-V44MUKYW.js +0 -1
- package/build/chunk-V5OHALLD.js +0 -1
- package/build/chunk-VJLQXTHX.js +0 -1
- package/build/chunk-VNK7I7AL.js +0 -1
- package/build/chunk-WGCHJPEZ.js +0 -1
- package/build/chunk-WGPV3VEK.js +0 -4
- package/build/chunk-WHWKA4SY.js +0 -1
- package/build/chunk-WX7HFBCU.js +0 -1
- package/build/chunk-X5KEG2KP.js +0 -1
- package/build/chunk-XQVSYDRO.js +0 -1
- package/build/chunk-XRTET45W.js +0 -1
- package/build/chunk-XUDGW7IY.js +0 -1
- package/build/chunk-XXZJ5D5P.js +0 -1
- package/build/chunk-XY57JRPE.js +0 -1
- package/build/chunk-XZORYOIS.js +0 -16
- package/build/chunk-YLE4Q6WH.js +0 -1
- package/build/chunk-YTBVTQNQ.js +0 -1
- package/build/chunk-YVHYNRRL.js +0 -1
- package/build/chunk-ZCSUNBRA.js +0 -1
- package/build/chunk-ZLWJCX4K.js +0 -1
- package/build/chunk-ZMTLSAZW.js +0 -1
- package/build/chunk-ZN4NGPK4.js +0 -2
- package/build/chunk-ZTHZGDV6.js +0 -1
- package/build/chunk-ZUBHIDDI.js +0 -1
- package/build/chunk-ZWJTEKFP.js +0 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Box, Button } from '@mui/material';
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
|
+
export { statusButtonVariants, ChevronContainer, Label, LabelWrapper, StyledDropdown } from '../StatusButton/style';
|
|
4
|
+
const baseButtonStyle = (theme) => (Object.assign(Object.assign({}, theme.typography.subtitle1), { borderRadius: '50px', borderWidth: '1px', borderStyle: 'solid', minWidth: '135.11px', height: '32px', display: 'flex', justifyContent: 'center', alignItems: 'center', gap: '8px', textTransform: 'none', transition: 'background-color 0.5s ease, color 0.3s ease', paddingInline: theme.spacing(2) }));
|
|
5
|
+
export const StyledStatusButton = styled(Button, {
|
|
6
|
+
shouldForwardProp: (prop) => prop !== 'buttonVariant',
|
|
7
|
+
})(({ theme, buttonVariant }) => (Object.assign(Object.assign({}, baseButtonStyle(theme)), (buttonVariant === 'active'
|
|
8
|
+
? {
|
|
9
|
+
background: theme.palette.background.gradient.shadedBlue,
|
|
10
|
+
color: theme.palette.common.white,
|
|
11
|
+
'&:disabled': {
|
|
12
|
+
color: theme.palette.common.white,
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
: {
|
|
16
|
+
backgroundColor: theme.palette.common.white,
|
|
17
|
+
borderColor: theme.palette.grey[100],
|
|
18
|
+
color: theme.palette.text.primary,
|
|
19
|
+
'&:hover': {
|
|
20
|
+
backgroundColor: 'white',
|
|
21
|
+
},
|
|
22
|
+
'&:disabled': {
|
|
23
|
+
color: theme.palette.text.primary,
|
|
24
|
+
},
|
|
25
|
+
}))));
|
|
26
|
+
export const FlagContainer = styled(Box)(({ theme }) => ({
|
|
27
|
+
display: 'flex',
|
|
28
|
+
alignItems: 'center',
|
|
29
|
+
gap: theme.spacing(0.5),
|
|
30
|
+
}));
|
|
31
|
+
export const MenuItemContainer = styled(Box)(({ theme }) => ({
|
|
32
|
+
display: 'flex',
|
|
33
|
+
alignItems: 'center',
|
|
34
|
+
gap: theme.spacing(0.3),
|
|
35
|
+
width: '100%',
|
|
36
|
+
}));
|
|
37
|
+
export const CheckboxStyles = {
|
|
38
|
+
padding: 0.3,
|
|
39
|
+
color: '#8C9196',
|
|
40
|
+
'&.Mui-checked': {
|
|
41
|
+
color: '#1F88D0',
|
|
42
|
+
},
|
|
43
|
+
'&.MuiCheckbox-root': {
|
|
44
|
+
color: '#8C9196',
|
|
45
|
+
},
|
|
46
|
+
'& .MuiSvgIcon-root': {
|
|
47
|
+
color: 'inherit',
|
|
48
|
+
},
|
|
49
|
+
'&.Mui-checked .MuiSvgIcon-root': {
|
|
50
|
+
color: '#1F88D0',
|
|
51
|
+
'& path': {
|
|
52
|
+
fill: '#1F88D0',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
export const ClearIcon = styled('img')(({ variant }) => ({
|
|
57
|
+
width: '10px',
|
|
58
|
+
height: '10px',
|
|
59
|
+
filter: variant === 'active' ? 'brightness(0) invert(1)' : 'brightness(0) invert(0)',
|
|
60
|
+
cursor: 'pointer',
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
top: '50%',
|
|
63
|
+
left: '47%',
|
|
64
|
+
transform: 'translate(-50%, -50%)',
|
|
65
|
+
transition: 'opacity 0.2s ease-in-out',
|
|
66
|
+
}));
|
|
67
|
+
export const ChevronIconWrapper = styled(Box, {
|
|
68
|
+
shouldForwardProp: (prop) => prop !== 'isVisible',
|
|
69
|
+
})(({ isVisible }) => ({
|
|
70
|
+
opacity: isVisible ? 1 : 0,
|
|
71
|
+
transition: 'opacity 0.2s ease-in-out',
|
|
72
|
+
display: 'flex',
|
|
73
|
+
alignItems: 'center',
|
|
74
|
+
justifyContent: 'center',
|
|
75
|
+
width: '100%',
|
|
76
|
+
height: '100%',
|
|
77
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { Box } from '@mui/material';
|
|
4
|
+
import { rightArrow } from '../../constants/index.js';
|
|
5
|
+
import MenuItem from '../MenuItem';
|
|
6
|
+
import Menu from '../Menu';
|
|
7
|
+
export function ChildMenuItem({ childOption, selectedOptions, onChangeOptions, }) {
|
|
8
|
+
var _a;
|
|
9
|
+
const [childMenuEl, setChildMenuEl] = useState(null);
|
|
10
|
+
const addOption = (option) => {
|
|
11
|
+
onChangeOptions([...(selectedOptions || []), option]);
|
|
12
|
+
};
|
|
13
|
+
const removeOption = (option) => {
|
|
14
|
+
onChangeOptions((selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.filter((o) => o.value !== option.value)) || []);
|
|
15
|
+
};
|
|
16
|
+
return (_jsxs(MenuItem, Object.assign({ onMouseEnter: (e) => {
|
|
17
|
+
var _a;
|
|
18
|
+
if (((_a = childOption.options) === null || _a === void 0 ? void 0 : _a.length) > 0)
|
|
19
|
+
setChildMenuEl(e.currentTarget);
|
|
20
|
+
}, onMouseLeave: () => {
|
|
21
|
+
if (childMenuEl)
|
|
22
|
+
setChildMenuEl(null);
|
|
23
|
+
} }, { children: [_jsxs(Box, Object.assign({ sx: {
|
|
24
|
+
display: 'flex',
|
|
25
|
+
gap: '12px',
|
|
26
|
+
justifyContent: 'space-between',
|
|
27
|
+
flexGrow: 1,
|
|
28
|
+
alignItems: 'center',
|
|
29
|
+
maxWidth: '220px',
|
|
30
|
+
minWidth: '89px',
|
|
31
|
+
} }, { children: [childOption.label, _jsx("img", { src: rightArrow, className: "arrow-icon", alt: "arrow" })] })), _jsx(Menu, Object.assign({ sx: { maxHeight: '450px', overflow: 'auto' }, open: Boolean(childMenuEl), anchorEl: childMenuEl, placement: "right-start" }, { children: (_a = childOption.options) === null || _a === void 0 ? void 0 : _a.map((option) => {
|
|
32
|
+
const selectedOption = selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.find((o) => o.value === option.value);
|
|
33
|
+
const isSelected = !!selectedOption;
|
|
34
|
+
return (_jsx(MenuItem, Object.assign({ isSelected: isSelected, onClick: (e) => {
|
|
35
|
+
e.stopPropagation();
|
|
36
|
+
e.preventDefault();
|
|
37
|
+
if (isSelected) {
|
|
38
|
+
removeOption(option);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
addOption(option);
|
|
42
|
+
}
|
|
43
|
+
} }, { children: _jsx(Box, Object.assign({ sx: { flex: 1, maxWidth: '220px', minWidth: '89px' } }, { children: option.label })) }), option.value));
|
|
44
|
+
}) }))] })));
|
|
45
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React, { useState, useMemo, useRef } from 'react';
|
|
3
|
+
import { CircularProgress, Typography } from '@mui/material';
|
|
4
|
+
import { searchIcon, closeXIcon, blueCheckIcon, downArrowIcon } from '../../constants/index.js';
|
|
5
|
+
import Icon from '../Icon';
|
|
6
|
+
import ClickAwayListener from '@mui/material/ClickAwayListener';
|
|
7
|
+
import { SelectedBadgesWrapper, SelectedBadge, TriggerWrapper, Container, InputStyled, ArrowIcon } from './style';
|
|
8
|
+
import { filterOptions } from './utils';
|
|
9
|
+
import Menu from '../Menu';
|
|
10
|
+
import { ParentMenuItem } from './ParentMenuItem';
|
|
11
|
+
function MultiSelectWithSearch({ nestedOptions, onChangeOptions, selectedOptions, placeholder, isLoading, searchBy = ['label'], disabled, }) {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
14
|
+
const [searchValue, setSearchValue] = useState('');
|
|
15
|
+
const triggerRef = useRef(null);
|
|
16
|
+
const open = Boolean(anchorEl);
|
|
17
|
+
const openDropdown = (e) => {
|
|
18
|
+
setAnchorEl(open ? null : e.currentTarget);
|
|
19
|
+
};
|
|
20
|
+
const closeDropdown = () => {
|
|
21
|
+
setAnchorEl(null);
|
|
22
|
+
};
|
|
23
|
+
const onResetSearch = () => {
|
|
24
|
+
if (searchValue)
|
|
25
|
+
setSearchValue('');
|
|
26
|
+
};
|
|
27
|
+
const filteredOptions = useMemo(() => {
|
|
28
|
+
if (!searchValue)
|
|
29
|
+
return nestedOptions;
|
|
30
|
+
return filterOptions(nestedOptions, searchValue, searchBy);
|
|
31
|
+
}, [nestedOptions, searchValue, searchBy]);
|
|
32
|
+
const endAdornment = isLoading ? (_jsx(CircularProgress, { size: 16 })) : (_jsx(Icon, { src: searchValue ? closeXIcon : searchIcon, alt: searchValue ? 'close' : 'search', onClick: onResetSearch, sx: { width: 12, height: 12 } }));
|
|
33
|
+
const selectedOptionsLength = Number((_a = selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) !== null && _a !== void 0 ? _a : 0);
|
|
34
|
+
return (_jsx(ClickAwayListener, Object.assign({ onClickAway: () => {
|
|
35
|
+
if (open)
|
|
36
|
+
closeDropdown();
|
|
37
|
+
} }, { children: _jsxs(TriggerWrapper, Object.assign({ id: "TriggerWrapper", onClick: (e) => !disabled && openDropdown(e), ref: triggerRef }, { children: [_jsx(Typography, Object.assign({ color: "grey", sx: { cursor: 'pointer', fontSize: '10px', padding: '4px' }, component: "label" }, { children: placeholder })), selectedOptionsLength === 0 && (_jsx(Typography, Object.assign({ sx: { fontWeight: 500, fontSize: '11px', padding: '0px 4px 4px' }, component: "p" }, { children: "Please Select" }))), _jsx(ArrowIcon, { component: "img", src: downArrowIcon, alt: "down arrow", sx: Object.assign({}, (open && { transform: 'rotate(180deg)' })) }), !!selectedOptionsLength && (_jsx(SelectedBadgesWrapper, Object.assign({ id: "SelectedBadgesWrapper" }, { children: selectedOptionsLength > 0 && selectedOptionsLength <= 2
|
|
38
|
+
? selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.map((option) => (_jsxs(SelectedBadge, Object.assign({ maxWidth: 90 }, { children: [_jsx(Icon, { src: blueCheckIcon, alt: "blue-check", sx: { width: 10, height: 7.5 } }), _jsx("span", { children: option.label })] }), option.value)))
|
|
39
|
+
: selectedOptionsLength > 2 &&
|
|
40
|
+
((_b = selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.slice(0, 2)) === null || _b === void 0 ? void 0 : _b.map((option, index) => {
|
|
41
|
+
return (_jsxs(React.Fragment, { children: [_jsxs(SelectedBadge, Object.assign({ maxWidth: 90 }, { children: [_jsx(Icon, { src: blueCheckIcon, alt: "blue-check", sx: { width: 10, height: 7.5 } }), _jsx("span", { children: option.label })] })), index === 1 && (_jsx(SelectedBadge, Object.assign({ maxWidth: 90 }, { children: _jsxs("span", { children: ["+", selectedOptionsLength - 2] }) })))] }, option.value));
|
|
42
|
+
})) }))), _jsx(Menu, Object.assign({ open: open, anchorEl: anchorEl, sx: { margin: '8px 0', maxHeight: 330, overflow: 'auto', maxWidth: '340px' } }, { children: _jsxs(Container, { children: [_jsx(InputStyled, { placeholder: placeholder || 'Select', endAdornment: endAdornment, onClick: (e) => {
|
|
43
|
+
e.stopPropagation();
|
|
44
|
+
}, value: searchValue, onChange: (e) => {
|
|
45
|
+
setSearchValue(e.target.value);
|
|
46
|
+
}, disableUnderline: true, sx: Object.assign(Object.assign({ cursor: 'default', width: '100%', backgroundColor: 'white', border: '1px solid #F2F2F2' }, (nestedOptions.length && { marginBottom: '4px' })), (searchValue && { cursor: 'pointer' })) }), _jsx(SelectedBadgesWrapper, { children: selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.map((option) => (_jsxs(SelectedBadge, Object.assign({ sx: { maxWidth: '150px' }, onClick: (e) => {
|
|
47
|
+
e.stopPropagation();
|
|
48
|
+
e.preventDefault();
|
|
49
|
+
onChangeOptions((selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.filter((o) => o.value !== option.value)) || []);
|
|
50
|
+
} }, { children: [_jsx(Icon, { src: blueCheckIcon, alt: "blue-check", sx: { width: 10, height: 7.5 } }), _jsx("span", Object.assign({ style: { overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' } }, { children: option.label })), _jsx(Icon, { src: closeXIcon, alt: "close", sx: { width: 9, height: 9 } })] }), option.value))) }), filteredOptions === null || filteredOptions === void 0 ? void 0 : filteredOptions.map((parentOption) => (_jsx(ParentMenuItem, { parentOption: parentOption, selectedOptions: selectedOptions, onChangeOptions: onChangeOptions }, parentOption.label)))] }) }))] })) })));
|
|
51
|
+
}
|
|
52
|
+
export default MultiSelectWithSearch;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { Box } from '@mui/material';
|
|
4
|
+
import { rightArrow } from '../../constants/index.js';
|
|
5
|
+
import MenuItem from '../MenuItem';
|
|
6
|
+
import Menu from '../Menu';
|
|
7
|
+
import { ChildMenuItem } from './ChildMenuItem';
|
|
8
|
+
export function ParentMenuItem({ parentOption, selectedOptions, onChangeOptions, }) {
|
|
9
|
+
var _a;
|
|
10
|
+
const [parentMenuEl, setParentMenuEl] = useState(null);
|
|
11
|
+
return (_jsxs(MenuItem, Object.assign({ onMouseEnter: (e) => {
|
|
12
|
+
var _a;
|
|
13
|
+
if (((_a = parentOption.options) === null || _a === void 0 ? void 0 : _a.length) > 0)
|
|
14
|
+
setParentMenuEl(e.currentTarget);
|
|
15
|
+
}, onMouseLeave: () => {
|
|
16
|
+
if (parentMenuEl)
|
|
17
|
+
setParentMenuEl(null);
|
|
18
|
+
} }, { children: [_jsxs(Box, Object.assign({ sx: {
|
|
19
|
+
display: 'flex',
|
|
20
|
+
gap: '12px',
|
|
21
|
+
justifyContent: 'space-between',
|
|
22
|
+
flexGrow: 1,
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
maxWidth: '340px',
|
|
25
|
+
minWidth: '89px',
|
|
26
|
+
} }, { children: [parentOption.label, _jsx("img", { src: rightArrow, className: "arrow-icon", alt: "arrow" })] })), _jsx(Menu, Object.assign({ sx: { maxHeight: '450px', overflow: 'auto' }, open: Boolean(parentMenuEl), anchorEl: parentMenuEl, placement: "right-start" }, { children: (_a = parentOption.options) === null || _a === void 0 ? void 0 : _a.map((childOption) => (_jsx(ChildMenuItem, { childOption: childOption, selectedOptions: selectedOptions, onChangeOptions: onChangeOptions }, childOption.label))) }))] })));
|
|
27
|
+
}
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import MultiSelectWithSearch from './MultiSelectWithSearch';
|
|
2
|
+
export * from './ChildMenuItem';
|
|
3
|
+
export * from './ParentMenuItem';
|
|
4
|
+
export default MultiSelectWithSearch;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import Box from '@mui/material/Box';
|
|
2
|
+
import Input from '@mui/material/Input';
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
|
+
import Text from '../Text';
|
|
5
|
+
import Checkbox from '../Checkbox';
|
|
6
|
+
export const Caption = styled(Text)(({ theme }) => ({
|
|
7
|
+
fontSize: '10px',
|
|
8
|
+
color: theme.palette.grey[700],
|
|
9
|
+
fontWeight: 600,
|
|
10
|
+
lineHeight: '10px',
|
|
11
|
+
}));
|
|
12
|
+
export const Title = styled(Text)(({ theme }) => ({
|
|
13
|
+
fontSize: '11px',
|
|
14
|
+
color: theme.palette.text.primary,
|
|
15
|
+
fontWeight: 600,
|
|
16
|
+
lineHeight: '14.3px',
|
|
17
|
+
width: 200,
|
|
18
|
+
}));
|
|
19
|
+
export const AccordionWrapper = styled(Box)(() => ({
|
|
20
|
+
display: 'flex',
|
|
21
|
+
flexDirection: 'column',
|
|
22
|
+
maxHeight: 400,
|
|
23
|
+
overflow: 'auto',
|
|
24
|
+
gap: '8px',
|
|
25
|
+
}));
|
|
26
|
+
export const InputStyled = styled(Input)(({ theme }) => ({
|
|
27
|
+
width: 'inherit',
|
|
28
|
+
height: 32,
|
|
29
|
+
padding: '11px 12px',
|
|
30
|
+
fontSize: '10px',
|
|
31
|
+
borderRadius: '5px',
|
|
32
|
+
backgroundColor: '#F9F9F9',
|
|
33
|
+
border: '1px solid transparent',
|
|
34
|
+
'&.Mui-focused': {
|
|
35
|
+
borderColor: theme.palette.info.dark,
|
|
36
|
+
},
|
|
37
|
+
}));
|
|
38
|
+
export const CheckboxStyled = styled(Checkbox)(() => ({
|
|
39
|
+
padding: 0,
|
|
40
|
+
width: 12,
|
|
41
|
+
height: 12,
|
|
42
|
+
'.MuiSvgIcon-root, img': {
|
|
43
|
+
width: 12,
|
|
44
|
+
height: 12,
|
|
45
|
+
},
|
|
46
|
+
}));
|
|
47
|
+
export const Container = styled(Box)(() => ({
|
|
48
|
+
display: 'flex',
|
|
49
|
+
flexDirection: 'column',
|
|
50
|
+
gap: '8px',
|
|
51
|
+
padding: '4px',
|
|
52
|
+
}));
|
|
53
|
+
export const SelectedBadgesWrapper = styled(Box)(() => ({
|
|
54
|
+
display: 'flex',
|
|
55
|
+
gap: '8px',
|
|
56
|
+
padding: '4px',
|
|
57
|
+
flexWrap: 'wrap',
|
|
58
|
+
paddingInlineEnd: '20px',
|
|
59
|
+
}));
|
|
60
|
+
export const SelectedBadge = styled(Box)(({ theme, maxWidth }) => (Object.assign({ display: 'flex', padding: '4px 8px 4px 6px', alignItems: 'center', gap: '4px', borderRadius: '13px', backgroundColor: `${theme.palette.info.dark}1a`, fontSize: '10px', fontWeight: 500, cursor: 'pointer' }, (maxWidth && {
|
|
61
|
+
maxWidth: `${maxWidth}%`,
|
|
62
|
+
}))));
|
|
63
|
+
export const ItemStyled = styled(Text)(({ theme }) => ({
|
|
64
|
+
display: 'flex',
|
|
65
|
+
gap: '8px',
|
|
66
|
+
alignItems: 'center',
|
|
67
|
+
fontSize: '10px',
|
|
68
|
+
fontWeight: 500,
|
|
69
|
+
color: theme.palette.common.black,
|
|
70
|
+
cursor: 'pointer',
|
|
71
|
+
padding: 8,
|
|
72
|
+
}));
|
|
73
|
+
export const TriggerWrapper = styled(Box)(({ theme }) => ({
|
|
74
|
+
width: '100%',
|
|
75
|
+
flexDirection: 'column',
|
|
76
|
+
border: `1px solid ${theme.palette.grey[100]}`,
|
|
77
|
+
borderRadius: '4px',
|
|
78
|
+
backgroundColor: theme.palette.grey[400],
|
|
79
|
+
minWidth: '89px',
|
|
80
|
+
position: 'relative',
|
|
81
|
+
}));
|
|
82
|
+
export const ArrowIcon = styled(Box)(() => ({
|
|
83
|
+
position: 'absolute',
|
|
84
|
+
right: 8,
|
|
85
|
+
bottom: 13.5,
|
|
86
|
+
width: 15,
|
|
87
|
+
height: 15,
|
|
88
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const filterOptions = (parentOptions, searchValue, searchBy) => {
|
|
2
|
+
return parentOptions
|
|
3
|
+
.map((option) => {
|
|
4
|
+
const filteredOptions = option === null || option === void 0 ? void 0 : option.options.map((opt) => {
|
|
5
|
+
var _a;
|
|
6
|
+
const matchedOptions = (_a = opt === null || opt === void 0 ? void 0 : opt.options) === null || _a === void 0 ? void 0 : _a.filter((o) => searchBy.some((key) => { var _a; return (_a = o === null || o === void 0 ? void 0 : o[key]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchValue.toLowerCase()); }));
|
|
7
|
+
return Object.assign(Object.assign({}, opt), { options: matchedOptions });
|
|
8
|
+
}).filter((opt) => { var _a; return ((_a = opt === null || opt === void 0 ? void 0 : opt.options) === null || _a === void 0 ? void 0 : _a.length) > 0; });
|
|
9
|
+
return Object.assign(Object.assign({}, option), { options: filteredOptions });
|
|
10
|
+
})
|
|
11
|
+
.filter((option) => { var _a; return ((_a = option === null || option === void 0 ? void 0 : option.options) === null || _a === void 0 ? void 0 : _a.length) > 0; });
|
|
12
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
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, useState } from 'react';
|
|
14
|
+
import MenuItem from './NestedMenuItem';
|
|
15
|
+
import { TitleStyled, DropdownStyled, ListWrapper, HeaderWrapper } from './styles';
|
|
16
|
+
function Dropdown(_a) {
|
|
17
|
+
var { title, menuItems, onChildrenChange, onSelect, className, updatedList, footer, placement = 'right' } = _a, props = __rest(_a, ["title", "menuItems", "onChildrenChange", "onSelect", "className", "updatedList", "footer", "placement"]);
|
|
18
|
+
const [selectedItem, setSelected] = useState({ name: '', selected: false });
|
|
19
|
+
const [list, setList] = useState();
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
setList(menuItems);
|
|
22
|
+
}, [menuItems]);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (selectedItem.name) {
|
|
25
|
+
const { name, selected } = selectedItem;
|
|
26
|
+
const changedChildren = [];
|
|
27
|
+
const updateAllChildren = (children) => children === null || children === void 0 ? void 0 : children.map((x) => {
|
|
28
|
+
var _a;
|
|
29
|
+
changedChildren.push({ name: x.name, selected });
|
|
30
|
+
return Object.assign(Object.assign(Object.assign({}, x), { selected }), (((_a = x.menuItems) === null || _a === void 0 ? void 0 : _a.length) && { menuItems: updateAllChildren(x.menuItems) }));
|
|
31
|
+
});
|
|
32
|
+
const updateList = (children) => children.map((i) => {
|
|
33
|
+
var _a;
|
|
34
|
+
if (i.name === name) {
|
|
35
|
+
changedChildren.push({ name: i.name, selected });
|
|
36
|
+
return Object.assign(Object.assign(Object.assign({}, i), { selected }), (((_a = i.menuItems) === null || _a === void 0 ? void 0 : _a.length) && { menuItems: updateAllChildren(i.menuItems) }));
|
|
37
|
+
}
|
|
38
|
+
return i;
|
|
39
|
+
});
|
|
40
|
+
const newList = updateList(list);
|
|
41
|
+
// update all children
|
|
42
|
+
setList(newList);
|
|
43
|
+
if (updatedList)
|
|
44
|
+
updatedList(newList);
|
|
45
|
+
// notify parent with the new children
|
|
46
|
+
if (onChildrenChange)
|
|
47
|
+
onChildrenChange(newList);
|
|
48
|
+
// notify parent with selected / unselected children
|
|
49
|
+
if (onSelect)
|
|
50
|
+
onSelect(changedChildren);
|
|
51
|
+
}
|
|
52
|
+
}, [selectedItem]);
|
|
53
|
+
return (_jsxs(DropdownStyled, Object.assign({ component: "article", className: `tap-dropdown ${className || ''}` }, props, { children: [_jsx(HeaderWrapper, { children: title && _jsx(TitleStyled, Object.assign({ component: "p" }, { children: title })) }), _jsx(ListWrapper, { children: list === null || list === void 0 ? void 0 : list.map((item, idx) => (_jsx(MenuItem, Object.assign({ setSelected: ({ name, selected }) => {
|
|
54
|
+
setSelected({ name, selected });
|
|
55
|
+
}, onSelect: (selectedChildren) => {
|
|
56
|
+
if (onSelect)
|
|
57
|
+
onSelect(selectedChildren);
|
|
58
|
+
}, placement: placement }, item), `${item.name}-${idx}`))) }), footer && footer] })));
|
|
59
|
+
}
|
|
60
|
+
export default memo(Dropdown);
|
|
@@ -0,0 +1,49 @@
|
|
|
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 } from "react/jsx-runtime";
|
|
13
|
+
import { memo, useEffect, useMemo, useState } from 'react';
|
|
14
|
+
import Dropdown from './Dropdown';
|
|
15
|
+
const recursivelyPrepareMenuItems = (menuItems, { menuItemSx, menuSx }) => {
|
|
16
|
+
menuItems.forEach((menuItem) => {
|
|
17
|
+
var _a;
|
|
18
|
+
menuItem.sx = Object.assign(Object.assign({}, menuItemSx), menuItem.sx);
|
|
19
|
+
menuItem.menuSx = Object.assign(Object.assign({}, menuSx), menuItem.menuSx);
|
|
20
|
+
if ((_a = menuItem.menuItems) === null || _a === void 0 ? void 0 : _a.length)
|
|
21
|
+
recursivelyPrepareMenuItems(menuItem.menuItems, { menuItemSx, menuSx });
|
|
22
|
+
});
|
|
23
|
+
return menuItems;
|
|
24
|
+
};
|
|
25
|
+
function NestedDropdown(_a) {
|
|
26
|
+
var { title, menuItems: rawMenuItems, onSelect, updatedList, placement = 'right', menuItemSx = {}, menuSx = {} } = _a, props = __rest(_a, ["title", "menuItems", "onSelect", "updatedList", "placement", "menuItemSx", "menuSx"]);
|
|
27
|
+
const menuItems = useMemo(() => recursivelyPrepareMenuItems(rawMenuItems, { menuItemSx, menuSx }), [rawMenuItems, menuItemSx, menuSx]);
|
|
28
|
+
const [list, setList] = useState(menuItems);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
if (menuItems.length)
|
|
31
|
+
setList(menuItems);
|
|
32
|
+
}, [menuItems]);
|
|
33
|
+
const updateSelection = (updatedItems) => {
|
|
34
|
+
const handleSelected = (items) => items.map((item) => {
|
|
35
|
+
var _a, _b, _c;
|
|
36
|
+
return (Object.assign(Object.assign(Object.assign({}, item), { selected: (_b = (_a = updatedItems.find((updatedItem) => item.name === updatedItem.name)) === null || _a === void 0 ? void 0 : _a.selected) !== null && _b !== void 0 ? _b : item.selected }), (((_c = item.menuItems) === null || _c === void 0 ? void 0 : _c.length) && { menuItems: handleSelected(item.menuItems) })));
|
|
37
|
+
});
|
|
38
|
+
const newList = handleSelected(list);
|
|
39
|
+
setList(newList);
|
|
40
|
+
if (updatedList)
|
|
41
|
+
updatedList(newList);
|
|
42
|
+
};
|
|
43
|
+
return (_jsx(Dropdown, Object.assign({ "data-testid": "NestedDropdown", placement: placement, menuItems: list, title: title, onSelect: (selected) => {
|
|
44
|
+
if (onSelect)
|
|
45
|
+
onSelect(selected);
|
|
46
|
+
updateSelection(selected);
|
|
47
|
+
} }, props)));
|
|
48
|
+
}
|
|
49
|
+
export default memo(NestedDropdown);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo, useState, useRef, useEffect } from 'react';
|
|
3
|
+
import Popper from '@mui/material/Popper';
|
|
4
|
+
import { rightArrow } from '../../constants/index.js';
|
|
5
|
+
import NestedDropdown from './Dropdown';
|
|
6
|
+
import { MenuItemStyled, Label, CheckboxStyled, ContentWrapper, Content, Counter, CountingInfo } from './styles';
|
|
7
|
+
function MenuItem({ label, icon, name, menuItems, setSelected, onSelect, selected, displayChildrenCount, disabled, placement = 'right', sx, menuSx, }) {
|
|
8
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
9
|
+
const menuItemRef = useRef(null);
|
|
10
|
+
const [isIndeterminate, setIsIndeterminate] = useState(false);
|
|
11
|
+
const handleChange = (itemName) => {
|
|
12
|
+
if (!disabled && selected !== undefined) {
|
|
13
|
+
setSelected({ name: itemName, selected: !selected });
|
|
14
|
+
if (!selected) {
|
|
15
|
+
setIsIndeterminate(false);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
setIsIndeterminate(Boolean((menuItems === null || menuItems === void 0 ? void 0 : menuItems.some((i) => i.selected)) && !(menuItems === null || menuItems === void 0 ? void 0 : menuItems.every((i) => i.selected))));
|
|
21
|
+
}, []);
|
|
22
|
+
return (_jsxs(MenuItemStyled, Object.assign({ "data-testid": "NestedDropdown_MenuItem", ref: menuItemRef, className: `nested-menu-item ${anchorEl ? 'active' : ''} ${disabled ? 'disabled' : ''}`, onMouseEnter: (e) => {
|
|
23
|
+
if (!anchorEl && (menuItems === null || menuItems === void 0 ? void 0 : menuItems.length))
|
|
24
|
+
setAnchorEl(e.currentTarget);
|
|
25
|
+
}, onMouseLeave: () => {
|
|
26
|
+
if (anchorEl)
|
|
27
|
+
setAnchorEl(null);
|
|
28
|
+
}, onClick: (e) => {
|
|
29
|
+
if (!disabled) {
|
|
30
|
+
e.stopPropagation();
|
|
31
|
+
handleChange(name);
|
|
32
|
+
}
|
|
33
|
+
}, sx: Object.assign(Object.assign(Object.assign({}, ((menuItems === null || menuItems === void 0 ? void 0 : menuItems.length) && { cursor: disabled ? 'not-allowed' : 'pointer' })), { zIndex: 99999 }), sx), disabled: disabled }, { children: [selected !== undefined && _jsx(CheckboxStyled, { size: "small", indeterminate: isIndeterminate, checked: selected, disabled: disabled }), _jsxs(ContentWrapper, { children: [icon && icon, _jsxs(Content, { children: [label && _jsx(Label, { children: label }), !!(menuItems === null || menuItems === void 0 ? void 0 : menuItems.length) && (_jsxs(CountingInfo, { children: [displayChildrenCount && _jsx(Counter, { children: menuItems.length }), _jsx("img", { src: rightArrow, className: "arrow-icon", alt: "arrow", style: { height: 12 } })] }))] })] }), (menuItems === null || menuItems === void 0 ? void 0 : menuItems.length) && (_jsx(Popper, Object.assign({ open: Boolean(anchorEl && !!(menuItems === null || menuItems === void 0 ? void 0 : menuItems.length)), anchorEl: anchorEl, placement: placement === 'left' ? 'left-start' : 'right-start', sx: Object.assign({ zIndex: 99999 }, menuSx) }, { children: _jsx(NestedDropdown, { className: "child-dropdown", menuItems: menuItems, placement: placement, onChildrenChange: (newList) => {
|
|
34
|
+
const isAllChildrenSelected = newList.every((x) => x.selected);
|
|
35
|
+
if (selected !== undefined && !disabled) {
|
|
36
|
+
if (isAllChildrenSelected) {
|
|
37
|
+
setSelected({ name, selected: true });
|
|
38
|
+
}
|
|
39
|
+
if (newList.every((x) => !x.selected)) {
|
|
40
|
+
setSelected({ name, selected: false });
|
|
41
|
+
}
|
|
42
|
+
setIsIndeterminate((newList === null || newList === void 0 ? void 0 : newList.some((i) => i.selected)) && !newList.every((x) => !x.selected) && !isAllChildrenSelected);
|
|
43
|
+
}
|
|
44
|
+
}, onSelect: (selectedItems) => {
|
|
45
|
+
onSelect(selectedItems, name);
|
|
46
|
+
} }) })))] })));
|
|
47
|
+
}
|
|
48
|
+
export default memo(MenuItem);
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import NestedDropdown from './NestedDropdown';
|
|
2
|
+
export { default as Dropdown } from './Dropdown';
|
|
3
|
+
export { default as NestedMenuItem } from './NestedMenuItem';
|
|
4
|
+
export * from './types';
|
|
5
|
+
export default NestedDropdown;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { styled, Box } from '@mui/material';
|
|
2
|
+
import Checkbox from '../Checkbox';
|
|
3
|
+
import Text from '../Text';
|
|
4
|
+
export const TitleStyled = styled(Text)(({ theme }) => ({
|
|
5
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
6
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
7
|
+
color: theme.palette.grey[700],
|
|
8
|
+
paddingInlineStart: theme.spacing(2),
|
|
9
|
+
paddingTop: theme.spacing(1),
|
|
10
|
+
paddingBottom: theme.spacing(1),
|
|
11
|
+
paddingInlineEnd: theme.spacing(1),
|
|
12
|
+
}));
|
|
13
|
+
export const MenuItemStyled = styled(Box, { shouldForwardProp: (props) => props !== 'disabled' })(({ theme, disabled }) => ({
|
|
14
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
15
|
+
padding: theme.spacing(1),
|
|
16
|
+
position: 'relative',
|
|
17
|
+
display: 'flex',
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
textTransform: 'capitalize',
|
|
20
|
+
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
21
|
+
flex: 1,
|
|
22
|
+
zIndex: 99999,
|
|
23
|
+
'.MuiButtonBase-root': {
|
|
24
|
+
width: '16px',
|
|
25
|
+
marginInlineEnd: '4px',
|
|
26
|
+
},
|
|
27
|
+
}));
|
|
28
|
+
export const DropdownStyled = styled(Box)(({ theme }) => ({
|
|
29
|
+
borderRadius: theme.spacing(0.5),
|
|
30
|
+
background: theme.palette.background.default,
|
|
31
|
+
width: 'max-content',
|
|
32
|
+
cursor: 'pointer',
|
|
33
|
+
zIndex: 99999,
|
|
34
|
+
boxShadow: theme.shadows[11],
|
|
35
|
+
display: 'flex',
|
|
36
|
+
flexDirection: 'column',
|
|
37
|
+
'.nested-menu-item + .nested-menu-item': {
|
|
38
|
+
borderTop: `1px solid ${theme.palette.divider}`,
|
|
39
|
+
zIndex: 99999,
|
|
40
|
+
},
|
|
41
|
+
'.nested-menu-item:hover': {
|
|
42
|
+
transition: theme.transitions.create(['boxShadow', 'border'], {
|
|
43
|
+
easing: theme.transitions.easing.sharp,
|
|
44
|
+
duration: theme.transitions.duration.complex,
|
|
45
|
+
}),
|
|
46
|
+
boxShadow: theme.shadows[6],
|
|
47
|
+
border: 'none',
|
|
48
|
+
position: 'relative',
|
|
49
|
+
},
|
|
50
|
+
}));
|
|
51
|
+
export const Label = styled(Box)(({ theme }) => (Object.assign(Object.assign({}, theme.typography.subtitle1), { color: theme.palette.text.primary, width: '100%' })));
|
|
52
|
+
export const CheckboxStyled = styled(Checkbox)(() => ({
|
|
53
|
+
padding: 0,
|
|
54
|
+
paddingRight: '4px',
|
|
55
|
+
'.MuiSvgIcon-root': {
|
|
56
|
+
width: 12,
|
|
57
|
+
height: 12,
|
|
58
|
+
},
|
|
59
|
+
}));
|
|
60
|
+
export const ContentWrapper = styled(Box)(() => ({
|
|
61
|
+
display: 'flex',
|
|
62
|
+
gap: '4px',
|
|
63
|
+
alignItems: 'center',
|
|
64
|
+
flexGrow: 1,
|
|
65
|
+
}));
|
|
66
|
+
export const Content = styled(Box)(() => ({
|
|
67
|
+
display: 'flex',
|
|
68
|
+
gap: '12px',
|
|
69
|
+
justifyContent: 'space-between',
|
|
70
|
+
flexGrow: 1,
|
|
71
|
+
alignItems: 'center',
|
|
72
|
+
}));
|
|
73
|
+
export const Counter = styled(Box)(({ theme }) => ({
|
|
74
|
+
borderRadius: '50%',
|
|
75
|
+
background: theme.palette.divider,
|
|
76
|
+
width: 13,
|
|
77
|
+
height: 14,
|
|
78
|
+
fontSize: '8px',
|
|
79
|
+
fontWeight: 700,
|
|
80
|
+
display: 'flex',
|
|
81
|
+
alignItems: 'center',
|
|
82
|
+
justifyContent: 'center',
|
|
83
|
+
lineHeight: '10px',
|
|
84
|
+
}));
|
|
85
|
+
export const CountingInfo = styled(Box)(() => ({
|
|
86
|
+
display: 'flex',
|
|
87
|
+
alignItems: 'center',
|
|
88
|
+
gap: '8px',
|
|
89
|
+
flex: 1,
|
|
90
|
+
position: 'relative',
|
|
91
|
+
left: 4,
|
|
92
|
+
}));
|
|
93
|
+
export const ListWrapper = styled(Box)(() => ({
|
|
94
|
+
flex: '1 0 auto',
|
|
95
|
+
}));
|
|
96
|
+
export const HeaderWrapper = styled(Box)(({ theme }) => ({
|
|
97
|
+
position: 'relative',
|
|
98
|
+
backgroundColor: theme.palette.common.white,
|
|
99
|
+
zIndex: 999999,
|
|
100
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
import { Container, Wrapper, ImageWrapper } from './style';
|
|
4
|
+
export default function NoInternet({ title }) {
|
|
5
|
+
return (_jsx(Container, { children: _jsxs(Wrapper, { children: [_jsx(ImageWrapper, { children: _jsxs("svg", Object.assign({ width: "15", height: "14", viewBox: "0 0 15 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("g", Object.assign({ "clip-path": "url(#clip0_4838_500791)" }, { children: _jsx("path", { d: "M12.6359 1.34444L12.6359 1.34444L1.84425 12.1361L1.84324 12.1371L1.84323 12.1371C1.80796 12.171 1.7798 12.2115 1.76041 12.2564C1.74101 12.3013 1.73076 12.3496 1.73026 12.3985C1.72977 12.4474 1.73903 12.4959 1.75751 12.5411C1.77599 12.5864 1.80332 12.6275 1.8379 12.6621C1.87247 12.6967 1.9136 12.724 1.95886 12.7425C2.00413 12.761 2.05263 12.7702 2.10153 12.7697C2.15042 12.7693 2.19872 12.759 2.2436 12.7396C2.28849 12.7202 2.32905 12.692 2.36291 12.6568L2.3639 12.6558L2.36391 12.6558L6.87107 8.1486L6.88649 8.13318L6.90794 8.12925C7.83177 7.95978 8.82148 8.22837 9.53582 8.94271C9.60683 9.01372 9.70218 9.05038 9.79508 9.05038C9.88808 9.05038 9.98396 9.01366 10.0549 8.94271L10.0553 8.94229C10.1993 8.80078 10.1999 8.5686 10.0549 8.42362C9.42924 7.79795 8.63373 7.44893 7.81425 7.36712L7.66723 7.35244L7.7717 7.24797L9.21295 5.80672L9.24408 5.77559L9.28562 5.79017C10.0624 6.06276 10.7767 6.50589 11.3758 7.10498C11.4471 7.17626 11.5402 7.21322 11.6357 7.21322C11.7275 7.21322 11.8209 7.17675 11.8957 7.10478C12.0374 6.95995 12.0372 6.72746 11.8952 6.58281C11.3154 6.00304 10.6422 5.55399 9.91133 5.24449L9.81569 5.20398L9.88914 5.13053L11.1806 3.83911L11.217 3.80262L11.2627 3.82668C11.9646 4.19662 12.6233 4.67474 13.2136 5.26497C13.2845 5.33592 13.3804 5.37265 13.4734 5.37265C13.569 5.37265 13.6615 5.33616 13.7326 5.26497C13.8776 5.11999 13.877 4.88724 13.7331 4.74574L13.7325 4.74522C13.1559 4.16612 12.5156 3.69094 11.8371 3.30814L11.7568 3.26285L11.822 3.19767L13.1556 1.8641L13.1562 1.86344C13.2093 1.81181 13.2454 1.74537 13.2601 1.67282C13.2747 1.60028 13.2671 1.525 13.2383 1.45685C13.2094 1.3887 13.1606 1.33084 13.0984 1.29086C13.0361 1.25088 12.9632 1.23062 12.8892 1.23275L12.6359 1.34444ZM12.6359 1.34444L12.6366 1.34377M12.6359 1.34444L12.6366 1.34377M12.6366 1.34377C12.7032 1.27535 12.7938 1.23554 12.8892 1.23275L12.6366 1.34377ZM1.15567 4.74574L1.1561 4.74532C2.82333 3.07809 4.99232 2.21114 7.18124 2.14706C8.13805 2.11905 9.09854 2.24422 10.0224 2.52326L9.42386 3.12232C6.7366 2.45348 3.77167 3.16849 1.67518 5.26497L1.67477 5.2654C1.53326 5.40934 1.30108 5.40996 1.1561 5.26497C1.01112 5.11999 1.01173 4.88724 1.15567 4.74574ZM2.99668 6.58304C4.18518 5.39454 5.76276 4.74246 7.44465 4.74246C7.56138 4.74246 7.67793 4.74531 7.7943 4.7519L7.05489 5.49131C5.71805 5.58262 4.47253 6.1454 3.51594 7.10481C3.37084 7.24718 3.13819 7.2465 2.99668 7.10498C2.85193 6.96023 2.85193 6.72779 2.99668 6.58304ZM6.72445 10.308C6.93012 10.1023 7.20906 9.98677 7.49991 9.98677C7.79077 9.98677 8.06971 10.1023 8.27537 10.308C8.48104 10.5136 8.59658 10.7926 8.59658 11.0834C8.59658 11.3743 8.48104 11.6532 8.27537 11.8589C8.06971 12.0646 7.79077 12.1801 7.49991 12.1801C7.20906 12.1801 6.93012 12.0646 6.72445 11.8589C6.51879 11.6532 6.40325 11.3743 6.40325 11.0834C6.40325 10.7926 6.51879 10.5136 6.72445 10.308Z", fill: "#20232B", stroke: "#20232B", "stroke-width": "0.14" }) })), _jsx("defs", { children: _jsx("clipPath", Object.assign({ id: "clip0_4838_500791" }, { children: _jsx("rect", { width: "14", height: "14", fill: "white", transform: "translate(0.5)" }) })) })] })) }), _jsx(Box, { children: title })] }) }));
|
|
6
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import NoInternet from './NoInternet';
|
|
2
|
+
export default NoInternet;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Box from '@mui/material/Box';
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
|
+
export const Wrapper = styled(Box)(({ theme }) => ({
|
|
4
|
+
fontSize: '10px',
|
|
5
|
+
padding: '4px 8px 4px 4px',
|
|
6
|
+
color: theme.palette.common.white,
|
|
7
|
+
borderRadius: '45px',
|
|
8
|
+
fontWeight: 500,
|
|
9
|
+
background: 'var(--Garident---Checkout, linear-gradient(254deg, #101010 0.51%, #343740 49.67%, #101010 100%))',
|
|
10
|
+
boxShadow: '0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)',
|
|
11
|
+
display: 'flex',
|
|
12
|
+
gap: '6px',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
height: 30,
|
|
15
|
+
}));
|
|
16
|
+
export const Container = styled(Box)(() => ({
|
|
17
|
+
position: 'fixed',
|
|
18
|
+
display: 'flex',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
justifyContent: 'center',
|
|
21
|
+
top: '15px',
|
|
22
|
+
}));
|
|
23
|
+
export const ImageWrapper = styled(Box)(({ theme }) => ({
|
|
24
|
+
borderRadius: '13px',
|
|
25
|
+
background: theme.palette.common.white,
|
|
26
|
+
boxShadow: '0px 14px 4px 0px rgba(0, 0, 0, 0.00), 0px 9px 4px 0px rgba(0, 0, 0, 0.01), 0px 5px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 1px 1px 0px rgba(0, 0, 0, 0.10)',
|
|
27
|
+
width: 22,
|
|
28
|
+
height: 22,
|
|
29
|
+
display: 'flex',
|
|
30
|
+
alignItems: 'center',
|
|
31
|
+
justifyContent: 'center',
|
|
32
|
+
}));
|