@dignite-ng/expand.cms 0.0.55 → 0.0.57

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 (44) hide show
  1. package/config/components/domains/domains.component.d.ts +2 -1
  2. package/config/components/site-language/site-language.component.d.ts +1 -0
  3. package/esm2022/config/components/domains/domains.component.mjs +13 -5
  4. package/esm2022/config/components/site-language/site-language.component.mjs +9 -2
  5. package/esm2022/lib/cms-routing.module.mjs +1 -1
  6. package/esm2022/lib/cms.module.mjs +6 -3
  7. package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +145 -227
  8. package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +4 -11
  9. package/esm2022/lib/components/admin/entries/create.component.mjs +80 -57
  10. package/esm2022/lib/components/admin/entries/edit.component.mjs +78 -53
  11. package/esm2022/lib/components/admin/entries/entries.component.mjs +6 -1
  12. package/esm2022/lib/components/admin/fields/create-field.component.mjs +12 -3
  13. package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +12 -6
  14. package/esm2022/lib/components/admin/fields/edit-field.component.mjs +9 -5
  15. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +30 -15
  16. package/esm2022/lib/components/admin/sections/sections.component.mjs +13 -6
  17. package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +14 -12
  18. package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +9 -13
  19. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +15 -17
  20. package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +18 -22
  21. package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +3 -3
  22. package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +3 -3
  23. package/esm2022/lib/constants/styles.mjs +2 -4
  24. package/esm2022/lib/resolvers/page-default-toolbar-actions.mjs +1 -1
  25. package/esm2022/lib/resolvers/table-default-entity-props.mjs +1 -2
  26. package/fesm2022/dignite-ng-expand.cms-config.mjs +19 -5
  27. package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -1
  28. package/fesm2022/dignite-ng-expand.cms.mjs +414 -424
  29. package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
  30. package/lib/cms.module.d.ts +2 -1
  31. package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +34 -69
  32. package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +3 -3
  33. package/lib/components/admin/entries/create.component.d.ts +26 -23
  34. package/lib/components/admin/entries/edit.component.d.ts +29 -23
  35. package/lib/components/admin/entries/entries.component.d.ts +1 -0
  36. package/lib/components/admin/fields/create-field.component.d.ts +1 -1
  37. package/lib/components/admin/fields/edit-field.component.d.ts +1 -1
  38. package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +10 -9
  39. package/lib/components/admin/sections/sections.component.d.ts +2 -1
  40. package/lib/components/dynamic-form/entry/entry-config.component.d.ts +4 -4
  41. package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +4 -4
  42. package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +5 -5
  43. package/lib/constants/styles.d.ts +1 -1
  44. package/package.json +1 -1
@@ -26,10 +26,11 @@ import * as i23 from "@abp/ng.components/page";
26
26
  import * as i24 from "ng-zorro-antd/select";
27
27
  import * as i25 from "@dignite-ng/expand.dynamic-form";
28
28
  import * as i26 from "@abp/ng.components/extensible";
29
+ import * as i27 from "@dignite-ng/expand.core";
29
30
  export declare class CmsModule {
30
31
  static forChild(options?: any): ModuleWithProviders<CmsModule>;
31
32
  static forLazy(options?: any): NgModuleFactory<CmsModule>;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<CmsModule, never>;
33
- 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.CoreModule, typeof i19.ThemeSharedModule, typeof i20.FormsModule, typeof i21.CmsRoutingModule, typeof i22.NgbNavModule, typeof i22.NgbAccordionModule, typeof i22.NgbDropdownModule, typeof i23.PageModule, typeof i24.NzSelectModule, typeof i25.DynamicFormModule, typeof i26.ExtensibleModule], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent]>;
34
+ 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.CoreModule, typeof i19.ThemeSharedModule, typeof i20.FormsModule, typeof i21.CmsRoutingModule, typeof i22.NgbNavModule, typeof i22.NgbAccordionModule, typeof i22.NgbDropdownModule, typeof i23.PageModule, typeof i24.NzSelectModule, typeof i25.DynamicFormModule, typeof i26.ExtensibleModule, typeof i27.KeydownPreventDefaultDirective], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent]>;
34
35
  static ɵinj: i0.ɵɵInjectorDeclaration<CmsModule>;
35
36
  }
@@ -1,15 +1,8 @@
1
- import { ConfigStateService, LocalizationService } from '@abp/ng.core';
2
- import { ToasterService } from '@abp/ng.theme.shared';
3
- import { AfterContentInit, ElementRef, QueryList, ViewContainerRef } from '@angular/core';
4
- import { AbstractControl, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
5
- import { Router } from '@angular/router';
6
- import { EntryAdminService } from '../../../proxy/admin/entries';
7
- import { SectionAdminService } from '../../../proxy/admin/sections';
8
- import { Observable } from 'rxjs';
9
- import { DatePipe, Location } from '@angular/common';
10
- import { CmsApiService } from '../../../services';
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { Location } from '@angular/common';
11
4
  import * as i0 from "@angular/core";
12
- export declare class CreateOrEditEntriesComponent implements AfterContentInit {
5
+ export declare class CreateOrEditEntriesComponent {
13
6
  private toaster;
14
7
  _location: Location;
15
8
  private configState;
@@ -19,74 +12,46 @@ export declare class CreateOrEditEntriesComponent implements AfterContentInit {
19
12
  private _LocalizationService;
20
13
  private router;
21
14
  private _CmsApiService;
22
- constructor(toaster: ToasterService, _location: Location, configState: ConfigStateService, _SectionAdminService: SectionAdminService, _EntryAdminService: EntryAdminService, datePipe: DatePipe, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
23
- /**获取提交按钮替身,用于真实触发表单提交 */
24
- submitclick: ElementRef;
25
- /**语言 */
26
- cultureName: string;
27
- /**条目类型id */
28
- entryTypeId: string;
29
- /**新建版本的版本id,同条目id */
30
- RevisionEntryId: any;
31
- /**选择的条目项 */
32
- entryTypesItem: any;
33
- /**版块id */
34
- sectionId: string;
35
- /**版块详情 */
36
- SectionSelect: any;
37
15
  /**语言列表 */
38
16
  languagesList: any[];
39
- /**条目类型列表-用于选择上级条目 */
40
- entryTypesList: any[];
17
+ /**条目列表-选择上级条目 */
18
+ entryList: any[];
19
+ /**条目信息 */
20
+ entryInfo: any;
21
+ /**版本信息 */
22
+ sectionInfo: any;
23
+ /**需要展示的b板块下条目类型 */
24
+ showEntryType: any;
25
+ /**版本条目id */
26
+ entryVersionId: any;
41
27
  /**版本列表 */
42
28
  AllVersionsList: any[];
43
- /**是否是编辑 */
44
29
  isEdit: boolean;
45
- /**来自父组件的传值 */
46
- FromParentQueryParams: any;
47
- set ParentQueryParams(v: any);
48
- /**表单实体 */
49
- _entity: FormGroup | undefined;
50
- set entity(v: any);
51
- /**指定id的条目信息 */
52
- entrySelect: any;
53
- set parentEntrySelect(v: any);
54
- /**将对象中的ExtraProperties赋值到extraProperties */
55
- convertExtraProperties(obj: any): any;
56
- /**别名表单实体 */
57
- get sluginput(): AbstractControl<any, any>;
58
- /**语言表单实体 */
30
+ sectionId: string;
31
+ entryTypeId: string;
32
+ set select(v: any);
33
+ formEntity: FormGroup | undefined;
34
+ set entity(value: FormGroup | undefined);
35
+ /**是否加载完成 */
36
+ isLoad: boolean;
37
+ /**语言控件 */
59
38
  get cultureInput(): FormControl;
60
- /**语言表单实体影子 */
61
- get culture_shadowInput(): FormControl;
62
- /**extraProperties配置表单实体 */
63
- get extraProperties(): FormGroup;
64
- ngAfterContentInit(): Promise<void>;
65
- /**表单控件模板-动态表单配置组件 */
66
- FormDynamicontrolRef: QueryList<ViewContainerRef>;
67
- /**定义自定义异步验证 */
68
- cultureAsyncValidator_test(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
69
- /**
70
- * 设置条目详情
71
- * @param {object} source - 数据源对象
72
- */
73
- setEntryconfig(source: any): void;
74
- time: number;
39
+ /**获取提交按钮替身,用于真实触发表单提交 */
40
+ submitclick: ElementRef;
41
+ /**加载数据 */
42
+ loadData(): Promise<void>;
75
43
  /**定义自定义异步验证 */
76
- repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
77
- private config;
78
- /**获取版块详情 */
79
- getSectionSelect(): Promise<unknown>;
80
- /**获取条目类型下所有条目列表 */
81
- getTypeEntryList(): Promise<unknown>;
44
+ cultureAsyncValidator(): Promise<unknown>;
45
+ /**获取板块信息 */
46
+ getSectionInfo(): Promise<unknown>;
47
+ /**获取板块下所有条目 */
48
+ getEntryList(): Promise<unknown>;
82
49
  /**对数组按照父子关系进行分组 */
83
50
  groupByParentId(arr: any, id: string, layer: any): any[];
84
- /**获取条目版本列表 */
85
- getAllVersionsList(): Promise<unknown>;
86
51
  /**标题转化别名 */
87
52
  setTitleToSlugBlur(event: any): void;
88
- /**使用Unicode编码范围判断是否是中文字符 */
89
- isChinese(str: any): boolean;
53
+ /**获取条目版本列表 */
54
+ getAllVersionsList(): Promise<unknown>;
90
55
  /**激活 */
91
56
  ActivatedVersion(VersionId: any): void;
92
57
  /**编辑版本 */
@@ -94,5 +59,5 @@ export declare class CreateOrEditEntriesComponent implements AfterContentInit {
94
59
  /**删除版本 */
95
60
  delectVersion(vid: any): void;
96
61
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditEntriesComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditEntriesComponent, "cms-create-or-edit-entries", never, { "isEdit": { "alias": "isEdit"; "required": false; }; "ParentQueryParams": { "alias": "ParentQueryParams"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "parentEntrySelect": { "alias": "parentEntrySelect"; "required": false; }; }, {}, never, never, false, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditEntriesComponent, "cms-create-or-edit-entries", never, { "isEdit": { "alias": "isEdit"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "entryTypeId": { "alias": "entryTypeId"; "required": false; }; "select": { "alias": "select"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; }, {}, never, never, false, never>;
98
63
  }
@@ -1,13 +1,13 @@
1
1
  import { FormGroup } from "@angular/forms";
2
2
  export declare class CreateOrUpdateEntryInputBase {
3
- /**语言 */
4
- culture: any;
5
3
  /**条目id */
6
4
  entryTypeId: any;
7
5
  /**标题 */
8
6
  title: any;
9
7
  /**别名 */
10
8
  slug: any;
9
+ /**语言 */
10
+ culture: any;
11
11
  /**是否是草稿 */
12
12
  draft: any;
13
13
  /**发布时间 */
@@ -19,5 +19,5 @@ export declare class CreateOrUpdateEntryInputBase {
19
19
  /**版本 */
20
20
  initialVersionId: any;
21
21
  extraProperties: FormGroup | undefined;
22
- constructor(data?: CreateOrUpdateEntryInputBase);
22
+ constructor();
23
23
  }
@@ -1,44 +1,47 @@
1
- import { LocalizationService } from '@abp/ng.core';
2
- import { ToasterService } from '@abp/ng.theme.shared';
3
1
  import { Location } from '@angular/common';
4
2
  import { OnInit, ElementRef } from '@angular/core';
5
- import { FormGroup } from '@angular/forms';
6
- import { ActivatedRoute } from '@angular/router';
7
- import { EntryAdminService } from '../../../proxy/admin/entries';
3
+ import { FormControl, FormGroup } from '@angular/forms';
8
4
  import * as i0 from "@angular/core";
9
5
  export declare class CreateComponent implements OnInit {
6
+ private fb;
7
+ private _updateListService;
10
8
  private toaster;
11
9
  _location: Location;
12
10
  private route;
13
11
  private _EntryAdminService;
14
12
  private _LocalizationService;
15
- constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService);
16
- private fb;
17
- private _updateListService;
18
- /**表单实体 */
19
- newEntity: FormGroup | undefined;
20
- /**是否是草稿 */
21
- draftType: boolean;
22
- /**页面传值用于传递到子组件 */
23
- queryParams: any;
24
- /**指定id的条目信息 */
25
- entrySelect: any;
13
+ private _ValidatorsService;
26
14
  /**获取提交按钮替身,用于真实触发表单提交 */
27
15
  submitclick: ElementRef;
28
- ngOnInit(): Promise<void>;
29
- /**获取条目信息 */
30
- getEntrySelect(): Promise<unknown>;
31
- private _ValidatorsService;
32
16
  /**表单验证状态
33
17
  * {
34
18
  * title:true,
35
19
  * }
36
20
  */
37
21
  formValidation: any;
38
- /**保存 */
39
- save(draft: any): void;
22
+ /**表单实体 */
23
+ formEntity: FormGroup | undefined;
24
+ /**语言 */
25
+ cultureName: string;
26
+ /**条目类型id */
27
+ entryTypeId: string;
28
+ /**版块id */
29
+ sectionId: string;
30
+ /**条目版本id */
31
+ entryVersionId: string;
32
+ /**条目信息 */
33
+ entryInfo: any;
34
+ /**是否草稿控件*/
35
+ get draftInput(): FormControl;
36
+ /**语言控件 */
37
+ get cultureInput(): FormControl;
38
+ ngOnInit(): Promise<void>;
39
+ /**获取条目信息 */
40
+ getEntryInfo(): Promise<unknown>;
41
+ /**提交 */
42
+ save(): void;
40
43
  isSubmit: boolean;
41
- /**触发点击按钮替身 */
44
+ /**点击提交 */
42
45
  clickSubmit(type: any): void;
43
46
  /**返回上一页 */
44
47
  backTo(): void;
@@ -1,44 +1,50 @@
1
- import { LocalizationService } from '@abp/ng.core';
2
- import { ToasterService } from '@abp/ng.theme.shared';
3
1
  import { Location } from '@angular/common';
4
2
  import { OnInit, ElementRef } from '@angular/core';
5
- import { FormGroup } from '@angular/forms';
6
- import { ActivatedRoute } from '@angular/router';
7
- import { EntryAdminService } from '../../../proxy/admin/entries';
3
+ import { FormControl, FormGroup } from '@angular/forms';
8
4
  import * as i0 from "@angular/core";
9
5
  export declare class EditComponent implements OnInit {
6
+ private fb;
7
+ private _updateListService;
10
8
  private toaster;
11
9
  _location: Location;
12
10
  private route;
13
11
  private _EntryAdminService;
14
12
  private _LocalizationService;
15
- constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService);
16
- private fb;
17
- private _updateListService;
18
- /**表单实体 */
19
- newEntity: FormGroup | undefined;
20
- /**是否是草稿 */
21
- draftType: boolean;
22
- /**页面传值用于传递到子组件 */
23
- queryParams: any;
24
- /**指定id的条目信息 */
25
- entrySelect: any;
13
+ private _ValidatorsService;
14
+ private datePipe;
26
15
  /**获取提交按钮替身,用于真实触发表单提交 */
27
16
  submitclick: ElementRef;
28
- ngOnInit(): Promise<void>;
29
- /**获取条目信息 */
30
- getEntrySelect(): Promise<unknown>;
31
- private _ValidatorsService;
32
17
  /**表单验证状态
33
18
  * {
34
19
  * title:true,
35
20
  * }
36
21
  */
37
22
  formValidation: any;
38
- /**保存 */
39
- save(draft: any): void;
23
+ /**表单实体 */
24
+ formEntity: FormGroup | undefined;
25
+ /**语言 */
26
+ cultureName: string;
27
+ /**条目类型id */
28
+ entryTypeId: string;
29
+ /**版块id */
30
+ sectionId: string;
31
+ /**条目版本id */
32
+ entryVersionId: string;
33
+ /**条目id */
34
+ entrieId: string;
35
+ /**条目信息 */
36
+ entryInfo: any;
37
+ /**是否草稿控件*/
38
+ get draftInput(): FormControl;
39
+ /**语言控件 */
40
+ get cultureInput(): FormControl;
41
+ ngOnInit(): Promise<void>;
42
+ /**获取条目信息 */
43
+ getEntryInfo(): Promise<unknown>;
44
+ /**提交 */
45
+ save(): void;
40
46
  isSubmit: boolean;
41
- /**触发点击按钮替身 */
47
+ /**点击提交 */
42
48
  clickSubmit(type: any): void;
43
49
  /**返回上一页 */
44
50
  backTo(): void;
@@ -53,6 +53,7 @@ export declare class EntriesComponent implements OnInit {
53
53
  resetData(): void;
54
54
  /**新增-单个 */
55
55
  createEntriesBtn(): void;
56
+ createCopyEntriesBtn(): void;
56
57
  /**列表相关 */
57
58
  ColumnMode: typeof ColumnMode;
58
59
  data: PagedResultDto<EntryDto>;
@@ -31,7 +31,7 @@ export declare class CreateFieldComponent {
31
31
  */
32
32
  formValidation: any;
33
33
  /**保存表单 */
34
- save(): void;
34
+ save(): boolean;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateFieldComponent, never>;
36
36
  static ɵcmp: i0.ɵɵComponentDeclaration<CreateFieldComponent, "cms-create-field", never, {}, {}, never, never, false, never>;
37
37
  }
@@ -40,7 +40,7 @@ export declare class EditFieldComponent implements OnInit {
40
40
  /**触发提交按钮 */
41
41
  submitclickBtn(): void;
42
42
  /**保存表单 */
43
- save(): void;
43
+ save(): boolean;
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<EditFieldComponent, never>;
45
45
  static ɵcmp: i0.ɵɵComponentDeclaration<EditFieldComponent, "cms-edit-field", never, {}, {}, never, never, false, never>;
46
46
  }
@@ -1,11 +1,11 @@
1
- import { LocalizationService } from "@abp/ng.core";
2
- import { ToasterService } from "@abp/ng.theme.shared";
3
- import { ElementRef, OnInit } from "@angular/core";
4
- import { FormGroup, FormArray } from "@angular/forms";
5
- import { ActivatedRoute } from "@angular/router";
6
- import { FieldGroupAdminService, FieldAdminService } from "../../../../proxy/admin/fields";
7
- import { EntryTypeAdminService } from "../../../../proxy/admin/sections";
8
- import { CmsApiService } from "../../../../services";
1
+ import { LocalizationService } from '@abp/ng.core';
2
+ import { ToasterService } from '@abp/ng.theme.shared';
3
+ import { ElementRef, OnInit } from '@angular/core';
4
+ import { FormGroup, FormArray } from '@angular/forms';
5
+ import { ActivatedRoute } from '@angular/router';
6
+ import { FieldGroupAdminService, FieldAdminService } from '../../../../proxy/admin/fields';
7
+ import { EntryTypeAdminService } from '../../../../proxy/admin/sections';
8
+ import { CmsApiService } from '../../../../services';
9
9
  import { Location } from '@angular/common';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class CreateOrEditComponent implements OnInit {
@@ -89,8 +89,9 @@ export declare class CreateOrEditComponent implements OnInit {
89
89
  * }
90
90
  */
91
91
  formValidation: any;
92
+ isSubmit: boolean;
92
93
  /**保存表单 */
93
- save(): void;
94
+ save(): boolean;
94
95
  /**编辑Tabs表单 */
95
96
  editFieldTabsFrom: FormGroup | undefined;
96
97
  /**模态框状态 */
@@ -37,6 +37,7 @@ export declare class SectionsComponent implements OnInit {
37
37
  createSectionBtn(): void;
38
38
  editSectionBtn(row: any): void;
39
39
  deleteEntryType(row: any): void;
40
+ isSubmit: boolean;
40
41
  createOrEditSave(): void;
41
42
  private _ValidatorsService;
42
43
  /**表单验证状态
@@ -45,7 +46,7 @@ export declare class SectionsComponent implements OnInit {
45
46
  * }
46
47
  */
47
48
  formValidation: any;
48
- createSave(): void;
49
+ createSave(): boolean;
49
50
  EditSave(): void;
50
51
  deletefield(row: any): void;
51
52
  get displayNameInput(): AbstractControl<any, any>;
@@ -9,15 +9,15 @@ export declare class EntryConfigComponent implements AfterContentInit {
9
9
  /**表单控件类型 */
10
10
  _type: any;
11
11
  set type(v: any);
12
- /**表单实体 */
13
- _Entity: FormGroup | undefined;
14
- set Entity(v: FormGroup);
15
12
  /**选择的表单信息 */
16
13
  _selected: any;
17
14
  set selected(v: any);
18
15
  /**语言 */
19
16
  _culture: any;
20
17
  set culture(v: any);
18
+ /**表单实体 */
19
+ _Entity: FormGroup | undefined;
20
+ set Entity(v: FormGroup);
21
21
  get formConfiguration(): FormGroup;
22
22
  submitclick: ElementRef;
23
23
  /**站点列表 */
@@ -35,5 +35,5 @@ export declare class EntryConfigComponent implements AfterContentInit {
35
35
  /**切换站点 */
36
36
  siteIdChange(): Promise<void>;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<EntryConfigComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfigComponent, "cms-entry-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfigComponent, "cms-entry-config", never, { "type": { "alias": "type"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; }, {}, never, never, false, never>;
39
39
  }
@@ -12,12 +12,12 @@ export declare class MatrixConfigComponent {
12
12
  /**表单控件类型 */
13
13
  _type: any;
14
14
  set type(v: any);
15
- /**表单实体 */
16
- _Entity: FormGroup | undefined;
17
- set Entity(v: FormGroup);
18
15
  /**选择的表单信息 */
19
16
  _selected: any;
20
17
  set selected(v: any);
18
+ /**表单实体 */
19
+ _Entity: FormGroup | undefined;
20
+ set Entity(v: FormGroup);
21
21
  submitclick: ElementRef;
22
22
  dataLoaded(): Promise<void>;
23
23
  AfterInit(): Promise<unknown>;
@@ -69,5 +69,5 @@ export declare class MatrixConfigComponent {
69
69
  /**矩阵displayNameInput字段失去焦点 */
70
70
  MatrixFieldDisplayNameInputBlur(event: any): void;
71
71
  static ɵfac: i0.ɵɵFactoryDeclaration<MatrixConfigComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<MatrixConfigComponent, "df-matrix-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
72
+ 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>;
73
73
  }
@@ -4,9 +4,6 @@ import * as i0 from "@angular/core";
4
4
  export declare class MatrixControlComponent {
5
5
  private fb;
6
6
  constructor(fb: FormBuilder);
7
- /**表单实体 */
8
- _entity: FormGroup | undefined;
9
- set entity(v: any);
10
7
  /**字段配置列表 */
11
8
  _fields: any;
12
9
  set fields(v: any);
@@ -19,6 +16,9 @@ export declare class MatrixControlComponent {
19
16
  /**语言 */
20
17
  _culture: any;
21
18
  set culture(v: any);
19
+ /**表单实体 */
20
+ _entity: FormGroup | undefined;
21
+ set entity(v: any);
22
22
  submitclick: ElementRef;
23
23
  /** 获取父级字段代表的表单组*/
24
24
  extraProperties: FormGroup | undefined;
@@ -33,7 +33,7 @@ export declare class MatrixControlComponent {
33
33
  /**增加指定矩阵控件项 */
34
34
  addMatrixControl(item: any): void;
35
35
  /**删除矩阵控件 */
36
- deleteMatrixControl(index: any): void;
36
+ deleteMatrixControl(index: any, item: any): void;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<MatrixControlComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<MatrixControlComponent, "df-matrix-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>;
38
+ 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>;
39
39
  }
@@ -1,2 +1,2 @@
1
- declare const _default: "\n.lpx-content-container .lpx-content{min-height:calc(100vh - 34px);padding:1.25em 2em 1.25em}h1,h2,h3,h4,h5,h6{color:inherit}.lpx-settings .lpx-context-menu{overflow:auto}\na {\n text-decoration: unset;\n}\n\n.form-label{\n font-size: 12px;\n}\n:root select{\n cursor: pointer; /* this will show the pointer when hovering */\n} \n.cdk-global-overlay-wrapper, .cdk-overlay-container {pointer-events: none;top: 0;left: 0;height: 100%;width: 100% }.cdk-overlay-container {position: fixed;z-index: 1000 }.cdk-overlay-container:empty {display: none }.cdk-global-overlay-wrapper, .cdk-overlay-connected-position-bounding-box, .cdk-overlay-pane {position: absolute;z-index: 1000;display: flex }.cdk-overlay-pane {pointer-events: auto;box-sizing: border-box;max-width: 100%;max-height: 100% }.cdk-overlay-backdrop {position: absolute;top: 0;bottom: 0;left: 0;right: 0;z-index: 1000;pointer-events: auto;transition: opacity .4s cubic-bezier(.25, .8, .25, 1);opacity: 0 }.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: 1 }.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: .6 }.cdk-overlay-dark-backdrop {background: rgba(0, 0, 0, .32) }.cdk-overlay-transparent-backdrop {transition: visibility 1ms linear, opacity 1ms linear;visibility: hidden;opacity: 1 }.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0;visibility: visible }.cdk-overlay-backdrop-noop-animation {transition: none }.cdk-overlay-connected-position-bounding-box {flex-direction: column;min-width: 1px;min-height: 1px }.cdk-global-scrollblock {position: fixed;width: 100%;overflow-y: scroll }.cdk-visually-hidden {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;outline: 0;-webkit-appearance: none;-moz-appearance: none }.nz-overlay-transparent-backdrop, .nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0 }.ant-select, .ant-select-dropdown {margin: 0;line-height: 1.5715;box-sizing: border-box;font-feature-settings: 'tnum';list-style: none }.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpIn }.ant-select-dropdown.ant-select-tree-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;overflow: auto }.ant-select-dropdown-hidden, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before {display: none }.ant-select-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;display: block }.ant-select-dropdown .cdk-virtual-scroll-content-wrapper {right: 0 }.ant-select-dropdown .full-width {contain: initial }.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper {position: static }.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer {position: absolute;top: 0;width: 1px }.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownIn }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpOut }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownOut }\n\n/*** 表单验证样式 start */\n.was-validated .form-control:invalid, .form-control.is-invalid{\n border-color: #c00d49 !important;\n}\n/*** 表单验证样式 end */\n";
1
+ declare const _default: "\n.lpx-content-container .lpx-content{min-height:calc(100vh - 34px);padding:1.25em 2em 1.25em}h1,h2,h3,h4,h5,h6{color:inherit}.lpx-settings .lpx-context-menu{overflow:auto}\na {\n text-decoration: unset;\n}\n\n\n:root select{\n cursor: pointer; /* this will show the pointer when hovering */\n} \n.cdk-global-overlay-wrapper, .cdk-overlay-container {pointer-events: none;top: 0;left: 0;height: 100%;width: 100% }.cdk-overlay-container {position: fixed;z-index: 1000 }.cdk-overlay-container:empty {display: none }.cdk-global-overlay-wrapper, .cdk-overlay-connected-position-bounding-box, .cdk-overlay-pane {position: absolute;z-index: 1000;display: flex }.cdk-overlay-pane {pointer-events: auto;box-sizing: border-box;max-width: 100%;max-height: 100% }.cdk-overlay-backdrop {position: absolute;top: 0;bottom: 0;left: 0;right: 0;z-index: 1000;pointer-events: auto;transition: opacity .4s cubic-bezier(.25, .8, .25, 1);opacity: 0 }.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: 1 }.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: .6 }.cdk-overlay-dark-backdrop {background: rgba(0, 0, 0, .32) }.cdk-overlay-transparent-backdrop {transition: visibility 1ms linear, opacity 1ms linear;visibility: hidden;opacity: 1 }.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0;visibility: visible }.cdk-overlay-backdrop-noop-animation {transition: none }.cdk-overlay-connected-position-bounding-box {flex-direction: column;min-width: 1px;min-height: 1px }.cdk-global-scrollblock {position: fixed;width: 100%;overflow-y: scroll }.cdk-visually-hidden {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;outline: 0;-webkit-appearance: none;-moz-appearance: none }.nz-overlay-transparent-backdrop, .nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0 }.ant-select, .ant-select-dropdown {margin: 0;line-height: 1.5715;box-sizing: border-box;font-feature-settings: 'tnum';list-style: none }.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpIn }.ant-select-dropdown.ant-select-tree-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;overflow: auto }.ant-select-dropdown-hidden, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before {display: none }.ant-select-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;display: block }.ant-select-dropdown .cdk-virtual-scroll-content-wrapper {right: 0 }.ant-select-dropdown .full-width {contain: initial }.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper {position: static }.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer {position: absolute;top: 0;width: 1px }.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownIn }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpOut }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownOut }\n\n/*** 表单验证样式 start */\n.was-validated .form-control:invalid, .form-control.is-invalid{\n border-color: #c00d49 !important;\n}\n/*** 表单验证样式 end */\n";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dignite-ng/expand.cms",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~18.1.0",
6
6
  "@angular/core": "~18.1.0"