@tap-payments/os-micro-frontend-shared 0.1.448 → 0.1.449
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/chunk-235SVVGR.js +1 -0
- package/build/chunk-24UTRGGG.js +2 -0
- package/build/chunk-2KSN5RRR.js +1 -0
- package/build/chunk-35YBHQOC.js +1 -0
- package/build/chunk-3FTPB2S4.js +1 -0
- package/build/chunk-3QA32K6H.js +1 -0
- package/build/chunk-3SO6BVEX.js +1 -0
- package/build/chunk-3WWNV3BH.js +1 -0
- package/build/chunk-3ZVWIFYQ.js +1 -0
- package/build/chunk-46KYXTXT.js +1 -0
- package/build/chunk-4BFLB6EN.js +1 -0
- package/build/chunk-4W6J54AY.js +1 -0
- package/build/chunk-54FC2JQT.js +1 -0
- package/build/chunk-54Z6CNTM.js +1 -0
- package/build/chunk-5IC4YOPT.js +1 -0
- package/build/chunk-5K5KR64U.js +1 -0
- package/build/chunk-5QGYWOQI.js +1 -0
- package/build/chunk-5TBO732O.js +1 -0
- package/build/chunk-6CFWSDKN.js +1 -0
- package/build/chunk-6EZ4JK6Y.js +1 -0
- package/build/chunk-7IW25XZP.js +1 -0
- package/build/chunk-A5FGRP2T.js +1 -0
- package/build/chunk-ABDRIOU6.js +2 -0
- package/build/chunk-AGKVDD6Y.js +1 -0
- package/build/chunk-B5ES24FC.js +1 -0
- package/build/chunk-BC2PRH2V.js +1 -0
- package/build/chunk-BFGMD3VQ.js +1 -0
- package/build/chunk-BJFSLPYF.js +1 -0
- package/build/chunk-CHHA7R62.js +1 -0
- package/build/chunk-CNIYZZCP.js +1 -0
- package/build/chunk-CQT4MCPB.js +1 -0
- package/build/chunk-CRALZ7UR.js +1 -0
- package/build/chunk-CTRH4PJX.js +1 -0
- package/build/chunk-CWII5RPV.js +1 -0
- package/build/chunk-DAI72ALX.js +1 -0
- package/build/chunk-DHXSNRU3.js +1 -0
- package/build/chunk-DPZW7X7C.js +1 -0
- package/build/chunk-DYWKQE3E.js +1 -0
- package/build/chunk-EDY4USKA.js +1 -0
- package/build/chunk-EHAIQBIM.js +1 -0
- package/build/chunk-EHJHUQ2I.js +1 -0
- package/build/chunk-ERNOOXNX.js +1 -0
- package/build/chunk-F4BUW5UK.js +1 -0
- package/build/chunk-F5DEUHUB.js +1 -0
- package/build/chunk-F6NIA57X.js +1 -0
- package/build/chunk-FM4VYDLS.js +1 -0
- package/build/chunk-GF5EUCFB.js +2 -0
- package/build/chunk-GUOAWCXK.js +1 -0
- package/build/chunk-H5IAN2EY.js +1 -0
- package/build/chunk-HEYOVYUR.js +4 -0
- package/build/chunk-HOLPUO2K.js +1 -0
- package/build/chunk-HX4CUPQU.js +1 -0
- package/build/chunk-IBPFWRCW.js +1 -0
- package/build/chunk-IG2OL6J3.js +1 -0
- package/build/chunk-IZNNN6PY.js +1 -0
- package/build/chunk-J5QLEISH.js +1 -0
- package/build/chunk-JE7B34YV.js +1 -0
- package/build/chunk-K27ASABP.js +1 -0
- package/build/chunk-KAI7ZCLU.js +1 -0
- package/build/chunk-KCZPZF5B.js +1 -0
- package/build/chunk-KK4RD6ZD.js +1 -0
- package/build/chunk-KPXTVAWQ.js +1 -0
- package/build/chunk-KZXI4LR5.js +1 -0
- package/build/chunk-L3M6OM4B.js +1 -0
- package/build/chunk-L5DC4D5G.js +1 -0
- package/build/chunk-LJ65VWKM.js +1 -0
- package/build/chunk-LM5XVNC6.js +1 -0
- package/build/chunk-MLGLBJFA.js +1 -0
- package/build/chunk-MVNNPBOO.js +1 -0
- package/build/chunk-NDP36V5Z.js +2 -0
- package/build/chunk-NJSZ5FIT.js +1 -0
- package/build/chunk-NKNRVF6Q.js +1 -0
- package/build/chunk-NQ4RWVBO.js +1 -0
- package/build/chunk-OAH67AR4.js +1 -0
- package/build/chunk-OFL57YJN.js +1 -0
- package/build/chunk-OFSCVJWC.js +1 -0
- package/build/chunk-OKCJGLTE.js +3 -0
- package/build/chunk-P3MJSUZY.js +1 -0
- package/build/chunk-PEF3NDCP.js +1 -0
- package/build/chunk-PF4VRJGN.js +1 -0
- package/build/chunk-PJX3KXBS.js +1 -0
- package/build/chunk-PO26TUWC.js +1 -0
- package/build/chunk-PTEZ2MC2.js +2 -0
- package/build/chunk-QVTNBCJ3.js +1 -0
- package/build/chunk-QYLROPPS.js +1 -0
- package/build/chunk-RKVVQRXM.js +1 -0
- package/build/chunk-RQ2V5JZH.js +1 -0
- package/build/chunk-RX72ZO5Z.js +1 -0
- package/build/chunk-RYUMSSNJ.js +1 -0
- package/build/chunk-RYV2OB6M.js +1 -0
- package/build/chunk-S7OMWEM6.js +1 -0
- package/build/chunk-S7RPBLGD.js +1 -0
- package/build/chunk-SDEJNIDB.js +1 -0
- package/build/chunk-SNWQE74F.js +1 -0
- package/build/chunk-SUBE55I6.js +1 -0
- package/build/chunk-T5EVBNQU.js +1 -0
- package/build/chunk-TEDSWDMZ.js +1 -0
- package/build/chunk-TG2IA55S.js +1 -0
- package/build/chunk-TUTEF6YD.js +1 -0
- package/build/chunk-TWSU3WF7.js +1 -0
- package/build/chunk-TXC4TTA5.js +1 -0
- package/build/chunk-UFSVEELK.js +1 -0
- package/build/chunk-UMQIPRDJ.js +1 -0
- package/build/chunk-UMZQJYAT.js +1 -0
- package/build/chunk-UNQSXR6O.js +1 -0
- package/build/chunk-UVUNQGYQ.js +1 -0
- package/build/chunk-VBQVGZ4J.js +1 -0
- package/build/chunk-VBZOXOJX.js +1 -0
- package/build/chunk-VDVK6BF7.js +1 -0
- package/build/chunk-VFTOX6ST.js +1 -0
- package/build/chunk-VJQOM3VO.js +1 -0
- package/build/chunk-VPNCZQKE.js +2 -0
- package/build/chunk-VQOATYPH.js +1 -0
- package/build/chunk-VYC7YNTV.js +1 -0
- package/build/chunk-VZSVLOEC.js +1 -0
- package/build/chunk-WA7PT73F.js +1 -0
- package/build/chunk-WYSHK4PG.js +1 -0
- package/build/chunk-XQFTITQ3.js +1 -0
- package/build/chunk-XT4FCFC3.js +1 -0
- package/build/chunk-XXKA7EPY.js +1 -0
- package/build/chunk-YB6KMUY2.js +16 -0
- package/build/chunk-YDIP2BHB.js +2 -0
- package/build/chunk-YIBQQ3NA.js +1 -0
- package/build/chunk-ZMTLSAZW.js +1 -0
- package/build/chunk-ZP5JV6AX.js +1 -0
- package/build/chunk-ZQK3CD47.js +1 -0
- package/build/chunk-ZS4BZL5V.js +1 -0
- package/build/components/Accordion/index.js +1 -3
- package/build/components/AccordionAdapter/index.js +1 -2
- package/build/components/AccountDropdown/index.js +1 -2
- package/build/components/ActivityAreaChart/index.js +1 -4
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -2
- package/build/components/AmountStatusChip/index.js +1 -2
- package/build/components/AnimatedSpinnerIcon/index.js +1 -2
- package/build/components/AppServices/index.js +1 -2
- package/build/components/AppServicesActionMenu/index.js +1 -3
- package/build/components/AppServicesBar/index.js +1 -3
- package/build/components/AppWindowWrapper/index.js +1 -7
- package/build/components/AuthenticationTypeChip/index.js +1 -2
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/BackgroundAnimation/index.js +1 -3
- package/build/components/BetaBanner/index.js +1 -2
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/index.js +1 -4
- package/build/components/Calender/index.js +1 -2
- package/build/components/CardEmptyState/index.js +1 -2
- package/build/components/CardHeadline/index.js +1 -2
- package/build/components/Checkbox/index.js +1 -2
- package/build/components/Chip/index.js +1 -4
- package/build/components/CircularProgressWithLabel/index.js +1 -2
- package/build/components/Collapse/index.js +1 -2
- package/build/components/ColorPicker/index.js +1 -2
- package/build/components/ConfirmDialog/index.js +1 -4
- package/build/components/ControlPanelContainer/index.js +1 -2
- package/build/components/CopyImage/index.js +1 -2
- package/build/components/CountBadge/index.js +1 -5
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -2
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -2
- package/build/components/CustomBackdrop/index.js +1 -2
- package/build/components/Customer/index.js +1 -2
- package/build/components/DateButton/index.js +1 -2
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -4
- package/build/components/Dialog/index.js +1 -4
- package/build/components/Discount/index.js +1 -4
- package/build/components/DisplayAmount/index.js +1 -2
- package/build/components/DockButton/index.js +1 -2
- package/build/components/Dropdown2/index.js +1 -2
- package/build/components/DropdownButton/index.js +1 -3
- package/build/components/Error/index.js +1 -2
- package/build/components/ErrorBoundary/index.js +1 -2
- package/build/components/ErrorToast/index.js +1 -2
- package/build/components/ExpandableSideBar/index.js +1 -2
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -3
- package/build/components/FileUpload/index.js +1 -2
- package/build/components/FileUploader/index.js +1 -2
- package/build/components/FilterDropdown/index.js +1 -3
- package/build/components/FilteredIds/index.js +1 -2
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlagDetails/index.js +1 -2
- package/build/components/FlippingCard/index.js +1 -2
- package/build/components/HeatMap/index.js +1 -3
- package/build/components/IOSSwitch/index.js +1 -2
- package/build/components/Icon/index.js +1 -2
- package/build/components/IconGallery/index.js +1 -2
- package/build/components/IconWithBadge/index.js +1 -2
- package/build/components/IconWithHoverOverlays/index.js +1 -2
- package/build/components/IconWithLabel/index.js +1 -2
- package/build/components/IconsDropdown/index.js +1 -2
- package/build/components/ImageWrapper/index.js +1 -2
- package/build/components/Input/index.js +1 -2
- package/build/components/InputBase/index.js +1 -4
- package/build/components/InputNumber/index.js +1 -2
- package/build/components/Inputs/index.js +1 -5
- package/build/components/JSONViewer/index.js +1 -7
- package/build/components/LabeledIconDropdown/index.js +1 -2
- package/build/components/LanguageDropdown/index.js +1 -2
- package/build/components/LazyImage/index.js +1 -3
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -2
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -2
- package/build/components/Loader/index.js +1 -2
- package/build/components/Loaders/index.js +1 -2
- package/build/components/MFWidgetLoader/index.js +1 -2
- package/build/components/MUIThemeProvider/index.js +1 -2
- package/build/components/MainContainer/index.js +1 -2
- package/build/components/MaskedText/index.js +1 -2
- package/build/components/Menu/index.js +1 -2
- package/build/components/MenuItem/index.js +1 -2
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiDatakeyDonut/index.js +1 -1
- package/build/components/MultiSelectDropdownButton/index.js +1 -3
- package/build/components/MultiSelectStatusButton/index.js +1 -2
- package/build/components/MultiSelectWithSearch/index.js +1 -4
- package/build/components/NestedDropdown/index.js +1 -5
- package/build/components/NoInternet/index.js +1 -2
- package/build/components/OTPInput/index.js +1 -2
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -6
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ProgressBar/index.js +1 -2
- package/build/components/ProgressRing/index.js +1 -2
- package/build/components/RFH/index.js +1 -3
- package/build/components/RadioButton/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -2
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/ResizableHeightInput/index.js +1 -2
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -2
- package/build/components/Routes/index.js +1 -3
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/Sandbox/index.js +1 -2
- package/build/components/ScrollLoader/index.js +1 -3
- package/build/components/SearchButton/index.js +1 -2
- package/build/components/SearchListInput/index.js +1 -2
- package/build/components/SelectDropdown/index.js +1 -2
- package/build/components/SelectWithSearch/index.js +1 -3
- package/build/components/Skeleton/index.js +1 -2
- package/build/components/SplashScreen/index.js +1 -2
- package/build/components/StatusBar/index.js +1 -2
- package/build/components/StatusButton/index.js +1 -3
- package/build/components/StatusChip/index.js +1 -2
- package/build/components/StatusChipWithCopy/index.js +1 -4
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusGroupChips/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -14
- package/build/components/StatusLabel/index.js +1 -2
- package/build/components/TableCells/index.js +1 -3
- package/build/components/TableHeader/index.js +1 -9
- package/build/components/TableReports/index.js +1 -7
- package/build/components/TableView/index.js +1 -3
- package/build/components/TapLogo/index.js +1 -2
- package/build/components/Text/index.js +1 -2
- package/build/components/Timepicker/index.js +1 -5
- package/build/components/Toaster/index.js +1 -2
- package/build/components/ToggleButtons/index.js +1 -3
- package/build/components/ToggleView/index.js +1 -3
- package/build/components/Toolbar/index.js +1 -4
- package/build/components/ToolbarIcon/index.js +1 -4
- package/build/components/TooltipChip/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -4
- package/build/components/VAT/index.js +1 -4
- package/build/components/VerificationIcon/index.js +1 -3
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -7
- package/build/components/Widget/index.js +1 -6
- package/build/components/Window/index.js +1 -2
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -4
- package/build/components/index.js +1 -160
- package/build/constants/index.js +1 -21
- package/build/hooks/index.js +1 -17
- package/build/index.js +1 -6
- package/build/theme/index.js +1 -5
- package/build/types/index.js +1 -38
- package/build/utils/index.js +1 -48
- package/package.json +15 -18
- package/build/components/Accordion/Accordion.js +0 -30
- package/build/components/Accordion/AccordionExpandIcon.js +0 -8
- package/build/components/Accordion/style.js +0 -46
- package/build/components/Accordion/types.js +0 -1
- package/build/components/AccordionAdapter/AccordionAdapter.js +0 -23
- package/build/components/AccordionAdapter/style.js +0 -38
- package/build/components/AccountDropdown/Dropdown.js +0 -17
- package/build/components/AccountDropdown/style.js +0 -26
- package/build/components/ActionMenu/ActionMenu.js +0 -101
- package/build/components/ActionMenu/ActionMenuDropDown.js +0 -24
- package/build/components/ActionMenu/ActionMenuItem.js +0 -20
- package/build/components/ActionMenu/index.js +0 -4
- package/build/components/ActionMenu/style.js +0 -179
- package/build/components/ActionMenu/type.js +0 -1
- package/build/components/ActivityAreaChart/ActivityAreaChart.js +0 -43
- package/build/components/ActivityAreaChart/components/ChartTooltip.js +0 -24
- package/build/components/ActivityAreaChart/components/LoadingChart.js +0 -18
- package/build/components/ActivityAreaChart/components/index.js +0 -2
- package/build/components/ActivityAreaChart/styles.js +0 -46
- package/build/components/ActivityAreaChart/types.js +0 -1
- package/build/components/ActivityAreaChart/utils.js +0 -27
- package/build/components/Amount/TotalAmount/Loading.js +0 -9
- package/build/components/Amount/TotalAmount/TotalAmount.js +0 -62
- package/build/components/Amount/TotalAmount/index.js +0 -1
- package/build/components/Amount/TotalAmount/style.js +0 -26
- package/build/components/AmountConversionFilter/AmountConversionFilter.js +0 -18
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +0 -39
- package/build/components/AmountConversionFilter/style.js +0 -47
- package/build/components/AmountInput/AmountInput.js +0 -44
- package/build/components/AmountInput/style.js +0 -30
- package/build/components/AmountStatusChip/AmountStatusChip.js +0 -20
- package/build/components/AmountStatusChip/style.js +0 -13
- package/build/components/AnimatedSpinnerIcon/AnimatedSpinnerIcon.js +0 -7
- package/build/components/AnimatedSpinnerIcon/style.js +0 -8
- package/build/components/AppServices/AppServices.js +0 -82
- package/build/components/AppServices/ServiceItem.js +0 -36
- package/build/components/AppServices/style.js +0 -33
- package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +0 -44
- package/build/components/AppServicesActionMenu/ServicesSubmenu.js +0 -12
- package/build/components/AppServicesActionMenu/style.js +0 -45
- package/build/components/AppServicesActionMenu/types.js +0 -1
- package/build/components/AppServicesBar/AppServicesBar.js +0 -18
- package/build/components/AppServicesBar/style.js +0 -6
- package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +0 -82
- package/build/components/AppWindowWrapper/AppWindow/constant.js +0 -6
- package/build/components/AppWindowWrapper/AppWindow/index.js +0 -4
- package/build/components/AppWindowWrapper/AppWindow/style.js +0 -77
- package/build/components/AppWindowWrapper/AppWindow/type.js +0 -1
- package/build/components/AppWindowWrapper/AppWindowWrapper.js +0 -22
- package/build/components/AppWindowWrapper/context/Provider.js +0 -71
- package/build/components/AppWindowWrapper/context/context.js +0 -30
- package/build/components/AppWindowWrapper/context/index.js +0 -2
- package/build/components/AppWindowWrapper/context/type.js +0 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +0 -31
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +0 -10
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +0 -2
- package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.js +0 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +0 -3
- package/build/components/AppWindowWrapper/headers/AccountHeader/type.js +0 -1
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +0 -23
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.js +0 -20
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +0 -4
- package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.js +0 -1
- package/build/components/AppWindowWrapper/type.js +0 -1
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +0 -21
- package/build/components/AuthenticationTypeChip/constants.js +0 -13
- package/build/components/Autocomplete/Autocomplete.js +0 -33
- package/build/components/Autocomplete/style.js +0 -47
- package/build/components/BackgroundAnimation/BackgroundAnimation.js +0 -52
- package/build/components/BackgroundAnimation/Blob/Blob.js +0 -34
- package/build/components/BackgroundAnimation/Blob/index.js +0 -2
- package/build/components/BackgroundAnimation/Blob/type.js +0 -1
- package/build/components/BetaBanner/BetaBanner.js +0 -5
- package/build/components/BetaBanner/style.js +0 -18
- package/build/components/BrandLogo/BrandLogo.js +0 -35
- package/build/components/BrandLogo/Loading.js +0 -3
- package/build/components/Button/Button.js +0 -19
- package/build/components/Button/PlusButton/PlusButton.js +0 -21
- package/build/components/Button/PlusButton/index.js +0 -2
- package/build/components/Button/StyledButton/StyledButton.js +0 -20
- package/build/components/Button/StyledButton/index.js +0 -2
- package/build/components/Button/StyledButton/style.js +0 -13
- package/build/components/Button/style.js +0 -23
- package/build/components/Calender/Calender.js +0 -71
- package/build/components/Calender/style.js +0 -171
- package/build/components/CardEmptyState/CardEmptyState.js +0 -20
- package/build/components/CardEmptyState/style.js +0 -35
- package/build/components/CardEmptyState/type.js +0 -1
- package/build/components/CardHeadline/CardHeadline.js +0 -15
- package/build/components/Checkbox/Checkbox.js +0 -14
- package/build/components/Chip/Chip.js +0 -20
- package/build/components/Chip/GroupIconChip.js +0 -17
- package/build/components/Chip/GroupIconChips.js +0 -36
- package/build/components/Chip/style.js +0 -76
- package/build/components/Chip/type.js +0 -1
- package/build/components/CircularProgressWithLabel/CircularProgressWithLabel.js +0 -7
- package/build/components/CircularProgressWithLabel/style.js +0 -31
- package/build/components/Collapse/Collapse.js +0 -17
- package/build/components/ColorPicker/ColorPicker.js +0 -35
- package/build/components/ColorPicker/ColorPickerPanel.js +0 -56
- package/build/components/ColorPicker/ColorSchemeSelect.js +0 -35
- package/build/components/ColorPicker/HexaFields.js +0 -83
- package/build/components/ColorPicker/RGBAFields.js +0 -37
- package/build/components/ColorPicker/style.js +0 -157
- package/build/components/ConfirmDialog/ConfirmDialog.js +0 -8
- package/build/components/ConfirmDialog/context/Provider.js +0 -18
- package/build/components/ConfirmDialog/context/context.js +0 -14
- package/build/components/ConfirmDialog/context/index.js +0 -2
- package/build/components/ConfirmDialog/hooks/index.js +0 -1
- package/build/components/ConfirmDialog/hooks/useDialog.js +0 -22
- package/build/components/ConfirmDialog/styles.js +0 -42
- package/build/components/ConfirmDialog/type.js +0 -1
- package/build/components/ControlPanelContainer/ControlPanelContainer.js +0 -5
- package/build/components/ControlPanelContainer/style.js +0 -9
- package/build/components/CopyImage/CopyImage.js +0 -11
- package/build/components/CountBadge/CountBadge.js +0 -51
- package/build/components/CountBadge/CountBadgeAnimated.js +0 -15
- package/build/components/CountBadge/style.js +0 -29
- package/build/components/CountBadge/type.js +0 -16
- package/build/components/CountryFilter/CountryFilter.js +0 -71
- package/build/components/CountryFilter/style.js +0 -7
- package/build/components/CountryFlag/CountryFlag.js +0 -23
- package/build/components/CurrencyFilter/CurrencyFilter.js +0 -27
- package/build/components/CurrencySymbol/CurrencySymbol.js +0 -17
- package/build/components/CurrencySymbol/style.js +0 -27
- package/build/components/CustomBackdrop/CustomBackdrop.js +0 -8
- package/build/components/CustomBackdrop/style.js +0 -9
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +0 -39
- package/build/components/Customer/CustomerDropdown/index.js +0 -1
- package/build/components/Customer/CustomerDropdown/style.js +0 -30
- package/build/components/Customer/CustomerForms/CustomerEmailForm.js +0 -76
- package/build/components/Customer/CustomerForms/CustomerFullInfo.js +0 -72
- package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +0 -74
- package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +0 -71
- package/build/components/Customer/CustomerForms/index.js +0 -9
- package/build/components/Customer/CustomerForms/style.js +0 -71
- package/build/components/Customer/CustomerForms/validation.js +0 -42
- package/build/components/DateButton/DateButton.js +0 -9
- package/build/components/DateFilter/DateFilter.js +0 -32
- package/build/components/DateFilter/style.js +0 -100
- package/build/components/DeviceIcon/DeviceIcon.js +0 -29
- package/build/components/DeviceIcon/constants.js +0 -6
- package/build/components/DeviceIcon/style.js +0 -18
- package/build/components/DeviceIcon/utils.js +0 -4
- package/build/components/Dialog/Dialog.js +0 -9
- package/build/components/Dialog/components/DialogToolbar.js +0 -31
- package/build/components/Dialog/components/index.js +0 -2
- package/build/components/Dialog/constant.js +0 -1
- package/build/components/Dialog/style.js +0 -50
- package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +0 -67
- package/build/components/Discount/DiscountDropdown/index.js +0 -2
- package/build/components/Discount/DiscountDropdown/style.js +0 -40
- package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +0 -53
- package/build/components/Discount/DiscountRateDropdown/index.js +0 -2
- package/build/components/Discount/DiscountRateDropdown/style.js +0 -33
- package/build/components/Discount/TotalDiscount/TotalDiscount.js +0 -30
- package/build/components/Discount/TotalDiscount/index.js +0 -1
- package/build/components/Discount/TotalDiscount/style.js +0 -5
- package/build/components/Discount/utils.js +0 -12
- package/build/components/DisplayAmount/DisplayAmount.js +0 -21
- package/build/components/DisplayAmount/style.js +0 -14
- package/build/components/DockButton/DockButton.js +0 -27
- package/build/components/DockButton/style.js +0 -25
- package/build/components/DockButton/type.js +0 -1
- package/build/components/Dropdown2/Dropdown2.js +0 -29
- package/build/components/Dropdown2/style.js +0 -24
- package/build/components/DropdownButton/ChevronIcon.js +0 -16
- package/build/components/DropdownButton/DropdownButton.js +0 -50
- package/build/components/DropdownButton/constants.js +0 -5
- package/build/components/DropdownButton/style.js +0 -70
- package/build/components/DropdownButton/type.js +0 -1
- package/build/components/DropdownMenu/DropdownMenu.js +0 -43
- package/build/components/DropdownMenu/index.js +0 -3
- package/build/components/DropdownMenu/styles.js +0 -158
- package/build/components/DropdownMenu/type.js +0 -1
- package/build/components/Error/Error.js +0 -20
- package/build/components/Error/style.js +0 -13
- package/build/components/ErrorBoundary/AppError.js +0 -16
- package/build/components/ErrorBoundary/ErrorBoundary.js +0 -25
- package/build/components/ErrorBoundary/style.js +0 -19
- package/build/components/ErrorToast/ErrorToast.js +0 -7
- package/build/components/ErrorToast/style.js +0 -33
- package/build/components/ErrorToast/type.js +0 -1
- package/build/components/ExpandableSideBar/ExpandableSideBar.js +0 -35
- package/build/components/ExpandableSideBar/constant.js +0 -1
- package/build/components/ExpandableSideBar/style.js +0 -47
- package/build/components/ExpandableSideBar/type.js +0 -1
- package/build/components/FileInputPreview/FileInputPreview.js +0 -51
- package/build/components/FileInputPreview/style.js +0 -20
- package/build/components/FileInputPreview/type.js +0 -1
- package/build/components/FileInputPreview/utils.js +0 -14
- package/build/components/FilePreview/FilePreview.js +0 -18
- package/build/components/FilePreview/style.js +0 -55
- package/build/components/FilePreview/type.js +0 -1
- package/build/components/FileUpload/FileUpload.js +0 -41
- package/build/components/FileUpload/style.js +0 -106
- package/build/components/FileUploader/FileUploader.js +0 -13
- package/build/components/FileUploader/style.js +0 -55
- package/build/components/FileUploader/type.js +0 -1
- package/build/components/FilterDropdown/FilterDropdown.js +0 -58
- package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +0 -39
- package/build/components/FilterDropdown/components/BrandItem/index.js +0 -2
- package/build/components/FilterDropdown/components/BrandItem/style.js +0 -9
- package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +0 -54
- package/build/components/FilterDropdown/components/CountriesItem/index.js +0 -1
- package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +0 -59
- package/build/components/FilterDropdown/components/CurrenciesItem/index.js +0 -1
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +0 -39
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +0 -2
- package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +0 -23
- package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +0 -60
- package/build/components/FilterDropdown/components/MerchantItem/index.js +0 -2
- package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +0 -45
- package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +0 -4
- package/build/components/FilterDropdown/components/MerchantsFilterItem/type.js +0 -7
- package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +0 -55
- package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +0 -68
- package/build/components/FilterDropdown/components/RetailersItem/index.js +0 -1
- package/build/components/FilterDropdown/components/RetailersItem/style.js +0 -8
- package/build/components/FilterDropdown/components/index.js +0 -6
- package/build/components/FilterDropdown/style.js +0 -73
- package/build/components/FilterDropdown/type.js +0 -1
- package/build/components/FilteredIds/FilteredIds.js +0 -16
- package/build/components/FilteredIds/style.js +0 -33
- package/build/components/FilteredIds/type.js +0 -1
- package/build/components/Filters/style.js +0 -51
- package/build/components/FlagDetails/FlagDetails.js +0 -31
- package/build/components/FlippingCard/FlippingCard.js +0 -7
- package/build/components/FlippingCard/style.js +0 -26
- package/build/components/HeatMap/HeatMap.js +0 -20
- package/build/components/HeatMap/constant.js +0 -1
- package/build/components/HeatMap/style.js +0 -34
- package/build/components/HeatMap/type.js +0 -1
- package/build/components/HeatMap/utils.js +0 -9
- package/build/components/IOSSwitch/IOSSwitch.js +0 -7
- package/build/components/IOSSwitch/styles.js +0 -49
- package/build/components/Icon/Icon.js +0 -12
- package/build/components/Icon/type.js +0 -1
- package/build/components/IconGallery/IconGallery.js +0 -13
- package/build/components/IconGallery/styles.js +0 -21
- package/build/components/IconGallery/type.js +0 -1
- package/build/components/IconWithBadge/IconWithBadge.js +0 -21
- package/build/components/IconWithBadge/style.js +0 -11
- package/build/components/IconWithBadge/type.js +0 -1
- package/build/components/IconWithHoverOverlays/IconWithHoverOverlays.js +0 -19
- package/build/components/IconWithHoverOverlays/style.js +0 -45
- package/build/components/IconWithLabel/IconWithLabel.js +0 -7
- package/build/components/IconWithLabel/style.js +0 -21
- package/build/components/IconsDropdown/IconsDropdown.js +0 -31
- package/build/components/IconsDropdown/style.js +0 -47
- package/build/components/ImageWrapper/ImageWrapper.js +0 -16
- package/build/components/Input/Input.js +0 -22
- package/build/components/Input/style.js +0 -18
- package/build/components/InputBase/AmountInputBase/AmountInputBase.js +0 -30
- package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.js +0 -50
- package/build/components/InputBase/AmountInputBase/CurrencyList/index.js +0 -2
- package/build/components/InputBase/AmountInputBase/CurrencyList/style.js +0 -42
- package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.js +0 -24
- package/build/components/InputBase/AmountInputBase/InputNumber/index.js +0 -3
- package/build/components/InputBase/AmountInputBase/InputNumber/style.js +0 -24
- package/build/components/InputBase/AmountInputBase/InputNumber/type.js +0 -1
- package/build/components/InputBase/AmountInputBase/index.js +0 -4
- package/build/components/InputBase/AmountInputBase/style.js +0 -26
- package/build/components/InputBase/InputBase/InputBase.js +0 -28
- package/build/components/InputBase/InputBase/index.js +0 -2
- package/build/components/InputBase/InputBase/style.js +0 -68
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +0 -65
- package/build/components/InputBase/PhoneInputBase/CountriesList/index.js +0 -2
- package/build/components/InputBase/PhoneInputBase/CountriesList/style.js +0 -49
- package/build/components/InputBase/PhoneInputBase/PhoneInputBase.js +0 -27
- package/build/components/InputBase/PhoneInputBase/index.js +0 -3
- package/build/components/InputBase/PhoneInputBase/style.js +0 -23
- package/build/components/InputBase/SelectBase/SelectBase.js +0 -45
- package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +0 -64
- package/build/components/InputBase/SelectBase/index.js +0 -3
- package/build/components/InputBase/SelectBase/style.js +0 -109
- package/build/components/InputNumber/InputNumber.js +0 -40
- package/build/components/InputNumber/style.js +0 -20
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +0 -59
- package/build/components/Inputs/CountriesDropDown/index.js +0 -3
- package/build/components/Inputs/CountriesDropDown/style.js +0 -68
- package/build/components/Inputs/FileInput/FileInput.js +0 -13
- package/build/components/Inputs/FileInput/index.js +0 -2
- package/build/components/Inputs/FileInput/style.js +0 -41
- package/build/components/Inputs/FileInput/type.js +0 -1
- package/build/components/Inputs/Input/Input.js +0 -23
- package/build/components/Inputs/Input/index.js +0 -2
- package/build/components/Inputs/Input/style.js +0 -85
- package/build/components/Inputs/Input/type.js +0 -1
- package/build/components/Inputs/SearchInput/SearchInput.js +0 -24
- package/build/components/Inputs/SearchInput/index.js +0 -2
- package/build/components/Inputs/SearchInput/styles.js +0 -17
- package/build/components/Inputs/Select/Select.js +0 -67
- package/build/components/Inputs/Select/index.js +0 -2
- package/build/components/Inputs/Select/style.js +0 -24
- package/build/components/Inputs/Select/type.js +0 -1
- package/build/components/JSONViewer/JSONViewer.js +0 -285
- package/build/components/JSONViewer/JSONViewerList.js +0 -10
- package/build/components/JSONViewer/components/FooterButton/FooterButton.js +0 -44
- package/build/components/JSONViewer/components/FooterButton/index.js +0 -2
- package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +0 -9
- package/build/components/JSONViewer/components/JSONTitleBar/index.js +0 -3
- package/build/components/JSONViewer/components/JSONTitleBar/type.js +0 -1
- package/build/components/JSONViewer/components/index.js +0 -2
- package/build/components/JSONViewer/context/Provider.js +0 -44
- package/build/components/JSONViewer/context/context.js +0 -7
- package/build/components/JSONViewer/context/index.js +0 -2
- package/build/components/JSONViewer/hooks/index.js +0 -1
- package/build/components/JSONViewer/hooks/useJsonViewerContext.js +0 -18
- package/build/components/JSONViewer/style.js +0 -176
- package/build/components/JSONViewer/type.js +0 -1
- package/build/components/LabeledIconDropdown/LabeledIconDropdown.js +0 -51
- package/build/components/LabeledIconDropdown/style.js +0 -104
- package/build/components/LanguageDropdown/LanguageDropdown.js +0 -24
- package/build/components/LanguageDropdown/style.js +0 -5
- package/build/components/LazyImage/LazyImage.js +0 -39
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.js +0 -30
- package/build/components/LeftPeekRightExpandingChip/style.js +0 -65
- package/build/components/LeftPeekRightExpandingChip/type.js +0 -1
- package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.js +0 -134
- package/build/components/ListColumnFilter/ListColumnFilter.js +0 -36
- package/build/components/ListColumnFilter/style.js +0 -35
- package/build/components/ListLayout/ListLayout.js +0 -20
- package/build/components/ListLayout/styles.js +0 -9
- package/build/components/Loader/Loader.js +0 -7
- package/build/components/Loader/style.js +0 -15
- package/build/components/Loaders/TapLoader.js +0 -29
- package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.js +0 -12
- package/build/components/MFWidgetLoader/MFWidgetLoader.js +0 -10
- package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.js +0 -8
- package/build/components/MUIThemeProvider/MUIThemeProvider.js +0 -9
- package/build/components/MainContainer/MainContainer.js +0 -8
- package/build/components/MaskedText/MaskedText.js +0 -9
- package/build/components/MaskedText/type.js +0 -1
- package/build/components/Menu/Menu.js +0 -29
- package/build/components/Menu/style.js +0 -23
- package/build/components/MenuItem/MenuItem.js +0 -21
- package/build/components/MenuItem/style.js +0 -30
- package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +0 -38
- package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +0 -6
- package/build/components/MerchantCurrencyDropdown/style.js +0 -64
- package/build/components/MerchantLogo/MerchantLogo.js +0 -17
- package/build/components/MerchantLogo/style.js +0 -13
- package/build/components/MerchantsDropdown/BrandItem.js +0 -71
- package/build/components/MerchantsDropdown/EntityItem.js +0 -69
- package/build/components/MerchantsDropdown/EntityList.js +0 -7
- package/build/components/MerchantsDropdown/MerchantItem.js +0 -27
- package/build/components/MerchantsDropdown/MerchantsDropdown.js +0 -67
- package/build/components/MerchantsDropdown/MerchantsList.js +0 -18
- package/build/components/MerchantsDropdown/hooks.js +0 -54
- package/build/components/MerchantsDropdown/style.js +0 -155
- package/build/components/MerchantsDropdown/type.js +0 -1
- package/build/components/MultiDatakeyDonut/MultiDatakeyDonut.js +0 -19
- package/build/components/MultiDatakeyDonut/style.js +0 -23
- package/build/components/MultiSelectDropdownButton/MultiSelectDropdownButton.js +0 -32
- package/build/components/MultiSelectDropdownButton/components/StatusButton.js +0 -34
- package/build/components/MultiSelectDropdownButton/style.js +0 -8
- package/build/components/MultiSelectDropdownButton/type.js +0 -1
- package/build/components/MultiSelectStatusButton/MultiSelectStatusButton.js +0 -93
- package/build/components/MultiSelectStatusButton/style.js +0 -77
- package/build/components/MultiSelectStatusButton/type.js +0 -1
- package/build/components/MultiSelectWithSearch/ChildMenuItem.js +0 -45
- package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.js +0 -52
- package/build/components/MultiSelectWithSearch/ParentMenuItem.js +0 -27
- package/build/components/MultiSelectWithSearch/style.js +0 -88
- package/build/components/MultiSelectWithSearch/type.js +0 -1
- package/build/components/MultiSelectWithSearch/utils.js +0 -12
- package/build/components/NestedDropdown/Dropdown.js +0 -60
- package/build/components/NestedDropdown/NestedDropdown.js +0 -49
- package/build/components/NestedDropdown/NestedMenuItem.js +0 -48
- package/build/components/NestedDropdown/styles.js +0 -100
- package/build/components/NestedDropdown/types.js +0 -1
- package/build/components/NoInternet/NoInternet.js +0 -6
- package/build/components/NoInternet/style.js +0 -32
- package/build/components/OTPInput/OTPInput.js +0 -36
- package/build/components/OTPInput/style.js +0 -28
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +0 -26
- package/build/components/OpenFileInNewTab/style.js +0 -8
- package/build/components/PartnersFilter/PartnersFilter.js +0 -50
- package/build/components/PaymentSourceFilter/AuthenticationMode.js +0 -59
- package/build/components/PaymentSourceFilter/PaymentIcon.js +0 -9
- package/build/components/PaymentSourceFilter/PaymentInitiated.js +0 -29
- package/build/components/PaymentSourceFilter/PaymentMethod.js +0 -55
- package/build/components/PaymentSourceFilter/PaymentMethods.js +0 -50
- package/build/components/PaymentSourceFilter/PaymentSchemes.js +0 -54
- package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +0 -16
- package/build/components/PaymentSourceFilter/style.js +0 -22
- package/build/components/PaymentSourceFilter/type.js +0 -1
- package/build/components/PhoneFilter/PhoneFilter.js +0 -13
- package/build/components/ProgressBar/ProgressBar.js +0 -6
- package/build/components/ProgressBar/style.js +0 -19
- package/build/components/ProgressRing/LoadingSkeleton.js +0 -6
- package/build/components/ProgressRing/ProgressRing.js +0 -17
- package/build/components/ProgressRing/style.js +0 -37
- package/build/components/RFH/Forms/DefaultForm.js +0 -7
- package/build/components/RFH/Forms/index.js +0 -1
- package/build/components/RFH/Inputs/AmountInput/AmountInput.js +0 -35
- package/build/components/RFH/Inputs/AmountInput/index.js +0 -3
- package/build/components/RFH/Inputs/AmountInput/type.js +0 -1
- package/build/components/RFH/Inputs/AmountInput/utils.js +0 -3
- package/build/components/RFH/Inputs/FormInput/FormInput.js +0 -32
- package/build/components/RFH/Inputs/FormInput/index.js +0 -2
- package/build/components/RFH/Inputs/FormSelect/FormSelect.js +0 -25
- package/build/components/RFH/Inputs/FormSelect/index.js +0 -2
- package/build/components/RFH/Inputs/FormSelect/type.js +0 -1
- package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +0 -66
- package/build/components/RFH/Inputs/MultiSelect/index.js +0 -2
- package/build/components/RFH/Inputs/MultiSelect/style.js +0 -56
- package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +0 -30
- package/build/components/RFH/Inputs/PhoneInput/index.js +0 -2
- package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +0 -62
- package/build/components/RFH/Inputs/SelectWithAccordion/index.js +0 -2
- package/build/components/RFH/Inputs/SelectWithAccordion/style.js +0 -70
- package/build/components/RFH/Inputs/SelectWithAccordion/type.js +0 -1
- package/build/components/RFH/Inputs/Switch/Switch.js +0 -22
- package/build/components/RFH/Inputs/Switch/index.js +0 -2
- package/build/components/RFH/Inputs/index.js +0 -7
- package/build/components/RFH/hooks/index.js +0 -1
- package/build/components/RFH/hooks/useRFHForm.js +0 -2
- package/build/components/RadioButton/RadioButton.js +0 -19
- package/build/components/RadioButton/style.js +0 -64
- package/build/components/RadioButton/type.js +0 -1
- package/build/components/RadioGroup/RadioGroup.js +0 -38
- package/build/components/RadioGroup/style.js +0 -16
- package/build/components/RadioGroup/type.js +0 -1
- package/build/components/RangeCalender/RangeCalender.js +0 -99
- package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +0 -40
- package/build/components/RangeCalender/components/CustomTimepicker/index.js +0 -2
- package/build/components/RangeCalender/components/CustomTimepicker/style.js +0 -132
- package/build/components/RangeCalender/components/GroupBy/GroupBy.js +0 -33
- package/build/components/RangeCalender/components/GroupBy/index.js +0 -2
- package/build/components/RangeCalender/components/GroupBy/style.js +0 -39
- package/build/components/RangeCalender/components/Hijri/Hijri.js +0 -13
- package/build/components/RangeCalender/components/Hijri/index.js +0 -2
- package/build/components/RangeCalender/components/Hijri/style.js +0 -25
- package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +0 -47
- package/build/components/RangeCalender/components/QuickFilters/index.js +0 -2
- package/build/components/RangeCalender/components/QuickFilters/style.js +0 -27
- package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +0 -31
- package/build/components/RangeCalender/components/RangeDatepicker/index.js +0 -3
- package/build/components/RangeCalender/components/RangeDatepicker/style.js +0 -9
- package/build/components/RangeCalender/components/RangeDatepicker/type.js +0 -1
- package/build/components/RangeCalender/components/Timezone/Timezone.js +0 -32
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +0 -38
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +0 -14
- package/build/components/RangeCalender/components/Timezone/index.js +0 -2
- package/build/components/RangeCalender/components/Timezone/style.js +0 -61
- package/build/components/RangeCalender/style.js +0 -193
- package/build/components/RangeCalender/type.js +0 -1
- package/build/components/RangeCalender/utils.js +0 -26
- package/build/components/ReceiptsViewer/ReceiptViewer.js +0 -16
- package/build/components/ReceiptsViewer/ReceiptsViewer.js +0 -7
- package/build/components/ReceiptsViewer/style.js +0 -7
- package/build/components/ReceiptsViewer/type.js +0 -1
- package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +0 -36
- package/build/components/ReferenceTypeFilter/style.js +0 -34
- package/build/components/ResizableHeightInput/ResizableHeightInput.js +0 -24
- package/build/components/ResizableHeightInput/style.js +0 -12
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.js +0 -113
- package/build/components/RightLeftExpandingCenterChip/style.js +0 -130
- package/build/components/RightLeftExpandingCenterChip/type.js +0 -1
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.js +0 -233
- package/build/components/Routes/PrivateRoute.js +0 -10
- package/build/components/Routes/PublicRoute.js +0 -6
- package/build/components/SalesChannelFilter/SalesChannelFilter.js +0 -56
- package/build/components/SalesChannelFilter/style.js +0 -29
- package/build/components/Sandbox/Sandbox.js +0 -10
- package/build/components/Sandbox/style.js +0 -58
- package/build/components/ScrollLoader/ScrollLoader.js +0 -69
- package/build/components/SearchButton/SearchButton.js +0 -57
- package/build/components/SearchButton/styles.js +0 -44
- package/build/components/SearchListInput/SearchListInput.js +0 -20
- package/build/components/SearchListInput/style.js +0 -15
- package/build/components/SelectDropdown/SelectDropdown.js +0 -18
- package/build/components/SelectDropdown/style.js +0 -18
- package/build/components/SelectWithSearch/SelectWithSearch.js +0 -61
- package/build/components/SelectWithSearch/style.js +0 -70
- package/build/components/SelectWithSearch/type.js +0 -1
- package/build/components/SimpleDialog/SimpleDialog.js +0 -9
- package/build/components/SimpleDialog/index.js +0 -2
- package/build/components/SimpleDialog/style.js +0 -13
- package/build/components/SimpleDialog/type.js +0 -1
- package/build/components/Skeleton/Skeleton.js +0 -19
- package/build/components/SplashScreen/SplashScreen.js +0 -17
- package/build/components/StatusBar/StatusBar.js +0 -54
- package/build/components/StatusBar/type.js +0 -1
- package/build/components/StatusButton/ChevronIcon.js +0 -18
- package/build/components/StatusButton/StatusButton.js +0 -94
- package/build/components/StatusButton/constant.js +0 -30
- package/build/components/StatusButton/style.js +0 -92
- package/build/components/StatusButton/type.js +0 -1
- package/build/components/StatusChip/StatusChip.js +0 -58
- package/build/components/StatusChip/style.js +0 -37
- package/build/components/StatusChip/type.js +0 -1
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +0 -23
- package/build/components/StatusChipWithCopy/utils.js +0 -4
- package/build/components/StatusFilter/StatusFilter.js +0 -88
- package/build/components/StatusFilter/utils.js +0 -10
- package/build/components/StatusGroupChips/StatusGroupChips.js +0 -24
- package/build/components/StatusGroupChips/style.js +0 -17
- package/build/components/StatusGroupChips/type.js +0 -1
- package/build/components/StatusIcons/AgreementIcon/AgreementIcon.js +0 -34
- package/build/components/StatusIcons/AgreementIcon/constant.js +0 -32
- package/build/components/StatusIcons/AgreementIcon/index.js +0 -3
- package/build/components/StatusIcons/AgreementIcon/style.js +0 -37
- package/build/components/StatusIcons/AgreementIcon/type.js +0 -1
- package/build/components/StatusIcons/AuthIcons/AuthIcons.js +0 -45
- package/build/components/StatusIcons/AuthIcons/constants.js +0 -35
- package/build/components/StatusIcons/AuthIcons/index.js +0 -3
- package/build/components/StatusIcons/AuthIcons/style.js +0 -61
- package/build/components/StatusIcons/AuthIcons/type.js +0 -14
- package/build/components/StatusIcons/AuthIcons/utils.js +0 -8
- package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +0 -82
- package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +0 -85
- package/build/components/StatusIcons/AuthorizationAutoIcons/constant.js +0 -5
- package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +0 -4
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +0 -58
- package/build/components/StatusIcons/AuthorizationAutoIcons/type.js +0 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/utils.js +0 -9
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +0 -20
- package/build/components/StatusIcons/AuthorizedIcon/index.js +0 -1
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +0 -58
- package/build/components/StatusIcons/ChargeStatusIcon/index.js +0 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.js +0 -113
- package/build/components/StatusIcons/CustomerInitiated/CustomerInitiatedIcon.js +0 -11
- package/build/components/StatusIcons/CustomerInitiated/index.js +0 -1
- package/build/components/StatusIcons/DestinationIcon/DestinationIcon.js +0 -22
- package/build/components/StatusIcons/DestinationIcon/constant.js +0 -7
- package/build/components/StatusIcons/DestinationIcon/index.js +0 -1
- package/build/components/StatusIcons/DestinationIcon/style.js +0 -20
- package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +0 -7
- package/build/components/StatusIcons/DeviceIcon/index.js +0 -1
- package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +0 -9
- package/build/components/StatusIcons/DisputeIcon/index.js +0 -1
- package/build/components/StatusIcons/GeographyIcon/GeographyIcon.js +0 -17
- package/build/components/StatusIcons/GeographyIcon/index.js +0 -1
- package/build/components/StatusIcons/GeographyIcon/style.js +0 -23
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +0 -9
- package/build/components/StatusIcons/IssuerIcon/index.js +0 -3
- package/build/components/StatusIcons/IssuerIcon/style.js +0 -10
- package/build/components/StatusIcons/IssuerIcon/type.js +0 -1
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +0 -17
- package/build/components/StatusIcons/PayoutIcon/index.js +0 -1
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +0 -59
- package/build/components/StatusIcons/RefundIcon/index.js +0 -2
- package/build/components/StatusIcons/SourceIcons/SourceIcons.js +0 -38
- package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +0 -13
- package/build/components/StatusIcons/SourceIcons/components/index.js +0 -1
- package/build/components/StatusIcons/SourceIcons/index.js +0 -3
- package/build/components/StatusIcons/SourceIcons/style.js +0 -57
- package/build/components/StatusIcons/SourceIcons/type.js +0 -1
- package/build/components/StatusIcons/SourceIcons/utils.js +0 -8
- package/build/components/StatusLabel/StatusLabel.js +0 -10
- package/build/components/StatusLabel/style.js +0 -20
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +0 -97
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +0 -51
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconsVariants.js +0 -21
- package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +0 -74
- package/build/components/TableCells/CustomCells/ActionCell/components/index.js +0 -3
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +0 -29
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.js +0 -37
- package/build/components/TableCells/CustomCells/ActionCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/ActionCell/style.js +0 -29
- package/build/components/TableCells/CustomCells/ActionCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +0 -51
- package/build/components/TableCells/CustomCells/AgreementCell/constant.js +0 -32
- package/build/components/TableCells/CustomCells/AgreementCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/AgreementCell/style.js +0 -59
- package/build/components/TableCells/CustomCells/AgreementCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +0 -24
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +0 -10
- package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +0 -23
- package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +0 -15
- package/build/components/TableCells/CustomCells/AmountCell/components/ConversionTypeLabel.js +0 -7
- package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +0 -8
- package/build/components/TableCells/CustomCells/AmountCell/components/index.js +0 -3
- package/build/components/TableCells/CustomCells/AmountCell/index.js +0 -5
- package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -37
- package/build/components/TableCells/CustomCells/AmountCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +0 -57
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +0 -51
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AppsCell/AppsCell.js +0 -25
- package/build/components/TableCells/CustomCells/AppsCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/AppsCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +0 -30
- package/build/components/TableCells/CustomCells/AuthCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/AuthCell/style.js +0 -15
- package/build/components/TableCells/CustomCells/AuthCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +0 -66
- package/build/components/TableCells/CustomCells/AuthenticationCell/constant.js +0 -50
- package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.js +0 -65
- package/build/components/TableCells/CustomCells/AuthenticationCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +0 -31
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/constant.js +0 -20
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.js +0 -57
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +0 -24
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/constant.js +0 -9
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.js +0 -57
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +0 -36
- package/build/components/TableCells/CustomCells/AvatarCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/AvatarCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +0 -60
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +0 -10
- package/build/components/TableCells/CustomCells/BalanceCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/BalanceCell/style.js +0 -39
- package/build/components/TableCells/CustomCells/BalanceCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/BalanceCell/utils.js +0 -9
- package/build/components/TableCells/CustomCells/BankCell/BankCell.js +0 -26
- package/build/components/TableCells/CustomCells/BankCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/BankCell/style.js +0 -37
- package/build/components/TableCells/CustomCells/BankCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.js +0 -10
- package/build/components/TableCells/CustomCells/BankReferenceCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/BankReferenceCell/style.js +0 -14
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +0 -28
- package/build/components/TableCells/CustomCells/BrandCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/BrandCell/style.js +0 -20
- package/build/components/TableCells/CustomCells/BrandCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +0 -21
- package/build/components/TableCells/CustomCells/BrandsCell/constants.js +0 -7
- package/build/components/TableCells/CustomCells/BrandsCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +0 -31
- package/build/components/TableCells/CustomCells/BrandsCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/BusinessStatusCell/BusinessStatusCell.js +0 -39
- package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/BusinessStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +0 -55
- package/build/components/TableCells/CustomCells/ChannelsCell/constant.js +0 -6
- package/build/components/TableCells/CustomCells/ChannelsCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/ChannelsCell/style.js +0 -36
- package/build/components/TableCells/CustomCells/ChannelsCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +0 -32
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/constant.js +0 -5
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.js +0 -20
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +0 -6
- package/build/components/TableCells/CustomCells/CurrencyCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -12
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +0 -46
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCellSheet.js +0 -8
- package/build/components/TableCells/CustomCells/CustomerCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/CustomerCell/style.js +0 -24
- package/build/components/TableCells/CustomCells/CustomerCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +0 -26
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +0 -29
- package/build/components/TableCells/CustomCells/DateCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/DateCell/style.js +0 -7
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +0 -27
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +0 -31
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +0 -35
- package/build/components/TableCells/CustomCells/DestinationCell/index.js +0 -4
- package/build/components/TableCells/CustomCells/DestinationCell/styled.js +0 -68
- package/build/components/TableCells/CustomCells/DestinationCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/DestinationCell/utils.js +0 -12
- package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +0 -25
- package/build/components/TableCells/CustomCells/DestinationStatusCell/constant.js +0 -7
- package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.js +0 -57
- package/build/components/TableCells/CustomCells/DestinationStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +0 -21
- package/build/components/TableCells/CustomCells/DeviceCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/DeviceCell/style.js +0 -7
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +0 -29
- package/build/components/TableCells/CustomCells/DueDateCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/DueDateCell/style.js +0 -43
- package/build/components/TableCells/CustomCells/DueDateCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/DueDateCell/utils.js +0 -53
- package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +0 -23
- package/build/components/TableCells/CustomCells/EntityCell/constants.js +0 -7
- package/build/components/TableCells/CustomCells/EntityCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/EntityCell/style.js +0 -28
- package/build/components/TableCells/CustomCells/EntityCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/IDButton/IDButton.js +0 -44
- package/build/components/TableCells/CustomCells/IDButton/index.js +0 -1
- package/build/components/TableCells/CustomCells/IDButton/style.js +0 -15
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +0 -21
- package/build/components/TableCells/CustomCells/IndividualsCell/constants.js +0 -7
- package/build/components/TableCells/CustomCells/IndividualsCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/IndividualsCell/style.js +0 -51
- package/build/components/TableCells/CustomCells/IndividualsCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +0 -33
- package/build/components/TableCells/CustomCells/IntentsStatusCell/constant.js +0 -7
- package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.js +0 -20
- package/build/components/TableCells/CustomCells/IntentsStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +0 -18
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +0 -69
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/constant.js +0 -17
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.js +0 -50
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/utils.js +0 -40
- package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +0 -25
- package/build/components/TableCells/CustomCells/LeadStatusCell/constant.js +0 -9
- package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/LeadStatusCell/style.js +0 -12
- package/build/components/TableCells/CustomCells/LeadStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +0 -23
- package/build/components/TableCells/CustomCells/LinkCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/LinkCell/style.js +0 -12
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +0 -28
- package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/MetadataCell/MetadataCell.js +0 -18
- package/build/components/TableCells/CustomCells/MetadataCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +0 -27
- package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +0 -20
- package/build/components/TableCells/CustomCells/OrderCell/constant.js +0 -1
- package/build/components/TableCells/CustomCells/OrderCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +0 -32
- package/build/components/TableCells/CustomCells/OrdersCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +0 -21
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/constant.js +0 -6
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/PaymentAgreementCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +0 -35
- package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +0 -20
- package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.js +0 -18
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +0 -32
- package/build/components/TableCells/CustomCells/PayoutStatusCell/constant.js +0 -12
- package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.js +0 -57
- package/build/components/TableCells/CustomCells/PayoutStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +0 -63
- package/build/components/TableCells/CustomCells/ProductsCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/ProductsCell/style.js +0 -58
- package/build/components/TableCells/CustomCells/ProductsCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/ProviderCell/ProviderCell.js +0 -23
- package/build/components/TableCells/CustomCells/ProviderCell/constants.js +0 -7
- package/build/components/TableCells/CustomCells/ProviderCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/ProviderCell/style.js +0 -19
- package/build/components/TableCells/CustomCells/ProviderCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/PurposeCell/PurposeCell.js +0 -20
- package/build/components/TableCells/CustomCells/PurposeCell/constants.js +0 -28
- package/build/components/TableCells/CustomCells/PurposeCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/PurposeCell/style.js +0 -35
- package/build/components/TableCells/CustomCells/PurposeCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +0 -11
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +0 -5
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +0 -5
- package/build/components/TableCells/CustomCells/ReceiptCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/ReceiptCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +0 -43
- package/build/components/TableCells/CustomCells/ReferenceCell/constant.js +0 -7
- package/build/components/TableCells/CustomCells/ReferenceCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/ReferenceCell/style.js +0 -60
- package/build/components/TableCells/CustomCells/ReferenceCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +0 -96
- package/build/components/TableCells/CustomCells/RefundChargeCell/constant.js +0 -14
- package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +0 -39
- package/build/components/TableCells/CustomCells/RefundChargeCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/utils.js +0 -9
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +0 -36
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +0 -15
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +0 -60
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +0 -10
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +0 -3
- package/build/components/TableCells/CustomCells/RefundStatusCell/constant.js +0 -20
- package/build/components/TableCells/CustomCells/RefundStatusCell/hooks/useRefundStyles.js +0 -54
- package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +0 -71
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +0 -40
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +0 -54
- package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +0 -3
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.js +0 -60
- package/build/components/TableCells/CustomCells/SalesChannelCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/utils.js +0 -69
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +0 -53
- package/build/components/TableCells/CustomCells/SegmentsCell/constant.js +0 -8
- package/build/components/TableCells/CustomCells/SegmentsCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/SegmentsCell/style.js +0 -51
- package/build/components/TableCells/CustomCells/SegmentsCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/utils.js +0 -14
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +0 -26
- package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/AuthenticationMode.js +0 -9
- package/build/components/TableCells/CustomCells/SourceCell/components/AuthenticationMode/index.js +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +0 -13
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/style.js +0 -6
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +0 -11
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +0 -11
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +0 -11
- package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/components/index.js +0 -5
- package/build/components/TableCells/CustomCells/SourceCell/constant.js +0 -11
- package/build/components/TableCells/CustomCells/SourceCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/SourceCell/style.js +0 -12
- package/build/components/TableCells/CustomCells/SourceCell/type.js +0 -13
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +0 -42
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +0 -21
- package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +0 -42
- package/build/components/TableCells/CustomCells/StatusCell/constant.js +0 -93
- package/build/components/TableCells/CustomCells/StatusCell/index.js +0 -4
- package/build/components/TableCells/CustomCells/StatusCell/style.js +0 -69
- package/build/components/TableCells/CustomCells/StatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/StatusCell/useStatusCell.js +0 -8
- package/build/components/TableCells/CustomCells/StatusCell/utils.js +0 -9
- package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +0 -6
- package/build/components/TableCells/CustomCells/TextTableCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/TextTableCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +0 -29
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +0 -31
- package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +0 -33
- package/build/components/TableCells/CustomCells/TokenStatusCell/constant.js +0 -9
- package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +0 -1
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.js +0 -57
- package/build/components/TableCells/CustomCells/TokenStatusCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +0 -26
- package/build/components/TableCells/CustomCells/WalletCell/index.js +0 -2
- package/build/components/TableCells/CustomCells/WalletCell/style.js +0 -26
- package/build/components/TableCells/CustomCells/WalletCell/type.js +0 -1
- package/build/components/TableCells/CustomCells/index.js +0 -56
- package/build/components/TableCells/CustomCells/style.js +0 -140
- package/build/components/TableCells/CustomCells/type.js +0 -15
- package/build/components/TableCells/TableCell.js +0 -19
- package/build/components/TableCells/style.js +0 -18
- package/build/components/TableCells/type.js +0 -1
- package/build/components/TableHeader/FiltersRow.js +0 -20
- package/build/components/TableHeader/FiltersRowWrapper.js +0 -18
- package/build/components/TableHeader/TableHeader.js +0 -22
- package/build/components/TableHeader/TableHeaderWrapper.js +0 -18
- package/build/components/TableHeader/TableModeButton.js +0 -11
- package/build/components/TableHeader/TableView/ColumnItem.js +0 -29
- package/build/components/TableHeader/TableView/CreateViewDialog.js +0 -91
- package/build/components/TableHeader/TableView/CustomViews.js +0 -21
- package/build/components/TableHeader/TableView/DefaultViews.js +0 -22
- package/build/components/TableHeader/TableView/TableView.js +0 -54
- package/build/components/TableHeader/TableView/ViewsDropdown.js +0 -153
- package/build/components/TableHeader/TableView/ViewsMenu.js +0 -36
- package/build/components/TableHeader/TableView/components/ColumnList.js +0 -73
- package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +0 -71
- package/build/components/TableHeader/TableView/components/index.js +0 -2
- package/build/components/TableHeader/TableView/constants.js +0 -39
- package/build/components/TableHeader/TableView/hooks/index.js +0 -10
- package/build/components/TableHeader/TableView/hooks/useColumnItem.js +0 -29
- package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +0 -92
- package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +0 -105
- package/build/components/TableHeader/TableView/hooks/useDialogPosition.js +0 -16
- package/build/components/TableHeader/TableView/hooks/useNestedSubmenu.js +0 -27
- package/build/components/TableHeader/TableView/hooks/useOriginalColumns.js +0 -18
- package/build/components/TableHeader/TableView/hooks/useSubMenu.js +0 -31
- package/build/components/TableHeader/TableView/hooks/useSubmenuHover.js +0 -42
- package/build/components/TableHeader/TableView/hooks/useViewColumns.js +0 -45
- package/build/components/TableHeader/TableView/hooks/useViewsManager.js +0 -37
- package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +0 -162
- package/build/components/TableHeader/TableView/index.js +0 -10
- package/build/components/TableHeader/TableView/styles.js +0 -427
- package/build/components/TableHeader/TableView/types.js +0 -1
- package/build/components/TableHeader/TableView/utils/columnState.js +0 -187
- package/build/components/TableHeader/TableView/utils/customTableViews.js +0 -30
- package/build/components/TableHeader/TableView/utils/index.js +0 -6
- package/build/components/TableHeader/TableView/utils/layoutTransform.js +0 -71
- package/build/components/TableHeader/TableView/utils/templateState.js +0 -27
- package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +0 -153
- package/build/components/TableHeader/TableView/utils/viewMenu.js +0 -90
- package/build/components/TableHeader/data.js +0 -7
- package/build/components/TableHeader/style.js +0 -43
- package/build/components/TableHeader/type.js +0 -1
- package/build/components/TableReports/DownloadIconButton.js +0 -20
- package/build/components/TableReports/Downloads.js +0 -24
- package/build/components/TableReports/RecordLoading.js +0 -6
- package/build/components/TableReports/TableReports.js +0 -53
- package/build/components/TableReports/components/DownloadButton/DownloadButton.js +0 -16
- package/build/components/TableReports/components/DownloadButton/index.js +0 -2
- package/build/components/TableReports/components/DownloadButton/style.js +0 -15
- package/build/components/TableReports/hooks/index.js +0 -1
- package/build/components/TableReports/hooks/useDownloadReport.js +0 -59
- package/build/components/TableReports/style.js +0 -163
- package/build/components/TableReports/type.js +0 -1
- package/build/components/TableReports/utils.js +0 -32
- package/build/components/TableView/CustomViews.js +0 -80
- package/build/components/TableView/DefaultViews.js +0 -22
- package/build/components/TableView/TableView.js +0 -56
- package/build/components/TableView/data.js +0 -7
- package/build/components/TableView/style.js +0 -102
- package/build/components/TapLogo/TapLogo.js +0 -6
- package/build/components/Text/Text.js +0 -9
- package/build/components/Timepicker/Timepicker.js +0 -87
- package/build/components/Timepicker/constant.js +0 -3
- package/build/components/Timepicker/style.js +0 -45
- package/build/components/Timepicker/utils.js +0 -28
- package/build/components/Toaster/Toaster.js +0 -12
- package/build/components/Toaster/style.js +0 -15
- package/build/components/ToggleButtons/ToggleButtons.js +0 -6
- package/build/components/ToggleButtons/style.js +0 -25
- package/build/components/ToggleButtons/type.js +0 -1
- package/build/components/ToggleView/ToggleView.js +0 -32
- package/build/components/ToggleView/ToggleWrapper.js +0 -8
- package/build/components/ToggleView/style.js +0 -31
- package/build/components/ToggleView/types.js +0 -6
- package/build/components/Toolbar/Toolbar.js +0 -20
- package/build/components/Toolbar/style.js +0 -98
- package/build/components/Toolbar/type.js +0 -1
- package/build/components/ToolbarIcon/CloseIcon/CloseIcon.js +0 -6
- package/build/components/ToolbarIcon/CloseIcon/index.js +0 -1
- package/build/components/ToolbarIcon/CloseIcon/style.js +0 -7
- package/build/components/ToolbarIcon/ExpandButton/ExpandButton.js +0 -21
- package/build/components/ToolbarIcon/ExpandButton/index.js +0 -1
- package/build/components/ToolbarIcon/ExpandButton/style.js +0 -31
- package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.js +0 -18
- package/build/components/ToolbarIcon/MaximizeIcon/index.js +0 -1
- package/build/components/ToolbarIcon/MaximizeIcon/style.js +0 -7
- package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.js +0 -6
- package/build/components/ToolbarIcon/MinimizeIcon/index.js +0 -1
- package/build/components/ToolbarIcon/MinimizeIcon/style.js +0 -7
- package/build/components/ToolbarIcon/style.js +0 -20
- package/build/components/Tooltip/Tooltip.js +0 -21
- package/build/components/Tooltip/index.js +0 -2
- package/build/components/Tooltip/styles.js +0 -34
- package/build/components/TooltipChip/TooltipChip.js +0 -20
- package/build/components/TooltipChip/style.js +0 -7
- package/build/components/TreeDropdown/TreeDropdown.js +0 -67
- package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +0 -17
- package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +0 -64
- package/build/components/TreeDropdown/TreeNodeItem/index.js +0 -2
- package/build/components/TreeDropdown/TreeNodeItem/style.js +0 -46
- package/build/components/TreeDropdown/TreeNodeList/List.js +0 -17
- package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +0 -36
- package/build/components/TreeDropdown/TreeNodeList/index.js +0 -2
- package/build/components/TreeDropdown/TreeNodeList/style.js +0 -60
- package/build/components/TreeDropdown/context/TreeDropdownProvider.js +0 -13
- package/build/components/TreeDropdown/hooks/useSearch.js +0 -38
- package/build/components/TreeDropdown/hooks/useTreeDropdown.js +0 -10
- package/build/components/TreeDropdown/style.js +0 -43
- package/build/components/TreeDropdown/type.js +0 -6
- package/build/components/TreeDropdown/utils.js +0 -161
- package/build/components/VAT/TotalVAT/TotalVAT.js +0 -33
- package/build/components/VAT/TotalVAT/index.js +0 -1
- package/build/components/VAT/TotalVAT/style.js +0 -5
- package/build/components/VAT/VATDropdown/VATDropdown.js +0 -34
- package/build/components/VAT/VATDropdown/index.js +0 -1
- package/build/components/VAT/VATDropdown/style.js +0 -32
- package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +0 -38
- package/build/components/VAT/VATRateDropdown/index.js +0 -1
- package/build/components/VAT/VATRateDropdown/style.js +0 -30
- package/build/components/VAT/utils.js +0 -8
- package/build/components/VerificationIcon/VerificationIcon.js +0 -7
- package/build/components/VerificationIcon/VerificationIconWithBg.js +0 -15
- package/build/components/VerificationIcon/constant.js +0 -18
- package/build/components/VerificationIcon/type.js +0 -1
- package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +0 -28
- package/build/components/ViewColumnRadioFilter/style.js +0 -20
- package/build/components/ViewColumnRadioFilter/type.js +0 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +0 -141
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +0 -21
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +0 -19
- package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +0 -13
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +0 -24
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +0 -12
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +0 -62
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +0 -56
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js +0 -32
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.js +0 -45
- package/build/components/VirtualTables/SheetViewVirtualTable/components/VirtualTable.js +0 -37
- package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +0 -9
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ColumnResize.js +0 -41
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/ResizeOverlay.js +0 -10
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/components/index.js +0 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/constants.js +0 -5
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/index.js +0 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +0 -152
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.js +0 -29
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/index.js +0 -4
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +0 -55
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/types/index.js +0 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/index.js +0 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +0 -127
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +0 -7
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumns.js +0 -73
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/usePinnedColumnsWidths.js +0 -15
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useSynchronizedScroll.js +0 -30
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableData.js +0 -41
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableDimensions.js +0 -26
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useTableState.js +0 -65
- package/build/components/VirtualTables/SheetViewVirtualTable/hooks/useVirtualTableContainer.js +0 -57
- package/build/components/VirtualTables/SheetViewVirtualTable/index.js +0 -5
- package/build/components/VirtualTables/SheetViewVirtualTable/style.js +0 -110
- package/build/components/VirtualTables/SheetViewVirtualTable/types.js +0 -1
- package/build/components/VirtualTables/VirtualTable/VirtualTable.js +0 -113
- package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.js +0 -89
- package/build/components/VirtualTables/components/ColumnFilter/ColumnFilter.js +0 -46
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +0 -51
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/index.js +0 -2
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.js +0 -47
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +0 -61
- package/build/components/VirtualTables/components/ColumnFilter/List/index.js +0 -2
- package/build/components/VirtualTables/components/ColumnFilter/index.js +0 -5
- package/build/components/VirtualTables/components/ColumnFilter/style.js +0 -50
- package/build/components/VirtualTables/components/ColumnFilter/type.js +0 -1
- package/build/components/VirtualTables/components/ColumnSort/ColumnSort.js +0 -41
- package/build/components/VirtualTables/components/ColumnSort/index.js +0 -2
- package/build/components/VirtualTables/components/ColumnSort/style.js +0 -10
- package/build/components/VirtualTables/components/EmptyList/EmptyList.js +0 -23
- package/build/components/VirtualTables/components/EmptyList/index.js +0 -3
- package/build/components/VirtualTables/components/EmptyList/styles.js +0 -39
- package/build/components/VirtualTables/components/ErrorList/ErrorList.js +0 -23
- package/build/components/VirtualTables/components/ErrorList/index.js +0 -2
- package/build/components/VirtualTables/components/ErrorList/styles.js +0 -72
- package/build/components/VirtualTables/components/RowErrorState.js +0 -21
- package/build/components/VirtualTables/components/TableError.js +0 -22
- package/build/components/VirtualTables/components/TableFooter/TableFooter.js +0 -22
- package/build/components/VirtualTables/components/TableFooter/index.js +0 -2
- package/build/components/VirtualTables/components/TableFooter/style.js +0 -53
- package/build/components/VirtualTables/components/TableHeader/TableHeader.js +0 -10
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +0 -16
- package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +0 -2
- package/build/components/VirtualTables/components/TableHeader/components/index.js +0 -1
- package/build/components/VirtualTables/components/TableHeader/constant.js +0 -6
- package/build/components/VirtualTables/components/TableHeader/index.js +0 -3
- package/build/components/VirtualTables/components/TableHeader/style.js +0 -23
- package/build/components/VirtualTables/components/TableHeader/type.js +0 -1
- package/build/components/VirtualTables/components/TableLastItem.js +0 -39
- package/build/components/VirtualTables/components/TableLoading.js +0 -19
- package/build/components/VirtualTables/components/TableLoadingWithCard.js +0 -19
- package/build/components/VirtualTables/components/TableNoData.js +0 -13
- package/build/components/VirtualTables/components/TableNoDataWithCard.js +0 -29
- package/build/components/VirtualTables/components/TableRow.js +0 -93
- package/build/components/VirtualTables/components/TableRowLoading.js +0 -21
- package/build/components/VirtualTables/components/TableRowLoadingWithCard.js +0 -14
- package/build/components/VirtualTables/components/TableRowWithCard.js +0 -9
- package/build/components/VirtualTables/components/index.js +0 -18
- package/build/components/VirtualTables/components/style.js +0 -180
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +0 -112
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapperWithCard.js +0 -28
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollInner.js +0 -20
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollList.js +0 -79
- package/build/components/VirtualTables/components/virtualScroll/VirtualScrollOuter.js +0 -21
- package/build/components/VirtualTables/components/virtualScroll/index.js +0 -5
- package/build/components/VirtualTables/context/Provider.js +0 -3
- package/build/components/VirtualTables/context/context.js +0 -2
- package/build/components/VirtualTables/context/index.js +0 -2
- package/build/components/VirtualTables/hooks/index.js +0 -1
- package/build/components/VirtualTables/hooks/useColumnFilter.js +0 -22
- package/build/components/VirtualTables/hooks/useScrollBackShadow.js +0 -26
- package/build/components/Widget/List.js +0 -23
- package/build/components/Widget/ListItem.js +0 -19
- package/build/components/Widget/Widget.js +0 -19
- package/build/components/Widget/WidgetHeader.js +0 -19
- package/build/components/Widget/style.js +0 -71
- package/build/components/Widget/useScrollWithShadow.js +0 -14
- package/build/components/Window/Window.js +0 -43
- package/build/components/Window/style.js +0 -47
- package/build/components/WindowAppIcon/WindowAppIcon.js +0 -17
- package/build/components/WindowAppIcon/index.js +0 -2
- package/build/components/WindowAppIcon/style.js +0 -25
- package/build/components/WindowBackdrop/WindowBackdrop.js +0 -9
- package/build/components/WindowSideBar/WindowSideBar.js +0 -11
- package/build/components/WindowSideBar/constant.js +0 -1
- package/build/components/WindowSideBar/style.js +0 -33
- package/build/components/WindowSideBar/type.js +0 -1
- package/build/constants/api.js +0 -57
- package/build/constants/apps.js +0 -495
- package/build/constants/assets.js +0 -622
- package/build/constants/authentication.js +0 -23
- package/build/constants/charge.js +0 -1
- package/build/constants/chips/index.js +0 -1
- package/build/constants/chips/statusChips.js +0 -5
- package/build/constants/country.js +0 -1
- package/build/constants/currency.js +0 -22
- package/build/constants/document.js +0 -5
- package/build/constants/payment.js +0 -53
- package/build/constants/rate.js +0 -6
- package/build/constants/reports.js +0 -119
- package/build/constants/segment.js +0 -12
- package/build/constants/server.js +0 -6
- package/build/constants/servicesTags.js +0 -53
- package/build/constants/style.js +0 -3
- package/build/constants/svgIcons.js +0 -3
- package/build/constants/table/cell/authenticationsTableCellWidth.js +0 -132
- package/build/constants/table/cell/authorizationTableCellWidth.js +0 -247
- package/build/constants/table/cell/chargeTableCellWidth.js +0 -297
- package/build/constants/table/cell/destinationsTableCellWidth.js +0 -197
- package/build/constants/table/cell/index.js +0 -20
- package/build/constants/table/cell/intentsTableCellWidth.js +0 -32
- package/build/constants/table/cell/invoicesTableCellWidth.js +0 -107
- package/build/constants/table/cell/leadsTableCellWidth.js +0 -37
- package/build/constants/table/cell/merchantsTableCellWidth.js +0 -152
- package/build/constants/table/cell/ordersTableCellWidth.js +0 -57
- package/build/constants/table/cell/payoutsTableCellWidth.js +0 -57
- package/build/constants/table/cell/protectAuthorizationsTableCellWidth.js +0 -72
- package/build/constants/table/cell/protectChargesTableCellWidth.js +0 -67
- package/build/constants/table/cell/refundTableCellWidth.js +0 -237
- package/build/constants/table/cell/terminalsTableCellWidth.js +0 -72
- package/build/constants/table/cell/tokensTableCellWidth.js +0 -47
- package/build/constants/table/cell/topupsTableCellWidth.js +0 -57
- package/build/constants/table/cell/walletDetailsTableCellWidth.js +0 -32
- package/build/constants/table/cell/walletStatementTableCellWidth.js +0 -62
- package/build/constants/table/cell/walletTableCellWidth.js +0 -32
- package/build/constants/table.js +0 -8
- package/build/constants/timezones.js +0 -47
- package/build/constants/toggleOptions.js +0 -8
- package/build/hooks/useActionMenu.js +0 -45
- package/build/hooks/useAppEventListener.js +0 -13
- package/build/hooks/useAppEventPublisher.js +0 -7
- package/build/hooks/useAppsInfo.js +0 -21
- package/build/hooks/useBadgesCount.js +0 -15
- package/build/hooks/useCheckUserLoggedIn.js +0 -11
- package/build/hooks/useCountdown.js +0 -50
- package/build/hooks/useDelayToSetValue.js +0 -19
- package/build/hooks/useIsParameterSelected.js +0 -13
- package/build/hooks/useMouseState.js +0 -25
- package/build/hooks/useNetworkState.js +0 -112
- package/build/hooks/useScrolledTo.js +0 -45
- package/build/hooks/useSelectedMerchantDetails.js +0 -15
- package/build/hooks/useStickyHeaderShadow.js +0 -20
- package/build/hooks/useThemeMode.js +0 -8
- package/build/hooks/useToast.js +0 -29
- package/build/hooks/useWindowDimensions.js +0 -21
- package/build/theme/components.js +0 -22
- package/build/theme/palette.js +0 -106
- package/build/theme/shadows.js +0 -27
- package/build/theme/theme.js +0 -15
- package/build/theme/typography.js +0 -33
- package/build/types/account.js +0 -8
- package/build/types/analytics.js +0 -11
- package/build/types/api.js +0 -1
- package/build/types/appConfig.js +0 -1
- package/build/types/appEvents.js +0 -16
- package/build/types/apps.js +0 -1
- package/build/types/authentication.js +0 -1
- package/build/types/brand.js +0 -13
- package/build/types/cell.js +0 -1
- package/build/types/charge.js +0 -1
- package/build/types/column.js +0 -1
- package/build/types/common.js +0 -1
- package/build/types/currency.js +0 -13
- package/build/types/day.js +0 -1
- package/build/types/destination.js +0 -1
- package/build/types/discount.js +0 -6
- package/build/types/document.js +0 -1
- package/build/types/entity.js +0 -1
- package/build/types/error.js +0 -1
- package/build/types/file.js +0 -1
- package/build/types/filter.js +0 -6
- package/build/types/flag.js +0 -1
- package/build/types/invoice.js +0 -13
- package/build/types/merchant.js +0 -1
- package/build/types/receipt.js +0 -1
- package/build/types/redux.js +0 -1
- package/build/types/refund.js +0 -1
- package/build/types/reports.js +0 -7
- package/build/types/segment.js +0 -16
- package/build/types/sort.js +0 -1
- package/build/types/table.js +0 -1
- package/build/types/theme.js +0 -10
- package/build/types/toast.js +0 -1
- package/build/types/toggleOptions.js +0 -1
- package/build/types/tsUtils.js +0 -1
- package/build/types/user.js +0 -1
- package/build/types/utilities.js +0 -1
- package/build/types/window.js +0 -1
- package/build/utils/api.js +0 -96
- package/build/utils/app.js +0 -7
- package/build/utils/array.js +0 -20
- package/build/utils/billing.js +0 -33
- package/build/utils/boolean.js +0 -7
- package/build/utils/browser.js +0 -25
- package/build/utils/card.js +0 -15
- package/build/utils/chargeError.js +0 -10
- package/build/utils/color.js +0 -65
- package/build/utils/columnResizeStorage.js +0 -96
- package/build/utils/columns.js +0 -97
- package/build/utils/conversion.js +0 -27
- package/build/utils/country.js +0 -14
- package/build/utils/currency.js +0 -91
- package/build/utils/date.js +0 -287
- package/build/utils/day.js +0 -9
- package/build/utils/download.js +0 -24
- package/build/utils/encrypt.js +0 -46
- package/build/utils/entity.js +0 -13
- package/build/utils/error.js +0 -71
- package/build/utils/extractIdsFromRowData.js +0 -22
- package/build/utils/file.js +0 -16
- package/build/utils/flag.js +0 -13
- package/build/utils/freshdesk.js +0 -56
- package/build/utils/geography.js +0 -10
- package/build/utils/language.js +0 -14
- package/build/utils/localStorage.js +0 -213
- package/build/utils/merchant.js +0 -24
- package/build/utils/merchantSource.js +0 -36
- package/build/utils/navigation.js +0 -11
- package/build/utils/number.js +0 -38
- package/build/utils/object.js +0 -15
- package/build/utils/payout.js +0 -172
- package/build/utils/phone.js +0 -8
- package/build/utils/reports.js +0 -3
- package/build/utils/segment.js +0 -63
- package/build/utils/skeletonColumns.js +0 -55
- package/build/utils/source.js +0 -9
- package/build/utils/string.js +0 -73
- package/build/utils/style.js +0 -95
- package/build/utils/table.js +0 -230
- package/build/utils/timezone.js +0 -3
- package/build/utils/toggleOptions.js +0 -10
- package/build/utils/url.js +0 -20
- package/build/utils/user.js +0 -7
- package/build/utils/validation.js +0 -3
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { useTheme } from '@mui/material/styles';
|
|
4
|
-
import { StyledTableBox, TableWrapper, StyledBox } from '../../components/style';
|
|
5
|
-
import { MainTableWrapper, UnpinnedTableHeaderWrapper } from '../style';
|
|
6
|
-
import SheetViewTableHeader from './SheetViewTableHeader';
|
|
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, onStartResize, isResizing, resizingColumn, }) {
|
|
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, onStartResize: onStartResize, isResizing: isResizing, resizingColumn: resizingColumn }) })), _jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
11
|
-
width: '100%',
|
|
12
|
-
minWidth: 'fit-content',
|
|
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)) })) }))] })) })) })));
|
|
18
|
-
}
|
|
19
|
-
export default memo(MainTable);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { useTheme } from '@mui/material/styles';
|
|
4
|
-
import { StyledTableBox, TableWrapper } from '../../components/style';
|
|
5
|
-
import { UnpinnedTableHeaderWrapper } from '../style';
|
|
6
|
-
import TableNoData from '../../components/TableNoData';
|
|
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, customNoDataComponent, }) {
|
|
9
|
-
const theme = useTheme();
|
|
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 }) })), customNoDataComponent ? (customNoDataComponent) : (_jsx(TableNoData, { error: error || null, tableEmpty: tableEmpty, isTimeoutError: hasTimeoutError, tableError: tableError, tableLoading: tableLoading, orderedColumns: orderedColumns, triggerDataRefetch: triggerDataRefetch || (() => Promise.resolve()), footerProps: footerProps }))] })) })));
|
|
12
|
-
}
|
|
13
|
-
export default memo(NoDataView);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { useTheme } from '@mui/material/styles';
|
|
4
|
-
import { StyledTableBox, TableWrapper, StyledBox } from '../../components/style';
|
|
5
|
-
import { PinnedStartColumnWrapper, PinnedEndColumnWrapper } from '../style';
|
|
6
|
-
import SheetViewTableHeader from './SheetViewTableHeader';
|
|
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, onStartResize, isResizing, resizingColumn, }) {
|
|
9
|
-
const theme = useTheme();
|
|
10
|
-
if (columnsData.length === 0)
|
|
11
|
-
return null;
|
|
12
|
-
const Wrapper = position === 'start' ? PinnedStartColumnWrapper : PinnedEndColumnWrapper;
|
|
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, onStartResize: onStartResize, isResizing: isResizing, resizingColumn: resizingColumn })), _jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
15
|
-
width: '100%',
|
|
16
|
-
minWidth: 'fit-content',
|
|
17
|
-
overflowX: 'hidden',
|
|
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)) })) }))] })) }));
|
|
23
|
-
}
|
|
24
|
-
export default memo(PinnedColumn);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { StyledHeader, StyledMUITableRow } from '../style';
|
|
4
|
-
import SheetViewTableHeaderCell from './SheetViewTableHeaderCell';
|
|
5
|
-
function SheetViewTableHeader({ columns, headerProps, showBackDrop, onColumnSort, columnsSorting, pinnedColumns = [], onColumnPin, isPinnable = false, lastColumnId, selectedColumn = null, onColumnClick, onStartResize, isResizing = false, resizingColumn = null, }) {
|
|
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
|
-
var _a;
|
|
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, onStartResize: onStartResize, isResizing: isResizing, resizingColumn: resizingColumn }, `${column.id}-${colIndex}`));
|
|
10
|
-
}) })) })));
|
|
11
|
-
}
|
|
12
|
-
export default memo(SheetViewTableHeader);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useCallback, useMemo, useRef, useState } from 'react';
|
|
3
|
-
import Box from '@mui/material/Box';
|
|
4
|
-
import { pinIcon, unpinIcon } from '../../../../constants/index.js';
|
|
5
|
-
import ColumnFilter from '../../components/ColumnFilter';
|
|
6
|
-
import { StyledCell, TableHeaderInner } from '../../components/style';
|
|
7
|
-
import { PinIconContainer, HeaderText } from '../style';
|
|
8
|
-
import ColumnSort from '../../components/ColumnSort';
|
|
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 });
|
|
15
|
-
const [columnFilterEl, setColumnFilterEl] = useState(null);
|
|
16
|
-
const cellRef = useRef(null);
|
|
17
|
-
const { isFilterApplied } = useColumnFilter({ filter });
|
|
18
|
-
const checkIsPanned = useCallback((columnId) => pinnedColumns === null || pinnedColumns === void 0 ? void 0 : pinnedColumns.includes(columnId), [pinnedColumns]);
|
|
19
|
-
const isPinned = useMemo(() => checkIsPanned(id), [id, checkIsPanned]);
|
|
20
|
-
const handlePinClick = (columnId) => {
|
|
21
|
-
if (checkIsPanned(columnId)) {
|
|
22
|
-
onColumnPin === null || onColumnPin === void 0 ? void 0 : onColumnPin(columnId, 'unpin');
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
if (columnId === lastColumnId) {
|
|
26
|
-
onColumnPin === null || onColumnPin === void 0 ? void 0 : onColumnPin(columnId, 'end');
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
onColumnPin === null || onColumnPin === void 0 ? void 0 : onColumnPin(columnId, 'start');
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const onOpenFilterDropdown = () => {
|
|
34
|
-
setColumnFilterEl(cellRef.current);
|
|
35
|
-
};
|
|
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) {
|
|
39
|
-
onColumnClick === null || onColumnClick === void 0 ? void 0 : onColumnClick(colIndex, event, pinned);
|
|
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': {
|
|
48
|
-
content: '""',
|
|
49
|
-
borderBottom: 'none',
|
|
50
|
-
position: 'absolute',
|
|
51
|
-
top: 0,
|
|
52
|
-
right: 0,
|
|
53
|
-
left: 0,
|
|
54
|
-
bottom: 0,
|
|
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 }))] })));
|
|
61
|
-
}
|
|
62
|
-
export default memo(SheetViewTableHeaderCell);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useEffect, useState } from 'react';
|
|
3
|
-
import { styled } from '@mui/material/styles';
|
|
4
|
-
import uniqueId from 'lodash/uniqueId';
|
|
5
|
-
import { calculateMaxAllowedRows } from '../../../../utils/index.js';
|
|
6
|
-
import SheetViewTableRowLoading from './SheetViewTableRowLoading';
|
|
7
|
-
import { SHEET_VIEW_TABLE_ROW_HEIGHT } from '../../../../constants/index.js';
|
|
8
|
-
const Wrapper = styled('section')(({ isLoaded = false, isPinned = false }) => ({
|
|
9
|
-
overflow: 'hidden',
|
|
10
|
-
paddingInline: isLoaded && !isPinned ? '32px' : '0px',
|
|
11
|
-
backgroundColor: isLoaded && !isPinned ? 'rgba(255, 255, 255, 0.60)' : 'none',
|
|
12
|
-
filter: isLoaded && !isPinned ? 'blur(8px)' : 'none',
|
|
13
|
-
marginTop: isLoaded && !isPinned ? '1rem' : '0',
|
|
14
|
-
height: '100%',
|
|
15
|
-
maxHeight: '100%',
|
|
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]);
|
|
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_')}`))) })));
|
|
55
|
-
}
|
|
56
|
-
export default memo(SheetViewTableLoading);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableNoData.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { backendErrorHandler } from '../../../../utils/index.js';
|
|
4
|
-
import EmptyList from '../../components/EmptyList/EmptyList';
|
|
5
|
-
import ErrorList from '../../components/ErrorList/ErrorList';
|
|
6
|
-
import SheetViewTableLoading from './SheetViewTableLoading';
|
|
7
|
-
import { StyledSolidBackground } from '../../components/style';
|
|
8
|
-
function SheetViewTableNoData({ error, tableEmpty, isTimeoutError, tableError, tableLoading, orderedColumns, triggerDataRefetch, footerProps, }) {
|
|
9
|
-
let content;
|
|
10
|
-
if (tableLoading) {
|
|
11
|
-
content = (_jsx(StyledSolidBackground, Object.assign({ "data-testid": "SheetViewVirtualTable_SolidBackground" }, { children: _jsx(SheetViewTableLoading, { "data-testid": "SheetViewVirtualTable_TableLoading", columns: orderedColumns, isLoading: true, isPinned: false }) })));
|
|
12
|
-
}
|
|
13
|
-
else if (isTimeoutError) {
|
|
14
|
-
content = (_jsx(ErrorList, { "data-testid": "SheetViewVirtualTable_ErrorList_timeoutError", shouldMinimizeWidth: true, heading: "timeOut", message: "yourRequestOutPleaseTryAgain", triggerDataRefetch: triggerDataRefetch, sandboxMode: footerProps === null || footerProps === void 0 ? void 0 : footerProps.sandboxMode }));
|
|
15
|
-
}
|
|
16
|
-
else if (tableError) {
|
|
17
|
-
const axiosErr = error;
|
|
18
|
-
const { formatted } = backendErrorHandler({ error: axiosErr, fallbackMessage: 'connectionErrorMsg' });
|
|
19
|
-
content = (_jsx(ErrorList, { "data-testid": "SheetViewVirtualTable_ErrorList_tableError", heading: "somethingWentWrong", message: formatted, triggerDataRefetch: triggerDataRefetch, sandboxMode: footerProps === null || footerProps === void 0 ? void 0 : footerProps.sandboxMode }));
|
|
20
|
-
}
|
|
21
|
-
else if (tableEmpty) {
|
|
22
|
-
const axiosErr = error;
|
|
23
|
-
const { formatted } = backendErrorHandler({ error: axiosErr, fallbackMessage: 'tryAdjustingTheDateOrFilters' });
|
|
24
|
-
content = _jsx(EmptyList, { sandboxMode: footerProps === null || footerProps === void 0 ? void 0 : footerProps.sandboxMode, heading: "nothingFound", message: formatted });
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
content = (_jsx(ErrorList, { "data-testid": "SheetViewVirtualTable_ErrorList_tableError", heading: "somethingWentWrong", message: "connectionErrorMsg", triggerDataRefetch: triggerDataRefetch, sandboxMode: footerProps === null || footerProps === void 0 ? void 0 : footerProps.sandboxMode }));
|
|
28
|
-
}
|
|
29
|
-
return content;
|
|
30
|
-
}
|
|
31
|
-
SheetViewTableNoData.displayName = 'SheetViewTableNoData';
|
|
32
|
-
export default memo(SheetViewTableNoData);
|
package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableRowLoading.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import Skeleton from '@mui/material/Skeleton';
|
|
4
|
-
import { styled, useTheme } from '@mui/material/styles';
|
|
5
|
-
import TableCell from '@mui/material/TableCell';
|
|
6
|
-
import MUITableRow from '@mui/material/TableRow';
|
|
7
|
-
import { areEqual } from 'react-window';
|
|
8
|
-
const StyledSkeleton = styled(Skeleton)(() => ({
|
|
9
|
-
backgroundColor: '#F4F4F4',
|
|
10
|
-
borderRadius: '64px',
|
|
11
|
-
width: '100%',
|
|
12
|
-
minWidth: '20px',
|
|
13
|
-
}));
|
|
14
|
-
function SheetViewTableRowLoading({ columns, style, index, animationType, rowIndex = 0, useTableBackground = false, }) {
|
|
15
|
-
const theme = useTheme();
|
|
16
|
-
return (_jsx(MUITableRow, Object.assign({ sx: Object.assign(Object.assign({}, style), { display: 'flex', borderBottom: '1px solid #F2F2F2', minHeight: '28px', height: '28px', alignItems: 'center', backgroundColor: useTableBackground ? theme.palette.background.default : 'transparent', '&:hover': {
|
|
17
|
-
backgroundColor: 'transparent !important',
|
|
18
|
-
} }), component: "div", hover: true }, { children: columns.map((column, colIndex) => {
|
|
19
|
-
const isLastColumn = colIndex === columns.length - 1;
|
|
20
|
-
const isFirstColumn = colIndex === 0;
|
|
21
|
-
const isPinnedStart = column.pinned === 'start';
|
|
22
|
-
const shouldShowActualData = isFirstColumn && isPinnedStart;
|
|
23
|
-
return (_jsx(TableCell, Object.assign({ sx: {
|
|
24
|
-
width: column.width || `${100 / columns.length}%` || '20%',
|
|
25
|
-
paddingBlock: '0',
|
|
26
|
-
paddingInline: '8px !important',
|
|
27
|
-
paddingLeft: isFirstColumn ? '8px !important' : '8px !important',
|
|
28
|
-
paddingRight: isLastColumn ? '8px !important' : '8px !important',
|
|
29
|
-
borderRight: isLastColumn ? 'none' : '1px solid #F2F2F2',
|
|
30
|
-
borderLeft: isFirstColumn ? '1px solid #F2F2F2' : 'none',
|
|
31
|
-
height: '100%',
|
|
32
|
-
display: 'flex',
|
|
33
|
-
alignItems: 'center',
|
|
34
|
-
boxSizing: 'border-box',
|
|
35
|
-
whiteSpace: 'nowrap',
|
|
36
|
-
overflow: 'hidden',
|
|
37
|
-
}, component: "div" }, { children: shouldShowActualData && column.render ? (column.render({
|
|
38
|
-
index: rowIndex,
|
|
39
|
-
row: {},
|
|
40
|
-
column,
|
|
41
|
-
value: rowIndex + 1,
|
|
42
|
-
})) : (_jsx(StyledSkeleton, { variant: "rectangular", animation: animationType, height: 16 })) }), `${column.id}-${colIndex}`));
|
|
43
|
-
}) }), index));
|
|
44
|
-
}
|
|
45
|
-
export default memo(SheetViewTableRowLoading, areEqual);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { memo } from 'react';
|
|
12
|
-
import InfiniteLoader from 'react-window-infinite-loader';
|
|
13
|
-
import AutoSizer from 'react-virtualized-auto-sizer';
|
|
14
|
-
import { SHEET_VIEW_TABLE_LIST_OVER_SCAN } from '../../../../constants/index.js';
|
|
15
|
-
import ListItemWrapper from '../../components/virtualScroll/ListItemWrapper';
|
|
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, overscanCount = SHEET_VIEW_TABLE_LIST_OVER_SCAN, }) {
|
|
18
|
-
const handleOnLoadMoreItems = () => __awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
if (areAllRowsLoaded)
|
|
20
|
-
return;
|
|
21
|
-
yield (loadMoreItems === null || loadMoreItems === void 0 ? void 0 : loadMoreItems());
|
|
22
|
-
});
|
|
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 }) => {
|
|
26
|
-
const itemSize = (index) => getItemSize(index, height);
|
|
27
|
-
const itemData = getItemData(columnsData, isPinned, height);
|
|
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: {
|
|
31
|
-
overflowX: isPinned ? 'hidden' : 'auto',
|
|
32
|
-
paddingBottom: isPinned ? '25px' : '13px',
|
|
33
|
-
backgroundColor: isPinned ? 'transparent' : '#F6F8FACC',
|
|
34
|
-
} }, { children: ListItemWrapper })));
|
|
35
|
-
} }))) })));
|
|
36
|
-
}
|
|
37
|
-
export default memo(VirtualTable);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { default as SheetViewTableLoading } from './SheetViewTableLoading';
|
|
2
|
-
export { default as SheetViewTableRowLoading } from './SheetViewTableRowLoading';
|
|
3
|
-
export { default as SheetViewTableNoData } from './SheetViewTableNoData';
|
|
4
|
-
export { default as SheetViewTableHeader } from './SheetViewTableHeader';
|
|
5
|
-
export { default as VirtualTable } from './VirtualTable';
|
|
6
|
-
export { default as PinnedColumn } from './PinnedColumn';
|
|
7
|
-
export { default as MainTable } from './MainTable';
|
|
8
|
-
export { default as LoadingMainTable } from './LoadingMainTable';
|
|
9
|
-
export { default as NoDataView } from './NoDataView';
|
|
@@ -1,41 +0,0 @@
|
|
|
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);
|
|
@@ -1,10 +0,0 @@
|
|
|
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);
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { useState, useCallback, useRef, useEffect, useMemo } from 'react';
|
|
2
|
-
import { getColumnWidth as getStoredColumnWidth } from '../../../../../../utils/index.js';
|
|
3
|
-
import { getColumnId, parseColumnWidth, clampWidth, cleanupEventListeners as cleanupEventListenersUtil, createMouseMoveHandler, getColumnWidthFromState, createResizeEndHandler, } from '../utils/resize';
|
|
4
|
-
export const useColumnResize = ({ columns, onColumnResize, handleColumnClick, windowId, serviceCode, tableContainerRef }) => {
|
|
5
|
-
// Memoize initial column widths to prevent unnecessary recalculations
|
|
6
|
-
const initialColumnWidths = useMemo(() => {
|
|
7
|
-
return columns.reduce((acc, col) => {
|
|
8
|
-
const columnId = getColumnId(col);
|
|
9
|
-
const defaultWidth = parseColumnWidth(col.width);
|
|
10
|
-
// Try to get width from localStorage if windowId and serviceCode are provided
|
|
11
|
-
let finalWidth = defaultWidth;
|
|
12
|
-
if (windowId && serviceCode) {
|
|
13
|
-
try {
|
|
14
|
-
const storedWidth = getStoredColumnWidth(windowId, serviceCode, columnId, defaultWidth);
|
|
15
|
-
finalWidth = storedWidth !== null && storedWidth !== void 0 ? storedWidth : defaultWidth;
|
|
16
|
-
}
|
|
17
|
-
catch (error) {
|
|
18
|
-
console.warn(`Failed to load stored width for column ${columnId}:`, error);
|
|
19
|
-
finalWidth = defaultWidth;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
acc[columnId] = clampWidth(finalWidth);
|
|
23
|
-
return acc;
|
|
24
|
-
}, {});
|
|
25
|
-
}, [windowId, serviceCode]);
|
|
26
|
-
const [{ columnWidths, isResizing, resizingColumn, resizeIndicatorX }, setResizeState] = useState(() => ({
|
|
27
|
-
columnWidths: initialColumnWidths,
|
|
28
|
-
isResizing: false,
|
|
29
|
-
resizingColumn: null,
|
|
30
|
-
startX: 0,
|
|
31
|
-
startWidth: 0,
|
|
32
|
-
resizeIndicatorX: 0,
|
|
33
|
-
}));
|
|
34
|
-
const [cursorPosition, setCursorPosition] = useState({ x: 0, y: 0 });
|
|
35
|
-
// Refs for managing resize state and event listeners
|
|
36
|
-
const isResizingRef = useRef(false);
|
|
37
|
-
const initialCursorYRef = useRef(0);
|
|
38
|
-
const clampedXRef = useRef(0);
|
|
39
|
-
const startXRef = useRef(0);
|
|
40
|
-
const startWidthRef = useRef(0);
|
|
41
|
-
const mouseMoveRef = useRef();
|
|
42
|
-
const mouseUpRef = useRef();
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
setResizeState((prev) => {
|
|
45
|
-
const currentKeys = new Set(Object.keys(prev.columnWidths));
|
|
46
|
-
const newKeys = new Set(Object.keys(initialColumnWidths));
|
|
47
|
-
if (currentKeys.size !== newKeys.size) {
|
|
48
|
-
return Object.assign(Object.assign({}, prev), { columnWidths: initialColumnWidths });
|
|
49
|
-
}
|
|
50
|
-
const hasChanged = Array.from(newKeys).some((key) => !currentKeys.has(key) || prev.columnWidths[key] !== initialColumnWidths[key]);
|
|
51
|
-
if (!hasChanged) {
|
|
52
|
-
return prev;
|
|
53
|
-
}
|
|
54
|
-
return Object.assign(Object.assign({}, prev), { columnWidths: initialColumnWidths });
|
|
55
|
-
});
|
|
56
|
-
}, []);
|
|
57
|
-
const getColumnWidth = useCallback((columnId) => {
|
|
58
|
-
return getColumnWidthFromState(columnWidths, columnId);
|
|
59
|
-
}, [columnWidths]);
|
|
60
|
-
// Clean up event listeners
|
|
61
|
-
const cleanupEventListeners = useCallback(() => {
|
|
62
|
-
cleanupEventListenersUtil(mouseMoveRef, mouseUpRef);
|
|
63
|
-
}, []);
|
|
64
|
-
// Resize end handler with memoization
|
|
65
|
-
const createResizeEndHandlerMemo = useCallback((columnId, currentWidth, startX) => {
|
|
66
|
-
return createResizeEndHandler(windowId, serviceCode, onColumnResize, setResizeState, cleanupEventListeners, isResizingRef, clampedXRef)(columnId, currentWidth, startX);
|
|
67
|
-
}, [windowId, serviceCode, onColumnResize, cleanupEventListeners]);
|
|
68
|
-
const createMouseMoveHandlerCallback = useCallback((columnIndex, columnPinned) => {
|
|
69
|
-
return createMouseMoveHandler(setResizeState, setCursorPosition, initialCursorYRef, tableContainerRef, columnIndex, columnPinned, clampedXRef, startXRef, startWidthRef);
|
|
70
|
-
}, [tableContainerRef]);
|
|
71
|
-
const startResize = useCallback((e, columnId) => {
|
|
72
|
-
e.preventDefault();
|
|
73
|
-
e.stopPropagation();
|
|
74
|
-
try {
|
|
75
|
-
const currentWidth = getColumnWidth(columnId);
|
|
76
|
-
const startX = e.clientX;
|
|
77
|
-
// Find the column being resized to get its index and pinned status
|
|
78
|
-
const columnBeingResized = columns.find((col) => getColumnId(col) === columnId);
|
|
79
|
-
const columnIndex = columnBeingResized
|
|
80
|
-
? columns.filter((col) => col.pinned === columnBeingResized.pinned).findIndex((col) => getColumnId(col) === columnId)
|
|
81
|
-
: undefined;
|
|
82
|
-
const columnPinned = columnBeingResized === null || columnBeingResized === void 0 ? void 0 : columnBeingResized.pinned;
|
|
83
|
-
// Calculate the icon's Y position (center of the header cell)
|
|
84
|
-
const target = e.currentTarget;
|
|
85
|
-
const headerCell = target.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]');
|
|
86
|
-
let iconY = e.clientY; // fallback to mouse Y
|
|
87
|
-
if (headerCell) {
|
|
88
|
-
const rect = headerCell.getBoundingClientRect();
|
|
89
|
-
iconY = rect.top + rect.height / 2; // Center of the header cell (same as icon position)
|
|
90
|
-
}
|
|
91
|
-
setResizeState((prev) => (Object.assign(Object.assign({}, prev), { isResizing: true, resizingColumn: columnId, startX, startWidth: currentWidth, resizeIndicatorX: startX, resizingColumnIndex: columnIndex, resizingColumnPinned: columnPinned })));
|
|
92
|
-
initialCursorYRef.current = iconY;
|
|
93
|
-
clampedXRef.current = startX;
|
|
94
|
-
startXRef.current = startX;
|
|
95
|
-
startWidthRef.current = currentWidth;
|
|
96
|
-
setCursorPosition({ x: startX, y: iconY });
|
|
97
|
-
isResizingRef.current = true;
|
|
98
|
-
// Create and store event handlers
|
|
99
|
-
const handleMouseMove = createMouseMoveHandlerCallback(columnIndex, columnPinned);
|
|
100
|
-
const handleMouseUp = createResizeEndHandlerMemo(columnId, currentWidth, startX);
|
|
101
|
-
mouseMoveRef.current = handleMouseMove;
|
|
102
|
-
mouseUpRef.current = handleMouseUp;
|
|
103
|
-
// Add global event listeners
|
|
104
|
-
document.addEventListener('mousemove', handleMouseMove);
|
|
105
|
-
document.addEventListener('mouseup', handleMouseUp);
|
|
106
|
-
// Hide cursor and disable text selection during resize
|
|
107
|
-
document.body.style.cursor = 'none';
|
|
108
|
-
document.body.style.userSelect = 'none';
|
|
109
|
-
}
|
|
110
|
-
catch (error) {
|
|
111
|
-
console.error('Error starting resize:', error);
|
|
112
|
-
cleanupEventListeners();
|
|
113
|
-
}
|
|
114
|
-
}, [getColumnWidth, createMouseMoveHandlerCallback, createResizeEndHandlerMemo, cleanupEventListeners, columns]);
|
|
115
|
-
const stopResize = useCallback(() => {
|
|
116
|
-
try {
|
|
117
|
-
setResizeState((prev) => (Object.assign(Object.assign({}, prev), { isResizing: false, resizingColumn: null, resizeIndicatorX: 0 })));
|
|
118
|
-
isResizingRef.current = false;
|
|
119
|
-
cleanupEventListeners();
|
|
120
|
-
}
|
|
121
|
-
catch (error) {
|
|
122
|
-
console.error('Error stopping resize:', error);
|
|
123
|
-
cleanupEventListeners();
|
|
124
|
-
}
|
|
125
|
-
}, [cleanupEventListeners]);
|
|
126
|
-
const isCurrentlyResizing = useCallback(() => {
|
|
127
|
-
return isResizingRef.current;
|
|
128
|
-
}, []);
|
|
129
|
-
// Wrapper for column click that prevents clicks during resize
|
|
130
|
-
const handleColumnClickWithResizeCheck = useCallback((columnIndex, event, pinnedType) => {
|
|
131
|
-
if (isCurrentlyResizing()) {
|
|
132
|
-
return; // Don't handle column click if we're currently resizing
|
|
133
|
-
}
|
|
134
|
-
handleColumnClick(columnIndex, event, pinnedType);
|
|
135
|
-
}, [handleColumnClick, isCurrentlyResizing]);
|
|
136
|
-
// Cleanup on unmount
|
|
137
|
-
useEffect(() => {
|
|
138
|
-
return cleanupEventListeners;
|
|
139
|
-
}, [cleanupEventListeners]);
|
|
140
|
-
return {
|
|
141
|
-
columnWidths,
|
|
142
|
-
isResizing,
|
|
143
|
-
resizingColumn,
|
|
144
|
-
resizeIndicatorX,
|
|
145
|
-
cursorPosition,
|
|
146
|
-
getColumnWidth,
|
|
147
|
-
startResize,
|
|
148
|
-
stopResize,
|
|
149
|
-
isCurrentlyResizing,
|
|
150
|
-
handleColumnClick: handleColumnClickWithResizeCheck,
|
|
151
|
-
};
|
|
152
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useMemo } from 'react';
|
|
2
|
-
import { getColumnId } from '../utils/resize';
|
|
3
|
-
export const useColumnResizeWithPinned = ({ pinnedStartColumnsData, pinnedEndColumnsData, columnWidths }) => {
|
|
4
|
-
const pinnedStartColumnsWidth = useMemo(() => pinnedStartColumnsData.reduce((acc, col) => {
|
|
5
|
-
const columnId = getColumnId(col);
|
|
6
|
-
const width = columnWidths[columnId] || parseInt(String(col.width)) || 150;
|
|
7
|
-
return acc + width;
|
|
8
|
-
}, 0.2), [pinnedStartColumnsData, columnWidths]);
|
|
9
|
-
const pinnedEndColumnsWidth = useMemo(() => pinnedEndColumnsData.reduce((acc, col) => {
|
|
10
|
-
const columnId = getColumnId(col);
|
|
11
|
-
const width = columnWidths[columnId] || parseInt(String(col.width)) || 150;
|
|
12
|
-
return acc + width;
|
|
13
|
-
}, 0.2), [pinnedEndColumnsData, columnWidths]);
|
|
14
|
-
// Create updated column data with dynamic widths
|
|
15
|
-
const pinnedStartColumnsDataWithWidths = useMemo(() => pinnedStartColumnsData.map((col) => {
|
|
16
|
-
const columnId = getColumnId(col);
|
|
17
|
-
return Object.assign(Object.assign({}, col), { width: columnWidths[columnId] || col.width });
|
|
18
|
-
}), [pinnedStartColumnsData, columnWidths]);
|
|
19
|
-
const pinnedEndColumnsDataWithWidths = useMemo(() => pinnedEndColumnsData.map((col) => {
|
|
20
|
-
const columnId = getColumnId(col);
|
|
21
|
-
return Object.assign(Object.assign({}, col), { width: columnWidths[columnId] || col.width });
|
|
22
|
-
}), [pinnedEndColumnsData, columnWidths]);
|
|
23
|
-
return {
|
|
24
|
-
pinnedStartColumnsWidth,
|
|
25
|
-
pinnedEndColumnsWidth,
|
|
26
|
-
pinnedStartColumnsDataWithWidths,
|
|
27
|
-
pinnedEndColumnsDataWithWidths,
|
|
28
|
-
};
|
|
29
|
-
};
|