@robot-admin/naive-ui-components 0.19.0 → 0.20.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 +8 -0
- 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/constants3.d.cts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.cts +9 -9
- package/dist/constants4.d.ts +9 -9
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +8 -8
- package/dist/data.d.ts +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.vue.d.cts +6 -6
- package/dist/index.vue.d.ts +6 -6
- package/dist/index10.vue.d.cts +4 -4
- package/dist/index10.vue.d.ts +5 -5
- package/dist/index11.vue.d.cts +5 -5
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index12.vue.d.ts +3 -3
- package/dist/index13.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +6 -6
- package/dist/index14.vue.d.cts +6 -6
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index16.vue.d.cts +1 -1
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index18.vue.d.ts +5 -5
- 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 +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +5 -5
- package/dist/index25.vue.d.ts +5 -5
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index4.vue.d.cts +5 -5
- package/dist/index4.vue.d.ts +26 -12
- package/dist/index5.vue.d.cts +26 -12
- package/dist/index6.vue.d.ts +4 -4
- package/dist/index7.vue.d.cts +4 -4
- package/dist/index8.vue.d.ts +4 -4
- package/dist/index9.vue.d.cts +4 -4
- package/dist/index9.vue.d.ts +4 -4
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- 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 +308 -20
- package/dist/types.d.cts +3 -1
- package/dist/useCalendarEvents.d.cts +2 -2
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useGlobalSearch.d.cts +1 -1
- package/dist/useGlobalSearch.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +6 -6
- package/dist/useSignatureHistory.d.ts +6 -6
- package/dist/useSplitResize.d.cts +9 -9
- package/dist/useSplitResize.d.ts +9 -9
- package/dist/useTableQuery.d.cts +11 -11
- package/dist/useTableQuery.d.ts +11 -11
- package/dist/useWorkflowValidation.d.cts +81 -81
- package/dist/useWorkflowValidation.d.ts +81 -81
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/docs/guides/usage.en.md +6 -0
- package/docs/guides/usage.md +17 -0
- package/package.json +1 -1
package/dist/index18.vue.d.ts
CHANGED
|
@@ -46,25 +46,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
46
46
|
showOption: (key: string) => void | undefined;
|
|
47
47
|
menuRef: Ref<MenuInst | null, MenuInst | null>;
|
|
48
48
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
49
|
-
"update:modelValue": (key: MenuValue) => any;
|
|
50
49
|
select: (key: string) => any;
|
|
50
|
+
"update:modelValue": (key: MenuValue) => any;
|
|
51
|
+
"update:expandedKeys": (keys: string[]) => any;
|
|
51
52
|
intent: (key: string) => any;
|
|
52
53
|
"update:value": (key: MenuValue) => any;
|
|
53
|
-
"update:expandedKeys": (keys: string[]) => any;
|
|
54
54
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
55
|
-
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
56
55
|
onSelect?: ((key: string) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
57
|
+
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
57
58
|
onIntent?: ((key: string) => any) | undefined;
|
|
58
59
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
59
|
-
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
mode: "vertical" | "horizontal";
|
|
62
62
|
defaultExpandedKeys: string[];
|
|
63
|
+
indent: number;
|
|
63
64
|
collapsed: boolean;
|
|
64
65
|
collapsedWidth: number;
|
|
65
66
|
collapsedIconSize: number;
|
|
66
67
|
inverted: boolean;
|
|
67
|
-
indent: number;
|
|
68
68
|
rootIndent: number;
|
|
69
69
|
dropdownProps: naive_ui0.DropdownProps;
|
|
70
70
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index19.vue.d.cts
CHANGED
|
@@ -80,11 +80,11 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
80
80
|
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
81
81
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
direction: OrgChartDirection;
|
|
84
83
|
lineColor: string;
|
|
85
|
-
|
|
84
|
+
direction: OrgChartDirection;
|
|
86
85
|
collapsible: boolean;
|
|
87
86
|
lineStyle: OrgChartLineStyle;
|
|
87
|
+
lineWidth: number;
|
|
88
88
|
nodeSpacing: number;
|
|
89
89
|
levelSpacing: number;
|
|
90
90
|
zoomable: boolean;
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -80,11 +80,11 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
80
80
|
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
81
81
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
direction: OrgChartDirection;
|
|
84
83
|
lineColor: string;
|
|
85
|
-
|
|
84
|
+
direction: OrgChartDirection;
|
|
86
85
|
collapsible: boolean;
|
|
87
86
|
lineStyle: OrgChartLineStyle;
|
|
87
|
+
lineWidth: number;
|
|
88
88
|
nodeSpacing: number;
|
|
89
89
|
levelSpacing: number;
|
|
90
90
|
zoomable: boolean;
|
package/dist/index2.vue.d.cts
CHANGED
|
@@ -72,15 +72,15 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
72
72
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
size: number;
|
|
76
|
-
direction: "ltr" | "rtl";
|
|
77
|
-
clickable: boolean;
|
|
78
75
|
max: number;
|
|
76
|
+
size: number;
|
|
79
77
|
overlap: number;
|
|
80
78
|
shape: "circle" | "square";
|
|
81
79
|
showStatus: boolean;
|
|
82
80
|
showTooltip: boolean;
|
|
81
|
+
clickable: boolean;
|
|
83
82
|
overflowClickable: boolean;
|
|
83
|
+
direction: "ltr" | "rtl";
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
//#endregion
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -72,15 +72,15 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
72
72
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
size: number;
|
|
76
|
-
direction: "ltr" | "rtl";
|
|
77
|
-
clickable: boolean;
|
|
78
75
|
max: number;
|
|
76
|
+
size: number;
|
|
79
77
|
overlap: number;
|
|
80
78
|
shape: "circle" | "square";
|
|
81
79
|
showStatus: boolean;
|
|
82
80
|
showTooltip: boolean;
|
|
81
|
+
clickable: boolean;
|
|
83
82
|
overflowClickable: boolean;
|
|
83
|
+
direction: "ltr" | "rtl";
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
//#endregion
|
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
|
+
strokeWidth: number;
|
|
37
38
|
time: number;
|
|
38
39
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
|
-
strokeWidth: 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
|
+
strokeWidth: number;
|
|
37
38
|
time: number;
|
|
38
39
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
|
-
strokeWidth: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
package/dist/index21.vue.d.cts
CHANGED
|
@@ -86,10 +86,10 @@ 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
|
-
|
|
89
|
+
animation: SkeletonAnimation;
|
|
90
90
|
repeat: number;
|
|
91
|
+
loading: boolean;
|
|
91
92
|
preset: SkeletonPreset;
|
|
92
|
-
animation: SkeletonAnimation;
|
|
93
93
|
borderRadius: string;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -86,10 +86,10 @@ 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
|
-
|
|
89
|
+
animation: SkeletonAnimation;
|
|
90
90
|
repeat: number;
|
|
91
|
+
loading: boolean;
|
|
91
92
|
preset: SkeletonPreset;
|
|
92
|
-
animation: SkeletonAnimation;
|
|
93
93
|
borderRadius: string;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
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
|
+
clickable: boolean;
|
|
39
|
+
direction: "horizontal" | "vertical";
|
|
38
40
|
connected: boolean;
|
|
39
41
|
current: number;
|
|
40
|
-
direction: "horizontal" | "vertical";
|
|
41
|
-
clickable: 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
|
+
clickable: boolean;
|
|
39
|
+
direction: "horizontal" | "vertical";
|
|
38
40
|
connected: boolean;
|
|
39
41
|
current: number;
|
|
40
|
-
direction: "horizontal" | "vertical";
|
|
41
|
-
clickable: 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
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
87
|
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
|
+
"item-click": (item: TimelineItem, index: number) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
90
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
|
+
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
|
-
pending: boolean;
|
|
96
|
-
mode: "vertical" | "horizontal";
|
|
97
94
|
items: TimelineItem[];
|
|
95
|
+
size: "small" | "medium" | "large";
|
|
98
96
|
labelPlacement: "left" | "right" | "alternate";
|
|
97
|
+
mode: "vertical" | "horizontal";
|
|
98
|
+
pending: boolean;
|
|
99
99
|
pendingText: string;
|
|
100
100
|
lineType: "solid" | "dashed" | "dotted";
|
|
101
101
|
showTime: boolean;
|
package/dist/index25.vue.d.ts
CHANGED
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
87
|
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
|
+
"item-click": (item: TimelineItem, index: number) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
90
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
|
+
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
|
-
pending: boolean;
|
|
96
|
-
mode: "vertical" | "horizontal";
|
|
97
94
|
items: TimelineItem[];
|
|
95
|
+
size: "small" | "medium" | "large";
|
|
98
96
|
labelPlacement: "left" | "right" | "alternate";
|
|
97
|
+
mode: "vertical" | "horizontal";
|
|
98
|
+
pending: boolean;
|
|
99
99
|
pendingText: string;
|
|
100
100
|
lineType: "solid" | "dashed" | "dotted";
|
|
101
101
|
showTime: boolean;
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -20,14 +20,14 @@ 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
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
23
|
label: string;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
lineColor: string;
|
|
28
24
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
29
27
|
showText: boolean;
|
|
28
|
+
fontSize: number;
|
|
30
29
|
textPosition: "bottom" | "top";
|
|
30
|
+
lineColor: string;
|
|
31
31
|
background: string;
|
|
32
32
|
showBorder: boolean;
|
|
33
33
|
showLabel: boolean;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -20,14 +20,14 @@ 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
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
23
|
label: string;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
lineColor: string;
|
|
28
24
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
29
27
|
showText: boolean;
|
|
28
|
+
fontSize: number;
|
|
30
29
|
textPosition: "bottom" | "top";
|
|
30
|
+
lineColor: string;
|
|
31
31
|
background: string;
|
|
32
32
|
showBorder: boolean;
|
|
33
33
|
showLabel: boolean;
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -104,25 +104,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
104
104
|
showOption: (key: string) => void | undefined;
|
|
105
105
|
menuRef: Ref<MenuInst | null, MenuInst | null>;
|
|
106
106
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
107
|
-
"update:modelValue": (key: MenuValue) => any;
|
|
108
107
|
select: (key: string) => any;
|
|
108
|
+
"update:modelValue": (key: MenuValue) => any;
|
|
109
|
+
"update:expandedKeys": (keys: string[]) => any;
|
|
109
110
|
intent: (key: string) => any;
|
|
110
111
|
"update:value": (key: MenuValue) => any;
|
|
111
|
-
"update:expandedKeys": (keys: string[]) => any;
|
|
112
112
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
113
|
-
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
114
113
|
onSelect?: ((key: string) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
115
|
+
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
115
116
|
onIntent?: ((key: string) => any) | undefined;
|
|
116
117
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
117
|
-
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
mode: "vertical" | "horizontal";
|
|
120
120
|
defaultExpandedKeys: string[];
|
|
121
|
+
indent: number;
|
|
121
122
|
collapsed: boolean;
|
|
122
123
|
collapsedWidth: number;
|
|
123
124
|
collapsedIconSize: number;
|
|
124
125
|
inverted: boolean;
|
|
125
|
-
indent: number;
|
|
126
126
|
rootIndent: number;
|
|
127
127
|
dropdownProps: naive_ui0.DropdownProps;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
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
|
@@ -88,27 +88,27 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
89
89
|
scrollToBottom: () => void;
|
|
90
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
-
"load-more": () => any;
|
|
92
91
|
send: (content: string) => any;
|
|
93
92
|
"select-contact": (id: string) => any;
|
|
93
|
+
"load-more": () => any;
|
|
94
94
|
"image-preview": (url: string) => any;
|
|
95
95
|
"file-click": (msg: ChatMessage) => any;
|
|
96
96
|
"file-upload": () => any;
|
|
97
97
|
"emoji-click": () => any;
|
|
98
98
|
resend: (msg: ChatMessage) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
101
100
|
onSend?: ((content: string) => any) | undefined;
|
|
102
101
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
102
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
103
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
104
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
105
105
|
"onFile-upload"?: (() => any) | undefined;
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
virtualScroll: boolean;
|
|
110
|
-
title: string;
|
|
111
109
|
placeholder: string;
|
|
110
|
+
title: string;
|
|
111
|
+
virtualScroll: boolean;
|
|
112
112
|
showContacts: boolean;
|
|
113
113
|
showTimestamp: boolean;
|
|
114
114
|
showSendBtn: boolean;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -88,27 +88,27 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
89
89
|
scrollToBottom: () => void;
|
|
90
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
-
"load-more": () => any;
|
|
92
91
|
send: (content: string) => any;
|
|
93
92
|
"select-contact": (id: string) => any;
|
|
93
|
+
"load-more": () => any;
|
|
94
94
|
"image-preview": (url: string) => any;
|
|
95
95
|
"file-click": (msg: ChatMessage) => any;
|
|
96
96
|
"file-upload": () => any;
|
|
97
97
|
"emoji-click": () => any;
|
|
98
98
|
resend: (msg: ChatMessage) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
101
100
|
onSend?: ((content: string) => any) | undefined;
|
|
102
101
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
102
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
103
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
104
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
105
105
|
"onFile-upload"?: (() => any) | undefined;
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
virtualScroll: boolean;
|
|
110
|
-
title: string;
|
|
111
109
|
placeholder: string;
|
|
110
|
+
title: string;
|
|
111
|
+
virtualScroll: boolean;
|
|
112
112
|
showContacts: boolean;
|
|
113
113
|
showTimestamp: boolean;
|
|
114
114
|
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
|
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
64
|
select: (item: ContextMenuItem) => any;
|
|
65
|
+
close: () => any;
|
|
65
66
|
open: (position: {
|
|
66
67
|
x: number;
|
|
67
68
|
y: number;
|
|
68
69
|
}) => any;
|
|
69
|
-
close: () => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
71
|
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
+
onClose?: (() => any) | undefined;
|
|
72
73
|
onOpen?: ((position: {
|
|
73
74
|
x: number;
|
|
74
75
|
y: number;
|
|
75
76
|
}) => any) | undefined;
|
|
76
|
-
onClose?: (() => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
+
items: ContextMenuItem[];
|
|
78
79
|
disabled: boolean;
|
|
80
|
+
zIndex: number;
|
|
79
81
|
minWidth: number;
|
|
80
82
|
maxWidth: number;
|
|
81
|
-
items: ContextMenuItem[];
|
|
82
83
|
subMenuPlacement: "right" | "left";
|
|
83
84
|
autoClose: boolean;
|
|
84
|
-
zIndex: number;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const _default: typeof __VLS_export;
|
|
87
87
|
//#endregion
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -83,12 +83,12 @@ 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
94
|
height: string;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -83,12 +83,12 @@ 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
94
|
height: string;
|
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;
|
package/dist/presets.d.ts
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;
|
package/dist/public.d.ts
CHANGED
|
@@ -101,8 +101,10 @@ interface BreadcrumbItem {
|
|
|
101
101
|
label: string;
|
|
102
102
|
/** 图标名称 */
|
|
103
103
|
icon?: string;
|
|
104
|
+
/** 禁用导航;目录禁用时同时禁用其子项。 */
|
|
105
|
+
disabled?: boolean;
|
|
104
106
|
/** 子级列表(用于下拉) */
|
|
105
|
-
children?: BreadcrumbItem[];
|
|
107
|
+
children?: readonly BreadcrumbItem[];
|
|
106
108
|
}
|
|
107
109
|
//#endregion
|
|
108
110
|
//#region src/components/_shared/menuAdapter.d.ts
|