@robot-admin/naive-ui-components 0.11.1 → 0.11.3
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 +12 -0
- package/dist/C_Form2.cjs +1 -1
- package/dist/C_Form2.js +1 -1
- package/dist/constants.d.cts +4 -4
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.cts +5 -5
- package/dist/constants2.d.ts +5 -5
- package/dist/constants3.d.cts +5 -5
- package/dist/constants3.d.ts +5 -5
- package/dist/constants4.d.cts +4 -4
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +1 -1
- package/dist/data.d.ts +1 -1
- 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/index12.vue.d.ts +5 -5
- package/dist/index13.vue.d.cts +5 -5
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index14.vue.d.ts +6 -6
- package/dist/index15.vue.d.cts +6 -6
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +5 -5
- package/dist/index18.vue.d.cts +5 -5
- package/dist/index18.vue.d.ts +3 -3
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +5 -5
- package/dist/index2.vue.d.ts +5 -5
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index24.vue.d.cts +3 -3
- package/dist/index24.vue.d.ts +3 -3
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +3 -3
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +1 -1
- package/dist/useCollapsePanel.d.ts +1 -1
- package/dist/useCropperCore.d.cts +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDraggableLayout.d.cts +5 -5
- package/dist/useDraggableLayout.d.ts +5 -5
- package/dist/useDynamicFormState.d.cts +75 -84
- package/dist/useDynamicFormState.d.ts +75 -84
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.cts +7 -7
- package/dist/useSearchState.d.ts +7 -7
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +1 -1
- package/dist/useSplitResize.d.ts +1 -1
- package/dist/useTableQuery.d.cts +5 -5
- package/dist/useTableQuery.d.ts +5 -5
- package/dist/useTimeSelection.d.cts +4 -4
- package/dist/useTimeSelection.d.ts +4 -4
- package/dist/useTreeOperations.d.cts +5 -5
- package/dist/useTreeOperations.d.ts +5 -5
- package/dist/useWorkflowValidation.d.cts +5 -5
- package/dist/useWorkflowValidation.d.ts +5 -5
- package/package.json +1 -1
|
@@ -91,25 +91,25 @@ interface SignatureEmits {
|
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
93
93
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
94
|
+
change: (data: SignatureStroke[]) => any;
|
|
94
95
|
clear: () => any;
|
|
95
96
|
"start-draw": () => any;
|
|
96
97
|
drawing: (point: SignaturePoint) => any;
|
|
97
98
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
98
99
|
undo: () => any;
|
|
99
100
|
redo: () => any;
|
|
100
|
-
change: (data: SignatureStroke[]) => any;
|
|
101
101
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
102
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
102
103
|
onClear?: (() => any) | undefined;
|
|
103
104
|
"onStart-draw"?: (() => any) | undefined;
|
|
104
105
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
105
106
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
106
107
|
onUndo?: (() => any) | undefined;
|
|
107
108
|
onRedo?: (() => any) | undefined;
|
|
108
|
-
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
109
109
|
}>, {
|
|
110
|
+
disabled: boolean;
|
|
110
111
|
width: number | string;
|
|
111
112
|
height: number | string;
|
|
112
|
-
disabled: boolean;
|
|
113
113
|
readonly: boolean;
|
|
114
114
|
showToolbar: boolean;
|
|
115
115
|
maxHistory: number;
|
|
@@ -91,25 +91,25 @@ interface SignatureEmits {
|
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
93
93
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
94
|
+
change: (data: SignatureStroke[]) => any;
|
|
94
95
|
clear: () => any;
|
|
95
96
|
"start-draw": () => any;
|
|
96
97
|
drawing: (point: SignaturePoint) => any;
|
|
97
98
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
98
99
|
undo: () => any;
|
|
99
100
|
redo: () => any;
|
|
100
|
-
change: (data: SignatureStroke[]) => any;
|
|
101
101
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
102
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
102
103
|
onClear?: (() => any) | undefined;
|
|
103
104
|
"onStart-draw"?: (() => any) | undefined;
|
|
104
105
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
105
106
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
106
107
|
onUndo?: (() => any) | undefined;
|
|
107
108
|
onRedo?: (() => any) | undefined;
|
|
108
|
-
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
109
109
|
}>, {
|
|
110
|
+
disabled: boolean;
|
|
110
111
|
width: number | string;
|
|
111
112
|
height: number | string;
|
|
112
|
-
disabled: boolean;
|
|
113
113
|
readonly: boolean;
|
|
114
114
|
showToolbar: boolean;
|
|
115
115
|
maxHistory: number;
|
|
@@ -80,10 +80,10 @@ declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}
|
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
82
|
direction: SplitDirection;
|
|
83
|
-
collapsible: boolean;
|
|
84
83
|
defaultSize: number;
|
|
85
84
|
minSize: number;
|
|
86
85
|
maxSize: number;
|
|
86
|
+
collapsible: boolean;
|
|
87
87
|
showCollapseButton: boolean;
|
|
88
88
|
gutterSize: number;
|
|
89
89
|
step: number;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -80,10 +80,10 @@ declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}
|
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
82
|
direction: SplitDirection;
|
|
83
|
-
collapsible: boolean;
|
|
84
83
|
defaultSize: number;
|
|
85
84
|
minSize: number;
|
|
86
85
|
maxSize: number;
|
|
86
|
+
collapsible: boolean;
|
|
87
87
|
showCollapseButton: boolean;
|
|
88
88
|
gutterSize: number;
|
|
89
89
|
step: number;
|
package/dist/useTableQuery.d.cts
CHANGED
|
@@ -297,14 +297,14 @@ declare function exportTableData(data: DataRecord[], columns: TableColumn[], con
|
|
|
297
297
|
/**
|
|
298
298
|
* 可绑定到 C_Table 的 CRUD 对象接口(桥接类型)
|
|
299
299
|
*
|
|
300
|
-
* C_Table
|
|
301
|
-
*
|
|
302
|
-
*
|
|
300
|
+
* C_Table 内部会将外部 columns 规范化为自己的 TableColumn。
|
|
301
|
+
* columns 刻意使用 unknown[] 作为跨包边界,避免要求 CRUD 数据源与组件库
|
|
302
|
+
* 共享同一份 TableColumn 声明;直接使用 columns prop 时仍保留完整的强类型校验。
|
|
303
303
|
*/
|
|
304
304
|
interface CrudBinding<T extends object = DataRecord> {
|
|
305
305
|
data: Ref<T[]>;
|
|
306
306
|
loading: Ref<boolean>;
|
|
307
|
-
columns: ComputedRef<
|
|
307
|
+
columns: ComputedRef<readonly unknown[]>;
|
|
308
308
|
actions?: ComputedRef<SimpleTableActions<T>>;
|
|
309
309
|
pagination?: ComputedRef<PaginationConfig | boolean | undefined>;
|
|
310
310
|
tableRef?: Ref<any>;
|
|
@@ -1095,7 +1095,7 @@ declare const __VLS_export: <T extends object = DataRecord>(__VLS_props: NonNull
|
|
|
1095
1095
|
error: ErrorConfig;
|
|
1096
1096
|
}) => any;
|
|
1097
1097
|
};
|
|
1098
|
-
emit: ((evt: "
|
|
1098
|
+
emit: ((evt: "save", rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => void) & ((evt: "pagination-change", ...args: [page: number, pageSize: number] & [page: number, pageSize: number]) => void) & ((evt: "row-delete", ...args: [deletedRow: DataRecord, index: number] & [deletedRow: DataRecord, index: number]) => void) & ((evt: "batch-action-error", error: unknown, actionKey: string) => void) & ((evt: "row-key-error", issues: TableRowKeyIssue<DataRecord>[]) => void) & ((evt: "expand-change", expandedKeys: DataTableRowKey[], row?: DataRecord | undefined, expanded?: boolean | undefined) => void) & ((evt: "selection-change", checkedKeys: DataTableRowKey[], checkedRows: DataRecord[], childSelections?: Map<DataTableRowKey, DataTableRowKey[]> | undefined) => void) & ((evt: "child-selection-change", parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: DataRecord[]) => void) & ((evt: "parent-child-link-change", parentKey: DataTableRowKey, shouldSelect: boolean) => void) & ((evt: "update:data", data: DataRecord[]) => void) & ((evt: "cancel", rowData: DataRecord, rowIndex: number) => void) & ((evt: "edit-error", error: unknown) => void) & ((evt: "row-add", newRow: DataRecord) => void) & ((evt: "row-copy", originalRow: DataRecord, newRow: DataRecord) => void) & ((evt: "row-move", row: DataRecord, fromIndex: number, toIndex: number) => void) & ((evt: "row-selection-change", selectedKey: DataTableRowKey | null, selectedRow: DataRecord | null) => void) & ((evt: "view-detail", data: DataRecord) => void) & ((evt: "column-change", columns: TableColumn[]) => void);
|
|
1099
1099
|
}>) => vue.VNode & {
|
|
1100
1100
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1101
1101
|
};
|
package/dist/useTableQuery.d.ts
CHANGED
|
@@ -297,14 +297,14 @@ declare function exportTableData(data: DataRecord[], columns: TableColumn[], con
|
|
|
297
297
|
/**
|
|
298
298
|
* 可绑定到 C_Table 的 CRUD 对象接口(桥接类型)
|
|
299
299
|
*
|
|
300
|
-
* C_Table
|
|
301
|
-
*
|
|
302
|
-
*
|
|
300
|
+
* C_Table 内部会将外部 columns 规范化为自己的 TableColumn。
|
|
301
|
+
* columns 刻意使用 unknown[] 作为跨包边界,避免要求 CRUD 数据源与组件库
|
|
302
|
+
* 共享同一份 TableColumn 声明;直接使用 columns prop 时仍保留完整的强类型校验。
|
|
303
303
|
*/
|
|
304
304
|
interface CrudBinding<T extends object = DataRecord> {
|
|
305
305
|
data: Ref<T[]>;
|
|
306
306
|
loading: Ref<boolean>;
|
|
307
|
-
columns: ComputedRef<
|
|
307
|
+
columns: ComputedRef<readonly unknown[]>;
|
|
308
308
|
actions?: ComputedRef<SimpleTableActions<T>>;
|
|
309
309
|
pagination?: ComputedRef<PaginationConfig | boolean | undefined>;
|
|
310
310
|
tableRef?: Ref<any>;
|
|
@@ -1095,7 +1095,7 @@ declare const __VLS_export: <T extends object = DataRecord>(__VLS_props: NonNull
|
|
|
1095
1095
|
error: ErrorConfig;
|
|
1096
1096
|
}) => any;
|
|
1097
1097
|
};
|
|
1098
|
-
emit: ((evt: "
|
|
1098
|
+
emit: ((evt: "save", rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => void) & ((evt: "pagination-change", ...args: [page: number, pageSize: number] & [page: number, pageSize: number]) => void) & ((evt: "row-delete", ...args: [deletedRow: DataRecord, index: number] & [deletedRow: DataRecord, index: number]) => void) & ((evt: "batch-action-error", error: unknown, actionKey: string) => void) & ((evt: "row-key-error", issues: TableRowKeyIssue<DataRecord>[]) => void) & ((evt: "expand-change", expandedKeys: DataTableRowKey[], row?: DataRecord | undefined, expanded?: boolean | undefined) => void) & ((evt: "selection-change", checkedKeys: DataTableRowKey[], checkedRows: DataRecord[], childSelections?: Map<DataTableRowKey, DataTableRowKey[]> | undefined) => void) & ((evt: "child-selection-change", parentKey: DataTableRowKey, childKeys: DataTableRowKey[], childRows: DataRecord[]) => void) & ((evt: "parent-child-link-change", parentKey: DataTableRowKey, shouldSelect: boolean) => void) & ((evt: "update:data", data: DataRecord[]) => void) & ((evt: "cancel", rowData: DataRecord, rowIndex: number) => void) & ((evt: "edit-error", error: unknown) => void) & ((evt: "row-add", newRow: DataRecord) => void) & ((evt: "row-copy", originalRow: DataRecord, newRow: DataRecord) => void) & ((evt: "row-move", row: DataRecord, fromIndex: number, toIndex: number) => void) & ((evt: "row-selection-change", selectedKey: DataTableRowKey | null, selectedRow: DataRecord | null) => void) & ((evt: "view-detail", data: DataRecord) => void) & ((evt: "column-change", columns: TableColumn[]) => void);
|
|
1099
1099
|
}>) => vue.VNode & {
|
|
1100
1100
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1101
1101
|
};
|
|
@@ -44,26 +44,26 @@ interface TimeExpose {
|
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/C_Time/index.vue.d.ts
|
|
46
46
|
declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
47
|
-
change: (value: TimeModelValue) => any;
|
|
48
47
|
"update:modelValue": (value: TimeModelValue) => any;
|
|
48
|
+
change: (value: TimeModelValue) => any;
|
|
49
49
|
"change-range": (startTime: number | null, endTime: number | null) => any;
|
|
50
50
|
"change-single": (time: number | null) => any;
|
|
51
51
|
"change-start": (time: number | null) => any;
|
|
52
52
|
"change-end": (time: number | null) => any;
|
|
53
53
|
}, string, vue.PublicProps, Readonly<TimeProps> & Readonly<{
|
|
54
|
-
onChange?: ((value: TimeModelValue) => any) | undefined;
|
|
55
54
|
"onUpdate:modelValue"?: ((value: TimeModelValue) => any) | undefined;
|
|
55
|
+
onChange?: ((value: TimeModelValue) => any) | undefined;
|
|
56
56
|
"onChange-range"?: ((startTime: number | null, endTime: number | null) => any) | undefined;
|
|
57
57
|
"onChange-single"?: ((time: number | null) => any) | undefined;
|
|
58
58
|
"onChange-start"?: ((time: number | null) => any) | undefined;
|
|
59
59
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
-
mode: TimeMode;
|
|
62
61
|
placeholder: string;
|
|
63
62
|
format: string;
|
|
63
|
+
mode: TimeMode;
|
|
64
|
+
attrs: Record<string, any>;
|
|
64
65
|
startPlaceholder: string;
|
|
65
66
|
endPlaceholder: string;
|
|
66
|
-
attrs: Record<string, any>;
|
|
67
67
|
useHours: boolean;
|
|
68
68
|
useMinutes: boolean;
|
|
69
69
|
useSeconds: boolean;
|
|
@@ -44,26 +44,26 @@ interface TimeExpose {
|
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/C_Time/index.vue.d.ts
|
|
46
46
|
declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
47
|
-
change: (value: TimeModelValue) => any;
|
|
48
47
|
"update:modelValue": (value: TimeModelValue) => any;
|
|
48
|
+
change: (value: TimeModelValue) => any;
|
|
49
49
|
"change-range": (startTime: number | null, endTime: number | null) => any;
|
|
50
50
|
"change-single": (time: number | null) => any;
|
|
51
51
|
"change-start": (time: number | null) => any;
|
|
52
52
|
"change-end": (time: number | null) => any;
|
|
53
53
|
}, string, vue.PublicProps, Readonly<TimeProps> & Readonly<{
|
|
54
|
-
onChange?: ((value: TimeModelValue) => any) | undefined;
|
|
55
54
|
"onUpdate:modelValue"?: ((value: TimeModelValue) => any) | undefined;
|
|
55
|
+
onChange?: ((value: TimeModelValue) => any) | undefined;
|
|
56
56
|
"onChange-range"?: ((startTime: number | null, endTime: number | null) => any) | undefined;
|
|
57
57
|
"onChange-single"?: ((time: number | null) => any) | undefined;
|
|
58
58
|
"onChange-start"?: ((time: number | null) => any) | undefined;
|
|
59
59
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
-
mode: TimeMode;
|
|
62
61
|
placeholder: string;
|
|
63
62
|
format: string;
|
|
63
|
+
mode: TimeMode;
|
|
64
|
+
attrs: Record<string, any>;
|
|
64
65
|
startPlaceholder: string;
|
|
65
66
|
endPlaceholder: string;
|
|
66
|
-
attrs: Record<string, any>;
|
|
67
67
|
useHours: boolean;
|
|
68
68
|
useMinutes: boolean;
|
|
69
69
|
useSeconds: boolean;
|
|
@@ -91,22 +91,23 @@ type __VLS_Slots = {} & {
|
|
|
91
91
|
};
|
|
92
92
|
declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
93
93
|
add: (parentNode?: TreeNodeData | undefined) => any;
|
|
94
|
-
refresh: () => any;
|
|
95
94
|
"node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
|
|
96
95
|
"node-action": (action: string, node: TreeNodeData) => any;
|
|
97
96
|
"node-drop": (info: DropInfo) => any;
|
|
97
|
+
refresh: () => any;
|
|
98
98
|
}, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
|
|
99
99
|
onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
|
|
100
|
-
onRefresh?: (() => any) | undefined;
|
|
101
100
|
"onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
|
|
102
101
|
"onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
|
|
103
102
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
103
|
+
onRefresh?: (() => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
mode: TreeMode;
|
|
106
|
-
showToolbar: boolean;
|
|
107
105
|
actions: ActionConfig[];
|
|
108
106
|
labelField: string;
|
|
109
107
|
childrenField: string;
|
|
108
|
+
mode: TreeMode;
|
|
109
|
+
showToolbar: boolean;
|
|
110
|
+
defaultExpandAll: boolean;
|
|
110
111
|
draggable: boolean;
|
|
111
112
|
keyField: string;
|
|
112
113
|
searchPattern: string;
|
|
@@ -119,7 +120,6 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
|
|
|
119
120
|
iconField: string;
|
|
120
121
|
iconConfig: IconConfig;
|
|
121
122
|
statusConfigs: StatusConfig[];
|
|
122
|
-
defaultExpandAll: boolean;
|
|
123
123
|
defaultExpandedKeys: (string | number)[];
|
|
124
124
|
defaultSelectedKeys: (string | number)[];
|
|
125
125
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -91,22 +91,23 @@ type __VLS_Slots = {} & {
|
|
|
91
91
|
};
|
|
92
92
|
declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
93
93
|
add: (parentNode?: TreeNodeData | undefined) => any;
|
|
94
|
-
refresh: () => any;
|
|
95
94
|
"node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
|
|
96
95
|
"node-action": (action: string, node: TreeNodeData) => any;
|
|
97
96
|
"node-drop": (info: DropInfo) => any;
|
|
97
|
+
refresh: () => any;
|
|
98
98
|
}, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
|
|
99
99
|
onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
|
|
100
|
-
onRefresh?: (() => any) | undefined;
|
|
101
100
|
"onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
|
|
102
101
|
"onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
|
|
103
102
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
103
|
+
onRefresh?: (() => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
mode: TreeMode;
|
|
106
|
-
showToolbar: boolean;
|
|
107
105
|
actions: ActionConfig[];
|
|
108
106
|
labelField: string;
|
|
109
107
|
childrenField: string;
|
|
108
|
+
mode: TreeMode;
|
|
109
|
+
showToolbar: boolean;
|
|
110
|
+
defaultExpandAll: boolean;
|
|
110
111
|
draggable: boolean;
|
|
111
112
|
keyField: string;
|
|
112
113
|
searchPattern: string;
|
|
@@ -119,7 +120,6 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
|
|
|
119
120
|
iconField: string;
|
|
120
121
|
iconConfig: IconConfig;
|
|
121
122
|
statusConfigs: StatusConfig[];
|
|
122
|
-
defaultExpandAll: boolean;
|
|
123
123
|
defaultExpandedKeys: (string | number)[];
|
|
124
124
|
defaultSelectedKeys: (string | number)[];
|
|
125
125
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -237,25 +237,25 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
237
237
|
conditionNodes: number;
|
|
238
238
|
}>;
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
|
-
change: (value: WorkflowData) => any;
|
|
241
240
|
"update:modelValue": (value: WorkflowData) => any;
|
|
241
|
+
change: (value: WorkflowData) => any;
|
|
242
242
|
"node-click": (node: WorkflowNode) => any;
|
|
243
|
-
"validate-error": (errors: ValidationError[]) => any;
|
|
244
243
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
245
244
|
save: (data: WorkflowData) => any;
|
|
245
|
+
"validate-error": (errors: ValidationError[]) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
|
-
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
248
247
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
248
|
+
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
249
249
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
250
|
-
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
251
250
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
252
251
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
252
|
+
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
|
-
readonly: boolean;
|
|
255
254
|
theme: "light" | "dark";
|
|
256
255
|
users: User[];
|
|
257
256
|
roles: Role[];
|
|
258
257
|
departments: Department[];
|
|
258
|
+
readonly: boolean;
|
|
259
259
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
260
260
|
declare const _default: typeof __VLS_export;
|
|
261
261
|
//#endregion
|
|
@@ -237,25 +237,25 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
237
237
|
conditionNodes: number;
|
|
238
238
|
}>;
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
|
-
change: (value: WorkflowData) => any;
|
|
241
240
|
"update:modelValue": (value: WorkflowData) => any;
|
|
241
|
+
change: (value: WorkflowData) => any;
|
|
242
242
|
"node-click": (node: WorkflowNode) => any;
|
|
243
|
-
"validate-error": (errors: ValidationError[]) => any;
|
|
244
243
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
245
244
|
save: (data: WorkflowData) => any;
|
|
245
|
+
"validate-error": (errors: ValidationError[]) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
|
-
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
248
247
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
248
|
+
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
249
249
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
250
|
-
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
251
250
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
252
251
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
252
|
+
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
|
-
readonly: boolean;
|
|
255
254
|
theme: "light" | "dark";
|
|
256
255
|
users: User[];
|
|
257
256
|
roles: Role[];
|
|
258
257
|
departments: Department[];
|
|
258
|
+
readonly: boolean;
|
|
259
259
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
260
260
|
declare const _default: typeof __VLS_export;
|
|
261
261
|
//#endregion
|