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/tour/style/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { genFocusStyle, resetComponent } 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 { getArrowToken } from "../../style/roundedArrow.js";
|
|
5
5
|
import getArrowStyle, { MAX_VERTICAL_CONTENT_RADIUS, getArrowOffsetToken } from "../../style/placementArrow.js";
|
|
@@ -9,6 +9,7 @@ import { FastColor } from "@ant-design/fast-color";
|
|
|
9
9
|
//#region src/tour/style/index.ts
|
|
10
10
|
const genBaseStyle = (token) => {
|
|
11
11
|
const { componentCls, padding, paddingXS, borderRadius, borderRadiusXS, colorPrimary, colorFill, indicatorHeight, indicatorWidth, boxShadowTertiary, zIndexPopup, colorBgElevated, fontWeightStrong, marginXS, colorTextLightSolid, tourBorderRadius, colorWhite, primaryNextBtnHoverBg, closeBtnSize, motionDurationSlow, antCls, primaryPrevBtnBg } = token;
|
|
12
|
+
const [varName, varRef] = genCssVar(antCls, "tooltip");
|
|
12
13
|
return [{
|
|
13
14
|
[componentCls]: {
|
|
14
15
|
...resetComponent(token),
|
|
@@ -17,7 +18,7 @@ const genBaseStyle = (token) => {
|
|
|
17
18
|
"maxWidth": "fit-content",
|
|
18
19
|
"visibility": "visible",
|
|
19
20
|
"width": 520,
|
|
20
|
-
"
|
|
21
|
+
[varName("arrow-background-color")]: colorBgElevated,
|
|
21
22
|
"&-pure": {
|
|
22
23
|
maxWidth: "100%",
|
|
23
24
|
position: "relative"
|
|
@@ -94,7 +95,7 @@ const genBaseStyle = (token) => {
|
|
|
94
95
|
}
|
|
95
96
|
},
|
|
96
97
|
[`${componentCls}-primary, &${componentCls}-primary`]: {
|
|
97
|
-
"
|
|
98
|
+
[varName("arrow-background-color")]: colorPrimary,
|
|
98
99
|
[`${componentCls}-section`]: {
|
|
99
100
|
color: colorTextLightSolid,
|
|
100
101
|
textAlign: "start",
|
|
@@ -134,7 +135,7 @@ const genBaseStyle = (token) => {
|
|
|
134
135
|
"&-placement-rightTop",
|
|
135
136
|
"&-placement-rightBottom"
|
|
136
137
|
].join(",")]: { [`${componentCls}-section`]: { borderRadius: token.min(tourBorderRadius, MAX_VERTICAL_CONTENT_RADIUS) } }
|
|
137
|
-
}, getArrowStyle(token, "
|
|
138
|
+
}, getArrowStyle(token, varRef("arrow-background-color"))];
|
|
138
139
|
};
|
|
139
140
|
const prepareComponentToken = (token) => ({
|
|
140
141
|
zIndexPopup: token.zIndexPopupBase + 70,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { DirectionType } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue213 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/transfer/Actions.d.ts
|
|
@@ -16,6 +16,6 @@ interface TransferOperationProps {
|
|
|
16
16
|
direction?: DirectionType;
|
|
17
17
|
oneWay?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const Actions:
|
|
19
|
+
declare const Actions: vue213.DefineSetupFnComponent<TransferOperationProps, {}, {}, TransferOperationProps & {}, vue213.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Actions, TransferOperationProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyWiseTransferItem, TransferListProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue219 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/transfer/Section.d.ts
|
|
5
|
-
declare const TransferSection:
|
|
5
|
+
declare const TransferSection: vue219.DefineSetupFnComponent<TransferListProps<KeyWiseTransferItem>, {}, {}, TransferListProps<KeyWiseTransferItem> & {}, vue219.PublicProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TransferSection };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TransferEmits, TransferProps, TransferSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue217 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/Transfer.d.ts
|
|
6
|
-
declare const Transfer:
|
|
6
|
+
declare const Transfer: vue217.DefineSetupFnComponent<TransferProps<any>, TransferEmits, SlotsType<TransferSlots<any>>, TransferProps<any> & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue217.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Transfer };
|
|
@@ -8,9 +8,9 @@ import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
|
8
8
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
9
9
|
import en_US_default from "../locale/en_US.js";
|
|
10
10
|
import useLocale_default from "../locale/useLocale.js";
|
|
11
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
12
11
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
13
12
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
13
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
14
14
|
import Actions_default from "./Actions.js";
|
|
15
15
|
import { groupDisabledKeysMap, groupKeysMap } from "../_util/transKeys.js";
|
|
16
16
|
import Section_default from "./Section.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue215 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/search.d.ts
|
|
@@ -17,8 +17,8 @@ interface TransferSearchEmits {
|
|
|
17
17
|
interface TransferSearchSlots {
|
|
18
18
|
prefix?: () => VueNode;
|
|
19
19
|
}
|
|
20
|
-
declare const Search:
|
|
20
|
+
declare const Search: vue215.DefineSetupFnComponent<TransferSearchProps, TransferSearchEmits, SlotsType<TransferSearchSlots>, TransferSearchProps & {
|
|
21
21
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, vue215.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Search, TransferSearchEmits, TransferSearchProps, TransferSearchSlots };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TreeEmits, TreeProps as TreeProps$1, TreeSlots } from "./Tree.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue296 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { BasicDataNode, DataNode } from "@v-c/tree";
|
|
5
5
|
|
|
@@ -10,8 +10,8 @@ interface DirectoryTreeProps<T extends BasicDataNode = DataNode> extends TreePro
|
|
|
10
10
|
}
|
|
11
11
|
interface DirectoryTreeEmits extends TreeEmits {}
|
|
12
12
|
interface DirectoryTreeSlots extends TreeSlots {}
|
|
13
|
-
declare const DirectoryTree:
|
|
13
|
+
declare const DirectoryTree: vue296.DefineSetupFnComponent<DirectoryTreeProps<DataNode>, DirectoryTreeEmits, SlotsType<DirectoryTreeSlots>, DirectoryTreeProps<DataNode> & {
|
|
14
14
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
15
|
-
},
|
|
15
|
+
}, vue296.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DirectoryTree, DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction };
|
package/dist/tree/Tree.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue294 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
import { BasicDataNode, DataNode, TreeProps } from "@v-c/tree";
|
|
7
7
|
import { Key } from "@v-c/util/dist/type";
|
|
@@ -166,8 +166,8 @@ interface TreeSlots {
|
|
|
166
166
|
icon: (props: AntdTreeNodeAttribute) => any;
|
|
167
167
|
titleRender: TreeProps['titleRender'];
|
|
168
168
|
}
|
|
169
|
-
declare const Tree:
|
|
169
|
+
declare const Tree: vue294.DefineSetupFnComponent<TreeProps$1<DataNode>, TreeEmits, SlotsType<TreeSlots>, TreeProps$1<DataNode> & {
|
|
170
170
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
171
|
-
},
|
|
171
|
+
}, vue294.PublicProps>;
|
|
172
172
|
//#endregion
|
|
173
173
|
export { AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, SwitcherIcon, Tree, TreeEmits, TreeProps$1 as TreeProps, TreeSlots };
|
|
@@ -7,7 +7,7 @@ import { SelectCommonPlacement } from "../_util/motion.js";
|
|
|
7
7
|
import { SwitcherIcon, TreeProps } from "../tree/Tree.js";
|
|
8
8
|
import "../tree/index.js";
|
|
9
9
|
import { Variant } from "../config-provider/context.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue165 from "vue";
|
|
11
11
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
12
12
|
import { DataNode, SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeNode, TreeSelectProps } from "@v-c/tree-select";
|
|
13
13
|
|
|
@@ -83,9 +83,9 @@ interface TreeSelectSlots {
|
|
|
83
83
|
switcherIcon?: () => any;
|
|
84
84
|
treeTitleRender?: (nodeData: DataNode) => any;
|
|
85
85
|
}
|
|
86
|
-
declare const InternalTreeSelect:
|
|
86
|
+
declare const InternalTreeSelect: vue165.DefineSetupFnComponent<TreeSelectProps$1<any, DataNode>, TreeSelectEmits, SlotsType<TreeSelectSlots>, TreeSelectProps$1<any, DataNode> & {
|
|
87
87
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
88
|
-
},
|
|
88
|
+
}, vue165.PublicProps>;
|
|
89
89
|
declare const TreeSelect: typeof InternalTreeSelect & {
|
|
90
90
|
install: (app: App) => void;
|
|
91
91
|
TreeNode: typeof TreeNode;
|
|
@@ -93,6 +93,6 @@ declare const TreeSelect: typeof InternalTreeSelect & {
|
|
|
93
93
|
SHOW_PARENT: typeof SHOW_PARENT;
|
|
94
94
|
SHOW_CHILD: typeof SHOW_CHILD;
|
|
95
95
|
};
|
|
96
|
-
declare const TreeSelectNode:
|
|
96
|
+
declare const TreeSelectNode: vue165.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any>, vue165.PublicProps>;
|
|
97
97
|
//#endregion
|
|
98
98
|
export { TreeSelect, TreeSelectEmits, TreeSelectNode, TreeSelectProps$1 as TreeSelectProps, TreeSelectSlots };
|
|
@@ -10,9 +10,9 @@ import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
|
10
10
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
11
11
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
12
12
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
13
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
14
13
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
15
14
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
15
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
16
16
|
import useVariant from "../form/hooks/useVariant.js";
|
|
17
17
|
import mergedBuiltinPlacements_default from "../select/mergedBuiltinPlacements.js";
|
|
18
18
|
import style_default from "../select/style/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue418 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Link.d.ts
|
|
@@ -9,8 +9,8 @@ interface LinkProps extends BlockProps {
|
|
|
9
9
|
target?: string;
|
|
10
10
|
rel?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const Link:
|
|
12
|
+
declare const Link: vue418.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, SlotsType<TypographySlots>, LinkProps & {
|
|
13
13
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
14
|
-
},
|
|
14
|
+
}, vue418.PublicProps>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Link, LinkProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue416 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Paragraph.d.ts
|
|
6
6
|
interface ParagraphProps extends BlockProps {}
|
|
7
|
-
declare const Paragraph:
|
|
7
|
+
declare const Paragraph: vue416.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, SlotsType<TypographySlots>, ParagraphProps & {
|
|
8
8
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
9
|
-
},
|
|
9
|
+
}, vue416.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Paragraph, ParagraphProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BlockProps, EllipsisConfig, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue412 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Text.d.ts
|
|
6
6
|
interface TextProps extends BlockProps {
|
|
7
7
|
ellipsis?: boolean | Omit<EllipsisConfig, 'expandable' | 'rows' | 'onExpand'>;
|
|
8
8
|
}
|
|
9
|
-
declare const Text$1:
|
|
9
|
+
declare const Text$1: vue412.DefineSetupFnComponent<TextProps, TypographyBaseEmits, SlotsType<TypographySlots>, TextProps & {
|
|
10
10
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
11
|
-
},
|
|
11
|
+
}, vue412.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Text$1 as Text, TextProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue420 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Title.d.ts
|
|
@@ -7,8 +7,8 @@ declare const TITLE_ELE_LIST: readonly [1, 2, 3, 4, 5];
|
|
|
7
7
|
interface TitleProps extends Omit<BlockProps, 'strong'> {
|
|
8
8
|
level?: (typeof TITLE_ELE_LIST)[number];
|
|
9
9
|
}
|
|
10
|
-
declare const Title:
|
|
10
|
+
declare const Title: vue420.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, SlotsType<TypographySlots>, TitleProps & {
|
|
11
11
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
12
|
-
},
|
|
12
|
+
}, vue420.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Title, TitleProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { TypographyBaseProps, TypographySlots } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue414 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/typography/Typography.d.ts
|
|
7
|
-
declare const Typography:
|
|
7
|
+
declare const Typography: vue414.DefineSetupFnComponent<TypographyBaseProps, EmptyEmit, SlotsType<TypographySlots>, TypographyBaseProps & {
|
|
8
8
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
9
|
-
},
|
|
9
|
+
}, vue414.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Typography };
|
|
@@ -4,22 +4,22 @@ import { Link, LinkProps } from "./Link.js";
|
|
|
4
4
|
import { Title, TitleProps } from "./Title.js";
|
|
5
5
|
import { Paragraph, ParagraphProps } from "./Paragraph.js";
|
|
6
6
|
import { Typography } from "./Typography.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue171 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/typography/index.d.ts
|
|
10
10
|
|
|
11
|
-
declare const TypographyText:
|
|
11
|
+
declare const TypographyText: vue171.DefineSetupFnComponent<TextProps, TypographyBaseEmits, vue171.SlotsType<TypographySlots>, TextProps & {
|
|
12
12
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
13
|
-
},
|
|
14
|
-
declare const TypographyLink:
|
|
13
|
+
}, vue171.PublicProps>;
|
|
14
|
+
declare const TypographyLink: vue171.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, vue171.SlotsType<TypographySlots>, LinkProps & {
|
|
15
15
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
16
|
-
},
|
|
17
|
-
declare const TypographyTitle:
|
|
16
|
+
}, vue171.PublicProps>;
|
|
17
|
+
declare const TypographyTitle: vue171.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, vue171.SlotsType<TypographySlots>, TitleProps & {
|
|
18
18
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
19
|
-
},
|
|
20
|
-
declare const TypographyParagraph:
|
|
19
|
+
}, vue171.PublicProps>;
|
|
20
|
+
declare const TypographyParagraph: vue171.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, vue171.SlotsType<TypographySlots>, ParagraphProps & {
|
|
21
21
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, vue171.PublicProps>;
|
|
23
23
|
declare const Typography$1: typeof Typography & {
|
|
24
24
|
Text: typeof Text$1;
|
|
25
25
|
Link: typeof Link;
|
package/dist/upload/Dragger.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
import { EmptyEmit } from "../_util/type.js";
|
|
1
2
|
import { UploadProps, UploadSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
3
|
+
import * as vue340 from "vue";
|
|
3
4
|
import { SlotsType } from "vue";
|
|
4
5
|
|
|
5
6
|
//#region src/upload/Dragger.d.ts
|
|
6
7
|
type DraggerProps<T = any> = UploadProps<T> & {
|
|
7
8
|
height?: number;
|
|
8
9
|
};
|
|
9
|
-
declare const Dragger:
|
|
10
|
+
declare const Dragger: vue340.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
10
11
|
height?: number;
|
|
11
|
-
} & {
|
|
12
|
+
} & {
|
|
13
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}, vue340.PublicProps>;
|
|
12
15
|
//#endregion
|
|
13
16
|
export { Dragger, DraggerProps };
|
package/dist/upload/Upload.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UploadEmits, UploadProps, UploadSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue338 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import "@v-c/upload";
|
|
5
5
|
|
|
6
6
|
//#region src/upload/Upload.d.ts
|
|
7
7
|
|
|
8
|
-
declare const InternalUpload:
|
|
8
|
+
declare const InternalUpload: vue338.DefineSetupFnComponent<UploadProps<any>, UploadEmits<any>, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
9
9
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
10
|
-
},
|
|
10
|
+
}, vue338.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { InternalUpload };
|
package/dist/upload/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { EmptyEmit } from "../_util/type.js";
|
|
1
2
|
import { UploadChangeParam, UploadEmits, UploadFile, UploadProps, UploadSlots } from "./interface.js";
|
|
2
3
|
import { Dragger, DraggerProps } from "./Dragger.js";
|
|
3
4
|
import { InternalUpload } from "./Upload.js";
|
|
4
|
-
import * as
|
|
5
|
+
import * as vue183 from "vue";
|
|
5
6
|
import { App } from "vue";
|
|
6
7
|
|
|
7
8
|
//#region src/upload/index.d.ts
|
|
@@ -10,8 +11,10 @@ declare const Upload: typeof InternalUpload & {
|
|
|
10
11
|
Dragger: typeof Dragger;
|
|
11
12
|
LIST_IGNORE: string;
|
|
12
13
|
};
|
|
13
|
-
declare const UploadDragger:
|
|
14
|
+
declare const UploadDragger: vue183.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, vue183.SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
14
15
|
height?: number;
|
|
15
|
-
} & {
|
|
16
|
+
} & {
|
|
17
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}, vue183.PublicProps>;
|
|
16
19
|
//#endregion
|
|
17
20
|
export { Upload, UploadDragger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue63 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/watermark/index.d.ts
|
|
4
4
|
interface WatermarkProps {
|
|
@@ -21,6 +21,6 @@ interface WatermarkProps {
|
|
|
21
21
|
offset?: [number, number];
|
|
22
22
|
inherit?: boolean;
|
|
23
23
|
}
|
|
24
|
-
declare const Watermark:
|
|
24
|
+
declare const Watermark: vue63.DefineSetupFnComponent<WatermarkProps, {}, {}, WatermarkProps & {}, vue63.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Watermark, WatermarkProps };
|
package/global.d.ts
CHANGED
|
@@ -113,5 +113,7 @@ declare module 'vue' {
|
|
|
113
113
|
ARangePicker: typeof import('antdv-next')['DateRangePicker']
|
|
114
114
|
ATimePicker: typeof import('antdv-next')['TimePicker']
|
|
115
115
|
ATimeRangePicker: typeof import('antdv-next')['TimeRangePicker']
|
|
116
|
+
AAutoComplete: typeof import('antdv-next')['AutoComplete']
|
|
117
|
+
AAutoCompleteOption: typeof import('antdv-next')['AutoCompleteOption']
|
|
116
118
|
}
|
|
117
119
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antdv-next",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.5",
|
|
5
5
|
"description": "Ant Design Vue3 Component Library",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "aibayanyu@gamil.com",
|
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
"./global.d.ts": "./global.d.ts",
|
|
33
33
|
"./global": "./global.d.ts",
|
|
34
34
|
"./dist/reset.css": "./dist/reset.css",
|
|
35
|
+
"./web-types.json": "./web-types.json",
|
|
36
|
+
"./web-tags.json": "./web-tags.json",
|
|
35
37
|
"./package.json": "./package.json"
|
|
36
38
|
},
|
|
37
39
|
"unpkg": "dist/antd.js",
|
|
@@ -39,8 +41,17 @@
|
|
|
39
41
|
"files": [
|
|
40
42
|
"dist",
|
|
41
43
|
"global.d.ts",
|
|
42
|
-
"package.json"
|
|
44
|
+
"package.json",
|
|
45
|
+
"web-tags.json",
|
|
46
|
+
"web-types.json"
|
|
43
47
|
],
|
|
48
|
+
"contributes": {
|
|
49
|
+
"html": {
|
|
50
|
+
"customData": [
|
|
51
|
+
"./web-tags.json"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
44
55
|
"dependencies": {
|
|
45
56
|
"@ant-design/colors": "7.2.1",
|
|
46
57
|
"@ant-design/fast-color": "^3.0.0",
|
|
@@ -66,7 +77,7 @@
|
|
|
66
77
|
"@v-c/rate": "^0.0.2",
|
|
67
78
|
"@v-c/resize-observer": "^1.0.2",
|
|
68
79
|
"@v-c/segmented": "^0.0.8",
|
|
69
|
-
"@v-c/select": "^1.0.
|
|
80
|
+
"@v-c/select": "^1.0.5",
|
|
70
81
|
"@v-c/slick": "^0.0.1",
|
|
71
82
|
"@v-c/slider": "^1.0.8",
|
|
72
83
|
"@v-c/steps": "^0.0.1",
|
|
@@ -90,11 +101,18 @@
|
|
|
90
101
|
"@antdv-next/cssinjs": "^1.0.0-alpha.3",
|
|
91
102
|
"@antdv-next/icons": "^1.0.0-alpha.1"
|
|
92
103
|
},
|
|
104
|
+
"web-types": "web-types.json",
|
|
105
|
+
"browserslist": [
|
|
106
|
+
"> 1%",
|
|
107
|
+
"not ie 11",
|
|
108
|
+
"not op_mini all"
|
|
109
|
+
],
|
|
93
110
|
"scripts": {
|
|
94
111
|
"test": "vitest run",
|
|
95
|
-
"build": "run-s build:esm build:umd",
|
|
112
|
+
"build": "run-s build:esm build:umd build:web-types",
|
|
96
113
|
"build:esm": "tsdown",
|
|
97
114
|
"build:umd": "vite build",
|
|
115
|
+
"build:web-types": "esno ./scripts/web-types/index.ts",
|
|
98
116
|
"prepublish": "pnpm build",
|
|
99
117
|
"bump": "bumpp --commit \"chore(release): antdv-next %s\" --push --tag \"antdv-next@%s\""
|
|
100
118
|
}
|