@robot-admin/naive-ui-components 0.40.3 → 0.40.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +2 -2
- package/README_EN.md +17 -17
- package/dist/BPMN.cjs +1 -1
- package/dist/BPMN.js +1 -1
- package/dist/C_ActionBar.css +58 -52
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +108 -108
- package/dist/C_AvatarGroup.css +29 -29
- package/dist/C_AvatarGroup2.cjs +1 -1
- package/dist/C_AvatarGroup2.js +1 -1
- package/dist/C_Barcode.css +6 -6
- package/dist/C_Barcode.d.cts +2 -2
- package/dist/C_Barcode.d.ts +2 -2
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Captcha.css +42 -42
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +4 -4
- package/dist/C_Cascade.d.cts +2 -2
- package/dist/C_Cascade.d.ts +2 -2
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_City.css +35 -35
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +27 -27
- package/dist/C_Code.d.cts +2 -2
- package/dist/C_Code.d.ts +2 -2
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_ContextMenu.css +3 -3
- package/dist/C_ContextMenu2.cjs +1 -1
- package/dist/C_ContextMenu2.js +1 -1
- package/dist/C_Editor.css +13 -13
- package/dist/C_Editor.d.cts +2 -2
- package/dist/C_Editor.d.ts +2 -2
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview.css +104 -104
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_FormModal.css +58 -52
- package/dist/C_GlobalSearch.css +139 -136
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.css +3 -3
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Language.css +2 -2
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Login.css +136 -121
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Markdown.css +37 -37
- package/dist/C_Markdown.d.cts +2 -2
- package/dist/C_Markdown.d.ts +2 -2
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_NotificationCenter.css +51 -36
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_Progress.d.cts +2 -2
- package/dist/C_Progress.d.ts +2 -2
- package/dist/C_Progress2.cjs +1 -1
- package/dist/C_Progress2.js +1 -1
- package/dist/C_Signature.css +15 -15
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_Steps.css +39 -39
- package/dist/C_Steps.d.cts +2 -2
- package/dist/C_Steps.d.ts +2 -2
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Table.base.css +58 -52
- package/dist/C_Table.css +58 -52
- package/dist/C_Table2.cjs +2 -2
- package/dist/C_Table2.js +2 -2
- package/dist/C_TagsView.css +60 -50
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Timeline.css +53 -53
- package/dist/C_Timeline2.cjs +1 -1
- package/dist/C_Timeline2.js +1 -1
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_WaterFall.css +41 -41
- package/dist/C_WaterFall.d.cts +2 -2
- package/dist/C_WaterFall.d.ts +2 -2
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +93 -92
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/ER.cjs +1 -1
- package/dist/ER.js +1 -1
- package/dist/UML.cjs +3 -3
- package/dist/UML.js +3 -3
- package/dist/component-config.d.ts +2 -0
- package/dist/constants3.d.cts +5 -5
- package/dist/constants3.d.ts +5 -5
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/context.d.cts +2 -0
- package/dist/data2.d.cts +5 -5
- package/dist/data2.d.ts +5 -5
- package/dist/editors.d.cts +6 -6
- package/dist/editors.d.ts +6 -6
- package/dist/graphEditSession.cjs +1 -0
- package/dist/graphEditSession.js +1 -0
- package/dist/index.d.cts +9 -10
- package/dist/index.d.ts +9 -9
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +0 -1
- package/dist/index10.vue.d.ts +10 -7
- package/dist/index11.vue.d.cts +10 -7
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +17 -14
- package/dist/index14.vue.d.cts +17 -14
- package/dist/index16.vue.d.ts +4 -9
- package/dist/index17.vue.d.cts +4 -9
- package/dist/index17.vue.d.ts +9 -9
- package/dist/index18.vue.d.cts +9 -9
- package/dist/index18.vue.d.ts +2 -7
- package/dist/index19.vue.d.cts +2 -7
- package/dist/index20.vue.d.ts +0 -1
- package/dist/index21.vue.d.cts +0 -1
- package/dist/index21.vue.d.ts +17 -15
- package/dist/index22.vue.d.cts +17 -15
- package/dist/index24.vue.d.cts +9 -6
- package/dist/index24.vue.d.ts +9 -6
- package/dist/index27.vue.d.cts +3 -3
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.cts +12 -19
- package/dist/index28.vue.d.ts +12 -19
- package/dist/index3.vue.d.cts +2 -2
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index30.vue.d.cts +3 -10
- package/dist/index30.vue.d.ts +3 -10
- package/dist/index31.vue.d.cts +5 -5
- package/dist/index31.vue.d.ts +5 -5
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +11 -8
- package/dist/index4.vue.d.ts +11 -8
- package/dist/index7.vue.d.ts +12 -12
- package/dist/index8.vue.d.cts +12 -12
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.cts +1 -1
- package/dist/index9.vue.d.ts +0 -1
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +1056 -1006
- package/dist/types.d.cts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.cts +11 -11
- package/dist/useCropperCore.d.ts +11 -11
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useGlobalSearch.d.cts +1 -5
- package/dist/useGlobalSearch.d.ts +1 -5
- package/dist/useInfiniteScroll.d.cts +42 -70
- package/dist/useInfiniteScroll.d.ts +42 -70
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useScopedComponentLocale.cjs +1 -0
- package/dist/useScopedComponentLocale.js +1 -0
- package/dist/useSignatureHistory.d.cts +9 -4
- package/dist/useSignatureHistory.d.ts +9 -4
- package/dist/useSplitResize.d.cts +8 -8
- package/dist/useSplitResize.d.ts +8 -8
- package/dist/useWorkflowValidation.d.cts +35 -30
- package/dist/useWorkflowValidation.d.ts +35 -30
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/docs/component-audit-closure-0.40.4.md +62 -0
- package/docs/guides/search-workflows.md +2 -0
- package/docs/guides/transfer.md +2 -0
- package/docs/guides/usage.en.md +15 -1
- package/docs/guides/usage.md +24 -1
- package/docs/guides/workflow.md +5 -1
- package/package.json +1 -1
- package/dist/readonlyGraph.cjs +0 -1
- package/dist/readonlyGraph.js +0 -1
package/dist/index14.vue.d.cts
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
+
//#region src/components/C_Editor/types.d.ts
|
|
4
|
+
/** 组件输入的单一类型来源,可直接用于共享配置。 */
|
|
5
|
+
interface EditorProps {
|
|
6
|
+
editorId?: string;
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
height?: number;
|
|
12
|
+
theme?: 'light' | 'dark';
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
3
15
|
//#region src/components/C_Editor/index.vue.d.ts
|
|
4
16
|
interface EditorInstance {
|
|
5
17
|
getHtml(): string;
|
|
@@ -9,16 +21,7 @@ interface EditorInstance {
|
|
|
9
21
|
destroy(): void;
|
|
10
22
|
isDestroyed: boolean;
|
|
11
23
|
}
|
|
12
|
-
|
|
13
|
-
editorId?: string;
|
|
14
|
-
modelValue?: string;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
readonly?: boolean;
|
|
18
|
-
height?: number;
|
|
19
|
-
theme?: 'light' | 'dark';
|
|
20
|
-
}
|
|
21
|
-
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
24
|
+
declare const __VLS_export: vue.DefineComponent<EditorProps, {
|
|
22
25
|
initializeEditor: () => void;
|
|
23
26
|
destroyEditor: () => void;
|
|
24
27
|
setContent: (html: string) => void;
|
|
@@ -46,18 +49,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
46
49
|
error: (error: Error) => any;
|
|
47
50
|
"editor-mounted": (editor: EditorInstance) => any;
|
|
48
51
|
"editor-change": (html: string) => any;
|
|
49
|
-
}, string, vue.PublicProps, Readonly<
|
|
52
|
+
}, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
|
|
50
53
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
54
|
onError?: ((error: Error) => any) | undefined;
|
|
52
55
|
"onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
|
|
53
56
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
54
57
|
}>, {
|
|
55
58
|
modelValue: string;
|
|
56
|
-
disabled: boolean;
|
|
57
59
|
height: number;
|
|
58
|
-
|
|
60
|
+
disabled: boolean;
|
|
59
61
|
placeholder: string;
|
|
62
|
+
readonly: boolean;
|
|
60
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
61
64
|
declare const _default: typeof __VLS_export;
|
|
62
65
|
//#endregion
|
|
63
|
-
export { _default as t };
|
|
66
|
+
export { EditorProps as n, _default as t };
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -97,26 +97,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
97
97
|
resetCompleted: () => void;
|
|
98
98
|
isCompleted: () => boolean;
|
|
99
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
+
error: (error: unknown) => any;
|
|
100
101
|
start: () => any;
|
|
101
|
-
close: (currentStep: number) => any;
|
|
102
102
|
complete: () => any;
|
|
103
|
+
close: (currentStep: number) => any;
|
|
103
104
|
skip: (currentStep: number) => any;
|
|
104
105
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
105
|
-
error: (error: unknown) => any;
|
|
106
106
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
107
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
107
108
|
onStart?: (() => any) | undefined;
|
|
108
|
-
onClose?: ((currentStep: number) => any) | undefined;
|
|
109
109
|
onComplete?: (() => any) | undefined;
|
|
110
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
110
111
|
onSkip?: ((currentStep: number) => any) | undefined;
|
|
111
112
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
112
|
-
onError?: ((error: unknown) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
steps: GuideStep[];
|
|
115
|
-
doneBtnText: string;
|
|
116
|
-
nextBtnText: string;
|
|
117
|
-
prevBtnText: string;
|
|
118
115
|
showSkipButton: boolean;
|
|
119
|
-
skipBtnText: string;
|
|
120
116
|
showProgress: boolean;
|
|
121
117
|
keyboard: boolean;
|
|
122
118
|
animate: boolean;
|
|
@@ -124,7 +120,6 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
124
120
|
skipMissingElements: boolean;
|
|
125
121
|
popoverClass: string;
|
|
126
122
|
showTrigger: boolean;
|
|
127
|
-
triggerTooltip: string;
|
|
128
123
|
triggerIcon: string;
|
|
129
124
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
130
125
|
declare const _default: typeof __VLS_export;
|
package/dist/index17.vue.d.cts
CHANGED
|
@@ -97,26 +97,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
97
97
|
resetCompleted: () => void;
|
|
98
98
|
isCompleted: () => boolean;
|
|
99
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
+
error: (error: unknown) => any;
|
|
100
101
|
start: () => any;
|
|
101
|
-
close: (currentStep: number) => any;
|
|
102
102
|
complete: () => any;
|
|
103
|
+
close: (currentStep: number) => any;
|
|
103
104
|
skip: (currentStep: number) => any;
|
|
104
105
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
105
|
-
error: (error: unknown) => any;
|
|
106
106
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
107
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
107
108
|
onStart?: (() => any) | undefined;
|
|
108
|
-
onClose?: ((currentStep: number) => any) | undefined;
|
|
109
109
|
onComplete?: (() => any) | undefined;
|
|
110
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
110
111
|
onSkip?: ((currentStep: number) => any) | undefined;
|
|
111
112
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
112
|
-
onError?: ((error: unknown) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
steps: GuideStep[];
|
|
115
|
-
doneBtnText: string;
|
|
116
|
-
nextBtnText: string;
|
|
117
|
-
prevBtnText: string;
|
|
118
115
|
showSkipButton: boolean;
|
|
119
|
-
skipBtnText: string;
|
|
120
116
|
showProgress: boolean;
|
|
121
117
|
keyboard: boolean;
|
|
122
118
|
animate: boolean;
|
|
@@ -124,7 +120,6 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
124
120
|
skipMissingElements: boolean;
|
|
125
121
|
popoverClass: string;
|
|
126
122
|
showTrigger: boolean;
|
|
127
|
-
triggerTooltip: string;
|
|
128
123
|
triggerIcon: string;
|
|
129
124
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
130
125
|
declare const _default: typeof __VLS_export;
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
30
30
|
errorMessage: Readonly<vue.Ref<string, string>>;
|
|
31
31
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
32
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
33
|
-
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
34
33
|
error: (type: string, error?: unknown) => any;
|
|
34
|
+
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
35
35
|
load: () => any;
|
|
36
36
|
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
37
|
-
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
38
37
|
onError?: ((type: string, error?: unknown) => any) | undefined;
|
|
38
|
+
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
39
39
|
onLoad?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
size: number | string;
|
|
42
|
-
clickable: boolean;
|
|
43
41
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
42
|
+
ariaLabel: string;
|
|
44
43
|
color: string;
|
|
45
|
-
|
|
46
|
-
viewBox: string;
|
|
47
|
-
loading: boolean;
|
|
48
|
-
flip: "horizontal" | "vertical" | "both";
|
|
44
|
+
size: number | string;
|
|
49
45
|
svgPath: string;
|
|
46
|
+
viewBox: string;
|
|
50
47
|
alt: string;
|
|
48
|
+
clickable: boolean;
|
|
49
|
+
loading: boolean;
|
|
51
50
|
fallbackIcon: string;
|
|
52
51
|
loadTimeout: number;
|
|
53
|
-
|
|
52
|
+
title: string;
|
|
54
53
|
customClass: string;
|
|
55
54
|
rotate: number;
|
|
55
|
+
flip: "horizontal" | "vertical" | "both";
|
|
56
56
|
componentProps: Record<string, unknown>;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
package/dist/index18.vue.d.cts
CHANGED
|
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
30
30
|
errorMessage: Readonly<vue.Ref<string, string>>;
|
|
31
31
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
32
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
33
|
-
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
34
33
|
error: (type: string, error?: unknown) => any;
|
|
34
|
+
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
35
35
|
load: () => any;
|
|
36
36
|
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
37
|
-
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
38
37
|
onError?: ((type: string, error?: unknown) => any) | undefined;
|
|
38
|
+
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
39
39
|
onLoad?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
size: number | string;
|
|
42
|
-
clickable: boolean;
|
|
43
41
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
42
|
+
ariaLabel: string;
|
|
44
43
|
color: string;
|
|
45
|
-
|
|
46
|
-
viewBox: string;
|
|
47
|
-
loading: boolean;
|
|
48
|
-
flip: "horizontal" | "vertical" | "both";
|
|
44
|
+
size: number | string;
|
|
49
45
|
svgPath: string;
|
|
46
|
+
viewBox: string;
|
|
50
47
|
alt: string;
|
|
48
|
+
clickable: boolean;
|
|
49
|
+
loading: boolean;
|
|
51
50
|
fallbackIcon: string;
|
|
52
51
|
loadTimeout: number;
|
|
53
|
-
|
|
52
|
+
title: string;
|
|
54
53
|
customClass: string;
|
|
55
54
|
rotate: number;
|
|
55
|
+
flip: "horizontal" | "vertical" | "both";
|
|
56
56
|
componentProps: Record<string, unknown>;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -8,14 +8,9 @@ interface LanguageOption {
|
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/components/C_Language/index.vue.d.ts
|
|
11
|
-
interface LegacyLanguageOption extends LanguageOption {
|
|
12
|
-
key: string;
|
|
13
|
-
label: string;
|
|
14
|
-
iconClass?: string;
|
|
15
|
-
}
|
|
16
11
|
type __VLS_Props = {
|
|
17
12
|
modelValue?: string;
|
|
18
|
-
options?:
|
|
13
|
+
options?: LanguageOption[]; /** Tooltip 文案,默认 "语言切换" */
|
|
19
14
|
tooltip?: string;
|
|
20
15
|
};
|
|
21
16
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -26,7 +21,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
21
|
onChange?: ((key: string) => any) | undefined;
|
|
27
22
|
}>, {
|
|
28
23
|
modelValue: string;
|
|
29
|
-
options:
|
|
24
|
+
options: LanguageOption[];
|
|
30
25
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
31
26
|
declare const _default: typeof __VLS_export;
|
|
32
27
|
//#endregion
|
package/dist/index19.vue.d.cts
CHANGED
|
@@ -8,14 +8,9 @@ interface LanguageOption {
|
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/components/C_Language/index.vue.d.ts
|
|
11
|
-
interface LegacyLanguageOption extends LanguageOption {
|
|
12
|
-
key: string;
|
|
13
|
-
label: string;
|
|
14
|
-
iconClass?: string;
|
|
15
|
-
}
|
|
16
11
|
type __VLS_Props = {
|
|
17
12
|
modelValue?: string;
|
|
18
|
-
options?:
|
|
13
|
+
options?: LanguageOption[]; /** Tooltip 文案,默认 "语言切换" */
|
|
19
14
|
tooltip?: string;
|
|
20
15
|
};
|
|
21
16
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -26,7 +21,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
21
|
onChange?: ((key: string) => any) | undefined;
|
|
27
22
|
}>, {
|
|
28
23
|
modelValue: string;
|
|
29
|
-
options:
|
|
24
|
+
options: LanguageOption[];
|
|
30
25
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
31
26
|
declare const _default: typeof __VLS_export;
|
|
32
27
|
//#endregion
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -116,7 +116,6 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
116
116
|
"onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
|
|
117
117
|
"onUsername-change"?: ((username: string) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
title: string;
|
|
120
119
|
loading: boolean;
|
|
121
120
|
storageKey: string;
|
|
122
121
|
defaultUsername: string;
|
package/dist/index21.vue.d.cts
CHANGED
|
@@ -116,7 +116,6 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
116
116
|
"onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
|
|
117
117
|
"onUsername-change"?: ((username: string) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
title: string;
|
|
120
119
|
loading: boolean;
|
|
121
120
|
storageKey: string;
|
|
122
121
|
defaultUsername: string;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/C_Markdown/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
url: string;
|
|
7
|
-
desc?: string;
|
|
8
|
-
width?: string | number;
|
|
9
|
-
height?: string | number;
|
|
10
|
-
}) => void;
|
|
11
|
-
interface Props {
|
|
3
|
+
//#region src/components/C_Markdown/types.d.ts
|
|
4
|
+
/** 组件输入的单一类型来源,可直接用于共享配置。 */
|
|
5
|
+
interface MarkdownProps {
|
|
12
6
|
modelValue?: string;
|
|
13
7
|
/** SSR 或同页多实例时建议显式传入稳定 ID */
|
|
14
8
|
editorId?: string;
|
|
@@ -16,7 +10,7 @@ interface Props {
|
|
|
16
10
|
disabled?: boolean;
|
|
17
11
|
placeholder?: string;
|
|
18
12
|
mode?: 'edit' | 'editable' | 'preview';
|
|
19
|
-
toolbar?: object |
|
|
13
|
+
toolbar?: object | Array<string | number>;
|
|
20
14
|
uploadImageConfig?: {
|
|
21
15
|
accept?: string;
|
|
22
16
|
multiple?: boolean;
|
|
@@ -35,7 +29,15 @@ interface Props {
|
|
|
35
29
|
/** 是否为暗色主题(外部传入) */
|
|
36
30
|
isDark?: boolean;
|
|
37
31
|
}
|
|
38
|
-
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/components/C_Markdown/index.vue.d.ts
|
|
34
|
+
type InsertImageFunction = (config: {
|
|
35
|
+
url: string;
|
|
36
|
+
desc?: string;
|
|
37
|
+
width?: string | number;
|
|
38
|
+
height?: string | number;
|
|
39
|
+
}) => void;
|
|
40
|
+
declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
|
|
39
41
|
focus: () => void;
|
|
40
42
|
getHtml: () => string;
|
|
41
43
|
insertText: (text: string) => void;
|
|
@@ -50,7 +52,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
50
52
|
"word-count-change": (count: number) => any;
|
|
51
53
|
"auto-save": (text: string) => any;
|
|
52
54
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
53
|
-
}, string, vue.PublicProps, Readonly<
|
|
55
|
+
}, string, vue.PublicProps, Readonly<MarkdownProps> & Readonly<{
|
|
54
56
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
55
57
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
56
58
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
@@ -62,13 +64,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
62
64
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
63
65
|
}>, {
|
|
64
66
|
modelValue: string;
|
|
65
|
-
disabled: boolean;
|
|
66
67
|
height: string | number;
|
|
68
|
+
disabled: boolean;
|
|
67
69
|
mode: "edit" | "editable" | "preview";
|
|
68
70
|
placeholder: string;
|
|
69
|
-
autofocus: boolean;
|
|
70
71
|
tocNavPosition: "left" | "right";
|
|
71
72
|
defaultFullscreen: boolean;
|
|
73
|
+
autofocus: boolean;
|
|
72
74
|
includeLevel: number[];
|
|
73
75
|
leftToolbar: string;
|
|
74
76
|
rightToolbar: string;
|
|
@@ -80,4 +82,4 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
80
82
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
81
83
|
declare const _default: typeof __VLS_export;
|
|
82
84
|
//#endregion
|
|
83
|
-
export { _default as t };
|
|
85
|
+
export { MarkdownProps as n, _default as t };
|
package/dist/index22.vue.d.cts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/C_Markdown/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
url: string;
|
|
7
|
-
desc?: string;
|
|
8
|
-
width?: string | number;
|
|
9
|
-
height?: string | number;
|
|
10
|
-
}) => void;
|
|
11
|
-
interface Props {
|
|
3
|
+
//#region src/components/C_Markdown/types.d.ts
|
|
4
|
+
/** 组件输入的单一类型来源,可直接用于共享配置。 */
|
|
5
|
+
interface MarkdownProps {
|
|
12
6
|
modelValue?: string;
|
|
13
7
|
/** SSR 或同页多实例时建议显式传入稳定 ID */
|
|
14
8
|
editorId?: string;
|
|
@@ -16,7 +10,7 @@ interface Props {
|
|
|
16
10
|
disabled?: boolean;
|
|
17
11
|
placeholder?: string;
|
|
18
12
|
mode?: 'edit' | 'editable' | 'preview';
|
|
19
|
-
toolbar?: object |
|
|
13
|
+
toolbar?: object | Array<string | number>;
|
|
20
14
|
uploadImageConfig?: {
|
|
21
15
|
accept?: string;
|
|
22
16
|
multiple?: boolean;
|
|
@@ -35,7 +29,15 @@ interface Props {
|
|
|
35
29
|
/** 是否为暗色主题(外部传入) */
|
|
36
30
|
isDark?: boolean;
|
|
37
31
|
}
|
|
38
|
-
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/components/C_Markdown/index.vue.d.ts
|
|
34
|
+
type InsertImageFunction = (config: {
|
|
35
|
+
url: string;
|
|
36
|
+
desc?: string;
|
|
37
|
+
width?: string | number;
|
|
38
|
+
height?: string | number;
|
|
39
|
+
}) => void;
|
|
40
|
+
declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
|
|
39
41
|
focus: () => void;
|
|
40
42
|
getHtml: () => string;
|
|
41
43
|
insertText: (text: string) => void;
|
|
@@ -50,7 +52,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
50
52
|
"word-count-change": (count: number) => any;
|
|
51
53
|
"auto-save": (text: string) => any;
|
|
52
54
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
53
|
-
}, string, vue.PublicProps, Readonly<
|
|
55
|
+
}, string, vue.PublicProps, Readonly<MarkdownProps> & Readonly<{
|
|
54
56
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
55
57
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
56
58
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
@@ -62,13 +64,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
62
64
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
63
65
|
}>, {
|
|
64
66
|
modelValue: string;
|
|
65
|
-
disabled: boolean;
|
|
66
67
|
height: string | number;
|
|
68
|
+
disabled: boolean;
|
|
67
69
|
mode: "edit" | "editable" | "preview";
|
|
68
70
|
placeholder: string;
|
|
69
|
-
autofocus: boolean;
|
|
70
71
|
tocNavPosition: "left" | "right";
|
|
71
72
|
defaultFullscreen: boolean;
|
|
73
|
+
autofocus: boolean;
|
|
72
74
|
includeLevel: number[];
|
|
73
75
|
leftToolbar: string;
|
|
74
76
|
rightToolbar: string;
|
|
@@ -80,4 +82,4 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
80
82
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
81
83
|
declare const _default: typeof __VLS_export;
|
|
82
84
|
//#endregion
|
|
83
|
-
export { _default as t };
|
|
85
|
+
export { MarkdownProps as n, _default as t };
|
package/dist/index24.vue.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
import { CSSProperties } from "vue";
|
|
3
3
|
|
|
4
|
-
//#region src/components/C_Progress/
|
|
4
|
+
//#region src/components/C_Progress/types.d.ts
|
|
5
5
|
type CSS = CSSProperties | string;
|
|
6
|
-
|
|
6
|
+
/** 组件输入的单一类型来源,可直接用于共享配置。 */
|
|
7
|
+
interface ProgressProps {
|
|
7
8
|
percentage: number | number[];
|
|
8
9
|
isAnimation?: boolean;
|
|
9
10
|
time?: number;
|
|
@@ -29,18 +30,20 @@ interface Props {
|
|
|
29
30
|
strokeWidth?: number;
|
|
30
31
|
unit?: string;
|
|
31
32
|
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/C_Progress/index.vue.d.ts
|
|
32
35
|
declare var __VLS_9: {};
|
|
33
36
|
type __VLS_Slots = {} & {
|
|
34
37
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
38
|
};
|
|
36
|
-
declare const __VLS_base: vue.DefineComponent<
|
|
37
|
-
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
|
+
declare const __VLS_base: vue.DefineComponent<ProgressProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
38
40
|
strokeWidth: number;
|
|
39
|
-
time: number;
|
|
40
41
|
percentage: number | number[];
|
|
41
42
|
isAnimation: boolean;
|
|
43
|
+
time: number;
|
|
42
44
|
indicatorPlacement: "inside" | "outside";
|
|
43
45
|
showIndicator: boolean;
|
|
46
|
+
status: "default" | "success" | "error" | "warning" | "info";
|
|
44
47
|
unit: string;
|
|
45
48
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
46
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -51,4 +54,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
51
54
|
};
|
|
52
55
|
};
|
|
53
56
|
//#endregion
|
|
54
|
-
export { _default as t };
|
|
57
|
+
export { ProgressProps as n, _default as t };
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
import { CSSProperties } from "vue";
|
|
3
3
|
|
|
4
|
-
//#region src/components/C_Progress/
|
|
4
|
+
//#region src/components/C_Progress/types.d.ts
|
|
5
5
|
type CSS = CSSProperties | string;
|
|
6
|
-
|
|
6
|
+
/** 组件输入的单一类型来源,可直接用于共享配置。 */
|
|
7
|
+
interface ProgressProps {
|
|
7
8
|
percentage: number | number[];
|
|
8
9
|
isAnimation?: boolean;
|
|
9
10
|
time?: number;
|
|
@@ -29,18 +30,20 @@ interface Props {
|
|
|
29
30
|
strokeWidth?: number;
|
|
30
31
|
unit?: string;
|
|
31
32
|
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/C_Progress/index.vue.d.ts
|
|
32
35
|
declare var __VLS_9: {};
|
|
33
36
|
type __VLS_Slots = {} & {
|
|
34
37
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
38
|
};
|
|
36
|
-
declare const __VLS_base: vue.DefineComponent<
|
|
37
|
-
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
|
+
declare const __VLS_base: vue.DefineComponent<ProgressProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
38
40
|
strokeWidth: number;
|
|
39
|
-
time: number;
|
|
40
41
|
percentage: number | number[];
|
|
41
42
|
isAnimation: boolean;
|
|
43
|
+
time: number;
|
|
42
44
|
indicatorPlacement: "inside" | "outside";
|
|
43
45
|
showIndicator: boolean;
|
|
46
|
+
status: "default" | "success" | "error" | "warning" | "info";
|
|
44
47
|
unit: string;
|
|
45
48
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
46
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -51,4 +54,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
51
54
|
};
|
|
52
55
|
};
|
|
53
56
|
//#endregion
|
|
54
|
-
export { _default as t };
|
|
57
|
+
export { ProgressProps as n, _default as t };
|
package/dist/index27.vue.d.cts
CHANGED
|
@@ -64,7 +64,7 @@ interface SkeletonProps {
|
|
|
64
64
|
loading?: boolean;
|
|
65
65
|
/** 动画类型 */
|
|
66
66
|
animation?: SkeletonAnimation;
|
|
67
|
-
/** 重复次数(用于 text/card/list
|
|
67
|
+
/** 重复次数(用于 text/card/image 模式;列表数量使用 list.items) */
|
|
68
68
|
repeat?: number;
|
|
69
69
|
/** 圆角大小 */
|
|
70
70
|
borderRadius?: string;
|
|
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
89
|
repeat: number;
|
|
90
90
|
loading: boolean;
|
|
91
|
-
borderRadius: string;
|
|
92
|
-
preset: SkeletonPreset;
|
|
93
91
|
animation: SkeletonAnimation;
|
|
92
|
+
preset: SkeletonPreset;
|
|
93
|
+
borderRadius: string;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index27.vue.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ interface SkeletonProps {
|
|
|
64
64
|
loading?: boolean;
|
|
65
65
|
/** 动画类型 */
|
|
66
66
|
animation?: SkeletonAnimation;
|
|
67
|
-
/** 重复次数(用于 text/card/list
|
|
67
|
+
/** 重复次数(用于 text/card/image 模式;列表数量使用 list.items) */
|
|
68
68
|
repeat?: number;
|
|
69
69
|
/** 圆角大小 */
|
|
70
70
|
borderRadius?: string;
|
|
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
89
|
repeat: number;
|
|
90
90
|
loading: boolean;
|
|
91
|
-
borderRadius: string;
|
|
92
|
-
preset: SkeletonPreset;
|
|
93
91
|
animation: SkeletonAnimation;
|
|
92
|
+
preset: SkeletonPreset;
|
|
93
|
+
borderRadius: string;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index28.vue.d.cts
CHANGED
|
@@ -10,36 +10,29 @@ interface StepItem {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
detail?: string;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
title: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
time?: string;
|
|
19
|
-
icon?: string;
|
|
20
|
-
status?: 'wait' | 'process' | 'finish' | 'error';
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
detail?: string;
|
|
23
|
-
}
|
|
24
|
-
type __VLS_Props = {
|
|
25
|
-
steps: LegacyStepItem[];
|
|
13
|
+
/** 步骤数据与常用展示配置;只读数组可直接来自共享配置。 */
|
|
14
|
+
interface StepsProps {
|
|
15
|
+
steps: readonly StepItem[];
|
|
26
16
|
current?: number;
|
|
27
17
|
direction?: 'horizontal' | 'vertical';
|
|
28
|
-
clickable?: boolean;
|
|
18
|
+
clickable?: boolean;
|
|
19
|
+
/** 水平连接线是否贴近图标;默认保留两端间距。 */
|
|
29
20
|
connected?: boolean;
|
|
30
|
-
}
|
|
31
|
-
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/C_Steps/index.vue.d.ts
|
|
24
|
+
declare const __VLS_export: vue.DefineComponent<StepsProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
32
25
|
change: (args_0: number) => any;
|
|
33
26
|
"update:current": (args_0: number) => any;
|
|
34
|
-
}, string, vue.PublicProps, Readonly<
|
|
27
|
+
}, string, vue.PublicProps, Readonly<StepsProps> & Readonly<{
|
|
35
28
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
29
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
30
|
}>, {
|
|
38
31
|
direction: "horizontal" | "vertical";
|
|
39
32
|
clickable: boolean;
|
|
40
|
-
current: number;
|
|
41
33
|
connected: boolean;
|
|
34
|
+
current: number;
|
|
42
35
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
36
|
declare const _default: typeof __VLS_export;
|
|
44
37
|
//#endregion
|
|
45
|
-
export { StepItem as n, _default as t };
|
|
38
|
+
export { StepItem as n, StepsProps as r, _default as t };
|
package/dist/index28.vue.d.ts
CHANGED
|
@@ -10,36 +10,29 @@ interface StepItem {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
detail?: string;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
title: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
time?: string;
|
|
19
|
-
icon?: string;
|
|
20
|
-
status?: 'wait' | 'process' | 'finish' | 'error';
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
detail?: string;
|
|
23
|
-
}
|
|
24
|
-
type __VLS_Props = {
|
|
25
|
-
steps: LegacyStepItem[];
|
|
13
|
+
/** 步骤数据与常用展示配置;只读数组可直接来自共享配置。 */
|
|
14
|
+
interface StepsProps {
|
|
15
|
+
steps: readonly StepItem[];
|
|
26
16
|
current?: number;
|
|
27
17
|
direction?: 'horizontal' | 'vertical';
|
|
28
|
-
clickable?: boolean;
|
|
18
|
+
clickable?: boolean;
|
|
19
|
+
/** 水平连接线是否贴近图标;默认保留两端间距。 */
|
|
29
20
|
connected?: boolean;
|
|
30
|
-
}
|
|
31
|
-
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/C_Steps/index.vue.d.ts
|
|
24
|
+
declare const __VLS_export: vue.DefineComponent<StepsProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
32
25
|
change: (args_0: number) => any;
|
|
33
26
|
"update:current": (args_0: number) => any;
|
|
34
|
-
}, string, vue.PublicProps, Readonly<
|
|
27
|
+
}, string, vue.PublicProps, Readonly<StepsProps> & Readonly<{
|
|
35
28
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
29
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
30
|
}>, {
|
|
38
31
|
direction: "horizontal" | "vertical";
|
|
39
32
|
clickable: boolean;
|
|
40
|
-
current: number;
|
|
41
33
|
connected: boolean;
|
|
34
|
+
current: number;
|
|
42
35
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
36
|
declare const _default: typeof __VLS_export;
|
|
44
37
|
//#endregion
|
|
45
|
-
export { StepItem as n, _default as t };
|
|
38
|
+
export { StepItem as n, StepsProps as r, _default as t };
|