@sumaris-net/ngx-components 1.18.4 → 1.18.7

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.18.4",
4
+ "version": "1.18.7",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -13,6 +13,7 @@ export declare class DateFormatPipe implements PipeTransform {
13
13
  pattern?: string;
14
14
  time?: boolean;
15
15
  seconds?: boolean;
16
- }): string | Promise<string>;
17
- format(date: Moment, displayFormat: any): string;
16
+ }): string;
17
+ format(date: Moment, pattern: any): string;
18
+ parse(value: string, parseFormat: any): Moment;
18
19
  }
@@ -280,13 +280,13 @@ mat-option:not(:last-of-type) {
280
280
 
281
281
  .mat-select-panel {
282
282
  --min-width: 200px;
283
- --max-width: 100%;
283
+ --max-width: calc(min(100%, 100vw - 64px));
284
284
  min-width: var(--min-width) !important;
285
285
  max-width: var(--max-width) !important;
286
286
  }
287
287
  .mat-autocomplete-panel {
288
288
  --min-width: 250px;
289
- --max-width: 100%;
289
+ --max-width: calc(min(100%, 100vw - 64px));
290
290
  min-width: var(--min-width) !important;
291
291
  max-width: var(--max-width) !important;
292
292
  width: var(--max-width) !important;
@@ -316,10 +316,10 @@ mat-option:not(:last-of-type) {
316
316
 
317
317
  .mat-autocomplete-panel-full-size .mat-autocomplete-panel,
318
318
  .mat-autocomplete-panel-full-size.mat-autocomplete-panel {
319
- --min-width: calc(100vw - 5px);
320
- --max-width: calc(100vw - 5px);
319
+ --min-width: calc(100vw - 64px);
320
+ --max-width: calc(100vw - 64px);
321
321
  position: fixed;
322
- left: 0;
322
+ left: 32px;
323
323
  }
324
324
 
325
325
  .mat-select-panel,