@dignite-ng/expand.cms 2.0.0-rc.2 → 2.0.0-rc.4

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 (127) hide show
  1. package/config/enums/route-names.d.ts +1 -2
  2. package/esm2022/config/cms-config.module.mjs +3 -2
  3. package/esm2022/config/enums/route-names.mjs +1 -2
  4. package/esm2022/config/providers/route.provider.mjs +1 -15
  5. package/esm2022/lib/cms.module.mjs +1 -3
  6. package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +7 -7
  7. package/esm2022/lib/components/admin/entries/create.component.mjs +3 -2
  8. package/esm2022/lib/components/admin/entries/edit.component.mjs +4 -2
  9. package/esm2022/lib/components/admin/entries/entries.component.mjs +9 -13
  10. package/esm2022/lib/components/admin/fields/create-field.component.mjs +2 -2
  11. package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +2 -8
  12. package/esm2022/lib/components/admin/fields/edit-field.component.mjs +2 -2
  13. package/esm2022/lib/components/admin/fields/field-group.component.mjs +2 -2
  14. package/esm2022/lib/components/admin/fields/fields.component.mjs +2 -3
  15. package/esm2022/lib/components/admin/sections/create-or-edit-sections-modal.component.mjs +3 -3
  16. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +3 -3
  17. package/esm2022/lib/components/admin/sections/sections.component.mjs +3 -3
  18. package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +3 -2
  19. package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +5 -3
  20. package/esm2022/lib/proxy/dignite/abp/regionalization-management/index.mjs +3 -0
  21. package/esm2022/lib/proxy/dignite/abp/regionalization-management/models.mjs +2 -0
  22. package/esm2022/lib/proxy/dignite/abp/regionalization-management/regionalization.service.mjs +27 -0
  23. package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.mjs +22 -0
  24. package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/index.mjs +3 -0
  25. package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/models.mjs +2 -0
  26. package/esm2022/lib/proxy/dignite/cms/admin/entries/entry-admin.service.mjs +70 -0
  27. package/esm2022/lib/proxy/dignite/cms/admin/entries/index.mjs +3 -0
  28. package/esm2022/lib/proxy/dignite/cms/admin/entries/models.mjs +2 -0
  29. package/esm2022/lib/proxy/dignite/cms/admin/fields/field-admin.service.mjs +45 -0
  30. package/esm2022/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.mjs +41 -0
  31. package/esm2022/lib/proxy/dignite/cms/admin/fields/index.mjs +4 -0
  32. package/esm2022/lib/proxy/dignite/cms/admin/fields/models.mjs +2 -0
  33. package/esm2022/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.mjs +41 -0
  34. package/esm2022/lib/proxy/dignite/cms/admin/sections/index.mjs +4 -0
  35. package/esm2022/lib/proxy/dignite/cms/admin/sections/models.mjs +2 -0
  36. package/esm2022/lib/proxy/dignite/cms/admin/sections/section-admin.service.mjs +51 -0
  37. package/esm2022/lib/proxy/dignite/cms/entries/entry-status.enum.mjs +8 -0
  38. package/esm2022/lib/proxy/dignite/cms/entries/index.mjs +2 -0
  39. package/esm2022/lib/proxy/dignite/cms/fields/models.mjs +2 -0
  40. package/esm2022/lib/proxy/dignite/cms/sections/index.mjs +3 -0
  41. package/esm2022/lib/proxy/dignite/cms/sections/models.mjs +2 -0
  42. package/esm2022/lib/proxy/dignite/cms/sections/section-type.enum.mjs +9 -0
  43. package/esm2022/lib/resolvers/table-default-entity-actions.mjs +3 -24
  44. package/esm2022/lib/services/field-abstracts.service.mjs +3 -3
  45. package/fesm2022/dignite-ng-expand.cms-config.mjs +4 -282
  46. package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -1
  47. package/fesm2022/dignite-ng-expand.cms.mjs +94 -128
  48. package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
  49. package/lib/components/admin/entries/entries.component.d.ts +4 -6
  50. package/lib/components/admin/fields/create-field.component.d.ts +1 -1
  51. package/lib/components/admin/fields/create-or-edit-field.component.d.ts +1 -1
  52. package/lib/components/admin/fields/edit-field.component.d.ts +1 -1
  53. package/lib/components/admin/fields/field-group.component.d.ts +1 -1
  54. package/lib/components/admin/fields/fields.component.d.ts +1 -1
  55. package/lib/components/admin/sections/create-or-edit-sections-modal.component.d.ts +1 -1
  56. package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +2 -2
  57. package/lib/components/admin/sections/sections.component.d.ts +2 -2
  58. package/lib/components/dynamic-form/entry/entry-config.component.d.ts +1 -1
  59. package/lib/proxy/dignite/abp/regionalization-management/index.d.ts +2 -0
  60. package/lib/proxy/dignite/abp/regionalization-management/models.d.ts +8 -0
  61. package/lib/proxy/dignite/abp/regionalization-management/regionalization.service.d.ts +12 -0
  62. package/lib/proxy/{admin → dignite/cms/admin}/entries/models.d.ts +2 -2
  63. package/lib/proxy/{admin → dignite/cms/admin}/fields/models.d.ts +2 -2
  64. package/lib/proxy/{fields → dignite/cms/fields}/models.d.ts +1 -1
  65. package/lib/proxy/{sections → dignite/cms/sections}/models.d.ts +2 -2
  66. package/lib/services/field-abstracts.service.d.ts +2 -3
  67. package/package.json +1 -1
  68. package/config/components/domains/domains.component.d.ts +0 -31
  69. package/config/components/site-language/site-language.component.d.ts +0 -30
  70. package/config/proxy/admin/domains/domain-admin.service.d.ts +0 -13
  71. package/config/proxy/admin/domains/index.d.ts +0 -2
  72. package/config/proxy/admin/domains/models.d.ts +0 -7
  73. package/config/proxy/dignite/cms/admin/sites/index.d.ts +0 -2
  74. package/config/proxy/dignite/cms/admin/sites/models.d.ts +0 -4
  75. package/config/proxy/dignite/cms/admin/sites/site-admin.service.d.ts +0 -13
  76. package/config/proxy/dignite/cms/sites/models.d.ts +0 -4
  77. package/esm2022/config/components/domains/domains.component.mjs +0 -118
  78. package/esm2022/config/components/site-language/site-language.component.mjs +0 -112
  79. package/esm2022/config/proxy/admin/domains/domain-admin.service.mjs +0 -32
  80. package/esm2022/config/proxy/admin/domains/index.mjs +0 -3
  81. package/esm2022/config/proxy/admin/domains/models.mjs +0 -2
  82. package/esm2022/config/proxy/dignite/cms/admin/sites/index.mjs +0 -3
  83. package/esm2022/config/proxy/dignite/cms/admin/sites/models.mjs +0 -2
  84. package/esm2022/config/proxy/dignite/cms/admin/sites/site-admin.service.mjs +0 -27
  85. package/esm2022/config/proxy/dignite/cms/sites/models.mjs +0 -2
  86. package/esm2022/lib/proxy/admin/dynamic-forms/form-admin.service.mjs +0 -22
  87. package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +0 -3
  88. package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +0 -2
  89. package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +0 -70
  90. package/esm2022/lib/proxy/admin/entries/index.mjs +0 -3
  91. package/esm2022/lib/proxy/admin/entries/models.mjs +0 -2
  92. package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +0 -45
  93. package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +0 -41
  94. package/esm2022/lib/proxy/admin/fields/index.mjs +0 -4
  95. package/esm2022/lib/proxy/admin/fields/models.mjs +0 -2
  96. package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +0 -41
  97. package/esm2022/lib/proxy/admin/sections/index.mjs +0 -4
  98. package/esm2022/lib/proxy/admin/sections/models.mjs +0 -2
  99. package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +0 -51
  100. package/esm2022/lib/proxy/admin/settings/index.mjs +0 -2
  101. package/esm2022/lib/proxy/admin/settings/site-settings-admin.service.mjs +0 -31
  102. package/esm2022/lib/proxy/entries/entry-status.enum.mjs +0 -8
  103. package/esm2022/lib/proxy/entries/index.mjs +0 -2
  104. package/esm2022/lib/proxy/fields/models.mjs +0 -2
  105. package/esm2022/lib/proxy/sections/index.mjs +0 -3
  106. package/esm2022/lib/proxy/sections/models.mjs +0 -2
  107. package/esm2022/lib/proxy/sections/section-type.enum.mjs +0 -9
  108. package/esm2022/lib/proxy/settings/models.mjs +0 -2
  109. package/lib/proxy/admin/settings/index.d.ts +0 -1
  110. package/lib/proxy/admin/settings/site-settings-admin.service.d.ts +0 -13
  111. package/lib/proxy/settings/models.d.ts +0 -5
  112. /package/lib/proxy/{admin → dignite/cms/admin}/dynamic-forms/form-admin.service.d.ts +0 -0
  113. /package/lib/proxy/{admin → dignite/cms/admin}/dynamic-forms/index.d.ts +0 -0
  114. /package/lib/proxy/{admin → dignite/cms/admin}/dynamic-forms/models.d.ts +0 -0
  115. /package/lib/proxy/{admin → dignite/cms/admin}/entries/entry-admin.service.d.ts +0 -0
  116. /package/lib/proxy/{admin → dignite/cms/admin}/entries/index.d.ts +0 -0
  117. /package/lib/proxy/{admin → dignite/cms/admin}/fields/field-admin.service.d.ts +0 -0
  118. /package/lib/proxy/{admin → dignite/cms/admin}/fields/field-group-admin.service.d.ts +0 -0
  119. /package/lib/proxy/{admin → dignite/cms/admin}/fields/index.d.ts +0 -0
  120. /package/lib/proxy/{admin → dignite/cms/admin}/sections/entry-type-admin.service.d.ts +0 -0
  121. /package/lib/proxy/{admin → dignite/cms/admin}/sections/index.d.ts +0 -0
  122. /package/lib/proxy/{admin → dignite/cms/admin}/sections/models.d.ts +0 -0
  123. /package/lib/proxy/{admin → dignite/cms/admin}/sections/section-admin.service.d.ts +0 -0
  124. /package/lib/proxy/{entries → dignite/cms/entries}/entry-status.enum.d.ts +0 -0
  125. /package/lib/proxy/{entries → dignite/cms/entries}/index.d.ts +0 -0
  126. /package/lib/proxy/{sections → dignite/cms/sections}/index.d.ts +0 -0
  127. /package/lib/proxy/{sections → dignite/cms/sections}/section-type.enum.d.ts +0 -0
@@ -28,41 +28,6 @@ import { finalize as finalize$1 } from 'rxjs/operators';
28
28
  import * as i4$1 from 'ng-zorro-antd/select';
29
29
  import { NzSelectModule } from 'ng-zorro-antd/select';
30
30
 
31
- class SiteSettingsAdminService {
32
- constructor(restService) {
33
- this.restService = restService;
34
- this.apiName = 'CmsAdmin';
35
- this.getAllLanguages = (config) => this.restService.request({
36
- method: 'GET',
37
- url: '/api/cms-admin/site-settings/all-languages',
38
- }, { apiName: this.apiName, ...config });
39
- this.getBrand = (config) => this.restService.request({
40
- method: 'GET',
41
- url: '/api/cms-admin/site-settings/brand',
42
- }, { apiName: this.apiName, ...config });
43
- this.getDefaultLanguage = (config) => this.restService.request({
44
- method: 'GET',
45
- responseType: 'text',
46
- url: '/api/cms-admin/site-settings/default-language',
47
- }, { apiName: this.apiName, ...config });
48
- }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: SiteSettingsAdminService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
50
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: SiteSettingsAdminService, providedIn: 'root' }); }
51
- }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: SiteSettingsAdminService, decorators: [{
53
- type: Injectable,
54
- args: [{
55
- providedIn: 'root',
56
- }]
57
- }], ctorParameters: () => [{ type: i1.RestService }] });
58
-
59
- var EntryStatus;
60
- (function (EntryStatus) {
61
- EntryStatus[EntryStatus["Draft"] = 0] = "Draft";
62
- EntryStatus[EntryStatus["Published"] = 1] = "Published";
63
- })(EntryStatus || (EntryStatus = {}));
64
- const entryStatusOptions = mapEnumToOptions(EntryStatus);
65
-
66
31
  var ECmsComponent;
67
32
  (function (ECmsComponent) {
68
33
  ECmsComponent["Entries"] = "Cms.Entries";
@@ -76,6 +41,37 @@ var ECmsComponent;
76
41
  ECmsComponent["SectionsCreateOrEdit"] = "Cms.Sections.Create.Or.Edit";
77
42
  })(ECmsComponent || (ECmsComponent = {}));
78
43
 
44
+ var EntryStatus;
45
+ (function (EntryStatus) {
46
+ EntryStatus[EntryStatus["Draft"] = 0] = "Draft";
47
+ EntryStatus[EntryStatus["Published"] = 1] = "Published";
48
+ })(EntryStatus || (EntryStatus = {}));
49
+ const entryStatusOptions = mapEnumToOptions(EntryStatus);
50
+
51
+ class RegionalizationService {
52
+ constructor(restService) {
53
+ this.restService = restService;
54
+ this.apiName = 'AbpRegionalizationManagement';
55
+ this.get = (config) => this.restService.request({
56
+ method: 'GET',
57
+ url: '/api/regionalization-management/regionalization',
58
+ }, { apiName: this.apiName, ...config });
59
+ this.update = (input, config) => this.restService.request({
60
+ method: 'POST',
61
+ url: '/api/regionalization-management/regionalization',
62
+ body: input,
63
+ }, { apiName: this.apiName, ...config });
64
+ }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: RegionalizationService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
66
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: RegionalizationService, providedIn: 'root' }); }
67
+ }
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: RegionalizationService, decorators: [{
69
+ type: Injectable,
70
+ args: [{
71
+ providedIn: 'root',
72
+ }]
73
+ }], ctorParameters: () => [{ type: i1.RestService }] });
74
+
79
75
  class EntryAdminService {
80
76
  constructor(restService) {
81
77
  this.restService = restService;
@@ -241,10 +237,6 @@ class EntriesComponent {
241
237
  this.fb = inject(FormBuilder);
242
238
  this._UpdateListService = inject(UpdateListService);
243
239
  this.list = inject(ListService);
244
- /**站点列表 */
245
- // siteList: any[any] = []
246
- /**选择的站点id */
247
- // siteId: string = ''
248
240
  /**站点下的版块 */
249
241
  this.SiteOfSectionList = [];
250
242
  /**版块下的语言列表 */
@@ -254,7 +246,7 @@ class EntriesComponent {
254
246
  /**状态编码 */
255
247
  this._entryStatusOptions = entryStatusOptions;
256
248
  this.config = inject(ConfigStateService);
257
- this._SiteSettingsAdminService = inject(SiteSettingsAdminService);
249
+ this._RegionalizationService = inject(RegionalizationService);
258
250
  /**站点设置语言 */
259
251
  this.SiteSettingsAdminLanguages = [];
260
252
  /**列表相关 */
@@ -318,7 +310,7 @@ class EntriesComponent {
318
310
  //获取所有语言 */
319
311
  let languagesSystem = this.configState.getDeep('localization.languages');
320
312
  //获取系统默认语言 */
321
- let DefaultLanguage = this.config.getSetting("Abp.Localization.DefaultLanguage");
313
+ let DefaultLanguage = this.config.getSetting("Abp.Regionalization.DefaultCultureName");
322
314
  const configCmsSiteLanguages = this.config.getSetting("Cms.Site.Languages");
323
315
  if (!configCmsSiteLanguages) {
324
316
  await this.getSiteSettingsLanguages();
@@ -339,8 +331,8 @@ class EntriesComponent {
339
331
  */
340
332
  getSiteSettingsLanguages() {
341
333
  return new Promise((resolve, rejects) => {
342
- this._SiteSettingsAdminService.getAllLanguages().subscribe(res => {
343
- this.SiteSettingsAdminLanguages = res;
334
+ this._RegionalizationService.get().subscribe(res => {
335
+ this.SiteSettingsAdminLanguages = res.availableCultureNames;
344
336
  resolve(res);
345
337
  });
346
338
  });
@@ -434,6 +426,48 @@ class CreateOrUpdateEntryInputBase {
434
426
  }
435
427
  }
436
428
 
429
+ class FieldAdminService {
430
+ constructor(restService) {
431
+ this.restService = restService;
432
+ this.apiName = 'CmsAdmin';
433
+ this.create = (input, config) => this.restService.request({
434
+ method: 'POST',
435
+ url: '/api/cms-admin/fields',
436
+ body: input,
437
+ }, { apiName: this.apiName, ...config });
438
+ this.delete = (id, config) => this.restService.request({
439
+ method: 'DELETE',
440
+ url: `/api/cms-admin/fields/${id}`,
441
+ }, { apiName: this.apiName, ...config });
442
+ this.get = (id, config) => this.restService.request({
443
+ method: 'GET',
444
+ url: `/api/cms-admin/fields/${id}`,
445
+ }, { apiName: this.apiName, ...config });
446
+ this.getList = (input, config) => this.restService.request({
447
+ method: 'GET',
448
+ url: '/api/cms-admin/fields',
449
+ params: { filter: input.filter, groupId: input.groupId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
450
+ }, { apiName: this.apiName, ...config });
451
+ this.nameExists = (name, config) => this.restService.request({
452
+ method: 'GET',
453
+ url: `/api/cms-admin/fields/name-exists/${name}`,
454
+ }, { apiName: this.apiName, ...config });
455
+ this.update = (id, input, config) => this.restService.request({
456
+ method: 'PUT',
457
+ url: `/api/cms-admin/fields/${id}`,
458
+ body: input,
459
+ }, { apiName: this.apiName, ...config });
460
+ }
461
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: FieldAdminService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
462
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: FieldAdminService, providedIn: 'root' }); }
463
+ }
464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: FieldAdminService, decorators: [{
465
+ type: Injectable,
466
+ args: [{
467
+ providedIn: 'root',
468
+ }]
469
+ }], ctorParameters: () => [{ type: i1.RestService }] });
470
+
437
471
  class FieldGroupAdminService {
438
472
  constructor(restService) {
439
473
  this.restService = restService;
@@ -675,7 +709,7 @@ class CreateOrEditEntriesComponent {
675
709
  await this.getAllVersionsList();
676
710
  this.formEntity.patchValue({
677
711
  entryTypeId: this.entryInfo.entryTypeId,
678
- publishTime: this.entryInfo.publishTime,
712
+ publishTime: this.datePipe.transform(this.entryInfo.publishTime, 'yyyy-MM-dd HH:mm:ss'),
679
713
  title: this.entryInfo.title,
680
714
  slug: this.entryInfo.slug,
681
715
  parentId: this.entryInfo.parentId,
@@ -804,11 +838,11 @@ class CreateOrEditEntriesComponent {
804
838
  });
805
839
  }
806
840
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: CreateOrEditEntriesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
807
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: CreateOrEditEntriesComponent, selector: "cms-create-or-edit-entries", inputs: { isEdit: "isEdit", sectionId: "sectionId", entryTypeId: "entryTypeId", select: "select", entity: "entity" }, viewQueries: [{ propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"formEntity\">\r\n <div class=\"row\">\r\n <div class=\"col-md-8\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Title' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"title\"\r\n (blur)=\"setTitleToSlugBlur($event)\">\r\n </div>\r\n <i></i>\r\n <ng-container *ngIf=\"isLoad\">\r\n <ng-container *ngFor=\"let item of showEntryType?.fieldTabs;let i =index\">\r\n <ng-container *ngFor=\"let el of item.fields;let i1 =index\">\r\n <ng-container *ngIf=\"el&&formEntity\">\r\n <df-dynamic [fields]=\"el\"\r\n [selected]=\"entryInfo ? entryInfo.extraProperties[el.field.name] : ''\"\r\n [parentFiledName]=\"'extraProperties'\"\r\n [culture]=\"cultureInput.value\" [entity]=\"formEntity\"></df-dynamic>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Slug' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"slug\">\r\n </div>\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'AbpUi::Languages' | abpLocalization}}</div>\r\n <select class=\"form-select \" formControlName=\"culture\">\r\n <ng-container *ngFor=\"let item of languagesList;let i =index\">\r\n <option [value]=\"item.cultureName\">{{item.displayName}}</option>\r\n </ng-container>\r\n </select>\r\n <div class=\"text-danger\" *ngIf=\"cultureInput.dirty\">\r\n {{cultureInput?.errors?.repetition}}\r\n </div>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"sectionInfo.type===1\">\r\n <label class=\"form-label\" for=\"parentId\">{{'Cms::ParentEntry' | abpLocalization}}</label>\r\n <select class=\"form-select\" formControlName=\"parentId\">\r\n <option value=\"\"></option>\r\n <ng-container *ngFor=\"let item of entryList;let i =index\">\r\n <option [value]=\"item.id\">{{item.title}}</option>\r\n <ng-container *ngFor=\"let el of item.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n <ng-template #childTemplate let-data>\r\n <option [value]=\"data.value.id\">\r\n <ng-container *ngFor=\"let item of data.value.layer\">--</ng-container>\r\n {{data.value.title}}\r\n </option>\r\n <ng-container *ngFor=\"let el of data.value.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n </select>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"publishTime\">{{'Cms::PublishTime' | abpLocalization}}</label>\r\n <input type=\"datetime-local\" class=\"form-control\" step=\"1\" formControlName=\"publishTime\">\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"isEdit\">\r\n <label class=\"form-label\" for=\"publishTime\">{{'Cms::Version' | abpLocalization}}</label>\r\n <ul class=\"list-group\">\r\n <ng-container *ngFor=\"let item of AllVersionsList\">\r\n <li\r\n class=\"list-group-item flex-between d-flex align-items-center justify-content-between\">\r\n <div>\r\n {{item.initialVersionId?(item.creationTime| date: 'YYYY/MM/dd HH:mm:s'):('Cms::InitialVersion' | abpLocalization)}}\r\n <span class=\"badge text-bg-success ms-1\"\r\n *ngIf=\"item.isActivatedVersion\">{{'Cms::IsActive' | abpLocalization}}</span>\r\n <span class=\"badge text-bg-primary ms-1\"\r\n *ngIf=\"item.id === entryVersionId\">{{'Cms::Editing' |\r\n abpLocalization}}</span>\r\n </div>\r\n <div>\r\n <div ngbDropdown class=\"d-inline-block\">\r\n <button type=\"button\" class=\"btn btn-link-primary p-2 \"\r\n style=\"line-height: 0;\" id=\"dropdownBasic1\" ngbDropdownToggle>\r\n </button>\r\n <div ngbDropdownMenu aria-labelledby=\"dropdownBasic1\">\r\n <button ngbDropdownItem type=\"button\" *ngIf=\"!item.isActivatedVersion\"\r\n (click)=\"ActivatedVersion(item.id)\">\r\n <i class=\"fas fa-check me-1\"></i>{{'Cms::IsActive' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n routerLink=\"/cms/admin/entries/create\"\r\n [queryParams]=\"{entryVersionId:item.id}\">\r\n <i class=\"fas fa-plus me-1\"></i>{{'Cms::NewVersion' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\" (click.stop)=\"toEditUrl(item.id)\"\r\n *ngIf=\"item.id !== entryVersionId\">\r\n <i class=\"fas fa-edit me-1\"></i>{{'AbpUi::Edit' | abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n (click.stop)=\"delectVersion(item.id)\"\r\n *ngIf=\"item.initialVersionId&&!item.isActivatedVersion&&item.id !== entryVersionId\">\r\n <i class=\"fas fa-trash me-1\"></i>{{'AbpUi::Delete' |\r\n abpLocalization}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"entryInfo\">\r\n <label class=\"form-label\" for=\"versionNotes\">{{'Cms::RevisionNotes' | abpLocalization}}</label>\r\n <textarea class=\"form-control\" formControlName=\"versionNotes\" rows=\"3\"></textarea>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i10.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "popperOptions", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i10.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i10.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { kind: "directive", type: i10.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["tabindex", "disabled"] }, { kind: "directive", type: i10.NgbDropdownButtonItem, selector: "button[ngbDropdownItem]" }, { kind: "component", type: i8$1.DynamicComponent, selector: "df-dynamic", inputs: ["selected", "type", "culture", "parentFiledName", "fields", "entity"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
841
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: CreateOrEditEntriesComponent, selector: "cms-create-or-edit-entries", inputs: { isEdit: "isEdit", sectionId: "sectionId", entryTypeId: "entryTypeId", select: "select", entity: "entity" }, viewQueries: [{ propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"formEntity\">\r\n <div class=\"row\">\r\n <div class=\"col-md-8\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Title' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"title\"\r\n (blur)=\"setTitleToSlugBlur($event)\">\r\n </div>\r\n <i></i>\r\n <ng-container *ngIf=\"isLoad\">\r\n <ng-container *ngFor=\"let item of showEntryType?.fieldTabs;let i =index\">\r\n <ng-container *ngFor=\"let el of item.fields;let i1 =index\">\r\n <ng-container *ngIf=\"el&&formEntity\">\r\n <df-dynamic [fields]=\"el\"\r\n [selected]=\"entryInfo ? entryInfo.extraProperties[el.field.name] : ''\"\r\n [parentFiledName]=\"'extraProperties'\"\r\n [culture]=\"cultureInput.value\" [entity]=\"formEntity\"></df-dynamic>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Slug' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"slug\">\r\n </div>\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'AbpUi::Languages' | abpLocalization}}</div>\r\n <select class=\"form-select \" formControlName=\"culture\">\r\n <ng-container *ngFor=\"let item of languagesList;let i =index\">\r\n <option [value]=\"item.cultureName\">{{item.displayName}}</option>\r\n </ng-container>\r\n </select>\r\n <div class=\"text-danger\" *ngIf=\"cultureInput.dirty\">\r\n {{cultureInput?.errors?.repetition}}\r\n </div>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"sectionInfo.type===1\">\r\n <label class=\"form-label\" for=\"parentId\">{{'Cms::ParentEntry' | abpLocalization}}</label>\r\n <select class=\"form-select\" formControlName=\"parentId\">\r\n <option value=\"\"></option>\r\n <ng-container *ngFor=\"let item of entryList;let i =index\">\r\n <option [value]=\"item.id\">{{item.title}}</option>\r\n <ng-container *ngFor=\"let el of item.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n <ng-template #childTemplate let-data>\r\n <option [value]=\"data.value.id\">\r\n <ng-container *ngFor=\"let item of data.value.layer\">--</ng-container>\r\n {{data.value.title}}\r\n </option>\r\n <ng-container *ngFor=\"let el of data.value.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n </select>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"publishTime\">{{'Cms::PublishTime' | abpLocalization}}</label>\r\n <input type=\"datetime-local\" class=\"form-control\" step=\"1\" formControlName=\"publishTime\">\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"isEdit\">\r\n <label class=\"form-label\" for=\"Version\">{{'Cms::Version' | abpLocalization}}</label>\r\n <ul class=\"list-group\">\r\n <ng-container *ngFor=\"let item of AllVersionsList\">\r\n <li\r\n class=\"list-group-item flex-between d-flex align-items-center justify-content-between\">\r\n <div>\r\n {{item.initialVersionId?(item.creationTime| date: 'YYYY/MM/dd HH:mm:s'):('Cms::InitialVersion' | abpLocalization)}}\r\n <span class=\"badge text-bg-success ms-1\"\r\n *ngIf=\"item.isActivatedVersion\">{{'Cms::IsActive' | abpLocalization}}</span>\r\n <span class=\"badge text-bg-primary ms-1\"\r\n *ngIf=\"item.id === entryVersionId\">{{'Cms::Editing' |\r\n abpLocalization}}</span>\r\n </div>\r\n <div>\r\n <div ngbDropdown class=\"d-inline-block\">\r\n <button type=\"button\" class=\"btn btn-link-primary p-2 \"\r\n style=\"line-height: 0;\" id=\"dropdownBasic1\" ngbDropdownToggle>\r\n </button>\r\n <div ngbDropdownMenu aria-labelledby=\"dropdownBasic1\">\r\n <button ngbDropdownItem type=\"button\" *ngIf=\"!item.isActivatedVersion\"\r\n (click)=\"ActivatedVersion(item.id)\">\r\n <i class=\"fas fa-check me-1\"></i>{{'Cms::IsActive' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n routerLink=\"/cms/admin/entries/create\"\r\n [queryParams]=\"{entryVersionId:item.id}\">\r\n <i class=\"fas fa-plus me-1\"></i>{{'Cms::NewVersion' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\" (click.stop)=\"toEditUrl(item.id)\"\r\n *ngIf=\"item.id !== entryVersionId\">\r\n <i class=\"fas fa-edit me-1\"></i>{{'AbpUi::Edit' | abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n (click.stop)=\"delectVersion(item.id)\"\r\n *ngIf=\"item.initialVersionId&&!item.isActivatedVersion&&item.id !== entryVersionId\">\r\n <i class=\"fas fa-trash me-1\"></i>{{'AbpUi::Delete' |\r\n abpLocalization}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"entryInfo\">\r\n <label class=\"form-label\" for=\"versionNotes\">{{'Cms::RevisionNotes' | abpLocalization}}</label>\r\n <textarea class=\"form-control\" formControlName=\"versionNotes\" rows=\"3\"></textarea>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.StopPropagationDirective, selector: "[click.stop]", outputs: ["click.stop"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i10.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "popperOptions", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i10.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i10.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { kind: "directive", type: i10.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["tabindex", "disabled"] }, { kind: "directive", type: i10.NgbDropdownButtonItem, selector: "button[ngbDropdownItem]" }, { kind: "component", type: i8$1.DynamicComponent, selector: "df-dynamic", inputs: ["selected", "type", "culture", "parentFiledName", "fields", "entity"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
808
842
  }
809
843
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: CreateOrEditEntriesComponent, decorators: [{
810
844
  type: Component,
811
- args: [{ selector: 'cms-create-or-edit-entries', template: "<form [formGroup]=\"formEntity\">\r\n <div class=\"row\">\r\n <div class=\"col-md-8\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Title' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"title\"\r\n (blur)=\"setTitleToSlugBlur($event)\">\r\n </div>\r\n <i></i>\r\n <ng-container *ngIf=\"isLoad\">\r\n <ng-container *ngFor=\"let item of showEntryType?.fieldTabs;let i =index\">\r\n <ng-container *ngFor=\"let el of item.fields;let i1 =index\">\r\n <ng-container *ngIf=\"el&&formEntity\">\r\n <df-dynamic [fields]=\"el\"\r\n [selected]=\"entryInfo ? entryInfo.extraProperties[el.field.name] : ''\"\r\n [parentFiledName]=\"'extraProperties'\"\r\n [culture]=\"cultureInput.value\" [entity]=\"formEntity\"></df-dynamic>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Slug' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"slug\">\r\n </div>\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'AbpUi::Languages' | abpLocalization}}</div>\r\n <select class=\"form-select \" formControlName=\"culture\">\r\n <ng-container *ngFor=\"let item of languagesList;let i =index\">\r\n <option [value]=\"item.cultureName\">{{item.displayName}}</option>\r\n </ng-container>\r\n </select>\r\n <div class=\"text-danger\" *ngIf=\"cultureInput.dirty\">\r\n {{cultureInput?.errors?.repetition}}\r\n </div>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"sectionInfo.type===1\">\r\n <label class=\"form-label\" for=\"parentId\">{{'Cms::ParentEntry' | abpLocalization}}</label>\r\n <select class=\"form-select\" formControlName=\"parentId\">\r\n <option value=\"\"></option>\r\n <ng-container *ngFor=\"let item of entryList;let i =index\">\r\n <option [value]=\"item.id\">{{item.title}}</option>\r\n <ng-container *ngFor=\"let el of item.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n <ng-template #childTemplate let-data>\r\n <option [value]=\"data.value.id\">\r\n <ng-container *ngFor=\"let item of data.value.layer\">--</ng-container>\r\n {{data.value.title}}\r\n </option>\r\n <ng-container *ngFor=\"let el of data.value.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n </select>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"publishTime\">{{'Cms::PublishTime' | abpLocalization}}</label>\r\n <input type=\"datetime-local\" class=\"form-control\" step=\"1\" formControlName=\"publishTime\">\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"isEdit\">\r\n <label class=\"form-label\" for=\"publishTime\">{{'Cms::Version' | abpLocalization}}</label>\r\n <ul class=\"list-group\">\r\n <ng-container *ngFor=\"let item of AllVersionsList\">\r\n <li\r\n class=\"list-group-item flex-between d-flex align-items-center justify-content-between\">\r\n <div>\r\n {{item.initialVersionId?(item.creationTime| date: 'YYYY/MM/dd HH:mm:s'):('Cms::InitialVersion' | abpLocalization)}}\r\n <span class=\"badge text-bg-success ms-1\"\r\n *ngIf=\"item.isActivatedVersion\">{{'Cms::IsActive' | abpLocalization}}</span>\r\n <span class=\"badge text-bg-primary ms-1\"\r\n *ngIf=\"item.id === entryVersionId\">{{'Cms::Editing' |\r\n abpLocalization}}</span>\r\n </div>\r\n <div>\r\n <div ngbDropdown class=\"d-inline-block\">\r\n <button type=\"button\" class=\"btn btn-link-primary p-2 \"\r\n style=\"line-height: 0;\" id=\"dropdownBasic1\" ngbDropdownToggle>\r\n </button>\r\n <div ngbDropdownMenu aria-labelledby=\"dropdownBasic1\">\r\n <button ngbDropdownItem type=\"button\" *ngIf=\"!item.isActivatedVersion\"\r\n (click)=\"ActivatedVersion(item.id)\">\r\n <i class=\"fas fa-check me-1\"></i>{{'Cms::IsActive' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n routerLink=\"/cms/admin/entries/create\"\r\n [queryParams]=\"{entryVersionId:item.id}\">\r\n <i class=\"fas fa-plus me-1\"></i>{{'Cms::NewVersion' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\" (click.stop)=\"toEditUrl(item.id)\"\r\n *ngIf=\"item.id !== entryVersionId\">\r\n <i class=\"fas fa-edit me-1\"></i>{{'AbpUi::Edit' | abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n (click.stop)=\"delectVersion(item.id)\"\r\n *ngIf=\"item.initialVersionId&&!item.isActivatedVersion&&item.id !== entryVersionId\">\r\n <i class=\"fas fa-trash me-1\"></i>{{'AbpUi::Delete' |\r\n abpLocalization}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"entryInfo\">\r\n <label class=\"form-label\" for=\"versionNotes\">{{'Cms::RevisionNotes' | abpLocalization}}</label>\r\n <textarea class=\"form-control\" formControlName=\"versionNotes\" rows=\"3\"></textarea>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>" }]
845
+ args: [{ selector: 'cms-create-or-edit-entries', template: "<form [formGroup]=\"formEntity\">\r\n <div class=\"row\">\r\n <div class=\"col-md-8\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Title' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"title\"\r\n (blur)=\"setTitleToSlugBlur($event)\">\r\n </div>\r\n <i></i>\r\n <ng-container *ngIf=\"isLoad\">\r\n <ng-container *ngFor=\"let item of showEntryType?.fieldTabs;let i =index\">\r\n <ng-container *ngFor=\"let el of item.fields;let i1 =index\">\r\n <ng-container *ngIf=\"el&&formEntity\">\r\n <df-dynamic [fields]=\"el\"\r\n [selected]=\"entryInfo ? entryInfo.extraProperties[el.field.name] : ''\"\r\n [parentFiledName]=\"'extraProperties'\"\r\n [culture]=\"cultureInput.value\" [entity]=\"formEntity\"></df-dynamic>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-4\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'Cms::Slug' | abpLocalization}}</div>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"slug\">\r\n </div>\r\n <div class=\"mb-3\">\r\n <div class=\"form-label\">{{'AbpUi::Languages' | abpLocalization}}</div>\r\n <select class=\"form-select \" formControlName=\"culture\">\r\n <ng-container *ngFor=\"let item of languagesList;let i =index\">\r\n <option [value]=\"item.cultureName\">{{item.displayName}}</option>\r\n </ng-container>\r\n </select>\r\n <div class=\"text-danger\" *ngIf=\"cultureInput.dirty\">\r\n {{cultureInput?.errors?.repetition}}\r\n </div>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"sectionInfo.type===1\">\r\n <label class=\"form-label\" for=\"parentId\">{{'Cms::ParentEntry' | abpLocalization}}</label>\r\n <select class=\"form-select\" formControlName=\"parentId\">\r\n <option value=\"\"></option>\r\n <ng-container *ngFor=\"let item of entryList;let i =index\">\r\n <option [value]=\"item.id\">{{item.title}}</option>\r\n <ng-container *ngFor=\"let el of item.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n <ng-template #childTemplate let-data>\r\n <option [value]=\"data.value.id\">\r\n <ng-container *ngFor=\"let item of data.value.layer\">--</ng-container>\r\n {{data.value.title}}\r\n </option>\r\n <ng-container *ngFor=\"let el of data.value.children\">\r\n <ng-container *ngTemplateOutlet=\"childTemplate; context: {\r\n $implicit: {\r\n value: el,\r\n }\r\n }\"></ng-container>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n </select>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"publishTime\">{{'Cms::PublishTime' | abpLocalization}}</label>\r\n <input type=\"datetime-local\" class=\"form-control\" step=\"1\" formControlName=\"publishTime\">\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"isEdit\">\r\n <label class=\"form-label\" for=\"Version\">{{'Cms::Version' | abpLocalization}}</label>\r\n <ul class=\"list-group\">\r\n <ng-container *ngFor=\"let item of AllVersionsList\">\r\n <li\r\n class=\"list-group-item flex-between d-flex align-items-center justify-content-between\">\r\n <div>\r\n {{item.initialVersionId?(item.creationTime| date: 'YYYY/MM/dd HH:mm:s'):('Cms::InitialVersion' | abpLocalization)}}\r\n <span class=\"badge text-bg-success ms-1\"\r\n *ngIf=\"item.isActivatedVersion\">{{'Cms::IsActive' | abpLocalization}}</span>\r\n <span class=\"badge text-bg-primary ms-1\"\r\n *ngIf=\"item.id === entryVersionId\">{{'Cms::Editing' |\r\n abpLocalization}}</span>\r\n </div>\r\n <div>\r\n <div ngbDropdown class=\"d-inline-block\">\r\n <button type=\"button\" class=\"btn btn-link-primary p-2 \"\r\n style=\"line-height: 0;\" id=\"dropdownBasic1\" ngbDropdownToggle>\r\n </button>\r\n <div ngbDropdownMenu aria-labelledby=\"dropdownBasic1\">\r\n <button ngbDropdownItem type=\"button\" *ngIf=\"!item.isActivatedVersion\"\r\n (click)=\"ActivatedVersion(item.id)\">\r\n <i class=\"fas fa-check me-1\"></i>{{'Cms::IsActive' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n routerLink=\"/cms/admin/entries/create\"\r\n [queryParams]=\"{entryVersionId:item.id}\">\r\n <i class=\"fas fa-plus me-1\"></i>{{'Cms::NewVersion' |\r\n abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\" (click.stop)=\"toEditUrl(item.id)\"\r\n *ngIf=\"item.id !== entryVersionId\">\r\n <i class=\"fas fa-edit me-1\"></i>{{'AbpUi::Edit' | abpLocalization}}\r\n </button>\r\n <button ngbDropdownItem type=\"button\"\r\n (click.stop)=\"delectVersion(item.id)\"\r\n *ngIf=\"item.initialVersionId&&!item.isActivatedVersion&&item.id !== entryVersionId\">\r\n <i class=\"fas fa-trash me-1\"></i>{{'AbpUi::Delete' |\r\n abpLocalization}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n <div class=\"mb-3\" *ngIf=\"entryInfo\">\r\n <label class=\"form-label\" for=\"versionNotes\">{{'Cms::RevisionNotes' | abpLocalization}}</label>\r\n <textarea class=\"form-control\" formControlName=\"versionNotes\" rows=\"3\"></textarea>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>" }]
812
846
  }], propDecorators: { isEdit: [{
813
847
  type: Input
814
848
  }], sectionId: [{
@@ -1004,6 +1038,7 @@ class EditComponent {
1004
1038
  let input = this.formEntity?.value;
1005
1039
  input.culture = this.cultureName;
1006
1040
  input.publishTime = new Date(new Date(input.publishTime).getTime() + 8 * 60 * 60 * 1000).toISOString();
1041
+ console.log(input, 'input', this.formEntity?.value);
1007
1042
  input.concurrencyStamp = this.entryInfo.concurrencyStamp;
1008
1043
  this.formValidation = this._ValidatorsService.getFormValidationStatus(this.formEntity);
1009
1044
  if (this._ValidatorsService.isCheckForm(this.formValidation, 'Cms')) {
@@ -1057,48 +1092,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
1057
1092
  args: ['submitclick', { static: true }]
1058
1093
  }] } });
1059
1094
 
1060
- class FieldAdminService {
1061
- constructor(restService) {
1062
- this.restService = restService;
1063
- this.apiName = 'CmsAdmin';
1064
- this.create = (input, config) => this.restService.request({
1065
- method: 'POST',
1066
- url: '/api/cms-admin/fields',
1067
- body: input,
1068
- }, { apiName: this.apiName, ...config });
1069
- this.delete = (id, config) => this.restService.request({
1070
- method: 'DELETE',
1071
- url: `/api/cms-admin/fields/${id}`,
1072
- }, { apiName: this.apiName, ...config });
1073
- this.get = (id, config) => this.restService.request({
1074
- method: 'GET',
1075
- url: `/api/cms-admin/fields/${id}`,
1076
- }, { apiName: this.apiName, ...config });
1077
- this.getList = (input, config) => this.restService.request({
1078
- method: 'GET',
1079
- url: '/api/cms-admin/fields',
1080
- params: { filter: input.filter, groupId: input.groupId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
1081
- }, { apiName: this.apiName, ...config });
1082
- this.nameExists = (name, config) => this.restService.request({
1083
- method: 'GET',
1084
- url: `/api/cms-admin/fields/name-exists/${name}`,
1085
- }, { apiName: this.apiName, ...config });
1086
- this.update = (id, input, config) => this.restService.request({
1087
- method: 'PUT',
1088
- url: `/api/cms-admin/fields/${id}`,
1089
- body: input,
1090
- }, { apiName: this.apiName, ...config });
1091
- }
1092
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: FieldAdminService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1093
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: FieldAdminService, providedIn: 'root' }); }
1094
- }
1095
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: FieldAdminService, decorators: [{
1096
- type: Injectable,
1097
- args: [{
1098
- providedIn: 'root',
1099
- }]
1100
- }], ctorParameters: () => [{ type: i1.RestService }] });
1101
-
1102
1095
  class FieldGroupComponent {
1103
1096
  constructor(fb, _FieldGroupAdminService, toaster, confirmation, _FieldAbstractsService, _LocalizationService) {
1104
1097
  this.fb = fb;
@@ -1218,7 +1211,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
1218
1211
  type: Output
1219
1212
  }] } });
1220
1213
 
1221
- // import { UpdateListService } from "../../../services/update-list.service";
1222
1214
  class FieldsComponent {
1223
1215
  constructor(list, _FieldAdminService, toaster, confirmation, _LocalizationService, router) {
1224
1216
  this.list = list;
@@ -1357,7 +1349,6 @@ class CreateOrEditFieldComponent {
1357
1349
  if (v) {
1358
1350
  this._selected = v || '';
1359
1351
  this._selected_copy = v;
1360
- // this.dataLoaded()
1361
1352
  }
1362
1353
  }
1363
1354
  async dataLoaded() {
@@ -1419,11 +1410,6 @@ class CreateOrEditFieldComponent {
1419
1410
  };
1420
1411
  }
1421
1412
  formControlNameChange(event) {
1422
- // let value = event.target.value;
1423
- // // this.formControlName.reset();
1424
- // this.formControlName.patchValue('');
1425
- // this.formControlName.patchValue(value);
1426
- // this._selected='';
1427
1413
  }
1428
1414
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: CreateOrEditFieldComponent, deps: [{ token: FieldAbstractsService }, { token: CmsApiService }, { token: FieldAdminService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component }); }
1429
1415
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: CreateOrEditFieldComponent, selector: "cms-create-or-edit-field", inputs: { Entity: "Entity", selected: "selected" }, viewQueries: [{ propertyName: "FormDynamicRef", first: true, predicate: ["FormDynamicRef"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"_Entity\">\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\n <div class=\"mb-3\">\n <label class=\"form-label\" for=\"groupId\">{{'Cms::FieldGroup' | abpLocalization}}</label>\n <select class=\"form-select\" formControlName=\"groupId\">\n <option value=\"\">{{'Cms::OptionalGrouping' | abpLocalization}}</option>\n <ng-container *ngFor=\"let item of _FieldAbstractsService.fieldGroupList\">\n <option [value]=\"item.id\">{{item.name}}</option>\n </ng-container>\n </select>\n </div>\n <div class=\"mb-3\">\n <label class=\"form-label\" for=\"displayName\">{{'DigniteAbpForms::FieldDisplayName' | abpLocalization}}</label>\n <input type=\"text\" class=\"form-control\" formControlName=\"displayName\" required (blur)=\"disPlayNameInputBlur($event)\">\n </div>\n <div class=\"mb-3\">\n <label class=\"form-label\" for=\"name\">{{'DigniteAbpForms::FieldName' | abpLocalization}}</label>\n <input type=\"text\" class=\"form-control\" formControlName=\"name\" (input)=\"nameInputBlur($event)\">\n <div class=\"text-danger invalid-feedback\" *ngIf=\"nameInput.errors?.repetition\">\n {{nameInput.errors?.repetition}}\n </div>\n <small class=\"form-text text-muted d-block \">{{'DigniteAbpForms::FieldNameHelpText' | abpLocalization}}</small>\n </div>\n <div class=\"mb-3\">\n <label class=\"form-label\" for=\"description\">{{'Cms::Description' | abpLocalization}}</label>\n <input type=\"text\" class=\"form-control\" formControlName=\"description\">\n </div>\n <div class=\"mb-3\">\n <label class=\"form-label\" for=\"formControlName\">{{'Cms::FieldType' | abpLocalization}}</label>\n <select class=\"form-select\" formControlName=\"formControlName\" (change)=\"formControlNameChange($event)\">\n <ng-container *ngFor=\"let item of _FieldAbstractsService.fromControlList;let i =index\">\n <option [value]=\"item.name\">{{item.displayName}}</option>\n </ng-container>\n </select>\n </div>\n <ng-container *ngIf=\"_Entity.value.formControlName&&_Entity\"> \n <df-dynamic [type]=\"_Entity.value.formControlName\" [selected]=\"_selected\" [entity]=\"_Entity\" ></df-dynamic>\n </ng-container>\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i8$1.DynamicComponent, selector: "df-dynamic", inputs: ["selected", "type", "culture", "parentFiledName", "fields", "entity"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
@@ -1604,14 +1590,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
1604
1590
  args: ['submitclick', { static: true }]
1605
1591
  }] } });
1606
1592
 
1607
- var SectionType;
1608
- (function (SectionType) {
1609
- SectionType[SectionType["Single"] = 0] = "Single";
1610
- SectionType[SectionType["Structure"] = 1] = "Structure";
1611
- SectionType[SectionType["Channel"] = 2] = "Channel";
1612
- })(SectionType || (SectionType = {}));
1613
- const sectionTypeOptions = mapEnumToOptions(SectionType);
1614
-
1615
1593
  class CreateOrUpdateSectionsInputBase {
1616
1594
  constructor() {
1617
1595
  this.id = [''];
@@ -1633,6 +1611,14 @@ class CreateOrUpdateSectionsInputBase {
1633
1611
  }
1634
1612
  }
1635
1613
 
1614
+ var SectionType;
1615
+ (function (SectionType) {
1616
+ SectionType[SectionType["Single"] = 0] = "Single";
1617
+ SectionType[SectionType["Structure"] = 1] = "Structure";
1618
+ SectionType[SectionType["Channel"] = 2] = "Channel";
1619
+ })(SectionType || (SectionType = {}));
1620
+ const sectionTypeOptions = mapEnumToOptions(SectionType);
1621
+
1636
1622
  class CreateOrEditSectionsModalComponent {
1637
1623
  constructor() {
1638
1624
  this._LocalizationService = inject(LocalizationService);
@@ -2417,6 +2403,7 @@ class EntryConfig {
2417
2403
  }
2418
2404
  }
2419
2405
 
2406
+ // import { SectionAdminService } from '../../../proxy/admin/sections';
2420
2407
  class EntryConfigComponent {
2421
2408
  constructor(fb,
2422
2409
  // private _SiteAdminService: SiteAdminService,
@@ -2525,6 +2512,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
2525
2512
  }] } });
2526
2513
 
2527
2514
  /* eslint-disable @angular-eslint/component-selector */
2515
+ // import { EntryAdminService } from '../../../proxy/admin/entries';
2516
+ // import { EntryStatus } from '../../../proxy/entries/entry-status.enum';
2528
2517
  class EntryControlComponent {
2529
2518
  constructor() {
2530
2519
  this.fb = inject(FormBuilder);
@@ -3514,7 +3503,7 @@ const Fields_Entity_Action = EntityAction.createMany([
3514
3503
  const router = data.getInjected(Router);
3515
3504
  router.navigate([`/cms/admin/fields/${data.record.id}/edit`]);
3516
3505
  },
3517
- permission: 'TravelyAdmin.Area.Update',
3506
+ permission: 'CmsAdmin.Field.Update',
3518
3507
  },
3519
3508
  {
3520
3509
  text: 'AbpUi::Delete',
@@ -3523,30 +3512,9 @@ const Fields_Entity_Action = EntityAction.createMany([
3523
3512
  // component.clickbtn({ data, type: 'delete' })
3524
3513
  component.deletefield(data.record);
3525
3514
  },
3526
- permission: 'TravelyAdmin.Area.Delete',
3515
+ permission: 'CmsAdmin.Field.Delete',
3527
3516
  },
3528
3517
  ]);
3529
- // [PageName.Area]:Area_Entity_Action,
3530
- // export const Area_Entity_Action = EntityAction.createMany<any>([
3531
- // {
3532
- // text: 'AbpUi::Edit',
3533
- // action: data => {
3534
- // const component = data.getInjected(AreaComponent);
3535
- // // component.clickbtn({ data, type: 'edit' })
3536
- // component.createOrEditArea(data.record)
3537
- // },
3538
- // permission: 'TravelyAdmin.Area.Update',
3539
- // },
3540
- // {
3541
- // text: 'AbpUi::Delete',
3542
- // action: data => {
3543
- // const component = data.getInjected(AreaComponent);
3544
- // // component.clickbtn({ data, type: 'delete' })
3545
- // component.deleteArea(data.record)
3546
- // },
3547
- // permission: 'TravelyAdmin.Area.Delete',
3548
- // },
3549
- // ]);
3550
3518
 
3551
3519
  /**默认-实体-操作 */
3552
3520
  const Default_Entity_Actions = {
@@ -3825,7 +3793,6 @@ class CmsModule {
3825
3793
  PageModule,
3826
3794
  NzSelectModule,
3827
3795
  DynamicFormModule.forRoot({
3828
- // cmsFieldControlGroup: [...cmsFieldControlGroup, ...fielFieldControlGroup, ...ckEditorFieldControlGroup]
3829
3796
  cmsFieldControlGroup: cmsFieldControlGroup
3830
3797
  }),
3831
3798
  DynamicFormModule.forRoot(),
@@ -3864,7 +3831,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
3864
3831
  PageModule,
3865
3832
  NzSelectModule,
3866
3833
  DynamicFormModule.forRoot({
3867
- // cmsFieldControlGroup: [...cmsFieldControlGroup, ...fielFieldControlGroup, ...ckEditorFieldControlGroup]
3868
3834
  cmsFieldControlGroup: cmsFieldControlGroup
3869
3835
  }),
3870
3836
  DynamicFormModule.forRoot(),