@1money/component-ui 0.0.47 → 0.0.49
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/package.json +65 -34
- package/scripts/mcp-server/examples.generated.json +12 -0
- package/scripts/mcp-server/index.generated.json +8 -0
- package/es/components/Accordion/Accordion.d.ts +0 -4
- package/es/components/Accordion/Accordion.js +0 -98
- package/es/components/Accordion/constants.d.ts +0 -16
- package/es/components/Accordion/constants.js +0 -17
- package/es/components/Accordion/index.d.ts +0 -4
- package/es/components/Accordion/index.js +0 -5
- package/es/components/Accordion/interface.d.ts +0 -29
- package/es/components/Accordion/interface.js +0 -2
- package/es/components/Accordion/style/Accordion.css +0 -1
- package/es/components/Accordion/style/css.js +0 -2
- package/es/components/Accordion/style/index.d.ts +0 -1
- package/es/components/Accordion/style/index.js +0 -2
- package/es/components/Alert/Alert.d.ts +0 -6
- package/es/components/Alert/Alert.js +0 -111
- package/es/components/Alert/index.d.ts +0 -4
- package/es/components/Alert/index.js +0 -5
- package/es/components/Alert/interface.d.ts +0 -42
- package/es/components/Alert/interface.js +0 -6
- package/es/components/Alert/style/Alert.css +0 -1
- package/es/components/Alert/style/css.js +0 -3
- package/es/components/Alert/style/index.d.ts +0 -2
- package/es/components/Alert/style/index.js +0 -3
- package/es/components/Button/Button.d.ts +0 -4
- package/es/components/Button/Button.js +0 -149
- package/es/components/Button/constants.d.ts +0 -70
- package/es/components/Button/constants.js +0 -90
- package/es/components/Button/index.d.ts +0 -5
- package/es/components/Button/index.js +0 -6
- package/es/components/Button/interface.d.ts +0 -23
- package/es/components/Button/interface.js +0 -2
- package/es/components/Button/style/Button.css +0 -1
- package/es/components/Button/style/css.js +0 -2
- package/es/components/Button/style/index.d.ts +0 -1
- package/es/components/Button/style/index.js +0 -2
- package/es/components/Calendar/Calendar.d.ts +0 -7
- package/es/components/Calendar/Calendar.js +0 -127
- package/es/components/Calendar/index.d.ts +0 -4
- package/es/components/Calendar/index.js +0 -5
- package/es/components/Calendar/interface.d.ts +0 -29
- package/es/components/Calendar/interface.js +0 -2
- package/es/components/Calendar/style/Calendar.css +0 -1
- package/es/components/Calendar/style/css.js +0 -2
- package/es/components/Calendar/style/index.d.ts +0 -1
- package/es/components/Calendar/style/index.js +0 -2
- package/es/components/Carousel/Carousel.d.ts +0 -6
- package/es/components/Carousel/Carousel.js +0 -46
- package/es/components/Carousel/index.d.ts +0 -4
- package/es/components/Carousel/index.js +0 -5
- package/es/components/Carousel/interface.d.ts +0 -15
- package/es/components/Carousel/interface.js +0 -2
- package/es/components/Carousel/style/Carousel.css +0 -1
- package/es/components/Carousel/style/css.js +0 -2
- package/es/components/Carousel/style/index.d.ts +0 -1
- package/es/components/Carousel/style/index.js +0 -2
- package/es/components/Cell/Cell.d.ts +0 -5
- package/es/components/Cell/Cell.js +0 -57
- package/es/components/Cell/index.d.ts +0 -4
- package/es/components/Cell/index.js +0 -5
- package/es/components/Cell/interface.d.ts +0 -12
- package/es/components/Cell/interface.js +0 -2
- package/es/components/Cell/style/Cell.css +0 -1
- package/es/components/Cell/style/css.js +0 -2
- package/es/components/Cell/style/index.d.ts +0 -1
- package/es/components/Cell/style/index.js +0 -2
- package/es/components/Checkbox/BaseCheckbox.d.ts +0 -6
- package/es/components/Checkbox/BaseCheckbox.js +0 -84
- package/es/components/Checkbox/Checkbox.d.ts +0 -6
- package/es/components/Checkbox/Checkbox.js +0 -122
- package/es/components/Checkbox/CheckboxGroup.d.ts +0 -5
- package/es/components/Checkbox/CheckboxGroup.js +0 -141
- package/es/components/Checkbox/CheckboxGroupContext.d.ts +0 -14
- package/es/components/Checkbox/CheckboxGroupContext.js +0 -3
- package/es/components/Checkbox/constants.d.ts +0 -17
- package/es/components/Checkbox/constants.js +0 -17
- package/es/components/Checkbox/index.d.ts +0 -10
- package/es/components/Checkbox/index.js +0 -11
- package/es/components/Checkbox/interface.d.ts +0 -77
- package/es/components/Checkbox/interface.js +0 -2
- package/es/components/Checkbox/style/Checkbox.css +0 -1
- package/es/components/Checkbox/style/css.js +0 -2
- package/es/components/Checkbox/style/index.d.ts +0 -1
- package/es/components/Checkbox/style/index.js +0 -2
- package/es/components/CoachMark/CoachMark.d.ts +0 -4
- package/es/components/CoachMark/CoachMark.js +0 -142
- package/es/components/CoachMark/index.d.ts +0 -4
- package/es/components/CoachMark/index.js +0 -5
- package/es/components/CoachMark/interface.d.ts +0 -47
- package/es/components/CoachMark/interface.js +0 -2
- package/es/components/CoachMark/style/CoachMark.css +0 -1
- package/es/components/CoachMark/style/css.js +0 -5
- package/es/components/CoachMark/style/index.d.ts +0 -4
- package/es/components/CoachMark/style/index.js +0 -5
- package/es/components/Copy/Clipboard.d.ts +0 -4
- package/es/components/Copy/Clipboard.js +0 -44
- package/es/components/Copy/Copy.d.ts +0 -4
- package/es/components/Copy/Copy.js +0 -81
- package/es/components/Copy/index.d.ts +0 -5
- package/es/components/Copy/index.js +0 -6
- package/es/components/Copy/interface.d.ts +0 -38
- package/es/components/Copy/interface.js +0 -2
- package/es/components/Copy/style/Clipboard.css +0 -1
- package/es/components/Copy/style/Copy.css +0 -1
- package/es/components/Copy/style/css.js +0 -3
- package/es/components/Copy/style/index.d.ts +0 -2
- package/es/components/Copy/style/index.js +0 -3
- package/es/components/Dialog/Dialog.d.ts +0 -4
- package/es/components/Dialog/Dialog.js +0 -361
- package/es/components/Dialog/constants.d.ts +0 -57
- package/es/components/Dialog/constants.js +0 -54
- package/es/components/Dialog/index.d.ts +0 -4
- package/es/components/Dialog/index.js +0 -5
- package/es/components/Dialog/interface.d.ts +0 -36
- package/es/components/Dialog/interface.js +0 -2
- package/es/components/Dialog/style/Dialog.css +0 -1
- package/es/components/Dialog/style/css.js +0 -2
- package/es/components/Dialog/style/index.d.ts +0 -1
- package/es/components/Dialog/style/index.js +0 -2
- package/es/components/Divider/Divider.d.ts +0 -4
- package/es/components/Divider/Divider.js +0 -50
- package/es/components/Divider/constants.d.ts +0 -36
- package/es/components/Divider/constants.js +0 -41
- package/es/components/Divider/index.d.ts +0 -4
- package/es/components/Divider/index.js +0 -5
- package/es/components/Divider/interface.d.ts +0 -19
- package/es/components/Divider/interface.js +0 -2
- package/es/components/Divider/style/Divider.css +0 -1
- package/es/components/Divider/style/css.js +0 -2
- package/es/components/Divider/style/index.d.ts +0 -1
- package/es/components/Divider/style/index.js +0 -2
- package/es/components/Drawer/Drawer.d.ts +0 -4
- package/es/components/Drawer/Drawer.js +0 -155
- package/es/components/Drawer/constants.d.ts +0 -18
- package/es/components/Drawer/constants.js +0 -19
- package/es/components/Drawer/hooks/index.d.ts +0 -4
- package/es/components/Drawer/hooks/index.js +0 -5
- package/es/components/Drawer/hooks/useBodyScrollLock.d.ts +0 -1
- package/es/components/Drawer/hooks/useBodyScrollLock.js +0 -29
- package/es/components/Drawer/hooks/useDialogFocus.d.ts +0 -2
- package/es/components/Drawer/hooks/useDialogFocus.js +0 -22
- package/es/components/Drawer/hooks/useDrawerTransition.d.ts +0 -4
- package/es/components/Drawer/hooks/useDrawerTransition.js +0 -57
- package/es/components/Drawer/hooks/useEscapeClose.d.ts +0 -1
- package/es/components/Drawer/hooks/useEscapeClose.js +0 -16
- package/es/components/Drawer/index.d.ts +0 -3
- package/es/components/Drawer/index.js +0 -4
- package/es/components/Drawer/interface.d.ts +0 -79
- package/es/components/Drawer/interface.js +0 -2
- package/es/components/Drawer/style/Drawer.css +0 -1
- package/es/components/Drawer/style/css.js +0 -2
- package/es/components/Drawer/style/index.d.ts +0 -1
- package/es/components/Drawer/style/index.js +0 -2
- package/es/components/Dropdown/Dropdown.d.ts +0 -5
- package/es/components/Dropdown/Dropdown.js +0 -32
- package/es/components/Dropdown/index.d.ts +0 -3
- package/es/components/Dropdown/index.js +0 -4
- package/es/components/Dropdown/interface.d.ts +0 -8
- package/es/components/Dropdown/interface.js +0 -2
- package/es/components/Dropdown/style/Dropdown.css +0 -1
- package/es/components/Dropdown/style/css.js +0 -3
- package/es/components/Dropdown/style/index.d.ts +0 -2
- package/es/components/Dropdown/style/index.js +0 -3
- package/es/components/Empty/Empty.d.ts +0 -6
- package/es/components/Empty/Empty.js +0 -68
- package/es/components/Empty/index.d.ts +0 -4
- package/es/components/Empty/index.js +0 -5
- package/es/components/Empty/interface.d.ts +0 -11
- package/es/components/Empty/interface.js +0 -2
- package/es/components/Empty/style/Empty.css +0 -1
- package/es/components/Empty/style/css.js +0 -3
- package/es/components/Empty/style/index.d.ts +0 -2
- package/es/components/Empty/style/index.js +0 -3
- package/es/components/Flex/Flex.d.ts +0 -5
- package/es/components/Flex/Flex.js +0 -50
- package/es/components/Flex/constants.d.ts +0 -41
- package/es/components/Flex/constants.js +0 -45
- package/es/components/Flex/index.d.ts +0 -5
- package/es/components/Flex/index.js +0 -6
- package/es/components/Flex/interface.d.ts +0 -13
- package/es/components/Flex/interface.js +0 -2
- package/es/components/Flex/style/Flex.css +0 -1
- package/es/components/Flex/style/css.js +0 -2
- package/es/components/Flex/style/index.d.ts +0 -1
- package/es/components/Flex/style/index.js +0 -2
- package/es/components/Grid/Col.d.ts +0 -4
- package/es/components/Grid/Col.js +0 -83
- package/es/components/Grid/Grid.d.ts +0 -10
- package/es/components/Grid/Grid.js +0 -15
- package/es/components/Grid/Row.d.ts +0 -4
- package/es/components/Grid/Row.js +0 -41
- package/es/components/Grid/constants.d.ts +0 -48
- package/es/components/Grid/constants.js +0 -71
- package/es/components/Grid/helper.d.ts +0 -15
- package/es/components/Grid/helper.js +0 -87
- package/es/components/Grid/index.d.ts +0 -7
- package/es/components/Grid/index.js +0 -8
- package/es/components/Grid/interface.d.ts +0 -38
- package/es/components/Grid/interface.js +0 -2
- package/es/components/Grid/style/Grid.css +0 -1
- package/es/components/Grid/style/css.js +0 -2
- package/es/components/Grid/style/index.d.ts +0 -1
- package/es/components/Grid/style/index.js +0 -2
- package/es/components/Icons/Icons.d.ts +0 -194
- package/es/components/Icons/Icons.js +0 -194
- package/es/components/Icons/Illustrations.d.ts +0 -19
- package/es/components/Icons/Illustrations.js +0 -936
- package/es/components/Icons/Logo.d.ts +0 -36
- package/es/components/Icons/Logo.js +0 -209
- package/es/components/Icons/SVGs.d.ts +0 -267
- package/es/components/Icons/SVGs.js +0 -1928
- package/es/components/Icons/Wrapper.d.ts +0 -6
- package/es/components/Icons/Wrapper.js +0 -100
- package/es/components/Icons/index.d.ts +0 -4
- package/es/components/Icons/index.js +0 -4
- package/es/components/Icons/interface.d.ts +0 -30
- package/es/components/Icons/interface.js +0 -2
- package/es/components/Icons/style/Icons.css +0 -1
- package/es/components/Icons/style/css.js +0 -2
- package/es/components/Icons/style/index.d.ts +0 -1
- package/es/components/Icons/style/index.js +0 -2
- package/es/components/Input/Amount/Amount.d.ts +0 -6
- package/es/components/Input/Amount/Amount.js +0 -199
- package/es/components/Input/Amount/helper.d.ts +0 -35
- package/es/components/Input/Amount/helper.js +0 -95
- package/es/components/Input/Amount/index.d.ts +0 -3
- package/es/components/Input/Amount/index.js +0 -4
- package/es/components/Input/Amount/style/Amount.css +0 -1
- package/es/components/Input/Amount/style/css.js +0 -2
- package/es/components/Input/Amount/style/index.d.ts +0 -1
- package/es/components/Input/Amount/style/index.js +0 -2
- package/es/components/Input/FieldShell/FieldShell.css +0 -1
- package/es/components/Input/FieldShell/FieldShell.d.ts +0 -23
- package/es/components/Input/FieldShell/FieldShell.js +0 -99
- package/es/components/Input/FieldShell/index.d.ts +0 -3
- package/es/components/Input/FieldShell/index.js +0 -3
- package/es/components/Input/Input/Input.css +0 -1
- package/es/components/Input/Input/Input.d.ts +0 -3
- package/es/components/Input/Input/Input.js +0 -170
- package/es/components/Input/Input/index.d.ts +0 -2
- package/es/components/Input/Input/index.js +0 -3
- package/es/components/Input/Mask/Mask.d.ts +0 -5
- package/es/components/Input/Mask/Mask.js +0 -344
- package/es/components/Input/Mask/index.d.ts +0 -2
- package/es/components/Input/Mask/index.js +0 -3
- package/es/components/Input/OTP/OTP.css +0 -1
- package/es/components/Input/OTP/OTP.d.ts +0 -5
- package/es/components/Input/OTP/OTP.js +0 -157
- package/es/components/Input/OTP/index.d.ts +0 -2
- package/es/components/Input/OTP/index.js +0 -3
- package/es/components/Input/Password/Password.d.ts +0 -5
- package/es/components/Input/Password/Password.js +0 -128
- package/es/components/Input/Password/index.d.ts +0 -2
- package/es/components/Input/Password/index.js +0 -3
- package/es/components/Input/Search/Search.d.ts +0 -5
- package/es/components/Input/Search/Search.js +0 -151
- package/es/components/Input/Search/index.d.ts +0 -2
- package/es/components/Input/Search/index.js +0 -3
- package/es/components/Input/TextArea/TextArea.css +0 -1
- package/es/components/Input/TextArea/TextArea.d.ts +0 -5
- package/es/components/Input/TextArea/TextArea.js +0 -100
- package/es/components/Input/TextArea/index.d.ts +0 -2
- package/es/components/Input/TextArea/index.js +0 -3
- package/es/components/Input/Trade/Trade.css +0 -1
- package/es/components/Input/Trade/Trade.d.ts +0 -5
- package/es/components/Input/Trade/Trade.js +0 -133
- package/es/components/Input/Trade/index.d.ts +0 -2
- package/es/components/Input/Trade/index.js +0 -3
- package/es/components/Input/constants.d.ts +0 -15
- package/es/components/Input/constants.js +0 -16
- package/es/components/Input/index.d.ts +0 -4
- package/es/components/Input/index.js +0 -5
- package/es/components/Input/interface.d.ts +0 -156
- package/es/components/Input/interface.js +0 -2
- package/es/components/Input/style/css.js +0 -7
- package/es/components/Input/style/index.d.ts +0 -6
- package/es/components/Input/style/index.js +0 -7
- package/es/components/Input/useAmountInput.d.ts +0 -35
- package/es/components/Input/useAmountInput.js +0 -207
- package/es/components/Input/useSyncRef.d.ts +0 -2
- package/es/components/Input/useSyncRef.js +0 -13
- package/es/components/Link/Link.d.ts +0 -4
- package/es/components/Link/Link.js +0 -57
- package/es/components/Link/constants.d.ts +0 -5
- package/es/components/Link/constants.js +0 -6
- package/es/components/Link/index.d.ts +0 -5
- package/es/components/Link/index.js +0 -6
- package/es/components/Link/interface.d.ts +0 -13
- package/es/components/Link/interface.js +0 -2
- package/es/components/Link/style/Link.css +0 -1
- package/es/components/Link/style/css.js +0 -2
- package/es/components/Link/style/index.d.ts +0 -1
- package/es/components/Link/style/index.js +0 -2
- package/es/components/Navigation/Nav.d.ts +0 -5
- package/es/components/Navigation/Nav.js +0 -200
- package/es/components/Navigation/Navigation.d.ts +0 -5
- package/es/components/Navigation/Navigation.js +0 -299
- package/es/components/Navigation/NavigationLogo.d.ts +0 -8
- package/es/components/Navigation/NavigationLogo.js +0 -46
- package/es/components/Navigation/NavigationStepper.d.ts +0 -5
- package/es/components/Navigation/NavigationStepper.js +0 -72
- package/es/components/Navigation/index.d.ts +0 -6
- package/es/components/Navigation/index.js +0 -7
- package/es/components/Navigation/interface.d.ts +0 -134
- package/es/components/Navigation/interface.js +0 -2
- package/es/components/Navigation/style/Nav.css +0 -1
- package/es/components/Navigation/style/Navigation.css +0 -1
- package/es/components/Navigation/style/NavigationStepper.css +0 -1
- package/es/components/Navigation/style/css.js +0 -4
- package/es/components/Navigation/style/index.d.ts +0 -3
- package/es/components/Navigation/style/index.js +0 -4
- package/es/components/Notification/Notification.d.ts +0 -6
- package/es/components/Notification/Notification.js +0 -108
- package/es/components/Notification/NotificationStatic.d.ts +0 -4
- package/es/components/Notification/NotificationStatic.js +0 -501
- package/es/components/Notification/constants.d.ts +0 -12
- package/es/components/Notification/constants.js +0 -16
- package/es/components/Notification/index.d.ts +0 -5
- package/es/components/Notification/index.js +0 -5
- package/es/components/Notification/interface.d.ts +0 -70
- package/es/components/Notification/interface.js +0 -7
- package/es/components/Notification/style/Notification.css +0 -1
- package/es/components/Notification/style/css.js +0 -2
- package/es/components/Notification/style/index.d.ts +0 -1
- package/es/components/Notification/style/index.js +0 -2
- package/es/components/Pagination/Pagination.d.ts +0 -5
- package/es/components/Pagination/Pagination.js +0 -136
- package/es/components/Pagination/constants.d.ts +0 -52
- package/es/components/Pagination/constants.js +0 -55
- package/es/components/Pagination/index.d.ts +0 -6
- package/es/components/Pagination/index.js +0 -7
- package/es/components/Pagination/interface.d.ts +0 -53
- package/es/components/Pagination/interface.js +0 -2
- package/es/components/Pagination/style/Pagination.css +0 -1
- package/es/components/Pagination/style/css.js +0 -2
- package/es/components/Pagination/style/index.d.ts +0 -1
- package/es/components/Pagination/style/index.js +0 -2
- package/es/components/Pagination/usePagination.d.ts +0 -3
- package/es/components/Pagination/usePagination.js +0 -145
- package/es/components/Popconfirm/Popconfirm.d.ts +0 -6
- package/es/components/Popconfirm/Popconfirm.js +0 -144
- package/es/components/Popconfirm/constants.d.ts +0 -74
- package/es/components/Popconfirm/constants.js +0 -73
- package/es/components/Popconfirm/index.d.ts +0 -4
- package/es/components/Popconfirm/index.js +0 -5
- package/es/components/Popconfirm/interface.d.ts +0 -40
- package/es/components/Popconfirm/interface.js +0 -2
- package/es/components/Popconfirm/style/Popconfirm.css +0 -1
- package/es/components/Popconfirm/style/css.js +0 -5
- package/es/components/Popconfirm/style/index.d.ts +0 -4
- package/es/components/Popconfirm/style/index.js +0 -5
- package/es/components/Portal/Portal.d.ts +0 -3
- package/es/components/Portal/Portal.js +0 -54
- package/es/components/Portal/index.d.ts +0 -4
- package/es/components/Portal/index.js +0 -5
- package/es/components/Portal/interface.d.ts +0 -7
- package/es/components/Portal/interface.js +0 -2
- package/es/components/ProForm/ProForm.d.ts +0 -4
- package/es/components/ProForm/ProForm.js +0 -302
- package/es/components/ProForm/ProFormDependency.d.ts +0 -4
- package/es/components/ProForm/ProFormDependency.js +0 -160
- package/es/components/ProForm/ProFormGroup.d.ts +0 -3
- package/es/components/ProForm/ProFormGroup.js +0 -78
- package/es/components/ProForm/ProFormItem.d.ts +0 -4
- package/es/components/ProForm/ProFormItem.js +0 -220
- package/es/components/ProForm/ProFormList.d.ts +0 -3
- package/es/components/ProForm/ProFormList.js +0 -252
- package/es/components/ProForm/Submitter.d.ts +0 -6
- package/es/components/ProForm/Submitter.js +0 -106
- package/es/components/ProForm/constants.d.ts +0 -18
- package/es/components/ProForm/constants.js +0 -23
- package/es/components/ProForm/context.d.ts +0 -13
- package/es/components/ProForm/context.js +0 -29
- package/es/components/ProForm/core/constants.d.ts +0 -21
- package/es/components/ProForm/core/constants.js +0 -20
- package/es/components/ProForm/core/hooks/useForm.d.ts +0 -3
- package/es/components/ProForm/core/hooks/useForm.js +0 -677
- package/es/components/ProForm/core/hooks/useFormCore.d.ts +0 -3
- package/es/components/ProForm/core/hooks/useFormCore.js +0 -347
- package/es/components/ProForm/core/index.d.ts +0 -6
- package/es/components/ProForm/core/index.js +0 -6
- package/es/components/ProForm/core/interface.d.ts +0 -153
- package/es/components/ProForm/core/interface.js +0 -2
- package/es/components/ProForm/core/useFormItem.d.ts +0 -21
- package/es/components/ProForm/core/useFormItem.js +0 -173
- package/es/components/ProForm/fields/ProFormCheckbox.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormCheckbox.js +0 -11
- package/es/components/ProForm/fields/ProFormCheckboxGroup.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormCheckboxGroup.js +0 -12
- package/es/components/ProForm/fields/ProFormDatePicker.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormDatePicker.js +0 -23
- package/es/components/ProForm/fields/ProFormFieldSet.d.ts +0 -4
- package/es/components/ProForm/fields/ProFormFieldSet.js +0 -65
- package/es/components/ProForm/fields/ProFormPassword.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormPassword.js +0 -11
- package/es/components/ProForm/fields/ProFormRadioGroup.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormRadioGroup.js +0 -10
- package/es/components/ProForm/fields/ProFormSelect.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormSelect.js +0 -40
- package/es/components/ProForm/fields/ProFormSlider.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormSlider.js +0 -10
- package/es/components/ProForm/fields/ProFormSwitch.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormSwitch.js +0 -11
- package/es/components/ProForm/fields/ProFormText.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormText.js +0 -10
- package/es/components/ProForm/fields/ProFormTextArea.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormTextArea.js +0 -10
- package/es/components/ProForm/fields/ProFormUpload.d.ts +0 -3
- package/es/components/ProForm/fields/ProFormUpload.js +0 -25
- package/es/components/ProForm/fields/createProFormField.d.ts +0 -4
- package/es/components/ProForm/fields/createProFormField.js +0 -156
- package/es/components/ProForm/fields/index.d.ts +0 -13
- package/es/components/ProForm/fields/index.js +0 -14
- package/es/components/ProForm/hooks/useFieldRequest.d.ts +0 -7
- package/es/components/ProForm/hooks/useFieldRequest.js +0 -90
- package/es/components/ProForm/index.d.ts +0 -38
- package/es/components/ProForm/index.js +0 -55
- package/es/components/ProForm/interface.d.ts +0 -284
- package/es/components/ProForm/interface.js +0 -2
- package/es/components/ProForm/layouts/DialogForm.d.ts +0 -3
- package/es/components/ProForm/layouts/DialogForm.js +0 -74
- package/es/components/ProForm/layouts/DrawerForm.d.ts +0 -3
- package/es/components/ProForm/layouts/DrawerForm.js +0 -73
- package/es/components/ProForm/layouts/QueryFilter.d.ts +0 -4
- package/es/components/ProForm/layouts/QueryFilter.js +0 -158
- package/es/components/ProForm/layouts/index.d.ts +0 -4
- package/es/components/ProForm/layouts/index.js +0 -5
- package/es/components/ProForm/layouts/useOverlayForm.d.ts +0 -17
- package/es/components/ProForm/layouts/useOverlayForm.js +0 -107
- package/es/components/ProForm/style/ProForm.css +0 -1
- package/es/components/ProForm/style/css.js +0 -2
- package/es/components/ProForm/style/index.d.ts +0 -1
- package/es/components/ProForm/style/index.js +0 -2
- package/es/components/ProForm/utils.d.ts +0 -22
- package/es/components/ProForm/utils.js +0 -211
- package/es/components/Progress/Progress.d.ts +0 -6
- package/es/components/Progress/Progress.js +0 -94
- package/es/components/Progress/constants.d.ts +0 -26
- package/es/components/Progress/constants.js +0 -32
- package/es/components/Progress/index.d.ts +0 -5
- package/es/components/Progress/index.js +0 -6
- package/es/components/Progress/interface.d.ts +0 -26
- package/es/components/Progress/interface.js +0 -2
- package/es/components/Progress/style/Progress.css +0 -1
- package/es/components/Progress/style/css.js +0 -2
- package/es/components/Progress/style/index.d.ts +0 -1
- package/es/components/Progress/style/index.js +0 -2
- package/es/components/Radio/BaseRadio.d.ts +0 -16
- package/es/components/Radio/BaseRadio.js +0 -58
- package/es/components/Radio/Radio.d.ts +0 -6
- package/es/components/Radio/Radio.js +0 -182
- package/es/components/Radio/RadioGroup.d.ts +0 -5
- package/es/components/Radio/RadioGroup.js +0 -102
- package/es/components/Radio/RadioGroupContext.d.ts +0 -22
- package/es/components/Radio/RadioGroupContext.js +0 -7
- package/es/components/Radio/constants.d.ts +0 -39
- package/es/components/Radio/constants.js +0 -57
- package/es/components/Radio/index.d.ts +0 -5
- package/es/components/Radio/index.js +0 -6
- package/es/components/Radio/interface.d.ts +0 -122
- package/es/components/Radio/interface.js +0 -2
- package/es/components/Radio/style/Radio.css +0 -1
- package/es/components/Radio/style/css.js +0 -3
- package/es/components/Radio/style/index.d.ts +0 -2
- package/es/components/Radio/style/index.js +0 -3
- package/es/components/ResizeObserver/Collection.d.ts +0 -19
- package/es/components/ResizeObserver/Collection.js +0 -41
- package/es/components/ResizeObserver/ResizeObserver.d.ts +0 -7
- package/es/components/ResizeObserver/ResizeObserver.js +0 -31
- package/es/components/ResizeObserver/SingleObserver/index.d.ts +0 -7
- package/es/components/ResizeObserver/SingleObserver/index.js +0 -38
- package/es/components/ResizeObserver/index.d.ts +0 -7
- package/es/components/ResizeObserver/index.js +0 -6
- package/es/components/ResizeObserver/interface.d.ts +0 -16
- package/es/components/ResizeObserver/interface.js +0 -2
- package/es/components/ResizeObserver/useResizeObserver.d.ts +0 -2
- package/es/components/ResizeObserver/useResizeObserver.js +0 -70
- package/es/components/ResizeObserver/utils/observerUtil.d.ts +0 -7
- package/es/components/ResizeObserver/utils/observerUtil.js +0 -39
- package/es/components/ResizeObserver/utils/reactUtil.d.ts +0 -19
- package/es/components/ResizeObserver/utils/reactUtil.js +0 -78
- package/es/components/Segment/Segment.d.ts +0 -6
- package/es/components/Segment/Segment.js +0 -100
- package/es/components/Segment/index.d.ts +0 -4
- package/es/components/Segment/index.js +0 -5
- package/es/components/Segment/interface.d.ts +0 -23
- package/es/components/Segment/interface.js +0 -2
- package/es/components/Segment/style/Segment.css +0 -1
- package/es/components/Segment/style/css.js +0 -2
- package/es/components/Segment/style/index.d.ts +0 -1
- package/es/components/Segment/style/index.js +0 -2
- package/es/components/Select/Select.d.ts +0 -6
- package/es/components/Select/Select.js +0 -563
- package/es/components/Select/SelectCustom.d.ts +0 -6
- package/es/components/Select/SelectCustom.js +0 -232
- package/es/components/Select/SelectFieldShell.d.ts +0 -24
- package/es/components/Select/SelectFieldShell.js +0 -81
- package/es/components/Select/SelectOptionContent.d.ts +0 -17
- package/es/components/Select/SelectOptionContent.js +0 -45
- package/es/components/Select/SelectSearchControl.d.ts +0 -15
- package/es/components/Select/SelectSearchControl.js +0 -43
- package/es/components/Select/SelectValueContent.d.ts +0 -18
- package/es/components/Select/SelectValueContent.js +0 -99
- package/es/components/Select/constants.d.ts +0 -45
- package/es/components/Select/constants.js +0 -43
- package/es/components/Select/index.d.ts +0 -7
- package/es/components/Select/index.js +0 -10
- package/es/components/Select/interface.d.ts +0 -229
- package/es/components/Select/interface.js +0 -4
- package/es/components/Select/style/Select.css +0 -1
- package/es/components/Select/style/css.js +0 -4
- package/es/components/Select/style/index.d.ts +0 -3
- package/es/components/Select/style/index.js +0 -4
- package/es/components/Select/useSelectShell.d.ts +0 -34
- package/es/components/Select/useSelectShell.js +0 -106
- package/es/components/Select/utils.d.ts +0 -21
- package/es/components/Select/utils.js +0 -140
- package/es/components/Skeleton/Skeleton.d.ts +0 -6
- package/es/components/Skeleton/Skeleton.js +0 -49
- package/es/components/Skeleton/index.d.ts +0 -4
- package/es/components/Skeleton/index.js +0 -5
- package/es/components/Skeleton/interface.d.ts +0 -19
- package/es/components/Skeleton/interface.js +0 -2
- package/es/components/Skeleton/style/Skeleton.css +0 -1
- package/es/components/Skeleton/style/css.js +0 -2
- package/es/components/Skeleton/style/index.d.ts +0 -1
- package/es/components/Skeleton/style/index.js +0 -2
- package/es/components/Slider/Slider.d.ts +0 -6
- package/es/components/Slider/Slider.js +0 -117
- package/es/components/Slider/index.d.ts +0 -4
- package/es/components/Slider/index.js +0 -5
- package/es/components/Slider/interface.d.ts +0 -39
- package/es/components/Slider/interface.js +0 -2
- package/es/components/Slider/style/Slider.css +0 -1
- package/es/components/Slider/style/css.js +0 -2
- package/es/components/Slider/style/index.d.ts +0 -1
- package/es/components/Slider/style/index.js +0 -2
- package/es/components/Space/Space.d.ts +0 -5
- package/es/components/Space/Space.js +0 -78
- package/es/components/Space/constants.d.ts +0 -33
- package/es/components/Space/constants.js +0 -37
- package/es/components/Space/index.d.ts +0 -5
- package/es/components/Space/index.js +0 -6
- package/es/components/Space/interface.d.ts +0 -12
- package/es/components/Space/interface.js +0 -2
- package/es/components/Space/style/Space.css +0 -1
- package/es/components/Space/style/css.js +0 -2
- package/es/components/Space/style/index.d.ts +0 -1
- package/es/components/Space/style/index.js +0 -2
- package/es/components/Spinner/Spinner.d.ts +0 -6
- package/es/components/Spinner/Spinner.js +0 -219
- package/es/components/Spinner/index.d.ts +0 -4
- package/es/components/Spinner/index.js +0 -5
- package/es/components/Spinner/interface.d.ts +0 -18
- package/es/components/Spinner/interface.js +0 -2
- package/es/components/Spinner/lottie-pure.json +0 -1
- package/es/components/Spinner/style/Spinner.css +0 -1
- package/es/components/Spinner/style/css.js +0 -2
- package/es/components/Spinner/style/index.d.ts +0 -1
- package/es/components/Spinner/style/index.js +0 -2
- package/es/components/Step/Step.d.ts +0 -5
- package/es/components/Step/Step.js +0 -116
- package/es/components/Step/constants.d.ts +0 -59
- package/es/components/Step/constants.js +0 -65
- package/es/components/Step/index.d.ts +0 -4
- package/es/components/Step/index.js +0 -5
- package/es/components/Step/interface.d.ts +0 -22
- package/es/components/Step/interface.js +0 -2
- package/es/components/Step/style/Step.css +0 -1
- package/es/components/Step/style/css.js +0 -2
- package/es/components/Step/style/index.d.ts +0 -1
- package/es/components/Step/style/index.js +0 -2
- package/es/components/Switch/Switch.d.ts +0 -6
- package/es/components/Switch/Switch.js +0 -94
- package/es/components/Switch/constants.d.ts +0 -25
- package/es/components/Switch/constants.js +0 -27
- package/es/components/Switch/index.d.ts +0 -5
- package/es/components/Switch/index.js +0 -6
- package/es/components/Switch/interface.d.ts +0 -26
- package/es/components/Switch/interface.js +0 -2
- package/es/components/Switch/style/Switch.css +0 -1
- package/es/components/Switch/style/css.js +0 -3
- package/es/components/Switch/style/index.d.ts +0 -2
- package/es/components/Switch/style/index.js +0 -3
- package/es/components/Table/Table.d.ts +0 -10
- package/es/components/Table/Table.js +0 -41
- package/es/components/Table/VirtualTable.d.ts +0 -9
- package/es/components/Table/VirtualTable.js +0 -53
- package/es/components/Table/constants.d.ts +0 -4
- package/es/components/Table/constants.js +0 -5
- package/es/components/Table/core/useTableColumns.d.ts +0 -48
- package/es/components/Table/core/useTableColumns.js +0 -243
- package/es/components/Table/core/useTableDataPipeline.d.ts +0 -57
- package/es/components/Table/core/useTableDataPipeline.js +0 -428
- package/es/components/Table/core/useTableExpand.d.ts +0 -9
- package/es/components/Table/core/useTableExpand.js +0 -38
- package/es/components/Table/core/useTableSelection.d.ts +0 -15
- package/es/components/Table/core/useTableSelection.js +0 -144
- package/es/components/Table/core/useTableSetup.d.ts +0 -42
- package/es/components/Table/core/useTableSetup.js +0 -175
- package/es/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/es/components/Table/features/ExpandTrigger.js +0 -25
- package/es/components/Table/features/FilterTrigger.d.ts +0 -9
- package/es/components/Table/features/FilterTrigger.js +0 -157
- package/es/components/Table/features/SelectionColumn.d.ts +0 -12
- package/es/components/Table/features/SelectionColumn.js +0 -54
- package/es/components/Table/features/SortTrigger.d.ts +0 -7
- package/es/components/Table/features/SortTrigger.js +0 -26
- package/es/components/Table/index.d.ts +0 -6
- package/es/components/Table/index.js +0 -7
- package/es/components/Table/interface.d.ts +0 -261
- package/es/components/Table/interface.js +0 -2
- package/es/components/Table/internal/index.d.ts +0 -3
- package/es/components/Table/internal/index.js +0 -3
- package/es/components/Table/internal/kernel/Body/BodyRow.d.ts +0 -37
- package/es/components/Table/internal/kernel/Body/BodyRow.js +0 -174
- package/es/components/Table/internal/kernel/Body/ExpandedRow.d.ts +0 -15
- package/es/components/Table/internal/kernel/Body/ExpandedRow.js +0 -56
- package/es/components/Table/internal/kernel/Body/MeasureCell.d.ts +0 -8
- package/es/components/Table/internal/kernel/Body/MeasureCell.js +0 -39
- package/es/components/Table/internal/kernel/Body/MeasureRow.d.ts +0 -10
- package/es/components/Table/internal/kernel/Body/MeasureRow.js +0 -53
- package/es/components/Table/internal/kernel/Body/index.d.ts +0 -9
- package/es/components/Table/internal/kernel/Body/index.js +0 -124
- package/es/components/Table/internal/kernel/Cell/index.d.ts +0 -39
- package/es/components/Table/internal/kernel/Cell/index.js +0 -179
- package/es/components/Table/internal/kernel/Cell/useCellRender.d.ts +0 -3
- package/es/components/Table/internal/kernel/Cell/useCellRender.js +0 -63
- package/es/components/Table/internal/kernel/Cell/useHoverState.d.ts +0 -2
- package/es/components/Table/internal/kernel/Cell/useHoverState.js +0 -15
- package/es/components/Table/internal/kernel/ColGroup.d.ts +0 -8
- package/es/components/Table/internal/kernel/ColGroup.js +0 -56
- package/es/components/Table/internal/kernel/FixedHolder/index.d.ts +0 -27
- package/es/components/Table/internal/kernel/FixedHolder/index.js +0 -181
- package/es/components/Table/internal/kernel/Footer/Cell.d.ts +0 -11
- package/es/components/Table/internal/kernel/Footer/Cell.js +0 -50
- package/es/components/Table/internal/kernel/Footer/Row.d.ts +0 -8
- package/es/components/Table/internal/kernel/Footer/Row.js +0 -20
- package/es/components/Table/internal/kernel/Footer/Summary.d.ts +0 -14
- package/es/components/Table/internal/kernel/Footer/Summary.js +0 -13
- package/es/components/Table/internal/kernel/Footer/SummaryContext.d.ts +0 -11
- package/es/components/Table/internal/kernel/Footer/SummaryContext.js +0 -4
- package/es/components/Table/internal/kernel/Footer/index.d.ts +0 -16
- package/es/components/Table/internal/kernel/Footer/index.js +0 -36
- package/es/components/Table/internal/kernel/Header/Header.d.ts +0 -9
- package/es/components/Table/internal/kernel/Header/Header.js +0 -109
- package/es/components/Table/internal/kernel/Header/HeaderRow.d.ts +0 -18
- package/es/components/Table/internal/kernel/Header/HeaderRow.js +0 -60
- package/es/components/Table/internal/kernel/Panel/index.d.ts +0 -7
- package/es/components/Table/internal/kernel/Panel/index.js +0 -15
- package/es/components/Table/internal/kernel/Table.d.ts +0 -126
- package/es/components/Table/internal/kernel/Table.js +0 -692
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -287
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +0 -14
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.js +0 -113
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +0 -26
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.js +0 -105
- package/es/components/Table/internal/kernel/VirtualTable/context.d.ts +0 -13
- package/es/components/Table/internal/kernel/VirtualTable/context.js +0 -5
- package/es/components/Table/internal/kernel/VirtualTable/index.d.ts +0 -17
- package/es/components/Table/internal/kernel/VirtualTable/index.js +0 -91
- package/es/components/Table/internal/kernel/constant.d.ts +0 -2
- package/es/components/Table/internal/kernel/constant.js +0 -4
- package/es/components/Table/internal/kernel/context/PerfContext.d.ts +0 -6
- package/es/components/Table/internal/kernel/context/PerfContext.js +0 -8
- package/es/components/Table/internal/kernel/context/TableContext.d.ts +0 -51
- package/es/components/Table/internal/kernel/context/TableContext.js +0 -10
- package/es/components/Table/internal/kernel/hooks/useColumns/index.d.ts +0 -31
- package/es/components/Table/internal/kernel/hooks/useColumns/index.js +0 -210
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +0 -5
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +0 -69
- package/es/components/Table/internal/kernel/hooks/useExpand.d.ts +0 -10
- package/es/components/Table/internal/kernel/hooks/useExpand.js +0 -84
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +0 -2
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.js +0 -18
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +0 -19
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.js +0 -54
- package/es/components/Table/internal/kernel/hooks/useFrame.d.ts +0 -7
- package/es/components/Table/internal/kernel/hooks/useFrame.js +0 -63
- package/es/components/Table/internal/kernel/hooks/useHover.d.ts +0 -2
- package/es/components/Table/internal/kernel/hooks/useHover.js +0 -19
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +0 -5
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.js +0 -41
- package/es/components/Table/internal/kernel/hooks/useRowInfo.d.ts +0 -11
- package/es/components/Table/internal/kernel/hooks/useRowInfo.js +0 -62
- package/es/components/Table/internal/kernel/hooks/useSticky.d.ts +0 -10
- package/es/components/Table/internal/kernel/hooks/useSticky.js +0 -33
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +0 -6
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.js +0 -31
- package/es/components/Table/internal/kernel/index.d.ts +0 -12
- package/es/components/Table/internal/kernel/index.js +0 -11
- package/es/components/Table/internal/kernel/interface.d.ts +0 -202
- package/es/components/Table/internal/kernel/interface.js +0 -2
- package/es/components/Table/internal/kernel/namePathType.d.ts +0 -13
- package/es/components/Table/internal/kernel/namePathType.js +0 -3
- package/es/components/Table/internal/kernel/selector-context/Immutable.d.ts +0 -10
- package/es/components/Table/internal/kernel/selector-context/Immutable.js +0 -73
- package/es/components/Table/internal/kernel/selector-context/context.d.ts +0 -26
- package/es/components/Table/internal/kernel/selector-context/context.js +0 -83
- package/es/components/Table/internal/kernel/selector-context/index.d.ts +0 -7
- package/es/components/Table/internal/kernel/selector-context/index.js +0 -9
- package/es/components/Table/internal/kernel/selector-context/isEqual.d.ts +0 -5
- package/es/components/Table/internal/kernel/selector-context/isEqual.js +0 -48
- package/es/components/Table/internal/kernel/stickyScrollBar.d.ts +0 -12
- package/es/components/Table/internal/kernel/stickyScrollBar.js +0 -192
- package/es/components/Table/internal/kernel/sugar/Column.d.ts +0 -10
- package/es/components/Table/internal/kernel/sugar/Column.js +0 -11
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +0 -12
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.js +0 -11
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +0 -1
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.js +0 -4
- package/es/components/Table/internal/kernel/utils/dom/isVisible.d.ts +0 -2
- package/es/components/Table/internal/kernel/utils/dom/isVisible.js +0 -28
- package/es/components/Table/internal/kernel/utils/expandUtil.d.ts +0 -4
- package/es/components/Table/internal/kernel/utils/expandUtil.js +0 -47
- package/es/components/Table/internal/kernel/utils/fixUtil.d.ts +0 -21
- package/es/components/Table/internal/kernel/utils/fixUtil.js +0 -64
- package/es/components/Table/internal/kernel/utils/get.d.ts +0 -1
- package/es/components/Table/internal/kernel/utils/get.js +0 -11
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +0 -7
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.js +0 -38
- package/es/components/Table/internal/kernel/utils/legacyUtil.d.ts +0 -5
- package/es/components/Table/internal/kernel/utils/legacyUtil.js +0 -31
- package/es/components/Table/internal/kernel/utils/offsetUtil.d.ts +0 -4
- package/es/components/Table/internal/kernel/utils/offsetUtil.js +0 -14
- package/es/components/Table/internal/kernel/utils/pickAttrs.d.ts +0 -6
- package/es/components/Table/internal/kernel/utils/pickAttrs.js +0 -33
- package/es/components/Table/internal/kernel/utils/useMemo.d.ts +0 -1
- package/es/components/Table/internal/kernel/utils/useMemo.js +0 -10
- package/es/components/Table/internal/kernel/utils/valueUtil.d.ts +0 -8
- package/es/components/Table/internal/kernel/utils/valueUtil.js +0 -30
- package/es/components/Table/internal/kernel/utils/warning.d.ts +0 -4
- package/es/components/Table/internal/kernel/utils/warning.js +0 -17
- package/es/components/Table/renderers/BodyCell.d.ts +0 -15
- package/es/components/Table/renderers/BodyCell.js +0 -40
- package/es/components/Table/renderers/CellContent.d.ts +0 -4
- package/es/components/Table/renderers/CellContent.js +0 -26
- package/es/components/Table/renderers/EmptyState.d.ts +0 -5
- package/es/components/Table/renderers/EmptyState.js +0 -22
- package/es/components/Table/renderers/ExpandedRowContainer.d.ts +0 -4
- package/es/components/Table/renderers/ExpandedRowContainer.js +0 -10
- package/es/components/Table/renderers/HeaderCell.d.ts +0 -11
- package/es/components/Table/renderers/HeaderCell.js +0 -32
- package/es/components/Table/style/Table.css +0 -1
- package/es/components/Table/style/css.js +0 -10
- package/es/components/Table/style/index.d.ts +0 -9
- package/es/components/Table/style/index.js +0 -10
- package/es/components/Tabs/Tabs.d.ts +0 -6
- package/es/components/Tabs/Tabs.js +0 -113
- package/es/components/Tabs/index.d.ts +0 -4
- package/es/components/Tabs/index.js +0 -5
- package/es/components/Tabs/interface.d.ts +0 -29
- package/es/components/Tabs/interface.js +0 -2
- package/es/components/Tabs/style/Tabs.css +0 -1
- package/es/components/Tabs/style/css.js +0 -2
- package/es/components/Tabs/style/index.d.ts +0 -1
- package/es/components/Tabs/style/index.js +0 -2
- package/es/components/Tag/Tag.d.ts +0 -6
- package/es/components/Tag/Tag.js +0 -80
- package/es/components/Tag/constants.d.ts +0 -18
- package/es/components/Tag/constants.js +0 -28
- package/es/components/Tag/index.d.ts +0 -5
- package/es/components/Tag/index.js +0 -6
- package/es/components/Tag/interface.d.ts +0 -15
- package/es/components/Tag/interface.js +0 -2
- package/es/components/Tag/style/Tag.css +0 -1
- package/es/components/Tag/style/css.js +0 -2
- package/es/components/Tag/style/index.d.ts +0 -1
- package/es/components/Tag/style/index.js +0 -2
- package/es/components/Tooltip/Tooltip.d.ts +0 -6
- package/es/components/Tooltip/Tooltip.js +0 -71
- package/es/components/Tooltip/index.d.ts +0 -4
- package/es/components/Tooltip/index.js +0 -5
- package/es/components/Tooltip/interface.d.ts +0 -22
- package/es/components/Tooltip/interface.js +0 -2
- package/es/components/Tooltip/style/Tooltip.css +0 -1
- package/es/components/Tooltip/style/css.js +0 -2
- package/es/components/Tooltip/style/index.d.ts +0 -1
- package/es/components/Tooltip/style/index.js +0 -2
- package/es/components/Tour/Tour.d.ts +0 -3
- package/es/components/Tour/Tour.js +0 -243
- package/es/components/Tour/index.d.ts +0 -4
- package/es/components/Tour/index.js +0 -5
- package/es/components/Tour/interface.d.ts +0 -46
- package/es/components/Tour/interface.js +0 -2
- package/es/components/Trigger/Trigger.d.ts +0 -5
- package/es/components/Trigger/Trigger.js +0 -193
- package/es/components/Trigger/index.d.ts +0 -3
- package/es/components/Trigger/index.js +0 -4
- package/es/components/Trigger/interface.d.ts +0 -77
- package/es/components/Trigger/interface.js +0 -2
- package/es/components/Trigger/style/Trigger.css +0 -1
- package/es/components/Trigger/style/css.js +0 -2
- package/es/components/Trigger/style/index.d.ts +0 -1
- package/es/components/Trigger/style/index.js +0 -2
- package/es/components/Typography/Typography.d.ts +0 -17
- package/es/components/Typography/Typography.js +0 -201
- package/es/components/Typography/constants.d.ts +0 -33
- package/es/components/Typography/constants.js +0 -9
- package/es/components/Typography/index.d.ts +0 -4
- package/es/components/Typography/index.js +0 -5
- package/es/components/Typography/interface.d.ts +0 -72
- package/es/components/Typography/interface.js +0 -22
- package/es/components/Typography/render.d.ts +0 -328
- package/es/components/Typography/render.js +0 -106
- package/es/components/Typography/style/Typography.css +0 -1
- package/es/components/Typography/style/css.js +0 -4
- package/es/components/Typography/style/index.d.ts +0 -3
- package/es/components/Typography/style/index.js +0 -4
- package/es/components/Typography/useTypographyEnhancements.d.ts +0 -43
- package/es/components/Typography/useTypographyEnhancements.js +0 -111
- package/es/components/Typography/utils.d.ts +0 -17
- package/es/components/Typography/utils.js +0 -88
- package/es/components/Upload/Upload.d.ts +0 -7
- package/es/components/Upload/Upload.js +0 -88
- package/es/components/Upload/UploadFileBar.d.ts +0 -6
- package/es/components/Upload/UploadFileBar.js +0 -69
- package/es/components/Upload/index.d.ts +0 -5
- package/es/components/Upload/index.js +0 -6
- package/es/components/Upload/interface.d.ts +0 -43
- package/es/components/Upload/interface.js +0 -2
- package/es/components/Upload/style/Upload.css +0 -1
- package/es/components/Upload/style/UploadFileBar.css +0 -1
- package/es/components/Upload/style/css.js +0 -3
- package/es/components/Upload/style/index.d.ts +0 -2
- package/es/components/Upload/style/index.js +0 -3
- package/es/components/VirtualList/Filler.d.ts +0 -21
- package/es/components/VirtualList/Filler.js +0 -56
- package/es/components/VirtualList/Item.d.ts +0 -6
- package/es/components/VirtualList/Item.js +0 -12
- package/es/components/VirtualList/ScrollBar.d.ts +0 -22
- package/es/components/VirtualList/ScrollBar.js +0 -237
- package/es/components/VirtualList/VirtualList.d.ts +0 -62
- package/es/components/VirtualList/VirtualList.js +0 -529
- package/es/components/VirtualList/constants.d.ts +0 -4
- package/es/components/VirtualList/constants.js +0 -5
- package/es/components/VirtualList/hooks/useChildren.d.ts +0 -2
- package/es/components/VirtualList/hooks/useChildren.js +0 -25
- package/es/components/VirtualList/hooks/useDiffItem.d.ts +0 -2
- package/es/components/VirtualList/hooks/useDiffItem.js +0 -16
- package/es/components/VirtualList/hooks/useFrameWheel.d.ts +0 -10
- package/es/components/VirtualList/hooks/useFrameWheel.js +0 -85
- package/es/components/VirtualList/hooks/useGetSize.d.ts +0 -7
- package/es/components/VirtualList/hooks/useGetSize.js +0 -47
- package/es/components/VirtualList/hooks/useHeights.d.ts +0 -8
- package/es/components/VirtualList/hooks/useHeights.js +0 -96
- package/es/components/VirtualList/hooks/useMobileTouchMove.d.ts +0 -2
- package/es/components/VirtualList/hooks/useMobileTouchMove.js +0 -85
- package/es/components/VirtualList/hooks/useOriginScroll.d.ts +0 -2
- package/es/components/VirtualList/hooks/useOriginScroll.js +0 -44
- package/es/components/VirtualList/hooks/useScrollDrag.d.ts +0 -3
- package/es/components/VirtualList/hooks/useScrollDrag.js +0 -76
- package/es/components/VirtualList/hooks/useScrollTo.d.ts +0 -18
- package/es/components/VirtualList/hooks/useScrollTo.js +0 -132
- package/es/components/VirtualList/index.d.ts +0 -9
- package/es/components/VirtualList/index.js +0 -5
- package/es/components/VirtualList/interface.d.ts +0 -26
- package/es/components/VirtualList/interface.js +0 -2
- package/es/components/VirtualList/style/VirtualList.css +0 -1
- package/es/components/VirtualList/style/css.js +0 -2
- package/es/components/VirtualList/style/index.d.ts +0 -1
- package/es/components/VirtualList/style/index.js +0 -2
- package/es/components/VirtualList/utils/CacheMap.d.ts +0 -16
- package/es/components/VirtualList/utils/CacheMap.js +0 -43
- package/es/components/VirtualList/utils/algorithmUtil.d.ts +0 -23
- package/es/components/VirtualList/utils/algorithmUtil.js +0 -77
- package/es/components/VirtualList/utils/isFirefox.d.ts +0 -2
- package/es/components/VirtualList/utils/isFirefox.js +0 -4
- package/es/components/VirtualList/utils/raf.d.ts +0 -9
- package/es/components/VirtualList/utils/raf.js +0 -47
- package/es/components/VirtualList/utils/scrollbarUtil.d.ts +0 -1
- package/es/components/VirtualList/utils/scrollbarUtil.js +0 -12
- package/es/hooks/index.d.ts +0 -2
- package/es/hooks/index.js +0 -2
- package/es/hooks/useFloatingAnimation.d.ts +0 -24
- package/es/hooks/useFloatingAnimation.js +0 -45
- package/es/index.css +0 -1
- package/es/index.d.ts +0 -92
- package/es/index.js +0 -47
- package/es/stories/docs/ComponentDocsPage.js +0 -234
- package/es/stories/docs/componentDocMeta.js +0 -94
- package/es/stories/docs/storybook-docs.css +0 -79
- package/es/styles/index.css +0 -1
- package/es/utils/classnames.d.ts +0 -5
- package/es/utils/classnames.js +0 -18
- package/es/utils/clipboard.d.ts +0 -2
- package/es/utils/clipboard.js +0 -50
- package/es/utils/ref.d.ts +0 -4
- package/es/utils/ref.js +0 -32
- package/es/utils/uuid.d.ts +0 -2
- package/es/utils/uuid.js +0 -16
- package/lib/components/Accordion/Accordion.d.ts +0 -4
- package/lib/components/Accordion/Accordion.js +0 -108
- package/lib/components/Accordion/constants.d.ts +0 -16
- package/lib/components/Accordion/constants.js +0 -23
- package/lib/components/Accordion/index.d.ts +0 -4
- package/lib/components/Accordion/index.js +0 -33
- package/lib/components/Accordion/interface.d.ts +0 -29
- package/lib/components/Accordion/interface.js +0 -6
- package/lib/components/Accordion/style/Accordion.css +0 -1
- package/lib/components/Accordion/style/css.js +0 -4
- package/lib/components/Accordion/style/index.d.ts +0 -1
- package/lib/components/Accordion/style/index.js +0 -4
- package/lib/components/Alert/Alert.d.ts +0 -6
- package/lib/components/Alert/Alert.js +0 -120
- package/lib/components/Alert/index.d.ts +0 -4
- package/lib/components/Alert/index.js +0 -33
- package/lib/components/Alert/interface.d.ts +0 -42
- package/lib/components/Alert/interface.js +0 -12
- package/lib/components/Alert/style/Alert.css +0 -1
- package/lib/components/Alert/style/css.js +0 -5
- package/lib/components/Alert/style/index.d.ts +0 -2
- package/lib/components/Alert/style/index.js +0 -5
- package/lib/components/Button/Button.d.ts +0 -4
- package/lib/components/Button/Button.js +0 -159
- package/lib/components/Button/constants.d.ts +0 -70
- package/lib/components/Button/constants.js +0 -97
- package/lib/components/Button/index.d.ts +0 -5
- package/lib/components/Button/index.js +0 -45
- package/lib/components/Button/interface.d.ts +0 -23
- package/lib/components/Button/interface.js +0 -6
- package/lib/components/Button/style/Button.css +0 -1
- package/lib/components/Button/style/css.js +0 -4
- package/lib/components/Button/style/index.d.ts +0 -1
- package/lib/components/Button/style/index.js +0 -4
- package/lib/components/Calendar/Calendar.d.ts +0 -7
- package/lib/components/Calendar/Calendar.js +0 -137
- package/lib/components/Calendar/index.d.ts +0 -4
- package/lib/components/Calendar/index.js +0 -33
- package/lib/components/Calendar/interface.d.ts +0 -29
- package/lib/components/Calendar/interface.js +0 -6
- package/lib/components/Calendar/style/Calendar.css +0 -1
- package/lib/components/Calendar/style/css.js +0 -4
- package/lib/components/Calendar/style/index.d.ts +0 -1
- package/lib/components/Calendar/style/index.js +0 -4
- package/lib/components/Carousel/Carousel.d.ts +0 -6
- package/lib/components/Carousel/Carousel.js +0 -56
- package/lib/components/Carousel/index.d.ts +0 -4
- package/lib/components/Carousel/index.js +0 -33
- package/lib/components/Carousel/interface.d.ts +0 -15
- package/lib/components/Carousel/interface.js +0 -6
- package/lib/components/Carousel/style/Carousel.css +0 -1
- package/lib/components/Carousel/style/css.js +0 -4
- package/lib/components/Carousel/style/index.d.ts +0 -1
- package/lib/components/Carousel/style/index.js +0 -4
- package/lib/components/Cell/Cell.d.ts +0 -5
- package/lib/components/Cell/Cell.js +0 -66
- package/lib/components/Cell/index.d.ts +0 -4
- package/lib/components/Cell/index.js +0 -33
- package/lib/components/Cell/interface.d.ts +0 -12
- package/lib/components/Cell/interface.js +0 -6
- package/lib/components/Cell/style/Cell.css +0 -1
- package/lib/components/Cell/style/css.js +0 -4
- package/lib/components/Cell/style/index.d.ts +0 -1
- package/lib/components/Cell/style/index.js +0 -4
- package/lib/components/Checkbox/BaseCheckbox.d.ts +0 -6
- package/lib/components/Checkbox/BaseCheckbox.js +0 -94
- package/lib/components/Checkbox/Checkbox.d.ts +0 -6
- package/lib/components/Checkbox/Checkbox.js +0 -132
- package/lib/components/Checkbox/CheckboxGroup.d.ts +0 -5
- package/lib/components/Checkbox/CheckboxGroup.js +0 -151
- package/lib/components/Checkbox/CheckboxGroupContext.d.ts +0 -14
- package/lib/components/Checkbox/CheckboxGroupContext.js +0 -9
- package/lib/components/Checkbox/constants.d.ts +0 -17
- package/lib/components/Checkbox/constants.js +0 -23
- package/lib/components/Checkbox/index.d.ts +0 -10
- package/lib/components/Checkbox/index.js +0 -53
- package/lib/components/Checkbox/interface.d.ts +0 -77
- package/lib/components/Checkbox/interface.js +0 -6
- package/lib/components/Checkbox/style/Checkbox.css +0 -1
- package/lib/components/Checkbox/style/css.js +0 -4
- package/lib/components/Checkbox/style/index.d.ts +0 -1
- package/lib/components/Checkbox/style/index.js +0 -4
- package/lib/components/CoachMark/CoachMark.d.ts +0 -4
- package/lib/components/CoachMark/CoachMark.js +0 -152
- package/lib/components/CoachMark/index.d.ts +0 -4
- package/lib/components/CoachMark/index.js +0 -33
- package/lib/components/CoachMark/interface.d.ts +0 -47
- package/lib/components/CoachMark/interface.js +0 -8
- package/lib/components/CoachMark/style/CoachMark.css +0 -1
- package/lib/components/CoachMark/style/css.js +0 -7
- package/lib/components/CoachMark/style/index.d.ts +0 -4
- package/lib/components/CoachMark/style/index.js +0 -7
- package/lib/components/Copy/Clipboard.d.ts +0 -4
- package/lib/components/Copy/Clipboard.js +0 -54
- package/lib/components/Copy/Copy.d.ts +0 -4
- package/lib/components/Copy/Copy.js +0 -91
- package/lib/components/Copy/index.d.ts +0 -5
- package/lib/components/Copy/index.js +0 -41
- package/lib/components/Copy/interface.d.ts +0 -38
- package/lib/components/Copy/interface.js +0 -6
- package/lib/components/Copy/style/Clipboard.css +0 -1
- package/lib/components/Copy/style/Copy.css +0 -1
- package/lib/components/Copy/style/css.js +0 -5
- package/lib/components/Copy/style/index.d.ts +0 -2
- package/lib/components/Copy/style/index.js +0 -5
- package/lib/components/Dialog/Dialog.d.ts +0 -4
- package/lib/components/Dialog/Dialog.js +0 -368
- package/lib/components/Dialog/constants.d.ts +0 -57
- package/lib/components/Dialog/constants.js +0 -61
- package/lib/components/Dialog/index.d.ts +0 -4
- package/lib/components/Dialog/index.js +0 -33
- package/lib/components/Dialog/interface.d.ts +0 -36
- package/lib/components/Dialog/interface.js +0 -6
- package/lib/components/Dialog/style/Dialog.css +0 -1
- package/lib/components/Dialog/style/css.js +0 -4
- package/lib/components/Dialog/style/index.d.ts +0 -1
- package/lib/components/Dialog/style/index.js +0 -4
- package/lib/components/Divider/Divider.d.ts +0 -4
- package/lib/components/Divider/Divider.js +0 -60
- package/lib/components/Divider/constants.d.ts +0 -36
- package/lib/components/Divider/constants.js +0 -48
- package/lib/components/Divider/index.d.ts +0 -4
- package/lib/components/Divider/index.js +0 -31
- package/lib/components/Divider/interface.d.ts +0 -19
- package/lib/components/Divider/interface.js +0 -6
- package/lib/components/Divider/style/Divider.css +0 -1
- package/lib/components/Divider/style/css.js +0 -4
- package/lib/components/Divider/style/index.d.ts +0 -1
- package/lib/components/Divider/style/index.js +0 -4
- package/lib/components/Drawer/Drawer.d.ts +0 -4
- package/lib/components/Drawer/Drawer.js +0 -165
- package/lib/components/Drawer/constants.d.ts +0 -18
- package/lib/components/Drawer/constants.js +0 -25
- package/lib/components/Drawer/hooks/index.d.ts +0 -4
- package/lib/components/Drawer/hooks/index.js +0 -34
- package/lib/components/Drawer/hooks/useBodyScrollLock.d.ts +0 -1
- package/lib/components/Drawer/hooks/useBodyScrollLock.js +0 -35
- package/lib/components/Drawer/hooks/useDialogFocus.d.ts +0 -2
- package/lib/components/Drawer/hooks/useDialogFocus.js +0 -28
- package/lib/components/Drawer/hooks/useDrawerTransition.d.ts +0 -4
- package/lib/components/Drawer/hooks/useDrawerTransition.js +0 -64
- package/lib/components/Drawer/hooks/useEscapeClose.d.ts +0 -1
- package/lib/components/Drawer/hooks/useEscapeClose.js +0 -22
- package/lib/components/Drawer/index.d.ts +0 -3
- package/lib/components/Drawer/index.js +0 -46
- package/lib/components/Drawer/interface.d.ts +0 -79
- package/lib/components/Drawer/interface.js +0 -6
- package/lib/components/Drawer/style/Drawer.css +0 -1
- package/lib/components/Drawer/style/css.js +0 -4
- package/lib/components/Drawer/style/index.d.ts +0 -1
- package/lib/components/Drawer/style/index.js +0 -4
- package/lib/components/Dropdown/Dropdown.d.ts +0 -5
- package/lib/components/Dropdown/Dropdown.js +0 -39
- package/lib/components/Dropdown/index.d.ts +0 -3
- package/lib/components/Dropdown/index.js +0 -35
- package/lib/components/Dropdown/interface.d.ts +0 -8
- package/lib/components/Dropdown/interface.js +0 -6
- package/lib/components/Dropdown/style/Dropdown.css +0 -1
- package/lib/components/Dropdown/style/css.js +0 -5
- package/lib/components/Dropdown/style/index.d.ts +0 -2
- package/lib/components/Dropdown/style/index.js +0 -5
- package/lib/components/Empty/Empty.d.ts +0 -6
- package/lib/components/Empty/Empty.js +0 -77
- package/lib/components/Empty/index.d.ts +0 -4
- package/lib/components/Empty/index.js +0 -33
- package/lib/components/Empty/interface.d.ts +0 -11
- package/lib/components/Empty/interface.js +0 -6
- package/lib/components/Empty/style/Empty.css +0 -1
- package/lib/components/Empty/style/css.js +0 -5
- package/lib/components/Empty/style/index.d.ts +0 -2
- package/lib/components/Empty/style/index.js +0 -5
- package/lib/components/Flex/Flex.d.ts +0 -5
- package/lib/components/Flex/Flex.js +0 -60
- package/lib/components/Flex/constants.d.ts +0 -41
- package/lib/components/Flex/constants.js +0 -51
- package/lib/components/Flex/index.d.ts +0 -5
- package/lib/components/Flex/index.js +0 -60
- package/lib/components/Flex/interface.d.ts +0 -13
- package/lib/components/Flex/interface.js +0 -6
- package/lib/components/Flex/style/Flex.css +0 -1
- package/lib/components/Flex/style/css.js +0 -4
- package/lib/components/Flex/style/index.d.ts +0 -1
- package/lib/components/Flex/style/index.js +0 -4
- package/lib/components/Grid/Col.d.ts +0 -4
- package/lib/components/Grid/Col.js +0 -93
- package/lib/components/Grid/Grid.d.ts +0 -10
- package/lib/components/Grid/Grid.js +0 -21
- package/lib/components/Grid/Row.d.ts +0 -4
- package/lib/components/Grid/Row.js +0 -50
- package/lib/components/Grid/constants.d.ts +0 -48
- package/lib/components/Grid/constants.js +0 -77
- package/lib/components/Grid/helper.d.ts +0 -15
- package/lib/components/Grid/helper.js +0 -94
- package/lib/components/Grid/index.d.ts +0 -7
- package/lib/components/Grid/index.js +0 -62
- package/lib/components/Grid/interface.d.ts +0 -38
- package/lib/components/Grid/interface.js +0 -6
- package/lib/components/Grid/style/Grid.css +0 -1
- package/lib/components/Grid/style/css.js +0 -4
- package/lib/components/Grid/style/index.d.ts +0 -1
- package/lib/components/Grid/style/index.js +0 -4
- package/lib/components/Icons/Icons.d.ts +0 -194
- package/lib/components/Icons/Icons.js +0 -195
- package/lib/components/Icons/Illustrations.d.ts +0 -19
- package/lib/components/Icons/Illustrations.js +0 -943
- package/lib/components/Icons/Logo.d.ts +0 -36
- package/lib/components/Icons/Logo.js +0 -219
- package/lib/components/Icons/SVGs.d.ts +0 -267
- package/lib/components/Icons/SVGs.js +0 -1936
- package/lib/components/Icons/Wrapper.d.ts +0 -6
- package/lib/components/Icons/Wrapper.js +0 -109
- package/lib/components/Icons/index.d.ts +0 -4
- package/lib/components/Icons/index.js +0 -52
- package/lib/components/Icons/interface.d.ts +0 -30
- package/lib/components/Icons/interface.js +0 -6
- package/lib/components/Icons/style/Icons.css +0 -1
- package/lib/components/Icons/style/css.js +0 -4
- package/lib/components/Icons/style/index.d.ts +0 -1
- package/lib/components/Icons/style/index.js +0 -4
- package/lib/components/Input/Amount/Amount.d.ts +0 -6
- package/lib/components/Input/Amount/Amount.js +0 -208
- package/lib/components/Input/Amount/helper.d.ts +0 -35
- package/lib/components/Input/Amount/helper.js +0 -102
- package/lib/components/Input/Amount/index.d.ts +0 -3
- package/lib/components/Input/Amount/index.js +0 -18
- package/lib/components/Input/Amount/style/Amount.css +0 -1
- package/lib/components/Input/Amount/style/css.js +0 -4
- package/lib/components/Input/Amount/style/index.d.ts +0 -1
- package/lib/components/Input/Amount/style/index.js +0 -4
- package/lib/components/Input/FieldShell/FieldShell.css +0 -1
- package/lib/components/Input/FieldShell/FieldShell.d.ts +0 -23
- package/lib/components/Input/FieldShell/FieldShell.js +0 -108
- package/lib/components/Input/FieldShell/index.d.ts +0 -3
- package/lib/components/Input/FieldShell/index.js +0 -22
- package/lib/components/Input/Input/Input.css +0 -1
- package/lib/components/Input/Input/Input.d.ts +0 -3
- package/lib/components/Input/Input/Input.js +0 -180
- package/lib/components/Input/Input/index.d.ts +0 -2
- package/lib/components/Input/Input/index.js +0 -22
- package/lib/components/Input/Mask/Mask.d.ts +0 -5
- package/lib/components/Input/Mask/Mask.js +0 -354
- package/lib/components/Input/Mask/index.d.ts +0 -2
- package/lib/components/Input/Mask/index.js +0 -22
- package/lib/components/Input/OTP/OTP.css +0 -1
- package/lib/components/Input/OTP/OTP.d.ts +0 -5
- package/lib/components/Input/OTP/OTP.js +0 -164
- package/lib/components/Input/OTP/index.d.ts +0 -2
- package/lib/components/Input/OTP/index.js +0 -22
- package/lib/components/Input/Password/Password.d.ts +0 -5
- package/lib/components/Input/Password/Password.js +0 -138
- package/lib/components/Input/Password/index.d.ts +0 -2
- package/lib/components/Input/Password/index.js +0 -22
- package/lib/components/Input/Search/Search.d.ts +0 -5
- package/lib/components/Input/Search/Search.js +0 -161
- package/lib/components/Input/Search/index.d.ts +0 -2
- package/lib/components/Input/Search/index.js +0 -22
- package/lib/components/Input/TextArea/TextArea.css +0 -1
- package/lib/components/Input/TextArea/TextArea.d.ts +0 -5
- package/lib/components/Input/TextArea/TextArea.js +0 -110
- package/lib/components/Input/TextArea/index.d.ts +0 -2
- package/lib/components/Input/TextArea/index.js +0 -22
- package/lib/components/Input/Trade/Trade.css +0 -1
- package/lib/components/Input/Trade/Trade.d.ts +0 -5
- package/lib/components/Input/Trade/Trade.js +0 -142
- package/lib/components/Input/Trade/index.d.ts +0 -2
- package/lib/components/Input/Trade/index.js +0 -22
- package/lib/components/Input/constants.d.ts +0 -15
- package/lib/components/Input/constants.js +0 -22
- package/lib/components/Input/index.d.ts +0 -4
- package/lib/components/Input/index.js +0 -49
- package/lib/components/Input/interface.d.ts +0 -156
- package/lib/components/Input/interface.js +0 -6
- package/lib/components/Input/style/css.js +0 -9
- package/lib/components/Input/style/index.d.ts +0 -6
- package/lib/components/Input/style/index.js +0 -9
- package/lib/components/Input/useAmountInput.d.ts +0 -35
- package/lib/components/Input/useAmountInput.js +0 -214
- package/lib/components/Input/useSyncRef.d.ts +0 -2
- package/lib/components/Input/useSyncRef.js +0 -19
- package/lib/components/Link/Link.d.ts +0 -4
- package/lib/components/Link/Link.js +0 -66
- package/lib/components/Link/constants.d.ts +0 -5
- package/lib/components/Link/constants.js +0 -12
- package/lib/components/Link/index.d.ts +0 -5
- package/lib/components/Link/index.js +0 -45
- package/lib/components/Link/interface.d.ts +0 -13
- package/lib/components/Link/interface.js +0 -6
- package/lib/components/Link/style/Link.css +0 -1
- package/lib/components/Link/style/css.js +0 -4
- package/lib/components/Link/style/index.d.ts +0 -1
- package/lib/components/Link/style/index.js +0 -4
- package/lib/components/Navigation/Nav.d.ts +0 -5
- package/lib/components/Navigation/Nav.js +0 -210
- package/lib/components/Navigation/Navigation.d.ts +0 -5
- package/lib/components/Navigation/Navigation.js +0 -309
- package/lib/components/Navigation/NavigationLogo.d.ts +0 -8
- package/lib/components/Navigation/NavigationLogo.js +0 -52
- package/lib/components/Navigation/NavigationStepper.d.ts +0 -5
- package/lib/components/Navigation/NavigationStepper.js +0 -82
- package/lib/components/Navigation/index.d.ts +0 -6
- package/lib/components/Navigation/index.js +0 -49
- package/lib/components/Navigation/interface.d.ts +0 -134
- package/lib/components/Navigation/interface.js +0 -6
- package/lib/components/Navigation/style/Nav.css +0 -1
- package/lib/components/Navigation/style/Navigation.css +0 -1
- package/lib/components/Navigation/style/NavigationStepper.css +0 -1
- package/lib/components/Navigation/style/css.js +0 -6
- package/lib/components/Navigation/style/index.d.ts +0 -3
- package/lib/components/Navigation/style/index.js +0 -6
- package/lib/components/Notification/Notification.d.ts +0 -6
- package/lib/components/Notification/Notification.js +0 -116
- package/lib/components/Notification/NotificationStatic.d.ts +0 -4
- package/lib/components/Notification/NotificationStatic.js +0 -515
- package/lib/components/Notification/constants.d.ts +0 -12
- package/lib/components/Notification/constants.js +0 -22
- package/lib/components/Notification/index.d.ts +0 -5
- package/lib/components/Notification/index.js +0 -52
- package/lib/components/Notification/interface.d.ts +0 -70
- package/lib/components/Notification/interface.js +0 -13
- package/lib/components/Notification/style/Notification.css +0 -1
- package/lib/components/Notification/style/css.js +0 -4
- package/lib/components/Notification/style/index.d.ts +0 -1
- package/lib/components/Notification/style/index.js +0 -4
- package/lib/components/Pagination/Pagination.d.ts +0 -5
- package/lib/components/Pagination/Pagination.js +0 -145
- package/lib/components/Pagination/constants.d.ts +0 -52
- package/lib/components/Pagination/constants.js +0 -62
- package/lib/components/Pagination/index.d.ts +0 -6
- package/lib/components/Pagination/index.js +0 -53
- package/lib/components/Pagination/interface.d.ts +0 -53
- package/lib/components/Pagination/interface.js +0 -6
- package/lib/components/Pagination/style/Pagination.css +0 -1
- package/lib/components/Pagination/style/css.js +0 -4
- package/lib/components/Pagination/style/index.d.ts +0 -1
- package/lib/components/Pagination/style/index.js +0 -4
- package/lib/components/Pagination/usePagination.d.ts +0 -3
- package/lib/components/Pagination/usePagination.js +0 -152
- package/lib/components/Popconfirm/Popconfirm.d.ts +0 -6
- package/lib/components/Popconfirm/Popconfirm.js +0 -154
- package/lib/components/Popconfirm/constants.d.ts +0 -74
- package/lib/components/Popconfirm/constants.js +0 -80
- package/lib/components/Popconfirm/index.d.ts +0 -4
- package/lib/components/Popconfirm/index.js +0 -33
- package/lib/components/Popconfirm/interface.d.ts +0 -40
- package/lib/components/Popconfirm/interface.js +0 -6
- package/lib/components/Popconfirm/style/Popconfirm.css +0 -1
- package/lib/components/Popconfirm/style/css.js +0 -7
- package/lib/components/Popconfirm/style/index.d.ts +0 -4
- package/lib/components/Popconfirm/style/index.js +0 -7
- package/lib/components/Portal/Portal.d.ts +0 -3
- package/lib/components/Portal/Portal.js +0 -61
- package/lib/components/Portal/index.d.ts +0 -4
- package/lib/components/Portal/index.js +0 -33
- package/lib/components/Portal/interface.d.ts +0 -7
- package/lib/components/Portal/interface.js +0 -6
- package/lib/components/ProForm/ProForm.d.ts +0 -4
- package/lib/components/ProForm/ProForm.js +0 -312
- package/lib/components/ProForm/ProFormDependency.d.ts +0 -4
- package/lib/components/ProForm/ProFormDependency.js +0 -170
- package/lib/components/ProForm/ProFormGroup.d.ts +0 -3
- package/lib/components/ProForm/ProFormGroup.js +0 -85
- package/lib/components/ProForm/ProFormItem.d.ts +0 -4
- package/lib/components/ProForm/ProFormItem.js +0 -229
- package/lib/components/ProForm/ProFormList.d.ts +0 -3
- package/lib/components/ProForm/ProFormList.js +0 -259
- package/lib/components/ProForm/Submitter.d.ts +0 -6
- package/lib/components/ProForm/Submitter.js +0 -113
- package/lib/components/ProForm/constants.d.ts +0 -18
- package/lib/components/ProForm/constants.js +0 -29
- package/lib/components/ProForm/context.d.ts +0 -13
- package/lib/components/ProForm/context.js +0 -35
- package/lib/components/ProForm/core/constants.d.ts +0 -21
- package/lib/components/ProForm/core/constants.js +0 -26
- package/lib/components/ProForm/core/hooks/useForm.d.ts +0 -3
- package/lib/components/ProForm/core/hooks/useForm.js +0 -686
- package/lib/components/ProForm/core/hooks/useFormCore.d.ts +0 -3
- package/lib/components/ProForm/core/hooks/useFormCore.js +0 -354
- package/lib/components/ProForm/core/index.d.ts +0 -6
- package/lib/components/ProForm/core/index.js +0 -56
- package/lib/components/ProForm/core/interface.d.ts +0 -153
- package/lib/components/ProForm/core/interface.js +0 -6
- package/lib/components/ProForm/core/useFormItem.d.ts +0 -21
- package/lib/components/ProForm/core/useFormItem.js +0 -183
- package/lib/components/ProForm/fields/ProFormCheckbox.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormCheckbox.js +0 -17
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.js +0 -18
- package/lib/components/ProForm/fields/ProFormDatePicker.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormDatePicker.js +0 -29
- package/lib/components/ProForm/fields/ProFormFieldSet.d.ts +0 -4
- package/lib/components/ProForm/fields/ProFormFieldSet.js +0 -75
- package/lib/components/ProForm/fields/ProFormPassword.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormPassword.js +0 -17
- package/lib/components/ProForm/fields/ProFormRadioGroup.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormRadioGroup.js +0 -16
- package/lib/components/ProForm/fields/ProFormSelect.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormSelect.js +0 -46
- package/lib/components/ProForm/fields/ProFormSlider.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormSlider.js +0 -16
- package/lib/components/ProForm/fields/ProFormSwitch.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormSwitch.js +0 -17
- package/lib/components/ProForm/fields/ProFormText.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormText.js +0 -16
- package/lib/components/ProForm/fields/ProFormTextArea.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormTextArea.js +0 -16
- package/lib/components/ProForm/fields/ProFormUpload.d.ts +0 -3
- package/lib/components/ProForm/fields/ProFormUpload.js +0 -32
- package/lib/components/ProForm/fields/createProFormField.d.ts +0 -4
- package/lib/components/ProForm/fields/createProFormField.js +0 -164
- package/lib/components/ProForm/fields/index.d.ts +0 -13
- package/lib/components/ProForm/fields/index.js +0 -97
- package/lib/components/ProForm/hooks/useFieldRequest.d.ts +0 -7
- package/lib/components/ProForm/hooks/useFieldRequest.js +0 -98
- package/lib/components/ProForm/index.d.ts +0 -38
- package/lib/components/ProForm/index.js +0 -206
- package/lib/components/ProForm/interface.d.ts +0 -284
- package/lib/components/ProForm/interface.js +0 -6
- package/lib/components/ProForm/layouts/DialogForm.d.ts +0 -3
- package/lib/components/ProForm/layouts/DialogForm.js +0 -81
- package/lib/components/ProForm/layouts/DrawerForm.d.ts +0 -3
- package/lib/components/ProForm/layouts/DrawerForm.js +0 -80
- package/lib/components/ProForm/layouts/QueryFilter.d.ts +0 -4
- package/lib/components/ProForm/layouts/QueryFilter.js +0 -167
- package/lib/components/ProForm/layouts/index.d.ts +0 -4
- package/lib/components/ProForm/layouts/index.js +0 -34
- package/lib/components/ProForm/layouts/useOverlayForm.d.ts +0 -17
- package/lib/components/ProForm/layouts/useOverlayForm.js +0 -117
- package/lib/components/ProForm/style/ProForm.css +0 -1
- package/lib/components/ProForm/style/css.js +0 -4
- package/lib/components/ProForm/style/index.d.ts +0 -1
- package/lib/components/ProForm/style/index.js +0 -4
- package/lib/components/ProForm/utils.d.ts +0 -22
- package/lib/components/ProForm/utils.js +0 -228
- package/lib/components/Progress/Progress.d.ts +0 -6
- package/lib/components/Progress/Progress.js +0 -103
- package/lib/components/Progress/constants.d.ts +0 -26
- package/lib/components/Progress/constants.js +0 -38
- package/lib/components/Progress/index.d.ts +0 -5
- package/lib/components/Progress/index.js +0 -45
- package/lib/components/Progress/interface.d.ts +0 -26
- package/lib/components/Progress/interface.js +0 -6
- package/lib/components/Progress/style/Progress.css +0 -1
- package/lib/components/Progress/style/css.js +0 -4
- package/lib/components/Progress/style/index.d.ts +0 -1
- package/lib/components/Progress/style/index.js +0 -4
- package/lib/components/Radio/BaseRadio.d.ts +0 -16
- package/lib/components/Radio/BaseRadio.js +0 -65
- package/lib/components/Radio/Radio.d.ts +0 -6
- package/lib/components/Radio/Radio.js +0 -192
- package/lib/components/Radio/RadioGroup.d.ts +0 -5
- package/lib/components/Radio/RadioGroup.js +0 -112
- package/lib/components/Radio/RadioGroupContext.d.ts +0 -22
- package/lib/components/Radio/RadioGroupContext.js +0 -13
- package/lib/components/Radio/constants.d.ts +0 -39
- package/lib/components/Radio/constants.js +0 -63
- package/lib/components/Radio/index.d.ts +0 -5
- package/lib/components/Radio/index.js +0 -41
- package/lib/components/Radio/interface.d.ts +0 -122
- package/lib/components/Radio/interface.js +0 -6
- package/lib/components/Radio/style/Radio.css +0 -1
- package/lib/components/Radio/style/css.js +0 -5
- package/lib/components/Radio/style/index.d.ts +0 -2
- package/lib/components/Radio/style/index.js +0 -5
- package/lib/components/ResizeObserver/Collection.d.ts +0 -19
- package/lib/components/ResizeObserver/Collection.js +0 -51
- package/lib/components/ResizeObserver/ResizeObserver.d.ts +0 -7
- package/lib/components/ResizeObserver/ResizeObserver.js +0 -41
- package/lib/components/ResizeObserver/SingleObserver/index.d.ts +0 -7
- package/lib/components/ResizeObserver/SingleObserver/index.js +0 -48
- package/lib/components/ResizeObserver/index.d.ts +0 -7
- package/lib/components/ResizeObserver/index.js +0 -30
- package/lib/components/ResizeObserver/interface.d.ts +0 -16
- package/lib/components/ResizeObserver/interface.js +0 -6
- package/lib/components/ResizeObserver/useResizeObserver.d.ts +0 -2
- package/lib/components/ResizeObserver/useResizeObserver.js +0 -79
- package/lib/components/ResizeObserver/utils/observerUtil.d.ts +0 -7
- package/lib/components/ResizeObserver/utils/observerUtil.js +0 -47
- package/lib/components/ResizeObserver/utils/reactUtil.d.ts +0 -19
- package/lib/components/ResizeObserver/utils/reactUtil.js +0 -91
- package/lib/components/Segment/Segment.d.ts +0 -6
- package/lib/components/Segment/Segment.js +0 -110
- package/lib/components/Segment/index.d.ts +0 -4
- package/lib/components/Segment/index.js +0 -33
- package/lib/components/Segment/interface.d.ts +0 -23
- package/lib/components/Segment/interface.js +0 -6
- package/lib/components/Segment/style/Segment.css +0 -1
- package/lib/components/Segment/style/css.js +0 -4
- package/lib/components/Segment/style/index.d.ts +0 -1
- package/lib/components/Segment/style/index.js +0 -4
- package/lib/components/Select/Select.d.ts +0 -6
- package/lib/components/Select/Select.js +0 -573
- package/lib/components/Select/SelectCustom.d.ts +0 -6
- package/lib/components/Select/SelectCustom.js +0 -242
- package/lib/components/Select/SelectFieldShell.d.ts +0 -24
- package/lib/components/Select/SelectFieldShell.js +0 -87
- package/lib/components/Select/SelectOptionContent.d.ts +0 -17
- package/lib/components/Select/SelectOptionContent.js +0 -51
- package/lib/components/Select/SelectSearchControl.d.ts +0 -15
- package/lib/components/Select/SelectSearchControl.js +0 -49
- package/lib/components/Select/SelectValueContent.d.ts +0 -18
- package/lib/components/Select/SelectValueContent.js +0 -105
- package/lib/components/Select/constants.d.ts +0 -45
- package/lib/components/Select/constants.js +0 -49
- package/lib/components/Select/index.d.ts +0 -7
- package/lib/components/Select/index.js +0 -41
- package/lib/components/Select/interface.d.ts +0 -229
- package/lib/components/Select/interface.js +0 -10
- package/lib/components/Select/style/Select.css +0 -1
- package/lib/components/Select/style/css.js +0 -6
- package/lib/components/Select/style/index.d.ts +0 -3
- package/lib/components/Select/style/index.js +0 -6
- package/lib/components/Select/useSelectShell.d.ts +0 -34
- package/lib/components/Select/useSelectShell.js +0 -114
- package/lib/components/Select/utils.d.ts +0 -21
- package/lib/components/Select/utils.js +0 -161
- package/lib/components/Skeleton/Skeleton.d.ts +0 -6
- package/lib/components/Skeleton/Skeleton.js +0 -58
- package/lib/components/Skeleton/index.d.ts +0 -4
- package/lib/components/Skeleton/index.js +0 -33
- package/lib/components/Skeleton/interface.d.ts +0 -19
- package/lib/components/Skeleton/interface.js +0 -6
- package/lib/components/Skeleton/style/Skeleton.css +0 -1
- package/lib/components/Skeleton/style/css.js +0 -4
- package/lib/components/Skeleton/style/index.d.ts +0 -1
- package/lib/components/Skeleton/style/index.js +0 -4
- package/lib/components/Slider/Slider.d.ts +0 -6
- package/lib/components/Slider/Slider.js +0 -127
- package/lib/components/Slider/index.d.ts +0 -4
- package/lib/components/Slider/index.js +0 -33
- package/lib/components/Slider/interface.d.ts +0 -39
- package/lib/components/Slider/interface.js +0 -6
- package/lib/components/Slider/style/Slider.css +0 -1
- package/lib/components/Slider/style/css.js +0 -4
- package/lib/components/Slider/style/index.d.ts +0 -1
- package/lib/components/Slider/style/index.js +0 -4
- package/lib/components/Space/Space.d.ts +0 -5
- package/lib/components/Space/Space.js +0 -88
- package/lib/components/Space/constants.d.ts +0 -33
- package/lib/components/Space/constants.js +0 -43
- package/lib/components/Space/index.d.ts +0 -5
- package/lib/components/Space/index.js +0 -53
- package/lib/components/Space/interface.d.ts +0 -12
- package/lib/components/Space/interface.js +0 -6
- package/lib/components/Space/style/Space.css +0 -1
- package/lib/components/Space/style/css.js +0 -4
- package/lib/components/Space/style/index.d.ts +0 -1
- package/lib/components/Space/style/index.js +0 -4
- package/lib/components/Spinner/Spinner.d.ts +0 -6
- package/lib/components/Spinner/Spinner.js +0 -230
- package/lib/components/Spinner/index.d.ts +0 -4
- package/lib/components/Spinner/index.js +0 -33
- package/lib/components/Spinner/interface.d.ts +0 -18
- package/lib/components/Spinner/interface.js +0 -8
- package/lib/components/Spinner/lottie-pure.json +0 -1
- package/lib/components/Spinner/style/Spinner.css +0 -1
- package/lib/components/Spinner/style/css.js +0 -4
- package/lib/components/Spinner/style/index.d.ts +0 -1
- package/lib/components/Spinner/style/index.js +0 -4
- package/lib/components/Step/Step.d.ts +0 -5
- package/lib/components/Step/Step.js +0 -126
- package/lib/components/Step/constants.d.ts +0 -59
- package/lib/components/Step/constants.js +0 -72
- package/lib/components/Step/index.d.ts +0 -4
- package/lib/components/Step/index.js +0 -33
- package/lib/components/Step/interface.d.ts +0 -22
- package/lib/components/Step/interface.js +0 -6
- package/lib/components/Step/style/Step.css +0 -1
- package/lib/components/Step/style/css.js +0 -4
- package/lib/components/Step/style/index.d.ts +0 -1
- package/lib/components/Step/style/index.js +0 -4
- package/lib/components/Switch/Switch.d.ts +0 -6
- package/lib/components/Switch/Switch.js +0 -104
- package/lib/components/Switch/constants.d.ts +0 -25
- package/lib/components/Switch/constants.js +0 -33
- package/lib/components/Switch/index.d.ts +0 -5
- package/lib/components/Switch/index.js +0 -45
- package/lib/components/Switch/interface.d.ts +0 -26
- package/lib/components/Switch/interface.js +0 -6
- package/lib/components/Switch/style/Switch.css +0 -1
- package/lib/components/Switch/style/css.js +0 -5
- package/lib/components/Switch/style/index.d.ts +0 -2
- package/lib/components/Switch/style/index.js +0 -5
- package/lib/components/Table/Table.d.ts +0 -10
- package/lib/components/Table/Table.js +0 -47
- package/lib/components/Table/VirtualTable.d.ts +0 -9
- package/lib/components/Table/VirtualTable.js +0 -59
- package/lib/components/Table/constants.d.ts +0 -4
- package/lib/components/Table/constants.js +0 -11
- package/lib/components/Table/core/useTableColumns.d.ts +0 -48
- package/lib/components/Table/core/useTableColumns.js +0 -250
- package/lib/components/Table/core/useTableDataPipeline.d.ts +0 -57
- package/lib/components/Table/core/useTableDataPipeline.js +0 -435
- package/lib/components/Table/core/useTableExpand.d.ts +0 -9
- package/lib/components/Table/core/useTableExpand.js +0 -45
- package/lib/components/Table/core/useTableSelection.d.ts +0 -15
- package/lib/components/Table/core/useTableSelection.js +0 -151
- package/lib/components/Table/core/useTableSetup.d.ts +0 -42
- package/lib/components/Table/core/useTableSetup.js +0 -184
- package/lib/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/lib/components/Table/features/ExpandTrigger.js +0 -31
- package/lib/components/Table/features/FilterTrigger.d.ts +0 -9
- package/lib/components/Table/features/FilterTrigger.js +0 -164
- package/lib/components/Table/features/SelectionColumn.d.ts +0 -12
- package/lib/components/Table/features/SelectionColumn.js +0 -60
- package/lib/components/Table/features/SortTrigger.d.ts +0 -7
- package/lib/components/Table/features/SortTrigger.js +0 -32
- package/lib/components/Table/index.d.ts +0 -6
- package/lib/components/Table/index.js +0 -47
- package/lib/components/Table/interface.d.ts +0 -261
- package/lib/components/Table/interface.js +0 -6
- package/lib/components/Table/internal/index.d.ts +0 -3
- package/lib/components/Table/internal/index.js +0 -52
- package/lib/components/Table/internal/kernel/Body/BodyRow.d.ts +0 -37
- package/lib/components/Table/internal/kernel/Body/BodyRow.js +0 -186
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.d.ts +0 -15
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.js +0 -67
- package/lib/components/Table/internal/kernel/Body/MeasureCell.d.ts +0 -8
- package/lib/components/Table/internal/kernel/Body/MeasureCell.js +0 -50
- package/lib/components/Table/internal/kernel/Body/MeasureRow.d.ts +0 -10
- package/lib/components/Table/internal/kernel/Body/MeasureRow.js +0 -64
- package/lib/components/Table/internal/kernel/Body/index.d.ts +0 -9
- package/lib/components/Table/internal/kernel/Body/index.js +0 -135
- package/lib/components/Table/internal/kernel/Cell/index.d.ts +0 -39
- package/lib/components/Table/internal/kernel/Cell/index.js +0 -190
- package/lib/components/Table/internal/kernel/Cell/useCellRender.d.ts +0 -3
- package/lib/components/Table/internal/kernel/Cell/useCellRender.js +0 -74
- package/lib/components/Table/internal/kernel/Cell/useHoverState.d.ts +0 -2
- package/lib/components/Table/internal/kernel/Cell/useHoverState.js +0 -23
- package/lib/components/Table/internal/kernel/ColGroup.d.ts +0 -8
- package/lib/components/Table/internal/kernel/ColGroup.js +0 -68
- package/lib/components/Table/internal/kernel/FixedHolder/index.d.ts +0 -27
- package/lib/components/Table/internal/kernel/FixedHolder/index.js +0 -193
- package/lib/components/Table/internal/kernel/Footer/Cell.d.ts +0 -11
- package/lib/components/Table/internal/kernel/Footer/Cell.js +0 -60
- package/lib/components/Table/internal/kernel/Footer/Row.d.ts +0 -8
- package/lib/components/Table/internal/kernel/Footer/Row.js +0 -31
- package/lib/components/Table/internal/kernel/Footer/Summary.d.ts +0 -14
- package/lib/components/Table/internal/kernel/Footer/Summary.js +0 -20
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.d.ts +0 -11
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.js +0 -13
- package/lib/components/Table/internal/kernel/Footer/index.d.ts +0 -16
- package/lib/components/Table/internal/kernel/Footer/index.js +0 -47
- package/lib/components/Table/internal/kernel/Header/Header.d.ts +0 -9
- package/lib/components/Table/internal/kernel/Header/Header.js +0 -120
- package/lib/components/Table/internal/kernel/Header/HeaderRow.d.ts +0 -18
- package/lib/components/Table/internal/kernel/Header/HeaderRow.js +0 -71
- package/lib/components/Table/internal/kernel/Panel/index.d.ts +0 -7
- package/lib/components/Table/internal/kernel/Panel/index.js +0 -25
- package/lib/components/Table/internal/kernel/Table.d.ts +0 -126
- package/lib/components/Table/internal/kernel/Table.js +0 -701
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -299
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +0 -14
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.js +0 -125
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +0 -26
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.js +0 -117
- package/lib/components/Table/internal/kernel/VirtualTable/context.d.ts +0 -13
- package/lib/components/Table/internal/kernel/VirtualTable/context.js +0 -12
- package/lib/components/Table/internal/kernel/VirtualTable/index.d.ts +0 -17
- package/lib/components/Table/internal/kernel/VirtualTable/index.js +0 -101
- package/lib/components/Table/internal/kernel/constant.d.ts +0 -2
- package/lib/components/Table/internal/kernel/constant.js +0 -10
- package/lib/components/Table/internal/kernel/context/PerfContext.d.ts +0 -6
- package/lib/components/Table/internal/kernel/context/PerfContext.js +0 -18
- package/lib/components/Table/internal/kernel/context/TableContext.d.ts +0 -51
- package/lib/components/Table/internal/kernel/context/TableContext.js +0 -16
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.d.ts +0 -31
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.js +0 -223
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +0 -5
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +0 -79
- package/lib/components/Table/internal/kernel/hooks/useExpand.d.ts +0 -10
- package/lib/components/Table/internal/kernel/hooks/useExpand.js +0 -95
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +0 -2
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.js +0 -29
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +0 -19
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.js +0 -64
- package/lib/components/Table/internal/kernel/hooks/useFrame.d.ts +0 -7
- package/lib/components/Table/internal/kernel/hooks/useFrame.js +0 -72
- package/lib/components/Table/internal/kernel/hooks/useHover.d.ts +0 -2
- package/lib/components/Table/internal/kernel/hooks/useHover.js +0 -30
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +0 -5
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.js +0 -51
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.d.ts +0 -11
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.js +0 -70
- package/lib/components/Table/internal/kernel/hooks/useSticky.d.ts +0 -10
- package/lib/components/Table/internal/kernel/hooks/useSticky.js +0 -44
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +0 -6
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.js +0 -38
- package/lib/components/Table/internal/kernel/index.d.ts +0 -12
- package/lib/components/Table/internal/kernel/index.js +0 -74
- package/lib/components/Table/internal/kernel/interface.d.ts +0 -202
- package/lib/components/Table/internal/kernel/interface.js +0 -6
- package/lib/components/Table/internal/kernel/namePathType.d.ts +0 -13
- package/lib/components/Table/internal/kernel/namePathType.js +0 -6
- package/lib/components/Table/internal/kernel/selector-context/Immutable.d.ts +0 -10
- package/lib/components/Table/internal/kernel/selector-context/Immutable.js +0 -82
- package/lib/components/Table/internal/kernel/selector-context/context.d.ts +0 -26
- package/lib/components/Table/internal/kernel/selector-context/context.js +0 -93
- package/lib/components/Table/internal/kernel/selector-context/index.d.ts +0 -7
- package/lib/components/Table/internal/kernel/selector-context/index.js +0 -34
- package/lib/components/Table/internal/kernel/selector-context/isEqual.d.ts +0 -5
- package/lib/components/Table/internal/kernel/selector-context/isEqual.js +0 -55
- package/lib/components/Table/internal/kernel/stickyScrollBar.d.ts +0 -12
- package/lib/components/Table/internal/kernel/stickyScrollBar.js +0 -203
- package/lib/components/Table/internal/kernel/sugar/Column.d.ts +0 -10
- package/lib/components/Table/internal/kernel/sugar/Column.js +0 -17
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +0 -12
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.js +0 -17
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +0 -1
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.js +0 -10
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.d.ts +0 -2
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.js +0 -34
- package/lib/components/Table/internal/kernel/utils/expandUtil.d.ts +0 -4
- package/lib/components/Table/internal/kernel/utils/expandUtil.js +0 -60
- package/lib/components/Table/internal/kernel/utils/fixUtil.d.ts +0 -21
- package/lib/components/Table/internal/kernel/utils/fixUtil.js +0 -70
- package/lib/components/Table/internal/kernel/utils/get.d.ts +0 -1
- package/lib/components/Table/internal/kernel/utils/get.js +0 -17
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +0 -7
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.js +0 -45
- package/lib/components/Table/internal/kernel/utils/legacyUtil.d.ts +0 -5
- package/lib/components/Table/internal/kernel/utils/legacyUtil.js +0 -40
- package/lib/components/Table/internal/kernel/utils/offsetUtil.d.ts +0 -4
- package/lib/components/Table/internal/kernel/utils/offsetUtil.js +0 -21
- package/lib/components/Table/internal/kernel/utils/pickAttrs.d.ts +0 -6
- package/lib/components/Table/internal/kernel/utils/pickAttrs.js +0 -39
- package/lib/components/Table/internal/kernel/utils/useMemo.d.ts +0 -1
- package/lib/components/Table/internal/kernel/utils/useMemo.js +0 -19
- package/lib/components/Table/internal/kernel/utils/valueUtil.d.ts +0 -8
- package/lib/components/Table/internal/kernel/utils/valueUtil.js +0 -38
- package/lib/components/Table/internal/kernel/utils/warning.d.ts +0 -4
- package/lib/components/Table/internal/kernel/utils/warning.js +0 -26
- package/lib/components/Table/renderers/BodyCell.d.ts +0 -15
- package/lib/components/Table/renderers/BodyCell.js +0 -47
- package/lib/components/Table/renderers/CellContent.d.ts +0 -4
- package/lib/components/Table/renderers/CellContent.js +0 -32
- package/lib/components/Table/renderers/EmptyState.d.ts +0 -5
- package/lib/components/Table/renderers/EmptyState.js +0 -29
- package/lib/components/Table/renderers/ExpandedRowContainer.d.ts +0 -4
- package/lib/components/Table/renderers/ExpandedRowContainer.js +0 -16
- package/lib/components/Table/renderers/HeaderCell.d.ts +0 -11
- package/lib/components/Table/renderers/HeaderCell.js +0 -38
- package/lib/components/Table/style/Table.css +0 -1
- package/lib/components/Table/style/css.js +0 -12
- package/lib/components/Table/style/index.d.ts +0 -9
- package/lib/components/Table/style/index.js +0 -12
- package/lib/components/Tabs/Tabs.d.ts +0 -6
- package/lib/components/Tabs/Tabs.js +0 -123
- package/lib/components/Tabs/index.d.ts +0 -4
- package/lib/components/Tabs/index.js +0 -33
- package/lib/components/Tabs/interface.d.ts +0 -29
- package/lib/components/Tabs/interface.js +0 -6
- package/lib/components/Tabs/style/Tabs.css +0 -1
- package/lib/components/Tabs/style/css.js +0 -4
- package/lib/components/Tabs/style/index.d.ts +0 -1
- package/lib/components/Tabs/style/index.js +0 -4
- package/lib/components/Tag/Tag.d.ts +0 -6
- package/lib/components/Tag/Tag.js +0 -89
- package/lib/components/Tag/constants.d.ts +0 -18
- package/lib/components/Tag/constants.js +0 -34
- package/lib/components/Tag/index.d.ts +0 -5
- package/lib/components/Tag/index.js +0 -45
- package/lib/components/Tag/interface.d.ts +0 -15
- package/lib/components/Tag/interface.js +0 -6
- package/lib/components/Tag/style/Tag.css +0 -1
- package/lib/components/Tag/style/css.js +0 -4
- package/lib/components/Tag/style/index.d.ts +0 -1
- package/lib/components/Tag/style/index.js +0 -4
- package/lib/components/Tooltip/Tooltip.d.ts +0 -6
- package/lib/components/Tooltip/Tooltip.js +0 -80
- package/lib/components/Tooltip/index.d.ts +0 -4
- package/lib/components/Tooltip/index.js +0 -33
- package/lib/components/Tooltip/interface.d.ts +0 -22
- package/lib/components/Tooltip/interface.js +0 -6
- package/lib/components/Tooltip/style/Tooltip.css +0 -1
- package/lib/components/Tooltip/style/css.js +0 -4
- package/lib/components/Tooltip/style/index.d.ts +0 -1
- package/lib/components/Tooltip/style/index.js +0 -4
- package/lib/components/Tour/Tour.d.ts +0 -3
- package/lib/components/Tour/Tour.js +0 -250
- package/lib/components/Tour/index.d.ts +0 -4
- package/lib/components/Tour/index.js +0 -33
- package/lib/components/Tour/interface.d.ts +0 -46
- package/lib/components/Tour/interface.js +0 -6
- package/lib/components/Trigger/Trigger.d.ts +0 -5
- package/lib/components/Trigger/Trigger.js +0 -203
- package/lib/components/Trigger/index.d.ts +0 -3
- package/lib/components/Trigger/index.js +0 -35
- package/lib/components/Trigger/interface.d.ts +0 -77
- package/lib/components/Trigger/interface.js +0 -6
- package/lib/components/Trigger/style/Trigger.css +0 -1
- package/lib/components/Trigger/style/css.js +0 -4
- package/lib/components/Trigger/style/index.d.ts +0 -1
- package/lib/components/Trigger/style/index.js +0 -4
- package/lib/components/Typography/Typography.d.ts +0 -17
- package/lib/components/Typography/Typography.js +0 -207
- package/lib/components/Typography/constants.d.ts +0 -33
- package/lib/components/Typography/constants.js +0 -15
- package/lib/components/Typography/index.d.ts +0 -4
- package/lib/components/Typography/index.js +0 -79
- package/lib/components/Typography/interface.d.ts +0 -72
- package/lib/components/Typography/interface.js +0 -28
- package/lib/components/Typography/render.d.ts +0 -328
- package/lib/components/Typography/render.js +0 -116
- package/lib/components/Typography/style/Typography.css +0 -1
- package/lib/components/Typography/style/css.js +0 -6
- package/lib/components/Typography/style/index.d.ts +0 -3
- package/lib/components/Typography/style/index.js +0 -6
- package/lib/components/Typography/useTypographyEnhancements.d.ts +0 -43
- package/lib/components/Typography/useTypographyEnhancements.js +0 -118
- package/lib/components/Typography/utils.d.ts +0 -17
- package/lib/components/Typography/utils.js +0 -105
- package/lib/components/Upload/Upload.d.ts +0 -7
- package/lib/components/Upload/Upload.js +0 -97
- package/lib/components/Upload/UploadFileBar.d.ts +0 -6
- package/lib/components/Upload/UploadFileBar.js +0 -78
- package/lib/components/Upload/index.d.ts +0 -5
- package/lib/components/Upload/index.js +0 -41
- package/lib/components/Upload/interface.d.ts +0 -43
- package/lib/components/Upload/interface.js +0 -6
- package/lib/components/Upload/style/Upload.css +0 -1
- package/lib/components/Upload/style/UploadFileBar.css +0 -1
- package/lib/components/Upload/style/css.js +0 -5
- package/lib/components/Upload/style/index.d.ts +0 -2
- package/lib/components/Upload/style/index.js +0 -5
- package/lib/components/VirtualList/Filler.d.ts +0 -21
- package/lib/components/VirtualList/Filler.js +0 -66
- package/lib/components/VirtualList/Item.d.ts +0 -6
- package/lib/components/VirtualList/Item.js +0 -21
- package/lib/components/VirtualList/ScrollBar.d.ts +0 -22
- package/lib/components/VirtualList/ScrollBar.js +0 -247
- package/lib/components/VirtualList/VirtualList.d.ts +0 -62
- package/lib/components/VirtualList/VirtualList.js +0 -540
- package/lib/components/VirtualList/constants.d.ts +0 -4
- package/lib/components/VirtualList/constants.js +0 -11
- package/lib/components/VirtualList/hooks/useChildren.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useChildren.js +0 -34
- package/lib/components/VirtualList/hooks/useDiffItem.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useDiffItem.js +0 -25
- package/lib/components/VirtualList/hooks/useFrameWheel.d.ts +0 -10
- package/lib/components/VirtualList/hooks/useFrameWheel.js +0 -92
- package/lib/components/VirtualList/hooks/useGetSize.d.ts +0 -7
- package/lib/components/VirtualList/hooks/useGetSize.js +0 -57
- package/lib/components/VirtualList/hooks/useHeights.d.ts +0 -8
- package/lib/components/VirtualList/hooks/useHeights.js +0 -106
- package/lib/components/VirtualList/hooks/useMobileTouchMove.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useMobileTouchMove.js +0 -91
- package/lib/components/VirtualList/hooks/useOriginScroll.d.ts +0 -2
- package/lib/components/VirtualList/hooks/useOriginScroll.js +0 -50
- package/lib/components/VirtualList/hooks/useScrollDrag.d.ts +0 -3
- package/lib/components/VirtualList/hooks/useScrollDrag.js +0 -87
- package/lib/components/VirtualList/hooks/useScrollTo.d.ts +0 -18
- package/lib/components/VirtualList/hooks/useScrollTo.js +0 -142
- package/lib/components/VirtualList/index.d.ts +0 -9
- package/lib/components/VirtualList/index.js +0 -31
- package/lib/components/VirtualList/interface.d.ts +0 -26
- package/lib/components/VirtualList/interface.js +0 -6
- package/lib/components/VirtualList/style/VirtualList.css +0 -1
- package/lib/components/VirtualList/style/css.js +0 -4
- package/lib/components/VirtualList/style/index.d.ts +0 -1
- package/lib/components/VirtualList/style/index.js +0 -4
- package/lib/components/VirtualList/utils/CacheMap.d.ts +0 -16
- package/lib/components/VirtualList/utils/CacheMap.js +0 -50
- package/lib/components/VirtualList/utils/algorithmUtil.d.ts +0 -23
- package/lib/components/VirtualList/utils/algorithmUtil.js +0 -84
- package/lib/components/VirtualList/utils/isFirefox.d.ts +0 -2
- package/lib/components/VirtualList/utils/isFirefox.js +0 -11
- package/lib/components/VirtualList/utils/raf.d.ts +0 -9
- package/lib/components/VirtualList/utils/raf.js +0 -53
- package/lib/components/VirtualList/utils/scrollbarUtil.d.ts +0 -1
- package/lib/components/VirtualList/utils/scrollbarUtil.js +0 -18
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/index.js +0 -13
- package/lib/hooks/useFloatingAnimation.d.ts +0 -24
- package/lib/hooks/useFloatingAnimation.js +0 -51
- package/lib/index.css +0 -1
- package/lib/index.d.ts +0 -92
- package/lib/index.js +0 -519
- package/lib/stories/docs/ComponentDocsPage.js +0 -244
- package/lib/stories/docs/componentDocMeta.js +0 -101
- package/lib/stories/docs/storybook-docs.css +0 -79
- package/lib/styles/index.css +0 -1
- package/lib/utils/classnames.d.ts +0 -5
- package/lib/utils/classnames.js +0 -25
- package/lib/utils/clipboard.d.ts +0 -2
- package/lib/utils/clipboard.js +0 -56
- package/lib/utils/ref.d.ts +0 -4
- package/lib/utils/ref.js +0 -41
- package/lib/utils/uuid.d.ts +0 -2
- package/lib/utils/uuid.js +0 -23
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.useTableSelection = void 0;
|
|
8
|
-
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
var _react = require("react");
|
|
11
|
-
var _hooks = require("@1money/hooks");
|
|
12
|
-
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
13
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
14
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
15
|
-
var useTableSelection = exports.useTableSelection = function useTableSelection(_ref) {
|
|
16
|
-
var rowSelection = _ref.rowSelection,
|
|
17
|
-
dataSource = _ref.dataSource,
|
|
18
|
-
currentDataSource = _ref.currentDataSource,
|
|
19
|
-
getRowKey = _ref.getRowKey;
|
|
20
|
-
var _a;
|
|
21
|
-
var _useControlledState = (0, _hooks.useControlledState)((_a = rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.defaultSelectedRowKeys) !== null && _a !== void 0 ? _a : [], rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys),
|
|
22
|
-
_useControlledState2 = (0, _slicedToArray2["default"])(_useControlledState, 2),
|
|
23
|
-
mergedSelectedRowKeys = _useControlledState2[0],
|
|
24
|
-
setMergedSelectedRowKeys = _useControlledState2[1];
|
|
25
|
-
// Lazy key→record map, rebuilt when dataSource reference changes
|
|
26
|
-
var kvMapRef = (0, _react.useRef)({
|
|
27
|
-
data: [],
|
|
28
|
-
map: new Map()
|
|
29
|
-
});
|
|
30
|
-
var getKvMap = (0, _hooks.useMemoizedFn)(function () {
|
|
31
|
-
if (kvMapRef.current.data !== dataSource) {
|
|
32
|
-
var map = new Map();
|
|
33
|
-
for (var i = 0; i < dataSource.length; i++) {
|
|
34
|
-
map.set(getRowKey(dataSource[i], i), dataSource[i]);
|
|
35
|
-
}
|
|
36
|
-
kvMapRef.current = {
|
|
37
|
-
data: dataSource,
|
|
38
|
-
map: map
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
return kvMapRef.current.map;
|
|
42
|
-
});
|
|
43
|
-
// Cache for preserveSelectedRowKeys: stores key→record even across pagination
|
|
44
|
-
var preserveRecordsRef = (0, _react.useRef)(new Map());
|
|
45
|
-
var getRecordByKey = (0, _hooks.useMemoizedFn)(function (key) {
|
|
46
|
-
var _a;
|
|
47
|
-
return (_a = getKvMap().get(key)) !== null && _a !== void 0 ? _a : preserveRecordsRef.current.get(key);
|
|
48
|
-
});
|
|
49
|
-
// Update cache when selected keys change
|
|
50
|
-
(0, _react.useEffect)(function () {
|
|
51
|
-
if (!(rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.preserveSelectedRowKeys)) return;
|
|
52
|
-
var nextCache = new Map();
|
|
53
|
-
var _iterator = _createForOfIteratorHelper(mergedSelectedRowKeys),
|
|
54
|
-
_step;
|
|
55
|
-
try {
|
|
56
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
57
|
-
var key = _step.value;
|
|
58
|
-
var record = getRecordByKey(key);
|
|
59
|
-
if (record !== undefined) {
|
|
60
|
-
nextCache.set(key, record);
|
|
61
|
-
} else if (preserveRecordsRef.current.has(key)) {
|
|
62
|
-
nextCache.set(key, preserveRecordsRef.current.get(key));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
} catch (err) {
|
|
66
|
-
_iterator.e(err);
|
|
67
|
-
} finally {
|
|
68
|
-
_iterator.f();
|
|
69
|
-
}
|
|
70
|
-
preserveRecordsRef.current = nextCache;
|
|
71
|
-
}, [mergedSelectedRowKeys, rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.preserveSelectedRowKeys, getRecordByKey]);
|
|
72
|
-
var checkboxPropsMap = (0, _react.useMemo)(function () {
|
|
73
|
-
var map = new Map();
|
|
74
|
-
if (!(rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.getCheckboxProps)) return map;
|
|
75
|
-
currentDataSource.forEach(function (record, index) {
|
|
76
|
-
var key = getRowKey(record, index);
|
|
77
|
-
map.set(key, rowSelection.getCheckboxProps(record));
|
|
78
|
-
});
|
|
79
|
-
return map;
|
|
80
|
-
}, [currentDataSource, getRowKey, rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.getCheckboxProps]);
|
|
81
|
-
var selectableKeys = (0, _react.useMemo)(function () {
|
|
82
|
-
return currentDataSource.map(function (record, index) {
|
|
83
|
-
return getRowKey(record, index);
|
|
84
|
-
}).filter(function (key) {
|
|
85
|
-
var _a;
|
|
86
|
-
return !((_a = checkboxPropsMap.get(key)) === null || _a === void 0 ? void 0 : _a.disabled);
|
|
87
|
-
});
|
|
88
|
-
}, [currentDataSource, getRowKey, checkboxPropsMap]);
|
|
89
|
-
var selectedSelectableKeys = (0, _react.useMemo)(function () {
|
|
90
|
-
return selectableKeys.filter(function (key) {
|
|
91
|
-
return mergedSelectedRowKeys.includes(key);
|
|
92
|
-
});
|
|
93
|
-
}, [selectableKeys, mergedSelectedRowKeys]);
|
|
94
|
-
var isAllSelected = selectableKeys.length > 0 && selectedSelectableKeys.length === selectableKeys.length;
|
|
95
|
-
var isIndeterminate = selectedSelectableKeys.length > 0 && !isAllSelected;
|
|
96
|
-
var resolveRecords = (0, _hooks.useMemoizedFn)(function (keys) {
|
|
97
|
-
if (rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.preserveSelectedRowKeys) {
|
|
98
|
-
return keys.map(function (key) {
|
|
99
|
-
return getRecordByKey(key);
|
|
100
|
-
}).filter(function (record) {
|
|
101
|
-
return record !== undefined;
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
return currentDataSource.filter(function (record, index) {
|
|
105
|
-
return keys.includes(getRowKey(record, index));
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
var triggerSelection = (0, _hooks.useMemoizedFn)(function (recordKey) {
|
|
109
|
-
var _a, _b;
|
|
110
|
-
var selectionType = (_a = rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.type) !== null && _a !== void 0 ? _a : 'checkbox';
|
|
111
|
-
var nextKeys = selectionType === 'radio' ? [recordKey] : mergedSelectedRowKeys.includes(recordKey) ? mergedSelectedRowKeys.filter(function (key) {
|
|
112
|
-
return key !== recordKey;
|
|
113
|
-
}) : [].concat((0, _toConsumableArray2["default"])(mergedSelectedRowKeys), [recordKey]);
|
|
114
|
-
setMergedSelectedRowKeys(nextKeys);
|
|
115
|
-
(_b = rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.onChange) === null || _b === void 0 ? void 0 : _b.call(rowSelection, nextKeys, resolveRecords(nextKeys), {
|
|
116
|
-
type: 'single'
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
var triggerSelectAll = (0, _hooks.useMemoizedFn)(function () {
|
|
120
|
-
var _a;
|
|
121
|
-
var nextKeys;
|
|
122
|
-
var method;
|
|
123
|
-
if (isAllSelected) {
|
|
124
|
-
nextKeys = mergedSelectedRowKeys.filter(function (key) {
|
|
125
|
-
var _a;
|
|
126
|
-
return (_a = checkboxPropsMap.get(key)) === null || _a === void 0 ? void 0 : _a.disabled;
|
|
127
|
-
});
|
|
128
|
-
method = 'none';
|
|
129
|
-
} else {
|
|
130
|
-
var disabledSelected = mergedSelectedRowKeys.filter(function (key) {
|
|
131
|
-
var _a;
|
|
132
|
-
return (_a = checkboxPropsMap.get(key)) === null || _a === void 0 ? void 0 : _a.disabled;
|
|
133
|
-
});
|
|
134
|
-
nextKeys = [].concat((0, _toConsumableArray2["default"])(disabledSelected), (0, _toConsumableArray2["default"])(selectableKeys));
|
|
135
|
-
method = 'all';
|
|
136
|
-
}
|
|
137
|
-
setMergedSelectedRowKeys(nextKeys);
|
|
138
|
-
(_a = rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.onChange) === null || _a === void 0 ? void 0 : _a.call(rowSelection, nextKeys, resolveRecords(nextKeys), {
|
|
139
|
-
type: method
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
return {
|
|
143
|
-
mergedSelectedRowKeys: mergedSelectedRowKeys,
|
|
144
|
-
checkboxPropsMap: checkboxPropsMap,
|
|
145
|
-
isAllSelected: isAllSelected,
|
|
146
|
-
isIndeterminate: isIndeterminate,
|
|
147
|
-
triggerSelection: triggerSelection,
|
|
148
|
-
triggerSelectAll: triggerSelectAll
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVGFibGUvc3JjL2NvbXBvbmVudHMvVGFibGUvY29yZS91c2VUYWJsZVNlbGVjdGlvbi50cyIsImNvbXBvbmVudHMvVGFibGUvY29yZS91c2VUYWJsZVNlbGVjdGlvbi5qcyJdLCJuYW1lcyI6WyJfcmVhY3QiLCJyZXF1aXJlIiwiX2hvb2tzIiwiX2NyZWF0ZUZvck9mSXRlcmF0b3JIZWxwZXIiLCJyIiwiZSIsInQiLCJTeW1ib2wiLCJpdGVyYXRvciIsIkFycmF5IiwiaXNBcnJheSIsIl91bnN1cHBvcnRlZEl0ZXJhYmxlVG9BcnJheSIsImxlbmd0aCIsIl9uIiwiRiIsInMiLCJuIiwiZG9uZSIsInZhbHVlI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bi5vbkNoYW5nZSkgPT09IG51bGwgfHwgX2EgPT09IHZvaWQgMCA/IHZvaWQgMCA6IF9hLmNhbGwocm93U2VsZWN0aW9uLCBuZXh0S2V5cywgcmVzb2x2ZVJlY29yZHMobmV4dEtleXMpLCB7IHR5cGU6IG1ldGhvZCB9KTtcbiAgICB9KTtcbiAgICByZXR1cm4ge1xuICAgICAgICBtZXJnZWRTZWxlY3RlZFJvd0tleXMsXG4gICAgICAgIGNoZWNrYm94UHJvcHNNYXAsXG4gICAgICAgIGlzQWxsU2VsZWN0ZWQsXG4gICAgICAgIGlzSW5kZXRlcm1pbmF0ZSxcbiAgICAgICAgdHJpZ2dlclNlbGVjdGlvbixcbiAgICAgICAgdHJpZ2dlclNlbGVjdEFsbCxcbiAgICB9O1xufTsiXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { type HTMLAttributes, type Key, type ReactNode } from 'react';
|
|
2
|
-
import type { TableComponents, TableDirection, TableGetComponentProps, TableLayout, TableProps, TableRecord, TableRowClassName } from '../interface';
|
|
3
|
-
import type { ColumnsType as InternalColumnsType, ExpandableConfig } from '../internal/kernel/interface';
|
|
4
|
-
/** Kernel props that flow identically through `Table` and `VirtualTable`. */
|
|
5
|
-
export interface ForwardedKernelProps<T extends TableRecord> {
|
|
6
|
-
rowKey: string | ((record: T) => Key);
|
|
7
|
-
childrenColumnName?: string;
|
|
8
|
-
indentSize?: number;
|
|
9
|
-
onRow?: TableGetComponentProps<T>;
|
|
10
|
-
rowClassName?: TableRowClassName<T>;
|
|
11
|
-
summary?: (data: readonly T[]) => ReactNode;
|
|
12
|
-
showHeader?: boolean;
|
|
13
|
-
tableLayout?: TableLayout;
|
|
14
|
-
components?: TableComponents<T>;
|
|
15
|
-
direction?: TableDirection;
|
|
16
|
-
rowHoverable?: boolean;
|
|
17
|
-
sticky?: TableProps<T>['sticky'];
|
|
18
|
-
}
|
|
19
|
-
export interface TableSetupResult<T extends TableRecord> {
|
|
20
|
-
prefixCls: string;
|
|
21
|
-
wrapperClassName: string;
|
|
22
|
-
tableClassName: string;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
renderedColumns: InternalColumnsType<T>;
|
|
25
|
-
currentDataSource: T[];
|
|
26
|
-
mergedExpandable: ExpandableConfig<T> | undefined;
|
|
27
|
-
emptyText: ReactNode;
|
|
28
|
-
/** HTML attributes that didn't map to a known TableProps field. Land on the wrapper div. */
|
|
29
|
-
wrapperHtmlProps: HTMLAttributes<HTMLDivElement>;
|
|
30
|
-
forwardedKernelProps: ForwardedKernelProps<T>;
|
|
31
|
-
paginationNode: ReactNode;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Centralises the wiring shared by `Table` and `VirtualTable`:
|
|
35
|
-
* - destructure props
|
|
36
|
-
* - resolve row key
|
|
37
|
-
* - run pipeline / selection / expand / column transforms
|
|
38
|
-
* - build kernel-ready props
|
|
39
|
-
* - split off pass-through HTML attributes so they can land on the outer wrapper
|
|
40
|
-
* div (instead of being spread untyped into the kernel via `rest as object`).
|
|
41
|
-
*/
|
|
42
|
-
export declare const useTableSetup: <T extends TableRecord>(props: TableProps<T>) => TableSetupResult<T>;
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.useTableSetup = void 0;
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
var _react = require("react");
|
|
10
|
-
var _hooks = require("@1money/hooks");
|
|
11
|
-
var _classnames = _interopRequireWildcard(require("../../../utils/classnames"));
|
|
12
|
-
var _Pagination = require("../../Pagination");
|
|
13
|
-
var _ExpandedRowContainer = require("../renderers/ExpandedRowContainer");
|
|
14
|
-
var _EmptyState = require("../renderers/EmptyState");
|
|
15
|
-
var _constants = require("../constants");
|
|
16
|
-
var _useTableDataPipeline = require("./useTableDataPipeline");
|
|
17
|
-
var _useTableSelection = require("./useTableSelection");
|
|
18
|
-
var _useTableExpand = require("./useTableExpand");
|
|
19
|
-
var _useTableColumns = require("./useTableColumns");
|
|
20
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
21
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
22
|
-
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
23
|
-
var t = {};
|
|
24
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
25
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
26
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
27
|
-
}
|
|
28
|
-
return t;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Centralises the wiring shared by `Table` and `VirtualTable`:
|
|
32
|
-
* - destructure props
|
|
33
|
-
* - resolve row key
|
|
34
|
-
* - run pipeline / selection / expand / column transforms
|
|
35
|
-
* - build kernel-ready props
|
|
36
|
-
* - split off pass-through HTML attributes so they can land on the outer wrapper
|
|
37
|
-
* div (instead of being spread untyped into the kernel via `rest as object`).
|
|
38
|
-
*/
|
|
39
|
-
var useTableSetup = exports.useTableSetup = function useTableSetup(props) {
|
|
40
|
-
var _props$className = props.className,
|
|
41
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
42
|
-
_props$prefixCls = props.prefixCls,
|
|
43
|
-
prefixCls = _props$prefixCls === void 0 ? _constants.TABLE_DEFAULT_PREFIX : _props$prefixCls,
|
|
44
|
-
_props$size = props.size,
|
|
45
|
-
size = _props$size === void 0 ? _constants.TABLE_DEFAULT_SIZE : _props$size,
|
|
46
|
-
_props$variant = props.variant,
|
|
47
|
-
variant = _props$variant === void 0 ? _constants.TABLE_DEFAULT_VARIANT : _props$variant,
|
|
48
|
-
columns = props.columns,
|
|
49
|
-
dataSource = props.dataSource,
|
|
50
|
-
rowKey = props.rowKey,
|
|
51
|
-
empty = props.empty,
|
|
52
|
-
bordered = props.bordered,
|
|
53
|
-
_scroll = props.scroll,
|
|
54
|
-
sticky = props.sticky,
|
|
55
|
-
pagination = props.pagination,
|
|
56
|
-
rowSelection = props.rowSelection,
|
|
57
|
-
_props$loading = props.loading,
|
|
58
|
-
loading = _props$loading === void 0 ? false : _props$loading,
|
|
59
|
-
onChange = props.onChange,
|
|
60
|
-
childrenColumnName = props.childrenColumnName,
|
|
61
|
-
indentSize = props.indentSize,
|
|
62
|
-
expandable = props.expandable,
|
|
63
|
-
onRow = props.onRow,
|
|
64
|
-
rowClassName = props.rowClassName,
|
|
65
|
-
summary = props.summary,
|
|
66
|
-
showHeader = props.showHeader,
|
|
67
|
-
tableLayout = props.tableLayout,
|
|
68
|
-
components = props.components,
|
|
69
|
-
direction = props.direction,
|
|
70
|
-
rowHoverable = props.rowHoverable,
|
|
71
|
-
rest = __rest(props, ["className", "prefixCls", "size", "variant", "columns", "dataSource", "rowKey", "empty", "bordered", "scroll", "sticky", "pagination", "rowSelection", "loading", "onChange", "childrenColumnName", "indentSize", "expandable", "onRow", "rowClassName", "summary", "showHeader", "tableLayout", "components", "direction", "rowHoverable"]);
|
|
72
|
-
void _scroll;
|
|
73
|
-
var cls = (0, _classnames["default"])(_constants.TABLE_BLOCK);
|
|
74
|
-
var getRowKey = (0, _hooks.useMemoizedFn)(function (record, index) {
|
|
75
|
-
var _a;
|
|
76
|
-
return typeof rowKey === 'function' ? rowKey(record) : (_a = record[rowKey !== null && rowKey !== void 0 ? rowKey : 'key']) !== null && _a !== void 0 ? _a : index;
|
|
77
|
-
});
|
|
78
|
-
var pipeline = (0, _useTableDataPipeline.useTableDataPipeline)({
|
|
79
|
-
columns: columns,
|
|
80
|
-
dataSource: dataSource,
|
|
81
|
-
pagination: pagination,
|
|
82
|
-
onChange: onChange
|
|
83
|
-
});
|
|
84
|
-
var selection = (0, _useTableSelection.useTableSelection)({
|
|
85
|
-
rowSelection: rowSelection,
|
|
86
|
-
dataSource: dataSource,
|
|
87
|
-
currentDataSource: pipeline.currentDataSource,
|
|
88
|
-
getRowKey: getRowKey
|
|
89
|
-
});
|
|
90
|
-
var expand = (0, _useTableExpand.useTableExpand)({
|
|
91
|
-
expandable: expandable
|
|
92
|
-
});
|
|
93
|
-
var renderedColumns = (0, _useTableColumns.useTableColumns)({
|
|
94
|
-
columns: columns,
|
|
95
|
-
size: size,
|
|
96
|
-
variant: variant,
|
|
97
|
-
expandable: expandable,
|
|
98
|
-
mergedExpandedRowKeys: expand.mergedExpandedRowKeys,
|
|
99
|
-
triggerExpand: expand.triggerExpand,
|
|
100
|
-
rowSelection: rowSelection,
|
|
101
|
-
mergedSelectedRowKeys: selection.mergedSelectedRowKeys,
|
|
102
|
-
checkboxPropsMap: selection.checkboxPropsMap,
|
|
103
|
-
isAllSelected: selection.isAllSelected,
|
|
104
|
-
isIndeterminate: selection.isIndeterminate,
|
|
105
|
-
triggerSelection: selection.triggerSelection,
|
|
106
|
-
triggerSelectAll: selection.triggerSelectAll,
|
|
107
|
-
sorter: pipeline.sorter,
|
|
108
|
-
setSorter: pipeline.setSorter,
|
|
109
|
-
filters: pipeline.filters,
|
|
110
|
-
setFilters: pipeline.setFilters,
|
|
111
|
-
getRowKey: getRowKey
|
|
112
|
-
});
|
|
113
|
-
var wrappedExpandedRowRender = (0, _hooks.useMemoizedFn)(function (record, index, indent, expanded) {
|
|
114
|
-
var _a;
|
|
115
|
-
return (0, _jsxRuntime.jsx)(_ExpandedRowContainer.ExpandedRowContainer, {
|
|
116
|
-
children: (_a = expandable === null || expandable === void 0 ? void 0 : expandable.expandedRowRender) === null || _a === void 0 ? void 0 : _a.call(expandable, record, index, indent, expanded)
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
// Wire kernel's onExpand (triggered by expandRowByClick) to our state.
|
|
120
|
-
var kernelOnExpand = (0, _hooks.useMemoizedFn)(function (expanded, record) {
|
|
121
|
-
var recordKey = getRowKey(record, dataSource.indexOf(record));
|
|
122
|
-
expand.onKernelExpand(expanded, record, recordKey);
|
|
123
|
-
});
|
|
124
|
-
var mergedExpandable = (0, _react.useMemo)(function () {
|
|
125
|
-
return expandable ? Object.assign(Object.assign({}, expandable), {
|
|
126
|
-
expandedRowKeys: expand.mergedExpandedRowKeys,
|
|
127
|
-
expandedRowRender: expandable.expandedRowRender ? wrappedExpandedRowRender : undefined,
|
|
128
|
-
showExpandColumn: false,
|
|
129
|
-
onExpand: kernelOnExpand
|
|
130
|
-
}) : undefined;
|
|
131
|
-
}, [expandable, expand.mergedExpandedRowKeys, wrappedExpandedRowRender, kernelOnExpand]);
|
|
132
|
-
var resolvedPagination = pipeline.pagination === false ? {
|
|
133
|
-
current: 1,
|
|
134
|
-
pageSize: 10
|
|
135
|
-
} : pipeline.pagination;
|
|
136
|
-
var paginationNode = pagination !== false ? (0, _jsxRuntime.jsx)("div", {
|
|
137
|
-
className: "".concat(prefixCls, "-pagination"),
|
|
138
|
-
children: (0, _jsxRuntime.jsx)(_Pagination.Pagination, {
|
|
139
|
-
total: pipeline.total,
|
|
140
|
-
pageSize: resolvedPagination.pageSize,
|
|
141
|
-
current: resolvedPagination.current,
|
|
142
|
-
onChange: function onChange(nextPage, nextPageSize) {
|
|
143
|
-
return pipeline.setPagination(function (currentPagination) {
|
|
144
|
-
return Object.assign(Object.assign({}, currentPagination), {
|
|
145
|
-
current: nextPage,
|
|
146
|
-
pageSize: nextPageSize
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
})
|
|
151
|
-
}) : null;
|
|
152
|
-
var wrapperClassName = (0, _classnames.joinCls)("".concat(prefixCls, "-wrapper"), loading && "".concat(prefixCls, "-wrapper--loading"), bordered && "".concat(prefixCls, "-wrapper--bordered"));
|
|
153
|
-
var tableClassName = (0, _classnames.joinCls)(cls(), cls(size), cls(variant), className);
|
|
154
|
-
var emptyText = loading && !dataSource.length ? (0, _jsxRuntime.jsx)("span", {}) : (0, _jsxRuntime.jsx)(_EmptyState.TableEmptyState, {
|
|
155
|
-
empty: empty
|
|
156
|
-
});
|
|
157
|
-
return {
|
|
158
|
-
prefixCls: prefixCls,
|
|
159
|
-
wrapperClassName: wrapperClassName,
|
|
160
|
-
tableClassName: tableClassName,
|
|
161
|
-
loading: loading,
|
|
162
|
-
renderedColumns: renderedColumns,
|
|
163
|
-
currentDataSource: pipeline.currentDataSource,
|
|
164
|
-
mergedExpandable: mergedExpandable,
|
|
165
|
-
emptyText: emptyText,
|
|
166
|
-
wrapperHtmlProps: rest,
|
|
167
|
-
forwardedKernelProps: {
|
|
168
|
-
rowKey: rowKey,
|
|
169
|
-
childrenColumnName: childrenColumnName,
|
|
170
|
-
indentSize: indentSize,
|
|
171
|
-
onRow: onRow,
|
|
172
|
-
rowClassName: rowClassName,
|
|
173
|
-
summary: summary,
|
|
174
|
-
showHeader: showHeader,
|
|
175
|
-
tableLayout: tableLayout,
|
|
176
|
-
components: components,
|
|
177
|
-
direction: direction,
|
|
178
|
-
rowHoverable: rowHoverable,
|
|
179
|
-
sticky: sticky
|
|
180
|
-
},
|
|
181
|
-
paginationNode: paginationNode
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVGFibGUvY29yZS91c2VUYWJsZVNldHVwLmpzIiwiY29tcG9uZW50cy9UYWJsZS9zcmMvY29tcG9uZW50cy9UYWJsZS9jb3JlL3VzZVRhYmxlU2V0dXAudHN4Il0sIm5hbWVzIjpbIl9qc3hSdW50aW1lIiwicmVxdWlyZSIsIl9yZWFjdCIsIl9ob29rcyIsIl9jbGFzc25hbWVzIiwiX2ludGVyb3BSZXF1aXJlV2lsZGNhcmQiLCJfUGFnaW5hdGlvbiIsIl9FeHBhbmRlZFJvd0NvbnRhaW5lciIsIl9FbXB0eVN0YXRlIiwiX2NvbnN0YW50cyIsIl91c2VUYWJsZURhdGFQaXBlbGluZSIsIl91c2VUYWJsZVNlbGVjdGlvbiIsIl91c2VUYWJsZUV4cGFuZCIsIl91c2VUYWJsZUNvbHVtbnMiLCJfZ2V0UmVxdWlyZVdpbGRjYXJkQ2FjaGUiLCJlIiwiV2Vha01hcCIsInIiLCJ0IiwiX19lc01vZHVsZSIsIl90eXBlb2YiLCJoYXMiLCJnZXQiLCJuIiwiX19wcm90b19fIiwiYSIsIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yIiwidSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsImkiLCJzZXQiLCJfX3Jlc3QiLCJzIiwicCIsInByb3RvdHlwZSIsImluZGV4T2YiLCJnZXRPd25Qcm9wZXJ0eVN5bWJvbHMiLCJsZW5ndGgiLCJwcm9wZXJ0eUlzRW51bWVyYWJsZSIsInVzZVRhYmxlU2V0dXAiLCJleHBvcnRzIiwicHJvcHMiLCJfcHJvcHMkY2xhc3NOYW1lIiwiY2xhc3NOYW1lIiwiX3Byb3BzJHByZWZpeENscyIsInByZWZpeENsc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ge30pIDogX2pzeChUYWJsZUVtcHR5U3RhdGUsIHsgZW1wdHk6IGVtcHR5IH0pO1xuICAgIHJldHVybiB7XG4gICAgICAgIHByZWZpeENscyxcbiAgICAgICAgd3JhcHBlckNsYXNzTmFtZSxcbiAgICAgICAgdGFibGVDbGFzc05hbWUsXG4gICAgICAgIGxvYWRpbmcsXG4gICAgICAgIHJlbmRlcmVkQ29sdW1ucyxcbiAgICAgICAgY3VycmVudERhdGFTb3VyY2U6IHBpcGVsaW5lLmN1cnJlbnREYXRhU291cmNlLFxuICAgICAgICBtZXJnZWRFeHBhbmRhYmxlLFxuICAgICAgICBlbXB0eVRleHQsXG4gICAgICAgIHdyYXBwZXJIdG1sUHJvcHM6IHJlc3QsXG4gICAgICAgIGZvcndhcmRlZEtlcm5lbFByb3BzOiB7XG4gICAgICAgICAgICByb3dLZXk6IHJvd0tleSxcbiAgICAgICAgICAgIGNoaWxkcmVuQ29sdW1uTmFtZSxcbiAgICAgICAgICAgIGluZGVudFNpemUsXG4gICAgICAgICAgICBvblJvdyxcbiAgICAgICAgICAgIHJvd0NsYXNzTmFtZSxcbiAgICAgICAgICAgIHN1bW1hcnksXG4gICAgICAgICAgICBzaG93SGVhZGVyLFxuICAgICAgICAgICAgdGFibGVMYXlvdXQsXG4gICAgICAgICAgICBjb21wb25lbnRzLFxuICAgICAgICAgICAgZGlyZWN0aW9uLFxuICAgICAgICAgICAgcm93SG92ZXJhYmxlLFxuICAgICAgICAgICAgc3RpY2t5LFxuICAgICAgICB9LFxuICAgICAgICBwYWdpbmF0aW9uTm9kZSxcbiAgICB9O1xufTsiLG51bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ExpandTrigger = void 0;
|
|
7
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
8
|
-
var _Icons = require("../../Icons");
|
|
9
|
-
var _constants = require("../constants");
|
|
10
|
-
var ExpandTrigger = exports.ExpandTrigger = function ExpandTrigger(_ref) {
|
|
11
|
-
var expanded = _ref.expanded,
|
|
12
|
-
onToggle = _ref.onToggle;
|
|
13
|
-
return (0, _jsxRuntime.jsx)("button", {
|
|
14
|
-
role: 'button',
|
|
15
|
-
type: "button",
|
|
16
|
-
"aria-label": "Expand row",
|
|
17
|
-
"aria-expanded": expanded,
|
|
18
|
-
className: "".concat(_constants.TABLE_DEFAULT_PREFIX, "-expand-trigger"),
|
|
19
|
-
onClick: onToggle,
|
|
20
|
-
children: (0, _jsxRuntime.jsx)(_Icons.Icons, {
|
|
21
|
-
name: "chevronDown",
|
|
22
|
-
size: 16,
|
|
23
|
-
color: "currentColor",
|
|
24
|
-
className: "".concat(_constants.TABLE_DEFAULT_PREFIX, "-expand-trigger__icon"),
|
|
25
|
-
style: {
|
|
26
|
-
transform: expanded ? 'rotate(180deg)' : undefined
|
|
27
|
-
}
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVGFibGUvZmVhdHVyZXMvRXhwYW5kVHJpZ2dlci5qcyIsImNvbXBvbmVudHMvVGFibGUvc3JjL2NvbXBvbmVudHMvVGFibGUvZmVhdHVyZXMvRXhwYW5kVHJpZ2dlci50c3giXSwibmFtZXMiOlsiX2pzeFJ1bnRpbWUiLCJyZXF1aXJlIiwiX0ljb25zIiwiX2NvbnN0YW50cyIsIkV4cGFuZFRyaWdnZXIiLCJleHBvcnRzIiwiX3JlZiIsImV4cGFuZGVkIiwib25Ub2dnbGUiLCJfanN4Iiwicm9sZSIsInR5cGUiLCJjbGFzc05hbWUiLCJjb25jYXQiLCJUQUJMRV9ER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face FilterTriggerProps<T extends TableRecord> {
|
|
3
|
-
column: TableColumn<T>;
|
|
4
|
-
size: 'large' | 'small';
|
|
5
|
-
selectedKeys: TableFilterValue;
|
|
6
|
-
onChange: (next: TableFilterValue) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const FilterTrigger: <T extends TableRecord>({ column, size, selectedKeys, onChange, }: FilterTriggerProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|