@unicom-cloud/ui 0.8.83 → 0.8.85
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/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +4 -4
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Development.js +8 -0
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +2 -4
- package/Form.js +13 -13
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +8 -9
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +3 -3
- package/SpeechSynthesis.js +2 -44
- package/Spin.js +1 -1
- package/Statistic.js +2 -2
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/Typography.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/anchor/util.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +9 -9
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +11 -11
- package/calendar/index.js +4 -4
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +2 -2
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/B1kymbJZ.js +843 -0
- package/chunk/B44Hj5ad.js +697 -0
- package/chunk/BC2OXILt.js +178 -0
- package/chunk/BJjotfW6.js +257 -0
- package/chunk/BNevupAU.js +72 -0
- package/chunk/BP4igg_F.js +213 -0
- package/chunk/BRPQJFSI.js +649 -0
- package/chunk/BZJwzdhZ.js +473 -0
- package/chunk/C7bohPVD.js +185 -0
- package/chunk/DSXeBMp3.js +7828 -0
- package/chunk/Doi4-DdV.js +1472 -0
- package/chunk/DuWBv5j3.js +570 -0
- package/chunk/DzekwbB4.js +53 -0
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +4 -4
- package/color-picker/InputRgb.js +3 -3
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +2 -2
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +2 -2
- package/date-picker/RangePicker.js +3 -3
- package/date-picker/index.js +1 -1
- package/date-picker/util.js +1 -1
- package/descriptions/index.js +1 -1
- package/development/index.js +42 -0
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +153 -152
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +2 -4
- package/form/Form.js +14 -158
- package/form/FormItem.js +1 -1
- package/form/FormList.js +3 -2
- package/form/context.js +1 -1
- package/form/index.js +57 -56
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file.js +67 -0
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +2 -2
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +341 -334
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +332 -330
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/index.js +7 -8
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +2 -2
- package/mentions/index.js +2 -2
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +4 -4
- package/pagination/PageOption.js +2 -2
- package/pagination/Pagination.js +2 -2
- package/pagination/index.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select/index.js +2 -2
- package/select/util.js +1 -1
- package/select-view/Core.js +77 -77
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +59 -59
- package/space/index.js +135 -83
- package/space-/index.js +92 -0
- package/space-/interface.js +1 -0
- package/space-/toArray.js +11 -0
- package/speech-synthesis/index.js +41 -83
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +2 -2
- package/statistic/index.js +18 -18
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +3 -3
- package/table/index.js +1 -1
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +92 -90
- package/time-picker/RangePicker.js +1 -1
- package/time-picker/TimePicker.js +2 -2
- package/time-picker/util.js +6 -6
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +2 -2
- package/tree/Animation.js +2 -2
- package/tree/Node.js +2 -2
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree/util.js +34 -34
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +2 -2
- package/tree-select/index.js +2 -2
- package/trigger/index.js +84 -84
- package/types/common/assets/hourglass.d.ts +2 -0
- package/types/common/development/index.d.ts +2 -0
- package/types/common/empty/index.d.ts +4 -0
- package/types/common/empty/interface.d.ts +24 -0
- package/types/common/higher-order/with-speech-synthesis/index.d.ts +2 -0
- package/types/common/hooks/useComputedState.d.ts +4 -0
- package/types/common/hooks/useCreate.d.ts +2 -0
- package/types/common/hooks/useForceUpdate.d.ts +16 -0
- package/types/common/hooks/useId.d.ts +6 -0
- package/types/common/hooks/useInView.d.ts +11 -0
- package/types/common/hooks/useIntersectionObserver.d.ts +7 -0
- package/types/common/hooks/useInterval.d.ts +2 -0
- package/types/common/hooks/useIsFirstRender.d.ts +2 -0
- package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/types/common/hooks/useKeyboardEvent.d.ts +8 -0
- package/types/common/hooks/useListenResize.d.ts +18 -0
- package/types/common/hooks/useMedia.d.ts +2 -0
- package/types/common/hooks/useMergeProps.d.ts +5 -0
- package/types/common/hooks/useMergeValue.d.ts +6 -0
- package/types/common/hooks/useOnlineStatus.d.ts +2 -0
- package/types/common/hooks/useOverflowHidden.d.ts +5 -0
- package/types/common/hooks/useOverrideRef.d.ts +6 -0
- package/types/common/hooks/usePersistCallback.d.ts +2 -0
- package/types/common/hooks/usePrefersColorSchemeDark.d.ts +2 -0
- package/types/common/hooks/usePrevious.d.ts +3 -0
- package/types/common/hooks/useRefs.d.ts +2 -0
- package/types/common/hooks/useResizeObserver.d.ts +6 -0
- package/types/common/hooks/useStateCallback.d.ts +5 -0
- package/types/common/hooks/useStateWithPromise.d.ts +2 -0
- package/types/common/hooks/useUpdateEffect.d.ts +19 -0
- package/types/common/hooks/useWatch.d.ts +3 -0
- package/types/common/hooks/useWindowSize.d.ts +18 -0
- package/types/common/icons/file/index.d.ts +4 -0
- package/types/common/icons/file/interface.d.ts +20 -0
- package/types/common/space/index.d.ts +5 -0
- package/types/common/space/interface.d.ts +32 -0
- package/types/common/utils/PqbCSSTransition.d.ts +4 -0
- package/types/common/utils/caseName.d.ts +1 -0
- package/types/common/utils/className.d.ts +1 -0
- package/types/common/utils/color.d.ts +1 -0
- package/types/common/utils/constant.d.ts +2 -0
- package/types/common/utils/copy.d.ts +3 -0
- package/types/common/utils/dayjs.d.ts +22 -0
- package/types/common/utils/dom.d.ts +12 -0
- package/types/common/utils/fileToURL.d.ts +1 -0
- package/types/common/utils/fillNBSP.d.ts +3 -0
- package/types/common/utils/getHighlightText.d.ts +7 -0
- package/types/common/utils/getHotkeyHandler.d.ts +18 -0
- package/types/common/utils/getStringLength.d.ts +3 -0
- package/types/common/utils/include.d.ts +3 -0
- package/types/common/utils/index.d.ts +40 -0
- package/types/common/utils/is.d.ts +17 -0
- package/types/common/utils/lodash.d.ts +17 -0
- package/types/common/utils/mergeProps.d.ts +3 -0
- package/types/common/utils/mergedToString.d.ts +4 -0
- package/types/common/utils/omit.d.ts +3 -0
- package/types/common/utils/pad.d.ts +2 -0
- package/types/common/utils/pick.d.ts +6 -0
- package/types/common/utils/react19Adapter.d.ts +1 -0
- package/types/common/utils/reactDOM.d.ts +14 -0
- package/types/common/utils/resizeObserverEffect.d.ts +2 -0
- package/types/common/utils/saveAs.d.ts +1 -0
- package/types/common/utils/screenfull.d.ts +1 -0
- package/types/common/utils/scrollIntoView.d.ts +4 -0
- package/types/common/utils/style.d.ts +3 -0
- package/types/common/utils/throttleByRaf.d.ts +6 -0
- package/types/common/utils/tree.d.ts +1 -0
- package/types/common/utils/validate.d.ts +1 -0
- package/types/common/utils/warning.d.ts +3 -0
- package/types/pc/affix/interface.d.ts +52 -0
- package/types/pc/alert/interface.d.ts +66 -0
- package/types/pc/anchor/interface.d.ts +105 -0
- package/types/pc/anchor/util.d.ts +5 -0
- package/types/pc/auto-complete/interface.d.ts +127 -0
- package/types/pc/avatar/interface.d.ts +95 -0
- package/types/pc/back-top/interface.d.ts +42 -0
- package/types/pc/badge/interface.d.ts +66 -0
- package/types/pc/breadcrumb/interface.d.ts +78 -0
- package/types/pc/button/index.d.ts +19 -0
- package/types/pc/button/interface.d.ts +115 -0
- package/types/pc/calendar/hook/useCellClassName.d.ts +2 -0
- package/types/pc/calendar/interface.d.ts +122 -0
- package/types/pc/card/interface.d.ts +99 -0
- package/types/pc/carousel/interface.d.ts +144 -0
- package/types/pc/cascader/base/node.d.ts +78 -0
- package/types/pc/cascader/base/store.d.ts +43 -0
- package/types/pc/cascader/interface.d.ts +308 -0
- package/types/pc/checkbox/interface.d.ts +102 -0
- package/types/pc/checkbox/useCheckbox.d.ts +22 -0
- package/types/pc/collapse/interface.d.ts +111 -0
- package/types/pc/color-picker/hooks/useColorPicker.d.ts +34 -0
- package/types/pc/color-picker/interface.d.ts +149 -0
- package/types/pc/comment/interface.d.ts +41 -0
- package/types/pc/config-provider/interface.d.ts +241 -0
- package/types/pc/date-picker/RangePicker.d.ts +3 -0
- package/types/pc/date-picker/hook/useCellClassName.d.ts +2 -0
- package/types/pc/date-picker/interface.d.ts +518 -0
- package/types/pc/descriptions/interface.d.ts +79 -0
- package/types/pc/development/index.d.ts +2 -0
- package/types/pc/divider/interface.d.ts +21 -0
- package/types/pc/draggable/interface.d.ts +24 -0
- package/types/pc/drawer/interface.d.ts +181 -0
- package/types/pc/dropdown/interface.d.ts +110 -0
- package/types/pc/empty/index.d.ts +4 -0
- package/types/pc/empty/interface.d.ts +8 -0
- package/types/pc/form/Control.d.ts +64 -0
- package/types/pc/form/FormList.d.ts +6 -0
- package/types/pc/form/hook/useContext.d.ts +10 -0
- package/types/pc/form/hook/useForm.d.ts +5 -0
- package/types/pc/form/index.d.ts +26 -0
- package/types/pc/form/interface.d.ts +544 -0
- package/types/pc/form/store.d.ts +98 -0
- package/types/pc/grid/interface.d.ts +239 -0
- package/types/pc/hooks/use-verification-code/interface.d.ts +63 -0
- package/types/pc/hooks/use-watermark/interface.d.ts +81 -0
- package/types/pc/hooks/useComputedState.d.ts +1 -0
- package/types/pc/hooks/useCreate.d.ts +1 -0
- package/types/pc/hooks/useForceUpdate.d.ts +1 -0
- package/types/pc/hooks/useId.d.ts +1 -0
- package/types/pc/hooks/useInView.d.ts +1 -0
- package/types/pc/hooks/useIntersectionObserver.d.ts +1 -0
- package/types/pc/hooks/useInterval.d.ts +1 -0
- package/types/pc/hooks/useIsFirstRender.d.ts +1 -0
- package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
- package/types/pc/hooks/useKeyboardEvent.d.ts +1 -0
- package/types/pc/hooks/useListenResize.d.ts +1 -0
- package/types/pc/hooks/useMedia.d.ts +1 -0
- package/types/pc/hooks/useMergeProps.d.ts +2 -0
- package/types/pc/hooks/useMergeValue.d.ts +1 -0
- package/types/pc/hooks/useOnlineStatus.d.ts +1 -0
- package/types/pc/hooks/useOverflowHidden.d.ts +1 -0
- package/types/pc/hooks/useOverrideRef.d.ts +1 -0
- package/types/pc/hooks/usePersistCallback.d.ts +1 -0
- package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +1 -0
- package/types/pc/hooks/usePrevious.d.ts +1 -0
- package/types/pc/hooks/useRefs.d.ts +1 -0
- package/types/pc/hooks/useResizeObserver.d.ts +1 -0
- package/types/pc/hooks/useStateCallback.d.ts +1 -0
- package/types/pc/hooks/useStateWithPromise.d.ts +1 -0
- package/types/pc/hooks/useUpdateEffect.d.ts +1 -0
- package/types/pc/hooks/useWatch.d.ts +1 -0
- package/types/pc/hooks/useWindowSize.d.ts +1 -0
- package/types/pc/icons/file/index.d.ts +4 -0
- package/types/pc/icons/file/interface.d.ts +7 -0
- package/types/pc/image/interface.d.ts +275 -0
- package/types/pc/index.d.ts +153 -0
- package/types/pc/input/Input.d.ts +26 -0
- package/types/pc/input/Textarea.d.ts +12 -0
- package/types/pc/input/index.d.ts +8 -0
- package/types/pc/input/interface.d.ts +344 -0
- package/types/pc/input-number/decimal.d.ts +21 -0
- package/types/pc/input-number/interface.d.ts +141 -0
- package/types/pc/input-number/util.d.ts +28 -0
- package/types/pc/input-tag/interface.d.ts +215 -0
- package/types/pc/layout/interface.d.ts +121 -0
- package/types/pc/link/interface.d.ts +30 -0
- package/types/pc/list/interface.d.ts +192 -0
- package/types/pc/mentions/interface.d.ts +92 -0
- package/types/pc/menu/context.d.ts +15 -0
- package/types/pc/menu/interface.d.ts +233 -0
- package/types/pc/message/interface.d.ts +84 -0
- package/types/pc/modal/interface.d.ts +186 -0
- package/types/pc/notification/interface.d.ts +78 -0
- package/types/pc/page-header/interface.d.ts +49 -0
- package/types/pc/pagination/PageItem.d.ts +63 -0
- package/types/pc/pagination/interface.d.ts +134 -0
- package/types/pc/popconfirm/interface.d.ts +114 -0
- package/types/pc/popover/interface.d.ts +20 -0
- package/types/pc/portal/Portal.d.ts +8 -0
- package/types/pc/portal/index.d.ts +11 -0
- package/types/pc/progress/interface.d.ts +92 -0
- package/types/pc/radio/interface.d.ts +103 -0
- package/types/pc/rate/interface.d.ts +70 -0
- package/types/pc/resize-box/ResizeTrigger.d.ts +31 -0
- package/types/pc/resize-box/interface.d.ts +264 -0
- package/types/pc/result/interface.d.ts +35 -0
- package/types/pc/select/interface.d.ts +321 -0
- package/types/pc/select/util.d.ts +26 -0
- package/types/pc/select-view/interface.d.ts +151 -0
- package/types/pc/skeleton/interface.d.ts +50 -0
- package/types/pc/slider/interface.d.ts +122 -0
- package/types/pc/space/index.d.ts +5 -0
- package/types/pc/space/interface.d.ts +10 -0
- package/types/pc/space-/index.d.ts +6 -0
- package/types/pc/space-/interface.d.ts +38 -0
- package/types/pc/space-/toArray.d.ts +3 -0
- package/types/pc/spin/interface.d.ts +50 -0
- package/types/pc/statistic/interface.d.ts +139 -0
- package/types/pc/steps/interface.d.ts +124 -0
- package/types/pc/switch/interface.d.ts +65 -0
- package/types/pc/table/hook/useThResizable.d.ts +7 -0
- package/types/pc/table/interface.d.ts +715 -0
- package/types/pc/table/util.d.ts +17 -0
- package/types/pc/tabs/interface.d.ts +217 -0
- package/types/pc/tag/interface.d.ts +76 -0
- package/types/pc/time-picker/interface.d.ts +244 -0
- package/types/pc/timeline/interface.d.ts +95 -0
- package/types/pc/tooltip/interface.d.ts +92 -0
- package/types/pc/transfer/interface.d.ts +225 -0
- package/types/pc/tree/interface.d.ts +354 -0
- package/types/pc/tree-select/interface.d.ts +211 -0
- package/types/pc/trigger/interface.d.ts +247 -0
- package/types/pc/typography/interface.d.ts +262 -0
- package/types/pc/upload/interface.d.ts +337 -0
- package/types/pc/utils/PqbCSSTransition.d.ts +3 -0
- package/types/pc/utils/caseName.d.ts +3 -0
- package/types/pc/utils/className.d.ts +3 -0
- package/types/pc/utils/computeScrollIntoView.d.ts +1 -0
- package/types/pc/utils/constant.d.ts +4 -0
- package/types/pc/utils/copy.d.ts +3 -0
- package/types/pc/utils/dayjs.d.ts +1 -0
- package/types/pc/utils/dom.d.ts +1 -0
- package/types/pc/utils/fileToURL.d.ts +3 -0
- package/types/pc/utils/fillNBSP.d.ts +3 -0
- package/types/pc/utils/getHighlightText.d.ts +3 -0
- package/types/pc/utils/getHotkeyHandler.d.ts +4 -0
- package/types/pc/utils/getStringLength.d.ts +3 -0
- package/types/pc/utils/include.d.ts +3 -0
- package/types/pc/utils/is.d.ts +1 -0
- package/types/pc/utils/keyboardCode.d.ts +4 -0
- package/types/pc/utils/lodash.d.ts +1 -0
- package/types/pc/utils/math.d.ts +1 -0
- package/types/pc/utils/mergeProps.d.ts +3 -0
- package/types/pc/utils/mergedToString.d.ts +3 -0
- package/types/pc/utils/names.d.ts +505 -0
- package/types/pc/utils/omit.d.ts +3 -0
- package/types/pc/utils/pad.d.ts +1 -0
- package/types/pc/utils/pick.d.ts +3 -0
- package/types/pc/utils/react19Adapter.d.ts +1 -0
- package/types/pc/utils/reactDOM.d.ts +1 -0
- package/types/pc/utils/reactTransitionGroup.d.ts +1 -0
- package/types/pc/utils/resizeObserverEffect.d.ts +2 -0
- package/types/pc/utils/saveAs.d.ts +3 -0
- package/types/pc/utils/screenfull.d.ts +3 -0
- package/types/pc/utils/scrollIntoView.d.ts +3 -0
- package/types/pc/utils/setDarkTheme.d.ts +3 -0
- package/types/pc/utils/setPrimaryColor.d.ts +2 -0
- package/types/pc/utils/setTheme.d.ts +2 -0
- package/types/pc/utils/style.d.ts +1 -0
- package/types/pc/utils/throttleByRaf.d.ts +1 -0
- package/types/pc/utils/throttleByRaf2.d.ts +1 -0
- package/types/pc/utils/tinycolor.d.ts +1 -0
- package/types/pc/utils/tween.d.ts +1 -0
- package/types/pc/utils/type.d.ts +1 -0
- package/types/pc/utils/uuid.d.ts +1 -0
- package/types/pc/utils/warning.d.ts +1 -0
- package/types/pc/verification-code/interface.d.ts +80 -0
- package/types/pc/virtual-list/Filler.d.ts +15 -0
- package/types/pc/virtual-list/VirtualList.d.ts +40 -0
- package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
- package/types/pc/virtual-list/util/item.d.ts +75 -0
- package/types/pc/watermark/interface.d.ts +70 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +12 -10
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/constant.js +5 -5
- package/utils/contextHolder.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/index.js +20 -20
- package/utils/names.js +4 -0
- package/utils/setPrimaryColor.js +14 -14
- package/utils/setTheme.js +3 -3
- package/utils/tween.js +1 -1
- package/utils/type.js +1 -4
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BZ9g7J4R.js +0 -178
- package/chunk/BmulTYLW.js +0 -7815
- package/chunk/C9oo3EJI.js +0 -692
- package/chunk/CVSWh4ZZ.js +0 -473
- package/chunk/DILUZgXW.js +0 -1464
- package/chunk/DSRHFFrc.js +0 -53
- package/chunk/DdJVL_4g.js +0 -570
- package/chunk/DlHiTTJO.js +0 -648
- package/chunk/R-uQJib2.js +0 -843
- package/chunk/ev6oHWqY.js +0 -257
- package/chunk/tamGhTJp.js +0 -186
- package/chunk/uKZyjtff.js +0 -73
- package/form/useForm.js +0 -53
- package/space/toArray.js +0 -11
- package/types/affix/interface.d.ts +0 -12
- package/types/affix/style/index.d.ts +0 -2
- package/types/alert/interface.d.ts +0 -17
- package/types/alert/style/index.d.ts +0 -2
- package/types/anchor/interface.d.ts +0 -24
- package/types/anchor/style/index.d.ts +0 -3
- package/types/anchor/util.d.ts +0 -5
- package/types/auto-complete/interface.d.ts +0 -36
- package/types/auto-complete/style/index.d.ts +0 -4
- package/types/avatar/interface.d.ts +0 -24
- package/types/avatar/style/index.d.ts +0 -3
- package/types/back-top/interface.d.ts +0 -11
- package/types/back-top/style/index.d.ts +0 -2
- package/types/badge/interface.d.ts +0 -18
- package/types/badge/style/index.d.ts +0 -2
- package/types/breadcrumb/interface.d.ts +0 -31
- package/types/breadcrumb/style/index.d.ts +0 -3
- package/types/button/index.d.ts +0 -19
- package/types/button/interface.d.ts +0 -37
- package/types/button/style/index.d.ts +0 -2
- package/types/calendar/hook/useCellClassName.d.ts +0 -2
- package/types/calendar/interface.d.ts +0 -41
- package/types/calendar/style/index.d.ts +0 -4
- package/types/card/interface.d.ts +0 -32
- package/types/card/style/index.d.ts +0 -3
- package/types/carousel/interface.d.ts +0 -52
- package/types/carousel/style/index.d.ts +0 -2
- package/types/cascader/base/node.d.ts +0 -48
- package/types/cascader/base/store.d.ts +0 -26
- package/types/cascader/interface.d.ts +0 -105
- package/types/cascader/style/index.d.ts +0 -6
- package/types/checkbox/interface.d.ts +0 -36
- package/types/checkbox/style/index.d.ts +0 -2
- package/types/checkbox/useCheckbox.d.ts +0 -13
- package/types/collapse/interface.d.ts +0 -27
- package/types/collapse/style/index.d.ts +0 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +0 -34
- package/types/color-picker/interface.d.ts +0 -61
- package/types/color-picker/style/index.d.ts +0 -4
- package/types/comment/interface.d.ts +0 -14
- package/types/comment/style/index.d.ts +0 -2
- package/types/config-provider/interface.d.ts +0 -170
- package/types/config-provider/style/index.d.ts +0 -2
- package/types/copy/style/index.d.ts +0 -3
- package/types/date-picker/RangePicker.d.ts +0 -3
- package/types/date-picker/hook/useCellClassName.d.ts +0 -2
- package/types/date-picker/interface.d.ts +0 -167
- package/types/date-picker/style/index.d.ts +0 -7
- package/types/descriptions/interface.d.ts +0 -29
- package/types/descriptions/style/index.d.ts +0 -2
- package/types/divider/interface.d.ts +0 -8
- package/types/divider/style/index.d.ts +0 -2
- package/types/draggable/interface.d.ts +0 -22
- package/types/draggable/style/index.d.ts +0 -2
- package/types/drawer/interface.d.ts +0 -46
- package/types/drawer/style/index.d.ts +0 -3
- package/types/dropdown/interface.d.ts +0 -29
- package/types/dropdown/style/index.d.ts +0 -4
- package/types/empty/index.d.ts +0 -5
- package/types/empty/interface.d.ts +0 -8
- package/types/empty/style/index.d.ts +0 -2
- package/types/form/Control.d.ts +0 -56
- package/types/form/FormList.d.ts +0 -6
- package/types/form/hook/useContext.d.ts +0 -7
- package/types/form/index.d.ts +0 -25
- package/types/form/interface.d.ts +0 -228
- package/types/form/store.d.ts +0 -88
- package/types/form/style/index.d.ts +0 -3
- package/types/form/useForm.d.ts +0 -4
- package/types/grid/interface.d.ts +0 -76
- package/types/grid/style/index.d.ts +0 -2
- package/types/hooks/use-verification-code/interface.d.ts +0 -22
- package/types/hooks/use-watermark/interface.d.ts +0 -22
- package/types/hooks/useComputedState.d.ts +0 -1
- package/types/hooks/useCreate.d.ts +0 -1
- package/types/hooks/useForceUpdate.d.ts +0 -1
- package/types/hooks/useId.d.ts +0 -1
- package/types/hooks/useInView.d.ts +0 -1
- package/types/hooks/useIntersectionObserver.d.ts +0 -1
- package/types/hooks/useInterval.d.ts +0 -1
- package/types/hooks/useIsFirstRender.d.ts +0 -1
- package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
- package/types/hooks/useKeyboardEvent.d.ts +0 -1
- package/types/hooks/useListenResize.d.ts +0 -1
- package/types/hooks/useMedia.d.ts +0 -1
- package/types/hooks/useMergeProps.d.ts +0 -1
- package/types/hooks/useMergeValue.d.ts +0 -1
- package/types/hooks/useOnlineStatus.d.ts +0 -1
- package/types/hooks/useOverflowHidden.d.ts +0 -1
- package/types/hooks/useOverrideRef.d.ts +0 -1
- package/types/hooks/usePersistCallback.d.ts +0 -1
- package/types/hooks/usePrefersColorSchemeDark.d.ts +0 -1
- package/types/hooks/usePrevious.d.ts +0 -1
- package/types/hooks/useRefs.d.ts +0 -1
- package/types/hooks/useResizeObserver.d.ts +0 -1
- package/types/hooks/useStateCallback.d.ts +0 -1
- package/types/hooks/useStateWithPromise.d.ts +0 -1
- package/types/hooks/useUpdateEffect.d.ts +0 -1
- package/types/hooks/useWatch.d.ts +0 -1
- package/types/hooks/useWindowSize.d.ts +0 -1
- package/types/icon/style/index.d.ts +0 -2
- package/types/icon-hover/style/index.d.ts +0 -2
- package/types/image/interface.d.ts +0 -59
- package/types/image/style/index.d.ts +0 -2
- package/types/index.d.ts +0 -149
- package/types/input/Input.d.ts +0 -27
- package/types/input/Textarea.d.ts +0 -9
- package/types/input/index.d.ts +0 -8
- package/types/input/interface.d.ts +0 -100
- package/types/input/style/index.d.ts +0 -3
- package/types/input-number/decimal.d.ts +0 -16
- package/types/input-number/interface.d.ts +0 -37
- package/types/input-number/style/index.d.ts +0 -3
- package/types/input-number/util.d.ts +0 -13
- package/types/input-tag/interface.d.ts +0 -60
- package/types/input-tag/style/index.d.ts +0 -3
- package/types/layout/interface.d.ts +0 -39
- package/types/layout/style/index.d.ts +0 -4
- package/types/link/interface.d.ts +0 -9
- package/types/link/style/index.d.ts +0 -2
- package/types/list/interface.d.ts +0 -57
- package/types/list/style/index.d.ts +0 -6
- package/types/loading/style/index.d.ts +0 -2
- package/types/mentions/interface.d.ts +0 -26
- package/types/mentions/style/index.d.ts +0 -2
- package/types/menu/context.d.ts +0 -15
- package/types/menu/interface.d.ts +0 -77
- package/types/menu/style/index.d.ts +0 -4
- package/types/message/interface.d.ts +0 -31
- package/types/message/style/index.d.ts +0 -2
- package/types/modal/interface.d.ts +0 -57
- package/types/modal/style/index.d.ts +0 -3
- package/types/notice/style/index.d.ts +0 -2
- package/types/notification/interface.d.ts +0 -27
- package/types/notification/style/index.d.ts +0 -2
- package/types/page-header/interface.d.ts +0 -14
- package/types/page-header/style/index.d.ts +0 -3
- package/types/pagination/PageItem.d.ts +0 -52
- package/types/pagination/interface.d.ts +0 -35
- package/types/pagination/style/index.d.ts +0 -4
- package/types/picker/style/index.d.ts +0 -2
- package/types/popconfirm/interface.d.ts +0 -28
- package/types/popconfirm/style/index.d.ts +0 -5
- package/types/popover/interface.d.ts +0 -8
- package/types/popover/style/index.d.ts +0 -3
- package/types/portal/Portal.d.ts +0 -7
- package/types/portal/index.d.ts +0 -10
- package/types/portal/style/index.d.ts +0 -2
- package/types/progress/interface.d.ts +0 -22
- package/types/progress/style/index.d.ts +0 -3
- package/types/radio/interface.d.ts +0 -39
- package/types/radio/style/index.d.ts +0 -2
- package/types/rate/interface.d.ts +0 -17
- package/types/rate/style/index.d.ts +0 -3
- package/types/resize-box/ResizeTrigger.d.ts +0 -25
- package/types/resize-box/interface.d.ts +0 -73
- package/types/resize-box/style/index.d.ts +0 -2
- package/types/result/interface.d.ts +0 -11
- package/types/result/style/index.d.ts +0 -2
- package/types/select/interface.d.ts +0 -103
- package/types/select/style/index.d.ts +0 -6
- package/types/select/util.d.ts +0 -25
- package/types/select-view/interface.d.ts +0 -62
- package/types/select-view/style/index.d.ts +0 -2
- package/types/skeleton/interface.d.ts +0 -24
- package/types/skeleton/style/index.d.ts +0 -2
- package/types/slider/interface.d.ts +0 -32
- package/types/slider/style/index.d.ts +0 -5
- package/types/space/index.d.ts +0 -7
- package/types/space/interface.d.ts +0 -12
- package/types/space/style/index.d.ts +0 -2
- package/types/space/toArray.d.ts +0 -2
- package/types/spin/interface.d.ts +0 -14
- package/types/spin/style/index.d.ts +0 -2
- package/types/statistic/interface.d.ts +0 -33
- package/types/statistic/style/index.d.ts +0 -3
- package/types/steps/interface.d.ts +0 -42
- package/types/steps/style/index.d.ts +0 -2
- package/types/switch/interface.d.ts +0 -17
- package/types/switch/style/index.d.ts +0 -2
- package/types/table/hook/useThResizable.d.ts +0 -7
- package/types/table/interface.d.ts +0 -301
- package/types/table/style/index.d.ts +0 -12
- package/types/table/util.d.ts +0 -17
- package/types/tabs/interface.d.ts +0 -66
- package/types/tabs/style/index.d.ts +0 -3
- package/types/tag/interface.d.ts +0 -23
- package/types/tag/style/index.d.ts +0 -2
- package/types/time-picker/interface.d.ts +0 -62
- package/types/time-picker/style/index.d.ts +0 -5
- package/types/timeline/interface.d.ts +0 -26
- package/types/timeline/style/index.d.ts +0 -2
- package/types/tooltip/interface.d.ts +0 -23
- package/types/tooltip/style/index.d.ts +0 -3
- package/types/transfer/interface.d.ts +0 -91
- package/types/transfer/style/index.d.ts +0 -6
- package/types/tree/interface.d.ts +0 -153
- package/types/tree/style/index.d.ts +0 -3
- package/types/tree-select/interface.d.ts +0 -79
- package/types/tree-select/style/index.d.ts +0 -5
- package/types/trigger/interface.d.ts +0 -73
- package/types/trigger/style/index.d.ts +0 -2
- package/types/typography/interface.d.ts +0 -97
- package/types/typography/style/index.d.ts +0 -5
- package/types/upload/interface.d.ts +0 -126
- package/types/upload/style/index.d.ts +0 -6
- package/types/utils/PqbCSSTransition.d.ts +0 -3
- package/types/utils/caseName.d.ts +0 -3
- package/types/utils/className.d.ts +0 -3
- package/types/utils/constant.d.ts +0 -4
- package/types/utils/copy.d.ts +0 -3
- package/types/utils/dayjs.d.ts +0 -1
- package/types/utils/dom.d.ts +0 -1
- package/types/utils/fileToURL.d.ts +0 -3
- package/types/utils/fillNBSP.d.ts +0 -3
- package/types/utils/getHighlightText.d.ts +0 -3
- package/types/utils/getHotkeyHandler.d.ts +0 -3
- package/types/utils/getStringLength.d.ts +0 -3
- package/types/utils/include.d.ts +0 -3
- package/types/utils/is.d.ts +0 -1
- package/types/utils/lodash.d.ts +0 -1
- package/types/utils/mergeProps.d.ts +0 -3
- package/types/utils/mergedToString.d.ts +0 -3
- package/types/utils/names.d.ts +0 -499
- package/types/utils/omit.d.ts +0 -3
- package/types/utils/pad.d.ts +0 -1
- package/types/utils/pick.d.ts +0 -3
- package/types/utils/react19Adapter.d.ts +0 -1
- package/types/utils/reactDOM.d.ts +0 -1
- package/types/utils/resizeObserverEffect.d.ts +0 -2
- package/types/utils/saveAs.d.ts +0 -3
- package/types/utils/screenfull.d.ts +0 -3
- package/types/utils/scrollIntoView.d.ts +0 -3
- package/types/utils/style.d.ts +0 -1
- package/types/utils/throttleByRaf.d.ts +0 -1
- package/types/utils/throttleByRaf2.d.ts +0 -1
- package/types/utils/warning.d.ts +0 -1
- package/types/verification-code/interface.d.ts +0 -25
- package/types/verification-code/style/index.d.ts +0 -3
- package/types/virtual-list/Filler.d.ts +0 -10
- package/types/virtual-list/VirtualList.d.ts +0 -39
- package/types/virtual-list/style/index.d.ts +0 -2
- package/types/virtual-list/util/algorithm.d.ts +0 -6
- package/types/virtual-list/util/item.d.ts +0 -44
- package/types/watermark/interface.d.ts +0 -21
- package/types/watermark/style/index.d.ts +0 -1
- /package/types/{utils → common/utils}/computeScrollIntoView.d.ts +0 -0
- /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
- /package/types/{utils → common/utils}/math.d.ts +0 -0
- /package/types/{utils → common/utils}/reactTransitionGroup.d.ts +0 -0
- /package/types/{utils → common/utils}/setDarkTheme.d.ts +0 -0
- /package/types/{utils → common/utils}/setPrimaryColor.d.ts +0 -0
- /package/types/{utils → common/utils}/setTheme.d.ts +0 -0
- /package/types/{utils → common/utils}/tinycolor.d.ts +0 -0
- /package/types/{utils → common/utils}/tween.d.ts +0 -0
- /package/types/{utils → common/utils}/type.d.ts +0 -0
- /package/types/{utils → common/utils}/uuid.d.ts +0 -0
- /package/types/{affix → pc/affix}/index.d.ts +0 -0
- /package/types/{alert → pc/alert}/index.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/Anchor.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/Link.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/context.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/index.d.ts +0 -0
- /package/types/{auto-complete → pc/auto-complete}/index.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/Avatar.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/Group.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/context.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/index.d.ts +0 -0
- /package/types/{back-top → pc/back-top}/index.d.ts +0 -0
- /package/types/{badge → pc/badge}/Count.d.ts +0 -0
- /package/types/{badge → pc/badge}/index.d.ts +0 -0
- /package/types/{breadcrumb → pc/breadcrumb}/Item.d.ts +0 -0
- /package/types/{breadcrumb → pc/breadcrumb}/index.d.ts +0 -0
- /package/types/{button → pc/button}/Group.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/Month.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/WeekList.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/Year.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/header/Panel.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/header/index.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/index.d.ts +0 -0
- /package/types/{card → pc/card}/Grid.d.ts +0 -0
- /package/types/{card → pc/card}/Meta.d.ts +0 -0
- /package/types/{card → pc/card}/index.d.ts +0 -0
- /package/types/{carousel → pc/carousel}/Arrow.d.ts +0 -0
- /package/types/{carousel → pc/carousel}/Indicator.d.ts +0 -0
- /package/types/{carousel → pc/carousel}/index.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/Cascader.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/hook/useRefCurrent.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/index.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/panel/List.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/panel/Option.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/panel/Search.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/util.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/Checkbox.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/Group.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/GroupBlock.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/IconCheck.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/index.d.ts +0 -0
- /package/types/{collapse → pc/collapse}/Collapse.d.ts +0 -0
- /package/types/{collapse → pc/collapse}/Item.d.ts +0 -0
- /package/types/{collapse → pc/collapse}/index.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/ControlBar.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/InputAlpha.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/InputHex.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/InputRgb.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/Mode.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/Palette.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/Panel.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/colors.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/hooks/useControlBlock.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/index.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/utils.d.ts +0 -0
- /package/types/{comment → pc/comment}/index.d.ts +0 -0
- /package/types/{config-provider → pc/config-provider}/ConfigProvider.d.ts +0 -0
- /package/types/{config-provider → pc/config-provider}/context.d.ts +0 -0
- /package/types/{config-provider → pc/config-provider}/index.d.ts +0 -0
- /package/types/{copy → pc/copy}/index.d.ts +0 -0
- /package/types/{copy → pc/copy}/interface.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/Picker.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/context.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Body.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Footer.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Header.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Shortcut.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/WeekList.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/date/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/month/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/quarter/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/range/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/week/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/year/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/util.d.ts +0 -0
- /package/types/{descriptions → pc/descriptions}/index.d.ts +0 -0
- /package/types/{divider → pc/divider}/index.d.ts +0 -0
- /package/types/{draggable → pc/draggable}/Item.d.ts +0 -0
- /package/types/{draggable → pc/draggable}/index.d.ts +0 -0
- /package/types/{drawer → pc/drawer}/Drawer.d.ts +0 -0
- /package/types/{drawer → pc/drawer}/index.d.ts +0 -0
- /package/types/{dropdown → pc/dropdown}/Button.d.ts +0 -0
- /package/types/{dropdown → pc/dropdown}/index.d.ts +0 -0
- /package/types/{form → pc/form}/Form.d.ts +0 -0
- /package/types/{form → pc/form}/FormItem.d.ts +0 -0
- /package/types/{form → pc/form}/FormLabel.d.ts +0 -0
- /package/types/{form → pc/form}/FormProvider.d.ts +0 -0
- /package/types/{form → pc/form}/IconSymbol.d.ts +0 -0
- /package/types/{form → pc/form}/context.d.ts +0 -0
- /package/types/{form → pc/form}/hook/useState.d.ts +0 -0
- /package/types/{form → pc/form}/hook/useWatch.d.ts +0 -0
- /package/types/{form → pc/form}/promisify.d.ts +0 -0
- /package/types/{form → pc/form}/util.d.ts +0 -0
- /package/types/{grid → pc/grid}/Col.d.ts +0 -0
- /package/types/{grid → pc/grid}/Row.d.ts +0 -0
- /package/types/{grid → pc/grid}/context.d.ts +0 -0
- /package/types/{grid → pc/grid}/grid-item.d.ts +0 -0
- /package/types/{grid → pc/grid}/grid.d.ts +0 -0
- /package/types/{grid → pc/grid}/hook/useResponsiveState.d.ts +0 -0
- /package/types/{grid → pc/grid}/index.d.ts +0 -0
- /package/types/{grid → pc/grid}/util.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/index.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/use-verification-code/index.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/use-watermark/index.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/use-watermark/utils.d.ts +0 -0
- /package/types/{icon → pc/icon}/addFromIconFontCn.d.ts +0 -0
- /package/types/{icon → pc/icon}/index.d.ts +0 -0
- /package/types/{icon-hover → pc/icon-hover}/index.d.ts +0 -0
- /package/types/{icons.d.ts → pc/icons.d.ts} +0 -0
- /package/types/{image → pc/image}/Image.d.ts +0 -0
- /package/types/{image → pc/image}/ImageFooter.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreview.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreviewArrow.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreviewGroup.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreviewToolbar.d.ts +0 -0
- /package/types/{image → pc/image}/TriggerForToolbar.d.ts +0 -0
- /package/types/{image → pc/image}/index.d.ts +0 -0
- /package/types/{image → pc/image}/previewGroupContext.d.ts +0 -0
- /package/types/{image → pc/image}/util/getFixTranslate.d.ts +0 -0
- /package/types/{image → pc/image}/util/getScale.d.ts +0 -0
- /package/types/{image → pc/image}/util/hook/useImageStatus.d.ts +0 -0
- /package/types/{image → pc/image}/util/hook/useShowFooter.d.ts +0 -0
- /package/types/{input → pc/input}/Button.d.ts +0 -0
- /package/types/{input → pc/input}/Group.d.ts +0 -0
- /package/types/{input → pc/input}/InputElement.d.ts +0 -0
- /package/types/{input → pc/input}/Number.d.ts +0 -0
- /package/types/{input → pc/input}/Password.d.ts +0 -0
- /package/types/{input → pc/input}/Search.d.ts +0 -0
- /package/types/{input → pc/input}/Tag.d.ts +0 -0
- /package/types/{input → pc/input}/autoSizeTextAreaHeight.d.ts +0 -0
- /package/types/{input → pc/input}/useComposition.d.ts +0 -0
- /package/types/{input-number → pc/input-number}/index.d.ts +0 -0
- /package/types/{input-number → pc/input-number}/useSelectionRange.d.ts +0 -0
- /package/types/{input-tag → pc/input-tag}/InputTag.d.ts +0 -0
- /package/types/{input-tag → pc/input-tag}/index.d.ts +0 -0
- /package/types/{layout → pc/layout}/Content.d.ts +0 -0
- /package/types/{layout → pc/layout}/Footer.d.ts +0 -0
- /package/types/{layout → pc/layout}/Header.d.ts +0 -0
- /package/types/{layout → pc/layout}/Sider.d.ts +0 -0
- /package/types/{layout → pc/layout}/index.d.ts +0 -0
- /package/types/{link → pc/link}/index.d.ts +0 -0
- /package/types/{list → pc/list}/Item.d.ts +0 -0
- /package/types/{list → pc/list}/Meta.d.ts +0 -0
- /package/types/{list → pc/list}/index.d.ts +0 -0
- /package/types/{loading → pc/loading}/index.d.ts +0 -0
- /package/types/{locale → pc/locale}/ar-EG.d.ts +0 -0
- /package/types/{locale → pc/locale}/de-DE.d.ts +0 -0
- /package/types/{locale → pc/locale}/default.d.ts +0 -0
- /package/types/{locale → pc/locale}/en-US.d.ts +0 -0
- /package/types/{locale → pc/locale}/es-ES.d.ts +0 -0
- /package/types/{locale → pc/locale}/fr-FR.d.ts +0 -0
- /package/types/{locale → pc/locale}/id-ID.d.ts +0 -0
- /package/types/{locale → pc/locale}/interface.d.ts +0 -0
- /package/types/{locale → pc/locale}/it-IT.d.ts +0 -0
- /package/types/{locale → pc/locale}/ja-JP.d.ts +0 -0
- /package/types/{locale → pc/locale}/ko-KR.d.ts +0 -0
- /package/types/{locale → pc/locale}/ms-MY.d.ts +0 -0
- /package/types/{locale → pc/locale}/pt-BR.d.ts +0 -0
- /package/types/{locale → pc/locale}/pt-PT.d.ts +0 -0
- /package/types/{locale → pc/locale}/ru-RU.d.ts +0 -0
- /package/types/{locale → pc/locale}/th-TH.d.ts +0 -0
- /package/types/{locale → pc/locale}/tr-TR.d.ts +0 -0
- /package/types/{locale → pc/locale}/vi-VN.d.ts +0 -0
- /package/types/{locale → pc/locale}/zh-CN.d.ts +0 -0
- /package/types/{locale → pc/locale}/zh-HK.d.ts +0 -0
- /package/types/{locale → pc/locale}/zh-TW.d.ts +0 -0
- /package/types/{mentions → pc/mentions}/index.d.ts +0 -0
- /package/types/{mentions → pc/mentions}/util.d.ts +0 -0
- /package/types/{menu → pc/menu}/Indent.d.ts +0 -0
- /package/types/{menu → pc/menu}/Item.d.ts +0 -0
- /package/types/{menu → pc/menu}/ItemGroup.d.ts +0 -0
- /package/types/{menu → pc/menu}/Menu.d.ts +0 -0
- /package/types/{menu → pc/menu}/OverflowWrap.d.ts +0 -0
- /package/types/{menu → pc/menu}/index.d.ts +0 -0
- /package/types/{menu → pc/menu}/sub-menu/Inline.d.ts +0 -0
- /package/types/{menu → pc/menu}/sub-menu/Pop.d.ts +0 -0
- /package/types/{menu → pc/menu}/sub-menu/index.d.ts +0 -0
- /package/types/{menu → pc/menu}/util.d.ts +0 -0
- /package/types/{message → pc/message}/index.d.ts +0 -0
- /package/types/{message → pc/message}/useMessage.d.ts +0 -0
- /package/types/{modal → pc/modal}/Confirm.d.ts +0 -0
- /package/types/{modal → pc/modal}/Modal.d.ts +0 -0
- /package/types/{modal → pc/modal}/config.d.ts +0 -0
- /package/types/{modal → pc/modal}/index.d.ts +0 -0
- /package/types/{modal → pc/modal}/use-modal/Hook.d.ts +0 -0
- /package/types/{modal → pc/modal}/use-modal/index.d.ts +0 -0
- /package/types/{notice → pc/notice}/index.d.ts +0 -0
- /package/types/{notification → pc/notification}/index.d.ts +0 -0
- /package/types/{notification → pc/notification}/useNotification.d.ts +0 -0
- /package/types/{notification → pc/notification}/withNotification.d.ts +0 -0
- /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/OverflowItem.d.ts +0 -0
- /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/index.d.ts +0 -0
- /package/types/{page-header → pc/page-header}/index.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/PageJumper.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/PageOption.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/Pagination.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/index.d.ts +0 -0
- /package/types/{picker → pc/picker}/Input.d.ts +0 -0
- /package/types/{picker → pc/picker}/InputRange.d.ts +0 -0
- /package/types/{picker → pc/picker}/index.d.ts +0 -0
- /package/types/{popconfirm → pc/popconfirm}/index.d.ts +0 -0
- /package/types/{popover → pc/popover}/index.d.ts +0 -0
- /package/types/{progress → pc/progress}/CircleProgress.d.ts +0 -0
- /package/types/{progress → pc/progress}/LineProgess.d.ts +0 -0
- /package/types/{progress → pc/progress}/StepProgress.d.ts +0 -0
- /package/types/{progress → pc/progress}/index.d.ts +0 -0
- /package/types/{radio → pc/radio}/Group.d.ts +0 -0
- /package/types/{radio → pc/radio}/GroupBlock.d.ts +0 -0
- /package/types/{radio → pc/radio}/Radio.d.ts +0 -0
- /package/types/{radio → pc/radio}/index.d.ts +0 -0
- /package/types/{rate → pc/rate}/index.d.ts +0 -0
- /package/types/{resize-box → pc/resize-box}/Split.d.ts +0 -0
- /package/types/{resize-box → pc/resize-box}/SplitGroup.d.ts +0 -0
- /package/types/{resize-box → pc/resize-box}/index.d.ts +0 -0
- /package/types/{result → pc/result}/403.d.ts +0 -0
- /package/types/{result → pc/result}/404.d.ts +0 -0
- /package/types/{result → pc/result}/500.d.ts +0 -0
- /package/types/{result → pc/result}/index.d.ts +0 -0
- /package/types/{select → pc/select}/OptGroup.d.ts +0 -0
- /package/types/{select → pc/select}/Option.d.ts +0 -0
- /package/types/{select → pc/select}/Select.d.ts +0 -0
- /package/types/{select → pc/select}/index.d.ts +0 -0
- /package/types/{select-view → pc/select-view}/Core.d.ts +0 -0
- /package/types/{select-view → pc/select-view}/index.d.ts +0 -0
- /package/types/{skeleton → pc/skeleton}/Image.d.ts +0 -0
- /package/types/{skeleton → pc/skeleton}/Text.d.ts +0 -0
- /package/types/{skeleton → pc/skeleton}/index.d.ts +0 -0
- /package/types/{slider → pc/slider}/Button.d.ts +0 -0
- /package/types/{slider → pc/slider}/Dot.d.ts +0 -0
- /package/types/{slider → pc/slider}/Input.d.ts +0 -0
- /package/types/{slider → pc/slider}/Mark.d.ts +0 -0
- /package/types/{slider → pc/slider}/Tick.d.ts +0 -0
- /package/types/{slider → pc/slider}/hook/useInterval.d.ts +0 -0
- /package/types/{slider → pc/slider}/hook/useLegalValue.d.ts +0 -0
- /package/types/{slider → pc/slider}/index.d.ts +0 -0
- /package/types/{slider → pc/slider}/util.d.ts +0 -0
- /package/types/{speech-synthesis → pc/speech-synthesis}/index.d.ts +0 -0
- /package/types/{speech-synthesis → pc/speech-synthesis}/style/index.d.ts +0 -0
- /package/types/{spin → pc/spin}/DotLoading.d.ts +0 -0
- /package/types/{spin → pc/spin}/index.d.ts +0 -0
- /package/types/{statistic → pc/statistic}/Countdown.d.ts +0 -0
- /package/types/{statistic → pc/statistic}/index.d.ts +0 -0
- /package/types/{statistic → pc/statistic}/util.d.ts +0 -0
- /package/types/{steps → pc/steps}/Step.d.ts +0 -0
- /package/types/{steps → pc/steps}/index.d.ts +0 -0
- /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/index.d.ts +0 -0
- /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/style/index.d.ts +0 -0
- /package/types/{switch → pc/switch}/index.d.ts +0 -0
- /package/types/{table → pc/table}/ColGroup.d.ts +0 -0
- /package/types/{table → pc/table}/Table.d.ts +0 -0
- /package/types/{table → pc/table}/constant.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useColumns.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useComponent.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useExpand.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useRowSelection.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useSorter.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useStickyClassNames.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useStickyOffsets.d.ts +0 -0
- /package/types/{table → pc/table}/index.d.ts +0 -0
- /package/types/{table → pc/table}/summary/Cell.d.ts +0 -0
- /package/types/{table → pc/table}/summary/Row.d.ts +0 -0
- /package/types/{table → pc/table}/summary/context.d.ts +0 -0
- /package/types/{table → pc/table}/summary/index.d.ts +0 -0
- /package/types/{table → pc/table}/tbody/Td.d.ts +0 -0
- /package/types/{table → pc/table}/tbody/Tr.d.ts +0 -0
- /package/types/{table → pc/table}/tbody/index.d.ts +0 -0
- /package/types/{table → pc/table}/tfoot/index.d.ts +0 -0
- /package/types/{table → pc/table}/th-resizable/index.d.ts +0 -0
- /package/types/{table → pc/table}/thead/Column.d.ts +0 -0
- /package/types/{table → pc/table}/thead/index.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/Tab.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/TabContent.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/TabPane.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/hook/useDomSize.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/hook/useHeaderScroll.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/index.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/DropdownIcon.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/TabInk.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/TabNavIcon.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/TabTitle.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/index.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/util.d.ts +0 -0
- /package/types/{tag → pc/tag}/index.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/Picker.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/RangePicker.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/TimeColumn.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/TimePicker.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/context.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/index.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/util.d.ts +0 -0
- /package/types/{timeline → pc/timeline}/Item.d.ts +0 -0
- /package/types/{timeline → pc/timeline}/Timeline.d.ts +0 -0
- /package/types/{timeline → pc/timeline}/index.d.ts +0 -0
- /package/types/{tooltip → pc/tooltip}/index.d.ts +0 -0
- /package/types/{transfer → pc/transfer}/Item.d.ts +0 -0
- /package/types/{transfer → pc/transfer}/List.d.ts +0 -0
- /package/types/{transfer → pc/transfer}/index.d.ts +0 -0
- /package/types/{tree → pc/tree}/Animation.d.ts +0 -0
- /package/types/{tree → pc/tree}/Context.d.ts +0 -0
- /package/types/{tree → pc/tree}/Node.d.ts +0 -0
- /package/types/{tree → pc/tree}/NodeList.d.ts +0 -0
- /package/types/{tree → pc/tree}/Tree.d.ts +0 -0
- /package/types/{tree → pc/tree}/index.d.ts +0 -0
- /package/types/{tree → pc/tree}/util.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/List.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/Select.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/hook/useKeyCache.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/hook/useStateValue.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/hook/useTreeData.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/index.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/util.d.ts +0 -0
- /package/types/{trigger → pc/trigger}/getPopupStyle.d.ts +0 -0
- /package/types/{trigger → pc/trigger}/index.d.ts +0 -0
- /package/types/{typography → pc/typography}/Base.d.ts +0 -0
- /package/types/{typography → pc/typography}/EditContent.d.ts +0 -0
- /package/types/{typography → pc/typography}/Ellipsis.d.ts +0 -0
- /package/types/{typography → pc/typography}/Operations.d.ts +0 -0
- /package/types/{typography → pc/typography}/Paragraph.d.ts +0 -0
- /package/types/{typography → pc/typography}/Text.d.ts +0 -0
- /package/types/{typography → pc/typography}/Title.d.ts +0 -0
- /package/types/{typography → pc/typography}/Typography.d.ts +0 -0
- /package/types/{typography → pc/typography}/index.d.ts +0 -0
- /package/types/{typography → pc/typography}/useCssEllipsis.d.ts +0 -0
- /package/types/{typography → pc/typography}/useEllipsis.d.ts +0 -0
- /package/types/{upload → pc/upload}/TriggerNode.d.ts +0 -0
- /package/types/{upload → pc/upload}/Upload.d.ts +0 -0
- /package/types/{upload → pc/upload}/Uploader.d.ts +0 -0
- /package/types/{upload → pc/upload}/index.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/PictureItem.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/TextItem.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/UploadProgress.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/index.d.ts +0 -0
- /package/types/{upload → pc/upload}/request.d.ts +0 -0
- /package/types/{upload → pc/upload}/request_.d.ts +0 -0
- /package/types/{upload → pc/upload}/util.d.ts +0 -0
- /package/types/{utils → pc/utils}/color.d.ts +0 -0
- /package/types/{utils → pc/utils}/contextHolder.d.ts +0 -0
- /package/types/{utils → pc/utils}/index.d.ts +0 -0
- /package/types/{utils → pc/utils}/responsiveObserve.d.ts +0 -0
- /package/types/{utils → pc/utils}/tree.d.ts +0 -0
- /package/types/{utils → pc/utils}/validate.d.ts +0 -0
- /package/types/{verification-code → pc/verification-code}/VerificationCode.d.ts +0 -0
- /package/types/{verification-code → pc/verification-code}/index.d.ts +0 -0
- /package/types/{version → pc/version}/index.d.ts +0 -0
- /package/types/{virtual-list → pc/virtual-list}/index.d.ts +0 -0
- /package/types/{watermark → pc/watermark}/Watermark.d.ts +0 -0
- /package/types/{watermark → pc/watermark}/index.d.ts +0 -0
package/tree/util.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
import o from "react";
|
|
2
|
-
const
|
|
3
|
-
const n = (
|
|
2
|
+
const K = (t) => {
|
|
3
|
+
const n = (a) => o.Children.map(a, (e) => {
|
|
4
4
|
if (!o.isValidElement(e))
|
|
5
5
|
return;
|
|
6
|
-
const
|
|
6
|
+
const i = e.key;
|
|
7
7
|
return {
|
|
8
8
|
...e.props,
|
|
9
|
-
key:
|
|
9
|
+
key: i,
|
|
10
10
|
children: n(e.props.children)
|
|
11
11
|
};
|
|
12
12
|
});
|
|
13
13
|
return n(t);
|
|
14
14
|
};
|
|
15
15
|
function f(t, n) {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
const c = s.key,
|
|
19
|
-
!
|
|
16
|
+
const a = /* @__PURE__ */ new Set(), e = (i) => {
|
|
17
|
+
i.map((s) => {
|
|
18
|
+
const c = s.key, r = n[c];
|
|
19
|
+
!r || r.disabled || r.disableCheckbox || r.checkable === !1 || (a.add(c), e(r.children || []));
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
|
-
return t && e(t.children || []),
|
|
22
|
+
return t && e(t.children || []), a;
|
|
23
23
|
}
|
|
24
|
-
const u = (t, n,
|
|
24
|
+
const u = (t, n, a, e) => {
|
|
25
25
|
[...n[t].pathParentKeys].reverse().some((s) => {
|
|
26
26
|
const c = n[s];
|
|
27
27
|
if (c && !c.disabled && !c.disableCheckbox && c.checkable !== !1) {
|
|
28
|
-
let
|
|
29
|
-
c.children.some(({ key:
|
|
30
|
-
const h = n[
|
|
28
|
+
let r = 0, l = 0;
|
|
29
|
+
c.children.some(({ key: d }) => {
|
|
30
|
+
const h = n[d];
|
|
31
31
|
if (!h || h.disabled || h.disableCheckbox || h.checkable === !1)
|
|
32
32
|
return !1;
|
|
33
|
-
if (
|
|
33
|
+
if (r++, a.has(d))
|
|
34
34
|
l++;
|
|
35
|
-
else if (e.has(
|
|
35
|
+
else if (e.has(d))
|
|
36
36
|
return l += 0.5, !0;
|
|
37
|
-
}), !l || l ===
|
|
37
|
+
}), !l || l === r ? e.delete(s) : e.add(s), l && l === r ? a.add(s) : a.delete(s);
|
|
38
38
|
} else
|
|
39
39
|
return !0;
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
|
-
function
|
|
43
|
-
const
|
|
42
|
+
function S(t, n) {
|
|
43
|
+
const a = new Set(t || []), e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set();
|
|
44
44
|
return t.forEach((s) => {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
i.has(s) || f(n[s], n).forEach((r, l, d) => {
|
|
46
|
+
i.add(r);
|
|
47
47
|
}), n[s] && !n[s].pathParentKeys.some(
|
|
48
|
-
(c) =>
|
|
49
|
-
) && u(s, n,
|
|
48
|
+
(c) => a.has(c)
|
|
49
|
+
) && u(s, n, a, e);
|
|
50
50
|
}), {
|
|
51
|
-
checkedKeys: [.../* @__PURE__ */ new Set([...
|
|
51
|
+
checkedKeys: [.../* @__PURE__ */ new Set([...a, ...i])],
|
|
52
52
|
indeterminateKeys: [...e]
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function m(t, n, a, e, i) {
|
|
56
56
|
if (!e[t])
|
|
57
57
|
return {
|
|
58
|
-
checkedKeys:
|
|
59
|
-
indeterminateKeys:
|
|
58
|
+
checkedKeys: a,
|
|
59
|
+
indeterminateKeys: i
|
|
60
60
|
};
|
|
61
|
-
const s = new Set(
|
|
62
|
-
return n ? (l.add(t), c.delete(t),
|
|
63
|
-
l.add(
|
|
64
|
-
})) : (c.delete(t), l.delete(t),
|
|
65
|
-
l.delete(
|
|
61
|
+
const s = new Set(a), c = new Set(i), r = f(e[t], e), l = s;
|
|
62
|
+
return n ? (l.add(t), c.delete(t), r.forEach((d, h, b) => {
|
|
63
|
+
l.add(d);
|
|
64
|
+
})) : (c.delete(t), l.delete(t), r.forEach((d, h, b) => {
|
|
65
|
+
l.delete(d);
|
|
66
66
|
})), u(t, e, s, c), {
|
|
67
67
|
checkedKeys: [...l],
|
|
68
68
|
indeterminateKeys: [...c]
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
m as getAllCheckedKeysByCheck,
|
|
73
|
+
S as getCheckedKeysByInitKeys,
|
|
74
74
|
f as getChildNodeKeys,
|
|
75
|
-
|
|
75
|
+
K as getTreeDataFromTreeChildren
|
|
76
76
|
};
|
package/tree-select/List.js
CHANGED
package/tree-select/Select.js
CHANGED
|
@@ -5,13 +5,13 @@ import "lodash/isArray";
|
|
|
5
5
|
import "lodash/isFunction";
|
|
6
6
|
import "lodash/isNil";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/B44Hj5ad.js";
|
|
9
9
|
import "../chunk/B4YRLi8r.js";
|
|
10
10
|
import "../chunk/oopARUrq.js";
|
|
11
11
|
import "../chunk/BFTV6myl.js";
|
|
12
12
|
import "../chunk/CXPOj2uy.js";
|
|
13
13
|
import "../select-view/index.js";
|
|
14
|
-
import { v as h, t as j } from "../chunk/
|
|
14
|
+
import { v as h, t as j } from "../chunk/DSXeBMp3.js";
|
|
15
15
|
import "../tree/util.js";
|
|
16
16
|
import "../trigger/index.js";
|
|
17
17
|
import "@unicom-cloud/utils/class-name";
|
package/tree-select/index.js
CHANGED
package/trigger/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as D, jsxs as $e } from "react/jsx-runtime";
|
|
2
2
|
import { c as ut } from "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import ct from "lodash/isArray";
|
|
4
4
|
import S from "lodash/isFunction";
|
|
5
5
|
import { forwardRef as lt, useContext as pt, useRef as R, useState as at, Children as He, useCallback as be, cloneElement as Ie, useImperativeHandle as ft, useLayoutEffect as dt, useEffect as g, Fragment as mt } from "react";
|
|
6
6
|
import { createPortal as gt } from "react-dom";
|
|
7
|
-
import { a as yt } from "../chunk/
|
|
8
|
-
import
|
|
7
|
+
import { a as yt } from "../chunk/B44Hj5ad.js";
|
|
8
|
+
import Y from "@unicom-cloud/utils/class-name";
|
|
9
9
|
import { on as oe, off as ne, getScrollElements as Tt, isScrollElement as Ct, contains as Le } from "../utils/dom.js";
|
|
10
10
|
import { s as ht } from "../chunk/ClM74To2.js";
|
|
11
11
|
import { Esc as Be } from "@unicom-cloud/utils/constant/keyboardCode";
|
|
@@ -19,12 +19,12 @@ import { isPlainObject as ie } from "@unicom-cloud/utils/is";
|
|
|
19
19
|
function St(d, I) {
|
|
20
20
|
if (!d)
|
|
21
21
|
return {};
|
|
22
|
-
const { width: y, height: T, left: C, right:
|
|
22
|
+
const { width: y, height: T, left: C, right: K } = Mt(d, I);
|
|
23
23
|
return {
|
|
24
24
|
width: y,
|
|
25
25
|
height: T,
|
|
26
26
|
left: C,
|
|
27
|
-
right:
|
|
27
|
+
right: K
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
const jt = [
|
|
@@ -66,24 +66,24 @@ const vt = {
|
|
|
66
66
|
};
|
|
67
67
|
function Nt(d, I) {
|
|
68
68
|
var Se, Oe;
|
|
69
|
-
const y = pt(yt), { getPrefixCls: T, zIndex: C, rtl:
|
|
69
|
+
const y = pt(yt), { getPrefixCls: T, zIndex: C, rtl: K } = y, i = c(d), {
|
|
70
70
|
children: se,
|
|
71
71
|
style: A,
|
|
72
72
|
className: ke,
|
|
73
73
|
arrowProps: h,
|
|
74
74
|
disabled: O,
|
|
75
75
|
popup: ue,
|
|
76
|
-
classNames:
|
|
76
|
+
classNames: Q,
|
|
77
77
|
duration: Re,
|
|
78
78
|
unmountOnExit: ce,
|
|
79
79
|
alignPoint: Ae,
|
|
80
80
|
autoAlignPopupWidth: Fe,
|
|
81
81
|
position: ze,
|
|
82
|
-
childrenPrefix:
|
|
82
|
+
childrenPrefix: w,
|
|
83
83
|
showArrow: _e,
|
|
84
84
|
popupStyle: le,
|
|
85
|
-
__onExit:
|
|
86
|
-
__onExited:
|
|
85
|
+
__onExit: W,
|
|
86
|
+
__onExited: X
|
|
87
87
|
} = i;
|
|
88
88
|
if (!ue)
|
|
89
89
|
return null;
|
|
@@ -108,24 +108,24 @@ function Nt(d, I) {
|
|
|
108
108
|
// 保存当前节点到弹出容器间的所有滚动元素
|
|
109
109
|
delayTimeoutID: -1,
|
|
110
110
|
updatePositionTimeoutID: -1
|
|
111
|
-
}), [
|
|
111
|
+
}), [U, N] = at({ popupVisible: !1, popupStyle: {} }), j = i.popupVisible, Ye = U.popupVisible, u = j ?? Ye, l = {}, q = {
|
|
112
112
|
onMouseDown() {
|
|
113
113
|
n.current.hasPopupMouseDown = !0, setTimeout(() => {
|
|
114
114
|
n.current.hasPopupMouseDown = !1;
|
|
115
115
|
}, 0);
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
|
-
V() && !O ? (
|
|
118
|
+
V() && !O ? (l.onMouseEnter = qe, l.onMouseLeave = Ee, Z() && (l.onClick = De), Ae && (l.onMouseMove = Ge), We() || (q.onMouseEnter = Je, q.onMouseLeave = Ze)) : (l.onMouseEnter = x("onMouseEnter"), l.onMouseLeave = x("onMouseLeave")), me() && !O ? (l.onContextMenu = et, l.onClick = De) : l.onContextMenu = x("onContextMenu"), de() && !O ? l.onClick = tt : l.onClick = l.onClick || x("onClick"), J() && !O ? (l.onFocus = ot, ge() && (l.onBlur = nt)) : (l.onFocus = x("onFocus"), l.onBlur = x("onBlur")), O ? l.onKeyDown = x("onKeyDown") : l.onKeyDown = Ue;
|
|
119
119
|
const L = z(), B = He.only(ue());
|
|
120
|
-
L.props.className && (
|
|
121
|
-
const $ = T == null ? void 0 : T("trigger"), Ke =
|
|
120
|
+
L.props.className && (l.className = L.props.className), w && u && (l.className = Y(l.className, `${w}-open`)), J() && (l.tabIndex = O ? -1 : 0);
|
|
121
|
+
const $ = T == null ? void 0 : T("trigger"), Ke = Y(
|
|
122
122
|
$,
|
|
123
|
-
|
|
123
|
+
w,
|
|
124
124
|
`${$}-position-${ze}`,
|
|
125
|
-
{ [`${$}-rtl`]:
|
|
125
|
+
{ [`${$}-rtl`]: K },
|
|
126
126
|
ke
|
|
127
127
|
);
|
|
128
|
-
function
|
|
128
|
+
function c(e) {
|
|
129
129
|
const { componentConfig: t } = y ?? {};
|
|
130
130
|
return Et(
|
|
131
131
|
ie(e) ? e : d,
|
|
@@ -141,43 +141,43 @@ function Nt(d, I) {
|
|
|
141
141
|
);
|
|
142
142
|
return n.current.rootElement = e, e;
|
|
143
143
|
}
|
|
144
|
-
const
|
|
144
|
+
const G = be(
|
|
145
145
|
Ve(() => {
|
|
146
146
|
b();
|
|
147
147
|
}),
|
|
148
148
|
[u]
|
|
149
149
|
);
|
|
150
150
|
function de() {
|
|
151
|
-
const { trigger: e } =
|
|
151
|
+
const { trigger: e } = c(["trigger"]);
|
|
152
152
|
return [].concat(e).indexOf("click") > -1;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
const { trigger: e } =
|
|
154
|
+
function J() {
|
|
155
|
+
const { trigger: e } = c(["trigger"]);
|
|
156
156
|
return [].concat(e).indexOf("focus") > -1;
|
|
157
157
|
}
|
|
158
158
|
function V() {
|
|
159
|
-
const { trigger: e } =
|
|
159
|
+
const { trigger: e } = c(["trigger"]);
|
|
160
160
|
return [].concat(e).indexOf("hover") > -1;
|
|
161
161
|
}
|
|
162
162
|
function me() {
|
|
163
|
-
const { trigger: e } =
|
|
163
|
+
const { trigger: e } = c(["trigger"]);
|
|
164
164
|
return [].concat(e).indexOf("contextMenu") > -1;
|
|
165
165
|
}
|
|
166
166
|
function Qe() {
|
|
167
|
-
return V() &&
|
|
167
|
+
return V() && c(["mouseLeaveToClose"]).mouseLeaveToClose;
|
|
168
168
|
}
|
|
169
169
|
function We() {
|
|
170
|
-
return V() && !
|
|
170
|
+
return V() && !c(["popupHoverStay"]).popupHoverStay;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Z() {
|
|
173
173
|
if (de() || me()) {
|
|
174
|
-
const { clickToClose: e = !0 } =
|
|
174
|
+
const { clickToClose: e = !0 } = c(["clickToClose"]);
|
|
175
175
|
return e;
|
|
176
176
|
}
|
|
177
177
|
return V() && i.clickToClose;
|
|
178
178
|
}
|
|
179
179
|
function ge() {
|
|
180
|
-
return
|
|
180
|
+
return J() && c(["blurToHide"]).blurToHide;
|
|
181
181
|
}
|
|
182
182
|
function Xe() {
|
|
183
183
|
n.current.updatePositionTimeoutID && (n.current.updatePositionTimeoutID.cancel ? n.current.updatePositionTimeoutID.cancel() : (clearTimeout(n.current.updatePositionTimeoutID), n.current.updatePositionTimeoutID = null)), P();
|
|
@@ -187,7 +187,7 @@ function Nt(d, I) {
|
|
|
187
187
|
const t = a.current;
|
|
188
188
|
if (!t)
|
|
189
189
|
return {};
|
|
190
|
-
const { showArrow: o, classNames: r } =
|
|
190
|
+
const { showArrow: o, classNames: r } = c([
|
|
191
191
|
"showArrow",
|
|
192
192
|
"classNames"
|
|
193
193
|
]);
|
|
@@ -220,7 +220,7 @@ function Nt(d, I) {
|
|
|
220
220
|
return {};
|
|
221
221
|
}
|
|
222
222
|
function Te() {
|
|
223
|
-
if (
|
|
223
|
+
if (c(["classNames"]).classNames !== "slideDynamicOrigin")
|
|
224
224
|
return "";
|
|
225
225
|
switch (n.current.realPosition) {
|
|
226
226
|
case "bottom":
|
|
@@ -235,13 +235,13 @@ function Nt(d, I) {
|
|
|
235
235
|
return "";
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function ee() {
|
|
239
239
|
var k;
|
|
240
240
|
if (!v.current)
|
|
241
241
|
return {};
|
|
242
242
|
const e = a.current, t = H();
|
|
243
243
|
if (!(t != null && t.offsetParent) && !((k = t == null ? void 0 : t.getClientRects()) != null && k.length))
|
|
244
|
-
return
|
|
244
|
+
return U.popupStyle;
|
|
245
245
|
const { style: o, arrowStyle: r, realPosition: s } = xt(
|
|
246
246
|
i,
|
|
247
247
|
e,
|
|
@@ -256,8 +256,8 @@ function Nt(d, I) {
|
|
|
256
256
|
...ye(p)
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
const t =
|
|
259
|
+
function E(e) {
|
|
260
|
+
const t = ee();
|
|
261
261
|
N((o) => {
|
|
262
262
|
const r = { ...o };
|
|
263
263
|
return r.popupStyle = t, r;
|
|
@@ -265,7 +265,7 @@ function Nt(d, I) {
|
|
|
265
265
|
e();
|
|
266
266
|
}, 0);
|
|
267
267
|
}
|
|
268
|
-
const F = be(Ve(
|
|
268
|
+
const F = be(Ve(E), [
|
|
269
269
|
u
|
|
270
270
|
]);
|
|
271
271
|
function b(e = 0, t) {
|
|
@@ -275,7 +275,7 @@ function Nt(d, I) {
|
|
|
275
275
|
return;
|
|
276
276
|
}
|
|
277
277
|
n.current.updatePositionTimeoutID = setTimeout(() => {
|
|
278
|
-
const o =
|
|
278
|
+
const o = ee();
|
|
279
279
|
N((r) => {
|
|
280
280
|
const s = { ...r };
|
|
281
281
|
return s.popupStyle = o, s;
|
|
@@ -286,14 +286,14 @@ function Nt(d, I) {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
function f(e, t = 0, o) {
|
|
289
|
-
const r =
|
|
289
|
+
const r = c(["onVisibleChange", "popupVisible"]);
|
|
290
290
|
e !== u ? Ce(t, () => {
|
|
291
291
|
var s;
|
|
292
292
|
(s = r.onVisibleChange) == null || s.call(r, e), "popupVisible" in r ? o == null || o() : (N((p) => {
|
|
293
293
|
const M = { ...p };
|
|
294
294
|
return M.popupVisible = !!e, M;
|
|
295
295
|
}), setTimeout(e ? () => {
|
|
296
|
-
|
|
296
|
+
E(o);
|
|
297
297
|
} : () => {
|
|
298
298
|
o == null || o();
|
|
299
299
|
}, 0));
|
|
@@ -309,7 +309,7 @@ function Nt(d, I) {
|
|
|
309
309
|
}
|
|
310
310
|
function he(e) {
|
|
311
311
|
var r;
|
|
312
|
-
const t =
|
|
312
|
+
const t = c(["onClickOutside", "clickOutsideToClose"]);
|
|
313
313
|
let o = Le(a.current, e.target);
|
|
314
314
|
o || (o = Le(H(), e.target)), o || (o = !!n.current.hasPopupMouseDown), o || ((r = t.onClickOutside) == null || r.call(t), t.clickOutsideToClose && (ge() || V() || f(!1)));
|
|
315
315
|
}
|
|
@@ -318,18 +318,18 @@ function Nt(d, I) {
|
|
|
318
318
|
m("onKeyDown", e), t === Be.key && je(e);
|
|
319
319
|
}
|
|
320
320
|
function je(e) {
|
|
321
|
-
const { escToClose: t } =
|
|
321
|
+
const { escToClose: t } = c(["escToClose"]);
|
|
322
322
|
t && e && e.key === Be.key && u && f(!1);
|
|
323
323
|
}
|
|
324
324
|
function qe(e) {
|
|
325
|
-
const { mouseEnterDelay: t } =
|
|
325
|
+
const { mouseEnterDelay: t } = c(["mouseEnterDelay"]);
|
|
326
326
|
m("onMouseEnter", e), P(), f(!0, t || 0);
|
|
327
327
|
}
|
|
328
328
|
function Ge(e) {
|
|
329
|
-
m("onMouseMove", e),
|
|
329
|
+
m("onMouseMove", e), te(e), u && F();
|
|
330
330
|
}
|
|
331
331
|
function Ee(e) {
|
|
332
|
-
const { mouseLeaveDelay: t } =
|
|
332
|
+
const { mouseLeaveDelay: t } = c(["mouseLeaveDelay"]);
|
|
333
333
|
P(), m("onMouseLeave", e), Qe() && u && f(!1, t || 0);
|
|
334
334
|
}
|
|
335
335
|
function Je() {
|
|
@@ -338,23 +338,23 @@ function Nt(d, I) {
|
|
|
338
338
|
function Ze(e) {
|
|
339
339
|
Ee(e);
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
|
|
341
|
+
function te(e) {
|
|
342
|
+
c(["alignPoint"]).alignPoint && (n.current.mouseLocation = {
|
|
343
343
|
clientX: e.clientX,
|
|
344
344
|
clientY: e.clientY
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
function et(e) {
|
|
348
|
-
e.preventDefault(), m("onContextMenu", e),
|
|
348
|
+
e.preventDefault(), m("onContextMenu", e), te(e), u ? c(["alignPoint"]).alignPoint && F() : f(!0, 0);
|
|
349
349
|
}
|
|
350
350
|
function De(e) {
|
|
351
|
-
u && (n.current.mousedownToHide = !0), m("onClick", e),
|
|
351
|
+
u && (n.current.mousedownToHide = !0), m("onClick", e), Z() && u && f(!u, 0);
|
|
352
352
|
}
|
|
353
353
|
function tt(e) {
|
|
354
|
-
u && (n.current.mousedownToHide = !0), m("onClick", e),
|
|
354
|
+
u && (n.current.mousedownToHide = !0), m("onClick", e), te(e), !(!Z() && u) && f(!u, 0);
|
|
355
355
|
}
|
|
356
356
|
function ot(e) {
|
|
357
|
-
const { focusDelay: t } =
|
|
357
|
+
const { focusDelay: t } = c(["focusDelay"]), o = () => {
|
|
358
358
|
m("onFocus", e);
|
|
359
359
|
};
|
|
360
360
|
P(), n.current.mousedownToHide || (u ? o == null || o() : f(!0, t || 0, o)), n.current.mousedownToHide = !1;
|
|
@@ -363,14 +363,14 @@ function Nt(d, I) {
|
|
|
363
363
|
f(!1, 200, () => m("onBlur", e));
|
|
364
364
|
}
|
|
365
365
|
function we() {
|
|
366
|
-
u &&
|
|
366
|
+
u && c(["autoFixPosition"]).autoFixPosition && b();
|
|
367
367
|
}
|
|
368
368
|
function z() {
|
|
369
369
|
var s;
|
|
370
370
|
const { children: e } = i, t = e, o = t && typeof t != "string" && t.type;
|
|
371
371
|
let r = e;
|
|
372
372
|
if (["string", "number"].indexOf(typeof e) > -1 || He.count(e) > 1)
|
|
373
|
-
r = /* @__PURE__ */
|
|
373
|
+
r = /* @__PURE__ */ D("span", { children: e });
|
|
374
374
|
else if (t && o && (o.__PQB_BUTTON === !0 || o.__PQB_CHECKBOX === !0 || o.__PQB_SWITCH === !0 || o.__PQB_RADIO === !0 || o === "button") && t.props.disabled) {
|
|
375
375
|
const { picked: p, omitted: M } = Ot(t.props.style, [
|
|
376
376
|
"position",
|
|
@@ -382,7 +382,7 @@ function Nt(d, I) {
|
|
|
382
382
|
"display",
|
|
383
383
|
"zIndex"
|
|
384
384
|
]);
|
|
385
|
-
r = /* @__PURE__ */
|
|
385
|
+
r = /* @__PURE__ */ D(
|
|
386
386
|
"span",
|
|
387
387
|
{
|
|
388
388
|
className: (s = t.props) == null ? void 0 : s.className,
|
|
@@ -397,20 +397,20 @@ function Nt(d, I) {
|
|
|
397
397
|
}
|
|
398
398
|
);
|
|
399
399
|
}
|
|
400
|
-
return r || /* @__PURE__ */
|
|
400
|
+
return r || /* @__PURE__ */ D("span", {});
|
|
401
401
|
}
|
|
402
402
|
function m(e, t) {
|
|
403
|
-
const o = z(), r = o && o.props && o.props[e], s =
|
|
403
|
+
const o = z(), r = o && o.props && o.props[e], s = c([e])[e];
|
|
404
404
|
S(r) && r(t), S(s) && s(t);
|
|
405
405
|
}
|
|
406
406
|
function x(e) {
|
|
407
|
-
const t = z(), o = t && t.props && t.props[e], r =
|
|
407
|
+
const t = z(), o = t && t.props && t.props[e], r = c([e])[e];
|
|
408
408
|
return S(r) && S(o) ? (s) => {
|
|
409
409
|
o(s), r(s);
|
|
410
410
|
} : o || r;
|
|
411
411
|
}
|
|
412
412
|
function Pe() {
|
|
413
|
-
const e =
|
|
413
|
+
const e = c(["containerScrollToClose", "updateOnScroll"]);
|
|
414
414
|
e.containerScrollToClose ? f(!1) : e.updateOnScroll && b();
|
|
415
415
|
}
|
|
416
416
|
function rt() {
|
|
@@ -434,17 +434,17 @@ function Nt(d, I) {
|
|
|
434
434
|
return a.current;
|
|
435
435
|
},
|
|
436
436
|
getChild: z,
|
|
437
|
-
getPopupStyle:
|
|
437
|
+
getPopupStyle: ee,
|
|
438
438
|
getTransformTranslate: Te,
|
|
439
439
|
getTransformOrigin: ye,
|
|
440
440
|
updateThrottleByRaf: F,
|
|
441
|
-
update:
|
|
442
|
-
updatePopupStyle:
|
|
441
|
+
update: E,
|
|
442
|
+
updatePopupStyle: E,
|
|
443
443
|
updatePopupPosition: b,
|
|
444
|
-
handleUpdatePosition:
|
|
444
|
+
handleUpdatePosition: G,
|
|
445
445
|
setPopupVisible: f,
|
|
446
446
|
delayToDo: Ce
|
|
447
|
-
})), dt(() => (
|
|
447
|
+
})), dt(() => (E(), () => {
|
|
448
448
|
}), [
|
|
449
449
|
a.current,
|
|
450
450
|
ae.current,
|
|
@@ -485,7 +485,7 @@ function Nt(d, I) {
|
|
|
485
485
|
i.updateOnScroll,
|
|
486
486
|
i.containerScrollToClose
|
|
487
487
|
]), g(() => {
|
|
488
|
-
const { clickOutsideToClose: e, getDocument: t } =
|
|
488
|
+
const { clickOutsideToClose: e, getDocument: t } = c([
|
|
489
489
|
"clickOutsideToClose",
|
|
490
490
|
"getDocument"
|
|
491
491
|
]), o = (t == null ? void 0 : t()) || window.document, r = {
|
|
@@ -494,8 +494,8 @@ function Nt(d, I) {
|
|
|
494
494
|
// 2. 点击label标签,会触发对应input元素的点击事件,导致触发clickOutside,隐藏popup。
|
|
495
495
|
capture: ie(e) ? e.capture : !1
|
|
496
496
|
};
|
|
497
|
-
return u && (oe(o, "mousedown", he, r), oe(window, "resize",
|
|
498
|
-
ne(o, "mousedown", he, r), ne(window, "resize",
|
|
497
|
+
return u && (oe(o, "mousedown", he, r), oe(window, "resize", G)), () => {
|
|
498
|
+
ne(o, "mousedown", he, r), ne(window, "resize", G);
|
|
499
499
|
};
|
|
500
500
|
}, [u]), g(() => ("defaultPopupVisible" in i && N((e) => {
|
|
501
501
|
const t = { ...e };
|
|
@@ -503,48 +503,48 @@ function Nt(d, I) {
|
|
|
503
503
|
}), () => {
|
|
504
504
|
}), []), g(() => ("popupVisible" in i && N((e) => {
|
|
505
505
|
const t = { ...e };
|
|
506
|
-
return t.popupVisible = !!
|
|
506
|
+
return t.popupVisible = !!j, t;
|
|
507
507
|
}), () => {
|
|
508
|
-
}), [
|
|
508
|
+
}), [j]), g(() => () => {
|
|
509
509
|
Xe();
|
|
510
510
|
}, []);
|
|
511
511
|
const it = pe && Ie(L, {
|
|
512
|
-
...
|
|
512
|
+
...l,
|
|
513
513
|
ref: ht(L) ? (e) => {
|
|
514
514
|
n.current.child = e, wt(L, e);
|
|
515
515
|
} : void 0
|
|
516
|
-
}), st = /* @__PURE__ */
|
|
516
|
+
}), st = /* @__PURE__ */ D(
|
|
517
517
|
ut,
|
|
518
518
|
{
|
|
519
519
|
in: !!u,
|
|
520
520
|
timeout: Re,
|
|
521
|
-
classNames:
|
|
521
|
+
classNames: Q,
|
|
522
522
|
unmountOnExit: ce,
|
|
523
523
|
appear: !0,
|
|
524
524
|
mountOnEnter: !0,
|
|
525
525
|
onEnter: () => {
|
|
526
526
|
n.current.triggerDestoried = !1;
|
|
527
527
|
const e = a.current;
|
|
528
|
-
e && (e.style.display = "initial", e.style.pointerEvents = "none",
|
|
528
|
+
e && (e.style.display = "initial", e.style.pointerEvents = "none", Q === "slideDynamicOrigin" && (e.style.transform = Te()), E());
|
|
529
529
|
},
|
|
530
530
|
onEntering: () => {
|
|
531
531
|
const e = a.current;
|
|
532
|
-
e && (
|
|
532
|
+
e && (Q === "slideDynamicOrigin" && (e.style.transform = ""), E());
|
|
533
533
|
},
|
|
534
534
|
onEntered: () => {
|
|
535
535
|
const e = a.current;
|
|
536
|
-
e && (e.style.pointerEvents = "auto",
|
|
536
|
+
e && (e.style.pointerEvents = "auto", E());
|
|
537
537
|
},
|
|
538
538
|
onExit: () => {
|
|
539
539
|
const e = a.current;
|
|
540
|
-
e && (e.style.pointerEvents = "none",
|
|
540
|
+
e && (e.style.pointerEvents = "none", W == null || W(e));
|
|
541
541
|
},
|
|
542
542
|
onExited: () => {
|
|
543
543
|
const e = a.current;
|
|
544
544
|
e && (e.style.display = "none", ce && (n.current.triggerDestoried = !0), N((t) => {
|
|
545
545
|
const o = { ...t };
|
|
546
546
|
return o.popupStyle = {}, o;
|
|
547
|
-
}),
|
|
547
|
+
}), X == null || X(e));
|
|
548
548
|
},
|
|
549
549
|
nodeRef: a,
|
|
550
550
|
children: /* @__PURE__ */ $e(
|
|
@@ -555,16 +555,16 @@ function Nt(d, I) {
|
|
|
555
555
|
...Dt(i),
|
|
556
556
|
style: {
|
|
557
557
|
width: Fe && (A == null ? void 0 : A.width) === void 0 ? (Oe = n.current.childrenDomSize) == null ? void 0 : Oe.width : "",
|
|
558
|
-
...
|
|
558
|
+
...U.popupStyle,
|
|
559
559
|
position: "absolute",
|
|
560
560
|
zIndex: C || "",
|
|
561
561
|
...A
|
|
562
562
|
// display
|
|
563
563
|
},
|
|
564
|
-
...
|
|
564
|
+
...q,
|
|
565
565
|
className: Ke,
|
|
566
566
|
children: [
|
|
567
|
-
ie(le) ? /* @__PURE__ */
|
|
567
|
+
ie(le) ? /* @__PURE__ */ D(
|
|
568
568
|
B.type,
|
|
569
569
|
{
|
|
570
570
|
ref: B.ref,
|
|
@@ -572,22 +572,22 @@ function Nt(d, I) {
|
|
|
572
572
|
style: { ...B.props.style, ...le }
|
|
573
573
|
}
|
|
574
574
|
) : B,
|
|
575
|
-
(_e || h) && /* @__PURE__ */
|
|
575
|
+
(_e || h) && /* @__PURE__ */ D(
|
|
576
576
|
"div",
|
|
577
577
|
{
|
|
578
578
|
ref: ae,
|
|
579
|
-
className:
|
|
580
|
-
[`${
|
|
579
|
+
className: Y(`${$}-arrow-container`, {
|
|
580
|
+
[`${w}-arrow-container`]: w
|
|
581
581
|
}),
|
|
582
|
-
children: /* @__PURE__ */
|
|
582
|
+
children: /* @__PURE__ */ D(
|
|
583
583
|
"div",
|
|
584
584
|
{
|
|
585
585
|
ref: fe,
|
|
586
586
|
...h,
|
|
587
|
-
className:
|
|
587
|
+
className: Y(
|
|
588
588
|
`${$}-arrow`,
|
|
589
589
|
{
|
|
590
|
-
[`${
|
|
590
|
+
[`${w}-arrow`]: w
|
|
591
591
|
},
|
|
592
592
|
h == null ? void 0 : h.className
|
|
593
593
|
),
|
|
@@ -607,7 +607,7 @@ function Nt(d, I) {
|
|
|
607
607
|
if (S(e)) {
|
|
608
608
|
const t = e(H());
|
|
609
609
|
t && (_ = gt(
|
|
610
|
-
/* @__PURE__ */
|
|
610
|
+
/* @__PURE__ */ D("div", { ref: v, className: `${$}-container`, children: st }),
|
|
611
611
|
t
|
|
612
612
|
// popupVisible ? 1 : 0,
|
|
613
613
|
));
|