@dignite-ng/expand.cms 3.0.0-rc.14 → 3.0.0-rc.16
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/components/admin/entries/create-or-edit-entries.component.mjs +60 -6
- package/esm2022/lib/components/admin/entries/entries.component.mjs +14 -7
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +1 -2
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +1 -3
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +4 -4
- package/esm2022/lib/components/dynamic-form/entry/entry-search.component.mjs +4 -4
- package/fesm2022/dignite-ng-expand.cms.mjs +78 -20
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
3
|
import { Location } from '@angular/common';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class CreateOrEditEntriesComponent {
|
|
6
7
|
private toaster;
|
|
@@ -12,6 +13,7 @@ export declare class CreateOrEditEntriesComponent {
|
|
|
12
13
|
private _LocalizationService;
|
|
13
14
|
private router;
|
|
14
15
|
private _CmsApiService;
|
|
16
|
+
private cdRef;
|
|
15
17
|
/**语言列表 */
|
|
16
18
|
languagesList: any[];
|
|
17
19
|
/**条目列表-选择上级条目 */
|
|
@@ -36,10 +38,12 @@ export declare class CreateOrEditEntriesComponent {
|
|
|
36
38
|
isLoad: boolean;
|
|
37
39
|
/**语言控件 */
|
|
38
40
|
get cultureInput(): FormControl;
|
|
41
|
+
get slugInput(): FormControl;
|
|
39
42
|
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
40
43
|
submitclick: ElementRef;
|
|
41
44
|
/**加载数据 */
|
|
42
45
|
loadData(): Promise<void>;
|
|
46
|
+
SlugAsyncValidator(): (control: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
43
47
|
/**定义自定义异步验证 */
|
|
44
48
|
cultureAsyncValidator(): Promise<unknown>;
|
|
45
49
|
/**获取板块信息 */
|