@robot-admin/naive-ui-components 0.13.2 → 0.13.6
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 +27 -0
- package/README.md +25 -5
- package/README_EN.md +17 -5
- package/dist/C_ActionBar.css +75 -63
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +249 -79
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +2 -2
- package/dist/C_AudioPlayer.css +88 -76
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_AvatarGroup.css +32 -28
- package/dist/C_AvatarGroup2.cjs +1 -1
- package/dist/C_AvatarGroup2.js +1 -1
- package/dist/C_Breadcrumb.css +35 -17
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Captcha.css +66 -53
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +6 -2
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_Chat.css +40 -33
- package/dist/C_City.css +37 -32
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +53 -40
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_CollapsePanel.css +68 -55
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_ContextMenu.css +68 -26
- package/dist/C_ContextMenu2.cjs +1 -1
- package/dist/C_ContextMenu2.js +1 -1
- package/dist/C_Cron.css +95 -68
- package/dist/C_Cron2.cjs +1 -1
- package/dist/C_Cron2.js +1 -1
- package/dist/C_Date.css +8 -1
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Draggable.css +60 -51
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_Editor.css +23 -15
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview.css +200 -90
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +284 -224
- package/dist/C_Form.css +307 -239
- package/dist/C_Form2.cjs +1 -1
- package/dist/C_Form2.js +1 -1
- package/dist/C_FormModal.css +18 -8
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +58 -45
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- package/dist/C_FormulaEditor.css +62 -37
- package/dist/C_FormulaEditor2.cjs +1 -1
- package/dist/C_FormulaEditor2.js +1 -1
- package/dist/C_FullCalendar.css +16 -3
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_FullCalendar2.js +1 -1
- package/dist/C_GlobalSearch.css +121 -112
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.css +30 -18
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Icon.css +24 -17
- package/dist/C_Icon2.cjs +1 -1
- package/dist/C_Icon2.js +1 -1
- package/dist/C_ImageCropper.css +39 -22
- package/dist/C_ImageCropper2.cjs +1 -1
- package/dist/C_ImageCropper2.js +1 -1
- package/dist/C_Language.css +30 -17
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Loading.cjs +1 -0
- package/dist/C_Loading.css +119 -0
- package/dist/C_Loading.d.cts +2 -0
- package/dist/C_Loading.d.ts +2 -0
- package/dist/C_Loading.js +1 -0
- package/dist/C_Loading2.cjs +1 -0
- package/dist/C_Loading2.js +1 -0
- package/dist/C_Login.css +162 -137
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Map.css +25 -4
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_Markdown.css +47 -42
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_Menu.css +7 -1
- package/dist/C_Menu.d.ts +1 -1
- package/dist/C_Menu2.cjs +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/C_NotificationCenter.css +134 -90
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_OrgChart.css +10 -0
- package/dist/C_OrgChart.d.cts +1 -1
- package/dist/C_OrgChart.d.ts +1 -1
- package/dist/C_OrgChart2.cjs +1 -1
- package/dist/C_OrgChart2.js +1 -1
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_QRCode.css +12 -8
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_Signature.css +18 -14
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_Skeleton.css +5 -0
- package/dist/C_Skeleton.d.cts +1 -1
- package/dist/C_Skeleton.d.ts +1 -1
- package/dist/C_Skeleton2.cjs +1 -1
- package/dist/C_Skeleton2.js +1 -1
- package/dist/C_SplitPane.css +61 -39
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Steps.css +42 -38
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Table.base.css +585 -352
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +608 -367
- package/dist/C_Table.d.ts +2 -2
- package/dist/C_Table.js +1 -1
- package/dist/C_TagsView.css +93 -55
- package/dist/C_TagsView.d.cts +1 -1
- package/dist/C_TagsView.d.ts +1 -1
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Theme.css +24 -17
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Timeline.css +47 -36
- package/dist/C_Timeline.d.cts +1 -1
- package/dist/C_Timeline.d.ts +1 -1
- package/dist/C_Transfer.css +86 -67
- package/dist/C_Transfer.d.cts +1 -1
- package/dist/C_Transfer.d.ts +1 -1
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.css +48 -33
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_Upload.css +104 -51
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.css +140 -69
- package/dist/C_VideoPlayer2.cjs +1 -1
- package/dist/C_VideoPlayer2.js +1 -1
- package/dist/C_VtableGantt.css +42 -19
- package/dist/C_VtableGantt.d.cts +1 -1
- package/dist/C_VtableGantt.d.ts +1 -1
- package/dist/C_VtableGantt2.cjs +1 -1
- package/dist/C_VtableGantt2.js +1 -1
- package/dist/C_WaterFall.css +32 -16
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +332 -221
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.js +1 -1
- package/dist/constants.d.cts +4 -4
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.cts +4 -4
- package/dist/constants2.d.ts +4 -4
- 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/data.d.cts +8 -8
- package/dist/data.d.ts +8 -8
- package/dist/data2.cjs +1 -1
- package/dist/data2.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +28 -27
- package/dist/index.d.ts +28 -27
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +1 -1
- package/dist/index.vue.d.ts +1 -1
- 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 +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index14.vue.d.ts +11 -9
- package/dist/index15.vue.d.cts +11 -9
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +13 -129
- package/dist/index17.vue.d.cts +13 -129
- package/dist/index17.vue.d.ts +129 -76
- package/dist/index18.vue.d.cts +129 -76
- package/dist/index18.vue.d.ts +75 -71
- package/dist/index19.vue.d.cts +75 -93
- package/dist/index19.vue.d.ts +68 -90
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +87 -40
- package/dist/index20.vue.d.ts +87 -40
- package/dist/index21.vue.d.cts +40 -89
- package/dist/index21.vue.d.ts +40 -89
- package/dist/index22.vue.d.cts +95 -37
- package/dist/index22.vue.d.ts +95 -37
- package/dist/index23.vue.d.cts +34 -8
- package/dist/index23.vue.d.ts +34 -8
- package/dist/index24.vue.d.cts +12 -654
- package/dist/index24.vue.d.ts +12 -654
- package/dist/index25.vue.d.cts +650 -85
- package/dist/index25.vue.d.ts +650 -85
- package/dist/index26.vue.d.cts +85 -100
- package/dist/index26.vue.d.ts +85 -100
- package/dist/index27.vue.d.cts +92 -61
- package/dist/index27.vue.d.ts +92 -61
- package/dist/index28.vue.d.cts +80 -0
- package/dist/index28.vue.d.ts +80 -0
- package/dist/index3.vue.d.cts +5 -5
- package/dist/index3.vue.d.ts +5 -5
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index7.vue.d.cts +1 -1
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.cts +3 -3
- package/dist/index9.vue.d.ts +5 -5
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/style.css +3205 -1982
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.cts +8 -8
- package/dist/useCropperCore.d.ts +8 -8
- package/dist/useDraggableLayout.d.cts +5 -5
- package/dist/useDraggableLayout.d.ts +5 -5
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +3 -3
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.cts +6 -6
- package/dist/useSearchState.d.ts +6 -6
- package/dist/useSignatureHistory.d.cts +6 -6
- package/dist/useSignatureHistory.d.ts +6 -6
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +3 -1
- package/dist/useTableQuery.d.ts +3 -1
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +4 -4
- package/dist/useTimeSelection.d.ts +4 -4
- package/dist/useTreeOperations.d.cts +6 -6
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +6 -6
- package/dist/useWorkflowValidation.d.ts +6 -6
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/package.json +10 -3
package/dist/index27.vue.d.ts
CHANGED
|
@@ -1,80 +1,111 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/C_Timeline/types.d.ts
|
|
4
4
|
/**
|
|
5
|
-
* @Description:
|
|
5
|
+
* @Description: 时间线组件类型定义
|
|
6
6
|
*/
|
|
7
|
-
/**
|
|
8
|
-
interface
|
|
7
|
+
/** 单条时间线节点 */
|
|
8
|
+
interface TimelineItem {
|
|
9
9
|
/** 唯一标识 */
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/**
|
|
10
|
+
id: string | number;
|
|
11
|
+
/** 标题 */
|
|
12
|
+
title: string;
|
|
13
|
+
/** 描述内容(支持 HTML 字符串) */
|
|
14
|
+
content?: string;
|
|
15
|
+
/** 时间标签 */
|
|
16
|
+
time?: string;
|
|
17
|
+
/** 节点颜色(CSS 颜色值) */
|
|
18
|
+
color?: string;
|
|
19
|
+
/** 节点图标(Iconify 图标名) */
|
|
20
20
|
icon?: string;
|
|
21
|
-
/**
|
|
21
|
+
/** 节点状态 */
|
|
22
|
+
status?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
23
|
+
/** 是否可展开/折叠详情 */
|
|
24
|
+
collapsible?: boolean;
|
|
25
|
+
/** 初始是否展开 */
|
|
26
|
+
defaultExpanded?: boolean;
|
|
27
|
+
/** 附加标签组 */
|
|
28
|
+
tags?: Array<{
|
|
29
|
+
text: string;
|
|
30
|
+
type?: string;
|
|
31
|
+
}>;
|
|
32
|
+
/** 自定义额外数据 */
|
|
22
33
|
extra?: Record<string, unknown>;
|
|
23
34
|
}
|
|
24
35
|
/** 组件 Props */
|
|
25
|
-
interface
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
showSelectAll?: boolean;
|
|
40
|
-
/** 左侧空状态描述 */
|
|
41
|
-
sourceEmptyText?: string;
|
|
42
|
-
/** 右侧空状态描述 */
|
|
43
|
-
targetEmptyText?: string;
|
|
44
|
-
/** 尺寸 */
|
|
36
|
+
interface TimelineProps {
|
|
37
|
+
/** 时间线数据 */
|
|
38
|
+
items: TimelineItem[];
|
|
39
|
+
/** 布局方向 */
|
|
40
|
+
mode?: 'vertical' | 'horizontal';
|
|
41
|
+
/** 垂直模式下时间标签位置 */
|
|
42
|
+
labelPlacement?: 'left' | 'right' | 'alternate';
|
|
43
|
+
/** 是否显示尾部加载更多指示 */
|
|
44
|
+
pending?: boolean;
|
|
45
|
+
/** 加载更多文案 */
|
|
46
|
+
pendingText?: string;
|
|
47
|
+
/** 是否反转排列(最新在前) */
|
|
48
|
+
reverse?: boolean;
|
|
49
|
+
/** 节点大小 */
|
|
45
50
|
size?: 'small' | 'medium' | 'large';
|
|
51
|
+
/** 连接线样式 */
|
|
52
|
+
lineType?: 'solid' | 'dashed' | 'dotted';
|
|
53
|
+
/** 是否显示时间标签 */
|
|
54
|
+
showTime?: boolean;
|
|
46
55
|
}
|
|
47
56
|
/** 默认 Props */
|
|
48
|
-
declare const
|
|
57
|
+
declare const DEFAULT_TIMELINE_PROPS: {
|
|
58
|
+
mode: "vertical";
|
|
59
|
+
labelPlacement: "right";
|
|
60
|
+
pending: boolean;
|
|
61
|
+
pendingText: string;
|
|
62
|
+
reverse: boolean;
|
|
63
|
+
size: "medium";
|
|
64
|
+
lineType: "solid";
|
|
65
|
+
showTime: boolean;
|
|
66
|
+
};
|
|
67
|
+
/** 状态 → 颜色映射 */
|
|
68
|
+
declare const STATUS_COLOR_MAP: Record<string, string>;
|
|
49
69
|
//#endregion
|
|
50
|
-
//#region src/components/
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
70
|
+
//#region src/components/C_Timeline/index.vue.d.ts
|
|
71
|
+
declare var __VLS_1: {
|
|
72
|
+
item: TimelineItem;
|
|
73
|
+
index: number;
|
|
74
|
+
}, __VLS_8: {
|
|
75
|
+
item: TimelineItem;
|
|
76
|
+
index: number;
|
|
77
|
+
};
|
|
78
|
+
type __VLS_Slots = {} & {
|
|
79
|
+
dot?: (props: typeof __VLS_1) => any;
|
|
80
|
+
} & {
|
|
81
|
+
title?: (props: typeof __VLS_8) => any;
|
|
62
82
|
};
|
|
63
|
-
declare const
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
"
|
|
83
|
+
declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
84
|
+
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
|
+
collapseAll: () => void;
|
|
86
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
+
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
|
+
"item-click": (item: TimelineItem, index: number) => any;
|
|
89
|
+
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
+
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
|
+
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
69
92
|
}>, {
|
|
93
|
+
reverse: boolean;
|
|
94
|
+
items: TimelineItem[];
|
|
70
95
|
size: "small" | "medium" | "large";
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
96
|
+
mode: "vertical" | "horizontal";
|
|
97
|
+
labelPlacement: "left" | "right" | "alternate";
|
|
98
|
+
pending: boolean;
|
|
99
|
+
pendingText: string;
|
|
100
|
+
lineType: "solid" | "dashed" | "dotted";
|
|
101
|
+
showTime: boolean;
|
|
77
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
103
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
78
104
|
declare const _default: typeof __VLS_export;
|
|
105
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
79
110
|
//#endregion
|
|
80
|
-
export {
|
|
111
|
+
export { TimelineProps as a, TimelineItem as i, DEFAULT_TIMELINE_PROPS as n, STATUS_COLOR_MAP as r, _default as t };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as vue from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/C_Transfer/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @Description: 穿梭框组件类型定义
|
|
6
|
+
*/
|
|
7
|
+
/** 穿梭框数据项 */
|
|
8
|
+
interface TransferItem {
|
|
9
|
+
/** 唯一标识 */
|
|
10
|
+
key: string | number;
|
|
11
|
+
/** 显示标签 */
|
|
12
|
+
label: string;
|
|
13
|
+
/** 是否禁用 */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** 分组名称 */
|
|
16
|
+
group?: string;
|
|
17
|
+
/** 描述信息(用于详细模式) */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** 图标(Iconify) */
|
|
20
|
+
icon?: string;
|
|
21
|
+
/** 额外数据 */
|
|
22
|
+
extra?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
/** 组件 Props */
|
|
25
|
+
interface TransferProps {
|
|
26
|
+
/** 数据源 */
|
|
27
|
+
data: TransferItem[];
|
|
28
|
+
/** 右侧已选 key 列表 (v-model) */
|
|
29
|
+
modelValue: Array<string | number>;
|
|
30
|
+
/** 左右栏标题 */
|
|
31
|
+
titles?: [string, string];
|
|
32
|
+
/** 是否可搜索 */
|
|
33
|
+
filterable?: boolean;
|
|
34
|
+
/** 搜索占位符 */
|
|
35
|
+
filterPlaceholder?: string;
|
|
36
|
+
/** 自定义筛选函数 */
|
|
37
|
+
filterMethod?: (query: string, item: TransferItem) => boolean;
|
|
38
|
+
/** 是否显示全选复选框 */
|
|
39
|
+
showSelectAll?: boolean;
|
|
40
|
+
/** 左侧空状态描述 */
|
|
41
|
+
sourceEmptyText?: string;
|
|
42
|
+
/** 右侧空状态描述 */
|
|
43
|
+
targetEmptyText?: string;
|
|
44
|
+
/** 尺寸 */
|
|
45
|
+
size?: 'small' | 'medium' | 'large';
|
|
46
|
+
}
|
|
47
|
+
/** 默认 Props */
|
|
48
|
+
declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/components/C_Transfer/index.vue.d.ts
|
|
51
|
+
type __VLS_Props = {
|
|
52
|
+
data: TransferProps['data'];
|
|
53
|
+
modelValue: TransferProps['modelValue'];
|
|
54
|
+
titles?: TransferProps['titles'];
|
|
55
|
+
filterable?: boolean;
|
|
56
|
+
filterPlaceholder?: string;
|
|
57
|
+
filterMethod?: TransferProps['filterMethod'];
|
|
58
|
+
showSelectAll?: boolean;
|
|
59
|
+
sourceEmptyText?: string;
|
|
60
|
+
targetEmptyText?: string;
|
|
61
|
+
size?: TransferProps['size'];
|
|
62
|
+
};
|
|
63
|
+
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
+
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
+
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
66
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
+
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
size: "small" | "medium" | "large";
|
|
71
|
+
filterable: boolean;
|
|
72
|
+
titles: [string, string];
|
|
73
|
+
filterPlaceholder: string;
|
|
74
|
+
showSelectAll: boolean;
|
|
75
|
+
sourceEmptyText: string;
|
|
76
|
+
targetEmptyText: string;
|
|
77
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
|
+
declare const _default: typeof __VLS_export;
|
|
79
|
+
//#endregion
|
|
80
|
+
export { TransferProps as i, DEFAULT_TRANSFER_PROPS as n, TransferItem as r, _default as t };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as vue from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/C_Transfer/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @Description: 穿梭框组件类型定义
|
|
6
|
+
*/
|
|
7
|
+
/** 穿梭框数据项 */
|
|
8
|
+
interface TransferItem {
|
|
9
|
+
/** 唯一标识 */
|
|
10
|
+
key: string | number;
|
|
11
|
+
/** 显示标签 */
|
|
12
|
+
label: string;
|
|
13
|
+
/** 是否禁用 */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** 分组名称 */
|
|
16
|
+
group?: string;
|
|
17
|
+
/** 描述信息(用于详细模式) */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** 图标(Iconify) */
|
|
20
|
+
icon?: string;
|
|
21
|
+
/** 额外数据 */
|
|
22
|
+
extra?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
/** 组件 Props */
|
|
25
|
+
interface TransferProps {
|
|
26
|
+
/** 数据源 */
|
|
27
|
+
data: TransferItem[];
|
|
28
|
+
/** 右侧已选 key 列表 (v-model) */
|
|
29
|
+
modelValue: Array<string | number>;
|
|
30
|
+
/** 左右栏标题 */
|
|
31
|
+
titles?: [string, string];
|
|
32
|
+
/** 是否可搜索 */
|
|
33
|
+
filterable?: boolean;
|
|
34
|
+
/** 搜索占位符 */
|
|
35
|
+
filterPlaceholder?: string;
|
|
36
|
+
/** 自定义筛选函数 */
|
|
37
|
+
filterMethod?: (query: string, item: TransferItem) => boolean;
|
|
38
|
+
/** 是否显示全选复选框 */
|
|
39
|
+
showSelectAll?: boolean;
|
|
40
|
+
/** 左侧空状态描述 */
|
|
41
|
+
sourceEmptyText?: string;
|
|
42
|
+
/** 右侧空状态描述 */
|
|
43
|
+
targetEmptyText?: string;
|
|
44
|
+
/** 尺寸 */
|
|
45
|
+
size?: 'small' | 'medium' | 'large';
|
|
46
|
+
}
|
|
47
|
+
/** 默认 Props */
|
|
48
|
+
declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/components/C_Transfer/index.vue.d.ts
|
|
51
|
+
type __VLS_Props = {
|
|
52
|
+
data: TransferProps['data'];
|
|
53
|
+
modelValue: TransferProps['modelValue'];
|
|
54
|
+
titles?: TransferProps['titles'];
|
|
55
|
+
filterable?: boolean;
|
|
56
|
+
filterPlaceholder?: string;
|
|
57
|
+
filterMethod?: TransferProps['filterMethod'];
|
|
58
|
+
showSelectAll?: boolean;
|
|
59
|
+
sourceEmptyText?: string;
|
|
60
|
+
targetEmptyText?: string;
|
|
61
|
+
size?: TransferProps['size'];
|
|
62
|
+
};
|
|
63
|
+
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
+
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
+
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
66
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
+
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
size: "small" | "medium" | "large";
|
|
71
|
+
filterable: boolean;
|
|
72
|
+
titles: [string, string];
|
|
73
|
+
filterPlaceholder: string;
|
|
74
|
+
showSelectAll: boolean;
|
|
75
|
+
sourceEmptyText: string;
|
|
76
|
+
targetEmptyText: string;
|
|
77
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
|
+
declare const _default: typeof __VLS_export;
|
|
79
|
+
//#endregion
|
|
80
|
+
export { TransferProps as i, DEFAULT_TRANSFER_PROPS as n, TransferItem as r, _default as t };
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -20,13 +20,13 @@ 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
|
-
showBorder: boolean;
|
|
24
|
-
label: string;
|
|
25
|
-
showLabel: boolean;
|
|
26
|
-
lineColor: string;
|
|
27
23
|
height: number;
|
|
28
|
-
width: number;
|
|
29
24
|
fontSize: number;
|
|
25
|
+
label: string;
|
|
26
|
+
width: number;
|
|
27
|
+
lineColor: string;
|
|
28
|
+
showBorder: boolean;
|
|
29
|
+
showLabel: boolean;
|
|
30
30
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
31
|
showText: boolean;
|
|
32
32
|
textPosition: "bottom" | "top";
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -20,13 +20,13 @@ 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
|
-
showBorder: boolean;
|
|
24
|
-
label: string;
|
|
25
|
-
showLabel: boolean;
|
|
26
|
-
lineColor: string;
|
|
27
23
|
height: number;
|
|
28
|
-
width: number;
|
|
29
24
|
fontSize: number;
|
|
25
|
+
label: string;
|
|
26
|
+
width: number;
|
|
27
|
+
lineColor: string;
|
|
28
|
+
showBorder: boolean;
|
|
29
|
+
showLabel: boolean;
|
|
30
30
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
31
|
showText: boolean;
|
|
32
32
|
textPosition: "bottom" | "top";
|
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
|
-
change: (value: CascadeValue) => any;
|
|
23
22
|
"update:modelValue": (value: CascadeValue) => any;
|
|
23
|
+
change: (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
onChange?: ((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
|
-
change: (value: CascadeValue) => any;
|
|
23
22
|
"update:modelValue": (value: CascadeValue) => any;
|
|
23
|
+
change: (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholders: string[];
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -104,8 +104,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
104
104
|
"onEmoji-click"?: (() => any) | undefined;
|
|
105
105
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
title: string;
|
|
108
107
|
placeholder: string;
|
|
108
|
+
title: string;
|
|
109
109
|
showContacts: boolean;
|
|
110
110
|
showTimestamp: boolean;
|
|
111
111
|
showSendBtn: boolean;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -104,8 +104,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
104
104
|
"onEmoji-click"?: (() => any) | undefined;
|
|
105
105
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
title: string;
|
|
108
107
|
placeholder: string;
|
|
108
|
+
title: string;
|
|
109
109
|
showContacts: boolean;
|
|
110
110
|
showTimestamp: boolean;
|
|
111
111
|
showSendBtn: boolean;
|
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
|
-
change: (value: string) => any;
|
|
18
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
onChange?: ((value: string) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onChange?: ((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
|
-
change: (value: string) => any;
|
|
18
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
onChange?: ((value: string) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onChange?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -25,20 +25,20 @@ 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
|
+
trim: boolean;
|
|
36
37
|
code: string;
|
|
37
38
|
language: string;
|
|
38
39
|
showHeader: boolean;
|
|
39
40
|
showLineNumbers: boolean;
|
|
40
41
|
wordWrap: boolean;
|
|
41
|
-
trim: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index9.vue.d.cts
CHANGED
|
@@ -25,20 +25,20 @@ 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
|
+
trim: boolean;
|
|
36
37
|
code: string;
|
|
37
38
|
language: string;
|
|
38
39
|
showHeader: boolean;
|
|
39
40
|
showLineNumbers: boolean;
|
|
40
41
|
wordWrap: boolean;
|
|
41
|
-
trim: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
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
|
+
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
|
-
disabled: boolean;
|
|
79
78
|
items: ContextMenuItem[];
|
|
79
|
+
disabled: boolean;
|
|
80
80
|
zIndex: number;
|
|
81
81
|
minWidth: number;
|
|
82
82
|
maxWidth: number;
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
91
91
|
onReady?: ((map: MapInstance) => any) | undefined;
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
+
height: string;
|
|
95
|
+
center: MapCoordinate;
|
|
94
96
|
ariaLabel: string;
|
|
95
97
|
zoom: number;
|
|
96
|
-
center: MapCoordinate;
|
|
97
|
-
height: string;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
91
91
|
onReady?: ((map: MapInstance) => any) | undefined;
|
|
92
92
|
onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
+
height: string;
|
|
95
|
+
center: MapCoordinate;
|
|
94
96
|
ariaLabel: string;
|
|
95
97
|
zoom: number;
|
|
96
|
-
center: MapCoordinate;
|
|
97
|
-
height: string;
|
|
98
98
|
mapType: MapType;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
package/dist/presets.d.cts
CHANGED
|
@@ -67,8 +67,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
67
67
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
68
68
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
actions: ActionItem[];
|
|
71
70
|
config: ActionBarConfig;
|
|
71
|
+
actions: ActionItem[];
|
|
72
72
|
leftActions: ActionItem[];
|
|
73
73
|
rightActions: ActionItem[];
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/presets.d.ts
CHANGED
|
@@ -67,8 +67,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
67
67
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
68
68
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
actions: ActionItem[];
|
|
71
70
|
config: ActionBarConfig;
|
|
71
|
+
actions: ActionItem[];
|
|
72
72
|
leftActions: ActionItem[];
|
|
73
73
|
rightActions: ActionItem[];
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/resolver.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}exports.RobotNaiveUiResolver=r,exports.componentNames=t;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}exports.RobotNaiveUiResolver=r,exports.componentNames=t;
|
package/dist/resolver.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/resolver.d.ts
|
|
2
2
|
/** 组件库包含的所有组件名称 */
|
|
3
|
-
declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
|
|
3
|
+
declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
|
|
4
4
|
/** 组件名称类型 */
|
|
5
5
|
type ComponentName = (typeof componentNames)[number];
|
|
6
6
|
/** Component style loading strategy. `true` is kept as an alias of `full`. */
|
package/dist/resolver.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/resolver.d.ts
|
|
2
2
|
/** 组件库包含的所有组件名称 */
|
|
3
|
-
declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
|
|
3
|
+
declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
|
|
4
4
|
/** 组件名称类型 */
|
|
5
5
|
type ComponentName = (typeof componentNames)[number];
|
|
6
6
|
/** Component style loading strategy. `true` is kept as an alias of `full`. */
|
package/dist/resolver.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}export{r as RobotNaiveUiResolver,t as componentNames};
|
|
1
|
+
const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}export{r as RobotNaiveUiResolver,t as componentNames};
|