antdv-next 1.1.3 → 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/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 +12745 -11140
- package/dist/antd-with-locales.js +81 -85
- package/dist/antd.esm.js +10052 -8449
- package/dist/antd.js +79 -83
- 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/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/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/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/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 +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- 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/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/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/style/index.d.ts +2 -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/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/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/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +13 -13
- 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/themes/default/theme.d.ts +2 -2
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/time-picker/index.js +3 -12
- 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/panelRender.js +8 -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/search.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 +2 -2
- 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/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 +7 -7
- package/web-tags.json +1825 -1741
- package/web-types.json +5683 -5476
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 };
|
|
@@ -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 };
|
|
@@ -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 vue601 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: vue601.DefineSetupFnComponent<{
|
|
19
19
|
value?: OverrideContextProps | null;
|
|
20
20
|
}, {}, {}, {
|
|
21
21
|
value?: OverrideContextProps | null;
|
|
22
|
-
} & {},
|
|
22
|
+
} & {}, vue601.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 vue599 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: vue599.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps, vue599.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SubMenuProps, SubMenuSlots, SubMenu as default };
|
package/dist/menu/index.d.ts
CHANGED
|
@@ -2,11 +2,12 @@ import { EmptyEmit } from "../_util/type.js";
|
|
|
2
2
|
import MenuItem$1, { MenuItemProps, MenuItemSlots } from "./MenuItem.js";
|
|
3
3
|
import { ItemType } from "./interface.js";
|
|
4
4
|
import { MenuEmits, MenuEmitsProps, MenuProps as MenuProps$2, MenuSlots } from "./menu.js";
|
|
5
|
+
import MenuItemGroup, { MenuItemGroupProps } from "./MenuItemGroup.js";
|
|
5
6
|
import SubMenu, { SubMenuProps } from "./SubMenu.js";
|
|
6
7
|
import MenuDivider from "./MenuDivider.js";
|
|
7
|
-
import * as
|
|
8
|
+
import * as vue603 from "vue";
|
|
8
9
|
import { SlotsType } from "vue";
|
|
9
|
-
import {
|
|
10
|
+
import { MenuRef as MenuRef$1 } from "@v-c/menu";
|
|
10
11
|
|
|
11
12
|
//#region src/menu/index.d.ts
|
|
12
13
|
type MenuItemType = ItemType;
|
|
@@ -16,12 +17,13 @@ interface MenuRef {
|
|
|
16
17
|
}
|
|
17
18
|
interface InternalMenuProps extends MenuProps$2, MenuEmitsProps {}
|
|
18
19
|
type MenuProps = InternalMenuProps;
|
|
19
|
-
declare const Menu:
|
|
20
|
-
declare const MenuItem:
|
|
20
|
+
declare const Menu: vue603.DefineSetupFnComponent<InternalMenuProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuProps, vue603.PublicProps>;
|
|
21
|
+
declare const MenuItem: vue603.DefineSetupFnComponent<MenuItemProps, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps, vue603.PublicProps>;
|
|
21
22
|
declare const _default: typeof Menu & {
|
|
22
23
|
Item: typeof MenuItem$1;
|
|
23
24
|
SubMenu: typeof SubMenu;
|
|
25
|
+
ItemGroup: typeof MenuItemGroup;
|
|
24
26
|
Divider: typeof MenuDivider;
|
|
25
27
|
};
|
|
26
28
|
//#endregion
|
|
27
|
-
export { InternalMenuProps, MenuDivider, type MenuEmits, MenuItem, type MenuItemGroupProps, type MenuItemProps, MenuItemType, MenuProps, MenuRef, type MenuSlots, SubMenu, type SubMenuProps, _default as default };
|
|
29
|
+
export { InternalMenuProps, MenuDivider, type MenuEmits, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, MenuItemType, MenuProps, MenuRef, type MenuSlots, SubMenu, type SubMenuProps, _default as default };
|
package/dist/menu/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import MenuDivider_default from "./MenuDivider.js";
|
|
|
3
3
|
import MenuItem_default from "./MenuItem.js";
|
|
4
4
|
import SubMenu_default from "./SubMenu.js";
|
|
5
5
|
import menu_default$1 from "./menu.js";
|
|
6
|
+
import MenuItemGroup_default from "./MenuItemGroup.js";
|
|
6
7
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
|
7
8
|
|
|
8
9
|
//#region src/menu/index.tsx
|
|
@@ -195,15 +196,17 @@ const Menu = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit, expos
|
|
|
195
196
|
});
|
|
196
197
|
Menu.Item = MenuItem_default;
|
|
197
198
|
Menu.SubMenu = SubMenu_default;
|
|
199
|
+
Menu.ItemGroup = MenuItemGroup_default;
|
|
198
200
|
Menu.Divider = MenuDivider_default;
|
|
199
201
|
Menu.install = (app) => {
|
|
200
202
|
app.component(Menu.name, Menu);
|
|
201
203
|
app.component(MenuItem_default.name, MenuItem_default);
|
|
202
204
|
app.component(SubMenu_default.name, SubMenu_default);
|
|
205
|
+
app.component(MenuItemGroup_default.name, MenuItemGroup_default);
|
|
203
206
|
app.component(MenuDivider_default.name, MenuDivider_default);
|
|
204
207
|
};
|
|
205
208
|
const MenuItem = MenuItem_default;
|
|
206
209
|
var menu_default = Menu;
|
|
207
210
|
|
|
208
211
|
//#endregion
|
|
209
|
-
export { MenuDivider_default as MenuDivider, MenuItem, SubMenu_default as SubMenu, menu_default as default };
|
|
212
|
+
export { MenuDivider_default as MenuDivider, MenuItem, MenuItemGroup_default as MenuItemGroup, SubMenu_default as SubMenu, menu_default as default };
|
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 vue611 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: vue611.DefineSetupFnComponent<InternalMenuRuntimeProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuRuntimeProps, vue611.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 };
|