@robot-admin/naive-ui-components 0.11.5 → 0.11.7
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 +12 -0
- package/README.md +5 -1
- package/README_EN.md +5 -1
- package/SECURITY.md +1 -0
- package/dist/C_ActionBar.css +59 -0
- package/dist/C_AudioPlayer.css +59 -0
- package/dist/C_Breadcrumb.css +59 -0
- package/dist/C_Captcha.css +24 -24
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Chat.css +59 -0
- package/dist/C_Code.css +59 -0
- package/dist/C_CollapsePanel.css +59 -0
- package/dist/C_ContextMenu.css +59 -0
- package/dist/C_Guide.css +59 -0
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Language.css +58 -1
- package/dist/C_Login.css +244 -0
- package/dist/C_Map.css +3 -3
- package/dist/C_Map.d.cts +2 -2
- package/dist/C_Map.d.ts +2 -2
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_Menu2.cjs +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/C_Table.base.css +59 -0
- package/dist/C_Table.css +59 -0
- package/dist/C_TagsView.css +59 -0
- package/dist/C_Theme.css +58 -1
- package/dist/C_Timeline.css +59 -0
- package/dist/C_Transfer.css +59 -0
- package/dist/C_WorkFlow.css +59 -0
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +1 -1
- package/dist/constants2.d.ts +1 -1
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- 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 +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index12.vue.d.ts +4 -4
- package/dist/index13.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index14.vue.d.ts +4 -4
- package/dist/index15.vue.d.cts +4 -4
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +3 -3
- package/dist/index18.vue.d.cts +3 -3
- package/dist/index18.vue.d.ts +5 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +5 -5
- package/dist/index2.vue.d.ts +5 -5
- 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/index24.vue.d.cts +3 -3
- package/dist/index24.vue.d.ts +3 -3
- package/dist/index26.vue.d.cts +3 -3
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +2 -2
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +5 -1
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +13 -4
- package/dist/mapUtils.d.ts +13 -4
- package/dist/style.css +27 -27
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.cts +4 -4
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- 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/useInfiniteScroll.d.cts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.cts +5 -5
- package/dist/useSearchState.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +2 -2
- package/dist/useSignatureHistory.d.ts +2 -2
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTableQuery.d.cts +1 -1
- package/dist/useTableQuery.d.ts +1 -1
- package/dist/useTimeSelection.d.cts +1 -1
- package/dist/useTimeSelection.d.ts +1 -1
- package/dist/useTreeOperations.d.cts +6 -6
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/dist/verification.d.cts +3 -3
- package/dist/verification.d.ts +3 -3
- package/package.json +1 -1
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
|
-
|
|
38
|
+
current: number;
|
|
39
39
|
direction: "horizontal" | "vertical";
|
|
40
|
+
clickable: boolean;
|
|
40
41
|
connected: boolean;
|
|
41
|
-
current: number;
|
|
42
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
44
44
|
//#endregion
|
package/dist/index24.vue.d.cts
CHANGED
|
@@ -647,14 +647,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
647
647
|
onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
|
-
options: GanttOptions;
|
|
651
|
-
theme: "light" | "dark";
|
|
652
650
|
height: string | number;
|
|
653
651
|
title: string;
|
|
654
652
|
data: GanttTask[];
|
|
655
|
-
|
|
653
|
+
options: GanttOptions;
|
|
656
654
|
preset: GanttPreset;
|
|
655
|
+
showToolbar: boolean;
|
|
657
656
|
showFullscreenButton: boolean;
|
|
657
|
+
theme: "light" | "dark";
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
659
659
|
declare const _default: typeof __VLS_export;
|
|
660
660
|
//#endregion
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -647,14 +647,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
647
647
|
onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
|
-
options: GanttOptions;
|
|
651
|
-
theme: "light" | "dark";
|
|
652
650
|
height: string | number;
|
|
653
651
|
title: string;
|
|
654
652
|
data: GanttTask[];
|
|
655
|
-
|
|
653
|
+
options: GanttOptions;
|
|
656
654
|
preset: GanttPreset;
|
|
655
|
+
showToolbar: boolean;
|
|
657
656
|
showFullscreenButton: boolean;
|
|
657
|
+
theme: "light" | "dark";
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
659
659
|
declare const _default: typeof __VLS_export;
|
|
660
660
|
//#endregion
|
package/dist/index26.vue.d.cts
CHANGED
|
@@ -84,16 +84,16 @@ 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
|
+
mode: "vertical" | "horizontal";
|
|
94
95
|
size: "small" | "medium" | "large";
|
|
95
96
|
items: TimelineItem[];
|
|
96
|
-
mode: "vertical" | "horizontal";
|
|
97
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
98
|
pending: boolean;
|
|
99
99
|
pendingText: string;
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -84,16 +84,16 @@ 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
|
+
mode: "vertical" | "horizontal";
|
|
94
95
|
size: "small" | "medium" | "large";
|
|
95
96
|
items: TimelineItem[];
|
|
96
|
-
mode: "vertical" | "horizontal";
|
|
97
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
98
|
pending: boolean;
|
|
99
99
|
pendingText: string;
|
package/dist/index27.vue.d.cts
CHANGED
|
@@ -62,10 +62,10 @@ type __VLS_Props = {
|
|
|
62
62
|
};
|
|
63
63
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
64
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
-
change: (targetKeys: (string | number)[], direction: "
|
|
65
|
+
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
67
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
-
onChange?: ((targetKeys: (string | number)[], direction: "
|
|
68
|
+
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
size: "small" | "medium" | "large";
|
|
71
71
|
filterable: boolean;
|
package/dist/index27.vue.d.ts
CHANGED
|
@@ -62,10 +62,10 @@ type __VLS_Props = {
|
|
|
62
62
|
};
|
|
63
63
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
64
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
-
change: (targetKeys: (string | number)[], direction: "
|
|
65
|
+
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
67
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
-
onChange?: ((targetKeys: (string | number)[], direction: "
|
|
68
|
+
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
size: "small" | "medium" | "large";
|
|
71
71
|
filterable: boolean;
|
package/dist/index3.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
|
+
direction: "ltr" | "rtl";
|
|
76
|
+
clickable: boolean;
|
|
75
77
|
size: number;
|
|
76
78
|
overlap: number;
|
|
77
79
|
max: number;
|
|
78
80
|
shape: "circle" | "square";
|
|
79
81
|
showStatus: boolean;
|
|
80
82
|
showTooltip: boolean;
|
|
81
|
-
clickable: boolean;
|
|
82
83
|
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/index3.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
|
+
direction: "ltr" | "rtl";
|
|
76
|
+
clickable: boolean;
|
|
75
77
|
size: number;
|
|
76
78
|
overlap: number;
|
|
77
79
|
max: number;
|
|
78
80
|
shape: "circle" | "square";
|
|
79
81
|
showStatus: boolean;
|
|
80
82
|
showTooltip: boolean;
|
|
81
|
-
clickable: boolean;
|
|
82
83
|
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/index4.vue.d.cts
CHANGED
|
@@ -20,11 +20,11 @@ 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
|
+
height: number;
|
|
24
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
23
25
|
label: string;
|
|
24
26
|
width: number;
|
|
25
|
-
height: number;
|
|
26
27
|
fontSize: number;
|
|
27
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
28
|
showText: boolean;
|
|
29
29
|
textPosition: "bottom" | "top";
|
|
30
30
|
lineColor: string;
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ 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
|
+
height: number;
|
|
24
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
23
25
|
label: string;
|
|
24
26
|
width: number;
|
|
25
|
-
height: number;
|
|
26
27
|
fontSize: number;
|
|
27
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
28
|
showText: boolean;
|
|
29
29
|
textPosition: "bottom" | "top";
|
|
30
30
|
lineColor: string;
|
package/dist/index5.vue.d.cts
CHANGED
|
@@ -87,6 +87,8 @@ interface MenuProps {
|
|
|
87
87
|
}
|
|
88
88
|
interface MenuEmits {
|
|
89
89
|
select: [key: string];
|
|
90
|
+
/** 鼠标或键盘聚焦叶子项时触发,可用于无副作用的路由预取。 */
|
|
91
|
+
intent: [key: string];
|
|
90
92
|
'update:modelValue': [key: MenuValue];
|
|
91
93
|
/** @deprecated Use update:modelValue. */
|
|
92
94
|
'update:value': [key: MenuValue];
|
|
@@ -110,21 +112,23 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
110
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
111
113
|
"update:modelValue": (key: MenuValue) => any;
|
|
112
114
|
select: (key: string) => any;
|
|
115
|
+
intent: (key: string) => any;
|
|
113
116
|
"update:value": (key: MenuValue) => any;
|
|
114
117
|
"update:expandedKeys": (keys: string[]) => any;
|
|
115
118
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
116
119
|
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
117
120
|
onSelect?: ((key: string) => any) | undefined;
|
|
121
|
+
onIntent?: ((key: string) => any) | undefined;
|
|
118
122
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
119
123
|
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
120
124
|
}>, {
|
|
121
125
|
mode: "vertical" | "horizontal";
|
|
126
|
+
indent: number;
|
|
122
127
|
defaultExpandedKeys: string[];
|
|
123
128
|
collapsed: boolean;
|
|
124
129
|
collapsedWidth: number;
|
|
125
130
|
collapsedIconSize: number;
|
|
126
131
|
inverted: boolean;
|
|
127
|
-
indent: number;
|
|
128
132
|
rootIndent: number;
|
|
129
133
|
dropdownProps: naive_ui0.DropdownProps;
|
|
130
134
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -25,12 +25,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
25
25
|
copyCode: typeof copyCode;
|
|
26
26
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
27
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
|
-
copy: (code: string) => any;
|
|
29
28
|
click: (event: MouseEvent) => any;
|
|
29
|
+
copy: (code: string) => any;
|
|
30
30
|
fullscreen: (isFullscreen: boolean) => any;
|
|
31
31
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
-
onCopy?: ((code: string) => any) | undefined;
|
|
33
32
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
34
34
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
trim: boolean;
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -5,6 +5,14 @@ import { LeafletMouseEvent, Map, TileLayerOptions } from "leaflet";
|
|
|
5
5
|
type MapType = 'osm' | 'amap';
|
|
6
6
|
type MapCoordinate = [latitude: number, longitude: number];
|
|
7
7
|
type AMapPosition = [longitude: number, latitude: number];
|
|
8
|
+
/** 高德 JS API 安全配置;生产环境优先使用服务端代理。 */
|
|
9
|
+
type AMapSecurityConfig = {
|
|
10
|
+
serviceHost: string;
|
|
11
|
+
securityJsCode?: never;
|
|
12
|
+
} | {
|
|
13
|
+
securityJsCode: string;
|
|
14
|
+
serviceHost?: never;
|
|
15
|
+
};
|
|
8
16
|
interface MapMarker {
|
|
9
17
|
id?: string | number;
|
|
10
18
|
lat: number;
|
|
@@ -58,6 +66,7 @@ interface MapProps {
|
|
|
58
66
|
markers?: MapMarker[];
|
|
59
67
|
mapType?: MapType;
|
|
60
68
|
amapKey?: string;
|
|
69
|
+
amapSecurityConfig?: AMapSecurityConfig;
|
|
61
70
|
amapLoadTimeout?: number;
|
|
62
71
|
amapOptions?: Record<string, unknown>;
|
|
63
72
|
tileConfig?: MapTileConfig;
|
|
@@ -74,19 +83,19 @@ interface MapExpose {
|
|
|
74
83
|
//#endregion
|
|
75
84
|
//#region src/components/C_Map/index.vue.d.ts
|
|
76
85
|
declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
77
|
-
error: (error: Error) => any;
|
|
78
86
|
ready: (map: MapInstance) => any;
|
|
79
87
|
markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
|
|
88
|
+
error: (error: Error) => any;
|
|
80
89
|
}, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
|
|
81
|
-
onError?: ((error: Error) => any) | undefined;
|
|
82
90
|
onReady?: ((map: MapInstance) => any) | undefined;
|
|
83
91
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
92
|
+
onError?: ((error: Error) => any) | undefined;
|
|
84
93
|
}>, {
|
|
85
94
|
height: string;
|
|
86
95
|
center: MapCoordinate;
|
|
87
96
|
zoom: number;
|
|
88
|
-
ariaLabel: string;
|
|
89
97
|
mapType: MapType;
|
|
98
|
+
ariaLabel: string;
|
|
90
99
|
markers: MapMarker[];
|
|
91
100
|
amapKey: string;
|
|
92
101
|
amapLoadTimeout: number;
|
|
@@ -132,4 +141,4 @@ declare function normalizeMapZoom(zoom: number, minZoom?: 1, maxZoom?: 19): numb
|
|
|
132
141
|
/** 合并默认瓦片配置,并将 URL 与 Leaflet options 分离。 */
|
|
133
142
|
declare function resolveTileConfig(config?: MapTileConfig): ResolvedTileConfig;
|
|
134
143
|
//#endregion
|
|
135
|
-
export {
|
|
144
|
+
export { MapTileConfig as C, MapProps as S, MapExpose as _, toAMapPosition as a, MapMarker as b, OSM_TILE_CONFIG as c, AMapMapInstance as d, AMapMarkerEvent as f, MapCoordinate as g, MapConfig as h, resolveTileConfig as i, _default as l, AMapSecurityConfig as m, isValidMapCoordinate as n, DEFAULT_MAP_CONFIG as o, AMapPosition as p, normalizeMapZoom as r, MAP_TYPES as s, getValidMapMarkers as t, AMapApi as u, MapFitOptions as v, MapType as w, MapMarkerEvent as x, MapInstance as y };
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -5,6 +5,14 @@ import { LeafletMouseEvent, Map, TileLayerOptions } from "leaflet";
|
|
|
5
5
|
type MapType = 'osm' | 'amap';
|
|
6
6
|
type MapCoordinate = [latitude: number, longitude: number];
|
|
7
7
|
type AMapPosition = [longitude: number, latitude: number];
|
|
8
|
+
/** 高德 JS API 安全配置;生产环境优先使用服务端代理。 */
|
|
9
|
+
type AMapSecurityConfig = {
|
|
10
|
+
serviceHost: string;
|
|
11
|
+
securityJsCode?: never;
|
|
12
|
+
} | {
|
|
13
|
+
securityJsCode: string;
|
|
14
|
+
serviceHost?: never;
|
|
15
|
+
};
|
|
8
16
|
interface MapMarker {
|
|
9
17
|
id?: string | number;
|
|
10
18
|
lat: number;
|
|
@@ -58,6 +66,7 @@ interface MapProps {
|
|
|
58
66
|
markers?: MapMarker[];
|
|
59
67
|
mapType?: MapType;
|
|
60
68
|
amapKey?: string;
|
|
69
|
+
amapSecurityConfig?: AMapSecurityConfig;
|
|
61
70
|
amapLoadTimeout?: number;
|
|
62
71
|
amapOptions?: Record<string, unknown>;
|
|
63
72
|
tileConfig?: MapTileConfig;
|
|
@@ -74,19 +83,19 @@ interface MapExpose {
|
|
|
74
83
|
//#endregion
|
|
75
84
|
//#region src/components/C_Map/index.vue.d.ts
|
|
76
85
|
declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
77
|
-
error: (error: Error) => any;
|
|
78
86
|
ready: (map: MapInstance) => any;
|
|
79
87
|
markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
|
|
88
|
+
error: (error: Error) => any;
|
|
80
89
|
}, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
|
|
81
|
-
onError?: ((error: Error) => any) | undefined;
|
|
82
90
|
onReady?: ((map: MapInstance) => any) | undefined;
|
|
83
91
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
92
|
+
onError?: ((error: Error) => any) | undefined;
|
|
84
93
|
}>, {
|
|
85
94
|
height: string;
|
|
86
95
|
center: MapCoordinate;
|
|
87
96
|
zoom: number;
|
|
88
|
-
ariaLabel: string;
|
|
89
97
|
mapType: MapType;
|
|
98
|
+
ariaLabel: string;
|
|
90
99
|
markers: MapMarker[];
|
|
91
100
|
amapKey: string;
|
|
92
101
|
amapLoadTimeout: number;
|
|
@@ -132,4 +141,4 @@ declare function normalizeMapZoom(zoom: number, minZoom?: 1, maxZoom?: 19): numb
|
|
|
132
141
|
/** 合并默认瓦片配置,并将 URL 与 Leaflet options 分离。 */
|
|
133
142
|
declare function resolveTileConfig(config?: MapTileConfig): ResolvedTileConfig;
|
|
134
143
|
//#endregion
|
|
135
|
-
export {
|
|
144
|
+
export { MapTileConfig as C, MapProps as S, MapExpose as _, toAMapPosition as a, MapMarker as b, OSM_TILE_CONFIG as c, AMapMapInstance as d, AMapMarkerEvent as f, MapCoordinate as g, MapConfig as h, resolveTileConfig as i, _default as l, AMapSecurityConfig as m, isValidMapCoordinate as n, DEFAULT_MAP_CONFIG as o, AMapPosition as p, normalizeMapZoom as r, MAP_TYPES as s, getValidMapMarkers as t, AMapApi as u, MapFitOptions as v, MapType as w, MapMarkerEvent as x, MapInstance as y };
|
package/dist/style.css
CHANGED
|
@@ -2797,17 +2797,17 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
|
|
|
2797
2797
|
|
|
2798
2798
|
|
|
2799
2799
|
/* --- C_Captcha --- */
|
|
2800
|
-
/* unplugin-vue-components disabled */.c-captcha-modern[data-v-
|
|
2800
|
+
/* unplugin-vue-components disabled */.c-captcha-modern[data-v-29edd4c3] {
|
|
2801
2801
|
width: 100%;
|
|
2802
2802
|
font-family: inherit;
|
|
2803
2803
|
}
|
|
2804
|
-
.captcha-shell[data-v-
|
|
2804
|
+
.captcha-shell[data-v-29edd4c3] {
|
|
2805
2805
|
position: relative;
|
|
2806
2806
|
width: 100%;
|
|
2807
2807
|
max-width: 280px;
|
|
2808
2808
|
margin: 0 auto;
|
|
2809
2809
|
}
|
|
2810
|
-
.captcha-trigger[data-v-
|
|
2810
|
+
.captcha-trigger[data-v-29edd4c3] {
|
|
2811
2811
|
appearance: none;
|
|
2812
2812
|
border: 0;
|
|
2813
2813
|
background: transparent;
|
|
@@ -2823,26 +2823,26 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
|
|
|
2823
2823
|
position: relative;
|
|
2824
2824
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2825
2825
|
}
|
|
2826
|
-
.captcha-trigger[data-v-
|
|
2826
|
+
.captcha-trigger[data-v-29edd4c3]:hover:not(.disabled) {
|
|
2827
2827
|
transform: translateY(-1px);
|
|
2828
2828
|
}
|
|
2829
|
-
.captcha-trigger.disabled[data-v-
|
|
2829
|
+
.captcha-trigger.disabled[data-v-29edd4c3] {
|
|
2830
2830
|
opacity: 0.5;
|
|
2831
2831
|
cursor: not-allowed;
|
|
2832
2832
|
}
|
|
2833
|
-
.captcha-trigger[data-v-
|
|
2834
|
-
.refresh-button[data-v-
|
|
2833
|
+
.captcha-trigger[data-v-29edd4c3]:focus-visible,
|
|
2834
|
+
.refresh-button[data-v-29edd4c3]:focus-visible {
|
|
2835
2835
|
outline: 2px solid var(--n-color-target, #18a058);
|
|
2836
2836
|
outline-offset: 2px;
|
|
2837
2837
|
}
|
|
2838
|
-
.captcha-content[data-v-
|
|
2838
|
+
.captcha-content[data-v-29edd4c3] {
|
|
2839
2839
|
display: flex;
|
|
2840
2840
|
align-items: center;
|
|
2841
2841
|
justify-content: center;
|
|
2842
2842
|
gap: 8px;
|
|
2843
2843
|
flex: 1;
|
|
2844
2844
|
}
|
|
2845
|
-
.captcha-icon[data-v-
|
|
2845
|
+
.captcha-icon[data-v-29edd4c3] {
|
|
2846
2846
|
font-size: 18px;
|
|
2847
2847
|
width: 20px;
|
|
2848
2848
|
height: 20px;
|
|
@@ -2851,7 +2851,7 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
|
|
|
2851
2851
|
justify-content: center;
|
|
2852
2852
|
flex-shrink: 0;
|
|
2853
2853
|
}
|
|
2854
|
-
.captcha-text[data-v-
|
|
2854
|
+
.captcha-text[data-v-29edd4c3] {
|
|
2855
2855
|
color: rgba(255, 255, 255, 0.8);
|
|
2856
2856
|
font-size: 14px;
|
|
2857
2857
|
font-weight: 500;
|
|
@@ -2859,7 +2859,7 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
|
|
|
2859
2859
|
text-align: center;
|
|
2860
2860
|
white-space: nowrap;
|
|
2861
2861
|
}
|
|
2862
|
-
.refresh-button[data-v-
|
|
2862
|
+
.refresh-button[data-v-29edd4c3] {
|
|
2863
2863
|
appearance: none;
|
|
2864
2864
|
border: 0;
|
|
2865
2865
|
background: transparent;
|
|
@@ -2878,25 +2878,25 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
|
|
|
2878
2878
|
font-size: 14px;
|
|
2879
2879
|
flex-shrink: 0;
|
|
2880
2880
|
}
|
|
2881
|
-
.c-captcha-modern[data-theme=light] .captcha-text[data-v-
|
|
2881
|
+
.c-captcha-modern[data-theme=light] .captcha-text[data-v-29edd4c3] {
|
|
2882
2882
|
color: rgba(0, 0, 0, 0.72);
|
|
2883
2883
|
}
|
|
2884
|
-
.c-captcha-modern[data-theme=light] .refresh-button[data-v-
|
|
2884
|
+
.c-captcha-modern[data-theme=light] .refresh-button[data-v-29edd4c3] {
|
|
2885
2885
|
color: rgba(0, 0, 0, 0.52);
|
|
2886
2886
|
}
|
|
2887
|
-
.refresh-button[data-v-
|
|
2887
|
+
.refresh-button[data-v-29edd4c3]:hover {
|
|
2888
2888
|
color: rgba(255, 255, 255, 0.9);
|
|
2889
2889
|
transform: translateY(-50%) rotate(180deg);
|
|
2890
2890
|
}
|
|
2891
|
-
.success-icon[data-v-
|
|
2892
|
-
.success-text[data-v-
|
|
2891
|
+
.success-icon[data-v-29edd4c3],
|
|
2892
|
+
.success-text[data-v-29edd4c3] {
|
|
2893
2893
|
color: #43c23a;
|
|
2894
2894
|
}
|
|
2895
|
-
.error-icon[data-v-
|
|
2896
|
-
.error-text[data-v-
|
|
2895
|
+
.error-icon[data-v-29edd4c3],
|
|
2896
|
+
.error-text[data-v-29edd4c3] {
|
|
2897
2897
|
color: #f56c6c;
|
|
2898
2898
|
}
|
|
2899
|
-
@keyframes shake-
|
|
2899
|
+
@keyframes shake-29edd4c3 {
|
|
2900
2900
|
0%, 100% {
|
|
2901
2901
|
transform: translateX(0);
|
|
2902
2902
|
}
|
|
@@ -2908,21 +2908,21 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
|
|
|
2908
2908
|
}
|
|
2909
2909
|
}
|
|
2910
2910
|
@media (max-width: 768px) {
|
|
2911
|
-
.captcha-trigger[data-v-
|
|
2911
|
+
.captcha-trigger[data-v-29edd4c3] {
|
|
2912
2912
|
padding: 10px 14px;
|
|
2913
2913
|
}
|
|
2914
|
-
.captcha-shell[data-v-
|
|
2914
|
+
.captcha-shell[data-v-29edd4c3] {
|
|
2915
2915
|
max-width: 240px;
|
|
2916
2916
|
}
|
|
2917
|
-
.captcha-icon[data-v-
|
|
2917
|
+
.captcha-icon[data-v-29edd4c3] {
|
|
2918
2918
|
font-size: 16px;
|
|
2919
2919
|
width: 18px;
|
|
2920
2920
|
height: 18px;
|
|
2921
2921
|
}
|
|
2922
|
-
.captcha-text[data-v-
|
|
2922
|
+
.captcha-text[data-v-29edd4c3] {
|
|
2923
2923
|
font-size: 13px;
|
|
2924
2924
|
}
|
|
2925
|
-
.refresh-button[data-v-
|
|
2925
|
+
.refresh-button[data-v-29edd4c3] {
|
|
2926
2926
|
width: 24px;
|
|
2927
2927
|
height: 24px;
|
|
2928
2928
|
font-size: 12px;
|
|
@@ -8105,7 +8105,7 @@ to {
|
|
|
8105
8105
|
|
|
8106
8106
|
|
|
8107
8107
|
/* --- C_Map --- */
|
|
8108
|
-
/* unplugin-vue-components disabled */.c-map[data-v-
|
|
8108
|
+
/* unplugin-vue-components disabled */.c-map[data-v-536a68a9] {
|
|
8109
8109
|
position: relative;
|
|
8110
8110
|
width: 100%;
|
|
8111
8111
|
min-height: 300px;
|
|
@@ -8113,13 +8113,13 @@ to {
|
|
|
8113
8113
|
border-radius: var(--c-radius-sm, 4px);
|
|
8114
8114
|
overflow: hidden;
|
|
8115
8115
|
}
|
|
8116
|
-
.c-map .map-container[data-v-
|
|
8116
|
+
.c-map .map-container[data-v-536a68a9] {
|
|
8117
8117
|
width: 100%;
|
|
8118
8118
|
height: 100%;
|
|
8119
8119
|
border-radius: inherit;
|
|
8120
8120
|
overflow: hidden;
|
|
8121
8121
|
}
|
|
8122
|
-
.c-map .map-loading[data-v-
|
|
8122
|
+
.c-map .map-loading[data-v-536a68a9] {
|
|
8123
8123
|
position: absolute;
|
|
8124
8124
|
top: 0;
|
|
8125
8125
|
left: 0;
|
|
@@ -71,13 +71,13 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
expand: (key: string) => any;
|
|
75
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
76
|
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
80
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
81
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
@@ -71,13 +71,13 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
expand: (key: string) => any;
|
|
75
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
76
|
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
80
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
81
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
@@ -51,20 +51,21 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
+
ready: () => any;
|
|
54
55
|
error: (error: Event) => any;
|
|
55
56
|
crop: (result: any) => any;
|
|
56
|
-
ready: () => any;
|
|
57
57
|
confirm: (result: any) => any;
|
|
58
58
|
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
+
onReady?: (() => any) | undefined;
|
|
60
61
|
onError?: ((error: Event) => any) | undefined;
|
|
61
62
|
onCrop?: ((result: any) => any) | undefined;
|
|
62
|
-
onReady?: (() => any) | undefined;
|
|
63
63
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
64
|
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
67
|
+
showToolbar: boolean;
|
|
68
|
+
disabled: boolean;
|
|
68
69
|
src: string;
|
|
69
70
|
aspectRatio: number;
|
|
70
71
|
outputFormat: CropOutputFormat;
|
|
@@ -72,7 +73,6 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
72
73
|
maxOutputWidth: number;
|
|
73
74
|
maxOutputHeight: number;
|
|
74
75
|
showPreview: boolean;
|
|
75
|
-
showToolbar: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,20 +51,21 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
+
ready: () => any;
|
|
54
55
|
error: (error: Event) => any;
|
|
55
56
|
crop: (result: any) => any;
|
|
56
|
-
ready: () => any;
|
|
57
57
|
confirm: (result: any) => any;
|
|
58
58
|
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
+
onReady?: (() => any) | undefined;
|
|
60
61
|
onError?: ((error: Event) => any) | undefined;
|
|
61
62
|
onCrop?: ((result: any) => any) | undefined;
|
|
62
|
-
onReady?: (() => any) | undefined;
|
|
63
63
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
64
|
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
67
|
+
showToolbar: boolean;
|
|
68
|
+
disabled: boolean;
|
|
68
69
|
src: string;
|
|
69
70
|
aspectRatio: number;
|
|
70
71
|
outputFormat: CropOutputFormat;
|
|
@@ -72,7 +73,6 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
72
73
|
maxOutputWidth: number;
|
|
73
74
|
maxOutputHeight: number;
|
|
74
75
|
showPreview: boolean;
|
|
75
|
-
showToolbar: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -116,11 +116,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
116
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
modelValue: DraggableItem[];
|
|
120
119
|
sort: boolean;
|
|
120
|
+
modelValue: DraggableItem[];
|
|
121
|
+
direction: "vertical" | "horizontal";
|
|
121
122
|
disabled: boolean;
|
|
122
123
|
delay: number;
|
|
123
|
-
direction: "vertical" | "horizontal";
|
|
124
124
|
group: string | GroupOptions;
|
|
125
125
|
animation: number;
|
|
126
126
|
handle: string;
|
|
@@ -116,11 +116,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
116
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
modelValue: DraggableItem[];
|
|
120
119
|
sort: boolean;
|
|
120
|
+
modelValue: DraggableItem[];
|
|
121
|
+
direction: "vertical" | "horizontal";
|
|
121
122
|
disabled: boolean;
|
|
122
123
|
delay: number;
|
|
123
|
-
direction: "vertical" | "horizontal";
|
|
124
124
|
group: string | GroupOptions;
|
|
125
125
|
animation: number;
|
|
126
126
|
handle: string;
|
|
@@ -582,8 +582,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
582
582
|
} & {
|
|
583
583
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
584
584
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
585
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
586
585
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
586
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
587
587
|
}> & (typeof globalThis extends {
|
|
588
588
|
__VLS_PROPS_FALLBACK: infer P;
|
|
589
589
|
} ? P : {});
|
|
@@ -626,7 +626,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
626
626
|
}>) => void;
|
|
627
627
|
attrs: any;
|
|
628
628
|
slots: FormSlots<T>;
|
|
629
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-
|
|
629
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
|
|
630
630
|
}>) => vue.VNode & {
|
|
631
631
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
632
632
|
};
|