antdv-next 1.0.0-alpha.4 → 1.0.0-alpha.5
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/tools.js +2 -1
- package/dist/_util/wave/WaveEffect.js +6 -1
- package/dist/_util/wave/style.js +4 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/alert/Alert.d.ts +4 -3
- package/dist/alert/Alert.js +1 -1
- package/dist/anchor/Anchor.d.ts +5 -5
- package/dist/anchor/AnchorLink.js +2 -2
- package/dist/anchor/index.d.ts +1 -1
- package/dist/antd.js +76 -76
- package/dist/app/App.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +77 -0
- package/dist/auto-complete/index.js +627 -0
- package/dist/avatar/Avatar.d.ts +3 -3
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +3 -3
- package/dist/badge/index.d.ts +3 -3
- package/dist/breadcrumb/Breadcrumb.d.ts +5 -5
- package/dist/breadcrumb/Breadcrumb.js +0 -8
- package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.js +1 -17
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/button/Button.d.ts +3 -3
- package/dist/button/style/variant.js +116 -104
- package/dist/calendar/Header.js +1 -1
- package/dist/calendar/generateCalendar.d.ts +3 -3
- package/dist/calendar/index.d.ts +3 -3
- package/dist/card/Card.d.ts +3 -3
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +3 -3
- package/dist/carousel/index.d.ts +3 -3
- package/dist/cascader/Panel.d.ts +3 -3
- package/dist/cascader/index.d.ts +3 -3
- package/dist/cascader/index.js +1 -1
- package/dist/checkbox/Checkbox.d.ts +3 -3
- package/dist/checkbox/Group.d.ts +3 -3
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/color-picker/ColorPicker.d.ts +4 -4
- package/dist/color-picker/ColorPicker.js +2 -2
- package/dist/components.d.ts +3 -2
- package/dist/components.js +7 -4
- package/dist/config-provider/context.js +2 -2
- package/dist/config-provider/index.d.ts +3 -3
- package/dist/date-picker/generatePicker/generateRangePicker.js +1 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.js +1 -1
- package/dist/date-picker/generatePicker/index.d.ts +15 -15
- package/dist/date-picker/index.d.ts +25 -25
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/divider/index.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/dropdown/dropdown.d.ts +4 -4
- package/dist/dropdown/dropdown.js +5 -3
- package/dist/empty/index.d.ts +3 -3
- package/dist/flex/index.d.ts +3 -3
- package/dist/float-button/BackTop.d.ts +3 -3
- package/dist/float-button/FloatButton.d.ts +3 -3
- package/dist/float-button/FloatButtonGroup.d.ts +3 -3
- package/dist/float-button/style/button.js +4 -4
- package/dist/float-button/style/group.js +12 -12
- package/dist/form/Form.d.ts +3 -3
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/style/index.js +3 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.js +5 -4
- package/dist/image/PreviewGroup.d.ts +2 -2
- package/dist/image/index.d.ts +4 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/input/Input.js +1 -1
- package/dist/input/OTP/index.js +1 -1
- package/dist/input/TextArea.d.ts +3 -3
- package/dist/input/TextArea.js +1 -1
- package/dist/input/index.d.ts +11 -11
- package/dist/input-number/index.d.ts +3 -3
- package/dist/input-number/index.js +1 -1
- package/dist/input-number/style/index.js +18 -17
- package/dist/layout/index.d.ts +6 -6
- package/dist/layout/layout.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/Masonry.js +8 -6
- package/dist/mentions/index.d.ts +3 -3
- package/dist/mentions/index.js +1 -1
- package/dist/mentions/style/index.js +18 -17
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/SubMenu.d.ts +3 -3
- package/dist/menu/index.d.ts +5 -5
- package/dist/message/PurePanel.d.ts +2 -2
- package/dist/modal/Modal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +2 -2
- package/dist/notification/useNotification.d.ts +2 -2
- package/dist/package.d.ts +109 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +3 -3
- package/dist/pagination/Pagination.js +1 -1
- package/dist/pagination/style/index.js +61 -50
- package/dist/popconfirm/PurePanel.d.ts +2 -2
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popover/index.d.ts +3 -3
- package/dist/popover/style/index.js +11 -8
- package/dist/progress/progress.d.ts +3 -3
- package/dist/qrcode/index.d.ts +3 -3
- package/dist/radio/index.d.ts +5 -5
- package/dist/radio/radio.d.ts +3 -3
- package/dist/rate/index.d.ts +3 -3
- package/dist/result/index.d.ts +3 -3
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/segmented/index.d.ts +3 -3
- package/dist/select/index.d.ts +6 -6
- package/dist/select/index.js +2 -2
- package/dist/select/style/select-input-multiple.js +31 -29
- package/dist/select/style/select-input.js +50 -44
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +3 -3
- package/dist/skeleton/Skeleton.d.ts +3 -3
- package/dist/slider/index.d.ts +3 -3
- package/dist/space/Compact.d.ts +2 -0
- package/dist/space/Compact.js +17 -4
- package/dist/space/index.d.ts +5 -5
- package/dist/space/style/addon.js +20 -19
- package/dist/spin/index.d.ts +3 -3
- package/dist/splitter/SplitBar.js +9 -2
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/Splitter.js +2 -1
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.js +6 -6
- package/dist/statistic/Statistic.d.ts +3 -3
- package/dist/statistic/Timer.d.ts +5 -5
- package/dist/statistic/index.d.ts +5 -5
- package/dist/steps/ProgressIcon.js +9 -2
- package/dist/steps/index.d.ts +3 -3
- package/dist/steps/index.js +7 -4
- package/dist/steps/style/horizontal.js +13 -10
- package/dist/steps/style/icon.js +11 -8
- package/dist/steps/style/index.js +19 -18
- package/dist/steps/style/inline.js +19 -16
- package/dist/steps/style/label-placement.js +22 -20
- package/dist/steps/style/nav.js +7 -5
- package/dist/steps/style/panel.js +34 -32
- package/dist/steps/style/progress-dot.js +10 -8
- package/dist/steps/style/progress.js +29 -58
- package/dist/steps/style/rtl.js +6 -4
- package/dist/steps/style/small.js +10 -8
- package/dist/steps/style/status.js +124 -121
- package/dist/steps/style/util.js +7 -4
- package/dist/steps/style/vertical.js +17 -14
- package/dist/style/placementArrow.js +7 -5
- package/dist/switch/index.d.ts +3 -3
- package/dist/table/Column.d.ts +3 -3
- package/dist/table/ColumnGroup.d.ts +3 -3
- package/dist/table/InternalTable.js +1 -1
- package/dist/table/Table.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/tabs/TabPane.d.ts +3 -3
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tag/CheckableTag.d.ts +3 -3
- package/dist/tag/CheckableTagGroup.d.ts +3 -3
- package/dist/tag/index.d.ts +3 -3
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/util/genStyleUtils.js +8 -5
- package/dist/time-picker/index.d.ts +7 -7
- package/dist/timeline/Timeline.d.ts +3 -3
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/PurePanel.js +3 -3
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/index.js +2 -3
- package/dist/tooltip/style/index.js +10 -8
- package/dist/tooltip/util.js +5 -3
- package/dist/tour/index.d.ts +3 -3
- package/dist/tour/style/index.js +5 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +3 -3
- package/dist/transfer/Transfer.js +1 -1
- package/dist/transfer/search.d.ts +3 -3
- package/dist/tree/DirectoryTree.d.ts +3 -3
- package/dist/tree/Tree.d.ts +3 -3
- package/dist/tree-select/index.d.ts +4 -4
- package/dist/tree-select/index.js +1 -1
- package/dist/typography/Link.d.ts +3 -3
- package/dist/typography/Paragraph.d.ts +3 -3
- package/dist/typography/Text.d.ts +3 -3
- package/dist/typography/Title.d.ts +3 -3
- package/dist/typography/Typography.d.ts +3 -3
- package/dist/typography/index.d.ts +9 -9
- package/dist/upload/Dragger.d.ts +6 -3
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/index.d.ts +6 -3
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +2 -0
- package/package.json +22 -4
- package/web-tags.json +4524 -0
- package/web-types.json +12779 -0
package/dist/masonry/Masonry.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
|
+
import { genCssVar } from "../theme/util/genStyleUtils.js";
|
|
2
3
|
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
4
|
import "../_util/hooks/index.js";
|
|
4
5
|
import { toPropsRefs } from "../_util/tools.js";
|
|
@@ -24,9 +25,10 @@ function _isSlot(s) {
|
|
|
24
25
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
25
26
|
}
|
|
26
27
|
const Masonry = /* @__PURE__ */ defineComponent((props, { expose, emit, attrs, slots }) => {
|
|
27
|
-
const { direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, prefixCls } = useComponentBaseConfig("masonry", props);
|
|
28
|
+
const { direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, prefixCls, rootPrefixCls } = useComponentBaseConfig("masonry", props);
|
|
28
29
|
const { classes, styles, gutter, columns } = toPropsRefs(props, "classes", "styles", "gutter", "columns");
|
|
29
30
|
const [hashId, cssVarCls] = style_default(prefixCls, useCSSVarCls_default(prefixCls));
|
|
31
|
+
const [varName, varRef] = genCssVar(rootPrefixCls.value, "masonry");
|
|
30
32
|
const containerRef = shallowRef();
|
|
31
33
|
expose({ nativeElement: containerRef });
|
|
32
34
|
const [setItemRef, getItemRef] = useRefs();
|
|
@@ -131,11 +133,11 @@ const Masonry = /* @__PURE__ */ defineComponent((props, { expose, emit, attrs, s
|
|
|
131
133
|
const columnIndex = position?.column ?? 0;
|
|
132
134
|
const widthVar = `calc((100% + ${horizontalGutter.value}px) / ${columnCount.value})`;
|
|
133
135
|
const itemStyle = {
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
[varName("item-width")]: widthVar,
|
|
137
|
+
insetInlineStart: `calc(${varRef("item-width")} * ${columnIndex})`,
|
|
138
|
+
width: `calc(${varRef("item-width")} - ${horizontalGutter.value}px)`,
|
|
139
|
+
top: `${position?.top}px`,
|
|
140
|
+
position: "absolute"
|
|
139
141
|
};
|
|
140
142
|
return createVNode(MasonryItem_default, {
|
|
141
143
|
"key": key,
|
package/dist/mentions/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
4
4
|
import "../_util/hooks/index.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 vue194 from "vue";
|
|
8
8
|
import { App, SlotsType } from "vue";
|
|
9
9
|
import { DataDrivenOptionProps, MentionsProps, MentionsRef, Option } from "@v-c/mentions";
|
|
10
10
|
|
|
@@ -66,9 +66,9 @@ interface MentionsEntity {
|
|
|
66
66
|
prefix: string;
|
|
67
67
|
value: string;
|
|
68
68
|
}
|
|
69
|
-
declare const InternalMentions:
|
|
69
|
+
declare const InternalMentions: vue194.DefineSetupFnComponent<MentionProps, MentionsEmits, SlotsType<MentionsSlots>, MentionProps & {
|
|
70
70
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
71
|
-
},
|
|
71
|
+
}, vue194.PublicProps>;
|
|
72
72
|
declare const Mentions: typeof InternalMentions & {
|
|
73
73
|
Option: typeof Option;
|
|
74
74
|
getMentions: (value: string, config?: MentionsConfig) => MentionsEntity[];
|
package/dist/mentions/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
|
6
6
|
import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
7
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
8
8
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
9
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
10
9
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
11
10
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
11
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
12
12
|
import useVariant from "../form/hooks/useVariant.js";
|
|
13
13
|
import getAllowClear_default from "../_util/getAllowClear.js";
|
|
14
14
|
import toList_default from "../_util/toList.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resetComponent, textEllipsis } from "../../style/index.js";
|
|
2
|
-
import { genStyleHooks } from "../../theme/util/genStyleUtils.js";
|
|
2
|
+
import { genCssVar, genStyleHooks } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { mergeToken } from "../../theme/internal.js";
|
|
4
4
|
import { initComponentToken, initInputToken } from "../../input/style/token.js";
|
|
5
5
|
import { genBorderlessStyle, genDisabledStyle, genFilledStyle, genOutlinedStyle, genUnderlinedStyle } from "../../input/style/variants.js";
|
|
@@ -65,20 +65,21 @@ const genDropdownStyle = (token) => {
|
|
|
65
65
|
};
|
|
66
66
|
const genMentionsStyle = (token) => {
|
|
67
67
|
const { componentCls, calc, colorText, antCls, colorTextDisabled } = token;
|
|
68
|
+
const [varName, varRef] = genCssVar(antCls, "cmp-mentions");
|
|
68
69
|
return { [componentCls]: [
|
|
69
70
|
resetComponent(token),
|
|
70
71
|
genBasicInputStyle(token, {
|
|
71
|
-
largeStyle: { padding:
|
|
72
|
-
smallStyle: { padding:
|
|
72
|
+
largeStyle: { padding: 0 },
|
|
73
|
+
smallStyle: { padding: 0 }
|
|
73
74
|
}),
|
|
74
75
|
genOutlinedStyle(token),
|
|
75
76
|
genFilledStyle(token),
|
|
76
77
|
genBorderlessStyle(token),
|
|
77
78
|
genUnderlinedStyle(token),
|
|
78
79
|
{
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
80
|
+
[varName("padding-inline")]: token.paddingInline,
|
|
81
|
+
[varName("padding-block")]: token.paddingBlock,
|
|
82
|
+
[varName("control-height")]: token.controlHeight,
|
|
82
83
|
"display": "flex",
|
|
83
84
|
"padding": 0,
|
|
84
85
|
"whiteSpace": "pre-wrap",
|
|
@@ -100,9 +101,9 @@ const genMentionsStyle = (token) => {
|
|
|
100
101
|
color: colorText,
|
|
101
102
|
boxSizing: "border-box",
|
|
102
103
|
margin: 0,
|
|
103
|
-
minHeight: calc("
|
|
104
|
-
paddingInline: "
|
|
105
|
-
paddingBlock: "
|
|
104
|
+
minHeight: calc(varRef("control-height")).sub(calc(token.lineWidth).mul(2).equal()).equal(),
|
|
105
|
+
paddingInline: varRef("padding-inline"),
|
|
106
|
+
paddingBlock: varRef("padding-block"),
|
|
106
107
|
overflow: "inherit",
|
|
107
108
|
overflowX: "hidden",
|
|
108
109
|
overflowY: "auto",
|
|
@@ -144,7 +145,7 @@ const genMentionsStyle = (token) => {
|
|
|
144
145
|
position: "absolute",
|
|
145
146
|
top: "50%",
|
|
146
147
|
transform: "translateY(-50%)",
|
|
147
|
-
insetInlineEnd: "
|
|
148
|
+
insetInlineEnd: varRef("padding-inline"),
|
|
148
149
|
columnGap: token.marginXS,
|
|
149
150
|
[`${componentCls}-clear-icon`]: {
|
|
150
151
|
"cursor": "pointer",
|
|
@@ -161,18 +162,18 @@ const genMentionsStyle = (token) => {
|
|
|
161
162
|
}
|
|
162
163
|
}
|
|
163
164
|
},
|
|
164
|
-
{ "&-has-suffix": { "> textarea": { paddingInlineEnd: calc(token.paddingXXS).mul(1.5).add(token.fontSizeIcon).add("
|
|
165
|
+
{ "&-has-suffix": { "> textarea": { paddingInlineEnd: calc(token.paddingXXS).mul(1.5).add(token.fontSizeIcon).add(varRef("padding-inline")).equal() } } },
|
|
165
166
|
{ "&-disabled": { "> textarea": { ...genDisabledStyle(token) } } },
|
|
166
167
|
{
|
|
167
168
|
"&-lg": {
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
169
|
+
[varName("padding-inline")]: token.paddingInlineLG,
|
|
170
|
+
[varName("padding-block")]: token.paddingBlockLG,
|
|
171
|
+
[varName("control-height")]: token.controlHeightLG
|
|
171
172
|
},
|
|
172
173
|
"&-sm": {
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
174
|
+
[varName("padding-inline")]: token.paddingInlineSM,
|
|
175
|
+
[varName("padding-block")]: token.paddingBlockSM,
|
|
176
|
+
[varName("control-height")]: token.controlHeightSM
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
179
|
] };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue410 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: vue410.DefineSetupFnComponent<MenuDividerProps, {}, {}, MenuDividerProps & {}, vue410.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { MenuDivider };
|
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 vue408 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/SubMenu.d.ts
|
|
@@ -12,8 +12,8 @@ interface SubMenuSlots {
|
|
|
12
12
|
icon: () => any;
|
|
13
13
|
default: () => any;
|
|
14
14
|
}
|
|
15
|
-
declare const SubMenu:
|
|
15
|
+
declare const SubMenu: vue408.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps & {
|
|
16
16
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
17
|
-
},
|
|
17
|
+
}, vue408.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SubMenu, SubMenuProps };
|
package/dist/menu/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ItemType } from "./interface.js";
|
|
|
4
4
|
import { MenuEmits, MenuProps as MenuProps$1, MenuSlots } from "./menu.js";
|
|
5
5
|
import { SubMenu as SubMenu$1, SubMenuProps } from "./SubMenu.js";
|
|
6
6
|
import { MenuDivider } from "./MenuDivider.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue155 from "vue";
|
|
8
8
|
import { SlotsType } from "vue";
|
|
9
9
|
import { MenuItemGroupProps, MenuRef } from "@v-c/menu";
|
|
10
10
|
|
|
@@ -14,12 +14,12 @@ interface MenuRef$1 {
|
|
|
14
14
|
menu: MenuRef | null;
|
|
15
15
|
focus: (options?: FocusOptions) => void;
|
|
16
16
|
}
|
|
17
|
-
declare const Menu:
|
|
17
|
+
declare const Menu: vue155.DefineSetupFnComponent<MenuProps$1, MenuEmits, SlotsType<MenuSlots>, MenuProps$1 & {
|
|
18
18
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
19
|
-
},
|
|
20
|
-
declare const MenuItem$1:
|
|
19
|
+
}, vue155.PublicProps>;
|
|
20
|
+
declare const MenuItem$1: vue155.DefineSetupFnComponent<MenuItemProps$1, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps$1 & {
|
|
21
21
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, vue155.PublicProps>;
|
|
23
23
|
declare const _default: typeof Menu & {
|
|
24
24
|
Item: typeof MenuItem;
|
|
25
25
|
SubMenu: typeof SubMenu$1;
|
|
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ArgsClassNamesType, ArgsStylesType, NoticeType, SemanticName } from "./interface.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue398 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/message/PurePanel.d.ts
|
|
8
8
|
interface PureContentProps {
|
|
@@ -31,6 +31,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
31
31
|
styles?: ArgsStylesType;
|
|
32
32
|
}
|
|
33
33
|
/** @private Internal Component. Do not use in your production. */
|
|
34
|
-
declare const PurePanel:
|
|
34
|
+
declare const PurePanel: vue398.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue398.PublicProps>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { PurePanel };
|
package/dist/modal/Modal.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ModalEmits, ModalProps, ModalSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue316 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/Modal.d.ts
|
|
6
|
-
declare const Modal:
|
|
6
|
+
declare const Modal: vue316.DefineSetupFnComponent<ModalProps, ModalEmits, SlotsType<ModalSlots>, ModalProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue316.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Modal };
|
|
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { IconType, NotificationSemantic } from "./interface.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue229 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/notification/PurePanel.d.ts
|
|
8
8
|
type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemantic>;
|
|
@@ -36,6 +36,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
36
36
|
onClick?: (event: Event) => void;
|
|
37
37
|
}
|
|
38
38
|
/** @private Internal Component. Do not use in your production. */
|
|
39
|
-
declare const PurePanel:
|
|
39
|
+
declare const PurePanel: vue229.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue229.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PurePanel };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NotificationConfig, NotificationInstance } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue_jsx_runtime1 from "vue/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/notification/useNotification.d.ts
|
|
5
5
|
|
|
6
|
-
declare function useNotification(notificationConfig?: NotificationConfig): readonly [NotificationInstance, () =>
|
|
6
|
+
declare function useNotification(notificationConfig?: NotificationConfig): readonly [NotificationInstance, () => vue_jsx_runtime1.JSX.Element];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { useNotification };
|
package/dist/package.d.ts
CHANGED
|
@@ -1,5 +1,111 @@
|
|
|
1
1
|
//#region package.d.ts
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const _exports: {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
version: string;
|
|
6
|
+
description: string;
|
|
7
|
+
author: {
|
|
8
|
+
email: string;
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
license: string;
|
|
12
|
+
exports: {
|
|
13
|
+
".": {
|
|
14
|
+
types: string;
|
|
15
|
+
import: string;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
"./dist/*": {
|
|
19
|
+
types: string;
|
|
20
|
+
import: string;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
"./dist/locale/*": {
|
|
24
|
+
types: string;
|
|
25
|
+
import: string;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
"./locale/*": {
|
|
29
|
+
types: string;
|
|
30
|
+
import: string;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
"./global.d.ts": string;
|
|
34
|
+
"./global": string;
|
|
35
|
+
"./dist/reset.css": string;
|
|
36
|
+
"./web-types.json": string;
|
|
37
|
+
"./web-tags.json": string;
|
|
38
|
+
"./package.json": string;
|
|
39
|
+
};
|
|
40
|
+
unpkg: string;
|
|
41
|
+
jsdelivr: string;
|
|
42
|
+
files: string[];
|
|
43
|
+
contributes: {
|
|
44
|
+
html: {
|
|
45
|
+
customData: string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
scripts: {
|
|
49
|
+
test: string;
|
|
50
|
+
build: string;
|
|
51
|
+
"build:esm": string;
|
|
52
|
+
"build:umd": string;
|
|
53
|
+
"build:web-types": string;
|
|
54
|
+
prepublish: string;
|
|
55
|
+
bump: string;
|
|
56
|
+
};
|
|
57
|
+
dependencies: {
|
|
58
|
+
"@ant-design/colors": string;
|
|
59
|
+
"@ant-design/fast-color": string;
|
|
60
|
+
"@antdv-next/cssinjs": string;
|
|
61
|
+
"@antdv-next/icons": string;
|
|
62
|
+
"@v-c/async-validator": string;
|
|
63
|
+
"@v-c/cascader": string;
|
|
64
|
+
"@v-c/checkbox": string;
|
|
65
|
+
"@v-c/collapse": string;
|
|
66
|
+
"@v-c/color-picker": string;
|
|
67
|
+
"@v-c/dialog": string;
|
|
68
|
+
"@v-c/drawer": string;
|
|
69
|
+
"@v-c/dropdown": string;
|
|
70
|
+
"@v-c/image": string;
|
|
71
|
+
"@v-c/input": string;
|
|
72
|
+
"@v-c/input-number": string;
|
|
73
|
+
"@v-c/mentions": string;
|
|
74
|
+
"@v-c/menu": string;
|
|
75
|
+
"@v-c/mutate-observer": string;
|
|
76
|
+
"@v-c/notification": string;
|
|
77
|
+
"@v-c/pagination": string;
|
|
78
|
+
"@v-c/picker": string;
|
|
79
|
+
"@v-c/progress": string;
|
|
80
|
+
"@v-c/qrcode": string;
|
|
81
|
+
"@v-c/rate": string;
|
|
82
|
+
"@v-c/resize-observer": string;
|
|
83
|
+
"@v-c/segmented": string;
|
|
84
|
+
"@v-c/select": string;
|
|
85
|
+
"@v-c/slick": string;
|
|
86
|
+
"@v-c/slider": string;
|
|
87
|
+
"@v-c/steps": string;
|
|
88
|
+
"@v-c/switch": string;
|
|
89
|
+
"@v-c/table": string;
|
|
90
|
+
"@v-c/tabs": string;
|
|
91
|
+
"@v-c/textarea": string;
|
|
92
|
+
"@v-c/tooltip": string;
|
|
93
|
+
"@v-c/tour": string;
|
|
94
|
+
"@v-c/tree": string;
|
|
95
|
+
"@v-c/tree-select": string;
|
|
96
|
+
"@v-c/trigger": string;
|
|
97
|
+
"@v-c/upload": string;
|
|
98
|
+
"@v-c/util": string;
|
|
99
|
+
"@v-c/virtual-list": string;
|
|
100
|
+
"@vueuse/core": string;
|
|
101
|
+
dayjs: string;
|
|
102
|
+
defu: string;
|
|
103
|
+
"es-toolkit": string;
|
|
104
|
+
"scroll-into-view-if-needed": string;
|
|
105
|
+
};
|
|
106
|
+
"web-types": string;
|
|
107
|
+
browserslist: string[];
|
|
108
|
+
};
|
|
109
|
+
declare let _version2: typeof _exports["version"];
|
|
4
110
|
//#endregion
|
|
5
|
-
export {
|
|
111
|
+
export { _version2 };
|
package/dist/package.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue363 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/pagination/Pagination.d.ts
|
|
6
|
-
declare const Pagination:
|
|
6
|
+
declare const Pagination: vue363.DefineSetupFnComponent<PaginationProps, PaginationEmits, SlotsType<PaginationSlots>, PaginationProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue363.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Pagination };
|
|
@@ -8,8 +8,8 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
|
8
8
|
import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
9
9
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
10
10
|
import useLocale_default from "../locale/useLocale.js";
|
|
11
|
-
import useBreakpoint_default from "../grid/hooks/useBreakpoint.js";
|
|
12
11
|
import select_default from "../select/index.js";
|
|
12
|
+
import useBreakpoint_default from "../grid/hooks/useBreakpoint.js";
|
|
13
13
|
import style_default from "./style/index.js";
|
|
14
14
|
import bordered_default from "./style/bordered.js";
|
|
15
15
|
import resolveShowSizeChanger from "./useShowSizeChanger.js";
|