@fovestta2/web-angular 1.0.24 → 1.0.26

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.
@@ -24,7 +24,7 @@ export interface FormColumn {
24
24
  }[];
25
25
  validations?: FieldValidation[];
26
26
  value?: any;
27
- disabled?: boolean;
27
+ disabled?: boolean | ((formGroup: FormGroup) => boolean);
28
28
  className?: string;
29
29
  hidden?: boolean;
30
30
  hint?: string;
@@ -88,6 +88,7 @@ export declare class AddUpdateFormComponent implements OnInit, OnDestroy, AfterV
88
88
  removeSectionItem(section: FormSection, index: number): void;
89
89
  isControlInvalid(control: AbstractControl | null): boolean;
90
90
  getErrorMessageForControl(column: FormColumn, control: AbstractControl | null): string;
91
+ isFieldDisabled(column: FormColumn, group: AbstractControl): boolean;
91
92
  initializeForm(): void;
92
93
  ngOnDestroy(): void;
93
94
  handleFieldChange(fieldName: string, eventValue?: any, control?: AbstractControl): void;
@@ -24,8 +24,10 @@ export declare class FvDocumentFieldComponent implements OnInit, OnDestroy, OnCh
24
24
  showPreview: boolean;
25
25
  previewUrl: SafeUrl | null;
26
26
  private subscription?;
27
+ fileInfo: FileInfo | null;
27
28
  constructor(sanitizer: DomSanitizer);
28
29
  ngOnInit(): void;
30
+ private handleValue;
29
31
  ngOnDestroy(): void;
30
32
  ngOnChanges(changes: SimpleChanges): void;
31
33
  private validateValue;
@@ -23,6 +23,7 @@ export declare class FvFileSelectorComponent implements OnInit, OnDestroy, OnCha
23
23
  selectedFile: FileInfo | null;
24
24
  private subscription?;
25
25
  ngOnInit(): void;
26
+ private handleValue;
26
27
  ngOnDestroy(): void;
27
28
  ngOnChanges(changes: SimpleChanges): void;
28
29
  private validateValue;
@@ -39,6 +39,7 @@ export declare class FvImageSelectorComponent implements OnInit, OnDestroy {
39
39
  startY: number;
40
40
  constructor(sanitizer: DomSanitizer);
41
41
  ngOnInit(): void;
42
+ private handleValue;
42
43
  ngOnDestroy(): void;
43
44
  private validateValue;
44
45
  onImageSelected(event: Event): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fovestta2/web-angular",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "Angular UI controls for Fovestta",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.0.0",