@das-fed/ui 7.1.0-hongfa.1 → 7.1.0-hongfa.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/packages/business-components/process-form/index.js +995 -1002
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/widgets/store.d.ts +6 -1
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-form/type.d.ts +1 -0
- package/packages/components/edit-table/index.d.ts +11 -2
- package/packages/components/edit-table/index.js +759 -744
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/index.vue.d.ts +1 -0
- package/packages/components/edit-table/src/type.d.ts +3 -0
- package/packages/components/tree/i18n/index.d.ts +5 -0
- package/packages/components/tree/index.js +1767 -1574
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +40 -16
- package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +11 -2
- package/packages/components/tree/src/type.d.ts +18 -1
- package/packages/components/tree/style.css +1 -1
- package/packages/components/tree/style.css.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +2 -2
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +2 -2
- package/packages/components/tree-v2/index.js +1982 -1933
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/virtual-tree/style.css +1 -1
- package/packages/components/virtual-tree/style.css.gz +0 -0
|
Binary file
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
type StoreOptions = {
|
|
2
|
+
/** 表单数据变更时回调(用于可靠触发组件 change,不依赖 deep watch) */
|
|
3
|
+
onChange?: (val: any) => void;
|
|
4
|
+
};
|
|
5
|
+
export declare const useStore: (options?: StoreOptions) => {
|
|
2
6
|
data: import("vue").Ref<{}, {}>;
|
|
3
7
|
formData: import("vue").Ref<never[], never[]>;
|
|
4
8
|
formRule: import("vue").Ref<Partial<Record<string, import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>>>, Partial<Record<string, import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
@@ -17,3 +21,4 @@ export declare const useStore: () => {
|
|
|
17
21
|
clearData: () => void;
|
|
18
22
|
deleteRule: (key: string) => void;
|
|
19
23
|
};
|
|
24
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-image[data-v-745a2e98]{background:#fff;margin:10px 0 30px}.table-search-process-top[data-v-cc180eb0]{display:flex;justify-content:space-between;align-items:center;margin:0 14px 6px}.table-search-process-top .left-box[data-v-cc180eb0]{display:flex;align-items:center}.form-image[data-v-b30e3d77]{background:#fff;margin:10px 0 30px}.accordion-layout{width:100%}.accordion-layout .grid-layout{padding:0}.custom-page[data-v-
|
|
1
|
+
.form-image[data-v-745a2e98]{background:#fff;margin:10px 0 30px}.table-search-process-top[data-v-cc180eb0]{display:flex;justify-content:space-between;align-items:center;margin:0 14px 6px}.table-search-process-top .left-box[data-v-cc180eb0]{display:flex;align-items:center}.form-image[data-v-b30e3d77]{background:#fff;margin:10px 0 30px}.accordion-layout{width:100%}.accordion-layout .grid-layout{padding:0}.custom-page[data-v-a6e8d345]{display:flex;flex-direction:column;background-color:#e2e7ef}.custom-page .btn-box[data-v-a6e8d345]{background-color:#fff;height:48px;line-height:48px;padding-left:18px}.custom-page .content-box[data-v-a6e8d345]{flex:1;min-height:0}
|
|
@@ -4,6 +4,7 @@ declare const DasEditTableRef: () => import("vue").Ref<({
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: {
|
|
6
6
|
readonly isView?: boolean | undefined;
|
|
7
|
+
readonly editTrigger?: "hover" | "focus" | undefined;
|
|
7
8
|
readonly config?: import("./src/type.js").ListConfig[] | undefined;
|
|
8
9
|
readonly data?: any[] | undefined;
|
|
9
10
|
readonly rowKey?: string | undefined;
|
|
@@ -72,6 +73,7 @@ declare const DasEditTableRef: () => import("vue").Ref<({
|
|
|
72
73
|
trigger: "change" | "blur" | "save";
|
|
73
74
|
rowKey: string;
|
|
74
75
|
selectionRows: any[];
|
|
76
|
+
editTrigger: "hover" | "focus";
|
|
75
77
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
76
78
|
beforeCreate?: (() => void) | (() => void)[];
|
|
77
79
|
created?: (() => void) | (() => void)[];
|
|
@@ -102,12 +104,13 @@ declare const DasEditTableRef: () => import("vue").Ref<({
|
|
|
102
104
|
trigger: "change" | "blur" | "save";
|
|
103
105
|
rowKey: string;
|
|
104
106
|
selectionRows: any[];
|
|
107
|
+
editTrigger: "hover" | "focus";
|
|
105
108
|
}> & Omit<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
106
109
|
onSortEnd?: ((oldData: any[], newData: any[], oldIndex: number, newIndex: number) => any) | undefined;
|
|
107
110
|
"onUpdate:selection-rows"?: ((selectionRows: any[]) => any) | undefined;
|
|
108
111
|
onAddRow?: (() => any) | undefined;
|
|
109
112
|
onRemoveRow?: (() => any) | undefined;
|
|
110
|
-
}>, "deactivateAll" | "removeErrorByRowKey" | "validateAll" | "clearValidate" | "changeRules" | "validateByRowKey" | "removeCellError" | ("config" | "props" | "data" | "trigger" | "rowKey" | "selectionRows") | "getResultData" | "recover" | "recoverByKey" | "insert" | "changeRowValueByKey" | "removeRowByKey"> & import("vue").ShallowUnwrapRef<{
|
|
113
|
+
}>, "deactivateAll" | "removeErrorByRowKey" | "validateAll" | "clearValidate" | "changeRules" | "validateByRowKey" | "removeCellError" | ("config" | "props" | "data" | "trigger" | "rowKey" | "selectionRows" | "editTrigger") | "getResultData" | "recover" | "recoverByKey" | "insert" | "changeRowValueByKey" | "removeRowByKey"> & import("vue").ShallowUnwrapRef<{
|
|
111
114
|
getResultData: () => {}[];
|
|
112
115
|
recover: () => void;
|
|
113
116
|
recoverByKey: (id: string | string[] | number | number[]) => void;
|
|
@@ -200,6 +203,7 @@ declare const DasEditTableRef: () => import("vue").Ref<({
|
|
|
200
203
|
$data: {};
|
|
201
204
|
$props: {
|
|
202
205
|
readonly isView?: boolean | undefined;
|
|
206
|
+
readonly editTrigger?: "hover" | "focus" | undefined;
|
|
203
207
|
readonly config?: import("./src/type.js").ListConfig[] | undefined;
|
|
204
208
|
readonly data?: any[] | undefined;
|
|
205
209
|
readonly rowKey?: string | undefined;
|
|
@@ -268,6 +272,7 @@ declare const DasEditTableRef: () => import("vue").Ref<({
|
|
|
268
272
|
trigger: "change" | "blur" | "save";
|
|
269
273
|
rowKey: string;
|
|
270
274
|
selectionRows: any[];
|
|
275
|
+
editTrigger: "hover" | "focus";
|
|
271
276
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
272
277
|
beforeCreate?: (() => void) | (() => void)[];
|
|
273
278
|
created?: (() => void) | (() => void)[];
|
|
@@ -298,12 +303,13 @@ declare const DasEditTableRef: () => import("vue").Ref<({
|
|
|
298
303
|
trigger: "change" | "blur" | "save";
|
|
299
304
|
rowKey: string;
|
|
300
305
|
selectionRows: any[];
|
|
306
|
+
editTrigger: "hover" | "focus";
|
|
301
307
|
}> & Omit<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
302
308
|
onSortEnd?: ((oldData: any[], newData: any[], oldIndex: number, newIndex: number) => any) | undefined;
|
|
303
309
|
"onUpdate:selection-rows"?: ((selectionRows: any[]) => any) | undefined;
|
|
304
310
|
onAddRow?: (() => any) | undefined;
|
|
305
311
|
onRemoveRow?: (() => any) | undefined;
|
|
306
|
-
}>, "deactivateAll" | "removeErrorByRowKey" | "validateAll" | "clearValidate" | "changeRules" | "validateByRowKey" | "removeCellError" | ("config" | "props" | "data" | "trigger" | "rowKey" | "selectionRows") | "getResultData" | "recover" | "recoverByKey" | "insert" | "changeRowValueByKey" | "removeRowByKey"> & import("vue").ShallowUnwrapRef<{
|
|
312
|
+
}>, "deactivateAll" | "removeErrorByRowKey" | "validateAll" | "clearValidate" | "changeRules" | "validateByRowKey" | "removeCellError" | ("config" | "props" | "data" | "trigger" | "rowKey" | "selectionRows" | "editTrigger") | "getResultData" | "recover" | "recoverByKey" | "insert" | "changeRowValueByKey" | "removeRowByKey"> & import("vue").ShallowUnwrapRef<{
|
|
307
313
|
getResultData: () => {}[];
|
|
308
314
|
recover: () => void;
|
|
309
315
|
recoverByKey: (id: string | string[] | number | number[]) => void;
|
|
@@ -431,6 +437,7 @@ declare const DasEditTable: import("@das-fed/utils").SFCWithInstall<{
|
|
|
431
437
|
trigger: "change" | "blur" | "save";
|
|
432
438
|
rowKey: string;
|
|
433
439
|
selectionRows: any[];
|
|
440
|
+
editTrigger: "hover" | "focus";
|
|
434
441
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
435
442
|
P: {};
|
|
436
443
|
B: {};
|
|
@@ -471,6 +478,7 @@ declare const DasEditTable: import("@das-fed/utils").SFCWithInstall<{
|
|
|
471
478
|
trigger: "change" | "blur" | "save";
|
|
472
479
|
rowKey: string;
|
|
473
480
|
selectionRows: any[];
|
|
481
|
+
editTrigger: "hover" | "focus";
|
|
474
482
|
}>;
|
|
475
483
|
__isFragment?: never;
|
|
476
484
|
__isTeleport?: never;
|
|
@@ -513,6 +521,7 @@ declare const DasEditTable: import("@das-fed/utils").SFCWithInstall<{
|
|
|
513
521
|
trigger: "change" | "blur" | "save";
|
|
514
522
|
rowKey: string;
|
|
515
523
|
selectionRows: any[];
|
|
524
|
+
editTrigger: "hover" | "focus";
|
|
516
525
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
517
526
|
$slots: {
|
|
518
527
|
[x: string]: ((props: {
|