@dignite-ng/expand.cms 0.0.9 → 0.0.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/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +13 -17
- package/esm2022/lib/components/admin/entries/create.component.mjs +19 -20
- package/esm2022/lib/components/admin/entries/entries.component.mjs +13 -16
- package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +3 -3
- package/esm2022/lib/components/admin/sections/sections.component.mjs +22 -8
- package/fesm2022/dignite-ng-expand.cms.mjs +165 -159
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +3 -5
- package/lib/components/admin/entries/create.component.d.ts +3 -5
- package/lib/components/admin/entries/entries.component.d.ts +2 -4
- package/lib/components/admin/sections/sections.component.d.ts +7 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConfigStateService, LocalizationService } from '@abp/ng.core';
|
|
2
2
|
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
3
|
import { AfterContentInit } from '@angular/core';
|
|
4
|
-
import { AbstractControl,
|
|
5
|
-
import {
|
|
4
|
+
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
6
|
import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
7
7
|
import { SectionAdminService } from '../../../proxy/admin/sections';
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
@@ -10,10 +10,8 @@ import { DatePipe, Location } from '@angular/common';
|
|
|
10
10
|
import { CmsApiService } from '../../../services';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class CreateOrEditEntriesComponent implements AfterContentInit {
|
|
13
|
-
private fb;
|
|
14
13
|
private toaster;
|
|
15
14
|
_location: Location;
|
|
16
|
-
private route;
|
|
17
15
|
private configState;
|
|
18
16
|
private _SectionAdminService;
|
|
19
17
|
private _EntryAdminService;
|
|
@@ -21,7 +19,7 @@ export declare class CreateOrEditEntriesComponent implements AfterContentInit {
|
|
|
21
19
|
private _LocalizationService;
|
|
22
20
|
private router;
|
|
23
21
|
private _CmsApiService;
|
|
24
|
-
constructor(
|
|
22
|
+
constructor(toaster: ToasterService, _location: Location, configState: ConfigStateService, _SectionAdminService: SectionAdminService, _EntryAdminService: EntryAdminService, datePipe: DatePipe, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
|
|
25
23
|
/**语言 */
|
|
26
24
|
cultureName: string;
|
|
27
25
|
/**条目id */
|
|
@@ -1,22 +1,20 @@
|
|
|
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';
|
|
7
7
|
import { EntryAdminService } from '../../../proxy/admin/entries';
|
|
8
|
-
import { CmsApiService } from '../../../services';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class CreateComponent implements OnInit {
|
|
11
|
-
private fb;
|
|
12
10
|
private toaster;
|
|
13
11
|
_location: Location;
|
|
14
12
|
private route;
|
|
15
13
|
private _EntryAdminService;
|
|
16
14
|
private _LocalizationService;
|
|
17
15
|
private router;
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService, router: Router);
|
|
17
|
+
private fb;
|
|
20
18
|
/**表单实体 */
|
|
21
19
|
newEntity: FormGroup | undefined;
|
|
22
20
|
/**是否是草稿 */
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ABP, ConfigStateService, ListService, LocalizationService, PagedResultDto } from '@abp/ng.core';
|
|
2
2
|
import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
3
|
import { OnInit } from '@angular/core';
|
|
4
|
-
import {
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
5
|
import { EntryAdminService, EntryDto, GetEntriesInput } from '../../../proxy/admin/entries';
|
|
6
6
|
import { ColumnMode } from "@swimlane/ngx-datatable";
|
|
7
7
|
import { SiteAdminService } from '../../../proxy/admin/sites';
|
|
8
8
|
import { SectionAdminService } from '../../../proxy/admin/sections';
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
|
-
import { CmsApiService } from '../../../services/cms-api.service';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class EntriesComponent implements OnInit {
|
|
13
12
|
readonly list: ListService;
|
|
@@ -19,9 +18,8 @@ export declare class EntriesComponent implements OnInit {
|
|
|
19
18
|
private configState;
|
|
20
19
|
private router;
|
|
21
20
|
private _LocalizationService;
|
|
22
|
-
|
|
21
|
+
constructor(list: ListService, _EntryAdminService: EntryAdminService, _SiteAdminService: SiteAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService);
|
|
23
22
|
private fb;
|
|
24
|
-
constructor(list: ListService, _EntryAdminService: EntryAdminService, _SiteAdminService: SiteAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService, fb: FormBuilder);
|
|
25
23
|
ngOnInit(): void;
|
|
26
24
|
/**站点列表 */
|
|
27
25
|
siteList: any[any];
|
|
@@ -8,6 +8,7 @@ import { ColumnMode } from "@swimlane/ngx-datatable";
|
|
|
8
8
|
import { SectionType } from '../../../proxy/sections';
|
|
9
9
|
import { CmsApiService } from '../../../services/cms-api.service';
|
|
10
10
|
import { Observable } from 'rxjs';
|
|
11
|
+
import { Router } from '@angular/router';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class SectionsComponent implements OnInit {
|
|
13
14
|
readonly list: ListService;
|
|
@@ -20,7 +21,12 @@ export declare class SectionsComponent implements OnInit {
|
|
|
20
21
|
_EntryTypeAdminService: EntryTypeAdminService;
|
|
21
22
|
_LocalizationService: LocalizationService;
|
|
22
23
|
_CmsApiService: CmsApiService;
|
|
23
|
-
|
|
24
|
+
private router;
|
|
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
|
+
/**跳转编辑 */
|
|
27
|
+
jumpSectionsEdit(row: any, item: any): void;
|
|
28
|
+
/**跳转新建 */
|
|
29
|
+
jumpSectionsCreate(row: any): void;
|
|
24
30
|
/**版块列表 */
|
|
25
31
|
siteList: any[];
|
|
26
32
|
/*** */
|