valtech-components 4.0.80 → 4.0.82

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.
@@ -8,13 +8,15 @@ export declare class FeedbackFormComponent implements OnInit {
8
8
  props: FeedbackFormMetadata;
9
9
  onSubmit: EventEmitter<FeedbackSubmitEvent>;
10
10
  onCancel: EventEmitter<void>;
11
+ onError: EventEmitter<unknown>;
11
12
  protected i18n: I18nService;
12
13
  private feedbackService;
14
+ private toast;
15
+ private errors;
13
16
  formProps: FormMetadata;
14
17
  typeOptions: import("../../../services/feedback").FeedbackTypeOption[];
15
18
  isSubmitting: import("@angular/core").WritableSignal<boolean>;
16
- isSuccess: import("@angular/core").WritableSignal<boolean>;
17
- error: import("@angular/core").WritableSignal<string>;
19
+ readonly uploadFn: (file: File) => Promise<string>;
18
20
  private currentAttachments;
19
21
  constructor();
20
22
  ngOnInit(): void;
@@ -22,6 +24,7 @@ export declare class FeedbackFormComponent implements OnInit {
22
24
  handleFormSubmit(submitted: FormSubmit): Promise<void>;
23
25
  onAttachmentsChange(items: AttachmentItem[]): void;
24
26
  onCancelClick(): void;
27
+ tt(key: string): string;
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackFormComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackFormComponent, "val-feedback-form", never, { "props": { "alias": "props"; "required": false; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; }, never, never, true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackFormComponent, "val-feedback-form", never, { "props": { "alias": "props"; "required": false; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; "onError": "onError"; }, never, never, true, never>;
27
30
  }
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.80";
5
+ export declare const VERSION = "4.0.82";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.80",
3
+ "version": "4.0.82",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"