@sumaris-net/ngx-components 18.17.2 → 18.17.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.17.2",
4
+ "version": "18.17.3",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,5 +1,6 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { Person } from '../../core/services/model/person.model';
3
+ import { ReferentialRef } from '../../core/services/model/referential.model';
3
4
  import { PersonService } from './person.service';
4
5
  import { AccountService } from '../../core/services/account.service';
5
6
  import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
@@ -25,6 +26,7 @@ export declare class UsersPage extends AppTable<Person, PersonFilter> implements
25
26
  readonly profiles: import("../../core/services/model/person.model").UserProfileLabel[];
26
27
  readonly statusList: readonly import("../../core/services/model/referential.model").IStatus[];
27
28
  readonly statusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<import("../../core/services/model/referential.model").IStatus>>;
29
+ readonly userProfileList: ReferentialRef[];
28
30
  protected additionalFields: FormFieldDefinition[];
29
31
  protected filterCriteriaCount: number;
30
32
  protected defaultCompact: boolean;
@@ -10,6 +10,7 @@ import { Environment } from '../../../environments/environment.class';
10
10
  import { PersonService } from '../../admin/users/person.service';
11
11
  import { ModalController } from '@ionic/angular';
12
12
  import { MessageService } from '../message/message.service';
13
+ import { AccountService } from '../../core/services/account.service';
13
14
  import * as i0 from "@angular/core";
14
15
  export declare const APP_FEED_SERVICE: InjectionToken<IFeedService<any>>;
15
16
  export interface FeedLoadOptions {
@@ -39,6 +40,7 @@ export interface FeedServiceState {
39
40
  feedUrls?: string[];
40
41
  }
41
42
  export declare class FeedService<S extends FeedServiceState, T extends JsonFeed = JsonFeed> extends StartableService<S> implements IFeedService<T> {
43
+ private accountService;
42
44
  private settings;
43
45
  protected environment: Environment;
44
46
  protected _logPrefix: string;
@@ -51,7 +53,7 @@ export declare class FeedService<S extends FeedServiceState, T extends JsonFeed
51
53
  feedUrls$: Observable<S["feedUrls"]>;
52
54
  get feedUrls(): string[];
53
55
  set feedUrls(urls: string[]);
54
- constructor(settings: LocalSettingsService, environment: Environment);
56
+ constructor(accountService: AccountService, settings: LocalSettingsService, environment: Environment);
55
57
  protected ngOnStart(): Promise<S>;
56
58
  watchAll(opts?: FeedsWatchOptions): Observable<LoadResult<T>>;
57
59
  getHomeUrl(feed?: JsonFeed): string;
@@ -79,6 +81,6 @@ export declare class FeedService<S extends FeedServiceState, T extends JsonFeed
79
81
  depth?: number;
80
82
  }): Promise<JsonFeed>;
81
83
  protected onAfterLoadAll(): void;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<FeedService<any, any>, [null, { optional: true; }]>;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeedService<any, any>, [null, null, { optional: true; }]>;
83
85
  static ɵprov: i0.ɵɵInjectableDeclaration<FeedService<any, any>>;
84
86
  }
@@ -4,6 +4,7 @@ import { EntityFilter } from '../../core/services/model/filter.model';
4
4
  import { Person } from '../../core/services/model/person.model';
5
5
  import { PersonFilter } from '../../admin/users/person.filter';
6
6
  import { FilterFn } from '../../shared/types';
7
+ import { Moment } from 'moment';
7
8
  export declare const MessageTypes: {
8
9
  INBOX_MESSAGE: string;
9
10
  EMAIL: string;
@@ -23,6 +24,7 @@ export declare class Message extends Entity<Message> {
23
24
  recipientFilter: PersonFilter;
24
25
  subject: string;
25
26
  body: string;
27
+ creationDate: Moment;
26
28
  constructor();
27
29
  fromObject(source: any, opts?: any): void;
28
30
  asObject(opts?: EntityAsObjectOptions): StoreObject;
@@ -6,8 +6,9 @@ import * as i4 from "../../core/core.module";
6
6
  import * as i5 from "../../shared/shared.module";
7
7
  import * as i6 from "@angular/material/chips";
8
8
  import * as i7 from "../../shared/debug/debug.module";
9
+ import * as i8 from "@ngx-translate/core";
9
10
  export declare class MessageModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<MessageModule, [typeof i1.MessageModal, typeof i2.MessageForm], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.SharedModule, typeof i6.MatChipsModule, typeof i7.SharedDebugModule], [typeof i1.MessageModal]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MessageModule, [typeof i1.MessageModal, typeof i2.MessageForm], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.SharedModule, typeof i6.MatChipsModule, typeof i7.SharedDebugModule, typeof i8.TranslateModule], [typeof i8.TranslateModule, typeof i1.MessageModal, typeof i2.MessageForm]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<MessageModule>;
13
14
  }
@@ -472,6 +472,7 @@
472
472
  "CREATION_DATE": "Creation date",
473
473
  "UPDATE_DATE": "Update date",
474
474
  "PROFILE": "Profile",
475
+ "PROFILES": "User Profiles",
475
476
  "PROFILE_ENUM": {
476
477
  "ADMIN": "Administrator",
477
478
  "SUPERVISOR": "Manager",
@@ -472,6 +472,7 @@
472
472
  "CREATION_DATE": "Creation date",
473
473
  "UPDATE_DATE": "Update date",
474
474
  "PROFILE": "Profile",
475
+ "PROFILES": "User Profiles",
475
476
  "PROFILE_ENUM": {
476
477
  "ADMIN": "Administrator",
477
478
  "SUPERVISOR": "Manager",
@@ -474,6 +474,7 @@
474
474
  "CREATION_DATE": "Date création",
475
475
  "UPDATE_DATE": "Date MAJ",
476
476
  "PROFILE": "Profil",
477
+ "PROFILES": "Profils utilisateurs",
477
478
  "PROFILE_ENUM": {
478
479
  "ADMIN": "Administrateur",
479
480
  "SUPERVISOR": "Superviseur",
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.17.2",
5
+ "version": "18.17.3",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{