@smarterplan/ngx-smarterplan-admin 0.1.35 → 0.1.37

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,6 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
3
3
  import { Zone, Mission, Organisation, Space, RoleStatus, LevelStatus, Domain, Locale, BaseUserService, DomainService, OrganisationService, ZoneService, Hashtag, SpaceService, LocaleService, HashtagService } from '@smarterplan/ngx-smarterplan-core';
4
+ import { ValidatorsService } from "@smarterplan/ngx-smarterplan-core";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FormMissionComponent implements OnInit {
6
7
  private fb;
@@ -11,6 +12,7 @@ export declare class FormMissionComponent implements OnInit {
11
12
  private zoneService;
12
13
  private hashtagService;
13
14
  private localeService;
15
+ validatorsService: ValidatorsService;
14
16
  missionToEdit: Mission;
15
17
  organisationForMission: Organisation;
16
18
  isSP: boolean;
@@ -19,8 +21,6 @@ export declare class FormMissionComponent implements OnInit {
19
21
  missionForm: FormGroup;
20
22
  availableSpaces: Space[];
21
23
  addedMissionInput: EventEmitter<Mission>;
22
- startDate: number;
23
- endDate: number;
24
24
  availableRoles: RoleStatus[];
25
25
  availableLevels: LevelStatus[];
26
26
  availableHashtags: Hashtag[];
@@ -34,7 +34,7 @@ export declare class FormMissionComponent implements OnInit {
34
34
  addedHashtags: Hashtag[];
35
35
  currentLocale: Locale;
36
36
  locales: string[];
37
- constructor(fb: FormBuilder, spaceService: SpaceService, userService: BaseUserService, domainService: DomainService, organisationService: OrganisationService, zoneService: ZoneService, hashtagService: HashtagService, localeService: LocaleService);
37
+ constructor(fb: FormBuilder, spaceService: SpaceService, userService: BaseUserService, domainService: DomainService, organisationService: OrganisationService, zoneService: ZoneService, hashtagService: HashtagService, localeService: LocaleService, validatorsService: ValidatorsService);
38
38
  ngOnInit(): Promise<void>;
39
39
  updateUserInfo(): void;
40
40
  setDomains(): Promise<void>;
@@ -95,6 +95,7 @@ export declare class UserComponent implements OnInit {
95
95
  */
96
96
  onSetForShareableLink(user: ProfileEntity, mission: Mission): void;
97
97
  onClearToken(user: any): Promise<void>;
98
+ getStringNoSpace(data: any): string;
98
99
  static ɵfac: i0.ɵɵFactoryDeclaration<UserComponent, never>;
99
100
  static ɵcmp: i0.ɵɵComponentDeclaration<UserComponent, "lib-user", never, {}, {}, never, never>;
100
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smarterplan/ngx-smarterplan-admin",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.3.0",
6
6
  "@angular/core": "^13.3.0",