@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.
- package/esm2022/lib/cms.module.mjs +2 -3
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +11 -11
- package/esm2022/lib/components/admin/entries/create.component.mjs +5 -3
- package/esm2022/lib/components/admin/entries/entries.component.mjs +15 -13
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +2 -9
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +11 -8
- package/esm2022/lib/components/dynamic-form/entry/entry-search.component.mjs +3 -3
- package/esm2022/lib/constants/styles.mjs +5 -5
- package/esm2022/lib/services/appent-content.mjs +2 -2
- package/esm2022/lib/services/cms-api.service.mjs +8 -7
- package/fesm2022/dignite-ng-expand.cms.mjs +52 -53
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +4 -4
- package/lib/components/admin/entries/create.component.d.ts +5 -5
- package/lib/components/admin/entries/entries.component.d.ts +1 -1
- package/lib/components/dynamic-form/entry/entry-config.d.ts +0 -1
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +2 -2
- package/lib/constants/styles.d.ts +1 -1
- package/package.json +6 -1
|
@@ -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
|
-
|
|
487
|
-
|
|
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
|
-
|
|
516
|
-
|
|
517
|
-
|
|
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
|
-
|
|
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
|
-
|
|
593
|
+
const LanguagesArray = languagesSystem.filter(el => LanguagesSite.includes(el.cultureName));
|
|
592
594
|
//获取当前选择的语言
|
|
593
|
-
|
|
595
|
+
const nowculture = this.filters.culture;
|
|
594
596
|
// let nowculture = this.filtersForm.get('culture').value;
|
|
595
597
|
//当前选择的语言,是否在版块的的语言列表中
|
|
596
|
-
|
|
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
|
-
|
|
682
|
-
|
|
683
|
-
|
|
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
|
-
|
|
822
|
-
|
|
823
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 (
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
1066
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1090
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
2850
|
-
|
|
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\"
|
|
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\"
|
|
2889
|
-
}],
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|