@1money/component-ui 0.0.48 → 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/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 -253
- 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 -11
- package/es/components/Table/core/useTableExpand.js +0 -63
- 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 -195
- package/es/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/es/components/Table/features/ExpandTrigger.js +0 -32
- 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 -262
- 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 -180
- 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 -686
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -286
- 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 -90
- 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 -83
- 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 -13
- 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 -236
- 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 -260
- 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 -11
- package/lib/components/Table/core/useTableExpand.js +0 -70
- 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 -204
- package/lib/components/Table/features/ExpandTrigger.d.ts +0 -4
- package/lib/components/Table/features/ExpandTrigger.js +0 -38
- 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 -262
- 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 -192
- 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 -695
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +0 -13
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +0 -298
- 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 -100
- 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 -94
- 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 -20
- 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 -246
- 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,354 +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.useFormCore = exports["default"] = void 0;
|
|
8
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
|
-
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
12
|
-
var _react = require("react");
|
|
13
|
-
var _hooks = require("@1money/hooks");
|
|
14
|
-
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; } } }; }
|
|
15
|
-
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; } }
|
|
16
|
-
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; }
|
|
17
|
-
// ---------------------------------------------------------------------------
|
|
18
|
-
// Nested path helpers (dot-notation support, e.g. "items.0.title")
|
|
19
|
-
// ---------------------------------------------------------------------------
|
|
20
|
-
function getNestedValue(obj, path) {
|
|
21
|
-
var keys = path.split('.');
|
|
22
|
-
var current = obj;
|
|
23
|
-
var _iterator = _createForOfIteratorHelper(keys),
|
|
24
|
-
_step;
|
|
25
|
-
try {
|
|
26
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
27
|
-
var key = _step.value;
|
|
28
|
-
if (current === null || current === undefined || (0, _typeof2["default"])(current) !== 'object') return undefined;
|
|
29
|
-
current = current[key];
|
|
30
|
-
}
|
|
31
|
-
} catch (err) {
|
|
32
|
-
_iterator.e(err);
|
|
33
|
-
} finally {
|
|
34
|
-
_iterator.f();
|
|
35
|
-
}
|
|
36
|
-
return current;
|
|
37
|
-
}
|
|
38
|
-
function setNestedValue(obj, path, value) {
|
|
39
|
-
var keys = path.split('.');
|
|
40
|
-
if (keys.length === 1) return Object.assign(Object.assign({}, obj), (0, _defineProperty2["default"])({}, path, value));
|
|
41
|
-
var result = Object.assign({}, obj);
|
|
42
|
-
var current = result;
|
|
43
|
-
for (var i = 0; i < keys.length - 1; i++) {
|
|
44
|
-
var key = keys[i];
|
|
45
|
-
var nextKey = keys[i + 1];
|
|
46
|
-
var isNextArray = /^\d+$/.test(nextKey);
|
|
47
|
-
if (current[key] === undefined || current[key] === null) {
|
|
48
|
-
current[key] = isNextArray ? [] : {};
|
|
49
|
-
}
|
|
50
|
-
if (Array.isArray(current[key])) {
|
|
51
|
-
current[key] = (0, _toConsumableArray2["default"])(current[key]);
|
|
52
|
-
} else {
|
|
53
|
-
current[key] = Object.assign({}, current[key]);
|
|
54
|
-
}
|
|
55
|
-
current = current[key];
|
|
56
|
-
}
|
|
57
|
-
current[keys[keys.length - 1]] = value;
|
|
58
|
-
return result;
|
|
59
|
-
}
|
|
60
|
-
function resolveValue(values, name) {
|
|
61
|
-
return name.includes('.') ? getNestedValue(values, name) : values[name];
|
|
62
|
-
}
|
|
63
|
-
var useFormCore = exports.useFormCore = function useFormCore() {
|
|
64
|
-
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
65
|
-
var _config$initialValues = config.initialValues,
|
|
66
|
-
initialValues = _config$initialValues === void 0 ? {} : _config$initialValues,
|
|
67
|
-
onFinish = config.onFinish,
|
|
68
|
-
onFinishFailed = config.onFinishFailed,
|
|
69
|
-
onValuesChange = config.onValuesChange,
|
|
70
|
-
onReset = config.onReset,
|
|
71
|
-
_config$size = config.size,
|
|
72
|
-
size = _config$size === void 0 ? 'middle' : _config$size,
|
|
73
|
-
_config$labelAlign = config.labelAlign,
|
|
74
|
-
labelAlign = _config$labelAlign === void 0 ? 'left' : _config$labelAlign,
|
|
75
|
-
_config$disabled = config.disabled,
|
|
76
|
-
disabled = _config$disabled === void 0 ? false : _config$disabled,
|
|
77
|
-
_config$colon = config.colon,
|
|
78
|
-
colon = _config$colon === void 0 ? true : _config$colon,
|
|
79
|
-
_config$requiredMark = config.requiredMark,
|
|
80
|
-
requiredMark = _config$requiredMark === void 0 ? true : _config$requiredMark,
|
|
81
|
-
_config$validateTrigg = config.validateTrigger,
|
|
82
|
-
validateTrigger = _config$validateTrigg === void 0 ? 'onChange' : _config$validateTrigg;
|
|
83
|
-
var _useState = (0, _react.useState)(initialValues),
|
|
84
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
85
|
-
values = _useState2[0],
|
|
86
|
-
setValues = _useState2[1];
|
|
87
|
-
var _useState3 = (0, _react.useState)({}),
|
|
88
|
-
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
89
|
-
errors = _useState4[0],
|
|
90
|
-
setErrors = _useState4[1];
|
|
91
|
-
var _useState5 = (0, _react.useState)({}),
|
|
92
|
-
_useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
|
|
93
|
-
touched = _useState6[0],
|
|
94
|
-
setTouched = _useState6[1];
|
|
95
|
-
var _useState7 = (0, _react.useState)({}),
|
|
96
|
-
_useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
|
|
97
|
-
fieldRules = _useState8[0],
|
|
98
|
-
setFieldRules = _useState8[1];
|
|
99
|
-
var setFieldValue = (0, _hooks.useMemoizedFn)(function (name, value) {
|
|
100
|
-
setValues(function (prev) {
|
|
101
|
-
var newValues = name.includes('.') ? setNestedValue(prev, name, value) : Object.assign(Object.assign({}, prev), (0, _defineProperty2["default"])({}, name, value));
|
|
102
|
-
onValuesChange === null || onValuesChange === void 0 ? void 0 : onValuesChange((0, _defineProperty2["default"])({}, name, value), newValues);
|
|
103
|
-
return newValues;
|
|
104
|
-
});
|
|
105
|
-
if (value !== '' && value !== null && value !== undefined) {
|
|
106
|
-
setErrors(function (prev) {
|
|
107
|
-
if (!prev[name]) return prev;
|
|
108
|
-
var newErrors = Object.assign({}, prev);
|
|
109
|
-
delete newErrors[name];
|
|
110
|
-
return newErrors;
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
var setFieldError = (0, _hooks.useMemoizedFn)(function (name, error) {
|
|
115
|
-
setErrors(function (prev) {
|
|
116
|
-
if (error === null) {
|
|
117
|
-
if (!prev[name]) return prev;
|
|
118
|
-
var newErrors = Object.assign({}, prev);
|
|
119
|
-
delete newErrors[name];
|
|
120
|
-
return newErrors;
|
|
121
|
-
}
|
|
122
|
-
return Object.assign(Object.assign({}, prev), (0, _defineProperty2["default"])({}, name, error));
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
var registerField = (0, _hooks.useMemoizedFn)(function (name, rules) {
|
|
126
|
-
setFieldRules(function (prev) {
|
|
127
|
-
return Object.assign(Object.assign({}, prev), (0, _defineProperty2["default"])({}, name, rules));
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
var getFieldRules = (0, _hooks.useMemoizedFn)(function (name) {
|
|
131
|
-
return fieldRules[name];
|
|
132
|
-
});
|
|
133
|
-
var unregisterField = (0, _hooks.useMemoizedFn)(function (name) {
|
|
134
|
-
setFieldRules(function (prev) {
|
|
135
|
-
var newRules = Object.assign({}, prev);
|
|
136
|
-
delete newRules[name];
|
|
137
|
-
return newRules;
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
var validateField = (0, _hooks.useMemoizedFn)(function (name) {
|
|
141
|
-
var rules = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
142
|
-
var providedValue = arguments.length > 2 ? arguments[2] : undefined;
|
|
143
|
-
var value = providedValue !== undefined ? providedValue : resolveValue(values, name);
|
|
144
|
-
var _iterator2 = _createForOfIteratorHelper(rules),
|
|
145
|
-
_step2;
|
|
146
|
-
try {
|
|
147
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
148
|
-
var rule = _step2.value;
|
|
149
|
-
if (rule.required && (value === undefined || value === null || value === '')) {
|
|
150
|
-
var error = rule.message || "".concat(name, " is required");
|
|
151
|
-
setFieldError(name, error);
|
|
152
|
-
return false;
|
|
153
|
-
}
|
|
154
|
-
if (rule.min && typeof value === 'string' && value.length < rule.min) {
|
|
155
|
-
var _error = rule.message || "".concat(name, " must be at least ").concat(rule.min, " characters");
|
|
156
|
-
setFieldError(name, _error);
|
|
157
|
-
return false;
|
|
158
|
-
}
|
|
159
|
-
if (rule.max && typeof value === 'string' && value.length > rule.max) {
|
|
160
|
-
var _error2 = rule.message || "".concat(name, " must be no more than ").concat(rule.max, " characters");
|
|
161
|
-
setFieldError(name, _error2);
|
|
162
|
-
return false;
|
|
163
|
-
}
|
|
164
|
-
if (rule.pattern && typeof value === 'string' && !rule.pattern.test(value)) {
|
|
165
|
-
var _error3 = rule.message || "".concat(name, " format is invalid");
|
|
166
|
-
setFieldError(name, _error3);
|
|
167
|
-
return false;
|
|
168
|
-
}
|
|
169
|
-
if (rule.validator && typeof rule.validator === 'function') {
|
|
170
|
-
try {
|
|
171
|
-
var result = rule.validator(value, values);
|
|
172
|
-
if (result !== true) {
|
|
173
|
-
setFieldError(name, typeof result === 'string' ? result : 'Validation failed');
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
} catch (err) {
|
|
177
|
-
var message = err instanceof Error ? err.message : 'Validation error';
|
|
178
|
-
setFieldError(name, message);
|
|
179
|
-
return false;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
} catch (err) {
|
|
184
|
-
_iterator2.e(err);
|
|
185
|
-
} finally {
|
|
186
|
-
_iterator2.f();
|
|
187
|
-
}
|
|
188
|
-
if (errors[name]) {
|
|
189
|
-
setFieldError(name, null);
|
|
190
|
-
}
|
|
191
|
-
return true;
|
|
192
|
-
});
|
|
193
|
-
var validateFields = (0, _hooks.useMemoizedFn)(function () {
|
|
194
|
-
var fieldsRulesToValidate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : fieldRules;
|
|
195
|
-
var isValid = true;
|
|
196
|
-
Object.keys(fieldsRulesToValidate).forEach(function (name) {
|
|
197
|
-
var rules = fieldsRulesToValidate[name];
|
|
198
|
-
if (!validateField(name, rules)) {
|
|
199
|
-
isValid = false;
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
return isValid;
|
|
203
|
-
});
|
|
204
|
-
var handleSubmitInternal = (0, _hooks.useMemoizedFn)(function () {
|
|
205
|
-
var hasErrors = false;
|
|
206
|
-
var newErrors = {};
|
|
207
|
-
Object.keys(fieldRules).forEach(function (fieldName) {
|
|
208
|
-
var rules = fieldRules[fieldName];
|
|
209
|
-
var value = resolveValue(values, fieldName);
|
|
210
|
-
var _iterator3 = _createForOfIteratorHelper(rules),
|
|
211
|
-
_step3;
|
|
212
|
-
try {
|
|
213
|
-
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
214
|
-
var rule = _step3.value;
|
|
215
|
-
if (rule.required && (value === undefined || value === null || value === '')) {
|
|
216
|
-
newErrors[fieldName] = rule.message || "".concat(fieldName, " is required");
|
|
217
|
-
hasErrors = true;
|
|
218
|
-
break;
|
|
219
|
-
}
|
|
220
|
-
if (rule.min && typeof value === 'string' && value.length < rule.min) {
|
|
221
|
-
newErrors[fieldName] = rule.message || "".concat(fieldName, " must be at least ").concat(rule.min, " characters");
|
|
222
|
-
hasErrors = true;
|
|
223
|
-
break;
|
|
224
|
-
}
|
|
225
|
-
if (rule.max && typeof value === 'string' && value.length > rule.max) {
|
|
226
|
-
newErrors[fieldName] = rule.message || "".concat(fieldName, " must be no more than ").concat(rule.max, " characters");
|
|
227
|
-
hasErrors = true;
|
|
228
|
-
break;
|
|
229
|
-
}
|
|
230
|
-
if (rule.pattern && typeof value === 'string' && !rule.pattern.test(value)) {
|
|
231
|
-
newErrors[fieldName] = rule.message || "".concat(fieldName, " format is invalid");
|
|
232
|
-
hasErrors = true;
|
|
233
|
-
break;
|
|
234
|
-
}
|
|
235
|
-
if (rule.validator && typeof rule.validator === 'function') {
|
|
236
|
-
try {
|
|
237
|
-
var result = rule.validator(value, values);
|
|
238
|
-
if (result !== true) {
|
|
239
|
-
newErrors[fieldName] = typeof result === 'string' ? result : 'Validation failed';
|
|
240
|
-
hasErrors = true;
|
|
241
|
-
break;
|
|
242
|
-
}
|
|
243
|
-
} catch (err) {
|
|
244
|
-
newErrors[fieldName] = err instanceof Error ? err.message : 'Validation error';
|
|
245
|
-
hasErrors = true;
|
|
246
|
-
break;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
} catch (err) {
|
|
251
|
-
_iterator3.e(err);
|
|
252
|
-
} finally {
|
|
253
|
-
_iterator3.f();
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
setErrors(newErrors);
|
|
257
|
-
if (!hasErrors) {
|
|
258
|
-
onFinish === null || onFinish === void 0 ? void 0 : onFinish(values);
|
|
259
|
-
return {
|
|
260
|
-
success: true,
|
|
261
|
-
values: values
|
|
262
|
-
};
|
|
263
|
-
} else {
|
|
264
|
-
onFinishFailed === null || onFinishFailed === void 0 ? void 0 : onFinishFailed({
|
|
265
|
-
values: values,
|
|
266
|
-
errors: newErrors
|
|
267
|
-
});
|
|
268
|
-
return {
|
|
269
|
-
success: false,
|
|
270
|
-
errors: newErrors
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
var handleSubmit = (0, _hooks.useEventCallback)(function (e) {
|
|
275
|
-
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
276
|
-
return handleSubmitInternal();
|
|
277
|
-
});
|
|
278
|
-
var resetFields = (0, _hooks.useMemoizedFn)(function () {
|
|
279
|
-
setValues(initialValues);
|
|
280
|
-
setErrors({});
|
|
281
|
-
setTouched({});
|
|
282
|
-
onReset === null || onReset === void 0 ? void 0 : onReset();
|
|
283
|
-
});
|
|
284
|
-
var handleReset = (0, _hooks.useEventCallback)(function (e) {
|
|
285
|
-
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
286
|
-
resetFields();
|
|
287
|
-
});
|
|
288
|
-
var getFieldValue = (0, _hooks.useMemoizedFn)(function (name) {
|
|
289
|
-
return resolveValue(values, name);
|
|
290
|
-
});
|
|
291
|
-
var getFieldsValue = (0, _hooks.useMemoizedFn)(function () {
|
|
292
|
-
return values;
|
|
293
|
-
});
|
|
294
|
-
var setFieldsValue = (0, _hooks.useMemoizedFn)(function (newValues) {
|
|
295
|
-
setValues(function (prev) {
|
|
296
|
-
var updatedValues = Object.assign(Object.assign({}, prev), newValues);
|
|
297
|
-
onValuesChange === null || onValuesChange === void 0 ? void 0 : onValuesChange(newValues, updatedValues);
|
|
298
|
-
return updatedValues;
|
|
299
|
-
});
|
|
300
|
-
});
|
|
301
|
-
var formInstance = (0, _react.useMemo)(function () {
|
|
302
|
-
return {
|
|
303
|
-
submit: handleSubmitInternal,
|
|
304
|
-
resetFields: resetFields,
|
|
305
|
-
getFieldValue: getFieldValue,
|
|
306
|
-
getFieldsValue: getFieldsValue,
|
|
307
|
-
setFieldsValue: setFieldsValue,
|
|
308
|
-
setFieldValue: setFieldValue,
|
|
309
|
-
validateFields: validateFields
|
|
310
|
-
};
|
|
311
|
-
}, [handleSubmitInternal, resetFields, getFieldValue, getFieldsValue, setFieldsValue, setFieldValue, validateFields]);
|
|
312
|
-
var coreContextShape = (0, _react.useMemo)(function () {
|
|
313
|
-
return {
|
|
314
|
-
values: values,
|
|
315
|
-
errors: errors,
|
|
316
|
-
touched: touched,
|
|
317
|
-
formInstance: formInstance,
|
|
318
|
-
setFieldValue: setFieldValue,
|
|
319
|
-
setFieldError: setFieldError,
|
|
320
|
-
validateField: validateField,
|
|
321
|
-
registerField: registerField,
|
|
322
|
-
unregisterField: unregisterField,
|
|
323
|
-
size: size,
|
|
324
|
-
labelAlign: labelAlign,
|
|
325
|
-
disabled: disabled,
|
|
326
|
-
colon: colon,
|
|
327
|
-
requiredMark: requiredMark,
|
|
328
|
-
validateTrigger: validateTrigger
|
|
329
|
-
};
|
|
330
|
-
}, [values, errors, touched, formInstance, setFieldValue, setFieldError, validateField, registerField, unregisterField, size, labelAlign, disabled, colon, requiredMark, validateTrigger]);
|
|
331
|
-
return {
|
|
332
|
-
values: values,
|
|
333
|
-
errors: errors,
|
|
334
|
-
touched: touched,
|
|
335
|
-
fieldRules: fieldRules,
|
|
336
|
-
getFieldRules: getFieldRules,
|
|
337
|
-
setFieldValue: setFieldValue,
|
|
338
|
-
setFieldError: setFieldError,
|
|
339
|
-
setFieldsValue: setFieldsValue,
|
|
340
|
-
getFieldValue: getFieldValue,
|
|
341
|
-
getFieldsValue: getFieldsValue,
|
|
342
|
-
validateField: validateField,
|
|
343
|
-
validateFields: validateFields,
|
|
344
|
-
registerField: registerField,
|
|
345
|
-
unregisterField: unregisterField,
|
|
346
|
-
handleSubmit: handleSubmit,
|
|
347
|
-
handleReset: handleReset,
|
|
348
|
-
resetFields: resetFields,
|
|
349
|
-
formInstance: formInstance,
|
|
350
|
-
coreContextShape: coreContextShape
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
var _default = exports["default"] = useFormCore;
|
|
354
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUHJvRm9ybS9jb3JlL3NyYy9jb21wb25lbnRzL1Byb0Zvcm0vY29yZS9ob29rcy91c2VGb3JtQ29yZS50cyIsImNvbXBvbmVudHMvUHJvRm9ybS9jb3JlL2hvb2tzL3VzZUZvcm1Db3JlLmpzIl0sIm5hbWVzIjpbIl9yZWFjdCIsInJlcXVpcmUiLCJfaG9va3MiLCJfY3JlYXRlRm9yT2ZJdG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dO1xuICAgICAgICAgICAgICAgIHJldHVybiBuZXdFcnJvcnM7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgIH0pO1xuICAgIGNvbnN0IHNldEZpZWxkRXJyb3IgPSB1c2VNZW1vaXplZEZuKChuYW1lLCBlcnJvcikgPT4ge1xuICAgICAgICBzZXRFcnJvcnMoKHByZXYpID0+IHtcbiAgICAgICAgICAgIGlmIChlcnJvciA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgIGlmICghcHJldltuYW1lXSlcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHByZXY7XG4gICAgICAgICAgICAgICAgY29uc3QgbmV3RXJyb3JzID0gT2JqZWN0LmFzc2lnbih7fSwgcHJldik7XG4gICAgICAgICAgICAgICAgZGVsZXRlIG5ld0Vycm9yc1tuYW1lXTtcbiAgICAgICAgICAgICAgICByZXR1cm4gbmV3RXJyb3JzO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSwgcHJldiksIHsgW25hbWVdOiBlcnJvciB9KTtcbiAgICAgICAgfSk7XG4gICAgfSk7XG4gICAgY29uc3QgcmVnaXN0ZXJGaWVsZCA9IHVzZU1lbW9pemVkRm4oKG5hbWUsIHJ1bGVzKSA9PiB7XG4gICAgICAgIHNldEZpZWxkUnVsZXMoKHByZXYpID0+IChPYmplY3QuYXNzaWduKE9iamVjdC5hc3NpZ24oe30sIHByZXYpLCB7IFtuYW1lXTogcnVsZXMgfSkpKTtcbiAgICB9KTtcbiAgICBjb25zdCBnZXRGaWVsZFJ1bGVzID0gdXNlTWVtb2l6ZWRGbigobmFtZSkgPT4ge1xuICAgICAgICByZXR1cm4gZmllbGRSdWxlc1tuYW1lXTtcbiAgICB9KTtcbiAgICBjb25zdCB1bnJlZ2lzdGVyRmllbGQgPSB1c2VNZW1vaXplZEZuKChuYW1lKSA9PiB7XG4gICAgICAgIHNldEZpZWxkUnVsZXMoKHByZXYpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IG5ld1J1bGVzID0gT2JqZWN0LmFzc2lnbih7fSwgcHJldik7XG4gICAgICAgICAgICBkZWxldGUgbmV3UnVsZXNbbmFtZV07XG4gICAgICAgICAgICByZXR1cm4gbmV3UnVsZXM7XG4gICAgICAgIH0pO1xuICAgIH0pO1xuICAgIGNvbnN0IHZhbGlkYXRlRmllbGQgPSB1c2VNZW1vaXplZEZuKChuYW1lLCBydWxlcyA9IFtdLCBwcm92aWRlZFZhbHVlKSA9PiB7XG4gICAgICAgIGNvbnN0IHZhbHVlID0gcHJvdmlkZWRWYWx1ZSAhPT0gdW5kZWZpbmVkID8gcHJvdmlkZWRWYWx1ZSA6IHJlc29sdmVWYWx1ZSh2YWx1ZXMsIG5hbWUpO1xuICAgICAgICBmb3IgKGNvbnN0IHJ1bGUgb2YgcnVsZXMpIHtcbiAgICAgICAgICAgIGlmIChydWxlLnJlcXVpcmVkICYmXG4gICAgICAgICAgICAgICAgKHZhbHVlID09PSB1bmRlZmluZWQgfHwgdmFsdWUgPT09IG51bGwgfHwgdmFsdWUgPT09ICcnKSkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGVycm9yID0gcnVsZS5tZXNzYWdlIHx8IGAke25hbWV9IGlzIHJlcXVpcmVkYDtcbiAgICAgICAgICAgICAgICBzZXRGaWVsZEVycm9yKG5hbWUsIGVycm9yKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocnVsZS5taW4gJiYgdHlwZW9mIHZhbHVlID09PSAnc3RyaW5nJyAmJiB2YWx1ZS5sZW5ndGggPCBydWxlLm1pbikge1xuICAgICAgICAgICAgICAgIGNvbnN0IGVycm9yID0gcnVsZS5tZXNzYWdlIHx8IGAke25hbWV9IG11c3QgYmUgYXQgbGVhc3QgJHtydWxlLm1pbn0gY2hhcmFjdGVyc2A7XG4gICAgICAgICAgICAgICAgc2V0RmllbGRFcnJvcihuYW1lLCBlcnJvcik7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHJ1bGUubWF4ICYmIHR5cGVvZiB2YWx1ZSA9PT0gJ3N0cmluZycgJiYgdmFsdWUubGVuZ3RoID4gcnVsZS5tYXgpIHtcbiAgICAgICAgICAgICAgICBjb25zdCBlcnJvciA9IHJ1bGUubWVzc2FnZSB8fCBgJHtuYW1lfSBtdXN0IGJlIG5vIG1vcmUgdGhhbiAke3J1bGUubWF4fSBjaGFyYWN0ZXJzYDtcbiAgICAgICAgICAgICAgICBzZXRGaWVsZEVycm9yKG5hbWUsIGVycm9yKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocnVsZS5wYXR0ZXJuICYmIHR5cGVvZiB2YWx1ZSA9PT0gJ3N0cmluZycgJiYgIXJ1bGUucGF0dGVybi50ZXN0KHZhbHVlKSkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGVycm9yID0gcnVsZS5tZXNzYWdlIHx8IGAke25hbWV9IGZvcm1hdCBpcyBpbnZhbGlkYDtcbiAgICAgICAgICAgICAgICBzZXRGaWVsZEVycm9yKG5hbWUsIGVycm9yKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocnVsZS52YWxpZGF0b3IgJiYgdHlwZW9mIHJ1bGUudmFsaWRhdG9yID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcmVzdWx0ID0gcnVsZS52YWxpZGF0b3IodmFsdWUsIHZhbHVlcyk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChyZXN1bHQgIT09IHRydWUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHNldEZpZWxkRXJyb3IobmFtZSwgdHlwZW9mIHJlc3VsdCA9PT0gJ3N0cmluZycgPyByZXN1bHQgOiAnVmFsaWRhdGlvbiBmYWlsZWQnKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBjYXRjaCAoZXJyKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IG1lc3NhZ2UgPSBlcnIgaW5zdGFuY2VvZiBFcnJvciA/IGVyci5tZXNzYWdlIDogJ1ZhbGlkYXRpb24gZXJyb3InO1xuICAgICAgICAgICAgICAgICAgICBzZXRGaWVsZEVycm9yKG5hbWUsIG1lc3NhZ2UpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGlmIChlcnJvcnNbbmFtZV0pIHtcbiAgICAgICAgICAgIHNldEZpZWxkRXJyb3IobmFtZSwgbnVsbCk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgfSk7XG4gICAgY29uc3QgdmFsaWRhdGVGaWVsZHMgPSB1c2VNZW1vaXplZEZuKChmaWVsZHNSdWxlc1RvVmFsaWRhdGUgPSBmaWVsZFJ1bGVzKSA9PiB7XG4gICAgICAgIGxldCBpc1ZhbGlkID0gdHJ1ZTtcbiAgICAgICAgT2JqZWN0LmtleXMoZmllbGRzUnVsZXNUb1ZhbGlkYXRlKS5mb3JFYWNoKChuYW1lKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBydWxlcyA9IGZpZWxkc1J1bGVzVG9WYWxpZGF0ZVtuYW1lXTtcbiAgICAgICAgICAgIGlmICghdmFsaWRhdGVGaWVsZChuYW1lLCBydWxlcykpIHtcbiAgICAgICAgICAgICAgICBpc1ZhbGlkID0gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICByZXR1cm4gaXNWYWxpZDtcbiAgICB9KTtcbiAgICBjb25zdCBoYW5kbGVTdWJtaXRJbnRlcm5hbCA9IHVzZU1lbW9pemVkRm4oKCkgPT4ge1xuICAgICAgICBsZXQgaGFzRXJyb3JzID0gZmFsc2U7XG4gICAgICAgIGNvbnN0IG5ld0Vycm9ycyA9IHt9O1xuICAgICAgICBPYmplY3Qua2V5cyhmaWVsZFJ1bGVzKS5mb3JFYWNoKChmaWVsZE5hbWUpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHJ1bGVzID0gZmllbGRSdWxlc1tmaWVsZE5hbWVdO1xuICAgICAgICAgICAgY29uc3QgdmFsdWUgPSByZXNvbHZlVmFsdWUodmFsdWVzLCBmaWVsZE5hbWUpO1xuICAgICAgICAgICAgZm9yIChjb25zdCBydWxlIG9mIHJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgaWYgKHJ1bGUucmVxdWlyZWQgJiZcbiAgICAgICAgICAgICAgICAgICAgKHZhbHVlID09PSB1bmRlZmluZWQgfHwgdmFsdWUgPT09IG51bGwgfHwgdmFsdWUgPT09ICcnKSkge1xuICAgICAgICAgICAgICAgICAgICBuZXdFcnJvcnNbZmllbGROYW1lXSA9IHJ1bGUubWVzc2FnZSB8fCBgJHtmaWVsZE5hbWV9IGlzIHJlcXVpcmVkYDtcbiAgICAgICAgICAgICAgICAgICAgaGFzRXJyb3JzID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChydWxlLm1pbiAmJiB0eXBlb2YgdmFsdWUgPT09ICdzdHJpbmcnICYmIHZhbHVlLmxlbmd0aCA8IHJ1bGUubWluKSB7XG4gICAgICAgICAgICAgICAgICAgIG5ld0Vycm9yc1tmaWVsZE5hbWVdID1cbiAgICAgICAgICAgICAgICAgICAgICAgIHJ1bGUubWVzc2FnZSB8fCBgJHtmaWVsZE5hbWV9IG11c3QgYmUgYXQgbGVhc3QgJHtydWxlLm1pbn0gY2hhcmFjdGVyc2A7XG4gICAgICAgICAgICAgICAgICAgIGhhc0Vycm9ycyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAocnVsZS5tYXggJiYgdHlwZW9mIHZhbHVlID09PSAnc3RyaW5nJyAmJiB2YWx1ZS5sZW5ndGggPiBydWxlLm1heCkge1xuICAgICAgICAgICAgICAgICAgICBuZXdFcnJvcnNbZmllbGROYW1lXSA9XG4gICAgICAgICAgICAgICAgICAgICAgICBydWxlLm1lc3NhZ2UgfHxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBgJHtmaWVsZE5hbWV9IG11c3QgYmUgbm8gbW9yZSB0aGFuICR7cnVsZS5tYXh9IGNoYXJhY3RlcnNgO1xuICAgICAgICAgICAgICAgICAgICBoYXNFcnJvcnMgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKHJ1bGUucGF0dGVybiAmJlxuICAgICAgICAgICAgICAgICAgICB0eXBlb2YgdmFsdWUgPT09ICdzdHJpbmcnICYmXG4gICAgICAgICAgICAgICAgICAgICFydWxlLnBhdHRlcm4udGVzdCh2YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgbmV3RXJyb3JzW2ZpZWxkTmFtZV0gPSBydWxlLm1lc3NhZ2UgfHwgYCR7ZmllbGROYW1lfSBmb3JtYXQgaXMgaW52YWxpZGA7XG4gICAgICAgICAgICAgICAgICAgIGhhc0Vycm9ycyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAocnVsZS52YWxpZGF0b3IgJiYgdHlwZW9mIHJ1bGUudmFsaWRhdG9yID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCByZXN1bHQgPSBydWxlLnZhbGlkYXRvcih2YWx1ZSwgdmFsdWVzKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXN1bHQgIT09IHRydWUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZXdFcnJvcnNbZmllbGROYW1lXSA9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGVvZiByZXN1bHQgPT09ICdzdHJpbmcnID8gcmVzdWx0IDogJ1ZhbGlkYXRpb24gZmFpbGVkJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYXNFcnJvcnMgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG5ld0Vycm9yc1tmaWVsZE5hbWVdID1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlcnIgaW5zdGFuY2VvZiBFcnJvciA/IGVyci5tZXNzYWdlIDogJ1ZhbGlkYXRpb24gZXJyb3InO1xuICAgICAgICAgICAgICAgICAgICAgICAgaGFzRXJyb3JzID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgICAgc2V0RXJyb3JzKG5ld0Vycm9ycyk7XG4gICAgICAgIGlmICghaGFzRXJyb3JzKSB7XG4gICAgICAgICAgICBvbkZpbmlzaCA9PT0gbnVsbCB8fCBvbkZpbmlzaCA9PT0gdm9pZCAwID8gdm9pZCAwIDogb25GaW5pc2godmFsdWVzKTt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gICAgICAgZ2V0RmllbGRzVmFsdWUsXG4gICAgICAgIHNldEZpZWxkc1ZhbHVlLFxuICAgICAgICBzZXRGaWVsZFZhbHVlLFxuICAgICAgICB2YWxpZGF0ZUZpZWxkcyxcbiAgICBdKTtcbiAgICBjb25zdCBjb3JlQ29udGV4dFNoYXBlID0gdXNlTWVtbygoKSA9PiAoe1xuICAgICAgICB2YWx1ZXMsXG4gICAgICAgIGVycm9ycyxcbiAgICAgICAgdG91Y2hlZCxcbiAgICAgICAgZm9ybUluc3RhbmNlLFxuICAgICAgICBzZXRGaWVsZFZhbHVlLFxuICAgICAgICBzZXRGaWVsZEVycm9yLFxuICAgICAgICB2YWxpZGF0ZUZpZWxkLFxuICAgICAgICByZWdpc3RlckZpZWxkLFxuICAgICAgICB1bnJlZ2lzdGVyRmllbGQsXG4gICAgICAgIHNpemUsXG4gICAgICAgIGxhYmVsQWxpZ24sXG4gICAgICAgIGRpc2FibGVkLFxuICAgICAgICBjb2xvbixcbiAgICAgICAgcmVxdWlyZWRNYXJrLFxuICAgICAgICB2YWxpZGF0ZVRyaWdnZXIsXG4gICAgfSksIFtcbiAgICAgICAgdmFsdWVzLFxuICAgICAgICBlcnJvcnMsXG4gICAgICAgIHRvdWNoZWQsXG4gICAgICAgIGZvcm1JbnN0YW5jZSxcbiAgICAgICAgc2V0RmllbGRWYWx1ZSxcbiAgICAgICAgc2V0RmllbGRFcnJvcixcbiAgICAgICAgdmFsaWRhdGVGaWVsZCxcbiAgICAgICAgcmVnaXN0ZXJGaWVsZCxcbiAgICAgICAgdW5yZWdpc3RlckZpZWxkLFxuICAgICAgICBzaXplLFxuICAgICAgICBsYWJlbEFsaWduLFxuICAgICAgICBkaXNhYmxlZCxcbiAgICAgICAgY29sb24sXG4gICAgICAgIHJlcXVpcmVkTWFyayxcbiAgICAgICAgdmFsaWRhdGVUcmlnZ2VyLFxuICAgIF0pO1xuICAgIHJldHVybiB7XG4gICAgICAgIHZhbHVlcyxcbiAgICAgICAgZXJyb3JzLFxuICAgICAgICB0b3VjaGVkLFxuICAgICAgICBmaWVsZFJ1bGVzLFxuICAgICAgICBnZXRGaWVsZFJ1bGVzLFxuICAgICAgICBzZXRGaWVsZFZhbHVlLFxuICAgICAgICBzZXRGaWVsZEVycm9yLFxuICAgICAgICBzZXRGaWVsZHNWYWx1ZSxcbiAgICAgICAgZ2V0RmllbGRWYWx1ZSxcbiAgICAgICAgZ2V0RmllbGRzVmFsdWUsXG4gICAgICAgIHZhbGlkYXRlRmllbGQsXG4gICAgICAgIHZhbGlkYXRlRmllbGRzLFxuICAgICAgICByZWdpc3RlckZpZWxkLFxuICAgICAgICB1bnJlZ2lzdGVyRmllbGQsXG4gICAgICAgIGhhbmRsZVN1Ym1pdCxcbiAgICAgICAgaGFuZGxlUmVzZXQsXG4gICAgICAgIHJlc2V0RmllbGRzLFxuICAgICAgICBmb3JtSW5zdGFuY2UsXG4gICAgICAgIGNvcmVDb250ZXh0U2hhcGUsXG4gICAgfTtcbn07XG5leHBvcnQgZGVmYXVsdCB1c2VGb3JtQ29yZTsiXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { useFormItem } from './useFormItem';
|
|
2
|
-
export type { UseFormItemOptions, UseFormItemReturn } from './useFormItem';
|
|
3
|
-
export { useForm } from './hooks/useForm';
|
|
4
|
-
export { useFormCore } from './hooks/useFormCore';
|
|
5
|
-
export * from './interface';
|
|
6
|
-
export * from './constants';
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {
|
|
7
|
-
useFormItem: true,
|
|
8
|
-
useForm: true,
|
|
9
|
-
useFormCore: true
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "useForm", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function get() {
|
|
14
|
-
return _useForm.useForm;
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "useFormCore", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function get() {
|
|
20
|
-
return _useFormCore.useFormCore;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "useFormItem", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function get() {
|
|
26
|
-
return _useFormItem.useFormItem;
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
var _useFormItem = require("./useFormItem");
|
|
30
|
-
var _useForm = require("./hooks/useForm");
|
|
31
|
-
var _useFormCore = require("./hooks/useFormCore");
|
|
32
|
-
var _interface = require("./interface");
|
|
33
|
-
Object.keys(_interface).forEach(function (key) {
|
|
34
|
-
if (key === "default" || key === "__esModule") return;
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
36
|
-
if (key in exports && exports[key] === _interface[key]) return;
|
|
37
|
-
Object.defineProperty(exports, key, {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function get() {
|
|
40
|
-
return _interface[key];
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
var _constants = require("./constants");
|
|
45
|
-
Object.keys(_constants).forEach(function (key) {
|
|
46
|
-
if (key === "default" || key === "__esModule") return;
|
|
47
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
48
|
-
if (key in exports && exports[key] === _constants[key]) return;
|
|
49
|
-
Object.defineProperty(exports, key, {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function get() {
|
|
52
|
-
return _constants[key];
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMv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ksTUFBQSxDQUFBQyxJQUFBLENBQUFXLFVBQUEsRUFBQVYsT0FBQSxXQUFBQyxHQUFBO0VBQUEsSUFBQUEsR0FBQSxrQkFBQUEsR0FBQTtFQUFBLElBQUFILE1BQUEsQ0FBQUksU0FBQSxDQUFBQyxjQUFBLENBQUFDLElBQUEsQ0FBQUMsWUFBQSxFQUFBSixHQUFBO0VBQUEsSUFBQUEsR0FBQSxJQUFBSyxPQUFBLElBQUFBLE9BQUEsQ0FBQUwsR0FBQSxNQUFBUyxVQUFBLENBQUFULEdBQUE7RUFBQUgsTUFBQSxDQUFBUyxjQUFBLENBQUFELE9BQUEsRUFBQUwsR0FBQTtJQUFBTyxVQUFBO0lBQUFDLEdBQUEsV0FBQUEsSUFBQTtNQUFBLE9BQUFDLFVBQUEsQ0FBQVQsR0FBQTtJQUFBO0VBQUE7QUFBQSIsImZpbGUiOiJjb21wb25lbnRzL1Byb0Zvcm0vY29yZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { FC, ReactNode } from 'react';
|
|
3
|
-
import type { FormSize, FormLayout, LabelAlign, ValidateStatus, ValidateTrigger } from './constants';
|
|
4
|
-
export type { FormSize, FormLayout, LabelAlign, ValidateStatus, ValidateTrigger, };
|
|
5
|
-
export interface Rule {
|
|
6
|
-
required?: boolean;
|
|
7
|
-
message?: string;
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
pattern?: RegExp;
|
|
11
|
-
type?: 'number' | 'email' | 'url';
|
|
12
|
-
enum?: unknown[];
|
|
13
|
-
validator?: (value: unknown, values: Record<string, unknown>) => boolean | string | Promise<boolean | string>;
|
|
14
|
-
}
|
|
15
|
-
export interface FieldProps {
|
|
16
|
-
name: string;
|
|
17
|
-
value: unknown;
|
|
18
|
-
error?: string;
|
|
19
|
-
touched?: boolean;
|
|
20
|
-
validating?: boolean;
|
|
21
|
-
onChange: (value: unknown) => void;
|
|
22
|
-
onBlur: () => void;
|
|
23
|
-
}
|
|
24
|
-
export interface FieldOptions {
|
|
25
|
-
rules?: Rule[];
|
|
26
|
-
validateTrigger?: ValidateTrigger;
|
|
27
|
-
}
|
|
28
|
-
export interface FieldComponentProps {
|
|
29
|
-
children: ReactNode | ((props: FieldProps) => ReactNode);
|
|
30
|
-
render?: (props: FieldProps) => ReactNode;
|
|
31
|
-
}
|
|
32
|
-
/** Lightweight form instance returned by useFormCore */
|
|
33
|
-
export interface FormCoreInstance {
|
|
34
|
-
submit: () => {
|
|
35
|
-
success: boolean;
|
|
36
|
-
values?: Record<string, unknown>;
|
|
37
|
-
errors?: Record<string, string>;
|
|
38
|
-
};
|
|
39
|
-
resetFields: () => void;
|
|
40
|
-
getFieldValue: (name: string) => unknown;
|
|
41
|
-
getFieldsValue: () => Record<string, unknown>;
|
|
42
|
-
setFieldsValue: (values: Record<string, unknown>) => void;
|
|
43
|
-
setFieldValue: (name: string, value: unknown) => void;
|
|
44
|
-
validateFields: (fieldsRules?: Record<string, Rule[]>) => boolean;
|
|
45
|
-
}
|
|
46
|
-
/** Full form instance returned by useForm — extends FormCoreInstance with async validation, field helpers, etc. */
|
|
47
|
-
export interface FormInstance {
|
|
48
|
-
getFieldValue: (name: string) => unknown;
|
|
49
|
-
getFieldsValue: (nameList?: string[]) => Record<string, unknown>;
|
|
50
|
-
setFieldValue: (name: string, value: unknown) => void;
|
|
51
|
-
setFieldsValue: (values: Record<string, unknown>) => void;
|
|
52
|
-
setFieldError: (name: string, error: string | null) => void;
|
|
53
|
-
setFieldsError: (errors: Record<string, string>) => void;
|
|
54
|
-
resetFields: (fields?: string[]) => void;
|
|
55
|
-
validateFields: (nameList?: string[]) => Promise<Record<string, unknown>>;
|
|
56
|
-
submit: (callback?: (values: Record<string, unknown>) => void | Promise<void>) => Promise<Record<string, unknown> | undefined>;
|
|
57
|
-
getFieldError: (name: string) => string | undefined;
|
|
58
|
-
getFieldsError: (nameList?: string[]) => Record<string, string>;
|
|
59
|
-
isFieldTouched: (name: string) => boolean;
|
|
60
|
-
isFieldsTouched: (nameList?: string[], allTouched?: boolean) => boolean;
|
|
61
|
-
isFieldValidating: (name: string) => boolean;
|
|
62
|
-
setFieldTouched: (name: string, isTouched?: boolean) => void;
|
|
63
|
-
setFieldsTouched: (touched: Record<string, boolean>) => void;
|
|
64
|
-
defineField: (name: string, options?: FieldOptions) => FC<FieldComponentProps>;
|
|
65
|
-
registerField: (name: string, rules: Rule[]) => void;
|
|
66
|
-
unregisterField: (name: string) => void;
|
|
67
|
-
}
|
|
68
|
-
export interface UseFormOptions {
|
|
69
|
-
onValuesChange?: (changedValues: Record<string, unknown>, allValues: Record<string, unknown>) => void;
|
|
70
|
-
validateTrigger?: ValidateTrigger;
|
|
71
|
-
rules?: Record<string, Rule[]>;
|
|
72
|
-
}
|
|
73
|
-
export interface UseFormCoreConfig {
|
|
74
|
-
initialValues?: Record<string, unknown>;
|
|
75
|
-
onFinish?: (values: Record<string, unknown>) => void;
|
|
76
|
-
onFinishFailed?: (errorInfo: {
|
|
77
|
-
values: Record<string, unknown>;
|
|
78
|
-
errors: Record<string, string>;
|
|
79
|
-
}) => void;
|
|
80
|
-
onValuesChange?: (changedValues: Record<string, unknown>, allValues: Record<string, unknown>) => void;
|
|
81
|
-
onReset?: () => void;
|
|
82
|
-
size?: FormSize;
|
|
83
|
-
labelAlign?: LabelAlign;
|
|
84
|
-
disabled?: boolean;
|
|
85
|
-
colon?: boolean;
|
|
86
|
-
requiredMark?: boolean;
|
|
87
|
-
validateTrigger?: ValidateTrigger;
|
|
88
|
-
}
|
|
89
|
-
/** Internal shape of data produced by useFormCore, consumed by ProForm to build ProFormContext */
|
|
90
|
-
export interface FormCoreContextShape {
|
|
91
|
-
values: Record<string, unknown>;
|
|
92
|
-
errors: Record<string, string>;
|
|
93
|
-
touched: Record<string, boolean>;
|
|
94
|
-
formInstance: FormCoreInstance;
|
|
95
|
-
setFieldValue: (name: string, value: unknown) => void;
|
|
96
|
-
setFieldError: (name: string, error: string | null) => void;
|
|
97
|
-
validateField: (name: string, rules: Rule[], providedValue?: unknown) => boolean;
|
|
98
|
-
registerField: (name: string, rules: Rule[]) => void;
|
|
99
|
-
unregisterField: (name: string) => void;
|
|
100
|
-
size: FormSize;
|
|
101
|
-
labelAlign: LabelAlign;
|
|
102
|
-
disabled: boolean;
|
|
103
|
-
colon: boolean;
|
|
104
|
-
requiredMark: boolean;
|
|
105
|
-
validateTrigger: ValidateTrigger;
|
|
106
|
-
}
|
|
107
|
-
/** Config for useForm — accepts all UseFormCoreConfig fields */
|
|
108
|
-
export type UseFormConfig = UseFormCoreConfig;
|
|
109
|
-
/** Internal state exposed by useForm for ProForm integration */
|
|
110
|
-
export interface UseFormInternals {
|
|
111
|
-
values: Record<string, unknown>;
|
|
112
|
-
errors: Record<string, string>;
|
|
113
|
-
touched: Record<string, boolean>;
|
|
114
|
-
validating: Record<string, boolean>;
|
|
115
|
-
fieldRules: Record<string, Rule[]>;
|
|
116
|
-
setFieldValue: (name: string, value: unknown) => void;
|
|
117
|
-
setFieldError: (name: string, error: string | null) => void;
|
|
118
|
-
validateField: (name: string, rules: Rule[], providedValue?: unknown) => boolean;
|
|
119
|
-
validateFieldAsync: (name: string, value: unknown, rules: Rule[]) => Promise<{
|
|
120
|
-
isValid: boolean;
|
|
121
|
-
error: string | null;
|
|
122
|
-
}>;
|
|
123
|
-
registerField: (name: string, rules: Rule[]) => void;
|
|
124
|
-
unregisterField: (name: string) => void;
|
|
125
|
-
handleSubmit: (e?: React.FormEvent) => void;
|
|
126
|
-
handleReset: (e?: React.FormEvent) => void;
|
|
127
|
-
}
|
|
128
|
-
/** Return type for useForm */
|
|
129
|
-
export interface UseFormReturn {
|
|
130
|
-
formInstance: FormInstance;
|
|
131
|
-
internals: UseFormInternals;
|
|
132
|
-
}
|
|
133
|
-
export interface UseFormCoreReturn {
|
|
134
|
-
values: Record<string, unknown>;
|
|
135
|
-
errors: Record<string, string>;
|
|
136
|
-
touched: Record<string, boolean>;
|
|
137
|
-
fieldRules: Record<string, Rule[]>;
|
|
138
|
-
getFieldRules: (name: string) => Rule[] | undefined;
|
|
139
|
-
setFieldValue: (name: string, value: unknown) => void;
|
|
140
|
-
setFieldError: (name: string, error: string | null) => void;
|
|
141
|
-
setFieldsValue: (values: Record<string, unknown>) => void;
|
|
142
|
-
getFieldValue: (name: string) => unknown;
|
|
143
|
-
getFieldsValue: () => Record<string, unknown>;
|
|
144
|
-
validateField: (name: string, rules: Rule[], providedValue?: unknown) => boolean;
|
|
145
|
-
validateFields: (fieldsRules?: Record<string, Rule[]>) => boolean;
|
|
146
|
-
registerField: (name: string, rules: Rule[]) => void;
|
|
147
|
-
unregisterField: (name: string) => void;
|
|
148
|
-
handleSubmit: (e?: React.FormEvent) => void;
|
|
149
|
-
handleReset: (e?: React.FormEvent) => void;
|
|
150
|
-
resetFields: () => void;
|
|
151
|
-
formInstance: FormCoreInstance;
|
|
152
|
-
coreContextShape: FormCoreContextShape;
|
|
153
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9Qcm9Gb3JtL2NvcmUvaW50ZXJmYWNlLmpzIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIiwic291cmNlcyI6WyJjb21wb25lbnRzL1Byb0Zvcm0vY29yZS9pbnRlcmZhY2UuanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHt9OyJdLCJtYXBwaW5ncyI6IiIsImlnbm9yZUxpc3QiOltdfQ==
|