@tap-payments/os-micro-frontend-shared 0.1.39 → 0.1.40-9.hotfix.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/AccordionAdapter/style.d.ts +2 -2
- package/build/components/AccountDropdown/style.d.ts +1 -1
- package/build/components/ActionMenu/ActionMenuDropDown.js +4 -3
- package/build/components/ActionMenu/ActionMenuItem.js +4 -4
- package/build/components/ActionMenu/style.d.ts +1 -2
- package/build/components/ActionMenu/style.js +0 -4
- package/build/components/ActivityAreaChart/components/ChartTooltip.js +4 -3
- package/build/components/ActivityAreaChart/styles.d.ts +3 -4
- package/build/components/ActivityAreaChart/styles.js +0 -6
- package/build/components/Amount/TotalAmount/Loading.d.ts +1 -0
- package/build/components/Amount/TotalAmount/Loading.js +9 -0
- package/build/components/Amount/TotalAmount/TotalAmount.d.ts +15 -0
- package/build/components/Amount/TotalAmount/TotalAmount.js +62 -0
- package/build/components/Amount/TotalAmount/index.d.ts +1 -0
- package/build/components/Amount/TotalAmount/index.js +1 -0
- package/build/components/Amount/TotalAmount/style.d.ts +11 -0
- package/build/components/Amount/TotalAmount/style.js +26 -0
- package/build/components/Amount/index.d.ts +1 -0
- package/build/components/Amount/index.js +1 -0
- package/build/components/AmountConversionFilter/AmountConversionFilter.d.ts +19 -0
- package/build/components/AmountConversionFilter/AmountConversionFilter.js +18 -0
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.d.ts +9 -0
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +39 -0
- package/build/components/AmountConversionFilter/index.d.ts +1 -0
- package/build/components/AmountConversionFilter/index.js +1 -0
- package/build/components/AmountConversionFilter/style.d.ts +7 -0
- package/build/components/AmountConversionFilter/style.js +47 -0
- package/build/components/AmountInput/AmountInput.d.ts +14 -0
- package/build/components/AmountInput/AmountInput.js +44 -0
- package/build/components/AmountInput/index.d.ts +2 -0
- package/build/components/AmountInput/index.js +2 -0
- package/build/components/AmountInput/style.d.ts +8 -0
- package/build/components/AmountInput/style.js +30 -0
- package/build/components/AmountStatusChip/AmountStatusChip.d.ts +9 -0
- package/build/components/AmountStatusChip/AmountStatusChip.js +20 -0
- package/build/components/AmountStatusChip/index.d.ts +3 -0
- package/build/components/AmountStatusChip/index.js +2 -0
- package/build/components/AmountStatusChip/style.d.ts +3 -0
- package/build/components/AmountStatusChip/style.js +13 -0
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.d.ts +8 -0
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +7 -0
- package/build/components/AnimatedSpinnerIcon/index.d.ts +2 -0
- package/build/components/AnimatedSpinnerIcon/index.js +2 -0
- package/build/components/AnimatedSpinnerIcon/style.d.ts +280 -0
- package/build/components/AnimatedSpinnerIcon/style.js +8 -0
- package/build/components/AppServices/AppServices.d.ts +9 -5
- package/build/components/AppServices/AppServices.js +13 -20
- package/build/components/AppServices/ServiceItem.d.ts +2 -4
- package/build/components/AppServices/ServiceItem.js +6 -10
- package/build/components/AppServices/style.d.ts +1 -1
- package/build/components/AppServicesBar/AppServicesBar.d.ts +22 -0
- package/build/components/AppServicesBar/AppServicesBar.js +18 -0
- package/build/components/AppServicesBar/index.d.ts +3 -0
- package/build/components/AppServicesBar/index.js +3 -0
- package/build/components/AppServicesBar/style.d.ts +4 -0
- package/build/components/AppServicesBar/style.js +6 -0
- package/build/components/AppWindowWrapper/AppWindow/AppWindow.d.ts +1 -1
- package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +2 -2
- package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
- package/build/components/AppWindowWrapper/AppWindow/type.d.ts +2 -0
- package/build/components/AppWindowWrapper/context/Provider.d.ts +1 -1
- package/build/components/AppWindowWrapper/context/Provider.js +4 -3
- package/build/components/AppWindowWrapper/context/type.d.ts +4 -0
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +2 -2
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +2 -2
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.d.ts +3 -2
- package/build/components/AppWindowWrapper/headers/AccountHeader/type.d.ts +2 -1
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +2 -2
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.d.ts +9 -0
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
- package/build/components/AuthenticationTypeChip/constants.d.ts +16 -0
- package/build/components/AuthenticationTypeChip/constants.js +13 -0
- package/build/components/AuthenticationTypeChip/index.d.ts +3 -0
- package/build/components/AuthenticationTypeChip/index.js +2 -0
- package/build/components/Autocomplete/Autocomplete.d.ts +10 -0
- package/build/components/Autocomplete/Autocomplete.js +33 -0
- package/build/components/Autocomplete/index.d.ts +2 -0
- package/build/components/Autocomplete/index.js +1 -0
- package/build/components/Autocomplete/style.d.ts +4 -0
- package/build/components/Autocomplete/style.js +47 -0
- package/build/components/BackgroundAnimation/BackgroundAnimation.js +28 -0
- package/build/components/BackgroundAnimation/Blob/Blob.js +2 -0
- package/build/components/BetaBanner/BetaBanner.d.ts +1 -0
- package/build/components/BetaBanner/BetaBanner.js +5 -0
- package/build/components/BetaBanner/index.d.ts +2 -0
- package/build/components/BetaBanner/index.js +2 -0
- package/build/components/BetaBanner/style.d.ts +6 -0
- package/build/components/BetaBanner/style.js +18 -0
- package/build/components/BrandLogo/BrandLogo.d.ts +12 -0
- package/build/components/BrandLogo/BrandLogo.js +35 -0
- package/build/components/BrandLogo/Loading.d.ts +6 -0
- package/build/components/BrandLogo/Loading.js +3 -0
- package/build/components/BrandLogo/index.d.ts +1 -0
- package/build/components/BrandLogo/index.js +1 -0
- package/build/components/Button/style.d.ts +1 -1
- package/build/components/Calender/style.d.ts +4 -4
- package/build/components/Chip/style.d.ts +10 -10
- package/build/components/Chip/style.js +1 -0
- package/build/components/CircularProgressWithLabel/style.d.ts +1 -1
- package/build/components/ColorPicker/ColorPicker.d.ts +14 -0
- package/build/components/ColorPicker/ColorPicker.js +35 -0
- package/build/components/ColorPicker/ColorPickerPanel.d.ts +8 -0
- package/build/components/ColorPicker/ColorPickerPanel.js +56 -0
- package/build/components/ColorPicker/ColorSchemeSelect.d.ts +7 -0
- package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
- package/build/components/ColorPicker/HexaFields.d.ts +8 -0
- package/build/components/ColorPicker/HexaFields.js +83 -0
- package/build/components/ColorPicker/RGBAFields.d.ts +8 -0
- package/build/components/ColorPicker/RGBAFields.js +37 -0
- package/build/components/ColorPicker/index.d.ts +2 -0
- package/build/components/ColorPicker/index.js +2 -0
- package/build/components/ColorPicker/style.d.ts +30 -0
- package/build/components/ColorPicker/style.js +157 -0
- package/build/components/ConfirmDialog/context/index.d.ts +1 -1
- package/build/components/ConfirmDialog/context/index.js +1 -1
- package/build/components/ConfirmDialog/styles.d.ts +1 -1
- package/build/components/CountBadge/style.d.ts +10 -10
- package/build/components/CountryFilter/CountryFilter.d.ts +13 -0
- package/build/components/CountryFilter/CountryFilter.js +71 -0
- package/build/components/CountryFilter/index.d.ts +1 -0
- package/build/components/CountryFilter/index.js +1 -0
- package/build/components/CountryFilter/style.d.ts +6 -0
- package/build/components/CountryFilter/style.js +7 -0
- package/build/components/CountryFlag/CountryFlag.d.ts +3 -2
- package/build/components/CountryFlag/CountryFlag.js +4 -3
- package/build/components/CurrencyFilter/CurrencyFilter.d.ts +10 -0
- package/build/components/CurrencyFilter/CurrencyFilter.js +27 -0
- package/build/components/CurrencyFilter/index.d.ts +1 -0
- package/build/components/CurrencyFilter/index.js +1 -0
- package/build/components/CurrencySymbol/CurrencySymbol.d.ts +7 -0
- package/build/components/CurrencySymbol/CurrencySymbol.js +17 -0
- package/build/components/CurrencySymbol/index.d.ts +2 -0
- package/build/components/CurrencySymbol/index.js +2 -0
- package/build/components/{CurrencyIcon → CurrencySymbol}/style.d.ts +6 -1
- package/build/components/CurrencySymbol/style.js +27 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.d.ts +8 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
- package/build/components/Customer/CustomerDropdown/index.d.ts +1 -0
- package/build/components/Customer/CustomerDropdown/index.js +1 -0
- package/build/components/Customer/CustomerDropdown/style.d.ts +10 -0
- package/build/components/Customer/CustomerDropdown/style.js +30 -0
- package/build/components/Customer/CustomerForms/CustomerEmailForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/CustomerEmailForm.js +76 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfo.d.ts +13 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfo.js +72 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +74 -0
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +71 -0
- package/build/components/Customer/CustomerForms/index.d.ts +9 -0
- package/build/components/Customer/CustomerForms/index.js +9 -0
- package/build/components/Customer/CustomerForms/style.d.ts +25 -0
- package/build/components/Customer/CustomerForms/style.js +71 -0
- package/build/components/Customer/CustomerForms/validation.d.ts +30 -0
- package/build/components/Customer/CustomerForms/validation.js +42 -0
- package/build/components/Customer/index.d.ts +2 -0
- package/build/components/Customer/index.js +2 -0
- package/build/components/DateFilter/DateFilter.d.ts +16 -0
- package/build/components/DateFilter/DateFilter.js +32 -0
- package/build/components/DateFilter/index.d.ts +1 -0
- package/build/components/DateFilter/index.js +1 -0
- package/build/components/DateFilter/style.d.ts +35 -0
- package/build/components/DateFilter/style.js +100 -0
- package/build/components/DeviceIcon/DeviceIcon.js +1 -1
- package/build/components/Dialog/style.d.ts +10 -10
- package/build/components/Dialog/style.js +1 -0
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.d.ts +13 -0
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +67 -0
- package/build/components/Discount/DiscountDropdown/index.d.ts +2 -0
- package/build/components/Discount/DiscountDropdown/index.js +2 -0
- package/build/components/Discount/DiscountDropdown/style.d.ts +12 -0
- package/build/components/Discount/DiscountDropdown/style.js +40 -0
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.d.ts +12 -0
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +53 -0
- package/build/components/Discount/DiscountRateDropdown/index.d.ts +2 -0
- package/build/components/Discount/DiscountRateDropdown/index.js +2 -0
- package/build/components/Discount/DiscountRateDropdown/style.d.ts +7 -0
- package/build/components/Discount/DiscountRateDropdown/style.js +33 -0
- package/build/components/Discount/TotalDiscount/TotalDiscount.d.ts +12 -0
- package/build/components/Discount/TotalDiscount/TotalDiscount.js +30 -0
- package/build/components/Discount/TotalDiscount/index.d.ts +1 -0
- package/build/components/Discount/TotalDiscount/index.js +1 -0
- package/build/components/Discount/TotalDiscount/style.d.ts +12 -0
- package/build/components/Discount/TotalDiscount/style.js +5 -0
- package/build/components/Discount/index.d.ts +4 -0
- package/build/components/Discount/index.js +4 -0
- package/build/components/Discount/utils.d.ts +8 -0
- package/build/components/Discount/utils.js +12 -0
- package/build/components/DisplayAmount/DisplayAmount.d.ts +9 -0
- package/build/components/DisplayAmount/DisplayAmount.js +21 -0
- package/build/components/DisplayAmount/index.d.ts +2 -0
- package/build/components/DisplayAmount/index.js +2 -0
- package/build/components/DisplayAmount/style.d.ts +5 -0
- package/build/components/DisplayAmount/style.js +14 -0
- package/build/components/DockButton/style.d.ts +1 -1
- package/build/components/Dropdown2/style.js +2 -0
- package/build/components/DropdownButton/constants.d.ts +2 -2
- package/build/components/DropdownButton/style.d.ts +2 -2
- package/build/components/DropdownMenu/styles.d.ts +2 -2
- package/build/components/Error/Error.d.ts +1 -1
- package/build/components/ErrorBoundary/style.d.ts +1 -1
- package/build/components/ErrorToast/ErrorToast.d.ts +3 -0
- package/build/components/ErrorToast/ErrorToast.js +7 -0
- package/build/components/ErrorToast/index.d.ts +2 -0
- package/build/components/ErrorToast/index.js +2 -0
- package/build/components/ErrorToast/style.d.ts +9 -0
- package/build/components/ErrorToast/style.js +33 -0
- package/build/components/ErrorToast/type.d.ts +10 -0
- package/build/components/FileInputPreview/FileInputPreview.d.ts +5 -0
- package/build/components/FileInputPreview/FileInputPreview.js +51 -0
- package/build/components/FileInputPreview/index.d.ts +1 -0
- package/build/components/FileInputPreview/index.js +1 -0
- package/build/components/FileInputPreview/style.d.ts +9 -0
- package/build/components/FileInputPreview/style.js +20 -0
- package/build/components/FileInputPreview/type.d.ts +21 -0
- package/build/components/FileInputPreview/utils.d.ts +3 -0
- package/build/components/FileInputPreview/utils.js +14 -0
- package/build/components/FilePreview/FilePreview.d.ts +3 -0
- package/build/components/FilePreview/FilePreview.js +18 -0
- package/build/components/FilePreview/index.d.ts +3 -0
- package/build/components/FilePreview/index.js +3 -0
- package/build/components/FilePreview/style.d.ts +20 -0
- package/build/components/FilePreview/style.js +55 -0
- package/build/components/FilePreview/type.d.ts +12 -0
- package/build/components/FilePreview/type.js +1 -0
- package/build/components/FileUpload/style.d.ts +3 -3
- package/build/components/FileUploader/FileUploader.d.ts +1 -1
- package/build/components/FileUploader/FileUploader.js +3 -3
- package/build/components/FileUploader/style.d.ts +1 -1
- package/build/components/FileUploader/style.js +1 -1
- package/build/components/FileUploader/type.d.ts +5 -0
- package/build/components/FilterDropdown/FilterDropdown.d.ts +10 -0
- package/build/components/FilterDropdown/FilterDropdown.js +54 -0
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.d.ts +12 -0
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
- package/build/components/FilterDropdown/components/BrandItem/index.d.ts +2 -0
- package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
- package/build/components/FilterDropdown/components/BrandItem/style.d.ts +4 -0
- package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.d.ts +12 -0
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
- package/build/components/FilterDropdown/components/CountriesItem/index.d.ts +1 -0
- package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.d.ts +12 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/index.d.ts +1 -0
- package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.d.ts +11 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.d.ts +2 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.d.ts +12 -0
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.d.ts +13 -0
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +60 -0
- package/build/components/FilterDropdown/components/MerchantItem/index.d.ts +2 -0
- package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.d.ts +14 -0
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +68 -0
- package/build/components/FilterDropdown/components/RetailersItem/index.d.ts +1 -0
- package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
- package/build/components/FilterDropdown/components/RetailersItem/style.d.ts +4 -0
- package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
- package/build/components/FilterDropdown/components/index.d.ts +4 -0
- package/build/components/FilterDropdown/components/index.js +4 -0
- package/build/components/FilterDropdown/index.d.ts +3 -0
- package/build/components/FilterDropdown/index.js +3 -0
- package/build/components/FilterDropdown/style.d.ts +20 -0
- package/build/components/FilterDropdown/style.js +60 -0
- package/build/components/FilterDropdown/type.d.ts +4 -0
- package/build/components/FilterDropdown/type.js +1 -0
- package/build/components/FilteredIds/FilteredIds.js +1 -1
- package/build/components/FilteredIds/style.d.ts +0 -1
- package/build/components/FilteredIds/style.js +4 -5
- package/build/components/Filters/index.d.ts +1 -0
- package/build/components/Filters/index.js +1 -0
- package/build/components/Filters/style.d.ts +15 -0
- package/build/components/Filters/style.js +51 -0
- package/build/components/FlippingCard/style.d.ts +10 -10
- package/build/components/HeatMap/constant.js +1 -1
- package/build/components/Icon/type.d.ts +2 -1
- package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +1 -1
- package/build/components/IconWithLabel/style.d.ts +1 -1
- package/build/components/IconsDropdown/style.d.ts +2 -2
- package/build/components/ImageWrapper/ImageWrapper.d.ts +10 -10
- package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +3 -0
- package/build/components/InputBase/InputBase/InputBase.d.ts +2 -2
- package/build/components/InputBase/InputBase/InputBase.js +3 -3
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
- package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +3 -0
- package/build/components/InputBase/SelectBase/SelectBase.js +5 -2
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +3 -0
- package/build/components/InputBase/SelectBase/style.d.ts +1 -1
- package/build/components/InputBase/SelectBase/style.js +3 -2
- package/build/components/InputNumber/InputNumber.js +2 -0
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.d.ts +5 -4
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +3 -3
- package/build/components/Inputs/FileInput/style.d.ts +1 -1
- package/build/components/Inputs/Input/style.js +6 -2
- package/build/components/Inputs/Select/Select.js +1 -0
- package/build/components/Inputs/Select/style.js +3 -2
- package/build/components/JSONViewer/JSONViewer.js +11 -3
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.d.ts +1 -1
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
- package/build/components/JSONViewer/context/Provider.js +2 -0
- package/build/components/JSONViewer/style.d.ts +21 -21
- package/build/components/LabeledIconDropdown/style.d.ts +3 -3
- package/build/components/LanguageDropdown/LanguageDropdown.d.ts +6 -0
- package/build/components/LanguageDropdown/LanguageDropdown.js +24 -0
- package/build/components/LanguageDropdown/index.d.ts +2 -0
- package/build/components/LanguageDropdown/index.js +2 -0
- package/build/components/LanguageDropdown/style.d.ts +6 -0
- package/build/components/LanguageDropdown/style.js +5 -0
- package/build/components/LazyImage/LazyImage.d.ts +3 -0
- package/build/components/LazyImage/LazyImage.js +39 -0
- package/build/components/LazyImage/index.d.ts +3 -0
- package/build/components/LazyImage/index.js +3 -0
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.d.ts +10 -0
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +14 -1
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +30 -30
- package/build/components/LeftPeekRightExpandingChip/style.js +1 -0
- package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +30 -2
- package/build/components/ListColumnFilter/ListColumnFilter.d.ts +16 -0
- package/build/components/ListColumnFilter/ListColumnFilter.js +36 -0
- package/build/components/ListColumnFilter/index.d.ts +1 -0
- package/build/components/ListColumnFilter/index.js +1 -0
- package/build/components/ListColumnFilter/style.d.ts +15 -0
- package/build/components/ListColumnFilter/style.js +35 -0
- package/build/components/ListLayout/ListLayout.d.ts +10 -0
- package/build/components/ListLayout/ListLayout.js +20 -0
- package/build/components/ListLayout/index.d.ts +2 -0
- package/build/components/ListLayout/index.js +2 -0
- package/build/components/ListLayout/styles.d.ts +4 -0
- package/build/components/ListLayout/styles.js +9 -0
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.d.ts +1 -0
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +12 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +5 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.js +10 -0
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.d.ts +1 -0
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +8 -0
- package/build/components/MFWidgetLoader/index.d.ts +2 -0
- package/build/components/MFWidgetLoader/index.js +2 -0
- package/build/components/Menu/Menu.d.ts +4 -4
- package/build/components/Menu/Menu.js +15 -6
- package/build/components/Menu/style.d.ts +4 -2
- package/build/components/Menu/style.js +10 -1
- package/build/components/MenuItem/MenuItem.d.ts +3 -2
- package/build/components/MenuItem/MenuItem.js +4 -2
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.d.ts +12 -0
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +38 -0
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.d.ts +5 -0
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +6 -0
- package/build/components/MerchantCurrencyDropdown/index.d.ts +1 -0
- package/build/components/MerchantCurrencyDropdown/index.js +1 -0
- package/build/components/MerchantCurrencyDropdown/style.d.ts +13 -0
- package/build/components/MerchantCurrencyDropdown/style.js +64 -0
- package/build/components/MerchantLogo/MerchantLogo.d.ts +10 -0
- package/build/components/MerchantLogo/MerchantLogo.js +17 -0
- package/build/components/MerchantLogo/index.d.ts +1 -0
- package/build/components/MerchantLogo/index.js +1 -0
- package/build/components/MerchantLogo/style.d.ts +5 -0
- package/build/components/MerchantLogo/style.js +13 -0
- package/build/components/MerchantsDropdown/BrandItem.d.ts +13 -0
- package/build/components/MerchantsDropdown/BrandItem.js +71 -0
- package/build/components/MerchantsDropdown/EntityItem.d.ts +14 -0
- package/build/components/MerchantsDropdown/EntityItem.js +69 -0
- package/build/components/MerchantsDropdown/EntityList.d.ts +11 -0
- package/build/components/MerchantsDropdown/EntityList.js +7 -0
- package/build/components/MerchantsDropdown/MerchantItem.d.ts +13 -0
- package/build/components/MerchantsDropdown/MerchantItem.js +27 -0
- package/build/components/MerchantsDropdown/MerchantsDropdown.d.ts +5 -0
- package/build/components/MerchantsDropdown/MerchantsDropdown.js +67 -0
- package/build/components/MerchantsDropdown/MerchantsList.d.ts +12 -0
- package/build/components/MerchantsDropdown/MerchantsList.js +18 -0
- package/build/components/MerchantsDropdown/hooks.d.ts +19 -0
- package/build/components/MerchantsDropdown/hooks.js +54 -0
- package/build/components/MerchantsDropdown/index.d.ts +1 -0
- package/build/components/MerchantsDropdown/index.js +1 -0
- package/build/components/MerchantsDropdown/style.d.ts +38 -0
- package/build/components/MerchantsDropdown/style.js +155 -0
- package/build/components/MerchantsDropdown/type.d.ts +15 -0
- package/build/components/MerchantsDropdown/type.js +1 -0
- package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +1 -1
- package/build/components/MultiSelectDropdownButton/components/StatusButton.d.ts +10 -0
- package/build/components/MultiSelectDropdownButton/components/StatusButton.js +34 -0
- package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +3 -0
- package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
- package/build/components/MultiSelectWithSearch/style.d.ts +3 -3
- package/build/components/NestedDropdown/Dropdown.js +5 -2
- package/build/components/NestedDropdown/NestedDropdown.d.ts +4 -2
- package/build/components/NestedDropdown/NestedDropdown.js +13 -2
- package/build/components/NestedDropdown/NestedMenuItem.d.ts +4 -1
- package/build/components/NestedDropdown/NestedMenuItem.js +2 -4
- package/build/components/NestedDropdown/styles.d.ts +1 -1
- package/build/components/NestedDropdown/types.d.ts +1 -1
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.d.ts +7 -0
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
- package/build/components/OpenFileInNewTab/index.d.ts +1 -0
- package/build/components/OpenFileInNewTab/index.js +1 -0
- package/build/components/OpenFileInNewTab/style.d.ts +2 -0
- package/build/components/OpenFileInNewTab/style.js +8 -0
- package/build/components/PartnersFilter/PartnersFilter.d.ts +10 -0
- package/build/components/PartnersFilter/PartnersFilter.js +50 -0
- package/build/components/PartnersFilter/index.d.ts +1 -0
- package/build/components/PartnersFilter/index.js +1 -0
- package/build/components/PaymentSourceFilter/PaymentIcon.d.ts +5 -0
- package/build/components/PaymentSourceFilter/PaymentIcon.js +9 -0
- package/build/components/PaymentSourceFilter/PaymentInitiated.d.ts +8 -0
- package/build/components/PaymentSourceFilter/PaymentInitiated.js +29 -0
- package/build/components/PaymentSourceFilter/PaymentMethod.d.ts +6 -0
- package/build/components/PaymentSourceFilter/PaymentMethod.js +55 -0
- package/build/components/PaymentSourceFilter/PaymentMethods.d.ts +7 -0
- package/build/components/PaymentSourceFilter/PaymentMethods.js +50 -0
- package/build/components/PaymentSourceFilter/PaymentSchemes.d.ts +7 -0
- package/build/components/PaymentSourceFilter/PaymentSchemes.js +54 -0
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.d.ts +15 -0
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +15 -0
- package/build/components/PaymentSourceFilter/index.d.ts +2 -0
- package/build/components/PaymentSourceFilter/index.js +1 -0
- package/build/components/PaymentSourceFilter/style.d.ts +5 -0
- package/build/components/PaymentSourceFilter/style.js +22 -0
- package/build/components/PaymentSourceFilter/type.d.ts +10 -0
- package/build/components/PaymentSourceFilter/type.js +1 -0
- package/build/components/PhoneFilter/PhoneFilter.d.ts +9 -0
- package/build/components/PhoneFilter/PhoneFilter.js +13 -0
- package/build/components/PhoneFilter/index.d.ts +1 -0
- package/build/components/PhoneFilter/index.js +1 -0
- package/build/components/ProgressBar/style.d.ts +1 -1
- package/build/components/ProgressRing/style.d.ts +2 -2
- package/build/components/RFH/Inputs/FormInput/FormInput.d.ts +1 -5
- package/build/components/RFH/Inputs/FormInput/FormInput.js +8 -3
- package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -0
- package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +3 -3
- package/build/components/RFH/Inputs/SelectWithAccordion/style.d.ts +3 -3
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.js +13 -6
- package/build/components/RadioGroup/style.js +1 -0
- package/build/components/RadioGroup/type.d.ts +4 -2
- package/build/components/RangeCalender/RangeCalender.d.ts +2 -27
- package/build/components/RangeCalender/RangeCalender.js +19 -16
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +2 -6
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +34 -27
- package/build/components/RangeCalender/components/CustomTimepicker/style.d.ts +1 -1
- package/build/components/RangeCalender/components/GroupBy/GroupBy.js +2 -2
- package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +1 -9
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +3 -1
- package/build/components/RangeCalender/components/RangeDatepicker/index.d.ts +1 -0
- package/build/components/RangeCalender/components/RangeDatepicker/index.js +1 -0
- package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
- package/build/components/RangeCalender/components/RangeDatepicker/type.d.ts +9 -0
- package/build/components/RangeCalender/components/RangeDatepicker/type.js +1 -0
- package/build/components/RangeCalender/components/Timezone/Timezone.d.ts +3 -2
- package/build/components/RangeCalender/components/Timezone/Timezone.js +4 -4
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +3 -6
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +10 -9
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
- package/build/components/RangeCalender/style.d.ts +3 -3
- package/build/components/RangeCalender/style.js +1 -1
- package/build/components/RangeCalender/type.d.ts +26 -0
- package/build/components/RangeCalender/utils.d.ts +5 -1
- package/build/components/RangeCalender/utils.js +11 -0
- package/build/components/ReceiptsViewer/ReceiptViewer.d.ts +2 -0
- package/build/components/ReceiptsViewer/ReceiptViewer.js +16 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.d.ts +11 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.js +7 -0
- package/build/components/ReceiptsViewer/index.d.ts +1 -0
- package/build/components/ReceiptsViewer/index.js +1 -0
- package/build/components/ReceiptsViewer/style.d.ts +4 -0
- package/build/components/ReceiptsViewer/style.js +7 -0
- package/build/components/ReceiptsViewer/type.d.ts +11 -0
- package/build/components/ReceiptsViewer/type.js +1 -0
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.d.ts +19 -0
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +36 -0
- package/build/components/ReferenceTypeFilter/index.d.ts +1 -0
- package/build/components/ReferenceTypeFilter/index.js +1 -0
- package/build/components/ReferenceTypeFilter/style.d.ts +14 -0
- package/build/components/ReferenceTypeFilter/style.js +34 -0
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.d.ts +33 -1
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +76 -17
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +134 -132
- package/build/components/RightLeftExpandingCenterChip/style.js +28 -11
- package/build/components/RightLeftExpandingCenterChip/type.d.ts +2 -1
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.d.ts +15 -5
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +89 -21
- package/build/components/SalesChannelFilter/SalesChannelFilter.d.ts +11 -0
- package/build/components/SalesChannelFilter/SalesChannelFilter.js +56 -0
- package/build/components/SalesChannelFilter/index.d.ts +1 -0
- package/build/components/SalesChannelFilter/index.js +1 -0
- package/build/components/SalesChannelFilter/style.d.ts +15 -0
- package/build/components/SalesChannelFilter/style.js +29 -0
- package/build/components/ScrollLoader/ScrollLoader.js +2 -1
- package/build/components/SearchButton/styles.d.ts +26 -26
- package/build/components/SearchListInput/SearchListInput.d.ts +10 -0
- package/build/components/SearchListInput/SearchListInput.js +20 -0
- package/build/components/SearchListInput/index.d.ts +2 -0
- package/build/components/SearchListInput/index.js +2 -0
- package/build/components/SearchListInput/style.d.ts +7 -0
- package/build/components/SearchListInput/style.js +15 -0
- package/build/components/SelectDropdown/SelectDropdown.d.ts +3 -1
- package/build/components/SelectDropdown/SelectDropdown.js +4 -3
- package/build/components/SelectDropdown/style.d.ts +1 -1
- package/build/components/SelectWithSearch/SelectWithSearch.d.ts +1 -1
- package/build/components/SelectWithSearch/SelectWithSearch.js +7 -6
- package/build/components/SelectWithSearch/style.d.ts +3 -3
- package/build/components/SelectWithSearch/type.d.ts +1 -0
- package/build/components/StatusBar/StatusBar.d.ts +3 -1
- package/build/components/StatusBar/StatusBar.js +13 -18
- package/build/components/StatusBar/type.d.ts +2 -1
- package/build/components/StatusBar/type.js +0 -6
- package/build/components/StatusButton/StatusButton.js +29 -9
- package/build/components/StatusButton/constant.d.ts +5 -0
- package/build/components/StatusButton/constant.js +8 -1
- package/build/components/StatusButton/style.d.ts +10 -4
- package/build/components/StatusButton/style.js +11 -0
- package/build/components/StatusButton/type.d.ts +16 -2
- package/build/components/StatusChip/StatusChip.d.ts +1 -1
- package/build/components/StatusChip/StatusChip.js +26 -13
- package/build/components/StatusChip/style.d.ts +6 -0
- package/build/components/StatusChip/style.js +17 -13
- package/build/components/StatusChip/type.d.ts +6 -0
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.d.ts +3 -1
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +2 -2
- package/build/components/StatusFilter/StatusFilter.d.ts +15 -0
- package/build/components/StatusFilter/StatusFilter.js +88 -0
- package/build/components/StatusFilter/index.d.ts +1 -0
- package/build/components/StatusFilter/index.js +1 -0
- package/build/components/StatusFilter/utils.d.ts +4 -0
- package/build/components/StatusFilter/utils.js +10 -0
- package/build/components/StatusIcons/AuthIcons/constants.js +5 -0
- package/build/components/StatusIcons/AuthIcons/style.d.ts +20 -20
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.d.ts +1 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +23 -3
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.d.ts +1 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +24 -4
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +10 -10
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/type.d.ts +3 -0
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.d.ts +4 -2
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +9 -4
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.d.ts +5 -1
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +23 -19
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +60 -60
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.d.ts +5 -2
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +14 -6
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.d.ts +1 -1
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +4 -6
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +1 -1
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.d.ts +5 -1
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +8 -3
- package/build/components/StatusIcons/RefundIcon/RefundIcon.d.ts +5 -1
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +18 -10
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.d.ts +6 -2
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +2 -2
- package/build/components/StatusIcons/SourceIcons/index.d.ts +1 -0
- package/build/components/StatusIcons/SourceIcons/index.js +1 -0
- package/build/components/StatusIcons/SourceIcons/style.d.ts +10 -10
- package/build/components/StatusIcons/index.d.ts +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +2 -3
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +19 -17
- package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.d.ts → components/ActionIconColumn.d.ts} +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/{ActionIconColumn.js → components/ActionIconColumn.js} +20 -17
- package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.d.ts → components/ActionsColumn.d.ts} +2 -2
- package/build/components/TableCells/CustomCells/ActionCell/{ActionsColumn.js → components/ActionsColumn.js} +7 -7
- package/build/components/TableCells/CustomCells/ActionCell/components/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ActionCell/components/index.js +2 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +3 -1
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +3 -1
- package/build/components/TableCells/CustomCells/ActionCell/index.d.ts +1 -3
- package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -3
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +13 -13
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -2
- package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +266 -0
- package/build/components/TableCells/CustomCells/AgreementCell/style.js +22 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +8 -10
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.d.ts +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +23 -0
- package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.js → components/AmountConversionTooltipLabel.js} +4 -4
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.d.ts +7 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +7 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.d.ts +7 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +8 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/index.d.ts +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/components/index.js +3 -0
- package/build/components/TableCells/CustomCells/AmountCell/index.d.ts +3 -1
- package/build/components/TableCells/CustomCells/AmountCell/index.js +3 -1
- package/build/components/TableCells/CustomCells/AmountCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -6
- package/build/components/TableCells/CustomCells/AmountCell/type.d.ts +22 -0
- package/build/components/TableCells/CustomCells/AmountCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +14 -12
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +20 -20
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.d.ts +2 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +6 -4
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +11 -21
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +10 -0
- package/build/components/TableCells/CustomCells/BalanceCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/BalanceCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/BalanceCell/type.d.ts +9 -4
- package/build/components/TableCells/CustomCells/BankCell/BankCell.js +3 -7
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -0
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +4 -6
- package/build/components/TableCells/CustomCells/BrandsCell/style.d.ts +10 -3
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +21 -19
- package/build/components/TableCells/CustomCells/BrandsCell/type.d.ts +2 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +3 -4
- package/build/components/TableCells/CustomCells/CurrencyCell/style.d.ts +0 -2
- package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -10
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +2 -5
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +8 -0
- package/build/components/TableCells/CustomCells/CustomerCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/CustomerCell/type.d.ts +15 -0
- package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +9 -3
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +13 -16
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +3 -0
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +29 -0
- package/build/components/TableCells/CustomCells/DateCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/DateCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +8 -31
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +31 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.d.ts +3 -0
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +35 -0
- package/build/components/TableCells/CustomCells/DestinationCell/index.d.ts +3 -1
- package/build/components/TableCells/CustomCells/DestinationCell/index.js +3 -1
- package/build/components/TableCells/CustomCells/DestinationCell/type.d.ts +34 -0
- package/build/components/TableCells/CustomCells/DestinationCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/DestinationCell/utils.js +3 -3
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +13 -170
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +15 -10
- package/build/components/TableCells/CustomCells/DueDateCell/style.js +7 -0
- package/build/components/TableCells/CustomCells/DueDateCell/type.d.ts +0 -2
- package/build/components/TableCells/CustomCells/DueDateCell/utils.d.ts +8 -0
- package/build/components/TableCells/CustomCells/DueDateCell/utils.js +43 -1
- package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +5 -5
- package/build/components/TableCells/CustomCells/EntityCell/constants.js +3 -3
- package/build/components/TableCells/CustomCells/EntityCell/style.d.ts +10 -5
- package/build/components/TableCells/CustomCells/EntityCell/style.js +12 -36
- package/build/components/TableCells/CustomCells/IDButton/IDButton.d.ts +3 -2
- package/build/components/TableCells/CustomCells/IDButton/IDButton.js +7 -7
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +20 -20
- package/build/components/TableCells/CustomCells/IDButton/style.js +1 -1
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
- package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +3 -3
- package/build/components/TableCells/CustomCells/IndividualsCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.d.ts +11 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +18 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +39 -59
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +4 -4
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +12 -10
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +18 -0
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.d.ts +2 -1
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.d.ts +1 -0
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.d.ts +7 -0
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +23 -0
- package/build/components/TableCells/CustomCells/LinkCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/LinkCell/style.d.ts +4 -0
- package/build/components/TableCells/CustomCells/LinkCell/style.js +12 -0
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +13 -14
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -4
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +20 -0
- package/build/components/TableCells/CustomCells/OrderCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.d.ts +22 -0
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +32 -0
- package/build/components/TableCells/CustomCells/OrdersCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.d.ts +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.d.ts +6 -0
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +5 -6
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +274 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +2 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +8 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/ProductsCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +23 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/constants.js +7 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.d.ts +5 -0
- package/build/components/TableCells/CustomCells/ProviderCell/style.js +19 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.d.ts +5 -0
- package/build/components/TableCells/CustomCells/ProviderCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.d.ts +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +20 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.d.ts +8 -0
- package/build/components/TableCells/CustomCells/PurposeCell/constants.js +21 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.d.ts +9 -0
- package/build/components/TableCells/CustomCells/PurposeCell/style.js +35 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.d.ts +5 -0
- package/build/components/TableCells/CustomCells/PurposeCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.d.ts +2 -5
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +3 -7
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +5 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/type.d.ts +3 -0
- package/build/components/TableCells/CustomCells/ReceiptCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +3 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/ReferenceCell/style.js +3 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +20 -20
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +6 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +4 -7
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +8 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +11 -11
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +3 -3
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +12 -8
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.d.ts +3 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +54 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +15 -11
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +13 -7
- package/build/components/TableCells/CustomCells/SalesChannelCell/type.d.ts +4 -2
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.d.ts +3 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +69 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +24 -18
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +10 -10
- package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +14 -0
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.d.ts +5 -3
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +24 -76
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.d.ts +10 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +13 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +6 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.d.ts +3 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.d.ts +5 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.d.ts +3 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/index.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/components/index.js +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/constant.d.ts +4 -0
- package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
- package/build/components/TableCells/CustomCells/SourceCell/index.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +6 -268
- package/build/components/TableCells/CustomCells/SourceCell/style.js +8 -38
- package/build/components/TableCells/CustomCells/SourceCell/type.d.ts +17 -0
- package/build/components/TableCells/CustomCells/SourceCell/type.js +12 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.d.ts +1 -4
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +6 -11
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.d.ts +4 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +21 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.d.ts +6 -0
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +42 -0
- package/build/components/TableCells/CustomCells/StatusCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/StatusCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +62 -62
- package/build/components/TableCells/CustomCells/StatusCell/style.js +3 -1
- package/build/components/TableCells/CustomCells/StatusCell/type.d.ts +2 -4
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.d.ts +6 -0
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +8 -0
- package/build/components/TableCells/CustomCells/StatusCell/utils.d.ts +2 -1
- package/build/components/TableCells/CustomCells/StatusCell/utils.js +2 -1
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.d.ts +21 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +31 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +50 -50
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +2 -6
- package/build/components/TableCells/CustomCells/index.d.ts +7 -3
- package/build/components/TableCells/CustomCells/index.js +7 -3
- package/build/components/TableCells/CustomCells/style.d.ts +11 -12
- package/build/components/TableCells/CustomCells/style.js +3 -7
- package/build/components/TableCells/CustomCells/type.d.ts +7 -65
- package/build/components/TableHeader/FiltersRow.d.ts +1 -1
- package/build/components/TableHeader/FiltersRow.js +17 -4
- package/build/components/TableHeader/FiltersRowWrapper.d.ts +5 -0
- package/build/components/TableHeader/FiltersRowWrapper.js +18 -0
- package/build/components/TableHeader/TableHeader.d.ts +5 -4
- package/build/components/TableHeader/TableHeader.js +21 -6
- package/build/components/TableHeader/TableHeaderWrapper.d.ts +5 -0
- package/build/components/TableHeader/TableHeaderWrapper.js +18 -0
- package/build/components/TableHeader/TableModeButton.d.ts +9 -0
- package/build/components/TableHeader/TableModeButton.js +11 -0
- package/build/components/TableHeader/TableView/ColumnItem.d.ts +14 -0
- package/build/components/TableHeader/TableView/ColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/CustomViews.d.ts +5 -0
- package/build/components/TableHeader/TableView/CustomViews.js +21 -0
- package/build/components/TableHeader/TableView/DefaultViews.d.ts +13 -0
- package/build/components/TableHeader/TableView/DefaultViews.js +22 -0
- package/build/components/TableHeader/TableView/TableView.d.ts +12 -0
- package/build/components/TableHeader/TableView/TableView.js +55 -0
- package/build/components/TableHeader/TableView/hooks/index.d.ts +3 -0
- package/build/components/TableHeader/TableView/hooks/index.js +3 -0
- package/build/components/TableHeader/TableView/hooks/useColumnItem.d.ts +21 -0
- package/build/components/TableHeader/TableView/hooks/useColumnItem.js +29 -0
- package/build/components/TableHeader/TableView/hooks/useSubMenu.d.ts +10 -0
- package/build/components/TableHeader/TableView/hooks/useSubMenu.js +31 -0
- package/build/components/TableHeader/TableView/hooks/useViewColumns.d.ts +13 -0
- package/build/components/TableHeader/TableView/hooks/useViewColumns.js +45 -0
- package/build/components/TableHeader/TableView/index.d.ts +3 -0
- package/build/components/TableHeader/TableView/index.js +3 -0
- package/build/components/TableHeader/TableView/style.d.ts +24 -0
- package/build/components/TableHeader/TableView/style.js +102 -0
- package/build/components/TableHeader/TableView/type.d.ts +10 -0
- package/build/components/TableHeader/TableView/type.js +1 -0
- package/build/components/TableHeader/data.d.ts +5 -0
- package/build/components/TableHeader/data.js +7 -0
- package/build/components/TableHeader/index.d.ts +6 -2
- package/build/components/TableHeader/index.js +6 -2
- package/build/components/TableHeader/style.d.ts +2 -2
- package/build/components/TableHeader/style.js +1 -1
- package/build/components/TableHeader/type.d.ts +19 -11
- package/build/components/TableHeader/type.js +0 -7
- package/build/components/TableReports/DownloadIconButton.d.ts +6 -0
- package/build/components/TableReports/DownloadIconButton.js +20 -0
- package/build/components/TableReports/Downloads.d.ts +10 -0
- package/build/components/TableReports/Downloads.js +24 -0
- package/build/components/TableReports/RecordLoading.d.ts +1 -0
- package/build/components/TableReports/RecordLoading.js +6 -0
- package/build/components/TableReports/TableReports.d.ts +5 -0
- package/build/components/TableReports/TableReports.js +53 -0
- package/build/components/TableReports/components/DownloadButton/DownloadButton.d.ts +8 -0
- package/build/components/TableReports/components/DownloadButton/DownloadButton.js +16 -0
- package/build/components/TableReports/components/DownloadButton/index.d.ts +2 -0
- package/build/components/TableReports/components/DownloadButton/index.js +2 -0
- package/build/components/TableReports/components/DownloadButton/style.d.ts +263 -0
- package/build/components/TableReports/components/DownloadButton/style.js +15 -0
- package/build/components/TableReports/hooks/index.d.ts +1 -0
- package/build/components/TableReports/hooks/index.js +1 -0
- package/build/components/TableReports/hooks/useDownloadReport.d.ts +11 -0
- package/build/components/TableReports/hooks/useDownloadReport.js +59 -0
- package/build/components/TableReports/index.d.ts +7 -0
- package/build/components/TableReports/index.js +7 -0
- package/build/components/TableReports/style.d.ts +323 -0
- package/build/components/TableReports/style.js +163 -0
- package/build/components/TableReports/type.d.ts +32 -0
- package/build/components/TableReports/type.js +1 -0
- package/build/components/TableReports/utils.d.ts +2 -0
- package/build/components/TableReports/utils.js +32 -0
- package/build/components/TableView/CustomViews.js +2 -0
- package/build/components/TableView/TableView.js +1 -0
- package/build/components/Timepicker/Timepicker.d.ts +2 -1
- package/build/components/Timepicker/Timepicker.js +9 -7
- package/build/components/Timepicker/index.d.ts +1 -0
- package/build/components/Timepicker/index.js +1 -0
- package/build/components/Timepicker/style.d.ts +3 -2
- package/build/components/Timepicker/style.js +1 -1
- package/build/components/Timepicker/utils.js +9 -5
- package/build/components/Toaster/Toaster.d.ts +1 -0
- package/build/components/Toaster/Toaster.js +12 -0
- package/build/components/Toaster/index.d.ts +2 -0
- package/build/components/Toaster/index.js +2 -0
- package/build/components/ToggleView/ToggleView.d.ts +16 -0
- package/build/components/ToggleView/ToggleView.js +32 -0
- package/build/components/ToggleView/ToggleWrapper.d.ts +4 -0
- package/build/components/ToggleView/ToggleWrapper.js +8 -0
- package/build/components/ToggleView/index.d.ts +3 -0
- package/build/components/ToggleView/index.js +3 -0
- package/build/components/ToggleView/style.d.ts +14 -0
- package/build/components/ToggleView/style.js +31 -0
- package/build/components/ToggleView/types.d.ts +6 -0
- package/build/components/ToggleView/types.js +6 -0
- package/build/components/Toolbar/style.d.ts +5 -2
- package/build/components/Toolbar/style.js +6 -1
- package/build/components/ToolbarIcon/ExpandButton/style.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +5 -2
- package/build/components/TreeDropdown/TreeDropdown.d.ts +4 -0
- package/build/components/TreeDropdown/TreeDropdown.js +67 -0
- package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.d.ts +8 -0
- package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +17 -0
- package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.d.ts +12 -0
- package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +64 -0
- package/build/components/TreeDropdown/TreeNodeItem/index.d.ts +2 -0
- package/build/components/TreeDropdown/TreeNodeItem/index.js +2 -0
- package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +14 -0
- package/build/components/TreeDropdown/TreeNodeItem/style.js +46 -0
- package/build/components/TreeDropdown/TreeNodeList/List.d.ts +6 -0
- package/build/components/TreeDropdown/TreeNodeList/List.js +17 -0
- package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.d.ts +17 -0
- package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +36 -0
- package/build/components/TreeDropdown/TreeNodeList/index.d.ts +2 -0
- package/build/components/TreeDropdown/TreeNodeList/index.js +2 -0
- package/build/components/TreeDropdown/TreeNodeList/style.d.ts +7 -0
- package/build/components/TreeDropdown/TreeNodeList/style.js +60 -0
- package/build/components/TreeDropdown/context/TreeDropdownProvider.d.ts +15 -0
- package/build/components/TreeDropdown/context/TreeDropdownProvider.js +13 -0
- package/build/components/TreeDropdown/hooks/useSearch.d.ts +17 -0
- package/build/components/TreeDropdown/hooks/useSearch.js +38 -0
- package/build/components/TreeDropdown/hooks/useTreeDropdown.d.ts +12 -0
- package/build/components/TreeDropdown/hooks/useTreeDropdown.js +10 -0
- package/build/components/TreeDropdown/index.d.ts +4 -0
- package/build/components/TreeDropdown/index.js +4 -0
- package/build/components/TreeDropdown/style.d.ts +9 -0
- package/build/components/TreeDropdown/style.js +43 -0
- package/build/components/TreeDropdown/type.d.ts +89 -0
- package/build/components/TreeDropdown/type.js +6 -0
- package/build/components/TreeDropdown/utils.d.ts +21 -0
- package/build/components/TreeDropdown/utils.js +161 -0
- package/build/components/VAT/TotalVAT/TotalVAT.d.ts +12 -0
- package/build/components/VAT/TotalVAT/TotalVAT.js +33 -0
- package/build/components/VAT/TotalVAT/index.d.ts +1 -0
- package/build/components/VAT/TotalVAT/index.js +1 -0
- package/build/components/VAT/TotalVAT/style.d.ts +12 -0
- package/build/components/VAT/TotalVAT/style.js +5 -0
- package/build/components/VAT/VATDropdown/VATDropdown.d.ts +11 -0
- package/build/components/VAT/VATDropdown/VATDropdown.js +34 -0
- package/build/components/VAT/VATDropdown/index.d.ts +1 -0
- package/build/components/VAT/VATDropdown/index.js +1 -0
- package/build/components/VAT/VATDropdown/style.d.ts +7 -0
- package/build/components/VAT/VATDropdown/style.js +32 -0
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.d.ts +10 -0
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +38 -0
- package/build/components/VAT/VATRateDropdown/index.d.ts +1 -0
- package/build/components/VAT/VATRateDropdown/index.js +1 -0
- package/build/components/VAT/VATRateDropdown/style.d.ts +7 -0
- package/build/components/VAT/VATRateDropdown/style.js +30 -0
- package/build/components/VAT/index.d.ts +4 -0
- package/build/components/VAT/index.js +4 -0
- package/build/components/VAT/utils.d.ts +7 -0
- package/build/components/VAT/utils.js +8 -0
- package/build/components/VerificationIcon/VerificationIcon.d.ts +5 -0
- package/build/components/VerificationIcon/VerificationIcon.js +7 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.d.ts +5 -0
- package/build/components/VerificationIcon/VerificationIconWithBg.js +15 -0
- package/build/components/VerificationIcon/constant.d.ts +2 -0
- package/build/components/VerificationIcon/constant.js +18 -0
- package/build/components/VerificationIcon/index.d.ts +3 -0
- package/build/components/VerificationIcon/index.js +3 -0
- package/build/components/VerificationIcon/type.d.ts +2 -0
- package/build/components/VerificationIcon/type.js +1 -0
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.d.ts +2 -0
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +28 -0
- package/build/components/ViewColumnRadioFilter/index.d.ts +1 -0
- package/build/components/ViewColumnRadioFilter/index.js +1 -0
- package/build/components/ViewColumnRadioFilter/style.d.ts +3 -0
- package/build/components/ViewColumnRadioFilter/style.js +20 -0
- package/build/components/ViewColumnRadioFilter/type.d.ts +9 -0
- package/build/components/ViewColumnRadioFilter/type.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +60 -10
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +7 -3
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +7 -3
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.d.ts +4 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +25 -12
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +41 -4
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.d.ts +3 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +8 -4
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.d.ts +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +41 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.d.ts +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +10 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.d.ts +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.d.ts +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +5 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.d.ts +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.d.ts +16 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +152 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.d.ts +64 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +29 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.d.ts +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +4 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.d.ts +17 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +55 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.d.ts +45 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.d.ts +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.d.ts +18 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +127 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.d.ts +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +1 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.d.ts +12 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +26 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.d.ts +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +17 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.d.ts +3 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +7 -5
- package/build/components/VirtualTables/SheetViewVirtualTable/style.d.ts +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/style.js +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/types.d.ts +11 -0
- package/build/components/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
- package/build/components/VirtualTables/VirtualTable/VirtualTable.js +24 -6
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.d.ts +1 -1
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +8 -3
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +18 -30
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +4 -1
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
- package/build/components/VirtualTables/components/ColumnFilter/type.d.ts +2 -0
- package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
- package/build/components/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
- package/build/components/VirtualTables/components/TableFooter/TableFooter.js +2 -2
- package/build/components/VirtualTables/components/TableFooter/style.d.ts +2 -2
- package/build/components/VirtualTables/components/TableHeader/TableHeader.d.ts +1 -1
- package/build/components/VirtualTables/components/TableHeader/TableHeader.js +2 -2
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.d.ts +2 -1
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +4 -2
- package/build/components/VirtualTables/components/TableHeader/style.d.ts +2 -2
- package/build/components/VirtualTables/components/TableHeader/type.d.ts +1 -0
- package/build/components/VirtualTables/components/TableRow.d.ts +4 -3
- package/build/components/VirtualTables/components/TableRow.js +74 -34
- package/build/components/VirtualTables/components/style.d.ts +15 -16
- package/build/components/VirtualTables/components/style.js +19 -3
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +1 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +5 -3
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +2 -0
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +16 -1
- package/build/components/VirtualTables/hooks/useColumnFilter.d.ts +10 -0
- package/build/components/VirtualTables/hooks/useColumnFilter.js +22 -0
- package/build/components/Widget/List.d.ts +2 -1
- package/build/components/Widget/List.js +2 -2
- package/build/components/Widget/style.d.ts +1 -1
- package/build/components/Widget/useScrollWithShadow.js +5 -4
- package/build/components/Window/Window.d.ts +4 -2
- package/build/components/Window/Window.js +8 -6
- package/build/components/Window/style.d.ts +21 -21
- package/build/components/Window/style.js +1 -1
- package/build/components/WindowAppIcon/style.d.ts +1 -1
- package/build/components/WindowBackdrop/WindowBackdrop.d.ts +6 -0
- package/build/components/WindowBackdrop/WindowBackdrop.js +9 -0
- package/build/components/WindowBackdrop/index.d.ts +1 -0
- package/build/components/WindowBackdrop/index.js +1 -0
- package/build/components/WindowSideBar/WindowSideBar.d.ts +4 -8
- package/build/components/WindowSideBar/index.d.ts +1 -0
- package/build/components/WindowSideBar/type.d.ts +10 -0
- package/build/components/WindowSideBar/type.js +1 -0
- package/build/components/index.d.ts +57 -4
- package/build/components/index.js +57 -4
- package/build/constants/api.d.ts +3 -3
- package/build/constants/api.js +3 -3
- package/build/constants/apps.d.ts +290 -0
- package/build/constants/apps.js +139 -8
- package/build/constants/assets.d.ts +78 -0
- package/build/constants/assets.js +85 -3
- package/build/constants/authentication.d.ts +2 -0
- package/build/constants/authentication.js +14 -0
- package/build/constants/chips/index.d.ts +1 -0
- package/build/constants/chips/index.js +1 -0
- package/build/{components/StatusChip/constants.d.ts → constants/chips/statusChips.d.ts} +1 -1
- package/build/{components/StatusChip/constants.js → constants/chips/statusChips.js} +1 -1
- package/build/constants/country.d.ts +1 -0
- package/build/constants/country.js +1 -0
- package/build/constants/currency.js +1 -0
- package/build/constants/document.d.ts +5 -0
- package/build/constants/document.js +5 -0
- package/build/constants/index.d.ts +7 -0
- package/build/constants/index.js +7 -0
- package/build/constants/payment.d.ts +10 -0
- package/build/constants/payment.js +22 -7
- package/build/constants/rate.d.ts +6 -0
- package/build/constants/rate.js +6 -0
- package/build/constants/reports.d.ts +48 -0
- package/build/constants/reports.js +109 -0
- package/build/constants/segment.d.ts +13 -0
- package/build/constants/segment.js +12 -0
- package/build/constants/server.js +3 -3
- package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +26 -6
- package/build/constants/table/cell/authenticationsTableCellWidth.js +26 -6
- package/build/constants/table/cell/authorizationTableCellWidth.d.ts +103 -18
- package/build/constants/table/cell/authorizationTableCellWidth.js +103 -18
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +46 -16
- package/build/constants/table/cell/chargeTableCellWidth.js +46 -16
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +105 -15
- package/build/constants/table/cell/destinationsTableCellWidth.js +105 -15
- package/build/constants/table/cell/invoicesTableCellWidth.d.ts +28 -8
- package/build/constants/table/cell/invoicesTableCellWidth.js +28 -8
- package/build/constants/table/cell/merchantsTableCellWidth.d.ts +98 -18
- package/build/constants/table/cell/merchantsTableCellWidth.js +98 -18
- package/build/constants/table/cell/payoutsTableCellWidth.d.ts +2 -2
- package/build/constants/table/cell/payoutsTableCellWidth.js +2 -2
- package/build/constants/table/cell/refundTableCellWidth.d.ts +114 -19
- package/build/constants/table/cell/refundTableCellWidth.js +114 -19
- package/build/constants/table/cell/terminalsTableCellWidth.d.ts +12 -12
- package/build/constants/table/cell/terminalsTableCellWidth.js +12 -12
- package/build/constants/table/cell/walletTableCellWidth.d.ts +1 -1
- package/build/constants/table/cell/walletTableCellWidth.js +1 -1
- package/build/constants/table.d.ts +2 -0
- package/build/constants/table.js +2 -0
- package/build/constants/timezones.js +3 -1
- package/build/hooks/index.d.ts +7 -1
- package/build/hooks/index.js +7 -1
- package/build/hooks/useAppEventListener.d.ts +2 -0
- package/build/hooks/useAppEventListener.js +13 -0
- package/build/hooks/useAppEventPublisher.d.ts +2 -0
- package/build/hooks/useAppEventPublisher.js +7 -0
- package/build/hooks/useAppsInfo.d.ts +17 -0
- package/build/hooks/useAppsInfo.js +21 -0
- package/build/hooks/useCountdown.js +4 -0
- package/build/hooks/useNetworkState.d.ts +12 -0
- package/build/hooks/useNetworkState.js +112 -0
- package/build/hooks/useScrolledTo.d.ts +13 -0
- package/build/hooks/useScrolledTo.js +45 -0
- package/build/hooks/useSelectedMerchantDetails.d.ts +10 -0
- package/build/hooks/useSelectedMerchantDetails.js +15 -0
- package/build/hooks/useStickyHeaderShadow.js +6 -0
- package/build/hooks/useToast.d.ts +12 -0
- package/build/hooks/useToast.js +29 -0
- package/build/theme/shadows.js +1 -1
- package/build/types/account.d.ts +2 -1
- package/build/types/account.js +1 -0
- package/build/types/appEvents.d.ts +51 -0
- package/build/types/appEvents.js +16 -0
- package/build/types/apps.d.ts +80 -10
- package/build/types/brand.d.ts +3 -1
- package/build/types/charge.d.ts +125 -0
- package/build/types/column.d.ts +4 -1
- package/build/types/common.d.ts +7 -0
- package/build/types/common.js +1 -0
- package/build/types/destination.d.ts +14 -0
- package/build/types/discount.d.ts +5 -0
- package/build/types/discount.js +6 -0
- package/build/types/document.d.ts +2 -0
- package/build/types/document.js +1 -0
- package/build/types/entity.d.ts +29 -2
- package/build/types/filter.d.ts +5 -0
- package/build/types/filter.js +6 -0
- package/build/types/flag.d.ts +27 -0
- package/build/types/flag.js +1 -0
- package/build/types/index.d.ts +12 -1
- package/build/types/index.js +12 -1
- package/build/types/invoice.d.ts +1 -6
- package/build/types/invoice.js +0 -6
- package/build/types/merchant.d.ts +109 -88
- package/build/types/receipt.d.ts +4 -0
- package/build/types/receipt.js +1 -0
- package/build/types/refund.d.ts +440 -0
- package/build/types/reports.d.ts +27 -0
- package/build/types/reports.js +7 -0
- package/build/types/segment.d.ts +15 -0
- package/build/types/segment.js +16 -1
- package/build/types/table.d.ts +16 -8
- package/build/types/toast.d.ts +16 -0
- package/build/types/toast.js +1 -0
- package/build/types/tsUtils.d.ts +12 -0
- package/build/types/tsUtils.js +1 -0
- package/build/types/user.d.ts +67 -21
- package/build/types/utilities.d.ts +24 -0
- package/build/types/utilities.js +1 -0
- package/build/types/window.d.ts +4 -0
- package/build/types/window.js +1 -0
- package/build/utils/api.js +3 -0
- package/build/utils/array.js +5 -1
- package/build/utils/billing.js +1 -0
- package/build/utils/boolean.d.ts +1 -0
- package/build/utils/boolean.js +7 -0
- package/build/utils/color.d.ts +11 -0
- package/build/utils/color.js +27 -0
- package/build/utils/columnResizeStorage.d.ts +16 -0
- package/build/utils/columnResizeStorage.js +96 -0
- package/build/utils/columns.d.ts +2 -2
- package/build/utils/columns.js +3 -4
- package/build/utils/country.d.ts +2 -1
- package/build/utils/country.js +6 -3
- package/build/utils/currency.d.ts +0 -1
- package/build/utils/currency.js +8 -8
- package/build/utils/date.d.ts +12 -0
- package/build/utils/date.js +66 -6
- package/build/utils/encrypt.js +3 -1
- package/build/utils/error.js +2 -0
- package/build/utils/freshdesk.js +2 -0
- package/build/utils/geography.js +1 -1
- package/build/utils/index.d.ts +4 -0
- package/build/utils/index.js +4 -0
- package/build/utils/localStorage.d.ts +10 -1
- package/build/utils/localStorage.js +51 -0
- package/build/utils/merchant.js +3 -0
- package/build/utils/merchantSource.d.ts +30 -0
- package/build/utils/merchantSource.js +36 -0
- package/build/utils/navigation.d.ts +1 -1
- package/build/utils/number.d.ts +2 -0
- package/build/utils/number.js +8 -0
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +4 -3
- package/build/utils/segment.d.ts +59 -2
- package/build/utils/segment.js +48 -0
- package/build/utils/source.d.ts +1 -0
- package/build/utils/source.js +5 -0
- package/build/utils/string.d.ts +8 -0
- package/build/utils/string.js +14 -0
- package/build/utils/style.d.ts +19 -1
- package/build/utils/style.js +49 -16
- package/build/utils/table.d.ts +15 -2
- package/build/utils/table.js +155 -3
- package/build/utils/timezone.d.ts +2 -0
- package/build/utils/timezone.js +3 -0
- package/build/utils/url.d.ts +1 -0
- package/build/utils/url.js +12 -0
- package/package.json +35 -2
- package/build/components/CurrencyIcon/CurrencyIcon.d.ts +0 -5
- package/build/components/CurrencyIcon/CurrencyIcon.js +0 -15
- package/build/components/CurrencyIcon/index.d.ts +0 -2
- package/build/components/CurrencyIcon/index.js +0 -2
- package/build/components/CurrencyIcon/style.js +0 -13
- package/build/components/Notifications/Notifications.d.ts +0 -1
- package/build/components/Notifications/Notifications.js +0 -12
- package/build/components/Notifications/index.d.ts +0 -2
- package/build/components/Notifications/index.js +0 -2
- package/build/components/TableCells/CustomCells/SourceCell/utils.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/utils.js +0 -8
- package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.d.ts +0 -11
- package/build/components/TableCells/CustomCells/SourceMergedCell/CollapsedViewIcon.js +0 -51
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.d.ts +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +0 -99
- package/build/components/TableCells/CustomCells/SourceMergedCell/index.d.ts +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +0 -1622
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.js +0 -95
- package/build/components/TableCells/CustomCells/SourceMergedCell/type.d.ts +0 -19
- package/build/components/TableCells/CustomCells/SourceMergedCell/utils.d.ts +0 -12
- package/build/components/TableCells/CustomCells/SourceMergedCell/utils.js +0 -12
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.d.ts +0 -12
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.js +0 -20
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.d.ts +0 -12
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js +0 -19
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.js +0 -1
- package/build/hooks/useCheckInternetConnection.d.ts +0 -1
- package/build/hooks/useCheckInternetConnection.js +0 -17
- package/build/types/source.d.ts +0 -1
- /package/build/components/{TableCells/CustomCells/SourceMergedCell → ErrorToast}/type.js +0 -0
- /package/build/{types/source.js → components/FileInputPreview/type.js} +0 -0
- /package/build/components/TableCells/CustomCells/AmountCell/{AmountConversionTooltipLabel.d.ts → components/AmountConversionTooltipLabel.d.ts} +0 -0
- /package/build/components/{Notifications → Toaster}/style.d.ts +0 -0
- /package/build/components/{Notifications → Toaster}/style.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ISheetViewVirtualTable } from './types';
|
|
3
|
-
declare function SheetViewVirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded, tableBodyStyles, tableTitle,
|
|
3
|
+
declare function SheetViewVirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded, tableBodyStyles, tableTitle, onStartDrag, onColumnPin, clearBackdropVisibilityTimeout, isPinnable, tableMode, overscanCount, windowId, serviceCode, customNoDataComponent, }: Readonly<ISheetViewVirtualTable>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: import("react").MemoExoticComponent<typeof SheetViewVirtualTable>;
|
|
5
5
|
export default _default;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useCallback } from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { memo, useCallback, useMemo, useRef, useEffect } from 'react';
|
|
3
|
+
import { SHEET_VIEW_TABLE_THRESHOLD } from '../../../constants/index.js';
|
|
4
4
|
import TableFooter from '../components/TableFooter/TableFooter';
|
|
5
5
|
import { SheetViewTableContainer } from '../components/style';
|
|
6
6
|
import { SheetViewVirtualTableWrapper } from './style';
|
|
7
|
-
import { usePinnedColumns, useSynchronizedScroll, useTableState, useTableData, useVirtualTableContainer,
|
|
7
|
+
import { usePinnedColumns, useSynchronizedScroll, useTableState, useTableData, useVirtualTableContainer, useTableDimensions } from './hooks';
|
|
8
|
+
import { useColumnResize, useColumnResizeWithPinned, applyColumnWidths } from './features/resize';
|
|
9
|
+
import { ResizeOverlay } from './features/resize/components';
|
|
8
10
|
import { PinnedColumn, MainTable, LoadingMainTable, NoDataView, VirtualTable } from './components';
|
|
9
|
-
function SheetViewVirtualTable({ columns, rows, threshold =
|
|
10
|
-
|
|
11
|
+
function SheetViewVirtualTable({ columns, rows, threshold = SHEET_VIEW_TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = 28, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded = false, tableBodyStyles, tableTitle, onStartDrag, onColumnPin, clearBackdropVisibilityTimeout = 100, isPinnable = false, tableMode, overscanCount, windowId, serviceCode, customNoDataComponent, }) {
|
|
12
|
+
// Custom hooks for state management
|
|
13
|
+
const { selectedCell, selectedColumn, selectedRow, showBackDrop, setShowBackdrop, handleCellClick, handleColumnClick, handleChipClick, selectedChip, } = useTableState();
|
|
14
|
+
// Refs and state for resize indicator positioning
|
|
15
|
+
const tableContainerRef = useRef(null);
|
|
16
|
+
const tableWrapperRef = useRef(null);
|
|
17
|
+
// Table data processing
|
|
11
18
|
const { isError, tableLoading, tableError, tableEmpty, hasTimeoutError, showNoDataView, lastItemIndex, areTotalRowsNotFillingHeight, itemsCount, isDelayedFetchingNextPage, } = useTableData({
|
|
12
19
|
rows,
|
|
13
20
|
isLoading,
|
|
@@ -15,9 +22,43 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
|
|
|
15
22
|
isFetchingNextPage,
|
|
16
23
|
areAllRowsLoaded,
|
|
17
24
|
});
|
|
25
|
+
// Column management
|
|
18
26
|
const { pinnedStartColumns, pinnedEndColumns, handleColumnPin, pinnedStartColumnsData, pinnedEndColumnsData, unpinnedColumnsData, orderedColumns, lastColumnId, } = usePinnedColumns(columns, isPinnable, onColumnPin);
|
|
27
|
+
// Scroll synchronization
|
|
19
28
|
const { pinnedStartVirtualListRef, scrollableVirtualListRef, pinnedEndVirtualListRef, handleScroll } = useSynchronizedScroll();
|
|
20
|
-
|
|
29
|
+
// Reset virtual list cache when row count changes
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
var _a, _b, _c;
|
|
32
|
+
// Reset all virtual lists to recalculate item sizes
|
|
33
|
+
(_a = pinnedStartVirtualListRef.current) === null || _a === void 0 ? void 0 : _a.resetAfterIndex(0);
|
|
34
|
+
(_b = scrollableVirtualListRef.current) === null || _b === void 0 ? void 0 : _b.resetAfterIndex(0);
|
|
35
|
+
(_c = pinnedEndVirtualListRef.current) === null || _c === void 0 ? void 0 : _c.resetAfterIndex(0);
|
|
36
|
+
}, [rows.length, pinnedStartVirtualListRef, scrollableVirtualListRef, pinnedEndVirtualListRef]);
|
|
37
|
+
// Column resize functionality
|
|
38
|
+
const { columnWidths, isResizing, resizingColumn, resizeIndicatorX, cursorPosition, startResize, handleColumnClick: handleColumnClickWithResize, } = useColumnResize({
|
|
39
|
+
columns,
|
|
40
|
+
handleColumnClick,
|
|
41
|
+
windowId,
|
|
42
|
+
serviceCode,
|
|
43
|
+
tableContainerRef: tableWrapperRef,
|
|
44
|
+
});
|
|
45
|
+
// Table dimensions for resize indicator positioning
|
|
46
|
+
const tableDimensions = useTableDimensions({
|
|
47
|
+
tableContainerRef,
|
|
48
|
+
showHeader: showHeader !== null && showHeader !== void 0 ? showHeader : false,
|
|
49
|
+
isResizing,
|
|
50
|
+
});
|
|
51
|
+
// Column width calculations with dynamic resize support
|
|
52
|
+
const { pinnedStartColumnsWidth, pinnedEndColumnsWidth, pinnedStartColumnsDataWithWidths, pinnedEndColumnsDataWithWidths } = useColumnResizeWithPinned({
|
|
53
|
+
pinnedStartColumnsData,
|
|
54
|
+
pinnedEndColumnsData,
|
|
55
|
+
columnWidths,
|
|
56
|
+
});
|
|
57
|
+
// Apply dynamic widths to unpinned columns
|
|
58
|
+
const unpinnedColumnsDataWithWidths = useMemo(() => applyColumnWidths(unpinnedColumnsData, columnWidths), [unpinnedColumnsData, columnWidths]);
|
|
59
|
+
// Apply dynamic widths to ordered columns (for no-data view)
|
|
60
|
+
const orderedColumnsWithWidths = useMemo(() => applyColumnWidths(orderedColumns, columnWidths), [orderedColumns, columnWidths]);
|
|
61
|
+
// Virtual table container logic
|
|
21
62
|
const { getItemSize, getItemDataForContainer } = useVirtualTableContainer({
|
|
22
63
|
rowHeight,
|
|
23
64
|
areAllRowsLoaded,
|
|
@@ -29,12 +70,13 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
|
|
|
29
70
|
isError,
|
|
30
71
|
selectedCell,
|
|
31
72
|
selectedColumn,
|
|
73
|
+
selectedRow,
|
|
32
74
|
selectedChip,
|
|
33
75
|
handleCellClick,
|
|
34
76
|
handleChipClick,
|
|
35
77
|
});
|
|
36
78
|
const onPointerDown = (e) => {
|
|
37
|
-
|
|
79
|
+
onStartDrag === null || onStartDrag === void 0 ? void 0 : onStartDrag(e);
|
|
38
80
|
};
|
|
39
81
|
const createVirtualTableContainer = useCallback((columnsData, containerKey, isPinned = false, fixedWidth) => {
|
|
40
82
|
const listRef = containerKey === 'pinnedStart' ? pinnedStartVirtualListRef : containerKey === 'pinnedEnd' ? pinnedEndVirtualListRef : scrollableVirtualListRef;
|
|
@@ -42,7 +84,7 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
|
|
|
42
84
|
const source = containerKey === 'pinnedStart' ? 'start' : containerKey === 'pinnedEnd' ? 'end' : 'scrollable';
|
|
43
85
|
handleScroll(scrollProps, source);
|
|
44
86
|
};
|
|
45
|
-
return (_jsx(VirtualTable, { columnsData: columnsData, itemCount: itemsCount, lastItemIndex: lastItemIndex, areAllRowsLoaded: areAllRowsLoaded, loadMoreItems: loadMoreItems, threshold: threshold, getItemSize: getItemSize, getItemData: getItemDataForContainer, isPinned: isPinned, fixedWidth: fixedWidth, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, onScroll: handleScrollCallback, setBackdropVisibility: setShowBackdrop, listRef: listRef }));
|
|
87
|
+
return (_jsx(VirtualTable, { columnsData: columnsData, itemCount: itemsCount, lastItemIndex: lastItemIndex, areAllRowsLoaded: areAllRowsLoaded, loadMoreItems: loadMoreItems, threshold: threshold, getItemSize: getItemSize, getItemData: getItemDataForContainer, isPinned: isPinned, fixedWidth: fixedWidth, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, onScroll: handleScrollCallback, setBackdropVisibility: setShowBackdrop, listRef: listRef, overscanCount: overscanCount }));
|
|
46
88
|
}, [
|
|
47
89
|
itemsCount,
|
|
48
90
|
lastItemIndex,
|
|
@@ -59,6 +101,7 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
|
|
|
59
101
|
pinnedStartVirtualListRef,
|
|
60
102
|
pinnedEndVirtualListRef,
|
|
61
103
|
scrollableVirtualListRef,
|
|
104
|
+
overscanCount,
|
|
62
105
|
]);
|
|
63
106
|
const baseCommonProps = {
|
|
64
107
|
showHeader,
|
|
@@ -70,7 +113,7 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
|
|
|
70
113
|
isPinnable,
|
|
71
114
|
lastColumnId,
|
|
72
115
|
selectedColumn,
|
|
73
|
-
onColumnClick:
|
|
116
|
+
onColumnClick: handleColumnClickWithResize,
|
|
74
117
|
tableTitle,
|
|
75
118
|
areAllRowsLoaded,
|
|
76
119
|
isFetchingNextPage,
|
|
@@ -80,9 +123,16 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
|
|
|
80
123
|
tableMode,
|
|
81
124
|
showNoDataView,
|
|
82
125
|
tableBodyStyles,
|
|
126
|
+
onStartResize: startResize,
|
|
127
|
+
isResizing,
|
|
128
|
+
resizingColumn,
|
|
83
129
|
};
|
|
84
130
|
const commonPropsWithTableStates = Object.assign(Object.assign({}, baseCommonProps), { hasTimeoutError,
|
|
85
131
|
tableLoading });
|
|
86
|
-
return (_jsxs(_Fragment, { children: [_jsx(SheetViewTableContainer,
|
|
132
|
+
return (_jsxs(_Fragment, { children: [_jsx(SheetViewTableContainer, Object.assign({ ref: tableContainerRef }, { children: showNoDataView ? (tableLoading ? (
|
|
133
|
+
// Show same table structure with pinned columns during loading, but with skeleton rows
|
|
134
|
+
_jsxs(SheetViewVirtualTableWrapper, Object.assign({ ref: tableWrapperRef }, { children: [pinnedStartColumnsDataWithWidths.length > 0 && (_jsx(PinnedColumn, Object.assign({ position: "start", columnsData: pinnedStartColumnsDataWithWidths, columnsWidth: pinnedStartColumnsWidth, pinnedColumnsList: pinnedStartColumns, hasPinnedStart: pinnedStartColumnsDataWithWidths.length > 0, hasPinnedEnd: pinnedEndColumnsDataWithWidths.length > 0, createVirtualTableContainer: createVirtualTableContainer }, commonPropsWithTableStates))), _jsx(LoadingMainTable, Object.assign({ hasPinnedStart: pinnedStartColumnsDataWithWidths.length > 0, hasPinnedEnd: pinnedEndColumnsDataWithWidths.length > 0, unpinnedColumnsData: unpinnedColumnsDataWithWidths, pinnedStartColumns: pinnedStartColumns, pinnedEndColumns: pinnedEndColumns }, commonPropsWithTableStates)), pinnedEndColumnsDataWithWidths.length > 0 && (_jsx(PinnedColumn, Object.assign({ position: "end", columnsData: pinnedEndColumnsDataWithWidths, columnsWidth: pinnedEndColumnsWidth, pinnedColumnsList: [...pinnedStartColumns, ...pinnedEndColumns], hasPinnedStart: pinnedStartColumnsDataWithWidths.length > 0, hasPinnedEnd: pinnedEndColumnsDataWithWidths.length > 0, createVirtualTableContainer: createVirtualTableContainer }, commonPropsWithTableStates)))] }))) : (
|
|
135
|
+
// Non-loading error states
|
|
136
|
+
_jsx(NoDataView, Object.assign({ tableLoading: tableLoading, tableError: tableError, tableEmpty: tableEmpty, hasTimeoutError: hasTimeoutError, orderedColumns: orderedColumnsWithWidths, error: error, triggerDataRefetch: triggerDataRefetch, footerProps: footerProps, customNoDataComponent: customNoDataComponent }, baseCommonProps)))) : (_jsxs(SheetViewVirtualTableWrapper, Object.assign({ ref: tableWrapperRef }, { children: [pinnedStartColumnsDataWithWidths.length > 0 && (_jsx(PinnedColumn, Object.assign({ position: "start", columnsData: pinnedStartColumnsDataWithWidths, columnsWidth: pinnedStartColumnsWidth, pinnedColumnsList: pinnedStartColumns, hasPinnedStart: pinnedStartColumnsDataWithWidths.length > 0, hasPinnedEnd: pinnedEndColumnsDataWithWidths.length > 0, createVirtualTableContainer: createVirtualTableContainer }, commonPropsWithTableStates))), _jsx(MainTable, Object.assign({ hasPinnedStart: pinnedStartColumnsDataWithWidths.length > 0, hasPinnedEnd: pinnedEndColumnsDataWithWidths.length > 0, unpinnedColumnsData: unpinnedColumnsDataWithWidths, pinnedStartColumns: pinnedStartColumns, pinnedEndColumns: pinnedEndColumns, createVirtualTableContainer: createVirtualTableContainer }, commonPropsWithTableStates)), pinnedEndColumnsDataWithWidths.length > 0 && (_jsx(PinnedColumn, Object.assign({ position: "end", columnsData: pinnedEndColumnsDataWithWidths, columnsWidth: pinnedEndColumnsWidth, pinnedColumnsList: [...pinnedStartColumns, ...pinnedEndColumns], hasPinnedStart: pinnedStartColumnsDataWithWidths.length > 0, hasPinnedEnd: pinnedEndColumnsDataWithWidths.length > 0, createVirtualTableContainer: createVirtualTableContainer }, commonPropsWithTableStates)))] }))) })), _jsx(TableFooter, Object.assign({ "data-testid": "SheetViewVirtualTable_TableFooter", showSeparator: true, showBackDrop: showBackDrop, onPointerDown: onPointerDown }, footerProps)), _jsx(ResizeOverlay, { isVisible: isResizing, indicatorX: resizeIndicatorX, indicatorHeight: tableDimensions.height, indicatorTop: tableDimensions.top, iconX: cursorPosition.x, iconY: cursorPosition.y })] }));
|
|
87
137
|
}
|
|
88
138
|
export default memo(SheetViewVirtualTable);
|
|
@@ -12,8 +12,10 @@ function LoadingMainTable({ hasPinnedStart, hasPinnedEnd, unpinnedColumnsData, s
|
|
|
12
12
|
minWidth: 'fit-content',
|
|
13
13
|
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "SheetViewVirtualTable_LoadingStyledBox", hidePadding: true, className: "list-wrapper", sx: {
|
|
14
14
|
height: '100%',
|
|
15
|
+
maxHeight: '100%',
|
|
15
16
|
display: 'flex',
|
|
16
17
|
flexDirection: 'column',
|
|
18
|
+
overflow: 'hidden',
|
|
17
19
|
} }, { children: _jsx(SheetViewTableLoading, { "data-testid": "SheetViewVirtualTable_TableLoading", columns: unpinnedColumnsData, isLoading: true, isPinned: false }) })) }))] })) })) })));
|
|
18
20
|
}
|
|
19
21
|
export default memo(LoadingMainTable);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { MainTableProps } from '../types';
|
|
3
|
-
declare function MainTable({ hasPinnedStart, hasPinnedEnd, unpinnedColumnsData, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, pinnedStartColumns, pinnedEndColumns, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableBodyStyles, tableLoading, createVirtualTableContainer, }: MainTableProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function MainTable({ hasPinnedStart, hasPinnedEnd, unpinnedColumnsData, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, pinnedStartColumns, pinnedEndColumns, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableBodyStyles, tableLoading, createVirtualTableContainer, onStartResize, isResizing, resizingColumn, }: MainTableProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: import("react").MemoExoticComponent<typeof MainTable>;
|
|
5
5
|
export default _default;
|
|
@@ -5,11 +5,15 @@ import { StyledTableBox, TableWrapper, StyledBox } from '../../components/style'
|
|
|
5
5
|
import { MainTableWrapper, UnpinnedTableHeaderWrapper } from '../style';
|
|
6
6
|
import SheetViewTableHeader from './SheetViewTableHeader';
|
|
7
7
|
import SheetViewTableLoading from './SheetViewTableLoading';
|
|
8
|
-
function MainTable({ hasPinnedStart, hasPinnedEnd, unpinnedColumnsData, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, pinnedStartColumns, pinnedEndColumns, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableBodyStyles, tableLoading, createVirtualTableContainer, }) {
|
|
8
|
+
function MainTable({ hasPinnedStart, hasPinnedEnd, unpinnedColumnsData, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, pinnedStartColumns, pinnedEndColumns, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableBodyStyles, tableLoading, createVirtualTableContainer, onStartResize, isResizing, resizingColumn, }) {
|
|
9
9
|
const theme = useTheme();
|
|
10
|
-
return (_jsx(MainTableWrapper, Object.assign({ hasPinnedStart: hasPinnedStart, hasPinnedEnd: hasPinnedEnd }, { children: _jsx(StyledTableBox, Object.assign({ as: "main", id: "sheet-table-box-container", "aria-labelledby": "sheet-table-box-container", "data-testid": "SheetViewVirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showNoDataView: showNoDataView, scrollable: true }, { children: _jsxs(TableWrapper, Object.assign({ "data-testid": "SheetViewVirtualTable_TableWrapper", showNoDataView: showNoDataView, sx: Object.assign(Object.assign({}, tableBodyStyles), { display: 'flex', flexDirection: 'column', height: '100%' }) }, { children: [showHeader && (_jsx(UnpinnedTableHeaderWrapper, { children: _jsx(SheetViewTableHeader, { "data-testid": "SheetViewVirtualTable_UnpinnedTableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: unpinnedColumnsData, headerProps: headerProps, showBackDrop: showBackDrop, pinnedColumns: [...pinnedStartColumns, ...pinnedEndColumns], onColumnPin: onColumnPin, isPinnable: isPinnable, lastColumnId: lastColumnId, selectedColumn: selectedColumn, onColumnClick: onColumnClick, tablePosition: "scrollable", hasPinnedStart: hasPinnedStart, hasPinnedEnd: hasPinnedEnd }) })), _jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
10
|
+
return (_jsx(MainTableWrapper, Object.assign({ hasPinnedStart: hasPinnedStart, hasPinnedEnd: hasPinnedEnd }, { children: _jsx(StyledTableBox, Object.assign({ as: "main", id: "sheet-table-box-container", "aria-labelledby": "sheet-table-box-container", "data-testid": "SheetViewVirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showNoDataView: showNoDataView, scrollable: true }, { children: _jsxs(TableWrapper, Object.assign({ "data-testid": "SheetViewVirtualTable_TableWrapper", showNoDataView: showNoDataView, sx: Object.assign(Object.assign({}, tableBodyStyles), { display: 'flex', flexDirection: 'column', height: '100%' }) }, { children: [showHeader && (_jsx(UnpinnedTableHeaderWrapper, { children: _jsx(SheetViewTableHeader, { "data-testid": "SheetViewVirtualTable_UnpinnedTableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: unpinnedColumnsData, headerProps: headerProps, showBackDrop: showBackDrop, pinnedColumns: [...pinnedStartColumns, ...pinnedEndColumns], onColumnPin: onColumnPin, isPinnable: isPinnable, lastColumnId: lastColumnId, selectedColumn: selectedColumn, onColumnClick: onColumnClick, tablePosition: "scrollable", hasPinnedStart: hasPinnedStart, hasPinnedEnd: hasPinnedEnd, onStartResize: onStartResize, isResizing: isResizing, resizingColumn: resizingColumn }) })), _jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
11
11
|
width: '100%',
|
|
12
12
|
minWidth: 'fit-content',
|
|
13
|
-
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "SheetViewVirtualTable_ScrollableStyledBox", hidePadding: true, className: "list-wrapper"
|
|
13
|
+
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "SheetViewVirtualTable_ScrollableStyledBox", hidePadding: true, className: "list-wrapper", sx: {
|
|
14
|
+
height: '100%',
|
|
15
|
+
maxHeight: '100%',
|
|
16
|
+
overflow: 'hidden',
|
|
17
|
+
} }, { children: tableLoading ? (_jsx(SheetViewTableLoading, { "data-testid": "SheetViewVirtualTable_TableLoading", columns: unpinnedColumnsData, isLoading: true, isPinned: false })) : (createVirtualTableContainer(unpinnedColumnsData, 'scrollable', false)) })) }))] })) })) })));
|
|
14
18
|
}
|
|
15
19
|
export default memo(MainTable);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { NoDataViewProps } from '../types';
|
|
3
|
-
declare function NoDataView({ tableLoading, tableError, tableEmpty, hasTimeoutError, orderedColumns, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, tableMode, tableBodyStyles, error, triggerDataRefetch, footerProps, }: NoDataViewProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function NoDataView({ tableLoading, tableError, tableEmpty, hasTimeoutError, orderedColumns, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, tableMode, tableBodyStyles, error, triggerDataRefetch, footerProps, customNoDataComponent, }: NoDataViewProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: import("react").MemoExoticComponent<typeof NoDataView>;
|
|
5
5
|
export default _default;
|
|
@@ -5,9 +5,9 @@ import { StyledTableBox, TableWrapper } from '../../components/style';
|
|
|
5
5
|
import { UnpinnedTableHeaderWrapper } from '../style';
|
|
6
6
|
import TableNoData from '../../components/TableNoData';
|
|
7
7
|
import SheetViewTableHeader from './SheetViewTableHeader';
|
|
8
|
-
function NoDataView({ tableLoading, tableError, tableEmpty, hasTimeoutError, orderedColumns, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, tableMode, tableBodyStyles, error, triggerDataRefetch, footerProps, }) {
|
|
8
|
+
function NoDataView({ tableLoading, tableError, tableEmpty, hasTimeoutError, orderedColumns, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, lastColumnId, selectedColumn, onColumnClick, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, tableMode, tableBodyStyles, error, triggerDataRefetch, footerProps, customNoDataComponent, }) {
|
|
9
9
|
const theme = useTheme();
|
|
10
10
|
const showNoDataView = tableLoading || tableError || tableEmpty || hasTimeoutError;
|
|
11
|
-
return (_jsx(StyledTableBox, Object.assign({ as: "main", id: "sheet-table-box-container", "aria-labelledby": "sheet-table-box-container", "data-testid": "SheetViewVirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showNoDataView: showNoDataView }, { children: _jsxs(TableWrapper, Object.assign({ "data-testid": "SheetViewVirtualTable_TableWrapper", showNoDataView: showNoDataView, sx: tableBodyStyles }, { children: [showHeader && (_jsx(UnpinnedTableHeaderWrapper, { children: _jsx(SheetViewTableHeader, { "data-testid": "SheetViewVirtualTable_LoadingTableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: orderedColumns, headerProps: headerProps, showBackDrop: showBackDrop, pinnedColumns: [], onColumnPin: onColumnPin, isPinnable: false, lastColumnId: lastColumnId, selectedColumn: selectedColumn, onColumnClick: onColumnClick }) })), _jsx(TableNoData, { error: error || null, tableEmpty: tableEmpty, isTimeoutError: hasTimeoutError, tableError: tableError, tableLoading: tableLoading, orderedColumns: orderedColumns, triggerDataRefetch: triggerDataRefetch || (() => Promise.resolve()), footerProps: footerProps })] })) })));
|
|
11
|
+
return (_jsx(StyledTableBox, Object.assign({ as: "main", id: "sheet-table-box-container", "aria-labelledby": "sheet-table-box-container", "data-testid": "SheetViewVirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showNoDataView: showNoDataView }, { children: _jsxs(TableWrapper, Object.assign({ "data-testid": "SheetViewVirtualTable_TableWrapper", showNoDataView: showNoDataView, sx: tableBodyStyles }, { children: [showHeader && (_jsx(UnpinnedTableHeaderWrapper, { children: _jsx(SheetViewTableHeader, { "data-testid": "SheetViewVirtualTable_LoadingTableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: orderedColumns, headerProps: headerProps, showBackDrop: showBackDrop, pinnedColumns: [], onColumnPin: onColumnPin, isPinnable: false, lastColumnId: lastColumnId, selectedColumn: selectedColumn, onColumnClick: onColumnClick }) })), customNoDataComponent ? (customNoDataComponent) : (_jsx(TableNoData, { error: error || null, tableEmpty: tableEmpty, isTimeoutError: hasTimeoutError, tableError: tableError, tableLoading: tableLoading, orderedColumns: orderedColumns, triggerDataRefetch: triggerDataRefetch || (() => Promise.resolve()), footerProps: footerProps }))] })) })));
|
|
12
12
|
}
|
|
13
13
|
export default memo(NoDataView);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PinnedColumnProps } from '../types';
|
|
3
|
-
declare function PinnedColumn({ position, columnsData, columnsWidth, pinnedColumnsList, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, hasPinnedStart, hasPinnedEnd, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableLoading, createVirtualTableContainer, }: PinnedColumnProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
declare function PinnedColumn({ position, columnsData, columnsWidth, pinnedColumnsList, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, hasPinnedStart, hasPinnedEnd, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableLoading, createVirtualTableContainer, onStartResize, isResizing, resizingColumn, }: PinnedColumnProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
declare const _default: import("react").MemoExoticComponent<typeof PinnedColumn>;
|
|
5
5
|
export default _default;
|
|
@@ -5,16 +5,20 @@ import { StyledTableBox, TableWrapper, StyledBox } from '../../components/style'
|
|
|
5
5
|
import { PinnedStartColumnWrapper, PinnedEndColumnWrapper } from '../style';
|
|
6
6
|
import SheetViewTableHeader from './SheetViewTableHeader';
|
|
7
7
|
import SheetViewTableLoading from './SheetViewTableLoading';
|
|
8
|
-
function PinnedColumn({ position, columnsData, columnsWidth, pinnedColumnsList, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, hasPinnedStart, hasPinnedEnd, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableLoading, createVirtualTableContainer, }) {
|
|
8
|
+
function PinnedColumn({ position, columnsData, columnsWidth, pinnedColumnsList, showHeader, columnsSorting, onColumnSort, headerProps, showBackDrop, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, hasPinnedStart, hasPinnedEnd, tableTitle, areAllRowsLoaded, isFetchingNextPage, scrollToIndex, isLoading, isError, hasTimeoutError, tableMode, showNoDataView, tableLoading, createVirtualTableContainer, onStartResize, isResizing, resizingColumn, }) {
|
|
9
9
|
const theme = useTheme();
|
|
10
10
|
if (columnsData.length === 0)
|
|
11
11
|
return null;
|
|
12
12
|
const Wrapper = position === 'start' ? PinnedStartColumnWrapper : PinnedEndColumnWrapper;
|
|
13
13
|
const containerKey = position === 'start' ? 'pinnedStart' : 'pinnedEnd';
|
|
14
|
-
return (_jsx(Wrapper, { children: _jsxs(StyledTableBox, Object.assign({ as: "main", id: "sheet-table-box-container", "aria-labelledby": "sheet-table-box-container", "data-testid": "SheetViewVirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showNoDataView: showNoDataView }, { children: [showHeader && (_jsx(SheetViewTableHeader, { "data-testid": "SheetViewVirtualTable_PinnedTableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: columnsData, headerProps: headerProps, showBackDrop: showBackDrop, pinnedColumns: pinnedColumnsList, onColumnPin: onColumnPin, isPinnable: isPinnable, lastColumnId: lastColumnId, selectedColumn: selectedColumn, onColumnClick: onColumnClick, tablePosition: position === 'start' ? 'pinnedStart' : 'pinnedEnd', hasPinnedStart: hasPinnedStart, hasPinnedEnd: hasPinnedEnd })), _jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
14
|
+
return (_jsx(Wrapper, { children: _jsxs(StyledTableBox, Object.assign({ as: "main", id: "sheet-table-box-container", "aria-labelledby": "sheet-table-box-container", "data-testid": "SheetViewVirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showNoDataView: showNoDataView }, { children: [showHeader && (_jsx(SheetViewTableHeader, { "data-testid": "SheetViewVirtualTable_PinnedTableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: columnsData, headerProps: headerProps, showBackDrop: showBackDrop, pinnedColumns: pinnedColumnsList, onColumnPin: onColumnPin, isPinnable: isPinnable, lastColumnId: lastColumnId, selectedColumn: selectedColumn, onColumnClick: onColumnClick, tablePosition: position === 'start' ? 'pinnedStart' : 'pinnedEnd', hasPinnedStart: hasPinnedStart, hasPinnedEnd: hasPinnedEnd, onStartResize: onStartResize, isResizing: isResizing, resizingColumn: resizingColumn })), _jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
15
15
|
width: '100%',
|
|
16
16
|
minWidth: 'fit-content',
|
|
17
17
|
overflowX: 'hidden',
|
|
18
|
-
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "SheetViewVirtualTable_PinnedStyledBox", hidePadding: true, className: "list-wrapper"
|
|
18
|
+
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "SheetViewVirtualTable_PinnedStyledBox", hidePadding: true, className: "list-wrapper", sx: {
|
|
19
|
+
height: '100%',
|
|
20
|
+
maxHeight: '100%',
|
|
21
|
+
overflow: 'hidden',
|
|
22
|
+
} }, { children: tableLoading ? (_jsx(SheetViewTableLoading, { "data-testid": `SheetViewVirtualTable_PinnedTableLoading_${position}`, columns: columnsData, isLoading: true, isPinned: true })) : (createVirtualTableContainer(columnsData, containerKey, true, columnsWidth)) })) }))] })) }));
|
|
19
23
|
}
|
|
20
24
|
export default memo(PinnedColumn);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SheetViewTableHeaderProps } from '../types';
|
|
3
|
-
declare function SheetViewTableHeader({ columns, headerProps, showBackDrop, onColumnSort, columnsSorting, pinnedColumns, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, }: SheetViewTableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function SheetViewTableHeader({ columns, headerProps, showBackDrop, onColumnSort, columnsSorting, pinnedColumns, onColumnPin, isPinnable, lastColumnId, selectedColumn, onColumnClick, onStartResize, isResizing, resizingColumn, }: SheetViewTableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: import("react").MemoExoticComponent<typeof SheetViewTableHeader>;
|
|
5
5
|
export default _default;
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js
CHANGED
|
@@ -2,11 +2,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { StyledHeader, StyledMUITableRow } from '../style';
|
|
4
4
|
import SheetViewTableHeaderCell from './SheetViewTableHeaderCell';
|
|
5
|
-
function SheetViewTableHeader({ columns, headerProps, showBackDrop, onColumnSort, columnsSorting, pinnedColumns = [], onColumnPin, isPinnable = false, lastColumnId, selectedColumn = null, onColumnClick, }) {
|
|
5
|
+
function SheetViewTableHeader({ columns, headerProps, showBackDrop, onColumnSort, columnsSorting, pinnedColumns = [], onColumnPin, isPinnable = false, lastColumnId, selectedColumn = null, onColumnClick, onStartResize, isResizing = false, resizingColumn = null, }) {
|
|
6
6
|
return (_jsx(StyledHeader, Object.assign({ component: "nav", "data-testid": "SheetViewVirtualTable_TableHeader_StyledHeader", showBackDrop: showBackDrop }, headerProps, { children: _jsx(StyledMUITableRow, Object.assign({ component: "section", "data-testid": "SheetViewVirtualTable_TableHeader_StyledMUITableRow" }, { children: columns.map((column, colIndex) => {
|
|
7
7
|
var _a;
|
|
8
8
|
const columnKey = `${(_a = column.pinned) !== null && _a !== void 0 ? _a : 'default'}-${colIndex}`;
|
|
9
|
-
return (_jsx(SheetViewTableHeaderCell, { column: column, colIndex: colIndex, isFirst: column.id === columns[0].id, isLast: column.id === columns[columns.length - 1].id, isDefaultPinned: !!column.isDefaultPinned, isSelected: selectedColumn === columnKey, onColumnSort: onColumnSort, columnsSorting: columnsSorting, pinnedColumns: pinnedColumns, onColumnPin: onColumnPin, isPinnable: isPinnable, lastColumnId: lastColumnId, onColumnClick: onColumnClick }, `${column.id}-${colIndex}`));
|
|
9
|
+
return (_jsx(SheetViewTableHeaderCell, { column: column, colIndex: colIndex, isFirst: column.id === columns[0].id, isLast: column.id === columns[columns.length - 1].id, isDefaultPinned: !!column.isDefaultPinned, isSelected: selectedColumn === columnKey, onColumnSort: onColumnSort, columnsSorting: columnsSorting, pinnedColumns: pinnedColumns, onColumnPin: onColumnPin, isPinnable: isPinnable, lastColumnId: lastColumnId, onColumnClick: onColumnClick, onStartResize: onStartResize, isResizing: isResizing, resizingColumn: resizingColumn }, `${column.id}-${colIndex}`));
|
|
10
10
|
}) })) })));
|
|
11
11
|
}
|
|
12
12
|
export default memo(SheetViewTableHeader);
|
|
@@ -8,7 +8,10 @@ interface SheetViewTableHeaderCellProps extends Pick<SheetViewTableHeaderProps,
|
|
|
8
8
|
isLast: boolean;
|
|
9
9
|
isSelected: boolean;
|
|
10
10
|
isDefaultPinned: boolean;
|
|
11
|
+
onStartResize?: (e: React.MouseEvent, columnId: string) => void;
|
|
12
|
+
isResizing?: boolean;
|
|
13
|
+
resizingColumn?: string | null;
|
|
11
14
|
}
|
|
12
|
-
declare function SheetViewTableHeaderCell({ column: { header, id, align, headerStyle, sortable, filter, pinnable, width, order,
|
|
15
|
+
declare function SheetViewTableHeaderCell({ column: { header, id, tableViewId, align, headerStyle, sortable, filter, pinnable, width, order, pinned }, colIndex, isFirst, isLast, isSelected, isDefaultPinned, onColumnSort, columnsSorting, onColumnPin, isPinnable, lastColumnId, onColumnClick, pinnedColumns, onStartResize, isResizing, resizingColumn, }: SheetViewTableHeaderCellProps): import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
declare const _default: import("react").MemoExoticComponent<typeof SheetViewTableHeaderCell>;
|
|
14
17
|
export default _default;
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js
CHANGED
|
@@ -6,9 +6,15 @@ import ColumnFilter from '../../components/ColumnFilter';
|
|
|
6
6
|
import { StyledCell, TableHeaderInner } from '../../components/style';
|
|
7
7
|
import { PinIconContainer, HeaderText } from '../style';
|
|
8
8
|
import ColumnSort from '../../components/ColumnSort';
|
|
9
|
-
|
|
9
|
+
import { ColumnResize } from '../features/resize';
|
|
10
|
+
import { getColumnId } from '../features/resize/utils/resize';
|
|
11
|
+
import useColumnFilter from '../../../VirtualTables/hooks/useColumnFilter';
|
|
12
|
+
function SheetViewTableHeaderCell({ column: { header, id, tableViewId, align, headerStyle, sortable, filter, pinnable, width, order, pinned }, colIndex, isFirst, isLast, isSelected, isDefaultPinned, onColumnSort, columnsSorting, onColumnPin, isPinnable, lastColumnId, onColumnClick, pinnedColumns, onStartResize, isResizing = false, resizingColumn = null, }) {
|
|
13
|
+
// Use the same unique column ID logic as resize to ensure consistency
|
|
14
|
+
const columnId = getColumnId({ id, tableViewId });
|
|
10
15
|
const [columnFilterEl, setColumnFilterEl] = useState(null);
|
|
11
16
|
const cellRef = useRef(null);
|
|
17
|
+
const { isFilterApplied } = useColumnFilter({ filter });
|
|
12
18
|
const checkIsPanned = useCallback((columnId) => pinnedColumns === null || pinnedColumns === void 0 ? void 0 : pinnedColumns.includes(columnId), [pinnedColumns]);
|
|
13
19
|
const isPinned = useMemo(() => checkIsPanned(id), [id, checkIsPanned]);
|
|
14
20
|
const handlePinClick = (columnId) => {
|
|
@@ -27,23 +33,30 @@ function SheetViewTableHeaderCell({ column: { header, id, align, headerStyle, so
|
|
|
27
33
|
const onOpenFilterDropdown = () => {
|
|
28
34
|
setColumnFilterEl(cellRef.current);
|
|
29
35
|
};
|
|
30
|
-
|
|
36
|
+
const handleCellClick = (event) => {
|
|
37
|
+
// Only fire column click when clicking on the cell itself, not on child elements
|
|
38
|
+
if (event.target === event.currentTarget) {
|
|
31
39
|
onColumnClick === null || onColumnClick === void 0 ? void 0 : onColumnClick(colIndex, event, pinned);
|
|
32
|
-
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
const handleHeaderInnerClick = (event) => {
|
|
43
|
+
// Prevent event bubbling to parent cell
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
onOpenFilterDropdown();
|
|
46
|
+
};
|
|
47
|
+
return (_jsxs(StyledCell, Object.assign({ "data-id": id, component: "div", "data-testid": "SheetViewVirtualTable_TableHeader_StyledCell", "data-column-id": id, "data-column-width": width, "data-column-width-used": width, "data-column-align": align, "data-column-order": order, "data-column-header": typeof header === 'string' ? header : 'component', "data-column-sortable": !!sortable, "data-column-filterable": !!filter, "data-column-pinned": isPinned, isFirst: isFirst, isLast: isLast, isSheetView: true, ref: cellRef, onClick: handleCellClick, sx: (theme) => (Object.assign({ display: 'flex', gap: theme.spacing(0.5), alignItems: 'center', justifyContent: align === 'right' ? 'flex-end' : 'flex-start', width, textAlign: align, overflow: 'visible !important', cursor: 'pointer', boxSizing: 'border-box', border: '0.5px solid transparent', borderColor: isSelected ? '#1F88D0' : '#F2F2F2', borderBottom: isSelected ? '0.5px solid transparent' : '0.5px solid #F2F2F2', backgroundColor: isSelected ? '#F2F2F2' : '#FCFCFC', minHeight: '28px', position: 'relative', '&:before': {
|
|
33
48
|
content: '""',
|
|
34
|
-
|
|
49
|
+
borderBottom: 'none',
|
|
35
50
|
position: 'absolute',
|
|
36
51
|
top: 0,
|
|
37
52
|
right: 0,
|
|
38
53
|
left: 0,
|
|
39
54
|
bottom: 0,
|
|
40
|
-
} }, headerStyle)) }, { children: _jsxs(TableHeaderInner, Object.assign({ onClick:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
handlePinClick(id);
|
|
47
|
-
}, title: isPinned ? 'Unpin column' : 'Pin column' }, { children: _jsx("img", { src: isPinned ? unpinIcon : pinIcon, alt: "pin-icon" }) })))] })) })));
|
|
55
|
+
} }, headerStyle)) }, { children: [_jsxs(TableHeaderInner, Object.assign({ onClick: handleHeaderInnerClick }, { children: [typeof header === 'function' ? (header()) : (_jsx(Box, Object.assign({ "data-testid": "SheetViewTableHeader_columns_header", sx: { maxWidth: '100%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' } }, { children: header && _jsx(HeaderText, Object.assign({ "data-testid": "SheetViewVirtualTable_TableHeader_StyledCell_header_text" }, { children: header })) }))), filter && _jsx(ColumnFilter, Object.assign({}, filter, { anchorEl: columnFilterEl, setAnchorEl: setColumnFilterEl, isFilterApplied: isFilterApplied })), sortable && (_jsx(ColumnSort, { columnId: id, onColumnSort: onColumnSort, columnsSorting: columnsSorting, onClick: (e) => {
|
|
56
|
+
onColumnClick === null || onColumnClick === void 0 ? void 0 : onColumnClick(colIndex, e, pinned);
|
|
57
|
+
} })), isPinnable && pinnable && !isDefaultPinned && !isLast && (_jsx(PinIconContainer, Object.assign({ onClick: (event) => {
|
|
58
|
+
event.stopPropagation();
|
|
59
|
+
handlePinClick(id);
|
|
60
|
+
}, title: isPinned ? 'Unpin column' : 'Pin column' }, { children: _jsx("img", { src: isPinned ? unpinIcon : pinIcon, alt: "pin-icon" }) })))] })), onStartResize && pinned !== 'end' && (_jsx(ColumnResize, { columnId: columnId, onStartResize: onStartResize, isResizing: isResizing, isLast: isLast }))] })));
|
|
48
61
|
}
|
|
49
62
|
export default memo(SheetViewTableHeaderCell);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js
CHANGED
|
@@ -1,19 +1,56 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
2
|
+
import { memo, useEffect, useState } from 'react';
|
|
3
3
|
import { styled } from '@mui/material/styles';
|
|
4
4
|
import uniqueId from 'lodash/uniqueId';
|
|
5
5
|
import { calculateMaxAllowedRows } from '../../../../utils/index.js';
|
|
6
6
|
import SheetViewTableRowLoading from './SheetViewTableRowLoading';
|
|
7
|
+
import { SHEET_VIEW_TABLE_ROW_HEIGHT } from '../../../../constants/index.js';
|
|
7
8
|
const Wrapper = styled('section')(({ isLoaded = false, isPinned = false }) => ({
|
|
8
9
|
overflow: 'hidden',
|
|
9
10
|
paddingInline: isLoaded && !isPinned ? '32px' : '0px',
|
|
10
11
|
backgroundColor: isLoaded && !isPinned ? 'rgba(255, 255, 255, 0.60)' : 'none',
|
|
11
12
|
filter: isLoaded && !isPinned ? 'blur(8px)' : 'none',
|
|
12
13
|
marginTop: isLoaded && !isPinned ? '1rem' : '0',
|
|
14
|
+
height: '100%',
|
|
15
|
+
maxHeight: '100%',
|
|
13
16
|
}));
|
|
14
|
-
function SheetViewTableLoading({ columns, isLoaded = false, animationType, isLoading = false, rowsCount, isPinned = false, }) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
function SheetViewTableLoading({ columns, isLoaded = false, animationType, isLoading = false, rowsCount = 13, isPinned = false, }) {
|
|
18
|
+
const [maxAllowedRows, setMaxAllowedRows] = useState(() => {
|
|
19
|
+
// Use provided rowsCount or calculate initial value
|
|
20
|
+
return rowsCount || Math.min(calculateMaxAllowedRows(isLoaded, isLoading), 15);
|
|
21
|
+
});
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
if (rowsCount) {
|
|
24
|
+
setMaxAllowedRows(rowsCount);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
// Calculate rows that fit in the available container height
|
|
28
|
+
const calculateRowsForContainer = () => {
|
|
29
|
+
var _a;
|
|
30
|
+
const wrapperElement = document.querySelector('[data-testid="SheetViewTableLoading"]');
|
|
31
|
+
if (!wrapperElement) {
|
|
32
|
+
return Math.min(calculateMaxAllowedRows(isLoaded, isLoading), 25);
|
|
33
|
+
}
|
|
34
|
+
const containerHeight = ((_a = wrapperElement.parentElement) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;
|
|
35
|
+
const rowHeight = SHEET_VIEW_TABLE_ROW_HEIGHT; // Standard row height for SheetView
|
|
36
|
+
const headerHeight = 40; // Approximate header height
|
|
37
|
+
const availableHeight = containerHeight - headerHeight;
|
|
38
|
+
if (availableHeight <= 0) {
|
|
39
|
+
return Math.min(calculateMaxAllowedRows(isLoaded, isLoading), 25);
|
|
40
|
+
}
|
|
41
|
+
const calculatedRows = Math.floor(availableHeight / rowHeight);
|
|
42
|
+
// Ensure we have at least 3 rows for loading state, but cap at a reasonable maximum
|
|
43
|
+
return Math.max(3, Math.min(calculatedRows + 2, 25));
|
|
44
|
+
};
|
|
45
|
+
const rows = calculateRowsForContainer();
|
|
46
|
+
setMaxAllowedRows(rows);
|
|
47
|
+
const handleResize = () => {
|
|
48
|
+
const calculatedRows = calculateRowsForContainer();
|
|
49
|
+
setMaxAllowedRows(calculatedRows);
|
|
50
|
+
};
|
|
51
|
+
window.addEventListener('resize', handleResize);
|
|
52
|
+
return () => window.removeEventListener('resize', handleResize);
|
|
53
|
+
}, [isLoaded, isLoading, rowsCount]);
|
|
17
54
|
return (_jsx(Wrapper, Object.assign({ isLoaded: isLoaded, isPinned: isPinned, "data-testid": "SheetViewTableLoading" }, { children: [...Array(maxAllowedRows)].map((_, index) => (_jsx(SheetViewTableRowLoading, { columns: columns, animationType: animationType, rowIndex: index, useTableBackground: !isPinned }, `i-${uniqueId('SheetViewTableLoadingRow_')}`))) })));
|
|
18
55
|
}
|
|
19
56
|
export default memo(SheetViewTableLoading);
|
|
@@ -17,6 +17,7 @@ type VirtualTableItemData = {
|
|
|
17
17
|
isPinned: boolean;
|
|
18
18
|
selectedCell: string | null;
|
|
19
19
|
selectedColumn: string | null;
|
|
20
|
+
selectedRow: number | null;
|
|
20
21
|
onCellClick: (rowIndex: number, columnIndex: number, event: React.MouseEvent, pinnedType?: 'start' | 'end') => void;
|
|
21
22
|
containerHeight: number;
|
|
22
23
|
rowHeight: number;
|
|
@@ -38,7 +39,8 @@ interface VirtualTableProps {
|
|
|
38
39
|
onScroll?: (scrollProps: ListOnScrollProps) => void;
|
|
39
40
|
setBackdropVisibility: (visible: boolean) => void;
|
|
40
41
|
listRef: React.RefObject<VariableSizeList>;
|
|
42
|
+
overscanCount?: number;
|
|
41
43
|
}
|
|
42
|
-
declare function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, }: VirtualTableProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
declare function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, overscanCount, }: VirtualTableProps): import("react/jsx-runtime").JSX.Element;
|
|
43
45
|
declare const _default: import("react").MemoExoticComponent<typeof VirtualTable>;
|
|
44
46
|
export default _default;
|
|
@@ -11,19 +11,23 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
11
11
|
import { memo } from 'react';
|
|
12
12
|
import InfiniteLoader from 'react-window-infinite-loader';
|
|
13
13
|
import AutoSizer from 'react-virtualized-auto-sizer';
|
|
14
|
-
import {
|
|
14
|
+
import { SHEET_VIEW_TABLE_LIST_OVER_SCAN } from '../../../../constants/index.js';
|
|
15
15
|
import ListItemWrapper from '../../components/virtualScroll/ListItemWrapper';
|
|
16
16
|
import { StyledVirtualList } from '../../components/style';
|
|
17
|
-
function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, }) {
|
|
17
|
+
function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, overscanCount = SHEET_VIEW_TABLE_LIST_OVER_SCAN, }) {
|
|
18
18
|
const handleOnLoadMoreItems = () => __awaiter(this, void 0, void 0, function* () {
|
|
19
19
|
if (areAllRowsLoaded)
|
|
20
20
|
return;
|
|
21
21
|
yield (loadMoreItems === null || loadMoreItems === void 0 ? void 0 : loadMoreItems());
|
|
22
22
|
});
|
|
23
|
-
return (
|
|
23
|
+
return (
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
_jsx(InfiniteLoader, Object.assign({ isItemLoaded: (index) => index !== lastItemIndex, itemCount: itemCount, loadMoreItems: handleOnLoadMoreItems, threshold: threshold }, { children: ({ onItemsRendered, ref }) => (_jsx(AutoSizer, Object.assign({ ref: ref }, { children: ({ height, width }) => {
|
|
24
26
|
const itemSize = (index) => getItemSize(index, height);
|
|
25
27
|
const itemData = getItemData(columnsData, isPinned, height);
|
|
26
|
-
return (
|
|
28
|
+
return (
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
_jsx(StyledVirtualList, Object.assign({ listRef: listRef, height: height, width: fixedWidth || width, itemCount: itemCount, itemSize: itemSize, itemData: itemData, onItemsRendered: onItemsRendered, overscanCount: overscanCount, setBackdropVisibility: setBackdropVisibility, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, useIsScrolling: true, onScroll: onScroll, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, style: {
|
|
27
31
|
overflowX: isPinned ? 'hidden' : 'auto',
|
|
28
32
|
paddingBottom: isPinned ? '25px' : '13px',
|
|
29
33
|
backgroundColor: isPinned ? 'transparent' : '#F6F8FACC',
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ColumnResizeProps } from '../types';
|
|
3
|
+
declare function ColumnResize({ columnId, onStartResize, isResizing, isLast }: ColumnResizeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const _default: import("react").MemoExoticComponent<typeof ColumnResize>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo, useState, useCallback, useRef } from 'react';
|
|
3
|
+
import { createPortal } from 'react-dom';
|
|
4
|
+
import { StyledResizeIcon, ResizeIcon } from '../styles';
|
|
5
|
+
function ColumnResize({ columnId, onStartResize, isResizing, isLast = false }) {
|
|
6
|
+
const [isHovering, setIsHovering] = useState(false);
|
|
7
|
+
const [hoverPosition, setHoverPosition] = useState({ x: 0, y: 0 });
|
|
8
|
+
const resizeHandleRef = useRef(null);
|
|
9
|
+
const updateHoverPosition = useCallback(() => {
|
|
10
|
+
var _a;
|
|
11
|
+
const rect = (_a = resizeHandleRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
12
|
+
if (rect) {
|
|
13
|
+
setHoverPosition({
|
|
14
|
+
x: rect.right,
|
|
15
|
+
y: rect.top + rect.height / 2,
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}, []);
|
|
19
|
+
const handleMouseEnter = useCallback(() => {
|
|
20
|
+
if (!isResizing) {
|
|
21
|
+
setIsHovering(true);
|
|
22
|
+
updateHoverPosition();
|
|
23
|
+
}
|
|
24
|
+
}, [isResizing, updateHoverPosition]);
|
|
25
|
+
const handleMouseMove = useCallback(() => {
|
|
26
|
+
if (!isResizing && isHovering) {
|
|
27
|
+
updateHoverPosition();
|
|
28
|
+
}
|
|
29
|
+
}, [isResizing, isHovering, updateHoverPosition]);
|
|
30
|
+
const handleMouseLeave = useCallback(() => {
|
|
31
|
+
setIsHovering(false);
|
|
32
|
+
}, []);
|
|
33
|
+
const handleMouseDown = (e) => {
|
|
34
|
+
e.stopPropagation();
|
|
35
|
+
e.preventDefault();
|
|
36
|
+
setIsHovering(false);
|
|
37
|
+
onStartResize(e, columnId);
|
|
38
|
+
};
|
|
39
|
+
return (_jsxs(_Fragment, { children: [_jsx(StyledResizeIcon, { ref: resizeHandleRef, isResizing: isResizing, isLast: isLast, onMouseDown: handleMouseDown, onMouseEnter: handleMouseEnter, onMouseMove: handleMouseMove, onMouseLeave: handleMouseLeave, "data-testid": `column-resize-handle-${columnId}` }), createPortal(_jsx(ResizeIcon, { isVisible: isHovering && !isResizing, x: hoverPosition.x, y: hoverPosition.y, offsetX: -2 }), document.body)] }));
|
|
40
|
+
}
|
|
41
|
+
export default memo(ColumnResize);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ResizeOverlayProps } from '../types';
|
|
3
|
+
declare function ResizeOverlay({ isVisible, indicatorX, indicatorHeight, indicatorTop, iconX, iconY }: ResizeOverlayProps): import("react").ReactPortal | null;
|
|
4
|
+
declare const _default: import("react").MemoExoticComponent<typeof ResizeOverlay>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
import { createPortal } from 'react-dom';
|
|
4
|
+
import { IndicatorLine, ResizeIcon } from '../styles';
|
|
5
|
+
function ResizeOverlay({ isVisible, indicatorX, indicatorHeight, indicatorTop, iconX, iconY }) {
|
|
6
|
+
if (!isVisible)
|
|
7
|
+
return null;
|
|
8
|
+
return createPortal(_jsxs(_Fragment, { children: [_jsx(IndicatorLine, { isVisible: isVisible, x: indicatorX, height: indicatorHeight, top: indicatorTop, "data-testid": "column-resize-indicator" }), _jsx(ResizeIcon, { isVisible: isVisible, x: iconX, y: iconY, offsetX: 8, "data-testid": "floating-resize-icon" })] }), document.body);
|
|
9
|
+
}
|
|
10
|
+
export default memo(ResizeOverlay);
|