antdv-next 1.1.9 → 1.2.1
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/dist/_util/ActionButton.d.ts +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +2 -2
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/motion.js +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +7 -2
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/index.js +5 -4
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +11385 -11672
- package/dist/antd-with-locales.js +99 -119
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +7378 -7665
- package/dist/antd.js +91 -111
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +12 -5
- package/dist/auto-complete/index.js +5 -1
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +11 -5
- package/dist/breadcrumb/Breadcrumb.js +6 -1
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/index.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +2 -2
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +2 -2
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +2 -2
- package/dist/cascader/style/columns.js +6 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.d.ts +2 -2
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +15 -15
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/config-provider/index.js +2 -1
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/util.d.ts +3 -7
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/Form.d.ts +2 -2
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +7 -7
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +9 -7
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/image/style/index.js +6 -2
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +6 -6
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/variants.js +2 -2
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/input-number/style/index.js +8 -8
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +2 -2
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +2 -2
- package/dist/menu/MenuItemGroup.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/index.js +3 -3
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/confirm.js +8 -2
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/PurePanel.js +1 -1
- package/dist/notification/index.js +3 -3
- package/dist/notification/style/index.d.ts +2 -2
- package/dist/notification/style/index.js +5 -1
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/radio/style/index.js +1 -1
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/index.js +8 -2
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +1 -2
- package/dist/select/useIcons.d.ts +5 -10
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +4 -4
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/addon.js +1 -0
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +2 -2
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +2 -2
- package/dist/spin/index.d.ts +2 -2
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +12 -1
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +5 -2
- package/dist/statistic/Number.js +13 -2
- package/dist/statistic/Statistic.d.ts +4 -2
- package/dist/statistic/Statistic.js +11 -8
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/InternalTable.js +11 -4
- package/dist/table/Table.d.ts +2 -2
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.js +13 -9
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +23 -23
- package/dist/table/hooks/useFilter/index.js +18 -7
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +5 -4
- package/dist/theme/interface/maps/colors.d.ts +4 -0
- package/dist/theme/themes/ColorMap.d.ts +1 -1
- package/dist/theme/themes/dark/colors.js +2 -1
- package/dist/theme/themes/default/colors.js +2 -1
- package/dist/theme/util/alias.js +32 -29
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/timeline/Timeline.d.ts +2 -2
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +2 -2
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Section.js +5 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/transfer/style/index.js +5 -1
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/style/index.js +5 -1
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +7 -6
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/typography/style/mixins.js +37 -0
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/Upload.js +1 -3
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +7 -7
- package/web-tags.json +1641 -1625
- package/web-types.json +4810 -4753
|
@@ -5,7 +5,7 @@ import { RowProps } from "../grid/row.js";
|
|
|
5
5
|
import "../grid/index.js";
|
|
6
6
|
import { MasonryItemType } from "./MasonryItem.js";
|
|
7
7
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue13 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/masonry/Masonry.d.ts
|
|
@@ -54,6 +54,6 @@ interface MasonrySlots {
|
|
|
54
54
|
interface MasonryRef {
|
|
55
55
|
nativeElement: HTMLDivElement;
|
|
56
56
|
}
|
|
57
|
-
declare const Masonry:
|
|
57
|
+
declare const Masonry: vue13.DefineSetupFnComponent<MasonryProps, MasonryEmits, SlotsType<MasonrySlots>, MasonryProps, vue13.PublicProps>;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { Gap, Key, MasonryClassNamesType, MasonryEmits, MasonryEmitsProps, MasonryProps, MasonryRef, MasonrySemanticClassNames, MasonrySemanticName, MasonrySemanticStyles, MasonrySlots, MasonryStylesType, Masonry as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { MasonryProps } from "./Masonry.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue43 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
import { Key } from "@v-c/util/dist/type";
|
|
6
6
|
|
|
@@ -23,6 +23,6 @@ interface MasonryItemProps extends Pick<MasonryProps, 'itemRender'> {
|
|
|
23
23
|
column: number;
|
|
24
24
|
onResize?: VoidFunction | null;
|
|
25
25
|
}
|
|
26
|
-
declare const MasonryItem:
|
|
26
|
+
declare const MasonryItem: vue43.DefineSetupFnComponent<MasonryItemProps, {}, {}, MasonryItemProps & {}, vue43.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { MasonryItemType, MasonryItem as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue636 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
import { Key } from "@v-c/util/dist/type";
|
|
4
4
|
|
|
@@ -13,6 +13,6 @@ type ItemPositions = Map<Key, {
|
|
|
13
13
|
* Always get stable positions by order
|
|
14
14
|
* instead of dynamic adjust for next item height.
|
|
15
15
|
*/
|
|
16
|
-
declare function usePositions(itemHeights: Ref<ItemHeightData[]>, columnCount: Ref<number>, verticalGutter: Ref<number>): readonly [
|
|
16
|
+
declare function usePositions(itemHeights: Ref<ItemHeightData[]>, columnCount: Ref<number>, verticalGutter: Ref<number>): readonly [vue636.ComputedRef<ItemPositions>, vue636.ComputedRef<number>];
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ItemHeightData, ItemPositions, usePositions as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FullToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue632 from "vue";
|
|
5
5
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/masonry/style/index.d.ts
|
|
8
8
|
interface ComponentToken {}
|
|
9
9
|
interface MasonryToken extends FullToken<'Masonry'> {}
|
|
10
10
|
declare const genMasonryStyle: GenerateStyle<MasonryToken, CSSObject>;
|
|
11
|
-
declare const _default: (prefixCls:
|
|
11
|
+
declare const _default: (prefixCls: vue632.Ref<string>, rootCls?: vue632.Ref<string | undefined>) => readonly [vue632.Ref<string, string>, vue632.ComputedRef<string | undefined>];
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ComponentToken, MasonryToken, _default as default, genMasonryStyle };
|
package/dist/mentions/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
|
|
|
4
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
6
6
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue623 from "vue";
|
|
8
8
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { DataDrivenOptionProps, MentionsProps as MentionsProps$1, MentionsRef as MentionsRef$1, Option } from "@v-c/mentions";
|
|
10
10
|
|
|
@@ -91,7 +91,7 @@ interface MentionsEntity {
|
|
|
91
91
|
prefix: string;
|
|
92
92
|
value: string;
|
|
93
93
|
}
|
|
94
|
-
declare const InternalMentions:
|
|
94
|
+
declare const InternalMentions: vue623.DefineSetupFnComponent<MentionProps, MentionsEmits, SlotsType<MentionsSlots>, MentionProps, vue623.PublicProps>;
|
|
95
95
|
declare const Mentions: typeof InternalMentions & {
|
|
96
96
|
Option: typeof Option;
|
|
97
97
|
getMentions: (value: string, config?: MentionsConfig) => MentionsEntity[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SharedComponentToken } from "../../input/style/token.js";
|
|
2
2
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue528 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/mentions/style/index.d.ts
|
|
7
7
|
interface ComponentToken extends SharedComponentToken {
|
|
@@ -22,6 +22,6 @@ interface ComponentToken extends SharedComponentToken {
|
|
|
22
22
|
controlItemWidth: number | string;
|
|
23
23
|
}
|
|
24
24
|
declare const prepareComponentToken: GetDefaultToken<'Mentions'>;
|
|
25
|
-
declare const _default: (prefixCls:
|
|
25
|
+
declare const _default: (prefixCls: vue528.Ref<string>, rootCls?: vue528.Ref<string | undefined>) => readonly [vue528.Ref<string, string>, vue528.ComputedRef<string | undefined>];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MenuPopupSemanticClassNames, MenuPopupSemanticStyles, MenuSemanticClassNames, MenuSemanticStyles, SubMenuSemanticClassNames, SubMenuSemanticStyles } from "./menu.js";
|
|
2
2
|
import { DirectionType } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue486 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/MenuContext.d.ts
|
|
@@ -24,10 +24,10 @@ interface MenuContextProps {
|
|
|
24
24
|
}
|
|
25
25
|
declare function useMenuContextProvider(props: Ref<MenuContextProps>): void;
|
|
26
26
|
declare function useMenuContext(): Ref<MenuContextProps>;
|
|
27
|
-
declare const MenuContextProvider:
|
|
27
|
+
declare const MenuContextProvider: vue486.DefineSetupFnComponent<{
|
|
28
28
|
value: MenuContextProps;
|
|
29
29
|
}, {}, {}, {
|
|
30
30
|
value: MenuContextProps;
|
|
31
|
-
} & {},
|
|
31
|
+
} & {}, vue486.PublicProps>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { MenuContextProps, MenuContextProvider, MenuTheme, useMenuContext, useMenuContextProvider };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue482 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/menu/MenuDivider.d.ts
|
|
4
4
|
interface MenuDividerProps {
|
|
5
5
|
prefixCls?: string;
|
|
6
6
|
dashed?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const MenuDivider:
|
|
8
|
+
declare const MenuDivider: vue482.DefineSetupFnComponent<MenuDividerProps, {}, {}, MenuDividerProps & {}, vue482.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { MenuDividerProps, MenuDivider as default };
|
package/dist/menu/MenuItem.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue488 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { MenuItemType } from "@v-c/menu";
|
|
5
5
|
|
|
@@ -24,6 +24,6 @@ interface MenuItemSlots {
|
|
|
24
24
|
title: () => any;
|
|
25
25
|
extra: () => any;
|
|
26
26
|
}
|
|
27
|
-
declare const MenuItem:
|
|
27
|
+
declare const MenuItem: vue488.DefineSetupFnComponent<MenuItemProps, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps, vue488.PublicProps>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { MenuItemProps, MenuItemSlots, MenuItem as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue492 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { MenuItemGroupProps as MenuItemGroupProps$1 } from "@v-c/menu";
|
|
5
5
|
|
|
@@ -11,6 +11,6 @@ interface MenuItemGroupSlots {
|
|
|
11
11
|
default?: () => any;
|
|
12
12
|
title?: () => any;
|
|
13
13
|
}
|
|
14
|
-
declare const MenuItemGroup:
|
|
14
|
+
declare const MenuItemGroup: vue492.DefineSetupFnComponent<MenuItemGroupProps, EmptyEmit, SlotsType<MenuItemGroupSlots>, MenuItemGroupProps, vue492.PublicProps>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { MenuItemGroupProps, MenuItemGroupSlots, MenuItemGroup as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { MenuProps } from "./menu.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue7 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/OverrideContext.d.ts
|
|
@@ -15,10 +15,10 @@ interface OverrideContextProps {
|
|
|
15
15
|
}
|
|
16
16
|
declare function useOverrideContext(): Ref<OverrideContextProps, OverrideContextProps> | null;
|
|
17
17
|
/** @internal Only used for Dropdown component. Do not use this in your production. */
|
|
18
|
-
declare const OverrideProvider:
|
|
18
|
+
declare const OverrideProvider: vue7.DefineSetupFnComponent<{
|
|
19
19
|
value?: OverrideContextProps | null;
|
|
20
20
|
}, {}, {}, {
|
|
21
21
|
value?: OverrideContextProps | null;
|
|
22
|
-
} & {},
|
|
22
|
+
} & {}, vue7.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { OverrideContextProps, OverrideProvider, useOverrideContext };
|
package/dist/menu/SubMenu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
2
|
import { SubMenuType } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue522 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/SubMenu.d.ts
|
|
@@ -12,6 +12,6 @@ interface SubMenuSlots {
|
|
|
12
12
|
icon: () => any;
|
|
13
13
|
default: () => any;
|
|
14
14
|
}
|
|
15
|
-
declare const SubMenu:
|
|
15
|
+
declare const SubMenu: vue522.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps, vue522.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SubMenuProps, SubMenuSlots, SubMenu as default };
|
package/dist/menu/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { MenuEmits, MenuEmitsProps, MenuProps as MenuProps$2, MenuSlots } from "
|
|
|
5
5
|
import MenuItemGroup, { MenuItemGroupProps } from "./MenuItemGroup.js";
|
|
6
6
|
import SubMenu, { SubMenuProps } from "./SubMenu.js";
|
|
7
7
|
import MenuDivider from "./MenuDivider.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue524 from "vue";
|
|
9
9
|
import { SlotsType } from "vue";
|
|
10
10
|
import { MenuRef as MenuRef$1 } from "@v-c/menu";
|
|
11
11
|
|
|
@@ -17,8 +17,8 @@ interface MenuRef {
|
|
|
17
17
|
}
|
|
18
18
|
interface InternalMenuProps extends MenuProps$2, MenuEmitsProps {}
|
|
19
19
|
type MenuProps = InternalMenuProps;
|
|
20
|
-
declare const Menu:
|
|
21
|
-
declare const MenuItem:
|
|
20
|
+
declare const Menu: vue524.DefineSetupFnComponent<InternalMenuProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuProps, vue524.PublicProps>;
|
|
21
|
+
declare const MenuItem: vue524.DefineSetupFnComponent<MenuItemProps, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps, vue524.PublicProps>;
|
|
22
22
|
declare const _default: typeof Menu & {
|
|
23
23
|
Item: typeof MenuItem$1;
|
|
24
24
|
SubMenu: typeof SubMenu;
|
package/dist/menu/menu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ItemType } from "./interface.js";
|
|
2
2
|
import { MenuTheme } from "./MenuContext.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue534 from "vue";
|
|
4
4
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
5
|
import { MenuInfo, MenuItemProps, MenuProps as MenuProps$1, RenderIconInfo, SelectInfo } from "@v-c/menu";
|
|
6
6
|
|
|
@@ -114,6 +114,6 @@ interface MenuSlots {
|
|
|
114
114
|
itemIcon?: (props: MenuItemProps & RenderIconInfo) => any;
|
|
115
115
|
}
|
|
116
116
|
interface InternalMenuRuntimeProps extends InternalMenuProps, MenuEmitsProps {}
|
|
117
|
-
declare const InternalMenu:
|
|
117
|
+
declare const InternalMenu: vue534.DefineSetupFnComponent<InternalMenuRuntimeProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuRuntimeProps, vue534.PublicProps>;
|
|
118
118
|
//#endregion
|
|
119
119
|
export { MenuClassNamesType, MenuEmits, MenuEmitsProps, MenuPopupSemanticClassNames, MenuPopupSemanticName, MenuPopupSemanticStyles, MenuProps, MenuSemanticClassNames, MenuSemanticName, MenuSemanticStyles, MenuSlots, MenuStylesType, RenderItem, SubMenuSemanticClassNames, SubMenuSemanticName, SubMenuSemanticStyles, InternalMenu as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue959 from "vue";
|
|
4
4
|
import { CSSProperties, ComputedRef } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/style/index.d.ts
|
|
@@ -361,6 +361,6 @@ interface MenuToken extends FullToken<'Menu'> {
|
|
|
361
361
|
darkPopupBg: string;
|
|
362
362
|
}
|
|
363
363
|
declare const prepareComponentToken: GetDefaultToken<'Menu'>;
|
|
364
|
-
declare const _default: (prefixCls: ComputedRef<string>, rootCls?: ComputedRef<string>, injectStyle?: boolean) => readonly [
|
|
364
|
+
declare const _default: (prefixCls: ComputedRef<string>, rootCls?: ComputedRef<string>, injectStyle?: boolean) => readonly [vue959.Ref<string, string>, ComputedRef<string | undefined>];
|
|
365
365
|
//#endregion
|
|
366
366
|
export { ComponentToken, MenuToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ArgsClassNamesType, ArgsStylesType, MessageSemanticClassNames, MessageSemanticStyles, NoticeType } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue0 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/message/PurePanel.d.ts
|
|
6
6
|
interface PureContentProps {
|
|
@@ -10,7 +10,7 @@ interface PureContentProps {
|
|
|
10
10
|
classNames?: MessageSemanticClassNames;
|
|
11
11
|
styles?: MessageSemanticStyles;
|
|
12
12
|
}
|
|
13
|
-
declare const PureContent:
|
|
13
|
+
declare const PureContent: vue0.DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, vue0.PublicProps>;
|
|
14
14
|
interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classNames' | 'styles'> {
|
|
15
15
|
content?: VueNode;
|
|
16
16
|
duration?: number | false | null;
|
|
@@ -30,6 +30,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
30
30
|
styles?: ArgsStylesType;
|
|
31
31
|
}
|
|
32
32
|
/** @private Internal Component. Do not use in your production. */
|
|
33
|
-
declare const PurePanel:
|
|
33
|
+
declare const PurePanel: vue0.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue0.PublicProps>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { PureContent, PureContentProps, PurePanelProps, PurePanel as default };
|
package/dist/message/index.js
CHANGED
|
@@ -90,12 +90,12 @@ const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
|
|
|
90
90
|
"sync": sync,
|
|
91
91
|
"messageConfig": messageConfig.value
|
|
92
92
|
}, null);
|
|
93
|
-
const
|
|
94
|
-
return createVNode(config_provider_default, {
|
|
93
|
+
const configHolderNode = createVNode(config_provider_default, {
|
|
95
94
|
"prefixCls": global.getRootPrefixCls(),
|
|
96
95
|
"iconPrefixCls": global.getIconPrefixCls(),
|
|
97
96
|
"theme": global.theme.value
|
|
98
|
-
}, _isSlot(
|
|
97
|
+
}, _isSlot(holderNode) ? holderNode : { default: () => [holderNode] });
|
|
98
|
+
return global.holderRender ? global.holderRender(configHolderNode) : configHolderNode;
|
|
99
99
|
};
|
|
100
100
|
}, { props: { onReady: {
|
|
101
101
|
type: Function,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue570 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/message/style/index.d.ts
|
|
@@ -23,6 +23,6 @@ interface ComponentToken {
|
|
|
23
23
|
contentPadding: CSSProperties['padding'];
|
|
24
24
|
}
|
|
25
25
|
declare const prepareComponentToken: GetDefaultToken<'Message'>;
|
|
26
|
-
declare const _default: (prefixCls:
|
|
26
|
+
declare const _default: (prefixCls: vue570.Ref<string>, rootCls?: vue570.Ref<string | undefined>) => readonly [vue570.Ref<string, string>, vue570.ComputedRef<string | undefined>];
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ConfigOptions, MessageInstance } from "./interface.js";
|
|
2
2
|
import { MaybeRef } from "@v-c/util/dist/type";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime1 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/message/useMessage.d.ts
|
|
6
6
|
type HolderProps = ConfigOptions & {
|
|
7
7
|
onAllRemoved?: VoidFunction;
|
|
8
8
|
};
|
|
9
|
-
declare function useInternalMessage(messageConfig?: MaybeRef<HolderProps>): readonly [MessageInstance, () =>
|
|
10
|
-
declare function useMessage(messageConfig?: ConfigOptions): readonly [MessageInstance, () =>
|
|
9
|
+
declare function useInternalMessage(messageConfig?: MaybeRef<HolderProps>): readonly [MessageInstance, () => vue_jsx_runtime1.JSX.Element];
|
|
10
|
+
declare function useMessage(messageConfig?: ConfigOptions): readonly [MessageInstance, () => vue_jsx_runtime1.JSX.Element];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useMessage as default, useInternalMessage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ModalFuncProps, ModalLocale } from "./interface.js";
|
|
3
3
|
import { ThemeConfig } from "../config-provider/context.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue108 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/modal/ConfirmDialog.d.ts
|
|
@@ -29,13 +29,13 @@ interface ConfirmDialogProps extends ModalFuncProps {
|
|
|
29
29
|
*/
|
|
30
30
|
isSilent?: () => boolean;
|
|
31
31
|
}
|
|
32
|
-
declare const ConfirmContent:
|
|
32
|
+
declare const ConfirmContent: vue108.DefineSetupFnComponent<ConfirmDialogProps & {
|
|
33
33
|
confirmPrefixCls: string;
|
|
34
34
|
}, EmptyEmit, SlotsType<{
|
|
35
35
|
default?: () => any;
|
|
36
36
|
}>, ConfirmDialogProps & {
|
|
37
37
|
confirmPrefixCls: string;
|
|
38
|
-
},
|
|
39
|
-
declare const ConfirmDialogWrapper:
|
|
38
|
+
}, vue108.PublicProps>;
|
|
39
|
+
declare const ConfirmDialogWrapper: vue108.DefineSetupFnComponent<ConfirmDialogProps, {}, {}, ConfirmDialogProps & {}, vue108.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { ConfirmContent, ConfirmDialogProps, ConfirmDialogWrapper as default };
|
package/dist/modal/Modal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModalEmits, ModalProps, ModalSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue112 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/Modal.d.ts
|
|
@@ -9,6 +9,6 @@ interface ModalEmitsProps {
|
|
|
9
9
|
onCancel?: ModalEmits['cancel'];
|
|
10
10
|
'onUpdate:open'?: ModalEmits['update:open'];
|
|
11
11
|
}
|
|
12
|
-
declare const Modal:
|
|
12
|
+
declare const Modal: vue112.DefineSetupFnComponent<InternalModalProps, ModalEmits, SlotsType<ModalSlots>, InternalModalProps, vue112.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { InternalModalProps, ModalEmitsProps, Modal as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModalClassNamesType, ModalFuncProps, ModalStylesType } from "./interface.js";
|
|
2
2
|
import { DialogProps } from "@v-c/dialog";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime4 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/PurePanel.d.ts
|
|
6
6
|
interface PurePanelProps extends Omit<DialogProps, 'prefixCls' | 'footer' | 'visible' | 'classNames' | 'styles' | 'style'>, Pick<ModalFuncProps, 'type' | 'footer'>, PurePanelEmitsProps {
|
|
@@ -22,6 +22,6 @@ interface PurePanelSlots {
|
|
|
22
22
|
};
|
|
23
23
|
}) => any;
|
|
24
24
|
}
|
|
25
|
-
declare const _default: (props: any) =>
|
|
25
|
+
declare const _default: (props: any) => vue_jsx_runtime4.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PurePanelEmitsProps, PurePanelProps, PurePanelSlots, _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../../_util/type.js";
|
|
2
2
|
import { ConfirmDialogProps } from "../ConfirmDialog.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue589 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/ConfirmCancelBtn.d.ts
|
|
6
6
|
interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonProps' | 'isSilent' | 'rootPrefixCls' | 'close' | 'onConfirm' | 'onCancel'> {
|
|
@@ -9,6 +9,6 @@ interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonPr
|
|
|
9
9
|
mergedOkCancel?: boolean;
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
}
|
|
12
|
-
declare const ConfirmCancelBtn:
|
|
12
|
+
declare const ConfirmCancelBtn: vue589.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue589.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ConfirmCancelBtnProps, ConfirmCancelBtn as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../../_util/type.js";
|
|
2
2
|
import { ConfirmDialogProps } from "../ConfirmDialog.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue894 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/ConfirmOkBtn.d.ts
|
|
6
6
|
interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent' | 'okType' | 'okButtonProps' | 'rootPrefixCls' | 'onConfirm' | 'onOk'> {
|
|
@@ -8,6 +8,6 @@ interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent
|
|
|
8
8
|
okTextLocale?: VueNode;
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
}
|
|
11
|
-
declare const ConfirmOkBtn:
|
|
11
|
+
declare const ConfirmOkBtn: vue894.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue894.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ConfirmOkBtnProps, ConfirmOkBtn as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VueNode } from "../../_util/type.js";
|
|
2
2
|
import { ModalEmits, ModalProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue892 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/NormalCancelBtn.d.ts
|
|
6
6
|
interface NormalCancelBtnProps extends Pick<ModalProps, 'cancelButtonProps'> {
|
|
7
7
|
cancelTextLocale?: VueNode;
|
|
8
8
|
onCancel?: ModalEmits['cancel'];
|
|
9
9
|
}
|
|
10
|
-
declare const NormalCancelBtn:
|
|
10
|
+
declare const NormalCancelBtn: vue892.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue892.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { NormalCancelBtnProps, NormalCancelBtn as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VueNode } from "../../_util/type.js";
|
|
2
2
|
import { ModalEmits, ModalProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue898 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/NormalOkBtn.d.ts
|
|
6
6
|
interface NormalOkBtnProps extends Pick<ModalProps, 'confirmLoading' | 'okButtonProps' | 'okType'> {
|
|
7
7
|
okTextLocale?: VueNode;
|
|
8
8
|
onOk?: ModalEmits['ok'];
|
|
9
9
|
}
|
|
10
|
-
declare const NormalOkBtn:
|
|
10
|
+
declare const NormalOkBtn: vue898.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue898.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { NormalOkBtnProps, NormalOkBtn as default };
|
package/dist/modal/confirm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { globalConfig } from "../config-provider/index.js";
|
|
2
|
+
import config_provider_default, { globalConfig } from "../config-provider/index.js";
|
|
3
3
|
import { getVueInstance } from "../_util/instance.js";
|
|
4
4
|
import ConfirmDialog_default from "./ConfirmDialog.js";
|
|
5
5
|
import destroyFns_default from "./destroyFns.js";
|
|
@@ -328,13 +328,19 @@ function confirm(config) {
|
|
|
328
328
|
const theme = global.theme.value;
|
|
329
329
|
const appContext = props?.appContext ?? getVueInstance() ?? null;
|
|
330
330
|
const prefixCls = props.prefixCls ?? `${rootPrefixCls}-modal`;
|
|
331
|
-
const
|
|
331
|
+
const holderNode = createVNode(ConfirmDialogWrapper, {
|
|
332
332
|
...props,
|
|
333
333
|
prefixCls,
|
|
334
334
|
rootPrefixCls,
|
|
335
335
|
iconPrefixCls,
|
|
336
336
|
theme
|
|
337
337
|
});
|
|
338
|
+
const configHolderNode = createVNode(config_provider_default, {
|
|
339
|
+
prefixCls: rootPrefixCls,
|
|
340
|
+
iconPrefixCls,
|
|
341
|
+
theme
|
|
342
|
+
}, { default: () => holderNode });
|
|
343
|
+
const vnode = global.holderRender ? global.holderRender(configHolderNode) : configHolderNode;
|
|
338
344
|
vnode.appContext = appContext;
|
|
339
345
|
watch(() => global.theme.value, () => {
|
|
340
346
|
vnode.component?.update?.();
|
package/dist/modal/shared.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ModalEmits, ModalProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue532 from "vue";
|
|
3
|
+
import * as vue_jsx_runtime26 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/shared.d.ts
|
|
6
|
-
declare function renderCloseIcon(prefixCls: string, closeIcon?: any):
|
|
6
|
+
declare function renderCloseIcon(prefixCls: string, closeIcon?: any): vue_jsx_runtime26.JSX.Element;
|
|
7
7
|
interface FooterProps extends Pick<ModalProps, 'footer' | 'okText' | 'okType' | 'cancelText' | 'confirmLoading' | 'okButtonProps' | 'cancelButtonProps'> {
|
|
8
8
|
onOk?: ModalEmits['ok'];
|
|
9
9
|
onCancel?: ModalEmits['cancel'];
|
|
10
10
|
}
|
|
11
|
-
declare const Footer:
|
|
11
|
+
declare const Footer: vue532.DefineSetupFnComponent<FooterProps, {}, {}, FooterProps & {}, vue532.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Footer, FooterProps, renderCloseIcon };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue646 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/modal/style/confirm.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue646.DefineComponent<vue646.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue646.ComponentOptionsMixin, vue646.ComponentOptionsMixin, {}, string, vue646.PublicProps, Readonly<vue646.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue646.ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { _default as default };
|
|
@@ -2,7 +2,7 @@ import { AliasToken } from "../../theme/interface/alias.js";
|
|
|
2
2
|
import { FullToken, GenStyleFn, GlobalToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
4
4
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue545 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/modal/style/index.d.ts
|
|
8
8
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -136,6 +136,6 @@ declare function prepareComponentToken(token: GlobalToken): {
|
|
|
136
136
|
confirmBtnsMarginTop: number;
|
|
137
137
|
mask: boolean;
|
|
138
138
|
};
|
|
139
|
-
declare const _default: (prefixCls:
|
|
139
|
+
declare const _default: (prefixCls: vue545.Ref<string>, rootCls?: vue545.Ref<string | undefined>) => readonly [vue545.Ref<string, string>, vue545.ComputedRef<string | undefined>];
|
|
140
140
|
//#endregion
|
|
141
141
|
export { ComponentToken, ModalToken, _default as default, genModalMaskStyle, prepareComponentToken, prepareToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../../_util/type.js";
|
|
2
2
|
import { ModalFuncProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue896 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/modal/useModal/HookModal.d.ts
|
|
@@ -10,8 +10,8 @@ interface HookModalProps {
|
|
|
10
10
|
onConfirm?: (confirmed: boolean) => void;
|
|
11
11
|
isSilent?: () => boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const HookModal:
|
|
13
|
+
declare const HookModal: vue896.DefineSetupFnComponent<HookModalProps, EmptyEmit, SlotsType<{
|
|
14
14
|
default?: () => any;
|
|
15
|
-
}>, HookModalProps,
|
|
15
|
+
}>, HookModalProps, vue896.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { HookModalProps, HookModal as default };
|
|
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { IconType, NotificationSemanticClassNames, NotificationSemanticStyles } from "./interface.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue47 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/notification/PurePanel.d.ts
|
|
8
8
|
type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemanticClassNames>;
|
|
@@ -19,7 +19,7 @@ interface PureContentProps {
|
|
|
19
19
|
classes: NotificationSemanticClassNames;
|
|
20
20
|
styles: NotificationSemanticStyles;
|
|
21
21
|
}
|
|
22
|
-
declare const PureContent:
|
|
22
|
+
declare const PureContent: vue47.DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, vue47.PublicProps>;
|
|
23
23
|
interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classes' | 'styles'> {
|
|
24
24
|
content?: VueNode;
|
|
25
25
|
duration?: number | false | null;
|
|
@@ -38,6 +38,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
38
38
|
onClick?: (event: Event) => void;
|
|
39
39
|
}
|
|
40
40
|
/** @private Internal Component. Do not use in your production. */
|
|
41
|
-
declare const PurePanel:
|
|
41
|
+
declare const PurePanel: vue47.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue47.PublicProps>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { PureContent, PureContentProps, PurePanelClassNamesType, PurePanelProps, PurePanelStylesType, PurePanel as default, getCloseIcon };
|
|
@@ -41,7 +41,7 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
41
41
|
"role": role
|
|
42
42
|
}, [
|
|
43
43
|
iconNode,
|
|
44
|
-
createVNode("div", {
|
|
44
|
+
title && createVNode("div", {
|
|
45
45
|
"class": clsx(`${prefixCls}-title`, pureContentCls.title),
|
|
46
46
|
"style": styles.title
|
|
47
47
|
}, [title]),
|
|
@@ -90,12 +90,12 @@ const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
|
|
|
90
90
|
"sync": sync,
|
|
91
91
|
"notificationConfig": notificationConfig.value
|
|
92
92
|
}, null);
|
|
93
|
-
const
|
|
94
|
-
return createVNode(config_provider_default, {
|
|
93
|
+
const configHolderNode = createVNode(config_provider_default, {
|
|
95
94
|
"prefixCls": global.getRootPrefixCls(),
|
|
96
95
|
"iconPrefixCls": global.getIconPrefixCls(),
|
|
97
96
|
"theme": global.theme.value
|
|
98
|
-
}, _isSlot(
|
|
97
|
+
}, _isSlot(holderNode) ? holderNode : { default: () => [holderNode] });
|
|
98
|
+
return global.holderRender ? global.holderRender(configHolderNode) : configHolderNode;
|
|
99
99
|
};
|
|
100
100
|
}, { props: { onReady: {
|
|
101
101
|
type: Function,
|