@robot-admin/naive-ui-components 0.17.0 → 0.17.2
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 +31 -0
- package/README.md +12 -11
- package/README_EN.md +1 -0
- package/dist/C_AntV.css +105 -105
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_AudioPlayer.css +53 -53
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_Barcode.css +6 -6
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Chat.css +269 -185
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_Code.css +26 -26
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_FilePreview.css +96 -57
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_FullCalendar.css +10 -11
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_FullCalendar2.js +1 -1
- package/dist/C_GlobalSearch.css +140 -118
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_ImageCropper.css +10 -10
- package/dist/C_ImageCropper2.cjs +1 -1
- package/dist/C_ImageCropper2.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_Map.css +10 -10
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_OrgChart.css +28 -4
- package/dist/C_OrgChart2.cjs +1 -1
- package/dist/C_OrgChart2.js +1 -1
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_Signature.css +15 -15
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_SplitPane.cjs +1 -1
- package/dist/C_SplitPane.css +231 -77
- package/dist/C_SplitPane.js +1 -1
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Table.base.css +110 -117
- package/dist/C_Table.css +110 -117
- package/dist/C_Table.d.ts +1 -0
- package/dist/C_Tabs.css +18 -18
- package/dist/C_TagsView.css +51 -51
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Transfer.css +93 -84
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.d.ts +1 -0
- package/dist/C_Upload.css +5 -5
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.css +20 -20
- package/dist/C_VideoPlayer2.cjs +4 -3
- package/dist/C_VideoPlayer2.js +4 -3
- package/dist/C_VtableGantt.css +44 -28
- package/dist/C_VtableGantt2.cjs +1 -1
- package/dist/C_VtableGantt2.js +1 -1
- package/dist/C_WaterFall.css +29 -29
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +111 -111
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.cts +12 -15
- package/dist/constants5.d.ts +12 -15
- package/dist/data.d.cts +9 -9
- package/dist/data.d.ts +9 -9
- package/dist/data2.cjs +1 -1
- package/dist/data2.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.cts +5 -5
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index14.vue.d.ts +5 -5
- package/dist/index15.vue.d.cts +5 -5
- 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 +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +4 -4
- package/dist/index19.vue.d.cts +4 -4
- 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 +5 -1
- package/dist/index20.vue.d.ts +5 -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/index23.vue.d.cts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +9 -4
- package/dist/index25.vue.d.ts +9 -4
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +6 -2
- package/dist/index28.vue.d.ts +6 -2
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +8 -5
- package/dist/index7.vue.d.cts +8 -5
- package/dist/index8.vue.d.ts +4 -6
- package/dist/index9.vue.d.cts +4 -6
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +1559 -1219
- package/dist/useCalendarEvents.d.cts +10 -0
- package/dist/useCalendarEvents.d.ts +10 -0
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDraggableLayout.d.cts +16 -14
- package/dist/useDraggableLayout.d.ts +16 -14
- package/dist/useEdgeInteraction.d.cts +4 -2
- package/dist/useEdgeInteraction.d.ts +4 -2
- package/dist/useFullscreen.d.cts +9 -3
- package/dist/useFullscreen.d.ts +9 -3
- package/dist/useGlobalSearch.d.cts +9 -4
- package/dist/useGlobalSearch.d.ts +9 -4
- package/dist/useInfiniteScroll.d.cts +6 -3
- package/dist/useInfiniteScroll.d.ts +6 -3
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.cts +2 -2
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +3 -3
- package/dist/useSplitResize.d.ts +3 -3
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +15 -5
- package/dist/useTableQuery.d.ts +15 -5
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +2 -2
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useWorkflowValidation.d.cts +8 -3
- package/dist/useWorkflowValidation.d.ts +8 -3
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/component-review-20261019.md +55 -0
- package/docs/components.en.md +4 -0
- package/docs/components.md +4 -0
- package/docs/guides/runtime-performance.md +38 -0
- package/docs/guides/split-pane.en.md +4 -0
- package/docs/guides/split-pane.md +4 -0
- package/docs/guides/table-density.md +26 -0
- package/docs/guides/transfer.md +11 -0
- package/docs/runtime-review-20261019.md +41 -0
- package/package.json +4 -2
package/dist/index28.vue.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ interface TransferProps {
|
|
|
43
43
|
targetEmptyText?: string;
|
|
44
44
|
/** 尺寸 */
|
|
45
45
|
size?: 'small' | 'medium' | 'large';
|
|
46
|
+
/** 大列表自动使用虚拟滚动;自定义可变行高或需要完整 DOM 时可关闭。默认 true,100 项起启用。 */
|
|
47
|
+
virtualScroll?: boolean;
|
|
46
48
|
}
|
|
47
49
|
/** 默认 Props */
|
|
48
50
|
declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
@@ -59,13 +61,14 @@ type __VLS_Props = {
|
|
|
59
61
|
sourceEmptyText?: string;
|
|
60
62
|
targetEmptyText?: string;
|
|
61
63
|
size?: TransferProps['size'];
|
|
64
|
+
virtualScroll?: boolean;
|
|
62
65
|
};
|
|
63
66
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
67
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
-
change: (targetKeys: (string | number)[], direction: "
|
|
68
|
+
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
66
69
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
70
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
-
onChange?: ((targetKeys: (string | number)[], direction: "
|
|
71
|
+
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
72
|
}>, {
|
|
70
73
|
size: "small" | "medium" | "large";
|
|
71
74
|
titles: [string, string];
|
|
@@ -74,6 +77,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
74
77
|
showSelectAll: boolean;
|
|
75
78
|
sourceEmptyText: string;
|
|
76
79
|
targetEmptyText: string;
|
|
80
|
+
virtualScroll: boolean;
|
|
77
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
82
|
declare const _default: typeof __VLS_export;
|
|
79
83
|
//#endregion
|
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
23
|
height: number;
|
|
24
|
+
lineColor: string;
|
|
25
25
|
label: string;
|
|
26
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
27
|
-
fontSize: number;
|
|
28
26
|
showBorder: boolean;
|
|
29
27
|
showLabel: boolean;
|
|
30
|
-
|
|
28
|
+
width: number;
|
|
29
|
+
fontSize: number;
|
|
30
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
31
|
showText: boolean;
|
|
32
32
|
textPosition: "bottom" | "top";
|
|
33
33
|
background: string;
|
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
23
|
height: number;
|
|
24
|
+
lineColor: string;
|
|
25
25
|
label: string;
|
|
26
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
27
|
-
fontSize: number;
|
|
28
26
|
showBorder: boolean;
|
|
29
27
|
showLabel: boolean;
|
|
30
|
-
|
|
28
|
+
width: number;
|
|
29
|
+
fontSize: number;
|
|
30
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
31
|
showText: boolean;
|
|
32
32
|
textPosition: "bottom" | "top";
|
|
33
33
|
background: string;
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -103,14 +103,14 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
103
103
|
showOption: (key: string) => void | undefined;
|
|
104
104
|
menuRef: Ref<MenuInst | null, MenuInst | null>;
|
|
105
105
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
106
|
-
select: (key: string) => any;
|
|
107
106
|
"update:modelValue": (key: MenuValue) => any;
|
|
107
|
+
select: (key: string) => any;
|
|
108
108
|
intent: (key: string) => any;
|
|
109
109
|
"update:value": (key: MenuValue) => any;
|
|
110
110
|
"update:expandedKeys": (keys: string[]) => any;
|
|
111
111
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
112
|
-
onSelect?: ((key: string) => any) | undefined;
|
|
113
112
|
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
113
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
114
114
|
onIntent?: ((key: string) => any) | undefined;
|
|
115
115
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
116
116
|
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -71,33 +71,35 @@ interface ChatProps {
|
|
|
71
71
|
showSendBtn?: boolean;
|
|
72
72
|
/** 是否正在加载历史消息 */
|
|
73
73
|
loadingHistory?: boolean;
|
|
74
|
+
/** 大列表自动窗口化;false 可保留完整 DOM(消息 200 条、联系人 100 条起)。 */
|
|
75
|
+
virtualScroll?: boolean;
|
|
74
76
|
/** 标题(无联系人模式时显示) */
|
|
75
77
|
title?: string;
|
|
76
78
|
}
|
|
77
79
|
declare const DEFAULT_CHAT_PROPS: Required<Pick<ChatProps, 'placeholder' | 'showContacts' | 'showTimestamp' | 'showSendBtn' | 'loadingHistory' | 'title'>>;
|
|
78
80
|
//#endregion
|
|
79
81
|
//#region src/components/C_Chat/index.vue.d.ts
|
|
80
|
-
declare var
|
|
82
|
+
declare var __VLS_39: {}, __VLS_83: {};
|
|
81
83
|
type __VLS_Slots = {} & {
|
|
82
|
-
header?: (props: typeof
|
|
84
|
+
header?: (props: typeof __VLS_39) => any;
|
|
83
85
|
} & {
|
|
84
|
-
'input-actions'?: (props: typeof
|
|
86
|
+
'input-actions'?: (props: typeof __VLS_83) => any;
|
|
85
87
|
};
|
|
86
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
87
89
|
scrollToBottom: () => void;
|
|
88
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
+
"load-more": () => any;
|
|
89
92
|
send: (content: string) => any;
|
|
90
93
|
"select-contact": (id: string) => any;
|
|
91
|
-
"load-more": () => any;
|
|
92
94
|
"image-preview": (url: string) => any;
|
|
93
95
|
"file-click": (msg: ChatMessage) => any;
|
|
94
96
|
"file-upload": () => any;
|
|
95
97
|
"emoji-click": () => any;
|
|
96
98
|
resend: (msg: ChatMessage) => any;
|
|
97
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
98
101
|
onSend?: ((content: string) => any) | undefined;
|
|
99
102
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
100
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
101
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
102
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
103
105
|
"onFile-upload"?: (() => any) | undefined;
|
|
@@ -106,6 +108,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
108
|
}>, {
|
|
107
109
|
placeholder: string;
|
|
108
110
|
title: string;
|
|
111
|
+
virtualScroll: boolean;
|
|
109
112
|
showContacts: boolean;
|
|
110
113
|
showTimestamp: boolean;
|
|
111
114
|
showSendBtn: boolean;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -71,33 +71,35 @@ interface ChatProps {
|
|
|
71
71
|
showSendBtn?: boolean;
|
|
72
72
|
/** 是否正在加载历史消息 */
|
|
73
73
|
loadingHistory?: boolean;
|
|
74
|
+
/** 大列表自动窗口化;false 可保留完整 DOM(消息 200 条、联系人 100 条起)。 */
|
|
75
|
+
virtualScroll?: boolean;
|
|
74
76
|
/** 标题(无联系人模式时显示) */
|
|
75
77
|
title?: string;
|
|
76
78
|
}
|
|
77
79
|
declare const DEFAULT_CHAT_PROPS: Required<Pick<ChatProps, 'placeholder' | 'showContacts' | 'showTimestamp' | 'showSendBtn' | 'loadingHistory' | 'title'>>;
|
|
78
80
|
//#endregion
|
|
79
81
|
//#region src/components/C_Chat/index.vue.d.ts
|
|
80
|
-
declare var
|
|
82
|
+
declare var __VLS_39: {}, __VLS_83: {};
|
|
81
83
|
type __VLS_Slots = {} & {
|
|
82
|
-
header?: (props: typeof
|
|
84
|
+
header?: (props: typeof __VLS_39) => any;
|
|
83
85
|
} & {
|
|
84
|
-
'input-actions'?: (props: typeof
|
|
86
|
+
'input-actions'?: (props: typeof __VLS_83) => any;
|
|
85
87
|
};
|
|
86
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
87
89
|
scrollToBottom: () => void;
|
|
88
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
+
"load-more": () => any;
|
|
89
92
|
send: (content: string) => any;
|
|
90
93
|
"select-contact": (id: string) => any;
|
|
91
|
-
"load-more": () => any;
|
|
92
94
|
"image-preview": (url: string) => any;
|
|
93
95
|
"file-click": (msg: ChatMessage) => any;
|
|
94
96
|
"file-upload": () => any;
|
|
95
97
|
"emoji-click": () => any;
|
|
96
98
|
resend: (msg: ChatMessage) => any;
|
|
97
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
98
101
|
onSend?: ((content: string) => any) | undefined;
|
|
99
102
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
100
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
101
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
102
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
103
105
|
"onFile-upload"?: (() => any) | undefined;
|
|
@@ -106,6 +108,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
108
|
}>, {
|
|
107
109
|
placeholder: string;
|
|
108
110
|
title: string;
|
|
111
|
+
virtualScroll: boolean;
|
|
109
112
|
showContacts: boolean;
|
|
110
113
|
showTimestamp: boolean;
|
|
111
114
|
showSendBtn: boolean;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -13,9 +13,7 @@ interface Props {
|
|
|
13
13
|
maxHeight?: string | number;
|
|
14
14
|
autoLoadLanguage?: boolean;
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* 复制代码到剪贴板
|
|
18
|
-
*/
|
|
16
|
+
/** 复制发起时的内容;文本随后变化不会改变已写入剪贴板的事件快照。 */
|
|
19
17
|
declare function copyCode(): Promise<void>;
|
|
20
18
|
/**
|
|
21
19
|
* 切换全屏显示状态
|
|
@@ -26,15 +24,15 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
26
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
26
|
fullscreen: (isFullscreen: boolean) => any;
|
|
29
|
-
click: (event: MouseEvent) => any;
|
|
30
27
|
copy: (code: string) => any;
|
|
28
|
+
click: (event: MouseEvent) => any;
|
|
31
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
30
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
35
33
|
}>, {
|
|
36
|
-
language: string;
|
|
37
34
|
trim: boolean;
|
|
35
|
+
language: string;
|
|
38
36
|
code: string;
|
|
39
37
|
showHeader: boolean;
|
|
40
38
|
showLineNumbers: boolean;
|
package/dist/index9.vue.d.cts
CHANGED
|
@@ -13,9 +13,7 @@ interface Props {
|
|
|
13
13
|
maxHeight?: string | number;
|
|
14
14
|
autoLoadLanguage?: boolean;
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* 复制代码到剪贴板
|
|
18
|
-
*/
|
|
16
|
+
/** 复制发起时的内容;文本随后变化不会改变已写入剪贴板的事件快照。 */
|
|
19
17
|
declare function copyCode(): Promise<void>;
|
|
20
18
|
/**
|
|
21
19
|
* 切换全屏显示状态
|
|
@@ -26,15 +24,15 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
26
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
26
|
fullscreen: (isFullscreen: boolean) => any;
|
|
29
|
-
click: (event: MouseEvent) => any;
|
|
30
27
|
copy: (code: string) => any;
|
|
28
|
+
click: (event: MouseEvent) => any;
|
|
31
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
30
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
35
33
|
}>, {
|
|
36
|
-
language: string;
|
|
37
34
|
trim: boolean;
|
|
35
|
+
language: string;
|
|
38
36
|
code: string;
|
|
39
37
|
showHeader: boolean;
|
|
40
38
|
showLineNumbers: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -61,19 +61,19 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
61
61
|
close: () => void; /** 当前是否可见 */
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
+
close: () => any;
|
|
64
65
|
select: (item: ContextMenuItem) => 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
|
+
onClose?: (() => any) | undefined;
|
|
71
72
|
onSelect?: ((item: ContextMenuItem) => 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
78
|
disabled: boolean;
|
|
79
79
|
items: ContextMenuItem[];
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -83,19 +83,19 @@ 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;
|
|
95
|
-
center: MapCoordinate;
|
|
96
95
|
zoom: number;
|
|
97
|
-
mapType: MapType;
|
|
98
96
|
ariaLabel: string;
|
|
97
|
+
center: MapCoordinate;
|
|
98
|
+
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -83,19 +83,19 @@ 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;
|
|
95
|
-
center: MapCoordinate;
|
|
96
95
|
zoom: number;
|
|
97
|
-
mapType: MapType;
|
|
98
96
|
ariaLabel: string;
|
|
97
|
+
center: MapCoordinate;
|
|
98
|
+
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|