antdv-next 1.0.0-alpha.5 → 1.0.0-beta.1
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/PurePanel.js +106 -0
- package/dist/_util/hooks/useMergeSemantic.js +3 -3
- package/dist/_util/styleUtils.js +10 -0
- package/dist/alert/Alert.d.ts +3 -3
- package/dist/anchor/Anchor.d.ts +3 -3
- package/dist/antd.js +113 -105
- package/dist/app/App.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +4 -3
- package/dist/auto-complete/index.js +8 -1
- 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/ScrollNumber.js +1 -1
- package/dist/badge/SingleNumber.js +1 -1
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/index.js +5 -3
- package/dist/badge/style/index.js +1 -1
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/button/Button.d.ts +3 -3
- package/dist/calendar/generateCalendar.d.ts +3 -3
- package/dist/calendar/index.d.ts +3 -3
- package/dist/calendar/style/index.d.ts +1 -1
- package/dist/calendar/style/index.js +1 -1
- 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/card/style/index.js +11 -2
- package/dist/cascader/Panel.d.ts +3 -3
- package/dist/cascader/index.d.ts +1 -0
- package/dist/cascader/index.js +2 -0
- package/dist/checkbox/Checkbox.d.ts +3 -3
- package/dist/checkbox/Group.d.ts +3 -3
- package/dist/checkbox/style/index.d.ts +1 -1
- package/dist/color-picker/ColorPicker.d.ts +4 -4
- package/dist/color-picker/ColorPicker.js +11 -0
- package/dist/components.d.ts +8 -6
- package/dist/config-provider/context.d.ts +2 -1
- package/dist/config-provider/context.js +1 -1
- package/dist/config-provider/define.d.ts +14 -0
- package/dist/config-provider/index.d.ts +3 -3
- package/dist/config-provider/index.js +21 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +1 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.js +2 -1
- package/dist/date-picker/generatePicker/index.d.ts +17 -17
- package/dist/date-picker/index.d.ts +29 -27
- package/dist/date-picker/index.js +3 -0
- package/dist/date-picker/style/panel.js +4 -4
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/divider/index.d.ts +2 -2
- package/dist/drawer/index.d.ts +6 -4
- package/dist/drawer/index.js +17 -5
- package/dist/drawer/useFocusable.d.ts +10 -0
- package/dist/drawer/useFocusable.js +18 -0
- package/dist/dropdown/dropdown.d.ts +3 -3
- package/dist/dropdown/dropdown.js +7 -0
- package/dist/empty/index.d.ts +3 -3
- package/dist/flex/index.d.ts +3 -3
- package/dist/flex/index.js +1 -1
- package/dist/float-button/BackTop.d.ts +3 -3
- package/dist/float-button/BackTop.js +4 -1
- package/dist/float-button/FloatButton.d.ts +3 -3
- package/dist/float-button/FloatButtonGroup.d.ts +3 -3
- package/dist/float-button/PurePanel.js +5 -5
- package/dist/form/ErrorList.js +4 -7
- package/dist/form/Form.d.ts +7 -3
- package/dist/form/Form.js +39 -22
- package/dist/form/FormItem/ItemHolder.js +0 -1
- package/dist/form/FormItem/index.d.ts +5 -5
- package/dist/form/FormItem/index.js +48 -29
- package/dist/form/FormItemInput.js +17 -19
- package/dist/form/utils/valueUtil.js +4 -1
- package/dist/grid/col.js +7 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/style/index.js +6 -5
- package/dist/image/PreviewGroup.d.ts +2 -2
- package/dist/image/index.d.ts +7 -4
- package/dist/image/index.js +2 -0
- package/dist/image/style/index.d.ts +1 -1
- package/dist/index.d.ts +12 -9
- package/dist/index.js +3 -1
- package/dist/input/TextArea.d.ts +3 -3
- package/dist/input/index.d.ts +11 -11
- package/dist/input/style/index.d.ts +2 -2
- package/dist/input-number/index.d.ts +4 -4
- package/dist/input-number/index.js +1 -5
- package/dist/layout/index.d.ts +6 -6
- package/dist/layout/layout.d.ts +2 -2
- package/dist/layout/style/sider.js +1 -1
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/mentions/index.d.ts +4 -3
- package/dist/mentions/index.js +3 -1
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +3 -3
- package/dist/menu/index.d.ts +5 -5
- package/dist/menu/style/horizontal.js +1 -1
- package/dist/menu/style/index.js +5 -5
- package/dist/message/PurePanel.d.ts +2 -2
- package/dist/message/useMessage.d.ts +1 -0
- package/dist/modal/ConfirmDialog.js +1 -1
- package/dist/modal/Modal.d.ts +3 -3
- package/dist/modal/Modal.js +17 -6
- package/dist/modal/PurePanel.js +305 -0
- package/dist/modal/index.js +2 -0
- package/dist/modal/interface.d.ts +3 -1
- package/dist/notification/PurePanel.d.ts +2 -2
- package/dist/notification/PurePanel.js +4 -3
- package/dist/notification/style/index.d.ts +1 -1
- package/dist/notification/useNotification.d.ts +3 -2
- package/dist/notification/useNotification.js +7 -7
- package/dist/package.d.ts +34 -0
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +3 -3
- package/dist/popconfirm/PurePanel.d.ts +2 -2
- package/dist/popconfirm/PurePanel.js +2 -1
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popover/PurePanel.js +4 -2
- package/dist/popover/index.d.ts +9 -6
- package/dist/popover/index.js +2 -1
- 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/radio/style/index.js +1 -1
- package/dist/rate/index.d.ts +3 -3
- package/dist/rate/style/index.d.ts +1 -1
- package/dist/result/index.d.ts +3 -3
- package/dist/segmented/index.d.ts +3 -3
- package/dist/select/index.d.ts +5 -5
- package/dist/select/index.js +3 -1
- package/dist/select/style/dropdown.js +1 -1
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +3 -3
- package/dist/skeleton/Skeleton.d.ts +3 -3
- package/dist/skeleton/Skeleton.js +1 -1
- package/dist/skeleton/Title.d.ts +1 -2
- package/dist/skeleton/Title.js +0 -5
- package/dist/slider/index.d.ts +3 -3
- package/dist/space/index.d.ts +5 -5
- package/dist/spin/index.d.ts +3 -3
- package/dist/spin/index.js +7 -6
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/index.d.ts +2 -2
- 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/index.d.ts +3 -3
- package/dist/steps/style/icon.js +1 -1
- package/dist/steps/style/inline.js +1 -1
- package/dist/steps/style/panel.js +1 -1
- 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 +19 -5
- package/dist/table/Table.d.ts +3 -3
- package/dist/table/style/index.js +3 -3
- package/dist/table/style/radius.js +6 -0
- package/dist/table/style/virtual.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/CheckableTagGroup.js +3 -3
- package/dist/tag/index.d.ts +3 -3
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/useToken.d.ts +2 -2
- package/dist/theme/useToken.js +1 -1
- package/dist/theme/util/genStyleUtils.d.ts +2 -2
- package/dist/theme/util/useResetIconStyle.js +1 -1
- package/dist/time-picker/index.d.ts +8 -7
- package/dist/time-picker/index.js +17 -13
- package/dist/timeline/Timeline.d.ts +3 -3
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/PurePanel.js +10 -6
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tour/PurePanel.js +243 -0
- package/dist/tour/index.d.ts +3 -3
- package/dist/tour/index.js +2 -0
- 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/style/index.d.ts +1 -1
- package/dist/tree-select/index.d.ts +5 -4
- package/dist/tree-select/index.js +2 -0
- 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 +3 -3
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/Upload.js +15 -1
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/interface.d.ts +4 -4
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +1 -0
- package/package.json +49 -15
- package/web-tags.json +2452 -1907
- package/web-types.json +7148 -5592
|
@@ -6,7 +6,7 @@ import { ButtonProps, LegacyButtonType } from "../button/Button.js";
|
|
|
6
6
|
import "../button/index.js";
|
|
7
7
|
import { PopoverProps, PopoverSemanticName } from "../popover/index.js";
|
|
8
8
|
import { PurePanel } from "./PurePanel.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue130 from "vue";
|
|
10
10
|
import { App, SlotsType } from "vue";
|
|
11
11
|
|
|
12
12
|
//#region src/popconfirm/index.d.ts
|
|
@@ -40,9 +40,9 @@ interface PopconfirmSlots {
|
|
|
40
40
|
okText?: () => any;
|
|
41
41
|
cancelText?: () => any;
|
|
42
42
|
}
|
|
43
|
-
declare const InternalPopconfirm:
|
|
43
|
+
declare const InternalPopconfirm: vue130.DefineSetupFnComponent<PopconfirmProps, PopconfirmEmits, SlotsType<PopconfirmSlots>, PopconfirmProps & {
|
|
44
44
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
45
|
-
},
|
|
45
|
+
}, vue130.PublicProps>;
|
|
46
46
|
type PopconfirmType = typeof InternalPopconfirm & {
|
|
47
47
|
install: (app: App) => void;
|
|
48
48
|
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
|
@@ -258,11 +258,13 @@ const RawPurePanel = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =
|
|
|
258
258
|
name: "PopoverRawPurePanel",
|
|
259
259
|
inheritAttrs: false
|
|
260
260
|
});
|
|
261
|
-
const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
261
|
+
const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
|
|
262
262
|
const { prefixCls } = useComponentBaseConfig("popover", props);
|
|
263
263
|
const [hashId, cssVarCls] = style_default(prefixCls);
|
|
264
264
|
return () => {
|
|
265
|
+
const content = getSlotPropsFnRun(slots, props, "content");
|
|
265
266
|
return createVNode(RawPurePanel, mergeProps(omit(attrs, ["class"]), props, {
|
|
267
|
+
"content": content,
|
|
266
268
|
"prefixCls": prefixCls.value,
|
|
267
269
|
"hashId": hashId.value,
|
|
268
270
|
"class": clsx(attrs.class, cssVarCls.value)
|
|
@@ -430,4 +432,4 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
430
432
|
var PurePanel_default = PurePanel;
|
|
431
433
|
|
|
432
434
|
//#endregion
|
|
433
|
-
export { Overlay, PurePanel_default as default };
|
|
435
|
+
export { Overlay, RawPurePanel, PurePanel_default as default };
|
package/dist/popover/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { SemanticName, TooltipEmits, TooltipProps } from "../tooltip/index.js";
|
|
5
|
-
import * as
|
|
6
|
-
import { SlotsType } from "vue";
|
|
5
|
+
import * as vue132 from "vue";
|
|
6
|
+
import { App, SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/popover/index.d.ts
|
|
9
9
|
type PopoverSemanticName = SemanticName | 'title' | 'content';
|
|
@@ -23,9 +23,12 @@ interface PopoverSlots {
|
|
|
23
23
|
content: () => any;
|
|
24
24
|
default: () => any;
|
|
25
25
|
}
|
|
26
|
-
declare const InternalPopover:
|
|
26
|
+
declare const InternalPopover: vue132.DefineSetupFnComponent<PopoverProps, PopoverEmits, SlotsType<PopoverSlots>, PopoverProps & {
|
|
27
27
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
28
|
-
},
|
|
29
|
-
declare const
|
|
28
|
+
}, vue132.PublicProps>;
|
|
29
|
+
declare const Popover: typeof InternalPopover & {
|
|
30
|
+
install: (app: App) => void;
|
|
31
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
32
|
+
};
|
|
30
33
|
//#endregion
|
|
31
|
-
export { PopoverProps, PopoverSemanticName
|
|
34
|
+
export { Popover, PopoverProps, PopoverSemanticName };
|
package/dist/popover/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
|
5
5
|
import useMergedArrow_default from "../tooltip/hooks/useMergedArrow.js";
|
|
6
6
|
import tooltip_default from "../tooltip/index.js";
|
|
7
7
|
import style_default from "./style/index.js";
|
|
8
|
-
import { Overlay } from "./PurePanel.js";
|
|
8
|
+
import PurePanel_default, { Overlay } from "./PurePanel.js";
|
|
9
9
|
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, watchEffect } from "vue";
|
|
10
10
|
import { clsx } from "@v-c/util";
|
|
11
11
|
import { filterEmpty, removeUndefined } from "@v-c/util/dist/props-util";
|
|
@@ -259,6 +259,7 @@ const Popover = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose,
|
|
|
259
259
|
Popover.install = (app) => {
|
|
260
260
|
app.component(Popover.name, Popover);
|
|
261
261
|
};
|
|
262
|
+
Popover._InternalPanelDoNotUseOrYouWillBeFired = PurePanel_default;
|
|
262
263
|
var popover_default = Popover;
|
|
263
264
|
|
|
264
265
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { EmptyEmit } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue134 from "vue";
|
|
6
6
|
import { AriaAttributes, SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/progress/progress.d.ts
|
|
@@ -67,8 +67,8 @@ interface ProgressProps extends ComponentBaseProps, ProgressAriaProps {
|
|
|
67
67
|
interface ProgressSlots {
|
|
68
68
|
default?: () => any;
|
|
69
69
|
}
|
|
70
|
-
declare const Progress:
|
|
70
|
+
declare const Progress: vue134.DefineSetupFnComponent<ProgressProps, EmptyEmit, SlotsType<ProgressSlots>, ProgressProps & {
|
|
71
71
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
72
|
-
},
|
|
72
|
+
}, vue134.PublicProps>;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { Progress, ProgressAriaProps, ProgressProps };
|
package/dist/qrcode/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { QRCodeEmits, QRCodeProps, QRCodeSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue136 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/qrcode/index.d.ts
|
|
6
|
-
declare const QRCode:
|
|
6
|
+
declare const QRCode: vue136.DefineSetupFnComponent<QRCodeProps, QRCodeEmits, SlotsType<QRCodeSlots>, QRCodeProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: (() => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue136.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { QRCode };
|
package/dist/radio/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import "../checkbox/index.js";
|
|
|
4
4
|
import { RadioChangeEvent, RadioEmits, RadioGroupEmits, RadioGroupOptionType, RadioGroupProps, RadioGroupSlots, RadioProps, RadioSlots } from "./interface.js";
|
|
5
5
|
import { InternalRadio } from "./radio.js";
|
|
6
6
|
import "../index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue138 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/radio/index.d.ts
|
|
10
10
|
type RadioOptionType = CheckboxOptionType;
|
|
11
|
-
declare const RadioGroup:
|
|
11
|
+
declare const RadioGroup: vue138.DefineSetupFnComponent<RadioGroupProps, RadioGroupEmits, vue138.SlotsType<RadioGroupSlots>, RadioGroupProps & {
|
|
12
12
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
13
|
-
},
|
|
14
|
-
declare const RadioButton:
|
|
13
|
+
}, vue138.PublicProps>;
|
|
14
|
+
declare const RadioButton: vue138.DefineSetupFnComponent<AbstractCheckboxProps, CheckboxEmits, vue138.SlotsType<CheckboxSlots>, AbstractCheckboxProps & {
|
|
15
15
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
16
|
-
},
|
|
16
|
+
}, vue138.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { RadioButton, RadioGroup, RadioOptionType };
|
package/dist/radio/radio.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioEmits, RadioProps, RadioSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue412 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/radio/radio.d.ts
|
|
6
|
-
declare const InternalRadio:
|
|
6
|
+
declare const InternalRadio: vue412.DefineSetupFnComponent<RadioProps, RadioEmits, SlotsType<RadioSlots>, RadioProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue412.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { InternalRadio };
|
|
@@ -165,7 +165,7 @@ const getRadioButtonStyle = (token) => {
|
|
|
165
165
|
"cursor": "pointer",
|
|
166
166
|
"transition": [
|
|
167
167
|
`color ${motionDurationMid}`,
|
|
168
|
-
`background ${motionDurationMid}`,
|
|
168
|
+
`background-color ${motionDurationMid}`,
|
|
169
169
|
`box-shadow ${motionDurationMid}`
|
|
170
170
|
].join(","),
|
|
171
171
|
"a": { color: buttonColor },
|
package/dist/rate/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipProps } from "../tooltip/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue144 from "vue";
|
|
3
3
|
import { RateProps } from "@v-c/rate";
|
|
4
4
|
|
|
5
5
|
//#region src/rate/index.d.ts
|
|
@@ -18,8 +18,8 @@ interface RateEmits {
|
|
|
18
18
|
'mouseleave': (e: FocusEvent) => void;
|
|
19
19
|
[key: string]: (...args: any[]) => void;
|
|
20
20
|
}
|
|
21
|
-
declare const Rate:
|
|
21
|
+
declare const Rate: vue144.DefineSetupFnComponent<RateProps$1, RateEmits, {}, RateProps$1 & {
|
|
22
22
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
23
|
-
},
|
|
23
|
+
}, vue144.PublicProps>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Rate, RateEmits, RateProps$1 as RateProps };
|
package/dist/result/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { NoFound } from "./noFound.js";
|
|
|
5
5
|
import { ServerError } from "./serverError.js";
|
|
6
6
|
import { Unauthorized } from "./unauthorized.js";
|
|
7
7
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue128 from "vue";
|
|
9
9
|
import { SlotsType } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/result/index.d.ts
|
|
@@ -36,9 +36,9 @@ interface ResultSlots {
|
|
|
36
36
|
extra?: () => any;
|
|
37
37
|
default?: () => any;
|
|
38
38
|
}
|
|
39
|
-
declare const Result:
|
|
39
|
+
declare const Result: vue128.DefineSetupFnComponent<ResultProps, EmptyEmit, SlotsType<ResultSlots>, ResultProps & {
|
|
40
40
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
41
|
-
},
|
|
41
|
+
}, vue128.PublicProps>;
|
|
42
42
|
declare const _default: typeof Result & {
|
|
43
43
|
PRESENTED_IMAGE_403: (typeof ExceptionMap)["403"];
|
|
44
44
|
PRESENTED_IMAGE_404: (typeof ExceptionMap)["404"];
|
|
@@ -4,7 +4,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
4
4
|
import { Orientation } from "../_util/hooks/useOrientation.js";
|
|
5
5
|
import "../_util/hooks/index.js";
|
|
6
6
|
import { TooltipProps } from "../tooltip/index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue148 from "vue";
|
|
8
8
|
import { App, SlotsType } from "vue";
|
|
9
9
|
import { SegmentedLabeledOption, SegmentedProps, SegmentedRawOption, SegmentedValue } from "@v-c/segmented";
|
|
10
10
|
|
|
@@ -48,9 +48,9 @@ interface SegmentedSlots {
|
|
|
48
48
|
iconRender: (option: SegmentedLabeledOption$1) => any;
|
|
49
49
|
labelRender: (option: SegmentedLabeledOption$1) => any;
|
|
50
50
|
}
|
|
51
|
-
declare const InternalSegmented:
|
|
51
|
+
declare const InternalSegmented: vue148.DefineSetupFnComponent<SegmentedProps$1, SegmentedEmits, SlotsType<SegmentedSlots>, SegmentedProps$1 & {
|
|
52
52
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
|
-
},
|
|
53
|
+
}, vue148.PublicProps>;
|
|
54
54
|
declare const Segmented: typeof InternalSegmented & {
|
|
55
55
|
install: (app: App) => void;
|
|
56
56
|
};
|
package/dist/select/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "../_util/hooks/index.js";
|
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
6
6
|
import { SelectCommonPlacement } from "../_util/motion.js";
|
|
7
7
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue150 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
import { SelectProps } from "@v-c/select";
|
|
11
11
|
import * as _v_c_select_dist_Option_js0 from "@v-c/select/dist/Option.js";
|
|
@@ -110,10 +110,10 @@ interface SelectSlots {
|
|
|
110
110
|
maxTagPlaceholder?: (data: any[]) => any;
|
|
111
111
|
notFoundContent?: () => any;
|
|
112
112
|
}
|
|
113
|
-
declare const Select:
|
|
113
|
+
declare const Select: vue150.DefineSetupFnComponent<SelectProps$1, SelectEmits, SlotsType<SelectSlots>, SelectProps$1 & {
|
|
114
114
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
115
|
-
},
|
|
116
|
-
declare const SelectOption:
|
|
117
|
-
declare const SelectOptGroup:
|
|
115
|
+
}, vue150.PublicProps>;
|
|
116
|
+
declare const SelectOption: vue150.FunctionalComponent<_v_c_select_dist_Option_js0.OptionProps, {}, any, {}>;
|
|
117
|
+
declare const SelectOptGroup: vue150.FunctionalComponent<_v_c_select_dist_OptGroup_js0.OptGroupProps, {}, any, {}>;
|
|
118
118
|
//#endregion
|
|
119
119
|
export { InternalSelectProps, Select, SelectEmits, SelectOptGroup, SelectOption, SelectProps$1 as SelectProps, SelectSlots, SelectValue };
|
package/dist/select/index.js
CHANGED
|
@@ -10,6 +10,7 @@ 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 PurePanel_default from "../_util/PurePanel.js";
|
|
13
14
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
14
15
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
15
16
|
import { useFormItemInputContext } from "../form/context.js";
|
|
@@ -136,7 +137,7 @@ const Select = /* @__PURE__ */ defineComponent((props, { slots, emit, expose, at
|
|
|
136
137
|
let mergedNotFound;
|
|
137
138
|
if (notFoundContent !== void 0) mergedNotFound = notFoundContent;
|
|
138
139
|
else if (mode.value === "combobox") mergedNotFound = null;
|
|
139
|
-
else mergedNotFound = renderEmpty?.("Select") || createVNode(DefaultRenderEmpty, { "componentName": "Select" }, null);
|
|
140
|
+
else mergedNotFound = renderEmpty?.value?.("Select") || createVNode(DefaultRenderEmpty, { "componentName": "Select" }, null);
|
|
140
141
|
const { suffixIcon, itemIcon, removeIcon, clearIcon } = useIcons({
|
|
141
142
|
...rest,
|
|
142
143
|
multiple: isMultiple.value,
|
|
@@ -727,6 +728,7 @@ Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
|
|
|
727
728
|
Select.Option = Option;
|
|
728
729
|
Select.OptGroup = OptGroup;
|
|
729
730
|
var select_default = Select;
|
|
731
|
+
Select._InternalPanelDoNotUseOrYouWillBeFired = PurePanel_default(Select, "popupAlign");
|
|
730
732
|
const SelectOption = Option;
|
|
731
733
|
const SelectOptGroup = OptGroup;
|
|
732
734
|
|
|
@@ -60,7 +60,7 @@ const genSingleStyle = (token) => {
|
|
|
60
60
|
[selectItemCls]: {
|
|
61
61
|
...genItemStyle(token),
|
|
62
62
|
"cursor": "pointer",
|
|
63
|
-
"transition": `background ${token.motionDurationSlow} ease`,
|
|
63
|
+
"transition": `background-color ${token.motionDurationSlow} ease`,
|
|
64
64
|
"borderRadius": token.borderRadiusSM,
|
|
65
65
|
"&-group": {
|
|
66
66
|
color: token.colorTextDescription,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue434 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Avatar.d.ts
|
|
5
5
|
interface SkeletonAvatarProps extends Omit<SkeletonElementProps, 'shape'> {
|
|
6
6
|
shape?: 'circle' | 'square';
|
|
7
7
|
}
|
|
8
|
-
declare const SkeletonAvatar:
|
|
8
|
+
declare const SkeletonAvatar: vue434.DefineSetupFnComponent<SkeletonAvatarProps, {}, {}, SkeletonAvatarProps & {}, vue434.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SkeletonAvatar, SkeletonAvatarProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue440 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Button.d.ts
|
|
5
5
|
interface SkeletonButtonProps extends Omit<SkeletonElementProps, 'size'> {
|
|
6
6
|
size?: 'large' | 'small' | 'default';
|
|
7
7
|
block?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const SkeletonButton:
|
|
9
|
+
declare const SkeletonButton: vue440.DefineSetupFnComponent<SkeletonButtonProps, {}, {}, SkeletonButtonProps & {}, vue440.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SkeletonButton };
|
package/dist/skeleton/Image.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue442 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Image.d.ts
|
|
5
5
|
interface SkeletonImageProps extends Omit<SkeletonElementProps, 'size' | 'shape'> {}
|
|
6
|
-
declare const SkeletonImage:
|
|
6
|
+
declare const SkeletonImage: vue442.DefineSetupFnComponent<SkeletonImageProps, {}, {}, SkeletonImageProps & {}, vue442.PublicProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { SkeletonImage };
|
package/dist/skeleton/Input.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue444 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Input.d.ts
|
|
5
5
|
interface SkeletonInputProps extends Omit<SkeletonElementProps, 'size' | 'shape'> {
|
|
6
6
|
size?: 'large' | 'small' | 'default';
|
|
7
7
|
block?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const SkeletonInput:
|
|
9
|
+
declare const SkeletonInput: vue444.DefineSetupFnComponent<SkeletonInputProps, {}, {}, SkeletonInputProps & {}, vue444.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SkeletonInput };
|
package/dist/skeleton/Node.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { SkeletonElementProps } from "./Element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue432 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/skeleton/Node.d.ts
|
|
@@ -10,8 +10,8 @@ interface SkeletonNodeProps extends Omit<SkeletonElementProps, 'size' | 'shape'>
|
|
|
10
10
|
interface SkeletonNodeSlots {
|
|
11
11
|
default?: () => any;
|
|
12
12
|
}
|
|
13
|
-
declare const SkeletonNode:
|
|
13
|
+
declare const SkeletonNode: vue432.DefineSetupFnComponent<SkeletonNodeProps, EmptyEmit, SlotsType<SkeletonNodeSlots>, SkeletonNodeProps & {
|
|
14
14
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
15
|
-
},
|
|
15
|
+
}, vue432.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SkeletonNode };
|
|
@@ -9,7 +9,7 @@ import { SkeletonImage } from "./Image.js";
|
|
|
9
9
|
import { SkeletonInput } from "./Input.js";
|
|
10
10
|
import { SkeletonNode } from "./Node.js";
|
|
11
11
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
12
|
-
import * as
|
|
12
|
+
import * as vue281 from "vue";
|
|
13
13
|
import { SlotsType } from "vue";
|
|
14
14
|
|
|
15
15
|
//#region src/skeleton/Skeleton.d.ts
|
|
@@ -30,9 +30,9 @@ interface SkeletonProps extends ComponentBaseProps {
|
|
|
30
30
|
interface SkeletonSlots {
|
|
31
31
|
default?: () => any;
|
|
32
32
|
}
|
|
33
|
-
declare const Skeleton:
|
|
33
|
+
declare const Skeleton: vue281.DefineSetupFnComponent<SkeletonProps, EmptyEmit, SlotsType<SkeletonSlots>, SkeletonProps & {
|
|
34
34
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
35
|
-
},
|
|
35
|
+
}, vue281.PublicProps>;
|
|
36
36
|
type SkeletonType = typeof Skeleton & {
|
|
37
37
|
Button: typeof SkeletonButton;
|
|
38
38
|
Avatar: typeof SkeletonAvatar;
|
|
@@ -64,7 +64,7 @@ const Skeleton = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
|
|
|
64
64
|
avatarNode = createVNode("div", {
|
|
65
65
|
"class": [mergedClassNames.value.header, `${prefixCls.value}-header`],
|
|
66
66
|
"style": mergedStyles.value.header
|
|
67
|
-
}, [createVNode(Element_default, mergeProps({ "class": mergedClassNames.value.avatar }, avatarProps, { "style": mergedStyles.value.
|
|
67
|
+
}, [createVNode(Element_default, mergeProps({ "class": mergedClassNames.value.avatar }, avatarProps, { "style": mergedStyles.value.avatar }), null)]);
|
|
68
68
|
}
|
|
69
69
|
let contentNode;
|
|
70
70
|
if (hasTitle || hasParagraph) {
|
package/dist/skeleton/Title.d.ts
CHANGED
package/dist/skeleton/Title.js
CHANGED
package/dist/slider/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
2
2
|
import { Orientation } from "../_util/hooks/useOrientation.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { TooltipPlacement, TriggerCommonApi } from "../tooltip/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue154 from "vue";
|
|
6
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
7
|
import { SliderProps } from "@v-c/slider";
|
|
8
8
|
|
|
@@ -69,8 +69,8 @@ interface SliderEmits {
|
|
|
69
69
|
}
|
|
70
70
|
interface SliderSlots {}
|
|
71
71
|
type SliderRange = SliderProps['range'];
|
|
72
|
-
declare const Slider:
|
|
72
|
+
declare const Slider: vue154.DefineSetupFnComponent<SliderInternalProps, SliderEmits, SlotsType<SliderSlots>, SliderInternalProps & {
|
|
73
73
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
74
|
-
},
|
|
74
|
+
}, vue154.PublicProps>;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { Slider, SliderEmits, SliderProps$1 as SliderProps };
|
package/dist/space/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "../_util/hooks/index.js";
|
|
|
6
6
|
import { SpaceCompactProps } from "./Compact.js";
|
|
7
7
|
import { SpaceCompactCellProps } from "./Addon.js";
|
|
8
8
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue156 from "vue";
|
|
10
10
|
import { SlotsType } from "vue";
|
|
11
11
|
|
|
12
12
|
//#region src/space/index.d.ts
|
|
@@ -30,10 +30,10 @@ interface SpaceSlots {
|
|
|
30
30
|
default?: () => any;
|
|
31
31
|
separator?: () => any;
|
|
32
32
|
}
|
|
33
|
-
declare const Space:
|
|
33
|
+
declare const Space: vue156.DefineSetupFnComponent<SpaceProps, EmptyEmit, SlotsType<SpaceSlots>, SpaceProps & {
|
|
34
34
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
35
|
-
},
|
|
36
|
-
declare const SpaceCompact:
|
|
37
|
-
declare const SpaceAddon:
|
|
35
|
+
}, vue156.PublicProps>;
|
|
36
|
+
declare const SpaceCompact: vue156.DefineSetupFnComponent<SpaceCompactProps, {}, {}, SpaceCompactProps & {}, vue156.PublicProps>;
|
|
37
|
+
declare const SpaceAddon: vue156.DefineSetupFnComponent<SpaceCompactCellProps, {}, {}, SpaceCompactCellProps & {}, vue156.PublicProps>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { Space, SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots };
|
package/dist/spin/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue146 from "vue";
|
|
6
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/spin/index.d.ts
|
|
@@ -37,9 +37,9 @@ interface SpinSlots {
|
|
|
37
37
|
tip?: () => any;
|
|
38
38
|
default?: () => any;
|
|
39
39
|
}
|
|
40
|
-
declare const Spin:
|
|
40
|
+
declare const Spin: vue146.DefineSetupFnComponent<SpinProps, EmptyEmit, SlotsType<SpinSlots>, SpinProps & {
|
|
41
41
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
42
|
-
},
|
|
42
|
+
}, vue146.PublicProps>;
|
|
43
43
|
declare const _default: typeof Spin & {
|
|
44
44
|
setDefaultIndicator: (indicator: VueNode) => void;
|
|
45
45
|
};
|
package/dist/spin/index.js
CHANGED
|
@@ -6,10 +6,11 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
|
6
6
|
import Indicator_default from "./Indicator/index.js";
|
|
7
7
|
import style_default from "./style/index.js";
|
|
8
8
|
import usePercent from "./usePercent.js";
|
|
9
|
-
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef,
|
|
9
|
+
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
|
|
10
10
|
import { classNames } from "@v-c/util";
|
|
11
11
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
12
|
-
import {
|
|
12
|
+
import { omit } from "es-toolkit";
|
|
13
|
+
import { debounce } from "throttle-debounce";
|
|
13
14
|
|
|
14
15
|
//#region src/spin/index.tsx
|
|
15
16
|
let defaultIndicator;
|
|
@@ -23,11 +24,11 @@ const Spin = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
23
24
|
const { classes, styles } = toPropsRefs(props, "classes", "styles");
|
|
24
25
|
const spinning = shallowRef(shouldDelay(props.spinning, props.delay) ? false : !!props.spinning);
|
|
25
26
|
const mergedPercent = usePercent(spinning, computed(() => props.percent));
|
|
26
|
-
|
|
27
|
+
watch([() => props.delay, () => props.spinning], (_, _p, onCleanup) => {
|
|
27
28
|
if (props.spinning) {
|
|
28
|
-
const showSpinning = debounce(() => {
|
|
29
|
+
const showSpinning = debounce(props?.delay ?? 0, () => {
|
|
29
30
|
spinning.value = true;
|
|
30
|
-
}
|
|
31
|
+
});
|
|
31
32
|
showSpinning();
|
|
32
33
|
onCleanup(() => {
|
|
33
34
|
showSpinning?.cancel?.();
|
|
@@ -35,7 +36,7 @@ const Spin = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
35
36
|
return;
|
|
36
37
|
}
|
|
37
38
|
spinning.value = false;
|
|
38
|
-
});
|
|
39
|
+
}, { immediate: true });
|
|
39
40
|
const warning = devUseWarning("Spin");
|
|
40
41
|
const mergedProps = computed(() => {
|
|
41
42
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SplitterEmits, SplitterProps, SplitterSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue410 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/Splitter.d.ts
|
|
6
|
-
declare const Splitter:
|
|
6
|
+
declare const Splitter: vue410.DefineSetupFnComponent<SplitterProps, SplitterEmits, SlotsType<SplitterSlots>, SplitterProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue410.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Splitter };
|
package/dist/splitter/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InternalPanelProps, SplitterEmits, SplitterProps, SplitterSlots } from "./interface.js";
|
|
2
2
|
import { Splitter } from "./Splitter.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue164 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/index.d.ts
|
|
6
|
-
declare const SplitterPanel:
|
|
6
|
+
declare const SplitterPanel: vue164.DefineSetupFnComponent<InternalPanelProps, {}, {}, InternalPanelProps & {}, vue164.PublicProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { SplitterPanel };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { FormatConfig, valueType } from "./utils.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue310 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType, VNodeChild } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/statistic/Statistic.d.ts
|
|
@@ -33,7 +33,7 @@ interface StatisticSlots {
|
|
|
33
33
|
prefix: () => any;
|
|
34
34
|
suffix: () => any;
|
|
35
35
|
}
|
|
36
|
-
declare const Statistic:
|
|
36
|
+
declare const Statistic: vue310.DefineSetupFnComponent<StatisticRectProps, StatisticEmits, SlotsType<StatisticSlots>, FormatConfig & ComponentBaseProps & {
|
|
37
37
|
value?: valueType;
|
|
38
38
|
valueStyle?: CSSProperties;
|
|
39
39
|
valueRender?: (node: any) => VNodeChild;
|
|
@@ -45,6 +45,6 @@ declare const Statistic: vue268.DefineSetupFnComponent<StatisticRectProps, Stati
|
|
|
45
45
|
styles?: StatisticStylesType;
|
|
46
46
|
} & {
|
|
47
47
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
48
|
-
},
|
|
48
|
+
}, vue310.PublicProps>;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Statistic, StatisticClassNamesType, StatisticProps, StatisticSlots, StatisticStylesType };
|
|
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { FormatConfig, valueType } from "./utils.js";
|
|
3
3
|
import { StatisticClassNamesType, StatisticProps, StatisticSlots, StatisticStylesType } from "./Statistic.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue306 from "vue";
|
|
6
6
|
import { SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/statistic/Timer.d.ts
|
|
@@ -19,10 +19,10 @@ interface StatisticTimeEmits {
|
|
|
19
19
|
change: (value?: valueType) => void;
|
|
20
20
|
[key: string]: (...args: any[]) => any;
|
|
21
21
|
}
|
|
22
|
-
declare const StatisticTimer:
|
|
22
|
+
declare const StatisticTimer: vue306.DefineSetupFnComponent<StatisticTimerProps, StatisticTimeEmits, SlotsType<StatisticSlots>, FormatConfig & ComponentBaseProps & {
|
|
23
23
|
value?: valueType;
|
|
24
|
-
valueStyle?:
|
|
25
|
-
valueRender?: (node: any) =>
|
|
24
|
+
valueStyle?: vue306.CSSProperties;
|
|
25
|
+
valueRender?: (node: any) => vue306.VNodeChild;
|
|
26
26
|
title?: VueNode;
|
|
27
27
|
prefix?: VueNode;
|
|
28
28
|
suffix?: VueNode;
|
|
@@ -34,6 +34,6 @@ declare const StatisticTimer: vue264.DefineSetupFnComponent<StatisticTimerProps,
|
|
|
34
34
|
format?: string;
|
|
35
35
|
} & {
|
|
36
36
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
37
|
-
},
|
|
37
|
+
}, vue306.PublicProps>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { StatisticTimeEmits, StatisticTimer, StatisticTimerProps, TimerType };
|