@dignite-ng/expand.cms 0.0.9 → 0.0.10

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.
@@ -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, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
5
- import { ActivatedRoute, Router } from '@angular/router';
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(fb: FormBuilder, toaster: ToasterService, _location: Location, route: ActivatedRoute, configState: ConfigStateService, _SectionAdminService: SectionAdminService, _EntryAdminService: EntryAdminService, datePipe: DatePipe, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
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 { FormBuilder, FormGroup } from '@angular/forms';
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
- private _CmsApiService;
19
- constructor(fb: FormBuilder, toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
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 { FormBuilder, FormGroup } from '@angular/forms';
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
- private _CmsApiService;
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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dignite-ng/expand.cms",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",