@dignite-ng/expand.cms 3.0.0-rc.20 → 3.0.0-rc.22

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.
@@ -371,6 +371,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
371
371
  }]
372
372
  }], ctorParameters: () => [{ type: FormAdminService }] });
373
373
 
374
+ /* eslint-disable no-async-promise-executor */
375
+ /* eslint-disable @angular-eslint/component-selector */
374
376
  class EntriesComponent {
375
377
  constructor(_EntryAdminService, _SectionAdminService, toaster, confirmation, configState, router, _LocalizationService, _FormAdminService, _FieldAdminService, cdRef, _FormControlsService) {
376
378
  this._EntryAdminService = _EntryAdminService;
@@ -483,8 +485,8 @@ class EntriesComponent {
483
485
  /**设置筛选条件 */
484
486
  setfiltersValue() {
485
487
  return new Promise((resolve, rejects) => {
486
- let extraProperties = this.extraPropertiesInput.value;
487
- let inputs = [];
488
+ const extraProperties = this.extraPropertiesInput.value;
489
+ const inputs = [];
488
490
  for (const key in extraProperties) {
489
491
  const element = extraProperties[key];
490
492
  if (Array.isArray(element) ? (element.length > 0 ? element : null) : element) {
@@ -512,9 +514,9 @@ class EntriesComponent {
512
514
  /**获取版块下的条目类型 */
513
515
  async getSectionOfEntryType() {
514
516
  // let sectionId = this.filtersForm.get('sectionId').value;
515
- let sectionId = this.filters.sectionId;
516
- let SectionInfo = await this.getSectionInfo(sectionId);
517
- let _entryTypeList = SectionInfo?.entryTypes || [];
517
+ const sectionId = this.filters.sectionId;
518
+ const SectionInfo = await this.getSectionInfo(sectionId);
519
+ const _entryTypeList = SectionInfo?.entryTypes || [];
518
520
  // let _entryTypeList = this.SiteOfSectionList.find(el => el.id == sectionId)?.entryTypes || [];
519
521
  this.entryTypeList = _entryTypeList;
520
522
  //选择板块的类型SectionType
@@ -576,7 +578,7 @@ class EntriesComponent {
576
578
  getSectionLanguagesList() {
577
579
  return new Promise(async (resolve, rejects) => {
578
580
  //获取所有语言 */
579
- let languagesSystem = this.configState.getDeep('localization.languages');
581
+ const languagesSystem = this.configState.getDeep('localization.languages');
580
582
  //获取系统默认语言 */
581
583
  let DefaultLanguage = this.config.getSetting('Abp.Regionalization.DefaultCultureName');
582
584
  const configCmsSiteLanguages = this.config.getSetting('Cms.Site.Languages');
@@ -588,12 +590,12 @@ class EntriesComponent {
588
590
  }
589
591
  const LanguagesSite = (configCmsSiteLanguages ? configCmsSiteLanguages.split(',') : '') ||
590
592
  this.SiteSettingsAdminLanguages;
591
- let LanguagesArray = languagesSystem.filter(el => LanguagesSite.includes(el.cultureName));
593
+ const LanguagesArray = languagesSystem.filter(el => LanguagesSite.includes(el.cultureName));
592
594
  //获取当前选择的语言
593
- let nowculture = this.filters.culture;
595
+ const nowculture = this.filters.culture;
594
596
  // let nowculture = this.filtersForm.get('culture').value;
595
597
  //当前选择的语言,是否在版块的的语言列表中
596
- let isexist = LanguagesArray.find(el => el.cultureName == nowculture);
598
+ const isexist = LanguagesArray.find(el => el.cultureName == nowculture);
597
599
  this.filters.culture = nowculture
598
600
  ? isexist
599
601
  ? nowculture
@@ -678,9 +680,9 @@ class EntriesComponent {
678
680
  });
679
681
  }
680
682
  drop(event) {
681
- let previousId = this.data.items[event.previousIndex].id;
682
- let previousIndexOrder = this.data.items[event.previousIndex].order;
683
- let currentIndexOrder = this.data.items[event.currentIndex].order;
683
+ const previousId = this.data.items[event.previousIndex].id;
684
+ const previousIndexOrder = this.data.items[event.previousIndex].order;
685
+ const currentIndexOrder = this.data.items[event.currentIndex].order;
684
686
  let moveorder = currentIndexOrder;
685
687
  if (previousIndexOrder < currentIndexOrder) {
686
688
  moveorder = currentIndexOrder + 1;
@@ -808,6 +810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
808
810
  }]
809
811
  }], ctorParameters: () => [{ type: i1.RestService }] });
810
812
 
813
+ /* eslint-disable no-prototype-builtins */
811
814
  class CmsApiService {
812
815
  constructor() { }
813
816
  /**
@@ -818,13 +821,13 @@ class CmsApiService {
818
821
  * */
819
822
  chineseToPinyin(value) {
820
823
  //去除字符串中所有的空格
821
- let val = value.replaceAll(' ', '-');
822
- let array = val.split('');
823
- let newArray = [];
824
+ const val = value.replaceAll(' ', '-');
825
+ const array = val.split('');
826
+ const newArray = [];
824
827
  array.forEach((el, index) => {
825
828
  //转化为小写
826
829
  let elChange = el.toLowerCase();
827
- let isChinese = str => {
830
+ const isChinese = str => {
828
831
  return /^[\u4e00-\u9fa5]+$/.test(str);
829
832
  };
830
833
  if (isChinese(elChange)) {
@@ -835,7 +838,7 @@ class CmsApiService {
835
838
  }
836
839
  newArray.push(elChange);
837
840
  });
838
- let pinyinstr = newArray.join('');
841
+ const pinyinstr = newArray.join('');
839
842
  return pinyinstr || val;
840
843
  }
841
844
  /**
@@ -844,7 +847,7 @@ class CmsApiService {
844
847
  if (typeof obj !== 'object' || obj === null)
845
848
  return obj;
846
849
  const result = Array.isArray(obj) ? [] : {};
847
- for (let key in obj) {
850
+ for (const key in obj) {
848
851
  if (obj.hasOwnProperty(key)) {
849
852
  if (typeof obj[key] === 'object' && obj[key] !== null) {
850
853
  if (obj[key] instanceof Date) {
@@ -898,6 +901,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
898
901
  }]
899
902
  }], ctorParameters: () => [] });
900
903
 
904
+ /* eslint-disable @angular-eslint/component-selector */
901
905
  class CreateOrEditEntriesComponent {
902
906
  constructor() {
903
907
  this.toaster = inject(ToasterService);
@@ -937,7 +941,7 @@ class CreateOrEditEntriesComponent {
937
941
  set entity(value) {
938
942
  this.formEntity = value;
939
943
  if (value) {
940
- let languages = this.configState.getDeep('localization.languages');
944
+ const languages = this.configState.getDeep('localization.languages');
941
945
  this.languagesList = languages;
942
946
  this.loadData();
943
947
  }
@@ -956,7 +960,7 @@ class CreateOrEditEntriesComponent {
956
960
  await this.getEntryList();
957
961
  }
958
962
  this.cultureInput.disable();
959
- let repetition = await this.cultureAsyncValidator();
963
+ const repetition = await this.cultureAsyncValidator();
960
964
  if (repetition)
961
965
  this.cultureInput.setErrors(repetition);
962
966
  this.slugInput.addAsyncValidators(this.SlugAsyncValidator());
@@ -991,8 +995,7 @@ class CreateOrEditEntriesComponent {
991
995
  // /**别名查重 */
992
996
  SlugAsyncValidator() {
993
997
  return (control) => {
994
- return new Promise(async (resolve) => {
995
- let touchedOrDirty = control.touched || control.dirty;
998
+ return new Promise(resolve => {
996
999
  if (control.value) {
997
1000
  if (control.value == this.entryInfo?.slug) {
998
1001
  resolve(null);
@@ -1021,7 +1024,7 @@ class CreateOrEditEntriesComponent {
1021
1024
  /**定义自定义异步验证 */
1022
1025
  cultureAsyncValidator() {
1023
1026
  return new Promise(resolve => {
1024
- let culture = this.cultureInput.value;
1027
+ const culture = this.cultureInput.value;
1025
1028
  if (culture == this.entryInfo?.culture || this.sectionInfo.type !== 0)
1026
1029
  return resolve(null);
1027
1030
  this._EntryAdminService
@@ -1062,10 +1065,10 @@ class CreateOrEditEntriesComponent {
1062
1065
  culture: this.cultureInput.value,
1063
1066
  })
1064
1067
  .subscribe((res) => {
1065
- let entryList = res.items.filter(el => el.id !== this.entryInfo?.id);
1066
- let parentList = entryList.filter(el => !el.parentId);
1068
+ const entryList = res.items.filter(el => el.id !== this.entryInfo?.id);
1069
+ const parentList = entryList.filter(el => !el.parentId);
1067
1070
  parentList.forEach(el => {
1068
- let layer = 0;
1071
+ const layer = 0;
1069
1072
  el.layer = new Array(layer);
1070
1073
  el.children = this.groupByParentId(entryList, el.id, layer + 1);
1071
1074
  });
@@ -1086,8 +1089,8 @@ class CreateOrEditEntriesComponent {
1086
1089
  }
1087
1090
  /**标题转化别名 */
1088
1091
  setTitleToSlugBlur(event) {
1089
- let val = event.target.value;
1090
- let slug = this.formEntity.get('slug');
1092
+ const val = event.target.value;
1093
+ const slug = this.formEntity.get('slug');
1091
1094
  let pinyinstr = '';
1092
1095
  if (slug.value)
1093
1096
  return;
@@ -1162,6 +1165,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
1162
1165
  args: ['submitclick', { static: true }]
1163
1166
  }] } });
1164
1167
 
1168
+ /* eslint-disable @angular-eslint/component-selector */
1165
1169
  class CreateComponent {
1166
1170
  constructor() {
1167
1171
  this.fb = inject(FormBuilder);
@@ -1199,7 +1203,7 @@ class CreateComponent {
1199
1203
  return this.formEntity?.get('culture');
1200
1204
  }
1201
1205
  async ngOnInit() {
1202
- let queryParams = this.route.snapshot.queryParams;
1206
+ const queryParams = this.route.snapshot.queryParams;
1203
1207
  this.cultureName = queryParams.cultureName;
1204
1208
  this.entryTypeId = queryParams.entryTypeId;
1205
1209
  this.sectionId = queryParams.sectionId;
@@ -1224,11 +1228,12 @@ class CreateComponent {
1224
1228
  /**提交 */
1225
1229
  save() {
1226
1230
  this.formValidation = this._ValidatorsService.getFormValidationStatus(this.formEntity);
1231
+ console.log(this.formValidation, '提交', this.formEntity);
1227
1232
  if (this._ValidatorsService.isCheckForm(this.formValidation, 'Cms')) {
1228
1233
  this.isSubmit = false;
1229
1234
  return this.cultureInput.disable();
1230
1235
  }
1231
- let input = this.formEntity?.value;
1236
+ const input = this.formEntity?.value;
1232
1237
  input.culture = this.cultureName;
1233
1238
  input.publishTime = new Date(new Date(input.publishTime).getTime() + 8 * 60 * 60 * 1000).toISOString();
1234
1239
  if (!this.formEntity.valid)
@@ -2670,20 +2675,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
2670
2675
  }] } });
2671
2676
 
2672
2677
  class EntryConfig {
2673
- constructor(data) {
2678
+ constructor() {
2674
2679
  /**多选 */
2675
2680
  this['Entry.Multiple'] = [false, []];
2676
2681
  /**占位符 */
2677
2682
  this['Entry.Placeholder'] = ['', []];
2678
2683
  /**版块id */
2679
2684
  this['Entry.SectionId'] = ['', []];
2680
- if (data) {
2681
- for (const key in data) {
2682
- if (data.hasOwnProperty(key)) {
2683
- this[key] = data[key];
2684
- }
2685
- }
2686
- }
2687
2685
  }
2688
2686
  }
2689
2687
 
@@ -2802,6 +2800,7 @@ class EntryControlComponent {
2802
2800
  constructor() {
2803
2801
  this.fb = inject(FormBuilder);
2804
2802
  this._EntryAdminService = inject(EntryAdminService);
2803
+ this._LocalizationService = inject(LocalizationService);
2805
2804
  /**字段配置列表 */
2806
2805
  this._fields = '';
2807
2806
  /** */
@@ -2839,15 +2838,16 @@ class EntryControlComponent {
2839
2838
  }
2840
2839
  AfterInit() {
2841
2840
  return new Promise((resolve, rejects) => {
2842
- let ValidatorsArray = [];
2841
+ const ValidatorsArray = [];
2843
2842
  if (this._fields.required) {
2844
2843
  ValidatorsArray.push(Validators.required);
2845
2844
  }
2846
2845
  if (!this._fields.field.formConfiguration['Entry.Multiple']) {
2847
2846
  this.listOfSelectedValue = this._selected[0];
2848
2847
  }
2849
- let newControl = this.fb.control(this._selected, ValidatorsArray);
2850
- let extraProperties = this._entity.get(this._parentFiledName);
2848
+ const newControl = this.fb.control(this._selected, ValidatorsArray);
2849
+ // newControl.addValidators(this.arrpanduan())
2850
+ const extraProperties = this._entity.get(this._parentFiledName);
2851
2851
  extraProperties.setControl(this._fields.field.name, newControl);
2852
2852
  resolve(true);
2853
2853
  });
@@ -2856,7 +2856,7 @@ class EntryControlComponent {
2856
2856
  return this._entity?.get(this._parentFiledName)?.get(this._fields.field.name);
2857
2857
  }
2858
2858
  ModelChange(event) {
2859
- this.selectInput.patchValue([event]);
2859
+ this.selectInput.patchValue(event ? [event] : []);
2860
2860
  }
2861
2861
  /**获取对应的条目 */
2862
2862
  getEntryAssignList(filter = '') {
@@ -2881,12 +2881,12 @@ class EntryControlComponent {
2881
2881
  await this.getEntryAssignList(event);
2882
2882
  }
2883
2883
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntryControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2884
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: EntryControlComponent, selector: "cms-entry-control", inputs: { entity: "entity", fields: "fields", parentFiledName: "parentFiledName", selected: "selected", culture: "culture" }, viewQueries: [{ propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n [ngModel]=\"listOfSelectedValue\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"ModelChange($event)\">\r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>", styles: ["::ng-deep .entry-control-page nz-select.form-select{padding:0}::ng-deep .entry-control-page nz-select{width:100%}::ng-deep .entry-control-page nz-select .ant-select-selector{background:transparent!important;border:none!important;padding:.475rem 1.25rem!important;box-shadow:none!important;height:auto!important}::ng-deep .entry-control-page nz-select .anticon-search,::ng-deep .entry-control-page nz-select .anticon-down{display:none}::ng-deep .entry-control-page .ant-select{color:inherit!important}::ng-deep .entry-control-page .ant-select-selection-placeholder{color:inherit!important}::ng-deep .entry-control-page .ant-select-multiple .ant-select-selection-item{max-width:40%!important}::ng-deep .cdk-overlay-container .ant-select-dropdown{background:var(--lpx-content-bg)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:var(--bs-primary)!important;color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:var(--lpx-brand)!important;color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item{color:var(--bs-body-color)}::ng-deep .was-validated .form-select-multiple{border-color:#4fbf67;padding-right:calc(1.5em + 1.35rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%234fbf67' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .3375rem) center;background-size:calc(.75em + .675rem) calc(.75em + .675rem)}\n"], 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.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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i4$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }] }); }
2884
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: EntryControlComponent, selector: "cms-entry-control", inputs: { entity: "entity", fields: "fields", parentFiledName: "parentFiledName", selected: "selected", culture: "culture" }, viewQueries: [{ propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select dignite-form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select dignite-form-select form-select-multiple\" [nzMaxMultipleCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"tags\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\">\r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\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$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i4$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }] }); }
2885
2885
  }
2886
2886
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntryControlComponent, decorators: [{
2887
2887
  type: Component,
2888
- args: [{ selector: 'cms-entry-control', template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n [ngModel]=\"listOfSelectedValue\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"ModelChange($event)\">\r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>", styles: ["::ng-deep .entry-control-page nz-select.form-select{padding:0}::ng-deep .entry-control-page nz-select{width:100%}::ng-deep .entry-control-page nz-select .ant-select-selector{background:transparent!important;border:none!important;padding:.475rem 1.25rem!important;box-shadow:none!important;height:auto!important}::ng-deep .entry-control-page nz-select .anticon-search,::ng-deep .entry-control-page nz-select .anticon-down{display:none}::ng-deep .entry-control-page .ant-select{color:inherit!important}::ng-deep .entry-control-page .ant-select-selection-placeholder{color:inherit!important}::ng-deep .entry-control-page .ant-select-multiple .ant-select-selection-item{max-width:40%!important}::ng-deep .cdk-overlay-container .ant-select-dropdown{background:var(--lpx-content-bg)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:var(--bs-primary)!important;color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:var(--lpx-brand)!important;color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item{color:var(--bs-body-color)}::ng-deep .was-validated .form-select-multiple{border-color:#4fbf67;padding-right:calc(1.5em + 1.35rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%234fbf67' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .3375rem) center;background-size:calc(.75em + .675rem) calc(.75em + .675rem)}\n"] }]
2889
- }], ctorParameters: () => [], propDecorators: { entity: [{
2888
+ args: [{ selector: 'cms-entry-control', template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select dignite-form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select dignite-form-select form-select-multiple\" [nzMaxMultipleCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"tags\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\">\r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>" }]
2889
+ }], propDecorators: { entity: [{
2890
2890
  type: Input
2891
2891
  }], fields: [{
2892
2892
  type: Input
@@ -3037,11 +3037,11 @@ class EntrySearchComponent {
3037
3037
  await this.getEntryAssignList(event);
3038
3038
  }
3039
3039
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntrySearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3040
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: EntrySearchComponent, selector: "cms-entry-search", inputs: { entity: "entity", fields: "fields", parentFiledName: "parentFiledName", culture: "culture" }, viewQueries: [{ propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n [ngModel]=\"listOfSelectedValue\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"ModelChange($event)\">\r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>", styles: ["::ng-deep .entry-control-page nz-select.form-select{padding:0}::ng-deep .entry-control-page nz-select{width:100%}::ng-deep .entry-control-page nz-select .ant-select-selector{background:transparent!important;border:none!important;padding:.475rem 1.25rem!important;box-shadow:none!important;height:auto!important}::ng-deep .entry-control-page nz-select .anticon-search,::ng-deep .entry-control-page nz-select .anticon-down{display:none}::ng-deep .entry-control-page nz-select .ant-select-selection-search-input{height:100%!important}::ng-deep .entry-control-page .ant-select{color:inherit!important}::ng-deep .entry-control-page .ant-select-selection-placeholder{color:inherit!important}::ng-deep .entry-control-page .ant-select-multiple .ant-select-selection-item{max-width:40%!important}::ng-deep .cdk-overlay-container .ant-select-dropdown{background:var(--lpx-content-bg)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:var(--bs-primary)!important;color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:var(--lpx-brand);color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item{color:var(--bs-body-color)}::ng-deep .was-validated .form-select-multiple{border-color:#4fbf67;padding-right:calc(1.5em + 1.35rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%234fbf67' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .3375rem) center;background-size:calc(.75em + .675rem) calc(.75em + .675rem)}\n"], 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.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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i4$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }] }); }
3040
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: EntrySearchComponent, selector: "cms-entry-search", inputs: { entity: "entity", fields: "fields", parentFiledName: "parentFiledName", culture: "culture" }, viewQueries: [{ propertyName: "submitclick", first: true, predicate: ["submitclick"], descendants: true, static: true }], ngImport: i0, template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select dignite-form-select \" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select dignite-form-select \" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n [ngModel]=\"listOfSelectedValue\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"ModelChange($event)\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\"> \r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\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$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i5.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i4$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }] }); }
3041
3041
  }
3042
3042
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntrySearchComponent, decorators: [{
3043
3043
  type: Component,
3044
- args: [{ selector: 'cms-entry-search', template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select form-select-multiple\" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n [ngModel]=\"listOfSelectedValue\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"ModelChange($event)\">\r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>", styles: ["::ng-deep .entry-control-page nz-select.form-select{padding:0}::ng-deep .entry-control-page nz-select{width:100%}::ng-deep .entry-control-page nz-select .ant-select-selector{background:transparent!important;border:none!important;padding:.475rem 1.25rem!important;box-shadow:none!important;height:auto!important}::ng-deep .entry-control-page nz-select .anticon-search,::ng-deep .entry-control-page nz-select .anticon-down{display:none}::ng-deep .entry-control-page nz-select .ant-select-selection-search-input{height:100%!important}::ng-deep .entry-control-page .ant-select{color:inherit!important}::ng-deep .entry-control-page .ant-select-selection-placeholder{color:inherit!important}::ng-deep .entry-control-page .ant-select-multiple .ant-select-selection-item{max-width:40%!important}::ng-deep .cdk-overlay-container .ant-select-dropdown{background:var(--lpx-content-bg)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:var(--bs-primary)!important;color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:var(--lpx-brand);color:var(--lpx-text-white)!important}::ng-deep .cdk-overlay-container .ant-select-item{color:var(--bs-body-color)}::ng-deep .was-validated .form-select-multiple{border-color:#4fbf67;padding-right:calc(1.5em + 1.35rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%234fbf67' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .3375rem) center;background-size:calc(.75em + .675rem) calc(.75em + .675rem)}\n"] }]
3044
+ args: [{ selector: 'cms-entry-search', template: "<form [formGroup]=\"_entity\">\r\n <div [formGroupName]=\"_parentFiledName\" class=\"entry-control-page\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" *ngIf=\"_fields.displayName\">{{ _fields.displayName }}</label>\r\n <ng-container *ngIf=\"_fields.field.formConfiguration['Entry.Multiple']; else elseTemplate\">\r\n <nz-select class=\"form-select dignite-form-select \" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch nzMode=\"multiple\" [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n formControlName=\"{{_fields.field.name}}\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\">\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <nz-select class=\"form-select dignite-form-select \" [nzMaxTagCount]=\"1\" (nzOnSearch)=\"SelectChange($event)\" nzShowSearch [nzPlaceHolder]=\"_fields.field.formConfiguration['Entry.Placeholder']\"\r\n [ngModel]=\"listOfSelectedValue\" [ngModelOptions]=\"{standalone: true}\" (ngModelChange)=\"ModelChange($event)\" [nzDropdownMatchSelectWidth]=\"true\" [nzDropdownClassName]=\"'dignite-form-select-dropdown'\"> \r\n <nz-option [nzLabel]=\"_fields.field.formConfiguration['Entry.Placeholder']\" [nzValue]=\"''\"></nz-option>\r\n <nz-option *ngFor=\"let item of listOfOption\" [nzLabel]=\"item.title\" [nzValue]=\"item.id\"></nz-option>\r\n </nz-select>\r\n </ng-template>\r\n <small class=\"form-text text-muted d-block\" *ngIf=\"_fields.field.description\">{{_fields.field.description}}</small>\r\n </div>\r\n </div>\r\n <button type=\"submit\" style=\"display: none;\" #submitclick></button>\r\n</form>" }]
3045
3045
  }], ctorParameters: () => [], propDecorators: { entity: [{
3046
3046
  type: Input
3047
3047
  }], fields: [{
@@ -3804,10 +3804,10 @@ a {
3804
3804
  }
3805
3805
 
3806
3806
 
3807
- :root select{
3808
- cursor: pointer; /* this will show the pointer when hovering */
3809
- }
3810
- .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 }
3807
+ // :root select{
3808
+ // cursor: pointer; /* this will show the pointer when hovering */
3809
+ // }
3810
+ // .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 }
3811
3811
 
3812
3812
  /*** 表单验证样式 start */
3813
3813
  .was-validated .form-control:invalid, .form-control.is-invalid{
@@ -3823,7 +3823,7 @@ function appentStyle() {
3823
3823
  return;
3824
3824
  isAppentStyle = true;
3825
3825
  const rendererFactory = inject(RendererFactory2);
3826
- let renderer = rendererFactory.createRenderer(null, null);
3826
+ const renderer = rendererFactory.createRenderer(null, null);
3827
3827
  const style = renderer.createElement('style');
3828
3828
  renderer.setProperty(style, 'innerHTML', styles);
3829
3829
  renderer.appendChild(document.head, style);
@@ -4278,7 +4278,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
4278
4278
  }]
4279
4279
  }] });
4280
4280
 
4281
- // import { AdvancedEntityFiltersModule, CommercialUiModule } from '@volo/abp.commercial.ng.ui';
4282
4281
  class CmsModule {
4283
4282
  static forChild(options = {}) {
4284
4283
  return {