@unicom-cloud/ui 0.8.153 → 0.8.154
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/.vite/manifest.json +35 -1
- package/affix/Affix.js +1 -1
- package/affix/index.js +1 -1
- package/alert/Alert.js +3 -3
- 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/AutoComplete.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/BackTop.js +3 -3
- package/back-top/index.js +1 -1
- package/badge/Badge.js +3 -3
- package/badge/Count.js +3 -3
- package/badge/index.js +1 -1
- package/badge/utils.js +1 -1
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/context.js +1 -1
- package/breadcrumb/index.js +1 -1
- package/button/Button.js +1 -1
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Calendar.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/Card.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/Carousel.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/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/hook/useRefCurrent.js +1 -1
- package/cascader/index.js +1 -1
- package/cascader/panel/List.js +3 -3
- 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/context.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 +3 -3
- package/collapse/context.js +1 -1
- package/collapse/index.js +1 -1
- package/color-picker/ColorPicker.js +2 -2
- 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.d.ts +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 +2 -2
- package/comment/Comment.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/config-provider/initUI.js +1 -1
- package/config-provider/useConfigProvider.js +1 -1
- package/constant/index.js +1 -1
- package/copy/Copy.js +1 -1
- package/copy/index.js +1 -1
- package/countdown/Countdown.js +1 -1
- package/countdown/index.js +1 -1
- package/countdown/utils.js +1 -1
- package/date-picker/DatePicker.js +1 -1
- package/date-picker/DatePickerRange.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/context.js +1 -1
- package/date-picker/hook/useCellClassName.js +1 -1
- package/date-picker/index.js +1 -1
- package/date-picker/panel/Body.js +1 -1
- package/date-picker/panel/Footer.js +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/utils.js +1 -1
- package/descriptions/Descriptions.js +1 -1
- package/descriptions/index.js +1 -1
- package/details/Details.js +1 -1
- package/details/index.js +1 -1
- package/development/Development.js +1 -1
- package/development/index.js +1 -1
- package/divider/Divider.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/Draggable.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/index.js +1 -1
- package/draw/Draw.d.ts +0 -1
- package/draw/Draw.js +14 -14
- package/draw/constant.js +1 -1
- package/draw/index.js +1 -1
- package/drawer/Drawer.js +72 -67
- package/drawer/index.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/Dropdown.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/Empty.js +1 -1
- package/empty/index.js +1 -1
- package/flex/Flex.js +1 -1
- package/flex/index.js +1 -1
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormControl.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/FormItemTip.js +3 -3
- package/form/FormLabel.js +1 -1
- package/form/FormLabelSymbol.js +1 -1
- package/form/FormList.js +1 -1
- package/form/FormProvider.js +1 -1
- package/form/constant.js +1 -1
- package/form/context.js +1 -1
- package/form/hook/useForm.js +1 -1
- package/form/hook/useFormContext.js +1 -1
- package/form/hook/useFormState.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/global-provider/GlobalProvider.js +1 -1
- package/global-provider/context.js +1 -1
- package/global-provider/index.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-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-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-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-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/useUnmountOnExit.js +1 -1
- package/icon/Icon.js +1 -1
- package/icon/addIconFromCdn.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/IconHover.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icons/file/File.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons.js +1 -1
- package/image/Image.js +1 -1
- package/image/ImageFooter.js +1 -1
- package/image/ImagePreview.js +3 -3
- 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/context.js +1 -1
- package/image/index.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.d.ts +2 -2
- package/index.js +813 -788
- 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 +2 -2
- package/input/useComposition.js +1 -1
- package/input/utils.js +1 -1
- package/input-number/InputNumber.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/constant.js +1 -1
- package/input-tag/hook/useComputeAutoWidthDelay.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/Layout.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/context.js +1 -1
- package/layout/index.js +1 -1
- package/link/Link.js +1 -1
- package/link/index.js +1 -1
- package/liquid-fill/LiquidFill.js +1 -1
- package/liquid-fill/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/List.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/loading/Loading.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/Marquee.js +1 -1
- package/marquee/index.js +1 -1
- package/mask/Mask.js +21 -18
- package/mask/index.js +1 -1
- package/mask/interface.d.ts +1 -0
- 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/Mentions.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 +3 -3
- 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 +4 -5
- package/message/index.js +5 -5
- package/message/interface.d.ts +3 -3
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +1 -1
- package/modal/Modal.js +136 -134
- 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/Notice.js +1 -1
- package/notice/index.js +1 -1
- package/notification/Notification.js +3 -3
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +1 -1
- package/overflow-ellipsis/OverflowEllipsis.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/PageHeader.js +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 +1 -1
- 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 +1 -1
- package/picker/index.js +1 -1
- package/popconfirm/Popconfirm.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/Popover.js +1 -1
- package/popover/index.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/index.js +1 -1
- package/progress/CircleProgress.js +1 -1
- package/progress/LineProgess.js +1 -1
- package/progress/Progress.js +1 -1
- package/progress/StepProgress.js +1 -1
- package/progress/index.js +1 -1
- package/qr-code/QRCode.js +1 -1
- package/qr-code/index.d.ts +1 -0
- package/qr-code/index.js +3 -3
- package/qr-code/src/index.js +2 -2
- package/qr-code/src/qrcodegen.d.ts +2 -2
- package/qr-code/src/qrcodegen.js +656 -710
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/context.js +1 -1
- package/radio/index.js +1 -1
- package/rate/Rate.js +1 -1
- package/rate/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/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/index.js +1 -1
- package/rich-text/RichText.js +1 -1
- package/rich-text/Toolbar.js +1 -1
- package/rich-text/constant.js +1 -1
- package/rich-text/index.d.ts +19 -3
- package/rich-text/index.js +13 -2
- 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 +102 -102
- package/rich-text/lib/core/emitter.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 +80 -80
- 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/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/emoji.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.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 +132 -132
- package/rich-text/lib/modules/history.js +1 -1
- package/rich-text/lib/modules/image-resize/index.js +1 -1
- package/rich-text/lib/modules/image-resize/modules/Base.js +1 -1
- package/rich-text/lib/modules/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/lib/modules/image-resize/modules/Resize.js +1 -1
- package/rich-text/lib/modules/image-resize/options.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/table.js +1 -1
- package/rich-text/lib/modules/toolbar.js +1 -1
- package/rich-text/lib/modules/uiNode.js +1 -1
- package/rich-text/lib/modules/uploader.js +1 -1
- package/rich-text/lib/parchment/attributor/attributor.js +1 -1
- package/rich-text/lib/parchment/attributor/class.js +1 -1
- package/rich-text/lib/parchment/attributor/store.js +1 -1
- package/rich-text/lib/parchment/attributor/style.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/container.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/leaf.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/parent.js +1 -1
- package/rich-text/lib/parchment/blot/abstract/shadow.js +1 -1
- package/rich-text/lib/parchment/blot/block.js +1 -1
- package/rich-text/lib/parchment/blot/embed.js +1 -1
- package/rich-text/lib/parchment/blot/inline.js +1 -1
- package/rich-text/lib/parchment/blot/scroll.js +1 -1
- package/rich-text/lib/parchment/blot/text.js +1 -1
- package/rich-text/lib/parchment/collection/linked-list.js +1 -1
- package/rich-text/lib/parchment/error.js +1 -1
- package/rich-text/lib/parchment/index.js +1 -1
- package/rich-text/lib/parchment/registry.js +18 -18
- package/rich-text/lib/parchment/scope.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/Segmented.js +1 -1
- package/segmented/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/OptionGroup.js +1 -1
- package/select/Select.js +1 -1
- package/select/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/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Skeleton.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/Slider.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/Space.js +1 -1
- package/space/index.js +1 -1
- package/speech-synthesis/SpeechSynthesis.js +1 -1
- package/speech-synthesis/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/Spin.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.d.ts +1 -5
- package/splitter/Panel.js +4 -3
- package/splitter/SplitBar.js +1 -1
- package/splitter/Splitter.js +2 -2
- 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/Statistic.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/steps/Step.js +1 -1
- package/steps/Steps.js +1 -1
- package/steps/index.js +1 -1
- package/style/animation/fade.less +4 -4
- package/style/animation/slide.less +20 -20
- package/style/animation/zoom.less +12 -12
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/switch/Switch.js +1 -1
- package/switch/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +281 -270
- 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/interface.d.ts +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 +68 -78
- 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.d.ts +0 -2
- package/table/utils.js +12 -18
- package/tabs/TabContent.js +1 -1
- package/tabs/TabPane.js +1 -1
- package/tabs/Tabs.js +1 -1
- package/tabs/context.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/Tag.js +1 -1
- package/tag/index.js +1 -1
- package/tag/utils.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimeColumn.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/time-picker/TimePickerRange.js +1 -1
- 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/timer/Timer.js +1 -1
- package/timer/index.js +1 -1
- package/tooltip/Tooltip.js +1 -1
- package/tooltip/index.js +1 -1
- package/tour/Tour.js +1 -1
- package/tour/index.js +1 -1
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -1
- package/transfer/Transfer.js +1 -1
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- package/tree/Context2.js +1 -1
- package/tree/Node.js +1 -1
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +1 -1
- package/tree/context.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/TreeSelect.js +1 -1
- 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/Trigger.js +6 -6
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.js +1 -1
- package/trigger/utils.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/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 +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/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.d.ts +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 +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.d.ts +3 -0
- package/utils/getScrollBarHeight.js +7 -0
- package/utils/getScrollBarSize.d.ts +3 -0
- package/utils/getScrollBarSize.js +7 -0
- package/utils/getScrollBarWidth.d.ts +3 -0
- package/utils/getScrollBarWidth.js +7 -0
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.d.ts +3 -0
- package/utils/index.js +235 -228
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.d.ts +1 -1
- package/utils/is.js +9 -8
- 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 +11 -14
- 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/table/Table.js
CHANGED
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
/* 潘启宝 2026-03
|
|
1
|
+
/* 潘启宝 2026-04-03 14:07:06 星期五 */
|
|
2
2
|
import { isArray as e, isArrayAndNotEmpty as t, isBoolean as n, isFunction as r, isNaN as i, isNil as a, isNumber as o, isObjectLike as s, isPlainObject as c, isString as l, isUndefined as ee } from "../utils/is.js";
|
|
3
3
|
import te from "../utils/className.js";
|
|
4
4
|
import { pickDataAttributes as ne } from "../utils/pick.js";
|
|
5
5
|
import { off as re, on as ie } from "../utils/dom.js";
|
|
6
6
|
import ae from "../config-provider/context.js";
|
|
7
7
|
import "../config-provider/index.js";
|
|
8
|
+
import oe from "../utils/getScrollBarHeight.js";
|
|
9
|
+
import se from "../utils/getScrollBarWidth.js";
|
|
8
10
|
import "../utils/tween.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { CHILDREN_NAME as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
11
|
+
import ce from "../hooks/use-isomorphic-layout-effect/index.js";
|
|
12
|
+
import le from "../hooks/use-resize-observers/index.js";
|
|
13
|
+
import ue from "../hooks/use-update-effect/index.js";
|
|
14
|
+
import { CHILDREN_NAME as de } from "../constant/index.js";
|
|
15
|
+
import fe from "../spin/index.js";
|
|
16
|
+
import pe from "../pagination/index.js";
|
|
15
17
|
import "./constant.js";
|
|
16
|
-
import { TableContext as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { deepCloneData as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import { Fragment as
|
|
33
|
-
import Ie from "lodash/throttle";
|
|
18
|
+
import { TableContext as me } from "./context.js";
|
|
19
|
+
import he from "./hook/useComponent.js";
|
|
20
|
+
import ge from "./hook/useColumns.js";
|
|
21
|
+
import { deepCloneData as _e, getOriginData as u, getSorterFn as ve, getSorterPriority as ye } from "./utils.js";
|
|
22
|
+
import be from "./hook/useExpand.js";
|
|
23
|
+
import xe from "./hook/useRowSelection.js";
|
|
24
|
+
import Se from "./hook/useSorter.js";
|
|
25
|
+
import Ce from "./hook/useStickyClassNames.js";
|
|
26
|
+
import we from "./hook/useStickyOffsets.js";
|
|
27
|
+
import Te from "../hooks/use-window-size/index.js";
|
|
28
|
+
import Ee from "./ColGroup.js";
|
|
29
|
+
import De from "./tbody/index.js";
|
|
30
|
+
import Oe from "./tfoot/index.js";
|
|
31
|
+
import ke from "./thead/index.js";
|
|
32
|
+
import Ae, { forwardRef as je, useContext as Me, useEffect as Ne, useImperativeHandle as Pe, useMemo as d, useRef as f, useState as p } from "react";
|
|
33
|
+
import Fe from "lodash/merge";
|
|
34
|
+
import { Fragment as Ie, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
34
35
|
//#region components/pc/table/Table.tsx
|
|
35
36
|
var Le = [], Re = [];
|
|
36
|
-
function ze(
|
|
37
|
-
let
|
|
37
|
+
function ze(je, ze) {
|
|
38
|
+
let g = {
|
|
38
39
|
showHeader: !0,
|
|
39
40
|
border: !0,
|
|
40
41
|
hover: !0,
|
|
41
42
|
rowKey: "key",
|
|
42
43
|
pagePosition: "br",
|
|
43
|
-
childrenColumnName:
|
|
44
|
+
childrenColumnName: de,
|
|
44
45
|
indentSize: 16,
|
|
45
46
|
showSorterTooltip: !0
|
|
46
|
-
}, { prefixCls: Be, getPrefixCls: Ve, loadingElement: He, size: Ue, renderEmpty: We, componentConfig: Ge, rtl:
|
|
47
|
+
}, { prefixCls: Be, getPrefixCls: Ve, loadingElement: He, size: Ue, renderEmpty: We, componentConfig: Ge, rtl: _ } = Me(ae), v = Fe({}, g, Ge?.Table, je), { style: Ke, className: qe, component: Je, border: y, borderCell: Ye, columns: Xe = Re, data: b = Le, scroll: x, noDataElement: Ze, showHeader: Qe, stripe: $e, hover: et, pagination: S, onChange: C, pagePosition: w, childrenColumnName: T, indentSize: tt, rowSelection: E, tableLayoutFixed: nt, header: rt, footer: it, virtualized: D, renderPagination: at, summary: ot, rowKey: O, triggerProps: st, size: ct = Ue, expandProps: lt } = v, ut = d(() => {
|
|
47
48
|
let e = tt;
|
|
48
|
-
return l(e) && (e = Number.parseFloat(e), i(e) && (e =
|
|
49
|
-
}, [tt]), k = c(
|
|
49
|
+
return l(e) && (e = Number.parseFloat(e), i(e) && (e = g.indentSize)), e;
|
|
50
|
+
}, [tt]), k = c(S) ? S : {}, A = c(x) && x.x, dt = d(() => _e(b, T), [b, T]), j = Ve?.("table"), ft = [
|
|
50
51
|
"default",
|
|
51
52
|
"mini",
|
|
52
53
|
"small",
|
|
53
54
|
"large"
|
|
54
|
-
].includes(
|
|
55
|
-
function
|
|
55
|
+
].includes(ct) ? ct : "default", M = f(null), pt = f(null), N = f(null), P = f(null), mt = f(null), ht = f(null), gt = f(null), F = f(null), I = f(null), _t = f(null), vt = f(null), yt = f(null), L = f(0), bt = f(!1), [xt, R] = ge(v), { currentFilters: St, defaultSorters: Ct } = Vt(), [z, wt] = p(1), [Tt, Et] = p(k.pageSize || k.defaultPageSize || 10), [Dt, Ot] = p(St), [kt, At] = p(0), [jt, Mt] = p([]), Nt = we(R), [Pt, Ft] = Ce(xt, R, j), { currentSorter: B, activeSorters: V, getNextActiveSorters: It, updateStateSorters: Lt } = Se(R, Ct), { ComponentTable: H, ComponentBodyWrapper: Rt, ComponentHeaderWrapper: zt } = he(Je), Bt = d(() => r(O) ? (e) => O(u(e)) : (e) => e[O], [O]);
|
|
56
|
+
function Vt() {
|
|
56
57
|
let e = {}, t = [];
|
|
57
58
|
return R.forEach((n) => {
|
|
58
59
|
let r = n.dataIndex || n.key;
|
|
59
60
|
n.defaultFilters && (e[r] = n.defaultFilters), n.filteredValue && (e[r] = n.filteredValue);
|
|
60
61
|
let i = "defaultSortOrder" in n && !a(n.defaultSortOrder), s = "sortOrder" in n && !a(n.sortOrder);
|
|
61
62
|
if (i || s) {
|
|
62
|
-
let e =
|
|
63
|
+
let e = ye(n.sorter), i = s ? n.sortOrder : n.defaultSortOrder;
|
|
63
64
|
if (i) {
|
|
64
65
|
let a = {
|
|
65
66
|
field: r,
|
|
66
67
|
direction: i,
|
|
67
|
-
sorterFn:
|
|
68
|
+
sorterFn: ve(n.sorter),
|
|
68
69
|
priority: e
|
|
69
70
|
};
|
|
70
71
|
o(e) ? t.every((e) => o(e.priority) || !e.direction) && t.push(a) : t.every((e) => !e.direction) ? t.push(a) : t = [a];
|
|
@@ -75,31 +76,31 @@ function ze(ke, ze) {
|
|
|
75
76
|
defaultSorters: t
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
|
-
let U =
|
|
79
|
+
let U = d(() => {
|
|
79
80
|
let e = R.filter((e) => "filteredValue" in e), t = {};
|
|
80
81
|
return e.length && e.forEach((e, n) => {
|
|
81
82
|
let r = e.key || e.dataIndex || n;
|
|
82
83
|
r !== void 0 && (t[r] = e.filteredValue);
|
|
83
84
|
}), t;
|
|
84
|
-
}, [R]), W =
|
|
85
|
-
function
|
|
86
|
-
let n =
|
|
85
|
+
}, [R]), W = d(() => Object.keys(U).length ? U : Dt, [Dt, U]);
|
|
86
|
+
function Ht(e, t) {
|
|
87
|
+
let n = hn(t);
|
|
87
88
|
if (!n) return;
|
|
88
89
|
let r = {
|
|
89
90
|
direction: e,
|
|
90
91
|
field: t,
|
|
91
|
-
sorterFn:
|
|
92
|
-
priority:
|
|
93
|
-
}, i =
|
|
94
|
-
|
|
95
|
-
let a =
|
|
96
|
-
|
|
92
|
+
sorterFn: ve(n.sorter),
|
|
93
|
+
priority: ye(n.sorter)
|
|
94
|
+
}, i = It(r);
|
|
95
|
+
Lt(r, i);
|
|
96
|
+
let a = Jt(r, i, W), o = Y(a);
|
|
97
|
+
C?.(q(a), r, W, {
|
|
97
98
|
currentData: u(o),
|
|
98
99
|
currentAllData: u(a),
|
|
99
100
|
action: "sort"
|
|
100
101
|
});
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
+
function Ut(e) {
|
|
103
104
|
let t = function(e, t) {
|
|
104
105
|
return (n, r) => {
|
|
105
106
|
let i = e(n, r);
|
|
@@ -116,7 +117,7 @@ function ze(ke, ze) {
|
|
|
116
117
|
return 0;
|
|
117
118
|
};
|
|
118
119
|
}
|
|
119
|
-
function
|
|
120
|
+
function Wt(t, n) {
|
|
120
121
|
let r = {
|
|
121
122
|
...W,
|
|
122
123
|
[t.dataIndex]: n
|
|
@@ -125,317 +126,327 @@ function ze(ke, ze) {
|
|
|
125
126
|
...U
|
|
126
127
|
};
|
|
127
128
|
if (e(n) && n.length) {
|
|
128
|
-
|
|
129
|
-
let e =
|
|
130
|
-
|
|
129
|
+
Ot(i);
|
|
130
|
+
let e = Jt(B, V, r), t = Y(e);
|
|
131
|
+
C?.(q(e), V.length === 1 ? V[0] : V, r, {
|
|
131
132
|
currentData: u(t),
|
|
132
133
|
currentAllData: u(e),
|
|
133
134
|
action: "filter"
|
|
134
135
|
});
|
|
135
|
-
} else e(n) && !n.length &&
|
|
136
|
+
} else e(n) && !n.length && Gt(t);
|
|
136
137
|
}
|
|
137
|
-
function
|
|
138
|
+
function Gt({ dataIndex: e }) {
|
|
138
139
|
let t = { ...W };
|
|
139
|
-
delete t[e],
|
|
140
|
-
let n =
|
|
141
|
-
|
|
140
|
+
delete t[e], Ot(t);
|
|
141
|
+
let n = Jt(B, V, t), r = Y(n);
|
|
142
|
+
C?.(q(n), V.length === 1 ? V[0] : V, t, {
|
|
142
143
|
currentData: u(r),
|
|
143
144
|
currentAllData: u(n),
|
|
144
145
|
action: "filter"
|
|
145
146
|
});
|
|
146
147
|
}
|
|
147
|
-
let G = !!R.find((e) => e.fixed === "left"),
|
|
148
|
-
function
|
|
149
|
-
let a = (
|
|
148
|
+
let G = !!R.find((e) => e.fixed === "left"), Kt = !!R.find((e) => e.fixed === "right"), qt = G || Kt;
|
|
149
|
+
function Jt(t, n, i) {
|
|
150
|
+
let a = (dt || []).slice();
|
|
150
151
|
Object.keys(i).forEach((e) => {
|
|
151
152
|
if (i[e] && i[e].length) {
|
|
152
|
-
let t =
|
|
153
|
+
let t = hn(e);
|
|
153
154
|
t && r(t.onFilter) && (a = a.filter((n) => i[e].reduce((e, r) => e || t.onFilter(r, n), !1)));
|
|
154
155
|
}
|
|
155
156
|
});
|
|
156
|
-
let o = (t) => t.slice().sort(
|
|
157
|
+
let o = (t) => t.slice().sort(Ut(n)).map((t) => e(t[T]) ? {
|
|
157
158
|
...t,
|
|
158
|
-
[
|
|
159
|
+
[T]: o(t[T])
|
|
159
160
|
} : t);
|
|
160
161
|
return t.direction && r(t.sorterFn) || n.length ? o(a) : a;
|
|
161
162
|
}
|
|
162
|
-
let
|
|
163
|
-
function
|
|
164
|
-
let n = k.pageSize ||
|
|
165
|
-
i =
|
|
163
|
+
let K = Jt(B, V, W);
|
|
164
|
+
function q(t = K) {
|
|
165
|
+
let n = k.pageSize || Tt || 10, r = ft, i = "top";
|
|
166
|
+
i = w === "tl" || w === "bl" ? "bottom" : "top";
|
|
166
167
|
let a = e(t) ? t.length : 0, o = Math.ceil(a / n) < z ? 1 : z;
|
|
167
|
-
o !== z &&
|
|
168
|
+
o !== z && wt(o);
|
|
168
169
|
let c = {
|
|
169
170
|
size: r,
|
|
170
171
|
total: a,
|
|
171
172
|
pageSize: n,
|
|
172
173
|
current: o,
|
|
173
174
|
selectProps: { triggerProps: {
|
|
174
|
-
...
|
|
175
|
+
...st,
|
|
175
176
|
position: i
|
|
176
177
|
} }
|
|
177
178
|
};
|
|
178
|
-
return s(
|
|
179
|
+
return s(S) && S.selectProps && (c.selectProps = {
|
|
179
180
|
...c.selectProps,
|
|
180
|
-
...
|
|
181
|
+
...S.selectProps
|
|
181
182
|
}), c = {
|
|
182
183
|
...c,
|
|
183
184
|
...k
|
|
184
|
-
}, c.onChange =
|
|
185
|
+
}, c.onChange = gn, c;
|
|
185
186
|
}
|
|
186
|
-
let
|
|
187
|
-
function
|
|
187
|
+
let Yt = q(), J = Y();
|
|
188
|
+
function Y(e = K, t = Yt) {
|
|
188
189
|
let { current: n = 0, pageSize: r = 10 } = t;
|
|
189
|
-
return
|
|
190
|
+
return S === !1 || c(S) && b.length <= r ? e : e.slice((n - 1) * r, n * r);
|
|
190
191
|
}
|
|
191
|
-
let
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
let e =
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
return e && r && ie(r, "scroll", $), n && ie(n, "scroll", $), () => {
|
|
198
|
-
t && re(t, "scroll", $), r && re(r, "scroll", $), n && re(n, "scroll", $);
|
|
192
|
+
let X = !!(x && x.y), Z = ot?.(u(K)), Xt = ot && Ae.isValidElement(Z) && Z.props.fixed, Zt = X && Xt;
|
|
193
|
+
ce(() => {
|
|
194
|
+
$t();
|
|
195
|
+
let e = F.current, t = I.current, n = M.current, r = N.current, i = t?.parentNode || e;
|
|
196
|
+
return ie(i, "scroll", Q), ie(n, "scroll", Q), ie(r, "scroll", Q), () => {
|
|
197
|
+
re(n, "scroll", Q), re(i, "scroll", Q), re(r, "scroll", Q);
|
|
199
198
|
};
|
|
200
199
|
}, [
|
|
200
|
+
F.current,
|
|
201
|
+
I.current,
|
|
202
|
+
M.current,
|
|
203
|
+
N.current,
|
|
201
204
|
G,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
+
Kt,
|
|
206
|
+
x?.x,
|
|
207
|
+
x?.y,
|
|
205
208
|
R.length,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
]),
|
|
210
|
-
let { total: e, pageSize: t } =
|
|
211
|
-
Math.ceil(e / t) < z &&
|
|
212
|
-
}, [
|
|
213
|
-
|
|
209
|
+
b,
|
|
210
|
+
D,
|
|
211
|
+
J.length === 0
|
|
212
|
+
]), ue(() => {
|
|
213
|
+
let { total: e, pageSize: t } = q(b);
|
|
214
|
+
Math.ceil(e / t) < z && wt(1);
|
|
215
|
+
}, [b?.length]), ue(() => {
|
|
216
|
+
nn();
|
|
214
217
|
}, [
|
|
215
|
-
|
|
218
|
+
b,
|
|
216
219
|
G,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
]),
|
|
220
|
+
Kt,
|
|
221
|
+
_
|
|
222
|
+
]), Pe(ze, () => ({
|
|
220
223
|
getRootElement() {
|
|
221
|
-
return
|
|
224
|
+
return Qt();
|
|
222
225
|
},
|
|
223
|
-
scrollIntoView
|
|
224
|
-
let t =
|
|
226
|
+
scrollIntoView(e) {
|
|
227
|
+
let t = pt.current?.getVirtualList?.();
|
|
225
228
|
t && t.scrollTo({ key: e });
|
|
226
229
|
}
|
|
227
230
|
}));
|
|
228
|
-
function
|
|
229
|
-
return
|
|
231
|
+
function Qt() {
|
|
232
|
+
return P.current;
|
|
230
233
|
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}, [
|
|
234
|
-
function
|
|
235
|
-
if (
|
|
236
|
-
|
|
237
|
-
let e =
|
|
234
|
+
ue(() => (Cn(), () => {}), [Qe]), le((e) => {
|
|
235
|
+
$t();
|
|
236
|
+
}, [en()], { immediate: !0 }), Te($t);
|
|
237
|
+
function $t() {
|
|
238
|
+
if (qt || A) {
|
|
239
|
+
nn();
|
|
240
|
+
let e = en();
|
|
238
241
|
if (e) {
|
|
239
242
|
let t = e.clientWidth ?? e.getBoundingClientRect().width;
|
|
240
|
-
|
|
243
|
+
ut && (t -= ut - 16), At(t);
|
|
241
244
|
}
|
|
242
245
|
}
|
|
243
|
-
|
|
246
|
+
Cn();
|
|
244
247
|
}
|
|
245
|
-
function
|
|
246
|
-
return
|
|
248
|
+
function en() {
|
|
249
|
+
return M.current || gt.current || ht.current || mt.current || P.current;
|
|
247
250
|
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
let e = F.current;
|
|
263
|
-
e && (G && en(e.classList, `${j}-has-fixed-col-left`), K && en(e.classList, `${j}-has-fixed-col-right`)), Qt();
|
|
251
|
+
function tn() {
|
|
252
|
+
F.current, I.current;
|
|
253
|
+
let e = M.current;
|
|
254
|
+
N.current;
|
|
255
|
+
let t = P.current, n = X ? e : vt.current?.parentNode;
|
|
256
|
+
if (n) {
|
|
257
|
+
let e = _ ? -n.scrollLeft : n.scrollLeft, r = e === 0, i = e + 1 >= n.children[0].getBoundingClientRect().width - n.getBoundingClientRect().width;
|
|
258
|
+
r && i ? on(t.classList, `${j}-scroll-position-both`) : r ? on(t.classList, `${j}-scroll-position-${_ ? "right" : "left"}`) : i ? on(t.classList, `${j}-scroll-position-${_ ? "left" : "right"}`) : on(t.classList, `${j}-scroll-position-middle`);
|
|
259
|
+
} else an(t.classList);
|
|
260
|
+
}
|
|
261
|
+
function nn() {
|
|
262
|
+
if (qt || A) {
|
|
263
|
+
let e = P.current;
|
|
264
|
+
e && (G && rn(e.classList, `${j}-has-fixed-col-left`), Kt && rn(e.classList, `${j}-has-fixed-col-right`)), tn();
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
|
-
function
|
|
267
|
+
function rn(e, t) {
|
|
267
268
|
e.contains(t) || e.add(t);
|
|
268
269
|
}
|
|
269
|
-
function
|
|
270
|
-
e.remove(`${j}-scroll-position-both`), e.remove(`${j}-scroll-position-left`), e.remove(`${j}-scroll-position-right`), e.remove(`${j}-scroll-position-middle`);
|
|
270
|
+
function an(e) {
|
|
271
|
+
e instanceof DOMTokenList && (e.remove(`${j}-scroll-position-both`), e.remove(`${j}-scroll-position-left`), e.remove(`${j}-scroll-position-right`), e.remove(`${j}-scroll-position-middle`));
|
|
271
272
|
}
|
|
272
|
-
function
|
|
273
|
-
e.contains(t) || (
|
|
273
|
+
function on(e, t) {
|
|
274
|
+
e.contains(t) || (an(e), e.add(t));
|
|
274
275
|
}
|
|
275
|
-
let { selectedRowKeys:
|
|
276
|
-
function
|
|
276
|
+
let { selectedRowKeys: sn, indeterminateKeys: cn, onCheckAll: ln, onCheck: un, onCheckRadio: dn, setSelectedRowKeys: fn, allSelectedRowKeys: pn, flattenData: mn } = xe(v, J, dt, Bt);
|
|
277
|
+
function hn(e) {
|
|
277
278
|
return R.find((t, n) => ee(t.key) ? ee(t.dataIndex) ? o(e) ? n === e : !1 : t.dataIndex === e : o(t.key) && l(e) ? t.key.toString() === e : t.key === e);
|
|
278
279
|
}
|
|
279
|
-
function
|
|
280
|
-
|
|
280
|
+
function gn(e, t) {
|
|
281
|
+
wt(e), Et(t), e !== z && _n(), E && !E.checkCrossPage && sn.length && (fn([]), E.onChange?.([], []));
|
|
281
282
|
let n = {
|
|
282
|
-
...
|
|
283
|
+
...q(),
|
|
283
284
|
current: e,
|
|
284
285
|
pageSize: t
|
|
285
286
|
};
|
|
286
|
-
|
|
287
|
-
currentData: u(
|
|
288
|
-
currentAllData: u(
|
|
287
|
+
C?.(n, V.length === 1 ? V[0] : V, W, {
|
|
288
|
+
currentData: u(Y(K, n)),
|
|
289
|
+
currentAllData: u(K),
|
|
289
290
|
action: "paginate"
|
|
290
291
|
}), k.onChange?.(e, t);
|
|
291
292
|
}
|
|
292
|
-
function
|
|
293
|
-
let e =
|
|
293
|
+
function _n() {
|
|
294
|
+
let e = M.current;
|
|
294
295
|
e && e.scrollTo({
|
|
295
296
|
top: 0,
|
|
296
297
|
behavior: "smooth"
|
|
297
298
|
});
|
|
298
299
|
}
|
|
299
|
-
function
|
|
300
|
-
let { target: t } = e, n =
|
|
301
|
-
|
|
300
|
+
function Q(e) {
|
|
301
|
+
let { target: t } = e, { scrollLeft: n } = t ?? {}, r = F.current, i = I.current, a = M.current, o = N.current, s = i?.parentNode || r;
|
|
302
|
+
n === L.current || (s && (s === t || (s.scrollLeft = n)), a && (a === t || (a.scrollLeft = n)), o && (o === t || (o.scrollLeft = n)), nn()), L.current = n;
|
|
302
303
|
}
|
|
303
|
-
function
|
|
304
|
-
let { target: t } = e, n =
|
|
305
|
-
|
|
304
|
+
function vn(e) {
|
|
305
|
+
let { target: t } = e, { scrollLeft: n } = t ?? {}, r = vt.current;
|
|
306
|
+
n === L.current || (r.scrollLeft = n, nn()), L.current = n;
|
|
306
307
|
}
|
|
307
|
-
let [
|
|
308
|
-
|
|
309
|
-
function
|
|
310
|
-
let e =
|
|
311
|
-
|
|
308
|
+
let [yn, bn] = be(v, mn, Bt), xn = {}, Sn = {};
|
|
309
|
+
x && ((o(x.x) || l(x.x)) && (xn = { width: x.x }), (o(x.y) || l(x.y)) && (Sn = { maxHeight: x.y }));
|
|
310
|
+
function Cn() {
|
|
311
|
+
let e = F.current, t = I.current, n = M.current, r = N.current, i = t?.parentNode || e, a = oe(i);
|
|
312
|
+
if (a) {
|
|
313
|
+
let e = `-${a}px`;
|
|
314
|
+
i && (i.style.marginBottom = e, i.style.paddingBottom = "0px"), r && (r.style.marginBottom = e, r.style.paddingBottom = "0px");
|
|
315
|
+
}
|
|
316
|
+
setTimeout(() => {
|
|
317
|
+
let e = se(n);
|
|
318
|
+
e ? (`${e}`, i && (bt.current = !0, i.style.overflowY = "scroll"), r && (r.style.overflowY = "scroll")) : bt.current && (bt.current = !1, i.style.overflowY = "auto", r && (r.style.overflowY = "auto"));
|
|
319
|
+
}, 7);
|
|
312
320
|
}
|
|
313
|
-
let
|
|
314
|
-
...
|
|
321
|
+
let wn = /* @__PURE__ */ m(ke, {
|
|
322
|
+
...v,
|
|
315
323
|
activeSorters: V,
|
|
316
324
|
currentSorter: B,
|
|
317
|
-
selectedRowKeys:
|
|
325
|
+
selectedRowKeys: sn,
|
|
318
326
|
currentFilters: W,
|
|
319
|
-
onCheckAll:
|
|
320
|
-
onSort:
|
|
321
|
-
data:
|
|
322
|
-
onHandleFilter:
|
|
323
|
-
onHandleFilterReset:
|
|
327
|
+
onCheckAll: ln,
|
|
328
|
+
onSort: Ht,
|
|
329
|
+
data: J,
|
|
330
|
+
onHandleFilter: Wt,
|
|
331
|
+
onHandleFilterReset: Gt,
|
|
324
332
|
prefixCls: j,
|
|
325
|
-
allSelectedRowKeys:
|
|
326
|
-
groupColumns:
|
|
327
|
-
stickyOffsets:
|
|
328
|
-
groupStickyClassNames:
|
|
333
|
+
allSelectedRowKeys: pn,
|
|
334
|
+
groupColumns: xt,
|
|
335
|
+
stickyOffsets: Nt,
|
|
336
|
+
groupStickyClassNames: Pt
|
|
329
337
|
});
|
|
330
|
-
function
|
|
331
|
-
let e = A &&
|
|
332
|
-
return
|
|
338
|
+
function Tn() {
|
|
339
|
+
let e = A && x.x === "max-content";
|
|
340
|
+
return X || D ? /* @__PURE__ */ m(zt, {
|
|
341
|
+
ref: F,
|
|
333
342
|
className: `${j}-header`,
|
|
334
|
-
children: /* @__PURE__ */
|
|
335
|
-
ref:
|
|
336
|
-
style: e ? {} :
|
|
343
|
+
children: /* @__PURE__ */ h(H, {
|
|
344
|
+
ref: I,
|
|
345
|
+
style: e ? {} : xn,
|
|
337
346
|
className: `${j}-header-table`,
|
|
338
|
-
children: [/* @__PURE__ */
|
|
347
|
+
children: [/* @__PURE__ */ m(Ee, {
|
|
339
348
|
columns: R,
|
|
340
349
|
prefixCls: j,
|
|
341
350
|
producer: !1,
|
|
342
|
-
columnWidths: e &&
|
|
343
|
-
}),
|
|
351
|
+
columnWidths: e && x.y ? jt : null
|
|
352
|
+
}), wn]
|
|
344
353
|
})
|
|
345
|
-
}) :
|
|
354
|
+
}) : wn;
|
|
346
355
|
}
|
|
347
|
-
let
|
|
356
|
+
let En = Z && /* @__PURE__ */ m(Oe, {
|
|
348
357
|
prefixCls: j,
|
|
349
358
|
summary: ot,
|
|
350
|
-
data:
|
|
359
|
+
data: J,
|
|
351
360
|
columns: R,
|
|
352
|
-
stickyOffsets:
|
|
353
|
-
stickyClassNames:
|
|
354
|
-
}),
|
|
355
|
-
...
|
|
361
|
+
stickyOffsets: Nt,
|
|
362
|
+
stickyClassNames: Ft
|
|
363
|
+
}), Dn = /* @__PURE__ */ m(De, {
|
|
364
|
+
...v,
|
|
356
365
|
ref: (e) => {
|
|
357
|
-
|
|
366
|
+
pt.current = e, D && (J.length, M.current = pt.current?.getRootElement?.());
|
|
358
367
|
},
|
|
359
|
-
selectedRowKeys:
|
|
360
|
-
indeterminateKeys:
|
|
361
|
-
expandedRowKeys:
|
|
362
|
-
onCheck:
|
|
363
|
-
onCheckRadio:
|
|
364
|
-
onClickExpandBtn:
|
|
368
|
+
selectedRowKeys: sn,
|
|
369
|
+
indeterminateKeys: cn,
|
|
370
|
+
expandedRowKeys: yn,
|
|
371
|
+
onCheck: un,
|
|
372
|
+
onCheckRadio: dn,
|
|
373
|
+
onClickExpandBtn: bn,
|
|
365
374
|
columns: R,
|
|
366
|
-
data:
|
|
375
|
+
data: J,
|
|
367
376
|
prefixCls: j,
|
|
368
|
-
hasFixedColumn:
|
|
369
|
-
tableViewWidth:
|
|
370
|
-
indentSize:
|
|
377
|
+
hasFixedColumn: qt,
|
|
378
|
+
tableViewWidth: kt,
|
|
379
|
+
indentSize: ut,
|
|
371
380
|
noDataElement: Ze || We("Table"),
|
|
372
381
|
activeSorters: V,
|
|
373
382
|
currentSorter: B,
|
|
374
|
-
stickyOffsets:
|
|
375
|
-
stickyClassNames:
|
|
376
|
-
getRowKey:
|
|
377
|
-
}),
|
|
378
|
-
if (
|
|
379
|
-
function
|
|
380
|
-
let e = c(
|
|
381
|
-
return
|
|
382
|
-
ref:
|
|
383
|
-
style:
|
|
383
|
+
stickyOffsets: Nt,
|
|
384
|
+
stickyClassNames: Ft,
|
|
385
|
+
getRowKey: Bt
|
|
386
|
+
}), On = !D && !Zt ? /* @__PURE__ */ h(Ie, { children: [Dn, En] }) : Dn;
|
|
387
|
+
if (Ne(() => (v.consoleTable && console.table(b), () => {}), [b, v.consoleTable]), !(e(Xe) && Xe.length)) return null;
|
|
388
|
+
function kn() {
|
|
389
|
+
let e = c(x) && x.x === "max-content" && !!x.y && t(b);
|
|
390
|
+
return X && !D ? /* @__PURE__ */ m(Rt, {
|
|
391
|
+
ref: M,
|
|
392
|
+
style: Sn,
|
|
384
393
|
className: te(`${j}-content-body`, `${j}-body`),
|
|
385
|
-
children: /* @__PURE__ */
|
|
386
|
-
|
|
394
|
+
children: /* @__PURE__ */ h(H, {
|
|
395
|
+
ref: _t,
|
|
396
|
+
style: xn,
|
|
387
397
|
className: `${j}-body-table`,
|
|
388
|
-
children: [/* @__PURE__ */
|
|
398
|
+
children: [/* @__PURE__ */ m(Ee, {
|
|
389
399
|
columns: R,
|
|
390
400
|
prefixCls: j,
|
|
391
401
|
producer: e,
|
|
392
|
-
onSetColumnWidths:
|
|
393
|
-
expandedRowKeys:
|
|
394
|
-
data:
|
|
395
|
-
}),
|
|
402
|
+
onSetColumnWidths: Mt,
|
|
403
|
+
expandedRowKeys: yn,
|
|
404
|
+
data: b
|
|
405
|
+
}), On]
|
|
396
406
|
})
|
|
397
|
-
}) :
|
|
407
|
+
}) : On;
|
|
398
408
|
}
|
|
399
|
-
function
|
|
409
|
+
function An() {
|
|
400
410
|
let e = {};
|
|
401
|
-
A && (e = { width:
|
|
402
|
-
let t = /* @__PURE__ */
|
|
411
|
+
A && (e = { width: x.x });
|
|
412
|
+
let t = /* @__PURE__ */ m("div", {
|
|
403
413
|
className: `${j}-tfoot`,
|
|
404
|
-
ref:
|
|
405
|
-
children: /* @__PURE__ */
|
|
414
|
+
ref: N,
|
|
415
|
+
children: /* @__PURE__ */ h(H, {
|
|
416
|
+
ref: yt,
|
|
406
417
|
style: e,
|
|
407
418
|
className: `${j}-tfoot-table`,
|
|
408
|
-
children: [/* @__PURE__ */
|
|
419
|
+
children: [/* @__PURE__ */ m(Ee, {
|
|
409
420
|
columns: R,
|
|
410
421
|
prefixCls: j
|
|
411
|
-
}),
|
|
422
|
+
}), En]
|
|
412
423
|
})
|
|
413
|
-
}), n =
|
|
414
|
-
Qe ?
|
|
424
|
+
}), n = Z && X && Xt === "top", i = Z && (X && Xt === "bottom" || D), a = /* @__PURE__ */ h(Ie, { children: [
|
|
425
|
+
Qe ? Tn() : null,
|
|
415
426
|
n && t,
|
|
416
|
-
|
|
427
|
+
kn(),
|
|
417
428
|
i && t
|
|
418
|
-
] }), o = r(rt) && rt(
|
|
419
|
-
return /* @__PURE__ */
|
|
420
|
-
!!o && /* @__PURE__ */
|
|
429
|
+
] }), o = r(rt) && rt(J), s = r(it) && it(J);
|
|
430
|
+
return /* @__PURE__ */ h(Ie, { children: [
|
|
431
|
+
!!o && /* @__PURE__ */ m("div", {
|
|
421
432
|
className: `${j}-header-`,
|
|
422
433
|
children: o
|
|
423
434
|
}),
|
|
424
|
-
/* @__PURE__ */
|
|
425
|
-
ref:
|
|
435
|
+
/* @__PURE__ */ m("div", {
|
|
436
|
+
ref: mt,
|
|
426
437
|
className: `${j}-container`,
|
|
427
|
-
children: /* @__PURE__ */
|
|
428
|
-
ref:
|
|
438
|
+
children: /* @__PURE__ */ m("div", {
|
|
439
|
+
ref: ht,
|
|
429
440
|
className: `${j}-content-scroll`,
|
|
430
|
-
children: /* @__PURE__ */
|
|
431
|
-
ref:
|
|
441
|
+
children: /* @__PURE__ */ m("div", {
|
|
442
|
+
ref: gt,
|
|
432
443
|
className: `${j}-content-inner`,
|
|
433
|
-
onScroll:
|
|
434
|
-
children:
|
|
435
|
-
ref:
|
|
444
|
+
onScroll: X ? void 0 : vn,
|
|
445
|
+
children: X || D ? a : /* @__PURE__ */ h(H, {
|
|
446
|
+
ref: vt,
|
|
436
447
|
style: e,
|
|
437
448
|
className: `${j}-content-inner-table`,
|
|
438
|
-
children: [/* @__PURE__ */
|
|
449
|
+
children: [/* @__PURE__ */ m(Ee, {
|
|
439
450
|
prefixCls: j,
|
|
440
451
|
columns: R
|
|
441
452
|
}), a]
|
|
@@ -443,60 +454,60 @@ function ze(ke, ze) {
|
|
|
443
454
|
})
|
|
444
455
|
})
|
|
445
456
|
}),
|
|
446
|
-
!!s && /* @__PURE__ */
|
|
457
|
+
!!s && /* @__PURE__ */ m("div", {
|
|
447
458
|
className: `${j}-footer`,
|
|
448
459
|
children: s
|
|
449
460
|
})
|
|
450
461
|
] });
|
|
451
462
|
}
|
|
452
|
-
let
|
|
453
|
-
[`${j}-border`]:
|
|
454
|
-
[`${j}-border-cell`]:
|
|
455
|
-
[`${j}-border-header-cell`]: !
|
|
456
|
-
[`${j}-border-body-cell`]: !
|
|
463
|
+
let jn = c(y) ? y.wrapper : y, Mn = c(y) ? y.cell : Ye, Nn = c(y) ? y.cell || y.headerCell : Ye, Pn = c(y) ? y.cell || y.bodyCell : Ye, Fn = te(j, Qe ? `${j}-has-header` : `${j}-no-header`, `${j}-size-${ft}`, {
|
|
464
|
+
[`${j}-border`]: jn,
|
|
465
|
+
[`${j}-border-cell`]: Mn,
|
|
466
|
+
[`${j}-border-header-cell`]: !Mn && Nn,
|
|
467
|
+
[`${j}-border-body-cell`]: !Mn && Pn,
|
|
457
468
|
[`${j}-stripe`]: $e,
|
|
458
469
|
[`${j}-hover`]: et,
|
|
459
|
-
[`${j}-type-radio`]:
|
|
460
|
-
[`${j}-layout-fixed`]: nt ||
|
|
461
|
-
[`${j}-fixed-column`]:
|
|
462
|
-
[`${j}-virtualized`]:
|
|
463
|
-
[`${j}-rtl`]:
|
|
464
|
-
}, qe),
|
|
465
|
-
[`${j}-pagination-left`]:
|
|
466
|
-
[`${j}-pagination-center`]:
|
|
467
|
-
[`${j}-pagination-top`]:
|
|
468
|
-
}),
|
|
469
|
-
n(
|
|
470
|
-
let
|
|
471
|
-
if (
|
|
472
|
-
let e = /* @__PURE__ */
|
|
473
|
-
|
|
474
|
-
className:
|
|
470
|
+
[`${j}-type-radio`]: E && E.type === "radio",
|
|
471
|
+
[`${j}-layout-fixed`]: nt || x && (x.x || x.y) || Xe.find((e) => e.ellipsis),
|
|
472
|
+
[`${j}-fixed-column`]: qt,
|
|
473
|
+
[`${j}-virtualized`]: D,
|
|
474
|
+
[`${j}-rtl`]: _
|
|
475
|
+
}, qe), In = w === "tl" || w === "tr" || w === "topCenter", Ln = te(`${j}-pagination`, {
|
|
476
|
+
[`${j}-pagination-left`]: w === "tl" || w === "bl",
|
|
477
|
+
[`${j}-pagination-center`]: w === "topCenter" || w === "bottomCenter",
|
|
478
|
+
[`${j}-pagination-top`]: In
|
|
479
|
+
}), $ = v.loading;
|
|
480
|
+
n($) && ($ = { loading: $ });
|
|
481
|
+
let Rn = S !== !1 && (K.length !== 0 || Yt?.total > 0), zn;
|
|
482
|
+
if (Rn) {
|
|
483
|
+
let e = /* @__PURE__ */ m(pe, { ...Yt });
|
|
484
|
+
zn = r(at) ? at(e) : /* @__PURE__ */ m("div", {
|
|
485
|
+
className: Ln,
|
|
475
486
|
children: e
|
|
476
487
|
});
|
|
477
488
|
}
|
|
478
|
-
return /* @__PURE__ */
|
|
479
|
-
value:
|
|
480
|
-
children: /* @__PURE__ */
|
|
481
|
-
ref:
|
|
489
|
+
return /* @__PURE__ */ m(me.Provider, {
|
|
490
|
+
value: v,
|
|
491
|
+
children: /* @__PURE__ */ m("div", {
|
|
492
|
+
ref: P,
|
|
482
493
|
style: Ke,
|
|
483
|
-
className:
|
|
484
|
-
...ne(
|
|
485
|
-
children: /* @__PURE__ */
|
|
494
|
+
className: Fn,
|
|
495
|
+
...ne(v),
|
|
496
|
+
children: /* @__PURE__ */ h(fe, {
|
|
486
497
|
className: `${j}-spin`,
|
|
487
498
|
element: He,
|
|
488
|
-
|
|
499
|
+
...$,
|
|
489
500
|
children: [
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
!
|
|
501
|
+
In && zn,
|
|
502
|
+
An(),
|
|
503
|
+
!In && zn
|
|
493
504
|
]
|
|
494
505
|
})
|
|
495
506
|
})
|
|
496
507
|
});
|
|
497
508
|
}
|
|
498
|
-
var
|
|
499
|
-
|
|
509
|
+
var g = je(ze);
|
|
510
|
+
g.displayName = "Table";
|
|
500
511
|
//#endregion
|
|
501
|
-
export {
|
|
512
|
+
export { g as default };
|
|
502
513
|
/* 独立思考,明辨是非 */
|