@provoly/dashboard 0.25.3 → 0.25.5

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.
@@ -19,10 +19,10 @@ export declare class PryImportComponent extends SubscriptionnerDirective impleme
19
19
  }[];
20
20
  fileExtension: Record<FileExtension, string>;
21
21
  showMessage: boolean;
22
+ maxDate: string;
22
23
  productionDate: string;
23
24
  producer: string;
24
25
  additionalInformation: string;
25
- maxDate: string;
26
26
  constructor(store: Store, dsService: DataSourceService);
27
27
  ngOnDestroy(): void;
28
28
  uploadedChange($event: File): void;
@@ -31,6 +31,7 @@ export declare class PryImportComponent extends SubscriptionnerDirective impleme
31
31
  getFileSize(size: number): string;
32
32
  onFileTypeChange(fileType: FileExtension): void;
33
33
  getLastActiveVersion($event?: Dataset): void;
34
+ productionDateIsInTheFuture(): boolean;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PryImportComponent, never>;
35
36
  static ɵcmp: i0.ɵɵComponentDeclaration<PryImportComponent, "pry-import", never, {}, {}, never, never, false, never>;
36
37
  }
@@ -1,3 +1,6 @@
1
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
1
2
  export declare class DateUtils {
2
3
  static formatDate(date: Date): string;
4
+ static onlyPastDateValidator(control: AbstractControl): ValidationErrors | null;
5
+ static isInTheFuture(date: Date): boolean;
3
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.25.3",
3
+ "version": "0.25.5",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",