@dignite-ng/expand.dynamic-form 3.1.1 → 3.1.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/esm2022/lib/components/form/tree/tree-config.component.mjs +39 -22
- package/esm2022/lib/components/form/tree/tree-control.component.mjs +4 -4
- package/esm2022/lib/components/form/tree/tree-search.component.mjs +7 -14
- package/esm2022/lib/components/form/tree/tree-view.component.mjs +2 -4
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs +48 -40
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs.map +1 -1
- package/lib/components/form/tree/tree-config.component.d.ts +4 -4
- package/lib/components/form/tree/tree-search.component.d.ts +2 -2
- package/lib/components/form/tree/tree-view.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -20,7 +20,6 @@ export declare class TreeConfigComponent implements AfterViewChecked {
|
|
|
20
20
|
submitclick: ElementRef;
|
|
21
21
|
private cdr;
|
|
22
22
|
dataLoaded(): Promise<void>;
|
|
23
|
-
/**增加选项 */
|
|
24
23
|
AfterInit(): Promise<unknown>;
|
|
25
24
|
/**
|
|
26
25
|
* 当选择项的文本发生变化时,更新对应的值
|
|
@@ -37,7 +36,6 @@ export declare class TreeConfigComponent implements AfterViewChecked {
|
|
|
37
36
|
anExpandedNode: any[];
|
|
38
37
|
/**点击展开树节点图标触发 */
|
|
39
38
|
nzExpandChange(event: any): void;
|
|
40
|
-
log(v: any): void;
|
|
41
39
|
/**正在操作的节点项 */
|
|
42
40
|
selectTree: any;
|
|
43
41
|
/**是否创建子节点 */
|
|
@@ -48,8 +46,6 @@ export declare class TreeConfigComponent implements AfterViewChecked {
|
|
|
48
46
|
modalBusy: boolean | any;
|
|
49
47
|
/**创建表单 */
|
|
50
48
|
nodeForm: FormGroup | undefined;
|
|
51
|
-
/**表格已选择数据 */
|
|
52
|
-
_tableSelected: any;
|
|
53
49
|
/**表单控件模板-动态赋值表单控件 */
|
|
54
50
|
nodeModalSubmit: ElementRef;
|
|
55
51
|
/**生成GUID */
|
|
@@ -82,6 +78,10 @@ export declare class TreeConfigComponent implements AfterViewChecked {
|
|
|
82
78
|
private convertTreeOptionsToNodes;
|
|
83
79
|
/**设置 */
|
|
84
80
|
toggleMultiple(event: any): void;
|
|
81
|
+
/**应用多选逻辑:选中的节点同时选中其所有子节点和父节点 */
|
|
82
|
+
private applyMultipleLogic;
|
|
83
|
+
/**收集所有选中节点的key */
|
|
84
|
+
private collectCheckedKeys;
|
|
85
85
|
/**切换节点选中状态 */
|
|
86
86
|
toggleNodeChecked(event: any, node: any): void;
|
|
87
87
|
/**清除所有节点的选中状态 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TreeSearchComponent {
|
|
4
|
+
export declare class TreeSearchComponent implements OnDestroy {
|
|
5
5
|
private fb;
|
|
6
6
|
constructor(fb: FormBuilder);
|
|
7
7
|
/**字段配置列表 */
|