@robot-admin/naive-ui-components 0.16.0 → 0.17.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 +39 -0
- package/README.md +12 -9
- package/README_EN.md +12 -9
- package/dist/C_ActionBar.css +56 -48
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV2.cjs +1 -1
- package/dist/C_AntV2.js +3 -3
- 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_Form.base.css +295 -277
- package/dist/C_Form.css +295 -277
- package/dist/C_Form.d.cts +2 -1
- package/dist/C_Form.d.ts +2 -1
- package/dist/C_FormModal.css +10 -10
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +67 -68
- package/dist/C_FormSearch.d.cts +2 -1
- package/dist/C_FormSearch.d.ts +2 -1
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- 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 +12 -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 +251 -109
- 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 +491 -563
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +491 -563
- package/dist/C_Table.d.cts +3 -2
- package/dist/C_Table.d.ts +4 -2
- package/dist/C_Table.js +1 -1
- 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.css +72 -125
- package/dist/C_Tree.d.cts +3 -2
- package/dist/C_Tree.d.ts +15 -2
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_Upload.css +5 -5
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer2.cjs +4 -3
- package/dist/C_VideoPlayer2.js +4 -3
- package/dist/C_VtableGantt.css +29 -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_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/Card.cjs +1 -1
- package/dist/Card.js +1 -1
- package/dist/Custom.cjs +1 -1
- package/dist/Custom.js +1 -1
- package/dist/Dynamic.cjs +1 -1
- package/dist/Dynamic.js +1 -1
- package/dist/Steps.cjs +1 -1
- package/dist/Steps.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +4 -4
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.cts +3 -7
- package/dist/constants5.d.ts +3 -7
- package/dist/data.d.cts +10 -10
- package/dist/data.d.ts +10 -10
- package/dist/density.cjs +1 -0
- package/dist/density.d.cts +15 -0
- package/dist/density.d.ts +15 -0
- package/dist/density.js +1 -0
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +5 -3
- 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 +5 -5
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.cts +3 -3
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.cts +5 -5
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index14.vue.d.ts +9 -9
- package/dist/index15.vue.d.cts +9 -9
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +7 -7
- package/dist/index19.vue.d.cts +7 -7
- package/dist/index19.vue.d.ts +5 -5
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +6 -2
- package/dist/index20.vue.d.ts +6 -2
- 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 +5 -5
- package/dist/index25.vue.d.ts +5 -5
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +7 -3
- package/dist/index28.vue.d.ts +7 -3
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index4.vue.d.cts +5 -5
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +7 -4
- package/dist/index7.vue.d.cts +7 -4
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +4 -6
- package/dist/index9.vue.d.cts +4 -6
- package/dist/index9.vue.d.ts +5 -5
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +4 -1
- package/dist/presets.d.ts +4 -1
- package/dist/style.css +1763 -1566
- package/dist/useCalendarEvents.d.cts +10 -9
- package/dist/useCalendarEvents.d.ts +10 -9
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +9 -9
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDraggableLayout.d.cts +15 -13
- package/dist/useDraggableLayout.d.ts +15 -13
- package/dist/useDynamicFormState.d.cts +5 -2
- package/dist/useDynamicFormState.d.ts +5 -2
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- package/dist/useFullscreen.d.cts +4 -0
- package/dist/useFullscreen.d.ts +4 -0
- package/dist/useGlobalSearch.d.cts +9 -4
- package/dist/useGlobalSearch.d.ts +9 -4
- package/dist/useInfiniteScroll.d.cts +4 -1
- package/dist/useInfiniteScroll.d.ts +4 -1
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.cts +8 -6
- package/dist/useSearchState.d.ts +8 -6
- package/dist/useSignatureHistory.d.cts +7 -7
- package/dist/useSignatureHistory.d.ts +7 -7
- package/dist/useSplitResize.d.cts +50 -61
- package/dist/useSplitResize.d.ts +50 -61
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +237 -13
- package/dist/useTableQuery.d.ts +237 -13
- 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 +3 -3
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/docs/component-review-20261019.md +55 -0
- package/docs/guides/form-density.en.md +42 -0
- package/docs/guides/form-density.md +59 -0
- package/docs/guides/runtime-performance.md +38 -0
- package/docs/guides/split-pane.en.md +103 -0
- package/docs/guides/split-pane.md +126 -0
- package/docs/guides/table-density.md +87 -0
- package/docs/guides/transfer.md +11 -0
- package/docs/guides/tree.md +157 -0
- package/docs/guides/usage.en.md +2 -0
- package/docs/guides/usage.md +2 -0
- package/docs/runtime-review-20261019.md +41 -0
- package/docs/wl-ui-produce-coverage.md +62 -0
- package/package.json +4 -2
- package/dist/useTreeOperations.d.cts +0 -185
- package/dist/useTreeOperations.d.ts +0 -185
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,15 +61,17 @@ 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, {
|
|
67
|
+
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
64
68
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
-
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
66
69
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
70
|
+
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
67
71
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
-
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
72
|
}>, {
|
|
70
|
-
|
|
73
|
+
virtualScroll: boolean;
|
|
74
|
+
size: "small" | "medium" | "large";
|
|
71
75
|
titles: [string, string];
|
|
72
76
|
filterable: boolean;
|
|
73
77
|
filterPlaceholder: string;
|
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
|
-
height: number;
|
|
25
23
|
width: number;
|
|
24
|
+
height: number;
|
|
26
25
|
fontSize: number;
|
|
26
|
+
label: string;
|
|
27
|
+
lineColor: string;
|
|
27
28
|
showBorder: boolean;
|
|
28
29
|
showLabel: boolean;
|
|
29
30
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
30
31
|
showText: boolean;
|
|
31
32
|
textPosition: "bottom" | "top";
|
|
32
|
-
lineColor: string;
|
|
33
33
|
background: string;
|
|
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
|
-
height: number;
|
|
25
23
|
width: number;
|
|
24
|
+
height: number;
|
|
26
25
|
fontSize: number;
|
|
26
|
+
label: string;
|
|
27
|
+
lineColor: string;
|
|
27
28
|
showBorder: boolean;
|
|
28
29
|
showLabel: boolean;
|
|
29
30
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
30
31
|
showText: boolean;
|
|
31
32
|
textPosition: "bottom" | "top";
|
|
32
|
-
lineColor: string;
|
|
33
33
|
background: string;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -103,25 +103,25 @@ 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
|
-
"update:
|
|
106
|
+
"update:expandedKeys": (keys: string[]) => any;
|
|
107
107
|
select: (key: string) => any;
|
|
108
|
+
"update:modelValue": (key: MenuValue) => any;
|
|
108
109
|
intent: (key: string) => any;
|
|
109
110
|
"update:value": (key: MenuValue) => any;
|
|
110
|
-
"update:expandedKeys": (keys: string[]) => any;
|
|
111
111
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
112
|
-
"onUpdate:
|
|
112
|
+
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
113
113
|
onSelect?: ((key: string) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
114
115
|
onIntent?: ((key: string) => any) | undefined;
|
|
115
116
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
116
|
-
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
117
117
|
}>, {
|
|
118
118
|
mode: "vertical" | "horizontal";
|
|
119
119
|
defaultExpandedKeys: string[];
|
|
120
|
+
indent: number;
|
|
120
121
|
collapsed: boolean;
|
|
121
122
|
collapsedWidth: number;
|
|
122
123
|
collapsedIconSize: number;
|
|
123
124
|
inverted: boolean;
|
|
124
|
-
indent: number;
|
|
125
125
|
rootIndent: number;
|
|
126
126
|
dropdownProps: naive_ui0.DropdownProps;
|
|
127
127
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index5.vue.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ type __VLS_Props = {
|
|
|
19
19
|
modelValue?: CascadeValue;
|
|
20
20
|
};
|
|
21
21
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: CascadeValue) => any;
|
|
23
22
|
change: (value: CascadeValue) => any;
|
|
23
|
+
"update:modelValue": (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholders: string[];
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.cts
CHANGED
|
@@ -19,11 +19,11 @@ type __VLS_Props = {
|
|
|
19
19
|
modelValue?: CascadeValue;
|
|
20
20
|
};
|
|
21
21
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: CascadeValue) => any;
|
|
23
22
|
change: (value: CascadeValue) => any;
|
|
23
|
+
"update:modelValue": (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholders: string[];
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -71,17 +71,19 @@ 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;
|
|
@@ -105,16 +107,17 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
105
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
106
108
|
}>, {
|
|
107
109
|
placeholder: string;
|
|
108
|
-
title: string;
|
|
109
110
|
showContacts: boolean;
|
|
110
111
|
showTimestamp: boolean;
|
|
111
112
|
showSendBtn: boolean;
|
|
112
113
|
loadingHistory: boolean;
|
|
114
|
+
title: string;
|
|
113
115
|
contacts: ChatContact[];
|
|
114
116
|
messages: ChatMessage[];
|
|
115
117
|
currentContactId: string;
|
|
116
118
|
selfAvatar: string;
|
|
117
119
|
selfName: string;
|
|
120
|
+
virtualScroll: boolean;
|
|
118
121
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
119
122
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
120
123
|
declare const _default: typeof __VLS_export;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -71,17 +71,19 @@ 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;
|
|
@@ -105,16 +107,17 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
105
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
106
108
|
}>, {
|
|
107
109
|
placeholder: string;
|
|
108
|
-
title: string;
|
|
109
110
|
showContacts: boolean;
|
|
110
111
|
showTimestamp: boolean;
|
|
111
112
|
showSendBtn: boolean;
|
|
112
113
|
loadingHistory: boolean;
|
|
114
|
+
title: string;
|
|
113
115
|
contacts: ChatContact[];
|
|
114
116
|
messages: ChatMessage[];
|
|
115
117
|
currentContactId: string;
|
|
116
118
|
selfAvatar: string;
|
|
117
119
|
selfName: string;
|
|
120
|
+
virtualScroll: boolean;
|
|
118
121
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
119
122
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
120
123
|
declare const _default: typeof __VLS_export;
|
package/dist/index7.vue.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value: string) => any;
|
|
18
17
|
change: (value: string) => any;
|
|
18
|
+
"update:modelValue": (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
20
|
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|
package/dist/index8.vue.d.cts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value: string) => any;
|
|
18
17
|
change: (value: string) => any;
|
|
18
|
+
"update:modelValue": (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
20
|
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: 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
|
* 切换全屏显示状态
|
|
@@ -25,16 +23,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
25
23
|
copyCode: typeof copyCode;
|
|
26
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
|
-
copy: (code: string) => any;
|
|
29
26
|
click: (event: MouseEvent) => any;
|
|
27
|
+
copy: (code: string) => any;
|
|
30
28
|
fullscreen: (isFullscreen: boolean) => any;
|
|
31
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
-
onCopy?: ((code: string) => any) | undefined;
|
|
33
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
34
32
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
33
|
}>, {
|
|
36
|
-
trim: boolean;
|
|
37
34
|
code: string;
|
|
35
|
+
trim: boolean;
|
|
38
36
|
language: 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
|
* 切换全屏显示状态
|
|
@@ -25,16 +23,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
25
23
|
copyCode: typeof copyCode;
|
|
26
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
|
-
copy: (code: string) => any;
|
|
29
26
|
click: (event: MouseEvent) => any;
|
|
27
|
+
copy: (code: string) => any;
|
|
30
28
|
fullscreen: (isFullscreen: boolean) => any;
|
|
31
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
-
onCopy?: ((code: string) => any) | undefined;
|
|
33
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
34
32
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
33
|
}>, {
|
|
36
|
-
trim: boolean;
|
|
37
34
|
code: string;
|
|
35
|
+
trim: boolean;
|
|
38
36
|
language: string;
|
|
39
37
|
showHeader: boolean;
|
|
40
38
|
showLineNumbers: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -61,25 +61,25 @@ 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;
|
|
65
|
+
select: (item: ContextMenuItem) => any;
|
|
64
66
|
open: (position: {
|
|
65
67
|
x: number;
|
|
66
68
|
y: number;
|
|
67
69
|
}) => any;
|
|
68
|
-
close: () => any;
|
|
69
|
-
select: (item: ContextMenuItem) => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
+
onClose?: (() => any) | undefined;
|
|
72
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
71
73
|
onOpen?: ((position: {
|
|
72
74
|
x: number;
|
|
73
75
|
y: number;
|
|
74
76
|
}) => any) | undefined;
|
|
75
|
-
onClose?: (() => any) | undefined;
|
|
76
|
-
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
79
|
zIndex: number;
|
|
80
|
-
items: ContextMenuItem[];
|
|
81
80
|
minWidth: number;
|
|
82
81
|
maxWidth: number;
|
|
82
|
+
items: ContextMenuItem[];
|
|
83
83
|
subMenuPlacement: "right" | "left";
|
|
84
84
|
autoClose: boolean;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -83,18 +83,18 @@ 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
|
-
zoom: number;
|
|
96
|
-
center: MapCoordinate;
|
|
97
95
|
ariaLabel: string;
|
|
96
|
+
center: MapCoordinate;
|
|
97
|
+
zoom: number;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -83,18 +83,18 @@ 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
|
-
zoom: number;
|
|
96
|
-
center: MapCoordinate;
|
|
97
95
|
ariaLabel: string;
|
|
96
|
+
center: MapCoordinate;
|
|
97
|
+
zoom: number;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
package/dist/presets.d.cts
CHANGED
|
@@ -39,10 +39,13 @@ interface ActionItem {
|
|
|
39
39
|
interface ActionBarConfig {
|
|
40
40
|
align?: ActionGroupAlign;
|
|
41
41
|
size?: ActionButtonSize;
|
|
42
|
+
/** 按钮间距;省略时紧凑模式为 6px,常规模式为 12px。 */
|
|
42
43
|
gap?: number;
|
|
44
|
+
/** 允许分组及组内按钮随可用宽度换行。 */
|
|
43
45
|
wrap?: boolean;
|
|
44
46
|
showDivider?: boolean;
|
|
45
47
|
dividerType?: 'vertical' | 'horizontal';
|
|
48
|
+
/** 减少容器留白和默认按钮间距;行内模式也生效。 */
|
|
46
49
|
compact?: boolean;
|
|
47
50
|
inline?: boolean;
|
|
48
51
|
}
|
|
@@ -73,8 +76,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
73
76
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
74
77
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
75
78
|
}>, {
|
|
76
|
-
config: ActionBarConfig;
|
|
77
79
|
actions: ActionItem[];
|
|
80
|
+
config: ActionBarConfig;
|
|
78
81
|
leftActions: ActionItem[];
|
|
79
82
|
rightActions: ActionItem[];
|
|
80
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/presets.d.ts
CHANGED
|
@@ -39,10 +39,13 @@ interface ActionItem {
|
|
|
39
39
|
interface ActionBarConfig {
|
|
40
40
|
align?: ActionGroupAlign;
|
|
41
41
|
size?: ActionButtonSize;
|
|
42
|
+
/** 按钮间距;省略时紧凑模式为 6px,常规模式为 12px。 */
|
|
42
43
|
gap?: number;
|
|
44
|
+
/** 允许分组及组内按钮随可用宽度换行。 */
|
|
43
45
|
wrap?: boolean;
|
|
44
46
|
showDivider?: boolean;
|
|
45
47
|
dividerType?: 'vertical' | 'horizontal';
|
|
48
|
+
/** 减少容器留白和默认按钮间距;行内模式也生效。 */
|
|
46
49
|
compact?: boolean;
|
|
47
50
|
inline?: boolean;
|
|
48
51
|
}
|
|
@@ -73,8 +76,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
73
76
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
74
77
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
75
78
|
}>, {
|
|
76
|
-
config: ActionBarConfig;
|
|
77
79
|
actions: ActionItem[];
|
|
80
|
+
config: ActionBarConfig;
|
|
78
81
|
leftActions: ActionItem[];
|
|
79
82
|
rightActions: ActionItem[];
|
|
80
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|