@dignite-ng/expand.cms 3.0.0-rc.34 → 3.0.0-rc.36
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/admin/entries/entries.component.mjs +6 -4
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +6 -2
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +33 -9
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +1 -1
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +10 -3
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +2 -1
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +10 -3
- package/esm2022/lib/services/cms-api.service.mjs +2 -2
- package/fesm2022/dignite-ng-expand.cms.mjs +61 -20
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +8 -2
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +2 -0
- package/lib/components/dynamic-form/table/table-control.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { CmsApiService, FieldAbstractsService } from '../../../services';
|
|
4
|
+
import { CdkDrag } from '@angular/cdk/drag-drop';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MatrixConfigComponent {
|
|
6
7
|
private fb;
|
|
@@ -71,8 +72,13 @@ export declare class MatrixConfigComponent {
|
|
|
71
72
|
displayNameInputBlur(event: any): void;
|
|
72
73
|
/**矩阵displayNameInput字段失去焦点 */
|
|
73
74
|
MatrixFieldDisplayNameInputBlur(event: any): void;
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
dropMatrix(event: any): void;
|
|
76
|
+
dropFields(event: any): void;
|
|
77
|
+
sortPredicate(index: number, item: CdkDrag<number>): boolean;
|
|
78
|
+
sortPredicateTrue(): boolean;
|
|
79
|
+
/**字段开始拖拽 */
|
|
80
|
+
fieldStartDrag: any;
|
|
81
|
+
CdkDragStart(event: any): void;
|
|
76
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixConfigComponent, never>;
|
|
77
83
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixConfigComponent, "df-matrix-config", never, { "type": { "alias": "type"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
84
|
}
|
|
@@ -37,6 +37,8 @@ export declare class MatrixControlComponent {
|
|
|
37
37
|
addMatrixControl(item: any): void;
|
|
38
38
|
/**删除矩阵控件 */
|
|
39
39
|
deleteMatrixControl(index: any, item: any): void;
|
|
40
|
+
/**调整表格位置 */
|
|
41
|
+
drop(event: any): void;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixControlComponent, never>;
|
|
41
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixControlComponent, "df-matrix-control", never, { "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
44
|
}
|
|
@@ -37,6 +37,8 @@ export declare class TableControlComponent {
|
|
|
37
37
|
minusTableControlItem(index: any): void;
|
|
38
38
|
/**调整表格位置 */
|
|
39
39
|
TableArrowUpOrDown(type: any, index: any): void;
|
|
40
|
+
/**调整表格位置 */
|
|
41
|
+
drop(event: any): void;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableControlComponent, never>;
|
|
41
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableControlComponent, "df-table-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
44
|
}
|