@dignite-ng/expand.cms 3.0.0-rc.30 → 3.0.0-rc.32

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.
Files changed (29) hide show
  1. package/esm2022/lib/cms.module.mjs +11 -3
  2. package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +4 -4
  3. package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +1 -1
  4. package/esm2022/lib/components/admin/entries/create.component.mjs +3 -4
  5. package/esm2022/lib/components/admin/entries/edit.component.mjs +7 -4
  6. package/esm2022/lib/components/admin/entries/entries.component.mjs +10 -9
  7. package/esm2022/lib/components/admin/fields/create-field.component.mjs +5 -4
  8. package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +9 -8
  9. package/esm2022/lib/components/admin/fields/edit-field.component.mjs +3 -3
  10. package/esm2022/lib/components/admin/fields/field-group.component.mjs +9 -5
  11. package/esm2022/lib/components/admin/sections/create-or-edit-sections-modal.component.mjs +16 -13
  12. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +3 -4
  13. package/esm2022/lib/components/admin/sections/sections.component.mjs +3 -3
  14. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +37 -18
  15. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +4 -25
  16. package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +24 -14
  17. package/esm2022/lib/components/dynamic-form/table/table-config.mjs +2 -9
  18. package/fesm2022/dignite-ng-expand.cms.mjs +130 -116
  19. package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
  20. package/lib/cms.module.d.ts +3 -1
  21. package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +0 -1
  22. package/lib/components/admin/entries/edit.component.d.ts +1 -0
  23. package/lib/components/admin/fields/create-field.component.d.ts +1 -1
  24. package/lib/components/admin/sections/create-or-edit-sections-modal.component.d.ts +2 -2
  25. package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +6 -2
  26. package/lib/components/dynamic-form/matrix/matrix-config.d.ts +0 -3
  27. package/lib/components/dynamic-form/table/table-config.component.d.ts +4 -4
  28. package/lib/components/dynamic-form/table/table-config.d.ts +0 -2
  29. package/package.json +1 -1
@@ -32,10 +32,12 @@ import * as i29 from "@dignite-ng/expand.dynamic-form";
32
32
  import * as i30 from "@abp/ng.components/extensible";
33
33
  import * as i31 from "@angular/cdk/drag-drop";
34
34
  import * as i32 from "@swimlane/ngx-datatable";
35
+ import * as i33 from "@ckeditor/ckeditor5-angular";
36
+ import * as i34 from "@angular/forms";
35
37
  export declare class CmsModule {
36
38
  static forChild(options?: any): ModuleWithProviders<CmsModule>;
37
39
  static forLazy(options?: any): NgModuleFactory<CmsModule>;
38
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CmsModule, never>;
39
- static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SectionsComponent, typeof i4.FieldGroupComponent, typeof i5.CreateFieldComponent, typeof i6.EditFieldComponent, typeof i7.CreateOrEditFieldComponent, typeof i8.CreateOrEditComponent, typeof i9.CreateComponent, typeof i10.EditComponent, typeof i11.CreateOrEditEntriesComponent, typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.EntryViewComponent, typeof i19.CreateOrEditSectionsModalComponent, typeof i20.MatrixViewComponent, typeof i21.TableViewComponent, typeof i22.EntrySearchComponent], [typeof i23.CoreModule, typeof i24.ThemeSharedModule, typeof i25.CmsRoutingModule, typeof i26.NgbNavModule, typeof i26.NgbAccordionModule, typeof i26.NgbDropdownModule, typeof i27.PageModule, typeof i28.NzSelectModule, typeof i29.DynamicFormModule, typeof i30.ExtensibleModule, typeof i31.DragDropModule, typeof i32.NgxDatatableModule], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.EntryViewComponent, typeof i20.MatrixViewComponent, typeof i21.TableViewComponent, typeof i22.EntrySearchComponent]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SectionsComponent, typeof i4.FieldGroupComponent, typeof i5.CreateFieldComponent, typeof i6.EditFieldComponent, typeof i7.CreateOrEditFieldComponent, typeof i8.CreateOrEditComponent, typeof i9.CreateComponent, typeof i10.EditComponent, typeof i11.CreateOrEditEntriesComponent, typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.EntryViewComponent, typeof i19.CreateOrEditSectionsModalComponent, typeof i20.MatrixViewComponent, typeof i21.TableViewComponent, typeof i22.EntrySearchComponent], [typeof i23.CoreModule, typeof i24.ThemeSharedModule, typeof i25.CmsRoutingModule, typeof i26.NgbNavModule, typeof i26.NgbAccordionModule, typeof i26.NgbDropdownModule, typeof i27.PageModule, typeof i28.NzSelectModule, typeof i29.DynamicFormModule, typeof i30.ExtensibleModule, typeof i31.DragDropModule, typeof i32.NgxDatatableModule, typeof i33.CKEditorModule, typeof i34.FormsModule], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.EntryViewComponent, typeof i20.MatrixViewComponent, typeof i21.TableViewComponent, typeof i22.EntrySearchComponent]>;
40
42
  static ɵinj: i0.ɵɵInjectorDeclaration<CmsModule>;
41
43
  }
@@ -19,5 +19,4 @@ export declare class CreateOrUpdateEntryInputBase {
19
19
  /**版本 */
20
20
  initialVersionId: any;
21
21
  extraProperties: FormGroup | undefined;
22
- constructor();
23
22
  }
@@ -44,6 +44,7 @@ export declare class EditComponent implements OnInit {
44
44
  /**提交 */
45
45
  save(): void;
46
46
  isSubmit: boolean | any;
47
+ draftValue: string | any;
47
48
  /**点击提交 */
48
49
  clickSubmit(type: any): void;
49
50
  /**返回上一页 */
@@ -22,7 +22,7 @@ export declare class CreateFieldComponent {
22
22
  ngOnInit(): void;
23
23
  /**触发提交按钮 */
24
24
  submitclickBtn(): void;
25
- isSubmit: boolean;
25
+ isSubmit: boolean | any;
26
26
  private _ValidatorsService;
27
27
  /**表单验证状态
28
28
  * {
@@ -15,10 +15,10 @@ export declare class CreateOrEditSectionsModalComponent {
15
15
  /**表单验证状态 */
16
16
  formValidation: any;
17
17
  /**模态框-状态-是否打开 */
18
- ModalOpen: boolean;
18
+ ModalOpen: boolean | any;
19
19
  set visible(v: boolean);
20
20
  /**模态框-繁忙状态-用于确定模态的繁忙状态是否为真 */
21
- ModalBusy: boolean;
21
+ ModalBusy: boolean | any;
22
22
  /**初始值 */
23
23
  selected: any;
24
24
  /**模态框-表单 */
@@ -28,11 +28,11 @@ export declare class MatrixConfigComponent {
28
28
  /**获取表单配置下的矩阵块表单数组 */
29
29
  get MatrixBlockTypes(): FormArray;
30
30
  /**模态框-状态 */
31
- matrixModalOpen: boolean;
31
+ matrixModalOpen: boolean | any;
32
32
  /**模态框-是否正在编辑 */
33
33
  isMatrixModalEdit: any;
34
34
  /**模态框-用于确定模态的繁忙状态是否为真 */
35
- modalBusy: boolean;
35
+ modalBusy: boolean | any;
36
36
  /**模态框-表单 */
37
37
  matrixModalForm: FormGroup | undefined;
38
38
  /**表单控件模板-用于在form外提交submit */
@@ -45,6 +45,8 @@ export declare class MatrixConfigComponent {
45
45
  matrixModalVisibleChange(event: any): void;
46
46
  /**矩阵块--新增-打开模态框 */
47
47
  addMatrixBlockType(): void;
48
+ formValidation: any;
49
+ private _ValidatorsService;
48
50
  /**模态框--矩阵表单保存提交 */
49
51
  createOrEditSave(): void;
50
52
  /**新增矩阵块-向数组表单中增加项 */
@@ -69,6 +71,8 @@ export declare class MatrixConfigComponent {
69
71
  displayNameInputBlur(event: any): void;
70
72
  /**矩阵displayNameInput字段失去焦点 */
71
73
  MatrixFieldDisplayNameInputBlur(event: any): void;
74
+ drop(event: any): void;
75
+ drop1(event: any): void;
72
76
  static ɵfac: i0.ɵɵFactoryDeclaration<MatrixConfigComponent, never>;
73
77
  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>;
74
78
  }
@@ -1,13 +1,11 @@
1
1
  import { FormGroup } from "@angular/forms";
2
2
  export declare class MatrixConfig {
3
3
  'MatrixBlockTypes': any;
4
- constructor(data?: MatrixConfig);
5
4
  }
6
5
  export declare class MatrixItemConfig {
7
6
  displayName: any;
8
7
  /**字段名字 */
9
8
  name: any;
10
- constructor(data?: MatrixConfig);
11
9
  }
12
10
  export declare class matrixFieldInputBase {
13
11
  /**字段名称 Display name of this field */
@@ -20,5 +18,4 @@ export declare class matrixFieldInputBase {
20
18
  formControlName: any;
21
19
  /**动态表单配置 */
22
20
  formConfiguration: FormGroup | undefined;
23
- constructor(data?: matrixFieldInputBase);
24
21
  }
@@ -35,9 +35,9 @@ export declare class TableConfigComponent {
35
35
  /**正在创建或编辑的表格项下标 */
36
36
  TableColumnsIndex: any;
37
37
  /**创建站点模态框状态 */
38
- tableSelectOpen: boolean;
38
+ tableSelectOpen: boolean | any;
39
39
  /**用于确定模态的繁忙状态是否为真 */
40
- modalBusy: boolean;
40
+ modalBusy: boolean | any;
41
41
  /**创建站点表单 */
42
42
  tableSelectForm: FormGroup | undefined;
43
43
  /**表格已选择数据 */
@@ -50,10 +50,10 @@ export declare class TableConfigComponent {
50
50
  createOrEditSave(): void;
51
51
  /**编辑站点按钮 */
52
52
  EditSitesBtn(rows: any, i: any): void;
53
- /**调整表格位置 */
54
- TableArrowUpOrDown(type: any, index: any): void;
55
53
  /**字段标签input失去标点生成字段名字 */
56
54
  disPlayNameInputBlur(event: any, item: any): void;
55
+ /**调整表格位置 */
56
+ drop(event: any): void;
57
57
  static ɵfac: i0.ɵɵFactoryDeclaration<TableConfigComponent, never>;
58
58
  static ɵcmp: i0.ɵɵComponentDeclaration<TableConfigComponent, "df-table-config", never, { "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
59
59
  }
@@ -1,6 +1,5 @@
1
1
  export declare class TableConfig {
2
2
  TableColumns: any;
3
- constructor(data?: TableConfig);
4
3
  }
5
4
  export declare class TableFormControl {
6
5
  /**列标题 */
@@ -14,5 +13,4 @@ export declare class TableFormControl {
14
13
  required: any;
15
14
  /**描述 */
16
15
  description: any;
17
- constructor();
18
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dignite-ng/expand.cms",
3
- "version": "3.0.0-rc.30",
3
+ "version": "3.0.0-rc.32",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",