@dignite-ng/expand.cms 2.0.0-rc.1 → 2.0.0-rc.11
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/config/enums/route-names.d.ts +1 -2
- package/esm2022/config/cms-config.module.mjs +3 -2
- package/esm2022/config/enums/route-names.mjs +1 -2
- package/esm2022/config/providers/route.provider.mjs +1 -15
- package/esm2022/lib/cms-routing.module.mjs +1 -1
- package/esm2022/lib/cms.module.mjs +18 -20
- package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +7 -7
- package/esm2022/lib/components/admin/entries/create.component.mjs +8 -8
- package/esm2022/lib/components/admin/entries/edit.component.mjs +7 -7
- package/esm2022/lib/components/admin/entries/entries.component.mjs +222 -58
- package/esm2022/lib/components/admin/fields/create-field.component.mjs +2 -2
- package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +11 -15
- package/esm2022/lib/components/admin/fields/edit-field.component.mjs +2 -2
- package/esm2022/lib/components/admin/fields/field-group.component.mjs +2 -2
- package/esm2022/lib/components/admin/fields/fields.component.mjs +2 -3
- package/esm2022/lib/components/admin/sections/create-or-edit-sections-modal.component.mjs +3 -3
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +5 -29
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +14 -10
- package/esm2022/lib/components/admin/sections/sections.component.mjs +5 -5
- package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +11 -8
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +1 -1
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +13 -9
- package/esm2022/lib/components/dynamic-form/form-control-group.mjs +2 -2
- package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +10 -3
- package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +28 -14
- package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +10 -3
- package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +30 -17
- package/esm2022/lib/proxy/dignite/abp/regionalization-management/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/abp/regionalization-management/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/abp/regionalization-management/regionalization.service.mjs +27 -0
- package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.mjs +22 -0
- package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/entries/entry-admin.service.mjs +70 -0
- package/esm2022/lib/proxy/dignite/cms/admin/entries/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/cms/admin/entries/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/field-admin.service.mjs +45 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.mjs +41 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/index.mjs +4 -0
- package/esm2022/lib/proxy/dignite/cms/admin/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.mjs +41 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/index.mjs +4 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/admin/sections/section-admin.service.mjs +51 -0
- package/esm2022/lib/proxy/dignite/cms/entries/entry-status.enum.mjs +8 -0
- package/esm2022/lib/proxy/dignite/cms/entries/index.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/fields/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/sections/index.mjs +3 -0
- package/esm2022/lib/proxy/dignite/cms/sections/models.mjs +2 -0
- package/esm2022/lib/proxy/dignite/cms/sections/section-type.enum.mjs +9 -0
- package/esm2022/lib/resolvers/table-default-entity-actions.mjs +3 -24
- package/esm2022/lib/resolvers/table-default-entity-props.mjs +3 -3
- package/esm2022/lib/services/cms-api.service.mjs +29 -6
- package/esm2022/lib/services/field-abstracts.service.mjs +5 -5
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/dignite-ng-expand.cms-config.mjs +4 -283
- package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -1
- package/fesm2022/dignite-ng-expand.cms.mjs +510 -333
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/cms.module.d.ts +9 -9
- package/lib/components/admin/entries/entries.component.d.ts +49 -16
- package/lib/components/admin/fields/create-field.component.d.ts +1 -1
- package/lib/components/admin/fields/create-or-edit-field.component.d.ts +2 -3
- package/lib/components/admin/fields/edit-field.component.d.ts +1 -1
- package/lib/components/admin/fields/field-group.component.d.ts +1 -1
- package/lib/components/admin/fields/fields.component.d.ts +1 -1
- package/lib/components/admin/sections/create-or-edit-sections-modal.component.d.ts +1 -1
- package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +4 -14
- package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +2 -2
- package/lib/components/admin/sections/sections.component.d.ts +2 -2
- package/lib/components/dynamic-form/entry/entry-config.component.d.ts +3 -2
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +1 -0
- package/lib/components/dynamic-form/form-control-group.d.ts +1 -1
- package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +1 -0
- package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +4 -1
- package/lib/components/dynamic-form/table/table-config.component.d.ts +1 -0
- package/lib/components/dynamic-form/table/table-control.component.d.ts +4 -1
- package/lib/proxy/dignite/abp/regionalization-management/index.d.ts +2 -0
- package/lib/proxy/dignite/abp/regionalization-management/models.d.ts +8 -0
- package/lib/proxy/dignite/abp/regionalization-management/regionalization.service.d.ts +12 -0
- package/lib/proxy/{admin → dignite/cms/admin}/dynamic-forms/models.d.ts +1 -0
- package/lib/proxy/{admin → dignite/cms/admin}/entries/models.d.ts +3 -2
- package/lib/proxy/{admin → dignite/cms/admin}/fields/models.d.ts +2 -2
- package/lib/proxy/{admin → dignite/cms/admin}/sections/models.d.ts +2 -1
- package/lib/proxy/{fields → dignite/cms/fields}/models.d.ts +1 -1
- package/lib/proxy/{sections → dignite/cms/sections}/models.d.ts +4 -3
- package/lib/services/cms-api.service.d.ts +8 -1
- package/lib/services/field-abstracts.service.d.ts +2 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/config/components/domains/domains.component.d.ts +0 -31
- package/config/components/site-language/site-language.component.d.ts +0 -30
- package/config/proxy/admin/domains/domain-admin.service.d.ts +0 -13
- package/config/proxy/admin/domains/index.d.ts +0 -2
- package/config/proxy/admin/domains/models.d.ts +0 -7
- package/config/proxy/dignite/cms/admin/sites/index.d.ts +0 -2
- package/config/proxy/dignite/cms/admin/sites/models.d.ts +0 -4
- package/config/proxy/dignite/cms/admin/sites/site-admin.service.d.ts +0 -13
- package/config/proxy/dignite/cms/sites/models.d.ts +0 -4
- package/esm2022/config/components/domains/domains.component.mjs +0 -118
- package/esm2022/config/components/site-language/site-language.component.mjs +0 -113
- package/esm2022/config/proxy/admin/domains/domain-admin.service.mjs +0 -32
- package/esm2022/config/proxy/admin/domains/index.mjs +0 -3
- package/esm2022/config/proxy/admin/domains/models.mjs +0 -2
- package/esm2022/config/proxy/dignite/cms/admin/sites/index.mjs +0 -3
- package/esm2022/config/proxy/dignite/cms/admin/sites/models.mjs +0 -2
- package/esm2022/config/proxy/dignite/cms/admin/sites/site-admin.service.mjs +0 -27
- package/esm2022/config/proxy/dignite/cms/sites/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/dynamic-forms/form-admin.service.mjs +0 -22
- package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +0 -3
- package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +0 -70
- package/esm2022/lib/proxy/admin/entries/index.mjs +0 -3
- package/esm2022/lib/proxy/admin/entries/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +0 -45
- package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +0 -41
- package/esm2022/lib/proxy/admin/fields/index.mjs +0 -4
- package/esm2022/lib/proxy/admin/fields/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +0 -41
- package/esm2022/lib/proxy/admin/sections/index.mjs +0 -4
- package/esm2022/lib/proxy/admin/sections/models.mjs +0 -2
- package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +0 -51
- package/esm2022/lib/proxy/admin/settings/index.mjs +0 -2
- package/esm2022/lib/proxy/admin/settings/site-settings-admin.service.mjs +0 -31
- package/esm2022/lib/proxy/entries/entry-status.enum.mjs +0 -8
- package/esm2022/lib/proxy/entries/index.mjs +0 -2
- package/esm2022/lib/proxy/fields/models.mjs +0 -2
- package/esm2022/lib/proxy/sections/index.mjs +0 -3
- package/esm2022/lib/proxy/sections/models.mjs +0 -2
- package/esm2022/lib/proxy/sections/section-type.enum.mjs +0 -9
- package/esm2022/lib/proxy/settings/models.mjs +0 -2
- package/lib/proxy/admin/settings/index.d.ts +0 -1
- package/lib/proxy/admin/settings/site-settings-admin.service.d.ts +0 -13
- package/lib/proxy/settings/models.d.ts +0 -5
- /package/lib/proxy/{admin → dignite/cms/admin}/dynamic-forms/form-admin.service.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/dynamic-forms/index.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/entries/entry-admin.service.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/entries/index.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/fields/field-admin.service.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/fields/field-group-admin.service.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/fields/index.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/sections/entry-type-admin.service.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/sections/index.d.ts +0 -0
- /package/lib/proxy/{admin → dignite/cms/admin}/sections/section-admin.service.d.ts +0 -0
- /package/lib/proxy/{entries → dignite/cms/entries}/entry-status.enum.d.ts +0 -0
- /package/lib/proxy/{entries → dignite/cms/entries}/index.d.ts +0 -0
- /package/lib/proxy/{sections → dignite/cms/sections}/index.d.ts +0 -0
- /package/lib/proxy/{sections → dignite/cms/sections}/section-type.enum.d.ts +0 -0
package/lib/cms.module.d.ts
CHANGED
|
@@ -20,18 +20,18 @@ import * as i17 from "./components/dynamic-form/entry/entry-control.component";
|
|
|
20
20
|
import * as i18 from "./components/admin/sections/create-or-edit-sections-modal.component";
|
|
21
21
|
import * as i19 from "@abp/ng.core";
|
|
22
22
|
import * as i20 from "@abp/ng.theme.shared";
|
|
23
|
-
import * as i21 from "
|
|
24
|
-
import * as i22 from "
|
|
25
|
-
import * as i23 from "@ng
|
|
26
|
-
import * as i24 from "
|
|
27
|
-
import * as i25 from "ng-
|
|
28
|
-
import * as i26 from "@
|
|
29
|
-
import * as i27 from "@
|
|
30
|
-
import * as i28 from "@
|
|
23
|
+
import * as i21 from "./cms-routing.module";
|
|
24
|
+
import * as i22 from "@ng-bootstrap/ng-bootstrap";
|
|
25
|
+
import * as i23 from "@abp/ng.components/page";
|
|
26
|
+
import * as i24 from "ng-zorro-antd/select";
|
|
27
|
+
import * as i25 from "@dignite-ng/expand.dynamic-form";
|
|
28
|
+
import * as i26 from "@abp/ng.components/extensible";
|
|
29
|
+
import * as i27 from "@angular/cdk/drag-drop";
|
|
30
|
+
import * as i28 from "@swimlane/ngx-datatable";
|
|
31
31
|
export declare class CmsModule {
|
|
32
32
|
static forChild(options?: any): ModuleWithProviders<CmsModule>;
|
|
33
33
|
static forLazy(options?: any): NgModuleFactory<CmsModule>;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmsModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SectionsComponent, typeof i4.FieldGroupComponent, typeof i5.CreateFieldComponent, typeof i6.EditFieldComponent, typeof i7.CreateOrEditFieldComponent, typeof i8.CreateOrEditComponent, typeof i9.CreateComponent, typeof i10.EditComponent, typeof i11.CreateOrEditEntriesComponent, typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.CreateOrEditSectionsModalComponent], [typeof i19.CoreModule, typeof i20.ThemeSharedModule, typeof i21.
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SectionsComponent, typeof i4.FieldGroupComponent, typeof i5.CreateFieldComponent, typeof i6.EditFieldComponent, typeof i7.CreateOrEditFieldComponent, typeof i8.CreateOrEditComponent, typeof i9.CreateComponent, typeof i10.EditComponent, typeof i11.CreateOrEditEntriesComponent, typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent, typeof i18.CreateOrEditSectionsModalComponent], [typeof i19.CoreModule, typeof i20.ThemeSharedModule, typeof i21.CmsRoutingModule, typeof i22.NgbNavModule, typeof i22.NgbAccordionModule, typeof i22.NgbDropdownModule, typeof i23.PageModule, typeof i24.NzSelectModule, typeof i25.DynamicFormModule, typeof i26.ExtensibleModule, typeof i27.DragDropModule, typeof i28.NgxDatatableModule], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent]>;
|
|
36
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<CmsModule>;
|
|
37
37
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { ListService, ConfigStateService, LocalizationService, PagedResultDto, ABP } from
|
|
2
|
-
import { ToasterService, ConfirmationService } from
|
|
3
|
-
import { OnInit } from
|
|
4
|
-
import { FormGroup } from
|
|
5
|
-
import { Router } from
|
|
6
|
-
import { ColumnMode } from
|
|
7
|
-
import { EntryAdminService, EntryDto, GetEntriesInput } from
|
|
8
|
-
import { SectionAdminService } from
|
|
1
|
+
import { ListService, ConfigStateService, LocalizationService, PagedResultDto, ABP } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import { ColumnMode } from '@swimlane/ngx-datatable';
|
|
7
|
+
import { EntryAdminService, EntryDto, GetEntriesInput } from '../../../proxy/dignite/cms/admin/entries';
|
|
8
|
+
import { SectionAdminService } from '../../../proxy/dignite/cms/admin/sections';
|
|
9
|
+
import { SectionType } from '../../../proxy/dignite/cms/sections';
|
|
10
|
+
import { FormAdminService } from '../../../proxy/dignite/cms/admin/dynamic-forms';
|
|
11
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
export declare class EntriesComponent implements OnInit {
|
|
11
14
|
private _EntryAdminService;
|
|
@@ -15,13 +18,16 @@ export declare class EntriesComponent implements OnInit {
|
|
|
15
18
|
private configState;
|
|
16
19
|
private router;
|
|
17
20
|
private _LocalizationService;
|
|
18
|
-
|
|
21
|
+
private _FormAdminService;
|
|
22
|
+
private _FieldAdminService;
|
|
23
|
+
private cdRef;
|
|
24
|
+
constructor(_EntryAdminService: EntryAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService, _FormAdminService: FormAdminService, _FieldAdminService: FieldAdminService, cdRef: ChangeDetectorRef);
|
|
19
25
|
private fb;
|
|
20
26
|
private _UpdateListService;
|
|
21
27
|
readonly list: ListService<any>;
|
|
28
|
+
/**板块类型 */
|
|
29
|
+
SectionType: typeof SectionType;
|
|
22
30
|
ngOnInit(): void;
|
|
23
|
-
/**站点列表 */
|
|
24
|
-
/**选择的站点id */
|
|
25
31
|
/**站点下的版块 */
|
|
26
32
|
SiteOfSectionList: any[any];
|
|
27
33
|
/**版块下的语言列表 */
|
|
@@ -29,19 +35,42 @@ export declare class EntriesComponent implements OnInit {
|
|
|
29
35
|
/**版块下的条目类型列表 */
|
|
30
36
|
entryTypeList: any[any];
|
|
31
37
|
/**状态编码 */
|
|
32
|
-
_entryStatusOptions: ABP.Option<typeof import("../../../proxy/entries").EntryStatus>[];
|
|
38
|
+
_entryStatusOptions: ABP.Option<typeof import("../../../proxy/dignite/cms/entries").EntryStatus>[];
|
|
33
39
|
/**获取页面数据 */
|
|
34
40
|
getPageDate(): Promise<void>;
|
|
41
|
+
/**需要查询的动态表单类型 */
|
|
42
|
+
enableSearchTypeList: any[];
|
|
43
|
+
/**需要查询的动态表单字段 */
|
|
44
|
+
enableSearchFieldList: any[];
|
|
45
|
+
/**不需要展示的动态表单类型 */
|
|
46
|
+
disableshowinTypeList: any[];
|
|
47
|
+
/**需要展示的动态列表字段 */
|
|
48
|
+
showinFieldList: any[];
|
|
49
|
+
/**获取动态表单类型 */
|
|
50
|
+
getDynamicFormType(): Promise<unknown>;
|
|
35
51
|
/**切换板块 */
|
|
36
52
|
sectionIdChange(): Promise<void>;
|
|
37
53
|
/**切换语言 */
|
|
38
54
|
cultureChange(): Promise<void>;
|
|
39
55
|
/**获取站点下的版块 */
|
|
40
56
|
getSiteOfSectionList(): Promise<unknown>;
|
|
57
|
+
/**表单 */
|
|
58
|
+
enablegearchFormEntity: FormGroup | undefined;
|
|
59
|
+
get extraPropertiesInput(): FormGroup;
|
|
60
|
+
/**设置筛选条件 */
|
|
61
|
+
setfiltersValue(): Promise<unknown>;
|
|
62
|
+
listget(): Promise<void>;
|
|
63
|
+
/**站点下板块的类型 */
|
|
64
|
+
SiteOfSectionType: any;
|
|
41
65
|
/**获取版块下的条目类型 */
|
|
42
|
-
getSectionOfEntryType(): void
|
|
66
|
+
getSectionOfEntryType(): Promise<void>;
|
|
67
|
+
abpInitss(): Promise<void>;
|
|
68
|
+
/**获取板块详情 */
|
|
69
|
+
getSectionInfo(ids: any): Promise<unknown>;
|
|
70
|
+
/**获取字段详情 */
|
|
71
|
+
getDynamicFormEntity(fieldId: string): Promise<unknown>;
|
|
43
72
|
private config;
|
|
44
|
-
private
|
|
73
|
+
private _RegionalizationService;
|
|
45
74
|
/**获取版块下的语言列表 */
|
|
46
75
|
getSectionLanguagesList(): Promise<unknown>;
|
|
47
76
|
/**站点设置语言 */
|
|
@@ -56,12 +85,16 @@ export declare class EntriesComponent implements OnInit {
|
|
|
56
85
|
createCopyEntriesBtn(): void;
|
|
57
86
|
/**列表相关 */
|
|
58
87
|
ColumnMode: typeof ColumnMode;
|
|
59
|
-
data: PagedResultDto<EntryDto
|
|
88
|
+
data: PagedResultDto<EntryDto> | any;
|
|
60
89
|
filters: GetEntriesInput;
|
|
61
|
-
|
|
90
|
+
maxResultCount: number;
|
|
62
91
|
hookToQuery(): void;
|
|
63
92
|
/**删除条目 */
|
|
64
93
|
deletefield(row: any): void;
|
|
94
|
+
drop(event: any): void;
|
|
95
|
+
isexpanded: boolean;
|
|
96
|
+
/**高级筛选切换 */
|
|
97
|
+
expandedChange(event: any): void;
|
|
65
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntriesComponent, never>;
|
|
66
99
|
static ɵcmp: i0.ɵɵComponentDeclaration<EntriesComponent, "cms-entries", never, {}, {}, never, never, false, never>;
|
|
67
100
|
}
|
|
@@ -3,8 +3,8 @@ import { ToasterService } from '@abp/ng.theme.shared';
|
|
|
3
3
|
import { Location } from '@angular/common';
|
|
4
4
|
import { ElementRef } from '@angular/core';
|
|
5
5
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
6
|
-
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
7
6
|
import { CmsApiService } from '../../../services';
|
|
7
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class CreateFieldComponent {
|
|
10
10
|
private fb;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ElementRef
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
3
3
|
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
4
4
|
import { CmsApiService } from '../../../services/cms-api.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
7
6
|
import { LocalizationService } from '@abp/ng.core';
|
|
7
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class CreateOrEditFieldComponent {
|
|
10
10
|
_FieldAbstractsService: FieldAbstractsService;
|
|
@@ -12,7 +12,6 @@ export declare class CreateOrEditFieldComponent {
|
|
|
12
12
|
private _FieldAdminService;
|
|
13
13
|
private _LocalizationService;
|
|
14
14
|
/**表单控件模板-动态表单配置组件 */
|
|
15
|
-
FormDynamicRef: ViewContainerRef;
|
|
16
15
|
/**获取提交按钮替身,用于真实触发表单提交 */
|
|
17
16
|
submitclick: ElementRef;
|
|
18
17
|
constructor(_FieldAbstractsService: FieldAbstractsService, _CmsApiService: CmsApiService, _FieldAdminService: FieldAdminService, _LocalizationService: LocalizationService);
|
|
@@ -4,8 +4,8 @@ import { Location } from '@angular/common';
|
|
|
4
4
|
import { OnInit, ElementRef } from '@angular/core';
|
|
5
5
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
6
6
|
import { ActivatedRoute } from '@angular/router';
|
|
7
|
-
import { FieldAdminService } from '../../../proxy/admin/fields';
|
|
8
7
|
import { FieldAbstractsService, CmsApiService } from '../../../services';
|
|
8
|
+
import { FieldAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class EditFieldComponent implements OnInit {
|
|
11
11
|
private fb;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { FieldGroupAdminService } from '../../../proxy/admin/fields';
|
|
4
3
|
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
5
4
|
import { FieldAbstractsService } from '../../../services/field-abstracts.service';
|
|
6
5
|
import { LocalizationService } from '@abp/ng.core';
|
|
6
|
+
import { FieldGroupAdminService } from '../../../proxy/dignite/cms/admin/fields';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FieldGroupComponent implements OnInit {
|
|
9
9
|
private fb;
|
|
@@ -3,7 +3,7 @@ import { ToasterService, ConfirmationService } from "@abp/ng.theme.shared";
|
|
|
3
3
|
import { OnInit } from "@angular/core";
|
|
4
4
|
import { Router } from "@angular/router";
|
|
5
5
|
import { ColumnMode } from "@swimlane/ngx-datatable";
|
|
6
|
-
import { FieldAdminService, FieldDto, GetFieldsInput } from "../../../proxy/admin/fields";
|
|
6
|
+
import { FieldAdminService, FieldDto, GetFieldsInput } from "../../../proxy/dignite/cms/admin/fields";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FieldsComponent implements OnInit {
|
|
9
9
|
readonly list: ListService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractControl, FormControl, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { SectionType } from '../../../proxy/sections';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import { SectionType } from '../../../proxy/dignite/cms/sections';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CreateOrEditSectionsModalComponent {
|
|
7
7
|
private _LocalizationService;
|
package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Validators } from "@angular/forms";
|
|
2
1
|
export declare class CreateOrEditEntryTypeInputBase {
|
|
3
2
|
/**显示名称 Display name of this field */
|
|
4
3
|
displayName: any;
|
|
@@ -22,17 +21,8 @@ export declare class fieldsBase {
|
|
|
22
21
|
/**必填 Unique Name*/
|
|
23
22
|
required: any;
|
|
24
23
|
/**是否在列表中显示 Unique Name*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**字段id */
|
|
30
|
-
fieldId: (string | (typeof Validators.required)[])[];
|
|
31
|
-
/**显示名称 Display name of this field */
|
|
32
|
-
displayName: any;
|
|
33
|
-
/**是否必填 Unique Name*/
|
|
34
|
-
required: any;
|
|
35
|
-
/**在列表中展示 Unique Name*/
|
|
36
|
-
showOnList: any;
|
|
37
|
-
constructor(data?: fieldsInputBase);
|
|
24
|
+
showInList: any;
|
|
25
|
+
/**是否启用搜索 */
|
|
26
|
+
enableSearch: any;
|
|
27
|
+
constructor();
|
|
38
28
|
}
|
|
@@ -3,10 +3,10 @@ import { ToasterService } from '@abp/ng.theme.shared';
|
|
|
3
3
|
import { ElementRef, OnInit } from '@angular/core';
|
|
4
4
|
import { FormGroup, FormArray } from '@angular/forms';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
|
-
import { FieldGroupAdminService, FieldAdminService } from '../../../../proxy/admin/fields';
|
|
7
|
-
import { EntryTypeAdminService } from '../../../../proxy/admin/sections';
|
|
8
6
|
import { CmsApiService } from '../../../../services';
|
|
9
7
|
import { Location } from '@angular/common';
|
|
8
|
+
import { FieldAdminService, FieldGroupAdminService } from '../../../../proxy/dignite/cms/admin/fields';
|
|
9
|
+
import { EntryTypeAdminService } from '../../../../proxy/dignite/cms/admin/sections';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class CreateOrEditComponent implements OnInit {
|
|
12
12
|
private toaster;
|
|
@@ -2,10 +2,10 @@ import { ABP, ListService, LocalizationService, PagedResultDto } from '@abp/ng.c
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
|
|
4
4
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
-
import { SectionAdminService, EntryTypeAdminService, GetSectionsInput, SectionDto } from '../../../proxy/admin/sections';
|
|
6
5
|
import { CmsApiService } from '../../../services';
|
|
7
6
|
import { ColumnMode } from '@swimlane/ngx-datatable';
|
|
8
|
-
import {
|
|
7
|
+
import { EntryTypeAdminService, GetSectionsInput, SectionAdminService, SectionDto } from '../../../proxy/dignite/cms/admin/sections';
|
|
8
|
+
import { SectionType } from '../../../proxy/dignite/cms/sections';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class SectionsComponent implements OnInit {
|
|
11
11
|
readonly list: ListService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { SectionAdminService } from '../../../proxy/admin/sections';
|
|
3
|
+
import { SectionAdminService } from '../../../proxy/dignite/cms/admin/sections';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class EntryConfigComponent implements AfterContentInit {
|
|
6
6
|
private fb;
|
|
@@ -27,7 +27,8 @@ export declare class EntryConfigComponent implements AfterContentInit {
|
|
|
27
27
|
/**站点下的版块 */
|
|
28
28
|
SiteOfSectionList: any[any];
|
|
29
29
|
ngAfterContentInit(): void;
|
|
30
|
-
|
|
30
|
+
private cdr;
|
|
31
|
+
dataLoaded(): Promise<void>;
|
|
31
32
|
AfterInit(): Promise<unknown>;
|
|
32
33
|
/**获取站点列表 */
|
|
33
34
|
/**获取站点下的版块 */
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CmsApiService } from '../../../services';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MatrixControlComponent {
|
|
5
6
|
private fb;
|
|
6
|
-
|
|
7
|
+
private _CmsApiService;
|
|
8
|
+
constructor(fb: FormBuilder, _CmsApiService: CmsApiService);
|
|
7
9
|
/**字段配置列表 */
|
|
8
10
|
_fields: any;
|
|
9
11
|
set fields(v: any);
|
|
@@ -22,6 +24,7 @@ export declare class MatrixControlComponent {
|
|
|
22
24
|
submitclick: ElementRef;
|
|
23
25
|
/** 获取父级字段代表的表单组*/
|
|
24
26
|
extraProperties: FormGroup | undefined;
|
|
27
|
+
private cdr;
|
|
25
28
|
/**数据加载完成 */
|
|
26
29
|
dataLoaded(): Promise<void>;
|
|
27
30
|
formConfiguration: any;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormArray, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CmsApiService } from '../../../services';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TableControlComponent {
|
|
5
|
-
|
|
6
|
+
private _CmsApiService;
|
|
7
|
+
constructor(_CmsApiService: CmsApiService);
|
|
6
8
|
private fb;
|
|
7
9
|
/**表单实体 */
|
|
8
10
|
_entity: FormGroup | undefined;
|
|
@@ -22,6 +24,7 @@ export declare class TableControlComponent {
|
|
|
22
24
|
submitclick: ElementRef;
|
|
23
25
|
/** 获取父级字段代表的表单组*/
|
|
24
26
|
extraProperties: FormGroup | undefined;
|
|
27
|
+
private cdr;
|
|
25
28
|
/**数据加载完成 */
|
|
26
29
|
dataLoaded(): Promise<void>;
|
|
27
30
|
formConfiguration: any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RegionalizationDto, UpdateRegionalizationInput } from './models';
|
|
2
|
+
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RegionalizationService {
|
|
5
|
+
private restService;
|
|
6
|
+
apiName: string;
|
|
7
|
+
get: (config?: Partial<Rest.Config>) => import("rxjs").Observable<RegionalizationDto>;
|
|
8
|
+
update: (input: UpdateRegionalizationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<RegionalizationDto>;
|
|
9
|
+
constructor(restService: RestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegionalizationService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegionalizationService>;
|
|
12
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CustomizableObject } from '
|
|
1
|
+
import type { CustomizableObject } from '../../../abp/data/models';
|
|
2
2
|
import type { ExtensibleAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
3
3
|
import type { EntryStatus } from '../../entries/entry-status.enum';
|
|
4
|
-
import type { CmsUserDto } from '
|
|
4
|
+
import type { CmsUserDto } from '../../../../volo/cms-kit/users/models';
|
|
5
5
|
export interface CreateEntryInput extends CreateOrUpdateEntryInputBase {
|
|
6
6
|
initialVersionId?: string;
|
|
7
7
|
}
|
|
@@ -45,6 +45,7 @@ export interface GetEntriesInput extends PagedAndSortedResultRequestDto {
|
|
|
45
45
|
filter?: string;
|
|
46
46
|
status?: EntryStatus;
|
|
47
47
|
creatorId?: string;
|
|
48
|
+
queryingByFieldsJson?: string;
|
|
48
49
|
}
|
|
49
50
|
export interface MoveEntryInput {
|
|
50
51
|
parentId?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type * as FieldDtoall from '../../fields/models';
|
|
2
2
|
import type { EntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
3
3
|
export interface CreateFieldInput extends CreateOrUpdateFieldInputBase {
|
|
4
4
|
}
|
|
@@ -13,7 +13,7 @@ export interface CreateOrUpdateFieldInputBase {
|
|
|
13
13
|
formControlName: string;
|
|
14
14
|
formConfiguration: Record<string, object>;
|
|
15
15
|
}
|
|
16
|
-
export interface FieldDto extends
|
|
16
|
+
export interface FieldDto extends FieldDtoall.FieldDto {
|
|
17
17
|
groupId?: string;
|
|
18
18
|
groupName?: string;
|
|
19
19
|
creationTime?: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FieldDto } from '../fields/models';
|
|
2
2
|
export interface EntryFieldDto {
|
|
3
3
|
fieldId?: string;
|
|
4
|
-
field:
|
|
4
|
+
field: FieldDto;
|
|
5
5
|
displayName?: string;
|
|
6
6
|
required: boolean;
|
|
7
|
-
|
|
7
|
+
showInList: boolean;
|
|
8
|
+
enableSearch: boolean;
|
|
8
9
|
}
|
|
9
10
|
export interface EntryFieldTabDto {
|
|
10
11
|
name?: string;
|
|
@@ -9,8 +9,15 @@ export declare class CmsApiService {
|
|
|
9
9
|
* */
|
|
10
10
|
chineseToPinyin(value: any): any;
|
|
11
11
|
/**
|
|
12
|
-
|
|
12
|
+
* 深拷贝--方法 */
|
|
13
13
|
deepClone(obj: any): any;
|
|
14
|
+
/**
|
|
15
|
+
* 递归将对象属性名首字母转为小写
|
|
16
|
+
* @param obj 需要处理的对象或数组
|
|
17
|
+
* @param isInsideFormConfig 标记是否在 FormConfiguration 内部
|
|
18
|
+
* @returns 处理后的新对象
|
|
19
|
+
*/
|
|
20
|
+
convertKeysToCamelCase(obj: any, isInsideFormConfig?: boolean): any;
|
|
14
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmsApiService, never>;
|
|
15
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<CmsApiService>;
|
|
16
23
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { FieldGroupAdminService } from '../proxy/admin/fields
|
|
2
|
-
import {
|
|
3
|
-
import { FormAdminService } from '../proxy/admin/dynamic-forms';
|
|
1
|
+
import { FieldGroupAdminService, FieldGroupDto } from '../proxy/dignite/cms/admin/fields';
|
|
2
|
+
import { FormAdminService } from '../proxy/dignite/cms/admin/dynamic-forms';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class FieldAbstractsService {
|
|
6
5
|
private _FieldGroupAdminService;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DomainsComponent implements OnInit {
|
|
6
|
-
private toaster;
|
|
7
|
-
private _DomainAdminService;
|
|
8
|
-
private _LocalizationService;
|
|
9
|
-
private _ValidatorsService;
|
|
10
|
-
/**表单验证状态
|
|
11
|
-
* {
|
|
12
|
-
* title:true,
|
|
13
|
-
* }
|
|
14
|
-
*/
|
|
15
|
-
formValidation: any;
|
|
16
|
-
/**表单实体 */
|
|
17
|
-
newEntity: FormGroup | undefined;
|
|
18
|
-
/**domain详情 */
|
|
19
|
-
domainInfo: any;
|
|
20
|
-
get domainNameInput(): AbstractControl<any, any>;
|
|
21
|
-
ngOnInit(): Promise<void>;
|
|
22
|
-
/**用于获取已绑定的域名 */
|
|
23
|
-
getDomainsBound(): Promise<unknown>;
|
|
24
|
-
repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
25
|
-
isSubmit: boolean;
|
|
26
|
-
/**保存 */
|
|
27
|
-
SaveSubmit(): void;
|
|
28
|
-
reset(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DomainsComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DomainsComponent, "cms-domains", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { eCmsRouteNames } from '../../enums';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SiteLanguageComponent implements OnInit {
|
|
6
|
-
private fb;
|
|
7
|
-
private toaster;
|
|
8
|
-
private _LocalizationService;
|
|
9
|
-
private configState;
|
|
10
|
-
private _SiteAdminService;
|
|
11
|
-
eCmsRouteNames: typeof eCmsRouteNames;
|
|
12
|
-
/**表单实体 */
|
|
13
|
-
newEntity: FormGroup | undefined;
|
|
14
|
-
/**系统语言 */
|
|
15
|
-
languagesSystem: any[];
|
|
16
|
-
ngOnInit(): Promise<void>;
|
|
17
|
-
/**获取配置的默认语言与选中语言 */
|
|
18
|
-
getSiteLanguageSettings(): Promise<unknown>;
|
|
19
|
-
/**语言改变 */
|
|
20
|
-
setLanguagesChange(event: any, item: any): void;
|
|
21
|
-
/**设置默认语言 */
|
|
22
|
-
setDefault(items: any): void;
|
|
23
|
-
/**设置表单中的语言 */
|
|
24
|
-
setFromLangguages(): void;
|
|
25
|
-
isSubmit: boolean;
|
|
26
|
-
/**保存 */
|
|
27
|
-
SaveSubmit(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SiteLanguageComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SiteLanguageComponent, "app-site-language", never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { DomainDto, UpdateDomainInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DomainAdminService {
|
|
5
|
-
private restService;
|
|
6
|
-
apiName: string;
|
|
7
|
-
getBound: (config?: Partial<Rest.Config>) => import("rxjs").Observable<DomainDto>;
|
|
8
|
-
nameExists: (domainName: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
|
|
9
|
-
update: (input: UpdateDomainInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<DomainDto>;
|
|
10
|
-
constructor(restService: RestService);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DomainAdminService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DomainAdminService>;
|
|
13
|
-
}
|