@unicom-cloud/ui 0.8.130 → 0.8.131
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 +5 -4
- 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 +1 -1
- package/List.js +1 -1
- package/Loading.js +1 -1
- package/Marquee.js +1 -1
- package/Masonry.js +1 -1
- 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/Progress2.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 +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- 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 +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/Count.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/index.js +1 -1
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- 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 +1 -1
- 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 +139 -139
- package/cascader/base/node.js +26 -26
- package/cascader/base/store.js +16 -21
- package/cascader/hook/useRefCurrent.js +6 -6
- 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 +1 -1
- package/checkbox/Group.js +1 -1
- package/checkbox/GroupBlock.js +1 -1
- package/checkbox/IconCheck.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/useCheckbox.js +1 -1
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +1 -1
- 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 +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Mode.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +1 -1
- 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 +1 -1
- package/color-picker/interface.js +1 -1
- package/color-picker/utils.js +1 -1
- package/comment/index.js +1 -1
- 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 +1 -1
- package/countdown/index.js +1 -1
- package/countdown/utils.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +283 -285
- 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 +6 -6
- package/date-picker/panel/Footer.js +7 -7
- package/date-picker/panel/Header.js +1 -1
- package/date-picker/panel/Shortcut.js +1 -1
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +19 -19
- package/date-picker/panel/month/index.js +15 -15
- package/date-picker/panel/quarter/index.js +14 -14
- package/date-picker/panel/range/index.js +24 -24
- package/date-picker/panel/week/index.js +9 -9
- package/date-picker/panel/year/index.js +11 -11
- package/date-picker/utils.js +1 -1
- package/descriptions/index.js +27 -26
- package/details/index.js +1 -1
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/flex/index.js +1 -1
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/FormLabel.js +1 -1
- package/form/FormList.js +1 -1
- package/form/FormProvider.js +1 -1
- package/form/context.js +1 -1
- 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 +1 -1
- package/form/store.js +1 -1
- package/form/utils.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- 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-breakpoint/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-event/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-intersection-observers/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-latest/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-move/index.js +1 -1
- package/hooks/use-mutation-observers/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-resize-observers/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-update-layout-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/useBreakpoint.js +1 -1
- package/hooks/useComputedState.js +1 -1
- package/hooks/useCreate.js +1 -1
- package/hooks/useCreation.js +1 -1
- package/hooks/useEvent.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/useIntersectionObservers.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/useLatest.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/useMove.js +1 -1
- package/hooks/useMutationObservers.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/useResizeObservers.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/useUpdateLayoutEffect.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/Icon.js +1 -1
- package/icon/addIconFromCdn.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons/file.js +1 -1
- package/icons.js +1 -1
- package/image/Image.js +1 -1
- package/image/ImageFooter.js +1 -1
- package/image/ImagePreview.js +1 -1
- package/image/ImagePreviewArrow.js +1 -1
- 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 +679 -675
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Number.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Tag.js +1 -1
- package/input/Textarea.js +1 -1
- 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 +1 -1
- package/input-number/useSelectionRange.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/input-tag/index.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/liquid-fill/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/index.js +1 -1
- 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 +1 -1
- package/masonry/Masonry.js +1 -1
- package/masonry/MasonryItem.js +1 -1
- package/masonry/hooks/useDelay.js +1 -1
- package/masonry/hooks/useGutter.js +1 -1
- package/masonry/hooks/usePositions.js +1 -1
- package/masonry/hooks/useRefs.js +1 -1
- package/masonry/index.js +1 -1
- package/mentions/index.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/menu/sub-menu/index.js +1 -1
- package/menu/utils.js +1 -1
- package/message/index.js +1 -1
- package/message/useMessage.js +5 -4
- package/modal/Confirm.js +1 -1
- package/modal/Modal.js +1 -1
- 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 +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +5 -4
- package/notification/withNotification.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 +1 -1
- package/pagination/PageOption.js +5 -4
- package/pagination/Pagination.js +1 -1
- package/pagination/index.js +1 -1
- package/pagination/interface.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +110 -111
- package/picker/index.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.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/progress2/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 +21 -25
- 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 +30 -28
- package/select/index.js +1 -1
- package/select/utils.js +1 -1
- package/select-view/Core.js +113 -113
- 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 +1 -1
- 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 +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +1 -1
- package/splitter/Splitter.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/variables.css +5 -2
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/switch/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +342 -350
- 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 +1 -1
- package/table/tbody/index.js +1 -1
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +1 -1
- package/table/thead/Column.js +1 -1
- 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 +1 -1
- package/time-picker/RangePicker.js +1 -1
- package/time-picker/TimeColumn.js +27 -19
- package/time-picker/TimePicker.js +53 -51
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/utils.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/index.js +1 -1
- package/tooltip/index.js +1 -1
- 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 +7 -7
- 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 +1 -1
- package/types/cascader/base/store.d.ts +1 -0
- package/types/config-provider/interface.d.ts +0 -5
- package/types/date-picker/panel/Body.d.ts +1 -1
- package/types/date-picker/panel/Header.d.ts +1 -1
- package/types/date-picker/panel/Shortcut.d.ts +1 -1
- package/types/date-picker/panel/date/index.d.ts +1 -1
- package/types/date-picker/panel/month/index.d.ts +1 -1
- package/types/date-picker/panel/quarter/index.d.ts +1 -1
- package/types/date-picker/panel/range/index.d.ts +1 -1
- package/types/date-picker/panel/week/index.d.ts +1 -1
- package/types/date-picker/panel/year/index.d.ts +1 -1
- package/types/time-picker/TimeColumn.d.ts +1 -0
- package/types/time-picker/TimePicker.d.ts +1 -0
- package/types/utils/fileRead.d.ts +1 -0
- package/types/utils/fileToDataURL.d.ts +1 -0
- package/types/utils/index.d.ts +2 -1
- package/types/utils/is.d.ts +1 -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 +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +1 -1
- package/upload/constant.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +7 -7
- package/upload/list/TextItem.js +14 -14
- package/upload/list/UploadProgress.js +1 -1
- package/upload/list/index.js +1 -1
- package/upload/list/utils.js +1 -1
- package/upload/request.js +1 -1
- package/upload/utils.js +1 -1
- package/utils/callOrReturn.js +1 -1
- package/utils/callbackOriginRef.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/fileRead.js +6 -0
- package/utils/fileToDataURL.js +6 -0
- package/utils/fillNBSP.js +1 -1
- package/utils/findRootElement.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 +288 -284
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +87 -85
- 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/ref.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/setCreateRoot.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/string.js +1 -1
- package/utils/style.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/constant.js +1 -1
- package/virtual-list/hook/useCacheChildrenNodes.js +1 -1
- package/virtual-list/hook/useComputeVirtualItemHeight.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/types/utils/fileToURL.d.ts +0 -3
- package/utils/fileToURL.js +0 -7
package/date-picker/context.js
CHANGED
package/date-picker/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsxs as D, Fragment as E, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as M } from "react";
|
|
4
|
-
import O from "../context.js";
|
|
5
|
-
import _ from "../hook/useCellClassName.js";
|
|
6
4
|
import o from "@unicom-cloud/ui-common/utils/className";
|
|
7
|
-
import { isFunction as
|
|
5
|
+
import { isFunction as O } from "@unicom-cloud/ui-common/utils/is";
|
|
6
|
+
import _ from "../context.js";
|
|
7
|
+
import y from "../hook/useCellClassName.js";
|
|
8
8
|
import { isDisabledDate as A } from "../utils.js";
|
|
9
9
|
import S from "./WeekList.js";
|
|
10
10
|
function J(i) {
|
|
@@ -22,7 +22,7 @@ function J(i) {
|
|
|
22
22
|
isSameTime: N,
|
|
23
23
|
format: k,
|
|
24
24
|
mode: h
|
|
25
|
-
} = i, { utcOffset: p, timezone: w, weekStart: $ } = M(
|
|
25
|
+
} = i, { utcOffset: p, timezone: w, weekStart: $ } = M(_), L = y({
|
|
26
26
|
...i,
|
|
27
27
|
isSameTime: N
|
|
28
28
|
});
|
|
@@ -61,7 +61,7 @@ function J(i) {
|
|
|
61
61
|
f?.(e.time, s);
|
|
62
62
|
},
|
|
63
63
|
onClick: (R) => !s && d(e.time.format(k), e.time),
|
|
64
|
-
children:
|
|
64
|
+
children: O(m) ? m(
|
|
65
65
|
e.time,
|
|
66
66
|
e
|
|
67
67
|
/* 潘启宝添加第二个参数 */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsxs as i, jsx as e, Fragment as $ } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as v } from "react";
|
|
4
4
|
import h from "../../button/index.js";
|
|
5
|
-
import B from "
|
|
6
|
-
import b from "
|
|
7
|
-
import
|
|
5
|
+
import B from "../../link/index.js";
|
|
6
|
+
import { isArray as b } from "@unicom-cloud/ui-common/utils/is";
|
|
7
|
+
import y from "../context.js";
|
|
8
8
|
import L from "./Shortcut.js";
|
|
9
9
|
function K(u) {
|
|
10
|
-
const { utcOffset: P, timezone: E, weekStart: g } = v(
|
|
10
|
+
const { utcOffset: P, timezone: E, weekStart: g } = v(y), {
|
|
11
11
|
showTime: o,
|
|
12
12
|
prefixCls: t,
|
|
13
13
|
DATEPICKER_LOCALE: r,
|
|
@@ -25,10 +25,10 @@ function K(u) {
|
|
|
25
25
|
mode: x,
|
|
26
26
|
shortcutsPlacementLeft: m,
|
|
27
27
|
isRangePicker: z
|
|
28
|
-
} = u, d =
|
|
28
|
+
} = u, d = b(s) && s.length > 0, N = n && o && !d || d && !m, T = o?.mode === "standard";
|
|
29
29
|
return /* @__PURE__ */ i("div", { className: `${t}-footer`, children: [
|
|
30
30
|
a && /* @__PURE__ */ e("div", { className: `${t}-footer-extra-wrapper`, children: a }),
|
|
31
|
-
!o && n && x === "date" && /* @__PURE__ */ e("div", { className: `${t}-footer-now-wrapper`, children: /* @__PURE__ */ e(
|
|
31
|
+
!o && n && x === "date" && /* @__PURE__ */ e("div", { className: `${t}-footer-now-wrapper`, children: /* @__PURE__ */ e(B, { onClick: l, children: r.today }) }),
|
|
32
32
|
N || o ? /* @__PURE__ */ i("div", { className: `${t}-footer-btn-wrapper`, children: [
|
|
33
33
|
m ? /* @__PURE__ */ e("div", {}) : /* @__PURE__ */ e(
|
|
34
34
|
L,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsx as l, jsxs as D } from "react/jsx-runtime";
|
|
3
3
|
import he from "lodash/merge";
|
|
4
4
|
import { useContext as _, useMemo as ye } from "react";
|
|
5
5
|
import "../../../config-provider/ConfigProvider.js";
|
|
6
|
-
import Ce from "
|
|
7
|
-
import ge from "
|
|
8
|
-
import we from "../Header.js";
|
|
9
|
-
import Se from "../month/index.js";
|
|
10
|
-
import xe from "../year/index.js";
|
|
11
|
-
import Te from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
12
|
-
import Ne from "../../../time-picker/TimePicker.js";
|
|
6
|
+
import Ce from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
7
|
+
import ge from "../../../time-picker/TimePicker.js";
|
|
13
8
|
import g from "@unicom-cloud/ui-common/utils/className";
|
|
14
9
|
import { newArray as F } from "../../../utils/constant.js";
|
|
15
|
-
import { getTimeFormat as
|
|
10
|
+
import { getTimeFormat as we, getDayjsValue as Se, methods as O } from "../../../utils/dayjs.js";
|
|
16
11
|
import { isPlainObject as B, isFunction as H } from "@unicom-cloud/ui-common/utils/is";
|
|
17
|
-
import
|
|
12
|
+
import xe from "@unicom-cloud/ui-common/utils/omit";
|
|
13
|
+
import Te from "../../context.js";
|
|
14
|
+
import Ne from "../Body.js";
|
|
15
|
+
import ve from "../Header.js";
|
|
16
|
+
import De from "../month/index.js";
|
|
17
|
+
import Oe from "../year/index.js";
|
|
18
18
|
import be from "../../../config-provider/context.js";
|
|
19
19
|
const Y = 42, b = (t) => ({
|
|
20
20
|
year: t.year(),
|
|
@@ -59,7 +59,7 @@ function Je(t) {
|
|
|
59
59
|
getPrefixCls: k,
|
|
60
60
|
rtl: r,
|
|
61
61
|
componentConfig: c
|
|
62
|
-
} = _(be), n =
|
|
62
|
+
} = _(be), n = Ce(
|
|
63
63
|
t,
|
|
64
64
|
{},
|
|
65
65
|
c?.DatePicker
|
|
@@ -97,7 +97,7 @@ function Je(t) {
|
|
|
97
97
|
panelMode: f,
|
|
98
98
|
setPanelMode: C,
|
|
99
99
|
...me
|
|
100
|
-
} = n, { utcOffset: le, timezone: ce, weekStart: E } = _(
|
|
100
|
+
} = n, { utcOffset: le, timezone: ce, weekStart: E } = _(Te), T = he(h.DatePicker, Q), p = k?.(o ? "panel-week" : "panel-date"), de = g(p), fe = j ? { rangeValues: M } : { value: L }, N = d?.mode === "standard", R = B(d) && d.format || we(m), $ = h.dayjsLocale, pe = ye(() => Me(
|
|
101
101
|
{ ...n, dayStartOfWeek: E },
|
|
102
102
|
a.locale($)
|
|
103
103
|
), [a.toString(), E, $]);
|
|
@@ -105,10 +105,10 @@ function Je(t) {
|
|
|
105
105
|
j ? v = H(y) ? y(
|
|
106
106
|
M[A],
|
|
107
107
|
A === 0 ? "start" : "end"
|
|
108
|
-
) : {} : v = H(y) ? y(
|
|
108
|
+
) : {} : v = H(y) ? y(Se(L, m)) : {};
|
|
109
109
|
function ue() {
|
|
110
110
|
return /* @__PURE__ */ l(
|
|
111
|
-
|
|
111
|
+
Ne,
|
|
112
112
|
{
|
|
113
113
|
...me,
|
|
114
114
|
...fe,
|
|
@@ -133,14 +133,14 @@ function Je(t) {
|
|
|
133
133
|
}
|
|
134
134
|
function I(i) {
|
|
135
135
|
const s = B(d) ? d : {}, V = {
|
|
136
|
-
...
|
|
136
|
+
...xe(K, ["disableConfirm"]),
|
|
137
137
|
...s,
|
|
138
138
|
...v
|
|
139
139
|
}, W = ae.format(R);
|
|
140
140
|
return /* @__PURE__ */ D("div", { className: g(`${p}-time-picker`), children: [
|
|
141
141
|
/* @__PURE__ */ l("header", { className: `${p}-time-picker-title`, children: N ? W : T.selectTime }),
|
|
142
142
|
/* @__PURE__ */ l(
|
|
143
|
-
|
|
143
|
+
ge,
|
|
144
144
|
{
|
|
145
145
|
...V,
|
|
146
146
|
className: g(V.className, i?.className),
|
|
@@ -167,7 +167,7 @@ function Je(t) {
|
|
|
167
167
|
}
|
|
168
168
|
if (f === "year")
|
|
169
169
|
return /* @__PURE__ */ l(
|
|
170
|
-
|
|
170
|
+
Oe,
|
|
171
171
|
{
|
|
172
172
|
...S(f),
|
|
173
173
|
pageShowDate: a,
|
|
@@ -179,7 +179,7 @@ function Je(t) {
|
|
|
179
179
|
);
|
|
180
180
|
if (f === "month")
|
|
181
181
|
return /* @__PURE__ */ l(
|
|
182
|
-
|
|
182
|
+
De,
|
|
183
183
|
{
|
|
184
184
|
...S(f),
|
|
185
185
|
setPageShowDate: x,
|
|
@@ -204,7 +204,7 @@ function Je(t) {
|
|
|
204
204
|
children: [
|
|
205
205
|
/* @__PURE__ */ D("div", { className: `${p}-inner-date`, children: [
|
|
206
206
|
/* @__PURE__ */ l(
|
|
207
|
-
|
|
207
|
+
ve,
|
|
208
208
|
{
|
|
209
209
|
...ke,
|
|
210
210
|
icons: se,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsx as m, jsxs as B } from "react/jsx-runtime";
|
|
3
3
|
import F from "lodash/merge";
|
|
4
4
|
import { useContext as G, useMemo as I } from "react";
|
|
5
5
|
import "../../../config-provider/ConfigProvider.js";
|
|
6
|
-
import K from "
|
|
7
|
-
import V from "
|
|
8
|
-
import q from "../year/index.js";
|
|
9
|
-
import z from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
10
|
-
import Q from "@unicom-cloud/ui-common/utils/className";
|
|
6
|
+
import K from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
7
|
+
import V from "@unicom-cloud/ui-common/utils/className";
|
|
11
8
|
import "@unicom-cloud/ui-common/utils/dayjs";
|
|
12
|
-
import
|
|
9
|
+
import q from "dayjs";
|
|
13
10
|
import "lodash/castArray";
|
|
14
11
|
import "@unicom-cloud/ui-common/utils/is";
|
|
15
|
-
import { padStart as
|
|
12
|
+
import { padStart as z } from "@unicom-cloud/ui-common/utils/pad";
|
|
13
|
+
import Q from "../Body.js";
|
|
14
|
+
import U from "../Header.js";
|
|
15
|
+
import W from "../year/index.js";
|
|
16
16
|
import X from "../../../config-provider/context.js";
|
|
17
17
|
function Ce(f) {
|
|
18
18
|
const {
|
|
@@ -21,7 +21,7 @@ function Ce(f) {
|
|
|
21
21
|
getPrefixCls: t,
|
|
22
22
|
rtl: d,
|
|
23
23
|
componentConfig: C
|
|
24
|
-
} = G(X), h =
|
|
24
|
+
} = G(X), h = K(
|
|
25
25
|
f,
|
|
26
26
|
{},
|
|
27
27
|
C?.DatePickerMonth
|
|
@@ -46,7 +46,7 @@ function Ce(f) {
|
|
|
46
46
|
panelMode: a,
|
|
47
47
|
setPanelMode: l,
|
|
48
48
|
...Y
|
|
49
|
-
} = h, c = F(u.DatePicker, y), s = c.Calendar, w = t?.("panel-month"), R =
|
|
49
|
+
} = h, c = F(u.DatePicker, y), s = c.Calendar, w = t?.("panel-month"), R = V(w), j = b ? { rangeValues: A } : { value: S }, p = n.year(), H = I(() => {
|
|
50
50
|
const o = [
|
|
51
51
|
"January",
|
|
52
52
|
"February",
|
|
@@ -62,8 +62,8 @@ function Ce(f) {
|
|
|
62
62
|
"December"
|
|
63
63
|
].map((e, $) => ({
|
|
64
64
|
name: s.month.short[e],
|
|
65
|
-
time:
|
|
66
|
-
`${p}-${
|
|
65
|
+
time: q(
|
|
66
|
+
`${p}-${z($ + 1, 2, "0")}`,
|
|
67
67
|
"YYYY-MM"
|
|
68
68
|
).endOf("month")
|
|
69
69
|
})), r = Array(4);
|
|
@@ -73,7 +73,7 @@ function Ce(f) {
|
|
|
73
73
|
}, [p, s]);
|
|
74
74
|
function J() {
|
|
75
75
|
return /* @__PURE__ */ m(
|
|
76
|
-
|
|
76
|
+
Q,
|
|
77
77
|
{
|
|
78
78
|
...Y,
|
|
79
79
|
...j,
|
|
@@ -96,7 +96,7 @@ function Ce(f) {
|
|
|
96
96
|
l(o);
|
|
97
97
|
}
|
|
98
98
|
return a === "year" ? /* @__PURE__ */ m(
|
|
99
|
-
|
|
99
|
+
W,
|
|
100
100
|
{
|
|
101
101
|
...O(a),
|
|
102
102
|
pageShowDate: n,
|
|
@@ -107,7 +107,7 @@ function Ce(f) {
|
|
|
107
107
|
}
|
|
108
108
|
) : /* @__PURE__ */ B("div", { className: R, style: g, children: [
|
|
109
109
|
/* @__PURE__ */ m(
|
|
110
|
-
|
|
110
|
+
U,
|
|
111
111
|
{
|
|
112
112
|
...T,
|
|
113
113
|
DATEPICKER_LOCALE: c,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsx as o, jsxs as H } from "react/jsx-runtime";
|
|
3
3
|
import T from "lodash/merge";
|
|
4
4
|
import { useContext as Y } from "react";
|
|
5
5
|
import "../../../config-provider/ConfigProvider.js";
|
|
6
|
-
import B from "
|
|
7
|
-
import I from "
|
|
8
|
-
import K from "../year/index.js";
|
|
9
|
-
import V from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
10
|
-
import z from "@unicom-cloud/ui-common/utils/className";
|
|
6
|
+
import B from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
7
|
+
import I from "@unicom-cloud/ui-common/utils/className";
|
|
11
8
|
import "@unicom-cloud/ui-common/utils/dayjs";
|
|
12
|
-
import
|
|
9
|
+
import K from "dayjs";
|
|
13
10
|
import "lodash/castArray";
|
|
14
11
|
import "@unicom-cloud/ui-common/utils/is";
|
|
15
|
-
import { padStart as
|
|
12
|
+
import { padStart as V } from "@unicom-cloud/ui-common/utils/pad";
|
|
13
|
+
import z from "../Body.js";
|
|
14
|
+
import F from "../Header.js";
|
|
15
|
+
import G from "../year/index.js";
|
|
16
16
|
import J from "../../../config-provider/context.js";
|
|
17
17
|
function de(c) {
|
|
18
18
|
const {
|
|
@@ -21,7 +21,7 @@ function de(c) {
|
|
|
21
21
|
getPrefixCls: t,
|
|
22
22
|
rtl: d,
|
|
23
23
|
componentConfig: u
|
|
24
|
-
} = Y(J), C =
|
|
24
|
+
} = Y(J), C = B(
|
|
25
25
|
c,
|
|
26
26
|
{},
|
|
27
27
|
u?.DatePickerQuarter
|
|
@@ -46,16 +46,16 @@ function de(c) {
|
|
|
46
46
|
panelMode: n,
|
|
47
47
|
setPanelMode: i,
|
|
48
48
|
...$
|
|
49
|
-
} = C, m = T(f.DatePicker, D), l = m.Calendar, p = t?.("panel-quarter"), b =
|
|
49
|
+
} = C, m = T(f.DatePicker, D), l = m.Calendar, p = t?.("panel-quarter"), b = I(p), O = k ? { rangeValues: v } : { value: h }, R = a.year(), j = [
|
|
50
50
|
[1, 2, 3, 4].map((e, r, W) => ({
|
|
51
51
|
name: l.quarter?.[`q${e}`] || `Q${e}`,
|
|
52
52
|
// 潘启宝修改 2024年12月23日 星期一 15时21分14秒 CST
|
|
53
|
-
time:
|
|
53
|
+
time: K(`${R}-${V((e - 1) * 3 + 1, 2, "0")}-01`)
|
|
54
54
|
}))
|
|
55
55
|
];
|
|
56
56
|
function q() {
|
|
57
57
|
return /* @__PURE__ */ o(
|
|
58
|
-
|
|
58
|
+
z,
|
|
59
59
|
{
|
|
60
60
|
...$,
|
|
61
61
|
...O,
|
|
@@ -78,7 +78,7 @@ function de(c) {
|
|
|
78
78
|
i(e);
|
|
79
79
|
}
|
|
80
80
|
return n === "year" ? /* @__PURE__ */ o(
|
|
81
|
-
|
|
81
|
+
G,
|
|
82
82
|
{
|
|
83
83
|
...w(n),
|
|
84
84
|
pageShowDate: a,
|
|
@@ -89,7 +89,7 @@ function de(c) {
|
|
|
89
89
|
}
|
|
90
90
|
) : /* @__PURE__ */ H("div", { className: b, style: P, children: [
|
|
91
91
|
/* @__PURE__ */ o(
|
|
92
|
-
|
|
92
|
+
F,
|
|
93
93
|
{
|
|
94
94
|
...Q,
|
|
95
95
|
icons: M,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsx as a, jsxs as c, Fragment as p } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as Q } from "react";
|
|
4
4
|
import "../../../config-provider/ConfigProvider.js";
|
|
5
|
-
import he from "
|
|
6
|
-
import Y from "
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
5
|
+
import he from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
6
|
+
import { getNow as Y, getDayjsValue as ge, methods as k } from "../../../utils/dayjs.js";
|
|
7
|
+
import { isNumber as ke, isPlainObject as Se } from "@unicom-cloud/ui-common/utils/is";
|
|
8
|
+
import we from "../../context.js";
|
|
9
|
+
import q from "../date/index.js";
|
|
10
|
+
import z from "../month/index.js";
|
|
11
|
+
import B from "../quarter/index.js";
|
|
12
|
+
import E from "../week/index.js";
|
|
13
|
+
import W from "../year/index.js";
|
|
14
14
|
import { getFormatByIndex as $ } from "../../utils.js";
|
|
15
15
|
import De from "../../../config-provider/context.js";
|
|
16
16
|
function O(S, T) {
|
|
@@ -26,7 +26,7 @@ function Le(S) {
|
|
|
26
26
|
getPrefixCls: l,
|
|
27
27
|
rtl: be,
|
|
28
28
|
componentConfig: A
|
|
29
|
-
} = Q(De), G =
|
|
29
|
+
} = Q(De), G = he(
|
|
30
30
|
S,
|
|
31
31
|
{},
|
|
32
32
|
A?.DatePickerRange
|
|
@@ -62,7 +62,7 @@ function Le(S) {
|
|
|
62
62
|
panelModes: P,
|
|
63
63
|
setPanelModes: R,
|
|
64
64
|
isRangePicker: me
|
|
65
|
-
} = G, j = l?.("picker-range"), { utcOffset: H, timezone: I } = Q(
|
|
65
|
+
} = G, j = l?.("picker-range"), { utcOffset: H, timezone: I } = Q(we), F = V[0] || Y(H, I), L = V[1] || Y(H, I), v = ge(X, b), u = {
|
|
66
66
|
isRangePicker: me,
|
|
67
67
|
rangeValues: v,
|
|
68
68
|
onMouseEnterCell: ee,
|
|
@@ -104,7 +104,7 @@ function Le(S) {
|
|
|
104
104
|
if (i === "week")
|
|
105
105
|
return /* @__PURE__ */ c(p, { children: [
|
|
106
106
|
/* @__PURE__ */ a(
|
|
107
|
-
|
|
107
|
+
E,
|
|
108
108
|
{
|
|
109
109
|
setPageShowDate: (e) => n([e, e], 0),
|
|
110
110
|
...r,
|
|
@@ -113,7 +113,7 @@ function Le(S) {
|
|
|
113
113
|
}
|
|
114
114
|
),
|
|
115
115
|
/* @__PURE__ */ a(
|
|
116
|
-
|
|
116
|
+
E,
|
|
117
117
|
{
|
|
118
118
|
setPageShowDate: (e) => n([k.subtract(e, 1, "month"), e], 1),
|
|
119
119
|
...s,
|
|
@@ -126,11 +126,11 @@ function Le(S) {
|
|
|
126
126
|
disabledTime: K,
|
|
127
127
|
showTime: D
|
|
128
128
|
}, g = {};
|
|
129
|
-
if (
|
|
129
|
+
if (ke(x) && (g.disabledTime = () => ({
|
|
130
130
|
disabledHours: () => O(0, 24),
|
|
131
131
|
disabledMinutes: () => O(0, 60),
|
|
132
132
|
disabledSeconds: () => O(0, 60)
|
|
133
|
-
}),
|
|
133
|
+
}), Se(D))) {
|
|
134
134
|
const e = { ...D, defaultValue: void 0 };
|
|
135
135
|
g.showTime = {
|
|
136
136
|
...e,
|
|
@@ -139,7 +139,7 @@ function Le(S) {
|
|
|
139
139
|
}
|
|
140
140
|
return /* @__PURE__ */ c(p, { children: [
|
|
141
141
|
/* @__PURE__ */ a(
|
|
142
|
-
|
|
142
|
+
q,
|
|
143
143
|
{
|
|
144
144
|
...r,
|
|
145
145
|
...o,
|
|
@@ -156,7 +156,7 @@ function Le(S) {
|
|
|
156
156
|
}
|
|
157
157
|
),
|
|
158
158
|
/* @__PURE__ */ a(
|
|
159
|
-
|
|
159
|
+
q,
|
|
160
160
|
{
|
|
161
161
|
...s,
|
|
162
162
|
...o,
|
|
@@ -182,7 +182,7 @@ function Le(S) {
|
|
|
182
182
|
}, o = u;
|
|
183
183
|
return /* @__PURE__ */ c(p, { children: [
|
|
184
184
|
/* @__PURE__ */ a(
|
|
185
|
-
|
|
185
|
+
z,
|
|
186
186
|
{
|
|
187
187
|
setPageShowDate: (t) => n([t, t], 0),
|
|
188
188
|
...r,
|
|
@@ -191,7 +191,7 @@ function Le(S) {
|
|
|
191
191
|
}
|
|
192
192
|
),
|
|
193
193
|
/* @__PURE__ */ a(
|
|
194
|
-
|
|
194
|
+
z,
|
|
195
195
|
{
|
|
196
196
|
setPageShowDate: (t) => n([k.subtract(t, 1, "year"), t], 1),
|
|
197
197
|
...s,
|
|
@@ -209,7 +209,7 @@ function Le(S) {
|
|
|
209
209
|
}, o = u;
|
|
210
210
|
return /* @__PURE__ */ c(p, { children: [
|
|
211
211
|
/* @__PURE__ */ a(
|
|
212
|
-
|
|
212
|
+
W,
|
|
213
213
|
{
|
|
214
214
|
...r,
|
|
215
215
|
...o,
|
|
@@ -217,7 +217,7 @@ function Le(S) {
|
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
/* @__PURE__ */ a(
|
|
220
|
-
|
|
220
|
+
W,
|
|
221
221
|
{
|
|
222
222
|
...s,
|
|
223
223
|
...o,
|
|
@@ -234,7 +234,7 @@ function Le(S) {
|
|
|
234
234
|
}, o = u;
|
|
235
235
|
return /* @__PURE__ */ c(p, { children: [
|
|
236
236
|
/* @__PURE__ */ a(
|
|
237
|
-
|
|
237
|
+
B,
|
|
238
238
|
{
|
|
239
239
|
setPageShowDate: (t) => n([t, t], 0),
|
|
240
240
|
...r,
|
|
@@ -243,7 +243,7 @@ function Le(S) {
|
|
|
243
243
|
}
|
|
244
244
|
),
|
|
245
245
|
/* @__PURE__ */ a(
|
|
246
|
-
|
|
246
|
+
B,
|
|
247
247
|
{
|
|
248
248
|
setPageShowDate: (t) => n([k.subtract(t, 1, "year"), t], 1),
|
|
249
249
|
...s,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsx as S } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as o } from "react";
|
|
4
4
|
import "../../../config-provider/ConfigProvider.js";
|
|
5
|
-
import d from "
|
|
6
|
-
import W from "
|
|
7
|
-
import b from "
|
|
8
|
-
import
|
|
5
|
+
import d from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
6
|
+
import { methods as W } from "../../../utils/dayjs.js";
|
|
7
|
+
import b from "../../context.js";
|
|
8
|
+
import v from "../date/index.js";
|
|
9
9
|
import N from "../../../config-provider/context.js";
|
|
10
10
|
function z(r) {
|
|
11
11
|
const {
|
|
@@ -14,7 +14,7 @@ function z(r) {
|
|
|
14
14
|
getPrefixCls: j,
|
|
15
15
|
rtl: w,
|
|
16
16
|
componentConfig: t
|
|
17
|
-
} = o(N), i =
|
|
17
|
+
} = o(N), i = d(
|
|
18
18
|
r,
|
|
19
19
|
{},
|
|
20
20
|
t?.DatePickerWeek
|
|
@@ -28,12 +28,12 @@ function z(r) {
|
|
|
28
28
|
onSuperNext: c,
|
|
29
29
|
localeName: l,
|
|
30
30
|
...f
|
|
31
|
-
} = i, { weekStart: u } = o(
|
|
31
|
+
} = i, { weekStart: u } = o(b), P = e ? { rangeValues: s } : { value: n }, k = { onPrev: m, onNext: a, onSuperPrev: p, onSuperNext: c };
|
|
32
32
|
function x(g, C) {
|
|
33
|
-
return
|
|
33
|
+
return W.isSameWeek(g, C, u, l);
|
|
34
34
|
}
|
|
35
35
|
return /* @__PURE__ */ S(
|
|
36
|
-
|
|
36
|
+
v,
|
|
37
37
|
{
|
|
38
38
|
...f,
|
|
39
39
|
...P,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/* 2025-12-
|
|
1
|
+
/* 2025-12-22 10:22:04 */
|
|
2
2
|
import { jsxs as z, jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import B from "lodash/merge";
|
|
4
4
|
import { useContext as i } from "react";
|
|
5
5
|
import "../../../config-provider/ConfigProvider.js";
|
|
6
|
-
import H from "
|
|
7
|
-
import V from "
|
|
8
|
-
import j from "../Header.js";
|
|
9
|
-
import q from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
10
|
-
import F from "@unicom-cloud/ui-common/utils/className";
|
|
6
|
+
import H from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
7
|
+
import V from "@unicom-cloud/ui-common/utils/className";
|
|
11
8
|
import { newArray as l } from "../../../utils/constant.js";
|
|
12
|
-
import { getNow as
|
|
9
|
+
import { getNow as j } from "../../../utils/dayjs.js";
|
|
10
|
+
import q from "../../context.js";
|
|
11
|
+
import F from "../Body.js";
|
|
12
|
+
import G from "../Header.js";
|
|
13
13
|
import J from "../../../config-provider/context.js";
|
|
14
14
|
import Q from "dayjs";
|
|
15
15
|
function fe(c) {
|
|
@@ -19,7 +19,7 @@ function fe(c) {
|
|
|
19
19
|
getPrefixCls: t,
|
|
20
20
|
rtl: f,
|
|
21
21
|
componentConfig: C
|
|
22
|
-
} = i(J), d =
|
|
22
|
+
} = i(J), d = H(
|
|
23
23
|
c,
|
|
24
24
|
{},
|
|
25
25
|
C?.DatePickerYear
|
|
@@ -40,7 +40,7 @@ function fe(c) {
|
|
|
40
40
|
format: S,
|
|
41
41
|
icons: w,
|
|
42
42
|
...O
|
|
43
|
-
} = d, R = B(p.DatePicker, L).Calendar, { utcOffset: _, timezone: h } = i(
|
|
43
|
+
} = d, R = B(p.DatePicker, L).Calendar, { utcOffset: _, timezone: h } = i(q), v = t?.("panel-year"), b = V(v), M = A ? { rangeValues: Y } : { value: E }, T = s ? s.year() : j(_, h).year(), n = Math.floor(T / 10) * 10 - 1, $ = l(3).map((r) => ""), a = l(4).map((r) => $).map((r, e) => r.map((X, o) => ({
|
|
44
44
|
name: n + e * 3 + o,
|
|
45
45
|
time: Q(`${n + e * 3 + o}`, "YYYY").endOf("year"),
|
|
46
46
|
isPrev: e === 0 && o === 0,
|
|
@@ -48,7 +48,7 @@ function fe(c) {
|
|
|
48
48
|
})));
|
|
49
49
|
function I() {
|
|
50
50
|
return /* @__PURE__ */ m(
|
|
51
|
-
|
|
51
|
+
F,
|
|
52
52
|
{
|
|
53
53
|
...O,
|
|
54
54
|
...M,
|
|
@@ -69,7 +69,7 @@ function fe(c) {
|
|
|
69
69
|
const K = { onSuperPrev: k, onSuperNext: N };
|
|
70
70
|
return /* @__PURE__ */ z("div", { className: b, style: u, children: [
|
|
71
71
|
/* @__PURE__ */ m(
|
|
72
|
-
|
|
72
|
+
G,
|
|
73
73
|
{
|
|
74
74
|
prefixCls: t?.("picker"),
|
|
75
75
|
icons: w,
|
package/date-picker/utils.js
CHANGED