@unicom-cloud/ui 0.8.118 → 0.8.119
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/Anchor.js +1 -1
- package/App.js +1 -1
- package/AutoComplete.js +1 -1
- package/Avatar.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +1 -1
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- 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 +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Constant.js +1 -1
- package/Copy.js +1 -1
- package/Countdown.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +1 -1
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Drawer.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Flex.js +1 -1
- package/Form.js +1 -1
- package/Grid.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +1 -1
- package/InputTag.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/LiquidFill.js +6 -27
- package/List.js +1 -1
- package/Loading.js +1 -1
- package/Marquee.js +45 -41
- package/Mentions.js +1 -1
- 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/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Portal.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/RichText.js +1 -1
- package/RowCol.js +1 -1
- package/Segmented.js +1 -1
- package/Select.js +1 -1
- package/SelectView.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/SpeechSynthesis.js +1 -1
- package/Spin.js +1 -1
- package/Splitter.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/SuspenseFallbackTest.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/TimePicker.js +1 -1
- package/Timeline.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/Typography.js +1 -1
- package/Upload.js +1 -1
- package/VerificationCode.js +1 -1
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/affix/index.js +24 -19
- package/alert/index.js +22 -22
- package/anchor/Anchor.js +44 -39
- package/anchor/Link.js +22 -18
- package/anchor/context.js +1 -1
- package/anchor/index.js +1 -1
- package/anchor/utils.js +1 -1
- package/app/App.js +1 -1
- package/app/context.js +1 -1
- package/app/index.js +1 -1
- package/app/useApp.js +1 -1
- package/auto-complete/index.js +43 -39
- package/avatar/Avatar.js +20 -15
- package/avatar/Group.js +25 -20
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/back-top/index.js +9 -9
- package/badge/Count.js +1 -1
- package/badge/index.js +25 -20
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/index.js +42 -37
- package/button/Group.js +7 -7
- package/button/index.js +78 -77
- package/calendar/Lunar.js +1 -1
- package/calendar/Month.js +1 -1
- package/calendar/WeekList.js +1 -1
- package/calendar/Year.js +1 -1
- package/calendar/header/Panel.js +1 -1
- package/calendar/header/index.js +1 -1
- package/calendar/hook/useCellClassName.js +1 -1
- package/calendar/index.js +98 -97
- package/card/Grid.js +14 -14
- package/card/Meta.js +17 -17
- package/card/index.js +39 -33
- package/carousel/Arrow.js +19 -19
- package/carousel/Indicator.js +20 -20
- package/carousel/index.js +18 -13
- package/cascader/Cascader.js +30 -30
- package/cascader/base/node.js +1 -1
- package/cascader/base/store.js +1 -1
- package/cascader/hook/useRefCurrent.js +1 -1
- package/cascader/index.js +1 -1
- package/cascader/panel/List.js +1 -1
- package/cascader/panel/Option.js +1 -1
- package/cascader/panel/Search.js +1 -1
- package/cascader/utils.js +1 -1
- package/checkbox/Checkbox.js +22 -17
- package/checkbox/Group.js +37 -33
- package/checkbox/GroupBlock.js +22 -18
- package/checkbox/IconCheck.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/useCheckbox.js +1 -1
- package/collapse/Collapse.js +58 -53
- package/collapse/Item.js +19 -19
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +26 -26
- package/color-picker/InputAlpha.js +8 -8
- package/color-picker/InputHex.js +23 -23
- package/color-picker/InputRgb.js +11 -11
- package/color-picker/Mode.js +1 -1
- package/color-picker/Palette.js +6 -6
- package/color-picker/Panel.js +23 -19
- package/color-picker/colors.js +1 -1
- package/color-picker/hooks/useColorPicker.js +1 -1
- package/color-picker/hooks/useControlBlock.js +1 -1
- package/color-picker/index.js +28 -28
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +1 -1
- package/comment/index.js +30 -25
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +1 -1
- package/constant/index.js +1 -1
- package/copy/index.js +12 -7
- package/countdown/index.js +37 -32
- package/countdown/utils.js +1 -1
- package/date-picker/Picker.js +101 -91
- package/date-picker/RangePicker.js +226 -213
- package/date-picker/context.js +1 -1
- package/date-picker/hook/useCellClassName.js +1 -1
- package/date-picker/index.js +1 -1
- package/date-picker/panel/Body.js +1 -1
- package/date-picker/panel/Footer.js +38 -35
- package/date-picker/panel/Header.js +71 -44
- package/date-picker/panel/Shortcut.js +1 -1
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +188 -156
- package/date-picker/panel/month/index.js +73 -62
- package/date-picker/panel/quarter/index.js +73 -62
- package/date-picker/panel/range/index.js +168 -154
- package/date-picker/panel/week/index.js +36 -23
- package/date-picker/panel/year/index.js +58 -47
- package/date-picker/utils.js +1 -1
- package/descriptions/index.js +66 -65
- package/details/index.js +31 -26
- package/development/index.js +13 -9
- package/dist/ui-common/development/index.js +1 -1
- package/dist/ui-common/empty/index.js +1 -1
- package/dist/ui-common/flex/index.js +1 -1
- package/dist/ui-common/flex/interface.js +1 -1
- package/dist/ui-common/higher-order/with-speech-synthesis/index.js +1 -1
- package/dist/ui-common/hooks/create-deep-compare-effect/index.js +1 -1
- package/dist/ui-common/hooks/create-update-effect/index.js +1 -1
- package/dist/ui-common/hooks/create-use-storage-state/index.js +1 -1
- package/dist/ui-common/hooks/use-async-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-boolean/index.js +1 -1
- package/dist/ui-common/hooks/use-click-away/index.js +1 -1
- package/dist/ui-common/hooks/use-computed-state/index.js +1 -1
- package/dist/ui-common/hooks/use-controllable-value/index.js +1 -1
- package/dist/ui-common/hooks/use-cookie-state/index.js +1 -1
- package/dist/ui-common/hooks/use-count-down/index.js +1 -1
- package/dist/ui-common/hooks/use-counter/index.js +1 -1
- package/dist/ui-common/hooks/use-create/index.js +1 -1
- package/dist/ui-common/hooks/use-creation/index.js +1 -1
- package/dist/ui-common/hooks/use-debounce/index.js +1 -1
- package/dist/ui-common/hooks/use-debounce-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-debounce-fn/index.js +7 -7
- package/dist/ui-common/hooks/use-deep-compare-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-deep-compare-layout-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-document-visibility/index.js +1 -1
- package/dist/ui-common/hooks/use-drag/index.js +1 -1
- package/dist/ui-common/hooks/use-drop/index.js +1 -1
- package/dist/ui-common/hooks/use-event-listener/index.js +1 -1
- package/dist/ui-common/hooks/use-event-target/index.js +1 -1
- package/dist/ui-common/hooks/use-external/index.js +1 -1
- package/dist/ui-common/hooks/use-favicon/index.js +1 -1
- package/dist/ui-common/hooks/use-focus-within/index.js +1 -1
- package/dist/ui-common/hooks/use-fullscreen/index.js +1 -1
- package/dist/ui-common/hooks/use-get-state/index.js +1 -1
- package/dist/ui-common/hooks/use-history-travel/index.js +1 -1
- package/dist/ui-common/hooks/use-hover/index.js +1 -1
- package/dist/ui-common/hooks/use-id/index.js +1 -1
- package/dist/ui-common/hooks/use-in-view/index.js +1 -1
- package/dist/ui-common/hooks/use-in-viewport/index.js +1 -1
- package/dist/ui-common/hooks/use-infinite-scroll/index.js +1 -1
- package/dist/ui-common/hooks/use-intersection-observer/index.js +1 -1
- package/dist/ui-common/hooks/use-interval/index.js +1 -1
- package/dist/ui-common/hooks/use-is-first-render/index.js +1 -1
- package/dist/ui-common/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-key-press/index.js +1 -1
- package/dist/ui-common/hooks/use-keyboard-event/index.js +1 -1
- package/dist/ui-common/hooks/use-latest/index.js +1 -1
- package/dist/ui-common/hooks/use-listen-window-resize/index.js +1 -1
- package/dist/ui-common/hooks/use-local-storage-state/index.js +1 -1
- package/dist/ui-common/hooks/use-lock-fn/index.js +1 -1
- package/dist/ui-common/hooks/use-long-press/index.js +1 -1
- package/dist/ui-common/hooks/use-media/index.js +1 -1
- package/dist/ui-common/hooks/use-memoized-fn/index.js +1 -1
- package/dist/ui-common/hooks/use-merge-props/index.js +1 -1
- package/dist/ui-common/hooks/use-merge-value/index.js +1 -1
- package/dist/ui-common/hooks/use-mount/index.js +1 -1
- package/dist/ui-common/hooks/use-mouse/index.js +1 -1
- package/dist/ui-common/hooks/use-mutation-observer/index.js +1 -1
- package/dist/ui-common/hooks/use-network/index.js +1 -1
- package/dist/ui-common/hooks/use-online-status/index.js +1 -1
- package/dist/ui-common/hooks/use-overflow-hidden/index.js +1 -1
- package/dist/ui-common/hooks/use-override-ref/index.js +1 -1
- package/dist/ui-common/hooks/use-pagination/index.js +1 -1
- package/dist/ui-common/hooks/use-persist-callback/index.js +1 -1
- package/dist/ui-common/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/dist/ui-common/hooks/use-previous/index.js +1 -1
- package/dist/ui-common/hooks/use-raf-interval/index.js +1 -1
- package/dist/ui-common/hooks/use-raf-state/index.js +1 -1
- package/dist/ui-common/hooks/use-raf-timeout/index.js +1 -1
- package/dist/ui-common/hooks/use-reactive/index.js +1 -1
- package/dist/ui-common/hooks/use-refs/index.js +1 -1
- package/dist/ui-common/hooks/use-request/src/Fetch.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/useDebouncePlugin.js +8 -8
- package/dist/ui-common/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
- package/dist/ui-common/hooks/use-request/src/useRequest.js +1 -1
- package/dist/ui-common/hooks/use-request/src/useRequestImplement.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/cache.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/cachePromise.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/isOnline.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/limit.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/subscribeFocus.js +1 -1
- package/dist/ui-common/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
- package/dist/ui-common/hooks/use-reset-state/index.js +1 -1
- package/dist/ui-common/hooks/use-responsive/index.js +1 -1
- package/dist/ui-common/hooks/use-safe-state/index.js +1 -1
- package/dist/ui-common/hooks/use-scroll/index.js +1 -1
- package/dist/ui-common/hooks/use-selections/index.js +1 -1
- package/dist/ui-common/hooks/use-session-storage-state/index.js +1 -1
- package/dist/ui-common/hooks/use-set-state/index.js +1 -1
- package/dist/ui-common/hooks/use-size/index.js +1 -1
- package/dist/ui-common/hooks/use-state-callback/index.js +1 -1
- package/dist/ui-common/hooks/use-state-with-promise/index.js +1 -1
- package/dist/ui-common/hooks/use-text-selection/index.js +1 -1
- package/dist/ui-common/hooks/use-theme/index.js +1 -1
- package/dist/ui-common/hooks/use-throttle/index.js +1 -1
- package/dist/ui-common/hooks/use-throttle-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-throttle-fn/index.js +1 -1
- package/dist/ui-common/hooks/use-timeout/index.js +1 -1
- package/dist/ui-common/hooks/use-title/index.js +1 -1
- package/dist/ui-common/hooks/use-toggle/index.js +1 -1
- package/dist/ui-common/hooks/use-tracked-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-unmount/index.js +1 -1
- package/dist/ui-common/hooks/use-unmounted-ref/index.js +1 -1
- package/dist/ui-common/hooks/use-update/index.js +1 -1
- package/dist/ui-common/hooks/use-update-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-update-layout-effect/index.js +1 -1
- package/dist/ui-common/hooks/use-url-state/index.js +1 -1
- package/dist/ui-common/hooks/use-virtual-list/index.js +1 -1
- package/dist/ui-common/hooks/use-watch/index.js +1 -1
- package/dist/ui-common/hooks/use-web-socket/index.js +1 -1
- package/dist/ui-common/hooks/use-why-did-you-update/index.js +1 -1
- package/dist/ui-common/hooks/use-window-size/index.js +17 -17
- package/dist/ui-common/hooks/utils/createEffectWithTarget.js +1 -1
- package/dist/ui-common/hooks/utils/depsAreSame.js +1 -1
- package/dist/ui-common/hooks/utils/depsEqual.js +1 -1
- package/dist/ui-common/hooks/utils/domTarget.js +1 -1
- package/dist/ui-common/hooks/utils/getDocumentOrShadow.js +1 -1
- package/dist/ui-common/hooks/utils/isDev.js +1 -1
- package/dist/ui-common/hooks/utils/rect.js +1 -1
- package/dist/ui-common/hooks/utils/useDeepCompareWithTarget.js +1 -1
- package/dist/ui-common/hooks/utils/useEffectWithTarget.js +1 -1
- package/dist/ui-common/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
- package/dist/ui-common/hooks/utils/useLayoutEffectWithTarget.js +1 -1
- package/dist/ui-common/icons/file/index.js +1 -1
- package/dist/ui-common/space/index.js +1 -1
- package/dist/ui-common/suspense-fallback-test/index.js +1 -1
- package/dist/ui-common/transition-group/CSSTransition.js +1 -1
- package/dist/ui-common/transition-group/PqbCSSTransition.js +1 -1
- package/dist/ui-common/transition-group/ReplaceTransition.js +1 -1
- package/dist/ui-common/transition-group/SwitchTransition.js +1 -1
- package/dist/ui-common/transition-group/Transition.js +1 -1
- package/dist/ui-common/transition-group/TransitionGroup.js +1 -1
- package/dist/ui-common/transition-group/TransitionGroupContext.js +1 -1
- package/dist/ui-common/transition-group/utils/ChildMapping.js +1 -1
- package/dist/ui-common/utils/compute.js +1 -1
- package/dist/ui-common/utils/constant.js +1 -1
- package/dist/ui-common/utils/dayjs.js +1 -1
- package/dist/ui-common/utils/dom.js +1 -1
- package/dist/ui-common/utils/fillNBSP.js +1 -1
- package/dist/ui-common/utils/findScrollParent.js +1 -1
- package/dist/ui-common/utils/getHighlightText.js +1 -1
- package/dist/ui-common/utils/getHotkeyHandler.js +1 -1
- package/dist/ui-common/utils/getStringLength.js +1 -1
- package/dist/ui-common/utils/include.js +1 -1
- package/dist/ui-common/utils/intersectionObserver.js +1 -1
- package/dist/ui-common/utils/is.js +1 -1
- package/dist/ui-common/utils/mergeProps.js +1 -1
- package/dist/ui-common/utils/mergedToString.js +1 -1
- package/dist/ui-common/utils/mutationObserver.js +1 -1
- package/dist/ui-common/utils/omit.js +1 -1
- package/dist/ui-common/utils/pad.js +1 -1
- package/dist/ui-common/utils/pick.js +1 -1
- package/dist/ui-common/utils/react19Adapter.js +1 -1
- package/dist/ui-common/utils/reactDOM.js +1 -1
- package/dist/ui-common/utils/resizeObserver.js +1 -1
- package/dist/ui-common/utils/scrollIntoViewIfNeeded.js +1 -1
- package/dist/ui-common/utils/setDarkTheme.js +1 -1
- package/dist/ui-common/utils/setDir.js +1 -1
- package/dist/ui-common/utils/setPrimaryColor.js +1 -1
- package/dist/ui-common/utils/setTheme.js +1 -1
- package/dist/ui-common/utils/style.js +1 -1
- package/dist/ui-common/utils/supportRef.js +1 -1
- package/dist/ui-common/utils/throttleByRaf.js +1 -1
- package/dist/ui-common/utils/throttleByRaf2.js +1 -1
- package/dist/ui-common/utils/toArray.js +1 -1
- package/dist/ui-common/utils/warning.js +1 -1
- package/divider/index.js +33 -29
- package/draggable/Item.js +1 -1
- package/draggable/index.js +16 -16
- package/drawer/Drawer.js +35 -35
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +25 -25
- package/dropdown/index.js +23 -23
- package/empty/index.js +16 -15
- package/flex/index.js +24 -19
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +72 -70
- package/form/FormLabel.js +66 -38
- package/form/FormList.js +1 -1
- package/form/FormProvider.js +1 -1
- package/form/context.js +18 -14
- package/form/hook/useContext.js +1 -1
- package/form/hook/useForm.js +1 -1
- package/form/hook/useState.js +1 -1
- package/form/hook/useWatch.js +1 -1
- package/form/index.js +1 -1
- package/form/interface.js +1 -1
- package/form/promisify.js +5 -5
- package/form/store.js +1 -1
- package/form/utils.js +1 -1
- package/grid/Grid.js +21 -16
- package/grid/Item.js +25 -20
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/utils.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-id/index.js +1 -1
- package/hooks/use-in-view/index.js +1 -1
- package/hooks/use-intersection-observer/index.js +1 -1
- package/hooks/use-interval/index.js +1 -1
- package/hooks/use-is-first-render/index.js +1 -1
- package/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/hooks/use-keyboard-event/index.js +1 -1
- package/hooks/use-listen-window-resize/index.js +1 -1
- package/hooks/use-media/index.js +1 -1
- package/hooks/use-merge-props/index.js +1 -1
- package/hooks/use-merge-value/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-refs/index.js +1 -1
- package/hooks/use-resize-observer/index.js +1 -1
- package/hooks/use-responsive-state/index.js +1 -1
- package/hooks/use-state-callback/index.js +1 -1
- package/hooks/use-state-with-promise/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-verification-code/index.js +1 -1
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-watermark/index.js +1 -1
- package/hooks/use-watermark/utils.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/useComputedState.js +1 -1
- package/hooks/useCreate.js +1 -1
- package/hooks/useCreation.js +1 -1
- package/hooks/useForceUpdate.js +1 -1
- package/hooks/useId.js +1 -1
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useInterval.js +1 -1
- package/hooks/useIsFirstRender.js +1 -1
- package/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/hooks/useKeyboardEvent.js +1 -1
- package/hooks/useListenWindowResize.js +1 -1
- package/hooks/useMedia.js +1 -1
- package/hooks/useMergeProps.js +1 -1
- package/hooks/useMergeValue.js +1 -1
- package/hooks/useOnlineStatus.js +1 -1
- package/hooks/useOverflowHidden.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/usePersistCallback.js +1 -1
- package/hooks/usePrefersColorSchemeDark.js +1 -1
- package/hooks/usePrevious.js +1 -1
- package/hooks/useRefs.js +1 -1
- package/hooks/useResizeObserver.js +1 -1
- package/hooks/useResponsiveState.js +1 -1
- package/hooks/useStateCallback.js +1 -1
- package/hooks/useStateWithPromise.js +1 -1
- package/hooks/useUpdateEffect.js +1 -1
- package/hooks/useVerificationCode.js +1 -1
- package/hooks/useWatch.js +1 -1
- package/hooks/useWatermark.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/addFromIconFontCn.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +10 -10
- package/icons/file/index.js +13 -12
- package/icons/file.js +1 -1
- package/icons.js +1 -1
- package/image/Image.js +36 -31
- package/image/ImageFooter.js +1 -1
- package/image/ImagePreview.js +71 -66
- package/image/ImagePreviewArrow.js +19 -19
- package/image/ImagePreviewGroup.js +1 -1
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +1 -1
- package/image/index.js +1 -1
- package/image/previewGroupContext.js +1 -1
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +1 -1
- package/image/utils/hook/useImageStatus.js +1 -1
- package/image/utils/hook/useShowFooter.js +1 -1
- package/index.js +1 -1
- package/input/Button.js +24 -24
- package/input/Group.js +15 -11
- package/input/Input.js +96 -95
- package/input/InputElement.js +1 -1
- package/input/Number.js +1 -1
- package/input/Password.js +14 -14
- package/input/Search.js +30 -30
- package/input/Tag.js +1 -1
- package/input/Textarea.js +35 -31
- package/input/autoSizeTextAreaHeight.js +1 -1
- package/input/index.js +1 -1
- package/input/useComposition.js +1 -1
- package/input-number/decimal.js +1 -1
- package/input-number/index.js +13 -12
- package/input-number/useSelectionRange.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +30 -30
- package/input-tag/index.js +1 -1
- package/layout/Content.js +9 -9
- package/layout/Footer.js +10 -10
- package/layout/Header.js +9 -9
- package/layout/Sider.js +23 -23
- package/layout/index.js +33 -29
- package/link/index.js +34 -29
- package/liquid-fill/index.js +71 -88
- package/list/Item.js +19 -15
- package/list/Meta.js +7 -7
- package/list/index.js +13 -12
- package/loading/index.js +13 -8
- package/locale/ar-EG.js +1 -1
- package/locale/de-DE.js +1 -1
- package/locale/default.js +1 -1
- package/locale/en-US.js +1 -1
- package/locale/es-ES.js +1 -1
- package/locale/fr-FR.js +1 -1
- package/locale/id-ID.js +1 -1
- package/locale/it-IT.js +1 -1
- package/locale/ja-JP.js +1 -1
- package/locale/ko-KR.js +1 -1
- package/locale/ms-MY.js +1 -1
- package/locale/pt-BR.js +1 -1
- package/locale/pt-PT.js +1 -1
- package/locale/ru-RU.js +1 -1
- package/locale/th-TH.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/locale/vi-VN.js +1 -1
- package/locale/zh-CN.js +1 -1
- package/locale/zh-HK.js +1 -1
- package/locale/zh-TW.js +1 -1
- package/marquee/index.js +25 -21
- package/mentions/index.js +23 -18
- package/mentions/utils.js +1 -1
- package/menu/Indent.js +1 -1
- package/menu/Item.js +1 -1
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +20 -15
- package/menu/OverflowWrap.js +1 -1
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/sub-menu/Inline.js +1 -1
- package/menu/sub-menu/Pop.js +16 -16
- package/menu/sub-menu/index.js +1 -1
- package/menu/utils.js +1 -1
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +1 -1
- package/modal/Modal.js +3 -3
- package/modal/config.js +1 -1
- package/modal/index.js +1 -1
- package/modal/use-modal/Hook.js +1 -1
- package/modal/use-modal/index.js +1 -1
- package/notice/index.js +83 -82
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +15 -15
- package/overflow-ellipsis/index.js +26 -26
- package/package.json +1 -1
- package/page-header/index.js +18 -13
- package/pagination/PageItem.js +57 -57
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/pagination/index.js +1 -1
- package/pagination/interface.js +1 -1
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +1 -1
- package/picker/index.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/index.js +1 -1
- package/progress/CircleProgress.js +1 -1
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +1 -1
- package/progress/index.js +1 -1
- package/qr-code/index.js +1 -1
- package/qr-code/src/index.js +1 -1
- package/qr-code/src/qrcodegen.js +1 -1
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/index.js +1 -1
- 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/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/index.js +1 -1
- package/rich-text/constant.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/lib/assets/icons/align-center.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-justify.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-left.svg.js +1 -1
- package/rich-text/lib/assets/icons/align-right.svg.js +1 -1
- package/rich-text/lib/assets/icons/background.svg.js +1 -1
- package/rich-text/lib/assets/icons/blockquote.svg.js +1 -1
- package/rich-text/lib/assets/icons/bold.svg.js +1 -1
- package/rich-text/lib/assets/icons/clean.svg.js +1 -1
- package/rich-text/lib/assets/icons/code.svg.js +1 -1
- package/rich-text/lib/assets/icons/color.svg.js +1 -1
- package/rich-text/lib/assets/icons/direction-ltr.svg.js +1 -1
- package/rich-text/lib/assets/icons/direction-rtl.svg.js +1 -1
- package/rich-text/lib/assets/icons/divider.svg.js +1 -1
- package/rich-text/lib/assets/icons/dropdown.svg.js +1 -1
- package/rich-text/lib/assets/icons/formula.svg.js +1 -1
- package/rich-text/lib/assets/icons/fullscreen-exit.svg.js +1 -1
- package/rich-text/lib/assets/icons/fullscreen.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-2.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-3.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-4.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-5.svg.js +1 -1
- package/rich-text/lib/assets/icons/header-6.svg.js +1 -1
- package/rich-text/lib/assets/icons/header.svg.js +1 -1
- package/rich-text/lib/assets/icons/image.svg.js +1 -1
- package/rich-text/lib/assets/icons/indent.svg.js +1 -1
- package/rich-text/lib/assets/icons/italic.svg.js +1 -1
- package/rich-text/lib/assets/icons/link.svg.js +1 -1
- package/rich-text/lib/assets/icons/list-bullet.svg.js +1 -1
- package/rich-text/lib/assets/icons/list-ordered.svg.js +1 -1
- package/rich-text/lib/assets/icons/outdent.svg.js +1 -1
- package/rich-text/lib/assets/icons/redo.svg.js +1 -1
- package/rich-text/lib/assets/icons/strike.svg.js +1 -1
- package/rich-text/lib/assets/icons/subscript.svg.js +1 -1
- package/rich-text/lib/assets/icons/superscript.svg.js +1 -1
- package/rich-text/lib/assets/icons/table.svg.js +1 -1
- package/rich-text/lib/assets/icons/underline.svg.js +1 -1
- package/rich-text/lib/assets/icons/undo.svg.js +1 -1
- package/rich-text/lib/assets/icons/video.svg.js +1 -1
- package/rich-text/lib/blots/block.js +1 -1
- package/rich-text/lib/blots/break.js +1 -1
- package/rich-text/lib/blots/container.js +1 -1
- package/rich-text/lib/blots/cursor.js +1 -1
- package/rich-text/lib/blots/embed.js +1 -1
- package/rich-text/lib/blots/inline.js +1 -1
- package/rich-text/lib/blots/scroll.js +1 -1
- package/rich-text/lib/blots/text.js +1 -1
- package/rich-text/lib/core/composition.js +1 -1
- package/rich-text/lib/core/editor.js +1 -1
- package/rich-text/lib/core/emitter.js +1 -1
- package/rich-text/lib/core/instances.js +1 -1
- package/rich-text/lib/core/logger.js +1 -1
- package/rich-text/lib/core/module.js +1 -1
- package/rich-text/lib/core/rich.js +1 -1
- package/rich-text/lib/core/selection.js +1 -1
- package/rich-text/lib/core/theme.js +1 -1
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +1 -1
- package/rich-text/lib/core/utils/scrollRectIntoView.js +1 -1
- package/rich-text/lib/core.js +1 -1
- package/rich-text/lib/delta/AttributeMap.js +1 -1
- package/rich-text/lib/delta/Op.js +1 -1
- package/rich-text/lib/delta/OpIterator.js +1 -1
- package/rich-text/lib/delta/index.js +1 -1
- package/rich-text/lib/diff/index.js +1 -1
- package/rich-text/lib/formats/align.js +1 -1
- package/rich-text/lib/formats/background.js +1 -1
- package/rich-text/lib/formats/blockquote.js +1 -1
- package/rich-text/lib/formats/bold.js +1 -1
- package/rich-text/lib/formats/code.js +1 -1
- package/rich-text/lib/formats/color.js +1 -1
- package/rich-text/lib/formats/direction.js +1 -1
- package/rich-text/lib/formats/font.js +1 -1
- package/rich-text/lib/formats/formula.js +1 -1
- package/rich-text/lib/formats/header.js +1 -1
- package/rich-text/lib/formats/hr.js +1 -1
- package/rich-text/lib/formats/image-resize/index.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/BaseModule.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/lib/formats/image-resize/modules/Resize.js +1 -1
- package/rich-text/lib/formats/image-resize/options.js +1 -1
- package/rich-text/lib/formats/image.js +1 -1
- package/rich-text/lib/formats/indent.js +1 -1
- package/rich-text/lib/formats/italic.js +1 -1
- package/rich-text/lib/formats/lineHeight.js +1 -1
- package/rich-text/lib/formats/link.js +1 -1
- package/rich-text/lib/formats/list.js +1 -1
- package/rich-text/lib/formats/script.js +1 -1
- package/rich-text/lib/formats/size.js +1 -1
- package/rich-text/lib/formats/strike.js +1 -1
- package/rich-text/lib/formats/table.js +1 -1
- package/rich-text/lib/formats/underline.js +1 -1
- package/rich-text/lib/formats/video.js +1 -1
- package/rich-text/lib/index.js +1 -1
- package/rich-text/lib/modules/clipboard.js +1 -1
- package/rich-text/lib/modules/history.js +1 -1
- package/rich-text/lib/modules/input.js +1 -1
- package/rich-text/lib/modules/keyboard.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/index.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +1 -1
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +1 -1
- package/rich-text/lib/modules/syntax.js +1 -1
- package/rich-text/lib/modules/table.js +1 -1
- package/rich-text/lib/modules/toolbar.js +1 -1
- package/rich-text/lib/modules/uiNode.js +1 -1
- package/rich-text/lib/modules/uploader.js +1 -1
- package/rich-text/lib/parchment/attributor/attributor.js +1 -1
- package/rich-text/lib/parchment/attributor/class.js +1 -1
- package/rich-text/lib/parchment/attributor/store.js +1 -1
- package/rich-text/lib/parchment/attributor/style.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/container.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/leaf.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/parent.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/shadow.js +1 -1
- package/rich-text/lib/parchment/blot/block.js +1 -1
- package/rich-text/lib/parchment/blot/embed.js +1 -1
- package/rich-text/lib/parchment/blot/inline.js +1 -1
- package/rich-text/lib/parchment/blot/scroll.js +1 -1
- package/rich-text/lib/parchment/blot/text.js +1 -1
- package/rich-text/lib/parchment/collection/linked-list.js +1 -1
- package/rich-text/lib/parchment/error.js +1 -1
- package/rich-text/lib/parchment/index.js +1 -1
- package/rich-text/lib/parchment/registry.js +1 -1
- package/rich-text/lib/parchment/scope.js +1 -1
- package/rich-text/lib/themes/base.js +1 -1
- package/rich-text/lib/themes/pqb.js +1 -1
- package/rich-text/lib/ui/color-picker.js +1 -1
- package/rich-text/lib/ui/icon-picker.js +1 -1
- package/rich-text/lib/ui/icons.js +1 -1
- package/rich-text/lib/ui/picker.js +1 -1
- package/rich-text/lib/ui/tooltip.js +1 -1
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +1 -1
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/segmented/index.js +1 -1
- package/select/OptGroup.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +49 -49
- package/select/index.js +1 -1
- package/select/utils.js +1 -1
- package/select-view/Core.js +1 -1
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Text.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +23 -23
- package/slider/Dot.js +1 -1
- package/slider/Input.js +1 -1
- package/slider/Mark.js +1 -1
- package/slider/Tick.js +1 -1
- package/slider/hook/useInterval.js +1 -1
- package/slider/hook/useLegalValue.js +1 -1
- package/slider/index.js +1 -1
- package/slider/utils.js +1 -1
- package/space/index.js +1 -1
- package/speech-synthesis/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +32 -32
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/hooks/useEvent.js +1 -1
- package/splitter/hooks/useItems.js +1 -1
- package/splitter/hooks/useResizable.js +1 -1
- package/splitter/hooks/useResize.js +1 -1
- package/splitter/hooks/useSizes.js +1 -1
- package/splitter/index.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/steps/Step.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/switch/index.js +13 -13
- package/table/ColGroup.js +1 -1
- package/table/Table.js +38 -37
- package/table/constant.js +1 -1
- package/table/context.js +1 -1
- package/table/hook/useColumns.js +1 -1
- package/table/hook/useComponent.js +1 -1
- package/table/hook/useExpand.js +1 -1
- package/table/hook/useRowSelection.js +1 -1
- package/table/hook/useSorter.js +1 -1
- package/table/hook/useStickyClassNames.js +1 -1
- package/table/hook/useStickyOffsets.js +1 -1
- package/table/hook/useThResizable.js +1 -1
- package/table/index.js +1 -1
- package/table/summary/Cell.js +1 -1
- package/table/summary/Row.js +1 -1
- package/table/summary/context.js +1 -1
- package/table/summary/index.js +1 -1
- package/table/tbody/Td.js +1 -1
- package/table/tbody/Tr.js +15 -15
- package/table/tbody/index.js +1 -1
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +15 -15
- package/table/thead/Column.js +50 -50
- package/table/thead/index.js +1 -1
- package/table/utils.js +1 -1
- package/tabs/Tab.js +1 -1
- package/tabs/TabContent.js +1 -1
- package/tabs/TabPane.js +1 -1
- package/tabs/hook/useDomSize.js +1 -1
- package/tabs/hook/useHeaderScroll.js +1 -1
- package/tabs/index.js +1 -1
- package/tabs/tab-header/DropdownIcon.js +1 -1
- package/tabs/tab-header/TabInk.js +1 -1
- package/tabs/tab-header/TabNavIcon.js +1 -1
- package/tabs/tab-header/TabTitle.js +1 -1
- package/tabs/tab-header/index.js +1 -1
- package/tabs/utils.js +1 -1
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +49 -50
- package/time-picker/RangePicker.js +1 -1
- package/time-picker/TimeColumn.js +42 -58
- package/time-picker/TimePicker.js +53 -55
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/utils.js +16 -26
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/index.js +1 -1
- package/tooltip/index.js +7 -7
- package/tour/index.js +1 -1
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -1
- package/transfer/index.js +1 -1
- package/tree/Animation.js +1 -1
- package/tree/Context.js +1 -1
- package/tree/Node.js +1 -1
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +1 -1
- package/tree/index.js +1 -1
- package/tree/utils.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +12 -12
- package/tree-select/hook/useKeyCache.js +1 -1
- package/tree-select/hook/useStateValue.js +1 -1
- package/tree-select/hook/useTreeData.js +1 -1
- package/tree-select/index.js +1 -1
- package/tree-select/interface.js +1 -1
- package/tree-select/utils.js +1 -1
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.js +15 -15
- package/types/checkbox/Checkbox.d.ts +1 -1
- package/types/checkbox/interface.d.ts +3 -3
- package/types/config-provider/interface.d.ts +6 -1
- package/types/date-picker/index.d.ts +2 -2
- package/types/date-picker/interface.d.ts +16 -13
- package/types/date-picker/panel/Header.d.ts +2 -0
- package/types/date-picker/panel/date/index.d.ts +1 -1
- package/types/date-picker/panel/month/index.d.ts +3 -3
- package/types/date-picker/panel/quarter/index.d.ts +3 -3
- package/types/date-picker/panel/range/index.d.ts +3 -3
- package/types/date-picker/panel/week/index.d.ts +3 -3
- package/types/date-picker/panel/year/index.d.ts +3 -3
- package/types/form/interface.d.ts +1 -0
- package/types/index.d.ts +2 -2
- package/types/time-picker/RangePicker.d.ts +2 -2
- package/types/time-picker/TimeColumn.d.ts +0 -1
- package/types/time-picker/index.d.ts +3 -3
- package/types/time-picker/interface.d.ts +2 -8
- package/types/time-picker/utils.d.ts +0 -1
- package/typography/Base.js +1 -1
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +1 -1
- package/typography/Operations.js +1 -1
- package/typography/Paragraph.js +1 -1
- package/typography/Text.js +1 -1
- package/typography/Title.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +1 -1
- package/typography/useCssEllipsis.js +1 -1
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +6 -6
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +22 -22
- package/upload/constant.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +4 -4
- package/upload/list/TextItem.js +3 -3
- package/upload/list/UploadProgress.js +1 -1
- package/upload/list/index.js +1 -1
- package/upload/request.js +1 -1
- package/upload/utils.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/constant.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/emitter.js +1 -1
- package/utils/fileToURL.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/findScrollParent.js +1 -1
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.js +1 -1
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/mutationObserver.js +1 -1
- package/utils/names.js +1 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -1
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/responsiveObserve.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/style.js +1 -1
- package/utils/supportRef.js +1 -1
- package/utils/throttleByRaf.js +1 -1
- package/utils/throttleByRaf2.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -1
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.js +1 -1
- package/utils/warning.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/verification-code/index.js +1 -1
- package/version/index.js +2 -2
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/virtual-list/index.js +1 -1
- package/virtual-list/utils/algorithm.js +1 -1
- package/virtual-list/utils/item.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/watermark/index.js +1 -1
- package/LICENSE +0 -21
- package/form/IconSymbol.js +0 -21
- package/types/form/IconSymbol.d.ts +0 -4
|
@@ -1,68 +1,52 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
2
|
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
4
|
-
import { useRef as n, useEffect as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, [s]), d(() => {
|
|
24
|
-
if (o && o !== a) {
|
|
25
|
-
const e = f.current.get(s);
|
|
26
|
-
e && (b(r.current, e.offsetTop, 0), p.current = e.offsetTop);
|
|
27
|
-
}
|
|
28
|
-
}, [o, a]), d(() => {
|
|
29
|
-
l.length <= 1 || (v.current = (m.current.clientHeight - r.current.clientHeight) / (l.length - 1));
|
|
30
|
-
}, [l.length]);
|
|
31
|
-
const x = H(
|
|
32
|
-
C(() => {
|
|
33
|
-
const t = (r.current.scrollTop - p.current > 0 ? Math.ceil : Math.floor)(
|
|
34
|
-
r.current.scrollTop / v.current
|
|
35
|
-
);
|
|
36
|
-
t !== s && l[t] && !l[t].disabled && u(l[t].value, h);
|
|
37
|
-
}, 100),
|
|
38
|
-
[u]
|
|
39
|
-
);
|
|
40
|
-
return /* @__PURE__ */ i(
|
|
3
|
+
import x from "@unicom-cloud/utils/dom-helpers/reflow";
|
|
4
|
+
import { useRef as n, useEffect as C } from "react";
|
|
5
|
+
import N from "../dist/ui-common/hooks/use-is-first-render/index.js";
|
|
6
|
+
import d from "@unicom-cloud/utils/class-name";
|
|
7
|
+
function w(m) {
|
|
8
|
+
const { prefixCls: e, list: p, value: c, onHandleSelect: h, unit: v, popupVisible: k } = m, $ = N(), r = n(void 0), b = n(void 0), s = n(/* @__PURE__ */ new Map());
|
|
9
|
+
return C(() => {
|
|
10
|
+
const t = s.current.get(c);
|
|
11
|
+
if (!t) return;
|
|
12
|
+
const o = Array.from(s.current.values()).reduce(
|
|
13
|
+
(f, l) => f + l.offsetHeight,
|
|
14
|
+
0
|
|
15
|
+
);
|
|
16
|
+
if (!(r.current.offsetHeight > o))
|
|
17
|
+
return r.current.offsetHeight > o - t.offsetTop, x(r.current), r.current.scrollTo({
|
|
18
|
+
top: t.offsetTop,
|
|
19
|
+
behavior: $ ? "instant" : "smooth"
|
|
20
|
+
}), () => {
|
|
21
|
+
};
|
|
22
|
+
}, [c]), /* @__PURE__ */ i(
|
|
41
23
|
"div",
|
|
42
24
|
{
|
|
43
|
-
className: T(`${c}-list`),
|
|
44
25
|
ref: r,
|
|
45
|
-
|
|
46
|
-
children: /* @__PURE__ */ i("ul", { ref:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
26
|
+
className: d(`${e}-list`),
|
|
27
|
+
children: /* @__PURE__ */ i("ul", { ref: b, children: p.map((t, o, f) => {
|
|
28
|
+
const { value: l, label: g, disabled: u, selected: H } = t ?? {}, T = `${l}-${o}`;
|
|
29
|
+
return /* @__PURE__ */ i(
|
|
30
|
+
"li",
|
|
31
|
+
{
|
|
32
|
+
className: d(`${e}-cell`, {
|
|
33
|
+
[`${e}-cell-disabled`]: u,
|
|
34
|
+
[`${e}-cell-selected`]: H
|
|
35
|
+
}),
|
|
36
|
+
onClick: (a) => {
|
|
37
|
+
u || h(l, v);
|
|
38
|
+
},
|
|
39
|
+
ref: (a) => {
|
|
40
|
+
s.current.set(l, a);
|
|
41
|
+
},
|
|
42
|
+
children: /* @__PURE__ */ i("div", { className: `${e}-cell-inner`, children: g })
|
|
58
43
|
},
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
)) })
|
|
44
|
+
T
|
|
45
|
+
);
|
|
46
|
+
}) })
|
|
63
47
|
}
|
|
64
48
|
);
|
|
65
49
|
}
|
|
66
50
|
export {
|
|
67
|
-
|
|
51
|
+
w as default
|
|
68
52
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/* 2025-11-
|
|
2
|
-
import { jsxs as _, Fragment as
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
|
+
import { jsxs as _, Fragment as pe, jsx as p } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as W, useCallback as X } from "react";
|
|
4
4
|
import Y from "../button/index.js";
|
|
5
5
|
import "../config-provider/ConfigProvider.js";
|
|
6
|
-
import
|
|
7
|
-
import { getDayjsValue as
|
|
6
|
+
import he from "@unicom-cloud/utils/class-name";
|
|
7
|
+
import { getDayjsValue as xe, getNow as Z, toLocal as V } from "../utils/dayjs.js";
|
|
8
8
|
import "../dist/ui-common/utils/is.js";
|
|
9
9
|
import { padStart as d } from "../dist/ui-common/utils/pad.js";
|
|
10
10
|
import A from "./TimeColumn.js";
|
|
11
|
-
import
|
|
11
|
+
import $e from "./context.js";
|
|
12
12
|
import { getColumnsFromFormat as D } from "./utils.js";
|
|
13
|
-
import
|
|
13
|
+
import Ce from "../config-provider/context.js";
|
|
14
14
|
import { isFunction as m } from "@unicom-cloud/utils/is";
|
|
15
15
|
import { dayjs as C } from "../dist/ui-common/utils/dayjs.js";
|
|
16
|
-
const
|
|
17
|
-
function ve(
|
|
18
|
-
return
|
|
16
|
+
const Oe = ["am", "pm"];
|
|
17
|
+
function ve(O) {
|
|
18
|
+
return O.use12Hours ?? D(O.format).use12Hours;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function je(O) {
|
|
21
21
|
const {
|
|
22
|
-
format:
|
|
22
|
+
format: v = "HH:mm:ss",
|
|
23
23
|
onSelect: I,
|
|
24
24
|
popupVisible: ee,
|
|
25
25
|
step: S = {},
|
|
@@ -35,9 +35,8 @@ function ze(w) {
|
|
|
35
35
|
extra: G,
|
|
36
36
|
disableConfirm: H,
|
|
37
37
|
hideFooter: ie,
|
|
38
|
-
showNowBtn: J = !0
|
|
39
|
-
|
|
40
|
-
} = w, { getPrefixCls: se, locale: K } = W(Oe), F = se?.("time-picker"), { utcOffset: y, timezone: B } = W(Ce), c = $e(ne, O), k = c && c.hour() >= 12 ? "pm" : "am", a = ve(w), E = X(
|
|
38
|
+
showNowBtn: J = !0
|
|
39
|
+
} = O, { getPrefixCls: te, locale: K } = W(Ce), F = te?.("time-picker"), { utcOffset: B, timezone: y } = W($e), c = xe(ne, v), k = c && c.hour() >= 12 ? "pm" : "am", a = ve(O), E = X(
|
|
41
40
|
(o) => {
|
|
42
41
|
const n = S.hour || 1, e = S.minute || 1, g = S.second || 1, s = [];
|
|
43
42
|
if (o === "hour") {
|
|
@@ -54,10 +53,10 @@ function ze(w) {
|
|
|
54
53
|
return s;
|
|
55
54
|
},
|
|
56
55
|
[S.hour, S.minute, S.second, a]
|
|
57
|
-
), N = E("hour"),
|
|
56
|
+
), N = E("hour"), b = E("minute"), x = E("second");
|
|
58
57
|
let i = c && c.hour();
|
|
59
58
|
i = a && i > 12 ? i - 12 : i, a && i === 0 && k === "am" && (i += 12);
|
|
60
|
-
const
|
|
59
|
+
const w = c && c.minute(), Q = c && c.second(), L = X(
|
|
61
60
|
(o) => {
|
|
62
61
|
switch (o) {
|
|
63
62
|
case "hour":
|
|
@@ -68,16 +67,16 @@ function ze(w) {
|
|
|
68
67
|
) : d(N[0], 2, "0");
|
|
69
68
|
case "minute":
|
|
70
69
|
return m(u) ? d(
|
|
71
|
-
|
|
70
|
+
b.find(
|
|
72
71
|
(n) => u(i).indexOf(n) === -1
|
|
73
72
|
) || 0,
|
|
74
73
|
2,
|
|
75
74
|
"0"
|
|
76
|
-
) : d(
|
|
75
|
+
) : d(b[0], 2, "0");
|
|
77
76
|
case "second":
|
|
78
77
|
return m(r) ? d(
|
|
79
78
|
x.find(
|
|
80
|
-
(n) => r(i,
|
|
79
|
+
(n) => r(i, w).indexOf(n) === -1
|
|
81
80
|
) || 0,
|
|
82
81
|
2,
|
|
83
82
|
"0"
|
|
@@ -88,17 +87,17 @@ function ze(w) {
|
|
|
88
87
|
},
|
|
89
88
|
[
|
|
90
89
|
N,
|
|
91
|
-
|
|
90
|
+
b,
|
|
92
91
|
x,
|
|
93
92
|
h,
|
|
94
93
|
u,
|
|
95
94
|
r,
|
|
96
95
|
i,
|
|
97
|
-
|
|
96
|
+
w
|
|
98
97
|
]
|
|
99
98
|
);
|
|
100
|
-
function
|
|
101
|
-
const e = D(
|
|
99
|
+
function se(o, n) {
|
|
100
|
+
const e = D(v).list.indexOf("A") !== -1, g = c || C(
|
|
102
101
|
`${L("hour")}:${L("minute")}:${L(
|
|
103
102
|
"second"
|
|
104
103
|
)}`,
|
|
@@ -107,7 +106,7 @@ function ze(w) {
|
|
|
107
106
|
let s = g.hour(), t = g.minute(), $ = g.second();
|
|
108
107
|
const R = e ? k.toUpperCase() : k;
|
|
109
108
|
let l = "HH:mm:ss", f;
|
|
110
|
-
a && (e ? l = `${l} A` : l = `${l} a`), a && (s = s > 12 ? s - 12 : s), n === "hour" && (m(u) && u(o).includes(t) && (t =
|
|
109
|
+
a && (e ? l = `${l} A` : l = `${l} a`), a && (s = s > 12 ? s - 12 : s), n === "hour" && (m(u) && u(o).includes(t) && (t = b.find(
|
|
111
110
|
(P) => u(o).indexOf(P) === -1
|
|
112
111
|
) ?? 0), m(r) && r(o, t).includes($) && ($ = x.find(
|
|
113
112
|
(P) => r(o, t).indexOf(P) === -1
|
|
@@ -130,24 +129,23 @@ function ze(w) {
|
|
|
130
129
|
l,
|
|
131
130
|
"en"
|
|
132
131
|
)), f = C(f, l).locale(C.locale()), I?.(
|
|
133
|
-
V(f,
|
|
134
|
-
V(f,
|
|
132
|
+
V(f, B, y).format(v),
|
|
133
|
+
V(f, B, y)
|
|
135
134
|
), U || (q?.(f), H && z(f));
|
|
136
135
|
}
|
|
137
|
-
function
|
|
136
|
+
function re() {
|
|
138
137
|
c && z(c);
|
|
139
138
|
}
|
|
140
|
-
function
|
|
141
|
-
const o = Z(), n = Z(
|
|
142
|
-
I?.(o.format(
|
|
139
|
+
function ce() {
|
|
140
|
+
const o = Z(), n = Z(B, y);
|
|
141
|
+
I?.(o.format(v), o), H ? z?.(n) : q?.(n);
|
|
143
142
|
}
|
|
144
143
|
const M = {
|
|
145
144
|
prefixCls: F,
|
|
146
|
-
onHandleSelect:
|
|
147
|
-
popupVisible: ee
|
|
148
|
-
scrollSticky: te
|
|
145
|
+
onHandleSelect: se,
|
|
146
|
+
popupVisible: ee
|
|
149
147
|
};
|
|
150
|
-
function
|
|
148
|
+
function me() {
|
|
151
149
|
const n = (j && m(h) ? N.filter((e) => h().indexOf(e) === -1) : N).map((e) => ({
|
|
152
150
|
label: d(`${e}`, 2, "0"),
|
|
153
151
|
value: e,
|
|
@@ -164,11 +162,11 @@ function ze(w) {
|
|
|
164
162
|
}
|
|
165
163
|
);
|
|
166
164
|
}
|
|
167
|
-
function
|
|
168
|
-
const n = (j && m(u) ?
|
|
165
|
+
function ue() {
|
|
166
|
+
const n = (j && m(u) ? b.filter((e) => u(i).indexOf(e) === -1) : b).map((e) => ({
|
|
169
167
|
label: d(`${e}`, 2, "0"),
|
|
170
168
|
value: e,
|
|
171
|
-
selected: i !== void 0 &&
|
|
169
|
+
selected: i !== void 0 && w === e,
|
|
172
170
|
disabled: m(u) && u(i).indexOf(e) !== -1
|
|
173
171
|
}));
|
|
174
172
|
return /* @__PURE__ */ p(
|
|
@@ -176,19 +174,19 @@ function ze(w) {
|
|
|
176
174
|
{
|
|
177
175
|
...M,
|
|
178
176
|
list: n,
|
|
179
|
-
value:
|
|
177
|
+
value: w,
|
|
180
178
|
unit: "minute"
|
|
181
179
|
}
|
|
182
180
|
);
|
|
183
181
|
}
|
|
184
|
-
function
|
|
182
|
+
function fe() {
|
|
185
183
|
const n = (j && m(r) ? x.filter(
|
|
186
|
-
(e) => r(i,
|
|
184
|
+
(e) => r(i, w).indexOf(e) === -1
|
|
187
185
|
) : x).map((e) => ({
|
|
188
186
|
label: d(`${e}`, 2, "0"),
|
|
189
187
|
value: e,
|
|
190
188
|
selected: i !== void 0 && Q === e,
|
|
191
|
-
disabled: m(r) && r(i,
|
|
189
|
+
disabled: m(r) && r(i, w).indexOf(e) !== -1
|
|
192
190
|
}));
|
|
193
191
|
return /* @__PURE__ */ p(
|
|
194
192
|
A,
|
|
@@ -200,8 +198,8 @@ function ze(w) {
|
|
|
200
198
|
}
|
|
201
199
|
);
|
|
202
200
|
}
|
|
203
|
-
function
|
|
204
|
-
const o = D(
|
|
201
|
+
function le() {
|
|
202
|
+
const o = D(v).list.indexOf("A") !== -1, n = Oe.map((e) => ({
|
|
205
203
|
label: o ? e.toUpperCase() : e,
|
|
206
204
|
value: e,
|
|
207
205
|
selected: k === e
|
|
@@ -216,30 +214,30 @@ function ze(w) {
|
|
|
216
214
|
}
|
|
217
215
|
);
|
|
218
216
|
}
|
|
219
|
-
const { list: T } = D(
|
|
220
|
-
return /* @__PURE__ */ _(
|
|
221
|
-
/* @__PURE__ */ _("div", { className:
|
|
222
|
-
(T.indexOf("H") !== -1 || T.indexOf("h") !== -1) &&
|
|
223
|
-
T.indexOf("m") !== -1 &&
|
|
224
|
-
T.indexOf("s") !== -1 &&
|
|
225
|
-
a &&
|
|
217
|
+
const { list: T } = D(v), de = he(F, O.className), ae = ie || H && U || !U && H && !J;
|
|
218
|
+
return /* @__PURE__ */ _(pe, { children: [
|
|
219
|
+
/* @__PURE__ */ _("div", { className: de, children: [
|
|
220
|
+
(T.indexOf("H") !== -1 || T.indexOf("h") !== -1) && me(),
|
|
221
|
+
T.indexOf("m") !== -1 && ue(),
|
|
222
|
+
T.indexOf("s") !== -1 && fe(),
|
|
223
|
+
a && le()
|
|
226
224
|
] }),
|
|
227
225
|
G && /* @__PURE__ */ p("div", { className: `${F}-footer-extra-wrapper`, children: G }),
|
|
228
|
-
!
|
|
229
|
-
!U && J ? /* @__PURE__ */ p(Y, { size: "mini", onClick:
|
|
226
|
+
!ae && /* @__PURE__ */ _("div", { className: `${F}-footer-btn-wrapper`, children: [
|
|
227
|
+
!U && J ? /* @__PURE__ */ p(Y, { size: "mini", onClick: ce, children: K?.TimePicker?.now }) : /* @__PURE__ */ p("div", {}),
|
|
230
228
|
!H && /* @__PURE__ */ p(
|
|
231
229
|
Y,
|
|
232
230
|
{
|
|
233
231
|
type: "primary",
|
|
234
232
|
size: "mini",
|
|
235
|
-
onClick:
|
|
233
|
+
onClick: re,
|
|
236
234
|
disabled: oe || !c,
|
|
237
|
-
children: K?.TimePicker
|
|
235
|
+
children: K?.TimePicker?.ok
|
|
238
236
|
}
|
|
239
237
|
)
|
|
240
238
|
] })
|
|
241
239
|
] });
|
|
242
240
|
}
|
|
243
241
|
export {
|
|
244
|
-
|
|
242
|
+
je as default
|
|
245
243
|
};
|
package/time-picker/context.js
CHANGED
package/time-picker/index.js
CHANGED
package/time-picker/utils.js
CHANGED
|
@@ -1,36 +1,26 @@
|
|
|
1
|
-
/* 2025-11-
|
|
2
|
-
import { isDayjs as
|
|
3
|
-
import { methods as
|
|
4
|
-
import { dayjs as
|
|
5
|
-
function d(
|
|
6
|
-
const
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
|
+
import { isDayjs as a } from "dayjs";
|
|
3
|
+
import { methods as m } from "../utils/dayjs.js";
|
|
4
|
+
import { dayjs as f } from "../dist/ui-common/utils/dayjs.js";
|
|
5
|
+
function d(r) {
|
|
6
|
+
const s = ["H", "h", "m", "s", "a", "A"], e = [];
|
|
7
7
|
let n = !1;
|
|
8
|
-
return
|
|
9
|
-
|
|
8
|
+
return s.forEach((o) => {
|
|
9
|
+
r.indexOf(o) !== -1 && (e.push(o), (o === "a" || o === "A") && (n = !0));
|
|
10
10
|
}), {
|
|
11
|
-
list:
|
|
11
|
+
list: e,
|
|
12
12
|
use12Hours: n
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
o.scrollTo({ top: t, behavior: "smooth" });
|
|
21
|
-
})
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
function p(o) {
|
|
25
|
-
const t = m(), s = t.year(), n = t.month(), a = t.date();
|
|
26
|
-
if (i(o)) {
|
|
27
|
-
let r = o;
|
|
28
|
-
return r = e.set(r, "year", s), r = e.set(r, "month", n), r = e.set(r, "date", a), r;
|
|
15
|
+
function h(r) {
|
|
16
|
+
const s = f(), e = s.year(), n = s.month(), o = s.date();
|
|
17
|
+
if (a(r)) {
|
|
18
|
+
let t = r;
|
|
19
|
+
return t = m.set(t, "year", e), t = m.set(t, "month", n), t = m.set(t, "date", o), t;
|
|
29
20
|
}
|
|
30
|
-
return
|
|
21
|
+
return r;
|
|
31
22
|
}
|
|
32
23
|
export {
|
|
33
24
|
d as getColumnsFromFormat,
|
|
34
|
-
|
|
35
|
-
h as scrollTo
|
|
25
|
+
h as getFormatTime
|
|
36
26
|
};
|
package/timeline/Item.js
CHANGED
package/timeline/Timeline.js
CHANGED
package/timeline/index.js
CHANGED
package/tooltip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
2
|
import { jsx as p } from "react/jsx-runtime";
|
|
3
3
|
import j from "@unicom-cloud/utils/tinycolor";
|
|
4
4
|
import { forwardRef as z, useContext as B, useRef as F, useImperativeHandle as I, useMemo as W } from "react";
|
|
@@ -58,7 +58,7 @@ function eo(g, P) {
|
|
|
58
58
|
color: r,
|
|
59
59
|
pre: c,
|
|
60
60
|
// 潘启宝添加
|
|
61
|
-
...
|
|
61
|
+
...m
|
|
62
62
|
} = n, t = F(void 0), L = (i = 0, S) => {
|
|
63
63
|
t.current?.updatePopupPosition?.(i, S);
|
|
64
64
|
};
|
|
@@ -78,12 +78,12 @@ function eo(g, P) {
|
|
|
78
78
|
[]
|
|
79
79
|
);
|
|
80
80
|
const e = V || b?.("tooltip"), o = {
|
|
81
|
-
...K(
|
|
82
|
-
...Q(
|
|
81
|
+
...K(m, G),
|
|
82
|
+
...Q(m),
|
|
83
83
|
...a,
|
|
84
84
|
className: d(l, a?.className)
|
|
85
|
-
},
|
|
86
|
-
"popupVisible" in n ? o.popupVisible = v : J(
|
|
85
|
+
}, f = X(s) ? s() : s;
|
|
86
|
+
"popupVisible" in n ? o.popupVisible = v : J(f, !0) && (o.popupVisible = !1), (o.showArrow !== !1 || o.arrowProps) && (o.arrowProps = o.arrowProps || {}, r && (o.arrowProps.style = {
|
|
87
87
|
backgroundColor: r,
|
|
88
88
|
...o.arrowProps.style
|
|
89
89
|
}));
|
|
@@ -116,7 +116,7 @@ function eo(g, P) {
|
|
|
116
116
|
}
|
|
117
117
|
),
|
|
118
118
|
role: "tooltip",
|
|
119
|
-
children: /* @__PURE__ */ p(i, { className: `${e}-content-inner`, children:
|
|
119
|
+
children: /* @__PURE__ */ p(i, { className: `${e}-content-inner`, children: f })
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
122
|
},
|
package/tour/index.js
CHANGED
package/transfer/Item.js
CHANGED
package/transfer/List.js
CHANGED
package/transfer/index.js
CHANGED
package/tree/Animation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
2
|
import { jsx as y } from "react/jsx-runtime";
|
|
3
3
|
import { PqbCSSTransition as _ } from "../dist/ui-common/transition-group/PqbCSSTransition.js";
|
|
4
4
|
import { useContext as p, useRef as H, useMemo as E, useEffect as k } from "react";
|
package/tree/Context.js
CHANGED
package/tree/Node.js
CHANGED
package/tree/NodeList.js
CHANGED
package/tree/Tree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
2
|
import { jsx as Oe } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as Nt, useContext as gt, useMemo as te, useCallback as ne, useRef as R, useState as g, useEffect as re, useImperativeHandle as St, createElement as bt } from "react";
|
|
4
4
|
import h from "lodash/get";
|
package/tree/index.js
CHANGED
package/tree/utils.js
CHANGED
package/tree-select/List.js
CHANGED
package/tree-select/Select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 2025-11-
|
|
1
|
+
/* 2025-11-11 09:22:07 */
|
|
2
2
|
import { jsx as C } from "react/jsx-runtime";
|
|
3
3
|
import ae from "lodash/debounce";
|
|
4
4
|
import { forwardRef as ue, useContext as ce, useRef as f, useState as pe, useCallback as S, useEffect as M, useMemo as fe, useImperativeHandle as me } from "react";
|
|
@@ -49,7 +49,7 @@ const Ke = {
|
|
|
49
49
|
t,
|
|
50
50
|
o,
|
|
51
51
|
v
|
|
52
|
-
), h = t.multiple || t.treeCheckable, c = q?.("tree-select"), T = n && !m(t.onSearch), x = de(`${c}-popup`),
|
|
52
|
+
), h = t.multiple || t.treeCheckable, c = q?.("tree-select"), T = n && !m(t.onSearch), x = de(`${c}-popup`), D = (e) => {
|
|
53
53
|
e !== a && (ee(e), t.onVisibleChange?.(e));
|
|
54
54
|
}, E = (e, r) => {
|
|
55
55
|
(e !== b.current || r !== A.current) && (te(e), b.current = e, A.current = r, re?.(e, r));
|
|
@@ -78,14 +78,14 @@ const Ke = {
|
|
|
78
78
|
}), Z(i);
|
|
79
79
|
}, 100)(e),
|
|
80
80
|
[t.onSearch, g, o, t.filterTreeNode]
|
|
81
|
-
),
|
|
81
|
+
), F = S(() => {
|
|
82
82
|
let e = !0;
|
|
83
83
|
U(t.showSearch) && (e = t.showSearch.retainInputValueWhileSelect !== !1), t.multiple && !e && n !== void 0 && E("", "optionChecked");
|
|
84
84
|
}, [n, t.multiple, JSON.stringify(t.showSearch)]), P = S(
|
|
85
85
|
(e, r) => {
|
|
86
|
-
O(e, r),
|
|
86
|
+
O(e, r), F(), h || D(!1);
|
|
87
87
|
},
|
|
88
|
-
[O,
|
|
88
|
+
[O, F, a]
|
|
89
89
|
), ne = (e, r, l) => {
|
|
90
90
|
if (l.stopPropagation(), e.disabled)
|
|
91
91
|
return;
|
|
@@ -156,7 +156,7 @@ const Ke = {
|
|
|
156
156
|
[t.renderFormat, t.labelInValue, o]
|
|
157
157
|
), se = (e) => {
|
|
158
158
|
O(e, {});
|
|
159
|
-
},
|
|
159
|
+
}, W = (e) => /* @__PURE__ */ C(
|
|
160
160
|
Se,
|
|
161
161
|
{
|
|
162
162
|
autoAlignPopupWidth: !1,
|
|
@@ -205,18 +205,18 @@ const Ke = {
|
|
|
205
205
|
},
|
|
206
206
|
disabled: t.disabled,
|
|
207
207
|
onVisibleChange: (r) => {
|
|
208
|
-
|
|
208
|
+
D(r);
|
|
209
209
|
},
|
|
210
210
|
popupVisible: a,
|
|
211
211
|
children: e
|
|
212
212
|
}
|
|
213
|
-
),
|
|
213
|
+
), _ = m(t.triggerElement) ? (() => {
|
|
214
214
|
let e;
|
|
215
215
|
return h ? e = s.map(
|
|
216
216
|
(r) => t.labelInValue ? { label: r.label, value: r.value } : r.value
|
|
217
217
|
) : e = t.labelInValue ? s[0] : s[0]?.value, t.triggerElement({ value: e });
|
|
218
218
|
})() : t.triggerElement;
|
|
219
|
-
return Oe(
|
|
219
|
+
return Oe(_) ? /* @__PURE__ */ C(
|
|
220
220
|
ye,
|
|
221
221
|
{
|
|
222
222
|
ref: u,
|
|
@@ -244,10 +244,10 @@ const Ke = {
|
|
|
244
244
|
onChangeInputValue: (e) => {
|
|
245
245
|
E(e, "manual");
|
|
246
246
|
},
|
|
247
|
-
renderView:
|
|
247
|
+
renderView: W
|
|
248
248
|
}
|
|
249
|
-
) :
|
|
250
|
-
},
|
|
249
|
+
) : W(_);
|
|
250
|
+
}, De = ue(xe), V = De;
|
|
251
251
|
V.displayName = "TreeSelect";
|
|
252
252
|
V.Node = d.Node;
|
|
253
253
|
V.SHOW_ALL = d.SHOW_ALL;
|