@robot-admin/naive-ui-components 0.33.0 → 0.34.0
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 +8 -0
- package/README.md +3 -1
- package/README_EN.md +3 -1
- package/dist/C_OrgChart.cjs +1 -1
- package/dist/C_OrgChart.css +67 -158
- package/dist/C_OrgChart.d.cts +22 -2
- package/dist/C_OrgChart.d.ts +22 -2
- package/dist/C_OrgChart.js +1 -1
- package/dist/C_OrgChart2.cjs +1 -1
- package/dist/C_OrgChart2.js +1 -1
- package/dist/C_Table.d.cts +1 -1
- package/dist/C_Table.d.ts +1 -1
- package/dist/C_Tree.d.cts +2 -2
- package/dist/C_Tree.d.ts +2 -2
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/data2.d.cts +4 -4
- package/dist/data2.d.ts +4 -4
- package/dist/editors.d.cts +36 -19
- package/dist/editors.d.ts +36 -19
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +23 -22
- package/dist/index.d.ts +23 -22
- package/dist/index.js +1 -1
- 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 +1 -1
- package/dist/index11.vue.d.cts +1 -1
- package/dist/index11.vue.d.ts +4 -4
- package/dist/index12.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +4 -4
- package/dist/index14.vue.d.cts +4 -4
- package/dist/index16.vue.d.ts +3 -3
- package/dist/index17.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +5 -5
- package/dist/index18.vue.d.cts +5 -5
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +5 -5
- package/dist/index22.vue.d.cts +5 -5
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +76 -43
- package/dist/index23.vue.d.ts +76 -43
- package/dist/index24.vue.d.cts +1 -1
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index28.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index30.vue.d.cts +1 -1
- package/dist/index30.vue.d.ts +1 -1
- package/dist/index31.vue.d.cts +5 -5
- package/dist/index31.vue.d.ts +5 -5
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +4 -4
- package/dist/index4.vue.d.ts +4 -4
- package/dist/index6.vue.d.cts +2 -2
- 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 +2 -2
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/style.css +67 -158
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +9 -9
- package/dist/useSplitResize.d.ts +9 -9
- package/dist/useWorkflowValidation.d.cts +7 -7
- package/dist/useWorkflowValidation.d.ts +7 -7
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/docs/guides/org-chart.md +133 -0
- package/docs/guides/tree-org-examples.md +145 -0
- package/docs/guides/tree.en.md +50 -0
- package/docs/guides/tree.md +53 -1
- package/package.json +1 -1
package/dist/index23.vue.d.cts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { VNodeChild } from "vue";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_OrgChart/types.d.ts
|
|
4
|
-
|
|
5
|
+
type OrgChartKey = string | number;
|
|
6
|
+
/** 默认节点格式;业务节点可直接通过 data 推导,不必继承此接口。 */
|
|
5
7
|
interface OrgChartNode {
|
|
6
8
|
/** 唯一标识 */
|
|
7
9
|
id: string | number;
|
|
@@ -25,9 +27,25 @@ type OrgChartDirection = 'vertical' | 'horizontal';
|
|
|
25
27
|
/** 连线样式 */
|
|
26
28
|
type OrgChartLineStyle = 'straight' | 'rounded' | 'stepped';
|
|
27
29
|
/** C_OrgChart Props */
|
|
28
|
-
interface OrgChartProps {
|
|
30
|
+
interface OrgChartProps<T extends object = OrgChartNode> {
|
|
29
31
|
/** 树形数据 */
|
|
30
|
-
data:
|
|
32
|
+
data: T;
|
|
33
|
+
/** 默认 id。各节点的键必须唯一,数字 0 是有效键。 */
|
|
34
|
+
keyField?: keyof T & string;
|
|
35
|
+
/** 默认 label。 */
|
|
36
|
+
labelField?: keyof T & string;
|
|
37
|
+
/** 默认 children;各级子项使用同一业务节点格式。 */
|
|
38
|
+
childrenField?: keyof T & string;
|
|
39
|
+
/** 默认 subtitle。 */
|
|
40
|
+
subtitleField?: keyof T & string;
|
|
41
|
+
/** 默认 avatar。 */
|
|
42
|
+
avatarField?: keyof T & string;
|
|
43
|
+
/** 受控选择;null 表示清空。未配置选择属性时保留旧版纯点击行为。 */
|
|
44
|
+
selectedKey?: OrgChartKey | null;
|
|
45
|
+
defaultSelectedKey?: OrgChartKey | null;
|
|
46
|
+
/** 受控展开。未传时由默认值或节点 collapsed 管理,不修改原节点。 */
|
|
47
|
+
expandedKeys?: readonly OrgChartKey[];
|
|
48
|
+
defaultExpandedKeys?: readonly OrgChartKey[];
|
|
31
49
|
/** 布局方向 */
|
|
32
50
|
direction?: OrgChartDirection;
|
|
33
51
|
/** 连线样式 */
|
|
@@ -55,51 +73,66 @@ interface OrgChartProps {
|
|
|
55
73
|
/** 是否可折叠 */
|
|
56
74
|
collapsible?: boolean;
|
|
57
75
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
76
|
+
interface OrgChartNodeSlotProps<T extends object = OrgChartNode> {
|
|
77
|
+
/** 未包装的原始业务节点。 */
|
|
78
|
+
node: T;
|
|
79
|
+
key: OrgChartKey;
|
|
62
80
|
isLeaf: boolean;
|
|
63
81
|
isExpanded: boolean;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
82
|
+
isSelected: boolean;
|
|
83
|
+
/** 自定义卡片可给原生按钮绑定此回调,保留键盘与内嵌操作的边界。 */
|
|
84
|
+
select: () => void;
|
|
85
|
+
toggle: () => void;
|
|
86
|
+
}
|
|
87
|
+
interface OrgChartSlots<T extends object = OrgChartNode> {
|
|
88
|
+
node?: (props: OrgChartNodeSlotProps<T>) => VNodeChild;
|
|
89
|
+
}
|
|
90
|
+
interface OrgChartEmits<T extends object = OrgChartNode> {
|
|
91
|
+
'node-click': [node: T];
|
|
92
|
+
'node-expand': [node: T];
|
|
93
|
+
'node-collapse': [node: T];
|
|
94
|
+
'update:selectedKey': [key: OrgChartKey | null, node: T];
|
|
95
|
+
'update:expandedKeys': [keys: OrgChartKey[], node: T];
|
|
96
|
+
}
|
|
97
|
+
/** 模板 ref 的公开接口;zoom 在组件实例上自动解包为数字。 */
|
|
98
|
+
interface OrgChartExpose<T extends object = OrgChartNode> {
|
|
99
|
+
zoom: number;
|
|
69
100
|
zoomIn: () => void;
|
|
70
101
|
zoomOut: () => void;
|
|
71
102
|
resetView: () => void;
|
|
72
103
|
fitView: () => Promise<void>;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
getNode: (key: OrgChartKey) => T | null;
|
|
105
|
+
/** 展开祖先、建议选中并居中;受控父端未接受展开时返回 false。 */
|
|
106
|
+
locate: (key: OrgChartKey) => Promise<boolean>;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/components/C_OrgChart/index.vue.d.ts
|
|
110
|
+
declare const __VLS_export: <T extends object = OrgChartNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
111
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<OrgChartProps<T> & {
|
|
112
|
+
"onNode-click"?: ((node: T) => any) | undefined;
|
|
113
|
+
"onNode-expand"?: ((node: T) => any) | undefined;
|
|
114
|
+
"onNode-collapse"?: ((node: T) => any) | undefined;
|
|
115
|
+
"onUpdate:selectedKey"?: ((key: OrgChartKey | null, node: T) => any) | undefined;
|
|
116
|
+
"onUpdate:expandedKeys"?: ((keys: OrgChartKey[], node: T) => any) | undefined;
|
|
117
|
+
}> & (typeof globalThis extends {
|
|
118
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
119
|
+
} ? P : {});
|
|
120
|
+
expose: (exposed: vue.ShallowUnwrapRef<{
|
|
121
|
+
zoom: vue.Ref<number, number>;
|
|
122
|
+
zoomIn: () => void;
|
|
123
|
+
zoomOut: () => void;
|
|
124
|
+
resetView: () => void;
|
|
125
|
+
fitView: () => Promise<void>;
|
|
126
|
+
getNode: (key: OrgChartKey) => T | null;
|
|
127
|
+
locate: (key: OrgChartKey) => Promise<boolean>;
|
|
128
|
+
}>) => void;
|
|
129
|
+
attrs: any;
|
|
130
|
+
slots: OrgChartSlots<T>;
|
|
131
|
+
emit: ((evt: "node-click", node: T) => void) & ((evt: "node-expand", node: T) => void) & ((evt: "node-collapse", node: T) => void) & ((evt: "update:selectedKey", key: OrgChartKey | null, node: T) => void) & ((evt: "update:expandedKeys", keys: OrgChartKey[], node: T) => void);
|
|
132
|
+
}>) => vue.VNode & {
|
|
133
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
103
134
|
};
|
|
135
|
+
declare const _default: typeof __VLS_export;
|
|
136
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
104
137
|
//#endregion
|
|
105
|
-
export {
|
|
138
|
+
export { OrgChartKey as a, OrgChartNodeSlotProps as c, OrgChartExpose as i, OrgChartProps as l, OrgChartDirection as n, OrgChartLineStyle as o, OrgChartEmits as r, OrgChartNode as s, _default as t, OrgChartSlots as u };
|
package/dist/index23.vue.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { VNodeChild } from "vue";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_OrgChart/types.d.ts
|
|
4
|
-
|
|
5
|
+
type OrgChartKey = string | number;
|
|
6
|
+
/** 默认节点格式;业务节点可直接通过 data 推导,不必继承此接口。 */
|
|
5
7
|
interface OrgChartNode {
|
|
6
8
|
/** 唯一标识 */
|
|
7
9
|
id: string | number;
|
|
@@ -25,9 +27,25 @@ type OrgChartDirection = 'vertical' | 'horizontal';
|
|
|
25
27
|
/** 连线样式 */
|
|
26
28
|
type OrgChartLineStyle = 'straight' | 'rounded' | 'stepped';
|
|
27
29
|
/** C_OrgChart Props */
|
|
28
|
-
interface OrgChartProps {
|
|
30
|
+
interface OrgChartProps<T extends object = OrgChartNode> {
|
|
29
31
|
/** 树形数据 */
|
|
30
|
-
data:
|
|
32
|
+
data: T;
|
|
33
|
+
/** 默认 id。各节点的键必须唯一,数字 0 是有效键。 */
|
|
34
|
+
keyField?: keyof T & string;
|
|
35
|
+
/** 默认 label。 */
|
|
36
|
+
labelField?: keyof T & string;
|
|
37
|
+
/** 默认 children;各级子项使用同一业务节点格式。 */
|
|
38
|
+
childrenField?: keyof T & string;
|
|
39
|
+
/** 默认 subtitle。 */
|
|
40
|
+
subtitleField?: keyof T & string;
|
|
41
|
+
/** 默认 avatar。 */
|
|
42
|
+
avatarField?: keyof T & string;
|
|
43
|
+
/** 受控选择;null 表示清空。未配置选择属性时保留旧版纯点击行为。 */
|
|
44
|
+
selectedKey?: OrgChartKey | null;
|
|
45
|
+
defaultSelectedKey?: OrgChartKey | null;
|
|
46
|
+
/** 受控展开。未传时由默认值或节点 collapsed 管理,不修改原节点。 */
|
|
47
|
+
expandedKeys?: readonly OrgChartKey[];
|
|
48
|
+
defaultExpandedKeys?: readonly OrgChartKey[];
|
|
31
49
|
/** 布局方向 */
|
|
32
50
|
direction?: OrgChartDirection;
|
|
33
51
|
/** 连线样式 */
|
|
@@ -55,51 +73,66 @@ interface OrgChartProps {
|
|
|
55
73
|
/** 是否可折叠 */
|
|
56
74
|
collapsible?: boolean;
|
|
57
75
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
76
|
+
interface OrgChartNodeSlotProps<T extends object = OrgChartNode> {
|
|
77
|
+
/** 未包装的原始业务节点。 */
|
|
78
|
+
node: T;
|
|
79
|
+
key: OrgChartKey;
|
|
62
80
|
isLeaf: boolean;
|
|
63
81
|
isExpanded: boolean;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
82
|
+
isSelected: boolean;
|
|
83
|
+
/** 自定义卡片可给原生按钮绑定此回调,保留键盘与内嵌操作的边界。 */
|
|
84
|
+
select: () => void;
|
|
85
|
+
toggle: () => void;
|
|
86
|
+
}
|
|
87
|
+
interface OrgChartSlots<T extends object = OrgChartNode> {
|
|
88
|
+
node?: (props: OrgChartNodeSlotProps<T>) => VNodeChild;
|
|
89
|
+
}
|
|
90
|
+
interface OrgChartEmits<T extends object = OrgChartNode> {
|
|
91
|
+
'node-click': [node: T];
|
|
92
|
+
'node-expand': [node: T];
|
|
93
|
+
'node-collapse': [node: T];
|
|
94
|
+
'update:selectedKey': [key: OrgChartKey | null, node: T];
|
|
95
|
+
'update:expandedKeys': [keys: OrgChartKey[], node: T];
|
|
96
|
+
}
|
|
97
|
+
/** 模板 ref 的公开接口;zoom 在组件实例上自动解包为数字。 */
|
|
98
|
+
interface OrgChartExpose<T extends object = OrgChartNode> {
|
|
99
|
+
zoom: number;
|
|
69
100
|
zoomIn: () => void;
|
|
70
101
|
zoomOut: () => void;
|
|
71
102
|
resetView: () => void;
|
|
72
103
|
fitView: () => Promise<void>;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
getNode: (key: OrgChartKey) => T | null;
|
|
105
|
+
/** 展开祖先、建议选中并居中;受控父端未接受展开时返回 false。 */
|
|
106
|
+
locate: (key: OrgChartKey) => Promise<boolean>;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/components/C_OrgChart/index.vue.d.ts
|
|
110
|
+
declare const __VLS_export: <T extends object = OrgChartNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
111
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<OrgChartProps<T> & {
|
|
112
|
+
"onNode-click"?: ((node: T) => any) | undefined;
|
|
113
|
+
"onNode-expand"?: ((node: T) => any) | undefined;
|
|
114
|
+
"onNode-collapse"?: ((node: T) => any) | undefined;
|
|
115
|
+
"onUpdate:selectedKey"?: ((key: OrgChartKey | null, node: T) => any) | undefined;
|
|
116
|
+
"onUpdate:expandedKeys"?: ((keys: OrgChartKey[], node: T) => any) | undefined;
|
|
117
|
+
}> & (typeof globalThis extends {
|
|
118
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
119
|
+
} ? P : {});
|
|
120
|
+
expose: (exposed: vue.ShallowUnwrapRef<{
|
|
121
|
+
zoom: vue.Ref<number, number>;
|
|
122
|
+
zoomIn: () => void;
|
|
123
|
+
zoomOut: () => void;
|
|
124
|
+
resetView: () => void;
|
|
125
|
+
fitView: () => Promise<void>;
|
|
126
|
+
getNode: (key: OrgChartKey) => T | null;
|
|
127
|
+
locate: (key: OrgChartKey) => Promise<boolean>;
|
|
128
|
+
}>) => void;
|
|
129
|
+
attrs: any;
|
|
130
|
+
slots: OrgChartSlots<T>;
|
|
131
|
+
emit: ((evt: "node-click", node: T) => void) & ((evt: "node-expand", node: T) => void) & ((evt: "node-collapse", node: T) => void) & ((evt: "update:selectedKey", key: OrgChartKey | null, node: T) => void) & ((evt: "update:expandedKeys", keys: OrgChartKey[], node: T) => void);
|
|
132
|
+
}>) => vue.VNode & {
|
|
133
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
103
134
|
};
|
|
135
|
+
declare const _default: typeof __VLS_export;
|
|
136
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
104
137
|
//#endregion
|
|
105
|
-
export {
|
|
138
|
+
export { OrgChartKey as a, OrgChartNodeSlotProps as c, OrgChartExpose as i, OrgChartProps as l, OrgChartDirection as n, OrgChartLineStyle as o, OrgChartEmits as r, OrgChartNode as s, _default as t, OrgChartSlots as u };
|
package/dist/index24.vue.d.cts
CHANGED
|
@@ -36,9 +36,9 @@ type __VLS_Slots = {} & {
|
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
38
|
strokeWidth: number;
|
|
39
|
-
time: number;
|
|
40
39
|
percentage: number | number[];
|
|
41
40
|
isAnimation: boolean;
|
|
41
|
+
time: number;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
|
43
43
|
showIndicator: boolean;
|
|
44
44
|
unit: string;
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -36,9 +36,9 @@ type __VLS_Slots = {} & {
|
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
38
|
strokeWidth: number;
|
|
39
|
-
time: number;
|
|
40
39
|
percentage: number | number[];
|
|
41
40
|
isAnimation: boolean;
|
|
41
|
+
time: number;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
|
43
43
|
showIndicator: boolean;
|
|
44
44
|
unit: string;
|
package/dist/index28.vue.d.cts
CHANGED
|
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
35
35
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
36
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
current: number;
|
|
39
38
|
direction: "horizontal" | "vertical";
|
|
40
39
|
clickable: boolean;
|
|
40
|
+
current: number;
|
|
41
41
|
connected: boolean;
|
|
42
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
package/dist/index28.vue.d.ts
CHANGED
|
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
35
35
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
36
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
current: number;
|
|
39
38
|
direction: "horizontal" | "vertical";
|
|
40
39
|
clickable: boolean;
|
|
40
|
+
current: number;
|
|
41
41
|
connected: boolean;
|
|
42
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -72,14 +72,14 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
72
72
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
size: number;
|
|
76
75
|
direction: "ltr" | "rtl";
|
|
77
|
-
clickable: boolean;
|
|
78
|
-
max: number;
|
|
79
76
|
overlap: number;
|
|
77
|
+
size: number;
|
|
78
|
+
max: number;
|
|
80
79
|
shape: "circle" | "square";
|
|
81
80
|
showStatus: boolean;
|
|
82
81
|
showTooltip: boolean;
|
|
82
|
+
clickable: boolean;
|
|
83
83
|
overflowClickable: boolean;
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -72,14 +72,14 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
72
72
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
size: number;
|
|
76
75
|
direction: "ltr" | "rtl";
|
|
77
|
-
clickable: boolean;
|
|
78
|
-
max: number;
|
|
79
76
|
overlap: number;
|
|
77
|
+
size: number;
|
|
78
|
+
max: number;
|
|
80
79
|
shape: "circle" | "square";
|
|
81
80
|
showStatus: boolean;
|
|
82
81
|
showTooltip: boolean;
|
|
82
|
+
clickable: boolean;
|
|
83
83
|
overflowClickable: boolean;
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/index30.vue.d.cts
CHANGED
|
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
85
85
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
86
|
onCloseAll?: (() => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
|
+
persistKey: string;
|
|
88
89
|
homePath: string;
|
|
89
90
|
homeTitle: string;
|
|
90
91
|
homeIcon: string;
|
|
91
|
-
persistKey: string;
|
|
92
92
|
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
package/dist/index30.vue.d.ts
CHANGED
|
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
85
85
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
86
|
onCloseAll?: (() => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
|
+
persistKey: string;
|
|
88
89
|
homePath: string;
|
|
89
90
|
homeTitle: string;
|
|
90
91
|
homeIcon: string;
|
|
91
|
-
persistKey: string;
|
|
92
92
|
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
package/dist/index31.vue.d.cts
CHANGED
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
87
|
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
|
+
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
|
+
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
size: "small" | "medium" | "large";
|
|
94
93
|
reverse: boolean;
|
|
95
|
-
|
|
94
|
+
size: "small" | "medium" | "large";
|
|
96
95
|
items: TimelineItem[];
|
|
97
|
-
|
|
96
|
+
mode: "vertical" | "horizontal";
|
|
98
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
|
+
pending: boolean;
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
|
101
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index31.vue.d.ts
CHANGED
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
87
|
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
|
+
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
|
+
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
size: "small" | "medium" | "large";
|
|
94
93
|
reverse: boolean;
|
|
95
|
-
|
|
94
|
+
size: "small" | "medium" | "large";
|
|
96
95
|
items: TimelineItem[];
|
|
97
|
-
|
|
96
|
+
mode: "vertical" | "horizontal";
|
|
98
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
|
+
pending: boolean;
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
|
101
101
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index32.vue.d.cts
CHANGED
|
@@ -61,15 +61,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
61
61
|
//#region src/components/C_Transfer/index.vue.d.ts
|
|
62
62
|
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
63
63
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
64
|
-
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
65
64
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
65
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
66
66
|
}> & (typeof globalThis extends {
|
|
67
67
|
__VLS_PROPS_FALLBACK: infer P;
|
|
68
68
|
} ? P : {});
|
|
69
69
|
expose: (exposed: {}) => void;
|
|
70
70
|
attrs: any;
|
|
71
71
|
slots: {};
|
|
72
|
-
emit: ((evt: "
|
|
72
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
73
73
|
}>) => vue.VNode & {
|
|
74
74
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
75
75
|
};
|
package/dist/index32.vue.d.ts
CHANGED
|
@@ -61,15 +61,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
61
61
|
//#region src/components/C_Transfer/index.vue.d.ts
|
|
62
62
|
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
63
63
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
64
|
-
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
65
64
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
65
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
66
66
|
}> & (typeof globalThis extends {
|
|
67
67
|
__VLS_PROPS_FALLBACK: infer P;
|
|
68
68
|
} ? P : {});
|
|
69
69
|
expose: (exposed: {}) => void;
|
|
70
70
|
attrs: any;
|
|
71
71
|
slots: {};
|
|
72
|
-
emit: ((evt: "
|
|
72
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
73
73
|
}>) => vue.VNode & {
|
|
74
74
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
75
75
|
};
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -20,17 +20,17 @@ 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
|
+
lineColor: string;
|
|
24
|
+
height: number;
|
|
25
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
23
26
|
label: string;
|
|
24
27
|
width: number;
|
|
25
28
|
fontSize: number;
|
|
26
|
-
lineColor: string;
|
|
27
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
|
-
height: number;
|
|
29
29
|
showBorder: boolean;
|
|
30
|
-
showLabel: boolean;
|
|
31
30
|
background: string;
|
|
32
31
|
showText: boolean;
|
|
33
32
|
textPosition: "bottom" | "top";
|
|
33
|
+
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -20,17 +20,17 @@ 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
|
+
lineColor: string;
|
|
24
|
+
height: number;
|
|
25
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
23
26
|
label: string;
|
|
24
27
|
width: number;
|
|
25
28
|
fontSize: number;
|
|
26
|
-
lineColor: string;
|
|
27
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
|
-
height: number;
|
|
29
29
|
showBorder: boolean;
|
|
30
|
-
showLabel: boolean;
|
|
31
30
|
background: string;
|
|
32
31
|
showText: boolean;
|
|
33
32
|
textPosition: "bottom" | "top";
|
|
33
|
+
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index6.vue.d.cts
CHANGED
|
@@ -111,11 +111,11 @@ interface MenuExpose {
|
|
|
111
111
|
//#region src/components/C_Menu/index.vue.d.ts
|
|
112
112
|
declare const __VLS_export: <Options extends MenuOption[] | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
113
113
|
props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
|
|
114
|
+
"onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
|
|
114
115
|
onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
115
116
|
"onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
116
117
|
onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
|
|
117
118
|
"onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
|
|
118
|
-
"onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
|
|
119
119
|
}> & (typeof globalThis extends {
|
|
120
120
|
__VLS_PROPS_FALLBACK: infer P;
|
|
121
121
|
} ? P : {});
|
|
@@ -125,7 +125,7 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
|
|
|
125
125
|
}>) => void;
|
|
126
126
|
attrs: any;
|
|
127
127
|
slots: {};
|
|
128
|
-
emit: ((evt: "
|
|
128
|
+
emit: ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
|
|
129
129
|
}>) => vue.VNode & {
|
|
130
130
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
131
131
|
};
|
package/dist/index7.vue.d.ts
CHANGED
|
@@ -22,11 +22,11 @@ type __VLS_Props = {
|
|
|
22
22
|
size?: 'small' | 'medium' | 'large';
|
|
23
23
|
};
|
|
24
24
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
25
|
-
change: (value: CascadeValue) => any;
|
|
26
25
|
"update:modelValue": (value: CascadeValue) => any;
|
|
26
|
+
change: (value: CascadeValue) => any;
|
|
27
27
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
29
28
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
29
|
+
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
placeholders: string[];
|
|
32
32
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index8.vue.d.cts
CHANGED
|
@@ -22,11 +22,11 @@ type __VLS_Props = {
|
|
|
22
22
|
size?: 'small' | 'medium' | 'large';
|
|
23
23
|
};
|
|
24
24
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
25
|
-
change: (value: CascadeValue) => any;
|
|
26
25
|
"update:modelValue": (value: CascadeValue) => any;
|
|
26
|
+
change: (value: CascadeValue) => any;
|
|
27
27
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
29
28
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
29
|
+
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
placeholders: string[];
|
|
32
32
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -88,25 +88,24 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
89
89
|
scrollToBottom: () => void;
|
|
90
90
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
91
|
-
"load-more": () => any;
|
|
92
91
|
send: (content: string) => any;
|
|
93
92
|
"select-contact": (id: string) => any;
|
|
93
|
+
"load-more": () => any;
|
|
94
94
|
"image-preview": (url: string) => any;
|
|
95
95
|
"file-click": (msg: ChatMessage) => any;
|
|
96
96
|
"file-upload": () => any;
|
|
97
97
|
"emoji-click": () => any;
|
|
98
98
|
resend: (msg: ChatMessage) => any;
|
|
99
99
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
100
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
101
100
|
onSend?: ((content: string) => any) | undefined;
|
|
102
101
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
102
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
103
103
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
104
104
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
105
105
|
"onFile-upload"?: (() => any) | undefined;
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
virtualScroll: boolean;
|
|
110
109
|
showContacts: boolean;
|
|
111
110
|
showTimestamp: boolean;
|
|
112
111
|
showSendBtn: boolean;
|
|
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
116
115
|
currentContactId: string;
|
|
117
116
|
selfAvatar: string;
|
|
118
117
|
selfName: string;
|
|
118
|
+
virtualScroll: boolean;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
121
121
|
declare const _default: typeof __VLS_export;
|