valtech-components 4.0.86 → 4.0.88
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/esm2022/lib/components/organisms/attachment-uploader/attachment-uploader.component.mjs +63 -6
- package/esm2022/lib/services/i18n/default-content.mjs +7 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +68 -5
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/attachment-uploader/attachment-uploader.component.d.ts +9 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { I18nService } from '../../../services/i18n';
|
|
2
3
|
import { AttachmentItem, AttachmentUploaderMetadata } from './types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AttachmentUploaderComponent {
|
|
6
|
+
cameraPicker: ElementRef<HTMLInputElement>;
|
|
7
|
+
cameraVideo: ElementRef<HTMLVideoElement>;
|
|
5
8
|
props: import("@angular/core").InputSignal<AttachmentUploaderMetadata>;
|
|
6
9
|
attachmentsChange: import("@angular/core").OutputEmitterRef<AttachmentItem[]>;
|
|
7
10
|
protected i18n: I18nService;
|
|
8
11
|
private feedbackService;
|
|
9
12
|
attachments: import("@angular/core").WritableSignal<AttachmentItem[]>;
|
|
13
|
+
showCameraOverlay: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
private cameraStream;
|
|
10
15
|
maxFiles: import("@angular/core").Signal<number>;
|
|
11
16
|
accept: import("@angular/core").Signal<string>;
|
|
12
17
|
maxReached: import("@angular/core").Signal<boolean>;
|
|
@@ -14,7 +19,11 @@ export declare class AttachmentUploaderComponent {
|
|
|
14
19
|
isUploading: import("@angular/core").Signal<boolean>;
|
|
15
20
|
get readyUrls(): string[];
|
|
16
21
|
constructor();
|
|
22
|
+
openCamera(): Promise<void>;
|
|
23
|
+
capturePhoto(): void;
|
|
24
|
+
closeCamera(): void;
|
|
17
25
|
onFilesSelected(event: Event): Promise<void>;
|
|
26
|
+
private processFiles;
|
|
18
27
|
private compressImage;
|
|
19
28
|
private uploadFile;
|
|
20
29
|
remove(id: string): void;
|
package/lib/version.d.ts
CHANGED