@sumaris-net/ngx-components 18.6.11 → 18.7.0

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.
Files changed (53) hide show
  1. package/doc/changelog.md +3 -0
  2. package/esm2022/public_api.mjs +1 -2
  3. package/esm2022/src/app/admin/services/validator/person.validator.mjs +1 -1
  4. package/esm2022/src/app/core/account/account.page.mjs +18 -20
  5. package/esm2022/src/app/core/form/properties/properties.table.mjs +28 -32
  6. package/esm2022/src/app/core/form/properties/properties.utils.mjs +14 -1
  7. package/esm2022/src/app/core/home/home.mjs +1 -3
  8. package/esm2022/src/app/core/services/account.service.mjs +22 -7
  9. package/esm2022/src/app/core/services/local-settings.service.mjs +9 -2
  10. package/esm2022/src/app/core/services/model/account.model.mjs +32 -13
  11. package/esm2022/src/app/core/services/model/entity.model.mjs +1 -1
  12. package/esm2022/src/app/core/services/platform.service.mjs +4 -3
  13. package/esm2022/src/app/core/services/validator/base.validator.class.mjs +3 -3
  14. package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +1 -1
  15. package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +1 -1
  16. package/esm2022/src/app/shared/markdown/markdown.component.mjs +81 -55
  17. package/esm2022/src/app/shared/markdown/markdown.modal.mjs +10 -17
  18. package/esm2022/src/app/shared/markdown/markdown.service.mjs +3 -4
  19. package/esm2022/src/app/shared/markdown/markdown.utils.mjs +1 -8
  20. package/esm2022/src/app/shared/markdown/testing/markdown.test.mjs +7 -16
  21. package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +1 -1
  22. package/esm2022/src/app/shared/named-filter/named-filter.model.mjs +1 -1
  23. package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +3 -3
  24. package/esm2022/src/app/social/user-event/user-event.model.mjs +1 -1
  25. package/fesm2022/sumaris-net.ngx-components.mjs +214 -408
  26. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/public_api.d.ts +0 -1
  29. package/src/app/admin/services/validator/person.validator.d.ts +1 -1
  30. package/src/app/core/account/account.page.d.ts +2 -0
  31. package/src/app/core/form/properties/properties.table.d.ts +4 -10
  32. package/src/app/core/form/properties/properties.utils.d.ts +4 -0
  33. package/src/app/core/services/account.service.d.ts +2 -0
  34. package/src/app/core/services/local-settings.service.d.ts +1 -0
  35. package/src/app/core/services/model/account.model.d.ts +17 -2
  36. package/src/app/core/services/model/entity.model.d.ts +2 -2
  37. package/src/app/core/services/validator/base.validator.class.d.ts +5 -5
  38. package/src/app/core/table/entities-async-table-datasource.class.d.ts +2 -2
  39. package/src/app/core/table/entities-table-datasource.class.d.ts +2 -2
  40. package/src/app/shared/inputs.d.ts +1 -1
  41. package/src/app/shared/markdown/markdown.component.d.ts +7 -12
  42. package/src/app/shared/markdown/markdown.modal.d.ts +2 -9
  43. package/src/app/shared/markdown/markdown.utils.d.ts +0 -1
  44. package/src/app/shared/markdown/testing/markdown.test.d.ts +1 -4
  45. package/src/app/shared/named-filter/named-filter-selector.component.d.ts +3 -1
  46. package/src/app/shared/named-filter/named-filter.model.d.ts +2 -2
  47. package/src/app/social/user-event/user-event.model.d.ts +2 -2
  48. package/src/assets/i18n/en-US.json +2 -3
  49. package/src/assets/i18n/en.json +1 -2
  50. package/src/assets/i18n/fr.json +1 -2
  51. package/src/assets/manifest.json +1 -1
  52. package/esm2022/src/app/shared/print/print.service.mjs +0 -254
  53. package/src/app/shared/print/print.service.d.ts +0 -60
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.6.11",
4
+ "version": "18.7.0",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
package/public_api.d.ts CHANGED
@@ -147,7 +147,6 @@ export * from './src/app/shared/markdown/markdown.service';
147
147
  export * from './src/app/shared/markdown/markdown.directive';
148
148
  export * from './src/app/shared/markdown/markdown.component';
149
149
  export * from './src/app/shared/markdown/markdown.modal';
150
- export * from './src/app/shared/print/print.service';
151
150
  export * from './src/app/core/core.module';
152
151
  export * from './src/app/core/services/model/account.model';
153
152
  export * from './src/app/core/services/model/token.model';
@@ -10,7 +10,7 @@ export interface PersonValidatorOptions {
10
10
  withUsername?: boolean;
11
11
  withUsernameExtranet?: boolean;
12
12
  }
13
- export declare class PersonValidatorService<T extends Person = Person, O extends PersonValidatorOptions = PersonValidatorOptions> extends AppValidatorService<T> {
13
+ export declare class PersonValidatorService<T extends Person = Person, O extends PersonValidatorOptions = PersonValidatorOptions> extends AppValidatorService<T, O> {
14
14
  protected accountService: AccountService;
15
15
  constructor(formBuilder: UntypedFormBuilder, translate: TranslateService, accountService: AccountService);
16
16
  getFormGroupConfig(data?: T, opts?: O): {
@@ -47,6 +47,8 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
47
47
  protected accountReadOnly: boolean;
48
48
  protected readonly mobile: boolean;
49
49
  get valid(): boolean;
50
+ get invalid(): boolean;
51
+ get dirty(): boolean;
50
52
  protected showLatLonFormat: boolean;
51
53
  protected canChangePassword: boolean;
52
54
  protected showSecurityDetails: boolean;
@@ -7,16 +7,14 @@ import { FormFieldDefinition, FormFieldDefinitionMap } from '../../../shared/for
7
7
  import { Environment } from '../../../../environments/environment.class';
8
8
  import { TableElement } from '@e-is/ngx-material-table';
9
9
  import { EntityFilter } from '../../services/model/filter.model';
10
- import { FilterFn, ObjectMap } from '../../../shared/types';
10
+ import { FilterFn, Property } from '../../../shared/types';
11
11
  import { MatExpansionPanel } from '@angular/material/expansion';
12
12
  import * as i0 from "@angular/core";
13
- interface TranslatedFormFieldDefinition extends FormFieldDefinition {
14
- translatedName?: string;
15
- }
16
- export declare class PropertyEntity extends Entity<PropertyEntity, string> {
13
+ export declare class PropertyEntity extends Entity<PropertyEntity, string> implements Property {
17
14
  static fromObject: (source: any, opts?: any) => PropertyEntity;
18
- definition: TranslatedFormFieldDefinition;
15
+ definition: FormFieldDefinition;
19
16
  value: any;
17
+ get key(): string;
20
18
  fromObject(source: any): void;
21
19
  asObject(opts?: EntityAsObjectOptions): any;
22
20
  }
@@ -46,7 +44,6 @@ export declare class AppPropertiesTable extends AppInMemoryTable<PropertyEntity,
46
44
  showToolbar: boolean;
47
45
  filterExpansionPanel: MatExpansionPanel;
48
46
  definitionsMapByKey: FormFieldDefinitionMap;
49
- translationsByKey: ObjectMap<string>;
50
47
  filterForm: UntypedFormGroup;
51
48
  filterCriteriaCount: number;
52
49
  filterPanelFloating: boolean;
@@ -69,10 +66,7 @@ export declare class AppPropertiesTable extends AppInMemoryTable<PropertyEntity,
69
66
  toggleFilterPanelFloating(): void;
70
67
  closeFilterPanel(): void;
71
68
  applyFilterAndClosePanel(event?: Event): void;
72
- toTranslatedFormFieldDefinition: (definition: FormFieldDefinition) => TranslatedFormFieldDefinition;
73
69
  resetProperty(event: UIEvent, row: TableElement<PropertyEntity>): void;
74
- protected toValue(values: PropertyEntity[], definition: FormFieldDefinition): any;
75
70
  static ɵfac: i0.ɵɵFactoryDeclaration<AppPropertiesTable, never>;
76
71
  static ɵcmp: i0.ɵɵComponentDeclaration<AppPropertiesTable, "app-properties-table", never, { "definitions": { "alias": "definitions"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; }, {}, never, never, false, never>;
77
72
  }
78
- export {};
@@ -25,6 +25,10 @@ export declare class AppPropertiesUtils {
25
25
  static arrayFromObject<T>(sources?: PropertyMap | Property<T>[], definitions?: FormFieldDefinition[], opts?: {
26
26
  keepOrphan?: boolean;
27
27
  }): Property<T>[] | Promise<Property<T>[]>;
28
+ static sanitize(source: PropertyMap | Property[], opts?: {
29
+ definitions?: FormFieldDefinition[];
30
+ includedKeys?: string[];
31
+ }): PropertyMap | Property[];
28
32
  }
29
33
  export declare class AppPropertyUtils {
30
34
  static key(key: any): string;
@@ -47,6 +47,7 @@ export interface ChangePasswordData {
47
47
  }
48
48
  export interface UserSettingsOptions {
49
49
  options: FormFieldDefinitionMap;
50
+ remoteLocalSettingsKeys?: (keyof LocalSettings | string)[];
50
51
  }
51
52
  export declare const APP_USER_SETTINGS_OPTIONS: InjectionToken<UserSettingsOptions>;
52
53
  export declare const APP_USER_TOKEN_SCOPES: InjectionToken<TokenScope[]>;
@@ -82,6 +83,7 @@ export declare class AccountService extends BaseGraphqlService<Account, any, num
82
83
  private readonly _listenIntervalInSeconds;
83
84
  private _cache;
84
85
  private readonly _optionDefs;
86
+ private readonly _remoteLocalSettingsKeys;
85
87
  private _$additionalFields;
86
88
  private _tokenType$;
87
89
  private _apiTokenEnabled;
@@ -61,6 +61,7 @@ export declare class LocalSettingsService extends StartableService<LocalSettings
61
61
  apply(settings: Partial<LocalSettings>, opts?: {
62
62
  emitEvent?: boolean;
63
63
  persistImmediate?: boolean;
64
+ sanitize?: boolean;
64
65
  }): Promise<void>;
65
66
  applyProperty(key: keyof LocalSettings, value: any, opts?: {
66
67
  emitEvent?: boolean;
@@ -3,6 +3,7 @@ import { Person, UserProfileLabel } from './person.model';
3
3
  import { Entity, EntityAsObjectOptions } from './entity.model';
4
4
  import { LatLongPattern } from '../../../shared/material/latlong/latlong.utils';
5
5
  import { UserToken } from './token.model';
6
+ import { FormFieldDefinition } from '../../../shared/form/field.model';
6
7
  /**
7
8
  * A user account
8
9
  */
@@ -35,7 +36,21 @@ export declare class UserSettings extends Entity<UserSettings> {
35
36
  constructor();
36
37
  asObject(opts?: EntityAsObjectOptions): any;
37
38
  fromObject(source: any, opts?: any): void;
38
- merge<S = LocalSettings>(source: S, includesProperties: (keyof S)[]): boolean;
39
- asLocalSettings(): Partial<LocalSettings>;
39
+ /**
40
+ * Merges the given source object into the current instance.
41
+ *
42
+ * @param {S} source - The source object containing properties to merge.
43
+ * @param {Array<keyof S | string | number>} [includedProperties] - Optional array of property keys to be merged into the content map.
44
+ * @param {boolean} [resetContent] - Optional flag to reset existing content. False by default
45
+ * @return {boolean} - Returns true if any changes were made; otherwise, false.
46
+ */
47
+ merge<S = LocalSettings>(source: S, includedProperties: (keyof S | string | number)[], resetContent?: boolean): boolean;
48
+ /**
49
+ * Transform user settings into local settings
50
+ * @param opts
51
+ */
52
+ asLocalSettings(opts?: {
53
+ definitions?: FormFieldDefinition[];
54
+ }): Partial<LocalSettings>;
40
55
  }
41
56
  export declare function accountToString(data: Account): string;
@@ -20,9 +20,9 @@ export interface IEntity<T, ID = number, AO extends EntityAsObjectOptions = Enti
20
20
  __typename: string;
21
21
  equals(other: T): boolean;
22
22
  clone(opts?: AO & FO): T;
23
- copy(target: T, opts?: AO & FO): any;
23
+ copy(target: T, opts?: AO & FO): void;
24
24
  asObject(opts?: AO): any;
25
- fromObject(source: any, opts?: FO): any;
25
+ fromObject(source: any, opts?: FO): void;
26
26
  }
27
27
  export declare abstract class Entity<T extends Entity<T, ID, AO, FO>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> implements IEntity<T, ID, AO, FO> {
28
28
  static TYPENAME: string;
@@ -4,18 +4,18 @@ import { IValidatorService } from '../../../shared/services/validator-service.cl
4
4
  import { TranslateService } from '@ngx-translate/core';
5
5
  import { FormErrors } from '../../../shared/forms';
6
6
  import * as i0 from "@angular/core";
7
- export declare abstract class AppValidatorService<T = any> extends ValidatorService implements IValidatorService<T> {
7
+ export declare abstract class AppValidatorService<T = any, O = any> extends ValidatorService implements IValidatorService<T> {
8
8
  protected formBuilder: UntypedFormBuilder;
9
9
  protected translate?: TranslateService;
10
10
  protected constructor(formBuilder: UntypedFormBuilder, translate?: TranslateService);
11
11
  getRowValidator(): UntypedFormGroup;
12
- getFormGroup(data?: T): UntypedFormGroup;
13
- getFormGroupConfig(data?: T): {
12
+ getFormGroup(data?: T, opts?: O): UntypedFormGroup;
13
+ getFormGroupConfig(data?: T, opts?: O): {
14
14
  [key: string]: any[];
15
15
  };
16
16
  getI18nFormErrors(control: AbstractControl): string[];
17
17
  getI18nErrors(errors: FormErrors): string[];
18
18
  protected getI18nError(errorKey: string, errorContent?: any): string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<AppValidatorService<any>, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<AppValidatorService<any>, never, never, {}, {}, never, never, false, never>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppValidatorService<any, any>, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppValidatorService<any, any>, never, never, {}, {}, never, never, false, never>;
21
21
  }
@@ -1,13 +1,13 @@
1
1
  import { AsyncTableDataSource, AsyncTableElement, TableDataSourceConfig, ValidatorService } from '@e-is/ngx-material-table';
2
2
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
- import { Entity, IEntity } from '../services/model/entity.model';
3
+ import { IEntity } from '../services/model/entity.model';
4
4
  import { OnDestroy } from '@angular/core';
5
5
  import { SortDirection } from '@angular/material/sort';
6
6
  import { CollectionViewer } from '@angular/cdk/collections';
7
7
  import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult } from '../../shared/services/entity-service.class';
8
8
  import { IEntitiesTableDataSource } from './table.model';
9
9
  import * as i0 from "@angular/core";
10
- export interface EntitiesAsyncTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
10
+ export interface EntitiesAsyncTableDataSourceConfig<T extends IEntity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
11
11
  onRowCreated?: (row: AsyncTableElement<T>) => Promise<void> | void;
12
12
  saveOnlyDirtyRows?: boolean;
13
13
  readOnly?: boolean;
@@ -1,13 +1,13 @@
1
1
  import { TableDataSource, TableDataSourceConfig, TableElement, ValidatorService } from '@e-is/ngx-material-table';
2
2
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
- import { Entity, IEntity } from '../services/model/entity.model';
3
+ import { IEntity } from '../services/model/entity.model';
4
4
  import { OnDestroy } from '@angular/core';
5
5
  import { SortDirection } from '@angular/material/sort';
6
6
  import { CollectionViewer } from '@angular/cdk/collections';
7
7
  import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult } from '../../shared/services/entity-service.class';
8
8
  import { IEntitiesTableDataSource } from './table.model';
9
9
  import * as i0 from "@angular/core";
10
- export interface EntitiesTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
10
+ export interface EntitiesTableDataSourceConfig<T extends IEntity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
11
11
  onRowCreated?: (row: TableElement<T>) => Promise<void> | void;
12
12
  saveOnlyDirtyRows?: boolean;
13
13
  saveBeforeDelete?: boolean;
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
17
17
  }
18
18
  export declare function isInputElement(object: any): object is InputElement;
19
19
  export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
20
- export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
20
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
21
21
  export interface CanGainFocusOptions {
22
22
  minTabindex?: number;
23
23
  maxTabindex?: number;
@@ -3,9 +3,8 @@ import { LocalSettingsService } from '../../core/services/local-settings.service
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
  import { NetworkService } from '../../core/services/network.service';
5
5
  import { MarkdownService } from './markdown.service';
6
- import { NavController, ToastController } from '@ionic/angular';
6
+ import { NavController } from '@ionic/angular';
7
7
  import { ActivatedRoute } from '@angular/router';
8
- import { PrintService } from '../print/print.service';
9
8
  import * as i0 from "@angular/core";
10
9
  export interface AppMarkdownOptions {
11
10
  data?: string;
@@ -17,15 +16,13 @@ export declare class AppMarkdownContent implements AppMarkdownOptions, OnDestroy
17
16
  protected element: ElementRef<HTMLElement>;
18
17
  private _document;
19
18
  protected route: ActivatedRoute;
20
- private _printId;
19
+ private _printIframe;
21
20
  private _clickSubscription;
22
21
  protected navController: NavController;
23
22
  protected settings: LocalSettingsService;
24
23
  protected translate: TranslateService;
25
24
  protected network: NetworkService;
26
25
  protected markdownService: MarkdownService;
27
- protected toastController: ToastController;
28
- protected printService: PrintService;
29
26
  protected loading: boolean;
30
27
  protected error: string;
31
28
  protected baseUrl: string;
@@ -55,15 +52,13 @@ export declare class AppMarkdownContent implements AppMarkdownOptions, OnDestroy
55
52
  ngOnDestroy(): void;
56
53
  goBack(event?: Event): void;
57
54
  get canGoBack(): boolean;
58
- print(): Promise<void>;
59
- markAsLoaded(opts?: {
60
- emitEvent?: boolean;
61
- }): void;
62
- markAsLoading(opts?: {
63
- emitEvent?: boolean;
64
- }): void;
55
+ print(event?: Event): void;
56
+ markAsLoaded(): void;
57
+ markAsLoading(): void;
65
58
  setError(error: string | Error): void;
66
59
  resetError(): void;
60
+ private createPrintHiddenIframe;
61
+ private injectAppStylesIntoIframe;
67
62
  protected setData(value: string, opts?: {
68
63
  anchor?: string;
69
64
  addToNavigationHistory?: boolean;
@@ -13,8 +13,6 @@ export interface AppMarkdownModalOptions {
13
13
  showError?: boolean;
14
14
  cssClass?: string;
15
15
  canPrint?: boolean;
16
- enableNavigationHistory?: boolean;
17
- debug?: boolean;
18
16
  }
19
17
  export declare class AppMarkdownModal implements AppMarkdownModalOptions {
20
18
  protected injector: Injector;
@@ -24,13 +22,12 @@ export declare class AppMarkdownModal implements AppMarkdownModalOptions {
24
22
  protected translate: TranslateService;
25
23
  protected network: NetworkService;
26
24
  protected cd: ChangeDetectorRef;
25
+ debug: boolean;
27
26
  title: string;
28
27
  showError: boolean;
29
28
  canPrint: boolean;
30
29
  data: string;
31
30
  src: string;
32
- enableNavigationHistory: boolean;
33
- debug: boolean;
34
31
  content: AppMarkdownContent;
35
32
  static show(modalCtrl: ModalController, options: AppMarkdownModalOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
36
33
  constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, network: NetworkService, cd: ChangeDetectorRef);
@@ -41,9 +38,5 @@ export declare class AppMarkdownModal implements AppMarkdownModalOptions {
41
38
  protected setError(err: string | Error): void;
42
39
  protected resetError(): void;
43
40
  static ɵfac: i0.ɵɵFactoryDeclaration<AppMarkdownModal, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<AppMarkdownModal, "app-markdown-modal", never, { "title": { "alias": "title"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "canPrint": { "alias": "canPrint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "src": { "alias": "src"; "required": false; }; "enableNavigationHistory": { "alias": "enableNavigationHistory"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, {}, never, never, false, never>;
45
- static ngAcceptInputType_showError: unknown;
46
- static ngAcceptInputType_canPrint: unknown;
47
- static ngAcceptInputType_enableNavigationHistory: unknown;
48
- static ngAcceptInputType_debug: unknown;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppMarkdownModal, "app-markdown-modal", never, { "debug": { "alias": "debug"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "canPrint": { "alias": "canPrint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, false, never>;
49
42
  }
@@ -21,6 +21,5 @@ export declare class MarkdownUtils {
21
21
  absoluteByDefault: boolean;
22
22
  }): string;
23
23
  static isGitlabUrl(url: string): boolean;
24
- static fixGitlabUrlToRaw(url: string): string;
25
24
  static getRootUrl(url: string): string;
26
25
  }
@@ -1,15 +1,12 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
2
  import { ModalController } from '@ionic/angular';
3
- import { Environment } from '../../../../environments/environment.class';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class MarkdownTestPage {
6
5
  private modalCtrl;
7
6
  private cd;
8
- protected environment: Environment;
9
7
  protected markdownModalTitle: string;
10
- protected debug: boolean;
11
8
  protected markdownUrl: string;
12
- constructor(modalCtrl: ModalController, cd: ChangeDetectorRef, environment: Environment);
9
+ constructor(modalCtrl: ModalController, cd: ChangeDetectorRef);
13
10
  onSubmit(event: Event, newUrl: string | number): void;
14
11
  updateInputUrl(url: string): void;
15
12
  openHelpModal(event: Event): Promise<import("@ionic/core").OverlayEventDetail<any>>;
@@ -9,7 +9,9 @@ import { INamedFilterService, NamedFilterLoadOptions, NamedFilterWatchOptions }
9
9
  import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
10
10
  import * as i0 from "@angular/core";
11
11
  export type NamedFilterSelectorButtonsPosition = 'matSuffix' | 'after';
12
- export declare class NamedFilterSelector extends AppForm<any> implements OnInit {
12
+ export declare class NamedFilterSelector extends AppForm<{
13
+ namedFilter: any;
14
+ }> implements OnInit {
13
15
  protected injector: Injector;
14
16
  protected formBuilder: UntypedFormBuilder;
15
17
  protected cd: ChangeDetectorRef;
@@ -1,13 +1,13 @@
1
1
  import { Entity, IEntity } from '../../core/services/model/entity.model';
2
2
  import { EntityFilter, IEntityFilter } from '../../core/services/model/filter.model';
3
- export interface INamedFilter<T extends INamedFilter<T>> extends IEntity<T, number> {
3
+ export interface INamedFilter<T extends INamedFilter<T>> extends IEntity<T> {
4
4
  name: string;
5
5
  entityName: string;
6
6
  content: any;
7
7
  recorderPersonId: number;
8
8
  recorderDepartmentId: number;
9
9
  }
10
- export declare class NamedFilter<T extends NamedFilter<any> = NamedFilter<any>> extends Entity<T, number> implements INamedFilter<T> {
10
+ export declare class NamedFilter<T extends NamedFilter<any> = NamedFilter<any>> extends Entity<T> implements INamedFilter<T> {
11
11
  static fromObject: (source: any, opts?: any) => NamedFilter;
12
12
  name: string;
13
13
  entityName: string;
@@ -1,9 +1,9 @@
1
1
  import { Moment } from 'moment';
2
- import { Entity, IEntity } from '../../core/services/model/entity.model';
2
+ import { IEntity } from '../../core/services/model/entity.model';
3
3
  import { IEntityFilter } from '../../core/services/model/filter.model';
4
4
  import { AppColors, IconRef } from '../../shared/types';
5
5
  export type EventLevel = 'ERROR' | 'WARNING' | 'INFO' | 'DEBUG';
6
- export interface IUserEvent<E extends Entity<E, ID>, ID = number, U = string, L = EventLevel> extends IEntity<E, ID> {
6
+ export interface IUserEvent<E extends IEntity<E, ID>, ID = number, U = string, L = EventLevel> extends IEntity<E, ID> {
7
7
  issuer: U;
8
8
  recipient: U;
9
9
  type: string;
@@ -635,7 +635,7 @@
635
635
  "FIELD_NOT_EQUALS": "Value not equals",
636
636
  "SPACE_NOT_ALLOW": "Spaces or special characters not allowed",
637
637
  "SCRYPT_ERROR": "Unable to create account keys",
638
- "INVALID_OR_INCOMPLETE_FILL": "Incomplete or invalid entry",
638
+ "INVALID_OR_INCOMPLETE_FILL": "Invalid or incomplete fill",
639
639
  "UNKNOWN_ACCOUNT_EMAIL": "No account matches this email.",
640
640
  "BAD_PASSWORD": "Incorrect password.",
641
641
  "EMAIL_ALREADY_REGISTERED": "Email already registered",
@@ -690,8 +690,7 @@
690
690
  "SUBSCRIBE_ERROR": "Error while subscribe to changes",
691
691
  "FIELD_NOT_EXISTS": "Value doesn't exist",
692
692
  "FIREFOX_NO_STORAGE": "The application cannot run with Firefox in 'private' mode or without keeping navigation history",
693
- "FEATURE_NOT_IMPLEMENTED": "Feature not implemented! <small><br/>Please contact your administrator.</small>",
694
- "INCOMPATIBLE_WEB_BROWSER": "Feature not compatible with your web browser. <small><br/>Please contact your administrator, or try another web browser.</small>"
693
+ "FEATURE_NOT_IMPLEMENTED": "Feature not implemented! <small><br/>Please contact your administrator.</small>"
695
694
  },
696
695
  "CONFIRM": {
697
696
  "ALERT_HEADER": "Confirmation",
@@ -689,8 +689,7 @@
689
689
  "SUBSCRIBE_ERROR": "Error while subscribe to changes",
690
690
  "FIELD_NOT_EXISTS": "Value doesn't exist",
691
691
  "FIREFOX_NO_STORAGE": "The application cannot run with Firefox in 'private' mode or without keeping navigation history",
692
- "FEATURE_NOT_IMPLEMENTED": "Feature not implemented! <small><br/>Please contact your administrator.</small>",
693
- "INCOMPATIBLE_WEB_BROWSER": "Feature not compatible with your web browser. <small><br/>Please contact your administrator, or try another web browser.</small>"
692
+ "FEATURE_NOT_IMPLEMENTED": "Feature not implemented! <small><br/>Please contact your administrator.</small>"
694
693
  },
695
694
  "CONFIRM": {
696
695
  "ALERT_HEADER": "Confirmation",
@@ -691,8 +691,7 @@
691
691
  "SUBSCRIBE_ERROR": "Échec de l'abonnement distant aux modifications",
692
692
  "FIELD_NOT_EXISTS": "Cette valeur n'existe pas",
693
693
  "FIREFOX_NO_STORAGE": "L'application ne peut pas fonctionner sur Firefox en mode 'navigation privée' ou si la conservation de l'historique est désactivée",
694
- "FEATURE_NOT_IMPLEMENTED": "Fonctionnalité non implémentée ! <small><br/>Veuillez contacter votre administrateur.</small>",
695
- "INCOMPATIBLE_WEB_BROWSER": "Fonctionnalité non compatible avec votre navigateur Internet. <small><br/>Veuillez contacter votre administrateur, ou tester un autre navigateur.</small>"
694
+ "FEATURE_NOT_IMPLEMENTED": "Fonctionnalité non implémentée ! <small><br/>Veuillez contacter votre administrateur.</small>"
696
695
  },
697
696
  "CONFIRM": {
698
697
  "ALERT_HEADER": "Confirmation",
@@ -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.6.11",
5
+ "version": "18.6.10",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{