@robot-admin/naive-ui-components 0.11.8 → 0.13.0
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 +26 -0
- package/README.md +172 -29
- package/README_EN.md +171 -28
- package/SECURITY.md +1 -0
- package/dist/C_ActionBar.cjs +1 -1
- package/dist/C_ActionBar.css +67 -67
- package/dist/C_ActionBar.d.cts +2 -2
- package/dist/C_ActionBar.d.ts +2 -2
- package/dist/C_ActionBar.js +1 -1
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +70 -70
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_AudioPlayer.css +81 -66
- package/dist/C_AudioPlayer.d.cts +1 -1
- package/dist/C_AudioPlayer.d.ts +1 -1
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_AvatarGroup.css +40 -25
- package/dist/C_AvatarGroup.d.cts +1 -1
- package/dist/C_AvatarGroup.d.ts +1 -1
- 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 +1 -1
- package/dist/C_Barcode.d.ts +1 -1
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Breadcrumb.css +14 -14
- package/dist/C_Breadcrumb.d.cts +1 -1
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Captcha.cjs +1 -1
- package/dist/C_Captcha.css +193 -51
- package/dist/C_Captcha.d.cts +2 -3
- package/dist/C_Captcha.d.ts +2 -3
- package/dist/C_Captcha.js +1 -1
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +2 -2
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_Chat.css +96 -78
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_City.css +52 -28
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +48 -42
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_CollapsePanel.css +14 -14
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_ContextMenu.css +14 -14
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_ContextMenu2.cjs +1 -1
- package/dist/C_ContextMenu2.js +1 -1
- package/dist/C_Cron.css +94 -55
- package/dist/C_Cron2.cjs +1 -1
- package/dist/C_Cron2.js +1 -1
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Draggable.css +48 -48
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_Editor.css +13 -14
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview.css +18 -18
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +36 -36
- package/dist/C_Form.css +49 -50
- package/dist/C_Form2.cjs +1 -1
- package/dist/C_Form2.js +1 -1
- package/dist/C_FormModal.cjs +1 -0
- package/dist/C_FormModal.css +41 -0
- package/dist/C_FormModal.d.cts +2 -0
- package/dist/C_FormModal.d.ts +3 -0
- package/dist/C_FormModal.js +1 -0
- package/dist/C_FormModal2.cjs +1 -0
- package/dist/C_FormModal2.js +1 -0
- package/dist/C_FormSearch.css +45 -45
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- package/dist/C_FormulaEditor.css +94 -55
- package/dist/C_FormulaEditor2.cjs +2 -2
- package/dist/C_FormulaEditor2.js +2 -2
- package/dist/C_FullCalendar.css +8 -1
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_FullCalendar2.js +1 -1
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.css +14 -14
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Icon.css +14 -14
- package/dist/C_Icon2.cjs +1 -1
- package/dist/C_Icon2.js +1 -1
- package/dist/C_ImageCropper.css +22 -22
- package/dist/C_ImageCropper2.cjs +1 -1
- package/dist/C_ImageCropper2.js +1 -1
- package/dist/C_Language.css +14 -14
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Login.css +232 -149
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Map.css +3 -3
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_Markdown.css +35 -35
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_Menu.d.cts +1 -1
- package/dist/C_Menu2.cjs +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/C_NotificationCenter.css +30 -30
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_OrgChart.css +4 -0
- package/dist/C_OrgChart2.cjs +1 -1
- package/dist/C_OrgChart2.js +1 -1
- package/dist/C_Progress2.cjs +1 -1
- package/dist/C_Progress2.js +1 -1
- package/dist/C_QRCode.css +8 -8
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_Signature.css +14 -14
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_Skeleton2.cjs +1 -1
- package/dist/C_Skeleton2.js +1 -1
- package/dist/C_SplitPane.css +39 -39
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Steps.css +48 -38
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Table.base.css +160 -160
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +173 -174
- package/dist/C_Table.d.ts +4 -3
- package/dist/C_Table.js +1 -1
- package/dist/C_Tabs.cjs +1 -0
- package/dist/C_Tabs.css +1 -0
- package/dist/C_Tabs.d.cts +2 -0
- package/dist/C_Tabs.d.ts +2 -0
- package/dist/C_Tabs.js +1 -0
- package/dist/C_TagsView.css +52 -52
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Theme.css +14 -14
- package/dist/C_Theme2.cjs +1 -1
- package/dist/C_Theme2.js +1 -1
- package/dist/C_Time.css +4 -4
- package/dist/C_Time2.cjs +1 -1
- package/dist/C_Time2.js +1 -1
- package/dist/C_Timeline.css +76 -58
- package/dist/C_Timeline2.cjs +1 -1
- package/dist/C_Timeline2.js +1 -1
- package/dist/C_Transfer.css +51 -51
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.css +35 -32
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_Upload.css +53 -50
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.css +17 -13
- package/dist/C_VideoPlayer2.cjs +2 -2
- package/dist/C_VideoPlayer2.js +2 -2
- package/dist/C_VtableGantt.css +19 -19
- package/dist/C_VtableGantt2.cjs +1 -1
- package/dist/C_VtableGantt2.js +1 -1
- package/dist/C_WaterFall.css +19 -15
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +123 -123
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.cts +3 -3
- package/dist/constants2.d.ts +3 -3
- package/dist/constants3.d.cts +8 -4
- package/dist/constants3.d.ts +8 -4
- 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/data.d.cts +108 -0
- package/dist/data.d.ts +108 -0
- package/dist/data2.cjs +1 -0
- package/dist/data2.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +49 -49
- package/dist/index.d.ts +51 -49
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +74 -69
- package/dist/index.vue.d.ts +74 -69
- package/dist/index10.vue.d.cts +80 -39
- package/dist/index10.vue.d.ts +68 -77
- package/dist/index11.vue.d.cts +68 -77
- package/dist/index11.vue.d.ts +54 -69
- package/dist/index12.vue.d.cts +54 -69
- package/dist/index12.vue.d.ts +52 -58
- package/dist/index13.vue.d.cts +52 -58
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index14.vue.d.ts +14 -47
- package/dist/index15.vue.d.cts +14 -47
- package/dist/index16.vue.d.ts +15 -12
- package/dist/index17.vue.d.cts +15 -12
- package/dist/index17.vue.d.ts +4 -4
- package/dist/index18.vue.d.cts +4 -4
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +70 -65
- package/dist/index2.vue.d.ts +70 -65
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index24.vue.d.cts +3 -3
- package/dist/index24.vue.d.ts +3 -3
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +5 -5
- package/dist/index26.vue.d.ts +5 -5
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +30 -80
- package/dist/index3.vue.d.ts +30 -80
- package/dist/index4.vue.d.cts +130 -30
- package/dist/index4.vue.d.ts +22 -30
- package/dist/index5.vue.d.cts +18 -126
- package/dist/index5.vue.d.ts +22 -19
- package/dist/index6.vue.d.cts +22 -19
- package/dist/index6.vue.d.ts +117 -22
- package/dist/index7.vue.d.cts +117 -22
- package/dist/index7.vue.d.ts +17 -110
- package/dist/index8.vue.d.cts +17 -110
- package/dist/index8.vue.d.ts +37 -24
- package/dist/index9.vue.d.cts +37 -24
- package/dist/index9.vue.d.ts +80 -39
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +96 -0
- package/dist/presets.d.ts +96 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/style.css +1735 -1400
- package/dist/useCalendarEvents.d.cts +23 -18
- package/dist/useCalendarEvents.d.ts +23 -18
- package/dist/useCollapsePanel.d.cts +4 -3
- package/dist/useCollapsePanel.d.ts +4 -3
- package/dist/useCropperCore.d.cts +32 -17
- package/dist/useCropperCore.d.ts +32 -17
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.cts +7 -2
- package/dist/useDynamicFormState.d.ts +7 -2
- package/dist/useEdgeInteraction.d.cts +20 -19
- package/dist/useEdgeInteraction.d.ts +20 -19
- package/dist/useFullscreen.d.cts +6 -6
- package/dist/useFullscreen.d.ts +6 -6
- package/dist/useInfiniteScroll.d.cts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.cts +5 -4
- package/dist/useQRCode.d.ts +5 -4
- package/dist/useSearchState.d.cts +9 -9
- package/dist/useSearchState.d.ts +9 -9
- package/dist/useSignatureHistory.d.cts +18 -10
- package/dist/useSignatureHistory.d.ts +18 -10
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +12 -5
- package/dist/useTableQuery.d.ts +12 -5
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +6 -3
- package/dist/useTimeSelection.d.ts +6 -3
- package/dist/useTreeOperations.d.cts +8 -8
- package/dist/useTreeOperations.d.ts +8 -8
- package/dist/useWorkflowValidation.d.cts +6 -4
- package/dist/useWorkflowValidation.d.ts +6 -4
- package/dist/verification.d.cts +71 -6
- package/dist/verification.d.ts +71 -6
- package/package.json +5 -3
- package/dist/types.d.ts +0 -58
- package/dist/types2.d.cts +0 -58
package/dist/index13.vue.d.cts
CHANGED
|
@@ -1,64 +1,58 @@
|
|
|
1
|
+
import { C as FormConfig, K as FormOption, at as SubmitEventPayload, q as FormRecord } from "./useDynamicFormState.cjs";
|
|
1
2
|
import * as vue from "vue";
|
|
3
|
+
import { ComputedRef, Ref } from "vue";
|
|
2
4
|
|
|
3
|
-
//#region src/components/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
//#region src/components/C_FormModal/types.d.ts
|
|
6
|
+
type FormModalMode = 'create' | 'edit';
|
|
7
|
+
/**
|
|
8
|
+
* Structural editor contract. It intentionally does not depend on request-core,
|
|
9
|
+
* so any headless CRUD implementation can drive the modal.
|
|
10
|
+
*/
|
|
11
|
+
interface FormModalEditor<T extends object = FormRecord> {
|
|
12
|
+
visible: Ref<boolean>;
|
|
13
|
+
mode: Ref<FormModalMode>;
|
|
14
|
+
model: Ref<T | null>;
|
|
15
|
+
title: Ref<string>;
|
|
16
|
+
loading: Ref<boolean> | ComputedRef<boolean>;
|
|
17
|
+
setModel(model: T): void;
|
|
18
|
+
close(): void;
|
|
19
|
+
submit(model?: T): Promise<boolean>;
|
|
11
20
|
}
|
|
12
|
-
interface
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
interface FormModalProps<T extends object = FormRecord> {
|
|
22
|
+
editor: FormModalEditor<T>;
|
|
23
|
+
options: FormOption<T>[];
|
|
24
|
+
config?: FormConfig<T>;
|
|
25
|
+
width?: number | string;
|
|
26
|
+
createText?: string;
|
|
27
|
+
saveText?: string;
|
|
28
|
+
cancelText?: string;
|
|
29
|
+
closable?: boolean;
|
|
30
|
+
maskClosable?: boolean;
|
|
31
|
+
closeOnEsc?: boolean;
|
|
20
32
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
44
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
45
|
-
error: (error: Error) => any;
|
|
46
|
-
"update:modelValue": (value: string) => any;
|
|
47
|
-
"editor-mounted": (editor: EditorInstance) => any;
|
|
48
|
-
"editor-change": (html: string) => any;
|
|
49
|
-
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
-
onError?: ((error: Error) => any) | undefined;
|
|
51
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
|
-
"onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
|
|
53
|
-
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
54
|
-
}>, {
|
|
55
|
-
height: number;
|
|
56
|
-
modelValue: string;
|
|
57
|
-
placeholder: string;
|
|
58
|
-
disabled: boolean;
|
|
59
|
-
readonly: boolean;
|
|
60
|
-
theme: "light" | "dark";
|
|
61
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
interface FormModalEmits<T extends object = FormRecord> {
|
|
34
|
+
submit: [payload: SubmitEventPayload<T>, saved: boolean];
|
|
35
|
+
close: [];
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/C_FormModal/index.vue.d.ts
|
|
39
|
+
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<{
|
|
40
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
|
|
41
|
+
onClose?: (() => any) | undefined;
|
|
42
|
+
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
43
|
+
}> & (typeof globalThis extends {
|
|
44
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
45
|
+
} ? P : {});
|
|
46
|
+
expose: (exposed: {}) => void;
|
|
47
|
+
attrs: any;
|
|
48
|
+
slots: {
|
|
49
|
+
[x: string]: ((props: any) => any) | undefined;
|
|
50
|
+
};
|
|
51
|
+
emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
|
|
52
|
+
}>) => vue.VNode & {
|
|
53
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
54
|
+
};
|
|
62
55
|
declare const _default: typeof __VLS_export;
|
|
56
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
63
57
|
//#endregion
|
|
64
|
-
export { _default as t };
|
|
58
|
+
export { FormModalProps as a, FormModalMode as i, FormModalEditor as n, FormModalEmits as r, _default as t };
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -88,12 +88,12 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
88
88
|
onComplete?: (() => any) | undefined;
|
|
89
89
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
90
90
|
}>, {
|
|
91
|
-
keyboard: boolean;
|
|
92
91
|
steps: GuideStep[];
|
|
93
92
|
doneBtnText: string;
|
|
94
93
|
nextBtnText: string;
|
|
95
94
|
prevBtnText: string;
|
|
96
95
|
showProgress: boolean;
|
|
96
|
+
keyboard: boolean;
|
|
97
97
|
animate: boolean;
|
|
98
98
|
allowClose: boolean;
|
|
99
99
|
popoverClass: string;
|
package/dist/index14.vue.d.cts
CHANGED
|
@@ -88,12 +88,12 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
88
88
|
onComplete?: (() => any) | undefined;
|
|
89
89
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
90
90
|
}>, {
|
|
91
|
-
keyboard: boolean;
|
|
92
91
|
steps: GuideStep[];
|
|
93
92
|
doneBtnText: string;
|
|
94
93
|
nextBtnText: string;
|
|
95
94
|
prevBtnText: string;
|
|
96
95
|
showProgress: boolean;
|
|
96
|
+
keyboard: boolean;
|
|
97
97
|
animate: boolean;
|
|
98
98
|
allowClose: boolean;
|
|
99
99
|
popoverClass: string;
|
package/dist/index14.vue.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { Component } from "vue";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_Icon/types.d.ts
|
|
4
5
|
interface IconProps {
|
|
5
|
-
name: string |
|
|
6
|
+
name: string | Component;
|
|
6
7
|
type?: 'iconify' | 'unocss' | 'component' | 'svg' | 'image';
|
|
7
8
|
color?: string;
|
|
8
9
|
size?: number | string;
|
|
@@ -21,70 +22,36 @@ interface IconProps {
|
|
|
21
22
|
}
|
|
22
23
|
//#endregion
|
|
23
24
|
//#region src/components/C_Icon/index.vue.d.ts
|
|
24
|
-
|
|
25
|
-
/** 图标名称/路径/组件实例 */
|
|
26
|
-
name: string | any;
|
|
27
|
-
/** 图标类型 */
|
|
28
|
-
type?: 'iconify' | 'unocss' | 'component' | 'svg' | 'image';
|
|
29
|
-
/** 图标颜色 */
|
|
30
|
-
color?: string;
|
|
31
|
-
/** 图标大小(px) */
|
|
32
|
-
size?: number | string;
|
|
33
|
-
/** SVG路径数据(仅type=svg时使用) */
|
|
34
|
-
svgPath?: string;
|
|
35
|
-
/** SVG viewBox(仅type=svg时使用) */
|
|
36
|
-
viewBox?: string;
|
|
37
|
-
/** 图片alt属性(仅type=image时使用) */
|
|
38
|
-
alt?: string;
|
|
39
|
-
/** 是否可点击 */
|
|
40
|
-
clickable?: boolean;
|
|
41
|
-
/** 加载状态 */
|
|
42
|
-
loading?: boolean;
|
|
43
|
-
/** 错误时的回退图标 */
|
|
44
|
-
fallbackIcon?: string;
|
|
45
|
-
/** 工具提示 */
|
|
46
|
-
title?: string;
|
|
47
|
-
/** 无障碍标签 */
|
|
48
|
-
ariaLabel?: string;
|
|
49
|
-
/** 自定义样式类 */
|
|
50
|
-
customClass?: string;
|
|
51
|
-
/** 旋转角度 */
|
|
52
|
-
rotate?: number;
|
|
53
|
-
/** 是否翻转 */
|
|
54
|
-
flip?: 'horizontal' | 'vertical' | 'both';
|
|
55
|
-
/** 传递给组件的额外属性(仅type=component时使用) */
|
|
56
|
-
componentProps?: Record<string, any>;
|
|
57
|
-
}
|
|
58
|
-
declare const __VLS_export: vue.DefineComponent<LegacyIconProps, {
|
|
25
|
+
declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
59
26
|
/** 重新验证配置 */validate: () => void; /** 是否有错误 */
|
|
60
27
|
hasError: Readonly<vue.Ref<boolean, boolean>>; /** 错误信息 */
|
|
61
28
|
errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
|
|
62
29
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
63
30
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
-
error: (type: string, error?:
|
|
65
|
-
click: (event: MouseEvent) => any;
|
|
31
|
+
error: (type: string, error?: unknown) => any;
|
|
32
|
+
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
66
33
|
load: () => any;
|
|
67
|
-
}, string, vue.PublicProps, Readonly<
|
|
68
|
-
onError?: ((type: string, error?:
|
|
69
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
|
+
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
35
|
+
onError?: ((type: string, error?: unknown) => any) | undefined;
|
|
36
|
+
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
70
37
|
onLoad?: (() => any) | undefined;
|
|
71
38
|
}>, {
|
|
72
39
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
73
|
-
size: number | string;
|
|
74
|
-
name: string | any;
|
|
75
|
-
color: string;
|
|
76
|
-
loading: boolean;
|
|
77
|
-
flip: "horizontal" | "vertical" | "both";
|
|
78
40
|
title: string;
|
|
41
|
+
name: string | vue.Component;
|
|
42
|
+
size: number | string;
|
|
79
43
|
clickable: boolean;
|
|
44
|
+
color: string;
|
|
80
45
|
svgPath: string;
|
|
81
46
|
viewBox: string;
|
|
82
47
|
alt: string;
|
|
48
|
+
loading: boolean;
|
|
83
49
|
fallbackIcon: string;
|
|
84
50
|
ariaLabel: string;
|
|
85
51
|
customClass: string;
|
|
86
52
|
rotate: number;
|
|
87
|
-
|
|
53
|
+
flip: "horizontal" | "vertical" | "both";
|
|
54
|
+
componentProps: Record<string, unknown>;
|
|
88
55
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
89
56
|
declare const _default: typeof __VLS_export;
|
|
90
57
|
//#endregion
|
package/dist/index15.vue.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { Component } from "vue";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_Icon/types.d.ts
|
|
4
5
|
interface IconProps {
|
|
5
|
-
name: string |
|
|
6
|
+
name: string | Component;
|
|
6
7
|
type?: 'iconify' | 'unocss' | 'component' | 'svg' | 'image';
|
|
7
8
|
color?: string;
|
|
8
9
|
size?: number | string;
|
|
@@ -21,70 +22,36 @@ interface IconProps {
|
|
|
21
22
|
}
|
|
22
23
|
//#endregion
|
|
23
24
|
//#region src/components/C_Icon/index.vue.d.ts
|
|
24
|
-
|
|
25
|
-
/** 图标名称/路径/组件实例 */
|
|
26
|
-
name: string | any;
|
|
27
|
-
/** 图标类型 */
|
|
28
|
-
type?: 'iconify' | 'unocss' | 'component' | 'svg' | 'image';
|
|
29
|
-
/** 图标颜色 */
|
|
30
|
-
color?: string;
|
|
31
|
-
/** 图标大小(px) */
|
|
32
|
-
size?: number | string;
|
|
33
|
-
/** SVG路径数据(仅type=svg时使用) */
|
|
34
|
-
svgPath?: string;
|
|
35
|
-
/** SVG viewBox(仅type=svg时使用) */
|
|
36
|
-
viewBox?: string;
|
|
37
|
-
/** 图片alt属性(仅type=image时使用) */
|
|
38
|
-
alt?: string;
|
|
39
|
-
/** 是否可点击 */
|
|
40
|
-
clickable?: boolean;
|
|
41
|
-
/** 加载状态 */
|
|
42
|
-
loading?: boolean;
|
|
43
|
-
/** 错误时的回退图标 */
|
|
44
|
-
fallbackIcon?: string;
|
|
45
|
-
/** 工具提示 */
|
|
46
|
-
title?: string;
|
|
47
|
-
/** 无障碍标签 */
|
|
48
|
-
ariaLabel?: string;
|
|
49
|
-
/** 自定义样式类 */
|
|
50
|
-
customClass?: string;
|
|
51
|
-
/** 旋转角度 */
|
|
52
|
-
rotate?: number;
|
|
53
|
-
/** 是否翻转 */
|
|
54
|
-
flip?: 'horizontal' | 'vertical' | 'both';
|
|
55
|
-
/** 传递给组件的额外属性(仅type=component时使用) */
|
|
56
|
-
componentProps?: Record<string, any>;
|
|
57
|
-
}
|
|
58
|
-
declare const __VLS_export: vue.DefineComponent<LegacyIconProps, {
|
|
25
|
+
declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
59
26
|
/** 重新验证配置 */validate: () => void; /** 是否有错误 */
|
|
60
27
|
hasError: Readonly<vue.Ref<boolean, boolean>>; /** 错误信息 */
|
|
61
28
|
errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
|
|
62
29
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
63
30
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
-
error: (type: string, error?:
|
|
65
|
-
click: (event: MouseEvent) => any;
|
|
31
|
+
error: (type: string, error?: unknown) => any;
|
|
32
|
+
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
66
33
|
load: () => any;
|
|
67
|
-
}, string, vue.PublicProps, Readonly<
|
|
68
|
-
onError?: ((type: string, error?:
|
|
69
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
|
+
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
35
|
+
onError?: ((type: string, error?: unknown) => any) | undefined;
|
|
36
|
+
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
70
37
|
onLoad?: (() => any) | undefined;
|
|
71
38
|
}>, {
|
|
72
39
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
73
|
-
size: number | string;
|
|
74
|
-
name: string | any;
|
|
75
|
-
color: string;
|
|
76
|
-
loading: boolean;
|
|
77
|
-
flip: "horizontal" | "vertical" | "both";
|
|
78
40
|
title: string;
|
|
41
|
+
name: string | vue.Component;
|
|
42
|
+
size: number | string;
|
|
79
43
|
clickable: boolean;
|
|
44
|
+
color: string;
|
|
80
45
|
svgPath: string;
|
|
81
46
|
viewBox: string;
|
|
82
47
|
alt: string;
|
|
48
|
+
loading: boolean;
|
|
83
49
|
fallbackIcon: string;
|
|
84
50
|
ariaLabel: string;
|
|
85
51
|
customClass: string;
|
|
86
52
|
rotate: number;
|
|
87
|
-
|
|
53
|
+
flip: "horizontal" | "vertical" | "both";
|
|
54
|
+
componentProps: Record<string, unknown>;
|
|
88
55
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
89
56
|
declare const _default: typeof __VLS_export;
|
|
90
57
|
//#endregion
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as CaptchaProvider, p as CaptchaVerifier, s as CaptchaProof, u as CaptchaSuccessPayload } from "./verification.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_Login/types.d.ts
|
|
@@ -29,6 +29,10 @@ interface SocialProvider {
|
|
|
29
29
|
interface PasswordFormData {
|
|
30
30
|
username: string;
|
|
31
31
|
password: string;
|
|
32
|
+
captchaToken?: string;
|
|
33
|
+
captchaTimestamp?: number;
|
|
34
|
+
captchaType?: CaptchaProof['type'];
|
|
35
|
+
captchaVerifiedBy?: CaptchaSuccessPayload['verifiedBy'];
|
|
32
36
|
}
|
|
33
37
|
interface CaptchaFormData {
|
|
34
38
|
account: string;
|
|
@@ -63,6 +67,10 @@ interface LoginProps {
|
|
|
63
67
|
defaultPassword?: string;
|
|
64
68
|
/** 人机验证的应用服务端校验适配器 */
|
|
65
69
|
captchaVerifier?: CaptchaVerifier;
|
|
70
|
+
/** 人机验证提供方;ALTCHA 模式必须同时配置挑战地址和服务端校验器 */
|
|
71
|
+
captchaProvider?: CaptchaProvider;
|
|
72
|
+
/** 签发一次性 ALTCHA 挑战的同源服务端地址 */
|
|
73
|
+
captchaChallengeUrl?: string;
|
|
66
74
|
/** 未配置服务端校验器时是否拒绝登录验证 */
|
|
67
75
|
requireCaptchaServerVerification?: boolean;
|
|
68
76
|
/** 服务端人机验证超时(毫秒) */
|
|
@@ -79,11 +87,7 @@ type __VLS_Slots = {} & {
|
|
|
79
87
|
declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
80
88
|
resetCaptcha: () => void;
|
|
81
89
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
82
|
-
submit: (data: PasswordFormData
|
|
83
|
-
captchaToken?: string;
|
|
84
|
-
captchaTimestamp?: number;
|
|
85
|
-
captchaVerifiedBy?: CaptchaSuccessPayload["verifiedBy"];
|
|
86
|
-
}) => any;
|
|
90
|
+
submit: (data: PasswordFormData) => any;
|
|
87
91
|
"captcha-submit": (data: CaptchaFormData) => any;
|
|
88
92
|
"send-code": (account: string) => any;
|
|
89
93
|
"social-login": (provider: string) => any;
|
|
@@ -91,12 +95,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
91
95
|
"qrcode-refresh": () => any;
|
|
92
96
|
"register-submit": (data: RegisterFormData) => any;
|
|
93
97
|
"register-send-code": (phone: string) => any;
|
|
98
|
+
"captcha-visible-change": (visible: boolean) => any;
|
|
94
99
|
}, string, vue.PublicProps, Readonly<LoginProps> & Readonly<{
|
|
95
|
-
onSubmit?: ((data: PasswordFormData
|
|
96
|
-
captchaToken?: string;
|
|
97
|
-
captchaTimestamp?: number;
|
|
98
|
-
captchaVerifiedBy?: CaptchaSuccessPayload["verifiedBy"];
|
|
99
|
-
}) => any) | undefined;
|
|
100
|
+
onSubmit?: ((data: PasswordFormData) => any) | undefined;
|
|
100
101
|
"onCaptcha-submit"?: ((data: CaptchaFormData) => any) | undefined;
|
|
101
102
|
"onSend-code"?: ((account: string) => any) | undefined;
|
|
102
103
|
"onSocial-login"?: ((provider: string) => any) | undefined;
|
|
@@ -104,12 +105,14 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
104
105
|
"onQrcode-refresh"?: (() => any) | undefined;
|
|
105
106
|
"onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
|
|
106
107
|
"onRegister-send-code"?: ((phone: string) => any) | undefined;
|
|
108
|
+
"onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
|
|
107
109
|
}>, {
|
|
108
|
-
loading: boolean;
|
|
109
110
|
title: string;
|
|
111
|
+
loading: boolean;
|
|
110
112
|
storageKey: string;
|
|
111
113
|
defaultUsername: string;
|
|
112
114
|
defaultPassword: string;
|
|
115
|
+
captchaProvider: CaptchaProvider;
|
|
113
116
|
requireCaptchaServerVerification: boolean;
|
|
114
117
|
captchaVerificationTimeout: number;
|
|
115
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index17.vue.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as CaptchaProvider, p as CaptchaVerifier, s as CaptchaProof, u as CaptchaSuccessPayload } from "./verification.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_Login/types.d.ts
|
|
@@ -29,6 +29,10 @@ interface SocialProvider {
|
|
|
29
29
|
interface PasswordFormData {
|
|
30
30
|
username: string;
|
|
31
31
|
password: string;
|
|
32
|
+
captchaToken?: string;
|
|
33
|
+
captchaTimestamp?: number;
|
|
34
|
+
captchaType?: CaptchaProof['type'];
|
|
35
|
+
captchaVerifiedBy?: CaptchaSuccessPayload['verifiedBy'];
|
|
32
36
|
}
|
|
33
37
|
interface CaptchaFormData {
|
|
34
38
|
account: string;
|
|
@@ -63,6 +67,10 @@ interface LoginProps {
|
|
|
63
67
|
defaultPassword?: string;
|
|
64
68
|
/** 人机验证的应用服务端校验适配器 */
|
|
65
69
|
captchaVerifier?: CaptchaVerifier;
|
|
70
|
+
/** 人机验证提供方;ALTCHA 模式必须同时配置挑战地址和服务端校验器 */
|
|
71
|
+
captchaProvider?: CaptchaProvider;
|
|
72
|
+
/** 签发一次性 ALTCHA 挑战的同源服务端地址 */
|
|
73
|
+
captchaChallengeUrl?: string;
|
|
66
74
|
/** 未配置服务端校验器时是否拒绝登录验证 */
|
|
67
75
|
requireCaptchaServerVerification?: boolean;
|
|
68
76
|
/** 服务端人机验证超时(毫秒) */
|
|
@@ -79,11 +87,7 @@ type __VLS_Slots = {} & {
|
|
|
79
87
|
declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
80
88
|
resetCaptcha: () => void;
|
|
81
89
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
82
|
-
submit: (data: PasswordFormData
|
|
83
|
-
captchaToken?: string;
|
|
84
|
-
captchaTimestamp?: number;
|
|
85
|
-
captchaVerifiedBy?: CaptchaSuccessPayload["verifiedBy"];
|
|
86
|
-
}) => any;
|
|
90
|
+
submit: (data: PasswordFormData) => any;
|
|
87
91
|
"captcha-submit": (data: CaptchaFormData) => any;
|
|
88
92
|
"send-code": (account: string) => any;
|
|
89
93
|
"social-login": (provider: string) => any;
|
|
@@ -91,12 +95,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
91
95
|
"qrcode-refresh": () => any;
|
|
92
96
|
"register-submit": (data: RegisterFormData) => any;
|
|
93
97
|
"register-send-code": (phone: string) => any;
|
|
98
|
+
"captcha-visible-change": (visible: boolean) => any;
|
|
94
99
|
}, string, vue.PublicProps, Readonly<LoginProps> & Readonly<{
|
|
95
|
-
onSubmit?: ((data: PasswordFormData
|
|
96
|
-
captchaToken?: string;
|
|
97
|
-
captchaTimestamp?: number;
|
|
98
|
-
captchaVerifiedBy?: CaptchaSuccessPayload["verifiedBy"];
|
|
99
|
-
}) => any) | undefined;
|
|
100
|
+
onSubmit?: ((data: PasswordFormData) => any) | undefined;
|
|
100
101
|
"onCaptcha-submit"?: ((data: CaptchaFormData) => any) | undefined;
|
|
101
102
|
"onSend-code"?: ((account: string) => any) | undefined;
|
|
102
103
|
"onSocial-login"?: ((provider: string) => any) | undefined;
|
|
@@ -104,12 +105,14 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
104
105
|
"onQrcode-refresh"?: (() => any) | undefined;
|
|
105
106
|
"onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
|
|
106
107
|
"onRegister-send-code"?: ((phone: string) => any) | undefined;
|
|
108
|
+
"onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
|
|
107
109
|
}>, {
|
|
108
|
-
loading: boolean;
|
|
109
110
|
title: string;
|
|
111
|
+
loading: boolean;
|
|
110
112
|
storageKey: string;
|
|
111
113
|
defaultUsername: string;
|
|
112
114
|
defaultPassword: string;
|
|
115
|
+
captchaProvider: CaptchaProvider;
|
|
113
116
|
requireCaptchaServerVerification: boolean;
|
|
114
117
|
captchaVerificationTimeout: number;
|
|
115
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -61,11 +61,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
61
61
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
62
62
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
|
-
|
|
64
|
+
mode: "edit" | "editable" | "preview";
|
|
65
65
|
modelValue: string;
|
|
66
|
-
|
|
66
|
+
height: string | number;
|
|
67
67
|
disabled: boolean;
|
|
68
|
-
|
|
68
|
+
placeholder: string;
|
|
69
|
+
isDark: boolean;
|
|
69
70
|
tocNavPosition: "left" | "right";
|
|
70
71
|
defaultFullscreen: boolean;
|
|
71
72
|
autofocus: boolean;
|
|
@@ -76,7 +77,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
76
77
|
showWordCount: boolean;
|
|
77
78
|
autoSave: boolean;
|
|
78
79
|
autoSaveInterval: number;
|
|
79
|
-
isDark: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
81
81
|
declare const _default: typeof __VLS_export;
|
|
82
82
|
//#endregion
|
package/dist/index18.vue.d.cts
CHANGED
|
@@ -61,11 +61,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
61
61
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
62
62
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
|
-
|
|
64
|
+
mode: "edit" | "editable" | "preview";
|
|
65
65
|
modelValue: string;
|
|
66
|
-
|
|
66
|
+
height: string | number;
|
|
67
67
|
disabled: boolean;
|
|
68
|
-
|
|
68
|
+
placeholder: string;
|
|
69
|
+
isDark: boolean;
|
|
69
70
|
tocNavPosition: "left" | "right";
|
|
70
71
|
defaultFullscreen: boolean;
|
|
71
72
|
autofocus: boolean;
|
|
@@ -76,7 +77,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
76
77
|
showWordCount: boolean;
|
|
77
78
|
autoSave: boolean;
|
|
78
79
|
autoSaveInterval: number;
|
|
79
|
-
isDark: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
81
81
|
declare const _default: typeof __VLS_export;
|
|
82
82
|
//#endregion
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -52,14 +52,14 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
52
52
|
deriveResponsiveState: () => void;
|
|
53
53
|
} | null>;
|
|
54
54
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
55
|
-
select: (key: string) => any;
|
|
56
55
|
"update:modelValue": (key: MenuValue) => any;
|
|
56
|
+
select: (key: string) => any;
|
|
57
57
|
intent: (key: string) => any;
|
|
58
58
|
"update:value": (key: MenuValue) => any;
|
|
59
59
|
"update:expandedKeys": (keys: string[]) => any;
|
|
60
60
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
61
|
-
onSelect?: ((key: string) => any) | undefined;
|
|
62
61
|
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
62
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
63
63
|
onIntent?: ((key: string) => any) | undefined;
|
|
64
64
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
65
65
|
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
package/dist/index19.vue.d.cts
CHANGED
|
@@ -77,8 +77,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
77
77
|
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
78
78
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
79
79
|
}>, {
|
|
80
|
-
lineColor: string;
|
|
81
80
|
direction: OrgChartDirection;
|
|
81
|
+
lineColor: string;
|
|
82
82
|
lineStyle: OrgChartLineStyle;
|
|
83
83
|
lineWidth: number;
|
|
84
84
|
nodeSpacing: number;
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -77,8 +77,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
77
77
|
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
78
78
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
79
79
|
}>, {
|
|
80
|
-
lineColor: string;
|
|
81
80
|
direction: OrgChartDirection;
|
|
81
|
+
lineColor: string;
|
|
82
82
|
lineStyle: OrgChartLineStyle;
|
|
83
83
|
lineWidth: number;
|
|
84
84
|
nodeSpacing: number;
|