@uploadcare/file-uploader 1.25.0-alpha.1 → 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.
@@ -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: boolean;
2020
+ private pauseRender;
2014
2021
  uid: string;
2015
2022
  protected itemName: string;
2016
2023
  protected errorText: string;