@robot-admin/naive-ui-components 0.12.1 → 0.13.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 +20 -0
- package/README.md +60 -1
- package/README_EN.md +59 -0
- package/dist/C_ActionBar.css +60 -60
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +49 -49
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_AudioPlayer.css +81 -66
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_AvatarGroup.css +40 -25
- package/dist/C_AvatarGroup2.cjs +1 -1
- package/dist/C_AvatarGroup2.js +1 -1
- package/dist/C_Barcode.css +6 -6
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Breadcrumb.css +14 -14
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Captcha.css +50 -50
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +2 -2
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_Chat.css +96 -78
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_City.css +52 -28
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +48 -42
- 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_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_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_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.css +8 -8
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- 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 +137 -14
- package/dist/C_Guide.d.cts +2 -2
- package/dist/C_Guide.d.ts +2 -2
- 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 +134 -134
- 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_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.css +173 -174
- 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 +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +12 -8
- package/dist/constants3.d.ts +12 -8
- package/dist/constants4.d.cts +9 -9
- package/dist/constants4.d.ts +9 -9
- package/dist/constants5.d.cts +4 -4
- package/dist/constants5.d.ts +4 -4
- package/dist/data.d.cts +11 -11
- package/dist/data.d.ts +11 -11
- package/dist/data2.cjs +1 -1
- package/dist/data2.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +7 -5
- package/dist/index.vue.d.ts +7 -5
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.cts +5 -5
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +35 -9
- package/dist/index14.vue.d.cts +35 -9
- package/dist/index14.vue.d.ts +15 -48
- package/dist/index15.vue.d.cts +15 -48
- 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 +2 -2
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +3 -3
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +3 -3
- package/dist/index21.vue.d.ts +3 -3
- package/dist/index22.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index24.vue.d.cts +3 -3
- package/dist/index24.vue.d.ts +3 -3
- package/dist/index26.vue.d.cts +1 -1
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +8 -8
- package/dist/index3.vue.d.ts +8 -8
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index7.vue.d.cts +1 -1
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.cts +3 -3
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +1698 -1365
- package/dist/useCalendarEvents.d.cts +23 -18
- package/dist/useCalendarEvents.d.ts +23 -18
- package/dist/useCollapsePanel.d.cts +1 -0
- package/dist/useCollapsePanel.d.ts +1 -0
- package/dist/useCropperCore.d.cts +32 -17
- package/dist/useCropperCore.d.ts +32 -17
- package/dist/useDraggableLayout.d.cts +3 -3
- package/dist/useDraggableLayout.d.ts +3 -3
- package/dist/useDynamicFormState.d.cts +5 -0
- package/dist/useDynamicFormState.d.ts +5 -0
- package/dist/useEdgeInteraction.d.cts +19 -19
- package/dist/useEdgeInteraction.d.ts +19 -19
- package/dist/useFullscreen.d.cts +6 -6
- package/dist/useFullscreen.d.ts +6 -6
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +6 -5
- package/dist/useQRCode.d.ts +6 -5
- package/dist/useSearchState.d.cts +7 -7
- package/dist/useSearchState.d.ts +7 -7
- package/dist/useSignatureHistory.d.cts +16 -8
- package/dist/useSignatureHistory.d.ts +16 -8
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +2 -5
- package/dist/useTableQuery.d.ts +2 -5
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +5 -2
- package/dist/useTimeSelection.d.ts +5 -2
- package/dist/useTreeOperations.d.cts +6 -6
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +4 -2
- package/dist/useWorkflowValidation.d.ts +4 -2
- package/dist/verification.d.cts +3 -3
- package/dist/verification.d.ts +3 -3
- package/package.json +4 -3
package/dist/index.vue.d.cts
CHANGED
|
@@ -60,22 +60,24 @@ type __VLS_Props = {
|
|
|
60
60
|
theme?: AudioPlayerProps['theme'];
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
|
+
error: (error: unknown) => any;
|
|
64
|
+
ended: (index: number) => any;
|
|
63
65
|
play: (index: number) => any;
|
|
64
66
|
pause: () => any;
|
|
65
|
-
ended: (index: number) => any;
|
|
66
67
|
modeChange: (mode: string) => any;
|
|
67
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
68
71
|
onPlay?: ((index: number) => any) | undefined;
|
|
69
72
|
onPause?: (() => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
74
|
}>, {
|
|
75
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
76
|
+
theme: "default" | "minimal";
|
|
77
|
+
autoplay: boolean;
|
|
73
78
|
initialIndex: number;
|
|
74
79
|
showPlaylist: boolean;
|
|
75
80
|
showCover: boolean;
|
|
76
|
-
autoplay: boolean;
|
|
77
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
78
|
-
theme: "default" | "minimal";
|
|
79
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
82
|
declare const _default: typeof __VLS_export;
|
|
81
83
|
//#endregion
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -60,22 +60,24 @@ type __VLS_Props = {
|
|
|
60
60
|
theme?: AudioPlayerProps['theme'];
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
|
+
error: (error: unknown) => any;
|
|
64
|
+
ended: (index: number) => any;
|
|
63
65
|
play: (index: number) => any;
|
|
64
66
|
pause: () => any;
|
|
65
|
-
ended: (index: number) => any;
|
|
66
67
|
modeChange: (mode: string) => any;
|
|
67
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
68
71
|
onPlay?: ((index: number) => any) | undefined;
|
|
69
72
|
onPause?: (() => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
74
|
}>, {
|
|
75
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
76
|
+
theme: "default" | "minimal";
|
|
77
|
+
autoplay: boolean;
|
|
73
78
|
initialIndex: number;
|
|
74
79
|
showPlaylist: boolean;
|
|
75
80
|
showCover: boolean;
|
|
76
|
-
autoplay: boolean;
|
|
77
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
78
|
-
theme: "default" | "minimal";
|
|
79
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
82
|
declare const _default: typeof __VLS_export;
|
|
81
83
|
//#endregion
|
package/dist/index10.vue.d.cts
CHANGED
|
@@ -61,15 +61,15 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
61
61
|
close: () => void; /** 当前是否可见 */
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
select: (item: ContextMenuItem) => any;
|
|
65
64
|
close: () => any;
|
|
65
|
+
select: (item: ContextMenuItem) => any;
|
|
66
66
|
open: (position: {
|
|
67
67
|
x: number;
|
|
68
68
|
y: number;
|
|
69
69
|
}) => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
71
|
onClose?: (() => any) | undefined;
|
|
72
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
73
73
|
onOpen?: ((position: {
|
|
74
74
|
x: number;
|
|
75
75
|
y: number;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -59,11 +59,11 @@ declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {
|
|
|
59
59
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
60
60
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
mode: DatePickerMode;
|
|
63
62
|
placeholder: string;
|
|
64
|
-
|
|
63
|
+
mode: DatePickerMode;
|
|
65
64
|
startPlaceholder: string;
|
|
66
65
|
endPlaceholder: string;
|
|
66
|
+
disabled: boolean;
|
|
67
67
|
disabledBeforeToday: boolean;
|
|
68
68
|
disabledAfterToday: boolean;
|
|
69
69
|
startDateProps: Record<string, unknown>;
|
package/dist/index11.vue.d.cts
CHANGED
|
@@ -59,11 +59,11 @@ declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {
|
|
|
59
59
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
60
60
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
mode: DatePickerMode;
|
|
63
62
|
placeholder: string;
|
|
64
|
-
|
|
63
|
+
mode: DatePickerMode;
|
|
65
64
|
startPlaceholder: string;
|
|
66
65
|
endPlaceholder: string;
|
|
66
|
+
disabled: boolean;
|
|
67
67
|
disabledBeforeToday: boolean;
|
|
68
68
|
disabledAfterToday: boolean;
|
|
69
69
|
startDateProps: Record<string, unknown>;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -42,22 +42,22 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
42
42
|
} | null>>;
|
|
43
43
|
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
44
44
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
45
|
-
error: (error: Error) => any;
|
|
46
45
|
"update:modelValue": (value: string) => any;
|
|
46
|
+
error: (error: Error) => any;
|
|
47
47
|
"editor-mounted": (editor: EditorInstance) => any;
|
|
48
48
|
"editor-change": (html: string) => any;
|
|
49
49
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
-
onError?: ((error: Error) => any) | undefined;
|
|
51
50
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
"onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
|
|
53
53
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
height: number;
|
|
56
|
-
theme: "light" | "dark";
|
|
57
|
-
modelValue: string;
|
|
58
55
|
placeholder: string;
|
|
56
|
+
modelValue: string;
|
|
59
57
|
disabled: boolean;
|
|
58
|
+
height: number;
|
|
60
59
|
readonly: boolean;
|
|
60
|
+
theme: "light" | "dark";
|
|
61
61
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
62
62
|
declare const _default: typeof __VLS_export;
|
|
63
63
|
//#endregion
|
package/dist/index12.vue.d.cts
CHANGED
|
@@ -42,22 +42,22 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
42
42
|
} | null>>;
|
|
43
43
|
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
44
44
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
45
|
-
error: (error: Error) => any;
|
|
46
45
|
"update:modelValue": (value: string) => any;
|
|
46
|
+
error: (error: Error) => any;
|
|
47
47
|
"editor-mounted": (editor: EditorInstance) => any;
|
|
48
48
|
"editor-change": (html: string) => any;
|
|
49
49
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
-
onError?: ((error: Error) => any) | undefined;
|
|
51
50
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
"onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
|
|
53
53
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
height: number;
|
|
56
|
-
theme: "light" | "dark";
|
|
57
|
-
modelValue: string;
|
|
58
55
|
placeholder: string;
|
|
56
|
+
modelValue: string;
|
|
59
57
|
disabled: boolean;
|
|
58
|
+
height: number;
|
|
60
59
|
readonly: boolean;
|
|
60
|
+
theme: "light" | "dark";
|
|
61
61
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
62
62
|
declare const _default: typeof __VLS_export;
|
|
63
63
|
//#endregion
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ interface FormModalEmits<T extends object = FormRecord> {
|
|
|
38
38
|
//#region src/components/C_FormModal/index.vue.d.ts
|
|
39
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
40
|
props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
|
|
41
|
-
onClose?: (() => any) | undefined;
|
|
42
41
|
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
42
|
+
onClose?: (() => any) | undefined;
|
|
43
43
|
}> & (typeof globalThis extends {
|
|
44
44
|
__VLS_PROPS_FALLBACK: infer P;
|
|
45
45
|
} ? P : {});
|
|
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
48
48
|
slots: {
|
|
49
49
|
[x: string]: ((props: any) => any) | undefined;
|
|
50
50
|
};
|
|
51
|
-
emit: ((evt: "
|
|
51
|
+
emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
|
|
52
52
|
}>) => vue.VNode & {
|
|
53
53
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
54
54
|
};
|
package/dist/index13.vue.d.cts
CHANGED
|
@@ -38,8 +38,8 @@ interface FormModalEmits<T extends object = FormRecord> {
|
|
|
38
38
|
//#region src/components/C_FormModal/index.vue.d.ts
|
|
39
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
40
|
props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
|
|
41
|
-
onClose?: (() => any) | undefined;
|
|
42
41
|
onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
|
|
42
|
+
onClose?: (() => any) | undefined;
|
|
43
43
|
}> & (typeof globalThis extends {
|
|
44
44
|
__VLS_PROPS_FALLBACK: infer P;
|
|
45
45
|
} ? P : {});
|
|
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
48
48
|
slots: {
|
|
49
49
|
[x: string]: ((props: any) => any) | undefined;
|
|
50
50
|
};
|
|
51
|
-
emit: ((evt: "
|
|
51
|
+
emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
|
|
52
52
|
}>) => vue.VNode & {
|
|
53
53
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
54
54
|
};
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/C_Guide/types.d.ts
|
|
4
|
+
/** 通用功能示意图,不包含宿主业务数据。 */
|
|
5
|
+
type GuideIllustration = 'navigation' | 'search' | 'tabs' | 'account' | 'overview' | 'notification' | 'fullscreen' | 'language' | 'theme' | 'settings';
|
|
6
|
+
/** 可使用选择器、真实元素或动态解析函数定位目标。 */
|
|
7
|
+
type GuideTarget = string | Element | (() => Element | null | undefined);
|
|
8
|
+
/** 引导实例公开方法,用于宿主在路由变化时主动停止等场景。 */
|
|
9
|
+
interface GuideExpose {
|
|
10
|
+
startGuide: (force?: boolean) => Promise<void>;
|
|
11
|
+
stopGuide: () => void;
|
|
12
|
+
resetCompleted: () => void;
|
|
13
|
+
isCompleted: () => boolean;
|
|
14
|
+
}
|
|
4
15
|
/** 引导步骤定义 */
|
|
5
16
|
interface GuideStep {
|
|
6
|
-
/**
|
|
7
|
-
element
|
|
17
|
+
/** 目标元素;不传时可展示居中的欢迎步骤。 */
|
|
18
|
+
element?: GuideTarget;
|
|
8
19
|
/** 弹出层配置 */
|
|
9
20
|
popover: {
|
|
10
21
|
title: string;
|
|
11
22
|
description: string;
|
|
12
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
23
|
+
side?: 'top' | 'right' | 'bottom' | 'left'; /** 可选的轻量示意图,使用组件主题色。 */
|
|
24
|
+
illustration?: GuideIllustration;
|
|
13
25
|
};
|
|
14
26
|
/** 步骤所属分组(用于步骤分组展示) */
|
|
15
27
|
group?: string;
|
|
@@ -50,14 +62,20 @@ interface GuideProps {
|
|
|
50
62
|
nextBtnText?: string;
|
|
51
63
|
/** 上一步按钮文字 */
|
|
52
64
|
prevBtnText?: string;
|
|
65
|
+
/** 是否显示跳过按钮;allowClose 为 false 时不显示,默认 true。 */
|
|
66
|
+
showSkipButton?: boolean;
|
|
67
|
+
/** 跳过按钮文字,默认“跳过引导”。 */
|
|
68
|
+
skipBtnText?: string;
|
|
53
69
|
/** 是否显示进度条 */
|
|
54
70
|
showProgress?: boolean;
|
|
55
|
-
/** 是否启用键盘导航(← →
|
|
71
|
+
/** 是否启用键盘导航(← → Esc) */
|
|
56
72
|
keyboard?: boolean;
|
|
57
73
|
/** 是否启用动画 */
|
|
58
74
|
animate?: boolean;
|
|
59
75
|
/** 是否允许点击遮罩关闭 */
|
|
60
76
|
allowClose?: boolean;
|
|
77
|
+
/** 自动跳过不存在或不可见的目标,默认 true。 */
|
|
78
|
+
skipMissingElements?: boolean;
|
|
61
79
|
/** 主题配置 */
|
|
62
80
|
theme?: GuideTheme;
|
|
63
81
|
/** 持久化配置 */
|
|
@@ -74,28 +92,36 @@ interface GuideProps {
|
|
|
74
92
|
//#endregion
|
|
75
93
|
//#region src/components/C_Guide/index.vue.d.ts
|
|
76
94
|
declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
77
|
-
startGuide: (force?: boolean) => void
|
|
95
|
+
startGuide: (force?: boolean) => Promise<void>;
|
|
96
|
+
stopGuide: () => void;
|
|
78
97
|
resetCompleted: () => void;
|
|
79
98
|
isCompleted: () => boolean;
|
|
80
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
+
close: (currentStep: number) => any;
|
|
81
101
|
start: () => any;
|
|
102
|
+
error: (error: unknown) => any;
|
|
82
103
|
complete: () => any;
|
|
83
|
-
|
|
104
|
+
skip: (currentStep: number) => any;
|
|
84
105
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
85
106
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
107
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
86
108
|
onStart?: (() => any) | undefined;
|
|
109
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
87
110
|
onComplete?: (() => any) | undefined;
|
|
88
|
-
|
|
111
|
+
onSkip?: ((currentStep: number) => any) | undefined;
|
|
89
112
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
90
113
|
}>, {
|
|
91
114
|
steps: GuideStep[];
|
|
115
|
+
keyboard: boolean;
|
|
92
116
|
doneBtnText: string;
|
|
93
117
|
nextBtnText: string;
|
|
94
118
|
prevBtnText: string;
|
|
119
|
+
showSkipButton: boolean;
|
|
120
|
+
skipBtnText: string;
|
|
95
121
|
showProgress: boolean;
|
|
96
|
-
keyboard: boolean;
|
|
97
122
|
animate: boolean;
|
|
98
123
|
allowClose: boolean;
|
|
124
|
+
skipMissingElements: boolean;
|
|
99
125
|
popoverClass: string;
|
|
100
126
|
showTrigger: boolean;
|
|
101
127
|
triggerTooltip: string;
|
|
@@ -103,4 +129,4 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
103
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
104
130
|
declare const _default: typeof __VLS_export;
|
|
105
131
|
//#endregion
|
|
106
|
-
export {
|
|
132
|
+
export { GuideProps as a, GuideTheme as c, GuidePersistence as i, GuideExpose as n, GuideStep as o, GuideIllustration as r, GuideTarget as s, _default as t };
|
package/dist/index14.vue.d.cts
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/C_Guide/types.d.ts
|
|
4
|
+
/** 通用功能示意图,不包含宿主业务数据。 */
|
|
5
|
+
type GuideIllustration = 'navigation' | 'search' | 'tabs' | 'account' | 'overview' | 'notification' | 'fullscreen' | 'language' | 'theme' | 'settings';
|
|
6
|
+
/** 可使用选择器、真实元素或动态解析函数定位目标。 */
|
|
7
|
+
type GuideTarget = string | Element | (() => Element | null | undefined);
|
|
8
|
+
/** 引导实例公开方法,用于宿主在路由变化时主动停止等场景。 */
|
|
9
|
+
interface GuideExpose {
|
|
10
|
+
startGuide: (force?: boolean) => Promise<void>;
|
|
11
|
+
stopGuide: () => void;
|
|
12
|
+
resetCompleted: () => void;
|
|
13
|
+
isCompleted: () => boolean;
|
|
14
|
+
}
|
|
4
15
|
/** 引导步骤定义 */
|
|
5
16
|
interface GuideStep {
|
|
6
|
-
/**
|
|
7
|
-
element
|
|
17
|
+
/** 目标元素;不传时可展示居中的欢迎步骤。 */
|
|
18
|
+
element?: GuideTarget;
|
|
8
19
|
/** 弹出层配置 */
|
|
9
20
|
popover: {
|
|
10
21
|
title: string;
|
|
11
22
|
description: string;
|
|
12
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
23
|
+
side?: 'top' | 'right' | 'bottom' | 'left'; /** 可选的轻量示意图,使用组件主题色。 */
|
|
24
|
+
illustration?: GuideIllustration;
|
|
13
25
|
};
|
|
14
26
|
/** 步骤所属分组(用于步骤分组展示) */
|
|
15
27
|
group?: string;
|
|
@@ -50,14 +62,20 @@ interface GuideProps {
|
|
|
50
62
|
nextBtnText?: string;
|
|
51
63
|
/** 上一步按钮文字 */
|
|
52
64
|
prevBtnText?: string;
|
|
65
|
+
/** 是否显示跳过按钮;allowClose 为 false 时不显示,默认 true。 */
|
|
66
|
+
showSkipButton?: boolean;
|
|
67
|
+
/** 跳过按钮文字,默认“跳过引导”。 */
|
|
68
|
+
skipBtnText?: string;
|
|
53
69
|
/** 是否显示进度条 */
|
|
54
70
|
showProgress?: boolean;
|
|
55
|
-
/** 是否启用键盘导航(← →
|
|
71
|
+
/** 是否启用键盘导航(← → Esc) */
|
|
56
72
|
keyboard?: boolean;
|
|
57
73
|
/** 是否启用动画 */
|
|
58
74
|
animate?: boolean;
|
|
59
75
|
/** 是否允许点击遮罩关闭 */
|
|
60
76
|
allowClose?: boolean;
|
|
77
|
+
/** 自动跳过不存在或不可见的目标,默认 true。 */
|
|
78
|
+
skipMissingElements?: boolean;
|
|
61
79
|
/** 主题配置 */
|
|
62
80
|
theme?: GuideTheme;
|
|
63
81
|
/** 持久化配置 */
|
|
@@ -74,28 +92,36 @@ interface GuideProps {
|
|
|
74
92
|
//#endregion
|
|
75
93
|
//#region src/components/C_Guide/index.vue.d.ts
|
|
76
94
|
declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
77
|
-
startGuide: (force?: boolean) => void
|
|
95
|
+
startGuide: (force?: boolean) => Promise<void>;
|
|
96
|
+
stopGuide: () => void;
|
|
78
97
|
resetCompleted: () => void;
|
|
79
98
|
isCompleted: () => boolean;
|
|
80
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
+
close: (currentStep: number) => any;
|
|
81
101
|
start: () => any;
|
|
102
|
+
error: (error: unknown) => any;
|
|
82
103
|
complete: () => any;
|
|
83
|
-
|
|
104
|
+
skip: (currentStep: number) => any;
|
|
84
105
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
85
106
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
107
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
86
108
|
onStart?: (() => any) | undefined;
|
|
109
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
87
110
|
onComplete?: (() => any) | undefined;
|
|
88
|
-
|
|
111
|
+
onSkip?: ((currentStep: number) => any) | undefined;
|
|
89
112
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
90
113
|
}>, {
|
|
91
114
|
steps: GuideStep[];
|
|
115
|
+
keyboard: boolean;
|
|
92
116
|
doneBtnText: string;
|
|
93
117
|
nextBtnText: string;
|
|
94
118
|
prevBtnText: string;
|
|
119
|
+
showSkipButton: boolean;
|
|
120
|
+
skipBtnText: string;
|
|
95
121
|
showProgress: boolean;
|
|
96
|
-
keyboard: boolean;
|
|
97
122
|
animate: boolean;
|
|
98
123
|
allowClose: boolean;
|
|
124
|
+
skipMissingElements: boolean;
|
|
99
125
|
popoverClass: string;
|
|
100
126
|
showTrigger: boolean;
|
|
101
127
|
triggerTooltip: string;
|
|
@@ -103,4 +129,4 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
103
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
104
130
|
declare const _default: typeof __VLS_export;
|
|
105
131
|
//#endregion
|
|
106
|
-
export {
|
|
132
|
+
export { GuideProps as a, GuideTheme as c, GuidePersistence as i, GuideExpose as n, GuideStep as o, GuideIllustration as r, GuideTarget as s, _default as t };
|
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: KeyboardEvent | MouseEvent) => 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: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
70
37
|
onLoad?: (() => any) | undefined;
|
|
71
38
|
}>, {
|
|
72
|
-
|
|
39
|
+
size: number | string;
|
|
73
40
|
title: string;
|
|
74
|
-
|
|
41
|
+
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
42
|
+
name: string | vue.Component;
|
|
75
43
|
loading: boolean;
|
|
76
|
-
|
|
77
|
-
name: string | any;
|
|
78
|
-
flip: "horizontal" | "vertical" | "both";
|
|
79
|
-
clickable: boolean;
|
|
44
|
+
color: string;
|
|
80
45
|
rotate: number;
|
|
81
46
|
svgPath: string;
|
|
82
47
|
viewBox: string;
|
|
83
48
|
alt: string;
|
|
49
|
+
clickable: boolean;
|
|
84
50
|
fallbackIcon: string;
|
|
85
51
|
ariaLabel: string;
|
|
86
52
|
customClass: string;
|
|
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: KeyboardEvent | MouseEvent) => 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: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
70
37
|
onLoad?: (() => any) | undefined;
|
|
71
38
|
}>, {
|
|
72
|
-
|
|
39
|
+
size: number | string;
|
|
73
40
|
title: string;
|
|
74
|
-
|
|
41
|
+
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
42
|
+
name: string | vue.Component;
|
|
75
43
|
loading: boolean;
|
|
76
|
-
|
|
77
|
-
name: string | any;
|
|
78
|
-
flip: "horizontal" | "vertical" | "both";
|
|
79
|
-
clickable: boolean;
|
|
44
|
+
color: string;
|
|
80
45
|
rotate: number;
|
|
81
46
|
svgPath: string;
|
|
82
47
|
viewBox: string;
|
|
83
48
|
alt: string;
|
|
49
|
+
clickable: boolean;
|
|
84
50
|
fallbackIcon: string;
|
|
85
51
|
ariaLabel: string;
|
|
86
52
|
customClass: string;
|
|
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/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
|
-
height: string | number;
|
|
65
|
-
mode: "edit" | "editable" | "preview";
|
|
66
|
-
modelValue: string;
|
|
67
64
|
placeholder: string;
|
|
65
|
+
modelValue: string;
|
|
66
|
+
mode: "edit" | "editable" | "preview";
|
|
68
67
|
disabled: boolean;
|
|
68
|
+
height: string | number;
|
|
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
|
-
height: string | number;
|
|
65
|
-
mode: "edit" | "editable" | "preview";
|
|
66
|
-
modelValue: string;
|
|
67
64
|
placeholder: string;
|
|
65
|
+
modelValue: string;
|
|
66
|
+
mode: "edit" | "editable" | "preview";
|
|
68
67
|
disabled: boolean;
|
|
68
|
+
height: string | number;
|
|
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;
|