@sumaris-net/ngx-components 0.27.16 → 0.27.20

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": "0.27.16",
4
+ "version": "0.27.20",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -117,8 +117,8 @@ export declare abstract class AppEditor<T = any, ID = number, O = any> implement
117
117
  markAsReady(opts?: {
118
118
  emitEvent?: boolean;
119
119
  }): void;
120
- ready(opts?: WaitForOptions): Promise<any>;
121
- waitIdle(opts?: WaitForOptions): Promise<any>;
120
+ ready(opts?: WaitForOptions): Promise<void>;
121
+ waitIdle(opts?: WaitForOptions): Promise<void>;
122
122
  cancel(event?: Event): Promise<void>;
123
123
  /**
124
124
  * Unload the page (remove all data). Useful when reusing angular cache a cancelled page
@@ -0,0 +1,9 @@
1
+ import { AppColors } from '../../shared/colors.utils';
2
+ import { IconRef } from '../../shared/types';
3
+ export declare class AppIconComponent {
4
+ icon: string;
5
+ matIcon: string;
6
+ matSvgIcon: string;
7
+ color: AppColors;
8
+ set ref(value: IconRef);
9
+ }
@@ -6,8 +6,6 @@ export interface MenuItem extends IconRef {
6
6
  title: string;
7
7
  path?: string;
8
8
  action?: string | any;
9
- icon?: string;
10
- matIcon?: string;
11
9
  profile?: UserProfileLabel;
12
10
  exactProfile?: UserProfileLabel;
13
11
  color?: string;
@@ -0,0 +1,3 @@
1
+ import { PredefinedColors } from '@ionic/core';
2
+ import { ThemePalette } from '@angular/material/core';
3
+ export declare type AppColors = PredefinedColors | ThemePalette | 'secondary100';
@@ -18,4 +18,5 @@ export declare type PropertiesArray = Property[];
18
18
  export declare interface IconRef {
19
19
  icon?: string;
20
20
  matIcon?: string;
21
+ matSvgIcon?: string;
21
22
  }
@@ -22,6 +22,7 @@ export declare class SharedValidators {
22
22
  longitude: string;
23
23
  pattern: string;
24
24
  unique: string;
25
+ entity: string;
25
26
  };
26
27
  static validDate(control: FormControl): ValidationErrors | null;
27
28
  static latitude(control: FormControl): ValidationErrors | null;
@@ -442,8 +442,8 @@
442
442
  "FIELD_MIN_COMPACT": "Min autorisée={{min}}",
443
443
  "FIELD_MAX": "Valeur maximale autorisée: {{max}}",
444
444
  "FIELD_MAX_COMPACT": "Max {{max}}",
445
- "FIELD_MAXIMUM_DECIMALS": "Nombre de décimale incorrect ({{max}} max)",
446
- "FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb décimale max={{max}}",
445
+ "FIELD_MAXIMUM_DECIMALS": "Nombre de décimale incorrect ({{maxDecimals}} max)",
446
+ "FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb décimale max={{maxDecimals}}",
447
447
  "FIELD_INVALID": "Valeur non valide",
448
448
  "FIELD_NOT_VALID_INTEGER": "Valeur entière attendue",
449
449
  "FIELD_NOT_VALID_EMAIL": "Addresse email invalide",
@@ -2,6 +2,7 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './public_api';
5
+ export { AppIconComponent as ɵl } from './src/app/core/icon/icon.component';
5
6
  export { RegisterForm as ɵg } from './src/app/core/register/form/form-register';
6
7
  export { RegisterModal as ɵi } from './src/app/core/register/modal/modal-register';
7
8
  export { AccountValidatorService as ɵh } from './src/app/core/services/validator/account.validator';