@uploadcare/file-uploader 1.4.1-alpha.2 → 1.5.1

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.
Files changed (148) hide show
  1. package/abstract/ActivityBlock.d.ts +14 -3
  2. package/abstract/ActivityBlock.d.ts.map +1 -1
  3. package/abstract/ActivityBlock.js +19 -6
  4. package/abstract/Block.d.ts +3 -3
  5. package/abstract/Block.d.ts.map +1 -1
  6. package/abstract/Block.js +2 -0
  7. package/abstract/CTX.d.ts +0 -1
  8. package/abstract/CTX.d.ts.map +1 -1
  9. package/abstract/CTX.js +0 -1
  10. package/abstract/SolutionBlock.d.ts +0 -1
  11. package/abstract/SolutionBlock.d.ts.map +1 -1
  12. package/abstract/UploaderBlock.d.ts +0 -1
  13. package/abstract/UploaderBlock.d.ts.map +1 -1
  14. package/abstract/UploaderBlock.js +3 -1
  15. package/abstract/UploaderPublicApi.d.ts +11 -3
  16. package/abstract/UploaderPublicApi.d.ts.map +1 -1
  17. package/abstract/UploaderPublicApi.js +27 -31
  18. package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts.map +1 -1
  19. package/blocks/CloudImageEditor/src/EditorButtonControl.js +2 -1
  20. package/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts.map +1 -1
  21. package/blocks/CloudImageEditor/src/EditorCropButtonControl.js +6 -1
  22. package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts.map +1 -1
  23. package/blocks/CloudImageEditor/src/EditorFilterControl.js +7 -1
  24. package/blocks/CloudImageEditor/src/EditorOperationControl.d.ts.map +1 -1
  25. package/blocks/CloudImageEditor/src/EditorOperationControl.js +5 -0
  26. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +5 -0
  27. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts.map +1 -1
  28. package/blocks/CloudImageEditor/src/EditorToolbar.js +11 -5
  29. package/blocks/CloudImageEditor/src/css/common.css +11 -0
  30. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +1 -0
  31. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts.map +1 -1
  32. package/blocks/CloudImageEditor/src/elements/button/BtnUi.js +6 -1
  33. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts.map +1 -1
  34. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.js +1 -0
  35. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +16 -21
  36. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +1 -1
  37. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.js +34 -25
  38. package/blocks/Config/Config.d.ts +1 -1
  39. package/blocks/DropArea/DropArea.d.ts +0 -1
  40. package/blocks/DropArea/DropArea.d.ts.map +1 -1
  41. package/blocks/ExternalSource/ExternalSource.d.ts +2 -1
  42. package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
  43. package/blocks/ExternalSource/ExternalSource.js +9 -0
  44. package/blocks/FileItem/FileItem.d.ts +2 -3
  45. package/blocks/FileItem/FileItem.d.ts.map +1 -1
  46. package/blocks/FileItem/FileItem.js +4 -8
  47. package/blocks/Modal/Modal.d.ts.map +1 -1
  48. package/blocks/Modal/Modal.js +2 -0
  49. package/blocks/SimpleBtn/SimpleBtn.d.ts +0 -1
  50. package/blocks/SimpleBtn/SimpleBtn.d.ts.map +1 -1
  51. package/blocks/SourceBtn/SourceBtn.d.ts +0 -1
  52. package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
  53. package/blocks/UploadCtxProvider/EventEmitter.d.ts +1 -1
  54. package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +2 -2
  55. package/blocks/UploadList/UploadList.d.ts +0 -1
  56. package/blocks/UploadList/UploadList.d.ts.map +1 -1
  57. package/blocks/UploadList/UploadList.js +6 -1
  58. package/blocks/themes/uc-basic/index.css +3 -0
  59. package/blocks/themes/uc-basic/post-reset.css +3 -0
  60. package/env.d.ts +1 -1
  61. package/env.js +1 -1
  62. package/index.ssr.d.ts +1 -17
  63. package/index.ssr.d.ts.map +1 -1
  64. package/index.ssr.js +19 -29
  65. package/locales/file-uploader/ar.d.ts +9 -0
  66. package/locales/file-uploader/ar.js +11 -2
  67. package/locales/file-uploader/az.d.ts +9 -0
  68. package/locales/file-uploader/az.js +11 -2
  69. package/locales/file-uploader/ca.d.ts +9 -0
  70. package/locales/file-uploader/ca.js +11 -2
  71. package/locales/file-uploader/cs.d.ts +9 -0
  72. package/locales/file-uploader/cs.js +11 -2
  73. package/locales/file-uploader/da.d.ts +9 -0
  74. package/locales/file-uploader/da.js +11 -2
  75. package/locales/file-uploader/de.d.ts +9 -0
  76. package/locales/file-uploader/de.js +11 -2
  77. package/locales/file-uploader/el.d.ts +9 -0
  78. package/locales/file-uploader/el.js +11 -2
  79. package/locales/file-uploader/en.d.ts +9 -0
  80. package/locales/file-uploader/en.js +11 -2
  81. package/locales/file-uploader/es.d.ts +9 -0
  82. package/locales/file-uploader/es.js +11 -2
  83. package/locales/file-uploader/et.d.ts +9 -0
  84. package/locales/file-uploader/et.js +11 -2
  85. package/locales/file-uploader/fr.d.ts +9 -0
  86. package/locales/file-uploader/fr.js +11 -2
  87. package/locales/file-uploader/he.d.ts +9 -0
  88. package/locales/file-uploader/he.js +11 -2
  89. package/locales/file-uploader/hy.d.ts +9 -0
  90. package/locales/file-uploader/hy.js +11 -2
  91. package/locales/file-uploader/is.d.ts +9 -0
  92. package/locales/file-uploader/is.js +11 -2
  93. package/locales/file-uploader/it.d.ts +9 -0
  94. package/locales/file-uploader/it.js +11 -2
  95. package/locales/file-uploader/ja.d.ts +9 -0
  96. package/locales/file-uploader/ja.js +11 -2
  97. package/locales/file-uploader/ka.d.ts +9 -0
  98. package/locales/file-uploader/ka.js +11 -2
  99. package/locales/file-uploader/kk.d.ts +9 -0
  100. package/locales/file-uploader/kk.js +11 -2
  101. package/locales/file-uploader/ko.d.ts +9 -0
  102. package/locales/file-uploader/ko.js +11 -2
  103. package/locales/file-uploader/lv.d.ts +9 -0
  104. package/locales/file-uploader/lv.js +11 -2
  105. package/locales/file-uploader/nb.d.ts +9 -0
  106. package/locales/file-uploader/nb.js +11 -2
  107. package/locales/file-uploader/nl.d.ts +9 -0
  108. package/locales/file-uploader/nl.js +11 -2
  109. package/locales/file-uploader/pl.d.ts +9 -0
  110. package/locales/file-uploader/pl.js +11 -2
  111. package/locales/file-uploader/pt.d.ts +9 -0
  112. package/locales/file-uploader/pt.js +11 -2
  113. package/locales/file-uploader/ro.d.ts +9 -0
  114. package/locales/file-uploader/ro.js +11 -2
  115. package/locales/file-uploader/ru.d.ts +9 -0
  116. package/locales/file-uploader/ru.js +11 -2
  117. package/locales/file-uploader/sk.d.ts +9 -0
  118. package/locales/file-uploader/sk.js +11 -2
  119. package/locales/file-uploader/sr.d.ts +9 -0
  120. package/locales/file-uploader/sr.js +11 -2
  121. package/locales/file-uploader/sv.d.ts +9 -0
  122. package/locales/file-uploader/sv.js +11 -2
  123. package/locales/file-uploader/tr.d.ts +9 -0
  124. package/locales/file-uploader/tr.js +11 -2
  125. package/locales/file-uploader/uk.d.ts +9 -0
  126. package/locales/file-uploader/uk.js +11 -2
  127. package/locales/file-uploader/vi.d.ts +9 -0
  128. package/locales/file-uploader/vi.js +11 -2
  129. package/locales/file-uploader/zh-TW.d.ts +9 -0
  130. package/locales/file-uploader/zh-TW.js +11 -2
  131. package/locales/file-uploader/zh.d.ts +9 -0
  132. package/locales/file-uploader/zh.js +11 -2
  133. package/package.json +1 -1
  134. package/solutions/file-uploader/inline/FileUploaderInline.d.ts +0 -1
  135. package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +1 -1
  136. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +1 -2
  137. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
  138. package/web/file-uploader.iife.min.js +4 -4
  139. package/web/file-uploader.min.js +1 -1
  140. package/web/uc-basic.min.css +1 -1
  141. package/web/uc-cloud-image-editor.min.css +1 -1
  142. package/web/uc-cloud-image-editor.min.js +3 -3
  143. package/web/uc-file-uploader-inline.min.css +1 -1
  144. package/web/uc-file-uploader-inline.min.js +1 -1
  145. package/web/uc-file-uploader-minimal.min.js +3 -3
  146. package/web/uc-file-uploader-regular.min.css +1 -1
  147. package/web/uc-file-uploader-regular.min.js +1 -1
  148. package/web/uc-img.min.js +1 -1
@@ -3,17 +3,31 @@ import { ActivityBlock } from '../../abstract/ActivityBlock.js';
3
3
  import { UploaderBlock } from '../../abstract/UploaderBlock.js';
4
4
  import { CloudImageEditorBlock } from '../CloudImageEditor/index.js';
5
5
 
6
+ /** @typedef {{ internalId: string }} ActivityParams */
7
+
6
8
  export class CloudImageEditorActivity extends UploaderBlock {
7
9
  couldBeCtxOwner = true;
8
10
  activityType = ActivityBlock.activities.CLOUD_IMG_EDIT;
9
11
 
10
- constructor() {
11
- super();
12
-
13
- this.init$ = {
14
- ...this.init$,
15
- cdnUrl: null,
16
- };
12
+ /**
13
+ * @private
14
+ * @type {import('../../abstract/TypedData.js').TypedData | undefined}
15
+ */
16
+ _entry;
17
+
18
+ /**
19
+ * @private
20
+ * @type {CloudImageEditorBlock | undefined}
21
+ */
22
+ _instance;
23
+
24
+ /** @type {ActivityParams} */
25
+ get activityParams() {
26
+ const params = super.activityParams;
27
+ if ('internalId' in params) {
28
+ return params;
29
+ }
30
+ throw new Error(`Cloud Image Editor activity params not found`);
17
31
  }
18
32
 
19
33
  initCallback() {
@@ -24,19 +38,6 @@ export class CloudImageEditorActivity extends UploaderBlock {
24
38
  onDeactivate: () => this.unmountEditor(),
25
39
  });
26
40
 
27
- this.sub('*focusedEntry', (/** @type {import('../../abstract/TypedData.js').TypedData} */ entry) => {
28
- if (!entry) {
29
- return;
30
- }
31
- this.entry = entry;
32
-
33
- this.entry.subscribe('cdnUrl', (cdnUrl) => {
34
- if (cdnUrl) {
35
- this.$.cdnUrl = cdnUrl;
36
- }
37
- });
38
- });
39
-
40
41
  this.subConfigValue('cropPreset', (cropPreset) => {
41
42
  if (this._instance && this._instance.getAttribute('crop-preset') !== cropPreset) {
42
43
  this._instance.setAttribute('crop-preset', cropPreset);
@@ -52,11 +53,11 @@ export class CloudImageEditorActivity extends UploaderBlock {
52
53
 
53
54
  /** @param {CustomEvent<import('../CloudImageEditor/src/types.js').ApplyResult>} e */
54
55
  handleApply(e) {
55
- if (!this.entry) {
56
+ if (!this._entry) {
56
57
  return;
57
58
  }
58
59
  let result = e.detail;
59
- this.entry.setMultipleValues({
60
+ this._entry.setMultipleValues({
60
61
  cdnUrl: result.cdnUrl,
61
62
  cdnUrlModifiers: result.cdnUrlModifiers,
62
63
  });
@@ -68,8 +69,17 @@ export class CloudImageEditorActivity extends UploaderBlock {
68
69
  }
69
70
 
70
71
  mountEditor() {
72
+ const { internalId } = this.activityParams;
73
+ this._entry = this.uploadCollection.read(internalId);
74
+ if (!this._entry) {
75
+ throw new Error(`Entry with internalId "${internalId}" not found`);
76
+ }
77
+ const cdnUrl = this._entry.getValue('cdnUrl');
78
+ if (!cdnUrl) {
79
+ throw new Error(`Entry with internalId "${internalId}" hasn't uploaded yet`);
80
+ }
81
+
71
82
  const instance = new CloudImageEditorBlock();
72
- const cdnUrl = this.$.cdnUrl;
73
83
  const cropPreset = this.cfg.cropPreset;
74
84
  const tabs = this.cfg.cloudImageEditorTabs;
75
85
 
@@ -100,14 +110,13 @@ export class CloudImageEditorActivity extends UploaderBlock {
100
110
 
101
111
  this.innerHTML = '';
102
112
  this.appendChild(instance);
103
- this._mounted = true;
104
113
 
105
- /** @private */
106
114
  this._instance = instance;
107
115
  }
108
116
 
109
117
  unmountEditor() {
110
118
  this._instance = undefined;
119
+ this._entry = undefined;
111
120
  this.innerHTML = '';
112
121
  }
113
122
  }
@@ -62,6 +62,6 @@ declare class ConfigClass extends Block {
62
62
  }
63
63
  import { Block } from '../../abstract/Block.js';
64
64
  /** Mapping of attribute names to state */
65
- declare const attrStateMapping: Record<"multiple" | "pubkey" | "accept" | "store" | "debug" | "secure-expire" | "crop-preset" | "multiple-min" | "multiple-max" | "confirm-upload" | "img-only" | "external-sources-preferred-types" | "camera-mirror" | "camera-capture" | "source-list" | "max-local-file-size-bytes" | "thumb-size" | "show-empty-list" | "use-local-image-editor" | "use-cloud-image-editor" | "cloud-image-editor-tabs" | "remove-copyright" | "image-shrink" | "modal-scroll-lock" | "modal-backdrop-strokes" | "source-list-wrap" | "remote-tab-session-key" | "cdn-cname" | "base-url" | "social-base-url" | "secure-signature" | "secure-delivery-proxy" | "retry-throttled-request-max-times" | "multipart-min-file-size" | "multipart-chunk-size" | "max-concurrent-requests" | "multipart-max-concurrent-requests" | "multipart-max-attempts" | "check-for-url-duplicates" | "save-url-for-recurrent-uploads" | "group-output" | "user-agent-integration" | "locale-name" | "secure-uploads-expire-threshold" | "secureexpire" | "croppreset" | "multiplemin" | "multiplemax" | "confirmupload" | "imgonly" | "externalsourcespreferredtypes" | "cameramirror" | "cameracapture" | "sourcelist" | "maxlocalfilesizebytes" | "thumbsize" | "showemptylist" | "uselocalimageeditor" | "usecloudimageeditor" | "cloudimageeditortabs" | "removecopyright" | "imageshrink" | "modalscrolllock" | "modalbackdropstrokes" | "sourcelistwrap" | "remotetabsessionkey" | "cdncname" | "baseurl" | "socialbaseurl" | "securesignature" | "securedeliveryproxy" | "retrythrottledrequestmaxtimes" | "multipartminfilesize" | "multipartchunksize" | "maxconcurrentrequests" | "multipartmaxconcurrentrequests" | "multipartmaxattempts" | "checkforurlduplicates" | "saveurlforrecurrentuploads" | "groupoutput" | "useragentintegration" | "localename" | "secureuploadsexpirethreshold", string>;
65
+ declare const attrStateMapping: Record<"pubkey" | "multiple" | "accept" | "store" | "debug" | "crop-preset" | "secure-expire" | "max-local-file-size-bytes" | "multiple-min" | "multiple-max" | "confirm-upload" | "img-only" | "external-sources-preferred-types" | "camera-mirror" | "camera-capture" | "source-list" | "thumb-size" | "show-empty-list" | "use-local-image-editor" | "use-cloud-image-editor" | "cloud-image-editor-tabs" | "remove-copyright" | "image-shrink" | "modal-scroll-lock" | "modal-backdrop-strokes" | "source-list-wrap" | "remote-tab-session-key" | "cdn-cname" | "base-url" | "social-base-url" | "secure-signature" | "secure-delivery-proxy" | "retry-throttled-request-max-times" | "multipart-min-file-size" | "multipart-chunk-size" | "max-concurrent-requests" | "multipart-max-concurrent-requests" | "multipart-max-attempts" | "check-for-url-duplicates" | "save-url-for-recurrent-uploads" | "group-output" | "user-agent-integration" | "locale-name" | "secure-uploads-expire-threshold" | "secureexpire" | "croppreset" | "maxlocalfilesizebytes" | "multiplemin" | "multiplemax" | "confirmupload" | "imgonly" | "externalsourcespreferredtypes" | "cameramirror" | "cameracapture" | "sourcelist" | "thumbsize" | "showemptylist" | "uselocalimageeditor" | "usecloudimageeditor" | "cloudimageeditortabs" | "removecopyright" | "imageshrink" | "modalscrolllock" | "modalbackdropstrokes" | "sourcelistwrap" | "remotetabsessionkey" | "cdncname" | "baseurl" | "socialbaseurl" | "securesignature" | "securedeliveryproxy" | "retrythrottledrequestmaxtimes" | "multipartminfilesize" | "multipartchunksize" | "maxconcurrentrequests" | "multipartmaxconcurrentrequests" | "multipartmaxattempts" | "checkforurlduplicates" | "saveurlforrecurrentuploads" | "groupoutput" | "useragentintegration" | "localename" | "secureuploadsexpirethreshold", string>;
66
66
  export {};
67
67
  //# sourceMappingURL=Config.d.ts.map
@@ -10,7 +10,6 @@ export class DropArea extends UploaderBlock {
10
10
  "uc-drop-area/registry": null;
11
11
  '*commonProgress': number;
12
12
  '*uploadList': never[];
13
- '*focusedEntry': null;
14
13
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
15
14
  '*collectionErrors': any[];
16
15
  '*collectionState': import("../../index.js").OutputCollectionState<import("../../index.js").OutputCollectionStatus, "maybe-has-group"> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"DropArea.d.ts","sourceRoot":"","sources":["DropArea.js"],"names":[],"mappings":"AAaA;IAKI;;;;;;;;;;;;;;;;;;;;;;;MAUC;IAGH,oBAgBC;IAgDC,eAAe;IACf,yBA2BE;IAIA,yDAWE;IA6BF;;;OAGG;IACH,uBASC;IAOL;;;;;OAKG;IACH,sBAeC;IAED,eAAe;IACf,0BAcC;CAqBF;;;;8BAlP6B,iCAAiC"}
1
+ {"version":3,"file":"DropArea.d.ts","sourceRoot":"","sources":["DropArea.js"],"names":[],"mappings":"AAaA;IAKI;;;;;;;;;;;;;;;;;;;;;;MAUC;IAGH,oBAgBC;IAgDC,eAAe;IACf,yBA2BE;IAIA,yDAWE;IA6BF;;;OAGG;IACH,uBASC;IAOL;;;;;OAKG;IACH,sBAeC;IAED,eAAe;IACf,0BAcC;CAqBF;;;;8BAlP6B,iCAAiC"}
@@ -27,7 +27,6 @@ export class ExternalSource extends UploaderBlock {
27
27
  onCancel: () => void;
28
28
  '*commonProgress': number;
29
29
  '*uploadList': never[];
30
- '*focusedEntry': null;
31
30
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
32
31
  '*collectionErrors': any[];
33
32
  '*collectionState': import("../../index.js").OutputCollectionState<import("../../index.js").OutputCollectionStatus, "maybe-has-group"> | null;
@@ -40,6 +39,8 @@ export class ExternalSource extends UploaderBlock {
40
39
  '*historyBack': null;
41
40
  '*closeModal': () => void;
42
41
  };
42
+ /** @type {ActivityParams} */
43
+ get activityParams(): ActivityParams;
43
44
  /**
44
45
  * @private
45
46
  * @type {HTMLIFrameElement | null}
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalSource.d.ts","sourceRoot":"","sources":["ExternalSource.js"],"names":[],"mappings":"AAWA,+DAA+D;AAE/D;;;;;;;;GAQG;AAEH;;;;;GAKG;AAEH,+DAA+D;AAE/D;IAEE,yBAAiD;IAK/C;;;;;;;;;;;;;;;;;;;;;;MAoBC;IAGH;;;OAGG;IACH,gBAAe;IA2Cf;;;OAGG;IACH,8BAcC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,2BAUC;IAED,eAAe;IACf,yBAEC;IAED;;;OAGG;IACH,oBAGC;IAED,eAAe;IACf,oB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S,EAAE,MAAM,CAAC;CACf;sBAGU,mBAAmB,GAAG,eAAe;8BA1BrB,iCAAiC"}
@@ -60,6 +60,15 @@ export class ExternalSource extends UploaderBlock {
60
60
  };
61
61
  }
62
62
 
63
+ /** @type {ActivityParams} */
64
+ get activityParams() {
65
+ const params = super.activityParams;
66
+ if ('externalSourceType' in params) {
67
+ return params;
68
+ }
69
+ throw new Error(`External Source activity params not found`);
70
+ }
71
+
63
72
  /**
64
73
  * @private
65
74
  * @type {HTMLIFrameElement | null}
@@ -33,12 +33,11 @@ export class FileItem extends UploaderBlock {
33
33
  onUpload: () => void;
34
34
  '*commonProgress': number;
35
35
  '*uploadList': never[];
36
- '*focusedEntry': null;
37
36
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
38
37
  '*collectionErrors': any[];
39
- '*collectionState': import("../../index.js").OutputCollectionState<import("../../index.js").OutputCollectionStatus, "maybe-has-group"> | null;
38
+ '*collectionState': import("../../index.js").OutputCollectionState<import("../../index.js").OutputCollectionStatus, "maybe-has-group"> | null; /** @private */
40
39
  '*groupInfo': import("@uploadcare/upload-client").UploadcareGroup | null;
41
- '*uploadTrigger': Set<string>; /** @private */
40
+ '*uploadTrigger': Set<string>;
42
41
  '*secureUploadsManager': import("../../abstract/SecureUploadsManager.js").SecureUploadsManager | null;
43
42
  '*currentActivity': null;
44
43
  '*currentActivityParams': {};
@@ -1 +1 @@
1
- {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["FileItem.js"],"names":[],"mappings":"AAkBA;IAIE,eAAe;IACf,mBAAuB;IACvB;;;OAGG;IACH,eAAc;IACd,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gCAA4E;IAC5E,eAAe;IACf,iCAA0E;IAE1E,eAAe;IACf,sBAAsB;IAKpB;;;;;;;;;;;;;;;;;;;;;;;;uCAXF,eAAe;;;;;;;MA0CZ;IAGH,eASC;IAED;;;OAGG;IACH,0BAaC;IAED,eAAe;IACf,wBAgBC;IAED,eAAe;IACf,2BAsCC;IAED;;;;OAIG;IACH,kBAUC;IAED;;;OAGG;IACH,uBAkDC;IAsCD,wEAAwE;IACxE,oBADY,CAAC,oBAAoB,CAAC,CAAC,MAAM,oBAAoB,CAAC,QAsB7D;IAaC,eAAe;IACf,kBAEE;IAWJ;;;MAEC;IAED;;;OAGG;IACH,uBAEC;IAED,wBAqFC;CACF;;;;;8BAla6B,iCAAiC;AAO/D;;;;;GAKG"}
1
+ {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["FileItem.js"],"names":[],"mappings":"AAkBA;IAIE,eAAe;IACf,mBAAuB;IACvB;;;OAGG;IACH,eAAc;IACd,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gCAA4E;IAC5E,eAAe;IACf,iCAA0E;IAE1E,eAAe;IACf,sBAAsB;IAKpB;;;;;;;;;;;;;;;;;;;;;uJApBF,eAAe;;;;;;;;;MA+CZ;IAGH,eASC;IAED;;;OAGG;IACH,0BAaC;IAED,eAAe;IACf,wBAgBC;IAED,eAAe;IACf,2BAsCC;IAED;;;;OAIG;IACH,kBAUC;IAED;;;OAGG;IACH,uBAkDC;IAsCD,wEAAwE;IACxE,oBADY,CAAC,oBAAoB,CAAC,CAAC,MAAM,oBAAoB,CAAC,QAsB7D;IAaC,eAAe;IACf,kBAEE;IAWJ;;;MAEC;IAED;;;OAGG;IACH,uBAEC;IAED,wBAqFC;CACF;;;;;8BA9Z6B,iCAAiC;AAO/D;;;;;GAKG"}
@@ -56,14 +56,10 @@ export class FileItem extends UploaderBlock {
56
56
  isEditable: false,
57
57
  state: FileItemState.IDLE,
58
58
  onEdit: () => {
59
- this.set$({
60
- '*focusedEntry': this._entry,
61
- });
62
- if (this.hasBlockInCtx((b) => b.activityType === ActivityBlock.activities.DETAILS)) {
63
- this.$['*currentActivity'] = ActivityBlock.activities.DETAILS;
64
- } else {
65
- this.$['*currentActivity'] = ActivityBlock.activities.CLOUD_IMG_EDIT;
66
- }
59
+ this.$['*currentActivityParams'] = {
60
+ internalId: this._entry.uid,
61
+ };
62
+ this.$['*currentActivity'] = ActivityBlock.activities.CLOUD_IMG_EDIT;
67
63
  },
68
64
  onRemove: () => {
69
65
  this.uploadCollection.remove(this.$.uid);
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["Modal.js"],"names":[],"mappings":"AAGA;IAEE,kCAAoC;IAIlC;;;;MAKC;IAGH,iCAEE;IAEF,yBAEE;IAEF,+BAEE;IAEF,uBAAuB;IACvB,4BADY,KAAK,UAIf;IAFA,eAAe;IACf,yBAAgC;IAGlC,uBAAuB;IACvB,0BADY,KAAK,UAKf;IAEF,aAMC;IAED,aAMC;CAqDF;;;;sBA5GqB,yBAAyB"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["Modal.js"],"names":[],"mappings":"AAGA;IAEE,kCAAoC;IAIlC;;;;MAKC;IAGH,iCAEE;IAEF,yBAEE;IAEF,+BAEE;IAEF,uBAAuB;IACvB,4BADY,KAAK,UAIf;IAFA,eAAe;IACf,yBAAgC;IAGlC,uBAAuB;IACvB,0BADY,KAAK,UAKf;IAEF,aAMC;IAED,aAMC;CAuDF;;;;sBA9GqB,yBAAyB"}
@@ -93,8 +93,10 @@ export class Modal extends Block {
93
93
  this.sub('isOpen', (isOpen) => {
94
94
  if (isOpen) {
95
95
  this.show();
96
+ this.setAttribute('aria-modal', 'true');
96
97
  } else {
97
98
  this.hide();
99
+ this.setAttribute('aria-modal', 'false');
98
100
  }
99
101
  });
100
102
  }
@@ -5,7 +5,6 @@ export class SimpleBtn extends UploaderBlock {
5
5
  'button-text': string;
6
6
  '*commonProgress': number;
7
7
  '*uploadList': never[];
8
- '*focusedEntry': null;
9
8
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
10
9
  '*collectionErrors': any[];
11
10
  '*collectionState': import("../../index.js").OutputCollectionState<import("../../index.js").OutputCollectionStatus, "maybe-has-group"> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleBtn.d.ts","sourceRoot":"","sources":["SimpleBtn.js"],"names":[],"mappings":"AAIA;IAMI;;;;;;;;;;;;;;;;;;MAOC;CAoBJ;;;;8BApC6B,iCAAiC"}
1
+ {"version":3,"file":"SimpleBtn.d.ts","sourceRoot":"","sources":["SimpleBtn.js"],"names":[],"mappings":"AAIA;IAMI;;;;;;;;;;;;;;;;;MAOC;CAoBJ;;;;8BApC6B,iCAAiC"}
@@ -21,7 +21,6 @@ export class SourceBtn extends UploaderBlock {
21
21
  'src-type': string;
22
22
  '*commonProgress': number;
23
23
  '*uploadList': never[];
24
- '*focusedEntry': null;
25
24
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
26
25
  '*collectionErrors': any[];
27
26
  '*collectionState': import("../../index.js").OutputCollectionState<import("../../index.js").OutputCollectionStatus, "maybe-has-group"> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"SourceBtn.d.ts","sourceRoot":"","sources":["SourceBtn.js"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AAEH;IAEE,iCAAiC;IACjC,MADW,MAAM,GAAG,SAAS,CACZ;IACjB;;;OAGG;IACH,yBAAsB;IAKpB;;;;;;;;;;;;;;;;;MAIC;IAGH,kBAuCC;IAkBD,kCAAkC;IAClC,yBADY,OAAO,QAGlB;IAED,2BAA2B;IAC3B,cADY,MAAM,WAGjB;IAED,iBAYC;IAED,2BAA2B;IAC3B,gBADY,MAAM,QAcjB;CACF;;;;sBA9HY;IACZ,IAAQ,EAAE,MAAM,CAAC;IACjB,QAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAY,CAAC,EAAE,MAAM,OAAO,CAAC;IAC7B,cAAkB,CAAC,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C;8BAb0B,iCAAiC"}
1
+ {"version":3,"file":"SourceBtn.d.ts","sourceRoot":"","sources":["SourceBtn.js"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AAEH;IAEE,iCAAiC;IACjC,MADW,MAAM,GAAG,SAAS,CACZ;IACjB;;;OAGG;IACH,yBAAsB;IAKpB;;;;;;;;;;;;;;;;MAIC;IAGH,kBAuCC;IAkBD,kCAAkC;IAClC,yBADY,OAAO,QAGlB;IAED,2BAA2B;IAC3B,cADY,MAAM,WAGjB;IAED,iBAYC;IAED,2BAA2B;IAC3B,gBADY,MAAM,QAcjB;CACF;;;;sBA9HY;IACZ,IAAQ,EAAE,MAAM,CAAC;IACjB,QAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAY,CAAC,EAAE,MAAM,OAAO,CAAC;IAC7B,cAAkB,CAAC,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C;8BAb0B,iCAAiC"}
@@ -78,7 +78,7 @@ export class EventEmitter {
78
78
  * @param {TDebounce extends false | undefined ? unknown : () => unknown} [payload]
79
79
  * @param {{ debounce?: TDebounce }} [options]
80
80
  */
81
- emit<T extends "change" | "file-added" | "file-removed" | "file-upload-start" | "file-upload-progress" | "file-upload-success" | "file-upload-failed" | "file-url-changed" | "modal-open" | "modal-close" | "done-click" | "upload-click" | "activity-change" | "common-upload-start" | "common-upload-progress" | "common-upload-success" | "common-upload-failed" | "group-created", TDebounce extends number | boolean | undefined>(type: T, payload?: (TDebounce extends false | undefined ? unknown : () => unknown) | undefined, { debounce }?: {
81
+ emit<T extends "file-added" | "file-removed" | "file-upload-start" | "file-upload-progress" | "file-upload-success" | "file-upload-failed" | "file-url-changed" | "modal-open" | "modal-close" | "done-click" | "upload-click" | "activity-change" | "common-upload-start" | "common-upload-progress" | "common-upload-success" | "common-upload-failed" | "change" | "group-created", TDebounce extends number | boolean | undefined>(type: T, payload?: (TDebounce extends false | undefined ? unknown : () => unknown) | undefined, { debounce }?: {
82
82
  debounce?: TDebounce | undefined;
83
83
  } | undefined): void;
84
84
  }
@@ -1,6 +1,6 @@
1
1
  export type UploadCtxProvider = (new () => {
2
- addEventListener<T extends "change" | "file-added" | "file-removed" | "file-upload-start" | "file-upload-progress" | "file-upload-success" | "file-upload-failed" | "file-url-changed" | "modal-open" | "modal-close" | "done-click" | "upload-click" | "activity-change" | "common-upload-start" | "common-upload-progress" | "common-upload-success" | "common-upload-failed" | "group-created">(type: T, listener: (e: CustomEvent<import("./EventEmitter.js").EventPayload[T]>) => void, options?: boolean | AddEventListenerOptions): void;
3
- removeEventListener<T_1 extends "change" | "file-added" | "file-removed" | "file-upload-start" | "file-upload-progress" | "file-upload-success" | "file-upload-failed" | "file-url-changed" | "modal-open" | "modal-close" | "done-click" | "upload-click" | "activity-change" | "common-upload-start" | "common-upload-progress" | "common-upload-success" | "common-upload-failed" | "group-created">(type: T_1, listener: (e: CustomEvent<import("./EventEmitter.js").EventPayload[T_1]>) => void, options?: boolean | EventListenerOptions): void;
2
+ addEventListener<T extends "file-added" | "file-removed" | "file-upload-start" | "file-upload-progress" | "file-upload-success" | "file-upload-failed" | "file-url-changed" | "modal-open" | "modal-close" | "done-click" | "upload-click" | "activity-change" | "common-upload-start" | "common-upload-progress" | "common-upload-success" | "common-upload-failed" | "change" | "group-created">(type: T, listener: (e: CustomEvent<import("./EventEmitter.js").EventPayload[T]>) => void, options?: boolean | AddEventListenerOptions): void;
3
+ removeEventListener<T_1 extends "file-added" | "file-removed" | "file-upload-start" | "file-upload-progress" | "file-upload-success" | "file-upload-failed" | "file-url-changed" | "modal-open" | "modal-close" | "done-click" | "upload-click" | "activity-change" | "common-upload-start" | "common-upload-progress" | "common-upload-success" | "common-upload-failed" | "change" | "group-created">(type: T_1, listener: (e: CustomEvent<import("./EventEmitter.js").EventPayload[T_1]>) => void, options?: boolean | EventListenerOptions): void;
4
4
  } & UploadCtxProviderClass) & Omit<typeof UploadCtxProviderClass, "new">;
5
5
  /**
6
6
  * @typedef {import('../../utils/mixinClass.js').MixinClass<
@@ -23,7 +23,6 @@ export class UploadList extends UploaderBlock {
23
23
  onCancel: () => void;
24
24
  '*commonProgress': number;
25
25
  '*uploadList': never[];
26
- '*focusedEntry': null;
27
26
  '*uploadQueue': import("@uploadcare/upload-client").Queue;
28
27
  '*collectionErrors': any[];
29
28
  '*collectionState': import("../../types").OutputCollectionState<import("../../types").OutputCollectionStatus, "maybe-has-group"> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"UploadList.d.ts","sourceRoot":"","sources":["UploadList.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AAEH;IAKE,4BAAoD;IAKlD;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BC;IAGH,eAAe;IACf,yCASQ;IAER,eAAe;IACf,4BAuCC;IAED;;;OAGG;IACH,uBAmBC;CAoEF;;;;sBAhMY;IACZ,KAAS,EAAE,MAAM,CAAC;IAClB,OAAW,EAAE,MAAM,CAAC;IACpB,SAAa,EAAE,MAAM,CAAC;IACtB,MAAU,EAAE,MAAM,CAAC;CAChB;8BAV0B,iCAAiC"}
1
+ {"version":3,"file":"UploadList.d.ts","sourceRoot":"","sources":["UploadList.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AAEH;IAKE,4BAAoD;IAKlD;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BC;IAGH,eAAe;IACf,yCASQ;IAER,eAAe;IACf,4BAuCC;IAED;;;OAGG;IACH,uBAmBC;CAoEF;;;;sBAhMY;IACZ,KAAS,EAAE,MAAM,CAAC;IAClB,OAAW,EAAE,MAAM,CAAC;IACpB,SAAa,EAAE,MAAM,CAAC;IACtB,MAAU,EAAE,MAAM,CAAC;CAChB;8BAV0B,iCAAiC"}
@@ -202,7 +202,12 @@ export class UploadList extends UploaderBlock {
202
202
  UploadList.template = /* HTML */ `
203
203
  <uc-activity-header>
204
204
  <span class="uc-header-text">{{headerText}}</span>
205
- <button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *closeModal">
205
+ <button
206
+ type="button"
207
+ class="uc-mini-btn uc-close-btn"
208
+ set="onclick: *closeModal"
209
+ l10n="@title:a11y-activity-header-button-close"
210
+ >
206
211
  <uc-icon name="close"></uc-icon>
207
212
  </button>
208
213
  </uc-activity-header>
@@ -30,3 +30,6 @@
30
30
  @import url('../../CloudImageEditor/index.css');
31
31
  @import url('../../CloudImageEditorActivity/index.css');
32
32
  @import url('../../Select/select.css');
33
+
34
+ /* POST RESET */
35
+ @import url('post-reset.css');
@@ -0,0 +1,3 @@
1
+ :where([uc-wgt-common]) uc-source-btn[type] {
2
+ all: unset;
3
+ }
package/env.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /** Do not edit this file manually. It's generated during build process. */
2
2
  export const PACKAGE_NAME: "blocks";
3
- export const PACKAGE_VERSION: "1.4.0";
3
+ export const PACKAGE_VERSION: "1.5.1";
4
4
  //# sourceMappingURL=env.d.ts.map
package/env.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Do not edit this file manually. It's generated during build process. */
2
2
  export const PACKAGE_NAME = 'blocks';
3
- export const PACKAGE_VERSION = '1.4.0';
3
+ export const PACKAGE_VERSION = '1.5.1';
package/index.ssr.d.ts CHANGED
@@ -8,7 +8,6 @@ export const ActivityBlock: {
8
8
  URL: string;
9
9
  CLOUD_IMG_EDIT: string;
10
10
  EXTERNAL: string;
11
- DETAILS: string;
12
11
  };
13
12
  reg: () => void;
14
13
  styleAttrs: any[];
@@ -25,7 +24,6 @@ export const ActivityHeader: {
25
24
  URL: string;
26
25
  CLOUD_IMG_EDIT: string;
27
26
  EXTERNAL: string;
28
- DETAILS: string;
29
27
  };
30
28
  reg: () => void;
31
29
  styleAttrs: any[];
@@ -95,7 +93,6 @@ export const CameraSource: {
95
93
  URL: string;
96
94
  CLOUD_IMG_EDIT: string;
97
95
  EXTERNAL: string;
98
- DETAILS: string;
99
96
  };
100
97
  reg: () => void;
101
98
  styleAttrs: any[];
@@ -151,7 +148,6 @@ export const CloudImageEditorActivity: {
151
148
  URL: string;
152
149
  CLOUD_IMG_EDIT: string;
153
150
  EXTERNAL: string;
154
- DETAILS: string;
155
151
  };
156
152
  reg: () => void;
157
153
  styleAttrs: any[];
@@ -251,7 +247,6 @@ export const DropArea: {
251
247
  URL: string;
252
248
  CLOUD_IMG_EDIT: string;
253
249
  EXTERNAL: string;
254
- DETAILS: string;
255
250
  };
256
251
  reg: () => void;
257
252
  is: string;
@@ -361,7 +356,6 @@ export const ExternalSource: {
361
356
  URL: string;
362
357
  CLOUD_IMG_EDIT: string;
363
358
  EXTERNAL: string;
364
- DETAILS: string;
365
359
  };
366
360
  reg: () => void;
367
361
  styleAttrs: any[];
@@ -410,7 +404,6 @@ export const FileItem: {
410
404
  URL: string;
411
405
  CLOUD_IMG_EDIT: string;
412
406
  EXTERNAL: string;
413
- DETAILS: string;
414
407
  };
415
408
  reg: () => void;
416
409
  styleAttrs: any[];
@@ -479,7 +472,6 @@ export const FormInput: {
479
472
  URL: string;
480
473
  CLOUD_IMG_EDIT: string;
481
474
  EXTERNAL: string;
482
- DETAILS: string;
483
475
  };
484
476
  reg: () => void;
485
477
  styleAttrs: any[];
@@ -520,7 +512,7 @@ export const Modal: {
520
512
  bindAttributes: () => void;
521
513
  };
522
514
  export const PACKAGE_NAME: "blocks";
523
- export const PACKAGE_VERSION: "1.4.0";
515
+ export const PACKAGE_VERSION: "1.5.1";
524
516
  export const PresenceToggle: {
525
517
  new (): {};
526
518
  template: string;
@@ -578,7 +570,6 @@ export const ProgressBarCommon: {
578
570
  URL: string;
579
571
  CLOUD_IMG_EDIT: string;
580
572
  EXTERNAL: string;
581
- DETAILS: string;
582
573
  };
583
574
  reg: () => void;
584
575
  styleAttrs: any[];
@@ -636,7 +627,6 @@ export const SimpleBtn: {
636
627
  URL: string;
637
628
  CLOUD_IMG_EDIT: string;
638
629
  EXTERNAL: string;
639
- DETAILS: string;
640
630
  };
641
631
  reg: () => void;
642
632
  is: string;
@@ -699,7 +689,6 @@ export const SourceBtn: {
699
689
  URL: string;
700
690
  CLOUD_IMG_EDIT: string;
701
691
  EXTERNAL: string;
702
- DETAILS: string;
703
692
  };
704
693
  reg: () => void;
705
694
  styleAttrs: any[];
@@ -724,7 +713,6 @@ export const StartFrom: {
724
713
  URL: string;
725
714
  CLOUD_IMG_EDIT: string;
726
715
  EXTERNAL: string;
727
- DETAILS: string;
728
716
  };
729
717
  reg: () => void;
730
718
  styleAttrs: any[];
@@ -804,7 +792,6 @@ export const UploadCtxProvider: {
804
792
  URL: string;
805
793
  CLOUD_IMG_EDIT: string;
806
794
  EXTERNAL: string;
807
- DETAILS: string;
808
795
  };
809
796
  reg: () => void;
810
797
  styleAttrs: any[];
@@ -852,7 +839,6 @@ export const UploadList: {
852
839
  URL: string;
853
840
  CLOUD_IMG_EDIT: string;
854
841
  EXTERNAL: string;
855
- DETAILS: string;
856
842
  };
857
843
  reg: () => void;
858
844
  styleAttrs: any[];
@@ -899,7 +885,6 @@ export const UploaderBlock: {
899
885
  URL: string;
900
886
  CLOUD_IMG_EDIT: string;
901
887
  EXTERNAL: string;
902
- DETAILS: string;
903
888
  };
904
889
  reg: () => void;
905
890
  styleAttrs: any[];
@@ -947,7 +932,6 @@ export const UrlSource: {
947
932
  URL: string;
948
933
  CLOUD_IMG_EDIT: string;
949
934
  EXTERNAL: string;
950
- DETAILS: string;
951
935
  };
952
936
  reg: () => void;
953
937
  styleAttrs: any[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;EAIE;AACF;;;;;;EAKE;AACF;;;;;;;;EAYE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFE;AACF;;;;;;;;EAuCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CE;AACF;;;;;;;;EAuCE;AACF;;;;;;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