@uploadcare/file-uploader 1.5.3-alpha.6 → 1.6.0

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 (217) hide show
  1. package/README.md +4 -4
  2. package/abstract/ActivityBlock.d.ts +3 -3
  3. package/abstract/ActivityBlock.d.ts.map +1 -1
  4. package/abstract/Block.d.ts +11 -4
  5. package/abstract/Block.d.ts.map +1 -1
  6. package/abstract/Block.js +16 -16
  7. package/abstract/CTX.d.ts +7 -7
  8. package/abstract/CTX.d.ts.map +1 -1
  9. package/abstract/CTX.js +1 -1
  10. package/abstract/LocaleManager.d.ts +3 -3
  11. package/abstract/SecureUploadsManager.d.ts +2 -2
  12. package/abstract/SecureUploadsManager.d.ts.map +1 -1
  13. package/abstract/SolutionBlock.d.ts +2 -2
  14. package/abstract/SolutionBlock.d.ts.map +1 -1
  15. package/abstract/TypedCollection.d.ts +1 -1
  16. package/abstract/TypedCollection.d.ts.map +1 -1
  17. package/abstract/TypedCollection.js +4 -4
  18. package/abstract/TypedData.d.ts +2 -2
  19. package/abstract/TypedData.d.ts.map +1 -1
  20. package/abstract/TypedData.js +4 -4
  21. package/abstract/UploaderBlock.d.ts +9 -6
  22. package/abstract/UploaderBlock.d.ts.map +1 -1
  23. package/abstract/UploaderBlock.js +16 -23
  24. package/abstract/UploaderPublicApi.d.ts +21 -22
  25. package/abstract/UploaderPublicApi.d.ts.map +1 -1
  26. package/abstract/UploaderPublicApi.js +4 -3
  27. package/abstract/ValidationManager.d.ts +3 -3
  28. package/abstract/ValidationManager.d.ts.map +1 -1
  29. package/abstract/a11y.d.ts +2 -2
  30. package/abstract/a11y.d.ts.map +1 -1
  31. package/abstract/buildOutputCollectionState.d.ts +1 -1
  32. package/abstract/buildOutputCollectionState.d.ts.map +1 -1
  33. package/abstract/defineComponents.d.ts.map +1 -1
  34. package/abstract/defineComponents.js +0 -5
  35. package/abstract/l10nProcessor.d.ts.map +1 -1
  36. package/abstract/l10nProcessor.js +3 -3
  37. package/abstract/loadFileUploaderFrom.d.ts.map +1 -1
  38. package/abstract/localeRegistry.d.ts.map +1 -1
  39. package/abstract/sharedConfigKey.d.ts.map +1 -1
  40. package/abstract/uploadEntrySchema.d.ts +4 -2
  41. package/abstract/uploadEntrySchema.d.ts.map +1 -1
  42. package/abstract/uploadEntrySchema.js +2 -1
  43. package/blocks/CameraSource/CameraSource.d.ts.map +1 -1
  44. package/blocks/CameraSource/CameraSource.js +4 -5
  45. package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts.map +1 -1
  46. package/blocks/CloudImageEditor/src/CropFrame.d.ts +11 -11
  47. package/blocks/CloudImageEditor/src/CropFrame.d.ts.map +1 -1
  48. package/blocks/CloudImageEditor/src/CropFrame.js +1 -2
  49. package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts.map +1 -1
  50. package/blocks/CloudImageEditor/src/EditorButtonControl.js +1 -2
  51. package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts.map +1 -1
  52. package/blocks/CloudImageEditor/src/EditorFilterControl.js +7 -3
  53. package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +3 -3
  54. package/blocks/CloudImageEditor/src/EditorImageCropper.js +2 -2
  55. package/blocks/CloudImageEditor/src/EditorImageFader.d.ts +1 -1
  56. package/blocks/CloudImageEditor/src/EditorImageFader.d.ts.map +1 -1
  57. package/blocks/CloudImageEditor/src/EditorOperationControl.js +1 -1
  58. package/blocks/CloudImageEditor/src/EditorScroller.d.ts.map +1 -1
  59. package/blocks/CloudImageEditor/src/EditorScroller.js +1 -2
  60. package/blocks/CloudImageEditor/src/EditorSlider.d.ts.map +1 -1
  61. package/blocks/CloudImageEditor/src/EditorSlider.js +1 -2
  62. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +1 -1
  63. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts.map +1 -1
  64. package/blocks/CloudImageEditor/src/EditorToolbar.js +3 -4
  65. package/blocks/CloudImageEditor/src/crop-utils.d.ts +14 -14
  66. package/blocks/CloudImageEditor/src/crop-utils.d.ts.map +1 -1
  67. package/blocks/CloudImageEditor/src/css/common.css +2 -2
  68. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts.map +1 -1
  69. package/blocks/CloudImageEditor/src/elements/button/BtnUi.js +3 -3
  70. package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts.map +1 -1
  71. package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.js +1 -2
  72. package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts.map +1 -1
  73. package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.js +2 -3
  74. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts.map +1 -1
  75. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.js +1 -2
  76. package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts +15 -0
  77. package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts.map +1 -0
  78. package/blocks/CloudImageEditor/src/lib/FocusVisible.js +33 -0
  79. package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts +10 -0
  80. package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts.map +1 -0
  81. package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.js +256 -0
  82. package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +1 -1
  83. package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +3 -3
  84. package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts.map +1 -1
  85. package/blocks/CloudImageEditor/src/state.d.ts +4 -4
  86. package/blocks/CloudImageEditor/src/template.d.ts.map +1 -1
  87. package/blocks/CloudImageEditor/src/template.js +1 -2
  88. package/blocks/CloudImageEditor/src/types.d.ts +2 -2
  89. package/blocks/CloudImageEditor/src/types.d.ts.map +1 -1
  90. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +1 -1
  91. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +1 -1
  92. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.js +1 -2
  93. package/blocks/Config/Config.d.ts +11 -3
  94. package/blocks/Config/Config.d.ts.map +1 -1
  95. package/blocks/Config/initialConfig.d.ts +1 -1
  96. package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
  97. package/blocks/Copyright/Copyright.d.ts.map +1 -1
  98. package/blocks/Copyright/Copyright.js +1 -2
  99. package/blocks/DropArea/DropArea.d.ts +2 -2
  100. package/blocks/DropArea/DropArea.d.ts.map +1 -1
  101. package/blocks/DropArea/DropArea.js +4 -4
  102. package/blocks/DropArea/addDropzone.d.ts.map +1 -1
  103. package/blocks/DropArea/getDropItems.d.ts +2 -2
  104. package/blocks/DropArea/getDropItems.d.ts.map +1 -1
  105. package/blocks/ExternalSource/ExternalSource.d.ts +5 -5
  106. package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -1
  107. package/blocks/ExternalSource/ExternalSource.js +3 -3
  108. package/blocks/ExternalSource/buildStyles.js +2 -2
  109. package/blocks/ExternalSource/query-string.d.ts.map +1 -1
  110. package/blocks/FileItem/FileItem.d.ts +2 -2
  111. package/blocks/FileItem/FileItem.d.ts.map +1 -1
  112. package/blocks/FileItem/FileItem.js +3 -3
  113. package/blocks/FormInput/FormInput.js +1 -1
  114. package/blocks/Icon/Icon.d.ts +1 -0
  115. package/blocks/Icon/Icon.d.ts.map +1 -1
  116. package/blocks/Icon/Icon.js +4 -2
  117. package/blocks/Img/ImgBase.js +9 -9
  118. package/blocks/Img/ImgConfig.d.ts +2 -2
  119. package/blocks/Img/ImgConfig.d.ts.map +1 -1
  120. package/blocks/Img/ImgConfig.js +3 -3
  121. package/blocks/Img/utils/parseObjectToString.js +1 -1
  122. package/blocks/Modal/Modal.d.ts.map +1 -1
  123. package/blocks/Modal/Modal.js +1 -2
  124. package/blocks/ProgressBar/ProgressBar.d.ts.map +1 -1
  125. package/blocks/ProgressBar/ProgressBar.js +1 -2
  126. package/blocks/ProgressBarCommon/ProgressBarCommon.d.ts.map +1 -1
  127. package/blocks/ProgressBarCommon/ProgressBarCommon.js +1 -2
  128. package/blocks/Range/Range.d.ts +16 -0
  129. package/blocks/Range/Range.d.ts.map +1 -0
  130. package/blocks/Range/Range.js +44 -0
  131. package/blocks/Range/range.css +65 -0
  132. package/blocks/Select/Select.d.ts.map +1 -1
  133. package/blocks/Select/Select.js +9 -14
  134. package/blocks/SimpleBtn/SimpleBtn.d.ts +2 -2
  135. package/blocks/SimpleBtn/SimpleBtn.d.ts.map +1 -1
  136. package/blocks/SimpleBtn/SimpleBtn.js +1 -2
  137. package/blocks/SourceBtn/SourceBtn.d.ts +2 -2
  138. package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -1
  139. package/blocks/SourceBtn/SourceBtn.js +8 -7
  140. package/blocks/SourceList/SourceList.d.ts.map +1 -1
  141. package/blocks/SourceList/SourceList.js +4 -5
  142. package/blocks/StartFrom/StartFrom.d.ts.map +1 -1
  143. package/blocks/StartFrom/StartFrom.js +1 -2
  144. package/blocks/UploadCtxProvider/EventEmitter.d.ts +19 -19
  145. package/blocks/UploadCtxProvider/EventEmitter.d.ts.map +1 -1
  146. package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +4 -4
  147. package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts.map +1 -1
  148. package/blocks/UploadList/UploadList.d.ts +2 -2
  149. package/blocks/UploadList/UploadList.d.ts.map +1 -1
  150. package/blocks/UploadList/UploadList.js +4 -3
  151. package/blocks/UrlSource/UrlSource.d.ts.map +1 -1
  152. package/blocks/UrlSource/UrlSource.js +3 -4
  153. package/blocks/themes/uc-basic/index.css +1 -0
  154. package/blocks/utils/UploadSource.d.ts +27 -1
  155. package/blocks/utils/UploadSource.d.ts.map +1 -1
  156. package/blocks/utils/UploadSource.js +20 -1
  157. package/blocks/utils/debounce.d.ts +1 -3
  158. package/blocks/utils/debounce.d.ts.map +1 -1
  159. package/blocks/utils/throttle.d.ts +1 -3
  160. package/blocks/utils/throttle.d.ts.map +1 -1
  161. package/blocks/utils/userAgent.d.ts +1 -1
  162. package/blocks/utils/userAgent.d.ts.map +1 -1
  163. package/env.d.ts +1 -1
  164. package/env.js +1 -1
  165. package/index.d.ts +2 -1
  166. package/index.js +2 -1
  167. package/index.ssr.d.ts +98 -129
  168. package/index.ssr.d.ts.map +1 -1
  169. package/index.ssr.js +93 -132
  170. package/package.json +8 -12
  171. package/solutions/file-uploader/inline/FileUploaderInline.d.ts +2 -2
  172. package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +1 -1
  173. package/solutions/file-uploader/inline/FileUploaderInline.js +4 -3
  174. package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +1 -1
  175. package/solutions/file-uploader/minimal/FileUploaderMinimal.js +1 -2
  176. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +3 -3
  177. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -1
  178. package/solutions/file-uploader/regular/FileUploaderRegular.js +1 -2
  179. package/types/exported.d.ts +2 -0
  180. package/types/jsx.d.ts +3 -9
  181. package/utils/getPluralForm.d.ts.map +1 -1
  182. package/utils/isSecureTokenExpired.d.ts +1 -1
  183. package/utils/memoize.d.ts.map +1 -1
  184. package/utils/mixinClass.d.ts +1 -3
  185. package/utils/mixinClass.d.ts.map +1 -1
  186. package/utils/prettyBytes.d.ts.map +1 -1
  187. package/utils/template-utils.d.ts.map +1 -1
  188. package/utils/toKebabCase.d.ts.map +1 -1
  189. package/utils/uniqueArray.d.ts.map +1 -1
  190. package/utils/validators/collection/validateCollectionUploadError.d.ts +1 -1
  191. package/utils/validators/collection/validateMultiple.d.ts +1 -1
  192. package/utils/validators/file/validateFileType.d.ts +1 -1
  193. package/utils/validators/file/validateIsImage.d.ts +1 -1
  194. package/utils/validators/file/validateMaxSizeLimit.d.ts +1 -1
  195. package/utils/validators/file/validateUploadError.d.ts +1 -1
  196. package/utils/waitForAttribute.d.ts +6 -12
  197. package/utils/waitForAttribute.d.ts.map +1 -1
  198. package/utils/waitForAttribute.js +8 -38
  199. package/utils/waitForAttribute.test.js +47 -10
  200. package/web/file-uploader.iife.min.js +4 -5
  201. package/web/file-uploader.min.js +4 -5
  202. package/web/uc-basic.min.css +1 -1
  203. package/web/uc-cloud-image-editor.min.css +1 -1
  204. package/web/uc-cloud-image-editor.min.js +4 -5
  205. package/web/uc-file-uploader-inline.min.css +1 -1
  206. package/web/uc-file-uploader-inline.min.js +4 -5
  207. package/web/uc-file-uploader-minimal.min.js +3 -4
  208. package/web/uc-file-uploader-regular.min.css +1 -1
  209. package/web/uc-file-uploader-regular.min.js +4 -5
  210. package/web/uc-img.min.js +3 -4
  211. package/symbiote.js +0 -18
  212. package/utils/withResolvers.d.ts +0 -7
  213. package/utils/withResolvers.d.ts.map +0 -1
  214. package/utils/withResolvers.js +0 -17
  215. package/utils/withResolvers.test.d.ts +0 -2
  216. package/utils/withResolvers.test.d.ts.map +0 -1
  217. package/utils/withResolvers.test.js +0 -27
package/index.d.ts CHANGED
@@ -35,5 +35,6 @@ export { defineComponents } from "./abstract/defineComponents.js";
35
35
  export { defineLocale } from "./abstract/localeRegistry.js";
36
36
  export { loadFileUploaderFrom } from "./abstract/loadFileUploaderFrom.js";
37
37
  export { toKebabCase } from "./utils/toKebabCase.js";
38
- export { Symbiote, BaseComponent, PubSub, Data, UID, html } from "./symbiote.js";
38
+ export { BaseComponent, Data, UID } from "@symbiotejs/symbiote";
39
+ export { UploadSource, ExternalUploadSource } from "./blocks/utils/UploadSource.js";
39
40
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  // Symbiote.js
3
- export { Symbiote, BaseComponent, PubSub, Data, UID, html } from './symbiote.js';
3
+ export { BaseComponent, Data, UID } from '@symbiotejs/symbiote';
4
4
 
5
5
  // Abstract:
6
6
  export { Block } from './abstract/Block.js';
@@ -44,6 +44,7 @@ export { defineComponents } from './abstract/defineComponents.js';
44
44
  export { defineLocale } from './abstract/localeRegistry.js';
45
45
  export { loadFileUploaderFrom } from './abstract/loadFileUploaderFrom.js';
46
46
  export { toKebabCase } from './utils/toKebabCase.js';
47
+ export { UploadSource, ExternalUploadSource } from './blocks/utils/UploadSource.js';
47
48
 
48
49
  export * from './env.js';
49
50
 
package/index.ssr.d.ts CHANGED
@@ -13,8 +13,6 @@ export const ActivityBlock: {
13
13
  styleAttrs: any[];
14
14
  is: string;
15
15
  bindAttributes: () => void;
16
- addRootStyles: () => void;
17
- addShadowStyles: () => void;
18
16
  };
19
17
  export const ActivityHeader: {
20
18
  new (): {};
@@ -31,16 +29,12 @@ export const ActivityHeader: {
31
29
  styleAttrs: any[];
32
30
  is: string;
33
31
  bindAttributes: () => void;
34
- addRootStyles: () => void;
35
- addShadowStyles: () => void;
36
32
  };
37
33
  export const BaseComponent: {
38
34
  new (): {};
39
35
  reg: () => void;
40
36
  is: string;
41
37
  bindAttributes: () => void;
42
- addRootStyles: () => void;
43
- addShadowStyles: () => void;
44
38
  };
45
39
  export const Block: {
46
40
  new (): {};
@@ -48,8 +42,6 @@ export const Block: {
48
42
  styleAttrs: any[];
49
43
  is: string;
50
44
  bindAttributes: () => void;
51
- addRootStyles: () => void;
52
- addShadowStyles: () => void;
53
45
  };
54
46
  export const BtnUi: {
55
47
  new (): {};
@@ -59,8 +51,6 @@ export const BtnUi: {
59
51
  styleAttrs: any[];
60
52
  is: string;
61
53
  bindAttributes: () => void;
62
- addRootStyles: () => void;
63
- addShadowStyles: () => void;
64
54
  };
65
55
  export const CameraSource: {
66
56
  new (): {};
@@ -80,8 +70,11 @@ export const CameraSource: {
80
70
  };
81
71
  sourceTypes: {
82
72
  LOCAL: string;
83
- URL: string;
73
+ DROP_AREA: string;
84
74
  CAMERA: string;
75
+ EXTERNAL: string;
76
+ API: string;
77
+ URL: string;
85
78
  DRAW: string;
86
79
  FACEBOOK: string;
87
80
  DROPBOX: string;
@@ -108,8 +101,6 @@ export const CameraSource: {
108
101
  styleAttrs: any[];
109
102
  is: string;
110
103
  bindAttributes: () => void;
111
- addRootStyles: () => void;
112
- addShadowStyles: () => void;
113
104
  };
114
105
  export const CloudImageEditor: {
115
106
  new (): {};
@@ -119,8 +110,6 @@ export const CloudImageEditor: {
119
110
  reg: () => void;
120
111
  is: string;
121
112
  bindAttributes: () => void;
122
- addRootStyles: () => void;
123
- addShadowStyles: () => void;
124
113
  };
125
114
  export const CloudImageEditorActivity: {
126
115
  new (): {};
@@ -139,8 +128,11 @@ export const CloudImageEditorActivity: {
139
128
  };
140
129
  sourceTypes: {
141
130
  LOCAL: string;
142
- URL: string;
131
+ DROP_AREA: string;
143
132
  CAMERA: string;
133
+ EXTERNAL: string;
134
+ API: string;
135
+ URL: string;
144
136
  DRAW: string;
145
137
  FACEBOOK: string;
146
138
  DROPBOX: string;
@@ -167,8 +159,6 @@ export const CloudImageEditorActivity: {
167
159
  styleAttrs: any[];
168
160
  is: string;
169
161
  bindAttributes: () => void;
170
- addRootStyles: () => void;
171
- addShadowStyles: () => void;
172
162
  };
173
163
  export const CloudImageEditorBlock: {
174
164
  new (): {};
@@ -178,8 +168,6 @@ export const CloudImageEditorBlock: {
178
168
  reg: () => void;
179
169
  is: string;
180
170
  bindAttributes: () => void;
181
- addRootStyles: () => void;
182
- addShadowStyles: () => void;
183
171
  };
184
172
  export const Config: {
185
173
  new (): {};
@@ -188,8 +176,6 @@ export const Config: {
188
176
  styleAttrs: any[];
189
177
  is: string;
190
178
  bindAttributes: () => void;
191
- addRootStyles: () => void;
192
- addShadowStyles: () => void;
193
179
  };
194
180
  export const Copyright: {
195
181
  new (): {};
@@ -198,8 +184,6 @@ export const Copyright: {
198
184
  styleAttrs: any[];
199
185
  is: string;
200
186
  bindAttributes: () => void;
201
- addRootStyles: () => void;
202
- addShadowStyles: () => void;
203
187
  };
204
188
  export const CropFrame: {
205
189
  new (): {};
@@ -208,11 +192,10 @@ export const CropFrame: {
208
192
  styleAttrs: any[];
209
193
  is: string;
210
194
  bindAttributes: () => void;
211
- addRootStyles: () => void;
212
- addShadowStyles: () => void;
213
195
  };
214
196
  export const Data: {
215
197
  new (): {};
198
+ warn: () => void;
216
199
  registerCtx: () => void;
217
200
  deleteCtx: () => void;
218
201
  getCtx: () => void;
@@ -247,8 +230,11 @@ export const DropArea: {
247
230
  };
248
231
  sourceTypes: {
249
232
  LOCAL: string;
250
- URL: string;
233
+ DROP_AREA: string;
251
234
  CAMERA: string;
235
+ EXTERNAL: string;
236
+ API: string;
237
+ URL: string;
252
238
  DRAW: string;
253
239
  FACEBOOK: string;
254
240
  DROPBOX: string;
@@ -274,8 +260,6 @@ export const DropArea: {
274
260
  reg: () => void;
275
261
  is: string;
276
262
  bindAttributes: () => void;
277
- addRootStyles: () => void;
278
- addShadowStyles: () => void;
279
263
  };
280
264
  export const EditorCropButtonControl: {
281
265
  new (): {};
@@ -284,8 +268,6 @@ export const EditorCropButtonControl: {
284
268
  styleAttrs: any[];
285
269
  is: string;
286
270
  bindAttributes: () => void;
287
- addRootStyles: () => void;
288
- addShadowStyles: () => void;
289
271
  };
290
272
  export const EditorFilterControl: {
291
273
  new (): {};
@@ -294,8 +276,6 @@ export const EditorFilterControl: {
294
276
  styleAttrs: any[];
295
277
  is: string;
296
278
  bindAttributes: () => void;
297
- addRootStyles: () => void;
298
- addShadowStyles: () => void;
299
279
  };
300
280
  export const EditorImageCropper: {
301
281
  new (): {};
@@ -304,8 +284,6 @@ export const EditorImageCropper: {
304
284
  styleAttrs: any[];
305
285
  is: string;
306
286
  bindAttributes: () => void;
307
- addRootStyles: () => void;
308
- addShadowStyles: () => void;
309
287
  };
310
288
  export const EditorImageFader: {
311
289
  new (): {};
@@ -313,8 +291,6 @@ export const EditorImageFader: {
313
291
  styleAttrs: any[];
314
292
  is: string;
315
293
  bindAttributes: () => void;
316
- addRootStyles: () => void;
317
- addShadowStyles: () => void;
318
294
  };
319
295
  export const EditorOperationControl: {
320
296
  new (): {};
@@ -323,8 +299,6 @@ export const EditorOperationControl: {
323
299
  styleAttrs: any[];
324
300
  is: string;
325
301
  bindAttributes: () => void;
326
- addRootStyles: () => void;
327
- addShadowStyles: () => void;
328
302
  };
329
303
  export const EditorScroller: {
330
304
  new (): {};
@@ -333,8 +307,6 @@ export const EditorScroller: {
333
307
  styleAttrs: any[];
334
308
  is: string;
335
309
  bindAttributes: () => void;
336
- addRootStyles: () => void;
337
- addShadowStyles: () => void;
338
310
  };
339
311
  export const EditorSlider: {
340
312
  new (): {};
@@ -343,8 +315,6 @@ export const EditorSlider: {
343
315
  styleAttrs: any[];
344
316
  is: string;
345
317
  bindAttributes: () => void;
346
- addRootStyles: () => void;
347
- addShadowStyles: () => void;
348
318
  };
349
319
  export const EditorToolbar: {
350
320
  new (): {};
@@ -353,8 +323,6 @@ export const EditorToolbar: {
353
323
  styleAttrs: any[];
354
324
  is: string;
355
325
  bindAttributes: () => void;
356
- addRootStyles: () => void;
357
- addShadowStyles: () => void;
358
326
  };
359
327
  export const ExternalSource: {
360
328
  new (): {};
@@ -374,8 +342,11 @@ export const ExternalSource: {
374
342
  };
375
343
  sourceTypes: {
376
344
  LOCAL: string;
377
- URL: string;
345
+ DROP_AREA: string;
378
346
  CAMERA: string;
347
+ EXTERNAL: string;
348
+ API: string;
349
+ URL: string;
379
350
  DRAW: string;
380
351
  FACEBOOK: string;
381
352
  DROPBOX: string;
@@ -402,9 +373,20 @@ export const ExternalSource: {
402
373
  styleAttrs: any[];
403
374
  is: string;
404
375
  bindAttributes: () => void;
405
- addRootStyles: () => void;
406
- addShadowStyles: () => void;
407
376
  };
377
+ export namespace ExternalUploadSource {
378
+ let FACEBOOK: string;
379
+ let DROPBOX: string;
380
+ let GDRIVE: string;
381
+ let GPHOTOS: string;
382
+ let INSTAGRAM: string;
383
+ let FLICKR: string;
384
+ let VK: string;
385
+ let EVERNOTE: string;
386
+ let BOX: string;
387
+ let ONEDRIVE: string;
388
+ let HUDDLE: string;
389
+ }
408
390
  export const FileItem: {
409
391
  new (): {};
410
392
  template: string;
@@ -424,8 +406,11 @@ export const FileItem: {
424
406
  };
425
407
  sourceTypes: {
426
408
  LOCAL: string;
427
- URL: string;
409
+ DROP_AREA: string;
428
410
  CAMERA: string;
411
+ EXTERNAL: string;
412
+ API: string;
413
+ URL: string;
429
414
  DRAW: string;
430
415
  FACEBOOK: string;
431
416
  DROPBOX: string;
@@ -452,8 +437,6 @@ export const FileItem: {
452
437
  styleAttrs: any[];
453
438
  is: string;
454
439
  bindAttributes: () => void;
455
- addRootStyles: () => void;
456
- addShadowStyles: () => void;
457
440
  };
458
441
  export const FileUploaderInline: {
459
442
  new (): {};
@@ -461,8 +444,6 @@ export const FileUploaderInline: {
461
444
  reg: () => void;
462
445
  is: string;
463
446
  bindAttributes: () => void;
464
- addRootStyles: () => void;
465
- addShadowStyles: () => void;
466
447
  };
467
448
  export const FileUploaderMinimal: {
468
449
  new (): {};
@@ -470,8 +451,6 @@ export const FileUploaderMinimal: {
470
451
  reg: () => void;
471
452
  is: string;
472
453
  bindAttributes: () => void;
473
- addRootStyles: () => void;
474
- addShadowStyles: () => void;
475
454
  };
476
455
  export const FileUploaderRegular: {
477
456
  new (): {};
@@ -480,8 +459,6 @@ export const FileUploaderRegular: {
480
459
  reg: () => void;
481
460
  is: string;
482
461
  bindAttributes: () => void;
483
- addRootStyles: () => void;
484
- addShadowStyles: () => void;
485
462
  };
486
463
  export const FormInput: {
487
464
  new (): {};
@@ -500,8 +477,11 @@ export const FormInput: {
500
477
  };
501
478
  sourceTypes: {
502
479
  LOCAL: string;
503
- URL: string;
480
+ DROP_AREA: string;
504
481
  CAMERA: string;
482
+ EXTERNAL: string;
483
+ API: string;
484
+ URL: string;
505
485
  DRAW: string;
506
486
  FACEBOOK: string;
507
487
  DROPBOX: string;
@@ -528,8 +508,6 @@ export const FormInput: {
528
508
  styleAttrs: any[];
529
509
  is: string;
530
510
  bindAttributes: () => void;
531
- addRootStyles: () => void;
532
- addShadowStyles: () => void;
533
511
  };
534
512
  export const Icon: {
535
513
  new (): {};
@@ -539,8 +517,6 @@ export const Icon: {
539
517
  styleAttrs: any[];
540
518
  is: string;
541
519
  bindAttributes: () => void;
542
- addRootStyles: () => void;
543
- addShadowStyles: () => void;
544
520
  };
545
521
  export const Img: {
546
522
  new (): {};
@@ -548,8 +524,6 @@ export const Img: {
548
524
  reg: () => void;
549
525
  is: string;
550
526
  bindAttributes: () => void;
551
- addRootStyles: () => void;
552
- addShadowStyles: () => void;
553
527
  };
554
528
  export const LineLoaderUi: {
555
529
  new (): {};
@@ -558,8 +532,6 @@ export const LineLoaderUi: {
558
532
  styleAttrs: any[];
559
533
  is: string;
560
534
  bindAttributes: () => void;
561
- addRootStyles: () => void;
562
- addShadowStyles: () => void;
563
535
  };
564
536
  export const Modal: {
565
537
  new (): {};
@@ -569,11 +541,9 @@ export const Modal: {
569
541
  reg: () => void;
570
542
  is: string;
571
543
  bindAttributes: () => void;
572
- addRootStyles: () => void;
573
- addShadowStyles: () => void;
574
544
  };
575
545
  export const PACKAGE_NAME: "blocks";
576
- export const PACKAGE_VERSION: "1.5.2";
546
+ export const PACKAGE_VERSION: "1.6.0";
577
547
  export const PresenceToggle: {
578
548
  new (): {};
579
549
  template: string;
@@ -581,8 +551,6 @@ export const PresenceToggle: {
581
551
  styleAttrs: any[];
582
552
  is: string;
583
553
  bindAttributes: () => void;
584
- addRootStyles: () => void;
585
- addShadowStyles: () => void;
586
554
  };
587
555
  export const ProgressBar: {
588
556
  new (): {};
@@ -591,8 +559,6 @@ export const ProgressBar: {
591
559
  styleAttrs: any[];
592
560
  is: string;
593
561
  bindAttributes: () => void;
594
- addRootStyles: () => void;
595
- addShadowStyles: () => void;
596
562
  };
597
563
  export const ProgressBarCommon: {
598
564
  new (): {};
@@ -612,8 +578,11 @@ export const ProgressBarCommon: {
612
578
  };
613
579
  sourceTypes: {
614
580
  LOCAL: string;
615
- URL: string;
581
+ DROP_AREA: string;
616
582
  CAMERA: string;
583
+ EXTERNAL: string;
584
+ API: string;
585
+ URL: string;
617
586
  DRAW: string;
618
587
  FACEBOOK: string;
619
588
  DROPBOX: string;
@@ -640,24 +609,6 @@ export const ProgressBarCommon: {
640
609
  styleAttrs: any[];
641
610
  is: string;
642
611
  bindAttributes: () => void;
643
- addRootStyles: () => void;
644
- addShadowStyles: () => void;
645
- };
646
- export const PubSub: {
647
- new (): {};
648
- registerCtx: () => void;
649
- deleteCtx: () => void;
650
- getCtx: () => void;
651
- globalStore: {};
652
- apply: () => void;
653
- bind: () => void;
654
- call: () => void;
655
- toString: () => void;
656
- hasOwnProperty: () => void;
657
- isPrototypeOf: () => void;
658
- propertyIsEnumerable: () => void;
659
- valueOf: () => void;
660
- toLocaleString: () => void;
661
612
  };
662
613
  export const Select: {
663
614
  new (): {};
@@ -666,8 +617,6 @@ export const Select: {
666
617
  styleAttrs: any[];
667
618
  is: string;
668
619
  bindAttributes: () => void;
669
- addRootStyles: () => void;
670
- addShadowStyles: () => void;
671
620
  };
672
621
  export const SimpleBtn: {
673
622
  new (): {};
@@ -689,8 +638,11 @@ export const SimpleBtn: {
689
638
  };
690
639
  sourceTypes: {
691
640
  LOCAL: string;
692
- URL: string;
641
+ DROP_AREA: string;
693
642
  CAMERA: string;
643
+ EXTERNAL: string;
644
+ API: string;
645
+ URL: string;
694
646
  DRAW: string;
695
647
  FACEBOOK: string;
696
648
  DROPBOX: string;
@@ -716,8 +668,6 @@ export const SimpleBtn: {
716
668
  reg: () => void;
717
669
  is: string;
718
670
  bindAttributes: () => void;
719
- addRootStyles: () => void;
720
- addShadowStyles: () => void;
721
671
  };
722
672
  export const SliderUi: {
723
673
  new (): {};
@@ -726,8 +676,6 @@ export const SliderUi: {
726
676
  styleAttrs: any[];
727
677
  is: string;
728
678
  bindAttributes: () => void;
729
- addRootStyles: () => void;
730
- addShadowStyles: () => void;
731
679
  };
732
680
  export const SolutionBlock: {
733
681
  new (): {};
@@ -735,8 +683,6 @@ export const SolutionBlock: {
735
683
  reg: () => void;
736
684
  is: string;
737
685
  bindAttributes: () => void;
738
- addRootStyles: () => void;
739
- addShadowStyles: () => void;
740
686
  };
741
687
  export const SourceBtn: {
742
688
  new (): {};
@@ -757,8 +703,11 @@ export const SourceBtn: {
757
703
  };
758
704
  sourceTypes: {
759
705
  LOCAL: string;
760
- URL: string;
706
+ DROP_AREA: string;
761
707
  CAMERA: string;
708
+ EXTERNAL: string;
709
+ API: string;
710
+ URL: string;
762
711
  DRAW: string;
763
712
  FACEBOOK: string;
764
713
  DROPBOX: string;
@@ -785,8 +734,6 @@ export const SourceBtn: {
785
734
  styleAttrs: any[];
786
735
  is: string;
787
736
  bindAttributes: () => void;
788
- addRootStyles: () => void;
789
- addShadowStyles: () => void;
790
737
  };
791
738
  export const SourceList: {
792
739
  new (): {};
@@ -794,8 +741,6 @@ export const SourceList: {
794
741
  styleAttrs: any[];
795
742
  is: string;
796
743
  bindAttributes: () => void;
797
- addRootStyles: () => void;
798
- addShadowStyles: () => void;
799
744
  };
800
745
  export const StartFrom: {
801
746
  new (): {};
@@ -813,16 +758,6 @@ export const StartFrom: {
813
758
  styleAttrs: any[];
814
759
  is: string;
815
760
  bindAttributes: () => void;
816
- addRootStyles: () => void;
817
- addShadowStyles: () => void;
818
- };
819
- export const Symbiote: {
820
- new (): {};
821
- reg: () => void;
822
- is: string;
823
- bindAttributes: () => void;
824
- addRootStyles: () => void;
825
- addShadowStyles: () => void;
826
761
  };
827
762
  export const UID: {
828
763
  new (): {};
@@ -874,8 +809,11 @@ export const UploadCtxProvider: {
874
809
  };
875
810
  sourceTypes: {
876
811
  LOCAL: string;
877
- URL: string;
812
+ DROP_AREA: string;
878
813
  CAMERA: string;
814
+ EXTERNAL: string;
815
+ API: string;
816
+ URL: string;
879
817
  DRAW: string;
880
818
  FACEBOOK: string;
881
819
  DROPBOX: string;
@@ -902,8 +840,6 @@ export const UploadCtxProvider: {
902
840
  styleAttrs: any[];
903
841
  is: string;
904
842
  bindAttributes: () => void;
905
- addRootStyles: () => void;
906
- addShadowStyles: () => void;
907
843
  };
908
844
  export const UploadList: {
909
845
  new (): {};
@@ -923,8 +859,11 @@ export const UploadList: {
923
859
  };
924
860
  sourceTypes: {
925
861
  LOCAL: string;
926
- URL: string;
862
+ DROP_AREA: string;
927
863
  CAMERA: string;
864
+ EXTERNAL: string;
865
+ API: string;
866
+ URL: string;
928
867
  DRAW: string;
929
868
  FACEBOOK: string;
930
869
  DROPBOX: string;
@@ -951,9 +890,38 @@ export const UploadList: {
951
890
  styleAttrs: any[];
952
891
  is: string;
953
892
  bindAttributes: () => void;
954
- addRootStyles: () => void;
955
- addShadowStyles: () => void;
956
893
  };
894
+ export namespace UploadSource {
895
+ export let LOCAL: string;
896
+ export let DROP_AREA: string;
897
+ export let CAMERA: string;
898
+ export let EXTERNAL: string;
899
+ export let API: string;
900
+ export let URL: string;
901
+ export let DRAW: string;
902
+ let FACEBOOK_1: string;
903
+ export { FACEBOOK_1 as FACEBOOK };
904
+ let DROPBOX_1: string;
905
+ export { DROPBOX_1 as DROPBOX };
906
+ let GDRIVE_1: string;
907
+ export { GDRIVE_1 as GDRIVE };
908
+ let GPHOTOS_1: string;
909
+ export { GPHOTOS_1 as GPHOTOS };
910
+ let INSTAGRAM_1: string;
911
+ export { INSTAGRAM_1 as INSTAGRAM };
912
+ let FLICKR_1: string;
913
+ export { FLICKR_1 as FLICKR };
914
+ let VK_1: string;
915
+ export { VK_1 as VK };
916
+ let EVERNOTE_1: string;
917
+ export { EVERNOTE_1 as EVERNOTE };
918
+ let BOX_1: string;
919
+ export { BOX_1 as BOX };
920
+ let ONEDRIVE_1: string;
921
+ export { ONEDRIVE_1 as ONEDRIVE };
922
+ let HUDDLE_1: string;
923
+ export { HUDDLE_1 as HUDDLE };
924
+ }
957
925
  export const UploaderBlock: {
958
926
  new (): {};
959
927
  extSrcList: {
@@ -971,8 +939,11 @@ export const UploaderBlock: {
971
939
  };
972
940
  sourceTypes: {
973
941
  LOCAL: string;
974
- URL: string;
942
+ DROP_AREA: string;
975
943
  CAMERA: string;
944
+ EXTERNAL: string;
945
+ API: string;
946
+ URL: string;
976
947
  DRAW: string;
977
948
  FACEBOOK: string;
978
949
  DROPBOX: string;
@@ -999,8 +970,6 @@ export const UploaderBlock: {
999
970
  styleAttrs: any[];
1000
971
  is: string;
1001
972
  bindAttributes: () => void;
1002
- addRootStyles: () => void;
1003
- addShadowStyles: () => void;
1004
973
  };
1005
974
  export const UrlSource: {
1006
975
  new (): {};
@@ -1020,8 +989,11 @@ export const UrlSource: {
1020
989
  };
1021
990
  sourceTypes: {
1022
991
  LOCAL: string;
1023
- URL: string;
992
+ DROP_AREA: string;
1024
993
  CAMERA: string;
994
+ EXTERNAL: string;
995
+ API: string;
996
+ URL: string;
1025
997
  DRAW: string;
1026
998
  FACEBOOK: string;
1027
999
  DROPBOX: string;
@@ -1048,12 +1020,9 @@ export const UrlSource: {
1048
1020
  styleAttrs: any[];
1049
1021
  is: string;
1050
1022
  bindAttributes: () => void;
1051
- addRootStyles: () => void;
1052
- addShadowStyles: () => void;
1053
1023
  };
1054
1024
  export function defineComponents(): void;
1055
1025
  export function defineLocale(): void;
1056
- export function html(): void;
1057
1026
  export function loadFileUploaderFrom(): void;
1058
1027
  export function toKebabCase(): void;
1059
1028
  //# sourceMappingURL=index.ssr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;EAgBE;AACF;;;;;;;;;;;;;;;;;EAgBE;AACF;;;;;;;EAME;AACF;;;;;;;;EAOE;AACF;;;;;;;;;;EAcE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoFE;AACF;;;;;;;;;;EAyCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CE;AACF;;;;;;;;;;EAyCE;AACF;;;;;;;;;EA4F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