@sumaris-net/ngx-components 18.2.18 → 18.2.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": "18.2.18",
4
+ "version": "18.2.20",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -9,13 +9,12 @@ import * as i7 from "@angular/material/form-field";
9
9
  import * as i8 from "@angular/material/input";
10
10
  import * as i9 from "@angular/material/radio";
11
11
  import * as i10 from "@angular/material/checkbox";
12
- import * as i11 from "ngx-material-timepicker";
13
- import * as i12 from "@ngx-translate/core";
14
- import * as i13 from "../../directives/directives.module";
15
- import * as i14 from "@angular/material/icon";
16
- import * as i15 from "@angular/material/button";
12
+ import * as i11 from "@ngx-translate/core";
13
+ import * as i12 from "../../directives/directives.module";
14
+ import * as i13 from "@angular/material/icon";
15
+ import * as i14 from "@angular/material/button";
17
16
  export declare class SharedMatBooleanModule {
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatBooleanModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatBooleanModule, [typeof i1.MatBooleanField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.MatCommonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatRadioModule, typeof i10.MatCheckboxModule, typeof i11.NgxMaterialTimepickerModule, typeof i12.TranslateModule, typeof i13.SharedDirectivesModule, typeof i14.MatIcon, typeof i15.MatIconButton], [typeof i1.MatBooleanField]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatBooleanModule, [typeof i1.MatBooleanField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.MatCommonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatRadioModule, typeof i10.MatCheckboxModule, typeof i11.TranslateModule, typeof i12.SharedDirectivesModule, typeof i13.MatIcon, typeof i14.MatIconButton], [typeof i1.MatBooleanField]>;
20
19
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatBooleanModule>;
21
20
  }
@@ -14,11 +14,11 @@ import * as i12 from "@angular/material/button";
14
14
  import * as i13 from "@angular/material/datepicker";
15
15
  import * as i14 from "@angular/material-moment-adapter";
16
16
  import * as i15 from "@maskito/angular";
17
- import * as i16 from "ngx-material-timepicker";
18
- import * as i17 from "@ngx-translate/core";
19
- import * as i18 from "../../directives/directives.module";
17
+ import * as i16 from "@ngx-translate/core";
18
+ import * as i17 from "../../directives/directives.module";
19
+ import * as i18 from "ngx-mat-timepicker";
20
20
  export declare class SharedMatDateTimeModule {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatDateTimeModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatDateTimeModule, [typeof i1.MatDate, typeof i2.MatDateTime, typeof i3.MatDateShort], [typeof i4.CommonModule, typeof i5.IonicModule, typeof i6.ReactiveFormsModule, typeof i7.SharedPipesModule, typeof i8.MatCommonModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatIconModule, typeof i12.MatButtonModule, typeof i13.MatDatepickerModule, typeof i14.MatMomentDateModule, typeof i15.MaskitoDirective, typeof i16.NgxMaterialTimepickerModule, typeof i17.TranslateModule, typeof i18.SharedDirectivesModule], [typeof i11.MatIconModule, typeof i1.MatDate, typeof i2.MatDateTime, typeof i3.MatDateShort]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatDateTimeModule, [typeof i1.MatDate, typeof i2.MatDateTime, typeof i3.MatDateShort], [typeof i4.CommonModule, typeof i5.IonicModule, typeof i6.ReactiveFormsModule, typeof i7.SharedPipesModule, typeof i8.MatCommonModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatIconModule, typeof i12.MatButtonModule, typeof i13.MatDatepickerModule, typeof i14.MatMomentDateModule, typeof i15.MaskitoDirective, typeof i16.TranslateModule, typeof i17.SharedDirectivesModule, typeof i18.NgxMatTimepickerModule], [typeof i11.MatIconModule, typeof i1.MatDate, typeof i2.MatDateTime, typeof i3.MatDateShort]>;
23
23
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatDateTimeModule>;
24
24
  }
@@ -10,12 +10,6 @@ import { AppFloatLabelType } from '../../form/field.model';
10
10
  import { MaskitoOptions } from '@maskito/core';
11
11
  import * as i0 from "@angular/core";
12
12
  declare interface NgxTimePicker {
13
- selectedHour: {
14
- time: number;
15
- };
16
- selectedMinute: {
17
- time: number;
18
- };
19
13
  open(): any;
20
14
  close(): any;
21
15
  }
@@ -33,13 +27,13 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
33
27
  private _disabling;
34
28
  private _tabindex;
35
29
  private _readonly;
36
- private _formControl;
37
30
  private _controlName;
38
31
  private _required;
39
32
  private _appearance;
40
33
  private _subscriptSizing;
41
34
  private readonly _defaultAppearance;
42
35
  private readonly _defaultSubscriptSizing;
36
+ protected _formControl: UntypedFormControl;
43
37
  protected dateControl: UntypedFormControl;
44
38
  protected timeControl: UntypedFormControl;
45
39
  protected displayPattern: string;
@@ -7,13 +7,12 @@ import * as i5 from "../../pipes/pipes.module";
7
7
  import * as i6 from "@angular/material/core";
8
8
  import * as i7 from "@angular/material/form-field";
9
9
  import * as i8 from "@angular/material/input";
10
- import * as i9 from "ngx-material-timepicker";
11
- import * as i10 from "@angular/material-moment-adapter";
12
- import * as i11 from "@ngx-translate/core";
13
- import * as i12 from "@maskito/angular";
14
- import * as i13 from "../../directives/directives.module";
10
+ import * as i9 from "@angular/material-moment-adapter";
11
+ import * as i10 from "@ngx-translate/core";
12
+ import * as i11 from "@maskito/angular";
13
+ import * as i12 from "../../directives/directives.module";
15
14
  export declare class SharedMatDurationModule {
16
15
  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.MaskitoDirective, typeof i13.SharedDirectivesModule], [typeof i1.MatDuration]>;
16
+ 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 i6.MatRippleModule, typeof i9.MatMomentDateModule, typeof i10.TranslateModule, typeof i11.MaskitoDirective, typeof i12.SharedDirectivesModule], [typeof i1.MatDuration]>;
18
17
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatDurationModule>;
19
18
  }
@@ -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.2.18",
5
+ "version": "18.2.20",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -724,48 +724,18 @@ mat-calendar {
724
724
  }
725
725
  }
726
726
 
727
-
728
727
  // Time picker
729
- .timepicker-backdrop-overlay {
730
- background-color: rgba(var(--ion-backdrop-color-rgb, 0,0,0), var(--ion-backdrop-opacity, 0.32)) !important;
731
- z-index: 1000;
732
- opacity: 1;
733
- -webkit-tap-highlight-color: transparent;
734
- transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
735
- }
736
-
737
- ngx-material-timepicker-content {
738
- --clock-hand-color: var(--ion-color-accent) !important;
739
- --clock-face-background-color: var(--ion-color-step-100, #f0f0f0) !important;
740
- --clock-face-time-active-color: var(--ion-color-accent-contrast, #fff) !important;
741
- --clock-face-time-inactive-color: var(--ion-color-step-900, #6c6c6c) !important;
742
- --clock-face-time-disabled-color: var(--ion-color-step-200, #c5c5c5);
743
- --clock-face-inner-time-inactive-color: var(--ion-color-step-700, #929292) !important;
744
- --body-background-color: var(--ion-background-color, #fff);
745
-
746
- // TODO review !
747
- //@extend .mat-dialog-container !optional;
748
-
749
- .timepicker {
750
- box-shadow: unset !important;
751
- border-radius: 4px;
752
-
753
- header {
754
- --dial-background-color: var(--ion-color-secondary) !important;
755
- color: var(--ion-color-secondary-contrast) !important;
756
- }
757
-
758
- ngx-material-timepicker-dial-control {
759
- outline-color: var(--ion-color-accent) !important;
760
- input {
761
- outline-color: inherit !important;
762
- }
763
- }
764
-
728
+ .timepicker {
729
+ .timepicker-header {
730
+ // Change header color to 'secondary'
731
+ --mat-toolbar-container-background-color: var(--ion-color-secondary) !important;
765
732
  }
766
-
767
733
  }
768
734
 
735
+ // --------------------------------------------------
736
+ // Mat chip field
737
+ // --------------------------------------------------
738
+
769
739
  .mat-mdc-form-field-type-mat-chip-grid {
770
740
  .mat-mdc-form-field-infix {
771
741
  --mdc-chip-container-height: 24px !important;