@robot-admin/naive-ui-components 0.19.0 → 0.21.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 +20 -0
- package/README.md +5 -5
- package/README_EN.md +5 -5
- package/SECURITY.md +39 -0
- package/dist/C_AntV.css +31 -31
- package/dist/C_AntV2.cjs +1 -1
- package/dist/C_AntV2.js +1 -1
- package/dist/C_Breadcrumb.css +308 -20
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +2 -2
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Chat.css +90 -90
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_Draggable.css +53 -53
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_FilePreview.css +98 -98
- package/dist/C_FilePreview.d.cts +2 -2
- package/dist/C_FilePreview.d.ts +2 -2
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +9 -9
- package/dist/C_Form.css +9 -9
- package/dist/C_FormSearch.css +52 -52
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- package/dist/C_Language.css +2 -2
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Login.css +79 -79
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Menu.css +1 -1
- package/dist/C_Menu.d.cts +2 -2
- package/dist/C_Menu.d.ts +2 -2
- package/dist/C_Menu2.cjs +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/C_NotificationCenter.css +124 -124
- package/dist/C_NotificationCenter.d.cts +2 -2
- package/dist/C_NotificationCenter.d.ts +2 -2
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_Skeleton.css +2 -2
- package/dist/C_Skeleton2.cjs +1 -1
- package/dist/C_Skeleton2.js +1 -1
- package/dist/C_SplitPane.css +66 -66
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Table.base.css +9 -9
- package/dist/C_Table.css +9 -9
- package/dist/C_Table.d.ts +1 -0
- package/dist/C_Theme2.cjs +1 -1
- package/dist/C_Theme2.js +1 -1
- package/dist/C_Timeline.css +46 -46
- package/dist/C_Timeline2.cjs +1 -1
- package/dist/C_Timeline2.js +1 -1
- package/dist/C_Transfer.css +26 -26
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.css +23 -23
- package/dist/C_Tree.d.ts +1 -0
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.d.cts +2 -2
- package/dist/C_VideoPlayer.d.ts +2 -2
- package/dist/C_VideoPlayer2.cjs +2 -2
- package/dist/C_VideoPlayer2.js +2 -2
- package/dist/C_WaterFall.css +31 -29
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +111 -111
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/config.cjs +1 -0
- package/dist/config.d.cts +8 -0
- package/dist/config.d.ts +8 -0
- package/dist/config.js +1 -0
- package/dist/constants3.d.cts +34 -11
- package/dist/constants3.d.ts +34 -11
- package/dist/constants4.d.cts +14 -3
- package/dist/constants4.d.ts +14 -3
- package/dist/constants5.d.cts +24 -20
- package/dist/constants5.d.ts +24 -20
- package/dist/data.d.cts +6 -6
- package/dist/data.d.ts +6 -6
- package/dist/dateRange.d.cts +2 -0
- package/dist/dateRange.d.ts +2 -0
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +5 -5
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +6 -6
- package/dist/index14.vue.d.cts +6 -6
- package/dist/index14.vue.d.ts +0 -1
- package/dist/index15.vue.d.cts +0 -1
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +44 -40
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +1 -1
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.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 +1 -1
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +2 -3
- package/dist/index25.vue.d.ts +2 -3
- package/dist/index26.vue.d.cts +3 -3
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index4.vue.d.cts +44 -40
- package/dist/index4.vue.d.ts +26 -12
- package/dist/index5.vue.d.cts +26 -12
- package/dist/index6.vue.d.ts +0 -2
- package/dist/index7.vue.d.cts +0 -2
- package/dist/index8.vue.d.ts +4 -4
- package/dist/index9.vue.d.cts +4 -4
- package/dist/index9.vue.d.ts +5 -5
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/public.d.ts +3 -1
- package/dist/style.css +1154 -864
- package/dist/types.d.cts +3 -1
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +4 -4
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.cts +1 -0
- package/dist/useDraggableLayout.d.ts +1 -0
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +41 -23
- package/dist/useFullscreen.d.ts +41 -23
- package/dist/useInfiniteScroll.d.cts +6 -4
- package/dist/useInfiniteScroll.d.ts +6 -4
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +2 -2
- package/dist/useSignatureHistory.d.ts +2 -2
- package/dist/useSplitResize.d.cts +6 -7
- package/dist/useSplitResize.d.ts +6 -7
- package/dist/useTableQuery.cjs +1 -1
- package/dist/useTableQuery.d.cts +6 -10
- package/dist/useTableQuery.d.ts +6 -10
- package/dist/useTableQuery.js +1 -1
- package/dist/useWorkflowValidation.d.cts +11 -3
- package/dist/useWorkflowValidation.d.ts +11 -3
- package/dist/verification.d.cts +1 -1
- package/dist/verification.d.ts +1 -1
- package/docs/architecture.en.md +3 -1
- package/docs/architecture.md +3 -1
- package/docs/guides/usage.en.md +22 -0
- package/docs/guides/usage.md +73 -0
- package/package.json +27 -10
- package/dist/context.cjs +0 -1
- package/dist/context.js +0 -1
package/dist/index19.vue.d.cts
CHANGED
|
@@ -81,10 +81,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
81
81
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
direction: OrgChartDirection;
|
|
84
|
-
lineColor: string;
|
|
85
|
-
lineWidth: number;
|
|
86
84
|
collapsible: boolean;
|
|
87
85
|
lineStyle: OrgChartLineStyle;
|
|
86
|
+
lineColor: string;
|
|
87
|
+
lineWidth: number;
|
|
88
88
|
nodeSpacing: number;
|
|
89
89
|
levelSpacing: number;
|
|
90
90
|
zoomable: boolean;
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -81,10 +81,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
81
81
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
direction: OrgChartDirection;
|
|
84
|
-
lineColor: string;
|
|
85
|
-
lineWidth: number;
|
|
86
84
|
collapsible: boolean;
|
|
87
85
|
lineStyle: OrgChartLineStyle;
|
|
86
|
+
lineColor: string;
|
|
87
|
+
lineWidth: number;
|
|
88
88
|
nodeSpacing: number;
|
|
89
89
|
levelSpacing: number;
|
|
90
90
|
zoomable: boolean;
|
package/dist/index2.vue.d.cts
CHANGED
|
@@ -73,9 +73,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
size: number;
|
|
76
|
+
max: number;
|
|
76
77
|
direction: "ltr" | "rtl";
|
|
77
78
|
clickable: boolean;
|
|
78
|
-
max: number;
|
|
79
79
|
overlap: number;
|
|
80
80
|
shape: "circle" | "square";
|
|
81
81
|
showStatus: boolean;
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -73,9 +73,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
size: number;
|
|
76
|
+
max: number;
|
|
76
77
|
direction: "ltr" | "rtl";
|
|
77
78
|
clickable: boolean;
|
|
78
|
-
max: number;
|
|
79
79
|
overlap: number;
|
|
80
80
|
shape: "circle" | "square";
|
|
81
81
|
showStatus: boolean;
|
package/dist/index20.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
|
-
time: number;
|
|
38
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
38
|
strokeWidth: number;
|
|
39
|
+
time: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
package/dist/index20.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
|
-
time: number;
|
|
38
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
38
|
strokeWidth: number;
|
|
39
|
+
time: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
package/dist/index21.vue.d.cts
CHANGED
|
@@ -86,8 +86,8 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
default?: (props: typeof __VLS_1) => any;
|
|
87
87
|
};
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
|
-
loading: boolean;
|
|
90
89
|
repeat: number;
|
|
90
|
+
loading: boolean;
|
|
91
91
|
preset: SkeletonPreset;
|
|
92
92
|
animation: SkeletonAnimation;
|
|
93
93
|
borderRadius: string;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -86,8 +86,8 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
default?: (props: typeof __VLS_1) => any;
|
|
87
87
|
};
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
|
-
loading: boolean;
|
|
90
89
|
repeat: number;
|
|
90
|
+
loading: boolean;
|
|
91
91
|
preset: SkeletonPreset;
|
|
92
92
|
animation: SkeletonAnimation;
|
|
93
93
|
borderRadius: string;
|
package/dist/index22.vue.d.cts
CHANGED
|
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
35
35
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
36
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
connected: boolean;
|
|
39
|
-
current: number;
|
|
40
38
|
direction: "horizontal" | "vertical";
|
|
39
|
+
current: number;
|
|
41
40
|
clickable: boolean;
|
|
41
|
+
connected: boolean;
|
|
42
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
44
44
|
//#endregion
|
package/dist/index22.vue.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
35
35
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
36
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
connected: boolean;
|
|
39
|
-
current: number;
|
|
40
38
|
direction: "horizontal" | "vertical";
|
|
39
|
+
current: number;
|
|
41
40
|
clickable: boolean;
|
|
41
|
+
connected: boolean;
|
|
42
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
44
44
|
//#endregion
|
package/dist/index25.vue.d.cts
CHANGED
|
@@ -90,13 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
91
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
|
|
93
|
+
items: TimelineItem[];
|
|
94
94
|
size: "small" | "medium" | "large";
|
|
95
|
+
reverse: boolean;
|
|
95
96
|
pending: boolean;
|
|
96
97
|
mode: "vertical" | "horizontal";
|
|
97
|
-
items: TimelineItem[];
|
|
98
98
|
labelPlacement: "left" | "right" | "alternate";
|
|
99
|
-
pendingText: string;
|
|
100
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
101
100
|
showTime: boolean;
|
|
102
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index25.vue.d.ts
CHANGED
|
@@ -90,13 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
91
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
|
|
93
|
+
items: TimelineItem[];
|
|
94
94
|
size: "small" | "medium" | "large";
|
|
95
|
+
reverse: boolean;
|
|
95
96
|
pending: boolean;
|
|
96
97
|
mode: "vertical" | "horizontal";
|
|
97
|
-
items: TimelineItem[];
|
|
98
98
|
labelPlacement: "left" | "right" | "alternate";
|
|
99
|
-
pendingText: string;
|
|
100
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
101
100
|
showTime: boolean;
|
|
102
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index26.vue.d.cts
CHANGED
|
@@ -28,7 +28,7 @@ interface TransferProps<T extends TransferItem = TransferItem> {
|
|
|
28
28
|
/** 右侧已选 key 列表 (v-model) */
|
|
29
29
|
modelValue: readonly NoInfer<T['key']>[];
|
|
30
30
|
/** 左右栏标题 */
|
|
31
|
-
titles?: [string, string];
|
|
31
|
+
titles?: readonly [string, string];
|
|
32
32
|
/** 是否可搜索 */
|
|
33
33
|
filterable?: boolean;
|
|
34
34
|
/** 搜索占位符 */
|
|
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
58
58
|
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<{
|
|
59
59
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
60
60
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
61
|
-
onChange?: ((targetKeys: T["key"][], direction: "
|
|
61
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
62
62
|
}> & (typeof globalThis extends {
|
|
63
63
|
__VLS_PROPS_FALLBACK: infer P;
|
|
64
64
|
} ? P : {});
|
|
65
65
|
expose: (exposed: {}) => void;
|
|
66
66
|
attrs: any;
|
|
67
67
|
slots: {};
|
|
68
|
-
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "
|
|
68
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
69
69
|
}>) => vue.VNode & {
|
|
70
70
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
71
71
|
};
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ interface TransferProps<T extends TransferItem = TransferItem> {
|
|
|
28
28
|
/** 右侧已选 key 列表 (v-model) */
|
|
29
29
|
modelValue: readonly NoInfer<T['key']>[];
|
|
30
30
|
/** 左右栏标题 */
|
|
31
|
-
titles?: [string, string];
|
|
31
|
+
titles?: readonly [string, string];
|
|
32
32
|
/** 是否可搜索 */
|
|
33
33
|
filterable?: boolean;
|
|
34
34
|
/** 搜索占位符 */
|
|
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
58
58
|
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<{
|
|
59
59
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
60
60
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
61
|
-
onChange?: ((targetKeys: T["key"][], direction: "
|
|
61
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
62
62
|
}> & (typeof globalThis extends {
|
|
63
63
|
__VLS_PROPS_FALLBACK: infer P;
|
|
64
64
|
} ? P : {});
|
|
65
65
|
expose: (exposed: {}) => void;
|
|
66
66
|
attrs: any;
|
|
67
67
|
slots: {};
|
|
68
|
-
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "
|
|
68
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
69
69
|
}>) => vue.VNode & {
|
|
70
70
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
71
71
|
};
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
+
fontSize: number;
|
|
24
|
+
label: string;
|
|
23
25
|
width: number;
|
|
24
26
|
height: number;
|
|
25
|
-
|
|
26
|
-
fontSize: number;
|
|
27
|
+
showBorder: boolean;
|
|
27
28
|
lineColor: string;
|
|
28
29
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
30
|
+
showLabel: boolean;
|
|
29
31
|
showText: boolean;
|
|
30
32
|
textPosition: "bottom" | "top";
|
|
31
33
|
background: string;
|
|
32
|
-
showBorder: boolean;
|
|
33
|
-
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
+
fontSize: number;
|
|
24
|
+
label: string;
|
|
23
25
|
width: number;
|
|
24
26
|
height: number;
|
|
25
|
-
|
|
26
|
-
fontSize: number;
|
|
27
|
+
showBorder: boolean;
|
|
27
28
|
lineColor: string;
|
|
28
29
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
30
|
+
showLabel: boolean;
|
|
29
31
|
showText: boolean;
|
|
30
32
|
textPosition: "bottom" | "top";
|
|
31
33
|
background: string;
|
|
32
|
-
showBorder: boolean;
|
|
33
|
-
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { n as RouteItem } from "./types.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Ref, VNode } from "vue";
|
|
4
|
-
import * as naive_ui0 from "naive-ui";
|
|
5
4
|
import { DropdownProps, MenuInst, MenuOption } from "naive-ui";
|
|
6
5
|
|
|
7
6
|
//#region src/components/_shared/menuAdapter.d.ts
|
|
@@ -63,17 +62,27 @@ declare function createMenuOptions(routes: RouteItem[], config?: MenuAdapterConf
|
|
|
63
62
|
declare function flattenRoutes(routes: RouteItem[], filter?: (route: RouteItem) => boolean): RouteItem[];
|
|
64
63
|
//#endregion
|
|
65
64
|
//#region src/components/C_Menu/types.d.ts
|
|
66
|
-
type
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
type MenuKey = string | number;
|
|
66
|
+
type MenuValue = MenuKey | null;
|
|
67
|
+
type OwnMenuKey<Option> = Option extends {
|
|
68
|
+
key?: infer Key;
|
|
69
|
+
} ? Extract<Key, MenuKey> : never;
|
|
70
|
+
/** 已遇到的递归业务类型或原生完整键类型均停止展开,内联配置包含子节点。 */
|
|
71
|
+
type MenuOptionKeys<Option, Seen = never> = Option extends Seen ? OwnMenuKey<Option> : MenuKey extends OwnMenuKey<Option> ? MenuKey : OwnMenuKey<Option> | (Option extends {
|
|
72
|
+
children?: infer Children;
|
|
73
|
+
} ? Children extends readonly unknown[] ? MenuOptionKeys<Children[number], Seen | Option> : never : never);
|
|
74
|
+
type WidenMenuKey<Key> = Key extends string ? string : Key extends number ? number : never;
|
|
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> {
|
|
77
|
+
options?: O;
|
|
69
78
|
routes?: RouteItem[];
|
|
70
79
|
adapterConfig?: MenuAdapterConfig;
|
|
71
80
|
labelFormatter?: (label: string) => string;
|
|
72
81
|
/** @deprecated Use modelValue. */
|
|
73
82
|
value?: MenuValue;
|
|
74
83
|
modelValue?: MenuValue;
|
|
75
|
-
expandedKeys?:
|
|
76
|
-
defaultExpandedKeys?:
|
|
84
|
+
expandedKeys?: MenuKey[];
|
|
85
|
+
defaultExpandedKeys?: MenuKey[];
|
|
77
86
|
mode?: 'vertical' | 'horizontal';
|
|
78
87
|
collapsed?: boolean;
|
|
79
88
|
collapsedWidth?: number;
|
|
@@ -84,48 +93,43 @@ interface MenuProps {
|
|
|
84
93
|
rootIndent?: number;
|
|
85
94
|
dropdownProps?: DropdownProps;
|
|
86
95
|
}
|
|
87
|
-
interface MenuEmits {
|
|
88
|
-
select: [key:
|
|
96
|
+
interface MenuEmits<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
97
|
+
select: [key: MenuSelectionKey<O>];
|
|
89
98
|
/** 鼠标或键盘聚焦叶子项时触发,可用于无副作用的路由预取。 */
|
|
90
|
-
intent: [key:
|
|
91
|
-
'update:modelValue': [key:
|
|
99
|
+
intent: [key: MenuSelectionKey<O>];
|
|
100
|
+
'update:modelValue': [key: MenuSelectionKey<O> | null];
|
|
92
101
|
/** @deprecated Use update:modelValue. */
|
|
93
|
-
'update:value': [key:
|
|
94
|
-
'update:expandedKeys': [keys:
|
|
102
|
+
'update:value': [key: MenuSelectionKey<O> | null];
|
|
103
|
+
'update:expandedKeys': [keys: MenuSelectionKey<O>[]];
|
|
95
104
|
}
|
|
96
105
|
interface MenuExpose {
|
|
97
|
-
showOption: (key:
|
|
106
|
+
showOption: (key: MenuKey) => void;
|
|
98
107
|
/** Vue 公开实例会解包顶层 Ref。 */
|
|
99
108
|
menuRef: MenuInst | null;
|
|
100
109
|
}
|
|
101
110
|
//#endregion
|
|
102
111
|
//#region src/components/C_Menu/index.vue.d.ts
|
|
103
|
-
declare const __VLS_export:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
collapsedIconSize: number;
|
|
124
|
-
inverted: boolean;
|
|
125
|
-
indent: number;
|
|
126
|
-
rootIndent: number;
|
|
127
|
-
dropdownProps: naive_ui0.DropdownProps;
|
|
128
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
112
|
+
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> & {
|
|
114
|
+
"onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
115
|
+
onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
116
|
+
onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
117
|
+
"onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
118
|
+
"onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
|
|
119
|
+
}> & (typeof globalThis extends {
|
|
120
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
121
|
+
} ? P : {});
|
|
122
|
+
expose: (exposed: vue.ShallowUnwrapRef<{
|
|
123
|
+
showOption: (key: MenuKey) => void | undefined;
|
|
124
|
+
menuRef: Ref<MenuInst | null, MenuInst | null>;
|
|
125
|
+
}>) => void;
|
|
126
|
+
attrs: any;
|
|
127
|
+
slots: {};
|
|
128
|
+
emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void);
|
|
129
|
+
}>) => vue.VNode & {
|
|
130
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
131
|
+
};
|
|
129
132
|
declare const _default: typeof __VLS_export;
|
|
133
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
130
134
|
//#endregion
|
|
131
|
-
export {
|
|
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 };
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
import { i as BreadcrumbItem } from "./public.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
|
+
//#region src/components/C_Breadcrumb/types.d.ts
|
|
5
|
+
interface BreadcrumbRouteMeta {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
title?: unknown;
|
|
8
|
+
icon?: unknown;
|
|
9
|
+
hidden?: unknown;
|
|
10
|
+
breadcrumb?: unknown;
|
|
11
|
+
}
|
|
12
|
+
/** 可直接接收应用提供的授权菜单,非字符串图标由组件安全忽略。 */
|
|
13
|
+
interface BreadcrumbMenuItem {
|
|
14
|
+
path?: string;
|
|
15
|
+
key?: string | number;
|
|
16
|
+
name?: string | symbol | null;
|
|
17
|
+
label?: string;
|
|
18
|
+
icon?: unknown;
|
|
19
|
+
meta?: BreadcrumbRouteMeta;
|
|
20
|
+
children?: readonly BreadcrumbMenuItem[];
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
type?: string;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
4
25
|
//#region src/components/C_Breadcrumb/index.vue.d.ts
|
|
5
26
|
type __VLS_Props = {
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
items?: BreadcrumbItem[]; /** 是否显示图标 */
|
|
11
|
-
showIcon?: boolean; /** 图标大小 (px),默认 16 */
|
|
12
|
-
iconSize?: number;
|
|
13
|
-
/**
|
|
14
|
-
* 标签文本格式化函数(用于 i18n)
|
|
15
|
-
* 仅在自动模式下生效
|
|
16
|
-
*/
|
|
27
|
+
/** 手动路径,标签沿用传入值。 */items?: readonly BreadcrumbItem[]; /** 授权后的菜单树;提供时(含空数组)作为目录的唯一数据来源。 */
|
|
28
|
+
menus?: readonly BreadcrumbMenuItem[];
|
|
29
|
+
showIcon?: boolean;
|
|
30
|
+
iconSize?: number; /** 自动路径和菜单标签的翻译函数。 */
|
|
17
31
|
labelFormatter?: (label: string) => string;
|
|
18
32
|
};
|
|
19
33
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -26,4 +40,4 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
40
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
27
41
|
declare const _default: typeof __VLS_export;
|
|
28
42
|
//#endregion
|
|
29
|
-
export { _default as t };
|
|
43
|
+
export { BreadcrumbMenuItem as n, _default as t };
|
package/dist/index5.vue.d.cts
CHANGED
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
import { t as BreadcrumbItem } from "./types.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
|
+
//#region src/components/C_Breadcrumb/types.d.ts
|
|
5
|
+
interface BreadcrumbRouteMeta {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
title?: unknown;
|
|
8
|
+
icon?: unknown;
|
|
9
|
+
hidden?: unknown;
|
|
10
|
+
breadcrumb?: unknown;
|
|
11
|
+
}
|
|
12
|
+
/** 可直接接收应用提供的授权菜单,非字符串图标由组件安全忽略。 */
|
|
13
|
+
interface BreadcrumbMenuItem {
|
|
14
|
+
path?: string;
|
|
15
|
+
key?: string | number;
|
|
16
|
+
name?: string | symbol | null;
|
|
17
|
+
label?: string;
|
|
18
|
+
icon?: unknown;
|
|
19
|
+
meta?: BreadcrumbRouteMeta;
|
|
20
|
+
children?: readonly BreadcrumbMenuItem[];
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
type?: string;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
4
25
|
//#region src/components/C_Breadcrumb/index.vue.d.ts
|
|
5
26
|
type __VLS_Props = {
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
items?: BreadcrumbItem[]; /** 是否显示图标 */
|
|
11
|
-
showIcon?: boolean; /** 图标大小 (px),默认 16 */
|
|
12
|
-
iconSize?: number;
|
|
13
|
-
/**
|
|
14
|
-
* 标签文本格式化函数(用于 i18n)
|
|
15
|
-
* 仅在自动模式下生效
|
|
16
|
-
*/
|
|
27
|
+
/** 手动路径,标签沿用传入值。 */items?: readonly BreadcrumbItem[]; /** 授权后的菜单树;提供时(含空数组)作为目录的唯一数据来源。 */
|
|
28
|
+
menus?: readonly BreadcrumbMenuItem[];
|
|
29
|
+
showIcon?: boolean;
|
|
30
|
+
iconSize?: number; /** 自动路径和菜单标签的翻译函数。 */
|
|
17
31
|
labelFormatter?: (label: string) => string;
|
|
18
32
|
};
|
|
19
33
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -26,4 +40,4 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
40
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
27
41
|
declare const _default: typeof __VLS_export;
|
|
28
42
|
//#endregion
|
|
29
|
-
export { _default as t };
|
|
43
|
+
export { BreadcrumbMenuItem as n, _default as t };
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -107,8 +107,6 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
virtualScroll: boolean;
|
|
110
|
-
title: string;
|
|
111
|
-
placeholder: string;
|
|
112
110
|
showContacts: boolean;
|
|
113
111
|
showTimestamp: boolean;
|
|
114
112
|
showSendBtn: boolean;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -107,8 +107,6 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
virtualScroll: boolean;
|
|
110
|
-
title: string;
|
|
111
|
-
placeholder: string;
|
|
112
110
|
showContacts: boolean;
|
|
113
111
|
showTimestamp: boolean;
|
|
114
112
|
showSendBtn: boolean;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -23,18 +23,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
fullscreen: (isFullscreen: boolean) => any;
|
|
27
26
|
click: (event: MouseEvent) => any;
|
|
28
27
|
copy: (code: string) => any;
|
|
28
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
31
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
32
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
language: string;
|
|
35
|
-
showHeader: boolean;
|
|
36
34
|
trim: boolean;
|
|
37
35
|
code: string;
|
|
36
|
+
language: string;
|
|
37
|
+
showHeader: boolean;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
|
40
40
|
showFullscreen: boolean;
|
package/dist/index9.vue.d.cts
CHANGED
|
@@ -23,18 +23,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
fullscreen: (isFullscreen: boolean) => any;
|
|
27
26
|
click: (event: MouseEvent) => any;
|
|
28
27
|
copy: (code: string) => any;
|
|
28
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
31
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
32
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
language: string;
|
|
35
|
-
showHeader: boolean;
|
|
36
34
|
trim: boolean;
|
|
37
35
|
code: string;
|
|
36
|
+
language: string;
|
|
37
|
+
showHeader: boolean;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
|
40
40
|
showFullscreen: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -61,24 +61,24 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
61
61
|
close: () => void; /** 当前是否可见 */
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
|
|
64
|
+
close: () => any;
|
|
65
65
|
open: (position: {
|
|
66
66
|
x: number;
|
|
67
67
|
y: number;
|
|
68
68
|
}) => any;
|
|
69
|
-
|
|
69
|
+
select: (item: ContextMenuItem) => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
|
|
71
|
+
onClose?: (() => any) | undefined;
|
|
72
72
|
onOpen?: ((position: {
|
|
73
73
|
x: number;
|
|
74
74
|
y: number;
|
|
75
75
|
}) => any) | undefined;
|
|
76
|
-
|
|
76
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
+
items: ContextMenuItem[];
|
|
78
79
|
disabled: boolean;
|
|
79
80
|
minWidth: number;
|
|
80
81
|
maxWidth: number;
|
|
81
|
-
items: ContextMenuItem[];
|
|
82
82
|
subMenuPlacement: "right" | "left";
|
|
83
83
|
autoClose: boolean;
|
|
84
84
|
zIndex: number;
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -83,16 +83,16 @@ interface MapExpose {
|
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/components/C_Map/index.vue.d.ts
|
|
85
85
|
declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
86
|
-
ready: (map: MapInstance) => any;
|
|
87
86
|
error: (error: Error) => any;
|
|
87
|
+
ready: (map: MapInstance) => any;
|
|
88
88
|
markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
|
|
90
|
-
onReady?: ((map: MapInstance) => any) | undefined;
|
|
91
90
|
onError?: ((error: Error) => any) | undefined;
|
|
91
|
+
onReady?: ((map: MapInstance) => any) | undefined;
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
height: string;
|
|
95
94
|
center: MapCoordinate;
|
|
95
|
+
height: string;
|
|
96
96
|
ariaLabel: string;
|
|
97
97
|
zoom: number;
|
|
98
98
|
mapType: MapType;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -83,16 +83,16 @@ interface MapExpose {
|
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/components/C_Map/index.vue.d.ts
|
|
85
85
|
declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
86
|
-
ready: (map: MapInstance) => any;
|
|
87
86
|
error: (error: Error) => any;
|
|
87
|
+
ready: (map: MapInstance) => any;
|
|
88
88
|
markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
|
|
90
|
-
onReady?: ((map: MapInstance) => any) | undefined;
|
|
91
90
|
onError?: ((error: Error) => any) | undefined;
|
|
91
|
+
onReady?: ((map: MapInstance) => any) | undefined;
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
height: string;
|
|
95
94
|
center: MapCoordinate;
|
|
95
|
+
height: string;
|
|
96
96
|
ariaLabel: string;
|
|
97
97
|
zoom: number;
|
|
98
98
|
mapType: MapType;
|
package/dist/presets.d.cts
CHANGED
|
@@ -78,10 +78,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
78
78
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
79
79
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
|
+
config: ActionBarConfig;
|
|
81
82
|
actions: ActionItem[];
|
|
82
83
|
leftActions: ActionItem[];
|
|
83
84
|
rightActions: ActionItem[];
|
|
84
|
-
config: ActionBarConfig;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
87
87
|
declare const _default: typeof __VLS_export;
|