@dignite-ng/expand.cms 0.0.14 → 0.0.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/config/enums/route-names.mjs +1 -1
- package/esm2022/config/providers/route.provider.mjs +1 -22
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +19 -5
- package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +1 -12
- package/esm2022/lib/components/admin/entries/create.component.mjs +5 -5
- package/esm2022/lib/components/admin/entries/edit.component.mjs +18 -15
- package/esm2022/lib/components/admin/entries/entries.component.mjs +17 -21
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +18 -10
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +8 -12
- package/esm2022/lib/components/admin/fields/create-or-update-field-input-base.mjs +2 -2
- package/esm2022/lib/components/admin/fields/edit-field.component.mjs +13 -6
- package/esm2022/lib/components/admin/fields/fields.component.mjs +10 -3
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +2 -2
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +20 -8
- package/esm2022/lib/components/admin/sections/sections.component.mjs +10 -10
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +9 -7
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +26 -23
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +9 -7
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +2 -16
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +10 -3
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +7 -5
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +19 -6
- package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +1 -8
- package/esm2022/lib/services/cms-api.service.mjs +1 -5
- package/esm2022/lib/services/field-abstracts.service.mjs +3 -2
- package/esm2022/lib/services/simple-reuse-strategy.mjs +1 -1
- package/esm2022/lib/services/update-list.service.mjs +19 -0
- package/fesm2022/dignite-ng-expand.cms-config.mjs +0 -21
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -1
- package/fesm2022/dignite-ng-expand.cms.mjs +191 -148
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +3 -0
- package/lib/components/admin/entries/create.component.d.ts +1 -0
- package/lib/components/admin/entries/edit.component.d.ts +4 -3
- package/lib/components/admin/entries/entries.component.d.ts +3 -2
- package/lib/components/admin/fields/create-field.component.d.ts +4 -1
- package/lib/components/admin/fields/create-or-edit-field.component.d.ts +3 -3
- package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +1 -0
- package/lib/components/admin/fields/edit-field.component.d.ts +4 -2
- package/lib/components/admin/fields/fields.component.d.ts +2 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +1 -0
- package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +4 -2
- package/lib/components/admin/sections/sections.component.d.ts +3 -0
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +4 -1
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +6 -7
- package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +1 -0
- package/lib/components/dynamic-form/matrix/matrix-config.d.ts +1 -7
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +4 -1
- package/lib/components/dynamic-form/table/table-control.component.d.ts +4 -0
- package/lib/services/update-list.service.d.ts +9 -0
- package/package.json +3 -3
|
@@ -49,6 +49,8 @@ export declare class CreateOrEditEntriesComponent implements AfterContentInit {
|
|
|
49
49
|
/**指定id的条目信息 */
|
|
50
50
|
entrySelect: any;
|
|
51
51
|
set parentEntrySelect(v: any);
|
|
52
|
+
/**将对象中的ExtraProperties赋值到extraProperties */
|
|
53
|
+
convertExtraProperties(obj: any): any;
|
|
52
54
|
/**别名表单实体 */
|
|
53
55
|
get sluginput(): AbstractControl<any, any>;
|
|
54
56
|
/**语言表单实体 */
|
|
@@ -78,6 +80,7 @@ export declare class CreateOrEditEntriesComponent implements AfterContentInit {
|
|
|
78
80
|
isChinese(str: any): boolean;
|
|
79
81
|
/**激活 */
|
|
80
82
|
ActivatedVersion(VersionId: any): void;
|
|
83
|
+
/**编辑版本 */
|
|
81
84
|
toEditUrl(id: any): void;
|
|
82
85
|
/**删除版本 */
|
|
83
86
|
delectVersion(vid: any): void;
|
|
@@ -15,6 +15,7 @@ export declare class CreateComponent implements OnInit {
|
|
|
15
15
|
private router;
|
|
16
16
|
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService, router: Router);
|
|
17
17
|
private fb;
|
|
18
|
+
private _updateListService;
|
|
18
19
|
/**表单实体 */
|
|
19
20
|
newEntity: FormGroup | undefined;
|
|
20
21
|
/**是否是草稿 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
2
2
|
import { ElementRef, OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import { Location } from '@angular/common';
|
|
6
6
|
import { LocalizationService } from '@abp/ng.core';
|
|
@@ -8,7 +8,6 @@ import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
|
8
8
|
import { CmsApiService } from '../../../services';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class EditComponent implements OnInit {
|
|
11
|
-
private fb;
|
|
12
11
|
private toaster;
|
|
13
12
|
_location: Location;
|
|
14
13
|
private route;
|
|
@@ -16,7 +15,9 @@ export declare class EditComponent implements OnInit {
|
|
|
16
15
|
private router;
|
|
17
16
|
private _LocalizationService;
|
|
18
17
|
private _CmsApiService;
|
|
19
|
-
constructor(
|
|
18
|
+
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, router: Router, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
|
|
19
|
+
private fb;
|
|
20
|
+
private _updateListService;
|
|
20
21
|
/**表单实体 */
|
|
21
22
|
newEntity: FormGroup | undefined;
|
|
22
23
|
/**是否是草稿 */
|
|
@@ -9,7 +9,6 @@ import { SectionAdminService } from '../../../proxy/admin/sections';
|
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class EntriesComponent implements OnInit {
|
|
12
|
-
readonly list: ListService;
|
|
13
12
|
private _EntryAdminService;
|
|
14
13
|
private _SiteAdminService;
|
|
15
14
|
private _SectionAdminService;
|
|
@@ -18,8 +17,10 @@ export declare class EntriesComponent implements OnInit {
|
|
|
18
17
|
private configState;
|
|
19
18
|
private router;
|
|
20
19
|
private _LocalizationService;
|
|
21
|
-
constructor(
|
|
20
|
+
constructor(_EntryAdminService: EntryAdminService, _SiteAdminService: SiteAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService);
|
|
22
21
|
private fb;
|
|
22
|
+
private _UpdateListService;
|
|
23
|
+
readonly list: ListService<any>;
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
/**站点列表 */
|
|
25
26
|
siteList: any[any];
|
|
@@ -5,6 +5,7 @@ import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
|
5
5
|
import { Location } from '@angular/common';
|
|
6
6
|
import { LocalizationService } from '@abp/ng.core';
|
|
7
7
|
import { CmsApiService } from '../../../services';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class CreateFieldComponent {
|
|
10
11
|
private fb;
|
|
@@ -13,7 +14,9 @@ export declare class CreateFieldComponent {
|
|
|
13
14
|
_location: Location;
|
|
14
15
|
_LocalizationService: LocalizationService;
|
|
15
16
|
_CmsApiService: CmsApiService;
|
|
16
|
-
|
|
17
|
+
private router;
|
|
18
|
+
constructor(fb: FormBuilder, _FieldAdminService: FieldAdminService, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, router: Router);
|
|
19
|
+
private _UpdateListService;
|
|
17
20
|
/**表单实体 */
|
|
18
21
|
newEntity: FormGroup | undefined;
|
|
19
22
|
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
2
|
-
import { AbstractControl,
|
|
2
|
+
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
3
|
import { CmsApiService } from '../../../services/cms-api.service';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
@@ -10,8 +10,7 @@ export declare class CreateOrEditFieldComponent {
|
|
|
10
10
|
private _CmsApiService;
|
|
11
11
|
private _FieldAdminService;
|
|
12
12
|
private _LocalizationService;
|
|
13
|
-
|
|
14
|
-
constructor(_FieldAbstractsService: FieldAbstractsService, _CmsApiService: CmsApiService, _FieldAdminService: FieldAdminService, _LocalizationService: LocalizationService, fb: FormBuilder);
|
|
13
|
+
constructor(_FieldAbstractsService: FieldAbstractsService, _CmsApiService: CmsApiService, _FieldAdminService: FieldAdminService, _LocalizationService: LocalizationService);
|
|
15
14
|
/**表单实体 */
|
|
16
15
|
_Entity: FormGroup | undefined;
|
|
17
16
|
set Entity(v: FormGroup | undefined);
|
|
@@ -26,6 +25,7 @@ export declare class CreateOrEditFieldComponent {
|
|
|
26
25
|
nameInputBlur(event: any): void;
|
|
27
26
|
/**字段标签input失去标点生成字段名字 */
|
|
28
27
|
disPlayNameInputBlur(event: any): void;
|
|
28
|
+
/**定义异步验证方法 */
|
|
29
29
|
repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
30
30
|
formControlNameChange(): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditFieldComponent, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
4
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
6
6
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
7
7
|
import { Location } from '@angular/common';
|
|
@@ -17,7 +17,8 @@ export declare class EditFieldComponent implements OnInit {
|
|
|
17
17
|
_location: Location;
|
|
18
18
|
_LocalizationService: LocalizationService;
|
|
19
19
|
_CmsApiService: CmsApiService;
|
|
20
|
-
|
|
20
|
+
private router;
|
|
21
|
+
constructor(fb: FormBuilder, _FieldAbstractsService: FieldAbstractsService, _FieldAdminService: FieldAdminService, route: ActivatedRoute, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, router: Router);
|
|
21
22
|
/**表单实体 */
|
|
22
23
|
newEntity: FormGroup | undefined;
|
|
23
24
|
/**字段id */
|
|
@@ -31,6 +32,7 @@ export declare class EditFieldComponent implements OnInit {
|
|
|
31
32
|
getFieldEdit(): Promise<unknown>;
|
|
32
33
|
/**触发提交按钮 */
|
|
33
34
|
submitclickBtn(): void;
|
|
35
|
+
private _UpdateListService;
|
|
34
36
|
/**保存表单 */
|
|
35
37
|
save(): void;
|
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditFieldComponent, never>;
|
|
@@ -15,6 +15,7 @@ export declare class FieldsComponent implements OnInit {
|
|
|
15
15
|
private router;
|
|
16
16
|
private _CmsApiService;
|
|
17
17
|
constructor(list: ListService, _FieldAdminService: FieldAdminService, toaster: ToasterService, confirmation: ConfirmationService, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
|
|
18
|
+
private _UpdateListService;
|
|
18
19
|
/**表格单元格布局类型 */
|
|
19
20
|
ColumnMode: typeof ColumnMode;
|
|
20
21
|
/**表格数据 */
|
|
@@ -22,6 +23,7 @@ export declare class FieldsComponent implements OnInit {
|
|
|
22
23
|
/**过滤器 */
|
|
23
24
|
filters: GetFieldsInput;
|
|
24
25
|
ngOnInit(): void;
|
|
26
|
+
getData(): void;
|
|
25
27
|
/**字段分组选择回调 */
|
|
26
28
|
fieldGroupChange(event: any): void;
|
|
27
29
|
/**使用abp的list获取表格的字段数据列表 */
|
|
@@ -4,7 +4,7 @@ import { FormArray, FormGroup } from '@angular/forms';
|
|
|
4
4
|
import { Location } from '@angular/common';
|
|
5
5
|
import { FieldGroupAdminService, FieldAdminService } from '../../../../proxy/admin/fields';
|
|
6
6
|
import { EntryTypeAdminService } from '../../../../proxy/admin/sections';
|
|
7
|
-
import { ActivatedRoute } from '@angular/router';
|
|
7
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
8
8
|
import { LocalizationService } from '@abp/ng.core';
|
|
9
9
|
import { CmsApiService } from '../../../../services/cms-api.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -17,8 +17,10 @@ export declare class CreateOrEditComponent implements OnInit {
|
|
|
17
17
|
_EntryTypeAdminService: EntryTypeAdminService;
|
|
18
18
|
_LocalizationService: LocalizationService;
|
|
19
19
|
_CmsApiService: CmsApiService;
|
|
20
|
-
|
|
20
|
+
private router;
|
|
21
|
+
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _FieldGroupAdminService: FieldGroupAdminService, _FieldAdminService: FieldAdminService, _EntryTypeAdminService: EntryTypeAdminService, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, router: Router);
|
|
21
22
|
private fb;
|
|
23
|
+
private _UpdateListService;
|
|
22
24
|
/**表单实体 */
|
|
23
25
|
newEntity: FormGroup | undefined;
|
|
24
26
|
/**版块id */
|
|
@@ -23,6 +23,7 @@ export declare class SectionsComponent implements OnInit {
|
|
|
23
23
|
_CmsApiService: CmsApiService;
|
|
24
24
|
private router;
|
|
25
25
|
constructor(list: ListService, _SectionAdminService: SectionAdminService, _SiteAdminService: SiteAdminService, toaster: ToasterService, confirmation: ConfirmationService, fb: FormBuilder, configState: ConfigStateService, _EntryTypeAdminService: EntryTypeAdminService, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, router: Router);
|
|
26
|
+
private _UpdateListService;
|
|
26
27
|
/**跳转编辑 */
|
|
27
28
|
jumpSectionsEdit(row: any, item: any): void;
|
|
28
29
|
/**跳转新建 */
|
|
@@ -85,7 +86,9 @@ export declare class SectionsComponent implements OnInit {
|
|
|
85
86
|
/**设置字段控件异步验证 */
|
|
86
87
|
setAsyncValidatorsFn(): void;
|
|
87
88
|
forbiddenNameValidator(): ValidatorFn;
|
|
89
|
+
/**定义异步验证方法 */
|
|
88
90
|
nameRepetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
91
|
+
/**定义异步验证方法 */
|
|
89
92
|
routeRepetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
90
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionsComponent, never>;
|
|
91
94
|
static ɵcmp: i0.ɵɵComponentDeclaration<SectionsComponent, "cms-sections", never, {}, {}, never, never, false, never>;
|
|
@@ -17,6 +17,9 @@ export declare class EntryConfigComponent implements AfterContentInit {
|
|
|
17
17
|
/**选择的表单信息 */
|
|
18
18
|
_selected: any;
|
|
19
19
|
set selected(v: any);
|
|
20
|
+
/**语言 */
|
|
21
|
+
_culture: any;
|
|
22
|
+
set culture(v: any);
|
|
20
23
|
get formConfiguration(): FormGroup<any>;
|
|
21
24
|
submitclick: ElementRef;
|
|
22
25
|
/**站点列表 */
|
|
@@ -35,5 +38,5 @@ export declare class EntryConfigComponent implements AfterContentInit {
|
|
|
35
38
|
/**切换站点 */
|
|
36
39
|
siteIdChange(): Promise<void>;
|
|
37
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryConfigComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfigComponent, "cms-entry-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfigComponent, "cms-entry-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
42
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
4
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class EntryControlComponent {
|
|
5
|
+
constructor();
|
|
7
6
|
private fb;
|
|
8
7
|
private _EntryAdminService;
|
|
9
|
-
private router;
|
|
10
|
-
private route;
|
|
11
|
-
constructor(fb: FormBuilder, _EntryAdminService: EntryAdminService, router: Router, route: ActivatedRoute);
|
|
12
8
|
/**表单实体 */
|
|
13
9
|
_entity: FormGroup | undefined;
|
|
14
10
|
set entity(v: any);
|
|
@@ -21,6 +17,9 @@ export declare class EntryControlComponent {
|
|
|
21
17
|
/**父级字段名称,用于为表单设置控件赋值 */
|
|
22
18
|
_selected: any;
|
|
23
19
|
set selected(v: any);
|
|
20
|
+
/**语言 */
|
|
21
|
+
_culture: any;
|
|
22
|
+
set culture(v: any);
|
|
24
23
|
submitclick: ElementRef;
|
|
25
24
|
extraProperties: FormGroup | undefined;
|
|
26
25
|
/** */
|
|
@@ -32,5 +31,5 @@ export declare class EntryControlComponent {
|
|
|
32
31
|
/** */
|
|
33
32
|
SelectChange(event: any): Promise<void>;
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryControlComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryControlComponent, "cms-entry-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryControlComponent, "cms-entry-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
35
|
}
|
|
@@ -59,6 +59,7 @@ export declare class MatrixConfigComponent {
|
|
|
59
59
|
addMatrixField(): void;
|
|
60
60
|
/**矩阵字段-新增矩阵字段项 */
|
|
61
61
|
addMatrixFieldItem(input: any, selectMatrixBlockIndex: any): void;
|
|
62
|
+
/**删除矩阵字段项 */
|
|
62
63
|
deleteMatrixField(MatrixFieldForm: any, index: any): void;
|
|
63
64
|
/**矩阵字段-选择 */
|
|
64
65
|
selectMatrixFieldChange(MatrixBlockIndex: any, MatrixFieldIndex: any): void;
|
|
@@ -4,19 +4,12 @@ export declare class MatrixConfig {
|
|
|
4
4
|
constructor(data?: MatrixConfig);
|
|
5
5
|
}
|
|
6
6
|
export declare class MatrixItemConfig {
|
|
7
|
-
/**空值文本 */
|
|
8
|
-
/**字段名称 */
|
|
9
7
|
displayName: any;
|
|
10
8
|
/**字段名字 */
|
|
11
9
|
name: any;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param data 字段信息
|
|
15
|
-
*/
|
|
16
10
|
constructor(data?: MatrixConfig);
|
|
17
11
|
}
|
|
18
12
|
export declare class matrixFieldInputBase {
|
|
19
|
-
/**分组id */
|
|
20
13
|
/**字段名称 Display name of this field */
|
|
21
14
|
displayName: any;
|
|
22
15
|
/**字段唯一名称 Unique Name*/
|
|
@@ -25,6 +18,7 @@ export declare class matrixFieldInputBase {
|
|
|
25
18
|
description: any;
|
|
26
19
|
/**FieldType字段类型 表单控件名称 */
|
|
27
20
|
formControlName: any;
|
|
21
|
+
/**动态表单配置 */
|
|
28
22
|
formConfiguration: FormGroup | undefined;
|
|
29
23
|
constructor(data?: matrixFieldInputBase);
|
|
30
24
|
}
|
|
@@ -16,6 +16,9 @@ export declare class MatrixControlComponent {
|
|
|
16
16
|
/**父级字段名称,用于为表单设置控件赋值 */
|
|
17
17
|
_selected: any;
|
|
18
18
|
set selected(v: any);
|
|
19
|
+
/**语言 */
|
|
20
|
+
_culture: any;
|
|
21
|
+
set culture(v: any);
|
|
19
22
|
submitclick: ElementRef;
|
|
20
23
|
/** 获取父级字段代表的表单组*/
|
|
21
24
|
extraProperties: FormGroup | undefined;
|
|
@@ -32,5 +35,5 @@ export declare class MatrixControlComponent {
|
|
|
32
35
|
/**删除矩阵控件 */
|
|
33
36
|
deleteMatrixControl(index: any): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixControlComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixControlComponent, "cms-matrix-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatrixControlComponent, "cms-matrix-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
39
|
}
|
|
@@ -27,6 +27,10 @@ export declare class TableControlComponent {
|
|
|
27
27
|
AfterInit(): Promise<unknown>;
|
|
28
28
|
/**增加表格项 */
|
|
29
29
|
addTableControlItem(): void;
|
|
30
|
+
/**删除表格项 */
|
|
31
|
+
minusTableControlItem(index: any): void;
|
|
32
|
+
/**调整表格位置 */
|
|
33
|
+
TableArrowUpOrDown(type: any, index: any): void;
|
|
30
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableControlComponent, never>;
|
|
31
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableControlComponent, "cms-table-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
36
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UpdateListService {
|
|
4
|
+
updateListEvent: EventEmitter<any>;
|
|
5
|
+
constructor();
|
|
6
|
+
updateList(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateListService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateListService>;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dignite-ng/expand.cms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.2.0",
|
|
6
6
|
"@angular/core": "^16.2.0",
|
|
7
7
|
"pinyin-pro": "^3.19.6",
|
|
8
|
-
"@dignite-ng/expand.dynamic-form": "^0.0.
|
|
9
|
-
"@dignite-ng/expand.file-explorer": "^0.0.
|
|
8
|
+
"@dignite-ng/expand.dynamic-form": "^0.0.7",
|
|
9
|
+
"@dignite-ng/expand.file-explorer": "^0.0.7"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|