@sumaris-net/ngx-components 1.20.7 → 1.20.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.
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": "1.20.7",
4
+ "version": "1.20.10",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
package/public_api.d.ts CHANGED
@@ -187,6 +187,7 @@ export * from './src/app/shared/upload-file/testing/upload-file.testing.module';
187
187
  export * from './src/app/core/core.testing.module';
188
188
  export * from './src/app/core/services/testing/referential-filter.model';
189
189
  export * from './src/app/core/services/testing/referential.validator';
190
+ export * from './src/app/core/services/errors';
190
191
  export * from './src/app/core/table/testing/table.testing.module';
191
192
  export * from './src/app/core/table/testing/table.testing';
192
193
  export * from './src/app/core/text-popover/testing/text-popover.testing.module';
@@ -1,9 +1,10 @@
1
- import { AppColors } from '../../shared/colors.utils';
2
1
  import { IconRef } from '../../shared/types';
2
+ import { PredefinedColors } from '@ionic/core';
3
+ import { ThemePalette } from '@angular/material/core';
3
4
  export declare class AppIconComponent {
4
5
  icon: string;
5
6
  matIcon: string;
6
7
  matSvgIcon: string;
7
- color: AppColors;
8
+ color: PredefinedColors | ThemePalette;
8
9
  set ref(value: IconRef);
9
10
  }
@@ -1,6 +1,6 @@
1
1
  export declare interface ServiceError {
2
2
  code: number;
3
- message: String;
3
+ message: string;
4
4
  reject?: (err: any) => void;
5
5
  }
6
6
  export declare const ErrorCodes: {
@@ -12,6 +12,7 @@ export declare const StatusById: Readonly<import("../../../shared/types").KeyVal
12
12
  export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
13
13
  label: string;
14
14
  name: string;
15
+ description?: string;
15
16
  levelId?: number;
16
17
  statusId: number;
17
18
  entityName: string;
@@ -56,6 +57,7 @@ export declare class ReferentialRef<T extends ReferentialRef<any, ID> = Referent
56
57
  static fromObject: (source: any, opts?: any) => ReferentialRef;
57
58
  label: string;
58
59
  name: string;
60
+ description: string;
59
61
  statusId: number;
60
62
  levelId: number;
61
63
  entityName: string;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector } from '@angular/core';
1
+ import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
2
2
  import { ModalController } from '@ionic/angular';
3
3
  import { PlatformService } from '../../core/services/platform.service';
4
4
  import { LocalSettingsService } from '../../core/services/local-settings.service';
@@ -9,7 +9,7 @@ export interface AppHelpModalOptions {
9
9
  docUrl?: string;
10
10
  showError?: boolean;
11
11
  }
12
- export declare class AppHelpModal implements AppHelpModalOptions {
12
+ export declare class AppHelpModal implements AppHelpModalOptions, OnInit {
13
13
  protected injector: Injector;
14
14
  protected viewCtrl: ModalController;
15
15
  protected platform: PlatformService;
@@ -24,7 +24,8 @@ export declare class AppHelpModal implements AppHelpModalOptions {
24
24
  docUrl: string;
25
25
  showError: boolean;
26
26
  constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
27
- close(event?: UIEvent): Promise<void>;
27
+ ngOnInit(): void;
28
+ close(event?: UIEvent): Promise<boolean>;
28
29
  markAsLoaded(): void;
29
30
  onLoadError(error?: string): void;
30
31
  }