@unicom-cloud/ui 0.8.150 → 0.8.152
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/.virtual/_rolldown/runtime.js +19 -0
- package/.vite/license.md +3 -0
- package/.vite/manifest.json +8213 -0
- package/affix/Affix.d.ts +10 -0
- package/affix/Affix.js +114 -130
- package/affix/index.d.ts +7 -0
- package/affix/index.js +7 -5
- package/alert/Alert.d.ts +5 -0
- package/alert/Alert.js +82 -111
- package/alert/index.d.ts +3 -0
- package/alert/index.js +7 -5
- package/anchor/Anchor.d.ts +10 -0
- package/anchor/Anchor.js +146 -190
- package/anchor/Link.d.ts +6 -0
- package/anchor/Link.js +40 -57
- package/anchor/context.d.ts +3 -0
- package/anchor/context.js +12 -15
- package/anchor/index.d.ts +14 -0
- package/anchor/index.js +9 -9
- package/anchor/utils.d.ts +5 -0
- package/anchor/utils.js +37 -46
- package/app/App.js +34 -26
- package/app/context.d.ts +4 -0
- package/app/context.js +11 -10
- package/app/index.js +9 -12
- package/app/useApp.d.ts +3 -0
- package/app/useApp.js +8 -7
- package/auto-complete/AutoComplete.d.ts +11 -0
- package/auto-complete/AutoComplete.js +109 -165
- package/auto-complete/index.d.ts +20 -0
- package/auto-complete/index.js +10 -7
- package/auto-complete/interface.d.ts +122 -0
- package/avatar/Avatar.d.ts +6 -0
- package/avatar/Avatar.js +70 -91
- package/avatar/Group.d.ts +6 -0
- package/avatar/Group.js +65 -83
- package/avatar/context.d.ts +3 -0
- package/avatar/context.js +7 -6
- package/avatar/index.d.ts +12 -0
- package/avatar/index.js +9 -11
- package/avatar/interface.d.ts +91 -0
- package/back-top/BackTop.d.ts +6 -0
- package/back-top/BackTop.js +59 -74
- package/back-top/index.d.ts +5 -0
- package/back-top/index.js +7 -5
- package/badge/Badge.d.ts +7 -0
- package/badge/Badge.js +123 -211
- package/badge/Count.js +33 -36
- package/badge/index.d.ts +10 -0
- package/badge/index.js +9 -10
- package/badge/utils.d.ts +5 -0
- package/badge/utils.js +24 -0
- package/breadcrumb/Breadcrumb.d.ts +9 -0
- package/breadcrumb/Breadcrumb.js +77 -94
- package/breadcrumb/Item.d.ts +8 -0
- package/breadcrumb/Item.js +37 -67
- package/breadcrumb/context.d.ts +4 -0
- package/breadcrumb/context.js +7 -6
- package/breadcrumb/index.d.ts +11 -0
- package/breadcrumb/index.js +9 -9
- package/breadcrumb/interface.d.ts +79 -0
- package/button/Button.d.ts +19 -0
- package/button/Button.js +102 -157
- package/button/Group.d.ts +5 -0
- package/button/Group.js +20 -13
- package/button/index.d.ts +18 -0
- package/button/index.js +11 -10
- package/button/interface.d.ts +114 -0
- package/calendar/Calendar.d.ts +4 -0
- package/calendar/Calendar.js +138 -0
- package/calendar/Month.d.ts +15 -0
- package/calendar/Month.js +115 -142
- package/calendar/WeekList.js +24 -24
- package/calendar/Year.d.ts +13 -0
- package/calendar/Year.js +82 -78
- package/calendar/header/Panel.js +43 -57
- package/calendar/header/index.js +95 -109
- package/calendar/hook/useCellClassName.js +32 -40
- package/calendar/index.d.ts +10 -0
- package/calendar/index.js +12 -183
- package/card/Card.d.ts +11 -0
- package/card/Card.js +73 -0
- package/card/Grid.d.ts +5 -0
- package/card/Grid.js +20 -26
- package/card/Meta.d.ts +5 -0
- package/card/Meta.js +35 -31
- package/card/index.d.ts +13 -0
- package/card/index.js +12 -133
- package/carousel/Arrow.d.ts +4 -0
- package/carousel/Arrow.js +37 -56
- package/carousel/Carousel.d.ts +5 -0
- package/carousel/Carousel.js +180 -0
- package/carousel/Indicator.d.ts +4 -0
- package/carousel/Indicator.js +42 -67
- package/carousel/index.d.ts +4 -0
- package/carousel/index.js +7 -287
- package/cascader/Cascader.d.ts +12 -0
- package/cascader/Cascader.js +229 -305
- package/cascader/base/node.d.ts +66 -0
- package/cascader/base/node.js +87 -95
- package/cascader/base/store.d.ts +40 -0
- package/cascader/base/store.js +65 -52
- package/cascader/hook/useRefCurrent.js +13 -12
- package/cascader/index.d.ts +5 -0
- package/cascader/index.js +7 -5
- package/cascader/interface.d.ts +297 -0
- package/cascader/panel/List.d.ts +4 -0
- package/cascader/panel/List.js +198 -269
- package/cascader/panel/Option.d.ts +23 -0
- package/cascader/panel/Option.js +24 -34
- package/cascader/panel/Search.d.ts +28 -0
- package/cascader/panel/Search.js +138 -161
- package/cascader/utils.d.ts +23 -0
- package/cascader/utils.js +50 -64
- package/checkbox/Checkbox.d.ts +5 -0
- package/checkbox/Checkbox.js +87 -138
- package/checkbox/Group.d.ts +9 -0
- package/checkbox/Group.js +71 -104
- package/checkbox/GroupBlock.d.ts +8 -0
- package/checkbox/GroupBlock.js +59 -102
- package/checkbox/context.js +12 -15
- package/checkbox/index.d.ts +12 -0
- package/checkbox/index.js +15 -14
- package/checkbox/interface.d.ts +102 -0
- package/checkbox/useCheckbox.js +49 -45
- package/collapse/Collapse.d.ts +11 -0
- package/collapse/Collapse.js +75 -119
- package/collapse/Item.d.ts +8 -0
- package/collapse/Item.js +118 -182
- package/collapse/context.d.ts +5 -0
- package/collapse/context.js +12 -12
- package/collapse/index.d.ts +14 -0
- package/collapse/index.js +9 -9
- package/color-picker/ColorPicker.d.ts +19 -0
- package/color-picker/ColorPicker.js +120 -0
- package/color-picker/ControlBar.d.ts +18 -0
- package/color-picker/ControlBar.js +45 -64
- package/color-picker/InputAlpha.d.ts +7 -0
- package/color-picker/InputAlpha.js +21 -23
- package/color-picker/InputHex.d.ts +11 -0
- package/color-picker/InputHex.js +49 -55
- package/color-picker/InputRgb.d.ts +10 -0
- package/color-picker/InputRgb.js +67 -63
- package/color-picker/Mode.d.ts +8 -0
- package/color-picker/Mode.js +8 -12
- package/color-picker/Palette.d.ts +7 -0
- package/color-picker/Palette.js +34 -35
- package/color-picker/Panel.d.ts +31 -0
- package/color-picker/Panel.js +227 -284
- package/color-picker/colors.d.ts +2 -0
- package/color-picker/colors.js +12 -34
- package/color-picker/hooks/useColorPicker.d.ts +35 -0
- package/color-picker/hooks/useColorPicker.js +101 -120
- package/color-picker/hooks/useControlBlock.d.ts +18 -0
- package/color-picker/hooks/useControlBlock.js +48 -57
- package/color-picker/index.js +20 -188
- package/color-picker/interface.d.ts +148 -0
- package/color-picker/interface.js +9 -5
- package/color-picker/utils.d.ts +23 -0
- package/color-picker/utils.js +64 -90
- package/comment/Comment.d.ts +6 -0
- package/comment/Comment.js +71 -0
- package/comment/index.d.ts +6 -0
- package/comment/index.js +7 -77
- package/config-provider/ConfigProvider.d.ts +6 -0
- package/config-provider/ConfigProvider.js +38 -49
- package/config-provider/context.d.ts +6 -0
- package/config-provider/context.js +26 -28
- package/config-provider/index.d.ts +8 -0
- package/config-provider/index.js +8 -10
- package/config-provider/initUI.js +14 -14
- package/config-provider/interface.d.ts +273 -0
- package/config-provider/useConfigProvider.js +53 -97
- package/constant/index.d.ts +3 -0
- package/constant/index.js +6 -6
- package/copy/Copy.d.ts +7 -0
- package/copy/Copy.js +46 -0
- package/copy/index.d.ts +5 -0
- package/copy/index.js +7 -71
- package/countdown/Countdown.d.ts +4 -0
- package/countdown/Countdown.js +63 -0
- package/countdown/index.d.ts +4 -0
- package/countdown/index.js +7 -115
- package/countdown/utils.js +21 -28
- package/date-picker/DatePicker.d.ts +11 -0
- package/date-picker/DatePicker.js +53 -0
- package/date-picker/DatePickerRange.d.ts +3 -0
- package/date-picker/DatePickerRange.js +397 -593
- package/date-picker/Picker.d.ts +4 -0
- package/date-picker/Picker.js +307 -408
- package/date-picker/context.d.ts +6 -0
- package/date-picker/context.js +7 -9
- package/date-picker/hook/useCellClassName.js +52 -81
- package/date-picker/index.d.ts +13 -0
- package/date-picker/index.js +16 -64
- package/date-picker/interface.d.ts +532 -0
- package/date-picker/panel/Body.d.ts +30 -0
- package/date-picker/panel/Body.js +63 -94
- package/date-picker/panel/Footer.js +61 -75
- package/date-picker/panel/Header.d.ts +22 -0
- package/date-picker/panel/Header.js +84 -100
- package/date-picker/panel/Shortcut.d.ts +3 -0
- package/date-picker/panel/Shortcut.js +40 -47
- package/date-picker/panel/WeekList.js +28 -26
- package/date-picker/panel/date/index.js +162 -230
- package/date-picker/panel/month/index.d.ts +17 -0
- package/date-picker/panel/month/index.js +93 -129
- package/date-picker/panel/quarter/index.d.ts +17 -0
- package/date-picker/panel/quarter/index.js +79 -111
- package/date-picker/panel/range/index.d.ts +28 -0
- package/date-picker/panel/range/index.js +169 -270
- package/date-picker/panel/week/index.d.ts +16 -0
- package/date-picker/panel/week/index.js +34 -50
- package/date-picker/panel/year/index.d.ts +16 -0
- package/date-picker/panel/year/index.js +59 -87
- package/date-picker/utils.d.ts +11 -0
- package/date-picker/utils.js +75 -100
- package/descriptions/Descriptions.d.ts +4 -0
- package/descriptions/Descriptions.js +142 -0
- package/descriptions/index.d.ts +4 -0
- package/descriptions/index.js +7 -251
- package/descriptions/interface.d.ts +80 -0
- package/details/Details.d.ts +5 -0
- package/details/Details.js +83 -0
- package/details/index.d.ts +4 -0
- package/details/index.js +7 -121
- package/development/Development.js +29 -0
- package/development/index.d.ts +4 -0
- package/development/index.js +7 -36
- package/divider/Divider.d.ts +7 -0
- package/divider/Divider.js +51 -0
- package/divider/index.d.ts +8 -0
- package/divider/index.js +7 -78
- package/draggable/Draggable.d.ts +4 -0
- package/draggable/Draggable.js +33 -0
- package/draggable/Item.d.ts +3 -0
- package/draggable/Item.js +51 -67
- package/draggable/index.d.ts +8 -0
- package/draggable/index.js +8 -39
- package/draw/Draw.d.ts +4 -0
- package/draw/Draw.js +34 -45
- package/draw/constant.js +2 -1
- package/draw/index.d.ts +6 -0
- package/draw/index.js +7 -6
- package/drawer/Drawer.d.ts +5 -0
- package/drawer/Drawer.js +200 -269
- package/drawer/index.d.ts +3 -0
- package/drawer/index.js +7 -5
- package/drawer/interface.d.ts +175 -0
- package/dropdown/Button.d.ts +4 -0
- package/dropdown/Button.js +55 -89
- package/dropdown/Dropdown.d.ts +5 -0
- package/dropdown/Dropdown.js +93 -0
- package/dropdown/index.d.ts +8 -0
- package/dropdown/index.js +8 -130
- package/dropdown/interface.d.ts +100 -0
- package/empty/Empty.d.ts +4 -0
- package/empty/Empty.js +27 -0
- package/empty/index.d.ts +4 -0
- package/empty/index.js +7 -38
- package/empty/interface.d.ts +8 -0
- package/flex/Flex.d.ts +9 -0
- package/flex/Flex.js +39 -0
- package/flex/index.d.ts +8 -0
- package/flex/index.js +7 -51
- package/flex/interface.d.ts +9 -0
- package/form/Control.d.ts +51 -0
- package/form/Control.js +204 -229
- package/form/Form.d.ts +6 -0
- package/form/Form.js +146 -169
- package/form/FormControl.d.ts +50 -0
- package/form/FormControl.js +246 -0
- package/form/FormItem.d.ts +7 -0
- package/form/FormItem.js +169 -250
- package/form/FormItemTip.d.ts +3 -0
- package/form/FormItemTip.js +39 -45
- package/form/FormLabel.js +44 -74
- package/form/FormLabelSymbol.d.ts +3 -0
- package/form/FormLabelSymbol.js +19 -0
- package/form/FormList.d.ts +6 -0
- package/form/FormList.js +85 -100
- package/form/FormProvider.d.ts +5 -0
- package/form/FormProvider.js +28 -45
- package/form/constant.d.ts +2 -0
- package/form/constant.js +6 -0
- package/form/context.d.ts +15 -0
- package/form/context.js +61 -50
- package/form/hook/useForm.d.ts +5 -0
- package/form/hook/useForm.js +53 -57
- package/form/hook/useFormContext.d.ts +10 -0
- package/form/hook/useFormContext.js +33 -31
- package/form/hook/useFormState.d.ts +3 -0
- package/form/hook/useFormState.js +30 -29
- package/form/hook/useWatch.d.ts +3 -0
- package/form/hook/useWatch.js +33 -33
- package/form/index.d.ts +35 -0
- package/form/index.js +37 -43
- package/form/interface.d.ts +558 -0
- package/form/interface.js +16 -10
- package/form/promisify.js +14 -13
- package/form/store.d.ts +81 -0
- package/form/store.js +239 -264
- package/form/utils.d.ts +19 -0
- package/form/utils.js +73 -77
- package/global-provider/GlobalProvider.d.ts +7 -0
- package/global-provider/GlobalProvider.js +18 -0
- package/global-provider/context.d.ts +3 -0
- package/global-provider/context.js +7 -6
- package/global-provider/index.d.ts +11 -0
- package/global-provider/index.js +11 -20
- package/grid/Grid.js +55 -84
- package/grid/Item.d.ts +4 -0
- package/grid/Item.js +34 -59
- package/grid/context.js +7 -6
- package/grid/index.d.ts +25 -0
- package/grid/index.js +16 -17
- package/grid/interface.d.ts +114 -0
- package/grid/utils.d.ts +2 -0
- package/grid/utils.js +11 -13
- package/hooks/index.js +8 -120
- package/hooks/use-breakpoint/index.d.ts +3 -0
- package/hooks/use-breakpoint/index.js +18 -17
- package/hooks/use-computed-state/index.js +7 -6
- package/hooks/use-create/index.js +7 -6
- package/hooks/use-creation/index.js +7 -6
- package/hooks/use-event/index.js +7 -6
- package/hooks/use-event-listener/index.js +7 -6
- package/hooks/use-force-update/index.js +7 -6
- package/hooks/use-fullscreen/index.js +7 -6
- package/hooks/use-id/index.js +7 -6
- package/hooks/use-in-view/index.js +7 -6
- package/hooks/use-intersection-observer/index.js +7 -6
- package/hooks/use-intersection-observers/index.js +7 -6
- package/hooks/use-interval/index.js +7 -6
- package/hooks/use-is-first-render/index.js +7 -6
- package/hooks/use-isomorphic-layout-effect/index.js +7 -6
- package/hooks/use-keyboard-event/index.js +7 -6
- package/hooks/use-latest/index.js +7 -6
- package/hooks/use-listen-window-resize/index.js +7 -6
- package/hooks/use-media/index.js +7 -6
- package/hooks/use-merge-props/index.js +7 -6
- package/hooks/use-merge-value/index.js +7 -6
- package/hooks/use-move/index.js +7 -6
- package/hooks/use-mutation-observers/index.js +7 -6
- package/hooks/use-online-status/index.js +7 -6
- package/hooks/use-overflow-hidden/index.js +7 -6
- package/hooks/use-override-ref/index.js +7 -6
- package/hooks/use-persist-callback/index.js +7 -6
- package/hooks/use-prefers-color-scheme-dark/index.js +7 -6
- package/hooks/use-previous/index.js +7 -6
- package/hooks/use-refs/index.js +7 -7
- package/hooks/use-resize-observer/index.js +7 -6
- package/hooks/use-resize-observers/index.js +7 -6
- package/hooks/use-responsive-state/index.js +42 -52
- package/hooks/use-set-state/index.js +7 -6
- package/hooks/use-state-callback/index.js +7 -6
- package/hooks/use-state-with-promise/index.js +7 -6
- package/hooks/use-update-effect/index.js +7 -6
- package/hooks/use-update-layout-effect/index.js +7 -6
- package/hooks/use-verification-code/index.d.ts +3 -0
- package/hooks/use-verification-code/index.js +64 -69
- package/hooks/use-watch/index.js +7 -6
- package/hooks/use-watermark/index.d.ts +3 -0
- package/hooks/use-watermark/index.js +142 -157
- package/hooks/use-watermark/utils.js +9 -9
- package/hooks/use-window-size/index.js +7 -6
- package/hooks/useUnmountOnExit.js +13 -10
- package/icon/Icon.d.ts +5 -0
- package/icon/Icon.js +32 -41
- package/icon/addIconFromCdn.js +34 -27
- package/icon/index.d.ts +7 -0
- package/icon/index.js +13 -11
- package/icon-hover/IconHover.d.ts +5 -0
- package/icon-hover/IconHover.js +29 -0
- package/icon-hover/index.d.ts +6 -0
- package/icon-hover/index.js +7 -46
- package/icon-hover/interface.d.ts +8 -0
- package/icons/file/File.d.ts +4 -0
- package/icons/file/File.js +26 -0
- package/icons/file/index.d.ts +4 -0
- package/icons/file/index.js +7 -33
- package/icons/file/interface.d.ts +7 -0
- package/icons.js +7 -6
- package/image/Image.d.ts +12 -0
- package/image/Image.js +154 -199
- package/image/ImageFooter.d.ts +13 -0
- package/image/ImageFooter.js +57 -46
- package/image/ImagePreview.d.ts +7 -0
- package/image/ImagePreview.js +400 -481
- package/image/ImagePreviewArrow.js +30 -47
- package/image/ImagePreviewGroup.d.ts +11 -0
- package/image/ImagePreviewGroup.js +103 -126
- package/image/ImagePreviewToolbar.d.ts +14 -0
- package/image/ImagePreviewToolbar.js +60 -100
- package/image/TriggerForToolbar.d.ts +10 -0
- package/image/TriggerForToolbar.js +18 -10
- package/image/context.d.ts +24 -0
- package/image/context.js +18 -19
- package/image/index.d.ts +18 -0
- package/image/index.js +13 -11
- package/image/interface.d.ts +257 -0
- package/image/utils/getFixTranslate.js +8 -7
- package/image/utils/getScale.d.ts +12 -0
- package/image/utils/getScale.js +68 -70
- package/image/utils/hook/useImageStatus.js +17 -16
- package/image/utils/hook/useShowFooter.d.ts +8 -0
- package/image/utils/hook/useShowFooter.js +12 -7
- package/index.d.ts +194 -0
- package/index.js +918 -896
- package/input/Button.d.ts +5 -0
- package/input/Button.js +52 -86
- package/input/Group.d.ts +7 -0
- package/input/Group.js +20 -22
- package/input/Input.d.ts +5 -0
- package/input/Input.js +140 -218
- package/input/InputElement.d.ts +4 -0
- package/input/InputElement.js +183 -241
- package/input/Number.js +7 -5
- package/input/Password.d.ts +5 -0
- package/input/Password.js +57 -85
- package/input/Search.d.ts +5 -0
- package/input/Search.js +53 -81
- package/input/Tag.js +7 -5
- package/input/Textarea.d.ts +9 -0
- package/input/Textarea.js +166 -211
- package/input/autoSizeTextareaHeight.js +65 -72
- package/input/index.d.ts +23 -0
- package/input/index.js +23 -20
- package/input/interface.d.ts +318 -0
- package/input/useComposition.d.ts +18 -0
- package/input/useComposition.js +30 -39
- package/input/utils.js +9 -8
- package/input-number/InputNumber.d.ts +6 -0
- package/input-number/InputNumber.js +158 -0
- package/input-number/decimal.js +113 -140
- package/input-number/index.d.ts +4 -0
- package/input-number/index.js +7 -220
- package/input-number/interface.d.ts +128 -0
- package/input-number/useSelectionRange.js +24 -26
- package/input-number/utils.js +42 -53
- package/input-tag/InputTag.d.ts +7 -0
- package/input-tag/InputTag.js +280 -359
- package/input-tag/constant.d.ts +1 -0
- package/input-tag/constant.js +6 -0
- package/input-tag/hook/useComputeAutoWidthDelay.d.ts +3 -0
- package/input-tag/hook/useComputeAutoWidthDelay.js +12 -0
- package/input-tag/index.d.ts +4 -0
- package/input-tag/index.js +7 -5
- package/input-tag/interface.d.ts +187 -0
- package/layout/Content.d.ts +3 -0
- package/layout/Content.js +20 -14
- package/layout/Footer.d.ts +3 -0
- package/layout/Footer.js +20 -14
- package/layout/Header.d.ts +3 -0
- package/layout/Header.js +20 -14
- package/layout/Layout.d.ts +14 -0
- package/layout/Layout.js +36 -0
- package/layout/Sider.d.ts +8 -0
- package/layout/Sider.js +96 -130
- package/layout/context.js +8 -7
- package/layout/index.d.ts +25 -0
- package/layout/index.js +18 -56
- package/layout/interface.d.ts +123 -0
- package/link/Link.d.ts +6 -0
- package/link/Link.js +42 -0
- package/link/index.d.ts +6 -0
- package/link/index.js +7 -72
- package/liquid-fill/LiquidFill.js +168 -0
- package/liquid-fill/index.d.ts +4 -0
- package/liquid-fill/index.js +7 -222
- package/list/Item.d.ts +8 -0
- package/list/Item.js +49 -50
- package/list/List.d.ts +12 -0
- package/list/List.js +185 -0
- package/list/Meta.d.ts +4 -0
- package/list/Meta.js +32 -20
- package/list/index.js +8 -274
- package/list/interface.d.ts +189 -0
- package/loading/Loading.js +62 -0
- package/loading/index.d.ts +4 -0
- package/loading/index.js +7 -81
- package/locale/ar-EG.d.ts +4 -0
- package/locale/ar-EG.js +164 -169
- package/locale/de-DE.d.ts +4 -0
- package/locale/de-DE.js +164 -169
- package/locale/default.js +7 -5
- package/locale/en-US.js +183 -198
- package/locale/es-ES.d.ts +4 -0
- package/locale/es-ES.js +164 -169
- package/locale/fr-FR.d.ts +4 -0
- package/locale/fr-FR.js +164 -169
- package/locale/id-ID.d.ts +4 -0
- package/locale/id-ID.js +164 -169
- package/locale/it-IT.d.ts +4 -0
- package/locale/it-IT.js +164 -169
- package/locale/ja-JP.d.ts +4 -0
- package/locale/ja-JP.js +219 -226
- package/locale/ko-KR.d.ts +4 -0
- package/locale/ko-KR.js +164 -169
- package/locale/ms-MY.d.ts +4 -0
- package/locale/ms-MY.js +164 -169
- package/locale/pt-BR.d.ts +4 -0
- package/locale/pt-BR.js +164 -169
- package/locale/pt-PT.d.ts +4 -0
- package/locale/pt-PT.js +164 -169
- package/locale/ru-RU.d.ts +4 -0
- package/locale/ru-RU.js +164 -169
- package/locale/th-TH.d.ts +4 -0
- package/locale/th-TH.js +164 -169
- package/locale/tr-TR.d.ts +4 -0
- package/locale/tr-TR.js +164 -169
- package/locale/vi-VN.d.ts +4 -0
- package/locale/vi-VN.js +164 -169
- package/locale/zh-CN.d.ts +4 -0
- package/locale/zh-CN.js +228 -245
- package/locale/zh-HK.d.ts +4 -0
- package/locale/zh-HK.js +219 -227
- package/locale/zh-TW.d.ts +4 -0
- package/locale/zh-TW.js +219 -226
- package/marquee/Marquee.js +135 -0
- package/marquee/index.d.ts +4 -0
- package/marquee/index.js +7 -164
- package/marquee/interface.d.ts +96 -0
- package/mask/Mask.d.ts +5 -0
- package/mask/Mask.js +44 -76
- package/mask/index.d.ts +6 -0
- package/mask/index.js +7 -5
- package/masonry/Masonry.js +110 -211
- package/masonry/MasonryItem.js +36 -35
- package/masonry/hooks/useDelay.d.ts +2 -0
- package/masonry/hooks/useDelay.js +13 -12
- package/masonry/hooks/useGutter.d.ts +5 -0
- package/masonry/hooks/useGutter.js +26 -27
- package/masonry/hooks/usePositions.js +25 -24
- package/masonry/hooks/useRefs.js +7 -6
- package/masonry/index.d.ts +10 -0
- package/masonry/index.js +8 -5
- package/masonry/interface.d.ts +43 -0
- package/mentions/Mentions.d.ts +5 -0
- package/mentions/Mentions.js +123 -0
- package/mentions/index.d.ts +4 -0
- package/mentions/index.js +7 -160
- package/mentions/interface.d.ts +88 -0
- package/mentions/utils.d.ts +9 -0
- package/mentions/utils.js +21 -25
- package/menu/Indent.js +14 -17
- package/menu/Item.d.ts +6 -0
- package/menu/Item.js +75 -124
- package/menu/ItemGroup.d.ts +6 -0
- package/menu/ItemGroup.js +28 -39
- package/menu/Menu.d.ts +3 -0
- package/menu/Menu.js +120 -199
- package/menu/OverflowWrap.d.ts +9 -0
- package/menu/OverflowWrap.js +69 -90
- package/menu/context.d.ts +15 -0
- package/menu/context.js +7 -6
- package/menu/index.d.ts +9 -0
- package/menu/index.js +18 -16
- package/menu/interface.d.ts +222 -0
- package/menu/sub-menu/Inline.d.ts +5 -0
- package/menu/sub-menu/Inline.js +84 -113
- package/menu/sub-menu/Pop.d.ts +5 -0
- package/menu/sub-menu/Pop.js +84 -121
- package/menu/sub-menu/index.d.ts +5 -0
- package/menu/sub-menu/index.js +22 -18
- package/menu/utils.js +74 -80
- package/message/Message.d.ts +20 -0
- package/message/Message.js +127 -167
- package/message/index.js +8 -7
- package/message/useMessage.d.ts +5 -0
- package/message/useMessage.js +51 -113
- package/modal/Confirm.d.ts +15 -0
- package/modal/Confirm.js +102 -112
- package/modal/Modal.d.ts +19 -0
- package/modal/Modal.js +301 -400
- package/modal/config.d.ts +9 -0
- package/modal/config.js +16 -24
- package/modal/index.d.ts +6 -0
- package/modal/index.js +8 -7
- package/modal/interface.d.ts +191 -0
- package/modal/use-modal/Hook.d.ts +7 -0
- package/modal/use-modal/Hook.js +46 -52
- package/modal/use-modal/index.d.ts +4 -0
- package/modal/use-modal/index.js +61 -71
- package/notice/Notice.d.ts +4 -0
- package/notice/Notice.js +151 -171
- package/notice/index.d.ts +4 -0
- package/notice/index.js +7 -5
- package/notification/Notification.d.ts +22 -0
- package/notification/Notification.js +132 -161
- package/notification/index.js +7 -6
- package/notification/interface.d.ts +85 -0
- package/notification/useNotification.d.ts +5 -0
- package/notification/useNotification.js +42 -111
- package/notification/withNotification.js +46 -57
- package/overflow-ellipsis/OverflowEllipsis.d.ts +3 -0
- package/overflow-ellipsis/OverflowEllipsis.js +72 -0
- package/overflow-ellipsis/OverflowItem.js +22 -29
- package/overflow-ellipsis/index.d.ts +6 -0
- package/overflow-ellipsis/index.js +8 -80
- package/package.json +1 -1
- package/page-header/PageHeader.d.ts +6 -0
- package/page-header/PageHeader.js +108 -0
- package/page-header/index.d.ts +6 -0
- package/page-header/index.js +7 -163
- package/page-header/interface.d.ts +57 -0
- package/pagination/PageItem.d.ts +18 -0
- package/pagination/PageItem.js +71 -114
- package/pagination/PageJumper.d.ts +13 -0
- package/pagination/PageJumper.js +64 -58
- package/pagination/PageOption.d.ts +17 -0
- package/pagination/PageOption.js +59 -121
- package/pagination/Pagination.d.ts +11 -0
- package/pagination/Pagination.js +206 -249
- package/pagination/index.d.ts +5 -0
- package/pagination/index.js +6 -5
- package/pagination/interface.d.ts +179 -0
- package/pagination/interface.js +9 -5
- package/picker/Input.d.ts +3 -0
- package/picker/Input.js +92 -135
- package/picker/InputRange.d.ts +3 -0
- package/picker/InputRange.js +129 -167
- package/picker/index.d.ts +3 -0
- package/picker/index.js +8 -7
- package/picker/interface.d.ts +57 -0
- package/popconfirm/Popconfirm.d.ts +6 -0
- package/popconfirm/Popconfirm.js +121 -0
- package/popconfirm/index.d.ts +6 -0
- package/popconfirm/index.js +7 -132
- package/popconfirm/interface.d.ts +109 -0
- package/popover/Popover.d.ts +6 -0
- package/popover/Popover.js +52 -73
- package/popover/index.d.ts +5 -0
- package/popover/index.js +6 -4
- package/popover/interface.d.ts +19 -0
- package/portal/Portal.d.ts +3 -0
- package/portal/Portal.js +21 -27
- package/portal/index.d.ts +4 -0
- package/portal/index.js +7 -5
- package/progress/CircleProgress.d.ts +8 -0
- package/progress/CircleProgress.js +101 -116
- package/progress/LineProgess.js +72 -92
- package/progress/Progress.d.ts +4 -0
- package/progress/Progress.js +82 -0
- package/progress/StepProgress.js +50 -65
- package/progress/index.d.ts +19 -0
- package/progress/index.js +15 -117
- package/progress/interface.d.ts +85 -0
- package/qr-code/QRCode.d.ts +3 -0
- package/qr-code/QRCode.js +49 -77
- package/qr-code/index.d.ts +6 -0
- package/qr-code/index.js +8 -7
- package/qr-code/interface.d.ts +132 -0
- package/qr-code/src/index.d.ts +4 -0
- package/qr-code/src/index.js +195 -257
- package/qr-code/src/qrcodegen.d.ts +66 -0
- package/qr-code/src/qrcodegen.js +664 -669
- package/radio/Group.d.ts +8 -0
- package/radio/Group.js +81 -122
- package/radio/GroupBlock.d.ts +7 -0
- package/radio/GroupBlock.js +62 -117
- package/radio/Radio.d.ts +5 -0
- package/radio/Radio.js +74 -118
- package/radio/context.d.ts +2 -0
- package/radio/context.js +6 -0
- package/radio/index.d.ts +13 -0
- package/radio/index.js +15 -11
- package/radio/interface.d.ts +102 -0
- package/rate/Rate.d.ts +5 -0
- package/rate/Rate.js +98 -0
- package/rate/index.d.ts +4 -0
- package/rate/index.js +7 -135
- package/rate/interface.d.ts +66 -0
- package/resize-box/ResizeBox.d.ts +13 -0
- package/resize-box/ResizeBox.js +143 -0
- package/resize-box/ResizeTrigger.js +55 -71
- package/resize-box/Split.d.ts +4 -0
- package/resize-box/Split.js +95 -132
- package/resize-box/SplitGroup.d.ts +4 -0
- package/resize-box/SplitGroup.js +145 -197
- package/resize-box/index.d.ts +15 -0
- package/resize-box/index.js +12 -181
- package/result/403.js +720 -695
- package/result/404.js +508 -513
- package/result/500.js +176 -166
- package/result/Result.d.ts +6 -0
- package/result/Result.js +71 -0
- package/result/index.d.ts +6 -0
- package/result/index.js +7 -79
- package/rich-text/RichText.d.ts +8 -0
- package/rich-text/RichText.js +322 -454
- package/rich-text/Toolbar.js +555 -702
- package/rich-text/constant.d.ts +1 -0
- package/rich-text/constant.js +7 -6
- package/rich-text/index.d.ts +11 -0
- package/rich-text/index.js +19 -25
- package/rich-text/lib/blots/block.js +113 -127
- package/rich-text/lib/blots/break.js +19 -28
- package/rich-text/lib/blots/container.js +8 -15
- package/rich-text/lib/blots/cursor.js +95 -122
- package/rich-text/lib/blots/embed.js +46 -57
- package/rich-text/lib/blots/inline.js +49 -54
- package/rich-text/lib/blots/scroll.d.ts +43 -0
- package/rich-text/lib/blots/scroll.js +246 -277
- package/rich-text/lib/blots/text.js +15 -24
- package/rich-text/lib/core/composition.d.ts +9 -0
- package/rich-text/lib/core/composition.js +36 -40
- package/rich-text/lib/core/editor.js +241 -280
- package/rich-text/lib/core/emitter.js +46 -44
- package/rich-text/lib/core/logger.js +18 -17
- package/rich-text/lib/core/module.js +13 -13
- package/rich-text/lib/core/rich.d.ts +183 -0
- package/rich-text/lib/core/rich.js +359 -471
- package/rich-text/lib/core/selection.d.ts +71 -0
- package/rich-text/lib/core/selection.js +221 -278
- package/rich-text/lib/core/theme.js +31 -36
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +28 -32
- package/rich-text/lib/core/utils/scrollRectIntoView.js +58 -68
- package/rich-text/lib/delta/AttributeMap.js +32 -39
- package/rich-text/lib/delta/Op.js +9 -8
- package/rich-text/lib/delta/OpIterator.js +44 -50
- package/rich-text/lib/delta/index.d.ts +53 -0
- package/rich-text/lib/delta/index.js +234 -314
- package/rich-text/lib/diff/index.js +266 -364
- package/rich-text/lib/formats/align.js +20 -28
- package/rich-text/lib/formats/background.js +11 -28
- package/rich-text/lib/formats/blockquote.js +15 -14
- package/rich-text/lib/formats/bold.js +23 -22
- package/rich-text/lib/formats/code.js +37 -51
- package/rich-text/lib/formats/color.js +16 -36
- package/rich-text/lib/formats/direction.js +15 -28
- package/rich-text/lib/formats/emoji.js +19 -18
- package/rich-text/lib/formats/font.js +51 -67
- package/rich-text/lib/formats/formula.js +33 -32
- package/rich-text/lib/formats/header.js +24 -25
- package/rich-text/lib/formats/hr.js +16 -21
- package/rich-text/lib/formats/image.js +45 -47
- package/rich-text/lib/formats/indent.js +38 -41
- package/rich-text/lib/formats/italic.js +15 -14
- package/rich-text/lib/formats/lineHeight.js +11 -21
- package/rich-text/lib/formats/link.js +46 -40
- package/rich-text/lib/formats/list.js +35 -42
- package/rich-text/lib/formats/script.js +21 -22
- package/rich-text/lib/formats/size.js +26 -32
- package/rich-text/lib/formats/strike.js +15 -14
- package/rich-text/lib/formats/table.js +133 -144
- package/rich-text/lib/formats/underline.js +13 -12
- package/rich-text/lib/formats/video.js +39 -42
- package/rich-text/lib/index.js +113 -121
- package/rich-text/lib/modules/clipboard.d.ts +44 -0
- package/rich-text/lib/modules/clipboard.js +281 -374
- package/rich-text/lib/modules/history.d.ts +38 -0
- package/rich-text/lib/modules/history.js +115 -113
- package/rich-text/lib/modules/image-resize/index.js +78 -81
- package/rich-text/lib/modules/image-resize/modules/Base.js +13 -43
- package/rich-text/lib/modules/image-resize/modules/DisplaySize.js +40 -49
- package/rich-text/lib/modules/image-resize/modules/Resize.js +61 -52
- package/rich-text/lib/modules/image-resize/options.js +10 -9
- package/rich-text/lib/modules/input.d.ts +8 -0
- package/rich-text/lib/modules/input.js +53 -61
- package/rich-text/lib/modules/keyboard.d.ts +60 -0
- package/rich-text/lib/modules/keyboard.js +415 -508
- package/rich-text/lib/modules/normalizeExternalHTML/index.js +10 -9
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +20 -17
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +37 -41
- package/rich-text/lib/modules/table.d.ts +22 -0
- package/rich-text/lib/modules/table.js +112 -102
- package/rich-text/lib/modules/toolbar.js +15 -13
- package/rich-text/lib/modules/uiNode.d.ts +11 -0
- package/rich-text/lib/modules/uiNode.js +51 -72
- package/rich-text/lib/modules/uploader.d.ts +17 -0
- package/rich-text/lib/modules/uploader.js +44 -46
- package/rich-text/lib/parchment/attributor/attributor.js +29 -31
- package/rich-text/lib/parchment/attributor/class.js +24 -23
- package/rich-text/lib/parchment/attributor/store.d.ts +14 -0
- package/rich-text/lib/parchment/attributor/store.js +43 -44
- package/rich-text/lib/parchment/attributor/style.js +23 -22
- package/rich-text/lib/parchment/blot/abstract/container.js +30 -28
- package/rich-text/lib/parchment/blot/abstract/leaf.js +24 -43
- package/rich-text/lib/parchment/blot/abstract/parent.js +154 -173
- package/rich-text/lib/parchment/blot/abstract/shadow.js +76 -81
- package/rich-text/lib/parchment/blot/block.js +70 -75
- package/rich-text/lib/parchment/blot/embed.js +17 -17
- package/rich-text/lib/parchment/blot/inline.js +72 -78
- package/rich-text/lib/parchment/blot/scroll.d.ts +35 -0
- package/rich-text/lib/parchment/blot/scroll.js +99 -103
- package/rich-text/lib/parchment/blot/text.js +55 -56
- package/rich-text/lib/parchment/collection/linked-list.js +85 -105
- package/rich-text/lib/parchment/error.js +9 -8
- package/rich-text/lib/parchment/index.js +36 -31
- package/rich-text/lib/parchment/registry.d.ts +18 -0
- package/rich-text/lib/parchment/registry.js +55 -57
- package/rich-text/lib/parchment/scope.js +8 -5
- package/row-col/Col-.js +63 -85
- package/row-col/Col.js +135 -142
- package/row-col/Row.js +57 -79
- package/row-col/context.js +7 -6
- package/row-col/index.d.ts +14 -0
- package/row-col/index.js +12 -13
- package/segmented/Segmented.js +210 -0
- package/segmented/index.d.ts +4 -0
- package/segmented/index.js +7 -272
- package/segmented/interface.d.ts +123 -0
- package/select/Option.d.ts +7 -0
- package/select/Option.js +69 -97
- package/select/OptionGroup.d.ts +7 -0
- package/select/OptionGroup.js +22 -22
- package/select/Select.d.ts +11 -0
- package/select/Select.js +400 -555
- package/select/index.d.ts +16 -0
- package/select/index.js +12 -9
- package/select/interface.d.ts +295 -0
- package/select/utils.d.ts +26 -0
- package/select/utils.js +93 -114
- package/select-view/Core.js +308 -411
- package/select-view/SelectView.js +60 -0
- package/select-view/index.d.ts +3 -0
- package/select-view/index.js +7 -75
- package/select-view/interface.d.ts +148 -0
- package/skeleton/Image.d.ts +3 -0
- package/skeleton/Image.js +17 -24
- package/skeleton/Skeleton.d.ts +7 -0
- package/skeleton/Skeleton.js +62 -0
- package/skeleton/Text.d.ts +4 -0
- package/skeleton/Text.js +23 -27
- package/skeleton/index.d.ts +11 -0
- package/skeleton/index.js +12 -60
- package/slider/Button.d.ts +21 -0
- package/slider/Button.js +120 -151
- package/slider/Dot.d.ts +17 -0
- package/slider/Dot.js +26 -43
- package/slider/Input.d.ts +16 -0
- package/slider/Input.js +56 -79
- package/slider/Mark.d.ts +16 -0
- package/slider/Mark.js +26 -28
- package/slider/Slider.d.ts +5 -0
- package/slider/Slider.js +247 -0
- package/slider/Tick.d.ts +14 -0
- package/slider/Tick.js +31 -41
- package/slider/hook/useInterval.d.ts +24 -0
- package/slider/hook/useInterval.js +92 -71
- package/slider/hook/useLegalValue.d.ts +16 -0
- package/slider/hook/useLegalValue.js +56 -65
- package/slider/index.js +18 -318
- package/slider/interface.d.ts +119 -0
- package/slider/utils.d.ts +11 -0
- package/slider/utils.js +50 -64
- package/space/Space.d.ts +5 -0
- package/space/Space.js +46 -0
- package/space/index.d.ts +8 -0
- package/space/index.js +7 -58
- package/space/interface.d.ts +10 -0
- package/speech-synthesis/SpeechSynthesis.d.ts +3 -0
- package/speech-synthesis/SpeechSynthesis.js +15 -0
- package/speech-synthesis/index.d.ts +4 -0
- package/speech-synthesis/index.js +7 -13
- package/speech-synthesis/interface.d.ts +7 -0
- package/spin/DotLoading.js +32 -25
- package/spin/Spin.d.ts +5 -0
- package/spin/Spin.js +78 -0
- package/spin/index.d.ts +7 -0
- package/spin/index.js +8 -113
- package/splitter/Panel.js +23 -40
- package/splitter/SplitBar.js +96 -157
- package/splitter/Splitter.js +86 -140
- package/splitter/hooks/useItems.js +23 -26
- package/splitter/hooks/useResizable.js +22 -17
- package/splitter/hooks/useResize.js +53 -69
- package/splitter/hooks/useSizes.js +56 -59
- package/splitter/index.d.ts +7 -0
- package/splitter/index.js +8 -9
- package/statistic/Statistic.d.ts +8 -0
- package/statistic/Statistic.js +108 -0
- package/statistic/index.d.ts +10 -0
- package/statistic/index.js +8 -124
- package/statistic/interface.js +8 -5
- package/steps/Step.d.ts +4 -0
- package/steps/Step.js +61 -68
- package/steps/Steps.d.ts +10 -0
- package/steps/Steps.js +62 -0
- package/steps/index.d.ts +12 -0
- package/steps/index.js +11 -97
- package/style.css +2 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +7 -0
- package/suspense-fallback-test/index.d.ts +2 -0
- package/suspense-fallback-test/index.js +7 -6
- package/suspense-fallback-test/interface.d.ts +2 -0
- package/switch/Switch.d.ts +11 -0
- package/switch/Switch.js +75 -0
- package/switch/index.d.ts +8 -0
- package/switch/index.js +7 -103
- package/switch/interface.d.ts +66 -0
- package/table/ColGroup.d.ts +13 -0
- package/table/ColGroup.js +46 -68
- package/table/Table.d.ts +10 -0
- package/table/Table.js +501 -661
- package/table/constant.d.ts +5 -0
- package/table/constant.js +35 -42
- package/table/context.js +7 -10
- package/table/hook/useColumns.d.ts +3 -0
- package/table/hook/useColumns.js +112 -140
- package/table/hook/useComponent.d.ts +31 -0
- package/table/hook/useComponent.js +25 -24
- package/table/hook/useExpand.d.ts +4 -0
- package/table/hook/useExpand.js +32 -44
- package/table/hook/useRowSelection.d.ts +13 -0
- package/table/hook/useRowSelection.js +71 -93
- package/table/hook/useSorter.d.ts +8 -0
- package/table/hook/useSorter.js +50 -57
- package/table/hook/useStickyClassNames.d.ts +3 -0
- package/table/hook/useStickyClassNames.js +23 -30
- package/table/hook/useStickyOffsets.d.ts +3 -0
- package/table/hook/useStickyOffsets.js +27 -28
- package/table/hook/useThResizable.js +35 -36
- package/table/index.js +40 -39
- package/table/interface.d.ts +729 -0
- package/table/summary/Cell.js +20 -10
- package/table/summary/Row.js +29 -24
- package/table/summary/context.d.ts +9 -0
- package/table/summary/context.js +7 -6
- package/table/summary/index.d.ts +11 -0
- package/table/summary/index.js +11 -12
- package/table/tbody/DataRecordRenderer.d.ts +11 -0
- package/table/tbody/DataRecordRenderer.js +58 -0
- package/table/tbody/Td.d.ts +4 -0
- package/table/tbody/Td.js +145 -213
- package/table/tbody/Tr.d.ts +9 -0
- package/table/tbody/Tr.js +153 -196
- package/table/tbody/index.d.ts +3 -0
- package/table/tbody/index.js +81 -177
- package/table/tfoot/index.d.ts +3 -0
- package/table/tfoot/index.js +26 -17
- package/table/th-resizable/index.js +49 -56
- package/table/thead/Column.d.ts +3 -0
- package/table/thead/Column.js +193 -261
- package/table/thead/index.d.ts +3 -0
- package/table/thead/index.js +91 -131
- package/table/utils.d.ts +16 -0
- package/table/utils.js +71 -107
- package/tabs/TabContent.d.ts +3 -0
- package/tabs/TabContent.js +36 -51
- package/tabs/TabPane.d.ts +4 -0
- package/tabs/TabPane.js +27 -33
- package/tabs/Tabs.d.ts +11 -0
- package/tabs/Tabs.js +137 -185
- package/tabs/context.js +7 -7
- package/tabs/hook/useDomSize.d.ts +12 -0
- package/tabs/hook/useDomSize.js +22 -17
- package/tabs/hook/useHeaderScroll.d.ts +12 -0
- package/tabs/hook/useHeaderScroll.js +73 -58
- package/tabs/index.d.ts +25 -0
- package/tabs/index.js +14 -14
- package/tabs/interface.d.ts +228 -0
- package/tabs/tab-header/DropdownIcon.js +65 -73
- package/tabs/tab-header/TabInk.js +58 -65
- package/tabs/tab-header/TabNavIcon.d.ts +17 -0
- package/tabs/tab-header/TabNavIcon.js +61 -66
- package/tabs/tab-header/TabTitle.js +59 -80
- package/tabs/tab-header/index.d.ts +4 -0
- package/tabs/tab-header/index.js +250 -320
- package/tabs/utils.js +20 -23
- package/tag/Tag.d.ts +4 -0
- package/tag/Tag.js +101 -0
- package/tag/index.d.ts +6 -0
- package/tag/index.js +8 -152
- package/tag/interface.d.ts +70 -0
- package/tag/utils.d.ts +1 -0
- package/tag/utils.js +19 -0
- package/time-picker/Picker.d.ts +3 -0
- package/time-picker/Picker.js +173 -231
- package/time-picker/TimeColumn.js +46 -59
- package/time-picker/TimePicker.d.ts +3 -0
- package/time-picker/TimePicker.js +160 -241
- package/time-picker/TimePickerRange.d.ts +3 -0
- package/time-picker/TimePickerRange.js +45 -59
- package/time-picker/context.d.ts +6 -0
- package/time-picker/context.js +6 -10
- package/time-picker/index.d.ts +10 -0
- package/time-picker/index.js +24 -25
- package/time-picker/interface.d.ts +264 -0
- package/time-picker/utils.js +29 -23
- package/timeline/Item.d.ts +8 -0
- package/timeline/Item.js +70 -92
- package/timeline/Timeline.d.ts +11 -0
- package/timeline/Timeline.js +54 -79
- package/timeline/index.d.ts +13 -0
- package/timeline/index.js +8 -7
- package/timer/Timer.js +28 -0
- package/timer/index.d.ts +2 -0
- package/timer/index.js +7 -39
- package/timer/interface.d.ts +6 -0
- package/tooltip/Tooltip.d.ts +6 -0
- package/tooltip/Tooltip.js +103 -133
- package/tooltip/index.d.ts +5 -0
- package/tooltip/index.js +7 -5
- package/tooltip/interface.d.ts +95 -0
- package/tour/Tour.js +211 -0
- package/tour/index.d.ts +4 -0
- package/tour/index.js +7 -287
- package/transfer/Item.d.ts +3 -0
- package/transfer/Item.js +76 -113
- package/transfer/List.d.ts +5 -0
- package/transfer/List.js +164 -213
- package/transfer/Transfer.d.ts +5 -0
- package/transfer/Transfer.js +139 -0
- package/transfer/index.d.ts +4 -0
- package/transfer/index.js +7 -192
- package/transfer/interface.d.ts +219 -0
- package/tree/Animation.d.ts +4 -0
- package/tree/Animation.js +103 -101
- package/tree/Context.d.ts +28 -0
- package/tree/Context2.js +7 -0
- package/tree/Node.d.ts +10 -0
- package/tree/Node.js +194 -208
- package/tree/NodeList.js +74 -83
- package/tree/Tree.d.ts +11 -0
- package/tree/Tree.js +425 -540
- package/tree/context.js +7 -6
- package/tree/index.js +20 -9
- package/tree/interface.d.ts +371 -0
- package/tree/utils.d.ts +15 -0
- package/tree/utils.js +62 -72
- package/tree-select/List.d.ts +11 -0
- package/tree-select/List.js +113 -122
- package/tree-select/TreeSelect.d.ts +13 -0
- package/tree-select/TreeSelect.js +213 -0
- package/tree-select/hook/useKeyCache.d.ts +6 -0
- package/tree-select/hook/useKeyCache.js +49 -55
- package/tree-select/hook/useStateValue.d.ts +19 -0
- package/tree-select/hook/useStateValue.js +69 -93
- package/tree-select/hook/useTreeData.d.ts +4 -0
- package/tree-select/hook/useTreeData.js +14 -13
- package/tree-select/index.d.ts +17 -0
- package/tree-select/index.js +14 -7
- package/tree-select/interface.d.ts +196 -0
- package/tree-select/interface.js +15 -13
- package/tree-select/utils.js +9 -8
- package/trigger/Trigger.d.ts +9 -0
- package/trigger/Trigger.js +494 -0
- package/trigger/getPopupStyle.d.ts +14 -0
- package/trigger/getPopupStyle.js +166 -213
- package/trigger/index.d.ts +6 -0
- package/trigger/index.js +8 -622
- package/trigger/interface.d.ts +258 -0
- package/trigger/utils.d.ts +1 -0
- package/trigger/utils.js +15 -0
- package/typography/Base.d.ts +8 -0
- package/typography/Base.js +139 -189
- package/typography/EditContent.d.ts +4 -0
- package/typography/EditContent.js +53 -58
- package/typography/Ellipsis.d.ts +6 -0
- package/typography/Ellipsis.js +140 -174
- package/typography/Operations.d.ts +4 -0
- package/typography/Operations.js +49 -76
- package/typography/Paragraph.d.ts +3 -0
- package/typography/Paragraph.js +21 -25
- package/typography/Text.js +16 -11
- package/typography/Title.d.ts +3 -0
- package/typography/Title.js +18 -12
- package/typography/Typography.d.ts +3 -0
- package/typography/Typography.js +22 -18
- package/typography/index.d.ts +23 -0
- package/typography/index.js +22 -16
- package/typography/interface.d.ts +277 -0
- package/typography/useCssEllipsis.d.ts +6 -0
- package/typography/useCssEllipsis.js +40 -37
- package/typography/useEllipsis.d.ts +21 -0
- package/typography/useEllipsis.js +148 -148
- package/upload/TriggerNode.d.ts +6 -0
- package/upload/TriggerNode.js +86 -114
- package/upload/Upload.d.ts +7 -0
- package/upload/Upload.js +157 -234
- package/upload/Uploader.d.ts +15 -0
- package/upload/Uploader.js +158 -208
- package/upload/constant.d.ts +4 -0
- package/upload/constant.js +10 -9
- package/upload/index.d.ts +26 -0
- package/upload/index.js +16 -9
- package/upload/interface.d.ts +336 -0
- package/upload/list/PictureItem.d.ts +8 -0
- package/upload/list/PictureItem.js +109 -117
- package/upload/list/TextItem.d.ts +8 -0
- package/upload/list/TextItem.js +114 -121
- package/upload/list/UploadProgress.d.ts +14 -0
- package/upload/list/UploadProgress.js +86 -90
- package/upload/list/index.d.ts +6 -0
- package/upload/list/index.js +70 -104
- package/upload/list/utils.d.ts +2 -0
- package/upload/list/utils.js +32 -18
- package/upload/request.d.ts +3 -0
- package/upload/request.js +33 -49
- package/upload/utils.d.ts +4 -0
- package/upload/utils.js +50 -59
- package/utils/callOrReturn.js +4 -6
- package/utils/callbackOriginRef.js +7 -7
- package/utils/caseName.js +7 -7
- package/utils/className.js +7 -8
- package/utils/constant.d.ts +4 -0
- package/utils/constant.js +20 -23
- package/utils/contextHolder.d.ts +10 -0
- package/utils/contextHolder.js +26 -28
- package/utils/copy.js +7 -8
- package/utils/date.js +4 -8
- package/utils/dayjs.js +125 -164
- package/utils/dom.js +4 -14
- package/utils/emitter.js +7 -12
- package/utils/fileRead.js +4 -6
- package/utils/fileToDataURL.js +4 -6
- package/utils/fillNBSP.js +7 -7
- package/utils/findRootElement.js +7 -7
- package/utils/findScrollParent.js +7 -6
- package/utils/getHighlightText.js +7 -7
- package/utils/getHotkeyHandler.d.ts +5 -0
- package/utils/getHotkeyHandler.js +7 -7
- package/utils/getStringLength.js +7 -7
- package/utils/include.js +7 -7
- package/utils/index.js +337 -332
- package/utils/intersectionObserver.js +7 -6
- package/utils/is.d.ts +1 -0
- package/utils/is.js +107 -97
- package/utils/keyboardCode.js +8 -30
- package/utils/lodash.js +5 -64
- package/utils/math.js +4 -10
- package/utils/mergeProps.js +7 -7
- package/utils/mergedToString.js +7 -7
- package/utils/mutationObserver.js +7 -6
- package/utils/names.d.ts +1023 -0
- package/utils/names.js +1030 -1035
- package/utils/omit.js +7 -7
- package/utils/pad.js +4 -6
- package/utils/pick.js +7 -8
- package/utils/pinyin.js +4 -6
- package/utils/react19Adapter.js +2 -1
- package/utils/ref.js +4 -11
- package/utils/resizeObserver.js +7 -6
- package/utils/responsiveObserve.js +64 -79
- package/utils/saveAs.js +7 -7
- package/utils/screenfull.js +7 -7
- package/utils/scrollIntoViewIfNeeded.js +7 -7
- package/utils/setCreateRoot.js +7 -7
- package/utils/setDarkTheme.js +18 -16
- package/utils/setPrimaryColor.js +12 -9
- package/utils/setTheme.js +11 -8
- package/utils/string.js +4 -6
- package/utils/style.js +4 -7
- package/utils/throttleByRaf.js +4 -6
- package/utils/throttleByRaf2.js +4 -6
- package/utils/toArray.js +7 -7
- package/utils/tree.js +4 -12
- package/utils/tween.js +4 -7
- package/utils/uuid.js +4 -7
- package/utils/validate.d.ts +2 -0
- package/utils/validate.js +4 -16
- package/utils/warning.js +4 -6
- package/verification-code/VerificationCode.d.ts +4 -0
- package/verification-code/VerificationCode.js +74 -105
- package/verification-code/index.d.ts +8 -0
- package/verification-code/index.js +8 -7
- package/verification-code/interface.d.ts +74 -0
- package/version/index.d.ts +5 -0
- package/version/index.js +30 -8
- package/virtual-list/Filler.js +36 -31
- package/virtual-list/VirtualList.js +296 -368
- package/virtual-list/constant.js +7 -7
- package/virtual-list/hook/useCacheChildrenNodes.d.ts +4 -0
- package/virtual-list/hook/useCacheChildrenNodes.js +11 -10
- package/virtual-list/hook/useComputeVirtualItemHeight.d.ts +3 -0
- package/virtual-list/hook/useComputeVirtualItemHeight.js +16 -18
- package/virtual-list/index.js +8 -5
- package/virtual-list/interface.d.ts +55 -0
- package/virtual-list/utils/algorithm.d.ts +23 -0
- package/virtual-list/utils/algorithm.js +32 -31
- package/virtual-list/utils/item.js +71 -91
- package/watermark/Watermark.d.ts +3 -0
- package/watermark/Watermark.js +57 -68
- package/watermark/index.d.ts +8 -0
- package/watermark/index.js +8 -7
- package/Affix.js +0 -5
- package/Alert.js +0 -5
- package/Anchor.js +0 -9
- package/App.js +0 -10
- package/AutoComplete.js +0 -7
- package/Avatar.js +0 -10
- package/BackTop.js +0 -5
- package/Badge.js +0 -9
- package/Breadcrumb.js +0 -9
- package/Button.js +0 -9
- package/Calendar.js +0 -21
- package/Card.js +0 -16
- package/Carousel.js +0 -18
- package/Cascader.js +0 -5
- package/Checkbox.js +0 -14
- package/Collapse.js +0 -9
- package/ColorPicker.js +0 -30
- package/Comment.js +0 -13
- package/ConfigProvider.js +0 -9
- package/Constant.js +0 -6
- package/Copy.js +0 -18
- package/Countdown.js +0 -16
- package/DatePicker.js +0 -23
- package/Descriptions.js +0 -66
- package/Details.js +0 -17
- package/Development.js +0 -11
- package/Divider.js +0 -12
- package/Draggable.js +0 -11
- package/Draw.js +0 -6
- package/Drawer.js +0 -5
- package/Dropdown.js +0 -21
- package/Empty.js +0 -11
- package/Flex.js +0 -13
- package/Form.js +0 -30
- package/GlobalProvider.js +0 -11
- package/Grid.js +0 -14
- package/Icon.js +0 -11
- package/IconHover.js +0 -11
- package/Image.js +0 -11
- package/Input.js +0 -20
- package/InputNumber.js +0 -25
- package/InputTag.js +0 -5
- package/Layout.js +0 -23
- package/Link.js +0 -13
- package/LiquidFill.js +0 -14
- package/List.js +0 -23
- package/Loading.js +0 -11
- package/Marquee.js +0 -214
- package/Mask.js +0 -5
- package/Masonry.js +0 -5
- package/Mentions.js +0 -17
- package/Menu.js +0 -16
- package/Message.js +0 -7
- package/Modal.js +0 -7
- package/Notice.js +0 -5
- package/Notification.js +0 -7
- package/OverflowEllipsis.js +0 -14
- package/PageHeader.js +0 -20
- package/Pagination.js +0 -7
- package/Picker.js +0 -7
- package/Popconfirm.js +0 -16
- package/Popover.js +0 -5
- package/Portal.js +0 -5
- package/Progress.js +0 -20
- package/QrCode.js +0 -7
- package/Radio.js +0 -11
- package/Rate.js +0 -20
- package/ResizeBox.js +0 -20
- package/Result.js +0 -18
- package/RichText.js +0 -25
- package/RowCol.js +0 -11
- package/Segmented.js +0 -14
- package/Select.js +0 -9
- package/SelectView.js +0 -12
- package/Skeleton.js +0 -15
- package/Slider.js +0 -26
- package/Space.js +0 -13
- package/SpeechSynthesis.js +0 -10
- package/Spin.js +0 -18
- package/Splitter.js +0 -8
- package/Statistic.js +0 -19
- package/Steps.js +0 -16
- package/SuspenseFallbackTest.js +0 -5
- package/Switch.js +0 -16
- package/Table.js +0 -38
- package/Tabs.js +0 -15
- package/Tag.js +0 -19
- package/TimePicker.js +0 -13
- package/Timeline.js +0 -7
- package/Timer.js +0 -12
- package/Tooltip.js +0 -5
- package/Tour.js +0 -23
- package/Transfer.js +0 -19
- package/Tree.js +0 -9
- package/TreeSelect.js +0 -7
- package/Trigger.js +0 -24
- package/Typography.js +0 -14
- package/Upload.js +0 -9
- package/VerificationCode.js +0 -7
- package/VirtualList.js +0 -5
- package/Watermark.js +0 -7
- package/calendar/Lunar.js +0 -71
- package/hooks/useBreakpoint.js +0 -8
- package/hooks/useComputedState.js +0 -5
- package/hooks/useCreate.js +0 -5
- package/hooks/useCreation.js +0 -5
- package/hooks/useEvent.js +0 -5
- package/hooks/useEventListener.js +0 -5
- package/hooks/useForceUpdate.js +0 -5
- package/hooks/useFullscreen.js +0 -5
- package/hooks/useId.js +0 -5
- package/hooks/useInView.js +0 -5
- package/hooks/useIntersectionObserver.js +0 -5
- package/hooks/useIntersectionObservers.js +0 -5
- package/hooks/useInterval.js +0 -5
- package/hooks/useIsFirstRender.js +0 -5
- package/hooks/useIsomorphicLayoutEffect.js +0 -5
- package/hooks/useKeyboardEvent.js +0 -5
- package/hooks/useLatest.js +0 -5
- package/hooks/useListenWindowResize.js +0 -5
- package/hooks/useMedia.js +0 -5
- package/hooks/useMergeProps.js +0 -5
- package/hooks/useMergeValue.js +0 -5
- package/hooks/useMove.js +0 -5
- package/hooks/useMutationObservers.js +0 -5
- package/hooks/useOnlineStatus.js +0 -5
- package/hooks/useOverflowHidden.js +0 -5
- package/hooks/useOverrideRef.js +0 -5
- package/hooks/usePersistCallback.js +0 -5
- package/hooks/usePrefersColorSchemeDark.js +0 -5
- package/hooks/usePrevious.js +0 -5
- package/hooks/useRefs.js +0 -6
- package/hooks/useResizeObserver.js +0 -5
- package/hooks/useResizeObservers.js +0 -5
- package/hooks/useResponsiveState.js +0 -11
- package/hooks/useSetState.js +0 -5
- package/hooks/useStateCallback.js +0 -5
- package/hooks/useStateWithPromise.js +0 -5
- package/hooks/useUpdateEffect.js +0 -5
- package/hooks/useUpdateLayoutEffect.js +0 -5
- package/hooks/useVerificationCode.js +0 -10
- package/hooks/useWatch.js +0 -5
- package/hooks/useWatermark.js +0 -11
- package/hooks/useWindowSize.js +0 -5
- package/icons/file.js +0 -11
- package/tree-select/Select.js +0 -262
- package/types/affix/Affix.d.ts +0 -10
- package/types/affix/index.d.ts +0 -3
- package/types/alert/Alert.d.ts +0 -5
- package/types/alert/index.d.ts +0 -3
- package/types/anchor/Anchor.d.ts +0 -12
- package/types/anchor/Link.d.ts +0 -6
- package/types/anchor/context.d.ts +0 -3
- package/types/anchor/index.d.ts +0 -4
- package/types/anchor/utils.d.ts +0 -5
- package/types/app/context.d.ts +0 -4
- package/types/app/useApp.d.ts +0 -3
- package/types/auto-complete/AutoComplete.d.ts +0 -17
- package/types/auto-complete/index.d.ts +0 -4
- package/types/auto-complete/interface.d.ts +0 -122
- package/types/avatar/Avatar.d.ts +0 -8
- package/types/avatar/Group.d.ts +0 -6
- package/types/avatar/context.d.ts +0 -3
- package/types/avatar/index.d.ts +0 -9
- package/types/avatar/interface.d.ts +0 -91
- package/types/back-top/BackTop.d.ts +0 -6
- package/types/back-top/index.d.ts +0 -3
- package/types/badge/Badge.d.ts +0 -11
- package/types/badge/index.d.ts +0 -4
- package/types/breadcrumb/Breadcrumb.d.ts +0 -10
- package/types/breadcrumb/Item.d.ts +0 -8
- package/types/breadcrumb/context.d.ts +0 -4
- package/types/breadcrumb/index.d.ts +0 -6
- package/types/breadcrumb/interface.d.ts +0 -79
- package/types/button/Button.d.ts +0 -19
- package/types/button/Group.d.ts +0 -5
- package/types/button/index.d.ts +0 -4
- package/types/button/interface.d.ts +0 -114
- package/types/calendar/Lunar.d.ts +0 -17
- package/types/calendar/Month.d.ts +0 -15
- package/types/calendar/Year.d.ts +0 -13
- package/types/calendar/index.d.ts +0 -7
- package/types/card/Grid.d.ts +0 -5
- package/types/card/Meta.d.ts +0 -5
- package/types/card/index.d.ts +0 -12
- package/types/carousel/Arrow.d.ts +0 -4
- package/types/carousel/Indicator.d.ts +0 -4
- package/types/carousel/index.d.ts +0 -5
- package/types/cascader/Cascader.d.ts +0 -17
- package/types/cascader/base/node.d.ts +0 -78
- package/types/cascader/base/store.d.ts +0 -44
- package/types/cascader/index.d.ts +0 -5
- package/types/cascader/interface.d.ts +0 -297
- package/types/cascader/panel/List.d.ts +0 -4
- package/types/cascader/panel/Option.d.ts +0 -23
- package/types/cascader/panel/Search.d.ts +0 -28
- package/types/cascader/utils.d.ts +0 -23
- package/types/checkbox/Checkbox.d.ts +0 -18
- package/types/checkbox/Group.d.ts +0 -9
- package/types/checkbox/GroupBlock.d.ts +0 -8
- package/types/checkbox/index.d.ts +0 -5
- package/types/checkbox/interface.d.ts +0 -102
- package/types/collapse/Collapse.d.ts +0 -13
- package/types/collapse/Item.d.ts +0 -8
- package/types/collapse/context.d.ts +0 -5
- package/types/collapse/index.d.ts +0 -5
- package/types/color-picker/ControlBar.d.ts +0 -18
- package/types/color-picker/InputAlpha.d.ts +0 -7
- package/types/color-picker/InputHex.d.ts +0 -11
- package/types/color-picker/InputRgb.d.ts +0 -10
- package/types/color-picker/Mode.d.ts +0 -7
- package/types/color-picker/Palette.d.ts +0 -7
- package/types/color-picker/Panel.d.ts +0 -30
- package/types/color-picker/colors.d.ts +0 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +0 -39
- package/types/color-picker/hooks/useControlBlock.d.ts +0 -18
- package/types/color-picker/index.d.ts +0 -12
- package/types/color-picker/interface.d.ts +0 -148
- package/types/color-picker/utils.d.ts +0 -28
- package/types/comment/index.d.ts +0 -6
- package/types/config-provider/ConfigProvider.d.ts +0 -11
- package/types/config-provider/context.d.ts +0 -5
- package/types/config-provider/index.d.ts +0 -4
- package/types/config-provider/interface.d.ts +0 -273
- package/types/constant/index.d.ts +0 -2
- package/types/copy/index.d.ts +0 -7
- package/types/countdown/index.d.ts +0 -4
- package/types/date-picker/DatePickerRange.d.ts +0 -3
- package/types/date-picker/Picker.d.ts +0 -4
- package/types/date-picker/context.d.ts +0 -6
- package/types/date-picker/index.d.ts +0 -11
- package/types/date-picker/interface.d.ts +0 -530
- package/types/date-picker/panel/Body.d.ts +0 -30
- package/types/date-picker/panel/Header.d.ts +0 -22
- package/types/date-picker/panel/Shortcut.d.ts +0 -3
- package/types/date-picker/panel/month/index.d.ts +0 -17
- package/types/date-picker/panel/quarter/index.d.ts +0 -17
- package/types/date-picker/panel/range/index.d.ts +0 -28
- package/types/date-picker/panel/week/index.d.ts +0 -16
- package/types/date-picker/panel/year/index.d.ts +0 -16
- package/types/date-picker/utils.d.ts +0 -11
- package/types/descriptions/index.d.ts +0 -4
- package/types/descriptions/interface.d.ts +0 -80
- package/types/details/index.d.ts +0 -5
- package/types/divider/index.d.ts +0 -10
- package/types/draggable/Item.d.ts +0 -3
- package/types/draggable/index.d.ts +0 -4
- package/types/draw/Draw.d.ts +0 -6
- package/types/draw/index.d.ts +0 -4
- package/types/drawer/Drawer.d.ts +0 -5
- package/types/drawer/index.d.ts +0 -3
- package/types/drawer/interface.d.ts +0 -175
- package/types/dropdown/Button.d.ts +0 -4
- package/types/dropdown/index.d.ts +0 -10
- package/types/dropdown/interface.d.ts +0 -100
- package/types/empty/index.d.ts +0 -4
- package/types/empty/interface.d.ts +0 -8
- package/types/flex/index.d.ts +0 -11
- package/types/flex/interface.d.ts +0 -9
- package/types/form/Control.d.ts +0 -65
- package/types/form/Form.d.ts +0 -6
- package/types/form/FormItem.d.ts +0 -7
- package/types/form/FormItemTip.d.ts +0 -3
- package/types/form/FormList.d.ts +0 -6
- package/types/form/FormProvider.d.ts +0 -5
- package/types/form/context.d.ts +0 -15
- package/types/form/hook/useForm.d.ts +0 -5
- package/types/form/hook/useFormContext.d.ts +0 -10
- package/types/form/hook/useFormState.d.ts +0 -3
- package/types/form/hook/useWatch.d.ts +0 -3
- package/types/form/index.d.ts +0 -32
- package/types/form/interface.d.ts +0 -552
- package/types/form/store.d.ts +0 -99
- package/types/form/utils.d.ts +0 -17
- package/types/global-provider/context.d.ts +0 -3
- package/types/global-provider/index.d.ts +0 -11
- package/types/grid/Item.d.ts +0 -4
- package/types/grid/index.d.ts +0 -11
- package/types/grid/interface.d.ts +0 -114
- package/types/grid/utils.d.ts +0 -2
- package/types/hooks/use-breakpoint/index.d.ts +0 -3
- package/types/hooks/use-verification-code/index.d.ts +0 -3
- package/types/hooks/use-watermark/index.d.ts +0 -3
- package/types/icon/Icon.d.ts +0 -8
- package/types/icon/index.d.ts +0 -2
- package/types/icon-hover/index.d.ts +0 -6
- package/types/icon-hover/interface.d.ts +0 -8
- package/types/icons/file/index.d.ts +0 -4
- package/types/icons/file/interface.d.ts +0 -7
- package/types/image/Image.d.ts +0 -14
- package/types/image/ImageFooter.d.ts +0 -13
- package/types/image/ImagePreview.d.ts +0 -7
- package/types/image/ImagePreviewGroup.d.ts +0 -11
- package/types/image/ImagePreviewToolbar.d.ts +0 -14
- package/types/image/TriggerForToolbar.d.ts +0 -10
- package/types/image/context.d.ts +0 -24
- package/types/image/index.d.ts +0 -4
- package/types/image/interface.d.ts +0 -257
- package/types/image/utils/getScale.d.ts +0 -13
- package/types/image/utils/hook/useShowFooter.d.ts +0 -8
- package/types/index.d.ts +0 -193
- package/types/input/Button.d.ts +0 -5
- package/types/input/Group.d.ts +0 -7
- package/types/input/Input.d.ts +0 -25
- package/types/input/InputElement.d.ts +0 -4
- package/types/input/Password.d.ts +0 -5
- package/types/input/Search.d.ts +0 -5
- package/types/input/Textarea.d.ts +0 -9
- package/types/input/index.d.ts +0 -8
- package/types/input/interface.d.ts +0 -318
- package/types/input/useComposition.d.ts +0 -18
- package/types/input-number/index.d.ts +0 -6
- package/types/input-number/interface.d.ts +0 -128
- package/types/input-tag/InputTag.d.ts +0 -7
- package/types/input-tag/index.d.ts +0 -3
- package/types/input-tag/interface.d.ts +0 -187
- package/types/layout/Content.d.ts +0 -3
- package/types/layout/Footer.d.ts +0 -3
- package/types/layout/Header.d.ts +0 -3
- package/types/layout/Sider.d.ts +0 -8
- package/types/layout/index.d.ts +0 -16
- package/types/layout/interface.d.ts +0 -123
- package/types/link/index.d.ts +0 -6
- package/types/list/Item.d.ts +0 -8
- package/types/list/Meta.d.ts +0 -4
- package/types/list/index.d.ts +0 -13
- package/types/list/interface.d.ts +0 -189
- package/types/locale/ar-EG.d.ts +0 -4
- package/types/locale/de-DE.d.ts +0 -4
- package/types/locale/es-ES.d.ts +0 -4
- package/types/locale/fr-FR.d.ts +0 -4
- package/types/locale/id-ID.d.ts +0 -4
- package/types/locale/it-IT.d.ts +0 -4
- package/types/locale/ja-JP.d.ts +0 -4
- package/types/locale/ko-KR.d.ts +0 -4
- package/types/locale/ms-MY.d.ts +0 -4
- package/types/locale/pt-BR.d.ts +0 -4
- package/types/locale/pt-PT.d.ts +0 -4
- package/types/locale/ru-RU.d.ts +0 -4
- package/types/locale/th-TH.d.ts +0 -4
- package/types/locale/tr-TR.d.ts +0 -4
- package/types/locale/vi-VN.d.ts +0 -4
- package/types/locale/zh-CN.d.ts +0 -4
- package/types/locale/zh-HK.d.ts +0 -4
- package/types/locale/zh-TW.d.ts +0 -4
- package/types/marquee/interface.d.ts +0 -95
- package/types/marquee-/index.d.ts +0 -8
- package/types/marquee-/interface.d.ts +0 -56
- package/types/mask/Mask.d.ts +0 -5
- package/types/mask/index.d.ts +0 -2
- package/types/masonry/hooks/useDelay.d.ts +0 -2
- package/types/masonry/hooks/useGutter.d.ts +0 -5
- package/types/masonry/index.d.ts +0 -2
- package/types/masonry/interface.d.ts +0 -43
- package/types/mentions/index.d.ts +0 -5
- package/types/mentions/interface.d.ts +0 -88
- package/types/mentions/utils.d.ts +0 -9
- package/types/menu/Item.d.ts +0 -6
- package/types/menu/ItemGroup.d.ts +0 -6
- package/types/menu/Menu.d.ts +0 -16
- package/types/menu/OverflowWrap.d.ts +0 -9
- package/types/menu/context.d.ts +0 -15
- package/types/menu/index.d.ts +0 -4
- package/types/menu/interface.d.ts +0 -222
- package/types/menu/sub-menu/Inline.d.ts +0 -5
- package/types/menu/sub-menu/Pop.d.ts +0 -5
- package/types/menu/sub-menu/index.d.ts +0 -6
- package/types/message/Message.d.ts +0 -20
- package/types/message/index.d.ts +0 -6
- package/types/message/useMessage.d.ts +0 -5
- package/types/modal/Confirm.d.ts +0 -15
- package/types/modal/Modal.d.ts +0 -20
- package/types/modal/config.d.ts +0 -9
- package/types/modal/index.d.ts +0 -4
- package/types/modal/interface.d.ts +0 -191
- package/types/modal/use-modal/Hook.d.ts +0 -7
- package/types/modal/use-modal/index.d.ts +0 -4
- package/types/notice/Notice.d.ts +0 -4
- package/types/notice/index.d.ts +0 -2
- package/types/notification/Notification.d.ts +0 -22
- package/types/notification/index.d.ts +0 -6
- package/types/notification/interface.d.ts +0 -84
- package/types/notification/useNotification.d.ts +0 -5
- package/types/overflow-ellipsis/index.d.ts +0 -5
- package/types/page-header/index.d.ts +0 -7
- package/types/page-header/interface.d.ts +0 -57
- package/types/pagination/PageItem.d.ts +0 -18
- package/types/pagination/PageJumper.d.ts +0 -13
- package/types/pagination/PageOption.d.ts +0 -17
- package/types/pagination/Pagination.d.ts +0 -11
- package/types/pagination/index.d.ts +0 -5
- package/types/pagination/interface.d.ts +0 -179
- package/types/picker/Input.d.ts +0 -3
- package/types/picker/InputRange.d.ts +0 -3
- package/types/picker/index.d.ts +0 -3
- package/types/picker/interface.d.ts +0 -57
- package/types/popconfirm/index.d.ts +0 -6
- package/types/popconfirm/interface.d.ts +0 -108
- package/types/popover/Popover.d.ts +0 -6
- package/types/popover/index.d.ts +0 -3
- package/types/popover/interface.d.ts +0 -19
- package/types/portal/Portal.d.ts +0 -4
- package/types/portal/index.d.ts +0 -4
- package/types/progress/CircleProgress.d.ts +0 -8
- package/types/progress/index.d.ts +0 -41
- package/types/progress/interface.d.ts +0 -85
- package/types/qr-code/QRCode.d.ts +0 -5
- package/types/qr-code/examples/demo.d.ts +0 -1
- package/types/qr-code/examples/download.d.ts +0 -2
- package/types/qr-code/examples/full.d.ts +0 -2
- package/types/qr-code/examples/image.d.ts +0 -2
- package/types/qr-code/index.d.ts +0 -4
- package/types/qr-code/interface.d.ts +0 -132
- package/types/qr-code/src/index.d.ts +0 -5
- package/types/qr-code/src/qrcodegen.d.ts +0 -95
- package/types/qr-code/src/qrcodegen2.d.ts +0 -325
- package/types/radio/Group.d.ts +0 -10
- package/types/radio/GroupBlock.d.ts +0 -7
- package/types/radio/Radio.d.ts +0 -14
- package/types/radio/index.d.ts +0 -6
- package/types/radio/interface.d.ts +0 -102
- package/types/rate/index.d.ts +0 -5
- package/types/rate/interface.d.ts +0 -66
- package/types/resize-box/Split.d.ts +0 -4
- package/types/resize-box/SplitGroup.d.ts +0 -4
- package/types/resize-box/index.d.ts +0 -14
- package/types/result/index.d.ts +0 -6
- package/types/rich-text/RichText.d.ts +0 -8
- package/types/rich-text/constant.d.ts +0 -1
- package/types/rich-text/index.d.ts +0 -6
- package/types/rich-text/lib/blots/scroll.d.ts +0 -44
- package/types/rich-text/lib/core/composition.d.ts +0 -16
- package/types/rich-text/lib/core/rich.d.ts +0 -185
- package/types/rich-text/lib/core/selection.d.ts +0 -74
- package/types/rich-text/lib/delta/index.d.ts +0 -54
- package/types/rich-text/lib/modules/clipboard.d.ts +0 -47
- package/types/rich-text/lib/modules/history.d.ts +0 -39
- package/types/rich-text/lib/modules/input.d.ts +0 -13
- package/types/rich-text/lib/modules/keyboard.d.ts +0 -60
- package/types/rich-text/lib/modules/table.d.ts +0 -22
- package/types/rich-text/lib/modules/uiNode.d.ts +0 -22
- package/types/rich-text/lib/modules/uploader.d.ts +0 -17
- package/types/rich-text/lib/parchment/attributor/store.d.ts +0 -15
- package/types/rich-text/lib/parchment/blot/scroll.d.ts +0 -34
- package/types/rich-text/lib/parchment/registry.d.ts +0 -21
- package/types/row-col/index.d.ts +0 -8
- package/types/segmented/interface.d.ts +0 -123
- package/types/select/Option.d.ts +0 -7
- package/types/select/OptionGroup.d.ts +0 -7
- package/types/select/Select.d.ts +0 -12
- package/types/select/index.d.ts +0 -4
- package/types/select/interface.d.ts +0 -295
- package/types/select/utils.d.ts +0 -25
- package/types/select-view/interface.d.ts +0 -148
- package/types/skeleton/Image.d.ts +0 -3
- package/types/skeleton/Text.d.ts +0 -4
- package/types/skeleton/index.d.ts +0 -7
- package/types/slider/Button.d.ts +0 -21
- package/types/slider/Dot.d.ts +0 -17
- package/types/slider/Input.d.ts +0 -16
- package/types/slider/Mark.d.ts +0 -16
- package/types/slider/Tick.d.ts +0 -14
- package/types/slider/hook/useInterval.d.ts +0 -24
- package/types/slider/hook/useLegalValue.d.ts +0 -16
- package/types/slider/index.d.ts +0 -5
- package/types/slider/interface.d.ts +0 -119
- package/types/slider/utils.d.ts +0 -11
- package/types/space/index.d.ts +0 -7
- package/types/space/interface.d.ts +0 -10
- package/types/speech-synthesis/index.d.ts +0 -3
- package/types/speech-synthesis/interface.d.ts +0 -7
- package/types/speech-synthesis/style/index.d.ts +0 -1
- package/types/spin/index.d.ts +0 -5
- package/types/splitter/index.d.ts +0 -9
- package/types/statistic/index.d.ts +0 -9
- package/types/steps/Step.d.ts +0 -4
- package/types/steps/index.d.ts +0 -11
- package/types/suspense-fallback-test/interface.d.ts +0 -2
- package/types/switch/index.d.ts +0 -11
- package/types/switch/interface.d.ts +0 -66
- package/types/table/ColGroup.d.ts +0 -13
- package/types/table/Table.d.ts +0 -10
- package/types/table/constant.d.ts +0 -4
- package/types/table/hook/useColumns.d.ts +0 -3
- package/types/table/hook/useComponent.d.ts +0 -31
- package/types/table/hook/useExpand.d.ts +0 -4
- package/types/table/hook/useRowSelection.d.ts +0 -13
- package/types/table/hook/useSorter.d.ts +0 -8
- package/types/table/hook/useStickyClassNames.d.ts +0 -3
- package/types/table/hook/useStickyOffsets.d.ts +0 -3
- package/types/table/index.d.ts +0 -19
- package/types/table/interface.d.ts +0 -729
- package/types/table/summary/context.d.ts +0 -9
- package/types/table/summary/index.d.ts +0 -11
- package/types/table/tbody/Td.d.ts +0 -5
- package/types/table/tbody/Tr.d.ts +0 -9
- package/types/table/tbody/index.d.ts +0 -4
- package/types/table/tfoot/index.d.ts +0 -3
- package/types/table/thead/Column.d.ts +0 -3
- package/types/table/thead/index.d.ts +0 -3
- package/types/table/utils.d.ts +0 -17
- package/types/tabs/TabContent.d.ts +0 -3
- package/types/tabs/TabPane.d.ts +0 -5
- package/types/tabs/Tabs.d.ts +0 -13
- package/types/tabs/hook/useDomSize.d.ts +0 -12
- package/types/tabs/hook/useHeaderScroll.d.ts +0 -10
- package/types/tabs/index.d.ts +0 -7
- package/types/tabs/interface.d.ts +0 -228
- package/types/tabs/tab-header/TabNavIcon.d.ts +0 -17
- package/types/tabs/tab-header/index.d.ts +0 -4
- package/types/tag/index.d.ts +0 -6
- package/types/tag/interface.d.ts +0 -70
- package/types/time-picker/Picker.d.ts +0 -3
- package/types/time-picker/TimePicker.d.ts +0 -3
- package/types/time-picker/TimePickerRange.d.ts +0 -3
- package/types/time-picker/context.d.ts +0 -6
- package/types/time-picker/index.d.ts +0 -10
- package/types/time-picker/interface.d.ts +0 -264
- package/types/timeline/Item.d.ts +0 -8
- package/types/timeline/Timeline.d.ts +0 -12
- package/types/timeline/index.d.ts +0 -4
- package/types/timer/interface.d.ts +0 -6
- package/types/tooltip/Tooltip.d.ts +0 -6
- package/types/tooltip/index.d.ts +0 -3
- package/types/tooltip/interface.d.ts +0 -94
- package/types/transfer/Item.d.ts +0 -3
- package/types/transfer/List.d.ts +0 -5
- package/types/transfer/index.d.ts +0 -5
- package/types/transfer/interface.d.ts +0 -219
- package/types/tree/Animation.d.ts +0 -4
- package/types/tree/Context.d.ts +0 -28
- package/types/tree/Node.d.ts +0 -10
- package/types/tree/Tree.d.ts +0 -19
- package/types/tree/index.d.ts +0 -2
- package/types/tree/interface.d.ts +0 -371
- package/types/tree/utils.d.ts +0 -12
- package/types/tree-select/List.d.ts +0 -11
- package/types/tree-select/Select.d.ts +0 -14
- package/types/tree-select/hook/useKeyCache.d.ts +0 -6
- package/types/tree-select/hook/useStateValue.d.ts +0 -19
- package/types/tree-select/hook/useTreeData.d.ts +0 -4
- package/types/tree-select/index.d.ts +0 -4
- package/types/tree-select/interface.d.ts +0 -196
- package/types/trigger/getPopupStyle.d.ts +0 -14
- package/types/trigger/index.d.ts +0 -10
- package/types/trigger/interface.d.ts +0 -257
- package/types/typography/Base.d.ts +0 -8
- package/types/typography/EditContent.d.ts +0 -4
- package/types/typography/Ellipsis.d.ts +0 -6
- package/types/typography/Operations.d.ts +0 -4
- package/types/typography/Paragraph.d.ts +0 -3
- package/types/typography/Title.d.ts +0 -3
- package/types/typography/Typography.d.ts +0 -3
- package/types/typography/index.d.ts +0 -14
- package/types/typography/interface.d.ts +0 -277
- package/types/typography/useCssEllipsis.d.ts +0 -6
- package/types/typography/useEllipsis.d.ts +0 -21
- package/types/upload/TriggerNode.d.ts +0 -6
- package/types/upload/Upload.d.ts +0 -9
- package/types/upload/Uploader.d.ts +0 -15
- package/types/upload/constant.d.ts +0 -4
- package/types/upload/index.d.ts +0 -6
- package/types/upload/interface.d.ts +0 -336
- package/types/upload/list/PictureItem.d.ts +0 -8
- package/types/upload/list/TextItem.d.ts +0 -8
- package/types/upload/list/UploadProgress.d.ts +0 -14
- package/types/upload/list/index.d.ts +0 -6
- package/types/upload/list/utils.d.ts +0 -2
- package/types/upload/request.d.ts +0 -3
- package/types/upload/utils.d.ts +0 -4
- package/types/utils/constant.d.ts +0 -4
- package/types/utils/contextHolder.d.ts +0 -10
- package/types/utils/getHotkeyHandler.d.ts +0 -4
- package/types/utils/is.d.ts +0 -1
- package/types/utils/names.d.ts +0 -1029
- package/types/utils/validate.d.ts +0 -2
- package/types/verification-code/VerificationCode.d.ts +0 -10
- package/types/verification-code/index.d.ts +0 -6
- package/types/verification-code/interface.d.ts +0 -74
- package/types/version/index.d.ts +0 -4
- package/types/virtual-list/hook/useCacheChildrenNodes.d.ts +0 -4
- package/types/virtual-list/hook/useComputeVirtualItemHeight.d.ts +0 -3
- package/types/virtual-list/index.d.ts +0 -4
- package/types/virtual-list/interface.d.ts +0 -55
- package/types/virtual-list/utils/algorithm.d.ts +0 -23
- package/types/watermark/Watermark.d.ts +0 -5
- package/types/watermark/index.d.ts +0 -6
- /package/{types/affix → affix}/interface.d.ts +0 -0
- /package/{types/alert → alert}/interface.d.ts +0 -0
- /package/{types/anchor → anchor}/interface.d.ts +0 -0
- /package/{types/app → app}/App.d.ts +0 -0
- /package/{types/app → app}/index.d.ts +0 -0
- /package/{types/app → app}/interface.d.ts +0 -0
- /package/{types/back-top → back-top}/interface.d.ts +0 -0
- /package/{types/badge → badge}/Count.d.ts +0 -0
- /package/{types/badge → badge}/interface.d.ts +0 -0
- /package/{types/calendar → calendar}/WeekList.d.ts +0 -0
- /package/{types/calendar → calendar}/header/Panel.d.ts +0 -0
- /package/{types/calendar → calendar}/header/index.d.ts +0 -0
- /package/{types/calendar → calendar}/hook/useCellClassName.d.ts +0 -0
- /package/{types/calendar → calendar}/interface.d.ts +0 -0
- /package/{types/card → card}/interface.d.ts +0 -0
- /package/{types/carousel → carousel}/interface.d.ts +0 -0
- /package/{types/cascader → cascader}/hook/useRefCurrent.d.ts +0 -0
- /package/{types/checkbox → checkbox}/context.d.ts +0 -0
- /package/{types/checkbox → checkbox}/useCheckbox.d.ts +0 -0
- /package/{types/collapse → collapse}/interface.d.ts +0 -0
- /package/{types/comment → comment}/interface.d.ts +0 -0
- /package/{types/config-provider → config-provider}/initUI.d.ts +0 -0
- /package/{types/config-provider → config-provider}/useConfigProvider.d.ts +0 -0
- /package/{types/copy → copy}/interface.d.ts +0 -0
- /package/{types/countdown → countdown}/interface.d.ts +0 -0
- /package/{types/countdown → countdown}/utils.d.ts +0 -0
- /package/{types/date-picker → date-picker}/hook/useCellClassName.d.ts +0 -0
- /package/{types/date-picker → date-picker}/panel/Footer.d.ts +0 -0
- /package/{types/date-picker → date-picker}/panel/WeekList.d.ts +0 -0
- /package/{types/date-picker → date-picker}/panel/date/index.d.ts +0 -0
- /package/{types/details → details}/interface.d.ts +0 -0
- /package/{types/development/index.d.ts → development/Development.d.ts} +0 -0
- /package/{types/development → development}/interface.d.ts +0 -0
- /package/{types/divider → divider}/interface.d.ts +0 -0
- /package/{types/draggable → draggable}/interface.d.ts +0 -0
- /package/{types/draw → draw}/constant.d.ts +0 -0
- /package/{types/draw → draw}/interface.d.ts +0 -0
- /package/{types/form → form}/FormLabel.d.ts +0 -0
- /package/{types/form → form}/promisify.d.ts +0 -0
- /package/{types/global-provider → global-provider}/interface.d.ts +0 -0
- /package/{types/grid → grid}/Grid.d.ts +0 -0
- /package/{types/grid → grid}/context.d.ts +0 -0
- /package/{types/hooks → hooks}/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-computed-state/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-create/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-creation/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-event/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-event-listener/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-force-update/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-fullscreen/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-id/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-in-view/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-intersection-observer/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-intersection-observers/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-interval/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-is-first-render/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-isomorphic-layout-effect/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-keyboard-event/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-latest/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-listen-window-resize/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-media/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-merge-props/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-merge-value/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-move/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-mutation-observers/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-online-status/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-overflow-hidden/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-override-ref/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-persist-callback/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-prefers-color-scheme-dark/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-previous/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-refs/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-resize-observer/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-resize-observers/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-responsive-state/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-set-state/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-state-callback/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-state-with-promise/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-update-effect/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-update-layout-effect/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-verification-code/interface.d.ts +0 -0
- /package/{types/hooks → hooks}/use-watch/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-watermark/interface.d.ts +0 -0
- /package/{types/hooks → hooks}/use-watermark/utils.d.ts +0 -0
- /package/{types/hooks → hooks}/use-window-size/index.d.ts +0 -0
- /package/{types/hooks → hooks}/useUnmountOnExit.d.ts +0 -0
- /package/{types/icon → icon}/addIconFromCdn.d.ts +0 -0
- /package/{types/icon → icon}/interface.d.ts +0 -0
- /package/{types/icons.d.ts → icons.d.ts} +0 -0
- /package/{types/image → image}/ImagePreviewArrow.d.ts +0 -0
- /package/{types/image → image}/utils/getFixTranslate.d.ts +0 -0
- /package/{types/image → image}/utils/hook/useImageStatus.d.ts +0 -0
- /package/{types/input → input}/Number.d.ts +0 -0
- /package/{types/input → input}/Tag.d.ts +0 -0
- /package/{types/input → input}/autoSizeTextareaHeight.d.ts +0 -0
- /package/{types/input → input}/utils.d.ts +0 -0
- /package/{types/input-number → input-number}/decimal.d.ts +0 -0
- /package/{types/input-number → input-number}/useSelectionRange.d.ts +0 -0
- /package/{types/input-number → input-number}/utils.d.ts +0 -0
- /package/{types/interface.d.ts → interface.d.ts} +0 -0
- /package/{types/layout → layout}/context.d.ts +0 -0
- /package/{types/link → link}/interface.d.ts +0 -0
- /package/{types/liquid-fill/index.d.ts → liquid-fill/LiquidFill.d.ts} +0 -0
- /package/{types/liquid-fill → liquid-fill}/interface.d.ts +0 -0
- /package/{types/loading/index.d.ts → loading/Loading.d.ts} +0 -0
- /package/{types/loading → loading}/interface.d.ts +0 -0
- /package/{types/locale → locale}/default.d.ts +0 -0
- /package/{types/locale → locale}/en-US.d.ts +0 -0
- /package/{types/locale → locale}/interface.d.ts +0 -0
- /package/{types/marquee/index.d.ts → marquee/Marquee.d.ts} +0 -0
- /package/{types/mask → mask}/interface.d.ts +0 -0
- /package/{types/masonry → masonry}/Masonry.d.ts +0 -0
- /package/{types/masonry → masonry}/MasonryItem.d.ts +0 -0
- /package/{types/masonry → masonry}/hooks/usePositions.d.ts +0 -0
- /package/{types/masonry → masonry}/hooks/useRefs.d.ts +0 -0
- /package/{types/menu → menu}/Indent.d.ts +0 -0
- /package/{types/menu → menu}/utils.d.ts +0 -0
- /package/{types/message → message}/interface.d.ts +0 -0
- /package/{types/notice → notice}/interface.d.ts +0 -0
- /package/{types/notification → notification}/withNotification.d.ts +0 -0
- /package/{types/overflow-ellipsis → overflow-ellipsis}/OverflowItem.d.ts +0 -0
- /package/{types/overflow-ellipsis → overflow-ellipsis}/interface.d.ts +0 -0
- /package/{types/portal → portal}/interface.d.ts +0 -0
- /package/{types/progress → progress}/LineProgess.d.ts +0 -0
- /package/{types/progress → progress}/StepProgress.d.ts +0 -0
- /package/{types/resize-box → resize-box}/ResizeTrigger.d.ts +0 -0
- /package/{types/resize-box → resize-box}/interface.d.ts +0 -0
- /package/{types/result → result}/403.d.ts +0 -0
- /package/{types/result → result}/404.d.ts +0 -0
- /package/{types/result → result}/500.d.ts +0 -0
- /package/{types/result → result}/interface.d.ts +0 -0
- /package/{types/rich-text → rich-text}/Toolbar.d.ts +0 -0
- /package/{types/rich-text → rich-text}/interface.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/block.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/break.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/container.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/cursor.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/embed.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/inline.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/text.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/editor.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/emitter.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/logger.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/module.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/theme.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/utils/createRegistryWithFormats.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/utils/scrollRectIntoView.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/delta/AttributeMap.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/delta/Op.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/delta/OpIterator.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/diff/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/align.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/background.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/blockquote.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/bold.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/code.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/color.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/direction.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/emoji.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/font.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/formula.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/header.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/hr.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/image.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/indent.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/italic.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/liOl.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/liUl.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/lineHeight.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/link.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/list.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/script.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/size.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/strike.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/table.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/underline.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/video.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/Base.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/DisplaySize.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/Resize.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/options.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/tableEmbed.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/toolbar copy.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/toolbar.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/attributor/attributor.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/attributor/class.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/attributor/style.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/blot.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/container.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/leaf.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/parent.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/shadow.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/block.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/embed.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/inline.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/text.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/collection/linked-list.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/collection/linked-node.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/error.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/scope.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/themes/base.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/themes/pqb.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/ui/tooltip.d.ts +0 -0
- /package/{types/row-col → row-col}/Col-.d.ts +0 -0
- /package/{types/row-col → row-col}/Col.d.ts +0 -0
- /package/{types/row-col → row-col}/Row.d.ts +0 -0
- /package/{types/row-col → row-col}/context.d.ts +0 -0
- /package/{types/row-col → row-col}/interface.d.ts +0 -0
- /package/{types/segmented/index.d.ts → segmented/Segmented.d.ts} +0 -0
- /package/{types/select-view → select-view}/Core.d.ts +0 -0
- /package/{types/select-view/index.d.ts → select-view/SelectView.d.ts} +0 -0
- /package/{types/skeleton → skeleton}/interface.d.ts +0 -0
- /package/{types/spin → spin}/DotLoading.d.ts +0 -0
- /package/{types/spin → spin}/interface.d.ts +0 -0
- /package/{types/splitter → splitter}/Panel.d.ts +0 -0
- /package/{types/splitter → splitter}/SplitBar.d.ts +0 -0
- /package/{types/splitter → splitter}/Splitter.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useItems.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useResizable.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useResize.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useSizes.d.ts +0 -0
- /package/{types/splitter → splitter}/interface.d.ts +0 -0
- /package/{types/statistic → statistic}/interface.d.ts +0 -0
- /package/{types/steps → steps}/interface.d.ts +0 -0
- /package/{types/suspense-fallback-test/index.d.ts → suspense-fallback-test/SuspenseFallbackTest.d.ts} +0 -0
- /package/{types/table → table}/context.d.ts +0 -0
- /package/{types/table → table}/hook/useThResizable.d.ts +0 -0
- /package/{types/table → table}/summary/Cell.d.ts +0 -0
- /package/{types/table → table}/summary/Row.d.ts +0 -0
- /package/{types/table → table}/th-resizable/index.d.ts +0 -0
- /package/{types/tabs → tabs}/context.d.ts +0 -0
- /package/{types/tabs → tabs}/tab-header/DropdownIcon.d.ts +0 -0
- /package/{types/tabs → tabs}/tab-header/TabInk.d.ts +0 -0
- /package/{types/tabs → tabs}/tab-header/TabTitle.d.ts +0 -0
- /package/{types/tabs → tabs}/utils.d.ts +0 -0
- /package/{types/time-picker → time-picker}/TimeColumn.d.ts +0 -0
- /package/{types/time-picker → time-picker}/utils.d.ts +0 -0
- /package/{types/timeline → timeline}/interface.d.ts +0 -0
- /package/{types/timer/index.d.ts → timer/Timer.d.ts} +0 -0
- /package/{types/tour/index.d.ts → tour/Tour.d.ts} +0 -0
- /package/{types/tour → tour}/interface.d.ts +0 -0
- /package/{types/tree → tree}/NodeList.d.ts +0 -0
- /package/{types/tree-select → tree-select}/utils.d.ts +0 -0
- /package/{types/typography → typography}/Text.d.ts +0 -0
- /package/{types/utils → utils}/callOrReturn.d.ts +0 -0
- /package/{types/utils → utils}/callbackOriginRef.d.ts +0 -0
- /package/{types/utils → utils}/caseName.d.ts +0 -0
- /package/{types/utils → utils}/className.d.ts +0 -0
- /package/{types/utils → utils}/copy.d.ts +0 -0
- /package/{types/utils → utils}/date.d.ts +0 -0
- /package/{types/utils → utils}/dayjs.d.ts +0 -0
- /package/{types/utils → utils}/dom.d.ts +0 -0
- /package/{types/utils → utils}/emitter.d.ts +0 -0
- /package/{types/utils → utils}/fileRead.d.ts +0 -0
- /package/{types/utils → utils}/fileToDataURL.d.ts +0 -0
- /package/{types/utils → utils}/fillNBSP.d.ts +0 -0
- /package/{types/utils → utils}/findRootElement.d.ts +0 -0
- /package/{types/utils → utils}/findScrollParent.d.ts +0 -0
- /package/{types/utils → utils}/getHighlightText.d.ts +0 -0
- /package/{types/utils → utils}/getStringLength.d.ts +0 -0
- /package/{types/utils → utils}/include.d.ts +0 -0
- /package/{types/utils → utils}/index.d.ts +0 -0
- /package/{types/utils → utils}/intersectionObserver.d.ts +0 -0
- /package/{types/utils → utils}/keyboardCode.d.ts +0 -0
- /package/{types/utils → utils}/lodash.d.ts +0 -0
- /package/{types/utils → utils}/math.d.ts +0 -0
- /package/{types/utils → utils}/mergeProps.d.ts +0 -0
- /package/{types/utils → utils}/mergedToString.d.ts +0 -0
- /package/{types/utils → utils}/mutationObserver.d.ts +0 -0
- /package/{types/utils → utils}/omit.d.ts +0 -0
- /package/{types/utils → utils}/pad.d.ts +0 -0
- /package/{types/utils → utils}/pick.d.ts +0 -0
- /package/{types/utils → utils}/pinyin.d.ts +0 -0
- /package/{types/utils → utils}/react19Adapter.d.ts +0 -0
- /package/{types/utils → utils}/ref.d.ts +0 -0
- /package/{types/utils → utils}/resizeObserver.d.ts +0 -0
- /package/{types/utils → utils}/responsiveObserve.d.ts +0 -0
- /package/{types/utils → utils}/saveAs.d.ts +0 -0
- /package/{types/utils → utils}/screenfull.d.ts +0 -0
- /package/{types/utils → utils}/scrollIntoViewIfNeeded.d.ts +0 -0
- /package/{types/utils → utils}/setCreateRoot.d.ts +0 -0
- /package/{types/utils → utils}/setDarkTheme.d.ts +0 -0
- /package/{types/utils → utils}/setPrimaryColor.d.ts +0 -0
- /package/{types/utils → utils}/setTheme.d.ts +0 -0
- /package/{types/utils → utils}/string.d.ts +0 -0
- /package/{types/utils → utils}/style.d.ts +0 -0
- /package/{types/utils → utils}/throttleByRaf.d.ts +0 -0
- /package/{types/utils → utils}/throttleByRaf2.d.ts +0 -0
- /package/{types/utils → utils}/toArray.d.ts +0 -0
- /package/{types/utils → utils}/tree.d.ts +0 -0
- /package/{types/utils → utils}/tween.d.ts +0 -0
- /package/{types/utils → utils}/uuid.d.ts +0 -0
- /package/{types/utils → utils}/warning.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/Filler.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/VirtualList.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/constant.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/utils/item.d.ts +0 -0
- /package/{types/watermark → watermark}/interface.d.ts +0 -0
package/date-picker/Picker.js
CHANGED
|
@@ -1,408 +1,307 @@
|
|
|
1
|
-
/* 2026-03-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "../config-provider/
|
|
7
|
-
import { FormContext as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import "
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
isTimePanel: W,
|
|
309
|
-
panelMode: _,
|
|
310
|
-
setPanelMode: Pe,
|
|
311
|
-
onMouseEnterCell: yo,
|
|
312
|
-
onMouseLeaveCell: xo
|
|
313
|
-
}),
|
|
314
|
-
!!l && /* @__PURE__ */ u(
|
|
315
|
-
ot,
|
|
316
|
-
{
|
|
317
|
-
...i,
|
|
318
|
-
DATEPICKER_LOCALE: M,
|
|
319
|
-
disabled: !d,
|
|
320
|
-
onClickConfirmBtn: vo,
|
|
321
|
-
extra: pe,
|
|
322
|
-
mode: _,
|
|
323
|
-
shortcutsPlacementLeft: y,
|
|
324
|
-
onClickSelectTimeBtn: Do,
|
|
325
|
-
isTimePanel: W
|
|
326
|
-
}
|
|
327
|
-
)
|
|
328
|
-
] }), we = y ? /* @__PURE__ */ be(je, { children: [
|
|
329
|
-
/* @__PURE__ */ u(tt, { ref: R, ...i }),
|
|
330
|
-
/* @__PURE__ */ u("div", { ref: A, className: `${v}-panel-wrapper`, children: g })
|
|
331
|
-
] }) : g, To = C(de) ? de(we) : we;
|
|
332
|
-
return /* @__PURE__ */ u(
|
|
333
|
-
"div",
|
|
334
|
-
{
|
|
335
|
-
className: o,
|
|
336
|
-
onClick: (oe) => {
|
|
337
|
-
J();
|
|
338
|
-
},
|
|
339
|
-
style: e ? ie : {},
|
|
340
|
-
children: To
|
|
341
|
-
}
|
|
342
|
-
);
|
|
343
|
-
}
|
|
344
|
-
const ko = n.size || Fe, No = H && H.inputSuffix === null ? null : H && H.inputSuffix || (c ? /* @__PURE__ */ u(Io, {}) : /* @__PURE__ */ u(Ho, {})), Lo = {
|
|
345
|
-
style: ie,
|
|
346
|
-
className: le,
|
|
347
|
-
popupVisible: m,
|
|
348
|
-
format: w,
|
|
349
|
-
disabled: se,
|
|
350
|
-
error: We,
|
|
351
|
-
status: Be,
|
|
352
|
-
size: ko,
|
|
353
|
-
onPressEnter: Vo,
|
|
354
|
-
onClear: go,
|
|
355
|
-
prefix: n.prefix,
|
|
356
|
-
suffix: No,
|
|
357
|
-
editable: Ke && !C(w),
|
|
358
|
-
allowClear: Me,
|
|
359
|
-
readOnly: z
|
|
360
|
-
}, ee = /* @__PURE__ */ u(
|
|
361
|
-
Ao,
|
|
362
|
-
{
|
|
363
|
-
...Qo(n),
|
|
364
|
-
...Lo,
|
|
365
|
-
ref: I,
|
|
366
|
-
placeholder: ao || M?.placeholder?.[x],
|
|
367
|
-
popupVisible: m,
|
|
368
|
-
value: B || j,
|
|
369
|
-
inputValue: ge || uo,
|
|
370
|
-
prefixCls: v,
|
|
371
|
-
onChange: Co,
|
|
372
|
-
isPlaceholder: !!ge,
|
|
373
|
-
inputProps: ro
|
|
374
|
-
}
|
|
375
|
-
);
|
|
376
|
-
let Y = ee;
|
|
377
|
-
return z ? Y = ee : me === null ? Y = xe(!0) : Y = /* @__PURE__ */ u(
|
|
378
|
-
Ro,
|
|
379
|
-
{
|
|
380
|
-
popup: xe,
|
|
381
|
-
trigger: "click",
|
|
382
|
-
clickToClose: !1,
|
|
383
|
-
position: Ue,
|
|
384
|
-
disabled: se,
|
|
385
|
-
popupAlign: lt,
|
|
386
|
-
getPopupContainer: Re,
|
|
387
|
-
onVisibleChange: ho,
|
|
388
|
-
popupVisible: m,
|
|
389
|
-
classNames: `${Oe}-slide-dynamic-origin`,
|
|
390
|
-
unmountOnExit: qe,
|
|
391
|
-
...Ge,
|
|
392
|
-
children: me || ee
|
|
393
|
-
}
|
|
394
|
-
), /* @__PURE__ */ u(Zo.Provider, { value: { ...n }, children: /* @__PURE__ */ u(
|
|
395
|
-
et.Provider,
|
|
396
|
-
{
|
|
397
|
-
value: {
|
|
398
|
-
utcOffset: r,
|
|
399
|
-
timezone: a,
|
|
400
|
-
weekStart: lo
|
|
401
|
-
},
|
|
402
|
-
children: Y
|
|
403
|
-
}
|
|
404
|
-
) });
|
|
405
|
-
}, Ht = Oo(it);
|
|
406
|
-
export {
|
|
407
|
-
Ht as default
|
|
408
|
-
};
|
|
1
|
+
/* 潘启宝 2026-03-24 16:29:04 星期二 */
|
|
2
|
+
import { isArray as e, isDayjs as t, isFunction as n, isPlainObject as r, isString as ee, isUndefined as te } from "../utils/is.js";
|
|
3
|
+
import ne from "../utils/className.js";
|
|
4
|
+
import { pickDataAttributes as re } from "../utils/pick.js";
|
|
5
|
+
import ie from "../hooks/use-merge-props/index.js";
|
|
6
|
+
import i from "../config-provider/context.js";
|
|
7
|
+
import { FormContext as a, FormItemContext as ae } from "../form/context.js";
|
|
8
|
+
import "../config-provider/index.js";
|
|
9
|
+
import { dayjs as oe, dayjs_getDayjsValue as o, dayjs_getNow as s, dayjs_getValueWithTime as c, dayjs_isDayjsChange as se, dayjs_methods as ce, dayjs_toLocal as l, dayjs_toTimezone as le } from "../utils/dayjs.js";
|
|
10
|
+
import ue from "../utils/omit.js";
|
|
11
|
+
import { HYPHEN as de } from "../utils/string.js";
|
|
12
|
+
import fe from "../hooks/use-update-effect/index.js";
|
|
13
|
+
import pe from "../trigger/index.js";
|
|
14
|
+
import me from "../hooks/use-previous/index.js";
|
|
15
|
+
import { DatePickerContext as he, PickerContext as ge } from "./context.js";
|
|
16
|
+
import _e from "./panel/Shortcut.js";
|
|
17
|
+
import ve from "./panel/Footer.js";
|
|
18
|
+
import { getDefaultWeekStart as ye, getFormatForDatePicker as be, getLocaleDayjsValue as u } from "./utils.js";
|
|
19
|
+
import xe from "../picker/Input.js";
|
|
20
|
+
import Se, { forwardRef as Ce, useContext as d, useEffect as we, useImperativeHandle as Te, useRef as f, useState as p } from "react";
|
|
21
|
+
import { Fragment as Ee, jsx as m, jsxs as De } from "react/jsx-runtime";
|
|
22
|
+
import "dayjs";
|
|
23
|
+
import Oe from "@unicom-cloud/icons/IconUiCalendar";
|
|
24
|
+
import ke from "@unicom-cloud/icons/IconUiCalendarClock";
|
|
25
|
+
//#region components/pc/date-picker/Picker.tsx
|
|
26
|
+
var Ae = {
|
|
27
|
+
allowClear: !0,
|
|
28
|
+
unmountOnExit: !0,
|
|
29
|
+
position: "bl",
|
|
30
|
+
editable: !0,
|
|
31
|
+
showNowBtn: !0
|
|
32
|
+
}, je = { bottom: 4 }, Me = Ce((Ce, Me) => {
|
|
33
|
+
let { prefixCls: Ne, getPrefixCls: Pe, locale: h, size: Fe, componentConfig: Ie, rtl: Le } = d(i), Re = d(a), ze = d(ae);
|
|
34
|
+
Le && (Ae.position = "br");
|
|
35
|
+
let g = ie(Ce, Ae, Ie?.DatePicker), { allowClear: Be, className: Ve, style: He, placeholder: Ue, getPopupContainer: We, disabled: Ge, position: Ke, error: qe, status: Je, unmountOnExit: Ye, editable: Xe, triggerProps: Ze, picker: Qe, shortcuts: _, onSelect: v, onVisibleChange: $e, value: et, onChange: tt, icons: y, disabledDate: nt, showTime: b, showNowBtn: rt, onSelectShortcut: it, extra: at, shortcutsPlacementLeft: x, onOk: ot, defaultPickerValue: st, pickerValue: ct, onPickerValueChange: lt, triggerElement: ut, utcOffset: S, timezone: C, panelRender: dt, inputProps: ft, readOnly: w = ze?.readOnly ?? Re?.readOnly } = g, T = Pe?.("picker"), E = h?.DatePicker, pt = w ? de : Ue, mt = te(g.dayStartOfWeek) ? ye(h?.dayjsLocale) : g.dayStartOfWeek, D = g.mode || Qe?.props?.pickerType, O = f(null), ht = f(null), gt = f(null);
|
|
36
|
+
Te(Me, () => ({
|
|
37
|
+
focus() {
|
|
38
|
+
K();
|
|
39
|
+
},
|
|
40
|
+
blur() {
|
|
41
|
+
q();
|
|
42
|
+
},
|
|
43
|
+
getRootElement() {
|
|
44
|
+
return O.current;
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
47
|
+
let k = E?.Calendar?.[D]?.format || be(g), A = k;
|
|
48
|
+
n(A) && (A = b ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
|
|
49
|
+
function _t() {
|
|
50
|
+
let e;
|
|
51
|
+
return e = g.value ? o(g.value, A, S, C) : o(g.defaultValue, A, S, C), e;
|
|
52
|
+
}
|
|
53
|
+
let [j, M] = p(_t()), [vt, yt] = p(g.popupVisible), [N, bt] = p(!1), [xt, P] = p(), F = "popupVisible" in g ? g.popupVisible : vt, I = "value" in g ? o(et, A, S, C) : j, St = I || o(st, A) || s(), [Ct, L] = p(), [R, z] = p(), [wt, B] = p(), [Tt, V] = p(St), H = o(ct, A) || Tt, U = wt || R || I, [W, Et] = p(D), Dt = r(b) && o(b.defaultValue, b.format || "HH:mm:ss") || s(S, C), G = U || Dt;
|
|
54
|
+
function K() {
|
|
55
|
+
O.current?.focus?.();
|
|
56
|
+
}
|
|
57
|
+
function q() {
|
|
58
|
+
O.current?.blur?.();
|
|
59
|
+
}
|
|
60
|
+
let J = me(S), Y = me(C);
|
|
61
|
+
fe(() => {
|
|
62
|
+
j && (J !== S || C !== Y) && M(le(l(j, J, Y), S, C));
|
|
63
|
+
}, [
|
|
64
|
+
S,
|
|
65
|
+
J,
|
|
66
|
+
C,
|
|
67
|
+
Y
|
|
68
|
+
]), we(() => {
|
|
69
|
+
L(void 0), P(void 0), F ? (V(St), x && gt.current && ht.current && (gt.current.style.maxHeight = `${ht.current.clientHeight}px`)) : (z(void 0), B(void 0), setTimeout(() => {
|
|
70
|
+
bt(!1), Et(D), q();
|
|
71
|
+
}, 100));
|
|
72
|
+
}, [F]);
|
|
73
|
+
function Ot(e) {
|
|
74
|
+
e ? Z(e, () => {
|
|
75
|
+
K();
|
|
76
|
+
}) : Z(!1);
|
|
77
|
+
}
|
|
78
|
+
function X(e) {
|
|
79
|
+
lt?.(e.format(A), e);
|
|
80
|
+
}
|
|
81
|
+
function Z(e, t) {
|
|
82
|
+
yt(e), $e?.(e), t?.();
|
|
83
|
+
}
|
|
84
|
+
function kt(e) {
|
|
85
|
+
e.stopPropagation(), M(void 0), z(void 0), Q(void 0), g.onClear?.();
|
|
86
|
+
}
|
|
87
|
+
function At() {
|
|
88
|
+
let e = u(U, h?.dayjsLocale);
|
|
89
|
+
jt(), ot?.(e && e.format(A), e);
|
|
90
|
+
}
|
|
91
|
+
function jt() {
|
|
92
|
+
M(U), Q(U), Z(!1);
|
|
93
|
+
}
|
|
94
|
+
function Mt(e) {
|
|
95
|
+
let t = c(U || s(S, C), e);
|
|
96
|
+
M(t), Q(t), Z(!1);
|
|
97
|
+
}
|
|
98
|
+
function Nt(e, t, n) {
|
|
99
|
+
if (L(void 0), P(void 0), b) {
|
|
100
|
+
let e = n ? t : c(t, G);
|
|
101
|
+
z(e), V(e);
|
|
102
|
+
let r = u(l(e, S, C), h?.dayjsLocale);
|
|
103
|
+
v?.(r.format(A), r);
|
|
104
|
+
} else {
|
|
105
|
+
let e = u(l(t, S, C).locale(h?.dayjsLocale), h?.dayjsLocale);
|
|
106
|
+
v?.(e ? e.format(A) : void 0, e), M(t), Q(t), Z(!1);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function Q(e) {
|
|
110
|
+
if (se(e, I)) {
|
|
111
|
+
let t = u(l(e, S, C), h?.dayjsLocale);
|
|
112
|
+
tt?.(t ? t.format(A) : void 0, t);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function Pt(e, t) {
|
|
116
|
+
let n = c(U || s(S, C), t);
|
|
117
|
+
z(n);
|
|
118
|
+
let r = u(l(n, S, C), h?.dayjsLocale);
|
|
119
|
+
v?.(r.format(A), r);
|
|
120
|
+
}
|
|
121
|
+
function Ft(e) {
|
|
122
|
+
return ee(e) && oe(e, A).format(A) === e && (n(nt) ? !nt(oe(e, A)) : !0);
|
|
123
|
+
}
|
|
124
|
+
function It(e) {
|
|
125
|
+
let t = e.target.value;
|
|
126
|
+
if (L(t), F || Z(!0), Ft(t)) {
|
|
127
|
+
let e = o(t, A);
|
|
128
|
+
z(e), V(e), L(void 0);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function Lt() {
|
|
132
|
+
U ? (jt(), q()) : F && Z(!1);
|
|
133
|
+
}
|
|
134
|
+
function $(e, t, n = 1) {
|
|
135
|
+
let r;
|
|
136
|
+
e === "prev" && (r = ce.subtract(H, n, t)), e === "next" && (r = ce.add(H, n, t)), X(r), V(r);
|
|
137
|
+
}
|
|
138
|
+
function Rt(e = D) {
|
|
139
|
+
if (e === "date" || e === "week") return {
|
|
140
|
+
onPrev: () => $("prev", "month"),
|
|
141
|
+
onNext: () => $("next", "month"),
|
|
142
|
+
onSuperPrev: () => $("prev", "year"),
|
|
143
|
+
onSuperNext: () => $("next", "year")
|
|
144
|
+
};
|
|
145
|
+
if (e === "month" || e === "quarter") return {
|
|
146
|
+
onSuperPrev: () => $("prev", "year"),
|
|
147
|
+
onSuperNext: () => $("next", "year")
|
|
148
|
+
};
|
|
149
|
+
if (e === "year") return {
|
|
150
|
+
onSuperPrev: () => $("prev", "year", 10),
|
|
151
|
+
onSuperNext: () => $("next", "year", 10)
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function zt() {
|
|
155
|
+
let e = u(s(S, C), h?.dayjsLocale);
|
|
156
|
+
X(e), Nt(e.format(A), e, !0);
|
|
157
|
+
}
|
|
158
|
+
function Bt(e, t) {
|
|
159
|
+
if (!t) {
|
|
160
|
+
let t = b ? c(e, G) : e;
|
|
161
|
+
P(n(k) ? k(e) : t.locale(h?.dayjsLocale).format(A));
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
function Vt() {
|
|
165
|
+
P(void 0);
|
|
166
|
+
}
|
|
167
|
+
function Ht(e) {
|
|
168
|
+
if (n(e.value) && t(e.value())) {
|
|
169
|
+
let t = o(e.value(), A, S, C);
|
|
170
|
+
V(t), X(t), B(t);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
function Ut() {
|
|
174
|
+
let e = R || I || s(S, C);
|
|
175
|
+
B(void 0), V(e), X(e);
|
|
176
|
+
}
|
|
177
|
+
function Wt(e) {
|
|
178
|
+
if (it?.(e), n(e.value) && t(e.value())) {
|
|
179
|
+
let t = o(e.value(), A, S, C);
|
|
180
|
+
M(t), Q(t), Z(!1);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
function Gt() {
|
|
184
|
+
bt(!N);
|
|
185
|
+
}
|
|
186
|
+
function Kt(t) {
|
|
187
|
+
let ee = ne(`${T}-container`, {
|
|
188
|
+
[`${T}-panel-only`]: t,
|
|
189
|
+
[`${T}-container-shortcuts-placement-left`]: e(_) && x,
|
|
190
|
+
[`${T}-container-rtl`]: Le
|
|
191
|
+
}, t ? Ve : ""), te = {
|
|
192
|
+
prefixCls: T,
|
|
193
|
+
showTime: b,
|
|
194
|
+
shortcuts: _,
|
|
195
|
+
onSelectNow: zt,
|
|
196
|
+
showNowBtn: rt,
|
|
197
|
+
onMouseEnterShortcut: Ht,
|
|
198
|
+
onMouseLeaveShortcut: Ut,
|
|
199
|
+
onSelectShortcut: Wt
|
|
200
|
+
}, re = b && W === "date" || at || e(_) && _.length && !x || !b && W === "date" && rt, ie = !!(g.timepickerProps && g.timepickerProps.disableConfirm || r(b) && b.disableConfirm), i = /* @__PURE__ */ De(Ee, { children: [Se.cloneElement(Qe, {
|
|
201
|
+
...ue(g, ["style"]),
|
|
202
|
+
...Rt(),
|
|
203
|
+
getHeaderOperations: Rt,
|
|
204
|
+
onSelect: Nt,
|
|
205
|
+
onTimePickerSelect: Pt,
|
|
206
|
+
onConfirmValue: Mt,
|
|
207
|
+
onSelectNow: zt,
|
|
208
|
+
popupVisible: F,
|
|
209
|
+
format: A,
|
|
210
|
+
value: U,
|
|
211
|
+
pageShowDate: H,
|
|
212
|
+
localeName: h?.dayjsLocale,
|
|
213
|
+
setPageShowDate(e) {
|
|
214
|
+
V(e), X(e);
|
|
215
|
+
},
|
|
216
|
+
timeValue: G,
|
|
217
|
+
isTimePanel: N,
|
|
218
|
+
panelMode: W,
|
|
219
|
+
setPanelMode: Et,
|
|
220
|
+
onMouseEnterCell: Bt,
|
|
221
|
+
onMouseLeaveCell: Vt
|
|
222
|
+
}), !!re && /* @__PURE__ */ m(ve, {
|
|
223
|
+
...te,
|
|
224
|
+
DATEPICKER_LOCALE: E,
|
|
225
|
+
disabled: !U,
|
|
226
|
+
onClickConfirmBtn: At,
|
|
227
|
+
extra: at,
|
|
228
|
+
mode: W,
|
|
229
|
+
shortcutsPlacementLeft: x,
|
|
230
|
+
onClickSelectTimeBtn: Gt,
|
|
231
|
+
isTimePanel: N,
|
|
232
|
+
disableConfirm: ie
|
|
233
|
+
})] }), a = x ? /* @__PURE__ */ De(Ee, { children: [/* @__PURE__ */ m(_e, {
|
|
234
|
+
ref: gt,
|
|
235
|
+
...te
|
|
236
|
+
}), /* @__PURE__ */ m("div", {
|
|
237
|
+
ref: ht,
|
|
238
|
+
className: `${T}-panel-wrapper`,
|
|
239
|
+
children: i
|
|
240
|
+
})] }) : i, ae = n(dt) ? dt(a) : a;
|
|
241
|
+
return /* @__PURE__ */ m("div", {
|
|
242
|
+
className: ee,
|
|
243
|
+
onClick: (e) => {
|
|
244
|
+
K();
|
|
245
|
+
},
|
|
246
|
+
style: t ? He : {},
|
|
247
|
+
children: ae
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
let qt = g.size || Fe, Jt = y && y.inputSuffix === null ? null : y && y.inputSuffix || m(b ? ke : Oe, {}), Yt = {
|
|
251
|
+
style: He,
|
|
252
|
+
className: Ve,
|
|
253
|
+
popupVisible: F,
|
|
254
|
+
format: k,
|
|
255
|
+
disabled: Ge,
|
|
256
|
+
error: qe,
|
|
257
|
+
status: Je,
|
|
258
|
+
size: qt,
|
|
259
|
+
onPressEnter: Lt,
|
|
260
|
+
onClear: kt,
|
|
261
|
+
prefix: g.prefix,
|
|
262
|
+
suffix: Jt,
|
|
263
|
+
editable: Xe && !n(k),
|
|
264
|
+
allowClear: Be,
|
|
265
|
+
readOnly: w
|
|
266
|
+
}, Xt = /* @__PURE__ */ m(xe, {
|
|
267
|
+
...re(g),
|
|
268
|
+
...Yt,
|
|
269
|
+
ref: O,
|
|
270
|
+
placeholder: pt || E?.placeholder?.[D],
|
|
271
|
+
popupVisible: F,
|
|
272
|
+
value: R || I,
|
|
273
|
+
inputValue: xt || Ct,
|
|
274
|
+
prefixCls: T,
|
|
275
|
+
onChange: It,
|
|
276
|
+
isPlaceholder: !!xt,
|
|
277
|
+
inputProps: ft
|
|
278
|
+
}), Zt = Xt;
|
|
279
|
+
return Zt = w ? Xt : ut === null ? Kt(!0) : /* @__PURE__ */ m(pe, {
|
|
280
|
+
popup: Kt,
|
|
281
|
+
trigger: "click",
|
|
282
|
+
clickToClose: !1,
|
|
283
|
+
position: Ke,
|
|
284
|
+
disabled: Ge,
|
|
285
|
+
popupAlign: je,
|
|
286
|
+
getPopupContainer: We,
|
|
287
|
+
onVisibleChange: Ot,
|
|
288
|
+
popupVisible: F,
|
|
289
|
+
classNames: `${Ne}-slide-dynamic-origin`,
|
|
290
|
+
unmountOnExit: Ye,
|
|
291
|
+
...Ze,
|
|
292
|
+
children: ut || Xt
|
|
293
|
+
}), /* @__PURE__ */ m(he.Provider, {
|
|
294
|
+
value: { ...g },
|
|
295
|
+
children: /* @__PURE__ */ m(ge.Provider, {
|
|
296
|
+
value: {
|
|
297
|
+
utcOffset: S,
|
|
298
|
+
timezone: C,
|
|
299
|
+
weekStart: mt
|
|
300
|
+
},
|
|
301
|
+
children: Zt
|
|
302
|
+
})
|
|
303
|
+
});
|
|
304
|
+
});
|
|
305
|
+
//#endregion
|
|
306
|
+
export { Me as default };
|
|
307
|
+
/* 独立思考,明辨是非 */
|