antdv-next 1.1.2 → 1.1.4
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/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 +3 -3
- package/dist/affix/index.d.ts +3 -3
- 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 +12783 -10789
- package/dist/antd-with-locales.js +81 -85
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +11588 -9596
- package/dist/antd.js +81 -85
- 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 +2 -2
- 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 +3 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.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/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 +4 -4
- package/dist/collapse/Collapse.d.ts +5 -3
- package/dist/collapse/Collapse.js +19 -2
- package/dist/collapse/CollapsePanel.d.ts +17 -5
- package/dist/collapse/CollapsePanel.js +77 -69
- package/dist/collapse/index.d.ts +2 -2
- package/dist/collapse/index.js +3 -1
- 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/components.d.ts +4 -2
- package/dist/components.js +5 -1
- 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/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 -3
- 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/index.js +1 -1
- 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/ItemHolder.js +1 -1
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +5 -5
- package/dist/form/FormItem/index.js +24 -13
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +6 -6
- 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/form/types.d.ts +6 -3
- package/dist/form/utils/messages.d.ts +1 -0
- package/dist/form/utils/messages.js +1 -0
- package/dist/form/utils/validateUtil.js +2 -0
- 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 +11 -11
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -1
- 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/Search.js +3 -4
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +7 -7
- 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-number/index.d.ts +2 -2
- package/dist/input-number/style/index.d.ts +2 -2
- 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/locale/zh_CN.js +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 +16 -0
- package/dist/menu/MenuItemGroup.js +51 -0
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/menu/index.d.ts +7 -5
- package/dist/menu/index.js +4 -1
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/menu.js +5 -14
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/message/PurePanel.d.ts +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/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/style/index.d.ts +2 -2
- 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/Pagination.js +6 -6
- 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/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 +2 -0
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +2 -2
- package/dist/select/useIcons.d.ts +5 -5
- 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/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/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/hooks/useSizes.js +1 -3
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +2 -2
- 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/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/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +7 -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/index.js +0 -3
- 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 +3 -3
- package/dist/theme/index.d.ts +7 -7
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- 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/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/DirectoryTree.js +8 -0
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/Tree.js +8 -0
- package/dist/tree/style/index.d.ts +7 -3
- package/dist/tree/style/index.js +10 -9
- 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/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/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- 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/global.d.ts +4 -0
- package/package.json +13 -13
- package/web-tags.json +1614 -1530
- package/web-types.json +5376 -5168
package/dist/input/Group.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
3
3
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue545 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/input/Group.d.ts
|
|
8
8
|
interface InputGroupProps extends ComponentBaseProps {
|
|
9
9
|
size?: SizeType;
|
|
10
10
|
}
|
|
11
|
-
declare const InputGroup:
|
|
11
|
+
declare const InputGroup: vue545.DefineSetupFnComponent<InputGroupProps, EmptyEmit, SlotsType<{
|
|
12
12
|
default?: () => any;
|
|
13
|
-
}>, InputGroupProps,
|
|
13
|
+
}>, InputGroupProps, vue545.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { InputGroupProps, InputGroup as default };
|
package/dist/input/Input.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 vue543 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { InputProps as InputProps$1, InputRef as InputRef$1 } from "@v-c/input";
|
|
10
10
|
|
|
@@ -94,6 +94,6 @@ interface InputSlots {
|
|
|
94
94
|
default: () => any;
|
|
95
95
|
clearIcon: () => any;
|
|
96
96
|
}
|
|
97
|
-
declare const InternalInput:
|
|
97
|
+
declare const InternalInput: vue543.DefineSetupFnComponent<InputProps, InputEmits, SlotsType<InputSlots>, InputProps, vue543.PublicProps>;
|
|
98
98
|
//#endregion
|
|
99
99
|
export { InputClassNamesType, InputEmits, InputEmitsProps, InputProps, InputRef, InputSemanticClassNames, InputSemanticName, InputSemanticStyles, InputSlots, InputStylesType, InternalInput as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../../_util/type.js";
|
|
2
2
|
import { InputProps } from "../Input.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue770 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/input/OTP/OTPInput.d.ts
|
|
@@ -12,8 +12,8 @@ interface OTPInputProps extends Omit<InputProps, 'onChange'> {
|
|
|
12
12
|
onActiveChange: (nextIndex: number) => void;
|
|
13
13
|
mask?: boolean | string;
|
|
14
14
|
}
|
|
15
|
-
declare const OTPInput:
|
|
15
|
+
declare const OTPInput: vue770.DefineSetupFnComponent<OTPInputProps, EmptyEmit, SlotsType<{
|
|
16
16
|
default?: () => any;
|
|
17
|
-
}>, OTPInputProps,
|
|
17
|
+
}>, OTPInputProps, vue770.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { OTPInputProps, OTPInput as default };
|
|
@@ -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 vue798 from "vue";
|
|
8
8
|
import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/input/OTP/index.d.ts
|
|
@@ -53,6 +53,6 @@ interface OPTSlots {
|
|
|
53
53
|
index: number;
|
|
54
54
|
}) => any;
|
|
55
55
|
}
|
|
56
|
-
declare const OTP:
|
|
56
|
+
declare const OTP: vue798.DefineSetupFnComponent<OTPProps, OTPEmits, SlotsType<OPTSlots>, OTPProps, vue798.PublicProps>;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { OPTSlots, OTPClassNamesType, OTPEmits, OTPEmitsProps, OTPProps, OTPSemanticClassNames, OTPSemanticStyles, OTPStylesType, OTP as default };
|
package/dist/input/Password.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { InputEmits, InputProps } from "./Input.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue539 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/input/Password.d.ts
|
|
@@ -36,6 +36,6 @@ interface PasswordSlots {
|
|
|
36
36
|
visible: boolean;
|
|
37
37
|
}) => any;
|
|
38
38
|
}
|
|
39
|
-
declare const InternalPassword:
|
|
39
|
+
declare const InternalPassword: vue539.DefineSetupFnComponent<PasswordProps, PasswordEmits, SlotsType<PasswordSlots>, PasswordProps, vue539.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PasswordEmits, PasswordEmitsProps, PasswordProps, PasswordSlots, InternalPassword as default };
|
package/dist/input/Search.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { SizeType } from "../config-provider/SizeContext.js";
|
|
|
5
5
|
import { InputEmits, InputProps } from "./Input.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
7
|
import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue564 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/input/Search.d.ts
|
|
@@ -56,6 +56,6 @@ interface SearchSlots {
|
|
|
56
56
|
addonAfter: () => any;
|
|
57
57
|
clearIcon: () => any;
|
|
58
58
|
}
|
|
59
|
-
declare const InternalSearch:
|
|
59
|
+
declare const InternalSearch: vue564.DefineSetupFnComponent<SearchProps, SearchEmits, SlotsType<SearchSlots>, SearchProps, vue564.PublicProps>;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { InputSearchClassNamesType, InputSearchSemanticClassNames, InputSearchSemanticName, InputSearchSemanticStyles, InputSearchStylesType, SearchEmits, SearchEmitsProps, SearchProps, SearchSlots, InternalSearch as default };
|
package/dist/input/Search.js
CHANGED
|
@@ -41,11 +41,11 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
41
41
|
enterButton: props.enterButton
|
|
42
42
|
}));
|
|
43
43
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, styles), useToProps(mergedProps), computed(() => schema));
|
|
44
|
-
const handleSearch = (event, info) => {
|
|
45
|
-
emit("search", inputRef.value?.input?.value ?? "", event, info ?? { source: "input" });
|
|
44
|
+
const handleSearch = (event, info, value) => {
|
|
45
|
+
emit("search", value ?? inputRef.value?.input?.value ?? "", event, info ?? { source: "input" });
|
|
46
46
|
};
|
|
47
47
|
const handleChange = (e) => {
|
|
48
|
-
if (e?.type === "click" && e?.target?.value !== void 0) handleSearch(e, { source: "clear" });
|
|
48
|
+
if (e?.type === "click" && e?.target?.value !== void 0) handleSearch(e, { source: "clear" }, e.target.value);
|
|
49
49
|
emit("change", e);
|
|
50
50
|
};
|
|
51
51
|
const handleCompositionStart = (e) => {
|
|
@@ -146,7 +146,6 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
146
146
|
"onKeyup": (e) => emit("keyup", e),
|
|
147
147
|
"onClear": () => {
|
|
148
148
|
emit("clear");
|
|
149
|
-
handleSearch(void 0, { source: "clear" });
|
|
150
149
|
},
|
|
151
150
|
"onCompositionstart": handleCompositionStart,
|
|
152
151
|
"onCompositionend": handleCompositionEnd,
|
package/dist/input/TextArea.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import "../_util/hooks/index.js";
|
|
|
3
3
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
5
5
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue547 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { InputProps } from "@v-c/input";
|
|
9
9
|
import { TextAreaProps as TextAreaProps$1 } from "@v-c/textarea";
|
|
@@ -70,6 +70,6 @@ interface TextAreaEmitsProps {
|
|
|
70
70
|
interface TextAreaSlots {
|
|
71
71
|
default?: () => any;
|
|
72
72
|
}
|
|
73
|
-
declare const InternalTextArea:
|
|
73
|
+
declare const InternalTextArea: vue547.DefineSetupFnComponent<TextAreaProps, TextAreaEmits, SlotsType<TextAreaSlots>, TextAreaProps, vue547.PublicProps>;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { TextAreaClassNamesType, TextAreaEmits, TextAreaEmitsProps, TextAreaProps, TextAreaRef, TextAreaSemanticClassNames, TextAreaSemanticName, TextAreaSemanticStyles, TextAreaSlots, TextAreaStylesType, InternalTextArea as default };
|
package/dist/input/index.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ import { SearchEmits, SearchProps, SearchSlots } from "./Search.js";
|
|
|
5
5
|
import InternalTextArea, { TextAreaProps, TextAreaRef } from "./TextArea.js";
|
|
6
6
|
import { InputGroupProps } from "./Group.js";
|
|
7
7
|
import { PasswordEmits, PasswordProps, PasswordSlots } from "./Password.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue549 from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/input/index.d.ts
|
|
11
|
-
declare const CompoundedInput:
|
|
12
|
-
declare const InputGroup:
|
|
11
|
+
declare const CompoundedInput: vue549.DefineSetupFnComponent<InputProps, InputEmits, vue549.SlotsType<InputSlots>, InputProps, vue549.PublicProps>;
|
|
12
|
+
declare const InputGroup: vue549.DefineSetupFnComponent<InputGroupProps, EmptyEmit, vue549.SlotsType<{
|
|
13
13
|
default?: () => any;
|
|
14
|
-
}>, InputGroupProps,
|
|
15
|
-
declare const InputOTP:
|
|
16
|
-
declare const InputPassword:
|
|
17
|
-
declare const InputSearch:
|
|
14
|
+
}>, InputGroupProps, vue549.PublicProps>;
|
|
15
|
+
declare const InputOTP: vue549.DefineSetupFnComponent<OTPProps, OTPEmits, vue549.SlotsType<OPTSlots>, OTPProps, vue549.PublicProps>;
|
|
16
|
+
declare const InputPassword: vue549.DefineSetupFnComponent<PasswordProps, PasswordEmits, vue549.SlotsType<PasswordSlots>, PasswordProps, vue549.PublicProps>;
|
|
17
|
+
declare const InputSearch: vue549.DefineSetupFnComponent<SearchProps, SearchEmits, vue549.SlotsType<SearchSlots>, SearchProps, vue549.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { type InputEmits, InputGroup, type InputGroupProps, InputOTP, InputPassword, type InputProps, type InputRef, InputSearch, type InputSlots, type OTPProps, type PasswordProps, type SearchProps, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, CompoundedInput as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken, InputToken, initComponentToken, initInputToken } from "./token.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue680 from "vue";
|
|
5
5
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/input/style/index.d.ts
|
|
@@ -16,7 +16,7 @@ declare function genBasicInputStyle(token: InputToken, option?: {
|
|
|
16
16
|
declare const genInputGroupStyle: GenerateStyle<InputToken, CSSObject>;
|
|
17
17
|
declare const genInputStyle: GenerateStyle<InputToken, CSSObject>;
|
|
18
18
|
declare const genAffixStyle: GenerateStyle<InputToken, CSSObject>;
|
|
19
|
-
declare const useSharedStyle: (prefixCls:
|
|
20
|
-
declare const _default: (prefixCls:
|
|
19
|
+
declare const useSharedStyle: (prefixCls: vue680.Ref<string>, rootCls?: vue680.Ref<string | undefined>) => readonly [vue680.Ref<string, string>, vue680.ComputedRef<string | undefined>];
|
|
20
|
+
declare const _default: (prefixCls: vue680.Ref<string>, rootCls?: vue680.Ref<string | undefined>) => readonly [vue680.Ref<string, string>, vue680.ComputedRef<string | undefined>];
|
|
21
21
|
//#endregion
|
|
22
22
|
export { type ComponentToken, _default as default, genActiveStyle, genAffixStyle, genBasicInputStyle, genInputGroupStyle, genInputLargeStyle, genInputSmallStyle, genInputStyle, genPlaceholderStyle, initComponentToken, initInputToken, useSharedStyle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue746 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/input/style/otp.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue746.Ref<string>, rootCls?: vue746.Ref<string | undefined>) => readonly [vue746.Ref<string, string>, vue746.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue676 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/input/style/search.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue676.Ref<string>, rootCls?: vue676.Ref<string | undefined>) => readonly [vue676.Ref<string, string>, vue676.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken, initComponentToken, initInputToken } from "./token.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue718 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/input/style/textarea.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue718.Ref<string>, rootCls?: vue718.Ref<string | undefined>) => readonly [vue718.Ref<string, string>, vue718.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { type ComponentToken, _default as default, initComponentToken, initInputToken };
|
|
@@ -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 vue541 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { InputNumberProps as InputNumberProps$1, InputNumberRef as VcInputNumberRef, ValueType } from "@v-c/input-number";
|
|
10
10
|
|
|
@@ -105,6 +105,6 @@ interface InputNumberSlots {
|
|
|
105
105
|
addonAfter?: () => any;
|
|
106
106
|
default?: () => any;
|
|
107
107
|
}
|
|
108
|
-
declare const InputNumber:
|
|
108
|
+
declare const InputNumber: vue541.DefineSetupFnComponent<InputNumberProps, InputNumberEmits, SlotsType<InputNumberSlots>, InputNumberProps, vue541.PublicProps>;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { InputNumberClassNamesType, InputNumberEmits, InputNumberEmitsProps, InputNumberProps, type VcInputNumberRef as InputNumberRef, InputNumberSemanticClassNames, InputNumberSemanticName, InputNumberSemanticStyles, InputNumberSlots, InputNumberStepContext, InputNumberStylesType, type ValueType, InputNumber as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken } from "./token.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue786 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/input-number/style/index.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue786.Ref<string>, rootCls?: vue786.Ref<string | undefined>) => readonly [vue786.Ref<string, string>, vue786.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { type ComponentToken, _default as default };
|
package/dist/layout/Sider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Breakpoint } from "../_util/responsiveObserver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue566 from "vue";
|
|
3
3
|
import { CSSProperties, Ref, SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/layout/Sider.d.ts
|
|
@@ -39,6 +39,6 @@ interface SiderState {
|
|
|
39
39
|
collapsed?: boolean;
|
|
40
40
|
below: boolean;
|
|
41
41
|
}
|
|
42
|
-
declare const Sider:
|
|
42
|
+
declare const Sider: vue566.DefineSetupFnComponent<SiderProps, SiderEmits, SlotsType<SiderSlots>, SiderProps, vue566.PublicProps>;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { CollapseType, SiderContextProps, SiderEmits, SiderEmitsProps, SiderProps, SiderSlots, SiderState, SiderTheme, Sider as default, useSiderCtx };
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import Layout, { BasicProps } from "./layout.js";
|
|
2
2
|
import { SiderEmits, SiderProps, SiderSlots, useSiderCtx } from "./Sider.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue576 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/layout/index.d.ts
|
|
6
6
|
declare const useLayoutSider: typeof useSiderCtx;
|
|
7
|
-
declare const LayoutHeader:
|
|
8
|
-
declare const LayoutFooter:
|
|
9
|
-
declare const LayoutContent:
|
|
10
|
-
declare const LayoutSider:
|
|
7
|
+
declare const LayoutHeader: vue576.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue576.PublicProps>;
|
|
8
|
+
declare const LayoutFooter: vue576.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue576.PublicProps>;
|
|
9
|
+
declare const LayoutContent: vue576.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue576.PublicProps>;
|
|
10
|
+
declare const LayoutSider: vue576.DefineSetupFnComponent<SiderProps, SiderEmits, vue576.SlotsType<SiderSlots>, SiderProps, vue576.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type SiderProps, Layout as default, useLayoutSider };
|
package/dist/layout/layout.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue568 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/layout/layout.d.ts
|
|
5
5
|
interface GeneratorProps {
|
|
@@ -11,9 +11,9 @@ interface BasicProps extends ComponentBaseProps {
|
|
|
11
11
|
suffixCls?: string;
|
|
12
12
|
hasSider?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const Layout:
|
|
15
|
-
declare const Header:
|
|
16
|
-
declare const Footer:
|
|
17
|
-
declare const Content:
|
|
14
|
+
declare const Layout: vue568.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue568.PublicProps>;
|
|
15
|
+
declare const Header: vue568.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue568.PublicProps>;
|
|
16
|
+
declare const Footer: vue568.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue568.PublicProps>;
|
|
17
|
+
declare const Content: vue568.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue568.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { BasicProps, Content, Footer, GeneratorProps, Header, Layout 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 vue915 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/layout/style/index.d.ts
|
|
@@ -95,6 +95,6 @@ interface ComponentToken {
|
|
|
95
95
|
interface LayoutToken extends FullToken<'Layout'> {}
|
|
96
96
|
declare const prepareComponentToken: GetDefaultToken<'Layout'>;
|
|
97
97
|
declare const DEPRECATED_TOKENS: [keyof ComponentToken, keyof ComponentToken][];
|
|
98
|
-
declare const _default: (prefixCls:
|
|
98
|
+
declare const _default: (prefixCls: vue915.Ref<string>, rootCls?: vue915.Ref<string | undefined>) => readonly [vue915.Ref<string, string>, vue915.ComputedRef<string | undefined>];
|
|
99
99
|
//#endregion
|
|
100
100
|
export { ComponentToken, DEPRECATED_TOKENS, LayoutToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue642 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/layout/style/sider.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue642.Ref<string>, rootCls?: vue642.Ref<string | undefined>) => readonly [vue642.Ref<string, string>, vue642.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import "../tour/index.js";
|
|
|
14
14
|
import { TransferLocale as TransferLocale$1 } from "../transfer/interface.js";
|
|
15
15
|
import "../transfer/index.js";
|
|
16
16
|
import { UploadLocale } from "../upload/interface.js";
|
|
17
|
-
import * as
|
|
17
|
+
import * as vue139 from "vue";
|
|
18
18
|
import { Ref } from "vue";
|
|
19
19
|
|
|
20
20
|
//#region src/locale/index.d.ts
|
|
@@ -77,7 +77,7 @@ interface Locale {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
declare function useLocaleProvider(props: LocaleContext): void;
|
|
80
|
-
declare const LocaleProvider:
|
|
80
|
+
declare const LocaleProvider: vue139.DefineSetupFnComponent<LocaleProviderProps, {}, {}, LocaleProviderProps & {}, vue139.PublicProps>;
|
|
81
81
|
declare function useLocaleContext(): LocaleContext;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { ANT_MARK, Locale, LocaleContext, LocaleContextProps, LocaleProvider, LocaleProviderProps, useLocaleContext, useLocaleProvider };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Locale } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue898 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/locale/useLocale.d.ts
|
|
5
5
|
type LocaleComponentName = Exclude<keyof Locale, 'locale'>;
|
|
6
|
-
declare function useLocale<C extends LocaleComponentName = LocaleComponentName>(componentName: C, defaultLocale?: Locale[C] | (() => Locale[C])):
|
|
6
|
+
declare function useLocale<C extends LocaleComponentName = LocaleComponentName>(componentName: C, defaultLocale?: Locale[C] | (() => Locale[C])): vue898.ComputedRef<any>[];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { LocaleComponentName, useLocale as default };
|
package/dist/locale/zh_CN.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import zh_CN_default$1 from "../time-picker/locale/zh_CN.js";
|
|
2
2
|
import zh_CN_default$2 from "../date-picker/locale/zh_CN.js";
|
|
3
3
|
import zh_CN_default$3 from "../calendar/locale/zh_CN.js";
|
|
4
|
-
import
|
|
4
|
+
import Pagination from "@v-c/pagination/locale/zh_CN";
|
|
5
5
|
|
|
6
6
|
//#region src/locale/zh_CN.ts
|
|
7
7
|
const typeTemplate = "${label}不是一个有效的${type}";
|
|
8
8
|
const localeValues = {
|
|
9
9
|
locale: "zh-cn",
|
|
10
|
-
Pagination
|
|
10
|
+
Pagination,
|
|
11
11
|
DatePicker: zh_CN_default$2,
|
|
12
12
|
TimePicker: zh_CN_default$1,
|
|
13
13
|
Calendar: zh_CN_default$3,
|
|
@@ -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 vue587 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: vue587.DefineSetupFnComponent<MasonryProps, MasonryEmits, SlotsType<MasonrySlots>, MasonryProps, vue587.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 vue585 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: vue585.DefineSetupFnComponent<MasonryItemProps, {}, {}, MasonryItemProps & {}, vue585.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { MasonryItemType, MasonryItem as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue913 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 [vue913.ComputedRef<ItemPositions>, vue913.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 vue762 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: vue762.Ref<string>, rootCls?: vue762.Ref<string | undefined>) => readonly [vue762.Ref<string, string>, vue762.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 vue591 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: vue591.DefineSetupFnComponent<MentionProps, MentionsEmits, SlotsType<MentionsSlots>, MentionProps, vue591.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 vue735 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: vue735.Ref<string>, rootCls?: vue735.Ref<string | undefined>) => readonly [vue735.Ref<string, string>, vue735.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 vue589 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: vue589.DefineSetupFnComponent<{
|
|
28
28
|
value: MenuContextProps;
|
|
29
29
|
}, {}, {}, {
|
|
30
30
|
value: MenuContextProps;
|
|
31
|
-
} & {},
|
|
31
|
+
} & {}, vue589.PublicProps>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { MenuContextProps, MenuContextProvider, MenuTheme, useMenuContext, useMenuContextProvider };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue595 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: vue595.DefineSetupFnComponent<MenuDividerProps, {}, {}, MenuDividerProps & {}, vue595.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 vue593 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: vue593.DefineSetupFnComponent<MenuItemProps, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps, vue593.PublicProps>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { MenuItemProps, MenuItemSlots, MenuItem as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
|
+
import * as vue597 from "vue";
|
|
3
|
+
import { SlotsType } from "vue";
|
|
4
|
+
import { MenuItemGroupProps as MenuItemGroupProps$1 } from "@v-c/menu";
|
|
5
|
+
|
|
6
|
+
//#region src/menu/MenuItemGroup.d.ts
|
|
7
|
+
interface MenuItemGroupProps extends Omit<MenuItemGroupProps$1, 'title' | 'children'> {
|
|
8
|
+
title?: VueNode;
|
|
9
|
+
}
|
|
10
|
+
interface MenuItemGroupSlots {
|
|
11
|
+
default?: () => any;
|
|
12
|
+
title?: () => any;
|
|
13
|
+
}
|
|
14
|
+
declare const MenuItemGroup: vue597.DefineSetupFnComponent<MenuItemGroupProps, EmptyEmit, SlotsType<MenuItemGroupSlots>, MenuItemGroupProps, vue597.PublicProps>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { MenuItemGroupProps, MenuItemGroupSlots, MenuItemGroup as default };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { pureAttrs } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { getSlotPropsFnRun } from "../_util/tools.js";
|
|
3
|
+
import { createVNode, defineComponent, mergeProps } from "vue";
|
|
4
|
+
import { omit } from "es-toolkit";
|
|
5
|
+
import { MenuItemGroup } from "@v-c/menu";
|
|
6
|
+
|
|
7
|
+
//#region src/menu/MenuItemGroup.tsx
|
|
8
|
+
const MenuItemGroup$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
9
|
+
return () => {
|
|
10
|
+
const title = getSlotPropsFnRun(slots, props, "title");
|
|
11
|
+
return createVNode(MenuItemGroup, mergeProps(pureAttrs(attrs), omit(props, ["title"]), { "title": title }), { default: () => [slots?.default?.()] });
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
props: {
|
|
15
|
+
title: {
|
|
16
|
+
type: [
|
|
17
|
+
Function,
|
|
18
|
+
String,
|
|
19
|
+
Number,
|
|
20
|
+
null,
|
|
21
|
+
Object,
|
|
22
|
+
Boolean
|
|
23
|
+
],
|
|
24
|
+
required: false,
|
|
25
|
+
default: void 0
|
|
26
|
+
},
|
|
27
|
+
eventKey: {
|
|
28
|
+
type: String,
|
|
29
|
+
required: false
|
|
30
|
+
},
|
|
31
|
+
warnKey: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
required: false,
|
|
34
|
+
default: void 0
|
|
35
|
+
},
|
|
36
|
+
style: {
|
|
37
|
+
type: Object,
|
|
38
|
+
required: false
|
|
39
|
+
},
|
|
40
|
+
class: {
|
|
41
|
+
type: String,
|
|
42
|
+
required: false
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
name: "AMenuItemGroup",
|
|
46
|
+
inheritAttrs: false
|
|
47
|
+
});
|
|
48
|
+
var MenuItemGroup_default = MenuItemGroup$1;
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { MenuItemGroup_default as default };
|