@sisense/sdk-shared-ui 2.1.1 → 2.3.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-B-OHBus7.cjs +3 -0
- package/dist/{Breadcrumbs-qJmt9n6B.js → Breadcrumbs-DrCp8avo.js} +12 -13
- package/dist/Button-CvkAcTyS.cjs +1 -0
- package/dist/{Button-Y7DwfxdO.js → Button-cvim-8Bz.js} +345 -165
- package/dist/{ButtonBase-UWHDpyst.js → ButtonBase-4TqAVSBf.js} +166 -164
- package/dist/ButtonBase-hZEG-21k.cjs +74 -0
- package/dist/Checkbox-BbF4jutm.cjs +1 -0
- package/dist/{Checkbox-BNkk6YDz.js → Checkbox-aMi60WQj.js} +249 -171
- package/dist/CircularProgress-B3FkrcM6.js +249 -0
- package/dist/CircularProgress-BWqRJiR-.cjs +28 -0
- package/dist/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
- package/dist/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
- package/dist/{Dropdown-D8rLKKcl.cjs → Dropdown-B6uSaA3z.cjs} +1 -1
- package/dist/{Dropdown-DtWYpFk8.js → Dropdown-BzcjbX6k.js} +2 -2
- package/dist/{Icon-KwS2TWVq.cjs → Icon-DFhY5sRf.cjs} +1 -1
- package/dist/{Icon-JQpFT2bY.js → Icon-DVO7Byvy.js} +2 -2
- package/dist/{Menu-DkPO8bCf.cjs → Menu-CgLII61r.cjs} +1 -1
- package/dist/{Menu-EXiwd8T_.js → Menu-DqvdoiKn.js} +2 -2
- package/dist/{Popover-BjgDIgO7.cjs → Popover-DHy8NRMc.cjs} +1 -1
- package/dist/{Popover-CiYeL2VE.js → Popover-KR_Rc69g.js} +1 -1
- package/dist/Portal-B6TDsfBi.cjs +1 -0
- package/dist/{Portal-DUw3q8Mq.js → Portal-C6RJkJ6n.js} +253 -318
- package/dist/{SvgIcon-DXzFs5aw.cjs → SvgIcon-CjUZ_jwt.cjs} +1 -1
- package/dist/{SvgIcon-5KhsYNcu.js → SvgIcon-a_07YA77.js} +7 -7
- package/dist/TablePagination-CNwjJIdB.cjs +15 -0
- package/dist/{TablePagination-CgaKWA2r.js → TablePagination-D4-bcrO_.js} +2003 -1784
- package/dist/Tooltip-BjyR1mIC.cjs +7 -0
- package/dist/{Tooltip-BpA4opI3.js → Tooltip-CWF5y-3F.js} +20 -19
- package/dist/TransitionGroupContext-BNiEy2cD.js +119 -0
- package/dist/TransitionGroupContext-CJJeIdck.cjs +2 -0
- package/dist/{Typography-BDMqUlbg.cjs → Typography-Pieq_mxw.cjs} +1 -1
- package/dist/{Typography-pY0gGUzu.js → Typography-ReSKaH87.js} +6 -6
- package/dist/__test-helpers__/test-setup.d.ts +2 -0
- package/dist/__test-helpers__/test-setup.d.ts.map +1 -0
- package/dist/{createSvgIcon-B28x3Jky.js → createSvgIcon-CiRZfwSO.js} +1 -1
- package/dist/{createSvgIcon-KaV60kcg.cjs → createSvgIcon-DgE0zN0k.cjs} +1 -1
- package/dist/{emotion-cache-provider-CsTOkc-k.js → emotion-cache-provider-B6yKtm_a.js} +1980 -2095
- package/dist/emotion-cache-provider-XZE1SDsY.cjs +122 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.umd.js +188 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts +1 -1
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lightweight/Breadcrumbs-BMR7xumU.js +37 -0
- package/dist/lightweight/Breadcrumbs-BgNa_noo.cjs +1 -0
- package/dist/lightweight/Button-C0bT7IWv.js +96 -0
- package/dist/lightweight/Button-O3zEYLfM.cjs +1 -0
- package/dist/lightweight/CheckableList-1Jq4spYu.cjs +1 -0
- package/dist/lightweight/CheckableList-DTTE9oEw.js +21 -0
- package/dist/lightweight/Checkbox-DqAy-3w-.js +34 -0
- package/dist/lightweight/Checkbox-hyvVpMGp.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Button-CKGdJitl.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Button-Dhs0ieAl.js +87 -0
- package/dist/lightweight/DEPRECATED_Checkbox-Be1l_Vce.js +63 -0
- package/dist/lightweight/DEPRECATED_Checkbox-BggU0HO5.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Icon-Bgufd-9Q.js +56 -0
- package/dist/lightweight/DEPRECATED_Icon-DC1Hc9iB.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
- package/dist/lightweight/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
- package/dist/lightweight/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
- package/dist/lightweight/Dropdown-B6uSaA3z.cjs +1 -0
- package/dist/lightweight/Dropdown-C5DcG6WG.js +231 -0
- package/dist/lightweight/Icon-4kNYAFUz.cjs +1 -0
- package/dist/lightweight/Icon-DQNqONXU.js +133 -0
- package/dist/lightweight/Input-CNvYE0Er.js +119 -0
- package/dist/lightweight/Input-_wNCDCdI.cjs +1 -0
- package/dist/lightweight/LazyLoader-DB86QSSx.js +18 -0
- package/dist/lightweight/LazyLoader-gOLNhxc-.cjs +1 -0
- package/dist/lightweight/Menu-CgLII61r.cjs +1 -0
- package/dist/lightweight/Menu-DeHgR0JO.js +1211 -0
- package/dist/lightweight/Popover-BAehEo3a.js +49 -0
- package/dist/lightweight/Popover-DHy8NRMc.cjs +1 -0
- package/dist/lightweight/RadioButton-BpAksn2s.js +70 -0
- package/dist/lightweight/RadioButton-Ds-0wj0r.cjs +1 -0
- package/dist/lightweight/TablePagination-Czpnhvp6.cjs +1 -0
- package/dist/lightweight/TablePagination-D1tyNTa7.js +338 -0
- package/dist/lightweight/Tooltip-BcjJxRj4.cjs +1 -0
- package/dist/lightweight/Tooltip-DUpknkQW.js +59 -0
- package/dist/lightweight/Typography-BT1q5az1.cjs +1 -0
- package/dist/lightweight/Typography-CvzdielF.js +153 -0
- package/dist/lightweight/__test-helpers__/test-setup.d.ts +2 -0
- package/dist/lightweight/__test-helpers__/test-setup.d.ts.map +1 -0
- package/dist/lightweight/align.interface-B17uA473.cjs +1 -0
- package/dist/lightweight/align.interface-DdWsijrT.js +4 -0
- package/dist/lightweight/emotion-cache-provider-BsnmG_09.cjs +1 -0
- package/dist/lightweight/emotion-cache-provider-CE1QZs6M.js +18 -0
- package/dist/lightweight/index-B-zZeebW.cjs +20 -0
- package/dist/lightweight/index-D0lMis-I.js +667 -0
- package/dist/lightweight/index.cjs +1 -0
- package/dist/lightweight/index.d.ts +2 -0
- package/dist/lightweight/index.d.ts.map +1 -0
- package/dist/lightweight/index.js +48 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.js +7 -0
- package/dist/lightweight/lib/Breadcrumbs/index.d.ts +5 -0
- package/dist/lightweight/lib/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/Button.cjs +1 -0
- package/dist/lightweight/lib/Button/Button.d.ts +10 -0
- package/dist/lightweight/lib/Button/Button.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/Button.js +7 -0
- package/dist/lightweight/lib/Button/index.d.ts +5 -0
- package/dist/lightweight/lib/Button/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts +11 -0
- package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Button/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.cjs +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.d.ts +16 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.d.ts.map +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.js +5 -0
- package/dist/lightweight/lib/CheckableList/index.d.ts +4 -0
- package/dist/lightweight/lib/CheckableList/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.cjs +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts +20 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.js +5 -0
- package/dist/lightweight/lib/Checkbox/index.d.ts +4 -0
- package/dist/lightweight/lib/Checkbox/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
- package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Checkbox/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
- package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts +32 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.js +5 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +3 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +3 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/hooks/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/hooks/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
- package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/index.d.ts +5 -0
- package/dist/lightweight/lib/Dropdown/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/types.d.ts +12 -0
- package/dist/lightweight/lib/Dropdown/types.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/Icon.cjs +1 -0
- package/dist/lightweight/lib/Icon/Icon.d.ts +13 -0
- package/dist/lightweight/lib/Icon/Icon.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/Icon.js +5 -0
- package/dist/lightweight/lib/Icon/index.d.ts +4 -0
- package/dist/lightweight/lib/Icon/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts +8 -0
- package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Icon/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/Input/Input.cjs +1 -0
- package/dist/lightweight/lib/Input/Input.d.ts +28 -0
- package/dist/lightweight/lib/Input/Input.d.ts.map +1 -0
- package/dist/lightweight/lib/Input/Input.js +5 -0
- package/dist/lightweight/lib/Input/index.d.ts +4 -0
- package/dist/lightweight/lib/Input/index.d.ts.map +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.cjs +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts +9 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.js +5 -0
- package/dist/lightweight/lib/LazyLoader/index.d.ts +4 -0
- package/dist/lightweight/lib/LazyLoader/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/index.d.ts +2 -0
- package/dist/lightweight/lib/Menu/Confirmation/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts +2 -0
- package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Menu.cjs +1 -0
- package/dist/lightweight/lib/Menu/Menu.d.ts +80 -0
- package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Menu.js +8 -0
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/MenuItem/index.d.ts +3 -0
- package/dist/lightweight/lib/Menu/MenuItem/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/index.d.ts +6 -0
- package/dist/lightweight/lib/Menu/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/utils.d.ts +6 -0
- package/dist/lightweight/lib/Menu/utils.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/Popover.cjs +1 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts +16 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/Popover.js +7 -0
- package/dist/lightweight/lib/Popover/align.interface.d.ts +23 -0
- package/dist/lightweight/lib/Popover/align.interface.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/index.d.ts +6 -0
- package/dist/lightweight/lib/Popover/index.d.ts.map +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.cjs +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts +20 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts.map +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.js +5 -0
- package/dist/lightweight/lib/RadioButton/index.d.ts +4 -0
- package/dist/lightweight/lib/RadioButton/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.cjs +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts +19 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.js +5 -0
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/index.d.ts +4 -0
- package/dist/lightweight/lib/TablePagination/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.cjs +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts +10 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.js +7 -0
- package/dist/lightweight/lib/Tooltip/index.d.ts +5 -0
- package/dist/lightweight/lib/Tooltip/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Tooltip/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
- package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/Typography.cjs +1 -0
- package/dist/lightweight/lib/Typography/Typography.d.ts +11 -0
- package/dist/lightweight/lib/Typography/Typography.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/Typography.js +7 -0
- package/dist/lightweight/lib/Typography/index.d.ts +5 -0
- package/dist/lightweight/lib/Typography/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Typography/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts +21 -0
- package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts +11 -0
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts.map +1 -0
- package/dist/lightweight/lib/constants/styleguideConstants.d.ts +9 -0
- package/dist/lightweight/lib/constants/styleguideConstants.d.ts.map +1 -0
- package/dist/lightweight/lib/index.d.ts +20 -0
- package/dist/lightweight/lib/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/colors/index.d.ts +2 -0
- package/dist/lightweight/lib/themes/colors/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/colors/siColors.d.ts +140 -0
- package/dist/lightweight/lib/themes/colors/siColors.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/index.d.ts +3 -0
- package/dist/lightweight/lib/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/themes.cjs +2 -0
- package/dist/lightweight/lib/themes/themes.js +142 -0
- package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts +12 -0
- package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/types/index.d.ts +2 -0
- package/dist/lightweight/lib/themes/types/index.d.ts.map +1 -0
- package/dist/lightweight/package.json +248 -0
- package/dist/lightweight/styleguideConstants-CtXkvIZK.cjs +1 -0
- package/dist/lightweight/styleguideConstants-D4Yls16w.js +11 -0
- package/dist/package.json +34 -14
- package/dist/resolveComponentProps-BjHOskdg.cjs +1 -0
- package/dist/resolveComponentProps-L5VTqIs8.js +80 -0
- package/dist/useFormControl-DNim9J_T.cjs +1 -0
- package/dist/useFormControl-lYrMmqEx.js +56 -0
- package/dist/useId-CK6Kn3Tn.js +21 -0
- package/dist/useId-DNXtOFeX.cjs +1 -0
- package/dist/useSlot-BHK4fbKV.cjs +3 -0
- package/dist/useSlot-DUGuD2Ya.js +77 -0
- package/dist/useSlotProps-9rt1So3E.js +25 -0
- package/dist/useSlotProps-ChaoOi-_.cjs +1 -0
- package/dist/{useTheme-CzEManLl.js → useTheme-DPwUUXTG.js} +1 -1
- package/dist/{useTheme-DmoPdQRb.cjs → useTheme-Dn8Us9iT.cjs} +1 -1
- package/package.json +34 -14
- package/dist/Breadcrumbs-Da5cnPID.cjs +0 -3
- package/dist/Button-RoXZvXZf.cjs +0 -1
- package/dist/ButtonBase-CISYuRKV.cjs +0 -74
- package/dist/Checkbox-DpGUO-Li.cjs +0 -1
- package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +0 -2316
- package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +0 -27
- package/dist/Portal-CtJkkaJ7.cjs +0 -1
- package/dist/TablePagination-baLnBUNn.cjs +0 -15
- package/dist/Tooltip-Dcsip2Zy.cjs +0 -7
- package/dist/assertThisInitialized-BSnhOY1M.cjs +0 -1
- package/dist/assertThisInitialized-lz6cHcRv.js +0 -8
- package/dist/deepmerge-BuAjuQR6.cjs +0 -17
- package/dist/deepmerge-DNqbOtFI.js +0 -177
- package/dist/emotion-cache-provider-C66nBUtN.cjs +0 -114
- package/dist/extends-DX42hfxm.js +0 -13
- package/dist/extends-q0Hkx4pQ.cjs +0 -1
- package/dist/setPrototypeOf-BmHXYjK5.cjs +0 -1
- package/dist/setPrototypeOf-CEtRTXk2.js +0 -19
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useControlled-Ysk4KqoX.cjs +0 -3
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useSlotProps-BxlgPyQJ.js +0 -102
- package/dist/useSlotProps-DS82uuM_.cjs +0 -1
- package/dist/useTimeout-DwkOFF8P.cjs +0 -2
- package/dist/useTimeout-Oe_jK-ia.js +0 -92
|
@@ -1,2316 +0,0 @@
|
|
|
1
|
-
import { jsx as jr } from "react/jsx-runtime";
|
|
2
|
-
import Ae from "classnames";
|
|
3
|
-
import * as u from "react";
|
|
4
|
-
import qn, { useRef as ut, useLayoutEffect as No, useEffect as ar, forwardRef as Ao, useImperativeHandle as Oo } from "react";
|
|
5
|
-
import { _ as Dt } from "./extends-DX42hfxm.js";
|
|
6
|
-
import { _ as Do, a as Lo } from "./setPrototypeOf-CEtRTXk2.js";
|
|
7
|
-
import pn, { createPortal as xo } from "react-dom";
|
|
8
|
-
import { _ as Br } from "./assertThisInitialized-lz6cHcRv.js";
|
|
9
|
-
import { s as ko } from "./styleguideConstants-D4Yls16w.js";
|
|
10
|
-
function $o(e) {
|
|
11
|
-
var t = e.children, r = e.prefixCls, n = e.id, o = e.overlayInnerStyle, i = e.bodyClassName, a = e.className, l = e.style;
|
|
12
|
-
return /* @__PURE__ */ u.createElement("div", {
|
|
13
|
-
className: Ae("".concat(r, "-content"), a),
|
|
14
|
-
style: l
|
|
15
|
-
}, /* @__PURE__ */ u.createElement("div", {
|
|
16
|
-
className: Ae("".concat(r, "-inner"), i),
|
|
17
|
-
id: n,
|
|
18
|
-
role: "tooltip",
|
|
19
|
-
style: o
|
|
20
|
-
}, typeof t == "function" ? t() : t));
|
|
21
|
-
}
|
|
22
|
-
function Se(e) {
|
|
23
|
-
"@babel/helpers - typeof";
|
|
24
|
-
return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
25
|
-
return typeof t;
|
|
26
|
-
} : function(t) {
|
|
27
|
-
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
28
|
-
}, Se(e);
|
|
29
|
-
}
|
|
30
|
-
function Io(e, t) {
|
|
31
|
-
if (Se(e) != "object" || !e) return e;
|
|
32
|
-
var r = e[Symbol.toPrimitive];
|
|
33
|
-
if (r !== void 0) {
|
|
34
|
-
var n = r.call(e, t || "default");
|
|
35
|
-
if (Se(n) != "object") return n;
|
|
36
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
37
|
-
}
|
|
38
|
-
return (t === "string" ? String : Number)(e);
|
|
39
|
-
}
|
|
40
|
-
function Kn(e) {
|
|
41
|
-
var t = Io(e, "string");
|
|
42
|
-
return Se(t) == "symbol" ? t : t + "";
|
|
43
|
-
}
|
|
44
|
-
function fe(e, t, r) {
|
|
45
|
-
return t = Kn(t), t in e ? Object.defineProperty(e, t, {
|
|
46
|
-
value: r,
|
|
47
|
-
enumerable: !0,
|
|
48
|
-
configurable: !0,
|
|
49
|
-
writable: !0
|
|
50
|
-
}) : e[t] = r, e;
|
|
51
|
-
}
|
|
52
|
-
function En(e, t) {
|
|
53
|
-
var r = Object.keys(e);
|
|
54
|
-
if (Object.getOwnPropertySymbols) {
|
|
55
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
56
|
-
t && (n = n.filter(function(o) {
|
|
57
|
-
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
58
|
-
})), r.push.apply(r, n);
|
|
59
|
-
}
|
|
60
|
-
return r;
|
|
61
|
-
}
|
|
62
|
-
function w(e) {
|
|
63
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
64
|
-
var r = arguments[t] != null ? arguments[t] : {};
|
|
65
|
-
t % 2 ? En(Object(r), !0).forEach(function(n) {
|
|
66
|
-
fe(e, n, r[n]);
|
|
67
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : En(Object(r)).forEach(function(n) {
|
|
68
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
return e;
|
|
72
|
-
}
|
|
73
|
-
function fr(e, t) {
|
|
74
|
-
if (e == null) return {};
|
|
75
|
-
var r = Do(e, t), n, o;
|
|
76
|
-
if (Object.getOwnPropertySymbols) {
|
|
77
|
-
var i = Object.getOwnPropertySymbols(e);
|
|
78
|
-
for (o = 0; o < i.length; o++)
|
|
79
|
-
n = i[o], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
|
|
80
|
-
}
|
|
81
|
-
return r;
|
|
82
|
-
}
|
|
83
|
-
function zo(e) {
|
|
84
|
-
if (Array.isArray(e)) return e;
|
|
85
|
-
}
|
|
86
|
-
function Vo(e, t) {
|
|
87
|
-
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
88
|
-
if (r != null) {
|
|
89
|
-
var n, o, i, a, l = [], c = !0, s = !1;
|
|
90
|
-
try {
|
|
91
|
-
if (i = (r = r.call(e)).next, t === 0) {
|
|
92
|
-
if (Object(r) !== r) return;
|
|
93
|
-
c = !1;
|
|
94
|
-
} else for (; !(c = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); c = !0) ;
|
|
95
|
-
} catch (d) {
|
|
96
|
-
s = !0, o = d;
|
|
97
|
-
} finally {
|
|
98
|
-
try {
|
|
99
|
-
if (!c && r.return != null && (a = r.return(), Object(a) !== a)) return;
|
|
100
|
-
} finally {
|
|
101
|
-
if (s) throw o;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
return l;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
function Ur(e, t) {
|
|
108
|
-
(t == null || t > e.length) && (t = e.length);
|
|
109
|
-
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
110
|
-
return n;
|
|
111
|
-
}
|
|
112
|
-
function Qn(e, t) {
|
|
113
|
-
if (e) {
|
|
114
|
-
if (typeof e == "string") return Ur(e, t);
|
|
115
|
-
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
116
|
-
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
117
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Ur(e, t);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
function Wo() {
|
|
121
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
122
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
123
|
-
}
|
|
124
|
-
function L(e, t) {
|
|
125
|
-
return zo(e) || Vo(e, t) || Qn(e, t) || Wo();
|
|
126
|
-
}
|
|
127
|
-
function xe() {
|
|
128
|
-
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
129
|
-
}
|
|
130
|
-
var qr = {}, un = [], jo = function(t) {
|
|
131
|
-
un.push(t);
|
|
132
|
-
};
|
|
133
|
-
function lr(e, t) {
|
|
134
|
-
if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
|
|
135
|
-
var r = un.reduce(function(n, o) {
|
|
136
|
-
return o(n ?? "", "warning");
|
|
137
|
-
}, t);
|
|
138
|
-
r && console.error("Warning: ".concat(r));
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
function Fo(e, t) {
|
|
142
|
-
if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
|
|
143
|
-
var r = un.reduce(function(n, o) {
|
|
144
|
-
return o(n ?? "", "note");
|
|
145
|
-
}, t);
|
|
146
|
-
r && console.warn("Note: ".concat(r));
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
function Ho() {
|
|
150
|
-
qr = {};
|
|
151
|
-
}
|
|
152
|
-
function Gn(e, t, r) {
|
|
153
|
-
!t && !qr[r] && (e(!1, r), qr[r] = !0);
|
|
154
|
-
}
|
|
155
|
-
function yr(e, t) {
|
|
156
|
-
Gn(lr, e, t);
|
|
157
|
-
}
|
|
158
|
-
function Bo(e, t) {
|
|
159
|
-
Gn(Fo, e, t);
|
|
160
|
-
}
|
|
161
|
-
yr.preMessage = jo;
|
|
162
|
-
yr.resetWarned = Ho;
|
|
163
|
-
yr.noteOnce = Bo;
|
|
164
|
-
var Kr = { exports: {} }, z = {};
|
|
165
|
-
/**
|
|
166
|
-
* @license React
|
|
167
|
-
* react-is.production.min.js
|
|
168
|
-
*
|
|
169
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
170
|
-
*
|
|
171
|
-
* This source code is licensed under the MIT license found in the
|
|
172
|
-
* LICENSE file in the root directory of this source tree.
|
|
173
|
-
*/
|
|
174
|
-
var wn;
|
|
175
|
-
function Uo() {
|
|
176
|
-
if (wn) return z;
|
|
177
|
-
wn = 1;
|
|
178
|
-
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;
|
|
179
|
-
b = Symbol.for("react.module.reference");
|
|
180
|
-
function E(f) {
|
|
181
|
-
if (typeof f == "object" && f !== null) {
|
|
182
|
-
var S = f.$$typeof;
|
|
183
|
-
switch (S) {
|
|
184
|
-
case e:
|
|
185
|
-
switch (f = f.type, f) {
|
|
186
|
-
case r:
|
|
187
|
-
case o:
|
|
188
|
-
case n:
|
|
189
|
-
case s:
|
|
190
|
-
case d:
|
|
191
|
-
return f;
|
|
192
|
-
default:
|
|
193
|
-
switch (f = f && f.$$typeof, f) {
|
|
194
|
-
case l:
|
|
195
|
-
case a:
|
|
196
|
-
case c:
|
|
197
|
-
case y:
|
|
198
|
-
case v:
|
|
199
|
-
case i:
|
|
200
|
-
return f;
|
|
201
|
-
default:
|
|
202
|
-
return S;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
case t:
|
|
206
|
-
return S;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
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() {
|
|
211
|
-
return !1;
|
|
212
|
-
}, z.isConcurrentMode = function() {
|
|
213
|
-
return !1;
|
|
214
|
-
}, z.isContextConsumer = function(f) {
|
|
215
|
-
return E(f) === a;
|
|
216
|
-
}, z.isContextProvider = function(f) {
|
|
217
|
-
return E(f) === i;
|
|
218
|
-
}, z.isElement = function(f) {
|
|
219
|
-
return typeof f == "object" && f !== null && f.$$typeof === e;
|
|
220
|
-
}, z.isForwardRef = function(f) {
|
|
221
|
-
return E(f) === c;
|
|
222
|
-
}, z.isFragment = function(f) {
|
|
223
|
-
return E(f) === r;
|
|
224
|
-
}, z.isLazy = function(f) {
|
|
225
|
-
return E(f) === y;
|
|
226
|
-
}, z.isMemo = function(f) {
|
|
227
|
-
return E(f) === v;
|
|
228
|
-
}, z.isPortal = function(f) {
|
|
229
|
-
return E(f) === t;
|
|
230
|
-
}, z.isProfiler = function(f) {
|
|
231
|
-
return E(f) === o;
|
|
232
|
-
}, z.isStrictMode = function(f) {
|
|
233
|
-
return E(f) === n;
|
|
234
|
-
}, z.isSuspense = function(f) {
|
|
235
|
-
return E(f) === s;
|
|
236
|
-
}, z.isSuspenseList = function(f) {
|
|
237
|
-
return E(f) === d;
|
|
238
|
-
}, z.isValidElementType = function(f) {
|
|
239
|
-
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);
|
|
240
|
-
}, z.typeOf = E, z;
|
|
241
|
-
}
|
|
242
|
-
var V = {};
|
|
243
|
-
/**
|
|
244
|
-
* @license React
|
|
245
|
-
* react-is.development.js
|
|
246
|
-
*
|
|
247
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
248
|
-
*
|
|
249
|
-
* This source code is licensed under the MIT license found in the
|
|
250
|
-
* LICENSE file in the root directory of this source tree.
|
|
251
|
-
*/
|
|
252
|
-
var Sn;
|
|
253
|
-
function qo() {
|
|
254
|
-
return Sn || (Sn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
255
|
-
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;
|
|
256
|
-
P = Symbol.for("react.module.reference");
|
|
257
|
-
function p(h) {
|
|
258
|
-
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 || // This needs to include all possible module reference object
|
|
259
|
-
// types supported by any Flight configuration anywhere since
|
|
260
|
-
// we don't know which Flight build this will end up being used
|
|
261
|
-
// with.
|
|
262
|
-
h.$$typeof === P || h.getModuleId !== void 0));
|
|
263
|
-
}
|
|
264
|
-
function _(h) {
|
|
265
|
-
if (typeof h == "object" && h !== null) {
|
|
266
|
-
var ie = h.$$typeof;
|
|
267
|
-
switch (ie) {
|
|
268
|
-
case e:
|
|
269
|
-
var ce = h.type;
|
|
270
|
-
switch (ce) {
|
|
271
|
-
case r:
|
|
272
|
-
case o:
|
|
273
|
-
case n:
|
|
274
|
-
case s:
|
|
275
|
-
case d:
|
|
276
|
-
return ce;
|
|
277
|
-
default:
|
|
278
|
-
var X = ce && ce.$$typeof;
|
|
279
|
-
switch (X) {
|
|
280
|
-
case l:
|
|
281
|
-
case a:
|
|
282
|
-
case c:
|
|
283
|
-
case y:
|
|
284
|
-
case v:
|
|
285
|
-
case i:
|
|
286
|
-
return X;
|
|
287
|
-
default:
|
|
288
|
-
return ie;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
case t:
|
|
292
|
-
return ie;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
var D = a, A = i, W = e, Y = c, H = r, $ = y, j = v, I = t, F = o, O = n, M = s, x = d, T = !1, B = !1;
|
|
297
|
-
function k(h) {
|
|
298
|
-
return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
299
|
-
}
|
|
300
|
-
function re(h) {
|
|
301
|
-
return B || (B = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
302
|
-
}
|
|
303
|
-
function ne(h) {
|
|
304
|
-
return _(h) === a;
|
|
305
|
-
}
|
|
306
|
-
function ge(h) {
|
|
307
|
-
return _(h) === i;
|
|
308
|
-
}
|
|
309
|
-
function Ce(h) {
|
|
310
|
-
return typeof h == "object" && h !== null && h.$$typeof === e;
|
|
311
|
-
}
|
|
312
|
-
function le(h) {
|
|
313
|
-
return _(h) === c;
|
|
314
|
-
}
|
|
315
|
-
function _e(h) {
|
|
316
|
-
return _(h) === r;
|
|
317
|
-
}
|
|
318
|
-
function ue(h) {
|
|
319
|
-
return _(h) === y;
|
|
320
|
-
}
|
|
321
|
-
function K(h) {
|
|
322
|
-
return _(h) === v;
|
|
323
|
-
}
|
|
324
|
-
function ae(h) {
|
|
325
|
-
return _(h) === t;
|
|
326
|
-
}
|
|
327
|
-
function se(h) {
|
|
328
|
-
return _(h) === o;
|
|
329
|
-
}
|
|
330
|
-
function oe(h) {
|
|
331
|
-
return _(h) === n;
|
|
332
|
-
}
|
|
333
|
-
function Oe(h) {
|
|
334
|
-
return _(h) === s;
|
|
335
|
-
}
|
|
336
|
-
function De(h) {
|
|
337
|
-
return _(h) === d;
|
|
338
|
-
}
|
|
339
|
-
V.ContextConsumer = D, V.ContextProvider = A, V.Element = W, V.ForwardRef = Y, V.Fragment = H, V.Lazy = $, V.Memo = j, V.Portal = I, V.Profiler = F, V.StrictMode = O, V.Suspense = M, V.SuspenseList = x, V.isAsyncMode = k, V.isConcurrentMode = re, V.isContextConsumer = ne, V.isContextProvider = ge, V.isElement = Ce, V.isForwardRef = le, V.isFragment = _e, V.isLazy = ue, V.isMemo = K, V.isPortal = ae, V.isProfiler = se, V.isStrictMode = oe, V.isSuspense = Oe, V.isSuspenseList = De, V.isValidElementType = p, V.typeOf = _;
|
|
340
|
-
}()), V;
|
|
341
|
-
}
|
|
342
|
-
process.env.NODE_ENV === "production" ? Kr.exports = Uo() : Kr.exports = qo();
|
|
343
|
-
var ur = Kr.exports;
|
|
344
|
-
function Ko(e, t, r) {
|
|
345
|
-
var n = u.useRef({});
|
|
346
|
-
return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value;
|
|
347
|
-
}
|
|
348
|
-
var sn = function(t, r) {
|
|
349
|
-
typeof t == "function" ? t(r) : Se(t) === "object" && t && "current" in t && (t.current = r);
|
|
350
|
-
}, Zn = function() {
|
|
351
|
-
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
352
|
-
r[n] = arguments[n];
|
|
353
|
-
var o = r.filter(Boolean);
|
|
354
|
-
return o.length <= 1 ? o[0] : function(i) {
|
|
355
|
-
r.forEach(function(a) {
|
|
356
|
-
sn(a, i);
|
|
357
|
-
});
|
|
358
|
-
};
|
|
359
|
-
}, cn = function() {
|
|
360
|
-
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
361
|
-
r[n] = arguments[n];
|
|
362
|
-
return Ko(function() {
|
|
363
|
-
return Zn.apply(void 0, r);
|
|
364
|
-
}, r, function(o, i) {
|
|
365
|
-
return o.length !== i.length || o.every(function(a, l) {
|
|
366
|
-
return a !== i[l];
|
|
367
|
-
});
|
|
368
|
-
});
|
|
369
|
-
}, gr = function(t) {
|
|
370
|
-
var r, n, o = ur.isMemo(t) ? t.type.type : t.type;
|
|
371
|
-
return !(typeof o == "function" && !((r = o.prototype) !== null && r !== void 0 && r.render) && o.$$typeof !== ur.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== ur.ForwardRef);
|
|
372
|
-
}, Jn = /* @__PURE__ */ u.createContext(null);
|
|
373
|
-
function Qo(e) {
|
|
374
|
-
if (Array.isArray(e)) return Ur(e);
|
|
375
|
-
}
|
|
376
|
-
function Go(e) {
|
|
377
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
378
|
-
}
|
|
379
|
-
function Zo() {
|
|
380
|
-
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
381
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
382
|
-
}
|
|
383
|
-
function Qr(e) {
|
|
384
|
-
return Qo(e) || Go(e) || Qn(e) || Zo();
|
|
385
|
-
}
|
|
386
|
-
var Cn = process.env.NODE_ENV !== "test" && xe() ? u.useLayoutEffect : u.useEffect, ye = function(t, r) {
|
|
387
|
-
var n = u.useRef(!0);
|
|
388
|
-
Cn(function() {
|
|
389
|
-
return t(n.current);
|
|
390
|
-
}, r), Cn(function() {
|
|
391
|
-
return n.current = !1, function() {
|
|
392
|
-
n.current = !0;
|
|
393
|
-
};
|
|
394
|
-
}, []);
|
|
395
|
-
}, _n = [];
|
|
396
|
-
function Jo(e, t) {
|
|
397
|
-
var r = u.useState(function() {
|
|
398
|
-
if (!xe())
|
|
399
|
-
return null;
|
|
400
|
-
var b = document.createElement("div");
|
|
401
|
-
return process.env.NODE_ENV !== "production" && t && b.setAttribute("data-debug", t), b;
|
|
402
|
-
}), n = L(r, 1), o = n[0], i = u.useRef(!1), a = u.useContext(Jn), l = u.useState(_n), c = L(l, 2), s = c[0], d = c[1], v = a || (i.current ? void 0 : function(b) {
|
|
403
|
-
d(function(E) {
|
|
404
|
-
var f = [b].concat(Qr(E));
|
|
405
|
-
return f;
|
|
406
|
-
});
|
|
407
|
-
});
|
|
408
|
-
function y() {
|
|
409
|
-
o.parentElement || document.body.appendChild(o), i.current = !0;
|
|
410
|
-
}
|
|
411
|
-
function m() {
|
|
412
|
-
var b;
|
|
413
|
-
(b = o.parentElement) === null || b === void 0 || b.removeChild(o), i.current = !1;
|
|
414
|
-
}
|
|
415
|
-
return ye(function() {
|
|
416
|
-
return e ? a ? a(y) : y() : m(), m;
|
|
417
|
-
}, [e]), ye(function() {
|
|
418
|
-
s.length && (s.forEach(function(b) {
|
|
419
|
-
return b();
|
|
420
|
-
}), d(_n));
|
|
421
|
-
}, [s]), [o, v];
|
|
422
|
-
}
|
|
423
|
-
function Yo(e, t) {
|
|
424
|
-
if (!e)
|
|
425
|
-
return !1;
|
|
426
|
-
if (e.contains)
|
|
427
|
-
return e.contains(t);
|
|
428
|
-
for (var r = t; r; ) {
|
|
429
|
-
if (r === e)
|
|
430
|
-
return !0;
|
|
431
|
-
r = r.parentNode;
|
|
432
|
-
}
|
|
433
|
-
return !1;
|
|
434
|
-
}
|
|
435
|
-
var Rn = "data-rc-order", Pn = "data-rc-priority", Xo = "rc-util-key", Gr = /* @__PURE__ */ new Map();
|
|
436
|
-
function Yn() {
|
|
437
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
|
|
438
|
-
return t ? t.startsWith("data-") ? t : "data-".concat(t) : Xo;
|
|
439
|
-
}
|
|
440
|
-
function br(e) {
|
|
441
|
-
if (e.attachTo)
|
|
442
|
-
return e.attachTo;
|
|
443
|
-
var t = document.querySelector("head");
|
|
444
|
-
return t || document.body;
|
|
445
|
-
}
|
|
446
|
-
function ei(e) {
|
|
447
|
-
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
448
|
-
}
|
|
449
|
-
function fn(e) {
|
|
450
|
-
return Array.from((Gr.get(e) || e).children).filter(function(t) {
|
|
451
|
-
return t.tagName === "STYLE";
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
function Xn(e) {
|
|
455
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
456
|
-
if (!xe())
|
|
457
|
-
return null;
|
|
458
|
-
var r = t.csp, n = t.prepend, o = t.priority, i = o === void 0 ? 0 : o, a = ei(n), l = a === "prependQueue", c = document.createElement("style");
|
|
459
|
-
c.setAttribute(Rn, a), l && i && c.setAttribute(Pn, "".concat(i)), r != null && r.nonce && (c.nonce = r == null ? void 0 : r.nonce), c.innerHTML = e;
|
|
460
|
-
var s = br(t), d = s.firstChild;
|
|
461
|
-
if (n) {
|
|
462
|
-
if (l) {
|
|
463
|
-
var v = (t.styles || fn(s)).filter(function(y) {
|
|
464
|
-
if (!["prepend", "prependQueue"].includes(y.getAttribute(Rn)))
|
|
465
|
-
return !1;
|
|
466
|
-
var m = Number(y.getAttribute(Pn) || 0);
|
|
467
|
-
return i >= m;
|
|
468
|
-
});
|
|
469
|
-
if (v.length)
|
|
470
|
-
return s.insertBefore(c, v[v.length - 1].nextSibling), c;
|
|
471
|
-
}
|
|
472
|
-
s.insertBefore(c, d);
|
|
473
|
-
} else
|
|
474
|
-
s.appendChild(c);
|
|
475
|
-
return c;
|
|
476
|
-
}
|
|
477
|
-
function eo(e) {
|
|
478
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = br(t);
|
|
479
|
-
return (t.styles || fn(r)).find(function(n) {
|
|
480
|
-
return n.getAttribute(Yn(t)) === e;
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
function Zr(e) {
|
|
484
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = eo(e, t);
|
|
485
|
-
if (r) {
|
|
486
|
-
var n = br(t);
|
|
487
|
-
n.removeChild(r);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
function ti(e, t) {
|
|
491
|
-
var r = Gr.get(e);
|
|
492
|
-
if (!r || !Yo(document, r)) {
|
|
493
|
-
var n = Xn("", t), o = n.parentNode;
|
|
494
|
-
Gr.set(e, o), e.removeChild(n);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
function to(e, t) {
|
|
498
|
-
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = br(r), o = fn(n), i = w(w({}, r), {}, {
|
|
499
|
-
styles: o
|
|
500
|
-
});
|
|
501
|
-
ti(n, i);
|
|
502
|
-
var a = eo(t, i);
|
|
503
|
-
if (a) {
|
|
504
|
-
var l, c;
|
|
505
|
-
if ((l = i.csp) !== null && l !== void 0 && l.nonce && a.nonce !== ((c = i.csp) === null || c === void 0 ? void 0 : c.nonce)) {
|
|
506
|
-
var s;
|
|
507
|
-
a.nonce = (s = i.csp) === null || s === void 0 ? void 0 : s.nonce;
|
|
508
|
-
}
|
|
509
|
-
return a.innerHTML !== e && (a.innerHTML = e), a;
|
|
510
|
-
}
|
|
511
|
-
var d = Xn(e, i);
|
|
512
|
-
return d.setAttribute(Yn(i), t), d;
|
|
513
|
-
}
|
|
514
|
-
function ri(e) {
|
|
515
|
-
var t = "rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)), r = document.createElement("div");
|
|
516
|
-
r.id = t;
|
|
517
|
-
var n = r.style;
|
|
518
|
-
n.position = "absolute", n.left = "0", n.top = "0", n.width = "100px", n.height = "100px", n.overflow = "scroll";
|
|
519
|
-
var o, i;
|
|
520
|
-
if (e) {
|
|
521
|
-
var a = getComputedStyle(e);
|
|
522
|
-
n.scrollbarColor = a.scrollbarColor, n.scrollbarWidth = a.scrollbarWidth;
|
|
523
|
-
var l = getComputedStyle(e, "::-webkit-scrollbar"), c = parseInt(l.width, 10), s = parseInt(l.height, 10);
|
|
524
|
-
try {
|
|
525
|
-
var d = c ? "width: ".concat(l.width, ";") : "", v = s ? "height: ".concat(l.height, ";") : "";
|
|
526
|
-
to(`
|
|
527
|
-
#`.concat(t, `::-webkit-scrollbar {
|
|
528
|
-
`).concat(d, `
|
|
529
|
-
`).concat(v, `
|
|
530
|
-
}`), t);
|
|
531
|
-
} catch (b) {
|
|
532
|
-
console.error(b), o = c, i = s;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
document.body.appendChild(r);
|
|
536
|
-
var y = e && o && !isNaN(o) ? o : r.offsetWidth - r.clientWidth, m = e && i && !isNaN(i) ? i : r.offsetHeight - r.clientHeight;
|
|
537
|
-
return document.body.removeChild(r), Zr(t), {
|
|
538
|
-
width: y,
|
|
539
|
-
height: m
|
|
540
|
-
};
|
|
541
|
-
}
|
|
542
|
-
function ni(e) {
|
|
543
|
-
return typeof document > "u" || !e || !(e instanceof Element) ? {
|
|
544
|
-
width: 0,
|
|
545
|
-
height: 0
|
|
546
|
-
} : ri(e);
|
|
547
|
-
}
|
|
548
|
-
function oi() {
|
|
549
|
-
return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;
|
|
550
|
-
}
|
|
551
|
-
var ii = "rc-util-locker-".concat(Date.now()), Tn = 0;
|
|
552
|
-
function ai(e) {
|
|
553
|
-
var t = !!e, r = u.useState(function() {
|
|
554
|
-
return Tn += 1, "".concat(ii, "_").concat(Tn);
|
|
555
|
-
}), n = L(r, 1), o = n[0];
|
|
556
|
-
ye(function() {
|
|
557
|
-
if (t) {
|
|
558
|
-
var i = ni(document.body).width, a = oi();
|
|
559
|
-
to(`
|
|
560
|
-
html body {
|
|
561
|
-
overflow-y: hidden;
|
|
562
|
-
`.concat(a ? "width: calc(100% - ".concat(i, "px);") : "", `
|
|
563
|
-
}`), o);
|
|
564
|
-
} else
|
|
565
|
-
Zr(o);
|
|
566
|
-
return function() {
|
|
567
|
-
Zr(o);
|
|
568
|
-
};
|
|
569
|
-
}, [t, o]);
|
|
570
|
-
}
|
|
571
|
-
var ui = !1;
|
|
572
|
-
function si(e) {
|
|
573
|
-
return ui;
|
|
574
|
-
}
|
|
575
|
-
var Mn = function(t) {
|
|
576
|
-
return t === !1 ? !1 : !xe() || !t ? null : typeof t == "string" ? document.querySelector(t) : typeof t == "function" ? t() : t;
|
|
577
|
-
}, ln = /* @__PURE__ */ u.forwardRef(function(e, t) {
|
|
578
|
-
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 = L(s, 2), v = d[0], y = d[1], m = v || r;
|
|
579
|
-
process.env.NODE_ENV !== "production" && yr(xe() || !r, "Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."), u.useEffect(function() {
|
|
580
|
-
(l || r) && y(r);
|
|
581
|
-
}, [r, l]);
|
|
582
|
-
var b = u.useState(function() {
|
|
583
|
-
return Mn(o);
|
|
584
|
-
}), E = L(b, 2), f = E[0], S = E[1];
|
|
585
|
-
u.useEffect(function() {
|
|
586
|
-
var j = Mn(o);
|
|
587
|
-
S(j ?? null);
|
|
588
|
-
});
|
|
589
|
-
var N = Jo(m && !f, i), P = L(N, 2), p = P[0], _ = P[1], D = f ?? p;
|
|
590
|
-
ai(n && r && xe() && (D === p || D === document.body));
|
|
591
|
-
var A = null;
|
|
592
|
-
if (c && gr(c) && t) {
|
|
593
|
-
var W = c;
|
|
594
|
-
A = W.ref;
|
|
595
|
-
}
|
|
596
|
-
var Y = cn(A, t);
|
|
597
|
-
if (!m || !xe() || f === void 0)
|
|
598
|
-
return null;
|
|
599
|
-
var H = D === !1 || si(), $ = c;
|
|
600
|
-
return t && ($ = /* @__PURE__ */ u.cloneElement(c, {
|
|
601
|
-
ref: Y
|
|
602
|
-
})), /* @__PURE__ */ u.createElement(Jn.Provider, {
|
|
603
|
-
value: _
|
|
604
|
-
}, H ? $ : /* @__PURE__ */ xo($, D));
|
|
605
|
-
});
|
|
606
|
-
process.env.NODE_ENV !== "production" && (ln.displayName = "Portal");
|
|
607
|
-
function Jr(e) {
|
|
608
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [];
|
|
609
|
-
return qn.Children.forEach(e, function(n) {
|
|
610
|
-
n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(Jr(n)) : ur.isFragment(n) && n.props ? r = r.concat(Jr(n.props.children, t)) : r.push(n));
|
|
611
|
-
}), r;
|
|
612
|
-
}
|
|
613
|
-
function At(e) {
|
|
614
|
-
return e instanceof HTMLElement || e instanceof SVGElement;
|
|
615
|
-
}
|
|
616
|
-
function ci(e) {
|
|
617
|
-
return e && Se(e) === "object" && At(e.nativeElement) ? e.nativeElement : At(e) ? e : null;
|
|
618
|
-
}
|
|
619
|
-
function sr(e) {
|
|
620
|
-
var t = ci(e);
|
|
621
|
-
if (t)
|
|
622
|
-
return t;
|
|
623
|
-
if (e instanceof qn.Component) {
|
|
624
|
-
var r;
|
|
625
|
-
return (r = pn.findDOMNode) === null || r === void 0 ? void 0 : r.call(pn, e);
|
|
626
|
-
}
|
|
627
|
-
return null;
|
|
628
|
-
}
|
|
629
|
-
var Yr = /* @__PURE__ */ u.createContext(null);
|
|
630
|
-
function fi(e) {
|
|
631
|
-
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) {
|
|
632
|
-
n.current += 1;
|
|
633
|
-
var d = n.current;
|
|
634
|
-
o.current.push({
|
|
635
|
-
size: l,
|
|
636
|
-
element: c,
|
|
637
|
-
data: s
|
|
638
|
-
}), Promise.resolve().then(function() {
|
|
639
|
-
d === n.current && (r == null || r(o.current), o.current = []);
|
|
640
|
-
}), i == null || i(l, c, s);
|
|
641
|
-
}, [r, i]);
|
|
642
|
-
return /* @__PURE__ */ u.createElement(Yr.Provider, {
|
|
643
|
-
value: a
|
|
644
|
-
}, t);
|
|
645
|
-
}
|
|
646
|
-
var ro = function() {
|
|
647
|
-
if (typeof Map < "u")
|
|
648
|
-
return Map;
|
|
649
|
-
function e(t, r) {
|
|
650
|
-
var n = -1;
|
|
651
|
-
return t.some(function(o, i) {
|
|
652
|
-
return o[0] === r ? (n = i, !0) : !1;
|
|
653
|
-
}), n;
|
|
654
|
-
}
|
|
655
|
-
return (
|
|
656
|
-
/** @class */
|
|
657
|
-
function() {
|
|
658
|
-
function t() {
|
|
659
|
-
this.__entries__ = [];
|
|
660
|
-
}
|
|
661
|
-
return Object.defineProperty(t.prototype, "size", {
|
|
662
|
-
/**
|
|
663
|
-
* @returns {boolean}
|
|
664
|
-
*/
|
|
665
|
-
get: function() {
|
|
666
|
-
return this.__entries__.length;
|
|
667
|
-
},
|
|
668
|
-
enumerable: !0,
|
|
669
|
-
configurable: !0
|
|
670
|
-
}), t.prototype.get = function(r) {
|
|
671
|
-
var n = e(this.__entries__, r), o = this.__entries__[n];
|
|
672
|
-
return o && o[1];
|
|
673
|
-
}, t.prototype.set = function(r, n) {
|
|
674
|
-
var o = e(this.__entries__, r);
|
|
675
|
-
~o ? this.__entries__[o][1] = n : this.__entries__.push([r, n]);
|
|
676
|
-
}, t.prototype.delete = function(r) {
|
|
677
|
-
var n = this.__entries__, o = e(n, r);
|
|
678
|
-
~o && n.splice(o, 1);
|
|
679
|
-
}, t.prototype.has = function(r) {
|
|
680
|
-
return !!~e(this.__entries__, r);
|
|
681
|
-
}, t.prototype.clear = function() {
|
|
682
|
-
this.__entries__.splice(0);
|
|
683
|
-
}, t.prototype.forEach = function(r, n) {
|
|
684
|
-
n === void 0 && (n = null);
|
|
685
|
-
for (var o = 0, i = this.__entries__; o < i.length; o++) {
|
|
686
|
-
var a = i[o];
|
|
687
|
-
r.call(n, a[1], a[0]);
|
|
688
|
-
}
|
|
689
|
-
}, t;
|
|
690
|
-
}()
|
|
691
|
-
);
|
|
692
|
-
}(), Xr = typeof window < "u" && typeof document < "u" && window.document === document, vr = function() {
|
|
693
|
-
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")();
|
|
694
|
-
}(), li = function() {
|
|
695
|
-
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(vr) : function(e) {
|
|
696
|
-
return setTimeout(function() {
|
|
697
|
-
return e(Date.now());
|
|
698
|
-
}, 1e3 / 60);
|
|
699
|
-
};
|
|
700
|
-
}(), vi = 2;
|
|
701
|
-
function di(e, t) {
|
|
702
|
-
var r = !1, n = !1, o = 0;
|
|
703
|
-
function i() {
|
|
704
|
-
r && (r = !1, e()), n && l();
|
|
705
|
-
}
|
|
706
|
-
function a() {
|
|
707
|
-
li(i);
|
|
708
|
-
}
|
|
709
|
-
function l() {
|
|
710
|
-
var c = Date.now();
|
|
711
|
-
if (r) {
|
|
712
|
-
if (c - o < vi)
|
|
713
|
-
return;
|
|
714
|
-
n = !0;
|
|
715
|
-
} else
|
|
716
|
-
r = !0, n = !1, setTimeout(a, t);
|
|
717
|
-
o = c;
|
|
718
|
-
}
|
|
719
|
-
return l;
|
|
720
|
-
}
|
|
721
|
-
var mi = 20, hi = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], yi = typeof MutationObserver < "u", gi = (
|
|
722
|
-
/** @class */
|
|
723
|
-
function() {
|
|
724
|
-
function e() {
|
|
725
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = di(this.refresh.bind(this), mi);
|
|
726
|
-
}
|
|
727
|
-
return e.prototype.addObserver = function(t) {
|
|
728
|
-
~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
|
|
729
|
-
}, e.prototype.removeObserver = function(t) {
|
|
730
|
-
var r = this.observers_, n = r.indexOf(t);
|
|
731
|
-
~n && r.splice(n, 1), !r.length && this.connected_ && this.disconnect_();
|
|
732
|
-
}, e.prototype.refresh = function() {
|
|
733
|
-
var t = this.updateObservers_();
|
|
734
|
-
t && this.refresh();
|
|
735
|
-
}, e.prototype.updateObservers_ = function() {
|
|
736
|
-
var t = this.observers_.filter(function(r) {
|
|
737
|
-
return r.gatherActive(), r.hasActive();
|
|
738
|
-
});
|
|
739
|
-
return t.forEach(function(r) {
|
|
740
|
-
return r.broadcastActive();
|
|
741
|
-
}), t.length > 0;
|
|
742
|
-
}, e.prototype.connect_ = function() {
|
|
743
|
-
!Xr || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), yi ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
744
|
-
attributes: !0,
|
|
745
|
-
childList: !0,
|
|
746
|
-
characterData: !0,
|
|
747
|
-
subtree: !0
|
|
748
|
-
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
749
|
-
}, e.prototype.disconnect_ = function() {
|
|
750
|
-
!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);
|
|
751
|
-
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
752
|
-
var r = t.propertyName, n = r === void 0 ? "" : r, o = hi.some(function(i) {
|
|
753
|
-
return !!~n.indexOf(i);
|
|
754
|
-
});
|
|
755
|
-
o && this.refresh();
|
|
756
|
-
}, e.getInstance = function() {
|
|
757
|
-
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
758
|
-
}, e.instance_ = null, e;
|
|
759
|
-
}()
|
|
760
|
-
), no = function(e, t) {
|
|
761
|
-
for (var r = 0, n = Object.keys(t); r < n.length; r++) {
|
|
762
|
-
var o = n[r];
|
|
763
|
-
Object.defineProperty(e, o, {
|
|
764
|
-
value: t[o],
|
|
765
|
-
enumerable: !1,
|
|
766
|
-
writable: !1,
|
|
767
|
-
configurable: !0
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
|
-
return e;
|
|
771
|
-
}, pt = function(e) {
|
|
772
|
-
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
773
|
-
return t || vr;
|
|
774
|
-
}, oo = pr(0, 0, 0, 0);
|
|
775
|
-
function dr(e) {
|
|
776
|
-
return parseFloat(e) || 0;
|
|
777
|
-
}
|
|
778
|
-
function Nn(e) {
|
|
779
|
-
for (var t = [], r = 1; r < arguments.length; r++)
|
|
780
|
-
t[r - 1] = arguments[r];
|
|
781
|
-
return t.reduce(function(n, o) {
|
|
782
|
-
var i = e["border-" + o + "-width"];
|
|
783
|
-
return n + dr(i);
|
|
784
|
-
}, 0);
|
|
785
|
-
}
|
|
786
|
-
function bi(e) {
|
|
787
|
-
for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, o = t; n < o.length; n++) {
|
|
788
|
-
var i = o[n], a = e["padding-" + i];
|
|
789
|
-
r[i] = dr(a);
|
|
790
|
-
}
|
|
791
|
-
return r;
|
|
792
|
-
}
|
|
793
|
-
function pi(e) {
|
|
794
|
-
var t = e.getBBox();
|
|
795
|
-
return pr(0, 0, t.width, t.height);
|
|
796
|
-
}
|
|
797
|
-
function Ei(e) {
|
|
798
|
-
var t = e.clientWidth, r = e.clientHeight;
|
|
799
|
-
if (!t && !r)
|
|
800
|
-
return oo;
|
|
801
|
-
var n = pt(e).getComputedStyle(e), o = bi(n), i = o.left + o.right, a = o.top + o.bottom, l = dr(n.width), c = dr(n.height);
|
|
802
|
-
if (n.boxSizing === "border-box" && (Math.round(l + i) !== t && (l -= Nn(n, "left", "right") + i), Math.round(c + a) !== r && (c -= Nn(n, "top", "bottom") + a)), !Si(e)) {
|
|
803
|
-
var s = Math.round(l + i) - t, d = Math.round(c + a) - r;
|
|
804
|
-
Math.abs(s) !== 1 && (l -= s), Math.abs(d) !== 1 && (c -= d);
|
|
805
|
-
}
|
|
806
|
-
return pr(o.left, o.top, l, c);
|
|
807
|
-
}
|
|
808
|
-
var wi = /* @__PURE__ */ function() {
|
|
809
|
-
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
810
|
-
return e instanceof pt(e).SVGGraphicsElement;
|
|
811
|
-
} : function(e) {
|
|
812
|
-
return e instanceof pt(e).SVGElement && typeof e.getBBox == "function";
|
|
813
|
-
};
|
|
814
|
-
}();
|
|
815
|
-
function Si(e) {
|
|
816
|
-
return e === pt(e).document.documentElement;
|
|
817
|
-
}
|
|
818
|
-
function Ci(e) {
|
|
819
|
-
return Xr ? wi(e) ? pi(e) : Ei(e) : oo;
|
|
820
|
-
}
|
|
821
|
-
function _i(e) {
|
|
822
|
-
var t = e.x, r = e.y, n = e.width, o = e.height, i = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, a = Object.create(i.prototype);
|
|
823
|
-
return no(a, {
|
|
824
|
-
x: t,
|
|
825
|
-
y: r,
|
|
826
|
-
width: n,
|
|
827
|
-
height: o,
|
|
828
|
-
top: r,
|
|
829
|
-
right: t + n,
|
|
830
|
-
bottom: o + r,
|
|
831
|
-
left: t
|
|
832
|
-
}), a;
|
|
833
|
-
}
|
|
834
|
-
function pr(e, t, r, n) {
|
|
835
|
-
return { x: e, y: t, width: r, height: n };
|
|
836
|
-
}
|
|
837
|
-
var Ri = (
|
|
838
|
-
/** @class */
|
|
839
|
-
function() {
|
|
840
|
-
function e(t) {
|
|
841
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = pr(0, 0, 0, 0), this.target = t;
|
|
842
|
-
}
|
|
843
|
-
return e.prototype.isActive = function() {
|
|
844
|
-
var t = Ci(this.target);
|
|
845
|
-
return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
|
|
846
|
-
}, e.prototype.broadcastRect = function() {
|
|
847
|
-
var t = this.contentRect_;
|
|
848
|
-
return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
|
|
849
|
-
}, e;
|
|
850
|
-
}()
|
|
851
|
-
), Pi = (
|
|
852
|
-
/** @class */
|
|
853
|
-
/* @__PURE__ */ function() {
|
|
854
|
-
function e(t, r) {
|
|
855
|
-
var n = _i(r);
|
|
856
|
-
no(this, { target: t, contentRect: n });
|
|
857
|
-
}
|
|
858
|
-
return e;
|
|
859
|
-
}()
|
|
860
|
-
), Ti = (
|
|
861
|
-
/** @class */
|
|
862
|
-
function() {
|
|
863
|
-
function e(t, r, n) {
|
|
864
|
-
if (this.activeObservations_ = [], this.observations_ = new ro(), typeof t != "function")
|
|
865
|
-
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
866
|
-
this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n;
|
|
867
|
-
}
|
|
868
|
-
return e.prototype.observe = function(t) {
|
|
869
|
-
if (!arguments.length)
|
|
870
|
-
throw new TypeError("1 argument required, but only 0 present.");
|
|
871
|
-
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
872
|
-
if (!(t instanceof pt(t).Element))
|
|
873
|
-
throw new TypeError('parameter 1 is not of type "Element".');
|
|
874
|
-
var r = this.observations_;
|
|
875
|
-
r.has(t) || (r.set(t, new Ri(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
876
|
-
}
|
|
877
|
-
}, e.prototype.unobserve = function(t) {
|
|
878
|
-
if (!arguments.length)
|
|
879
|
-
throw new TypeError("1 argument required, but only 0 present.");
|
|
880
|
-
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
881
|
-
if (!(t instanceof pt(t).Element))
|
|
882
|
-
throw new TypeError('parameter 1 is not of type "Element".');
|
|
883
|
-
var r = this.observations_;
|
|
884
|
-
r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
|
|
885
|
-
}
|
|
886
|
-
}, e.prototype.disconnect = function() {
|
|
887
|
-
this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
|
|
888
|
-
}, e.prototype.gatherActive = function() {
|
|
889
|
-
var t = this;
|
|
890
|
-
this.clearActive(), this.observations_.forEach(function(r) {
|
|
891
|
-
r.isActive() && t.activeObservations_.push(r);
|
|
892
|
-
});
|
|
893
|
-
}, e.prototype.broadcastActive = function() {
|
|
894
|
-
if (this.hasActive()) {
|
|
895
|
-
var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) {
|
|
896
|
-
return new Pi(n.target, n.broadcastRect());
|
|
897
|
-
});
|
|
898
|
-
this.callback_.call(t, r, t), this.clearActive();
|
|
899
|
-
}
|
|
900
|
-
}, e.prototype.clearActive = function() {
|
|
901
|
-
this.activeObservations_.splice(0);
|
|
902
|
-
}, e.prototype.hasActive = function() {
|
|
903
|
-
return this.activeObservations_.length > 0;
|
|
904
|
-
}, e;
|
|
905
|
-
}()
|
|
906
|
-
), io = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new ro(), ao = (
|
|
907
|
-
/** @class */
|
|
908
|
-
/* @__PURE__ */ function() {
|
|
909
|
-
function e(t) {
|
|
910
|
-
if (!(this instanceof e))
|
|
911
|
-
throw new TypeError("Cannot call a class as a function.");
|
|
912
|
-
if (!arguments.length)
|
|
913
|
-
throw new TypeError("1 argument required, but only 0 present.");
|
|
914
|
-
var r = gi.getInstance(), n = new Ti(t, r, this);
|
|
915
|
-
io.set(this, n);
|
|
916
|
-
}
|
|
917
|
-
return e;
|
|
918
|
-
}()
|
|
919
|
-
);
|
|
920
|
-
[
|
|
921
|
-
"observe",
|
|
922
|
-
"unobserve",
|
|
923
|
-
"disconnect"
|
|
924
|
-
].forEach(function(e) {
|
|
925
|
-
ao.prototype[e] = function() {
|
|
926
|
-
var t;
|
|
927
|
-
return (t = io.get(this))[e].apply(t, arguments);
|
|
928
|
-
};
|
|
929
|
-
});
|
|
930
|
-
var Mi = function() {
|
|
931
|
-
return typeof vr.ResizeObserver < "u" ? vr.ResizeObserver : ao;
|
|
932
|
-
}(), je = /* @__PURE__ */ new Map();
|
|
933
|
-
function uo(e) {
|
|
934
|
-
e.forEach(function(t) {
|
|
935
|
-
var r, n = t.target;
|
|
936
|
-
(r = je.get(n)) === null || r === void 0 || r.forEach(function(o) {
|
|
937
|
-
return o(n);
|
|
938
|
-
});
|
|
939
|
-
});
|
|
940
|
-
}
|
|
941
|
-
var so = new Mi(uo);
|
|
942
|
-
process.env.NODE_ENV;
|
|
943
|
-
process.env.NODE_ENV;
|
|
944
|
-
function Ni(e, t) {
|
|
945
|
-
je.has(e) || (je.set(e, /* @__PURE__ */ new Set()), so.observe(e)), je.get(e).add(t);
|
|
946
|
-
}
|
|
947
|
-
function Ai(e, t) {
|
|
948
|
-
je.has(e) && (je.get(e).delete(t), je.get(e).size || (so.unobserve(e), je.delete(e)));
|
|
949
|
-
}
|
|
950
|
-
function vn(e, t) {
|
|
951
|
-
if (!(e instanceof t))
|
|
952
|
-
throw new TypeError("Cannot call a class as a function");
|
|
953
|
-
}
|
|
954
|
-
function An(e, t) {
|
|
955
|
-
for (var r = 0; r < t.length; r++) {
|
|
956
|
-
var n = t[r];
|
|
957
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Kn(n.key), n);
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
function dn(e, t, r) {
|
|
961
|
-
return t && An(e.prototype, t), r && An(e, r), Object.defineProperty(e, "prototype", {
|
|
962
|
-
writable: !1
|
|
963
|
-
}), e;
|
|
964
|
-
}
|
|
965
|
-
function mn(e, t) {
|
|
966
|
-
if (typeof t != "function" && t !== null)
|
|
967
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
968
|
-
e.prototype = Object.create(t && t.prototype, {
|
|
969
|
-
constructor: {
|
|
970
|
-
value: e,
|
|
971
|
-
writable: !0,
|
|
972
|
-
configurable: !0
|
|
973
|
-
}
|
|
974
|
-
}), Object.defineProperty(e, "prototype", {
|
|
975
|
-
writable: !1
|
|
976
|
-
}), t && Lo(e, t);
|
|
977
|
-
}
|
|
978
|
-
function mr(e) {
|
|
979
|
-
return mr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
|
|
980
|
-
return r.__proto__ || Object.getPrototypeOf(r);
|
|
981
|
-
}, mr(e);
|
|
982
|
-
}
|
|
983
|
-
function co() {
|
|
984
|
-
try {
|
|
985
|
-
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
986
|
-
}));
|
|
987
|
-
} catch {
|
|
988
|
-
}
|
|
989
|
-
return (co = function() {
|
|
990
|
-
return !!e;
|
|
991
|
-
})();
|
|
992
|
-
}
|
|
993
|
-
function Oi(e, t) {
|
|
994
|
-
if (t && (Se(t) === "object" || typeof t == "function"))
|
|
995
|
-
return t;
|
|
996
|
-
if (t !== void 0)
|
|
997
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
998
|
-
return Br(e);
|
|
999
|
-
}
|
|
1000
|
-
function hn(e) {
|
|
1001
|
-
var t = co();
|
|
1002
|
-
return function() {
|
|
1003
|
-
var n = mr(e), o;
|
|
1004
|
-
if (t) {
|
|
1005
|
-
var i = mr(this).constructor;
|
|
1006
|
-
o = Reflect.construct(n, arguments, i);
|
|
1007
|
-
} else
|
|
1008
|
-
o = n.apply(this, arguments);
|
|
1009
|
-
return Oi(this, o);
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
1012
|
-
var Di = /* @__PURE__ */ function(e) {
|
|
1013
|
-
mn(r, e);
|
|
1014
|
-
var t = hn(r);
|
|
1015
|
-
function r() {
|
|
1016
|
-
return vn(this, r), t.apply(this, arguments);
|
|
1017
|
-
}
|
|
1018
|
-
return dn(r, [{
|
|
1019
|
-
key: "render",
|
|
1020
|
-
value: function() {
|
|
1021
|
-
return this.props.children;
|
|
1022
|
-
}
|
|
1023
|
-
}]), r;
|
|
1024
|
-
}(u.Component);
|
|
1025
|
-
function Li(e, t) {
|
|
1026
|
-
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({
|
|
1027
|
-
width: -1,
|
|
1028
|
-
height: -1,
|
|
1029
|
-
offsetWidth: -1,
|
|
1030
|
-
offsetHeight: -1
|
|
1031
|
-
}), d = !l && /* @__PURE__ */ u.isValidElement(c) && gr(c), v = d ? c.ref : null, y = cn(v, o), m = function() {
|
|
1032
|
-
var S;
|
|
1033
|
-
return sr(o.current) || // Support `nativeElement` format
|
|
1034
|
-
(o.current && Se(o.current) === "object" ? sr((S = o.current) === null || S === void 0 ? void 0 : S.nativeElement) : null) || sr(i.current);
|
|
1035
|
-
};
|
|
1036
|
-
u.useImperativeHandle(t, function() {
|
|
1037
|
-
return m();
|
|
1038
|
-
});
|
|
1039
|
-
var b = u.useRef(e);
|
|
1040
|
-
b.current = e;
|
|
1041
|
-
var E = u.useCallback(function(f) {
|
|
1042
|
-
var S = b.current, N = S.onResize, P = S.data, p = f.getBoundingClientRect(), _ = p.width, D = p.height, A = f.offsetWidth, W = f.offsetHeight, Y = Math.floor(_), H = Math.floor(D);
|
|
1043
|
-
if (s.current.width !== Y || s.current.height !== H || s.current.offsetWidth !== A || s.current.offsetHeight !== W) {
|
|
1044
|
-
var $ = {
|
|
1045
|
-
width: Y,
|
|
1046
|
-
height: H,
|
|
1047
|
-
offsetWidth: A,
|
|
1048
|
-
offsetHeight: W
|
|
1049
|
-
};
|
|
1050
|
-
s.current = $;
|
|
1051
|
-
var j = A === Math.round(_) ? _ : A, I = W === Math.round(D) ? D : W, F = w(w({}, $), {}, {
|
|
1052
|
-
offsetWidth: j,
|
|
1053
|
-
offsetHeight: I
|
|
1054
|
-
});
|
|
1055
|
-
a == null || a(F, f, P), N && Promise.resolve().then(function() {
|
|
1056
|
-
N(F, f);
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
}, []);
|
|
1060
|
-
return u.useEffect(function() {
|
|
1061
|
-
var f = m();
|
|
1062
|
-
return f && !n && Ni(f, E), function() {
|
|
1063
|
-
return Ai(f, E);
|
|
1064
|
-
};
|
|
1065
|
-
}, [o.current, n]), /* @__PURE__ */ u.createElement(Di, {
|
|
1066
|
-
ref: i
|
|
1067
|
-
}, d ? /* @__PURE__ */ u.cloneElement(c, {
|
|
1068
|
-
ref: y
|
|
1069
|
-
}) : c);
|
|
1070
|
-
}
|
|
1071
|
-
var fo = /* @__PURE__ */ u.forwardRef(Li);
|
|
1072
|
-
process.env.NODE_ENV !== "production" && (fo.displayName = "SingleObserver");
|
|
1073
|
-
var xi = "rc-observer-key";
|
|
1074
|
-
function ki(e, t) {
|
|
1075
|
-
var r = e.children, n = typeof r == "function" ? [r] : Jr(r);
|
|
1076
|
-
return process.env.NODE_ENV !== "production" && (n.length > 1 ? lr(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && lr(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(o, i) {
|
|
1077
|
-
var a = (o == null ? void 0 : o.key) || "".concat(xi, "-").concat(i);
|
|
1078
|
-
return /* @__PURE__ */ u.createElement(fo, Dt({}, e, {
|
|
1079
|
-
key: a,
|
|
1080
|
-
ref: i === 0 ? t : void 0
|
|
1081
|
-
}), o);
|
|
1082
|
-
});
|
|
1083
|
-
}
|
|
1084
|
-
var Er = /* @__PURE__ */ u.forwardRef(ki);
|
|
1085
|
-
process.env.NODE_ENV !== "production" && (Er.displayName = "ResizeObserver");
|
|
1086
|
-
Er.Collection = fi;
|
|
1087
|
-
function lo(e) {
|
|
1088
|
-
var t;
|
|
1089
|
-
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
1090
|
-
}
|
|
1091
|
-
function $i(e) {
|
|
1092
|
-
return lo(e) instanceof ShadowRoot;
|
|
1093
|
-
}
|
|
1094
|
-
function en(e) {
|
|
1095
|
-
return $i(e) ? lo(e) : null;
|
|
1096
|
-
}
|
|
1097
|
-
function Qe(e) {
|
|
1098
|
-
var t = u.useRef();
|
|
1099
|
-
t.current = e;
|
|
1100
|
-
var r = u.useCallback(function() {
|
|
1101
|
-
for (var n, o = arguments.length, i = new Array(o), a = 0; a < o; a++)
|
|
1102
|
-
i[a] = arguments[a];
|
|
1103
|
-
return (n = t.current) === null || n === void 0 ? void 0 : n.call.apply(n, [t].concat(i));
|
|
1104
|
-
}, []);
|
|
1105
|
-
return r;
|
|
1106
|
-
}
|
|
1107
|
-
function Ii() {
|
|
1108
|
-
var e = w({}, u);
|
|
1109
|
-
return e.useId;
|
|
1110
|
-
}
|
|
1111
|
-
var On = 0, Dn = Ii();
|
|
1112
|
-
const zi = Dn ? (
|
|
1113
|
-
// Use React `useId`
|
|
1114
|
-
function(t) {
|
|
1115
|
-
var r = Dn();
|
|
1116
|
-
return t || (process.env.NODE_ENV === "test" ? "test-id" : r);
|
|
1117
|
-
}
|
|
1118
|
-
) : (
|
|
1119
|
-
// Use compatible of `useId`
|
|
1120
|
-
function(t) {
|
|
1121
|
-
var r = u.useState("ssr-id"), n = L(r, 2), o = n[0], i = n[1];
|
|
1122
|
-
return u.useEffect(function() {
|
|
1123
|
-
var a = On;
|
|
1124
|
-
On += 1, i("rc_unique_".concat(a));
|
|
1125
|
-
}, []), t || (process.env.NODE_ENV === "test" ? "test-id" : o);
|
|
1126
|
-
}
|
|
1127
|
-
), Vi = function() {
|
|
1128
|
-
if (typeof navigator > "u" || typeof window > "u")
|
|
1129
|
-
return !1;
|
|
1130
|
-
var e = navigator.userAgent || navigator.vendor || window.opera;
|
|
1131
|
-
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));
|
|
1132
|
-
};
|
|
1133
|
-
var Wi = /* @__PURE__ */ u.createContext({}), ji = /* @__PURE__ */ function(e) {
|
|
1134
|
-
mn(r, e);
|
|
1135
|
-
var t = hn(r);
|
|
1136
|
-
function r() {
|
|
1137
|
-
return vn(this, r), t.apply(this, arguments);
|
|
1138
|
-
}
|
|
1139
|
-
return dn(r, [{
|
|
1140
|
-
key: "render",
|
|
1141
|
-
value: function() {
|
|
1142
|
-
return this.props.children;
|
|
1143
|
-
}
|
|
1144
|
-
}]), r;
|
|
1145
|
-
}(u.Component);
|
|
1146
|
-
function cr(e) {
|
|
1147
|
-
var t = u.useRef(!1), r = u.useState(e), n = L(r, 2), o = n[0], i = n[1];
|
|
1148
|
-
u.useEffect(function() {
|
|
1149
|
-
return t.current = !1, function() {
|
|
1150
|
-
t.current = !0;
|
|
1151
|
-
};
|
|
1152
|
-
}, []);
|
|
1153
|
-
function a(l, c) {
|
|
1154
|
-
c && t.current || i(l);
|
|
1155
|
-
}
|
|
1156
|
-
return [o, a];
|
|
1157
|
-
}
|
|
1158
|
-
var Ke = "none", rr = "appear", nr = "enter", or = "leave", Ln = "none", Ne = "prepare", gt = "start", bt = "active", yn = "end", vo = "prepared";
|
|
1159
|
-
function xn(e, t) {
|
|
1160
|
-
var r = {};
|
|
1161
|
-
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;
|
|
1162
|
-
}
|
|
1163
|
-
function Fi(e, t) {
|
|
1164
|
-
var r = {
|
|
1165
|
-
animationend: xn("Animation", "AnimationEnd"),
|
|
1166
|
-
transitionend: xn("Transition", "TransitionEnd")
|
|
1167
|
-
};
|
|
1168
|
-
return e && ("AnimationEvent" in t || delete r.animationend.animation, "TransitionEvent" in t || delete r.transitionend.transition), r;
|
|
1169
|
-
}
|
|
1170
|
-
var Hi = Fi(xe(), typeof window < "u" ? window : {}), mo = {};
|
|
1171
|
-
if (xe()) {
|
|
1172
|
-
var Bi = document.createElement("div");
|
|
1173
|
-
mo = Bi.style;
|
|
1174
|
-
}
|
|
1175
|
-
var ir = {};
|
|
1176
|
-
function ho(e) {
|
|
1177
|
-
if (ir[e])
|
|
1178
|
-
return ir[e];
|
|
1179
|
-
var t = Hi[e];
|
|
1180
|
-
if (t)
|
|
1181
|
-
for (var r = Object.keys(t), n = r.length, o = 0; o < n; o += 1) {
|
|
1182
|
-
var i = r[o];
|
|
1183
|
-
if (Object.prototype.hasOwnProperty.call(t, i) && i in mo)
|
|
1184
|
-
return ir[e] = t[i], ir[e];
|
|
1185
|
-
}
|
|
1186
|
-
return "";
|
|
1187
|
-
}
|
|
1188
|
-
var yo = ho("animationend"), go = ho("transitionend"), bo = !!(yo && go), kn = yo || "animationend", $n = go || "transitionend";
|
|
1189
|
-
function In(e, t) {
|
|
1190
|
-
if (!e) return null;
|
|
1191
|
-
if (Se(e) === "object") {
|
|
1192
|
-
var r = t.replace(/-\w/g, function(n) {
|
|
1193
|
-
return n[1].toUpperCase();
|
|
1194
|
-
});
|
|
1195
|
-
return e[r];
|
|
1196
|
-
}
|
|
1197
|
-
return "".concat(e, "-").concat(t);
|
|
1198
|
-
}
|
|
1199
|
-
const Ui = function(e) {
|
|
1200
|
-
var t = ut();
|
|
1201
|
-
function r(o) {
|
|
1202
|
-
o && (o.removeEventListener($n, e), o.removeEventListener(kn, e));
|
|
1203
|
-
}
|
|
1204
|
-
function n(o) {
|
|
1205
|
-
t.current && t.current !== o && r(t.current), o && o !== t.current && (o.addEventListener($n, e), o.addEventListener(kn, e), t.current = o);
|
|
1206
|
-
}
|
|
1207
|
-
return u.useEffect(function() {
|
|
1208
|
-
return function() {
|
|
1209
|
-
r(t.current);
|
|
1210
|
-
};
|
|
1211
|
-
}, []), [n, r];
|
|
1212
|
-
};
|
|
1213
|
-
var po = xe() ? No : ar, Eo = function(t) {
|
|
1214
|
-
return +setTimeout(t, 16);
|
|
1215
|
-
}, wo = function(t) {
|
|
1216
|
-
return clearTimeout(t);
|
|
1217
|
-
};
|
|
1218
|
-
typeof window < "u" && "requestAnimationFrame" in window && (Eo = function(t) {
|
|
1219
|
-
return window.requestAnimationFrame(t);
|
|
1220
|
-
}, wo = function(t) {
|
|
1221
|
-
return window.cancelAnimationFrame(t);
|
|
1222
|
-
});
|
|
1223
|
-
var zn = 0, wr = /* @__PURE__ */ new Map();
|
|
1224
|
-
function So(e) {
|
|
1225
|
-
wr.delete(e);
|
|
1226
|
-
}
|
|
1227
|
-
var hr = function(t) {
|
|
1228
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
1229
|
-
zn += 1;
|
|
1230
|
-
var n = zn;
|
|
1231
|
-
function o(i) {
|
|
1232
|
-
if (i === 0)
|
|
1233
|
-
So(n), t();
|
|
1234
|
-
else {
|
|
1235
|
-
var a = Eo(function() {
|
|
1236
|
-
o(i - 1);
|
|
1237
|
-
});
|
|
1238
|
-
wr.set(n, a);
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
return o(r), n;
|
|
1242
|
-
};
|
|
1243
|
-
hr.cancel = function(e) {
|
|
1244
|
-
var t = wr.get(e);
|
|
1245
|
-
return So(e), wo(t);
|
|
1246
|
-
};
|
|
1247
|
-
process.env.NODE_ENV !== "production" && (hr.ids = function() {
|
|
1248
|
-
return wr;
|
|
1249
|
-
});
|
|
1250
|
-
const qi = function() {
|
|
1251
|
-
var e = u.useRef(null);
|
|
1252
|
-
function t() {
|
|
1253
|
-
hr.cancel(e.current);
|
|
1254
|
-
}
|
|
1255
|
-
function r(n) {
|
|
1256
|
-
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
|
|
1257
|
-
t();
|
|
1258
|
-
var i = hr(function() {
|
|
1259
|
-
o <= 1 ? n({
|
|
1260
|
-
isCanceled: function() {
|
|
1261
|
-
return i !== e.current;
|
|
1262
|
-
}
|
|
1263
|
-
}) : r(n, o - 1);
|
|
1264
|
-
});
|
|
1265
|
-
e.current = i;
|
|
1266
|
-
}
|
|
1267
|
-
return u.useEffect(function() {
|
|
1268
|
-
return function() {
|
|
1269
|
-
t();
|
|
1270
|
-
};
|
|
1271
|
-
}, []), [r, t];
|
|
1272
|
-
};
|
|
1273
|
-
var Ki = [Ne, gt, bt, yn], Qi = [Ne, vo], Co = !1, Gi = !0;
|
|
1274
|
-
function _o(e) {
|
|
1275
|
-
return e === bt || e === yn;
|
|
1276
|
-
}
|
|
1277
|
-
const Zi = function(e, t, r) {
|
|
1278
|
-
var n = cr(Ln), o = L(n, 2), i = o[0], a = o[1], l = qi(), c = L(l, 2), s = c[0], d = c[1];
|
|
1279
|
-
function v() {
|
|
1280
|
-
a(Ne, !0);
|
|
1281
|
-
}
|
|
1282
|
-
var y = t ? Qi : Ki;
|
|
1283
|
-
return po(function() {
|
|
1284
|
-
if (i !== Ln && i !== yn) {
|
|
1285
|
-
var m = y.indexOf(i), b = y[m + 1], E = r(i);
|
|
1286
|
-
E === Co ? a(b, !0) : b && s(function(f) {
|
|
1287
|
-
function S() {
|
|
1288
|
-
f.isCanceled() || a(b, !0);
|
|
1289
|
-
}
|
|
1290
|
-
E === !0 ? S() : Promise.resolve(E).then(S);
|
|
1291
|
-
});
|
|
1292
|
-
}
|
|
1293
|
-
}, [e, i]), u.useEffect(function() {
|
|
1294
|
-
return function() {
|
|
1295
|
-
d();
|
|
1296
|
-
};
|
|
1297
|
-
}, []), [v, i];
|
|
1298
|
-
};
|
|
1299
|
-
function Ji(e, t, r, n) {
|
|
1300
|
-
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, W = n.onVisibleChanged, Y = cr(), H = L(Y, 2), $ = H[0], j = H[1], I = cr(Ke), F = L(I, 2), O = F[0], M = F[1], x = cr(null), T = L(x, 2), B = T[0], k = T[1], re = ut(!1), ne = ut(null);
|
|
1301
|
-
function ge() {
|
|
1302
|
-
return r();
|
|
1303
|
-
}
|
|
1304
|
-
var Ce = ut(!1);
|
|
1305
|
-
function le() {
|
|
1306
|
-
M(Ke, !0), k(null, !0);
|
|
1307
|
-
}
|
|
1308
|
-
var _e = Qe(function(R) {
|
|
1309
|
-
if (O !== Ke) {
|
|
1310
|
-
var U = ge();
|
|
1311
|
-
if (!(R && !R.deadline && R.target !== U)) {
|
|
1312
|
-
var q = Ce.current, ke;
|
|
1313
|
-
O === rr && q ? ke = _ == null ? void 0 : _(U, R) : O === nr && q ? ke = D == null ? void 0 : D(U, R) : O === or && q && (ke = A == null ? void 0 : A(U, R)), q && ke !== !1 && le();
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
}), ue = Ui(_e), K = L(ue, 1), ae = K[0], se = function(U) {
|
|
1317
|
-
switch (U) {
|
|
1318
|
-
case rr:
|
|
1319
|
-
return fe(fe(fe({}, Ne, y), gt, E), bt, N);
|
|
1320
|
-
case nr:
|
|
1321
|
-
return fe(fe(fe({}, Ne, m), gt, f), bt, P);
|
|
1322
|
-
case or:
|
|
1323
|
-
return fe(fe(fe({}, Ne, b), gt, S), bt, p);
|
|
1324
|
-
default:
|
|
1325
|
-
return {};
|
|
1326
|
-
}
|
|
1327
|
-
}, oe = u.useMemo(function() {
|
|
1328
|
-
return se(O);
|
|
1329
|
-
}, [O]), Oe = Zi(O, !e, function(R) {
|
|
1330
|
-
if (R === Ne) {
|
|
1331
|
-
var U = oe[Ne];
|
|
1332
|
-
return U ? U(ge()) : Co;
|
|
1333
|
-
}
|
|
1334
|
-
if (ie in oe) {
|
|
1335
|
-
var q;
|
|
1336
|
-
k(((q = oe[ie]) === null || q === void 0 ? void 0 : q.call(oe, ge(), null)) || null);
|
|
1337
|
-
}
|
|
1338
|
-
return ie === bt && O !== Ke && (ae(ge()), d > 0 && (clearTimeout(ne.current), ne.current = setTimeout(function() {
|
|
1339
|
-
_e({
|
|
1340
|
-
deadline: !0
|
|
1341
|
-
});
|
|
1342
|
-
}, d))), ie === vo && le(), Gi;
|
|
1343
|
-
}), De = L(Oe, 2), h = De[0], ie = De[1], ce = _o(ie);
|
|
1344
|
-
Ce.current = ce, po(function() {
|
|
1345
|
-
j(t);
|
|
1346
|
-
var R = re.current;
|
|
1347
|
-
re.current = !0;
|
|
1348
|
-
var U;
|
|
1349
|
-
!R && t && l && (U = rr), R && t && i && (U = nr), (R && !t && s || !R && v && !t && s) && (U = or);
|
|
1350
|
-
var q = se(U);
|
|
1351
|
-
U && (e || q[Ne]) ? (M(U), h()) : M(Ke);
|
|
1352
|
-
}, [t]), ar(function() {
|
|
1353
|
-
// Cancel appear
|
|
1354
|
-
(O === rr && !l || // Cancel enter
|
|
1355
|
-
O === nr && !i || // Cancel leave
|
|
1356
|
-
O === or && !s) && M(Ke);
|
|
1357
|
-
}, [l, i, s]), ar(function() {
|
|
1358
|
-
return function() {
|
|
1359
|
-
re.current = !1, clearTimeout(ne.current);
|
|
1360
|
-
};
|
|
1361
|
-
}, []);
|
|
1362
|
-
var X = u.useRef(!1);
|
|
1363
|
-
ar(function() {
|
|
1364
|
-
$ && (X.current = !0), $ !== void 0 && O === Ke && ((X.current || $) && (W == null || W($)), X.current = !0);
|
|
1365
|
-
}, [$, O]);
|
|
1366
|
-
var me = B;
|
|
1367
|
-
return oe[Ne] && ie === gt && (me = w({
|
|
1368
|
-
transition: "none"
|
|
1369
|
-
}, me)), [O, ie, me, $ ?? t];
|
|
1370
|
-
}
|
|
1371
|
-
function Yi(e) {
|
|
1372
|
-
var t = e;
|
|
1373
|
-
Se(e) === "object" && (t = e.transitionSupport);
|
|
1374
|
-
function r(o, i) {
|
|
1375
|
-
return !!(o.motionName && t && i !== !1);
|
|
1376
|
-
}
|
|
1377
|
-
var n = /* @__PURE__ */ u.forwardRef(function(o, i) {
|
|
1378
|
-
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(Wi), f = E.motion, S = r(o, f), N = ut(), P = ut();
|
|
1379
|
-
function p() {
|
|
1380
|
-
try {
|
|
1381
|
-
return N.current instanceof HTMLElement ? N.current : sr(P.current);
|
|
1382
|
-
} catch {
|
|
1383
|
-
return null;
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
var _ = Ji(S, l, p, o), D = L(_, 4), A = D[0], W = D[1], Y = D[2], H = D[3], $ = u.useRef(H);
|
|
1387
|
-
H && ($.current = !0);
|
|
1388
|
-
var j = u.useCallback(function(B) {
|
|
1389
|
-
N.current = B, sn(i, B);
|
|
1390
|
-
}, [i]), I, F = w(w({}, b), {}, {
|
|
1391
|
-
visible: l
|
|
1392
|
-
});
|
|
1393
|
-
if (!v)
|
|
1394
|
-
I = null;
|
|
1395
|
-
else if (A === Ke)
|
|
1396
|
-
H ? I = v(w({}, F), j) : !s && $.current && m ? I = v(w(w({}, F), {}, {
|
|
1397
|
-
className: m
|
|
1398
|
-
}), j) : d || !s && !m ? I = v(w(w({}, F), {}, {
|
|
1399
|
-
style: {
|
|
1400
|
-
display: "none"
|
|
1401
|
-
}
|
|
1402
|
-
}), j) : I = null;
|
|
1403
|
-
else {
|
|
1404
|
-
var O;
|
|
1405
|
-
W === Ne ? O = "prepare" : _o(W) ? O = "active" : W === gt && (O = "start");
|
|
1406
|
-
var M = In(y, "".concat(A, "-").concat(O));
|
|
1407
|
-
I = v(w(w({}, F), {}, {
|
|
1408
|
-
className: Ae(In(y, A), fe(fe({}, M, M && O), y, typeof y == "string")),
|
|
1409
|
-
style: Y
|
|
1410
|
-
}), j);
|
|
1411
|
-
}
|
|
1412
|
-
if (/* @__PURE__ */ u.isValidElement(I) && gr(I)) {
|
|
1413
|
-
var x = I, T = x.ref;
|
|
1414
|
-
T || (I = /* @__PURE__ */ u.cloneElement(I, {
|
|
1415
|
-
ref: j
|
|
1416
|
-
}));
|
|
1417
|
-
}
|
|
1418
|
-
return /* @__PURE__ */ u.createElement(ji, {
|
|
1419
|
-
ref: P
|
|
1420
|
-
}, I);
|
|
1421
|
-
});
|
|
1422
|
-
return n.displayName = "CSSMotion", n;
|
|
1423
|
-
}
|
|
1424
|
-
const gn = Yi(bo);
|
|
1425
|
-
var tn = "add", rn = "keep", nn = "remove", Fr = "removed";
|
|
1426
|
-
function Xi(e) {
|
|
1427
|
-
var t;
|
|
1428
|
-
return e && Se(e) === "object" && "key" in e ? t = e : t = {
|
|
1429
|
-
key: e
|
|
1430
|
-
}, w(w({}, t), {}, {
|
|
1431
|
-
key: String(t.key)
|
|
1432
|
-
});
|
|
1433
|
-
}
|
|
1434
|
-
function on() {
|
|
1435
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
1436
|
-
return e.map(Xi);
|
|
1437
|
-
}
|
|
1438
|
-
function ea() {
|
|
1439
|
-
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);
|
|
1440
|
-
i.forEach(function(s) {
|
|
1441
|
-
for (var d = !1, v = n; v < o; v += 1) {
|
|
1442
|
-
var y = a[v];
|
|
1443
|
-
if (y.key === s.key) {
|
|
1444
|
-
n < v && (r = r.concat(a.slice(n, v).map(function(m) {
|
|
1445
|
-
return w(w({}, m), {}, {
|
|
1446
|
-
status: tn
|
|
1447
|
-
});
|
|
1448
|
-
})), n = v), r.push(w(w({}, y), {}, {
|
|
1449
|
-
status: rn
|
|
1450
|
-
})), n += 1, d = !0;
|
|
1451
|
-
break;
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
d || r.push(w(w({}, s), {}, {
|
|
1455
|
-
status: nn
|
|
1456
|
-
}));
|
|
1457
|
-
}), n < o && (r = r.concat(a.slice(n).map(function(s) {
|
|
1458
|
-
return w(w({}, s), {}, {
|
|
1459
|
-
status: tn
|
|
1460
|
-
});
|
|
1461
|
-
})));
|
|
1462
|
-
var l = {};
|
|
1463
|
-
r.forEach(function(s) {
|
|
1464
|
-
var d = s.key;
|
|
1465
|
-
l[d] = (l[d] || 0) + 1;
|
|
1466
|
-
});
|
|
1467
|
-
var c = Object.keys(l).filter(function(s) {
|
|
1468
|
-
return l[s] > 1;
|
|
1469
|
-
});
|
|
1470
|
-
return c.forEach(function(s) {
|
|
1471
|
-
r = r.filter(function(d) {
|
|
1472
|
-
var v = d.key, y = d.status;
|
|
1473
|
-
return v !== s || y !== nn;
|
|
1474
|
-
}), r.forEach(function(d) {
|
|
1475
|
-
d.key === s && (d.status = rn);
|
|
1476
|
-
});
|
|
1477
|
-
}), r;
|
|
1478
|
-
}
|
|
1479
|
-
var ta = ["component", "children", "onVisibleChanged", "onAllRemoved"], ra = ["status"], na = ["eventProps", "visible", "children", "motionName", "motionAppear", "motionEnter", "motionLeave", "motionLeaveImmediately", "motionDeadline", "removeOnLeave", "leavedClassName", "onAppearPrepare", "onAppearStart", "onAppearActive", "onAppearEnd", "onEnterStart", "onEnterActive", "onEnterEnd", "onLeaveStart", "onLeaveActive", "onLeaveEnd"];
|
|
1480
|
-
function oa(e) {
|
|
1481
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : gn, r = /* @__PURE__ */ function(n) {
|
|
1482
|
-
mn(i, n);
|
|
1483
|
-
var o = hn(i);
|
|
1484
|
-
function i() {
|
|
1485
|
-
var a;
|
|
1486
|
-
vn(this, i);
|
|
1487
|
-
for (var l = arguments.length, c = new Array(l), s = 0; s < l; s++)
|
|
1488
|
-
c[s] = arguments[s];
|
|
1489
|
-
return a = o.call.apply(o, [this].concat(c)), fe(Br(a), "state", {
|
|
1490
|
-
keyEntities: []
|
|
1491
|
-
}), fe(Br(a), "removeKey", function(d) {
|
|
1492
|
-
var v = a.state.keyEntities, y = v.map(function(m) {
|
|
1493
|
-
return m.key !== d ? m : w(w({}, m), {}, {
|
|
1494
|
-
status: Fr
|
|
1495
|
-
});
|
|
1496
|
-
});
|
|
1497
|
-
return a.setState({
|
|
1498
|
-
keyEntities: y
|
|
1499
|
-
}), y.filter(function(m) {
|
|
1500
|
-
var b = m.status;
|
|
1501
|
-
return b !== Fr;
|
|
1502
|
-
}).length;
|
|
1503
|
-
}), a;
|
|
1504
|
-
}
|
|
1505
|
-
return dn(i, [{
|
|
1506
|
-
key: "render",
|
|
1507
|
-
value: function() {
|
|
1508
|
-
var l = this, c = this.state.keyEntities, s = this.props, d = s.component, v = s.children, y = s.onVisibleChanged, m = s.onAllRemoved, b = fr(s, ta), E = d || u.Fragment, f = {};
|
|
1509
|
-
return na.forEach(function(S) {
|
|
1510
|
-
f[S] = b[S], delete b[S];
|
|
1511
|
-
}), delete b.keys, /* @__PURE__ */ u.createElement(E, b, c.map(function(S, N) {
|
|
1512
|
-
var P = S.status, p = fr(S, ra), _ = P === tn || P === rn;
|
|
1513
|
-
return /* @__PURE__ */ u.createElement(t, Dt({}, f, {
|
|
1514
|
-
key: p.key,
|
|
1515
|
-
visible: _,
|
|
1516
|
-
eventProps: p,
|
|
1517
|
-
onVisibleChanged: function(A) {
|
|
1518
|
-
if (y == null || y(A, {
|
|
1519
|
-
key: p.key
|
|
1520
|
-
}), !A) {
|
|
1521
|
-
var W = l.removeKey(p.key);
|
|
1522
|
-
W === 0 && m && m();
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
}), function(D, A) {
|
|
1526
|
-
return v(w(w({}, D), {}, {
|
|
1527
|
-
index: N
|
|
1528
|
-
}), A);
|
|
1529
|
-
});
|
|
1530
|
-
}));
|
|
1531
|
-
}
|
|
1532
|
-
}], [{
|
|
1533
|
-
key: "getDerivedStateFromProps",
|
|
1534
|
-
value: function(l, c) {
|
|
1535
|
-
var s = l.keys, d = c.keyEntities, v = on(s), y = ea(d, v);
|
|
1536
|
-
return {
|
|
1537
|
-
keyEntities: y.filter(function(m) {
|
|
1538
|
-
var b = d.find(function(E) {
|
|
1539
|
-
var f = E.key;
|
|
1540
|
-
return m.key === f;
|
|
1541
|
-
});
|
|
1542
|
-
return !(b && b.status === Fr && m.status === nn);
|
|
1543
|
-
})
|
|
1544
|
-
};
|
|
1545
|
-
}
|
|
1546
|
-
}]), i;
|
|
1547
|
-
}(u.Component);
|
|
1548
|
-
return fe(r, "defaultProps", {
|
|
1549
|
-
component: "div"
|
|
1550
|
-
}), r;
|
|
1551
|
-
}
|
|
1552
|
-
oa(bo);
|
|
1553
|
-
function ia(e) {
|
|
1554
|
-
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();
|
|
1555
|
-
if (!r || !r.points)
|
|
1556
|
-
return null;
|
|
1557
|
-
var m = {
|
|
1558
|
-
position: "absolute"
|
|
1559
|
-
};
|
|
1560
|
-
if (r.autoArrow !== !1) {
|
|
1561
|
-
var b = r.points[0], E = r.points[1], f = b[0], S = b[1], N = E[0], P = E[1];
|
|
1562
|
-
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;
|
|
1563
|
-
}
|
|
1564
|
-
return /* @__PURE__ */ u.createElement("div", {
|
|
1565
|
-
ref: y,
|
|
1566
|
-
className: Ae("".concat(t, "-arrow"), a),
|
|
1567
|
-
style: m
|
|
1568
|
-
}, l);
|
|
1569
|
-
}
|
|
1570
|
-
function aa(e) {
|
|
1571
|
-
var t = e.prefixCls, r = e.open, n = e.zIndex, o = e.mask, i = e.motion;
|
|
1572
|
-
return o ? /* @__PURE__ */ u.createElement(gn, Dt({}, i, {
|
|
1573
|
-
motionAppear: !0,
|
|
1574
|
-
visible: r,
|
|
1575
|
-
removeOnLeave: !0
|
|
1576
|
-
}), function(a) {
|
|
1577
|
-
var l = a.className;
|
|
1578
|
-
return /* @__PURE__ */ u.createElement("div", {
|
|
1579
|
-
style: {
|
|
1580
|
-
zIndex: n
|
|
1581
|
-
},
|
|
1582
|
-
className: Ae("".concat(t, "-mask"), l)
|
|
1583
|
-
});
|
|
1584
|
-
}) : null;
|
|
1585
|
-
}
|
|
1586
|
-
var Ro = /* @__PURE__ */ u.memo(function(e) {
|
|
1587
|
-
var t = e.children;
|
|
1588
|
-
return t;
|
|
1589
|
-
}, function(e, t) {
|
|
1590
|
-
return t.cache;
|
|
1591
|
-
});
|
|
1592
|
-
process.env.NODE_ENV !== "production" && (Ro.displayName = "PopupContent");
|
|
1593
|
-
var Po = /* @__PURE__ */ u.forwardRef(function(e, t) {
|
|
1594
|
-
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, W = e.onMouseLeave, Y = e.onPointerEnter, H = e.ready, $ = e.offsetX, j = e.offsetY, I = e.offsetR, F = e.offsetB, O = e.onAlign, M = e.onPrepare, x = 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, ge = u.useState(!P || !ne), Ce = L(ge, 2), le = Ce[0], _e = Ce[1];
|
|
1595
|
-
if (ye(function() {
|
|
1596
|
-
!le && ne && a && _e(!0);
|
|
1597
|
-
}, [le, ne, a]), !le)
|
|
1598
|
-
return null;
|
|
1599
|
-
var ue = "auto", K = {
|
|
1600
|
-
left: "-1000vw",
|
|
1601
|
-
top: "-1000vh",
|
|
1602
|
-
right: ue,
|
|
1603
|
-
bottom: ue
|
|
1604
|
-
};
|
|
1605
|
-
if (H || !c) {
|
|
1606
|
-
var ae, se = E.points, oe = E.dynamicInset || ((ae = E._experimental) === null || ae === void 0 ? void 0 : ae.dynamicInset), Oe = oe && se[0][1] === "r", De = oe && se[0][0] === "b";
|
|
1607
|
-
Oe ? (K.right = I, K.left = ue) : (K.left = $, K.right = ue), De ? (K.bottom = F, K.top = ue) : (K.top = j, K.bottom = ue);
|
|
1608
|
-
}
|
|
1609
|
-
var h = {};
|
|
1610
|
-
return x && (x.includes("height") && B ? h.height = B : x.includes("minHeight") && B && (h.minHeight = B), x.includes("width") && T ? h.width = T : x.includes("minWidth") && T && (h.minWidth = T)), c || (h.pointerEvents = "none"), /* @__PURE__ */ u.createElement(_, {
|
|
1611
|
-
open: N || re,
|
|
1612
|
-
getContainer: P && function() {
|
|
1613
|
-
return P(a);
|
|
1614
|
-
},
|
|
1615
|
-
autoDestroy: p
|
|
1616
|
-
}, /* @__PURE__ */ u.createElement(aa, {
|
|
1617
|
-
prefixCls: o,
|
|
1618
|
-
open: c,
|
|
1619
|
-
zIndex: D,
|
|
1620
|
-
mask: y,
|
|
1621
|
-
motion: S
|
|
1622
|
-
}), /* @__PURE__ */ u.createElement(Er, {
|
|
1623
|
-
onResize: O,
|
|
1624
|
-
disabled: !c
|
|
1625
|
-
}, function(ie) {
|
|
1626
|
-
return /* @__PURE__ */ u.createElement(gn, Dt({
|
|
1627
|
-
motionAppear: !0,
|
|
1628
|
-
motionEnter: !0,
|
|
1629
|
-
motionLeave: !0,
|
|
1630
|
-
removeOnLeave: !1,
|
|
1631
|
-
forceRender: N,
|
|
1632
|
-
leavedClassName: "".concat(o, "-hidden")
|
|
1633
|
-
}, f, {
|
|
1634
|
-
onAppearPrepare: M,
|
|
1635
|
-
onEnterPrepare: M,
|
|
1636
|
-
visible: c,
|
|
1637
|
-
onVisibleChanged: function(X) {
|
|
1638
|
-
var me;
|
|
1639
|
-
f == null || (me = f.onVisibleChanged) === null || me === void 0 || me.call(f, X), l(X);
|
|
1640
|
-
}
|
|
1641
|
-
}), function(ce, X) {
|
|
1642
|
-
var me = ce.className, R = ce.style, U = Ae(o, me, n);
|
|
1643
|
-
return /* @__PURE__ */ u.createElement("div", {
|
|
1644
|
-
ref: Zn(ie, t, X),
|
|
1645
|
-
className: U,
|
|
1646
|
-
style: w(w(w(w({
|
|
1647
|
-
"--arrow-x": "".concat(b.x || 0, "px"),
|
|
1648
|
-
"--arrow-y": "".concat(b.y || 0, "px")
|
|
1649
|
-
}, K), h), R), {}, {
|
|
1650
|
-
boxSizing: "border-box",
|
|
1651
|
-
zIndex: D
|
|
1652
|
-
}, i),
|
|
1653
|
-
onMouseEnter: A,
|
|
1654
|
-
onMouseLeave: W,
|
|
1655
|
-
onPointerEnter: Y,
|
|
1656
|
-
onClick: v
|
|
1657
|
-
}, m && /* @__PURE__ */ u.createElement(ia, {
|
|
1658
|
-
prefixCls: o,
|
|
1659
|
-
arrow: m,
|
|
1660
|
-
arrowPos: b,
|
|
1661
|
-
align: E
|
|
1662
|
-
}), /* @__PURE__ */ u.createElement(Ro, {
|
|
1663
|
-
cache: !c && !d
|
|
1664
|
-
}, k));
|
|
1665
|
-
});
|
|
1666
|
-
}));
|
|
1667
|
-
});
|
|
1668
|
-
process.env.NODE_ENV !== "production" && (Po.displayName = "Popup");
|
|
1669
|
-
var To = /* @__PURE__ */ u.forwardRef(function(e, t) {
|
|
1670
|
-
var r = e.children, n = e.getTriggerDOMNode, o = gr(r), i = u.useCallback(function(l) {
|
|
1671
|
-
sn(t, n ? n(l) : l);
|
|
1672
|
-
}, [n]), a = cn(i, r.ref);
|
|
1673
|
-
return o ? /* @__PURE__ */ u.cloneElement(r, {
|
|
1674
|
-
ref: a
|
|
1675
|
-
}) : r;
|
|
1676
|
-
});
|
|
1677
|
-
process.env.NODE_ENV !== "production" && (To.displayName = "TriggerWrapper");
|
|
1678
|
-
var Vn = /* @__PURE__ */ u.createContext(null);
|
|
1679
|
-
function Wn(e) {
|
|
1680
|
-
return e ? Array.isArray(e) ? e : [e] : [];
|
|
1681
|
-
}
|
|
1682
|
-
function ua(e, t, r, n) {
|
|
1683
|
-
return u.useMemo(function() {
|
|
1684
|
-
var o = Wn(r ?? t), i = Wn(n ?? t), a = new Set(o), l = new Set(i);
|
|
1685
|
-
return e && (a.has("hover") && (a.delete("hover"), a.add("click")), l.has("hover") && (l.delete("hover"), l.add("click"))), [a, l];
|
|
1686
|
-
}, [e, t, r, n]);
|
|
1687
|
-
}
|
|
1688
|
-
const sa = function(e) {
|
|
1689
|
-
if (!e)
|
|
1690
|
-
return !1;
|
|
1691
|
-
if (e instanceof Element) {
|
|
1692
|
-
if (e.offsetParent)
|
|
1693
|
-
return !0;
|
|
1694
|
-
if (e.getBBox) {
|
|
1695
|
-
var t = e.getBBox(), r = t.width, n = t.height;
|
|
1696
|
-
if (r || n)
|
|
1697
|
-
return !0;
|
|
1698
|
-
}
|
|
1699
|
-
if (e.getBoundingClientRect) {
|
|
1700
|
-
var o = e.getBoundingClientRect(), i = o.width, a = o.height;
|
|
1701
|
-
if (i || a)
|
|
1702
|
-
return !0;
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
return !1;
|
|
1706
|
-
};
|
|
1707
|
-
function ca() {
|
|
1708
|
-
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;
|
|
1709
|
-
return r ? e[0] === t[0] : e[0] === t[0] && e[1] === t[1];
|
|
1710
|
-
}
|
|
1711
|
-
function fa(e, t, r, n) {
|
|
1712
|
-
for (var o = r.points, i = Object.keys(e), a = 0; a < i.length; a += 1) {
|
|
1713
|
-
var l, c = i[a];
|
|
1714
|
-
if (ca((l = e[c]) === null || l === void 0 ? void 0 : l.points, o, n))
|
|
1715
|
-
return "".concat(t, "-placement-").concat(c);
|
|
1716
|
-
}
|
|
1717
|
-
return "";
|
|
1718
|
-
}
|
|
1719
|
-
function jn(e, t, r, n) {
|
|
1720
|
-
return t || (r ? {
|
|
1721
|
-
motionName: "".concat(e, "-").concat(r)
|
|
1722
|
-
} : n ? {
|
|
1723
|
-
motionName: n
|
|
1724
|
-
} : null);
|
|
1725
|
-
}
|
|
1726
|
-
function Lt(e) {
|
|
1727
|
-
return e.ownerDocument.defaultView;
|
|
1728
|
-
}
|
|
1729
|
-
function an(e) {
|
|
1730
|
-
for (var t = [], r = e == null ? void 0 : e.parentElement, n = ["hidden", "scroll", "clip", "auto"]; r; ) {
|
|
1731
|
-
var o = Lt(r).getComputedStyle(r), i = o.overflowX, a = o.overflowY, l = o.overflow;
|
|
1732
|
-
[i, a, l].some(function(c) {
|
|
1733
|
-
return n.includes(c);
|
|
1734
|
-
}) && t.push(r), r = r.parentElement;
|
|
1735
|
-
}
|
|
1736
|
-
return t;
|
|
1737
|
-
}
|
|
1738
|
-
function Ot(e) {
|
|
1739
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
1740
|
-
return Number.isNaN(e) ? t : e;
|
|
1741
|
-
}
|
|
1742
|
-
function Nt(e) {
|
|
1743
|
-
return Ot(parseFloat(e), 0);
|
|
1744
|
-
}
|
|
1745
|
-
function Fn(e, t) {
|
|
1746
|
-
var r = w({}, e);
|
|
1747
|
-
return (t || []).forEach(function(n) {
|
|
1748
|
-
if (!(n instanceof HTMLBodyElement || n instanceof HTMLHtmlElement)) {
|
|
1749
|
-
var o = Lt(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) * _, W = f * _, Y = S * _, H = N * p, $ = P * p, j = 0, I = 0;
|
|
1750
|
-
if (i === "clip") {
|
|
1751
|
-
var F = Nt(a);
|
|
1752
|
-
j = F * p, I = F * _;
|
|
1753
|
-
}
|
|
1754
|
-
var O = v.x + H - j, M = v.y + W - I, x = O + v.width + 2 * j - H - $ - D, T = M + v.height + 2 * I - W - Y - A;
|
|
1755
|
-
r.left = Math.max(r.left, O), r.top = Math.max(r.top, M), r.right = Math.min(r.right, x), r.bottom = Math.min(r.bottom, T);
|
|
1756
|
-
}
|
|
1757
|
-
}), r;
|
|
1758
|
-
}
|
|
1759
|
-
function Hn(e) {
|
|
1760
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, r = "".concat(t), n = r.match(/^(.*)\%$/);
|
|
1761
|
-
return n ? e * (parseFloat(n[1]) / 100) : parseFloat(r);
|
|
1762
|
-
}
|
|
1763
|
-
function Bn(e, t) {
|
|
1764
|
-
var r = t || [], n = L(r, 2), o = n[0], i = n[1];
|
|
1765
|
-
return [Hn(e.width, o), Hn(e.height, i)];
|
|
1766
|
-
}
|
|
1767
|
-
function Un() {
|
|
1768
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
1769
|
-
return [e[0], e[1]];
|
|
1770
|
-
}
|
|
1771
|
-
function mt(e, t) {
|
|
1772
|
-
var r = t[0], n = t[1], o, i;
|
|
1773
|
-
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, {
|
|
1774
|
-
x: o,
|
|
1775
|
-
y: i
|
|
1776
|
-
};
|
|
1777
|
-
}
|
|
1778
|
-
function qe(e, t) {
|
|
1779
|
-
var r = {
|
|
1780
|
-
t: "b",
|
|
1781
|
-
b: "t",
|
|
1782
|
-
l: "r",
|
|
1783
|
-
r: "l"
|
|
1784
|
-
};
|
|
1785
|
-
return e.map(function(n, o) {
|
|
1786
|
-
return o === t ? r[n] || "c" : n;
|
|
1787
|
-
}).join("");
|
|
1788
|
-
}
|
|
1789
|
-
function la(e, t, r, n, o, i, a) {
|
|
1790
|
-
var l = u.useState({
|
|
1791
|
-
ready: !1,
|
|
1792
|
-
offsetX: 0,
|
|
1793
|
-
offsetY: 0,
|
|
1794
|
-
offsetR: 0,
|
|
1795
|
-
offsetB: 0,
|
|
1796
|
-
arrowX: 0,
|
|
1797
|
-
arrowY: 0,
|
|
1798
|
-
scaleX: 1,
|
|
1799
|
-
scaleY: 1,
|
|
1800
|
-
align: o[n] || {}
|
|
1801
|
-
}), c = L(l, 2), s = c[0], d = c[1], v = u.useRef(0), y = u.useMemo(function() {
|
|
1802
|
-
return t ? an(t) : [];
|
|
1803
|
-
}, [t]), m = u.useRef({}), b = function() {
|
|
1804
|
-
m.current = {};
|
|
1805
|
-
};
|
|
1806
|
-
e || b();
|
|
1807
|
-
var E = Qe(function() {
|
|
1808
|
-
if (t && r && e) {
|
|
1809
|
-
let pe = function(Zt, Ee) {
|
|
1810
|
-
var vt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : U, Jt = k.x + Zt, dt = k.y + Ee, Yt = Jt + ae, Mt = dt + K, Xt = Math.max(Jt, vt.left), Ir = Math.max(dt, vt.top), zr = Math.min(Yt, vt.right), Vr = Math.min(Mt, vt.bottom);
|
|
1811
|
-
return Math.max(0, (zr - Xt) * (Vr - Ir));
|
|
1812
|
-
}, Gt = function() {
|
|
1813
|
-
et = k.y + Z, tt = et + K, ze = k.x + ee, rt = ze + ae;
|
|
1814
|
-
};
|
|
1815
|
-
var N, P, p = t, _ = p.ownerDocument, D = Lt(p), A = D.getComputedStyle(p), W = A.width, Y = A.height, H = A.position, $ = p.style.left, j = p.style.top, I = p.style.right, F = p.style.bottom, O = p.style.overflow, M = w(w({}, o[n]), i), x = _.createElement("div");
|
|
1816
|
-
(N = p.parentElement) === null || N === void 0 || N.appendChild(x), x.style.left = "".concat(p.offsetLeft, "px"), x.style.top = "".concat(p.offsetTop, "px"), x.style.position = H, x.style.height = "".concat(p.offsetHeight, "px"), x.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";
|
|
1817
|
-
var T;
|
|
1818
|
-
if (Array.isArray(r))
|
|
1819
|
-
T = {
|
|
1820
|
-
x: r[0],
|
|
1821
|
-
y: r[1],
|
|
1822
|
-
width: 0,
|
|
1823
|
-
height: 0
|
|
1824
|
-
};
|
|
1825
|
-
else {
|
|
1826
|
-
var B = r.getBoundingClientRect();
|
|
1827
|
-
T = {
|
|
1828
|
-
x: B.x,
|
|
1829
|
-
y: B.y,
|
|
1830
|
-
width: B.width,
|
|
1831
|
-
height: B.height
|
|
1832
|
-
};
|
|
1833
|
-
}
|
|
1834
|
-
var k = p.getBoundingClientRect(), re = _.documentElement, ne = re.clientWidth, ge = re.clientHeight, Ce = re.scrollWidth, le = re.scrollHeight, _e = re.scrollTop, ue = re.scrollLeft, K = k.height, ae = k.width, se = T.height, oe = T.width, Oe = {
|
|
1835
|
-
left: 0,
|
|
1836
|
-
top: 0,
|
|
1837
|
-
right: ne,
|
|
1838
|
-
bottom: ge
|
|
1839
|
-
}, De = {
|
|
1840
|
-
left: -ue,
|
|
1841
|
-
top: -_e,
|
|
1842
|
-
right: Ce - ue,
|
|
1843
|
-
bottom: le - _e
|
|
1844
|
-
}, h = M.htmlRegion, ie = "visible", ce = "visibleFirst";
|
|
1845
|
-
h !== "scroll" && h !== ce && (h = ie);
|
|
1846
|
-
var X = h === ce, me = Fn(De, y), R = Fn(Oe, y), U = h === ie ? R : me, q = X ? R : U;
|
|
1847
|
-
p.style.left = "auto", p.style.top = "auto", p.style.right = "0", p.style.bottom = "0";
|
|
1848
|
-
var ke = p.getBoundingClientRect();
|
|
1849
|
-
p.style.left = $, p.style.top = j, p.style.right = I, p.style.bottom = F, p.style.overflow = O, (P = p.parentElement) === null || P === void 0 || P.removeChild(x);
|
|
1850
|
-
var Ge = Ot(Math.round(ae / parseFloat(W) * 1e3) / 1e3), Ze = Ot(Math.round(K / parseFloat(Y) * 1e3) / 1e3);
|
|
1851
|
-
if (Ge === 0 || Ze === 0 || At(r) && !sa(r))
|
|
1852
|
-
return;
|
|
1853
|
-
var xt = M.offset, ve = M.targetOffset, Sr = Bn(k, xt), Et = L(Sr, 2), Re = Et[0], Pe = Et[1], kt = Bn(T, ve), Te = L(kt, 2), Cr = Te[0], $t = Te[1];
|
|
1854
|
-
T.x -= Cr, T.y -= $t;
|
|
1855
|
-
var _r = M.points || [], Je = L(_r, 2), be = Je[0], Fe = Je[1], $e = Un(Fe), he = Un(be), It = mt(T, $e), zt = mt(k, he), Ie = w({}, M), ee = It.x - zt.x + Re, Z = It.y - zt.y + Pe, J = pe(ee, Z), st = pe(ee, Z, R), He = mt(T, ["t", "l"]), Ye = mt(k, ["t", "l"]), wt = mt(T, ["b", "r"]), St = mt(k, ["b", "r"]), Xe = M.overflow || {}, Me = Xe.adjustX, Rr = Xe.adjustY, Ct = Xe.shiftX, ct = Xe.shiftY, _t = function(Ee) {
|
|
1856
|
-
return typeof Ee == "boolean" ? Ee : Ee >= 0;
|
|
1857
|
-
}, et, tt, ze, rt;
|
|
1858
|
-
Gt();
|
|
1859
|
-
var Vt = _t(Rr), Rt = he[0] === $e[0];
|
|
1860
|
-
if (Vt && he[0] === "t" && (tt > q.bottom || m.current.bt)) {
|
|
1861
|
-
var Be = Z;
|
|
1862
|
-
Rt ? Be -= K - se : Be = He.y - St.y - Pe;
|
|
1863
|
-
var Wt = pe(ee, Be), ft = pe(ee, Be, R);
|
|
1864
|
-
// Of course use larger one
|
|
1865
|
-
Wt > J || Wt === J && (!X || // Choose recommend one
|
|
1866
|
-
ft >= st) ? (m.current.bt = !0, Z = Be, Pe = -Pe, Ie.points = [qe(he, 0), qe($e, 0)]) : m.current.bt = !1;
|
|
1867
|
-
}
|
|
1868
|
-
if (Vt && he[0] === "b" && (et < q.top || m.current.tb)) {
|
|
1869
|
-
var nt = Z;
|
|
1870
|
-
Rt ? nt += K - se : nt = wt.y - Ye.y - Pe;
|
|
1871
|
-
var de = pe(ee, nt), Pr = pe(ee, nt, R);
|
|
1872
|
-
// Of course use larger one
|
|
1873
|
-
de > J || de === J && (!X || // Choose recommend one
|
|
1874
|
-
Pr >= st) ? (m.current.tb = !0, Z = nt, Pe = -Pe, Ie.points = [qe(he, 0), qe($e, 0)]) : m.current.tb = !1;
|
|
1875
|
-
}
|
|
1876
|
-
var jt = _t(Me), Ft = he[1] === $e[1];
|
|
1877
|
-
if (jt && he[1] === "l" && (rt > q.right || m.current.rl)) {
|
|
1878
|
-
var ot = ee;
|
|
1879
|
-
Ft ? ot -= ae - oe : ot = He.x - St.x - Re;
|
|
1880
|
-
var Ht = pe(ot, Z), Tr = pe(ot, Z, R);
|
|
1881
|
-
// Of course use larger one
|
|
1882
|
-
Ht > J || Ht === J && (!X || // Choose recommend one
|
|
1883
|
-
Tr >= st) ? (m.current.rl = !0, ee = ot, Re = -Re, Ie.points = [qe(he, 1), qe($e, 1)]) : m.current.rl = !1;
|
|
1884
|
-
}
|
|
1885
|
-
if (jt && he[1] === "r" && (ze < q.left || m.current.lr)) {
|
|
1886
|
-
var it = ee;
|
|
1887
|
-
Ft ? it += ae - oe : it = wt.x - Ye.x - Re;
|
|
1888
|
-
var Bt = pe(it, Z), Mr = pe(it, Z, R);
|
|
1889
|
-
// Of course use larger one
|
|
1890
|
-
Bt > J || Bt === J && (!X || // Choose recommend one
|
|
1891
|
-
Mr >= st) ? (m.current.lr = !0, ee = it, Re = -Re, Ie.points = [qe(he, 1), qe($e, 1)]) : m.current.lr = !1;
|
|
1892
|
-
}
|
|
1893
|
-
Gt();
|
|
1894
|
-
var Le = Ct === !0 ? 0 : Ct;
|
|
1895
|
-
typeof Le == "number" && (ze < R.left && (ee -= ze - R.left - Re, T.x + oe < R.left + Le && (ee += T.x - R.left + oe - Le)), rt > R.right && (ee -= rt - R.right - Re, T.x > R.right - Le && (ee += T.x - R.right + Le)));
|
|
1896
|
-
var Ve = ct === !0 ? 0 : ct;
|
|
1897
|
-
typeof Ve == "number" && (et < R.top && (Z -= et - R.top - Pe, T.y + se < R.top + Ve && (Z += T.y - R.top + se - Ve)), tt > R.bottom && (Z -= tt - R.bottom - Pe, T.y > R.bottom - Ve && (Z += T.y - R.bottom + Ve)));
|
|
1898
|
-
var Pt = k.x + ee, Ut = Pt + ae, Ue = k.y + Z, at = Ue + K, Tt = T.x, lt = Tt + oe, We = T.y, Nr = We + se, Ar = Math.max(Pt, Tt), Or = Math.min(Ut, lt), qt = (Ar + Or) / 2, Dr = qt - Pt, Lr = Math.max(Ue, We), xr = Math.min(at, Nr), Kt = (Lr + xr) / 2, kr = Kt - Ue;
|
|
1899
|
-
a == null || a(t, Ie);
|
|
1900
|
-
var $r = ke.right - k.x - (ee + k.width), Qt = ke.bottom - k.y - (Z + k.height);
|
|
1901
|
-
d({
|
|
1902
|
-
ready: !0,
|
|
1903
|
-
offsetX: ee / Ge,
|
|
1904
|
-
offsetY: Z / Ze,
|
|
1905
|
-
offsetR: $r / Ge,
|
|
1906
|
-
offsetB: Qt / Ze,
|
|
1907
|
-
arrowX: Dr / Ge,
|
|
1908
|
-
arrowY: kr / Ze,
|
|
1909
|
-
scaleX: Ge,
|
|
1910
|
-
scaleY: Ze,
|
|
1911
|
-
align: Ie
|
|
1912
|
-
});
|
|
1913
|
-
}
|
|
1914
|
-
}), f = function() {
|
|
1915
|
-
v.current += 1;
|
|
1916
|
-
var P = v.current;
|
|
1917
|
-
Promise.resolve().then(function() {
|
|
1918
|
-
v.current === P && E();
|
|
1919
|
-
});
|
|
1920
|
-
}, S = function() {
|
|
1921
|
-
d(function(P) {
|
|
1922
|
-
return w(w({}, P), {}, {
|
|
1923
|
-
ready: !1
|
|
1924
|
-
});
|
|
1925
|
-
});
|
|
1926
|
-
};
|
|
1927
|
-
return ye(S, [n]), ye(function() {
|
|
1928
|
-
e || S();
|
|
1929
|
-
}, [e]), [s.ready, s.offsetX, s.offsetY, s.offsetR, s.offsetB, s.arrowX, s.arrowY, s.scaleX, s.scaleY, s.align, f];
|
|
1930
|
-
}
|
|
1931
|
-
function va(e, t, r, n, o) {
|
|
1932
|
-
ye(function() {
|
|
1933
|
-
if (e && t && r) {
|
|
1934
|
-
let v = function() {
|
|
1935
|
-
n(), o();
|
|
1936
|
-
};
|
|
1937
|
-
var i = t, a = r, l = an(i), c = an(a), s = Lt(a), d = new Set([s].concat(Qr(l), Qr(c)));
|
|
1938
|
-
return d.forEach(function(y) {
|
|
1939
|
-
y.addEventListener("scroll", v, {
|
|
1940
|
-
passive: !0
|
|
1941
|
-
});
|
|
1942
|
-
}), s.addEventListener("resize", v, {
|
|
1943
|
-
passive: !0
|
|
1944
|
-
}), n(), function() {
|
|
1945
|
-
d.forEach(function(y) {
|
|
1946
|
-
y.removeEventListener("scroll", v), s.removeEventListener("resize", v);
|
|
1947
|
-
});
|
|
1948
|
-
};
|
|
1949
|
-
}
|
|
1950
|
-
}, [e, t, r]);
|
|
1951
|
-
}
|
|
1952
|
-
function da(e, t, r, n, o, i, a, l) {
|
|
1953
|
-
var c = u.useRef(e);
|
|
1954
|
-
c.current = e, u.useEffect(function() {
|
|
1955
|
-
if (t && n && (!o || i)) {
|
|
1956
|
-
var s = function(S) {
|
|
1957
|
-
var N = S.target;
|
|
1958
|
-
c.current && !a(N) && l(!1);
|
|
1959
|
-
}, d = Lt(n);
|
|
1960
|
-
d.addEventListener("mousedown", s, !0), d.addEventListener("contextmenu", s, !0);
|
|
1961
|
-
var v = en(r);
|
|
1962
|
-
if (v && (v.addEventListener("mousedown", s, !0), v.addEventListener("contextmenu", s, !0)), process.env.NODE_ENV !== "production") {
|
|
1963
|
-
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);
|
|
1964
|
-
lr(b === E, "trigger element and popup element should in same shadow root.");
|
|
1965
|
-
}
|
|
1966
|
-
return function() {
|
|
1967
|
-
d.removeEventListener("mousedown", s, !0), d.removeEventListener("contextmenu", s, !0), v && (v.removeEventListener("mousedown", s, !0), v.removeEventListener("contextmenu", s, !0));
|
|
1968
|
-
};
|
|
1969
|
-
}
|
|
1970
|
-
}, [t, r, n, o, i]);
|
|
1971
|
-
}
|
|
1972
|
-
var ma = ["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"];
|
|
1973
|
-
function ha() {
|
|
1974
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ln, t = /* @__PURE__ */ u.forwardRef(function(r, n) {
|
|
1975
|
-
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 ? 0.1 : f, N = r.focusDelay, P = r.blurDelay, p = r.mask, _ = r.maskClosable, D = _ === void 0 ? !0 : _, A = r.getPopupContainer, W = r.forceRender, Y = r.autoDestroy, H = r.destroyPopupOnHide, $ = r.popup, j = r.popupClassName, I = r.popupStyle, F = r.popupPlacement, O = r.builtinPlacements, M = O === void 0 ? {} : O, x = r.popupAlign, T = r.zIndex, B = r.stretch, k = r.getPopupClassNameFromAlign, re = r.fresh, ne = r.alignPoint, ge = r.onPopupClick, Ce = r.onPopupAlign, le = r.arrow, _e = r.popupMotion, ue = r.maskMotion, K = r.popupTransitionName, ae = r.popupAnimation, se = r.maskTransitionName, oe = r.maskAnimation, Oe = r.className, De = r.getTriggerDOMNode, h = fr(r, ma), ie = Y || H || !1, ce = u.useState(!1), X = L(ce, 2), me = X[0], R = X[1];
|
|
1976
|
-
ye(function() {
|
|
1977
|
-
R(Vi());
|
|
1978
|
-
}, []);
|
|
1979
|
-
var U = u.useRef({}), q = u.useContext(Vn), ke = u.useMemo(function() {
|
|
1980
|
-
return {
|
|
1981
|
-
registerSubPopup: function(C, Q) {
|
|
1982
|
-
U.current[C] = Q, q == null || q.registerSubPopup(C, Q);
|
|
1983
|
-
}
|
|
1984
|
-
};
|
|
1985
|
-
}, [q]), Ge = zi(), Ze = u.useState(null), xt = L(Ze, 2), ve = xt[0], Sr = xt[1], Et = u.useRef(null), Re = Qe(function(g) {
|
|
1986
|
-
Et.current = g, At(g) && ve !== g && Sr(g), q == null || q.registerSubPopup(Ge, g);
|
|
1987
|
-
}), Pe = u.useState(null), kt = L(Pe, 2), Te = kt[0], Cr = kt[1], $t = u.useRef(null), _r = Qe(function(g) {
|
|
1988
|
-
At(g) && Te !== g && (Cr(g), $t.current = g);
|
|
1989
|
-
}), Je = u.Children.only(a), be = (Je == null ? void 0 : Je.props) || {}, Fe = {}, $e = Qe(function(g) {
|
|
1990
|
-
var C, Q, te = Te;
|
|
1991
|
-
return (te == null ? void 0 : te.contains(g)) || ((C = en(te)) === null || C === void 0 ? void 0 : C.host) === g || g === te || (ve == null ? void 0 : ve.contains(g)) || ((Q = en(ve)) === null || Q === void 0 ? void 0 : Q.host) === g || g === ve || Object.values(U.current).some(function(G) {
|
|
1992
|
-
return (G == null ? void 0 : G.contains(g)) || g === G;
|
|
1993
|
-
});
|
|
1994
|
-
}), he = jn(i, _e, ae, K), It = jn(i, ue, oe, se), zt = u.useState(y || !1), Ie = L(zt, 2), ee = Ie[0], Z = Ie[1], J = v ?? ee, st = Qe(function(g) {
|
|
1995
|
-
v === void 0 && Z(g);
|
|
1996
|
-
});
|
|
1997
|
-
ye(function() {
|
|
1998
|
-
Z(v || !1);
|
|
1999
|
-
}, [v]);
|
|
2000
|
-
var He = u.useRef(J);
|
|
2001
|
-
He.current = J;
|
|
2002
|
-
var Ye = u.useRef([]);
|
|
2003
|
-
Ye.current = [];
|
|
2004
|
-
var wt = Qe(function(g) {
|
|
2005
|
-
var C;
|
|
2006
|
-
st(g), ((C = Ye.current[Ye.current.length - 1]) !== null && C !== void 0 ? C : J) !== g && (Ye.current.push(g), m == null || m(g));
|
|
2007
|
-
}), St = u.useRef(), Xe = function() {
|
|
2008
|
-
clearTimeout(St.current);
|
|
2009
|
-
}, Me = function(C) {
|
|
2010
|
-
var Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
2011
|
-
Xe(), Q === 0 ? wt(C) : St.current = setTimeout(function() {
|
|
2012
|
-
wt(C);
|
|
2013
|
-
}, Q * 1e3);
|
|
2014
|
-
};
|
|
2015
|
-
u.useEffect(function() {
|
|
2016
|
-
return Xe;
|
|
2017
|
-
}, []);
|
|
2018
|
-
var Rr = u.useState(!1), Ct = L(Rr, 2), ct = Ct[0], _t = Ct[1];
|
|
2019
|
-
ye(function(g) {
|
|
2020
|
-
(!g || J) && _t(!0);
|
|
2021
|
-
}, [J]);
|
|
2022
|
-
var et = u.useState(null), tt = L(et, 2), ze = tt[0], rt = tt[1], Vt = u.useState([0, 0]), Rt = L(Vt, 2), Be = Rt[0], Wt = Rt[1], ft = function(C) {
|
|
2023
|
-
Wt([C.clientX, C.clientY]);
|
|
2024
|
-
}, nt = la(J, ve, ne ? Be : Te, F, M, x, Ce), de = L(nt, 11), Pr = de[0], jt = de[1], Ft = de[2], ot = de[3], Ht = de[4], Tr = de[5], it = de[6], Bt = de[7], Mr = de[8], Le = de[9], Ve = de[10], Pt = ua(me, c, s, d), Ut = L(Pt, 2), Ue = Ut[0], at = Ut[1], Tt = Ue.has("click"), lt = at.has("click") || at.has("contextMenu"), We = Qe(function() {
|
|
2025
|
-
ct || Ve();
|
|
2026
|
-
}), Nr = function() {
|
|
2027
|
-
He.current && ne && lt && Me(!1);
|
|
2028
|
-
};
|
|
2029
|
-
va(J, Te, ve, We, Nr), ye(function() {
|
|
2030
|
-
We();
|
|
2031
|
-
}, [Be, F]), ye(function() {
|
|
2032
|
-
J && !(M != null && M[F]) && We();
|
|
2033
|
-
}, [JSON.stringify(x)]);
|
|
2034
|
-
var Ar = u.useMemo(function() {
|
|
2035
|
-
var g = fa(M, i, Le, ne);
|
|
2036
|
-
return Ae(g, k == null ? void 0 : k(Le));
|
|
2037
|
-
}, [Le, k, M, i, ne]);
|
|
2038
|
-
u.useImperativeHandle(n, function() {
|
|
2039
|
-
return {
|
|
2040
|
-
nativeElement: $t.current,
|
|
2041
|
-
popupElement: Et.current,
|
|
2042
|
-
forceAlign: We
|
|
2043
|
-
};
|
|
2044
|
-
});
|
|
2045
|
-
var Or = u.useState(0), qt = L(Or, 2), Dr = qt[0], Lr = qt[1], xr = u.useState(0), Kt = L(xr, 2), kr = Kt[0], $r = Kt[1], Qt = function() {
|
|
2046
|
-
if (B && Te) {
|
|
2047
|
-
var C = Te.getBoundingClientRect();
|
|
2048
|
-
Lr(C.width), $r(C.height);
|
|
2049
|
-
}
|
|
2050
|
-
}, pe = function() {
|
|
2051
|
-
Qt(), We();
|
|
2052
|
-
}, Gt = function(C) {
|
|
2053
|
-
_t(!1), Ve(), b == null || b(C);
|
|
2054
|
-
}, Zt = function() {
|
|
2055
|
-
return new Promise(function(C) {
|
|
2056
|
-
Qt(), rt(function() {
|
|
2057
|
-
return C;
|
|
2058
|
-
});
|
|
2059
|
-
});
|
|
2060
|
-
};
|
|
2061
|
-
ye(function() {
|
|
2062
|
-
ze && (Ve(), ze(), rt(null));
|
|
2063
|
-
}, [ze]);
|
|
2064
|
-
function Ee(g, C, Q, te) {
|
|
2065
|
-
Fe[g] = function(G) {
|
|
2066
|
-
var er;
|
|
2067
|
-
te == null || te(G), Me(C, Q);
|
|
2068
|
-
for (var Wr = arguments.length, bn = new Array(Wr > 1 ? Wr - 1 : 0), tr = 1; tr < Wr; tr++)
|
|
2069
|
-
bn[tr - 1] = arguments[tr];
|
|
2070
|
-
(er = be[g]) === null || er === void 0 || er.call.apply(er, [be, G].concat(bn));
|
|
2071
|
-
};
|
|
2072
|
-
}
|
|
2073
|
-
(Tt || lt) && (Fe.onClick = function(g) {
|
|
2074
|
-
var C;
|
|
2075
|
-
He.current && lt ? Me(!1) : !He.current && Tt && (ft(g), Me(!0));
|
|
2076
|
-
for (var Q = arguments.length, te = new Array(Q > 1 ? Q - 1 : 0), G = 1; G < Q; G++)
|
|
2077
|
-
te[G - 1] = arguments[G];
|
|
2078
|
-
(C = be.onClick) === null || C === void 0 || C.call.apply(C, [be, g].concat(te));
|
|
2079
|
-
}), da(J, lt, Te, ve, p, D, $e, Me);
|
|
2080
|
-
var vt = Ue.has("hover"), Jt = at.has("hover"), dt, Yt;
|
|
2081
|
-
vt && (Ee("onMouseEnter", !0, E, function(g) {
|
|
2082
|
-
ft(g);
|
|
2083
|
-
}), Ee("onPointerEnter", !0, E, function(g) {
|
|
2084
|
-
ft(g);
|
|
2085
|
-
}), dt = function(C) {
|
|
2086
|
-
(J || ct) && ve !== null && ve !== void 0 && ve.contains(C.target) && Me(!0, E);
|
|
2087
|
-
}, ne && (Fe.onMouseMove = function(g) {
|
|
2088
|
-
var C;
|
|
2089
|
-
(C = be.onMouseMove) === null || C === void 0 || C.call(be, g);
|
|
2090
|
-
})), Jt && (Ee("onMouseLeave", !1, S), Ee("onPointerLeave", !1, S), Yt = function() {
|
|
2091
|
-
Me(!1, S);
|
|
2092
|
-
}), Ue.has("focus") && Ee("onFocus", !0, N), at.has("focus") && Ee("onBlur", !1, P), Ue.has("contextMenu") && (Fe.onContextMenu = function(g) {
|
|
2093
|
-
var C;
|
|
2094
|
-
He.current && at.has("contextMenu") ? Me(!1) : (ft(g), Me(!0)), g.preventDefault();
|
|
2095
|
-
for (var Q = arguments.length, te = new Array(Q > 1 ? Q - 1 : 0), G = 1; G < Q; G++)
|
|
2096
|
-
te[G - 1] = arguments[G];
|
|
2097
|
-
(C = be.onContextMenu) === null || C === void 0 || C.call.apply(C, [be, g].concat(te));
|
|
2098
|
-
}), Oe && (Fe.className = Ae(be.className, Oe));
|
|
2099
|
-
var Mt = w(w({}, be), Fe), Xt = {}, Ir = ["onContextMenu", "onClick", "onMouseDown", "onTouchStart", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur"];
|
|
2100
|
-
Ir.forEach(function(g) {
|
|
2101
|
-
h[g] && (Xt[g] = function() {
|
|
2102
|
-
for (var C, Q = arguments.length, te = new Array(Q), G = 0; G < Q; G++)
|
|
2103
|
-
te[G] = arguments[G];
|
|
2104
|
-
(C = Mt[g]) === null || C === void 0 || C.call.apply(C, [Mt].concat(te)), h[g].apply(h, te);
|
|
2105
|
-
});
|
|
2106
|
-
});
|
|
2107
|
-
var zr = /* @__PURE__ */ u.cloneElement(Je, w(w({}, Mt), Xt)), Vr = {
|
|
2108
|
-
x: Tr,
|
|
2109
|
-
y: it
|
|
2110
|
-
}, Mo = le ? w({}, le !== !0 ? le : {}) : null;
|
|
2111
|
-
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement(Er, {
|
|
2112
|
-
disabled: !J,
|
|
2113
|
-
ref: _r,
|
|
2114
|
-
onResize: pe
|
|
2115
|
-
}, /* @__PURE__ */ u.createElement(To, {
|
|
2116
|
-
getTriggerDOMNode: De
|
|
2117
|
-
}, zr)), /* @__PURE__ */ u.createElement(Vn.Provider, {
|
|
2118
|
-
value: ke
|
|
2119
|
-
}, /* @__PURE__ */ u.createElement(Po, {
|
|
2120
|
-
portal: e,
|
|
2121
|
-
ref: Re,
|
|
2122
|
-
prefixCls: i,
|
|
2123
|
-
popup: $,
|
|
2124
|
-
className: Ae(j, Ar),
|
|
2125
|
-
style: I,
|
|
2126
|
-
target: Te,
|
|
2127
|
-
onMouseEnter: dt,
|
|
2128
|
-
onMouseLeave: Yt,
|
|
2129
|
-
onPointerEnter: dt,
|
|
2130
|
-
zIndex: T,
|
|
2131
|
-
open: J,
|
|
2132
|
-
keepDom: ct,
|
|
2133
|
-
fresh: re,
|
|
2134
|
-
onClick: ge,
|
|
2135
|
-
mask: p,
|
|
2136
|
-
motion: he,
|
|
2137
|
-
maskMotion: It,
|
|
2138
|
-
onVisibleChanged: Gt,
|
|
2139
|
-
onPrepare: Zt,
|
|
2140
|
-
forceRender: W,
|
|
2141
|
-
autoDestroy: ie,
|
|
2142
|
-
getPopupContainer: A,
|
|
2143
|
-
align: Le,
|
|
2144
|
-
arrow: Mo,
|
|
2145
|
-
arrowPos: Vr,
|
|
2146
|
-
ready: Pr,
|
|
2147
|
-
offsetX: jt,
|
|
2148
|
-
offsetY: Ft,
|
|
2149
|
-
offsetR: ot,
|
|
2150
|
-
offsetB: Ht,
|
|
2151
|
-
onAlign: We,
|
|
2152
|
-
stretch: B,
|
|
2153
|
-
targetWidth: Dr / Bt,
|
|
2154
|
-
targetHeight: kr / Mr
|
|
2155
|
-
})));
|
|
2156
|
-
});
|
|
2157
|
-
return process.env.NODE_ENV !== "production" && (t.displayName = "Trigger"), t;
|
|
2158
|
-
}
|
|
2159
|
-
const ya = ha(ln);
|
|
2160
|
-
var ht = {
|
|
2161
|
-
shiftX: 64,
|
|
2162
|
-
adjustY: 1
|
|
2163
|
-
}, yt = {
|
|
2164
|
-
adjustX: 1,
|
|
2165
|
-
shiftY: !0
|
|
2166
|
-
}, we = [0, 0], ga = {
|
|
2167
|
-
left: {
|
|
2168
|
-
points: ["cr", "cl"],
|
|
2169
|
-
overflow: yt,
|
|
2170
|
-
offset: [-4, 0],
|
|
2171
|
-
targetOffset: we
|
|
2172
|
-
},
|
|
2173
|
-
right: {
|
|
2174
|
-
points: ["cl", "cr"],
|
|
2175
|
-
overflow: yt,
|
|
2176
|
-
offset: [4, 0],
|
|
2177
|
-
targetOffset: we
|
|
2178
|
-
},
|
|
2179
|
-
top: {
|
|
2180
|
-
points: ["bc", "tc"],
|
|
2181
|
-
overflow: ht,
|
|
2182
|
-
offset: [0, -4],
|
|
2183
|
-
targetOffset: we
|
|
2184
|
-
},
|
|
2185
|
-
bottom: {
|
|
2186
|
-
points: ["tc", "bc"],
|
|
2187
|
-
overflow: ht,
|
|
2188
|
-
offset: [0, 4],
|
|
2189
|
-
targetOffset: we
|
|
2190
|
-
},
|
|
2191
|
-
topLeft: {
|
|
2192
|
-
points: ["bl", "tl"],
|
|
2193
|
-
overflow: ht,
|
|
2194
|
-
offset: [0, -4],
|
|
2195
|
-
targetOffset: we
|
|
2196
|
-
},
|
|
2197
|
-
leftTop: {
|
|
2198
|
-
points: ["tr", "tl"],
|
|
2199
|
-
overflow: yt,
|
|
2200
|
-
offset: [-4, 0],
|
|
2201
|
-
targetOffset: we
|
|
2202
|
-
},
|
|
2203
|
-
topRight: {
|
|
2204
|
-
points: ["br", "tr"],
|
|
2205
|
-
overflow: ht,
|
|
2206
|
-
offset: [0, -4],
|
|
2207
|
-
targetOffset: we
|
|
2208
|
-
},
|
|
2209
|
-
rightTop: {
|
|
2210
|
-
points: ["tl", "tr"],
|
|
2211
|
-
overflow: yt,
|
|
2212
|
-
offset: [4, 0],
|
|
2213
|
-
targetOffset: we
|
|
2214
|
-
},
|
|
2215
|
-
bottomRight: {
|
|
2216
|
-
points: ["tr", "br"],
|
|
2217
|
-
overflow: ht,
|
|
2218
|
-
offset: [0, 4],
|
|
2219
|
-
targetOffset: we
|
|
2220
|
-
},
|
|
2221
|
-
rightBottom: {
|
|
2222
|
-
points: ["bl", "br"],
|
|
2223
|
-
overflow: yt,
|
|
2224
|
-
offset: [4, 0],
|
|
2225
|
-
targetOffset: we
|
|
2226
|
-
},
|
|
2227
|
-
bottomLeft: {
|
|
2228
|
-
points: ["tl", "bl"],
|
|
2229
|
-
overflow: ht,
|
|
2230
|
-
offset: [0, 4],
|
|
2231
|
-
targetOffset: we
|
|
2232
|
-
},
|
|
2233
|
-
leftBottom: {
|
|
2234
|
-
points: ["br", "bl"],
|
|
2235
|
-
overflow: yt,
|
|
2236
|
-
offset: [-4, 0],
|
|
2237
|
-
targetOffset: we
|
|
2238
|
-
}
|
|
2239
|
-
}, ba = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"], pa = function(t, r) {
|
|
2240
|
-
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 ? 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, W = A === void 0 ? !1 : A, Y = t.defaultVisible, H = t.getTooltipContainer, $ = t.overlayInnerStyle;
|
|
2241
|
-
t.arrowContent;
|
|
2242
|
-
var j = t.overlay, I = t.id, F = t.showArrow, O = F === void 0 ? !0 : F, M = t.classNames, x = t.styles, T = fr(t, ba), B = ut(null);
|
|
2243
|
-
Oo(r, function() {
|
|
2244
|
-
return B.current;
|
|
2245
|
-
});
|
|
2246
|
-
var k = w({}, T);
|
|
2247
|
-
"visible" in t && (k.popupVisible = t.visible);
|
|
2248
|
-
var re = function() {
|
|
2249
|
-
return /* @__PURE__ */ u.createElement($o, {
|
|
2250
|
-
key: "content",
|
|
2251
|
-
prefixCls: y,
|
|
2252
|
-
id: I,
|
|
2253
|
-
bodyClassName: M == null ? void 0 : M.body,
|
|
2254
|
-
overlayInnerStyle: w(w({}, $), x == null ? void 0 : x.body)
|
|
2255
|
-
}, j);
|
|
2256
|
-
};
|
|
2257
|
-
return /* @__PURE__ */ u.createElement(ya, Dt({
|
|
2258
|
-
popupClassName: Ae(n, M == null ? void 0 : M.root),
|
|
2259
|
-
prefixCls: y,
|
|
2260
|
-
popup: re,
|
|
2261
|
-
action: i,
|
|
2262
|
-
builtinPlacements: ga,
|
|
2263
|
-
popupPlacement: p,
|
|
2264
|
-
ref: B,
|
|
2265
|
-
popupAlign: D,
|
|
2266
|
-
getPopupContainer: H,
|
|
2267
|
-
onPopupVisibleChange: b,
|
|
2268
|
-
afterPopupVisibleChange: E,
|
|
2269
|
-
popupTransitionName: f,
|
|
2270
|
-
popupAnimation: S,
|
|
2271
|
-
popupMotion: N,
|
|
2272
|
-
defaultPopupVisible: Y,
|
|
2273
|
-
autoDestroy: W,
|
|
2274
|
-
mouseLeaveDelay: s,
|
|
2275
|
-
popupStyle: w(w({}, d), x == null ? void 0 : x.root),
|
|
2276
|
-
mouseEnterDelay: l,
|
|
2277
|
-
arrow: O
|
|
2278
|
-
}, k), m);
|
|
2279
|
-
};
|
|
2280
|
-
const Ea = /* @__PURE__ */ Ao(pa), wa = "DEPRECATED_Tooltip-module__breakLongWord___kWwu0", Sa = "DEPRECATED_Tooltip-module__rcToolTipZoomIn___0ddOq", Ca = "DEPRECATED_Tooltip-module__rcToolTipZoomOut___kpbOG", Hr = {
|
|
2281
|
-
breakLongWord: wa,
|
|
2282
|
-
rcToolTipZoomIn: Sa,
|
|
2283
|
-
rcToolTipZoomOut: Ca
|
|
2284
|
-
}, Da = (e) => {
|
|
2285
|
-
const {
|
|
2286
|
-
breakingLongWord: t,
|
|
2287
|
-
hideArrow: r = !1,
|
|
2288
|
-
overlayClassName: n,
|
|
2289
|
-
overlay: o,
|
|
2290
|
-
imgOverlay: i = !1,
|
|
2291
|
-
semanticText: a,
|
|
2292
|
-
...l
|
|
2293
|
-
} = e, c = Ae(
|
|
2294
|
-
n,
|
|
2295
|
-
"slf-default",
|
|
2296
|
-
ko.SISENSE_NAMESPACE,
|
|
2297
|
-
{
|
|
2298
|
-
"hide-arrow": r,
|
|
2299
|
-
[Hr.breakLongWord]: t,
|
|
2300
|
-
[Hr.semanticText]: a,
|
|
2301
|
-
[Hr.semanticText]: a
|
|
2302
|
-
}
|
|
2303
|
-
);
|
|
2304
|
-
return /* @__PURE__ */ jr(
|
|
2305
|
-
Ea,
|
|
2306
|
-
{
|
|
2307
|
-
destroyTooltipOnHide: !0,
|
|
2308
|
-
overlay: typeof o == "string" ? i ? /* @__PURE__ */ jr("img", { src: o }) : /* @__PURE__ */ jr("div", { dangerouslySetInnerHTML: { __html: o } }) : o,
|
|
2309
|
-
...l,
|
|
2310
|
-
overlayClassName: c
|
|
2311
|
-
}
|
|
2312
|
-
);
|
|
2313
|
-
};
|
|
2314
|
-
export {
|
|
2315
|
-
Da as D
|
|
2316
|
-
};
|