@uploadcare/file-uploader 1.25.0-alpha.2 → 1.25.0-alpha.3
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/dist/env.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +55 -19
- package/dist/index.layered.css +1 -1
- package/dist/index.ssr.js +1 -1
- package/package.json +20 -20
- package/web/file-uploader.iife.min.d.ts +8 -1
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.d.ts +8 -1
- package/web/file-uploader.min.js +3 -3
- package/web/uc-basic.layered.min.css +1 -1
- package/web/uc-basic.min.css +1 -1
- package/web/uc-cloud-image-editor.layered.min.css +1 -1
- package/web/uc-cloud-image-editor.min.css +1 -1
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.layered.min.css +1 -1
- package/web/uc-file-uploader-inline.min.css +1 -1
- package/web/uc-file-uploader-inline.min.d.ts +8 -1
- package/web/uc-file-uploader-inline.min.js +3 -3
- package/web/uc-file-uploader-minimal.layered.min.css +1 -1
- package/web/uc-file-uploader-minimal.min.css +1 -1
- package/web/uc-file-uploader-minimal.min.d.ts +8 -1
- package/web/uc-file-uploader-minimal.min.js +3 -3
- package/web/uc-file-uploader-regular.layered.min.css +1 -1
- package/web/uc-file-uploader-regular.min.css +1 -1
- package/web/uc-file-uploader-regular.min.d.ts +8 -1
- package/web/uc-file-uploader-regular.min.js +3 -3
- package/web/uc-img.min.js +1 -1
|
@@ -265,6 +265,9 @@ declare class CameraSource extends LitUploaderBlock {
|
|
|
265
265
|
private _cameraDevices;
|
|
266
266
|
private _audioDevices;
|
|
267
267
|
private _permissionResponses;
|
|
268
|
+
private _permissionCleanupFns;
|
|
269
|
+
private readonly _handlePreviewPlay;
|
|
270
|
+
private readonly _handlePreviewPause;
|
|
268
271
|
private timerRef;
|
|
269
272
|
private lineRef;
|
|
270
273
|
private videoRef;
|
|
@@ -317,6 +320,8 @@ declare class CameraSource extends LitUploaderBlock {
|
|
|
317
320
|
* Previewing the video that was recorded on the camera
|
|
318
321
|
*/
|
|
319
322
|
private _previewVideo;
|
|
323
|
+
private _attachPreviewListeners;
|
|
324
|
+
private _detachPreviewListeners;
|
|
320
325
|
_retake: () => void;
|
|
321
326
|
_accept: () => void;
|
|
322
327
|
_handlePhoto: (status: CameraStatus) => void;
|
|
@@ -337,6 +342,7 @@ declare class CameraSource extends LitUploaderBlock {
|
|
|
337
342
|
_capture: () => Promise<void>;
|
|
338
343
|
_handlePermissionsChange: () => void;
|
|
339
344
|
_permissionAccess: () => Promise<void>;
|
|
345
|
+
private _teardownPermissionListeners;
|
|
340
346
|
_getPermission: () => void;
|
|
341
347
|
_requestDeviceAccess: () => Promise<void>;
|
|
342
348
|
_getDevices: () => Promise<void>;
|
|
@@ -1139,6 +1145,7 @@ declare class ExternalSource extends LitUploaderBlock {
|
|
|
1139
1145
|
private mountIframe;
|
|
1140
1146
|
private unmountIframe;
|
|
1141
1147
|
private resetSelectionStatus;
|
|
1148
|
+
disconnectedCallback(): void;
|
|
1142
1149
|
render(): lit_html.TemplateResult<1>;
|
|
1143
1150
|
}
|
|
1144
1151
|
|
|
@@ -2010,7 +2017,7 @@ declare class FileItemConfig extends LitUploaderBlock {
|
|
|
2010
2017
|
|
|
2011
2018
|
declare class FileItem extends FileItemConfig {
|
|
2012
2019
|
couldBeCtxOwner: boolean;
|
|
2013
|
-
pauseRender
|
|
2020
|
+
private pauseRender;
|
|
2014
2021
|
uid: string;
|
|
2015
2022
|
protected itemName: string;
|
|
2016
2023
|
protected errorText: string;
|