@unicom-cloud/ui 0.8.171 → 0.8.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.virtual/_rolldown/runtime.js +1 -1
- package/affix/Affix.js +1 -1
- package/affix/constants.js +1 -1
- package/affix/context.js +1 -1
- package/affix/index.js +1 -1
- package/affix/style/index.js +1 -1
- package/alert/Alert.js +23 -33
- package/alert/constants.d.ts +7 -0
- package/alert/constants.js +16 -1
- package/alert/context.js +1 -1
- package/alert/index.js +1 -1
- package/alert/style/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/anchor/constants.js +1 -1
- package/anchor/context.js +1 -1
- package/anchor/index.js +1 -1
- package/anchor/style/index.js +1 -1
- package/anchor/utils.js +1 -1
- package/animation/Animation.js +1 -1
- package/animation/constants.d.ts +1 -0
- package/animation/constants.js +2 -1
- package/animation/context.js +1 -1
- package/animation/index.js +1 -1
- package/animation/style/index.js +1 -1
- package/app/App.js +1 -1
- package/app/constants.js +1 -1
- package/app/context.js +1 -1
- package/app/index.js +1 -1
- package/app/style/index.js +1 -1
- package/app/useApp.js +1 -1
- package/auto-complete/AutoComplete.js +40 -40
- package/auto-complete/constants.d.ts +1 -0
- package/auto-complete/constants.js +5 -1
- package/auto-complete/context.js +1 -1
- package/auto-complete/index.js +1 -1
- package/auto-complete/style/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/avatar/constants.js +1 -1
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/avatar/style/index.js +1 -1
- package/back-top/BackTop.js +1 -1
- package/back-top/constants.js +1 -1
- package/back-top/context.js +1 -1
- package/back-top/index.js +1 -1
- package/back-top/style/index.js +1 -1
- package/badge/Badge.js +9 -9
- package/badge/Count.js +1 -1
- package/badge/constants.d.ts +5 -0
- package/badge/constants.js +23 -1
- package/badge/context.js +1 -1
- package/badge/index.d.ts +1 -1
- package/badge/index.js +7 -7
- package/badge/style/index.js +1 -1
- package/badge/utils.d.ts +0 -5
- package/badge/utils.js +1 -23
- package/border-beam/BorderBeam.js +1 -1
- package/border-beam/constants.js +1 -1
- package/border-beam/context.js +1 -1
- package/border-beam/index.js +1 -1
- package/border-beam/style/index.js +1 -1
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/constants.js +1 -1
- package/breadcrumb/context.js +1 -1
- package/breadcrumb/index.js +1 -1
- package/breadcrumb/style/index.js +1 -1
- package/button/Button.js +1 -1
- package/button/Group.js +1 -1
- package/button/Toggle.js +1 -1
- package/button/constants.js +1 -1
- package/button/context.js +1 -1
- package/button/index.js +1 -1
- package/button/style/index.js +1 -1
- package/calendar/Calendar.js +101 -90
- package/calendar/Month.js +1 -1
- package/calendar/WeekList.js +1 -1
- package/calendar/Year.js +1 -1
- package/calendar/constants.js +1 -1
- package/calendar/context.js +1 -1
- package/calendar/header/Panel.js +37 -31
- package/calendar/header/index.js +90 -79
- package/calendar/hooks/useCellClassName.js +1 -1
- package/calendar/index.js +1 -1
- package/calendar/style/index.css +1 -1
- package/calendar/style/index.js +1 -1
- package/card/Card.js +1 -1
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/constants.js +1 -1
- package/card/context.js +1 -1
- package/card/index.js +1 -1
- package/card/style/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Carousel.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/constants.js +1 -1
- package/carousel/context.js +1 -1
- package/carousel/index.js +1 -1
- package/carousel/style/index.js +1 -1
- package/cascader/Cascader.js +1 -1
- package/cascader/base/node.js +1 -1
- package/cascader/base/store.js +1 -1
- package/cascader/constants.js +1 -1
- package/cascader/context.js +1 -1
- package/cascader/hooks/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/style/index.css +1 -1
- package/cascader/style/index.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/constants.js +1 -1
- package/checkbox/context.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/style/index.js +1 -1
- package/checkbox/useCheckbox.js +1 -1
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +1 -1
- package/collapse/constants.js +1 -1
- package/collapse/context.js +1 -1
- package/collapse/index.js +1 -1
- package/collapse/style/index.js +1 -1
- package/collapse/utils.js +1 -1
- package/color-picker/ColorPicker.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/constants.js +1 -1
- package/color-picker/context.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/style/index.js +1 -1
- package/color-picker/utils.js +1 -1
- package/comment/Comment.js +1 -1
- package/comment/constants.js +1 -1
- package/comment/context.js +1 -1
- package/comment/index.js +1 -1
- package/comment/style/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/constants.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +1 -1
- package/config-provider/initUI.js +1 -1
- package/config-provider/style/index.js +1 -1
- package/config-provider/useConfigProvider.js +1 -1
- package/config-provider/utils.js +1 -1
- package/constants/index.js +1 -1
- package/copy/Copy.js +1 -1
- package/copy/constants.js +1 -1
- package/copy/context.js +1 -1
- package/copy/index.js +1 -1
- package/copy/style/index.js +1 -1
- package/countdown/Countdown.js +1 -1
- package/countdown/constants.js +1 -1
- package/countdown/context.js +1 -1
- package/countdown/index.js +1 -1
- package/countdown/style/index.css +1 -1
- package/countdown/style/index.js +1 -1
- package/countdown/utils.js +1 -1
- package/date-picker/DatePicker.js +1 -1
- package/date-picker/Picker.js +202 -202
- package/date-picker/Range.js +281 -281
- package/date-picker/constants.js +1 -1
- package/date-picker/context.js +1 -1
- package/date-picker/hooks/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 +1 -1
- 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 +1 -1
- package/date-picker/panel/month/index.js +1 -1
- package/date-picker/panel/quarter/index.js +1 -1
- package/date-picker/panel/range/index.js +1 -1
- package/date-picker/panel/week/index.js +1 -1
- package/date-picker/panel/year/index.js +1 -1
- package/date-picker/style/index.js +1 -1
- package/date-picker/utils.js +1 -1
- package/descriptions/Descriptions.js +1 -1
- package/descriptions/constants.js +1 -1
- package/descriptions/context.js +1 -1
- package/descriptions/index.js +1 -1
- package/descriptions/style/index.js +1 -1
- package/details/Details.js +1 -1
- package/details/constants.js +1 -1
- package/details/context.js +1 -1
- package/details/index.js +1 -1
- package/details/style/index.js +1 -1
- package/development/Development.js +1 -1
- package/development/constants.js +1 -1
- package/development/context.js +1 -1
- package/development/index.js +1 -1
- package/development/style/index.js +1 -1
- package/divider/Divider.js +1 -1
- package/divider/constants.js +1 -1
- package/divider/context.js +1 -1
- package/divider/index.js +1 -1
- package/divider/style/index.js +1 -1
- package/draggable/Draggable.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/constants.js +1 -1
- package/draggable/context.js +1 -1
- package/draggable/index.js +1 -1
- package/draggable/style/index.js +1 -1
- package/draw/Draw.d.ts +1 -1
- package/draw/Draw.js +24 -24
- package/draw/common/binary-heap.js +1 -1
- package/draw/common/bounds.js +1 -1
- package/draw/common/colors.js +1 -1
- package/draw/common/constants.js +1 -1
- package/draw/common/editorInterface.js +1 -1
- package/draw/common/emitter.js +1 -1
- package/draw/common/font-metadata.js +1 -1
- package/draw/common/index.js +1 -1
- package/draw/common/keys.js +1 -1
- package/draw/common/points.js +1 -1
- package/draw/common/promise-pool.js +1 -1
- package/draw/common/queue.js +1 -1
- package/draw/common/random.js +1 -1
- package/draw/common/url.js +1 -1
- package/draw/common/utils.js +1 -1
- package/draw/constants.js +1 -1
- package/draw/context.js +1 -1
- package/draw/core/actions/actionAddToLibrary.js +1 -1
- package/draw/core/actions/actionAlign.js +1 -1
- package/draw/core/actions/actionBoundText.js +1 -1
- package/draw/core/actions/actionCanvas.js +1 -1
- package/draw/core/actions/actionClipboard.js +1 -1
- package/draw/core/actions/actionCropEditor.js +1 -1
- package/draw/core/actions/actionDeleteSelected.js +1 -1
- package/draw/core/actions/actionDistribute.js +1 -1
- package/draw/core/actions/actionDuplicateSelection.js +1 -1
- package/draw/core/actions/actionElementLink.js +1 -1
- package/draw/core/actions/actionElementLock.js +1 -1
- package/draw/core/actions/actionEmbeddable.js +1 -1
- package/draw/core/actions/actionExport.js +1 -1
- package/draw/core/actions/actionFinalize.js +1 -1
- package/draw/core/actions/actionFlip.js +1 -1
- package/draw/core/actions/actionFrame.js +1 -1
- package/draw/core/actions/actionGroup.js +1 -1
- package/draw/core/actions/actionHistory.js +1 -1
- package/draw/core/actions/actionLinearEditor.js +1 -1
- package/draw/core/actions/actionMenu.js +1 -1
- package/draw/core/actions/actionProperties.js +1 -1
- package/draw/core/actions/actionSelectAll.js +1 -1
- package/draw/core/actions/actionStyles.js +1 -1
- package/draw/core/actions/actionTextAutoResize.js +1 -1
- package/draw/core/actions/actionToggleGridMode.js +1 -1
- package/draw/core/actions/actionToggleObjectsSnapMode.js +1 -1
- package/draw/core/actions/actionToggleSearchMenu.js +1 -1
- package/draw/core/actions/actionToggleStats.js +1 -1
- package/draw/core/actions/actionToggleViewMode.js +1 -1
- package/draw/core/actions/actionToggleZenMode.js +1 -1
- package/draw/core/actions/actionZindex.js +1 -1
- package/draw/core/actions/index.js +1 -1
- package/draw/core/actions/manager.js +1 -1
- package/draw/core/actions/register.js +1 -1
- package/draw/core/actions/shortcuts.js +1 -1
- package/draw/core/analytics.js +1 -1
- package/draw/core/animated-trail.js +1 -1
- package/draw/core/animation-frame-handler.js +1 -1
- package/draw/core/appState.js +1 -1
- package/draw/core/charts.js +1 -1
- package/draw/core/clients.js +1 -1
- package/draw/core/clipboard.js +1 -1
- package/draw/core/components/Actions.js +1 -1
- package/draw/core/components/ActiveConfirmDialog.js +1 -1
- package/draw/core/components/App.js +1 -1
- package/draw/core/components/BraveMeasureTextError.js +1 -1
- package/draw/core/components/ContextMenu.js +1 -1
- package/draw/core/components/ConvertElementTypePopup.js +1 -1
- package/draw/core/components/DarkModeToggle.js +1 -1
- package/draw/core/components/ElementCanvasButtons.js +1 -1
- package/draw/core/components/ElementLinkDialog.js +1 -1
- package/draw/core/components/Ellipsify.js +1 -1
- package/draw/core/components/ErrorDialog.js +1 -1
- package/draw/core/components/ExportDialog.js +1 -1
- package/draw/core/components/EyeDropper.js +1 -1
- package/draw/core/components/FixedSideContainer.js +1 -1
- package/draw/core/components/Footer.js +1 -1
- package/draw/core/components/HandButton.js +1 -1
- package/draw/core/components/HelpDialog.js +1 -1
- package/draw/core/components/HintViewer.js +1 -1
- package/draw/core/components/ImageExportDialog.js +1 -1
- package/draw/core/components/InitializeApp.js +1 -1
- package/draw/core/components/InlineIcon.js +1 -1
- package/draw/core/components/Island.js +1 -1
- package/draw/core/components/LaserPointerButton.js +1 -1
- package/draw/core/components/LayerUI.js +1 -1
- package/draw/core/components/LibraryMenu.js +1 -1
- package/draw/core/components/LibraryMenuItems.js +1 -1
- package/draw/core/components/LibraryMenuSection.js +1 -1
- package/draw/core/components/LibraryUnit.js +1 -1
- package/draw/core/components/LoadingMessage.js +1 -1
- package/draw/core/components/LockButton.js +1 -1
- package/draw/core/components/MagicButton.js +1 -1
- package/draw/core/components/PasteChartDialog.js +1 -1
- package/draw/core/components/PenModeButton.js +1 -1
- package/draw/core/components/Popover.js +1 -1
- package/draw/core/components/ProjectName.js +1 -1
- package/draw/core/components/Range.js +1 -1
- package/draw/core/components/SVGLayer.js +1 -1
- package/draw/core/components/SearchMenu.js +1 -1
- package/draw/core/components/Stack.js +1 -1
- package/draw/core/components/Toast.js +1 -1
- package/draw/core/components/Trans.js +1 -1
- package/draw/core/components/UnlockPopup.js +1 -1
- package/draw/core/components/canvases/InteractiveCanvas.js +1 -1
- package/draw/core/components/canvases/NewElementCanvas.js +1 -1
- package/draw/core/components/canvases/StaticCanvas.js +1 -1
- package/draw/core/components/canvases/index.js +1 -1
- package/draw/core/components/context.js +1 -1
- package/draw/core/components/diagram-to-code-plugin/index.js +1 -1
- package/draw/core/components/hooks.js +1 -1
- package/draw/core/components/icons.js +1 -1
- package/draw/core/components/main-menu/DefaultItems.js +1 -1
- package/draw/core/components/main-menu/MenuItem.js +1 -1
- package/draw/core/components/main-menu/common.js +1 -1
- package/draw/core/components/overwrite-confirm/State.js +1 -1
- package/draw/core/components/overwrite-confirm/index.js +1 -1
- package/draw/core/components/shapes.js +1 -1
- package/draw/core/components/stats/Angle.js +1 -1
- package/draw/core/components/stats/CanvasGrid.js +1 -1
- package/draw/core/components/stats/Collapsible.js +1 -1
- package/draw/core/components/stats/Dimension.js +1 -1
- package/draw/core/components/stats/DragInput.js +1 -1
- package/draw/core/components/stats/FontSize.js +1 -1
- package/draw/core/components/stats/MultiAngle.js +1 -1
- package/draw/core/components/stats/MultiDimension.js +1 -1
- package/draw/core/components/stats/MultiFontSize.js +1 -1
- package/draw/core/components/stats/MultiPosition.js +1 -1
- package/draw/core/components/stats/Position.js +1 -1
- package/draw/core/components/stats/index.js +1 -1
- package/draw/core/components/stats/utils.js +1 -1
- package/draw/core/context/tunnels.js +1 -1
- package/draw/core/context/ui-appState.js +1 -1
- package/draw/core/cursor.js +1 -1
- package/draw/core/data/blob.js +1 -1
- package/draw/core/data/encode.js +1 -1
- package/draw/core/data/encryption.js +1 -1
- package/draw/core/data/filesystem.js +1 -1
- package/draw/core/data/image.js +1 -1
- package/draw/core/data/index.js +1 -1
- package/draw/core/data/json.js +1 -1
- package/draw/core/data/library.js +1 -1
- package/draw/core/data/reconcile.js +1 -1
- package/draw/core/data/resave.js +1 -1
- package/draw/core/data/restore.js +1 -1
- package/draw/core/data/utils.js +1 -1
- package/draw/core/deburr.js +1 -1
- package/draw/core/editor-jotai.js +1 -1
- package/draw/core/eraser/index.js +1 -1
- package/draw/core/errors.js +1 -1
- package/draw/core/fonts/DrawFontFace.js +1 -1
- package/draw/core/fonts/Fonts.js +1 -1
- package/draw/core/fonts/index.js +1 -1
- package/draw/core/gesture.js +1 -1
- package/draw/core/history.js +1 -1
- package/draw/core/hooks/useCopiedIndicator.js +1 -1
- package/draw/core/hooks/useCreatePortalContainer.js +1 -1
- package/draw/core/hooks/useEmitter.js +1 -1
- package/draw/core/hooks/useLibraryItemSvg.js +1 -1
- package/draw/core/hooks/useOutsideClick.js +1 -1
- package/draw/core/hooks/useScrollPosition.js +1 -1
- package/draw/core/hooks/useStable.js +1 -1
- package/draw/core/hooks/useTextEditorFocus.js +1 -1
- package/draw/core/hooks/useTransition.js +1 -1
- package/draw/core/i18n.js +1 -1
- package/draw/core/laser-trails.js +1 -1
- package/draw/core/lasso/index.js +1 -1
- package/draw/core/lasso/utils.js +1 -1
- package/draw/core/polyfill.js +1 -1
- package/draw/core/reactUtils.js +1 -1
- package/draw/core/renderer/animation.js +1 -1
- package/draw/core/renderer/helpers.js +1 -1
- package/draw/core/renderer/interactiveScene.js +1 -1
- package/draw/core/renderer/renderNewElementScene.js +1 -1
- package/draw/core/renderer/renderSnaps.js +1 -1
- package/draw/core/renderer/roundRect.js +1 -1
- package/draw/core/renderer/staticScene.js +1 -1
- package/draw/core/renderer/staticSvgScene.js +1 -1
- package/draw/core/scene/Renderer.js +1 -1
- package/draw/core/scene/export.js +1 -1
- package/draw/core/scene/index.js +1 -1
- package/draw/core/scene/normalize.js +1 -1
- package/draw/core/scene/scroll.js +1 -1
- package/draw/core/scene/scrollbars.js +1 -1
- package/draw/core/scene/zoom.js +1 -1
- package/draw/core/shortcut.js +1 -1
- package/draw/core/snapping.js +1 -1
- package/draw/core/wysiwyg/textWysiwyg.js +1 -1
- package/draw/element/Scene.js +1 -1
- package/draw/element/align.js +1 -1
- package/draw/element/arrows/focus.js +1 -1
- package/draw/element/arrows/helpers.js +1 -1
- package/draw/element/binding.js +1 -1
- package/draw/element/bounds.js +1 -1
- package/draw/element/collision.js +1 -1
- package/draw/element/comparisons.js +1 -1
- package/draw/element/containerCache.js +1 -1
- package/draw/element/cropElement.js +1 -1
- package/draw/element/delta.js +1 -1
- package/draw/element/distance.js +1 -1
- package/draw/element/distribute.js +1 -1
- package/draw/element/dragElements.js +1 -1
- package/draw/element/duplicate.js +1 -1
- package/draw/element/elbowArrow.js +1 -1
- package/draw/element/elementLink.js +1 -1
- package/draw/element/embeddable.js +1 -1
- package/draw/element/flowchart.js +1 -1
- package/draw/element/fractionalIndex.js +1 -1
- package/draw/element/frame.js +1 -1
- package/draw/element/groups.js +1 -1
- package/draw/element/heading.js +1 -1
- package/draw/element/image.js +1 -1
- package/draw/element/index.js +1 -1
- package/draw/element/is.js +1 -1
- package/draw/element/linearElementEditor.js +1 -1
- package/draw/element/mutateElement.js +1 -1
- package/draw/element/newElement.js +1 -1
- package/draw/element/positionElementsOnGrid.js +1 -1
- package/draw/element/renderElement.js +1 -1
- package/draw/element/resizeElements.js +1 -1
- package/draw/element/resizeTest.js +1 -1
- package/draw/element/selection.js +1 -1
- package/draw/element/shape.js +1 -1
- package/draw/element/showSelectedShapeActions.js +1 -1
- package/draw/element/sizeHelpers.js +1 -1
- package/draw/element/sortElements.js +1 -1
- package/draw/element/store.js +1 -1
- package/draw/element/textElement.js +1 -1
- package/draw/element/textMeasurements.js +1 -1
- package/draw/element/textWrapping.js +1 -1
- package/draw/element/transform.js +1 -1
- package/draw/element/transformHandles.js +1 -1
- package/draw/element/typeChecks.js +1 -1
- package/draw/element/utils.js +1 -1
- package/draw/element/zindex.js +1 -1
- package/draw/index.d.ts +1 -1
- package/draw/index.js +1 -1
- package/draw/libs/browser-fs-access/directory-open.js +1 -1
- package/draw/libs/browser-fs-access/file-open.js +1 -1
- package/draw/libs/browser-fs-access/file-save.js +1 -1
- package/draw/libs/browser-fs-access/fs-access/directory-open.js +1 -1
- package/draw/libs/browser-fs-access/fs-access/file-open.js +1 -1
- package/draw/libs/browser-fs-access/fs-access/file-save.js +1 -1
- package/draw/libs/browser-fs-access/index.js +1 -1
- package/draw/libs/browser-fs-access/legacy/directory-open.js +1 -1
- package/draw/libs/browser-fs-access/legacy/file-open.js +1 -1
- package/draw/libs/browser-fs-access/legacy/file-save.js +1 -1
- package/draw/libs/browser-fs-access/supported.js +1 -1
- package/draw/libs/fractional-indexing/index.js +1 -1
- package/draw/libs/fuzzy/index.js +1 -1
- package/draw/libs/glur/index.js +1 -1
- package/draw/libs/glur/mono16.js +1 -1
- package/draw/libs/hachure-fill/index.js +1 -1
- package/draw/libs/image-blob-reduce/index.js +1 -1
- package/draw/libs/image-blob-reduce/lib/image_traverse.js +1 -1
- package/draw/libs/image-blob-reduce/lib/jpeg_plugins.js +1 -1
- package/draw/libs/image-blob-reduce/lib/utils.js +1 -1
- package/draw/libs/jotai/index.js +1 -1
- package/draw/libs/jotai/react/Provider.js +1 -1
- package/draw/libs/jotai/react/useAtom.js +1 -1
- package/draw/libs/jotai/react/useAtomValue.js +1 -1
- package/draw/libs/jotai/react/useSetAtom.js +1 -1
- package/draw/libs/jotai/react/utils/useAtomCallback.js +1 -1
- package/draw/libs/jotai/react/utils/useHydrateAtoms.js +1 -1
- package/draw/libs/jotai/react/utils/useReducerAtom.js +1 -1
- package/draw/libs/jotai/react/utils/useResetAtom.js +1 -1
- package/draw/libs/jotai/react/utils.js +1 -1
- package/draw/libs/jotai/react.js +1 -1
- package/draw/libs/jotai/utils.js +1 -1
- package/draw/libs/jotai/vanilla/atom.js +1 -1
- package/draw/libs/jotai/vanilla/internals.js +1 -1
- package/draw/libs/jotai/vanilla/store.js +1 -1
- package/draw/libs/jotai/vanilla/utils/atomFamily.js +1 -1
- package/draw/libs/jotai/vanilla/utils/atomWithStorage.js +1 -1
- package/draw/libs/jotai/vanilla/utils.js +1 -1
- package/draw/libs/jotai-scope/createIsolation.js +1 -1
- package/draw/libs/jotai-scope/index.js +1 -1
- package/draw/libs/jotai-scope/scope-provider/index.js +1 -1
- package/draw/libs/jotai-scope/scope-provider/scope.js +1 -1
- package/draw/libs/jotai-scope/utils.js +1 -1
- package/draw/libs/laser-pointer/index.js +1 -1
- package/draw/libs/laser-pointer/math.js +1 -1
- package/draw/libs/laser-pointer/simplify.js +1 -1
- package/draw/libs/laser-pointer/state.js +1 -1
- package/draw/libs/markdown-to-text/index.js +1 -1
- package/draw/libs/math/angle.js +1 -1
- package/draw/libs/math/constants.js +1 -1
- package/draw/libs/math/curve.js +1 -1
- package/draw/libs/math/ellipse.js +1 -1
- package/draw/libs/math/index.js +1 -1
- package/draw/libs/math/line.js +1 -1
- package/draw/libs/math/point.js +1 -1
- package/draw/libs/math/polygon.js +1 -1
- package/draw/libs/math/range.js +1 -1
- package/draw/libs/math/rectangle.js +1 -1
- package/draw/libs/math/segment.js +1 -1
- package/draw/libs/math/triangle.js +1 -1
- package/draw/libs/math/utils.js +1 -1
- package/draw/libs/math/vector.js +1 -1
- package/draw/libs/multimath/index.js +1 -1
- package/draw/libs/multimath/lib/wa_detect.js +1 -1
- package/draw/libs/nanoid/index.js +1 -1
- package/draw/libs/nanoid/url-alphabet/index.js +1 -1
- package/draw/libs/pako/index.js +1 -1
- package/draw/libs/path-data-parser/absolutize.js +1 -1
- package/draw/libs/path-data-parser/index.js +1 -1
- package/draw/libs/path-data-parser/normalize.js +1 -1
- package/draw/libs/path-data-parser/parser.js +1 -1
- package/draw/libs/perfect-freehand/getStroke.js +1 -1
- package/draw/libs/perfect-freehand/getStrokeOutlinePoints.js +1 -1
- package/draw/libs/perfect-freehand/getStrokePoints.js +1 -1
- package/draw/libs/perfect-freehand/getStrokeRadius.js +1 -1
- package/draw/libs/perfect-freehand/index.js +1 -1
- package/draw/libs/perfect-freehand/vec.js +1 -1
- package/draw/libs/pica/index.js +1 -1
- package/draw/libs/pica/lib/mathlib.js +1 -1
- package/draw/libs/pica/lib/mm_resize/convolve.js +1 -1
- package/draw/libs/pica/lib/mm_resize/convolve_wasm_base64.js +1 -1
- package/draw/libs/pica/lib/mm_resize/index.js +1 -1
- package/draw/libs/pica/lib/mm_resize/resize.js +1 -1
- package/draw/libs/pica/lib/mm_resize/resize_filter_gen.js +1 -1
- package/draw/libs/pica/lib/mm_resize/resize_wasm.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/index.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm_base64.js +1 -1
- package/draw/libs/pica/lib/pool.js +1 -1
- package/draw/libs/pica/lib/tiler.js +1 -1
- package/draw/libs/pica/lib/utils.js +1 -1
- package/draw/libs/pica/lib/worker.js +1 -1
- package/draw/libs/png-chunk-text/decode.js +1 -1
- package/draw/libs/png-chunk-text/encode.js +1 -1
- package/draw/libs/png-chunk-text/index.js +1 -1
- package/draw/libs/png-chunks-encode/index.js +1 -1
- package/draw/libs/png-chunks-extract/index.js +1 -1
- package/draw/libs/points-on-curve/curve-to-bezier.js +1 -1
- package/draw/libs/points-on-curve/index.js +1 -1
- package/draw/libs/points-on-path/index.js +1 -1
- package/draw/libs/promise-pool/index.js +1 -1
- package/draw/libs/roughjs/canvas.js +1 -1
- package/draw/libs/roughjs/core.js +1 -1
- package/draw/libs/roughjs/fillers/dashed-filler.js +1 -1
- package/draw/libs/roughjs/fillers/dot-filler.js +1 -1
- package/draw/libs/roughjs/fillers/filler.js +1 -1
- package/draw/libs/roughjs/fillers/hachure-filler.js +1 -1
- package/draw/libs/roughjs/fillers/hatch-filler.js +1 -1
- package/draw/libs/roughjs/fillers/scan-line-hachure.js +1 -1
- package/draw/libs/roughjs/fillers/zigzag-filler.js +1 -1
- package/draw/libs/roughjs/fillers/zigzag-line-filler.js +1 -1
- package/draw/libs/roughjs/generator.js +1 -1
- package/draw/libs/roughjs/geometry.js +1 -1
- package/draw/libs/roughjs/index.js +1 -1
- package/draw/libs/roughjs/math.js +1 -1
- package/draw/libs/roughjs/renderer.js +1 -1
- package/draw/libs/roughjs/rough.js +1 -1
- package/draw/libs/roughjs/svg.js +1 -1
- package/draw/libs/sliced/index.js +1 -1
- package/draw/libs/webworkify/index.js +1 -1
- package/draw/style/index.js +1 -1
- package/draw/utils/bbox.js +1 -1
- package/draw/utils/export.js +1 -1
- package/draw/utils/index.js +1 -1
- package/draw/utils/shape.js +1 -1
- package/draw/utils/withinBounds.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/drawer/constants.js +1 -1
- package/drawer/context.js +1 -1
- package/drawer/index.js +1 -1
- package/drawer/style/index.js +1 -1
- package/drawer/use-drawer/Hook.js +1 -1
- package/drawer/use-drawer/index.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/Dropdown.js +1 -1
- package/dropdown/constants.js +1 -1
- package/dropdown/context.js +1 -1
- package/dropdown/index.js +1 -1
- package/dropdown/style/index.js +1 -1
- package/empty/Empty.js +1 -1
- package/empty/constants.js +1 -1
- package/empty/context.js +1 -1
- package/empty/index.js +1 -1
- package/empty/style/index.css +1 -1
- package/empty/style/index.js +1 -1
- package/flex/Flex.js +1 -1
- package/flex/constants.js +1 -1
- package/flex/context.js +1 -1
- package/flex/index.js +1 -1
- package/flex/style/index.js +1 -1
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/Item.js +1 -1
- package/form/ItemLabel.js +1 -1
- package/form/ItemTip.js +1 -1
- package/form/LabelSymbol.js +1 -1
- package/form/List.js +1 -1
- package/form/Provider.js +1 -1
- package/form/constants.js +1 -1
- package/form/context.js +1 -1
- package/form/hooks/useForm.js +1 -1
- package/form/hooks/useFormContext.js +1 -1
- package/form/hooks/useFormState.js +1 -1
- package/form/hooks/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/style/index.js +1 -1
- package/form/utils.js +1 -1
- package/global-provider/GlobalProvider.js +1 -1
- package/global-provider/constants.js +1 -1
- package/global-provider/context.js +1 -1
- package/global-provider/index.js +1 -1
- package/global-provider/style/index.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/grid/constants.js +1 -1
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/style/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-controllable-value/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-effect-event/index.js +1 -1
- package/hooks/use-event/index.js +1 -1
- package/hooks/use-event-listener/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-fullscreen/index.js +1 -1
- package/hooks/use-id/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-memoized-fn/index.js +1 -1
- package/hooks/use-merge-props/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-set-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-throttle-fn-with-raf/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/useMountLifecycle.js +1 -1
- package/icon/Icon.js +1 -1
- package/icon/addIconFromCdn.js +1 -1
- package/icon/constants.js +1 -1
- package/icon/context.js +1 -1
- package/icon/index.js +1 -1
- package/icon/style/index.js +1 -1
- package/icon-hover/IconHover.js +1 -1
- package/icon-hover/constants.js +1 -1
- package/icon-hover/context.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icon-hover/style/index.js +1 -1
- package/icons/file/File.js +1 -1
- package/icons/file/context.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons/file/style/index.js +1 -1
- package/icons.js +1 -1
- package/image/Footer.js +1 -1
- package/image/Image.js +1 -1
- package/image/Preview.js +1 -1
- package/image/PreviewArrow.js +1 -1
- package/image/PreviewGroup.js +1 -1
- package/image/PreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +1 -1
- package/image/constants.js +1 -1
- package/image/context.js +1 -1
- package/image/hooks/useImageStatus.js +1 -1
- package/image/hooks/useShowFooter.js +1 -1
- package/image/index.js +1 -1
- package/image/style/index.js +1 -1
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +162 -158
- package/input/Button.js +1 -1
- package/input/Core.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/autoSizeTextareaHeight.js +1 -1
- package/input/constants.js +1 -1
- package/input/context.js +1 -1
- package/input/index.js +1 -1
- package/input/style/index.js +1 -1
- package/input/useComposition.js +1 -1
- package/input/utils.js +1 -1
- package/input-number/InputNumber.js +1 -1
- package/input-number/constants.js +1 -1
- package/input-number/context.js +1 -1
- package/input-number/decimal.js +1 -1
- package/input-number/hooks/useSelectionRange.js +1 -1
- package/input-number/index.js +1 -1
- package/input-number/style/index.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/input-tag/constants.js +1 -1
- package/input-tag/context.js +1 -1
- package/input-tag/hooks/useComputeAutoWidthDelay.js +1 -1
- package/input-tag/index.js +1 -1
- package/input-tag/style/index.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Layout.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/constants.js +1 -1
- package/layout/context.js +1 -1
- package/layout/index.js +1 -1
- package/layout/style/index.js +1 -1
- package/link/Link.js +1 -1
- package/link/constants.js +1 -1
- package/link/context.js +1 -1
- package/link/index.js +1 -1
- package/link/style/index.js +1 -1
- package/liquid-fill/LiquidFill.js +1 -1
- package/liquid-fill/constants.js +1 -1
- package/liquid-fill/context.js +1 -1
- package/liquid-fill/index.js +1 -1
- package/liquid-fill/style/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/List.js +53 -56
- package/list/Meta.js +1 -1
- package/list/constants.d.ts +1 -0
- package/list/constants.js +9 -1
- package/list/context.js +1 -1
- package/list/index.js +1 -1
- package/list/style/index.js +1 -1
- package/loading/Loading.js +1 -1
- package/loading/constants.js +1 -1
- package/loading/context.js +1 -1
- package/loading/index.js +1 -1
- package/loading/style/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/Marquee.js +1 -1
- package/marquee/constants.js +1 -1
- package/marquee/context.js +1 -1
- package/marquee/index.js +1 -1
- package/marquee/style/index.js +1 -1
- package/mask/Mask.js +1 -1
- package/mask/constants.js +1 -1
- package/mask/context.js +1 -1
- package/mask/index.js +1 -1
- package/mask/style/index.js +1 -1
- package/masonry/Item.js +1 -1
- package/masonry/Masonry.js +1 -1
- package/masonry/constants.js +1 -1
- package/masonry/context.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/masonry/style/index.js +1 -1
- package/mentions/Mentions.js +1 -1
- package/mentions/constants.js +1 -1
- package/mentions/context.js +1 -1
- package/mentions/index.js +1 -1
- package/mentions/style/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/constants.js +1 -1
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/style/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/Message.js +1 -1
- package/message/config.js +1 -1
- package/message/constants.js +1 -1
- package/message/context.js +1 -1
- package/message/hooks/useMessage.js +1 -1
- package/message/index.js +1 -1
- package/message/style/index.js +1 -1
- package/message/utils.js +1 -1
- package/modal/Modal.js +1 -1
- package/modal/config.js +1 -1
- package/modal/confirm.js +1 -1
- package/modal/constants.js +1 -1
- package/modal/context.js +1 -1
- package/modal/index.js +1 -1
- package/modal/style/index.js +1 -1
- package/modal/use-modal/Hook.js +1 -1
- package/modal/use-modal/index.js +1 -1
- package/modal/utils.js +1 -1
- package/notice/Notice.js +5 -5
- package/notice/config.js +1 -1
- package/notice/constants.js +1 -1
- package/notice/context.js +1 -1
- package/notice/index.js +1 -1
- package/notice/style/index.js +1 -1
- package/notice/utils.js +1 -1
- package/notice/withNotice.js +1 -1
- package/notification/Notification.js +1 -1
- package/notification/config.js +1 -1
- package/notification/constants.js +1 -1
- package/notification/context.js +1 -1
- package/notification/hooks/useNotification.js +1 -1
- package/notification/index.js +1 -1
- package/notification/style/index.js +1 -1
- package/notification/utils.js +1 -1
- package/overflow-ellipsis/Item.js +1 -1
- package/overflow-ellipsis/OverflowEllipsis.js +1 -1
- package/overflow-ellipsis/constants.js +1 -1
- package/overflow-ellipsis/context.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/overflow-ellipsis/style/index.js +1 -1
- package/package.json +1 -1
- package/page-header/PageHeader.js +1 -1
- package/page-header/constants.js +1 -1
- package/page-header/context.js +1 -1
- package/page-header/index.js +1 -1
- package/page-header/style/index.js +1 -1
- package/pagination/Item.js +1 -1
- package/pagination/Jumper.js +1 -1
- package/pagination/Pagination.js +46 -46
- package/pagination/PreNextButton.js +1 -1
- package/pagination/PreNextJump.js +1 -1
- package/pagination/SizeOption.d.ts +2 -2
- package/pagination/SizeOption.js +13 -19
- package/pagination/constants.d.ts +3 -0
- package/pagination/constants.js +11 -1
- package/pagination/context.js +1 -1
- package/pagination/index.d.ts +2 -3
- package/pagination/index.js +5 -5
- package/pagination/interface.js +1 -1
- package/pagination/style/index.js +1 -1
- package/pagination/utils.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/picker/constants.js +1 -1
- package/picker/context.js +1 -1
- package/picker/index.js +1 -1
- package/picker/style/index.js +1 -1
- package/popconfirm/Popconfirm.js +6 -5
- package/popconfirm/constants.js +1 -1
- package/popconfirm/context.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popconfirm/style/index.js +1 -1
- package/popover/Popover.js +35 -35
- package/popover/constants.js +1 -1
- package/popover/context.js +1 -1
- package/popover/index.js +1 -1
- package/popover/style/index.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/constants.js +1 -1
- package/portal/context.js +1 -1
- package/portal/index.js +1 -1
- package/portal/style/index.js +1 -1
- package/progress/Circle.js +1 -1
- package/progress/Line.js +1 -1
- package/progress/Progress.js +1 -1
- package/progress/Step.js +1 -1
- package/progress/constants.js +1 -1
- package/progress/context.js +1 -1
- package/progress/index.js +1 -1
- package/progress/style/index.js +1 -1
- package/qr-code/QRCode.js +1 -1
- package/qr-code/constants.js +1 -1
- package/qr-code/context.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/qr-code/style/index.js +1 -1
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/constants.js +1 -1
- package/radio/context.js +1 -1
- package/radio/index.js +1 -1
- package/radio/style/index.js +1 -1
- package/rate/Rate.js +1 -1
- package/rate/constants.js +1 -1
- package/rate/context.js +1 -1
- package/rate/index.js +1 -1
- package/rate/style/index.js +1 -1
- package/resize-box/ResizeBox.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/constants.js +1 -1
- package/resize-box/context.js +1 -1
- package/resize-box/index.js +1 -1
- package/resize-box/style/index.js +1 -1
- package/result/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/Result.js +1 -1
- package/result/constants.js +1 -1
- package/result/context.js +1 -1
- package/result/index.js +1 -1
- package/result/style/index.js +1 -1
- package/rich-text/RichText.js +1 -1
- package/rich-text/Toolbar.js +1 -1
- package/rich-text/constants.js +1 -1
- package/rich-text/context.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/libs/blots/block.js +1 -1
- package/rich-text/libs/blots/break.js +1 -1
- package/rich-text/libs/blots/container.js +1 -1
- package/rich-text/libs/blots/cursor.js +1 -1
- package/rich-text/libs/blots/embed.js +1 -1
- package/rich-text/libs/blots/inline.js +1 -1
- package/rich-text/libs/blots/scroll.js +1 -1
- package/rich-text/libs/blots/text.js +1 -1
- package/rich-text/libs/core/composition.js +1 -1
- package/rich-text/libs/core/editor.js +1 -1
- package/rich-text/libs/core/emitter.js +1 -1
- package/rich-text/libs/core/logger.js +1 -1
- package/rich-text/libs/core/module.js +1 -1
- package/rich-text/libs/core/rich.js +1 -1
- package/rich-text/libs/core/selection.js +1 -1
- package/rich-text/libs/core/theme.js +1 -1
- package/rich-text/libs/core/utils/createRegistryWithFormats.js +1 -1
- package/rich-text/libs/core/utils/scrollRectIntoView.js +1 -1
- package/rich-text/libs/delta/AttributeMap.js +1 -1
- package/rich-text/libs/delta/Op.js +1 -1
- package/rich-text/libs/delta/OpIterator.js +1 -1
- package/rich-text/libs/delta/index.js +1 -1
- package/rich-text/libs/diff/index.js +1 -1
- package/rich-text/libs/formats/align.js +1 -1
- package/rich-text/libs/formats/background.js +1 -1
- package/rich-text/libs/formats/blockquote.js +1 -1
- package/rich-text/libs/formats/bold.js +1 -1
- package/rich-text/libs/formats/code.js +1 -1
- package/rich-text/libs/formats/color.js +1 -1
- package/rich-text/libs/formats/direction.js +1 -1
- package/rich-text/libs/formats/emoji.js +1 -1
- package/rich-text/libs/formats/font.js +1 -1
- package/rich-text/libs/formats/formula.js +1 -1
- package/rich-text/libs/formats/header.js +1 -1
- package/rich-text/libs/formats/hr.js +1 -1
- package/rich-text/libs/formats/image.js +1 -1
- package/rich-text/libs/formats/indent.js +1 -1
- package/rich-text/libs/formats/italic.js +1 -1
- package/rich-text/libs/formats/lineHeight.js +1 -1
- package/rich-text/libs/formats/link.js +1 -1
- package/rich-text/libs/formats/list.js +1 -1
- package/rich-text/libs/formats/script.js +1 -1
- package/rich-text/libs/formats/size.js +1 -1
- package/rich-text/libs/formats/strike.js +1 -1
- package/rich-text/libs/formats/table.js +1 -1
- package/rich-text/libs/formats/underline.js +1 -1
- package/rich-text/libs/formats/video.js +1 -1
- package/rich-text/libs/index.js +1 -1
- package/rich-text/libs/modules/clipboard.js +1 -1
- package/rich-text/libs/modules/history.js +1 -1
- package/rich-text/libs/modules/image-resize/index.js +1 -1
- package/rich-text/libs/modules/image-resize/modules/Base.js +1 -1
- package/rich-text/libs/modules/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/libs/modules/image-resize/modules/Resize.js +1 -1
- package/rich-text/libs/modules/image-resize/options.js +1 -1
- package/rich-text/libs/modules/input.js +1 -1
- package/rich-text/libs/modules/keyboard.js +1 -1
- package/rich-text/libs/modules/normalize-external-html/index.js +1 -1
- package/rich-text/libs/modules/normalize-external-html/normalizers/googleDocs.js +1 -1
- package/rich-text/libs/modules/normalize-external-html/normalizers/msWord.js +1 -1
- package/rich-text/libs/modules/table.js +1 -1
- package/rich-text/libs/modules/toolbar.js +1 -1
- package/rich-text/libs/modules/uiNode.js +1 -1
- package/rich-text/libs/modules/uploader.js +1 -1
- package/rich-text/libs/parchment/attributor/attributor.js +1 -1
- package/rich-text/libs/parchment/attributor/class.js +1 -1
- package/rich-text/libs/parchment/attributor/store.js +1 -1
- package/rich-text/libs/parchment/attributor/style.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/container.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/leaf.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/parent.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/shadow.js +1 -1
- package/rich-text/libs/parchment/blot/block.js +1 -1
- package/rich-text/libs/parchment/blot/embed.js +1 -1
- package/rich-text/libs/parchment/blot/inline.js +1 -1
- package/rich-text/libs/parchment/blot/scroll.js +1 -1
- package/rich-text/libs/parchment/blot/text.js +1 -1
- package/rich-text/libs/parchment/collection/linked-list.js +1 -1
- package/rich-text/libs/parchment/error.js +1 -1
- package/rich-text/libs/parchment/index.js +1 -1
- package/rich-text/libs/parchment/registry.js +1 -1
- package/rich-text/libs/parchment/scope.js +1 -1
- package/rich-text/style/index.js +1 -1
- package/router-error/RouterError.js +1 -1
- package/router-error/constants.js +1 -1
- package/router-error/context.js +1 -1
- package/router-error/index.js +1 -1
- package/router-error/style/index.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +1 -1
- package/row-col/constants.js +1 -1
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/row-col/style/index.js +1 -1
- package/segmented/Segmented.js +1 -1
- package/segmented/constants.js +1 -1
- package/segmented/context.js +1 -1
- package/segmented/index.js +1 -1
- package/segmented/style/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/OptionGroup.js +1 -1
- package/select/Select.js +1 -1
- package/select/constants.js +1 -1
- package/select/context.js +1 -1
- package/select/index.js +1 -1
- package/select/style/index.css +1 -1
- package/select/style/index.js +1 -1
- package/select/utils.js +1 -1
- package/select-view/Core.js +1 -1
- package/select-view/SelectView.js +1 -1
- package/select-view/constants.js +1 -1
- package/select-view/context.js +1 -1
- package/select-view/index.js +1 -1
- package/select-view/style/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Skeleton.js +1 -1
- package/skeleton/Text.js +1 -1
- package/skeleton/constants.js +1 -1
- package/skeleton/context.js +1 -1
- package/skeleton/index.js +1 -1
- package/skeleton/style/index.js +1 -1
- package/slider/Button.d.ts +1 -1
- package/slider/Button.js +24 -16
- package/slider/Dot.js +1 -1
- package/slider/Input.js +1 -1
- package/slider/Mark.js +1 -1
- package/slider/Slider.js +1 -1
- package/slider/Tick.js +1 -1
- package/slider/constants.js +1 -1
- package/slider/context.js +1 -1
- package/slider/hooks/useInterval.js +1 -1
- package/slider/hooks/useLegalValue.js +1 -1
- package/slider/index.d.ts +1 -1
- package/slider/index.js +1 -1
- package/slider/style/index.js +1 -1
- package/slider/utils.js +1 -1
- package/space/Space.js +1 -1
- package/space/constants.js +1 -1
- package/space/context.js +1 -1
- package/space/index.js +1 -1
- package/space/style/index.js +1 -1
- package/speech-synthesis/SpeechSynthesis.js +1 -1
- package/speech-synthesis/constants.js +1 -1
- package/speech-synthesis/context.js +1 -1
- package/speech-synthesis/index.js +1 -1
- package/speech-synthesis/style/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/Spin.js +1 -1
- package/spin/constants.js +1 -1
- package/spin/context.js +1 -1
- package/spin/index.js +1 -1
- package/spin/style/index.js +1 -1
- package/splitter/Bar.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/constants.js +1 -1
- package/splitter/context.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/splitter/style/index.js +1 -1
- package/statistic/Statistic.js +1 -1
- package/statistic/constants.js +1 -1
- package/statistic/context.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/statistic/style/index.js +1 -1
- package/steps/Item.js +1 -1
- package/steps/Steps.js +1 -1
- package/steps/constants.js +1 -1
- package/steps/context.js +1 -1
- package/steps/index.js +1 -1
- package/steps/style/index.js +1 -1
- package/style/constants.js +1 -1
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/constants.js +1 -1
- package/suspense-fallback-test/context.js +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/suspense-fallback-test/style/index.js +1 -1
- package/switch/Switch.js +1 -1
- package/switch/constants.js +1 -1
- package/switch/context.js +1 -1
- package/switch/index.js +1 -1
- package/switch/style/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +194 -192
- package/table/constants.js +1 -1
- package/table/context.js +1 -1
- package/table/hooks/useColumns.js +1 -1
- package/table/hooks/useComponent.js +1 -1
- package/table/hooks/useExpand.js +1 -1
- package/table/hooks/useRowSelection.js +1 -1
- package/table/hooks/useSorter.js +1 -1
- package/table/hooks/useStickyClassNames.js +1 -1
- package/table/hooks/useStickyOffsets.js +1 -1
- package/table/hooks/useThResizable.js +1 -1
- package/table/index.js +1 -1
- package/table/style/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/DataRecordRenderer.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/th-resizable/style/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/TabContent.js +1 -1
- package/tabs/TabPane.js +1 -1
- package/tabs/Tabs.js +1 -1
- package/tabs/constants.js +1 -1
- package/tabs/context.js +1 -1
- package/tabs/hooks/useDomSize.js +1 -1
- package/tabs/hooks/useHeaderScroll.js +1 -1
- package/tabs/index.js +1 -1
- package/tabs/style/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/Tag.js +1 -1
- package/tag/constants.js +1 -1
- package/tag/context.js +1 -1
- package/tag/index.js +1 -1
- package/tag/style/index.js +1 -1
- package/tag/utils.js +1 -1
- package/time-picker/Picker.js +115 -115
- package/time-picker/TimeColumn.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/time-picker/TimePickerRange.js +1 -1
- package/time-picker/constants.js +1 -1
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/style/index.js +1 -1
- package/time-picker/utils.js +1 -1
- package/time-picker/withTimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/constants.js +1 -1
- package/timeline/context.js +1 -1
- package/timeline/index.js +1 -1
- package/timeline/style/index.js +1 -1
- package/timer/Timer.js +1 -1
- package/timer/constants.js +1 -1
- package/timer/context.js +1 -1
- package/timer/index.js +1 -1
- package/timer/style/index.js +1 -1
- package/toast/Toast.js +1 -1
- package/toast/constants.js +1 -1
- package/toast/context.js +1 -1
- package/toast/index.js +1 -1
- package/toast/style/index.js +1 -1
- package/tooltip/Tooltip.js +23 -28
- package/tooltip/constants.js +1 -1
- package/tooltip/context.js +1 -1
- package/tooltip/index.js +1 -1
- package/tooltip/style/index.js +1 -1
- package/tour/Tour.js +151 -108
- package/tour/constants.js +1 -1
- package/tour/context.js +1 -2
- package/tour/index.js +1 -1
- package/tour/interface.d.ts +0 -2
- package/tour/style/index.css +1 -1
- package/tour/style/index.js +1 -1
- package/tour/utils.d.ts +9 -0
- package/tour/utils.js +20 -0
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -1
- package/transfer/Transfer.js +1 -1
- package/transfer/constants.js +1 -1
- package/transfer/context.js +1 -1
- package/transfer/index.js +1 -1
- package/transfer/style/index.js +1 -1
- package/transition/constants.js +1 -1
- package/transition/context.js +1 -1
- package/transition/index.js +1 -1
- package/transition/style/index.js +1 -1
- package/tree/Animation.js +1 -1
- package/tree/Node.js +1 -1
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +1 -1
- package/tree/constants.js +1 -1
- package/tree/context.js +1 -1
- package/tree/index.js +1 -1
- package/tree/style/index.js +1 -1
- package/tree/utils.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/TreeSelect.js +1 -1
- package/tree-select/constants.js +1 -1
- package/tree-select/context.js +1 -1
- package/tree-select/hooks/useKeyCache.js +1 -1
- package/tree-select/hooks/useStateValue.js +1 -1
- package/tree-select/hooks/useTreeData.js +1 -1
- package/tree-select/index.js +1 -1
- package/tree-select/style/index.css +1 -1
- package/tree-select/style/index.js +1 -1
- package/tree-select/utils.js +1 -1
- package/trigger/Trigger.js +293 -289
- package/trigger/constants.js +1 -1
- package/trigger/context.js +11 -12
- package/trigger/getPopupStyle.d.ts +2 -2
- package/trigger/getPopupStyle.js +57 -56
- package/trigger/index.js +1 -1
- package/trigger/interface.d.ts +1 -1
- package/trigger/style/index.js +1 -1
- package/trigger/utils.js +1 -1
- package/typewriter/Typewriter.js +1 -1
- package/typewriter/constants.js +1 -1
- package/typewriter/context.js +1 -1
- package/typewriter/index.js +1 -1
- package/typewriter/style/index.js +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/constants.js +1 -1
- package/typography/context.js +1 -1
- package/typography/hooks/useCssEllipsis.js +1 -1
- package/typography/hooks/useEllipsis.js +1 -1
- package/typography/index.js +1 -1
- package/typography/style/index.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +1 -1
- package/upload/constants.js +1 -1
- package/upload/context.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +1 -1
- package/upload/list/TextItem.js +1 -1
- 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/style/index.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/constants.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/createGlobalConfigFunction.js +1 -1
- package/utils/css.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/document.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/emitter.js +1 -1
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -1
- package/utils/fileToDataURL.js +1 -1
- 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/getScrollBarHeight.js +1 -1
- package/utils/getScrollBarSize.js +1 -1
- package/utils/getScrollBarWidth.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/object.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/tinycolor.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -1
- package/utils/tunnel.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/constants.js +1 -1
- package/verification-code/context.js +1 -1
- package/verification-code/index.js +1 -1
- package/verification-code/style/index.js +1 -1
- package/version/index.js +6 -6
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +34 -34
- package/virtual-list/constants.js +1 -1
- package/virtual-list/context.js +1 -1
- package/virtual-list/hooks/useCacheChildrenNodes.js +1 -1
- package/virtual-list/hooks/useComputeVirtualItemHeight.js +1 -1
- package/virtual-list/index.js +1 -1
- package/virtual-list/style/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/constants.js +1 -1
- package/watermark/context.js +1 -1
- package/watermark/index.js +1 -1
- package/watermark/style/index.js +1 -1
package/date-picker/Range.js
CHANGED
|
@@ -1,190 +1,190 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
2
|
-
import { isArray as e, isArrayAndNotEmpty as t, isFunction as n, isNull as r, isNumber as i, isPlainObject as a, isUndefined as o } from "../utils/is.js";
|
|
3
|
-
import
|
|
4
|
-
import { pickDataAttributes as
|
|
5
|
-
import { DATE_PICKER_RANGE_COMPONENT_INFO as
|
|
6
|
-
import
|
|
7
|
-
import { ConfigContext as
|
|
8
|
-
import { dayjs_getDayjsValue as
|
|
9
|
-
import { HYPHEN as
|
|
10
|
-
import { FormContext as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { DatePickerRangeContext as
|
|
15
|
-
import
|
|
16
|
-
import { getAvailableDayjsLength as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { forwardRef as
|
|
21
|
-
import { Fragment as
|
|
22
|
-
import { isDayjs as
|
|
23
|
-
import
|
|
24
|
-
import
|
|
1
|
+
/* 潘启宝 2026-06-29 10:53:33 星期一 山东省济南市 */
|
|
2
|
+
import { isArray as e, isArrayAndNotEmpty as t, isFunction as n, isNull as r, isNumber as i, isPlainObject as a, isTrue as ee, isUndefined as o } from "../utils/is.js";
|
|
3
|
+
import te from "../utils/className.js";
|
|
4
|
+
import { pickDataAttributes as ne } from "../utils/pick.js";
|
|
5
|
+
import { DATE_PICKER_RANGE_COMPONENT_INFO as re } from "../utils/names.js";
|
|
6
|
+
import ie from "../hooks/use-merge-props/index.js";
|
|
7
|
+
import { ConfigContext as ae } from "../config-provider/context.js";
|
|
8
|
+
import { dayjs_getDayjsValue as s, dayjs_getNow as c, dayjs_getSortedDayjsArray as oe, dayjs_getValueWithTime as l, dayjs_isDayjsArrayChange as se, dayjs_isValidTimeString as ce, dayjs_methods as u, dayjs_toLocal as le, dayjs_toTimezone as ue } from "../utils/dayjs.js";
|
|
9
|
+
import { HYPHEN as de } from "../utils/string.js";
|
|
10
|
+
import { FormContext as fe, FormItemContext as pe } from "../form/context.js";
|
|
11
|
+
import me from "../hooks/use-update-effect/index.js";
|
|
12
|
+
import he from "../hooks/use-previous/index.js";
|
|
13
|
+
import ge from "../trigger/index.js";
|
|
14
|
+
import { DatePickerRangeContext as _e, PickerContext as ve } from "./context.js";
|
|
15
|
+
import ye from "../picker/InputRange.js";
|
|
16
|
+
import { getAvailableDayjsLength as be, getDefaultWeekStart as xe, getFormatByIndex as d, getFormatForDatePicker as Se, getLocaleDayjsValue as Ce, isDisabledDate as we } from "./utils.js";
|
|
17
|
+
import Te from "./panel/Shortcut.js";
|
|
18
|
+
import Ee from "./panel/Footer.js";
|
|
19
|
+
import De from "./panel/range/index.js";
|
|
20
|
+
import { forwardRef as Oe, useContext as ke, useEffect as f, useImperativeHandle as Ae, useRef as p, useState as m } from "react";
|
|
21
|
+
import { Fragment as je, jsx as h, jsxs as Me } from "react/jsx-runtime";
|
|
22
|
+
import { isDayjs as Ne } from "dayjs";
|
|
23
|
+
import Pe from "@unicom-cloud/icons/IconUiCalendar";
|
|
24
|
+
import Fe from "@unicom-cloud/icons/IconUiCalendarClock";
|
|
25
25
|
//#region components/pc/date-picker/Range.tsx
|
|
26
|
-
function
|
|
27
|
-
let { prefixCls:
|
|
26
|
+
function Ie(re, Oe) {
|
|
27
|
+
let { prefixCls: Ie, getPrefixCls: g, locale: _, size: Le, componentConfig: Re, rtl: ze } = ke(ae), Be = ke(fe), Ve = ke(pe), He = {
|
|
28
28
|
allowClear: !0,
|
|
29
29
|
unmountOnExit: !0,
|
|
30
30
|
position: "bl",
|
|
31
31
|
editable: !0,
|
|
32
32
|
mode: "date",
|
|
33
33
|
fixedTime: !0
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
let
|
|
37
|
-
...
|
|
38
|
-
...
|
|
39
|
-
},
|
|
40
|
-
Oe
|
|
41
|
-
focus:
|
|
42
|
-
blur:
|
|
34
|
+
}, Ue = { bottom: 4 };
|
|
35
|
+
ze && (He.position = "br");
|
|
36
|
+
let v = ie(re, {
|
|
37
|
+
...Re?.DatePicker,
|
|
38
|
+
...Re?.DatePickerRange
|
|
39
|
+
}, He), { allowClear: We, className: Ge, style: Ke, placeholder: qe, getPopupContainer: Je, disabled: y, position: Ye, error: Xe, status: Ze, unmountOnExit: Qe, editable: $e, triggerProps: et, shortcuts: tt, onSelect: nt, onVisibleChange: rt, value: it, onChange: at, icons: ot, disabledDate: st, disabledTime: ct, mode: b, showTime: x, onSelectShortcut: lt, extra: ut, shortcutsPlacementLeft: S, onOk: dt, defaultPickerValue: ft, pickerValue: pt, panelRender: mt, onPickerValueChange: ht, triggerElement: C, clearRangeOnReselect: gt, separator: _t, utcOffset: w, timezone: T, inputProps: vt, fixedTime: yt, readOnly: bt = Ve?.readOnly ?? Be?.readOnly } = v, E = g?.("picker-range"), xt = _?.DatePicker, St = bt ? e(qe) ? [de, de] : de : qe, Ct = o(v.dayStartOfWeek) ? xe(_?.dayjsLocale) : v.dayStartOfWeek, D = p(null), wt = p(null), Tt = p(null), Et = p(null), Dt = p(null);
|
|
40
|
+
Ae(Oe, () => ({
|
|
41
|
+
focus: on,
|
|
42
|
+
blur: cn,
|
|
43
43
|
getRootElement() {
|
|
44
|
-
return
|
|
44
|
+
return D.current.getRootElement();
|
|
45
45
|
}
|
|
46
46
|
}));
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
if (e(
|
|
50
|
-
if (
|
|
51
|
-
if (
|
|
47
|
+
let O = xt?.Calendar?.[b]?.format || Se(v, !0);
|
|
48
|
+
function Ot() {
|
|
49
|
+
if (e(y)) {
|
|
50
|
+
if (y[0] && !y[1]) return 1;
|
|
51
|
+
if (y[1] && !y[0]) return 0;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
let
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}, [
|
|
58
|
-
let
|
|
59
|
-
function
|
|
60
|
-
let e = [], t = a(
|
|
61
|
-
return e[0] =
|
|
62
|
-
}
|
|
63
|
-
let
|
|
64
|
-
function
|
|
54
|
+
let k = Ot(), A = i(k), kt = A ? 1 ^ k : void 0, [j, At] = m(A ? k : 0);
|
|
55
|
+
f(() => {
|
|
56
|
+
A && At(k);
|
|
57
|
+
}, [y]);
|
|
58
|
+
let M = 1 ^ j, [N, P] = m(), [jt, F] = m(), [Mt, Nt] = m(Xt()), [I, L] = m(), [Pt, R] = m(), [Ft, It] = m(), [Lt, Rt] = m(() => !!v.popupVisible), [zt, Bt] = m([b, b]), [Vt, Ht] = m(!1), z = "popupVisible" in v ? v.popupVisible : Lt, Ut = s(it, O, w, T), B = "value" in v ? Ut : Mt, V = Ft || I || B || [], H = be(I || B), U = p(!0), Wt = c(), Gt = ue(Wt, w, T);
|
|
59
|
+
function Kt() {
|
|
60
|
+
let e = [], t = a(x) && x.defaultValue ? s(x.defaultValue, x.format || "HH:mm:ss") : [];
|
|
61
|
+
return e[0] = V[0] || t[0] || Gt, e[1] = V[1] || t[1] || Gt, e;
|
|
62
|
+
}
|
|
63
|
+
let W = Kt(), qt = A ? (e) => k === 0 ? e.isAfter(V[1], b) : e.isBefore(V[0], b) : void 0, Jt = !o(C), Yt = Jt || gt;
|
|
64
|
+
function Xt() {
|
|
65
65
|
let e;
|
|
66
|
-
if (e =
|
|
66
|
+
if (e = v.value ? s(v.value, O, w, T) : s(v.defaultValue, O, w, T), A && (!e || e && !e[M])) {
|
|
67
67
|
let e = [];
|
|
68
|
-
return e[
|
|
68
|
+
return e[M] = c(w, T), e;
|
|
69
69
|
}
|
|
70
70
|
return e;
|
|
71
71
|
}
|
|
72
|
-
let
|
|
73
|
-
|
|
74
|
-
e(
|
|
72
|
+
let Zt = B || s(ft, O) || [Wt, Wt], [Qt, G] = m(J(Zt)), K = J(s(pt, O, w, T)) || Qt, $t = he(w), en = he(T);
|
|
73
|
+
me(() => {
|
|
74
|
+
e(Mt) && ($t !== w || T !== en) && Nt(Mt.map((e, t, n) => le(e, $t, en)).map((e, t, n) => ue(e, w, T)));
|
|
75
75
|
}, [
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
]),
|
|
81
|
-
|
|
82
|
-
}, [
|
|
83
|
-
|
|
84
|
-
}, [
|
|
85
|
-
if (
|
|
86
|
-
let e =
|
|
87
|
-
|
|
88
|
-
} else
|
|
89
|
-
|
|
90
|
-
}, [
|
|
91
|
-
let
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}, [
|
|
95
|
-
function
|
|
96
|
-
let n =
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
function
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
function
|
|
103
|
-
let r = n === 0 ||
|
|
104
|
-
if (e(t) && t.length < 2) return
|
|
105
|
-
if (e(t) && t.length === 2) return t[n] ?
|
|
106
|
-
}
|
|
107
|
-
function
|
|
108
|
-
if (e?.length === 2 &&
|
|
109
|
-
}
|
|
110
|
-
function
|
|
76
|
+
w,
|
|
77
|
+
$t,
|
|
78
|
+
T,
|
|
79
|
+
en
|
|
80
|
+
]), me(() => {
|
|
81
|
+
G(J(Zt));
|
|
82
|
+
}, [b]), f(() => {
|
|
83
|
+
Bt([b, b]);
|
|
84
|
+
}, [b]), f(() => {
|
|
85
|
+
if (F(void 0), P(void 0), z) {
|
|
86
|
+
let e = J(Zt);
|
|
87
|
+
Ht(!1), Bt([b, b]), G(e), rn(e), L(B), S && Tt.current && wt.current && (Tt.current.style.maxHeight = `${wt.current.clientHeight}px`);
|
|
88
|
+
} else L(void 0), R(void 0), It(void 0), sn();
|
|
89
|
+
U.current = z;
|
|
90
|
+
}, [z]);
|
|
91
|
+
let tn = Ut?.[0]?.format?.(d(O, 0)), nn = Ut?.[1]?.format?.(d(O, 1));
|
|
92
|
+
f(() => {
|
|
93
|
+
L(void 0), R(void 0);
|
|
94
|
+
}, [tn, nn]);
|
|
95
|
+
function q(e, t = j) {
|
|
96
|
+
let n = J(e, t);
|
|
97
|
+
G(n), rn(n);
|
|
98
|
+
}
|
|
99
|
+
function rn(t) {
|
|
100
|
+
an([t[0], Qt[0]], b) || ht?.(e(t) ? t.map((e, t, n) => e?.format?.(d(O, t))) : void 0, t);
|
|
101
|
+
}
|
|
102
|
+
function J(t, n = j) {
|
|
103
|
+
let r = n === 0 || an(t, b);
|
|
104
|
+
if (e(t) && t.length < 2) return Y(t[0] || c(w, T), b, "prev");
|
|
105
|
+
if (e(t) && t.length === 2) return t[n] ? Y(t[n], b, r ? "prev" : "next") : Y(t[+(n === 0)] || c(w, T), b, r && !t[+(n === 0)] ? "prev" : "next");
|
|
106
|
+
}
|
|
107
|
+
function an(e, t) {
|
|
108
|
+
if (e?.length === 2 && Dn(e)) return (t === "date" || t === "week") && e[0].isSame(e[1], "month") || (t === "month" || t === "quarter") && e[0].isSame(e[1], "year") || t === "year" && Math.floor(e[0].year() / 10) === Math.floor(e[1].year() / 10);
|
|
109
|
+
}
|
|
110
|
+
function Y(e = c(w, T), t = b, n = "prev") {
|
|
111
111
|
let r = n === "prev";
|
|
112
112
|
switch (t) {
|
|
113
113
|
case "date":
|
|
114
|
-
case "week": return r ? [e,
|
|
114
|
+
case "week": return r ? [e, u.add(e, 1, "month")] : [u.subtract(e, 1, "month"), e];
|
|
115
115
|
case "month":
|
|
116
|
-
case "quarter": return r ? [e,
|
|
117
|
-
case "year": return r ? [e,
|
|
116
|
+
case "quarter": return r ? [e, u.add(e, 1, "year")] : [u.subtract(e, 1, "year"), e];
|
|
117
|
+
case "year": return r ? [e, u.add(e, 10, "year")] : [u.subtract(e, 10, "year"), e];
|
|
118
118
|
default: return [];
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
function X(e) {
|
|
122
|
+
on(A ? k : e);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
n(
|
|
126
|
-
}
|
|
127
|
-
function on() {
|
|
128
|
-
sn();
|
|
124
|
+
function on(e) {
|
|
125
|
+
n(D.current?.focus) && D.current.focus(e);
|
|
129
126
|
}
|
|
130
127
|
function sn() {
|
|
131
|
-
|
|
128
|
+
cn();
|
|
132
129
|
}
|
|
133
|
-
function cn(
|
|
134
|
-
|
|
135
|
-
rn();
|
|
136
|
-
}, 0), ln(!!e);
|
|
130
|
+
function cn() {
|
|
131
|
+
n(D.current?.blur) && D.current.blur();
|
|
137
132
|
}
|
|
138
133
|
function ln(e) {
|
|
139
|
-
|
|
134
|
+
e && setTimeout(() => {
|
|
135
|
+
X();
|
|
136
|
+
}, 0), Z(!!e);
|
|
137
|
+
}
|
|
138
|
+
function Z(e) {
|
|
139
|
+
rt?.(e), Rt(e);
|
|
140
140
|
}
|
|
141
141
|
function un(e) {
|
|
142
142
|
e.stopPropagation();
|
|
143
|
-
let t = [...
|
|
144
|
-
|
|
143
|
+
let t = [...V];
|
|
144
|
+
A ? t[k] = void 0 : t = void 0, Nt(t), L(t), gn(t), v.onClear?.();
|
|
145
145
|
}
|
|
146
146
|
function dn(e, t) {
|
|
147
|
-
if (
|
|
148
|
-
let t =
|
|
149
|
-
|
|
147
|
+
if (At(e), V?.length && !t) {
|
|
148
|
+
let t = J(V, e);
|
|
149
|
+
G(t), rn(t);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
function fn(e) {
|
|
153
|
-
let t = n(
|
|
154
|
-
return (n(
|
|
153
|
+
let t = n(qt) ? qt(e) : !1;
|
|
154
|
+
return (n(st) ? st(e) : !1) || t;
|
|
155
155
|
}
|
|
156
156
|
function pn(e) {
|
|
157
|
-
return
|
|
157
|
+
return ce(e, O, j) && !fn(s(e, O));
|
|
158
158
|
}
|
|
159
159
|
function mn(e) {
|
|
160
|
-
let t = [...
|
|
161
|
-
|
|
160
|
+
let t = [...V || []], n = e.target.value;
|
|
161
|
+
P(n), z || Z(!0), pn(n) && (t[j] = s(n, O), L(t), q(t), P(void 0));
|
|
162
162
|
}
|
|
163
163
|
function hn() {
|
|
164
|
-
|
|
164
|
+
N && P(void 0);
|
|
165
165
|
}
|
|
166
166
|
function gn(t) {
|
|
167
|
-
if (
|
|
168
|
-
let n = e(t) ? t.map((e, t, n) =>
|
|
169
|
-
|
|
167
|
+
if (se(B, t)) {
|
|
168
|
+
let n = e(t) ? t.map((e, t, n) => Ce(le(e, w, T), _?.dayjsLocale)) : void 0;
|
|
169
|
+
at?.(e(n) ? n.map((e, t, n) => e?.format?.(d(O, t))) : void 0, n);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
function _n() {
|
|
173
|
-
t(
|
|
173
|
+
t(I) ? N && !pn(N) ? P(void 0) : H === 2 ? H === 2 && Q(I) : wn() : z && Z(!1);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
let n = e ||
|
|
175
|
+
function Q(e, t) {
|
|
176
|
+
let n = e || V;
|
|
177
177
|
if (!n || !n[0] || !n[1]) return;
|
|
178
|
-
let i =
|
|
179
|
-
|
|
178
|
+
let i = oe(n, yt);
|
|
179
|
+
Nt(i), gn(i), r(C) || t || Z(!1);
|
|
180
180
|
}
|
|
181
181
|
function vn() {
|
|
182
|
-
|
|
183
|
-
let e =
|
|
184
|
-
|
|
182
|
+
Q();
|
|
183
|
+
let e = V.map((e, t, n) => Ce(e, _?.dayjsLocale));
|
|
184
|
+
dt?.(e.map((e, t, n) => e?.format?.(d(O, t))), e);
|
|
185
185
|
}
|
|
186
186
|
function yn() {
|
|
187
|
-
switch (
|
|
187
|
+
switch (b) {
|
|
188
188
|
case "date":
|
|
189
189
|
case "week": return "date";
|
|
190
190
|
case "month": return "month";
|
|
@@ -193,69 +193,69 @@ function Pe(s, Ee) {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
function bn(e) {
|
|
196
|
-
if (
|
|
197
|
-
let t =
|
|
198
|
-
return !!(
|
|
196
|
+
if (H !== 2) return !1;
|
|
197
|
+
let t = I || B;
|
|
198
|
+
return !!(j === 0 && e.isAfter(t[1], yn()) || j === 1 && e.isBefore(t[0], yn()));
|
|
199
199
|
}
|
|
200
200
|
function xn(e, t) {
|
|
201
|
-
let n = bn(t) &&
|
|
202
|
-
n ? (r[i] = a, r[1 ^ i] = void 0) : r[i] = a, Cn(
|
|
203
|
-
let
|
|
204
|
-
|
|
201
|
+
let n = bn(t) && U.current, r = Yt && H === 2 && !A ? [] : [...V], i = Jt ? H === 0 || H === 2 ? 0 : 1 : j, a = x ? l(t, W[i]) : t;
|
|
202
|
+
n ? (r[i] = a, r[1 ^ i] = void 0) : r[i] = a, Cn(oe(r, yt)), P(void 0), F(void 0);
|
|
203
|
+
let ee = be(r);
|
|
204
|
+
Yt ? H === 0 || H === 2 && !A ? Jt ? At(1) : wn(!0) : x || Q(r) : ee <= 1 ? wn(!0) : H === 2 && U.current && !A ? (U.current = !1, wn(!0), !x && !n && Q(r, !0)) : (U.current = !1, !x && !n && Q(r));
|
|
205
205
|
}
|
|
206
206
|
function Sn(t, n, r) {
|
|
207
|
-
let i = e(
|
|
208
|
-
i[t] =
|
|
207
|
+
let i = e(V) ? [...V] : [];
|
|
208
|
+
i[t] = l(i[t] || c(w, T), r), Cn(i), X(t);
|
|
209
209
|
}
|
|
210
210
|
function Cn(e) {
|
|
211
|
-
|
|
212
|
-
let t =
|
|
213
|
-
|
|
211
|
+
L(e), R(void 0);
|
|
212
|
+
let t = oe(e, yt).map((e, t, n) => Ce(le(e, w, T), _?.dayjsLocale));
|
|
213
|
+
nt?.(t.map((e, t, n) => e?.format?.(d(O, t))), t, { type: j === 1 ? "end" : "start" });
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
dn(
|
|
215
|
+
function wn(e) {
|
|
216
|
+
dn(M, e), setTimeout(() => X(M));
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
let n = [...
|
|
220
|
-
!t && (
|
|
218
|
+
function Tn(e, t) {
|
|
219
|
+
let n = [...V || []];
|
|
220
|
+
!t && (Yt ? H === 1 : H !== 0) && !bn(e) && (n[j] = l(e, W[j]), R(n), P(void 0)), t || F((x ? l(e, W[j]) : e).locale(_?.dayjsLocale).format(d(O, j)));
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
|
|
222
|
+
function En() {
|
|
223
|
+
R(void 0), F(void 0);
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
return t && e(t) && t.length === 2 &&
|
|
225
|
+
function Dn(t) {
|
|
226
|
+
return t && e(t) && t.length === 2 && Ne(t[0]) && Ne(t[1]);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
return
|
|
228
|
+
function On(e) {
|
|
229
|
+
return Dn(n(e.value) && e.value());
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
clearTimeout(
|
|
231
|
+
function kn() {
|
|
232
|
+
clearTimeout(Et.current), clearTimeout(Dt.current), Et.current = null, Dt.current = null;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
236
|
-
if (
|
|
237
|
-
let t =
|
|
238
|
-
|
|
234
|
+
function An(e) {
|
|
235
|
+
kn(), Et.current = setTimeout(() => {
|
|
236
|
+
if (On(e)) {
|
|
237
|
+
let t = s(e.value(), O, w, T);
|
|
238
|
+
It(t), q(t);
|
|
239
239
|
}
|
|
240
240
|
}, 50);
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
function jn() {
|
|
243
|
+
kn(), Dt.current = setTimeout(() => {
|
|
244
|
+
It(void 0), q(I || B || [c(w, T), c(w, T)]);
|
|
245
245
|
}, 50);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
if (
|
|
249
|
-
let n =
|
|
250
|
-
if (e(n) && n.some((e) =>
|
|
251
|
-
|
|
247
|
+
function Mn(t) {
|
|
248
|
+
if (lt?.(t), On(t)) {
|
|
249
|
+
let n = s(t.value(), O, w, T);
|
|
250
|
+
if (e(n) && n.some((e) => we(e, st, b))) return;
|
|
251
|
+
Q(n);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
function $(e, t, n = 1) {
|
|
255
|
-
let r = e === "prev" ? 0 : 1, i = [...
|
|
256
|
-
e === "prev" && (i[r] =
|
|
255
|
+
let r = e === "prev" ? 0 : 1, i = [...K];
|
|
256
|
+
e === "prev" && (i[r] = u.subtract(K[r], n, t)), e === "next" && (i[r] = u.add(K[r], n, t)), i = Y(i[r], b, e), q(i);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function Nn(e = b) {
|
|
259
259
|
if (e === "date" || e === "week") return {
|
|
260
260
|
onPrev: () => $("prev", "month"),
|
|
261
261
|
onNext: () => $("next", "month"),
|
|
@@ -271,134 +271,134 @@ function Pe(s, Ee) {
|
|
|
271
271
|
onSuperNext: () => $("next", "year", 10)
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
function
|
|
278
|
-
let i = ee(`${
|
|
279
|
-
[`${
|
|
280
|
-
[`${
|
|
281
|
-
[`${
|
|
282
|
-
},
|
|
283
|
-
prefixCls:
|
|
284
|
-
showTime:
|
|
285
|
-
shortcuts:
|
|
286
|
-
onMouseEnterShortcut:
|
|
287
|
-
onMouseLeaveShortcut:
|
|
288
|
-
onSelectShortcut:
|
|
289
|
-
disabledDate:
|
|
290
|
-
mode:
|
|
291
|
-
},
|
|
292
|
-
...
|
|
293
|
-
...
|
|
294
|
-
getHeaderOperations:
|
|
295
|
-
setRangePageShowDates:
|
|
296
|
-
pageShowDates:
|
|
297
|
-
value:
|
|
298
|
-
format:
|
|
274
|
+
function Pn() {
|
|
275
|
+
Ht(!Vt);
|
|
276
|
+
}
|
|
277
|
+
function Fn(r) {
|
|
278
|
+
let i = ee(r), a = te(`${E}-container`, {
|
|
279
|
+
[`${E}-panel-only`]: i,
|
|
280
|
+
[`${E}-container-shortcuts-placement-left`]: e(tt) && S,
|
|
281
|
+
[`${E}-container-rtl`]: ze
|
|
282
|
+
}, i ? Ge : ""), o = {
|
|
283
|
+
prefixCls: g?.("picker"),
|
|
284
|
+
showTime: x,
|
|
285
|
+
shortcuts: tt,
|
|
286
|
+
onMouseEnterShortcut: An,
|
|
287
|
+
onMouseLeaveShortcut: jn,
|
|
288
|
+
onSelectShortcut: Mn,
|
|
289
|
+
disabledDate: st,
|
|
290
|
+
mode: b
|
|
291
|
+
}, ne = x && zt[0] === "date" && zt[1] === "date" || ut || t(tt) && !S, re = /* @__PURE__ */ Me(je, { children: [/* @__PURE__ */ h(De, {
|
|
292
|
+
...v,
|
|
293
|
+
...Nn(),
|
|
294
|
+
getHeaderOperations: Nn,
|
|
295
|
+
setRangePageShowDates: q,
|
|
296
|
+
pageShowDates: K,
|
|
297
|
+
value: V,
|
|
298
|
+
format: O,
|
|
299
299
|
onSelectPanel: xn,
|
|
300
|
-
onMouseEnterCell:
|
|
301
|
-
onMouseLeaveCell:
|
|
300
|
+
onMouseEnterCell: Tn,
|
|
301
|
+
onMouseLeaveCell: En,
|
|
302
302
|
disabledDate: (e) => fn(e),
|
|
303
|
-
disabledTime:
|
|
304
|
-
mode:
|
|
305
|
-
localeName:
|
|
306
|
-
showTime:
|
|
307
|
-
timeValues:
|
|
303
|
+
disabledTime: ct,
|
|
304
|
+
mode: b,
|
|
305
|
+
localeName: _?.dayjsLocale,
|
|
306
|
+
showTime: x,
|
|
307
|
+
timeValues: Ft || W,
|
|
308
308
|
onTimePickerSelect: Sn,
|
|
309
|
-
popupVisible:
|
|
310
|
-
disabledTimePickerIndex:
|
|
311
|
-
isTimePanel:
|
|
312
|
-
valueShowHover:
|
|
313
|
-
panelModes:
|
|
314
|
-
setPanelModes:
|
|
315
|
-
}), !!
|
|
316
|
-
...
|
|
317
|
-
DATEPICKER_LOCALE:
|
|
318
|
-
disabled: !(e(
|
|
309
|
+
popupVisible: z,
|
|
310
|
+
disabledTimePickerIndex: kt,
|
|
311
|
+
isTimePanel: Vt,
|
|
312
|
+
valueShowHover: Pt,
|
|
313
|
+
panelModes: zt,
|
|
314
|
+
setPanelModes: Bt
|
|
315
|
+
}), !!ne && /* @__PURE__ */ h(Ee, {
|
|
316
|
+
...o,
|
|
317
|
+
DATEPICKER_LOCALE: xt,
|
|
318
|
+
disabled: !(e(V) && V[0] && V[1]),
|
|
319
319
|
onClickConfirmBtn: vn,
|
|
320
|
-
extra:
|
|
321
|
-
shortcutsPlacementLeft:
|
|
322
|
-
onClickSelectTimeBtn:
|
|
323
|
-
isTimePanel:
|
|
320
|
+
extra: ut,
|
|
321
|
+
shortcutsPlacementLeft: S,
|
|
322
|
+
onClickSelectTimeBtn: Pn,
|
|
323
|
+
isTimePanel: Vt,
|
|
324
324
|
isPickerRange: !0
|
|
325
|
-
})] }),
|
|
326
|
-
ref:
|
|
327
|
-
...
|
|
328
|
-
}), /* @__PURE__ */
|
|
329
|
-
ref:
|
|
330
|
-
className: `${
|
|
331
|
-
children:
|
|
332
|
-
})] }) :
|
|
333
|
-
return /* @__PURE__ */
|
|
334
|
-
style:
|
|
335
|
-
className:
|
|
336
|
-
onClick:
|
|
337
|
-
let t =
|
|
338
|
-
t && (t.getInputElements().includes(document.activeElement) ||
|
|
325
|
+
})] }), ie = S ? /* @__PURE__ */ Me(je, { children: [/* @__PURE__ */ h(Te, {
|
|
326
|
+
ref: Tt,
|
|
327
|
+
...o
|
|
328
|
+
}), /* @__PURE__ */ h("div", {
|
|
329
|
+
ref: wt,
|
|
330
|
+
className: `${E}-panel-wrapper`,
|
|
331
|
+
children: re
|
|
332
|
+
})] }) : re, ae = n(mt) ? mt(ie) : ie;
|
|
333
|
+
return /* @__PURE__ */ h("div", {
|
|
334
|
+
style: i ? Ke : {},
|
|
335
|
+
className: a,
|
|
336
|
+
onClick: i ? void 0 : (e) => {
|
|
337
|
+
let t = D.current;
|
|
338
|
+
t && (t.getInputElements().includes(document.activeElement) || X());
|
|
339
339
|
},
|
|
340
|
-
children:
|
|
340
|
+
children: ae
|
|
341
341
|
});
|
|
342
342
|
}
|
|
343
|
-
let
|
|
344
|
-
style:
|
|
345
|
-
className:
|
|
346
|
-
popupVisible:
|
|
347
|
-
format:
|
|
348
|
-
disabled:
|
|
349
|
-
error:
|
|
350
|
-
status:
|
|
351
|
-
size:
|
|
343
|
+
let In = v.size || Le, Ln = e(St) ? St : xt?.placeholders?.[b], Rn = {
|
|
344
|
+
style: Ke,
|
|
345
|
+
className: Ge,
|
|
346
|
+
popupVisible: z,
|
|
347
|
+
format: O,
|
|
348
|
+
disabled: y,
|
|
349
|
+
error: Xe,
|
|
350
|
+
status: Ze,
|
|
351
|
+
size: In,
|
|
352
352
|
onPressEnter: _n,
|
|
353
353
|
onClear: un,
|
|
354
|
-
suffix: r(
|
|
355
|
-
editable:
|
|
356
|
-
allowClear:
|
|
357
|
-
prefix:
|
|
358
|
-
readOnly:
|
|
359
|
-
},
|
|
360
|
-
...
|
|
361
|
-
...
|
|
362
|
-
inputProps:
|
|
363
|
-
ref:
|
|
364
|
-
placeholder:
|
|
365
|
-
value:
|
|
354
|
+
suffix: r(ot?.inputSuffix) ? null : ot?.inputSuffix || h(x ? Fe : Pe, {}),
|
|
355
|
+
editable: $e,
|
|
356
|
+
allowClear: We,
|
|
357
|
+
prefix: v.prefix,
|
|
358
|
+
readOnly: bt
|
|
359
|
+
}, zn = e(y) ? y[0] && y[1] : y, Bn = /* @__PURE__ */ h(ye, {
|
|
360
|
+
...ne(v),
|
|
361
|
+
...Rn,
|
|
362
|
+
inputProps: vt,
|
|
363
|
+
ref: D,
|
|
364
|
+
placeholder: Ln,
|
|
365
|
+
value: I || B,
|
|
366
366
|
onChange: mn,
|
|
367
|
-
inputValue:
|
|
367
|
+
inputValue: jt || N,
|
|
368
368
|
changeFocusedInputIndex: dn,
|
|
369
|
-
focusedInputIndex:
|
|
370
|
-
isPlaceholder: !!
|
|
371
|
-
separator:
|
|
369
|
+
focusedInputIndex: j,
|
|
370
|
+
isPlaceholder: !!jt,
|
|
371
|
+
separator: _t,
|
|
372
372
|
onBlur: hn
|
|
373
|
-
}),
|
|
374
|
-
return
|
|
375
|
-
popup:
|
|
373
|
+
}), Vn = Bn;
|
|
374
|
+
return Vn = bt ? Bn : r(C) ? Fn(!0) : /* @__PURE__ */ h(ge, {
|
|
375
|
+
popup: Fn,
|
|
376
376
|
trigger: "click",
|
|
377
377
|
clickToClose: !1,
|
|
378
|
-
position:
|
|
379
|
-
disabled:
|
|
380
|
-
popupAlign:
|
|
381
|
-
getPopupContainer:
|
|
382
|
-
onVisibleChange:
|
|
383
|
-
popupVisible:
|
|
384
|
-
classNames: `${
|
|
385
|
-
unmountOnExit:
|
|
386
|
-
...
|
|
387
|
-
children:
|
|
388
|
-
}), /* @__PURE__ */
|
|
389
|
-
value: { ...
|
|
390
|
-
children: /* @__PURE__ */
|
|
378
|
+
position: Ye,
|
|
379
|
+
disabled: zn,
|
|
380
|
+
popupAlign: Ue,
|
|
381
|
+
getPopupContainer: Je,
|
|
382
|
+
onVisibleChange: ln,
|
|
383
|
+
popupVisible: z,
|
|
384
|
+
classNames: `${Ie}-slide-dynamic-origin`,
|
|
385
|
+
unmountOnExit: Qe,
|
|
386
|
+
...et,
|
|
387
|
+
children: C || Bn
|
|
388
|
+
}), /* @__PURE__ */ h(_e.Provider, {
|
|
389
|
+
value: { ...v },
|
|
390
|
+
children: /* @__PURE__ */ h(ve.Provider, {
|
|
391
391
|
value: {
|
|
392
|
-
utcOffset:
|
|
393
|
-
timezone:
|
|
394
|
-
weekStart:
|
|
392
|
+
utcOffset: w,
|
|
393
|
+
timezone: T,
|
|
394
|
+
weekStart: Ct
|
|
395
395
|
},
|
|
396
|
-
children:
|
|
396
|
+
children: Vn
|
|
397
397
|
})
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
|
-
var
|
|
401
|
-
Object.assign(
|
|
400
|
+
var g = Oe(Ie);
|
|
401
|
+
Object.assign(g, { ...re });
|
|
402
402
|
//#endregion
|
|
403
|
-
export {
|
|
403
|
+
export { g as default };
|
|
404
404
|
/* 独立思考,明辨是非 */
|