@sisense/sdk-shared-ui 1.27.1 → 1.29.0
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/dist/Breadcrumbs-B46ViOSv.cjs +3 -0
- package/dist/Breadcrumbs-CQNCIJ2Y.js +301 -0
- package/dist/Button-CoMaroSC.cjs +1 -0
- package/dist/Button-D5ZAS_sd.js +569 -0
- package/dist/ButtonBase-Camgk6s8.cjs +74 -0
- package/dist/ButtonBase-DPVWpC8-.js +883 -0
- package/dist/CheckableList-BLLCGCKX.cjs +1 -0
- package/dist/CheckableList-CC7iKnHq.js +21 -0
- package/dist/Checkbox-3bG1OLg3.js +516 -0
- package/dist/Checkbox-oJOn5Vb9.cjs +1 -0
- package/dist/DEPRECATED_Button-D2XS1y1r.cjs +1 -0
- package/dist/DEPRECATED_Button-m2ifXo3Q.js +87 -0
- package/dist/DEPRECATED_Checkbox-CYomxatm.cjs +1 -0
- package/dist/DEPRECATED_Checkbox-DWtXr5K7.js +63 -0
- package/dist/DEPRECATED_Icon-BQ4AqiI1.js +56 -0
- package/dist/DEPRECATED_Icon-iUszZb09.cjs +1 -0
- package/dist/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
- package/dist/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
- package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +2316 -0
- package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +27 -0
- package/dist/Dropdown-BtZZ4fY6.cjs +1 -0
- package/dist/Dropdown-BxoUPsca.js +231 -0
- package/dist/Icon-CqoYg88-.cjs +1 -0
- package/dist/Icon-D0uZg6iJ.js +131 -0
- package/dist/Input-BghWSV2Z.js +119 -0
- package/dist/Input-Cd6a2FUC.cjs +1 -0
- package/dist/LazyLoader-DB86QSSx.js +18 -0
- package/dist/LazyLoader-gOLNhxc-.cjs +1 -0
- package/dist/Menu-BfAQOpHl.cjs +1 -0
- package/dist/Menu-C5wQnuq6.js +1212 -0
- package/dist/Popover-0n4kd3ut.js +49 -0
- package/dist/Popover-Bp5g_ws9.cjs +1 -0
- package/dist/RadioButton-BpAksn2s.js +70 -0
- package/dist/RadioButton-Ds-0wj0r.cjs +1 -0
- package/dist/SvgIcon-Dg-EBYZz.cjs +1 -0
- package/dist/SvgIcon-DsAvI5iY.js +238 -0
- package/dist/TablePagination-DUkJaWJG.js +7758 -0
- package/dist/TablePagination-Yp8eKLZB.cjs +15 -0
- package/dist/ThemeProvider-BCsnqK18.js +5085 -0
- package/dist/ThemeProvider-BjBWRt7C.cjs +114 -0
- package/dist/Tooltip-B0-7TF8b.js +2155 -0
- package/dist/Tooltip-DE1hlnS3.cjs +7 -0
- package/dist/Typography-BGFgTnYN.js +498 -0
- package/dist/Typography-CGsd6zC4.cjs +1 -0
- package/dist/align.interface-B17uA473.cjs +1 -0
- package/dist/align.interface-DdWsijrT.js +4 -0
- package/dist/assertThisInitialized-BSnhOY1M.cjs +1 -0
- package/dist/assertThisInitialized-lz6cHcRv.js +8 -0
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
- package/dist/createSvgIcon-DDrcw4wZ.cjs +1 -0
- package/dist/createSvgIcon-rAujRRtd.js +17 -0
- package/dist/deepmerge-BuAjuQR6.cjs +17 -0
- package/dist/deepmerge-DNqbOtFI.js +177 -0
- package/dist/extends-DX42hfxm.js +13 -0
- package/dist/extends-q0Hkx4pQ.cjs +1 -0
- package/dist/index-B-zZeebW.cjs +20 -0
- package/dist/index-D0lMis-I.js +667 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -24
- package/dist/integerPropType-B8hl-7D0.js +180 -0
- package/dist/integerPropType-BGlNA6vX.cjs +17 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +7 -0
- package/dist/lib/Breadcrumbs/index.d.ts +5 -0
- package/dist/lib/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
- package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/themes/index.d.ts +2 -0
- package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
- package/dist/lib/Button/Button.cjs +1 -0
- package/dist/lib/Button/Button.d.ts +10 -0
- package/dist/lib/Button/Button.d.ts.map +1 -0
- package/dist/lib/Button/Button.js +7 -0
- package/dist/lib/Button/index.d.ts +5 -0
- package/dist/lib/Button/index.d.ts.map +1 -0
- package/dist/lib/Button/themes/buttonsTheme.d.ts +11 -0
- package/dist/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
- package/dist/lib/Button/themes/index.d.ts +2 -0
- package/dist/lib/Button/themes/index.d.ts.map +1 -0
- package/dist/lib/CheckableList/CheckableList.cjs +1 -0
- package/dist/lib/CheckableList/CheckableList.d.ts +16 -0
- package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -0
- package/dist/lib/CheckableList/CheckableList.js +5 -0
- package/dist/lib/CheckableList/index.d.ts +4 -0
- package/dist/lib/CheckableList/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/Checkbox.cjs +1 -0
- package/dist/lib/Checkbox/Checkbox.d.ts +20 -0
- package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/lib/Checkbox/Checkbox.js +5 -0
- package/dist/lib/Checkbox/index.d.ts +4 -0
- package/dist/lib/Checkbox/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
- package/dist/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
- package/{src/lib/Checkbox/themes/index.ts → dist/lib/Checkbox/themes/index.d.ts} +1 -0
- package/dist/lib/Checkbox/themes/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
- package/dist/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
- package/dist/lib/DEPRECATED_Button/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Button/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
- package/dist/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
- package/dist/lib/DEPRECATED_Icon/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
- package/dist/lib/DEPRECATED_Toggle/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
- package/dist/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/Dropdown.cjs +1 -0
- package/dist/lib/Dropdown/Dropdown.d.ts +32 -0
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/lib/Dropdown/Dropdown.js +5 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/DropdownButtonBody/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/hooks/index.tsx → dist/lib/Dropdown/DropdownButton/hooks/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/index.ts → dist/lib/Dropdown/DropdownButton/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
- package/{src/lib/Dropdown/hooks/index.tsx → dist/lib/Dropdown/hooks/index.d.ts} +1 -0
- package/dist/lib/Dropdown/hooks/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
- package/dist/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
- package/dist/lib/Dropdown/index.d.ts +5 -0
- package/dist/lib/Dropdown/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/types.d.ts +12 -0
- package/dist/lib/Dropdown/types.d.ts.map +1 -0
- package/dist/lib/Icon/Icon.cjs +1 -0
- package/dist/lib/Icon/Icon.d.ts +13 -0
- package/dist/lib/Icon/Icon.d.ts.map +1 -0
- package/dist/lib/Icon/Icon.js +5 -0
- package/dist/lib/Icon/index.d.ts +4 -0
- package/dist/lib/Icon/index.d.ts.map +1 -0
- package/dist/lib/Icon/themes/iconTheme.d.ts +8 -0
- package/dist/lib/Icon/themes/iconTheme.d.ts.map +1 -0
- package/{src/lib/Icon/themes/index.ts → dist/lib/Icon/themes/index.d.ts} +1 -0
- package/dist/lib/Icon/themes/index.d.ts.map +1 -0
- package/dist/lib/Icon/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/Input/Input.cjs +1 -0
- package/dist/lib/Input/Input.d.ts +28 -0
- package/dist/lib/Input/Input.d.ts.map +1 -0
- package/dist/lib/Input/Input.js +5 -0
- package/dist/lib/Input/index.d.ts +4 -0
- package/dist/lib/Input/index.d.ts.map +1 -0
- package/dist/lib/LazyLoader/LazyLoader.cjs +1 -0
- package/dist/lib/LazyLoader/LazyLoader.d.ts +9 -0
- package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
- package/dist/lib/LazyLoader/LazyLoader.js +5 -0
- package/dist/lib/LazyLoader/index.d.ts +4 -0
- package/dist/lib/LazyLoader/index.d.ts.map +1 -0
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
- package/{src/lib/Menu/Confirmation/index.ts → dist/lib/Menu/Confirmation/index.d.ts} +1 -0
- package/dist/lib/Menu/Confirmation/index.d.ts.map +1 -0
- package/dist/lib/Menu/Confirmation/translation.d.ts +2 -0
- package/dist/lib/Menu/Confirmation/translation.d.ts.map +1 -0
- package/dist/lib/Menu/Menu.cjs +1 -0
- package/dist/lib/Menu/Menu.d.ts +80 -0
- package/dist/lib/Menu/Menu.d.ts.map +1 -0
- package/dist/lib/Menu/Menu.js +8 -0
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
- package/{src/lib/Menu/MenuItem/index.ts → dist/lib/Menu/MenuItem/index.d.ts} +1 -0
- package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -0
- package/{src/lib/Menu/index.ts → dist/lib/Menu/index.d.ts} +2 -2
- package/dist/lib/Menu/index.d.ts.map +1 -0
- package/dist/lib/Menu/utils.d.ts +6 -0
- package/dist/lib/Menu/utils.d.ts.map +1 -0
- package/dist/lib/Popover/Popover.cjs +1 -0
- package/dist/lib/Popover/Popover.d.ts +16 -0
- package/dist/lib/Popover/Popover.d.ts.map +1 -0
- package/dist/lib/Popover/Popover.js +7 -0
- package/dist/lib/Popover/align.interface.d.ts +23 -0
- package/dist/lib/Popover/align.interface.d.ts.map +1 -0
- package/{src/lib/Popover/index.ts → dist/lib/Popover/index.d.ts} +2 -2
- package/dist/lib/Popover/index.d.ts.map +1 -0
- package/dist/lib/RadioButton/RadioButton.cjs +1 -0
- package/dist/lib/RadioButton/RadioButton.d.ts +20 -0
- package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -0
- package/dist/lib/RadioButton/RadioButton.js +5 -0
- package/dist/lib/RadioButton/index.d.ts +4 -0
- package/dist/lib/RadioButton/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/TablePagination/TablePagination.cjs +1 -0
- package/dist/lib/TablePagination/TablePagination.d.ts +19 -0
- package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -0
- package/dist/lib/TablePagination/TablePagination.js +5 -0
- package/dist/lib/TablePagination/TablePaginationContext.d.ts +3 -0
- package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
- package/dist/lib/TablePagination/index.d.ts +4 -0
- package/dist/lib/TablePagination/index.d.ts.map +1 -0
- package/{src/lib/TablePagination/themes/index.ts → dist/lib/TablePagination/themes/index.d.ts} +1 -0
- package/dist/lib/TablePagination/themes/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
- package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
- package/dist/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/Tooltip/Tooltip.cjs +1 -0
- package/dist/lib/Tooltip/Tooltip.d.ts +10 -0
- package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/lib/Tooltip/Tooltip.js +7 -0
- package/{src/lib/Tooltip/index.ts → dist/lib/Tooltip/index.d.ts} +2 -2
- package/dist/lib/Tooltip/index.d.ts.map +1 -0
- package/{src/lib/Tooltip/themes/index.ts → dist/lib/Tooltip/themes/index.d.ts} +1 -0
- package/dist/lib/Tooltip/themes/index.d.ts.map +1 -0
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
- package/dist/lib/Typography/Typography.cjs +1 -0
- package/dist/lib/Typography/Typography.d.ts +11 -0
- package/dist/lib/Typography/Typography.d.ts.map +1 -0
- package/dist/lib/Typography/Typography.js +7 -0
- package/{src/lib/Typography/index.ts → dist/lib/Typography/index.d.ts} +2 -2
- package/dist/lib/Typography/index.d.ts.map +1 -0
- package/{src/lib/Typography/themes/index.ts → dist/lib/Typography/themes/index.d.ts} +1 -0
- package/dist/lib/Typography/themes/index.d.ts.map +1 -0
- package/dist/lib/Typography/themes/typographyTheme.d.ts +21 -0
- package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
- package/dist/lib/Typography/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/constants/styleguideConstants.d.ts +9 -0
- package/dist/lib/constants/styleguideConstants.d.ts.map +1 -0
- package/{src/lib/index.ts → dist/lib/index.d.ts} +3 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/{src/lib/themes/colors/index.ts → dist/lib/themes/colors/index.d.ts} +1 -0
- package/dist/lib/themes/colors/index.d.ts.map +1 -0
- package/dist/lib/themes/colors/siColors.d.ts +140 -0
- package/dist/lib/themes/colors/siColors.d.ts.map +1 -0
- package/{src/lib/themes/index.ts → dist/lib/themes/index.d.ts} +1 -0
- package/dist/lib/themes/index.d.ts.map +1 -0
- package/dist/lib/themes/themes.cjs +2 -0
- package/dist/lib/themes/themes.js +142 -0
- package/dist/lib/themes/types/SisenseTheme.d.ts +12 -0
- package/dist/lib/themes/types/SisenseTheme.d.ts.map +1 -0
- package/{src/lib/themes/types/index.ts → dist/lib/themes/types/index.d.ts} +1 -0
- package/dist/lib/themes/types/index.d.ts.map +1 -0
- package/dist/package.json +225 -0
- package/dist/setPrototypeOf-BmHXYjK5.cjs +1 -0
- package/dist/setPrototypeOf-CEtRTXk2.js +19 -0
- package/dist/styleguideConstants-CtXkvIZK.cjs +1 -0
- package/dist/styleguideConstants-D4Yls16w.js +11 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useControlled-Ysk4KqoX.cjs +3 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useFormControl-haP0iPhl.cjs +1 -0
- package/dist/useSlot-7x9FkqBW.js +720 -0
- package/dist/useSlot-B_P_o-pz.cjs +1 -0
- package/dist/useSlotProps-BpXHXb21.js +102 -0
- package/dist/useSlotProps-COvANhgg.cjs +1 -0
- package/dist/useTheme-BN6DGaDZ.cjs +1 -0
- package/dist/useTheme-eCVqNAnk.js +8 -0
- package/dist/useTimeout-BG7TPjEm.js +92 -0
- package/dist/useTimeout-DQN9lwd_.cjs +2 -0
- package/package.json +21 -1
- package/.eslintignore +0 -4
- package/.prettierignore +0 -11
- package/.storybook/main.ts +0 -44
- package/.storybook/preview-head.html +0 -4
- package/.storybook/preview.tsx +0 -34
- package/src/index.ts +0 -1
- package/src/lib/@types/sass.d.ts +0 -19
- package/src/lib/CheckableList/CheckableList.module.scss +0 -13
- package/src/lib/CheckableList/CheckableList.test.tsx +0 -61
- package/src/lib/CheckableList/CheckableList.tsx +0 -41
- package/src/lib/CheckableList/index.ts +0 -4
- package/src/lib/Checkbox/Checkbox.tsx +0 -28
- package/src/lib/Checkbox/index.ts +0 -4
- package/src/lib/Checkbox/themes/checkboxTheme.ts +0 -42
- package/src/lib/Checkbox/themes/uiCustomization.ts +0 -28
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.module.scss +0 -57
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.stories.tsx +0 -169
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.test.tsx +0 -154
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.tsx +0 -129
- package/src/lib/DEPRECATED_Button/index.ts +0 -4
- package/src/lib/DEPRECATED_Checkbox/Checkbox.module.scss +0 -49
- package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.test.tsx +0 -131
- package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.tsx +0 -103
- package/src/lib/DEPRECATED_Checkbox/index.ts +0 -4
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.module.scss +0 -7
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.stories.tsx +0 -27
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.test.tsx +0 -105
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.tsx +0 -91
- package/src/lib/DEPRECATED_Icon/index.ts +0 -4
- package/src/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.tsx +0 -49
- package/src/lib/DEPRECATED_Toggle/index.ts +0 -4
- package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.module.scss +0 -115
- package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.tsx +0 -68
- package/src/lib/DEPRECATED_Tooltip/index.ts +0 -4
- package/src/lib/Dropdown/Dropdown.module.scss +0 -9
- package/src/lib/Dropdown/Dropdown.tsx +0 -150
- package/src/lib/Dropdown/DropdownButton/DropdownButton.module.scss +0 -49
- package/src/lib/Dropdown/DropdownButton/DropdownButton.tsx +0 -81
- package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.test.tsx +0 -121
- package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.tsx +0 -39
- package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.module.scss +0 -20
- package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.tsx +0 -44
- package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.ts +0 -1
- package/src/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.ts +0 -51
- package/src/lib/Dropdown/hooks/useDropdown.ts +0 -29
- package/src/lib/Dropdown/index.ts +0 -5
- package/src/lib/Dropdown/types.ts +0 -17
- package/src/lib/Icon/Icon.tsx +0 -118
- package/src/lib/Icon/index.ts +0 -4
- package/src/lib/Icon/themes/iconTheme.tsx +0 -38
- package/src/lib/Icon/themes/uiCustomization.ts +0 -9
- package/src/lib/Input/Input.module.scss +0 -97
- package/src/lib/Input/Input.test.tsx +0 -177
- package/src/lib/Input/Input.tsx +0 -134
- package/src/lib/Input/index.ts +0 -4
- package/src/lib/LazyLoader/LazyLoader.module.scss +0 -18
- package/src/lib/LazyLoader/LazyLoader.tsx +0 -42
- package/src/lib/LazyLoader/index.ts +0 -4
- package/src/lib/Menu/Confirmation/Confirmation.module.scss +0 -48
- package/src/lib/Menu/Confirmation/Confirmation.tsx +0 -45
- package/src/lib/Menu/Confirmation/translation.ts +0 -17
- package/src/lib/Menu/Menu.module.scss +0 -178
- package/src/lib/Menu/Menu.tsx +0 -363
- package/src/lib/Menu/MenuItem/MenuItem.test.tsx +0 -241
- package/src/lib/Menu/MenuItem/MenuItem.tsx +0 -186
- package/src/lib/Menu/utils.ts +0 -13
- package/src/lib/Popover/Popover.module.scss +0 -15
- package/src/lib/Popover/Popover.tsx +0 -92
- package/src/lib/Popover/align.interface.ts +0 -20
- package/src/lib/RadioButton/RadioButton.module.scss +0 -22
- package/src/lib/RadioButton/RadioButton.tsx +0 -89
- package/src/lib/RadioButton/index.ts +0 -4
- package/src/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.tsx +0 -87
- package/src/lib/TablePagination/PaginationActionsComponent/index.ts +0 -4
- package/src/lib/TablePagination/PaginationActionsComponent/themes/index.ts +0 -4
- package/src/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.tsx +0 -70
- package/src/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.ts +0 -17
- package/src/lib/TablePagination/TablePagination.tsx +0 -148
- package/src/lib/TablePagination/TablePaginationContext.ts +0 -4
- package/src/lib/TablePagination/index.ts +0 -4
- package/src/lib/TablePagination/themes/tablePaginationResponsiveDesign.ts +0 -33
- package/src/lib/TablePagination/themes/tablePaginationTheme.tsx +0 -128
- package/src/lib/TablePagination/themes/uiCustomization.ts +0 -50
- package/src/lib/Tooltip/Tooltip.module.scss +0 -125
- package/src/lib/Tooltip/Tooltip.tsx +0 -34
- package/src/lib/Tooltip/themes/tooltipTheme.ts +0 -30
- package/src/lib/Typography/Typography.tsx +0 -28
- package/src/lib/Typography/themes/typographyTheme.tsx +0 -170
- package/src/lib/Typography/themes/uiCustomization.ts +0 -10
- package/src/lib/constants/styleguideConstants.ts +0 -8
- package/src/lib/styles/colors.module.scss +0 -10
- package/src/lib/styles/sisenseStyleguideReactColors.scss +0 -57
- package/src/lib/styles/style_styleguide_react/_variables.deprecated.scss +0 -107
- package/src/lib/styles/style_styleguide_react/_variables.scss +0 -100
- package/src/lib/styles/style_styleguide_react/base.scss +0 -9
- package/src/lib/styles/style_styleguide_react/colors.scss +0 -71
- package/src/lib/styles/style_styleguide_react/exports/colors.exports.scss +0 -69
- package/src/lib/styles/style_styleguide_react/exports/fonts.exports.scss +0 -33
- package/src/lib/styles/style_styleguide_react/fonts.scss +0 -27
- package/src/lib/styles/style_styleguide_react/mixins.scss +0 -90
- package/src/lib/themes/colors/siColors.ts +0 -143
- package/src/lib/themes/types/SisenseTheme.ts +0 -12
- package/tsconfig.eslint.json +0 -12
- package/tsconfig.json +0 -17
- package/tsconfig.lib.json +0 -22
- package/tsconfig.spec.json +0 -21
- package/vite.config.ts +0 -140
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";const Vr=require("react/jsx-runtime"),Oe=require("classnames"),ae=require("react"),Dt=require("./extends-q0Hkx4pQ.cjs"),qn=require("./setPrototypeOf-BmHXYjK5.cjs"),Hr=require("react-dom"),Br=require("./assertThisInitialized-BSnhOY1M.cjs"),Mo=require("./styleguideConstants-CtXkvIZK.cjs");function No(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=No(ae);function Ao(e){var t=e.children,r=e.prefixCls,n=e.id,o=e.overlayInnerStyle,i=e.bodyClassName,a=e.className,l=e.style;return u.createElement("div",{className:Oe("".concat(r,"-content"),a),style:l},u.createElement("div",{className:Oe("".concat(r,"-inner"),i),id:n,role:"tooltip",style:o},typeof t=="function"?t():t))}function Ce(e){"@babel/helpers - typeof";return Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ce(e)}function Oo(e,t){if(Ce(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ce(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Un(e){var t=Oo(e,"string");return Ce(t)=="symbol"?t:t+""}function le(e,t,r){return t=Un(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pn(Object(r),!0).forEach(function(n){le(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function cr(e,t){if(e==null)return{};var r=qn._objectWithoutPropertiesLoose(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Do(e){if(Array.isArray(e))return e}function xo(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(d){s=!0,o=d}finally{try{if(!c&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}function qr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Kn(e,t){if(e){if(typeof e=="string")return qr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qr(e,t)}}function Lo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(e,t){return Do(e)||xo(e,t)||Kn(e,t)||Lo()}function ke(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ur={},un=[],ko=function(t){un.push(t)};function fr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=un.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function $o(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=un.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Io(){Ur={}}function Qn(e,t,r){!t&&!Ur[r]&&(e(!1,r),Ur[r]=!0)}function hr(e,t){Qn(fr,e,t)}function zo(e,t){Qn($o,e,t)}hr.preMessage=ko;hr.resetWarned=Io;hr.noteOnce=zo;var Kr={exports:{}},z={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-is.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var En;function jo(){if(En)return z;En=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function E(f){if(typeof f=="object"&&f!==null){var S=f.$$typeof;switch(S){case e:switch(f=f.type,f){case r:case o:case n:case s:case d:return f;default:switch(f=f&&f.$$typeof,f){case l:case a:case c:case y:case v:case i:return f;default:return S}}case t:return S}}}return z.ContextConsumer=a,z.ContextProvider=i,z.Element=e,z.ForwardRef=c,z.Fragment=r,z.Lazy=y,z.Memo=v,z.Portal=t,z.Profiler=o,z.StrictMode=n,z.Suspense=s,z.SuspenseList=d,z.isAsyncMode=function(){return!1},z.isConcurrentMode=function(){return!1},z.isContextConsumer=function(f){return E(f)===a},z.isContextProvider=function(f){return E(f)===i},z.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},z.isForwardRef=function(f){return E(f)===c},z.isFragment=function(f){return E(f)===r},z.isLazy=function(f){return E(f)===y},z.isMemo=function(f){return E(f)===v},z.isPortal=function(f){return E(f)===t},z.isProfiler=function(f){return E(f)===o},z.isStrictMode=function(f){return E(f)===n},z.isSuspense=function(f){return E(f)===s},z.isSuspenseList=function(f){return E(f)===d},z.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===r||f===o||f===n||f===s||f===d||f===m||typeof f=="object"&&f!==null&&(f.$$typeof===y||f.$$typeof===v||f.$$typeof===i||f.$$typeof===a||f.$$typeof===c||f.$$typeof===b||f.getModuleId!==void 0)},z.typeOf=E,z}var j={};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react-is.development.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var wn;function Vo(){return wn||(wn=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=!1,E=!1,f=!1,S=!1,N=!1,P;P=Symbol.for("react.module.reference");function p(h){return!!(typeof h=="string"||typeof h=="function"||h===r||h===o||N||h===n||h===s||h===d||S||h===m||b||E||f||typeof h=="object"&&h!==null&&(h.$$typeof===y||h.$$typeof===v||h.$$typeof===i||h.$$typeof===a||h.$$typeof===c||h.$$typeof===P||h.getModuleId!==void 0))}function _(h){if(typeof h=="object"&&h!==null){var ie=h.$$typeof;switch(ie){case e:var fe=h.type;switch(fe){case r:case o:case n:case s:case d:return fe;default:var X=fe&&fe.$$typeof;switch(X){case l:case a:case c:case y:case v:case i:return X;default:return ie}}case t:return ie}}}var D=a,A=i,V=e,Y=c,H=r,$=y,W=v,I=t,F=o,O=n,M=s,L=d,T=!1,B=!1;function k(h){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function re(h){return B||(B=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ne(h){return _(h)===a}function be(h){return _(h)===i}function _e(h){return typeof h=="object"&&h!==null&&h.$$typeof===e}function ve(h){return _(h)===c}function Re(h){return _(h)===r}function se(h){return _(h)===y}function K(h){return _(h)===v}function ue(h){return _(h)===t}function ce(h){return _(h)===o}function oe(h){return _(h)===n}function De(h){return _(h)===s}function xe(h){return _(h)===d}j.ContextConsumer=D,j.ContextProvider=A,j.Element=V,j.ForwardRef=Y,j.Fragment=H,j.Lazy=$,j.Memo=W,j.Portal=I,j.Profiler=F,j.StrictMode=O,j.Suspense=M,j.SuspenseList=L,j.isAsyncMode=k,j.isConcurrentMode=re,j.isContextConsumer=ne,j.isContextProvider=be,j.isElement=_e,j.isForwardRef=ve,j.isFragment=Re,j.isLazy=se,j.isMemo=K,j.isPortal=ue,j.isProfiler=ce,j.isStrictMode=oe,j.isSuspense=De,j.isSuspenseList=xe,j.isValidElementType=p,j.typeOf=_}()),j}process.env.NODE_ENV==="production"?Kr.exports=jo():Kr.exports=Vo();var ar=Kr.exports;function Wo(e,t,r){var n=u.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}var sn=function(t,r){typeof t=="function"?t(r):Ce(t)==="object"&&t&&"current"in t&&(t.current=r)},Gn=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.filter(Boolean);return o.length<=1?o[0]:function(i){r.forEach(function(a){sn(a,i)})}},cn=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Wo(function(){return Gn.apply(void 0,r)},r,function(o,i){return o.length!==i.length||o.every(function(a,l){return a!==i[l]})})},yr=function(t){var r,n,o=ar.isMemo(t)?t.type.type:t.type;return!(typeof o=="function"&&!((r=o.prototype)!==null&&r!==void 0&&r.render)&&o.$$typeof!==ar.ForwardRef||typeof t=="function"&&!((n=t.prototype)!==null&&n!==void 0&&n.render)&&t.$$typeof!==ar.ForwardRef)},Zn=u.createContext(null);function Fo(e){if(Array.isArray(e))return qr(e)}function Ho(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bo(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qr(e){return Fo(e)||Ho(e)||Kn(e)||Bo()}var Sn=process.env.NODE_ENV!=="test"&&ke()?u.useLayoutEffect:u.useEffect,ge=function(t,r){var n=u.useRef(!0);Sn(function(){return t(n.current)},r),Sn(function(){return n.current=!1,function(){n.current=!0}},[])},Cn=[];function qo(e,t){var r=u.useState(function(){if(!ke())return null;var b=document.createElement("div");return process.env.NODE_ENV!=="production"&&t&&b.setAttribute("data-debug",t),b}),n=x(r,1),o=n[0],i=u.useRef(!1),a=u.useContext(Zn),l=u.useState(Cn),c=x(l,2),s=c[0],d=c[1],v=a||(i.current?void 0:function(b){d(function(E){var f=[b].concat(Qr(E));return f})});function y(){o.parentElement||document.body.appendChild(o),i.current=!0}function m(){var b;(b=o.parentElement)===null||b===void 0||b.removeChild(o),i.current=!1}return ge(function(){return e?a?a(y):y():m(),m},[e]),ge(function(){s.length&&(s.forEach(function(b){return b()}),d(Cn))},[s]),[o,v]}function Uo(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var _n="data-rc-order",Rn="data-rc-priority",Ko="rc-util-key",Gr=new Map;function Jn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Ko}function gr(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Qo(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function fn(e){return Array.from((Gr.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Yn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ke())return null;var r=t.csp,n=t.prepend,o=t.priority,i=o===void 0?0:o,a=Qo(n),l=a==="prependQueue",c=document.createElement("style");c.setAttribute(_n,a),l&&i&&c.setAttribute(Rn,"".concat(i)),r!=null&&r.nonce&&(c.nonce=r==null?void 0:r.nonce),c.innerHTML=e;var s=gr(t),d=s.firstChild;if(n){if(l){var v=(t.styles||fn(s)).filter(function(y){if(!["prepend","prependQueue"].includes(y.getAttribute(_n)))return!1;var m=Number(y.getAttribute(Rn)||0);return i>=m});if(v.length)return s.insertBefore(c,v[v.length-1].nextSibling),c}s.insertBefore(c,d)}else s.appendChild(c);return c}function Xn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=gr(t);return(t.styles||fn(r)).find(function(n){return n.getAttribute(Jn(t))===e})}function Zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Xn(e,t);if(r){var n=gr(t);n.removeChild(r)}}function Go(e,t){var r=Gr.get(e);if(!r||!Uo(document,r)){var n=Yn("",t),o=n.parentNode;Gr.set(e,o),e.removeChild(n)}}function eo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=gr(r),o=fn(n),i=w(w({},r),{},{styles:o});Go(n,i);var a=Xn(t,i);if(a){var l,c;if((l=i.csp)!==null&&l!==void 0&&l.nonce&&a.nonce!==((c=i.csp)===null||c===void 0?void 0:c.nonce)){var s;a.nonce=(s=i.csp)===null||s===void 0?void 0:s.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var d=Yn(e,i);return d.setAttribute(Jn(i),t),d}function Zo(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),r=document.createElement("div");r.id=t;var n=r.style;n.position="absolute",n.left="0",n.top="0",n.width="100px",n.height="100px",n.overflow="scroll";var o,i;if(e){var a=getComputedStyle(e);n.scrollbarColor=a.scrollbarColor,n.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),s=parseInt(l.height,10);try{var d=c?"width: ".concat(l.width,";"):"",v=s?"height: ".concat(l.height,";"):"";eo(`
|
|
20
|
+
#`.concat(t,`::-webkit-scrollbar {
|
|
21
|
+
`).concat(d,`
|
|
22
|
+
`).concat(v,`
|
|
23
|
+
}`),t)}catch(b){console.error(b),o=c,i=s}}document.body.appendChild(r);var y=e&&o&&!isNaN(o)?o:r.offsetWidth-r.clientWidth,m=e&&i&&!isNaN(i)?i:r.offsetHeight-r.clientHeight;return document.body.removeChild(r),Zr(t),{width:y,height:m}}function Jo(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:Zo(e)}function Yo(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Xo="rc-util-locker-".concat(Date.now()),Pn=0;function ei(e){var t=!!e,r=u.useState(function(){return Pn+=1,"".concat(Xo,"_").concat(Pn)}),n=x(r,1),o=n[0];ge(function(){if(t){var i=Jo(document.body).width,a=Yo();eo(`
|
|
24
|
+
html body {
|
|
25
|
+
overflow-y: hidden;
|
|
26
|
+
`.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
|
|
27
|
+
}`),o)}else Zr(o);return function(){Zr(o)}},[t,o])}var ti=!1;function ri(e){return ti}var Tn=function(t){return t===!1?!1:!ke()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},ln=u.forwardRef(function(e,t){var r=e.open,n=e.autoLock,o=e.getContainer,i=e.debug,a=e.autoDestroy,l=a===void 0?!0:a,c=e.children,s=u.useState(r),d=x(s,2),v=d[0],y=d[1],m=v||r;process.env.NODE_ENV!=="production"&&hr(ke()||!r,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),u.useEffect(function(){(l||r)&&y(r)},[r,l]);var b=u.useState(function(){return Tn(o)}),E=x(b,2),f=E[0],S=E[1];u.useEffect(function(){var W=Tn(o);S(W??null)});var N=qo(m&&!f,i),P=x(N,2),p=P[0],_=P[1],D=f??p;ei(n&&r&&ke()&&(D===p||D===document.body));var A=null;if(c&&yr(c)&&t){var V=c;A=V.ref}var Y=cn(A,t);if(!m||!ke()||f===void 0)return null;var H=D===!1||ri(),$=c;return t&&($=u.cloneElement(c,{ref:Y})),u.createElement(Zn.Provider,{value:_},H?$:Hr.createPortal($,D))});process.env.NODE_ENV!=="production"&&(ln.displayName="Portal");function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return ae.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(Jr(n)):ar.isFragment(n)&&n.props?r=r.concat(Jr(n.props.children,t)):r.push(n))}),r}function At(e){return e instanceof HTMLElement||e instanceof SVGElement}function ni(e){return e&&Ce(e)==="object"&&At(e.nativeElement)?e.nativeElement:At(e)?e:null}function ur(e){var t=ni(e);if(t)return t;if(e instanceof ae.Component){var r;return(r=Hr.findDOMNode)===null||r===void 0?void 0:r.call(Hr,e)}return null}var Yr=u.createContext(null);function oi(e){var t=e.children,r=e.onBatchResize,n=u.useRef(0),o=u.useRef([]),i=u.useContext(Yr),a=u.useCallback(function(l,c,s){n.current+=1;var d=n.current;o.current.push({size:l,element:c,data:s}),Promise.resolve().then(function(){d===n.current&&(r==null||r(o.current),o.current=[])}),i==null||i(l,c,s)},[r,i]);return u.createElement(Yr.Provider,{value:a},t)}var to=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];r.call(n,a[1],a[0])}},t}()}(),Xr=typeof window<"u"&&typeof document<"u"&&window.document===document,lr=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),ii=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(lr):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),ai=2;function ui(e,t){var r=!1,n=!1,o=0;function i(){r&&(r=!1,e()),n&&l()}function a(){ii(i)}function l(){var c=Date.now();if(r){if(c-o<ai)return;n=!0}else r=!0,n=!1,setTimeout(a,t);o=c}return l}var si=20,ci=["top","right","bottom","left","width","height","size","weight"],fi=typeof MutationObserver<"u",li=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=ui(this.refresh.bind(this),si)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Xr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),fi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Xr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=ci.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ro=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},pt=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||lr},no=br(0,0,0,0);function vr(e){return parseFloat(e)||0}function Mn(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,o){var i=e["border-"+o+"-width"];return n+vr(i)},0)}function vi(e){for(var t=["top","right","bottom","left"],r={},n=0,o=t;n<o.length;n++){var i=o[n],a=e["padding-"+i];r[i]=vr(a)}return r}function di(e){var t=e.getBBox();return br(0,0,t.width,t.height)}function mi(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return no;var n=pt(e).getComputedStyle(e),o=vi(n),i=o.left+o.right,a=o.top+o.bottom,l=vr(n.width),c=vr(n.height);if(n.boxSizing==="border-box"&&(Math.round(l+i)!==t&&(l-=Mn(n,"left","right")+i),Math.round(c+a)!==r&&(c-=Mn(n,"top","bottom")+a)),!yi(e)){var s=Math.round(l+i)-t,d=Math.round(c+a)-r;Math.abs(s)!==1&&(l-=s),Math.abs(d)!==1&&(c-=d)}return br(o.left,o.top,l,c)}var hi=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof pt(e).SVGGraphicsElement}:function(e){return e instanceof pt(e).SVGElement&&typeof e.getBBox=="function"}}();function yi(e){return e===pt(e).document.documentElement}function gi(e){return Xr?hi(e)?di(e):mi(e):no}function bi(e){var t=e.x,r=e.y,n=e.width,o=e.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return ro(a,{x:t,y:r,width:n,height:o,top:r,right:t+n,bottom:o+r,left:t}),a}function br(e,t,r,n){return{x:e,y:t,width:r,height:n}}var pi=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=br(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=gi(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Ei=function(){function e(t,r){var n=bi(r);ro(this,{target:t,contentRect:n})}return e}(),wi=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new to,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof pt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new pi(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof pt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new Ei(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),oo=typeof WeakMap<"u"?new WeakMap:new to,io=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=li.getInstance(),n=new wi(t,r,this);oo.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){io.prototype[e]=function(){var t;return(t=oo.get(this))[e].apply(t,arguments)}});var Si=function(){return typeof lr.ResizeObserver<"u"?lr.ResizeObserver:io}(),Fe=new Map;function ao(e){e.forEach(function(t){var r,n=t.target;(r=Fe.get(n))===null||r===void 0||r.forEach(function(o){return o(n)})})}var uo=new Si(ao);process.env.NODE_ENV;process.env.NODE_ENV;function Ci(e,t){Fe.has(e)||(Fe.set(e,new Set),uo.observe(e)),Fe.get(e).add(t)}function _i(e,t){Fe.has(e)&&(Fe.get(e).delete(t),Fe.get(e).size||(uo.unobserve(e),Fe.delete(e)))}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Un(n.key),n)}}function dn(e,t,r){return t&&Nn(e.prototype,t),r&&Nn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function mn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qn._setPrototypeOf(e,t)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function so(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(so=function(){return!!e})()}function Ri(e,t){if(t&&(Ce(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Br._assertThisInitialized(e)}function hn(e){var t=so();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ri(this,o)}}var Pi=function(e){mn(r,e);var t=hn(r);function r(){return vn(this,r),t.apply(this,arguments)}return dn(r,[{key:"render",value:function(){return this.props.children}}]),r}(u.Component);function Ti(e,t){var r=e.children,n=e.disabled,o=u.useRef(null),i=u.useRef(null),a=u.useContext(Yr),l=typeof r=="function",c=l?r(o):r,s=u.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&u.isValidElement(c)&&yr(c),v=d?c.ref:null,y=cn(v,o),m=function(){var S;return ur(o.current)||(o.current&&Ce(o.current)==="object"?ur((S=o.current)===null||S===void 0?void 0:S.nativeElement):null)||ur(i.current)};u.useImperativeHandle(t,function(){return m()});var b=u.useRef(e);b.current=e;var E=u.useCallback(function(f){var S=b.current,N=S.onResize,P=S.data,p=f.getBoundingClientRect(),_=p.width,D=p.height,A=f.offsetWidth,V=f.offsetHeight,Y=Math.floor(_),H=Math.floor(D);if(s.current.width!==Y||s.current.height!==H||s.current.offsetWidth!==A||s.current.offsetHeight!==V){var $={width:Y,height:H,offsetWidth:A,offsetHeight:V};s.current=$;var W=A===Math.round(_)?_:A,I=V===Math.round(D)?D:V,F=w(w({},$),{},{offsetWidth:W,offsetHeight:I});a==null||a(F,f,P),N&&Promise.resolve().then(function(){N(F,f)})}},[]);return u.useEffect(function(){var f=m();return f&&!n&&Ci(f,E),function(){return _i(f,E)}},[o.current,n]),u.createElement(Pi,{ref:i},d?u.cloneElement(c,{ref:y}):c)}var co=u.forwardRef(Ti);process.env.NODE_ENV!=="production"&&(co.displayName="SingleObserver");var Mi="rc-observer-key";function Ni(e,t){var r=e.children,n=typeof r=="function"?[r]:Jr(r);return process.env.NODE_ENV!=="production"&&(n.length>1?fr(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&fr(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),n.map(function(o,i){var a=(o==null?void 0:o.key)||"".concat(Mi,"-").concat(i);return u.createElement(co,Dt._extends({},e,{key:a,ref:i===0?t:void 0}),o)})}var pr=u.forwardRef(Ni);process.env.NODE_ENV!=="production"&&(pr.displayName="ResizeObserver");pr.Collection=oi;function fo(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Ai(e){return fo(e)instanceof ShadowRoot}function en(e){return Ai(e)?fo(e):null}function Ge(e){var t=u.useRef();t.current=e;var r=u.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=t.current)===null||n===void 0?void 0:n.call.apply(n,[t].concat(i))},[]);return r}function Oi(){var e=w({},u);return e.useId}var An=0,On=Oi();const Di=On?function(t){var r=On();return t||(process.env.NODE_ENV==="test"?"test-id":r)}:function(t){var r=u.useState("ssr-id"),n=x(r,2),o=n[0],i=n[1];return u.useEffect(function(){var a=An;An+=1,i("rc_unique_".concat(a))},[]),t||(process.env.NODE_ENV==="test"?"test-id":o)},xi=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Li=u.createContext({}),ki=function(e){mn(r,e);var t=hn(r);function r(){return vn(this,r),t.apply(this,arguments)}return dn(r,[{key:"render",value:function(){return this.props.children}}]),r}(u.Component);function sr(e){var t=u.useRef(!1),r=u.useState(e),n=x(r,2),o=n[0],i=n[1];u.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(l,c){c&&t.current||i(l)}return[o,a]}var Qe="none",rr="appear",nr="enter",or="leave",Dn="none",Ae="prepare",gt="start",bt="active",yn="end",lo="prepared";function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function $i(e,t){var r={animationend:xn("Animation","AnimationEnd"),transitionend:xn("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Ii=$i(ke(),typeof window<"u"?window:{}),vo={};if(ke()){var zi=document.createElement("div");vo=zi.style}var ir={};function mo(e){if(ir[e])return ir[e];var t=Ii[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var i=r[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in vo)return ir[e]=t[i],ir[e]}return""}var ho=mo("animationend"),yo=mo("transitionend"),go=!!(ho&&yo),Ln=ho||"animationend",kn=yo||"transitionend";function $n(e,t){if(!e)return null;if(Ce(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const ji=function(e){var t=ae.useRef();function r(o){o&&(o.removeEventListener(kn,e),o.removeEventListener(Ln,e))}function n(o){t.current&&t.current!==o&&r(t.current),o&&o!==t.current&&(o.addEventListener(kn,e),o.addEventListener(Ln,e),t.current=o)}return u.useEffect(function(){return function(){r(t.current)}},[]),[n,r]};var bo=ke()?ae.useLayoutEffect:ae.useEffect,po=function(t){return+setTimeout(t,16)},Eo=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(po=function(t){return window.requestAnimationFrame(t)},Eo=function(t){return window.cancelAnimationFrame(t)});var In=0,Er=new Map;function wo(e){Er.delete(e)}var mr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;In+=1;var n=In;function o(i){if(i===0)wo(n),t();else{var a=po(function(){o(i-1)});Er.set(n,a)}}return o(r),n};mr.cancel=function(e){var t=Er.get(e);return wo(e),Eo(t)};process.env.NODE_ENV!=="production"&&(mr.ids=function(){return Er});const Vi=function(){var e=u.useRef(null);function t(){mr.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var i=mr(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i}return u.useEffect(function(){return function(){t()}},[]),[r,t]};var Wi=[Ae,gt,bt,yn],Fi=[Ae,lo],So=!1,Hi=!0;function Co(e){return e===bt||e===yn}const Bi=function(e,t,r){var n=sr(Dn),o=x(n,2),i=o[0],a=o[1],l=Vi(),c=x(l,2),s=c[0],d=c[1];function v(){a(Ae,!0)}var y=t?Fi:Wi;return bo(function(){if(i!==Dn&&i!==yn){var m=y.indexOf(i),b=y[m+1],E=r(i);E===So?a(b,!0):b&&s(function(f){function S(){f.isCanceled()||a(b,!0)}E===!0?S():Promise.resolve(E).then(S)})}},[e,i]),u.useEffect(function(){return function(){d()}},[]),[v,i]};function qi(e,t,r,n){var o=n.motionEnter,i=o===void 0?!0:o,a=n.motionAppear,l=a===void 0?!0:a,c=n.motionLeave,s=c===void 0?!0:c,d=n.motionDeadline,v=n.motionLeaveImmediately,y=n.onAppearPrepare,m=n.onEnterPrepare,b=n.onLeavePrepare,E=n.onAppearStart,f=n.onEnterStart,S=n.onLeaveStart,N=n.onAppearActive,P=n.onEnterActive,p=n.onLeaveActive,_=n.onAppearEnd,D=n.onEnterEnd,A=n.onLeaveEnd,V=n.onVisibleChanged,Y=sr(),H=x(Y,2),$=H[0],W=H[1],I=sr(Qe),F=x(I,2),O=F[0],M=F[1],L=sr(null),T=x(L,2),B=T[0],k=T[1],re=ae.useRef(!1),ne=ae.useRef(null);function be(){return r()}var _e=ae.useRef(!1);function ve(){M(Qe,!0),k(null,!0)}var Re=Ge(function(R){if(O!==Qe){var q=be();if(!(R&&!R.deadline&&R.target!==q)){var U=_e.current,$e;O===rr&&U?$e=_==null?void 0:_(q,R):O===nr&&U?$e=D==null?void 0:D(q,R):O===or&&U&&($e=A==null?void 0:A(q,R)),U&&$e!==!1&&ve()}}}),se=ji(Re),K=x(se,1),ue=K[0],ce=function(q){switch(q){case rr:return le(le(le({},Ae,y),gt,E),bt,N);case nr:return le(le(le({},Ae,m),gt,f),bt,P);case or:return le(le(le({},Ae,b),gt,S),bt,p);default:return{}}},oe=u.useMemo(function(){return ce(O)},[O]),De=Bi(O,!e,function(R){if(R===Ae){var q=oe[Ae];return q?q(be()):So}if(ie in oe){var U;k(((U=oe[ie])===null||U===void 0?void 0:U.call(oe,be(),null))||null)}return ie===bt&&O!==Qe&&(ue(be()),d>0&&(clearTimeout(ne.current),ne.current=setTimeout(function(){Re({deadline:!0})},d))),ie===lo&&ve(),Hi}),xe=x(De,2),h=xe[0],ie=xe[1],fe=Co(ie);_e.current=fe,bo(function(){W(t);var R=re.current;re.current=!0;var q;!R&&t&&l&&(q=rr),R&&t&&i&&(q=nr),(R&&!t&&s||!R&&v&&!t&&s)&&(q=or);var U=ce(q);q&&(e||U[Ae])?(M(q),h()):M(Qe)},[t]),ae.useEffect(function(){(O===rr&&!l||O===nr&&!i||O===or&&!s)&&M(Qe)},[l,i,s]),ae.useEffect(function(){return function(){re.current=!1,clearTimeout(ne.current)}},[]);var X=u.useRef(!1);ae.useEffect(function(){$&&(X.current=!0),$!==void 0&&O===Qe&&((X.current||$)&&(V==null||V($)),X.current=!0)},[$,O]);var he=B;return oe[Ae]&&ie===gt&&(he=w({transition:"none"},he)),[O,ie,he,$??t]}function Ui(e){var t=e;Ce(e)==="object"&&(t=e.transitionSupport);function r(o,i){return!!(o.motionName&&t&&i!==!1)}var n=u.forwardRef(function(o,i){var a=o.visible,l=a===void 0?!0:a,c=o.removeOnLeave,s=c===void 0?!0:c,d=o.forceRender,v=o.children,y=o.motionName,m=o.leavedClassName,b=o.eventProps,E=u.useContext(Li),f=E.motion,S=r(o,f),N=ae.useRef(),P=ae.useRef();function p(){try{return N.current instanceof HTMLElement?N.current:ur(P.current)}catch{return null}}var _=qi(S,l,p,o),D=x(_,4),A=D[0],V=D[1],Y=D[2],H=D[3],$=u.useRef(H);H&&($.current=!0);var W=u.useCallback(function(B){N.current=B,sn(i,B)},[i]),I,F=w(w({},b),{},{visible:l});if(!v)I=null;else if(A===Qe)H?I=v(w({},F),W):!s&&$.current&&m?I=v(w(w({},F),{},{className:m}),W):d||!s&&!m?I=v(w(w({},F),{},{style:{display:"none"}}),W):I=null;else{var O;V===Ae?O="prepare":Co(V)?O="active":V===gt&&(O="start");var M=$n(y,"".concat(A,"-").concat(O));I=v(w(w({},F),{},{className:Oe($n(y,A),le(le({},M,M&&O),y,typeof y=="string")),style:Y}),W)}if(u.isValidElement(I)&&yr(I)){var L=I,T=L.ref;T||(I=u.cloneElement(I,{ref:W}))}return u.createElement(ki,{ref:P},I)});return n.displayName="CSSMotion",n}const gn=Ui(go);var tn="add",rn="keep",nn="remove",Wr="removed";function Ki(e){var t;return e&&Ce(e)==="object"&&"key"in e?t=e:t={key:e},w(w({},t),{},{key:String(t.key)})}function on(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Ki)}function Qi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],n=0,o=t.length,i=on(e),a=on(t);i.forEach(function(s){for(var d=!1,v=n;v<o;v+=1){var y=a[v];if(y.key===s.key){n<v&&(r=r.concat(a.slice(n,v).map(function(m){return w(w({},m),{},{status:tn})})),n=v),r.push(w(w({},y),{},{status:rn})),n+=1,d=!0;break}}d||r.push(w(w({},s),{},{status:nn}))}),n<o&&(r=r.concat(a.slice(n).map(function(s){return w(w({},s),{},{status:tn})})));var l={};r.forEach(function(s){var d=s.key;l[d]=(l[d]||0)+1});var c=Object.keys(l).filter(function(s){return l[s]>1});return c.forEach(function(s){r=r.filter(function(d){var v=d.key,y=d.status;return v!==s||y!==nn}),r.forEach(function(d){d.key===s&&(d.status=rn)})}),r}var Gi=["component","children","onVisibleChanged","onAllRemoved"],Zi=["status"],Ji=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gn,r=function(n){mn(i,n);var o=hn(i);function i(){var a;vn(this,i);for(var l=arguments.length,c=new Array(l),s=0;s<l;s++)c[s]=arguments[s];return a=o.call.apply(o,[this].concat(c)),le(Br._assertThisInitialized(a),"state",{keyEntities:[]}),le(Br._assertThisInitialized(a),"removeKey",function(d){var v=a.state.keyEntities,y=v.map(function(m){return m.key!==d?m:w(w({},m),{},{status:Wr})});return a.setState({keyEntities:y}),y.filter(function(m){var b=m.status;return b!==Wr}).length}),a}return dn(i,[{key:"render",value:function(){var l=this,c=this.state.keyEntities,s=this.props,d=s.component,v=s.children,y=s.onVisibleChanged,m=s.onAllRemoved,b=cr(s,Gi),E=d||u.Fragment,f={};return Ji.forEach(function(S){f[S]=b[S],delete b[S]}),delete b.keys,u.createElement(E,b,c.map(function(S,N){var P=S.status,p=cr(S,Zi),_=P===tn||P===rn;return u.createElement(t,Dt._extends({},f,{key:p.key,visible:_,eventProps:p,onVisibleChanged:function(A){if(y==null||y(A,{key:p.key}),!A){var V=l.removeKey(p.key);V===0&&m&&m()}}}),function(D,A){return v(w(w({},D),{},{index:N}),A)})}))}}],[{key:"getDerivedStateFromProps",value:function(l,c){var s=l.keys,d=c.keyEntities,v=on(s),y=Qi(d,v);return{keyEntities:y.filter(function(m){var b=d.find(function(E){var f=E.key;return m.key===f});return!(b&&b.status===Wr&&m.status===nn)})}}}]),i}(u.Component);return le(r,"defaultProps",{component:"div"}),r}Yi(go);function Xi(e){var t=e.prefixCls,r=e.align,n=e.arrow,o=e.arrowPos,i=n||{},a=i.className,l=i.content,c=o.x,s=c===void 0?0:c,d=o.y,v=d===void 0?0:d,y=u.useRef();if(!r||!r.points)return null;var m={position:"absolute"};if(r.autoArrow!==!1){var b=r.points[0],E=r.points[1],f=b[0],S=b[1],N=E[0],P=E[1];f===N||!["t","b"].includes(f)?m.top=v:f==="t"?m.top=0:m.bottom=0,S===P||!["l","r"].includes(S)?m.left=s:S==="l"?m.left=0:m.right=0}return u.createElement("div",{ref:y,className:Oe("".concat(t,"-arrow"),a),style:m},l)}function ea(e){var t=e.prefixCls,r=e.open,n=e.zIndex,o=e.mask,i=e.motion;return o?u.createElement(gn,Dt._extends({},i,{motionAppear:!0,visible:r,removeOnLeave:!0}),function(a){var l=a.className;return u.createElement("div",{style:{zIndex:n},className:Oe("".concat(t,"-mask"),l)})}):null}var _o=u.memo(function(e){var t=e.children;return t},function(e,t){return t.cache});process.env.NODE_ENV!=="production"&&(_o.displayName="PopupContent");var Ro=u.forwardRef(function(e,t){var r=e.popup,n=e.className,o=e.prefixCls,i=e.style,a=e.target,l=e.onVisibleChanged,c=e.open,s=e.keepDom,d=e.fresh,v=e.onClick,y=e.mask,m=e.arrow,b=e.arrowPos,E=e.align,f=e.motion,S=e.maskMotion,N=e.forceRender,P=e.getPopupContainer,p=e.autoDestroy,_=e.portal,D=e.zIndex,A=e.onMouseEnter,V=e.onMouseLeave,Y=e.onPointerEnter,H=e.ready,$=e.offsetX,W=e.offsetY,I=e.offsetR,F=e.offsetB,O=e.onAlign,M=e.onPrepare,L=e.stretch,T=e.targetWidth,B=e.targetHeight,k=typeof r=="function"?r():r,re=c||s,ne=(P==null?void 0:P.length)>0,be=u.useState(!P||!ne),_e=x(be,2),ve=_e[0],Re=_e[1];if(ge(function(){!ve&&ne&&a&&Re(!0)},[ve,ne,a]),!ve)return null;var se="auto",K={left:"-1000vw",top:"-1000vh",right:se,bottom:se};if(H||!c){var ue,ce=E.points,oe=E.dynamicInset||((ue=E._experimental)===null||ue===void 0?void 0:ue.dynamicInset),De=oe&&ce[0][1]==="r",xe=oe&&ce[0][0]==="b";De?(K.right=I,K.left=se):(K.left=$,K.right=se),xe?(K.bottom=F,K.top=se):(K.top=W,K.bottom=se)}var h={};return L&&(L.includes("height")&&B?h.height=B:L.includes("minHeight")&&B&&(h.minHeight=B),L.includes("width")&&T?h.width=T:L.includes("minWidth")&&T&&(h.minWidth=T)),c||(h.pointerEvents="none"),u.createElement(_,{open:N||re,getContainer:P&&function(){return P(a)},autoDestroy:p},u.createElement(ea,{prefixCls:o,open:c,zIndex:D,mask:y,motion:S}),u.createElement(pr,{onResize:O,disabled:!c},function(ie){return u.createElement(gn,Dt._extends({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:N,leavedClassName:"".concat(o,"-hidden")},f,{onAppearPrepare:M,onEnterPrepare:M,visible:c,onVisibleChanged:function(X){var he;f==null||(he=f.onVisibleChanged)===null||he===void 0||he.call(f,X),l(X)}}),function(fe,X){var he=fe.className,R=fe.style,q=Oe(o,he,n);return u.createElement("div",{ref:Gn(ie,t,X),className:q,style:w(w(w(w({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},K),h),R),{},{boxSizing:"border-box",zIndex:D},i),onMouseEnter:A,onMouseLeave:V,onPointerEnter:Y,onClick:v},m&&u.createElement(Xi,{prefixCls:o,arrow:m,arrowPos:b,align:E}),u.createElement(_o,{cache:!c&&!d},k))})}))});process.env.NODE_ENV!=="production"&&(Ro.displayName="Popup");var Po=u.forwardRef(function(e,t){var r=e.children,n=e.getTriggerDOMNode,o=yr(r),i=u.useCallback(function(l){sn(t,n?n(l):l)},[n]),a=cn(i,r.ref);return o?u.cloneElement(r,{ref:a}):r});process.env.NODE_ENV!=="production"&&(Po.displayName="TriggerWrapper");var zn=u.createContext(null);function jn(e){return e?Array.isArray(e)?e:[e]:[]}function ta(e,t,r,n){return u.useMemo(function(){var o=jn(r??t),i=jn(n??t),a=new Set(o),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,r,n])}const ra=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1};function na(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return r?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function oa(e,t,r,n){for(var o=r.points,i=Object.keys(e),a=0;a<i.length;a+=1){var l,c=i[a];if(na((l=e[c])===null||l===void 0?void 0:l.points,o,n))return"".concat(t,"-placement-").concat(c)}return""}function Vn(e,t,r,n){return t||(r?{motionName:"".concat(e,"-").concat(r)}:n?{motionName:n}:null)}function xt(e){return e.ownerDocument.defaultView}function an(e){for(var t=[],r=e==null?void 0:e.parentElement,n=["hidden","scroll","clip","auto"];r;){var o=xt(r).getComputedStyle(r),i=o.overflowX,a=o.overflowY,l=o.overflow;[i,a,l].some(function(c){return n.includes(c)})&&t.push(r),r=r.parentElement}return t}function Ot(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Nt(e){return Ot(parseFloat(e),0)}function Wn(e,t){var r=w({},e);return(t||[]).forEach(function(n){if(!(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)){var o=xt(n).getComputedStyle(n),i=o.overflow,a=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,s=o.borderLeftWidth,d=o.borderRightWidth,v=n.getBoundingClientRect(),y=n.offsetHeight,m=n.clientHeight,b=n.offsetWidth,E=n.clientWidth,f=Nt(l),S=Nt(c),N=Nt(s),P=Nt(d),p=Ot(Math.round(v.width/b*1e3)/1e3),_=Ot(Math.round(v.height/y*1e3)/1e3),D=(b-E-N-P)*p,A=(y-m-f-S)*_,V=f*_,Y=S*_,H=N*p,$=P*p,W=0,I=0;if(i==="clip"){var F=Nt(a);W=F*p,I=F*_}var O=v.x+H-W,M=v.y+V-I,L=O+v.width+2*W-H-$-D,T=M+v.height+2*I-V-Y-A;r.left=Math.max(r.left,O),r.top=Math.max(r.top,M),r.right=Math.min(r.right,L),r.bottom=Math.min(r.bottom,T)}}),r}function Fn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r="".concat(t),n=r.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(r)}function Hn(e,t){var r=t||[],n=x(r,2),o=n[0],i=n[1];return[Fn(e.width,o),Fn(e.height,i)]}function Bn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function mt(e,t){var r=t[0],n=t[1],o,i;return r==="t"?i=e.y:r==="b"?i=e.y+e.height:i=e.y+e.height/2,n==="l"?o=e.x:n==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:i}}function Ke(e,t){var r={t:"b",b:"t",l:"r",r:"l"};return e.map(function(n,o){return o===t?r[n]||"c":n}).join("")}function ia(e,t,r,n,o,i,a){var l=u.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[n]||{}}),c=x(l,2),s=c[0],d=c[1],v=u.useRef(0),y=u.useMemo(function(){return t?an(t):[]},[t]),m=u.useRef({}),b=function(){m.current={}};e||b();var E=Ge(function(){if(t&&r&&e){let Ee=function(Zt,we){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:q,Jt=k.x+Zt,dt=k.y+we,Yt=Jt+ue,Mt=dt+K,Xt=Math.max(Jt,vt.left),$r=Math.max(dt,vt.top),Ir=Math.min(Yt,vt.right),zr=Math.min(Mt,vt.bottom);return Math.max(0,(Ir-Xt)*(zr-$r))},Gt=function(){tt=k.y+Z,rt=tt+K,je=k.x+ee,nt=je+ue};var N,P,p=t,_=p.ownerDocument,D=xt(p),A=D.getComputedStyle(p),V=A.width,Y=A.height,H=A.position,$=p.style.left,W=p.style.top,I=p.style.right,F=p.style.bottom,O=p.style.overflow,M=w(w({},o[n]),i),L=_.createElement("div");(N=p.parentElement)===null||N===void 0||N.appendChild(L),L.style.left="".concat(p.offsetLeft,"px"),L.style.top="".concat(p.offsetTop,"px"),L.style.position=H,L.style.height="".concat(p.offsetHeight,"px"),L.style.width="".concat(p.offsetWidth,"px"),p.style.left="0",p.style.top="0",p.style.right="auto",p.style.bottom="auto",p.style.overflow="hidden";var T;if(Array.isArray(r))T={x:r[0],y:r[1],width:0,height:0};else{var B=r.getBoundingClientRect();T={x:B.x,y:B.y,width:B.width,height:B.height}}var k=p.getBoundingClientRect(),re=_.documentElement,ne=re.clientWidth,be=re.clientHeight,_e=re.scrollWidth,ve=re.scrollHeight,Re=re.scrollTop,se=re.scrollLeft,K=k.height,ue=k.width,ce=T.height,oe=T.width,De={left:0,top:0,right:ne,bottom:be},xe={left:-se,top:-Re,right:_e-se,bottom:ve-Re},h=M.htmlRegion,ie="visible",fe="visibleFirst";h!=="scroll"&&h!==fe&&(h=ie);var X=h===fe,he=Wn(xe,y),R=Wn(De,y),q=h===ie?R:he,U=X?R:q;p.style.left="auto",p.style.top="auto",p.style.right="0",p.style.bottom="0";var $e=p.getBoundingClientRect();p.style.left=$,p.style.top=W,p.style.right=I,p.style.bottom=F,p.style.overflow=O,(P=p.parentElement)===null||P===void 0||P.removeChild(L);var Ze=Ot(Math.round(ue/parseFloat(V)*1e3)/1e3),Je=Ot(Math.round(K/parseFloat(Y)*1e3)/1e3);if(Ze===0||Je===0||At(r)&&!ra(r))return;var Lt=M.offset,de=M.targetOffset,wr=Hn(k,Lt),Et=x(wr,2),Pe=Et[0],Te=Et[1],kt=Hn(T,de),Me=x(kt,2),Sr=Me[0],$t=Me[1];T.x-=Sr,T.y-=$t;var Cr=M.points||[],Ye=x(Cr,2),pe=Ye[0],He=Ye[1],Ie=Bn(He),ye=Bn(pe),It=mt(T,Ie),zt=mt(k,ye),ze=w({},M),ee=It.x-zt.x+Pe,Z=It.y-zt.y+Te,J=Ee(ee,Z),st=Ee(ee,Z,R),Be=mt(T,["t","l"]),Xe=mt(k,["t","l"]),wt=mt(T,["b","r"]),St=mt(k,["b","r"]),et=M.overflow||{},Ne=et.adjustX,_r=et.adjustY,Ct=et.shiftX,ct=et.shiftY,_t=function(we){return typeof we=="boolean"?we:we>=0},tt,rt,je,nt;Gt();var jt=_t(_r),Rt=ye[0]===Ie[0];if(jt&&ye[0]==="t"&&(rt>U.bottom||m.current.bt)){var qe=Z;Rt?qe-=K-ce:qe=Be.y-St.y-Te;var Vt=Ee(ee,qe),ft=Ee(ee,qe,R);Vt>J||Vt===J&&(!X||ft>=st)?(m.current.bt=!0,Z=qe,Te=-Te,ze.points=[Ke(ye,0),Ke(Ie,0)]):m.current.bt=!1}if(jt&&ye[0]==="b"&&(tt<U.top||m.current.tb)){var ot=Z;Rt?ot+=K-ce:ot=wt.y-Xe.y-Te;var me=Ee(ee,ot),Rr=Ee(ee,ot,R);me>J||me===J&&(!X||Rr>=st)?(m.current.tb=!0,Z=ot,Te=-Te,ze.points=[Ke(ye,0),Ke(Ie,0)]):m.current.tb=!1}var Wt=_t(Ne),Ft=ye[1]===Ie[1];if(Wt&&ye[1]==="l"&&(nt>U.right||m.current.rl)){var it=ee;Ft?it-=ue-oe:it=Be.x-St.x-Pe;var Ht=Ee(it,Z),Pr=Ee(it,Z,R);Ht>J||Ht===J&&(!X||Pr>=st)?(m.current.rl=!0,ee=it,Pe=-Pe,ze.points=[Ke(ye,1),Ke(Ie,1)]):m.current.rl=!1}if(Wt&&ye[1]==="r"&&(je<U.left||m.current.lr)){var at=ee;Ft?at+=ue-oe:at=wt.x-Xe.x-Pe;var Bt=Ee(at,Z),Tr=Ee(at,Z,R);Bt>J||Bt===J&&(!X||Tr>=st)?(m.current.lr=!0,ee=at,Pe=-Pe,ze.points=[Ke(ye,1),Ke(Ie,1)]):m.current.lr=!1}Gt();var Le=Ct===!0?0:Ct;typeof Le=="number"&&(je<R.left&&(ee-=je-R.left-Pe,T.x+oe<R.left+Le&&(ee+=T.x-R.left+oe-Le)),nt>R.right&&(ee-=nt-R.right-Pe,T.x>R.right-Le&&(ee+=T.x-R.right+Le)));var Ve=ct===!0?0:ct;typeof Ve=="number"&&(tt<R.top&&(Z-=tt-R.top-Te,T.y+ce<R.top+Ve&&(Z+=T.y-R.top+ce-Ve)),rt>R.bottom&&(Z-=rt-R.bottom-Te,T.y>R.bottom-Ve&&(Z+=T.y-R.bottom+Ve)));var Pt=k.x+ee,qt=Pt+ue,Ue=k.y+Z,ut=Ue+K,Tt=T.x,lt=Tt+oe,We=T.y,Mr=We+ce,Nr=Math.max(Pt,Tt),Ar=Math.min(qt,lt),Ut=(Nr+Ar)/2,Or=Ut-Pt,Dr=Math.max(Ue,We),xr=Math.min(ut,Mr),Kt=(Dr+xr)/2,Lr=Kt-Ue;a==null||a(t,ze);var kr=$e.right-k.x-(ee+k.width),Qt=$e.bottom-k.y-(Z+k.height);d({ready:!0,offsetX:ee/Ze,offsetY:Z/Je,offsetR:kr/Ze,offsetB:Qt/Je,arrowX:Or/Ze,arrowY:Lr/Je,scaleX:Ze,scaleY:Je,align:ze})}}),f=function(){v.current+=1;var P=v.current;Promise.resolve().then(function(){v.current===P&&E()})},S=function(){d(function(P){return w(w({},P),{},{ready:!1})})};return ge(S,[n]),ge(function(){e||S()},[e]),[s.ready,s.offsetX,s.offsetY,s.offsetR,s.offsetB,s.arrowX,s.arrowY,s.scaleX,s.scaleY,s.align,f]}function aa(e,t,r,n,o){ge(function(){if(e&&t&&r){let v=function(){n(),o()};var i=t,a=r,l=an(i),c=an(a),s=xt(a),d=new Set([s].concat(Qr(l),Qr(c)));return d.forEach(function(y){y.addEventListener("scroll",v,{passive:!0})}),s.addEventListener("resize",v,{passive:!0}),n(),function(){d.forEach(function(y){y.removeEventListener("scroll",v),s.removeEventListener("resize",v)})}}},[e,t,r])}function ua(e,t,r,n,o,i,a,l){var c=u.useRef(e);c.current=e,u.useEffect(function(){if(t&&n&&(!o||i)){var s=function(S){var N=S.target;c.current&&!a(N)&&l(!1)},d=xt(n);d.addEventListener("mousedown",s,!0),d.addEventListener("contextmenu",s,!0);var v=en(r);if(v&&(v.addEventListener("mousedown",s,!0),v.addEventListener("contextmenu",s,!0)),process.env.NODE_ENV!=="production"){var y,m,b=r==null||(y=r.getRootNode)===null||y===void 0?void 0:y.call(r),E=(m=n.getRootNode)===null||m===void 0?void 0:m.call(n);fr(b===E,"trigger element and popup element should in same shadow root.")}return function(){d.removeEventListener("mousedown",s,!0),d.removeEventListener("contextmenu",s,!0),v&&(v.removeEventListener("mousedown",s,!0),v.removeEventListener("contextmenu",s,!0))}}},[t,r,n,o,i])}var sa=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ca(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ln,t=u.forwardRef(function(r,n){var o=r.prefixCls,i=o===void 0?"rc-trigger-popup":o,a=r.children,l=r.action,c=l===void 0?"hover":l,s=r.showAction,d=r.hideAction,v=r.popupVisible,y=r.defaultPopupVisible,m=r.onPopupVisibleChange,b=r.afterPopupVisibleChange,E=r.mouseEnterDelay,f=r.mouseLeaveDelay,S=f===void 0?.1:f,N=r.focusDelay,P=r.blurDelay,p=r.mask,_=r.maskClosable,D=_===void 0?!0:_,A=r.getPopupContainer,V=r.forceRender,Y=r.autoDestroy,H=r.destroyPopupOnHide,$=r.popup,W=r.popupClassName,I=r.popupStyle,F=r.popupPlacement,O=r.builtinPlacements,M=O===void 0?{}:O,L=r.popupAlign,T=r.zIndex,B=r.stretch,k=r.getPopupClassNameFromAlign,re=r.fresh,ne=r.alignPoint,be=r.onPopupClick,_e=r.onPopupAlign,ve=r.arrow,Re=r.popupMotion,se=r.maskMotion,K=r.popupTransitionName,ue=r.popupAnimation,ce=r.maskTransitionName,oe=r.maskAnimation,De=r.className,xe=r.getTriggerDOMNode,h=cr(r,sa),ie=Y||H||!1,fe=u.useState(!1),X=x(fe,2),he=X[0],R=X[1];ge(function(){R(xi())},[]);var q=u.useRef({}),U=u.useContext(zn),$e=u.useMemo(function(){return{registerSubPopup:function(C,Q){q.current[C]=Q,U==null||U.registerSubPopup(C,Q)}}},[U]),Ze=Di(),Je=u.useState(null),Lt=x(Je,2),de=Lt[0],wr=Lt[1],Et=u.useRef(null),Pe=Ge(function(g){Et.current=g,At(g)&&de!==g&&wr(g),U==null||U.registerSubPopup(Ze,g)}),Te=u.useState(null),kt=x(Te,2),Me=kt[0],Sr=kt[1],$t=u.useRef(null),Cr=Ge(function(g){At(g)&&Me!==g&&(Sr(g),$t.current=g)}),Ye=u.Children.only(a),pe=(Ye==null?void 0:Ye.props)||{},He={},Ie=Ge(function(g){var C,Q,te=Me;return(te==null?void 0:te.contains(g))||((C=en(te))===null||C===void 0?void 0:C.host)===g||g===te||(de==null?void 0:de.contains(g))||((Q=en(de))===null||Q===void 0?void 0:Q.host)===g||g===de||Object.values(q.current).some(function(G){return(G==null?void 0:G.contains(g))||g===G})}),ye=Vn(i,Re,ue,K),It=Vn(i,se,oe,ce),zt=u.useState(y||!1),ze=x(zt,2),ee=ze[0],Z=ze[1],J=v??ee,st=Ge(function(g){v===void 0&&Z(g)});ge(function(){Z(v||!1)},[v]);var Be=u.useRef(J);Be.current=J;var Xe=u.useRef([]);Xe.current=[];var wt=Ge(function(g){var C;st(g),((C=Xe.current[Xe.current.length-1])!==null&&C!==void 0?C:J)!==g&&(Xe.current.push(g),m==null||m(g))}),St=u.useRef(),et=function(){clearTimeout(St.current)},Ne=function(C){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;et(),Q===0?wt(C):St.current=setTimeout(function(){wt(C)},Q*1e3)};u.useEffect(function(){return et},[]);var _r=u.useState(!1),Ct=x(_r,2),ct=Ct[0],_t=Ct[1];ge(function(g){(!g||J)&&_t(!0)},[J]);var tt=u.useState(null),rt=x(tt,2),je=rt[0],nt=rt[1],jt=u.useState([0,0]),Rt=x(jt,2),qe=Rt[0],Vt=Rt[1],ft=function(C){Vt([C.clientX,C.clientY])},ot=ia(J,de,ne?qe:Me,F,M,L,_e),me=x(ot,11),Rr=me[0],Wt=me[1],Ft=me[2],it=me[3],Ht=me[4],Pr=me[5],at=me[6],Bt=me[7],Tr=me[8],Le=me[9],Ve=me[10],Pt=ta(he,c,s,d),qt=x(Pt,2),Ue=qt[0],ut=qt[1],Tt=Ue.has("click"),lt=ut.has("click")||ut.has("contextMenu"),We=Ge(function(){ct||Ve()}),Mr=function(){Be.current&&ne&<&&Ne(!1)};aa(J,Me,de,We,Mr),ge(function(){We()},[qe,F]),ge(function(){J&&!(M!=null&&M[F])&&We()},[JSON.stringify(L)]);var Nr=u.useMemo(function(){var g=oa(M,i,Le,ne);return Oe(g,k==null?void 0:k(Le))},[Le,k,M,i,ne]);u.useImperativeHandle(n,function(){return{nativeElement:$t.current,popupElement:Et.current,forceAlign:We}});var Ar=u.useState(0),Ut=x(Ar,2),Or=Ut[0],Dr=Ut[1],xr=u.useState(0),Kt=x(xr,2),Lr=Kt[0],kr=Kt[1],Qt=function(){if(B&&Me){var C=Me.getBoundingClientRect();Dr(C.width),kr(C.height)}},Ee=function(){Qt(),We()},Gt=function(C){_t(!1),Ve(),b==null||b(C)},Zt=function(){return new Promise(function(C){Qt(),nt(function(){return C})})};ge(function(){je&&(Ve(),je(),nt(null))},[je]);function we(g,C,Q,te){He[g]=function(G){var er;te==null||te(G),Ne(C,Q);for(var jr=arguments.length,bn=new Array(jr>1?jr-1:0),tr=1;tr<jr;tr++)bn[tr-1]=arguments[tr];(er=pe[g])===null||er===void 0||er.call.apply(er,[pe,G].concat(bn))}}(Tt||lt)&&(He.onClick=function(g){var C;Be.current&<?Ne(!1):!Be.current&&Tt&&(ft(g),Ne(!0));for(var Q=arguments.length,te=new Array(Q>1?Q-1:0),G=1;G<Q;G++)te[G-1]=arguments[G];(C=pe.onClick)===null||C===void 0||C.call.apply(C,[pe,g].concat(te))}),ua(J,lt,Me,de,p,D,Ie,Ne);var vt=Ue.has("hover"),Jt=ut.has("hover"),dt,Yt;vt&&(we("onMouseEnter",!0,E,function(g){ft(g)}),we("onPointerEnter",!0,E,function(g){ft(g)}),dt=function(C){(J||ct)&&de!==null&&de!==void 0&&de.contains(C.target)&&Ne(!0,E)},ne&&(He.onMouseMove=function(g){var C;(C=pe.onMouseMove)===null||C===void 0||C.call(pe,g)})),Jt&&(we("onMouseLeave",!1,S),we("onPointerLeave",!1,S),Yt=function(){Ne(!1,S)}),Ue.has("focus")&&we("onFocus",!0,N),ut.has("focus")&&we("onBlur",!1,P),Ue.has("contextMenu")&&(He.onContextMenu=function(g){var C;Be.current&&ut.has("contextMenu")?Ne(!1):(ft(g),Ne(!0)),g.preventDefault();for(var Q=arguments.length,te=new Array(Q>1?Q-1:0),G=1;G<Q;G++)te[G-1]=arguments[G];(C=pe.onContextMenu)===null||C===void 0||C.call.apply(C,[pe,g].concat(te))}),De&&(He.className=Oe(pe.className,De));var Mt=w(w({},pe),He),Xt={},$r=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];$r.forEach(function(g){h[g]&&(Xt[g]=function(){for(var C,Q=arguments.length,te=new Array(Q),G=0;G<Q;G++)te[G]=arguments[G];(C=Mt[g])===null||C===void 0||C.call.apply(C,[Mt].concat(te)),h[g].apply(h,te)})});var Ir=u.cloneElement(Ye,w(w({},Mt),Xt)),zr={x:Pr,y:at},To=ve?w({},ve!==!0?ve:{}):null;return u.createElement(u.Fragment,null,u.createElement(pr,{disabled:!J,ref:Cr,onResize:Ee},u.createElement(Po,{getTriggerDOMNode:xe},Ir)),u.createElement(zn.Provider,{value:$e},u.createElement(Ro,{portal:e,ref:Pe,prefixCls:i,popup:$,className:Oe(W,Nr),style:I,target:Me,onMouseEnter:dt,onMouseLeave:Yt,onPointerEnter:dt,zIndex:T,open:J,keepDom:ct,fresh:re,onClick:be,mask:p,motion:ye,maskMotion:It,onVisibleChanged:Gt,onPrepare:Zt,forceRender:V,autoDestroy:ie,getPopupContainer:A,align:Le,arrow:To,arrowPos:zr,ready:Rr,offsetX:Wt,offsetY:Ft,offsetR:it,offsetB:Ht,onAlign:We,stretch:B,targetWidth:Or/Bt,targetHeight:Lr/Tr})))});return process.env.NODE_ENV!=="production"&&(t.displayName="Trigger"),t}const fa=ca(ln);var ht={shiftX:64,adjustY:1},yt={adjustX:1,shiftY:!0},Se=[0,0],la={left:{points:["cr","cl"],overflow:yt,offset:[-4,0],targetOffset:Se},right:{points:["cl","cr"],overflow:yt,offset:[4,0],targetOffset:Se},top:{points:["bc","tc"],overflow:ht,offset:[0,-4],targetOffset:Se},bottom:{points:["tc","bc"],overflow:ht,offset:[0,4],targetOffset:Se},topLeft:{points:["bl","tl"],overflow:ht,offset:[0,-4],targetOffset:Se},leftTop:{points:["tr","tl"],overflow:yt,offset:[-4,0],targetOffset:Se},topRight:{points:["br","tr"],overflow:ht,offset:[0,-4],targetOffset:Se},rightTop:{points:["tl","tr"],overflow:yt,offset:[4,0],targetOffset:Se},bottomRight:{points:["tr","br"],overflow:ht,offset:[0,4],targetOffset:Se},rightBottom:{points:["bl","br"],overflow:yt,offset:[4,0],targetOffset:Se},bottomLeft:{points:["tl","bl"],overflow:ht,offset:[0,4],targetOffset:Se},leftBottom:{points:["br","bl"],overflow:yt,offset:[-4,0],targetOffset:Se}},va=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],da=function(t,r){var n=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,a=t.mouseEnterDelay,l=a===void 0?0:a,c=t.mouseLeaveDelay,s=c===void 0?.1:c,d=t.overlayStyle,v=t.prefixCls,y=v===void 0?"rc-tooltip":v,m=t.children,b=t.onVisibleChange,E=t.afterVisibleChange,f=t.transitionName,S=t.animation,N=t.motion,P=t.placement,p=P===void 0?"right":P,_=t.align,D=_===void 0?{}:_,A=t.destroyTooltipOnHide,V=A===void 0?!1:A,Y=t.defaultVisible,H=t.getTooltipContainer,$=t.overlayInnerStyle;t.arrowContent;var W=t.overlay,I=t.id,F=t.showArrow,O=F===void 0?!0:F,M=t.classNames,L=t.styles,T=cr(t,va),B=ae.useRef(null);ae.useImperativeHandle(r,function(){return B.current});var k=w({},T);"visible"in t&&(k.popupVisible=t.visible);var re=function(){return u.createElement(Ao,{key:"content",prefixCls:y,id:I,bodyClassName:M==null?void 0:M.body,overlayInnerStyle:w(w({},$),L==null?void 0:L.body)},W)};return u.createElement(fa,Dt._extends({popupClassName:Oe(n,M==null?void 0:M.root),prefixCls:y,popup:re,action:i,builtinPlacements:la,popupPlacement:p,ref:B,popupAlign:D,getPopupContainer:H,onPopupVisibleChange:b,afterPopupVisibleChange:E,popupTransitionName:f,popupAnimation:S,popupMotion:N,defaultPopupVisible:Y,autoDestroy:V,mouseLeaveDelay:s,popupStyle:w(w({},d),L==null?void 0:L.root),mouseEnterDelay:l,arrow:O},k),m)};const ma=ae.forwardRef(da),ha="DEPRECATED_Tooltip-module__breakLongWord___kWwu0",ya="DEPRECATED_Tooltip-module__rcToolTipZoomIn___0ddOq",ga="DEPRECATED_Tooltip-module__rcToolTipZoomOut___kpbOG",Fr={breakLongWord:ha,rcToolTipZoomIn:ya,rcToolTipZoomOut:ga},ba=e=>{const{breakingLongWord:t,hideArrow:r=!1,overlayClassName:n,overlay:o,imgOverlay:i=!1,semanticText:a,...l}=e,c=Oe(n,"slf-default",Mo.styleguideConstants.SISENSE_NAMESPACE,{"hide-arrow":r,[Fr.breakLongWord]:t,[Fr.semanticText]:a,[Fr.semanticText]:a}),s=()=>typeof o=="string"?i?Vr.jsx("img",{src:o}):Vr.jsx("div",{dangerouslySetInnerHTML:{__html:o}}):o;return Vr.jsx(ma,{destroyTooltipOnHide:!0,overlay:s(),...l,overlayClassName:c})};exports.DEPRECATED_Tooltip=ba;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),C=require("react"),S=require("classnames"),M=require("./Popover-Bp5g_ws9.cjs"),j=require("./Menu-BfAQOpHl.cjs"),O=require("./styleguideConstants-CtXkvIZK.cjs"),V=require("./Input-Cd6a2FUC.cjs"),x=require("./DEPRECATED_Icon-iUszZb09.cjs"),F=136,$="DropdownButtonSearch-module__searchInputWrapper___zKFuM",z={searchInputWrapper:$},y=()=>{},L=C.forwardRef(({width:s=F,onClick:o=y,inputProps:n={onChange:y},className:e=""},a)=>{const l=S(e||z.searchInputWrapper),r={width:s};return t.jsx("div",{ref:a,style:r,className:l,"data-testid":"search_input_container",children:t.jsx(V.Input,{onClicked:o,...n})})}),U="#2c3342",G="#f4f4f8",J="#dee1e7",K="#fff",Q="DropdownButton-module__dropdownButton___oc3-H",X="DropdownButton-module__inlineVariant___WSkxA",Y="DropdownButton-module__open___bh-yG",Z="DropdownButton-module__disabled___I9nuu",I="DropdownButton-module__selectedIcon___hIp5j",P="DropdownButton-module__chosenTitle___AgQJR",nn="DropdownButton-module__clickIcon___U2low",p={loginDarkColor:U,darkBtnHoverColor:G,greyHoverColor:J,defaultBackgroundColor:K,dropdownButton:Q,inlineVariant:X,open:Y,disabled:Z,selectedIcon:I,chosenTitle:P,clickIcon:nn},on=({selectedItem:s,width:o,dropDownButtonClasses:n,selectedShowIcon:e=!0,placeholder:a=""})=>{const{caption:l,iconName:r}=s||{},u=o?{width:o,minWidth:"inherit"}:{};return t.jsxs("div",{className:n,title:l,style:u,children:[e&&r&&t.jsx(x.DEPRECATED_Icon,{className:p.selectedIcon,name:r}),t.jsx("div",{className:p.chosenTitle,children:l||a}),t.jsx("div",{className:p.clickIcon,children:t.jsx(x.DEPRECATED_Icon,{name:"general-arrow-down"})})]})},en=(s,o,n,e)=>{const[a,l]=C.useState({...n,value:o==null?void 0:o.caption}),r=c=>{c.stopPropagation()},u=c=>{n==null||n.onChange(c),l({...n,value:c})},d=C.useCallback(()=>{var _;const c=(_=e==null?void 0:e.current)==null?void 0:_.getElementsByTagName("input")[0];c==null||c.select()},[e]);return C.useEffect(()=>{s?(l({...n,value:o==null?void 0:o.caption}),d()):n==null||n.onChange("")},[s,n,o==null?void 0:o.caption,d]),C.useEffect(()=>{s&&a.value!==(n==null?void 0:n.value)&&d()},[a.value,s,n==null?void 0:n.value,d]),{handlers:{handleOnSearchInputClick:r,handleOnSearchInputChange:u},inputProps:a}},tn=({items:s=[],selectedShowIcon:o=!0,placeholder:n="",disabled:e,selectedItemId:a,width:l,inlineVariant:r,classNameDropdown:u,classNameButton:d,classNameSearch:D,searchInputProps:c,isOpen:_=!1})=>{const w=s.find(m=>m.id===a),f=C.useRef(null),{inputProps:g,handlers:{handleOnSearchInputClick:h,handleOnSearchInputChange:v}}=en(_,w,c,f),B=S(d,p.dropdownButton,{[p.disabled]:e,[p.open]:_,[p.inlineVariant]:r},u);return t.jsx(t.Fragment,{children:c&&_&&!e?t.jsx(L,{ref:f,width:l,onClick:h,inputProps:{...g,onChange:v},className:D}):t.jsx(on,{selectedItem:w,width:l,placeholder:n,selectedShowIcon:o,dropDownButtonClasses:B})})},ln=(s,o,n)=>{const[e,a]=C.useState(o),l=()=>{n||a(!e)};return{handlers:{handleOnSelectItem:d=>{s(d),l()},handleDropdownClick:l},isOpen:e}},sn="Dropdown-module__menu___u8qzp",cn={menu:sn},an=()=>{},rn=C.forwardRef(({bubblePopoverMouseEvents:s=!1,items:o=[],onSelectItem:n=an,popoverOverlayLevel:e=0,selectedShowIcon:a=!0,mask:l=!0,placeholder:r="",placement:u="bottomLeft",disabled:d=!1,selectedItemId:D,width:c,scrollbarProps:_,classNameMenu:w,inlineVariant:f,classNameDropdown:g,classNameButton:h,classNameSearch:v,classNameTooltip:B,zIndex:m,searchInputProps:N,open:b=!1,isLoading:T=!1},R)=>{const q=f?12:0,A=o.map(i=>({id:i.id,caption:i.caption||i.id,type:j.itemTypes.ITEM,iconName:i.iconName,iconClass:i.iconClass,selected:i.id===D,tooltip:i.tooltip,disabled:i.disabled})),{isOpen:k,handlers:{handleOnSelectItem:H,handleDropdownClick:E}}=ln(n,b,d),W=()=>{const i=S(cn.menu,O.styleguideConstants.SISENSE_NAMESPACE,w);return t.jsx(j.Menu,{items:A,onItemSelected:H,className:i,width:c,scrollbarProps:_,isLoading:T,classNameTooltip:B})};return t.jsx("div",{ref:R,"data-testid":"popover_container",children:t.jsx(M.Popover,{zIndex:m,bubbleMouseEvents:s,trigger:["click"],visible:k,placement:u,overlay:W,level:e,onVisibleChange:E,onRequestClose:E,align:{offset:[0,q]},mask:l,children:t.jsx("div",{children:t.jsx(tn,{isOpen:k,items:o,selectedShowIcon:a,placeholder:r,width:c,disabled:d,classNameButton:h,classNameDropdown:g,classNameSearch:v,inlineVariant:f,searchInputProps:N,selectedItemId:D})})})})});exports.Dropdown=rn;
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { jsx as c, jsxs as x, Fragment as j } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as E, useState as T, useCallback as F, useEffect as y, useRef as $ } from "react";
|
|
3
|
+
import v from "classnames";
|
|
4
|
+
import { P as q } from "./Popover-0n4kd3ut.js";
|
|
5
|
+
import { i as z, a as L } from "./Menu-C5wQnuq6.js";
|
|
6
|
+
import { s as U } from "./styleguideConstants-D4Yls16w.js";
|
|
7
|
+
import { I as G } from "./Input-BghWSV2Z.js";
|
|
8
|
+
import { D as N } from "./DEPRECATED_Icon-BQ4AqiI1.js";
|
|
9
|
+
const J = 136, K = "DropdownButtonSearch-module__searchInputWrapper___zKFuM", Q = {
|
|
10
|
+
searchInputWrapper: K
|
|
11
|
+
}, b = () => {
|
|
12
|
+
}, X = E(
|
|
13
|
+
({
|
|
14
|
+
width: l = J,
|
|
15
|
+
onClick: n = b,
|
|
16
|
+
inputProps: o = { onChange: b },
|
|
17
|
+
className: t = ""
|
|
18
|
+
}, s) => {
|
|
19
|
+
const e = v(t || Q.searchInputWrapper);
|
|
20
|
+
return /* @__PURE__ */ c(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
ref: s,
|
|
24
|
+
style: { width: l },
|
|
25
|
+
className: e,
|
|
26
|
+
"data-testid": "search_input_container",
|
|
27
|
+
children: /* @__PURE__ */ c(G, { onClicked: n, ...o })
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
), Y = "#2c3342", Z = "#f4f4f8", I = "#dee1e7", P = "#fff", oo = "DropdownButton-module__dropdownButton___oc3-H", no = "DropdownButton-module__inlineVariant___WSkxA", to = "DropdownButton-module__open___bh-yG", eo = "DropdownButton-module__disabled___I9nuu", lo = "DropdownButton-module__selectedIcon___hIp5j", ao = "DropdownButton-module__chosenTitle___AgQJR", co = "DropdownButton-module__clickIcon___U2low", p = {
|
|
32
|
+
loginDarkColor: Y,
|
|
33
|
+
darkBtnHoverColor: Z,
|
|
34
|
+
greyHoverColor: I,
|
|
35
|
+
defaultBackgroundColor: P,
|
|
36
|
+
dropdownButton: oo,
|
|
37
|
+
inlineVariant: no,
|
|
38
|
+
open: to,
|
|
39
|
+
disabled: eo,
|
|
40
|
+
selectedIcon: lo,
|
|
41
|
+
chosenTitle: ao,
|
|
42
|
+
clickIcon: co
|
|
43
|
+
}, so = ({
|
|
44
|
+
selectedItem: l,
|
|
45
|
+
width: n,
|
|
46
|
+
dropDownButtonClasses: o,
|
|
47
|
+
selectedShowIcon: t = !0,
|
|
48
|
+
placeholder: s = ""
|
|
49
|
+
}) => {
|
|
50
|
+
const { caption: e, iconName: d } = l || {};
|
|
51
|
+
return /* @__PURE__ */ x("div", { className: o, title: e, style: n ? { width: n, minWidth: "inherit" } : {}, children: [
|
|
52
|
+
t && d && /* @__PURE__ */ c(N, { className: p.selectedIcon, name: d }),
|
|
53
|
+
/* @__PURE__ */ c("div", { className: p.chosenTitle, children: e || s }),
|
|
54
|
+
/* @__PURE__ */ c("div", { className: p.clickIcon, children: /* @__PURE__ */ c(N, { name: "general-arrow-down" }) })
|
|
55
|
+
] });
|
|
56
|
+
}, ro = (l, n, o, t) => {
|
|
57
|
+
const [s, e] = T({
|
|
58
|
+
...o,
|
|
59
|
+
value: n == null ? void 0 : n.caption
|
|
60
|
+
}), d = (a) => {
|
|
61
|
+
a.stopPropagation();
|
|
62
|
+
}, _ = (a) => {
|
|
63
|
+
o == null || o.onChange(a), e({ ...o, value: a });
|
|
64
|
+
}, r = F(() => {
|
|
65
|
+
var u;
|
|
66
|
+
const a = (u = t == null ? void 0 : t.current) == null ? void 0 : u.getElementsByTagName("input")[0];
|
|
67
|
+
a == null || a.select();
|
|
68
|
+
}, [t]);
|
|
69
|
+
return y(() => {
|
|
70
|
+
l ? (e({ ...o, value: n == null ? void 0 : n.caption }), r()) : o == null || o.onChange("");
|
|
71
|
+
}, [l, o, n == null ? void 0 : n.caption, r]), y(() => {
|
|
72
|
+
l && s.value !== (o == null ? void 0 : o.value) && r();
|
|
73
|
+
}, [s.value, l, o == null ? void 0 : o.value, r]), { handlers: {
|
|
74
|
+
handleOnSearchInputClick: d,
|
|
75
|
+
handleOnSearchInputChange: _
|
|
76
|
+
}, inputProps: s };
|
|
77
|
+
}, io = ({
|
|
78
|
+
items: l = [],
|
|
79
|
+
selectedShowIcon: n = !0,
|
|
80
|
+
placeholder: o = "",
|
|
81
|
+
disabled: t,
|
|
82
|
+
selectedItemId: s,
|
|
83
|
+
width: e,
|
|
84
|
+
inlineVariant: d,
|
|
85
|
+
classNameDropdown: _,
|
|
86
|
+
classNameButton: r,
|
|
87
|
+
classNameSearch: m,
|
|
88
|
+
searchInputProps: a,
|
|
89
|
+
isOpen: u = !1
|
|
90
|
+
}) => {
|
|
91
|
+
const f = l.find((B) => B.id === s), C = $(null), {
|
|
92
|
+
inputProps: D,
|
|
93
|
+
handlers: { handleOnSearchInputClick: w, handleOnSearchInputChange: h }
|
|
94
|
+
} = ro(u, f, a, C), g = v(
|
|
95
|
+
r,
|
|
96
|
+
p.dropdownButton,
|
|
97
|
+
{
|
|
98
|
+
[p.disabled]: t,
|
|
99
|
+
[p.open]: u,
|
|
100
|
+
[p.inlineVariant]: d
|
|
101
|
+
},
|
|
102
|
+
_
|
|
103
|
+
);
|
|
104
|
+
return /* @__PURE__ */ c(j, { children: a && u && !t ? /* @__PURE__ */ c(
|
|
105
|
+
X,
|
|
106
|
+
{
|
|
107
|
+
ref: C,
|
|
108
|
+
width: e,
|
|
109
|
+
onClick: w,
|
|
110
|
+
inputProps: { ...D, onChange: h },
|
|
111
|
+
className: m
|
|
112
|
+
}
|
|
113
|
+
) : /* @__PURE__ */ c(
|
|
114
|
+
so,
|
|
115
|
+
{
|
|
116
|
+
selectedItem: f,
|
|
117
|
+
width: e,
|
|
118
|
+
placeholder: o,
|
|
119
|
+
selectedShowIcon: n,
|
|
120
|
+
dropDownButtonClasses: g
|
|
121
|
+
}
|
|
122
|
+
) });
|
|
123
|
+
}, uo = (l, n, o) => {
|
|
124
|
+
const [t, s] = T(n), e = () => {
|
|
125
|
+
o || s(!t);
|
|
126
|
+
};
|
|
127
|
+
return { handlers: {
|
|
128
|
+
handleOnSelectItem: (r) => {
|
|
129
|
+
l(r), e();
|
|
130
|
+
},
|
|
131
|
+
handleDropdownClick: e
|
|
132
|
+
}, isOpen: t };
|
|
133
|
+
}, _o = "Dropdown-module__menu___u8qzp", po = {
|
|
134
|
+
menu: _o
|
|
135
|
+
}, mo = () => {
|
|
136
|
+
}, So = E(
|
|
137
|
+
({
|
|
138
|
+
bubblePopoverMouseEvents: l = !1,
|
|
139
|
+
items: n = [],
|
|
140
|
+
onSelectItem: o = mo,
|
|
141
|
+
popoverOverlayLevel: t = 0,
|
|
142
|
+
selectedShowIcon: s = !0,
|
|
143
|
+
mask: e = !0,
|
|
144
|
+
placeholder: d = "",
|
|
145
|
+
placement: _ = "bottomLeft",
|
|
146
|
+
disabled: r = !1,
|
|
147
|
+
selectedItemId: m,
|
|
148
|
+
width: a,
|
|
149
|
+
scrollbarProps: u,
|
|
150
|
+
classNameMenu: f,
|
|
151
|
+
inlineVariant: C,
|
|
152
|
+
classNameDropdown: D,
|
|
153
|
+
classNameButton: w,
|
|
154
|
+
classNameSearch: h,
|
|
155
|
+
classNameTooltip: g,
|
|
156
|
+
zIndex: B,
|
|
157
|
+
searchInputProps: A,
|
|
158
|
+
open: H = !1,
|
|
159
|
+
isLoading: W = !1
|
|
160
|
+
}, O) => {
|
|
161
|
+
const R = C ? 12 : 0, V = n.map((i) => ({
|
|
162
|
+
id: i.id,
|
|
163
|
+
caption: i.caption || i.id,
|
|
164
|
+
type: z.ITEM,
|
|
165
|
+
iconName: i.iconName,
|
|
166
|
+
iconClass: i.iconClass,
|
|
167
|
+
selected: i.id === m,
|
|
168
|
+
tooltip: i.tooltip,
|
|
169
|
+
disabled: i.disabled
|
|
170
|
+
})), {
|
|
171
|
+
isOpen: k,
|
|
172
|
+
handlers: { handleOnSelectItem: M, handleDropdownClick: S }
|
|
173
|
+
} = uo(o, H, r);
|
|
174
|
+
return /* @__PURE__ */ c("div", { ref: O, "data-testid": "popover_container", children: /* @__PURE__ */ c(
|
|
175
|
+
q,
|
|
176
|
+
{
|
|
177
|
+
zIndex: B,
|
|
178
|
+
bubbleMouseEvents: l,
|
|
179
|
+
trigger: ["click"],
|
|
180
|
+
visible: k,
|
|
181
|
+
placement: _,
|
|
182
|
+
overlay: () => {
|
|
183
|
+
const i = v(
|
|
184
|
+
po.menu,
|
|
185
|
+
// SLF.BACK,
|
|
186
|
+
// SLF.TEXT_PRIMARY,
|
|
187
|
+
U.SISENSE_NAMESPACE,
|
|
188
|
+
f
|
|
189
|
+
);
|
|
190
|
+
return /* @__PURE__ */ c(
|
|
191
|
+
L,
|
|
192
|
+
{
|
|
193
|
+
items: V,
|
|
194
|
+
onItemSelected: M,
|
|
195
|
+
className: i,
|
|
196
|
+
width: a,
|
|
197
|
+
scrollbarProps: u,
|
|
198
|
+
isLoading: W,
|
|
199
|
+
classNameTooltip: g
|
|
200
|
+
}
|
|
201
|
+
);
|
|
202
|
+
},
|
|
203
|
+
level: t,
|
|
204
|
+
onVisibleChange: S,
|
|
205
|
+
onRequestClose: S,
|
|
206
|
+
align: { offset: [0, R] },
|
|
207
|
+
mask: e,
|
|
208
|
+
children: /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(
|
|
209
|
+
io,
|
|
210
|
+
{
|
|
211
|
+
isOpen: k,
|
|
212
|
+
items: n,
|
|
213
|
+
selectedShowIcon: s,
|
|
214
|
+
placeholder: d,
|
|
215
|
+
width: a,
|
|
216
|
+
disabled: r,
|
|
217
|
+
classNameButton: w,
|
|
218
|
+
classNameDropdown: D,
|
|
219
|
+
classNameSearch: h,
|
|
220
|
+
inlineVariant: C,
|
|
221
|
+
searchInputProps: A,
|
|
222
|
+
selectedItemId: m
|
|
223
|
+
}
|
|
224
|
+
) })
|
|
225
|
+
}
|
|
226
|
+
) });
|
|
227
|
+
}
|
|
228
|
+
);
|
|
229
|
+
export {
|
|
230
|
+
So as D
|
|
231
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),d=require("react"),s=require("./ThemeProvider-BjBWRt7C.cjs"),i=require("classnames"),x=require("./lib/themes/themes.cjs"),h=require("./SvgIcon-Dg-EBYZz.cjs"),m=s.createTheme$1({components:{MuiIcon:{styleOverrides:{root:{color:`${x.siColors.StPrimaryColors.primary}`,top:0}}},MuiSvgIcon:{}}}),j=e=>{const{name:r,sx:a}=e,o=i("app-icon__svg");return l.jsxs(h.SvgIcon,{classes:{root:o},sx:a,inheritViewBox:!0,children:[l.jsx("use",{xlinkHref:`#${r}`}),l.jsx("symbol",{id:"general-arrow-big-down",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M7.589 10L7 10.777 11.99 15 17 10.777 16.413 10l-4.422 3.727z"})}),l.jsx("symbol",{id:"general-arrow-left",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M13.878 9.325a.5.5 0 1 0-.76-.65l-2.998 3.5a.5.5 0 0 0 0 .65l2.999 3.5a.5.5 0 1 0 .76-.65l-2.72-3.175 2.72-3.175z"})}),l.jsx("symbol",{id:"general-arrow-long-right",viewBox:"0 0 29 8",children:l.jsx("path",{d:"M28.354 4.354a.5.5 0 0 0 0-.708L25.172.464a.5.5 0 1 0-.707.708L27.293 4l-2.828 2.828a.5.5 0 1 0 .707.708l3.182-3.182zM0 4.5h28v-1H0v1z",fill:"#3A4356"})}),l.jsx("symbol",{id:"general-arrow-right",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M13.34 12.5l-2.72-3.175a.5.5 0 1 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175z"})}),l.jsx("symbol",{id:"general-arrow-up",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 10.16l-3.174 2.719a.5.5 0 0 1-.65-.76l3.5-2.998a.5.5 0 0 1 .65 0l3.5 2.998a.5.5 0 1 1-.65.76L12 10.159z"})}),l.jsx("symbol",{id:"general-arrow-up-down",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M15.646 14.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L12 18.293l3.646-3.647zm0-5.292L12 5.707 8.354 9.354a.5.5 0 1 1-.708-.708l4-4a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708z"})}),l.jsx("symbol",{id:"general-double-arrow-back",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M9.658 12.5l2.72 3.175a.5.5 0 1 1-.76.65l-2.998-3.5a.5.5 0 0 1 0-.65l2.999-3.5a.5.5 0 1 1 .76.65L9.658 12.5zm5.719-3.175l-2.72 3.175 2.72 3.175a.5.5 0 1 1-.76.65l-2.998-3.5a.5.5 0 0 1 0-.65l2.998-3.5a.5.5 0 1 1 .76.65z"})}),l.jsx("symbol",{id:"general-double-arrow-front",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M11.34 12.5L8.62 9.325a.5.5 0 0 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175zm.279-3.175a.5.5 0 0 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.999 3.5a.5.5 0 1 1-.76-.65l2.72-3.175-2.72-3.175z"})}),l.jsx("symbol",{id:"general-double-big-arrow-back",viewBox:"0 0 31 31",children:l.jsxs("g",{fill:"currentColor",children:[l.jsx("path",{d:"M16 11.825l-3.842 4.297 3.662 4.087a.5.5 0 1 1-.76.65l-3.94-4.412a.5.5 0 0 1 0-.65l4.12-4.622a.5.5 0 1 1 .76.65zm5 0l-3.842 4.297 3.662 4.087a.5.5 0 1 1-.76.65l-3.94-4.412a.5.5 0 0 1 0-.65l4.12-4.622a.5.5 0 1 1 .76.65z"}),l.jsx("path",{d:"M10 11.5a.5.5 0 0 1 1 0v9a.5.5 0 0 1-1 0v-9z"})]})}),l.jsx("symbol",{id:"general-double-big-arrow-front",viewBox:"0 0 31 31",children:l.jsxs("g",{fill:"currentColor",children:[l.jsx("path",{d:"M15 20.175l3.842-4.297-3.662-4.087a.5.5 0 1 1 .76-.65l3.94 4.412a.5.5 0 0 1 0 .65l-4.12 4.622a.5.5 0 1 1-.76-.65zm-5 0l3.842-4.297-3.662-4.087a.5.5 0 1 1 .76-.65l3.94 4.412a.5.5 0 0 1 0 .65l-4.12 4.622a.5.5 0 1 1-.76-.65z"}),l.jsx("path",{d:"M21 20.5a.5.5 0 0 1-1 0v-9a.5.5 0 0 1 1 0v9z"})]})}),l.jsx("symbol",{id:"general-x",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"})}),l.jsx("symbol",{id:"header-doc",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M14 5.562V10h3.698L14 5.562zM18 11h-5V5H7a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-8zm1-1v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h7l5 6zm-7 5.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 15.841z"})}),l.jsx("symbol",{id:"general-arrow-down",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 13.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 13.841z"})}),l.jsx("symbol",{id:"general-plus",viewBox:"0 0 24 24",children:l.jsx("path",{fill:"currentColor",d:"M12 12V7.5a.5.5 0 1 0-1 0V12H6.5a.5.5 0 1 0 0 1H11v4.5a.5.5 0 1 0 1 0V13h4.5a.5.5 0 1 0 0-1H12z"})})]})},u=d.forwardRef((e,r)=>{const{dataTestId:a,name:o,className:n}=e,t=l.jsx(j,{...e}),c=i("app-icon",`app-icon--${o}`,n);return l.jsx(s.ThemeProvider,{theme:m,children:l.jsx("span",{"data-testid":a,...e,ref:r,className:c,children:t})})});exports.Icon=u;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as s } from "react";
|
|
3
|
+
import { a as h, T as m } from "./ThemeProvider-BCsnqK18.js";
|
|
4
|
+
import n from "classnames";
|
|
5
|
+
import { siColors as p } from "./lib/themes/themes.js";
|
|
6
|
+
import { S as v } from "./SvgIcon-DsAvI5iY.js";
|
|
7
|
+
const w = h({
|
|
8
|
+
components: {
|
|
9
|
+
MuiIcon: {
|
|
10
|
+
styleOverrides: {
|
|
11
|
+
root: {
|
|
12
|
+
color: `${p.StPrimaryColors.primary}`,
|
|
13
|
+
top: 0
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
MuiSvgIcon: {
|
|
18
|
+
// styleOverrides: {
|
|
19
|
+
// root: {
|
|
20
|
+
// fill: utils.makeASlightlyDifferentColor(
|
|
21
|
+
// themeService.getDesignSettings().typography.primaryTextColor,
|
|
22
|
+
// 0.9,
|
|
23
|
+
// ),
|
|
24
|
+
// },
|
|
25
|
+
// },
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}), u = (a) => {
|
|
29
|
+
const { name: r, sx: o } = a, e = n("app-icon__svg");
|
|
30
|
+
return /* @__PURE__ */ i(v, { classes: { root: e }, sx: o, inheritViewBox: !0, children: [
|
|
31
|
+
/* @__PURE__ */ l("use", { xlinkHref: `#${r}` }),
|
|
32
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-big-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
33
|
+
"path",
|
|
34
|
+
{
|
|
35
|
+
fill: "currentColor",
|
|
36
|
+
d: "M7.589 10L7 10.777 11.99 15 17 10.777 16.413 10l-4.422 3.727z"
|
|
37
|
+
}
|
|
38
|
+
) }),
|
|
39
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-left", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
40
|
+
"path",
|
|
41
|
+
{
|
|
42
|
+
fill: "currentColor",
|
|
43
|
+
d: "M13.878 9.325a.5.5 0 1 0-.76-.65l-2.998 3.5a.5.5 0 0 0 0 .65l2.999 3.5a.5.5 0 1 0 .76-.65l-2.72-3.175 2.72-3.175z"
|
|
44
|
+
}
|
|
45
|
+
) }),
|
|
46
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-long-right", viewBox: "0 0 29 8", children: /* @__PURE__ */ l(
|
|
47
|
+
"path",
|
|
48
|
+
{
|
|
49
|
+
d: "M28.354 4.354a.5.5 0 0 0 0-.708L25.172.464a.5.5 0 1 0-.707.708L27.293 4l-2.828 2.828a.5.5 0 1 0 .707.708l3.182-3.182zM0 4.5h28v-1H0v1z",
|
|
50
|
+
fill: "#3A4356"
|
|
51
|
+
}
|
|
52
|
+
) }),
|
|
53
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-right", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
54
|
+
"path",
|
|
55
|
+
{
|
|
56
|
+
fill: "currentColor",
|
|
57
|
+
d: "M13.34 12.5l-2.72-3.175a.5.5 0 1 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175z"
|
|
58
|
+
}
|
|
59
|
+
) }),
|
|
60
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-up", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
61
|
+
"path",
|
|
62
|
+
{
|
|
63
|
+
fill: "currentColor",
|
|
64
|
+
d: "M12 10.16l-3.174 2.719a.5.5 0 0 1-.65-.76l3.5-2.998a.5.5 0 0 1 .65 0l3.5 2.998a.5.5 0 1 1-.65.76L12 10.159z"
|
|
65
|
+
}
|
|
66
|
+
) }),
|
|
67
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-up-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
68
|
+
"path",
|
|
69
|
+
{
|
|
70
|
+
fill: "currentColor",
|
|
71
|
+
d: "M15.646 14.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L12 18.293l3.646-3.647zm0-5.292L12 5.707 8.354 9.354a.5.5 0 1 1-.708-.708l4-4a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708z"
|
|
72
|
+
}
|
|
73
|
+
) }),
|
|
74
|
+
/* @__PURE__ */ l("symbol", { id: "general-double-arrow-back", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
75
|
+
"path",
|
|
76
|
+
{
|
|
77
|
+
fill: "currentColor",
|
|
78
|
+
d: "M9.658 12.5l2.72 3.175a.5.5 0 1 1-.76.65l-2.998-3.5a.5.5 0 0 1 0-.65l2.999-3.5a.5.5 0 1 1 .76.65L9.658 12.5zm5.719-3.175l-2.72 3.175 2.72 3.175a.5.5 0 1 1-.76.65l-2.998-3.5a.5.5 0 0 1 0-.65l2.998-3.5a.5.5 0 1 1 .76.65z"
|
|
79
|
+
}
|
|
80
|
+
) }),
|
|
81
|
+
/* @__PURE__ */ l("symbol", { id: "general-double-arrow-front", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
82
|
+
"path",
|
|
83
|
+
{
|
|
84
|
+
fill: "currentColor",
|
|
85
|
+
d: "M11.34 12.5L8.62 9.325a.5.5 0 0 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175zm.279-3.175a.5.5 0 0 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.999 3.5a.5.5 0 1 1-.76-.65l2.72-3.175-2.72-3.175z"
|
|
86
|
+
}
|
|
87
|
+
) }),
|
|
88
|
+
/* @__PURE__ */ l("symbol", { id: "general-double-big-arrow-back", viewBox: "0 0 31 31", children: /* @__PURE__ */ i("g", { fill: "currentColor", children: [
|
|
89
|
+
/* @__PURE__ */ l("path", { d: "M16 11.825l-3.842 4.297 3.662 4.087a.5.5 0 1 1-.76.65l-3.94-4.412a.5.5 0 0 1 0-.65l4.12-4.622a.5.5 0 1 1 .76.65zm5 0l-3.842 4.297 3.662 4.087a.5.5 0 1 1-.76.65l-3.94-4.412a.5.5 0 0 1 0-.65l4.12-4.622a.5.5 0 1 1 .76.65z" }),
|
|
90
|
+
/* @__PURE__ */ l("path", { d: "M10 11.5a.5.5 0 0 1 1 0v9a.5.5 0 0 1-1 0v-9z" })
|
|
91
|
+
] }) }),
|
|
92
|
+
/* @__PURE__ */ l("symbol", { id: "general-double-big-arrow-front", viewBox: "0 0 31 31", children: /* @__PURE__ */ i("g", { fill: "currentColor", children: [
|
|
93
|
+
/* @__PURE__ */ l("path", { d: "M15 20.175l3.842-4.297-3.662-4.087a.5.5 0 1 1 .76-.65l3.94 4.412a.5.5 0 0 1 0 .65l-4.12 4.622a.5.5 0 1 1-.76-.65zm-5 0l3.842-4.297-3.662-4.087a.5.5 0 1 1 .76-.65l3.94 4.412a.5.5 0 0 1 0 .65l-4.12 4.622a.5.5 0 1 1-.76-.65z" }),
|
|
94
|
+
/* @__PURE__ */ l("path", { d: "M21 20.5a.5.5 0 0 1-1 0v-9a.5.5 0 0 1 1 0v9z" })
|
|
95
|
+
] }) }),
|
|
96
|
+
/* @__PURE__ */ l("symbol", { id: "general-x", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
97
|
+
"path",
|
|
98
|
+
{
|
|
99
|
+
fill: "currentColor",
|
|
100
|
+
d: "M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"
|
|
101
|
+
}
|
|
102
|
+
) }),
|
|
103
|
+
/* @__PURE__ */ l("symbol", { id: "header-doc", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
104
|
+
"path",
|
|
105
|
+
{
|
|
106
|
+
fill: "currentColor",
|
|
107
|
+
d: "M14 5.562V10h3.698L14 5.562zM18 11h-5V5H7a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-8zm1-1v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h7l5 6zm-7 5.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 15.841z"
|
|
108
|
+
}
|
|
109
|
+
) }),
|
|
110
|
+
/* @__PURE__ */ l("symbol", { id: "general-arrow-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
111
|
+
"path",
|
|
112
|
+
{
|
|
113
|
+
fill: "currentColor",
|
|
114
|
+
d: "M12 13.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 13.841z"
|
|
115
|
+
}
|
|
116
|
+
) }),
|
|
117
|
+
/* @__PURE__ */ l("symbol", { id: "general-plus", viewBox: "0 0 24 24", children: /* @__PURE__ */ l(
|
|
118
|
+
"path",
|
|
119
|
+
{
|
|
120
|
+
fill: "currentColor",
|
|
121
|
+
d: "M12 12V7.5a.5.5 0 1 0-1 0V12H6.5a.5.5 0 1 0 0 1H11v4.5a.5.5 0 1 0 1 0V13h4.5a.5.5 0 1 0 0-1H12z"
|
|
122
|
+
}
|
|
123
|
+
) })
|
|
124
|
+
] });
|
|
125
|
+
}, C = s((a, r) => {
|
|
126
|
+
const { dataTestId: o, name: e, className: t } = a, d = /* @__PURE__ */ l(u, { ...a }), c = n("app-icon", `app-icon--${e}`, t);
|
|
127
|
+
return /* @__PURE__ */ l(m, { theme: w, children: /* @__PURE__ */ l("span", { "data-testid": o, ...a, ref: r, className: c, children: d }) });
|
|
128
|
+
});
|
|
129
|
+
export {
|
|
130
|
+
C as I
|
|
131
|
+
};
|