antdv-next 1.0.0-alpha.3 → 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/ActionButton.js +22 -10
- package/dist/_util/ContextIsolator.js +4 -2
- package/dist/_util/tools.js +2 -1
- package/dist/_util/wave/WaveEffect.js +6 -1
- package/dist/_util/wave/index.js +6 -3
- package/dist/_util/wave/style.js +4 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/index.js +14 -6
- package/dist/alert/Alert.d.ts +4 -3
- package/dist/alert/Alert.js +52 -26
- package/dist/anchor/Anchor.d.ts +5 -5
- package/dist/anchor/Anchor.js +28 -14
- package/dist/anchor/AnchorLink.js +14 -8
- package/dist/anchor/index.d.ts +1 -1
- package/dist/antd.js +86 -86
- package/dist/app/App.d.ts +2 -2
- package/dist/app/App.js +12 -5
- 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/Avatar.js +24 -12
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/AvatarGroup.js +10 -5
- package/dist/badge/Ribbon.d.ts +3 -3
- package/dist/badge/Ribbon.js +14 -6
- package/dist/badge/ScrollNumber.js +10 -5
- package/dist/badge/SingleNumber.js +6 -3
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/index.js +32 -15
- package/dist/breadcrumb/Breadcrumb.d.ts +5 -5
- package/dist/breadcrumb/Breadcrumb.js +24 -19
- package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.js +33 -33
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/button/Button.d.ts +3 -3
- package/dist/button/Button.js +46 -22
- package/dist/button/DefaultLoadingIcon.js +12 -6
- package/dist/button/IconWrapper.js +2 -1
- package/dist/button/style/variant.js +116 -104
- package/dist/calendar/Header.js +81 -37
- package/dist/calendar/generateCalendar.js +44 -19
- package/dist/calendar/index.d.ts +3 -3
- package/dist/card/Card.d.ts +3 -3
- package/dist/card/Card.js +50 -25
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardGrid.js +4 -2
- package/dist/card/CardMeta.d.ts +3 -3
- package/dist/card/CardMeta.js +12 -6
- package/dist/carousel/index.d.ts +3 -3
- package/dist/carousel/index.js +112 -56
- package/dist/cascader/Panel.d.ts +3 -3
- package/dist/cascader/Panel.js +44 -17
- package/dist/cascader/index.d.ts +3 -3
- package/dist/cascader/index.js +175 -82
- package/dist/checkbox/Checkbox.d.ts +3 -3
- package/dist/checkbox/Checkbox.js +36 -17
- package/dist/checkbox/Group.d.ts +3 -3
- package/dist/checkbox/Group.js +16 -8
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/collapse/Collapse.js +34 -17
- package/dist/color-picker/ColorPicker.d.ts +4 -4
- package/dist/color-picker/ColorPicker.js +58 -28
- package/dist/color-picker/ColorPickerPanel.js +74 -35
- package/dist/color-picker/components/ColorAlphaInput.js +6 -3
- package/dist/color-picker/components/ColorClear.js +8 -4
- package/dist/color-picker/components/ColorHexInput.js +6 -3
- package/dist/color-picker/components/ColorHsbInput.js +6 -3
- package/dist/color-picker/components/ColorInput.js +16 -7
- package/dist/color-picker/components/ColorPresets.js +8 -4
- package/dist/color-picker/components/ColorRgbInput.js +6 -3
- package/dist/color-picker/components/ColorSlider.js +58 -27
- package/dist/color-picker/components/ColorSteppers.js +14 -7
- package/dist/color-picker/components/ColorTrigger.js +20 -9
- package/dist/color-picker/components/PanelPicker/GradientColorBar.js +40 -19
- package/dist/components.d.ts +3 -2
- package/dist/components.js +7 -4
- package/dist/config-provider/SizeContext.js +2 -1
- package/dist/config-provider/context.js +2 -2
- package/dist/config-provider/defaultRenderEmpty.js +2 -1
- package/dist/config-provider/index.d.ts +3 -3
- package/dist/config-provider/index.js +304 -152
- package/dist/date-picker/PickerButton.js +46 -22
- package/dist/date-picker/generatePicker/SuffixIcon.js +8 -4
- package/dist/date-picker/generatePicker/generateRangePicker.js +555 -257
- package/dist/date-picker/generatePicker/generateSinglePicker.js +559 -257
- package/dist/date-picker/generatePicker/index.d.ts +15 -15
- package/dist/date-picker/index.d.ts +25 -25
- package/dist/descriptions/Cell.js +20 -10
- package/dist/descriptions/Row.js +16 -8
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/descriptions/index.js +30 -15
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/index.js +26 -13
- package/dist/drawer/DrawerPanel.js +38 -18
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +130 -62
- package/dist/dropdown/dropdown.d.ts +4 -4
- package/dist/dropdown/dropdown.js +47 -24
- package/dist/empty/index.d.ts +3 -3
- package/dist/empty/index.js +12 -6
- package/dist/flex/index.d.ts +3 -3
- package/dist/flex/index.js +28 -9
- package/dist/float-button/BackTop.d.ts +3 -3
- package/dist/float-button/BackTop.js +36 -18
- package/dist/float-button/FloatButton.d.ts +3 -3
- package/dist/float-button/FloatButton.js +32 -16
- package/dist/float-button/FloatButtonGroup.d.ts +3 -3
- package/dist/float-button/FloatButtonGroup.js +42 -21
- package/dist/float-button/PurePanel.js +78 -39
- package/dist/float-button/style/button.js +4 -4
- package/dist/float-button/style/group.js +12 -12
- package/dist/form/ErrorList.js +12 -6
- package/dist/form/Form.d.ts +3 -3
- package/dist/form/Form.js +48 -24
- package/dist/form/FormItem/ItemHolder.js +66 -33
- package/dist/form/FormItem/StatusProvider.js +18 -8
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/FormItem/index.js +56 -28
- package/dist/form/FormItemInput.js +24 -12
- package/dist/form/FormItemLabel.js +20 -10
- package/dist/form/context.js +10 -5
- package/dist/form/style/index.js +3 -2
- package/dist/grid/col.js +26 -13
- package/dist/grid/row.js +10 -5
- package/dist/grid/style/index.js +5 -4
- package/dist/image/PreviewGroup.d.ts +2 -2
- package/dist/image/PreviewGroup.js +20 -9
- package/dist/image/index.d.ts +4 -4
- package/dist/image/index.js +24 -12
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/input/Group.js +6 -3
- package/dist/input/Input.js +71 -30
- package/dist/input/OTP/OTPInput.js +76 -33
- package/dist/input/OTP/index.js +37 -18
- package/dist/input/Password.js +76 -33
- package/dist/input/Search.js +80 -33
- package/dist/input/TextArea.d.ts +3 -3
- package/dist/input/TextArea.js +59 -26
- package/dist/input/index.d.ts +11 -11
- package/dist/input-number/index.d.ts +3 -3
- package/dist/input-number/index.js +89 -38
- package/dist/input-number/style/index.js +18 -17
- package/dist/layout/Sider.js +20 -10
- package/dist/layout/index.d.ts +6 -6
- package/dist/layout/layout.d.ts +2 -2
- package/dist/layout/layout.js +28 -14
- package/dist/locale/index.js +4 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/Masonry.js +28 -15
- package/dist/masonry/MasonryItem.js +18 -8
- package/dist/mentions/index.d.ts +3 -3
- package/dist/mentions/index.js +63 -29
- package/dist/mentions/style/index.js +18 -17
- package/dist/menu/MenuContext.js +2 -1
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuDivider.js +4 -2
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/MenuItem.js +38 -19
- package/dist/menu/OverrideContext.js +2 -1
- package/dist/menu/SubMenu.d.ts +3 -3
- package/dist/menu/SubMenu.js +40 -19
- package/dist/menu/index.d.ts +5 -5
- package/dist/menu/index.js +84 -37
- package/dist/menu/menu.js +88 -39
- package/dist/message/PurePanel.d.ts +2 -2
- package/dist/message/PurePanel.js +42 -20
- package/dist/message/index.js +6 -3
- package/dist/message/useMessage.js +26 -12
- package/dist/modal/ConfirmDialog.js +392 -184
- package/dist/modal/Modal.d.ts +3 -3
- package/dist/modal/Modal.js +102 -47
- package/dist/modal/confirm.js +116 -54
- package/dist/modal/shared.js +18 -9
- package/dist/modal/useModal/HookModal.js +8 -4
- package/dist/notification/PurePanel.d.ts +2 -2
- package/dist/notification/PurePanel.js +56 -27
- package/dist/notification/index.js +6 -3
- package/dist/notification/useNotification.js +34 -16
- 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 +69 -34
- package/dist/pagination/style/index.js +61 -50
- package/dist/popconfirm/PurePanel.d.ts +2 -2
- package/dist/popconfirm/PurePanel.js +68 -34
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popconfirm/index.js +76 -35
- package/dist/popover/PurePanel.js +132 -60
- package/dist/popover/index.d.ts +3 -3
- package/dist/popover/index.js +60 -27
- package/dist/popover/style/index.js +11 -8
- package/dist/progress/Circle.js +52 -26
- package/dist/progress/Line.js +52 -26
- package/dist/progress/Steps.js +50 -25
- package/dist/progress/progress.d.ts +3 -3
- package/dist/progress/progress.js +50 -25
- package/dist/qrcode/QrcodeStatus.js +12 -5
- package/dist/qrcode/index.d.ts +3 -3
- package/dist/qrcode/index.js +48 -23
- package/dist/radio/group.js +34 -15
- package/dist/radio/index.d.ts +5 -5
- package/dist/radio/radio.d.ts +3 -3
- package/dist/radio/radio.js +36 -17
- package/dist/radio/radioButton.js +30 -14
- package/dist/rate/index.d.ts +3 -3
- package/dist/rate/index.js +34 -17
- package/dist/result/index.d.ts +3 -3
- package/dist/result/index.js +28 -12
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +3 -3
- package/dist/segmented/index.js +36 -18
- package/dist/select/index.d.ts +6 -6
- package/dist/select/index.js +150 -74
- package/dist/select/style/select-input-multiple.js +31 -29
- package/dist/select/style/select-input.js +50 -44
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Avatar.js +10 -5
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Button.js +12 -6
- package/dist/skeleton/Element.js +10 -5
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Image.js +6 -3
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Input.js +10 -5
- package/dist/skeleton/Node.d.ts +3 -3
- package/dist/skeleton/Node.js +8 -4
- package/dist/skeleton/Paragraph.js +8 -4
- package/dist/skeleton/Skeleton.d.ts +3 -3
- package/dist/skeleton/Skeleton.js +20 -10
- package/dist/skeleton/Title.js +8 -4
- package/dist/slider/SliderTooltip.js +62 -28
- package/dist/slider/index.d.ts +3 -3
- package/dist/slider/index.js +60 -29
- package/dist/space/Addon.js +8 -4
- package/dist/space/Compact.d.ts +2 -0
- package/dist/space/Compact.js +37 -15
- package/dist/space/Item.js +8 -4
- package/dist/space/index.d.ts +5 -5
- package/dist/space/index.js +23 -12
- package/dist/space/style/addon.js +20 -19
- package/dist/space/style/compact.js +20 -0
- package/dist/spin/Indicator/Looper.js +4 -2
- package/dist/spin/Indicator/Progress.js +8 -4
- package/dist/spin/Indicator/index.js +6 -3
- package/dist/spin/index.d.ts +3 -3
- package/dist/spin/index.js +24 -12
- package/dist/splitter/Panel.js +18 -9
- package/dist/splitter/SplitBar.js +53 -24
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/Splitter.js +22 -11
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.js +6 -6
- package/dist/statistic/Number.js +12 -6
- package/dist/statistic/Statistic.d.ts +3 -3
- package/dist/statistic/Statistic.js +30 -15
- package/dist/statistic/Timer.d.ts +5 -5
- package/dist/statistic/Timer.js +34 -17
- package/dist/statistic/index.d.ts +5 -5
- package/dist/steps/PanelArrow.js +2 -1
- package/dist/steps/ProgressIcon.js +13 -4
- package/dist/steps/index.d.ts +3 -3
- package/dist/steps/index.js +51 -26
- 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/switch/index.js +34 -17
- package/dist/table/Column.d.ts +3 -3
- package/dist/table/Column.js +86 -41
- package/dist/table/ColumnGroup.d.ts +3 -3
- package/dist/table/ColumnGroup.js +84 -41
- package/dist/table/InternalTable.js +107 -53
- package/dist/table/Table.d.ts +3 -3
- package/dist/table/Table.js +104 -51
- package/dist/table/hooks/useFilter/FilterDropdown.js +39 -19
- package/dist/table/hooks/useFilter/FilterWrapper.js +4 -2
- package/dist/tabs/TabPane.d.ts +3 -3
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tabs/index.js +62 -31
- package/dist/tag/CheckableTag.d.ts +3 -3
- package/dist/tag/CheckableTag.js +10 -5
- package/dist/tag/CheckableTagGroup.d.ts +3 -3
- package/dist/tag/CheckableTagGroup.js +28 -12
- package/dist/tag/index.d.ts +3 -3
- package/dist/tag/index.js +30 -14
- 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/time-picker/index.js +1106 -509
- package/dist/timeline/Timeline.d.ts +3 -3
- package/dist/timeline/Timeline.js +20 -10
- package/dist/timeline/TimelineItem.js +22 -10
- package/dist/timeline/TimelineItemList.js +24 -12
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/PurePanel.js +61 -29
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/index.js +62 -30
- 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/index.js +52 -25
- package/dist/tour/panelRender.js +18 -9
- package/dist/tour/style/index.js +5 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Actions.js +36 -18
- package/dist/transfer/ListBody.js +76 -38
- package/dist/transfer/ListItem.js +22 -11
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Section.js +76 -38
- package/dist/transfer/Transfer.d.ts +3 -3
- package/dist/transfer/Transfer.js +53 -27
- package/dist/transfer/search.js +8 -4
- package/dist/tree/DirectoryTree.d.ts +3 -3
- package/dist/tree/DirectoryTree.js +90 -45
- package/dist/tree/Tree.d.ts +3 -3
- package/dist/tree/Tree.js +90 -45
- package/dist/tree/utils/iconUtil.js +10 -5
- package/dist/tree-select/index.d.ts +4 -4
- package/dist/tree-select/index.js +195 -95
- package/dist/typography/Base/CopyBtn.js +24 -12
- package/dist/typography/Base/Ellipsis.js +16 -8
- package/dist/typography/Base/EllipsisTooltip.js +6 -3
- package/dist/typography/Base/index.js +42 -20
- package/dist/typography/Editable.js +28 -13
- package/dist/typography/Link.d.ts +3 -3
- package/dist/typography/Link.js +48 -23
- package/dist/typography/Paragraph.d.ts +3 -3
- package/dist/typography/Paragraph.js +42 -20
- package/dist/typography/Text.js +42 -20
- package/dist/typography/Title.d.ts +3 -3
- package/dist/typography/Title.js +42 -20
- package/dist/typography/Typography.d.ts +3 -3
- package/dist/typography/Typography.js +16 -7
- package/dist/typography/index.d.ts +9 -9
- package/dist/upload/Dragger.d.ts +6 -3
- package/dist/upload/Dragger.js +76 -38
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/Upload.js +74 -37
- package/dist/upload/UploadList/ListItem.js +44 -22
- package/dist/upload/UploadList/index.js +50 -24
- package/dist/upload/index.d.ts +6 -3
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +22 -11
- package/global.d.ts +2 -0
- package/package.json +22 -4
- package/web-tags.json +4524 -0
- package/web-types.json +12779 -0
|
@@ -84,40 +84,52 @@ const ActionButton = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
84
84
|
props: {
|
|
85
85
|
type: {
|
|
86
86
|
type: String,
|
|
87
|
-
required: false
|
|
87
|
+
required: false,
|
|
88
|
+
default: void 0
|
|
88
89
|
},
|
|
89
90
|
actionFn: {
|
|
90
91
|
type: Function,
|
|
91
|
-
required: false
|
|
92
|
+
required: false,
|
|
93
|
+
default: void 0
|
|
92
94
|
},
|
|
93
95
|
close: {
|
|
94
96
|
type: Function,
|
|
95
|
-
required: false
|
|
97
|
+
required: false,
|
|
98
|
+
default: void 0
|
|
96
99
|
},
|
|
97
100
|
autoFocus: {
|
|
98
101
|
type: Boolean,
|
|
99
|
-
required: false
|
|
102
|
+
required: false,
|
|
103
|
+
default: void 0
|
|
100
104
|
},
|
|
101
105
|
prefixCls: {
|
|
102
106
|
type: String,
|
|
103
|
-
required: true
|
|
107
|
+
required: true,
|
|
108
|
+
default: void 0
|
|
104
109
|
},
|
|
105
110
|
buttonProps: {
|
|
106
111
|
type: Object,
|
|
107
|
-
required: false
|
|
112
|
+
required: false,
|
|
113
|
+
default: void 0
|
|
108
114
|
},
|
|
109
115
|
emitEvent: {
|
|
110
116
|
type: Boolean,
|
|
111
|
-
required: false
|
|
117
|
+
required: false,
|
|
118
|
+
default: void 0
|
|
112
119
|
},
|
|
113
120
|
quitOnNullishReturnValue: {
|
|
114
121
|
type: Boolean,
|
|
115
|
-
required: false
|
|
122
|
+
required: false,
|
|
123
|
+
default: void 0
|
|
124
|
+
},
|
|
125
|
+
children: {
|
|
126
|
+
required: false,
|
|
127
|
+
default: void 0
|
|
116
128
|
},
|
|
117
|
-
children: { required: false },
|
|
118
129
|
isSilent: {
|
|
119
130
|
type: Function,
|
|
120
|
-
required: false
|
|
131
|
+
required: false,
|
|
132
|
+
default: void 0
|
|
121
133
|
}
|
|
122
134
|
},
|
|
123
135
|
name: "AActionButton",
|
|
@@ -24,11 +24,13 @@ const ContextIsolator = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
24
24
|
}, { props: {
|
|
25
25
|
space: {
|
|
26
26
|
type: Boolean,
|
|
27
|
-
required: false
|
|
27
|
+
required: false,
|
|
28
|
+
default: void 0
|
|
28
29
|
},
|
|
29
30
|
form: {
|
|
30
31
|
type: Boolean,
|
|
31
|
-
required: false
|
|
32
|
+
required: false,
|
|
33
|
+
default: void 0
|
|
32
34
|
}
|
|
33
35
|
} });
|
|
34
36
|
|
package/dist/_util/tools.js
CHANGED
|
@@ -13,7 +13,8 @@ function getSlotPropsFnRun(slots, props, key, isNull = true, params) {
|
|
|
13
13
|
if (typeof fn === "function") {
|
|
14
14
|
let node = fn?.(params);
|
|
15
15
|
if (!Array.isArray(node)) node = [node];
|
|
16
|
-
|
|
16
|
+
if (node && node.length === 1 && node[0] === null) return null;
|
|
17
|
+
const nodes = filterEmpty(node).filter((node$1) => node$1 !== void 0 && node$1 !== null);
|
|
17
18
|
if (nodes.length) {
|
|
18
19
|
if (nodes.length === 1) return nodes[0];
|
|
19
20
|
return nodes;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { useConfig } from "../../config-provider/context.js";
|
|
2
|
+
import { genCssVar } from "../../theme/util/genStyleUtils.js";
|
|
1
3
|
import { TARGET_CLS } from "./interface.js";
|
|
2
4
|
import { getTargetWaveColor } from "./util.js";
|
|
3
5
|
import { computed, createVNode, defineComponent, nextTick, onBeforeUnmount, onMounted, ref, render, shallowRef, watch } from "vue";
|
|
@@ -31,6 +33,9 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
31
33
|
},
|
|
32
34
|
emits: ["finish"],
|
|
33
35
|
setup(props, { emit }) {
|
|
36
|
+
const configCtx = useConfig();
|
|
37
|
+
const rootPrefixCls = computed(() => configCtx.value.getPrefixCls());
|
|
38
|
+
const waveVarName = computed(() => genCssVar(rootPrefixCls.value, "wave")[0]);
|
|
34
39
|
const divRef = shallowRef();
|
|
35
40
|
const waveColor = ref(null);
|
|
36
41
|
const borderRadius = ref([
|
|
@@ -53,7 +58,7 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
53
58
|
height: `${height.value}px`,
|
|
54
59
|
borderRadius: borderRadius.value.map((radius) => `${radius}px`).join(" ")
|
|
55
60
|
};
|
|
56
|
-
if (waveColor.value) style["
|
|
61
|
+
if (waveColor.value) style[waveVarName.value("color")] = waveColor.value;
|
|
57
62
|
return style;
|
|
58
63
|
});
|
|
59
64
|
const isSmallComponent = computed(() => {
|
package/dist/_util/wave/index.js
CHANGED
|
@@ -65,15 +65,18 @@ var wave_default = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
65
65
|
}, { props: {
|
|
66
66
|
disabled: {
|
|
67
67
|
type: Boolean,
|
|
68
|
-
required: false
|
|
68
|
+
required: false,
|
|
69
|
+
default: void 0
|
|
69
70
|
},
|
|
70
71
|
component: {
|
|
71
72
|
type: String,
|
|
72
|
-
required: false
|
|
73
|
+
required: false,
|
|
74
|
+
default: void 0
|
|
73
75
|
},
|
|
74
76
|
colorSource: {
|
|
75
77
|
type: [String, null],
|
|
76
|
-
required: false
|
|
78
|
+
required: false,
|
|
79
|
+
default: void 0
|
|
77
80
|
}
|
|
78
81
|
} });
|
|
79
82
|
|
package/dist/_util/wave/style.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { genComponentStyleHook } from "../../theme/util/genStyleUtils.js";
|
|
1
|
+
import { genComponentStyleHook, genCssVar } from "../../theme/util/genStyleUtils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/wave/style.ts
|
|
5
5
|
const genWaveStyle = (token) => {
|
|
6
|
-
const { componentCls, colorPrimary } = token;
|
|
6
|
+
const { componentCls, colorPrimary, antCls } = token;
|
|
7
|
+
const [, varRef] = genCssVar(antCls, "wave");
|
|
7
8
|
return { [componentCls]: {
|
|
8
9
|
"position": "absolute",
|
|
9
10
|
"background": "transparent",
|
|
10
11
|
"pointerEvents": "none",
|
|
11
12
|
"boxSizing": "border-box",
|
|
12
|
-
"color":
|
|
13
|
+
"color": varRef("color", colorPrimary),
|
|
13
14
|
"boxShadow": `0 0 0 0 currentcolor`,
|
|
14
15
|
"opacity": .2,
|
|
15
16
|
"&.wave-motion-appear": {
|
package/dist/affix/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue65 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/affix/index.d.ts
|
|
5
5
|
interface AffixProps extends ComponentBaseProps {
|
|
@@ -17,10 +17,10 @@ interface AffixEmits {
|
|
|
17
17
|
type InternalAffixProps = AffixProps & {
|
|
18
18
|
onTestUpdatePosition?: any;
|
|
19
19
|
};
|
|
20
|
-
declare const Affix:
|
|
20
|
+
declare const Affix: vue65.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
|
|
21
21
|
onTestUpdatePosition?: any;
|
|
22
22
|
} & {
|
|
23
23
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
24
|
-
},
|
|
24
|
+
}, vue65.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Affix, AffixProps };
|
package/dist/affix/index.js
CHANGED
|
@@ -181,25 +181,33 @@ const Affix = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose, em
|
|
|
181
181
|
props: /* @__PURE__ */ mergeDefaults({
|
|
182
182
|
offsetTop: {
|
|
183
183
|
type: Number,
|
|
184
|
-
required: false
|
|
184
|
+
required: false,
|
|
185
|
+
default: void 0
|
|
185
186
|
},
|
|
186
187
|
offsetBottom: {
|
|
187
188
|
type: Number,
|
|
188
|
-
required: false
|
|
189
|
+
required: false,
|
|
190
|
+
default: void 0
|
|
189
191
|
},
|
|
190
192
|
target: {
|
|
191
193
|
type: Function,
|
|
192
|
-
required: false
|
|
194
|
+
required: false,
|
|
195
|
+
default: void 0
|
|
193
196
|
},
|
|
194
197
|
rootClass: {
|
|
195
198
|
type: String,
|
|
196
|
-
required: false
|
|
199
|
+
required: false,
|
|
200
|
+
default: void 0
|
|
197
201
|
},
|
|
198
202
|
prefixCls: {
|
|
199
203
|
type: String,
|
|
200
|
-
required: false
|
|
204
|
+
required: false,
|
|
205
|
+
default: void 0
|
|
201
206
|
},
|
|
202
|
-
onTestUpdatePosition: {
|
|
207
|
+
onTestUpdatePosition: {
|
|
208
|
+
required: false,
|
|
209
|
+
default: void 0
|
|
210
|
+
}
|
|
203
211
|
}, affixDefaultProps),
|
|
204
212
|
name: "AAffix",
|
|
205
213
|
inheritAttrs: false
|
package/dist/alert/Alert.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue221 from "vue";
|
|
7
7
|
import { SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/alert/Alert.d.ts
|
|
@@ -43,6 +43,7 @@ type AlertSlots = SlotsDefineType<{
|
|
|
43
43
|
icon?: () => any;
|
|
44
44
|
closeIcon?: () => any;
|
|
45
45
|
action?: () => any;
|
|
46
|
+
title?: () => any;
|
|
46
47
|
}>;
|
|
47
48
|
interface AlertEmits {
|
|
48
49
|
/** Callback when close Alert */
|
|
@@ -52,8 +53,8 @@ interface AlertEmits {
|
|
|
52
53
|
click: (e: any) => any;
|
|
53
54
|
[key: string]: (e: any) => any;
|
|
54
55
|
}
|
|
55
|
-
declare const Alert:
|
|
56
|
+
declare const Alert: vue221.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps & {
|
|
56
57
|
[x: `on${Capitalize<string>}`]: ((e: any) => any) | undefined;
|
|
57
|
-
},
|
|
58
|
+
}, vue221.PublicProps>;
|
|
58
59
|
//#endregion
|
|
59
60
|
export { Alert, AlertEmits, AlertProps, AlertSlots };
|
package/dist/alert/Alert.js
CHANGED
|
@@ -34,7 +34,8 @@ const IconNode = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
34
34
|
}, { props: {
|
|
35
35
|
type: {
|
|
36
36
|
type: String,
|
|
37
|
-
required: true
|
|
37
|
+
required: true,
|
|
38
|
+
default: void 0
|
|
38
39
|
},
|
|
39
40
|
icon: {
|
|
40
41
|
type: [
|
|
@@ -45,11 +46,13 @@ const IconNode = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
45
46
|
null,
|
|
46
47
|
Object
|
|
47
48
|
],
|
|
48
|
-
required:
|
|
49
|
+
required: false,
|
|
50
|
+
default: void 0
|
|
49
51
|
},
|
|
50
52
|
prefixCls: {
|
|
51
53
|
type: String,
|
|
52
|
-
required: true
|
|
54
|
+
required: true,
|
|
55
|
+
default: void 0
|
|
53
56
|
},
|
|
54
57
|
description: {
|
|
55
58
|
type: [
|
|
@@ -60,7 +63,8 @@ const IconNode = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
60
63
|
null,
|
|
61
64
|
Object
|
|
62
65
|
],
|
|
63
|
-
required: true
|
|
66
|
+
required: true,
|
|
67
|
+
default: void 0
|
|
64
68
|
}
|
|
65
69
|
} });
|
|
66
70
|
const CloseIconNode = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
@@ -78,11 +82,13 @@ const CloseIconNode = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
78
82
|
}, { props: {
|
|
79
83
|
isClosable: {
|
|
80
84
|
type: Boolean,
|
|
81
|
-
required: true
|
|
85
|
+
required: true,
|
|
86
|
+
default: void 0
|
|
82
87
|
},
|
|
83
88
|
prefixCls: {
|
|
84
89
|
type: String,
|
|
85
|
-
required: true
|
|
90
|
+
required: true,
|
|
91
|
+
default: void 0
|
|
86
92
|
},
|
|
87
93
|
closeIcon: {
|
|
88
94
|
type: [
|
|
@@ -93,15 +99,18 @@ const CloseIconNode = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
93
99
|
null,
|
|
94
100
|
Object
|
|
95
101
|
],
|
|
96
|
-
required: true
|
|
102
|
+
required: true,
|
|
103
|
+
default: void 0
|
|
97
104
|
},
|
|
98
105
|
handleClose: {
|
|
99
106
|
type: Function,
|
|
100
|
-
required: true
|
|
107
|
+
required: true,
|
|
108
|
+
default: void 0
|
|
101
109
|
},
|
|
102
110
|
ariaProps: {
|
|
103
111
|
type: Object,
|
|
104
|
-
required: true
|
|
112
|
+
required: true,
|
|
113
|
+
default: void 0
|
|
105
114
|
}
|
|
106
115
|
} });
|
|
107
116
|
const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) => {
|
|
@@ -235,11 +244,13 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
235
244
|
props: /* @__PURE__ */ mergeDefaults({
|
|
236
245
|
type: {
|
|
237
246
|
type: String,
|
|
238
|
-
required: false
|
|
247
|
+
required: false,
|
|
248
|
+
default: void 0
|
|
239
249
|
},
|
|
240
250
|
closable: {
|
|
241
251
|
type: [Boolean, Object],
|
|
242
|
-
required: false
|
|
252
|
+
required: false,
|
|
253
|
+
default: void 0
|
|
243
254
|
},
|
|
244
255
|
title: {
|
|
245
256
|
type: [
|
|
@@ -250,7 +261,8 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
250
261
|
null,
|
|
251
262
|
Object
|
|
252
263
|
],
|
|
253
|
-
required: false
|
|
264
|
+
required: false,
|
|
265
|
+
default: void 0
|
|
254
266
|
},
|
|
255
267
|
message: {
|
|
256
268
|
type: [
|
|
@@ -261,7 +273,8 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
261
273
|
null,
|
|
262
274
|
Object
|
|
263
275
|
],
|
|
264
|
-
required: false
|
|
276
|
+
required: false,
|
|
277
|
+
default: void 0
|
|
265
278
|
},
|
|
266
279
|
description: {
|
|
267
280
|
type: [
|
|
@@ -272,31 +285,38 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
272
285
|
null,
|
|
273
286
|
Object
|
|
274
287
|
],
|
|
275
|
-
required: false
|
|
288
|
+
required: false,
|
|
289
|
+
default: void 0
|
|
276
290
|
},
|
|
277
291
|
afterClose: {
|
|
278
292
|
type: Function,
|
|
279
|
-
required: false
|
|
293
|
+
required: false,
|
|
294
|
+
default: void 0
|
|
280
295
|
},
|
|
281
296
|
showIcon: {
|
|
282
297
|
type: Boolean,
|
|
283
|
-
required: false
|
|
298
|
+
required: false,
|
|
299
|
+
default: void 0
|
|
284
300
|
},
|
|
285
301
|
role: {
|
|
286
302
|
type: String,
|
|
287
|
-
required: false
|
|
303
|
+
required: false,
|
|
304
|
+
default: void 0
|
|
288
305
|
},
|
|
289
306
|
classes: {
|
|
290
307
|
type: [Object, Function],
|
|
291
|
-
required: false
|
|
308
|
+
required: false,
|
|
309
|
+
default: void 0
|
|
292
310
|
},
|
|
293
311
|
styles: {
|
|
294
312
|
type: [Object, Function],
|
|
295
|
-
required: false
|
|
313
|
+
required: false,
|
|
314
|
+
default: void 0
|
|
296
315
|
},
|
|
297
316
|
banner: {
|
|
298
317
|
type: Boolean,
|
|
299
|
-
required: false
|
|
318
|
+
required: false,
|
|
319
|
+
default: void 0
|
|
300
320
|
},
|
|
301
321
|
icon: {
|
|
302
322
|
type: [
|
|
@@ -307,7 +327,8 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
307
327
|
null,
|
|
308
328
|
Object
|
|
309
329
|
],
|
|
310
|
-
required: false
|
|
330
|
+
required: false,
|
|
331
|
+
default: void 0
|
|
311
332
|
},
|
|
312
333
|
closeIcon: {
|
|
313
334
|
type: [
|
|
@@ -318,7 +339,8 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
318
339
|
null,
|
|
319
340
|
Object
|
|
320
341
|
],
|
|
321
|
-
required: false
|
|
342
|
+
required: false,
|
|
343
|
+
default: void 0
|
|
322
344
|
},
|
|
323
345
|
action: {
|
|
324
346
|
type: [
|
|
@@ -329,19 +351,23 @@ const Alert = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
329
351
|
null,
|
|
330
352
|
Object
|
|
331
353
|
],
|
|
332
|
-
required: false
|
|
354
|
+
required: false,
|
|
355
|
+
default: void 0
|
|
333
356
|
},
|
|
334
357
|
id: {
|
|
335
358
|
type: String,
|
|
336
|
-
required: false
|
|
359
|
+
required: false,
|
|
360
|
+
default: void 0
|
|
337
361
|
},
|
|
338
362
|
rootClass: {
|
|
339
363
|
type: String,
|
|
340
|
-
required: false
|
|
364
|
+
required: false,
|
|
365
|
+
default: void 0
|
|
341
366
|
},
|
|
342
367
|
prefixCls: {
|
|
343
368
|
type: String,
|
|
344
|
-
required: false
|
|
369
|
+
required: false,
|
|
370
|
+
default: void 0
|
|
345
371
|
}
|
|
346
372
|
}, alertDefaultProps),
|
|
347
373
|
name: "AAlert",
|
package/dist/anchor/Anchor.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
|
|
|
4
4
|
import { AnchorLinkBaseProps } from "./AnchorLink.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
6
|
import { AffixProps } from "../affix/index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue235 from "vue";
|
|
8
8
|
import { SlotsType, VNodeChild } from "vue";
|
|
9
9
|
import { Key } from "@v-c/util/dist/type";
|
|
10
10
|
|
|
@@ -15,7 +15,7 @@ interface AnchorLinkItemProps extends AnchorLinkBaseProps {
|
|
|
15
15
|
children?: AnchorLinkItemProps[];
|
|
16
16
|
}
|
|
17
17
|
type AnchorDirection = 'vertical' | 'horizontal';
|
|
18
|
-
type SemanticName = 'root' | 'item' | '
|
|
18
|
+
type SemanticName = 'root' | 'item' | 'itemTitle' | 'indicator';
|
|
19
19
|
type AnchorClassNamesType = SemanticClassNamesType<AnchorProps, SemanticName>;
|
|
20
20
|
type AnchorStylesType = SemanticStylesType<AnchorProps, SemanticName>;
|
|
21
21
|
interface AnchorProps extends ComponentBaseProps {
|
|
@@ -45,8 +45,8 @@ interface AnchorEmits {
|
|
|
45
45
|
type AnchorSlots = SlotsDefineType<{
|
|
46
46
|
item: (item: AnchorLinkItemProps) => any;
|
|
47
47
|
}>;
|
|
48
|
-
declare const Anchor:
|
|
48
|
+
declare const Anchor: vue235.DefineSetupFnComponent<AnchorProps, AnchorEmits, SlotsType<AnchorSlots>, AnchorProps & {
|
|
49
49
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
50
|
-
},
|
|
50
|
+
}, vue235.PublicProps>;
|
|
51
51
|
//#endregion
|
|
52
|
-
export { Anchor, AnchorProps };
|
|
52
|
+
export { Anchor, AnchorEmits, AnchorProps, AnchorSlots };
|
package/dist/anchor/Anchor.js
CHANGED
|
@@ -206,59 +206,73 @@ const Anchor = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =
|
|
|
206
206
|
props: /* @__PURE__ */ mergeDefaults({
|
|
207
207
|
classes: {
|
|
208
208
|
type: [Object, Function],
|
|
209
|
-
required: false
|
|
209
|
+
required: false,
|
|
210
|
+
default: void 0
|
|
210
211
|
},
|
|
211
212
|
styles: {
|
|
212
213
|
type: [Object, Function],
|
|
213
|
-
required: false
|
|
214
|
+
required: false,
|
|
215
|
+
default: void 0
|
|
214
216
|
},
|
|
215
217
|
offsetTop: {
|
|
216
218
|
type: Number,
|
|
217
|
-
required: false
|
|
219
|
+
required: false,
|
|
220
|
+
default: void 0
|
|
218
221
|
},
|
|
219
222
|
bounds: {
|
|
220
223
|
type: Number,
|
|
221
|
-
required: false
|
|
224
|
+
required: false,
|
|
225
|
+
default: void 0
|
|
222
226
|
},
|
|
223
227
|
affix: {
|
|
224
228
|
type: [Boolean, Object],
|
|
225
|
-
required: false
|
|
229
|
+
required: false,
|
|
230
|
+
default: void 0
|
|
226
231
|
},
|
|
227
232
|
showInkInFixed: {
|
|
228
233
|
type: Boolean,
|
|
229
|
-
required: false
|
|
234
|
+
required: false,
|
|
235
|
+
default: void 0
|
|
230
236
|
},
|
|
231
237
|
getContainer: {
|
|
232
238
|
type: Function,
|
|
233
|
-
required: false
|
|
239
|
+
required: false,
|
|
240
|
+
default: void 0
|
|
234
241
|
},
|
|
235
242
|
getCurrentAnchor: {
|
|
236
243
|
type: Function,
|
|
237
|
-
required: false
|
|
244
|
+
required: false,
|
|
245
|
+
default: void 0
|
|
238
246
|
},
|
|
239
247
|
targetOffset: {
|
|
240
248
|
type: Number,
|
|
241
|
-
required: false
|
|
249
|
+
required: false,
|
|
250
|
+
default: void 0
|
|
242
251
|
},
|
|
243
252
|
items: {
|
|
244
253
|
type: Array,
|
|
245
|
-
required: false
|
|
254
|
+
required: false,
|
|
255
|
+
default: void 0
|
|
246
256
|
},
|
|
247
257
|
direction: {
|
|
248
258
|
type: String,
|
|
249
|
-
required: false
|
|
259
|
+
required: false,
|
|
260
|
+
default: void 0
|
|
250
261
|
},
|
|
251
262
|
replace: {
|
|
252
263
|
type: Boolean,
|
|
253
|
-
required: false
|
|
264
|
+
required: false,
|
|
265
|
+
default: void 0
|
|
254
266
|
},
|
|
255
267
|
rootClass: {
|
|
256
268
|
type: String,
|
|
257
|
-
required: false
|
|
269
|
+
required: false,
|
|
270
|
+
default: void 0
|
|
258
271
|
},
|
|
259
272
|
prefixCls: {
|
|
260
273
|
type: String,
|
|
261
|
-
required: false
|
|
274
|
+
required: false,
|
|
275
|
+
default: void 0
|
|
262
276
|
}
|
|
263
277
|
}, defaultProps),
|
|
264
278
|
name: "AAnchor",
|
|
@@ -38,14 +38,14 @@ const AnchorLink = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
38
38
|
return () => {
|
|
39
39
|
const { href, target } = props;
|
|
40
40
|
const wrapperClassName = classNames(`${prefixCls.value}-link`, attrs.class, mergedClassNames?.value?.item, { [`${prefixCls.value}-link-active`]: active.value });
|
|
41
|
-
const titleClassName = classNames(`${prefixCls.value}-link-title`, mergedClassNames?.value?.
|
|
41
|
+
const titleClassName = classNames(`${prefixCls.value}-link-title`, mergedClassNames?.value?.itemTitle, { [`${prefixCls.value}-link-title-active`]: active.value });
|
|
42
42
|
const title = getSlotPropsFnRun(slots, props, "title");
|
|
43
43
|
return createVNode("div", {
|
|
44
44
|
"class": [wrapperClassName],
|
|
45
45
|
"style": mergedStyles?.value?.item
|
|
46
46
|
}, [createVNode("a", {
|
|
47
47
|
"class": titleClassName,
|
|
48
|
-
"style": mergedStyles?.value?.
|
|
48
|
+
"style": mergedStyles?.value?.itemTitle,
|
|
49
49
|
"href": href,
|
|
50
50
|
"title": typeof title === "string" ? title : "",
|
|
51
51
|
"target": target,
|
|
@@ -57,11 +57,13 @@ const AnchorLink = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
57
57
|
props: {
|
|
58
58
|
href: {
|
|
59
59
|
type: String,
|
|
60
|
-
required: true
|
|
60
|
+
required: true,
|
|
61
|
+
default: void 0
|
|
61
62
|
},
|
|
62
63
|
target: {
|
|
63
64
|
type: String,
|
|
64
|
-
required: false
|
|
65
|
+
required: false,
|
|
66
|
+
default: void 0
|
|
65
67
|
},
|
|
66
68
|
title: {
|
|
67
69
|
type: [
|
|
@@ -72,19 +74,23 @@ const AnchorLink = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
72
74
|
null,
|
|
73
75
|
Object
|
|
74
76
|
],
|
|
75
|
-
required: true
|
|
77
|
+
required: true,
|
|
78
|
+
default: void 0
|
|
76
79
|
},
|
|
77
80
|
replace: {
|
|
78
81
|
type: Boolean,
|
|
79
|
-
required: false
|
|
82
|
+
required: false,
|
|
83
|
+
default: void 0
|
|
80
84
|
},
|
|
81
85
|
rootClass: {
|
|
82
86
|
type: String,
|
|
83
|
-
required: false
|
|
87
|
+
required: false,
|
|
88
|
+
default: void 0
|
|
84
89
|
},
|
|
85
90
|
prefixCls: {
|
|
86
91
|
type: String,
|
|
87
|
-
required: false
|
|
92
|
+
required: false,
|
|
93
|
+
default: void 0
|
|
88
94
|
}
|
|
89
95
|
},
|
|
90
96
|
inheritAttrs: false
|
package/dist/anchor/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnchorLinkProps } from "./AnchorLink.js";
|
|
2
|
-
import { Anchor, AnchorProps } from "./Anchor.js";
|
|
2
|
+
import { Anchor, AnchorEmits, AnchorProps, AnchorSlots } from "./Anchor.js";
|