@robot-admin/naive-ui-components 0.20.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -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_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_Markdown.css +1 -2
- 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 +112 -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/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 +32 -9
- package/dist/constants3.d.ts +32 -9
- package/dist/constants4.d.cts +16 -5
- package/dist/constants4.d.ts +16 -5
- package/dist/constants5.d.cts +22 -18
- package/dist/constants5.d.ts +22 -18
- 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 +7 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +5 -5
- package/dist/index.vue.d.ts +5 -5
- package/dist/index10.vue.d.cts +3 -3
- 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 +3 -3
- package/dist/index13.vue.d.cts +3 -3
- package/dist/index13.vue.d.ts +8 -8
- package/dist/index14.vue.d.cts +8 -8
- package/dist/index14.vue.d.ts +0 -1
- package/dist/index15.vue.d.cts +0 -1
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index16.vue.d.cts +1 -1
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index18.vue.d.ts +44 -40
- package/dist/index19.vue.d.cts +3 -3
- package/dist/index19.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +3 -3
- package/dist/index20.vue.d.ts +3 -3
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +0 -1
- package/dist/index25.vue.d.ts +0 -1
- package/dist/index26.vue.d.cts +3 -3
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index4.vue.d.cts +44 -40
- package/dist/index6.vue.d.ts +0 -2
- package/dist/index7.vue.d.cts +0 -2
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.cts +3 -3
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/style.css +848 -846
- 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 +8 -8
- package/dist/useCropperCore.d.ts +8 -8
- package/dist/useDraggableLayout.d.cts +1 -0
- package/dist/useDraggableLayout.d.ts +1 -0
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- package/dist/useFullscreen.d.cts +41 -23
- package/dist/useFullscreen.d.ts +41 -23
- package/dist/useInfiniteScroll.d.cts +7 -5
- package/dist/useInfiniteScroll.d.ts +7 -5
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +3 -4
- package/dist/useSplitResize.d.ts +3 -4
- package/dist/useTableQuery.cjs +1 -1
- package/dist/useTableQuery.d.cts +8 -12
- package/dist/useTableQuery.d.ts +8 -12
- package/dist/useTableQuery.js +1 -1
- package/dist/useWorkflowValidation.d.cts +105 -97
- package/dist/useWorkflowValidation.d.ts +105 -97
- package/dist/verification.d.cts +6 -6
- package/dist/verification.d.ts +6 -6
- package/docs/architecture.en.md +3 -1
- package/docs/architecture.md +3 -1
- package/docs/guides/usage.en.md +16 -0
- package/docs/guides/usage.md +56 -0
- package/package.json +27 -10
- package/dist/context.cjs +0 -1
- package/dist/context.js +0 -1
package/dist/index18.vue.d.ts
CHANGED
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
import { a as RouteItem, t as MenuAdapterConfig } from "./public.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Ref } 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/C_Menu/types.d.ts
|
|
8
|
-
type
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
type MenuKey = string | number;
|
|
8
|
+
type MenuValue = MenuKey | null;
|
|
9
|
+
type OwnMenuKey<Option> = Option extends {
|
|
10
|
+
key?: infer Key;
|
|
11
|
+
} ? Extract<Key, MenuKey> : never;
|
|
12
|
+
/** 已遇到的递归业务类型或原生完整键类型均停止展开,内联配置包含子节点。 */
|
|
13
|
+
type MenuOptionKeys<Option, Seen = never> = Option extends Seen ? OwnMenuKey<Option> : MenuKey extends OwnMenuKey<Option> ? MenuKey : OwnMenuKey<Option> | (Option extends {
|
|
14
|
+
children?: infer Children;
|
|
15
|
+
} ? Children extends readonly unknown[] ? MenuOptionKeys<Children[number], Seen | Option> : never : never);
|
|
16
|
+
type WidenMenuKey<Key> = Key extends string ? string : Key extends number ? number : never;
|
|
17
|
+
type MenuSelectionKey<O extends MenuOption[] | undefined> = O extends MenuOption[] ? [MenuOptionKeys<O[number]>] extends [never] ? MenuKey : WidenMenuKey<MenuOptionKeys<O[number]>> : string;
|
|
18
|
+
interface MenuProps<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
19
|
+
options?: O;
|
|
11
20
|
routes?: RouteItem[];
|
|
12
21
|
adapterConfig?: MenuAdapterConfig;
|
|
13
22
|
labelFormatter?: (label: string) => string;
|
|
14
23
|
/** @deprecated Use modelValue. */
|
|
15
24
|
value?: MenuValue;
|
|
16
25
|
modelValue?: MenuValue;
|
|
17
|
-
expandedKeys?:
|
|
18
|
-
defaultExpandedKeys?:
|
|
26
|
+
expandedKeys?: MenuKey[];
|
|
27
|
+
defaultExpandedKeys?: MenuKey[];
|
|
19
28
|
mode?: 'vertical' | 'horizontal';
|
|
20
29
|
collapsed?: boolean;
|
|
21
30
|
collapsedWidth?: number;
|
|
@@ -26,48 +35,43 @@ interface MenuProps {
|
|
|
26
35
|
rootIndent?: number;
|
|
27
36
|
dropdownProps?: DropdownProps;
|
|
28
37
|
}
|
|
29
|
-
interface MenuEmits {
|
|
30
|
-
select: [key:
|
|
38
|
+
interface MenuEmits<O extends MenuOption[] | undefined = MenuOption[] | undefined> {
|
|
39
|
+
select: [key: MenuSelectionKey<O>];
|
|
31
40
|
/** 鼠标或键盘聚焦叶子项时触发,可用于无副作用的路由预取。 */
|
|
32
|
-
intent: [key:
|
|
33
|
-
'update:modelValue': [key:
|
|
41
|
+
intent: [key: MenuSelectionKey<O>];
|
|
42
|
+
'update:modelValue': [key: MenuSelectionKey<O> | null];
|
|
34
43
|
/** @deprecated Use update:modelValue. */
|
|
35
|
-
'update:value': [key:
|
|
36
|
-
'update:expandedKeys': [keys:
|
|
44
|
+
'update:value': [key: MenuSelectionKey<O> | null];
|
|
45
|
+
'update:expandedKeys': [keys: MenuSelectionKey<O>[]];
|
|
37
46
|
}
|
|
38
47
|
interface MenuExpose {
|
|
39
|
-
showOption: (key:
|
|
48
|
+
showOption: (key: MenuKey) => void;
|
|
40
49
|
/** Vue 公开实例会解包顶层 Ref。 */
|
|
41
50
|
menuRef: MenuInst | null;
|
|
42
51
|
}
|
|
43
52
|
//#endregion
|
|
44
53
|
//#region src/components/C_Menu/index.vue.d.ts
|
|
45
|
-
declare const __VLS_export:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
collapsedWidth: number;
|
|
66
|
-
collapsedIconSize: number;
|
|
67
|
-
inverted: boolean;
|
|
68
|
-
rootIndent: number;
|
|
69
|
-
dropdownProps: naive_ui0.DropdownProps;
|
|
70
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
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<{
|
|
55
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
|
|
56
|
+
"onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
57
|
+
onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
58
|
+
onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
59
|
+
"onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
60
|
+
"onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
|
|
61
|
+
}> & (typeof globalThis extends {
|
|
62
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
63
|
+
} ? P : {});
|
|
64
|
+
expose: (exposed: vue.ShallowUnwrapRef<{
|
|
65
|
+
showOption: (key: MenuKey) => void | undefined;
|
|
66
|
+
menuRef: Ref<MenuInst | null, MenuInst | null>;
|
|
67
|
+
}>) => void;
|
|
68
|
+
attrs: any;
|
|
69
|
+
slots: {};
|
|
70
|
+
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);
|
|
71
|
+
}>) => vue.VNode & {
|
|
72
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
73
|
+
};
|
|
71
74
|
declare const _default: typeof __VLS_export;
|
|
75
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
72
76
|
//#endregion
|
|
73
|
-
export {
|
|
77
|
+
export { MenuProps as a, MenuKey as i, MenuEmits as n, MenuValue as o, MenuExpose as r, _default as t };
|
package/dist/index19.vue.d.cts
CHANGED
|
@@ -80,11 +80,10 @@ 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
|
-
lineColor: string;
|
|
84
83
|
direction: OrgChartDirection;
|
|
85
|
-
|
|
86
|
-
lineStyle: OrgChartLineStyle;
|
|
84
|
+
lineColor: string;
|
|
87
85
|
lineWidth: number;
|
|
86
|
+
lineStyle: OrgChartLineStyle;
|
|
88
87
|
nodeSpacing: number;
|
|
89
88
|
levelSpacing: number;
|
|
90
89
|
zoomable: boolean;
|
|
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
93
92
|
fitOnInit: boolean;
|
|
94
93
|
minZoom: number;
|
|
95
94
|
maxZoom: number;
|
|
95
|
+
collapsible: boolean;
|
|
96
96
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
97
97
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
98
98
|
declare const _default: typeof __VLS_export;
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -80,11 +80,10 @@ 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
|
-
lineColor: string;
|
|
84
83
|
direction: OrgChartDirection;
|
|
85
|
-
|
|
86
|
-
lineStyle: OrgChartLineStyle;
|
|
84
|
+
lineColor: string;
|
|
87
85
|
lineWidth: number;
|
|
86
|
+
lineStyle: OrgChartLineStyle;
|
|
88
87
|
nodeSpacing: number;
|
|
89
88
|
levelSpacing: number;
|
|
90
89
|
zoomable: boolean;
|
|
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
93
92
|
fitOnInit: boolean;
|
|
94
93
|
minZoom: number;
|
|
95
94
|
maxZoom: number;
|
|
95
|
+
collapsible: boolean;
|
|
96
96
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
97
97
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
98
98
|
declare const _default: typeof __VLS_export;
|
package/dist/index20.vue.d.cts
CHANGED
|
@@ -34,13 +34,13 @@ 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;
|
|
38
|
-
time: number;
|
|
39
|
-
status: "default" | "success" | "error" | "warning" | "info";
|
|
40
37
|
percentage: number | number[];
|
|
41
38
|
isAnimation: boolean;
|
|
39
|
+
time: number;
|
|
42
40
|
indicatorPlacement: "inside" | "outside";
|
|
43
41
|
showIndicator: boolean;
|
|
42
|
+
status: "default" | "success" | "error" | "warning" | "info";
|
|
43
|
+
strokeWidth: number;
|
|
44
44
|
unit: string;
|
|
45
45
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -34,13 +34,13 @@ 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;
|
|
38
|
-
time: number;
|
|
39
|
-
status: "default" | "success" | "error" | "warning" | "info";
|
|
40
37
|
percentage: number | number[];
|
|
41
38
|
isAnimation: boolean;
|
|
39
|
+
time: number;
|
|
42
40
|
indicatorPlacement: "inside" | "outside";
|
|
43
41
|
showIndicator: boolean;
|
|
42
|
+
status: "default" | "success" | "error" | "warning" | "info";
|
|
43
|
+
strokeWidth: number;
|
|
44
44
|
unit: string;
|
|
45
45
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
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
|
+
preset: SkeletonPreset;
|
|
90
|
+
loading: boolean;
|
|
89
91
|
animation: SkeletonAnimation;
|
|
90
92
|
repeat: number;
|
|
91
|
-
loading: boolean;
|
|
92
|
-
preset: SkeletonPreset;
|
|
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
|
+
preset: SkeletonPreset;
|
|
90
|
+
loading: boolean;
|
|
89
91
|
animation: SkeletonAnimation;
|
|
90
92
|
repeat: number;
|
|
91
|
-
loading: boolean;
|
|
92
|
-
preset: SkeletonPreset;
|
|
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/index25.vue.d.cts
CHANGED
|
@@ -96,7 +96,6 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
96
96
|
labelPlacement: "left" | "right" | "alternate";
|
|
97
97
|
mode: "vertical" | "horizontal";
|
|
98
98
|
pending: boolean;
|
|
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
|
@@ -96,7 +96,6 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
96
96
|
labelPlacement: "left" | "right" | "alternate";
|
|
97
97
|
mode: "vertical" | "horizontal";
|
|
98
98
|
pending: boolean;
|
|
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,16 +20,16 @@ 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
|
-
label: string;
|
|
24
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
|
-
width: number;
|
|
26
23
|
height: number;
|
|
24
|
+
width: number;
|
|
25
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
27
26
|
showText: boolean;
|
|
28
27
|
fontSize: number;
|
|
29
28
|
textPosition: "bottom" | "top";
|
|
30
29
|
lineColor: string;
|
|
31
30
|
background: string;
|
|
32
31
|
showBorder: boolean;
|
|
32
|
+
label: string;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -20,16 +20,16 @@ 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
|
-
label: string;
|
|
24
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
|
-
width: number;
|
|
26
23
|
height: number;
|
|
24
|
+
width: number;
|
|
25
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
27
26
|
showText: boolean;
|
|
28
27
|
fontSize: number;
|
|
29
28
|
textPosition: "bottom" | "top";
|
|
30
29
|
lineColor: string;
|
|
31
30
|
background: string;
|
|
32
31
|
showBorder: boolean;
|
|
32
|
+
label: string;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
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
|
-
collapsedWidth: number;
|
|
124
|
-
collapsedIconSize: number;
|
|
125
|
-
inverted: boolean;
|
|
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/index6.vue.d.ts
CHANGED
|
@@ -106,8 +106,6 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
placeholder: string;
|
|
110
|
-
title: string;
|
|
111
109
|
virtualScroll: boolean;
|
|
112
110
|
showContacts: boolean;
|
|
113
111
|
showTimestamp: boolean;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -106,8 +106,6 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
placeholder: string;
|
|
110
|
-
title: string;
|
|
111
109
|
virtualScroll: boolean;
|
|
112
110
|
showContacts: boolean;
|
|
113
111
|
showTimestamp: boolean;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -23,17 +23,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
click: (event: MouseEvent) => any;
|
|
27
26
|
copy: (code: string) => any;
|
|
28
27
|
fullscreen: (isFullscreen: boolean) => any;
|
|
28
|
+
click: (event: MouseEvent) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
30
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
31
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
|
-
code: string;
|
|
36
35
|
language: string;
|
|
36
|
+
code: string;
|
|
37
37
|
showHeader: boolean;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
package/dist/index9.vue.d.cts
CHANGED
|
@@ -23,17 +23,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
click: (event: MouseEvent) => any;
|
|
27
26
|
copy: (code: string) => any;
|
|
28
27
|
fullscreen: (isFullscreen: boolean) => any;
|
|
28
|
+
click: (event: MouseEvent) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
30
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
31
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
|
-
code: string;
|
|
36
35
|
language: string;
|
|
36
|
+
code: string;
|
|
37
37
|
showHeader: boolean;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -61,22 +61,22 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
61
61
|
close: () => void; /** 当前是否可见 */
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
select: (item: ContextMenuItem) => any;
|
|
65
64
|
close: () => any;
|
|
66
65
|
open: (position: {
|
|
67
66
|
x: number;
|
|
68
67
|
y: number;
|
|
69
68
|
}) => any;
|
|
69
|
+
select: (item: ContextMenuItem) => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
71
|
onClose?: (() => any) | undefined;
|
|
73
72
|
onOpen?: ((position: {
|
|
74
73
|
x: number;
|
|
75
74
|
y: number;
|
|
76
75
|
}) => any) | undefined;
|
|
76
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: ContextMenuItem[];
|
|
79
78
|
disabled: boolean;
|
|
79
|
+
items: ContextMenuItem[];
|
|
80
80
|
zIndex: number;
|
|
81
81
|
minWidth: number;
|
|
82
82
|
maxWidth: number;
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -92,10 +92,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
height: string;
|
|
95
|
-
center: MapCoordinate;
|
|
96
|
-
ariaLabel: string;
|
|
97
95
|
zoom: number;
|
|
96
|
+
center: MapCoordinate;
|
|
98
97
|
mapType: MapType;
|
|
98
|
+
ariaLabel: string;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -92,10 +92,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
height: string;
|
|
95
|
-
center: MapCoordinate;
|
|
96
|
-
ariaLabel: string;
|
|
97
95
|
zoom: number;
|
|
96
|
+
center: MapCoordinate;
|
|
98
97
|
mapType: MapType;
|
|
98
|
+
ariaLabel: string;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|