@sumaris-net/ngx-components 2.7.1-rc2 → 2.7.1

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 (37) hide show
  1. package/esm2022/public_api.mjs +3 -2
  2. package/esm2022/src/app/core/form/entity/editor.class.mjs +3 -2
  3. package/esm2022/src/app/core/menu/menu.component.mjs +3 -3
  4. package/esm2022/src/app/core/services/account.service.mjs +4 -1
  5. package/esm2022/src/app/core/table/testing/table-validator.service.mjs +3 -2
  6. package/esm2022/src/app/core/table/testing/table.testing.mjs +63 -60
  7. package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +3 -3
  8. package/esm2022/src/app/shared/material/boolean/material-boolean.mjs +2 -2
  9. package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +3 -3
  10. package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +6 -20
  11. package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +12 -12
  12. package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +3 -3
  13. package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +3 -3
  14. package/esm2022/src/app/shared/material/duration/duration.module.mjs +7 -12
  15. package/esm2022/src/app/shared/material/duration/material.duration.mjs +1 -1
  16. package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +13 -13
  17. package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +6 -11
  18. package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +12 -12
  19. package/esm2022/src/app/shared/material/material.config.mjs +2 -0
  20. package/esm2022/src/app/shared/material/material.module.mjs +3 -3
  21. package/esm2022/src/app/shared/material/material.testing.module.mjs +8 -8
  22. package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +3 -3
  23. package/esm2022/src/environments/environment.loader.mjs +2 -8
  24. package/fesm2022/sumaris-net.ngx-components.mjs +1541 -1566
  25. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  26. package/package.json +5 -2
  27. package/public_api.d.ts +2 -1
  28. package/src/app/shared/inputs.d.ts +1 -1
  29. package/src/app/shared/material/datetime/material.datetime.d.ts +4 -4
  30. package/src/app/shared/material/duration/duration.module.d.ts +1 -1
  31. package/src/app/shared/material/latlong/material.latlong.d.ts +4 -4
  32. package/src/app/shared/material/latlong/material.latlong.module.d.ts +1 -1
  33. package/src/app/shared/material/material.config.d.ts +2 -0
  34. package/src/assets/manifest.json +1 -1
  35. package/src/environments/environment.loader.d.ts +0 -2
  36. package/src/theme/_material.scss +3 -0
  37. package/src/theme/_ngx-components.table.scss +2 -2
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": "2.7.1-rc2",
4
+ "version": "2.7.1",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -16,7 +16,10 @@
16
16
  "@rx-angular/state": "~17.0.0",
17
17
  "@rx-angular/template": "~17.0.0",
18
18
  "clone": "~2.1.2",
19
- "tslib": "~2.6.2"
19
+ "tslib": "~2.6.2",
20
+ "@maskito/angular": "~2.0.0",
21
+ "@maskito/core": "~2.0.0",
22
+ "@maskito/kit": "~2.0.0"
20
23
  },
21
24
  "peerDependencies": {
22
25
  "@apollo/client": "~3.8.5",
package/public_api.d.ts CHANGED
@@ -5,6 +5,8 @@ export * from './src/app/shared/shared.module';
5
5
  export { SharedRoutingModule } from './src/app/shared/shared-routing.module';
6
6
  export { RxStateModule } from './src/app/shared/rx-state.module';
7
7
  export * from './src/app/shared/material/material.module';
8
+ export * from './src/app/shared/material/material.config';
9
+ export * from './src/app/shared/material/material.animations';
8
10
  export * from './src/app/shared/material/boolean/boolean.module';
9
11
  export { MatBooleanField } from './src/app/shared/material/boolean/material-boolean';
10
12
  export * from './src/app/shared/material/autocomplete/material.autocomplete.module';
@@ -13,7 +15,6 @@ export * from './src/app/shared/material/autocomplete/material.autocomplete.conf
13
15
  export * from './src/app/shared/material/autocomplete/material.autocomplete.utils';
14
16
  export * from './src/app/shared/material/chips/chips.module';
15
17
  export { MatChipsField } from './src/app/shared/material/chips/material.chips';
16
- export * from './src/app/shared/material/material.animations';
17
18
  export * from './src/app/shared/material/paginator/material.paginator-i18n';
18
19
  export * from './src/app/shared/material/stepper/material.stepper-i18n';
19
20
  export * from './src/app/shared/material/datetime/datetime.module';
@@ -16,7 +16,7 @@ export interface InputElement extends FocusableElement {
16
16
  }
17
17
  export declare function isInputElement(object: any): object is InputElement;
18
18
  export declare function asInputElement(object: ElementRef): InputElement | undefined;
19
- export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
19
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
20
20
  export interface CanGainFocusOptions {
21
21
  minTabindex?: number;
22
22
  maxTabindex?: number;
@@ -25,7 +25,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
25
25
  private formBuilder;
26
26
  private cd;
27
27
  private formGroupDir;
28
- private _defaults?;
29
28
  private _onChangeCallback;
30
29
  private _onTouchedCallback;
31
30
  private _subscription;
@@ -37,7 +36,8 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
37
36
  private _formControl;
38
37
  private _controlName;
39
38
  private _required;
40
- protected _subscriptSizing: SubscriptSizing | null;
39
+ private _subscriptSizing;
40
+ private readonly _defaultSubscriptSizing;
41
41
  dateControl: UntypedFormControl;
42
42
  timeControl: UntypedFormControl;
43
43
  displayPattern: string;
@@ -48,8 +48,8 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
48
48
  maskitoTimeOptions: MaskitoOptions;
49
49
  datePlaceholder: string;
50
50
  timePlaceholder: string;
51
- get subscriptSizing(): SubscriptSizing;
52
51
  set subscriptSizing(value: SubscriptSizing);
52
+ get subscriptSizing(): SubscriptSizing;
53
53
  set formControl(value: UntypedFormControl);
54
54
  get formControl(): UntypedFormControl;
55
55
  set formControlName(value: string);
@@ -75,7 +75,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
75
75
  timePicker: NgxTimePicker;
76
76
  matInputs: QueryList<ElementRef>;
77
77
  matError: MatError;
78
- constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, _defaults?: MatFormFieldDefaultOptions);
78
+ constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
79
79
  ngOnInit(): void;
80
80
  _getDisplayedMessages(): 'error' | 'hint';
81
81
  ngAfterViewInit(): void;
@@ -14,6 +14,6 @@ import * as i12 from "@maskito/angular";
14
14
  import * as i13 from "../../directives/directives.module";
15
15
  export declare class SharedMatDurationModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatDurationModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatDurationModule, [typeof i1.MatDuration], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.MatCommonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.NgxMaterialTimepickerModule, typeof i6.MatRippleModule, typeof i10.MatMomentDateModule, typeof i11.TranslateModule, typeof i12.MaskitoModule, typeof i13.SharedDirectivesModule], [typeof i1.MatDuration]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatDurationModule, [typeof i1.MatDuration], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.MatCommonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.NgxMaterialTimepickerModule, typeof i6.MatRippleModule, typeof i10.MatMomentDateModule, typeof i11.TranslateModule, typeof i12.MaskitoDirective, typeof i13.SharedDirectivesModule], [typeof i1.MatDuration]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatDurationModule>;
19
19
  }
@@ -9,14 +9,14 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
9
9
  private formBuilder;
10
10
  private cd;
11
11
  private formGroupDir;
12
- private _defaults?;
13
12
  private _onChangeCallback;
14
13
  private _onTouchedCallback;
15
14
  private _subscription;
16
15
  private _formatOptions;
17
16
  private _disabling;
18
17
  private _writing;
19
- protected _subscriptSizing: SubscriptSizing | null;
18
+ private _subscriptSizing;
19
+ private readonly _defaultSubscriptSizing;
20
20
  _readonly: boolean;
21
21
  _formatFn: LatLongFormatFn;
22
22
  textFormControl: UntypedFormControl;
@@ -40,13 +40,13 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
40
40
  autofocus: boolean;
41
41
  set readonly(value: boolean);
42
42
  get readonly(): boolean;
43
- get subscriptSizing(): SubscriptSizing;
44
43
  set subscriptSizing(value: SubscriptSizing);
44
+ get subscriptSizing(): SubscriptSizing;
45
45
  onBlur: EventEmitter<FocusEvent>;
46
46
  onFocus: EventEmitter<FocusEvent>;
47
47
  inputElement: ElementRef;
48
48
  matError: MatError;
49
- constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, _defaults?: MatFormFieldDefaultOptions);
49
+ constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
50
50
  ngOnInit(): void;
51
51
  _getDisplayedMessages(): 'error' | 'hint';
52
52
  ngOnDestroy(): void;
@@ -15,6 +15,6 @@ import * as i13 from "@angular/material/select";
15
15
  import * as i14 from "@ngx-translate/core";
16
16
  export declare class SharedMatLatLongModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatLatLongModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatLatLongModule, [typeof i1.MatLatLongField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedDirectivesModule, typeof i6.SharedPipesModule, typeof i7.MatCommonModule, typeof i8.MatFormFieldModule, typeof i9.MatInputModule, typeof i10.MatButtonModule, typeof i11.MaskitoModule, typeof i12.MatIconModule, typeof i13.MatSelectModule, typeof i14.TranslateModule], [typeof i1.MatLatLongField]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatLatLongModule, [typeof i1.MatLatLongField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedDirectivesModule, typeof i6.SharedPipesModule, typeof i7.MatCommonModule, typeof i8.MatFormFieldModule, typeof i9.MatInputModule, typeof i10.MatButtonModule, typeof i11.MaskitoDirective, typeof i12.MatIconModule, typeof i13.MatSelectModule, typeof i14.TranslateModule], [typeof i1.MatLatLongField]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatLatLongModule>;
20
20
  }
@@ -0,0 +1,2 @@
1
+ import { SubscriptSizing } from '@angular/material/form-field';
2
+ export declare const MAT_FORM_FIELD_DEFAULT_SUBSCRIPT_SIZING: SubscriptSizing;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.7.0",
5
+ "version": "2.7.1",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -21,6 +21,4 @@ export declare class EnvironmentHttpLoader<T extends Environment = Environment>
21
21
  get(): T;
22
22
  load(): Promise<T>;
23
23
  protected fetch(url: string): Promise<Partial<T>>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentHttpLoader<any>, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentHttpLoader<any>>;
26
24
  }
@@ -20,6 +20,9 @@
20
20
  --mat-tab-header-active-focus-label-text-color: #000000de;
21
21
  --mat-tab-header-active-hover-label-text-color: #000000de;
22
22
  }
23
+ .mat-mdc-tab-header {
24
+ --mat-tab-header-label-text-tracking: 0.0178571429em;
25
+ }
23
26
  .mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper {
24
27
  transform: translateY(0px) !important;
25
28
  }
@@ -19,8 +19,8 @@
19
19
 
20
20
  --mdc-checkbox-state-layer-size: 20px;
21
21
  --mdc-typography-body1-font-size: 14px;
22
- --mat-table-row-item-label-text-tracking: 0.5px;
23
- --mat-form-field-container-text-tracking: 0.5px;
22
+ --mat-table-row-item-label-text-tracking: 0.0178571429em;
23
+ --mat-form-field-container-text-tracking: 0.0178571429em;
24
24
  --mdc-typography-body1-letter-spacing: 0.0178571429em;
25
25
  --mat-table-row-item-label-text-size: 14px;
26
26