@robot-admin/naive-ui-components 0.40.0 → 0.40.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/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_Menu.css +1 -1
- package/dist/C_Menu2.cjs +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +3 -3
- package/dist/constants4.d.ts +3 -3
- package/dist/data2.d.cts +6 -6
- package/dist/data2.d.ts +6 -6
- package/dist/editors.d.cts +7 -7
- package/dist/editors.d.ts +7 -7
- package/dist/formField.d.cts +2 -2
- package/dist/formField.d.ts +2 -2
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index16.vue.d.ts +6 -6
- package/dist/index17.vue.d.cts +6 -6
- package/dist/index17.vue.d.ts +5 -5
- package/dist/index18.vue.d.cts +5 -5
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +5 -5
- package/dist/index22.vue.d.cts +5 -5
- package/dist/index22.vue.d.ts +8 -5
- package/dist/index24.vue.d.cts +1 -1
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index30.vue.d.cts +1 -1
- package/dist/index30.vue.d.ts +1 -1
- package/dist/index31.vue.d.cts +3 -3
- package/dist/index31.vue.d.ts +3 -3
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +4 -4
- package/dist/index4.vue.d.ts +4 -4
- package/dist/index6.vue.d.cts +8 -5
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/source.d.cts +2 -2
- package/dist/source.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.cts +8 -8
- package/dist/useCropperCore.d.ts +8 -8
- package/dist/useDynamicFormState.d.cts +3 -3
- package/dist/useDynamicFormState.d.ts +3 -3
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSignatureHistory.d.cts +1 -1
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useTimeSelection.d.cts +3 -3
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useWorkflowValidation.d.cts +34 -34
- package/dist/useWorkflowValidation.d.ts +34 -34
- package/package.json +1 -1
package/dist/index16.vue.d.cts
CHANGED
|
@@ -41,8 +41,8 @@ interface FormModalEmits<T extends object = FormRecord> {
|
|
|
41
41
|
//#region src/components/C_FormModal/index.vue.d.ts
|
|
42
42
|
declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
43
43
|
props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
|
|
44
|
-
onClose?: (() => any) | undefined;
|
|
45
44
|
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
45
|
+
onClose?: (() => any) | undefined;
|
|
46
46
|
}> & (typeof globalThis extends {
|
|
47
47
|
__VLS_PROPS_FALLBACK: infer P;
|
|
48
48
|
} ? P : {});
|
|
@@ -51,7 +51,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
51
51
|
slots: {
|
|
52
52
|
[x: string]: ((props: any) => any) | undefined;
|
|
53
53
|
};
|
|
54
|
-
emit: ((evt: "
|
|
54
|
+
emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
|
|
55
55
|
}>) => vue.VNode & {
|
|
56
56
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
57
57
|
};
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -97,33 +97,33 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
97
97
|
resetCompleted: () => void;
|
|
98
98
|
isCompleted: () => boolean;
|
|
99
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
+
close: (currentStep: number) => any;
|
|
101
|
+
error: (error: unknown) => any;
|
|
100
102
|
start: () => any;
|
|
101
103
|
complete: () => any;
|
|
102
|
-
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
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
108
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
107
109
|
onStart?: (() => any) | undefined;
|
|
108
110
|
onComplete?: (() => any) | undefined;
|
|
109
|
-
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
|
+
keyboard: boolean;
|
|
116
|
+
showTrigger: boolean;
|
|
115
117
|
doneBtnText: string;
|
|
116
118
|
nextBtnText: string;
|
|
117
119
|
prevBtnText: string;
|
|
118
120
|
showSkipButton: boolean;
|
|
119
121
|
skipBtnText: string;
|
|
120
122
|
showProgress: boolean;
|
|
121
|
-
keyboard: boolean;
|
|
122
123
|
animate: boolean;
|
|
123
124
|
allowClose: boolean;
|
|
124
125
|
skipMissingElements: boolean;
|
|
125
126
|
popoverClass: string;
|
|
126
|
-
showTrigger: boolean;
|
|
127
127
|
triggerTooltip: string;
|
|
128
128
|
triggerIcon: string;
|
|
129
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index17.vue.d.cts
CHANGED
|
@@ -97,33 +97,33 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
97
97
|
resetCompleted: () => void;
|
|
98
98
|
isCompleted: () => boolean;
|
|
99
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
+
close: (currentStep: number) => any;
|
|
101
|
+
error: (error: unknown) => any;
|
|
100
102
|
start: () => any;
|
|
101
103
|
complete: () => any;
|
|
102
|
-
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
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
108
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
107
109
|
onStart?: (() => any) | undefined;
|
|
108
110
|
onComplete?: (() => any) | undefined;
|
|
109
|
-
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
|
+
keyboard: boolean;
|
|
116
|
+
showTrigger: boolean;
|
|
115
117
|
doneBtnText: string;
|
|
116
118
|
nextBtnText: string;
|
|
117
119
|
prevBtnText: string;
|
|
118
120
|
showSkipButton: boolean;
|
|
119
121
|
skipBtnText: string;
|
|
120
122
|
showProgress: boolean;
|
|
121
|
-
keyboard: boolean;
|
|
122
123
|
animate: boolean;
|
|
123
124
|
allowClose: boolean;
|
|
124
125
|
skipMissingElements: boolean;
|
|
125
126
|
popoverClass: string;
|
|
126
|
-
showTrigger: boolean;
|
|
127
127
|
triggerTooltip: string;
|
|
128
128
|
triggerIcon: string;
|
|
129
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -40,19 +40,19 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
40
40
|
}>, {
|
|
41
41
|
clickable: boolean;
|
|
42
42
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
43
|
-
loading: boolean;
|
|
44
43
|
size: number | string;
|
|
45
|
-
color: string;
|
|
46
44
|
title: string;
|
|
47
|
-
|
|
45
|
+
loading: boolean;
|
|
46
|
+
color: string;
|
|
48
47
|
flip: "horizontal" | "vertical" | "both";
|
|
49
|
-
|
|
48
|
+
rotate: number;
|
|
50
49
|
viewBox: string;
|
|
50
|
+
ariaLabel: string;
|
|
51
|
+
svgPath: string;
|
|
51
52
|
alt: string;
|
|
52
53
|
fallbackIcon: string;
|
|
53
54
|
loadTimeout: number;
|
|
54
55
|
customClass: string;
|
|
55
|
-
rotate: number;
|
|
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
|
@@ -40,19 +40,19 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
40
40
|
}>, {
|
|
41
41
|
clickable: boolean;
|
|
42
42
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
43
|
-
loading: boolean;
|
|
44
43
|
size: number | string;
|
|
45
|
-
color: string;
|
|
46
44
|
title: string;
|
|
47
|
-
|
|
45
|
+
loading: boolean;
|
|
46
|
+
color: string;
|
|
48
47
|
flip: "horizontal" | "vertical" | "both";
|
|
49
|
-
|
|
48
|
+
rotate: number;
|
|
50
49
|
viewBox: string;
|
|
50
|
+
ariaLabel: string;
|
|
51
|
+
svgPath: string;
|
|
51
52
|
alt: string;
|
|
52
53
|
fallbackIcon: string;
|
|
53
54
|
loadTimeout: number;
|
|
54
55
|
customClass: string;
|
|
55
|
-
rotate: number;
|
|
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
|
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
25
25
|
onChange?: ((key: string) => any) | undefined;
|
|
26
26
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
modelValue: string;
|
|
29
28
|
options: LegacyLanguageOption[];
|
|
29
|
+
modelValue: string;
|
|
30
30
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
//#endregion
|
package/dist/index19.vue.d.cts
CHANGED
|
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
25
25
|
onChange?: ((key: string) => any) | undefined;
|
|
26
26
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
modelValue: string;
|
|
29
28
|
options: LegacyLanguageOption[];
|
|
29
|
+
modelValue: string;
|
|
30
30
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
//#endregion
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -116,8 +116,8 @@ 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
|
-
loading: boolean;
|
|
120
119
|
title: string;
|
|
120
|
+
loading: boolean;
|
|
121
121
|
storageKey: string;
|
|
122
122
|
defaultUsername: string;
|
|
123
123
|
defaultPassword: string;
|
package/dist/index21.vue.d.cts
CHANGED
|
@@ -116,8 +116,8 @@ 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
|
-
loading: boolean;
|
|
120
119
|
title: string;
|
|
120
|
+
loading: boolean;
|
|
121
121
|
storageKey: string;
|
|
122
122
|
defaultUsername: string;
|
|
123
123
|
defaultPassword: string;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
42
42
|
wordCount: vue.ComputedRef<number>;
|
|
43
43
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
44
44
|
change: (text: string, html: string) => any;
|
|
45
|
-
"update:modelValue": (value: string) => any;
|
|
46
45
|
save: (text: string, html: string) => any;
|
|
46
|
+
"update:modelValue": (value: string) => any;
|
|
47
47
|
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
48
48
|
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
49
49
|
"copy-code-success": (text: string) => any;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
52
52
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
53
53
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
54
54
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
55
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
56
55
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
57
57
|
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
58
58
|
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
59
59
|
"onCopy-code-success"?: ((text: string) => any) | undefined;
|
|
@@ -62,13 +62,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
62
62
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
disabled: boolean;
|
|
65
|
+
mode: "edit" | "editable" | "preview";
|
|
65
66
|
modelValue: string;
|
|
66
|
-
height: string | number;
|
|
67
67
|
placeholder: string;
|
|
68
|
-
|
|
68
|
+
height: string | number;
|
|
69
|
+
autofocus: boolean;
|
|
69
70
|
tocNavPosition: "left" | "right";
|
|
70
71
|
defaultFullscreen: boolean;
|
|
71
|
-
autofocus: boolean;
|
|
72
72
|
includeLevel: number[];
|
|
73
73
|
leftToolbar: string;
|
|
74
74
|
rightToolbar: string;
|
package/dist/index22.vue.d.cts
CHANGED
|
@@ -42,8 +42,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
42
42
|
wordCount: vue.ComputedRef<number>;
|
|
43
43
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
44
44
|
change: (text: string, html: string) => any;
|
|
45
|
-
"update:modelValue": (value: string) => any;
|
|
46
45
|
save: (text: string, html: string) => any;
|
|
46
|
+
"update:modelValue": (value: string) => any;
|
|
47
47
|
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
48
48
|
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
49
49
|
"copy-code-success": (text: string) => any;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
52
52
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
53
53
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
54
54
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
55
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
56
55
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
57
57
|
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
58
58
|
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
59
59
|
"onCopy-code-success"?: ((text: string) => any) | undefined;
|
|
@@ -62,13 +62,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
62
62
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
disabled: boolean;
|
|
65
|
+
mode: "edit" | "editable" | "preview";
|
|
65
66
|
modelValue: string;
|
|
66
|
-
height: string | number;
|
|
67
67
|
placeholder: string;
|
|
68
|
-
|
|
68
|
+
height: string | number;
|
|
69
|
+
autofocus: boolean;
|
|
69
70
|
tocNavPosition: "left" | "right";
|
|
70
71
|
defaultFullscreen: boolean;
|
|
71
|
-
autofocus: boolean;
|
|
72
72
|
includeLevel: number[];
|
|
73
73
|
leftToolbar: string;
|
|
74
74
|
rightToolbar: string;
|
package/dist/index22.vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as RouteItem, t as MenuAdapterConfig } from "./public.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
import { DropdownProps, MenuInst, MenuOption } from "naive-ui";
|
|
4
|
+
import { DropdownProps, MenuInst, MenuOption, MenuProps } from "naive-ui";
|
|
5
5
|
|
|
6
6
|
//#region src/components/C_Menu/types.d.ts
|
|
7
7
|
type MenuKey = string | number;
|
|
@@ -15,7 +15,7 @@ type MenuOptionKeys<Option, Seen = never> = Option extends Seen ? OwnMenuKey<Opt
|
|
|
15
15
|
} ? Children extends readonly unknown[] ? MenuOptionKeys<Children[number], Seen | Option> : never : never);
|
|
16
16
|
type WidenMenuKey<Key> = Key extends string ? string : Key extends number ? number : never;
|
|
17
17
|
type MenuSelectionKey<O extends MenuOption[] | undefined> = O extends MenuOption[] ? [MenuOptionKeys<O[number]>] extends [never] ? MenuKey : WidenMenuKey<MenuOptionKeys<O[number]>> : string;
|
|
18
|
-
interface MenuProps<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
18
|
+
interface MenuProps$1<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
19
19
|
options?: O;
|
|
20
20
|
routes?: RouteItem[];
|
|
21
21
|
adapterConfig?: MenuAdapterConfig;
|
|
@@ -28,9 +28,12 @@ interface MenuProps<O extends MenuOption[] | undefined = MenuOption[] | undefine
|
|
|
28
28
|
mode?: 'vertical' | 'horizontal';
|
|
29
29
|
collapsed?: boolean;
|
|
30
30
|
collapsedWidth?: number;
|
|
31
|
+
/** 常态图标尺寸;未配置时使用 Naive UI 默认值。 */
|
|
32
|
+
iconSize?: number;
|
|
31
33
|
collapsedIconSize?: number;
|
|
32
34
|
inverted?: boolean;
|
|
33
|
-
|
|
35
|
+
/** 沿用原生主题契约,公共色和浮层主题可直接复用。 */
|
|
36
|
+
themeOverrides?: MenuProps['themeOverrides'];
|
|
34
37
|
indent?: number;
|
|
35
38
|
rootIndent?: number;
|
|
36
39
|
dropdownProps?: DropdownProps;
|
|
@@ -52,7 +55,7 @@ interface MenuExpose {
|
|
|
52
55
|
//#endregion
|
|
53
56
|
//#region src/components/C_Menu/index.vue.d.ts
|
|
54
57
|
declare const __VLS_export: <Options extends MenuOption[] | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
55
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
|
|
58
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps$1<Options> & {
|
|
56
59
|
"onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
|
|
57
60
|
onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
58
61
|
"onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
@@ -74,4 +77,4 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
|
|
|
74
77
|
declare const _default: typeof __VLS_export;
|
|
75
78
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
76
79
|
//#endregion
|
|
77
|
-
export { MenuProps as a, MenuKey as i, MenuEmits as n, MenuValue as o, MenuExpose as r, _default as t };
|
|
80
|
+
export { MenuProps$1 as a, MenuKey as i, MenuEmits as n, MenuValue as o, MenuExpose as r, _default as t };
|
package/dist/index24.vue.d.cts
CHANGED
|
@@ -34,9 +34,9 @@ type __VLS_Slots = {} & {
|
|
|
34
34
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
|
+
strokeWidth: number;
|
|
37
38
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
39
|
time: number;
|
|
39
|
-
strokeWidth: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -34,9 +34,9 @@ type __VLS_Slots = {} & {
|
|
|
34
34
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
|
+
strokeWidth: number;
|
|
37
38
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
39
|
time: number;
|
|
39
|
-
strokeWidth: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
package/dist/index27.vue.d.cts
CHANGED
|
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
|
|
|
87
87
|
};
|
|
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
|
+
borderRadius: string;
|
|
91
91
|
loading: boolean;
|
|
92
|
+
preset: SkeletonPreset;
|
|
92
93
|
animation: SkeletonAnimation;
|
|
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
|
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
|
|
|
87
87
|
};
|
|
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
|
+
borderRadius: string;
|
|
91
91
|
loading: boolean;
|
|
92
|
+
preset: SkeletonPreset;
|
|
92
93
|
animation: SkeletonAnimation;
|
|
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/index3.vue.d.cts
CHANGED
|
@@ -75,8 +75,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
75
75
|
direction: "ltr" | "rtl";
|
|
76
76
|
clickable: boolean;
|
|
77
77
|
size: number;
|
|
78
|
-
overlap: number;
|
|
79
78
|
max: number;
|
|
79
|
+
overlap: number;
|
|
80
80
|
shape: "circle" | "square";
|
|
81
81
|
showStatus: boolean;
|
|
82
82
|
showTooltip: boolean;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -75,8 +75,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
75
75
|
direction: "ltr" | "rtl";
|
|
76
76
|
clickable: boolean;
|
|
77
77
|
size: number;
|
|
78
|
-
overlap: number;
|
|
79
78
|
max: number;
|
|
79
|
+
overlap: number;
|
|
80
80
|
shape: "circle" | "square";
|
|
81
81
|
showStatus: boolean;
|
|
82
82
|
showTooltip: boolean;
|
package/dist/index30.vue.d.cts
CHANGED
|
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
85
85
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
86
|
onCloseAll?: (() => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
|
-
persistKey: string;
|
|
89
88
|
homePath: string;
|
|
90
89
|
homeTitle: string;
|
|
91
90
|
homeIcon: string;
|
|
91
|
+
persistKey: string;
|
|
92
92
|
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
package/dist/index30.vue.d.ts
CHANGED
|
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
85
85
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
86
|
onCloseAll?: (() => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
|
-
persistKey: string;
|
|
89
88
|
homePath: string;
|
|
90
89
|
homeTitle: string;
|
|
91
90
|
homeIcon: string;
|
|
91
|
+
persistKey: string;
|
|
92
92
|
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
package/dist/index31.vue.d.cts
CHANGED
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
87
|
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
|
+
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
|
+
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
+
labelPlacement: "left" | "right" | "alternate";
|
|
94
95
|
size: "small" | "medium" | "large";
|
|
95
96
|
mode: "vertical" | "horizontal";
|
|
96
97
|
items: TimelineItem[];
|
|
97
98
|
pending: boolean;
|
|
98
|
-
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
|
101
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index31.vue.d.ts
CHANGED
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
87
|
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
|
+
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
|
+
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
+
labelPlacement: "left" | "right" | "alternate";
|
|
94
95
|
size: "small" | "medium" | "large";
|
|
95
96
|
mode: "vertical" | "horizontal";
|
|
96
97
|
items: TimelineItem[];
|
|
97
98
|
pending: boolean;
|
|
98
|
-
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
|
101
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index32.vue.d.cts
CHANGED
|
@@ -61,7 +61,7 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
61
61
|
//#region src/components/C_Transfer/index.vue.d.ts
|
|
62
62
|
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
63
63
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
64
|
-
onChange?: ((targetKeys: T["key"][], direction: "
|
|
64
|
+
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
65
65
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
66
66
|
}> & (typeof globalThis extends {
|
|
67
67
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -69,7 +69,7 @@ declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props:
|
|
|
69
69
|
expose: (exposed: {}) => void;
|
|
70
70
|
attrs: any;
|
|
71
71
|
slots: {};
|
|
72
|
-
emit: ((evt: "change", targetKeys: T["key"][], direction: "
|
|
72
|
+
emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
|
|
73
73
|
}>) => vue.VNode & {
|
|
74
74
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
75
75
|
};
|
package/dist/index32.vue.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
61
61
|
//#region src/components/C_Transfer/index.vue.d.ts
|
|
62
62
|
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
63
63
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
64
|
-
onChange?: ((targetKeys: T["key"][], direction: "
|
|
64
|
+
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
65
65
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
66
66
|
}> & (typeof globalThis extends {
|
|
67
67
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -69,7 +69,7 @@ declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props:
|
|
|
69
69
|
expose: (exposed: {}) => void;
|
|
70
70
|
attrs: any;
|
|
71
71
|
slots: {};
|
|
72
|
-
emit: ((evt: "change", targetKeys: T["key"][], direction: "
|
|
72
|
+
emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
|
|
73
73
|
}>) => vue.VNode & {
|
|
74
74
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
75
75
|
};
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -21,14 +21,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
lineColor: string;
|
|
24
|
+
width: number;
|
|
25
|
+
fontSize: number;
|
|
26
|
+
background: string;
|
|
27
|
+
label: string;
|
|
24
28
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
29
|
height: number;
|
|
26
|
-
label: string;
|
|
27
|
-
width: number;
|
|
28
30
|
showText: boolean;
|
|
29
|
-
fontSize: number;
|
|
30
31
|
textPosition: "bottom" | "top";
|
|
31
|
-
background: string;
|
|
32
32
|
showBorder: boolean;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -21,14 +21,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
lineColor: string;
|
|
24
|
+
width: number;
|
|
25
|
+
fontSize: number;
|
|
26
|
+
background: string;
|
|
27
|
+
label: string;
|
|
24
28
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
29
|
height: number;
|
|
26
|
-
label: string;
|
|
27
|
-
width: number;
|
|
28
30
|
showText: boolean;
|
|
29
|
-
fontSize: number;
|
|
30
31
|
textPosition: "bottom" | "top";
|
|
31
|
-
background: string;
|
|
32
32
|
showBorder: boolean;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as RouteItem } from "./types3.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Ref, VNode } from "vue";
|
|
4
|
-
import { DropdownProps, MenuInst, MenuOption } from "naive-ui";
|
|
4
|
+
import { DropdownProps, MenuInst, MenuOption, MenuProps } from "naive-ui";
|
|
5
5
|
|
|
6
6
|
//#region src/components/_shared/menuAdapter.d.ts
|
|
7
7
|
/**
|
|
@@ -73,7 +73,7 @@ type MenuOptionKeys<Option, Seen = never> = Option extends Seen ? OwnMenuKey<Opt
|
|
|
73
73
|
} ? Children extends readonly unknown[] ? MenuOptionKeys<Children[number], Seen | Option> : never : never);
|
|
74
74
|
type WidenMenuKey<Key> = Key extends string ? string : Key extends number ? number : never;
|
|
75
75
|
type MenuSelectionKey<O extends MenuOption[] | undefined> = O extends MenuOption[] ? [MenuOptionKeys<O[number]>] extends [never] ? MenuKey : WidenMenuKey<MenuOptionKeys<O[number]>> : string;
|
|
76
|
-
interface MenuProps<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
76
|
+
interface MenuProps$1<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
77
77
|
options?: O;
|
|
78
78
|
routes?: RouteItem[];
|
|
79
79
|
adapterConfig?: MenuAdapterConfig;
|
|
@@ -86,9 +86,12 @@ interface MenuProps<O extends MenuOption[] | undefined = MenuOption[] | undefine
|
|
|
86
86
|
mode?: 'vertical' | 'horizontal';
|
|
87
87
|
collapsed?: boolean;
|
|
88
88
|
collapsedWidth?: number;
|
|
89
|
+
/** 常态图标尺寸;未配置时使用 Naive UI 默认值。 */
|
|
90
|
+
iconSize?: number;
|
|
89
91
|
collapsedIconSize?: number;
|
|
90
92
|
inverted?: boolean;
|
|
91
|
-
|
|
93
|
+
/** 沿用原生主题契约,公共色和浮层主题可直接复用。 */
|
|
94
|
+
themeOverrides?: MenuProps['themeOverrides'];
|
|
92
95
|
indent?: number;
|
|
93
96
|
rootIndent?: number;
|
|
94
97
|
dropdownProps?: DropdownProps;
|
|
@@ -110,7 +113,7 @@ interface MenuExpose {
|
|
|
110
113
|
//#endregion
|
|
111
114
|
//#region src/components/C_Menu/index.vue.d.ts
|
|
112
115
|
declare const __VLS_export: <Options extends MenuOption[] | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
113
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
|
|
116
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps$1<Options> & {
|
|
114
117
|
"onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
|
|
115
118
|
onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
116
119
|
"onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
@@ -132,4 +135,4 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
|
|
|
132
135
|
declare const _default: typeof __VLS_export;
|
|
133
136
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
134
137
|
//#endregion
|
|
135
|
-
export { MenuProps as a, createMenuOptions as c, MenuKey as i, flattenRoutes as l, MenuEmits as n, MenuValue as o, MenuExpose as r, MenuAdapterConfig as s, _default as t };
|
|
138
|
+
export { MenuProps$1 as a, createMenuOptions as c, MenuKey as i, flattenRoutes as l, MenuEmits as n, MenuValue as o, MenuExpose as r, MenuAdapterConfig as s, _default as t };
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
89
89
|
scrollToBottom: () => void;
|
|
90
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
+
"load-more": () => any;
|
|
91
92
|
send: (content: string) => any;
|
|
92
93
|
"select-contact": (id: string) => any;
|
|
93
|
-
"load-more": () => any;
|
|
94
94
|
"image-preview": (url: string) => any;
|
|
95
95
|
"file-click": (msg: ChatMessage) => any;
|
|
96
96
|
"file-upload": () => any;
|
|
97
97
|
"emoji-click": () => any;
|
|
98
98
|
resend: (msg: ChatMessage) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
100
101
|
onSend?: ((content: string) => any) | undefined;
|
|
101
102
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
102
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
103
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
104
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
105
105
|
"onFile-upload"?: (() => any) | undefined;
|
package/dist/index9.vue.d.cts
CHANGED
|
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
89
89
|
scrollToBottom: () => void;
|
|
90
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
+
"load-more": () => any;
|
|
91
92
|
send: (content: string) => any;
|
|
92
93
|
"select-contact": (id: string) => any;
|
|
93
|
-
"load-more": () => any;
|
|
94
94
|
"image-preview": (url: string) => any;
|
|
95
95
|
"file-click": (msg: ChatMessage) => any;
|
|
96
96
|
"file-upload": () => any;
|
|
97
97
|
"emoji-click": () => any;
|
|
98
98
|
resend: (msg: ChatMessage) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
100
101
|
onSend?: ((content: string) => any) | undefined;
|
|
101
102
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
102
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
103
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
104
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
105
105
|
"onFile-upload"?: (() => any) | undefined;
|