@dignite-ng/expand.dynamic-form 3.1.11 → 3.1.12
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/dynamic/dynamic-config.component.mjs +2 -2
- package/esm2022/lib/components/form/tree/tree-config.component.mjs +12 -19
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs +11 -18
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs.map +1 -1
- package/lib/components/form/tree/tree-config.component.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, AfterViewChecked } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, FormArray, FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ToPinyinService } from '@dignite-ng/expand.core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TreeConfigComponent implements AfterViewChecked {
|
|
@@ -61,7 +61,7 @@ export declare class TreeConfigComponent implements AfterViewChecked {
|
|
|
61
61
|
nodeModalSubmit: ElementRef;
|
|
62
62
|
/**生成GUID */
|
|
63
63
|
private generateGuid;
|
|
64
|
-
get keyInput():
|
|
64
|
+
get keyInput(): FormControl;
|
|
65
65
|
private _LocalizationService;
|
|
66
66
|
SlugRegExValidator(): (control: AbstractControl) => {
|
|
67
67
|
[key: string]: any;
|
|
@@ -78,8 +78,8 @@ export declare class TreeConfigComponent implements AfterViewChecked {
|
|
|
78
78
|
createOrEditSave(): void;
|
|
79
79
|
/**递归添加子节点 */
|
|
80
80
|
private addChildNode;
|
|
81
|
-
|
|
82
|
-
private
|
|
81
|
+
/**通过引用更新节点 */
|
|
82
|
+
private updateNodeByReference;
|
|
83
83
|
/**删除节点 */
|
|
84
84
|
deleteMenuItemBtn(node: any): void;
|
|
85
85
|
/**递归删除节点 */
|