@uploadcare/file-uploader 1.17.0-alpha.2 → 1.17.0-alpha.4

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 (455) hide show
  1. package/abstract/ActivityBlock.d.ts +79 -0
  2. package/abstract/ActivityBlock.d.ts.map +1 -0
  3. package/abstract/Block.d.ts +102 -0
  4. package/abstract/Block.d.ts.map +1 -0
  5. package/abstract/CTX.d.ts +30 -0
  6. package/abstract/CTX.d.ts.map +1 -0
  7. package/abstract/LocaleManager.d.ts +38 -0
  8. package/abstract/LocaleManager.d.ts.map +1 -0
  9. package/abstract/ModalManager.d.ts +122 -0
  10. package/abstract/ModalManager.d.ts.map +1 -0
  11. package/abstract/SecureUploadsManager.d.ts +22 -0
  12. package/abstract/SecureUploadsManager.d.ts.map +1 -0
  13. package/abstract/SolutionBlock.d.ts +22 -0
  14. package/abstract/SolutionBlock.d.ts.map +1 -0
  15. package/abstract/TypedCollection.d.ts +127 -0
  16. package/abstract/TypedCollection.d.ts.map +1 -0
  17. package/abstract/TypedData.d.ts +93 -0
  18. package/abstract/TypedData.d.ts.map +1 -0
  19. package/abstract/UploaderBlock.d.ts +117 -0
  20. package/abstract/UploaderBlock.d.ts.map +1 -0
  21. package/abstract/UploaderPublicApi.d.ts +100 -0
  22. package/abstract/UploaderPublicApi.d.ts.map +1 -0
  23. package/abstract/ValidationManager.d.ts +150 -0
  24. package/abstract/ValidationManager.d.ts.map +1 -0
  25. package/abstract/a11y.d.ts +20 -0
  26. package/abstract/a11y.d.ts.map +1 -0
  27. package/abstract/buildOutputCollectionState.d.ts +8 -0
  28. package/abstract/buildOutputCollectionState.d.ts.map +1 -0
  29. package/abstract/defineComponents.d.ts +5 -0
  30. package/abstract/defineComponents.d.ts.map +1 -0
  31. package/abstract/l10nProcessor.d.ts +7 -0
  32. package/abstract/l10nProcessor.d.ts.map +1 -0
  33. package/abstract/loadFileUploaderFrom.d.ts +8 -0
  34. package/abstract/loadFileUploaderFrom.d.ts.map +1 -0
  35. package/abstract/localeRegistry.d.ts +5 -0
  36. package/abstract/localeRegistry.d.ts.map +1 -0
  37. package/abstract/sharedConfigKey.d.ts +2 -0
  38. package/abstract/sharedConfigKey.d.ts.map +1 -0
  39. package/abstract/testModeProcessor.d.ts +7 -0
  40. package/abstract/testModeProcessor.d.ts.map +1 -0
  41. package/abstract/uploadEntrySchema.d.ts +126 -0
  42. package/abstract/uploadEntrySchema.d.ts.map +1 -0
  43. package/blocks/ActivityHeader/ActivityHeader.d.ts +4 -0
  44. package/blocks/ActivityHeader/ActivityHeader.d.ts.map +1 -0
  45. package/blocks/CameraSource/CameraSource.d.ts +176 -0
  46. package/blocks/CameraSource/CameraSource.d.ts.map +1 -0
  47. package/blocks/CameraSource/calcCameraModes.d.ts +5 -0
  48. package/blocks/CameraSource/calcCameraModes.d.ts.map +1 -0
  49. package/blocks/CameraSource/constants.d.ts +16 -0
  50. package/blocks/CameraSource/constants.d.ts.map +1 -0
  51. package/blocks/CloudImageEditor/index.d.ts +2 -0
  52. package/blocks/CloudImageEditor/index.d.ts.map +1 -0
  53. package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +58 -0
  54. package/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts.map +1 -0
  55. package/blocks/CloudImageEditor/src/CropFrame.d.ts +158 -0
  56. package/blocks/CloudImageEditor/src/CropFrame.d.ts.map +1 -0
  57. package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +10 -0
  58. package/blocks/CloudImageEditor/src/EditorButtonControl.d.ts.map +1 -0
  59. package/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +6 -0
  60. package/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts.map +1 -0
  61. package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +18 -0
  62. package/blocks/CloudImageEditor/src/EditorFilterControl.d.ts.map +1 -0
  63. package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +106 -0
  64. package/blocks/CloudImageEditor/src/EditorImageCropper.d.ts.map +1 -0
  65. package/blocks/CloudImageEditor/src/EditorImageFader.d.ts +132 -0
  66. package/blocks/CloudImageEditor/src/EditorImageFader.d.ts.map +1 -0
  67. package/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +9 -0
  68. package/blocks/CloudImageEditor/src/EditorOperationControl.d.ts.map +1 -0
  69. package/blocks/CloudImageEditor/src/EditorScroller.d.ts +7 -0
  70. package/blocks/CloudImageEditor/src/EditorScroller.d.ts.map +1 -0
  71. package/blocks/CloudImageEditor/src/EditorSlider.d.ts +24 -0
  72. package/blocks/CloudImageEditor/src/EditorSlider.d.ts.map +1 -0
  73. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts +109 -0
  74. package/blocks/CloudImageEditor/src/EditorToolbar.d.ts.map +1 -0
  75. package/blocks/CloudImageEditor/src/crop-utils.d.ts +123 -0
  76. package/blocks/CloudImageEditor/src/crop-utils.d.ts.map +1 -0
  77. package/blocks/CloudImageEditor/src/cropper-constants.d.ts +11 -0
  78. package/blocks/CloudImageEditor/src/cropper-constants.d.ts.map +1 -0
  79. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +21 -0
  80. package/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts.map +1 -0
  81. package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +11 -0
  82. package/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts.map +1 -0
  83. package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +17 -0
  84. package/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts.map +1 -0
  85. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +16 -0
  86. package/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts.map +1 -0
  87. package/blocks/CloudImageEditor/src/index.d.ts +15 -0
  88. package/blocks/CloudImageEditor/src/index.d.ts.map +1 -0
  89. package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts +15 -0
  90. package/blocks/CloudImageEditor/src/lib/FocusVisible.d.ts.map +1 -0
  91. package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts +10 -0
  92. package/blocks/CloudImageEditor/src/lib/applyFocusVisiblePolyfill.d.ts.map +1 -0
  93. package/blocks/CloudImageEditor/src/lib/classNames.d.ts +3 -0
  94. package/blocks/CloudImageEditor/src/lib/classNames.d.ts.map +1 -0
  95. package/blocks/CloudImageEditor/src/lib/linspace.d.ts +8 -0
  96. package/blocks/CloudImageEditor/src/lib/linspace.d.ts.map +1 -0
  97. package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +2 -0
  98. package/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts.map +1 -0
  99. package/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +2 -0
  100. package/blocks/CloudImageEditor/src/lib/parseTabs.d.ts.map +1 -0
  101. package/blocks/CloudImageEditor/src/lib/pick.d.ts +7 -0
  102. package/blocks/CloudImageEditor/src/lib/pick.d.ts.map +1 -0
  103. package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +14 -0
  104. package/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts.map +1 -0
  105. package/blocks/CloudImageEditor/src/state.d.ts +38 -0
  106. package/blocks/CloudImageEditor/src/state.d.ts.map +1 -0
  107. package/blocks/CloudImageEditor/src/svg-sprite.d.ts +3 -0
  108. package/blocks/CloudImageEditor/src/svg-sprite.d.ts.map +1 -0
  109. package/blocks/CloudImageEditor/src/template.d.ts +2 -0
  110. package/blocks/CloudImageEditor/src/template.d.ts.map +1 -0
  111. package/blocks/CloudImageEditor/src/toolbar-constants.d.ts +58 -0
  112. package/blocks/CloudImageEditor/src/toolbar-constants.d.ts.map +1 -0
  113. package/blocks/CloudImageEditor/src/types.d.ts +64 -0
  114. package/blocks/CloudImageEditor/src/types.d.ts.map +1 -0
  115. package/blocks/CloudImageEditor/src/util.d.ts +2 -0
  116. package/blocks/CloudImageEditor/src/util.d.ts.map +1 -0
  117. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +29 -0
  118. package/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts.map +1 -0
  119. package/blocks/CloudImageEditorActivity/test.d.ts +2 -0
  120. package/blocks/CloudImageEditorActivity/test.d.ts.map +1 -0
  121. package/blocks/Config/Config.d.ts +60 -0
  122. package/blocks/Config/Config.d.ts.map +1 -0
  123. package/blocks/Config/assertions.d.ts +5 -0
  124. package/blocks/Config/assertions.d.ts.map +1 -0
  125. package/blocks/Config/initialConfig.d.ts +6 -0
  126. package/blocks/Config/initialConfig.d.ts.map +1 -0
  127. package/blocks/Config/normalizeConfigValue.d.ts +2 -0
  128. package/blocks/Config/normalizeConfigValue.d.ts.map +1 -0
  129. package/blocks/Config/side-effects.d.ts +7 -0
  130. package/blocks/Config/side-effects.d.ts.map +1 -0
  131. package/blocks/Config/validatorsType.d.ts +37 -0
  132. package/blocks/Config/validatorsType.d.ts.map +1 -0
  133. package/blocks/Copyright/Copyright.d.ts +4 -0
  134. package/blocks/Copyright/Copyright.d.ts.map +1 -0
  135. package/blocks/DropArea/DropArea.d.ts +49 -0
  136. package/blocks/DropArea/DropArea.d.ts.map +1 -0
  137. package/blocks/DropArea/addDropzone.d.ts +21 -0
  138. package/blocks/DropArea/addDropzone.d.ts.map +1 -0
  139. package/blocks/DropArea/getDropItems.d.ts +16 -0
  140. package/blocks/DropArea/getDropItems.d.ts.map +1 -0
  141. package/blocks/ExternalSource/ExternalSource.d.ts +78 -0
  142. package/blocks/ExternalSource/ExternalSource.d.ts.map +1 -0
  143. package/blocks/ExternalSource/MessageBridge.d.ts +20 -0
  144. package/blocks/ExternalSource/MessageBridge.d.ts.map +1 -0
  145. package/blocks/ExternalSource/buildThemeDefinition.d.ts +3 -0
  146. package/blocks/ExternalSource/buildThemeDefinition.d.ts.map +1 -0
  147. package/blocks/ExternalSource/query-string.d.ts +8 -0
  148. package/blocks/ExternalSource/query-string.d.ts.map +1 -0
  149. package/blocks/ExternalSource/types.d.ts +105 -0
  150. package/blocks/ExternalSource/types.d.ts.map +1 -0
  151. package/blocks/FileItem/FileItem.d.ts +76 -0
  152. package/blocks/FileItem/FileItem.d.ts.map +1 -0
  153. package/blocks/FileItem/FileItemConfig.d.ts +28 -0
  154. package/blocks/FileItem/FileItemConfig.d.ts.map +1 -0
  155. package/blocks/FormInput/FormInput.d.ts +7 -0
  156. package/blocks/FormInput/FormInput.d.ts.map +1 -0
  157. package/blocks/Icon/Icon.d.ts +11 -0
  158. package/blocks/Icon/Icon.d.ts.map +1 -0
  159. package/blocks/Img/Img.d.ts +4 -0
  160. package/blocks/Img/Img.d.ts.map +1 -0
  161. package/blocks/Img/ImgBase.d.ts +80 -0
  162. package/blocks/Img/ImgBase.d.ts.map +1 -0
  163. package/blocks/Img/ImgConfig.d.ts +31 -0
  164. package/blocks/Img/ImgConfig.d.ts.map +1 -0
  165. package/blocks/Img/configurations.d.ts +12 -0
  166. package/blocks/Img/configurations.d.ts.map +1 -0
  167. package/blocks/Img/props-map.d.ts +29 -0
  168. package/blocks/Img/props-map.d.ts.map +1 -0
  169. package/blocks/Img/utils/parseObjectToString.d.ts +2 -0
  170. package/blocks/Img/utils/parseObjectToString.d.ts.map +1 -0
  171. package/blocks/Modal/Modal.d.ts +43 -0
  172. package/blocks/Modal/Modal.d.ts.map +1 -0
  173. package/blocks/ProgressBar/ProgressBar.d.ts +17 -0
  174. package/blocks/ProgressBar/ProgressBar.d.ts.map +1 -0
  175. package/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +8 -0
  176. package/blocks/ProgressBarCommon/ProgressBarCommon.d.ts.map +1 -0
  177. package/blocks/Range/Range.d.ts +16 -0
  178. package/blocks/Range/Range.d.ts.map +1 -0
  179. package/blocks/Select/Select.d.ts +9 -0
  180. package/blocks/Select/Select.d.ts.map +1 -0
  181. package/blocks/SimpleBtn/SimpleBtn.d.ts +25 -0
  182. package/blocks/SimpleBtn/SimpleBtn.d.ts.map +1 -0
  183. package/blocks/SourceBtn/SourceBtn.d.ts +57 -0
  184. package/blocks/SourceBtn/SourceBtn.d.ts.map +1 -0
  185. package/blocks/SourceList/SourceList.d.ts +4 -0
  186. package/blocks/SourceList/SourceList.d.ts.map +1 -0
  187. package/blocks/Spinner/Spinner.d.ts +8 -0
  188. package/blocks/Spinner/Spinner.d.ts.map +1 -0
  189. package/blocks/StartFrom/StartFrom.d.ts +7 -0
  190. package/blocks/StartFrom/StartFrom.d.ts.map +1 -0
  191. package/blocks/Thumb/Thumb.d.ts +51 -0
  192. package/blocks/Thumb/Thumb.d.ts.map +1 -0
  193. package/blocks/UploadCtxProvider/EventEmitter.d.ts +112 -0
  194. package/blocks/UploadCtxProvider/EventEmitter.d.ts.map +1 -0
  195. package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +35 -0
  196. package/blocks/UploadCtxProvider/UploadCtxProvider.d.ts.map +1 -0
  197. package/blocks/UploadList/UploadList.d.ts +60 -0
  198. package/blocks/UploadList/UploadList.d.ts.map +1 -0
  199. package/blocks/UrlSource/UrlSource.d.ts +9 -0
  200. package/blocks/UrlSource/UrlSource.d.ts.map +1 -0
  201. package/blocks/svg-backgrounds/svg-backgrounds.d.ts +17 -0
  202. package/blocks/svg-backgrounds/svg-backgrounds.d.ts.map +1 -0
  203. package/blocks/themes/uc-basic/svg-sprite.d.ts +3 -0
  204. package/blocks/themes/uc-basic/svg-sprite.d.ts.map +1 -0
  205. package/blocks/utils/UploadSource.d.ts +39 -0
  206. package/blocks/utils/UploadSource.d.ts.map +1 -0
  207. package/blocks/utils/abilities.d.ts +2 -0
  208. package/blocks/utils/abilities.d.ts.map +1 -0
  209. package/blocks/utils/comma-separated.d.ts +3 -0
  210. package/blocks/utils/comma-separated.d.ts.map +1 -0
  211. package/blocks/utils/debounce.d.ts +12 -0
  212. package/blocks/utils/debounce.d.ts.map +1 -0
  213. package/blocks/utils/preloadImage.d.ts +11 -0
  214. package/blocks/utils/preloadImage.d.ts.map +1 -0
  215. package/blocks/utils/resizeImage.d.ts +6 -0
  216. package/blocks/utils/resizeImage.d.ts.map +1 -0
  217. package/blocks/utils/throttle.d.ts +6 -0
  218. package/blocks/utils/throttle.d.ts.map +1 -0
  219. package/blocks/utils/userAgent.d.ts +6 -0
  220. package/blocks/utils/userAgent.d.ts.map +1 -0
  221. package/env.d.ts +4 -0
  222. package/env.d.ts.map +1 -0
  223. package/index.d.ts +43 -0
  224. package/index.d.ts.map +1 -0
  225. package/index.ssr.d.ts +1093 -0
  226. package/index.ssr.d.ts.map +1 -0
  227. package/index.ssr.js +30 -30
  228. package/locales/file-uploader/ar.d.ts +134 -0
  229. package/locales/file-uploader/ar.d.ts.map +1 -0
  230. package/locales/file-uploader/ar.js +1 -0
  231. package/locales/file-uploader/az.d.ts +126 -0
  232. package/locales/file-uploader/az.d.ts.map +1 -0
  233. package/locales/file-uploader/az.js +1 -0
  234. package/locales/file-uploader/ca.d.ts +128 -0
  235. package/locales/file-uploader/ca.d.ts.map +1 -0
  236. package/locales/file-uploader/ca.js +1 -0
  237. package/locales/file-uploader/cs.d.ts +130 -0
  238. package/locales/file-uploader/cs.d.ts.map +1 -0
  239. package/locales/file-uploader/cs.js +1 -0
  240. package/locales/file-uploader/da.d.ts +126 -0
  241. package/locales/file-uploader/da.d.ts.map +1 -0
  242. package/locales/file-uploader/da.js +1 -0
  243. package/locales/file-uploader/de.d.ts +126 -0
  244. package/locales/file-uploader/de.d.ts.map +1 -0
  245. package/locales/file-uploader/de.js +1 -0
  246. package/locales/file-uploader/el.d.ts +126 -0
  247. package/locales/file-uploader/el.d.ts.map +1 -0
  248. package/locales/file-uploader/el.js +1 -0
  249. package/locales/file-uploader/en.d.ts +126 -0
  250. package/locales/file-uploader/en.d.ts.map +1 -0
  251. package/locales/file-uploader/en.js +1 -0
  252. package/locales/file-uploader/es.d.ts +128 -0
  253. package/locales/file-uploader/es.d.ts.map +1 -0
  254. package/locales/file-uploader/es.js +1 -0
  255. package/locales/file-uploader/et.d.ts +126 -0
  256. package/locales/file-uploader/et.d.ts.map +1 -0
  257. package/locales/file-uploader/et.js +1 -0
  258. package/locales/file-uploader/fi.d.ts +126 -0
  259. package/locales/file-uploader/fi.d.ts.map +1 -0
  260. package/locales/file-uploader/fi.js +1 -0
  261. package/locales/file-uploader/fr.d.ts +128 -0
  262. package/locales/file-uploader/fr.d.ts.map +1 -0
  263. package/locales/file-uploader/fr.js +1 -0
  264. package/locales/file-uploader/he.d.ts +128 -0
  265. package/locales/file-uploader/he.d.ts.map +1 -0
  266. package/locales/file-uploader/he.js +1 -0
  267. package/locales/file-uploader/hy.d.ts +126 -0
  268. package/locales/file-uploader/hy.d.ts.map +1 -0
  269. package/locales/file-uploader/hy.js +1 -0
  270. package/locales/file-uploader/is.d.ts +126 -0
  271. package/locales/file-uploader/is.d.ts.map +1 -0
  272. package/locales/file-uploader/is.js +1 -0
  273. package/locales/file-uploader/it.d.ts +128 -0
  274. package/locales/file-uploader/it.d.ts.map +1 -0
  275. package/locales/file-uploader/it.js +1 -0
  276. package/locales/file-uploader/ja.d.ts +126 -0
  277. package/locales/file-uploader/ja.d.ts.map +1 -0
  278. package/locales/file-uploader/ja.js +1 -0
  279. package/locales/file-uploader/ka.d.ts +126 -0
  280. package/locales/file-uploader/ka.d.ts.map +1 -0
  281. package/locales/file-uploader/ka.js +1 -0
  282. package/locales/file-uploader/kk.d.ts +126 -0
  283. package/locales/file-uploader/kk.d.ts.map +1 -0
  284. package/locales/file-uploader/kk.js +1 -0
  285. package/locales/file-uploader/ko.d.ts +126 -0
  286. package/locales/file-uploader/ko.d.ts.map +1 -0
  287. package/locales/file-uploader/ko.js +1 -0
  288. package/locales/file-uploader/lv.d.ts +128 -0
  289. package/locales/file-uploader/lv.d.ts.map +1 -0
  290. package/locales/file-uploader/lv.js +1 -0
  291. package/locales/file-uploader/nb.d.ts +126 -0
  292. package/locales/file-uploader/nb.d.ts.map +1 -0
  293. package/locales/file-uploader/nb.js +1 -0
  294. package/locales/file-uploader/nl.d.ts +126 -0
  295. package/locales/file-uploader/nl.d.ts.map +1 -0
  296. package/locales/file-uploader/nl.js +1 -0
  297. package/locales/file-uploader/pl.d.ts +130 -0
  298. package/locales/file-uploader/pl.d.ts.map +1 -0
  299. package/locales/file-uploader/pl.js +1 -0
  300. package/locales/file-uploader/pt.d.ts +128 -0
  301. package/locales/file-uploader/pt.d.ts.map +1 -0
  302. package/locales/file-uploader/pt.js +1 -0
  303. package/locales/file-uploader/ro.d.ts +128 -0
  304. package/locales/file-uploader/ro.d.ts.map +1 -0
  305. package/locales/file-uploader/ro.js +1 -0
  306. package/locales/file-uploader/ru.d.ts +130 -0
  307. package/locales/file-uploader/ru.d.ts.map +1 -0
  308. package/locales/file-uploader/ru.js +1 -0
  309. package/locales/file-uploader/sk.d.ts +130 -0
  310. package/locales/file-uploader/sk.d.ts.map +1 -0
  311. package/locales/file-uploader/sk.js +1 -0
  312. package/locales/file-uploader/sr.d.ts +128 -0
  313. package/locales/file-uploader/sr.d.ts.map +1 -0
  314. package/locales/file-uploader/sr.js +1 -0
  315. package/locales/file-uploader/sv.d.ts +126 -0
  316. package/locales/file-uploader/sv.d.ts.map +1 -0
  317. package/locales/file-uploader/sv.js +1 -0
  318. package/locales/file-uploader/tr.d.ts +126 -0
  319. package/locales/file-uploader/tr.d.ts.map +1 -0
  320. package/locales/file-uploader/tr.js +1 -0
  321. package/locales/file-uploader/uk.d.ts +130 -0
  322. package/locales/file-uploader/uk.d.ts.map +1 -0
  323. package/locales/file-uploader/uk.js +1 -0
  324. package/locales/file-uploader/vi.d.ts +126 -0
  325. package/locales/file-uploader/vi.d.ts.map +1 -0
  326. package/locales/file-uploader/vi.js +1 -0
  327. package/locales/file-uploader/zh-TW.d.ts +126 -0
  328. package/locales/file-uploader/zh-TW.d.ts.map +1 -0
  329. package/locales/file-uploader/zh-TW.js +1 -0
  330. package/locales/file-uploader/zh.d.ts +126 -0
  331. package/locales/file-uploader/zh.d.ts.map +1 -0
  332. package/locales/file-uploader/zh.js +1 -0
  333. package/package.json +1 -1
  334. package/solutions/adaptive-image/index.d.ts +3 -0
  335. package/solutions/adaptive-image/index.d.ts.map +1 -0
  336. package/solutions/cloud-image-editor/CloudImageEditor.d.ts +4 -0
  337. package/solutions/cloud-image-editor/CloudImageEditor.d.ts.map +1 -0
  338. package/solutions/cloud-image-editor/index.d.ts +6 -0
  339. package/solutions/cloud-image-editor/index.d.ts.map +1 -0
  340. package/solutions/file-uploader/inline/FileUploaderInline.d.ts +26 -0
  341. package/solutions/file-uploader/inline/FileUploaderInline.d.ts.map +1 -0
  342. package/solutions/file-uploader/inline/index.d.ts +2 -0
  343. package/solutions/file-uploader/inline/index.d.ts.map +1 -0
  344. package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +42 -0
  345. package/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts.map +1 -0
  346. package/solutions/file-uploader/minimal/index.d.ts +2 -0
  347. package/solutions/file-uploader/minimal/index.d.ts.map +1 -0
  348. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts +23 -0
  349. package/solutions/file-uploader/regular/FileUploaderRegular.d.ts.map +1 -0
  350. package/solutions/file-uploader/regular/index.d.ts +2 -0
  351. package/solutions/file-uploader/regular/index.d.ts.map +1 -0
  352. package/utils/WindowHeightTracker.d.ts +24 -0
  353. package/utils/WindowHeightTracker.d.ts.map +1 -0
  354. package/utils/browser-info.d.ts +13 -0
  355. package/utils/browser-info.d.ts.map +1 -0
  356. package/utils/browser-info.test.d.ts +2 -0
  357. package/utils/browser-info.test.d.ts.map +1 -0
  358. package/utils/cdn-utils.d.ts +59 -0
  359. package/utils/cdn-utils.d.ts.map +1 -0
  360. package/utils/cdn-utils.test.d.ts +2 -0
  361. package/utils/cdn-utils.test.d.ts.map +1 -0
  362. package/utils/delay.d.ts +2 -0
  363. package/utils/delay.d.ts.map +1 -0
  364. package/utils/fileTypes.d.ts +12 -0
  365. package/utils/fileTypes.d.ts.map +1 -0
  366. package/utils/fileTypes.test.d.ts +2 -0
  367. package/utils/fileTypes.test.d.ts.map +1 -0
  368. package/utils/get-top-level-origin.d.ts +2 -0
  369. package/utils/get-top-level-origin.d.ts.map +1 -0
  370. package/utils/getLocaleDirection.d.ts +2 -0
  371. package/utils/getLocaleDirection.d.ts.map +1 -0
  372. package/utils/getPluralForm.d.ts +3 -0
  373. package/utils/getPluralForm.d.ts.map +1 -0
  374. package/utils/getPluralForm.test.d.ts +2 -0
  375. package/utils/getPluralForm.test.d.ts.map +1 -0
  376. package/utils/ifRef.d.ts +7 -0
  377. package/utils/ifRef.d.ts.map +1 -0
  378. package/utils/isSecureTokenExpired.d.ts +4 -0
  379. package/utils/isSecureTokenExpired.d.ts.map +1 -0
  380. package/utils/isSecureTokenExpired.test.d.ts +2 -0
  381. package/utils/isSecureTokenExpired.test.d.ts.map +1 -0
  382. package/utils/memoize.d.ts +2 -0
  383. package/utils/memoize.d.ts.map +1 -0
  384. package/utils/memoize.test.d.ts +2 -0
  385. package/utils/memoize.test.d.ts.map +1 -0
  386. package/utils/mixinClass.d.ts +10 -0
  387. package/utils/mixinClass.d.ts.map +1 -0
  388. package/utils/parseCdnUrl.d.ts +9 -0
  389. package/utils/parseCdnUrl.d.ts.map +1 -0
  390. package/utils/parseCdnUrl.test.d.ts +2 -0
  391. package/utils/parseCdnUrl.test.d.ts.map +1 -0
  392. package/utils/parseShrink.d.ts +5 -0
  393. package/utils/parseShrink.d.ts.map +1 -0
  394. package/utils/parseShrink.test.d.ts +2 -0
  395. package/utils/parseShrink.test.d.ts.map +1 -0
  396. package/utils/prettyBytes.d.ts +11 -0
  397. package/utils/prettyBytes.d.ts.map +1 -0
  398. package/utils/prettyBytes.test.d.ts +2 -0
  399. package/utils/prettyBytes.test.d.ts.map +1 -0
  400. package/utils/stringToArray.d.ts +2 -0
  401. package/utils/stringToArray.d.ts.map +1 -0
  402. package/utils/stringToArray.test.d.ts +2 -0
  403. package/utils/stringToArray.test.d.ts.map +1 -0
  404. package/utils/template-utils.d.ts +40 -0
  405. package/utils/template-utils.d.ts.map +1 -0
  406. package/utils/template-utils.test.d.ts +2 -0
  407. package/utils/template-utils.test.d.ts.map +1 -0
  408. package/utils/toKebabCase.d.ts +3 -0
  409. package/utils/toKebabCase.d.ts.map +1 -0
  410. package/utils/toKebabCase.test.d.ts +2 -0
  411. package/utils/toKebabCase.test.d.ts.map +1 -0
  412. package/utils/transparentPixelSrc.d.ts +2 -0
  413. package/utils/transparentPixelSrc.d.ts.map +1 -0
  414. package/utils/uniqueArray.d.ts +2 -0
  415. package/utils/uniqueArray.d.ts.map +1 -0
  416. package/utils/uniqueArray.test.d.ts +2 -0
  417. package/utils/uniqueArray.test.d.ts.map +1 -0
  418. package/utils/validators/collection/index.d.ts +3 -0
  419. package/utils/validators/collection/index.d.ts.map +1 -0
  420. package/utils/validators/collection/validateCollectionUploadError.d.ts +3 -0
  421. package/utils/validators/collection/validateCollectionUploadError.d.ts.map +1 -0
  422. package/utils/validators/collection/validateMultiple.d.ts +3 -0
  423. package/utils/validators/collection/validateMultiple.d.ts.map +1 -0
  424. package/utils/validators/file/index.d.ts +5 -0
  425. package/utils/validators/file/index.d.ts.map +1 -0
  426. package/utils/validators/file/validateFileType.d.ts +3 -0
  427. package/utils/validators/file/validateFileType.d.ts.map +1 -0
  428. package/utils/validators/file/validateIsImage.d.ts +3 -0
  429. package/utils/validators/file/validateIsImage.d.ts.map +1 -0
  430. package/utils/validators/file/validateMaxSizeLimit.d.ts +3 -0
  431. package/utils/validators/file/validateMaxSizeLimit.d.ts.map +1 -0
  432. package/utils/validators/file/validateUploadError.d.ts +3 -0
  433. package/utils/validators/file/validateUploadError.d.ts.map +1 -0
  434. package/utils/waitForAttribute.d.ts +8 -0
  435. package/utils/waitForAttribute.d.ts.map +1 -0
  436. package/utils/waitForAttribute.test.d.ts +2 -0
  437. package/utils/waitForAttribute.test.d.ts.map +1 -0
  438. package/utils/warnOnce.d.ts +3 -0
  439. package/utils/warnOnce.d.ts.map +1 -0
  440. package/utils/wildcardRegexp.d.ts +2 -0
  441. package/utils/wildcardRegexp.d.ts.map +1 -0
  442. package/utils/wildcardRegexp.test.d.ts +2 -0
  443. package/utils/wildcardRegexp.test.d.ts.map +1 -0
  444. package/web/file-uploader.iife.min.js +29 -0
  445. package/web/file-uploader.min.js +29 -0
  446. package/web/uc-basic.min.css +1 -0
  447. package/web/uc-cloud-image-editor.min.css +1 -0
  448. package/web/uc-cloud-image-editor.min.js +29 -0
  449. package/web/uc-file-uploader-inline.min.css +1 -0
  450. package/web/uc-file-uploader-inline.min.js +29 -0
  451. package/web/uc-file-uploader-minimal.min.css +1 -0
  452. package/web/uc-file-uploader-minimal.min.js +29 -0
  453. package/web/uc-file-uploader-regular.min.css +1 -0
  454. package/web/uc-file-uploader-regular.min.js +29 -0
  455. package/web/uc-img.min.js +28 -0
@@ -0,0 +1,20 @@
1
+ export class MessageBridge {
2
+ /** @param {Window} context */
3
+ constructor(context: Window);
4
+ /** @type {Map<string, Set<import('./types').InputMessageHandler<import('./types').InputMessageType>>>} */
5
+ _handlerMap: Map<string, Set<import("./types").InputMessageHandler<import("./types").InputMessageType>>>;
6
+ /** @type {Window} */
7
+ _context: Window;
8
+ /** @param {MessageEvent} e */
9
+ _handleMessage: (e: MessageEvent) => void;
10
+ /**
11
+ * @template {import('./types').InputMessageType} T
12
+ * @param {T} type
13
+ * @param {import('./types').InputMessageHandler<T>} handler
14
+ */
15
+ on<T extends import("./types").InputMessageType>(type: T, handler: import("./types").InputMessageHandler<T>): void;
16
+ /** @param {import('./types').OutputMessage} message */
17
+ send(message: import("./types").OutputMessage): void;
18
+ destroy(): void;
19
+ }
20
+ //# sourceMappingURL=MessageBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageBridge.d.ts","sourceRoot":"","sources":["MessageBridge.js"],"names":[],"mappings":"AAgBA;IAOE,8BAA8B;IAC9B,qBADY,MAAM,EAKjB;IAXD,0GAA0G;IAC1G,aADW,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,SAAS,EAAE,mBAAmB,CAAC,OAAO,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAC9E;IAExB,qBAAqB;IACrB,UADW,MAAM,CACR;IAST,8BAA8B;IAC9B,iBAAkB,GADN,YACO,UAejB;IAEF;;;;OAIG;IACH,GAJkD,CAAC,SAAtC,OAAQ,SAAS,EAAE,gBAAiB,QACtC,CAAC,WACD,OAAO,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC,QASlD;IAED,uDAAuD;IACvD,cADY,OAAO,SAAS,EAAE,aAAa,QAG1C;IAED,gBAEC;CACF"}
@@ -0,0 +1,3 @@
1
+ /** @param {HTMLElement} element */
2
+ export function buildThemeDefinition(element: HTMLElement): Record<keyof import("./types.js").ThemeDefinition, string>;
3
+ //# sourceMappingURL=buildThemeDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildThemeDefinition.d.ts","sourceRoot":"","sources":["buildThemeDefinition.js"],"names":[],"mappings":"AAqCA,mCAAmC;AACnC,8CADY,WAAW,8DAStB"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @param {{ [key: string]: string | number | boolean | null | undefined }} params
3
+ * @returns {string}
4
+ */
5
+ export function queryString(params: {
6
+ [key: string]: string | number | boolean | null | undefined;
7
+ }): string;
8
+ //# sourceMappingURL=query-string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-string.d.ts","sourceRoot":"","sources":["query-string.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oCAHW;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,GAC7D,MAAM,CAWlB"}
@@ -0,0 +1,105 @@
1
+ export type DoneSuccessResponse = {
2
+ error?: undefined;
3
+ alternatives?: Record<string, string>;
4
+ is_image?: boolean | null;
5
+ filename?: string;
6
+ obj_type: "selected_file";
7
+ url: string;
8
+ };
9
+ export type InputMessageMap = {
10
+ "selected-files-change": {
11
+ type: "selected-files-change";
12
+ total: number;
13
+ selectedCount: number;
14
+ } & ({
15
+ isReady: false;
16
+ isMultipleMode: boolean;
17
+ selectedFiles: undefined;
18
+ } | {
19
+ isReady: true;
20
+ isMultipleMode: true;
21
+ selectedFiles: DoneSuccessResponse[];
22
+ } | {
23
+ isReady: true;
24
+ isMultipleMode: false;
25
+ selectedFiles: [DoneSuccessResponse] | [];
26
+ });
27
+ };
28
+ export type InputMessageType = keyof InputMessageMap;
29
+ export type InputMessage = InputMessageMap[InputMessageType];
30
+ export type InputMessageHandler<T extends import("./types").InputMessageType> = (message: import("./types").InputMessageMap[T]) => void;
31
+ export type ThemeDefinition = {
32
+ "--uc-font-family": string;
33
+ "--uc-font-size": string;
34
+ "--uc-line-height": string;
35
+ "--uc-button-size": string;
36
+ "--uc-preview-size": string;
37
+ "--uc-input-size": string;
38
+ "--uc-padding": string;
39
+ "--uc-radius": string;
40
+ "--uc-transition": string;
41
+ "--uc-background": string;
42
+ "--uc-foreground": string;
43
+ "--uc-primary": string;
44
+ "--uc-primary-hover": string;
45
+ "--uc-primary-transparent": string;
46
+ "--uc-primary-foreground": string;
47
+ "--uc-secondary": string;
48
+ "--uc-secondary-hover": string;
49
+ "--uc-secondary-foreground": string;
50
+ "--uc-muted": string;
51
+ "--uc-muted-foreground": string;
52
+ "--uc-destructive": string;
53
+ "--uc-destructive-foreground": string;
54
+ "--uc-border": string;
55
+ "--uc-primary-rgb-light": string;
56
+ "--uc-primary-light": string;
57
+ "--uc-primary-hover-light": string;
58
+ "--uc-primary-transparent-light": string;
59
+ "--uc-background-light": string;
60
+ "--uc-foreground-light": string;
61
+ "--uc-primary-foreground-light": string;
62
+ "--uc-secondary-light": string;
63
+ "--uc-secondary-hover-light": string;
64
+ "--uc-secondary-foreground-light": string;
65
+ "--uc-muted-light": string;
66
+ "--uc-muted-foreground-light": string;
67
+ "--uc-destructive-light": string;
68
+ "--uc-destructive-foreground-light": string;
69
+ "--uc-border-light": string;
70
+ "--uc-primary-rgb-dark": string;
71
+ "--uc-primary-dark": string;
72
+ "--uc-primary-hover-dark": string;
73
+ "--uc-primary-transparent-dark": string;
74
+ "--uc-background-dark": string;
75
+ "--uc-foreground-dark": string;
76
+ "--uc-primary-foreground-dark": string;
77
+ "--uc-secondary-dark": string;
78
+ "--uc-secondary-hover-dark": string;
79
+ "--uc-secondary-foreground-dark": string;
80
+ "--uc-muted-dark": string;
81
+ "--uc-muted-foreground-dark": string;
82
+ "--uc-destructive-dark": string;
83
+ "--uc-destructive-foreground-dark": string;
84
+ "--uc-border-dark": string;
85
+ "--uc-primary-oklch-light": string;
86
+ "--uc-primary-oklch-dark": string;
87
+ };
88
+ export type OutputMessage = {
89
+ type: "select-all";
90
+ } | {
91
+ type: "deselect-all";
92
+ } | {
93
+ type: "set-theme-definition";
94
+ theme: Record<string, string>;
95
+ } | {
96
+ type: "set-locale-definition";
97
+ localeDefinition: string;
98
+ } | {
99
+ type: "set-embed-css";
100
+ css: string;
101
+ } | {
102
+ type: "set-top-level-origin";
103
+ origin: string;
104
+ };
105
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"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"}
@@ -0,0 +1,76 @@
1
+ export class FileItem extends FileItemConfig {
2
+ /** @private */
3
+ private _renderedOnce;
4
+ init$: {
5
+ uid: string;
6
+ itemName: string;
7
+ errorText: string;
8
+ hint: string;
9
+ thumbUrl: string;
10
+ progressValue: number;
11
+ progressVisible: boolean;
12
+ badgeIcon: string;
13
+ isFinished: boolean;
14
+ isFailed: boolean;
15
+ isUploading: boolean;
16
+ isFocused: boolean;
17
+ isEditable: boolean;
18
+ showFileNames: boolean;
19
+ state: symbol;
20
+ ariaLabelStatusFile: string;
21
+ onEdit: (...args: any[]) => void;
22
+ onRemove: () => void;
23
+ onUpload: () => void;
24
+ '*commonProgress': number;
25
+ '*uploadList': never[];
26
+ '*uploadQueue': import("@uploadcare/upload-client").Queue;
27
+ '*collectionErrors': ReturnType<import("../../index.js").OutputErrorCollection>[];
28
+ '*collectionState': import("../../index.js").OutputCollectionState | null;
29
+ '*groupInfo': import("@uploadcare/upload-client").UploadcareGroup | null;
30
+ '*uploadTrigger': Set<string>;
31
+ '*secureUploadsManager': import("../../abstract/SecureUploadsManager.js").SecureUploadsManager | null;
32
+ '*currentActivity': null;
33
+ '*currentActivityParams': {};
34
+ '*history': never[];
35
+ '*historyBack': null;
36
+ '*closeModal': () => void;
37
+ };
38
+ /**
39
+ * @private
40
+ * @param {IntersectionObserverEntry[]} entries
41
+ */
42
+ private _observerCallback;
43
+ _isIntersecting: boolean | undefined;
44
+ _thumbRect: DOMRectReadOnly | undefined;
45
+ /** @private */
46
+ private _calculateState;
47
+ /** @private */
48
+ private _debouncedCalculateState;
49
+ _updateHint: (...args: any[]) => void;
50
+ /**
51
+ * @private
52
+ * @param {String} id
53
+ */
54
+ private _handleEntryId;
55
+ /** @param {boolean} value */
56
+ _updateShowFileNames(value: boolean): void;
57
+ _handleState: (...args: any[]) => void;
58
+ /** @private */
59
+ private _observer;
60
+ _settingsOfShrink(): {
61
+ size: number;
62
+ quality: number | undefined;
63
+ };
64
+ /**
65
+ * @private
66
+ * @param {File} file
67
+ */
68
+ private _processShrink;
69
+ upload: (...args: any[]) => Promise<void>;
70
+ }
71
+ export namespace FileItem {
72
+ let template: string;
73
+ let activeInstances: Set<any>;
74
+ }
75
+ import { FileItemConfig } from './FileItemConfig.js';
76
+ //# sourceMappingURL=FileItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["FileItem.js"],"names":[],"mappings":"AAiBA;IAIE,eAAe;IACf,sBAAsB;IAKpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+BC;IAQH;;;OAGG;IACH,0BAUC;IAPC,qCAA2C;IAC3C,wCAA0C;IAQ5C,eAAe;IACf,wBAYG;IAEH,eAAe;IACf,iCAA0E;IAE1E,sCA4BE;IAEF;;;OAGG;IACH,uBAqCC;IAED,6BAA6B;IAC7B,4BADY,OAAO,QASlB;IAgDD,uCA+BE;IAaA,eAAe;IACf,kBAEE;IAUJ;;;MAEC;IAED;;;OAGG;IACH,uBAEC;IAED,0CAwGG;CACJ;;;;;+BA5Y8B,qBAAqB"}
@@ -0,0 +1,28 @@
1
+ export class FileItemConfig extends UploaderBlock {
2
+ /** @protected */
3
+ protected _entrySubs: Set<any>;
4
+ /**
5
+ * @type {import('../../abstract/uploadEntrySchema.js').UploadEntryTypedData | null}
6
+ * @protected
7
+ */
8
+ protected _entry: import("../../abstract/uploadEntrySchema.js").UploadEntryTypedData | null;
9
+ /**
10
+ * @template {any[]} A
11
+ * @template {(entry: import('../../abstract/uploadEntrySchema.js').UploadEntryTypedData, ...args: A) => any} T
12
+ * @param {T} fn
13
+ * @returns {(...args: A) => ReturnType<T>}
14
+ * @protected
15
+ */
16
+ protected _withEntry<A extends any[], T extends (entry: import("../../abstract/uploadEntrySchema.js").UploadEntryTypedData, ...args: A) => any>(fn: T): (...args: A) => ReturnType<T>;
17
+ /**
18
+ * @template {import('../../abstract/uploadEntrySchema.js').UploadEntryKeys} K
19
+ * @param {K} prop_
20
+ * @param {(value: import('../../abstract/uploadEntrySchema.js').UploadEntryData[K]) => void} handler_
21
+ * @protected
22
+ */
23
+ protected _subEntry: (prop_: K, handler_: (value: import("../../abstract/uploadEntrySchema.js").UploadEntryData[K]) => void) => void;
24
+ /** @protected */
25
+ protected _reset(): void;
26
+ }
27
+ import { UploaderBlock } from '../../abstract/UploaderBlock.js';
28
+ //# sourceMappingURL=FileItemConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileItemConfig.d.ts","sourceRoot":"","sources":["FileItemConfig.js"],"names":[],"mappings":"AAIA;IACE,iBAAiB;IACjB,+BAAuB;IAEvB;;;OAGG;IACH,kBAHU,OAAO,qCAAqC,EAAE,oBAAoB,GAAG,IAAI,CAGrE;IAEd;;;;;;OAMG;IACH,qBANqB,CAAC,SAAR,GAAG,EAAG,EAC0F,CAAC,SAAlG,CAAE,KAAK,EAAE,OAAO,qCAAqC,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,GAAI,MAClG,CAAC,GACC,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,CAezC;IAED;;;;;OAKG;IACH,sBAAa,OAJF,CAIO,EAAE,UAHT,CAAC,KAAK,EAAE,OAAO,qCAAqC,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,IAG5D,UAgBP;IAErB,iBAAiB;IACjB,yBAOC;CAMF;8BAvE6B,iCAAiC"}
@@ -0,0 +1,7 @@
1
+ export class FormInput extends UploaderBlock {
2
+ _createValidationInput(): HTMLInputElement;
3
+ _validationInputElement: HTMLInputElement | null | undefined;
4
+ _dynamicInputsContainer: HTMLDivElement | undefined;
5
+ }
6
+ import { UploaderBlock } from '../../abstract/UploaderBlock.js';
7
+ //# sourceMappingURL=FormInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["FormInput.js"],"names":[],"mappings":"AAIA;IAGE,2CAYC;IAKC,6DAA4D;IAQpD,oDAA4D;CA2DvE;8BAzF6B,iCAAiC"}
@@ -0,0 +1,11 @@
1
+ export class Icon extends Block {
2
+ init$: {
3
+ name: string;
4
+ href: string;
5
+ };
6
+ }
7
+ export namespace Icon {
8
+ let template: string;
9
+ }
10
+ import { Block } from '../../abstract/Block.js';
11
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["Icon.js"],"names":[],"mappings":"AAGA;IAII;;;MAIC;CAqBJ;;;;sBA/BqB,yBAAyB"}
@@ -0,0 +1,4 @@
1
+ export class Img extends ImgBase {
2
+ }
3
+ import { ImgBase } from './ImgBase.js';
4
+ //# sourceMappingURL=Img.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["Img.js"],"names":[],"mappings":"AAEA;CAkBC;wBApBuB,cAAc"}
@@ -0,0 +1,80 @@
1
+ export class ImgBase extends ImgConfig {
2
+ _img: HTMLImageElement;
3
+ _imgPreview: HTMLImageElement;
4
+ /**
5
+ * @private
6
+ * @param {String} src
7
+ */
8
+ private _fmtAbs;
9
+ /**
10
+ * Validate size
11
+ *
12
+ * @param {String} [size]
13
+ * @returns {String | Number}
14
+ */
15
+ _validateSize(size?: string): string | number;
16
+ /**
17
+ * Image operations
18
+ *
19
+ * @param {String} [size]
20
+ * @param {String} [blur]
21
+ */
22
+ _getCdnModifiers(size?: string, blur?: string): string;
23
+ /**
24
+ * @private
25
+ * @param {String} [size]
26
+ * @param {String} [blur]
27
+ * @returns {any}
28
+ */
29
+ private _getUrlBase;
30
+ /**
31
+ * @private
32
+ * @param {String} url
33
+ * @returns {String}
34
+ */
35
+ private _proxyUrl;
36
+ /**
37
+ * @param {HTMLElement} el
38
+ * @param {Number} [k]
39
+ * @param {Boolean} [wOnly]
40
+ */
41
+ _getElSize(el: HTMLElement, k?: number, wOnly?: boolean): string | null;
42
+ /** @param {HTMLImageElement} img */
43
+ _setupEventProxy(img: HTMLImageElement): void;
44
+ /** @type {HTMLImageElement} */
45
+ get img(): HTMLImageElement;
46
+ get currentImg(): {
47
+ type: "PREVIEW";
48
+ img: HTMLImageElement;
49
+ } | {
50
+ type: "MAIN";
51
+ img: HTMLImageElement;
52
+ };
53
+ get hasPreviewImage(): any;
54
+ get bgSelector(): any;
55
+ get breakpoints(): number[] | null;
56
+ get hasFormatJPG(): boolean;
57
+ /** @param {HTMLElement} el */
58
+ renderBg(el: HTMLElement): void;
59
+ getSrcset(): string;
60
+ getSrc(): any;
61
+ get srcUrlPreview(): any;
62
+ renderBackground(): void;
63
+ _appendURL({ elNode, src, srcset }: {
64
+ elNode: any;
65
+ src: any;
66
+ srcset: any;
67
+ }): void;
68
+ _setupConfigForImage({ elNode }: {
69
+ elNode: any;
70
+ }): void;
71
+ loaderImage({ src, srcset, elNode }: {
72
+ src: any;
73
+ srcset: any;
74
+ elNode: any;
75
+ }): Promise<any>;
76
+ renderImage(): Promise<void>;
77
+ init(): void;
78
+ }
79
+ import { ImgConfig } from './ImgConfig.js';
80
+ //# sourceMappingURL=ImgBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImgBase.d.ts","sourceRoot":"","sources":["ImgBase.js"],"names":[],"mappings":"AAgBA;IACE,uBAAmB;IACnB,8BAA0B;IAE1B;;;OAGG;IACH,gBAMC;IAED;;;;;OAKG;IACH,8BAFa,eAAe,CAoB3B;IAED;;;;;OAKG;IACH,uDAWC;IAED;;;;;OAKG;IACH,oBA6DC;IAED;;;;OAIG;IACH,kBAUC;IAED;;;;OAIG;IACH,eAJW,WAAW,8CAcrB;IAED,oCAAoC;IACpC,sBADY,gBAAgB,QAY3B;IAED,+BAA+B;IAC/B,WADW,gBAAgB,CAO1B;IAED;;;;;;MAUC;IAED,2BAEC;IAED,sBAEC;IAED,mCAOC;IAED,4BAEC;IAED,8BAA8B;IAC9B,aADY,WAAW,QAgBtB;IAED,oBAsBC;IAED,cAEC;IAED,yBAEC;IAED,yBAUC;IAED;;;;aAQC;IAED;;aAGC;IAED;;;;qBAqBC;IAED,6BA8DC;IAED,aAMC;CACF;0BAlZyB,gBAAgB"}
@@ -0,0 +1,31 @@
1
+ export class ImgConfig extends BaseComponent<any> {
2
+ static get observedAttributes(): string[];
3
+ constructor();
4
+ cssInit$: any;
5
+ /**
6
+ * @param {String} key
7
+ * @returns {any}
8
+ */
9
+ $$(key: string): any;
10
+ /** @param {Object<String, String | Number>} kvObj */
11
+ set$$(kvObj: any): void;
12
+ /**
13
+ * @param {String} key
14
+ * @param {(val: any) => void} kbFn
15
+ */
16
+ sub$$(key: string, kbFn: (val: any) => void): void;
17
+ analyticsParams(): string;
18
+ initAttributes(el: any): void;
19
+ /**
20
+ * @param {HTMLElement} el
21
+ * @param {() => void} cbkFn
22
+ */
23
+ initIntersection(el: HTMLElement, cbkFn: () => void): void;
24
+ /** @private */
25
+ private _isnObserver;
26
+ /** @private */
27
+ private _observed;
28
+ attributeChangedCallback(name: any, oldVal: any, newVal: any): void;
29
+ }
30
+ import { BaseComponent } from '@symbiotejs/symbiote';
31
+ //# sourceMappingURL=ImgConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImgConfig.d.ts","sourceRoot":"","sources":["ImgConfig.js"],"names":[],"mappings":"AAUA;IAkFE,0CAEC;;IAnFD,cAAqB;IAErB;;;OAGG;IACH,iBAFa,GAAG,CAIf;IAED,qDAAqD;IACrD,wBAIC;IAED;;;OAGG;IACH,yBAFW,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,QAW5B;IAED,0BAEC;IAED,8BAMC;IAED;;;OAGG;IACH,qBAHW,WAAW,SACX,MAAM,IAAI,QAsBpB;IAfC,eAAe;IACf,qBAOQ;IAGN,eAAe;IACf,kBAA0B;IAoB9B,oEAIC;CACF;8BArGmC,sBAAsB"}
@@ -0,0 +1,12 @@
1
+ export const CSS_PREF: "--uc-img-";
2
+ export const UNRESOLVED_ATTR: "unresolved";
3
+ export const HI_RES_K: 2;
4
+ export const ULTRA_RES_K: 3;
5
+ export const DEV_MODE: boolean;
6
+ export const MAX_WIDTH: 3000;
7
+ export const MAX_WIDTH_JPG: 5000;
8
+ export const ImgTypeEnum: Readonly<{
9
+ PREVIEW: "PREVIEW";
10
+ MAIN: "MAIN";
11
+ }>;
12
+ //# sourceMappingURL=configurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurations.d.ts","sourceRoot":"","sources":["configurations.js"],"names":[],"mappings":"AAAA,uBAAwB,WAAW,CAAC;AACpC,8BAA+B,YAAY,CAAC;AAC5C,uBAAwB,CAAC,CAAC;AAC1B,0BAA2B,CAAC,CAAC;AAC7B,+BACuH;AAEvH,wBAAyB,IAAI,CAAC;AAC9B,4BAA6B,IAAI,CAAC;AAElC;;;GAGG"}
@@ -0,0 +1,29 @@
1
+ export const PROPS_MAP: Readonly<{
2
+ 'dev-mode': {};
3
+ pubkey: {};
4
+ uuid: {};
5
+ src: {};
6
+ lazy: {
7
+ default: number;
8
+ };
9
+ intersection: {};
10
+ breakpoints: {};
11
+ 'cdn-cname': {
12
+ default: string;
13
+ };
14
+ 'proxy-cname': {};
15
+ 'secure-delivery-proxy': {};
16
+ 'hi-res-support': {
17
+ default: number;
18
+ };
19
+ 'ultra-res-support': {};
20
+ format: {};
21
+ 'cdn-operations': {};
22
+ progressive: {};
23
+ quality: {};
24
+ 'is-background-for': {};
25
+ 'is-preview-blur': {
26
+ default: number;
27
+ };
28
+ }>;
29
+ //# sourceMappingURL=props-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props-map.d.ts","sourceRoot":"","sources":["props-map.js"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG"}
@@ -0,0 +1,2 @@
1
+ export function parseObjectToString(params: any): any[];
2
+ //# sourceMappingURL=parseObjectToString.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseObjectToString.d.ts","sourceRoot":"","sources":["parseObjectToString.js"],"names":[],"mappings":"AAAO,wDAYD"}
@@ -0,0 +1,43 @@
1
+ export class Modal extends Block {
2
+ static StateConsumerScope: string;
3
+ init$: {
4
+ closeClicked: () => void;
5
+ };
6
+ _handleBackdropClick: () => void;
7
+ _closeDialog: () => void;
8
+ _handleDialogClose: () => void;
9
+ /** @param {Event} e */
10
+ _handleDialogMouseDown: (e: Event) => void;
11
+ /** @private */
12
+ private _mouseDownTarget;
13
+ /** @param {Event} e */
14
+ _handleDialogMouseUp: (e: Event) => void;
15
+ show(): void;
16
+ hide(): void;
17
+ /**
18
+ * @private
19
+ * @type {import('../../abstract/ModalManager.js').ModalCb}
20
+ */
21
+ private _handleModalOpen;
22
+ /**
23
+ * @private
24
+ * @type {import('../../abstract/ModalManager.js').ModalCb}
25
+ */
26
+ private _handleModalClose;
27
+ /** @private */
28
+ private _handleModalCloseAll;
29
+ handleModalOpen: ((data: {
30
+ id: import("../../abstract/ModalManager.js").ModalId;
31
+ modal: import("../../abstract/ModalManager.js").ModalNode;
32
+ }) => void) | undefined;
33
+ handleModalClose: ((data: {
34
+ id: import("../../abstract/ModalManager.js").ModalId;
35
+ modal: import("../../abstract/ModalManager.js").ModalNode;
36
+ }) => void) | undefined;
37
+ handleModalCloseAll: (() => void) | undefined;
38
+ }
39
+ export namespace Modal {
40
+ let template: string;
41
+ }
42
+ import { Block } from '../../abstract/Block.js';
43
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["Modal.js"],"names":[],"mappings":"AAQA;IAEE,kCAAoC;IAIlC;;MAGC;IAGH,iCAEE;IAEF,yBAME;IAEF,+BAEE;IAEF,uBAAuB;IACvB,yBAA0B,GADd,KACe,UAGzB;IAFA,eAAe;IACf,yBAAgC;IAGlC,uBAAuB;IACvB,uBAAwB,GADZ,KACa,UAIvB;IAEF,aAWC;IAED,aAOC;IAED;;;OAGG;IACH,yBASC;IAED;;;OAGG;IACH,0BAUC;IAED,eAAe;IACf,6BAUC;IAmBC;;;4BAAuD;IACvD;;;4BAAyD;IACzD,8CAA+D;CAmBlE;;;;sBAxJqB,yBAAyB"}
@@ -0,0 +1,17 @@
1
+ export class ProgressBar extends Block {
2
+ /** @type {Number} */
3
+ _value: number;
4
+ /** @type {Number} */
5
+ _prevValue: number;
6
+ /** @type {Boolean} */
7
+ _visible: boolean;
8
+ init$: {
9
+ width: number;
10
+ opacity: number;
11
+ };
12
+ }
13
+ export namespace ProgressBar {
14
+ let template: string;
15
+ }
16
+ import { Block } from '../../abstract/Block.js';
17
+ //# sourceMappingURL=ProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["ProgressBar.js"],"names":[],"mappings":"AAGA;IACE,qBAAqB;IACrB,eAAW;IAEX,qBAAqB;IACrB,mBAAe;IAEf,sBAAsB;IACtB,kBAAgB;IAId;;;MAIC;CAqCJ;;;;sBAvDqB,yBAAyB"}
@@ -0,0 +1,8 @@
1
+ export class ProgressBarCommon extends UploaderBlock {
2
+ init$: any;
3
+ }
4
+ export namespace ProgressBarCommon {
5
+ let template: string;
6
+ }
7
+ import { UploaderBlock } from '../../abstract/UploaderBlock.js';
8
+ //# sourceMappingURL=ProgressBarCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBarCommon.d.ts","sourceRoot":"","sources":["ProgressBarCommon.js"],"names":[],"mappings":"AAEA;IACE,WAME;CAgCH;;;;8BAzC6B,iCAAiC"}
@@ -0,0 +1,16 @@
1
+ export class Range extends BaseComponent<any> {
2
+ constructor();
3
+ init$: {
4
+ cssLeft: string;
5
+ barActive: boolean;
6
+ value: number;
7
+ onChange: (e: any) => void;
8
+ };
9
+ /** @type {HTMLInputElement} */
10
+ _range: HTMLInputElement | undefined;
11
+ }
12
+ export namespace Range {
13
+ let template: string;
14
+ }
15
+ import { BaseComponent } from '@symbiotejs/symbiote';
16
+ //# sourceMappingURL=Range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["Range.js"],"names":[],"mappings":"AAEA;;IACE;;;;;MAUE;IAIA,+BAA+B;IAC/B,qCAA4B;CAe/B;;;;8BAjC6B,sBAAsB"}
@@ -0,0 +1,9 @@
1
+ export class Select extends Block {
2
+ init$: any;
3
+ value: any;
4
+ }
5
+ export namespace Select {
6
+ let template: string;
7
+ }
8
+ import { Block } from '../../abstract/Block.js';
9
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["Select.js"],"names":[],"mappings":"AAEA;IACE,WAeE;IAPE,WAAkC;CAqBvC;;;;sBAhCqB,yBAAyB"}
@@ -0,0 +1,25 @@
1
+ export class SimpleBtn extends UploaderBlock {
2
+ init$: {
3
+ withDropZone: boolean;
4
+ onClick: () => void;
5
+ 'button-text': string;
6
+ '*commonProgress': number;
7
+ '*uploadList': never[];
8
+ '*uploadQueue': import("@uploadcare/upload-client").Queue;
9
+ '*collectionErrors': ReturnType<import("../../index.js").OutputErrorCollection>[];
10
+ '*collectionState': import("../../index.js").OutputCollectionState | null;
11
+ '*groupInfo': import("@uploadcare/upload-client").UploadcareGroup | null;
12
+ '*uploadTrigger': Set<string>;
13
+ '*secureUploadsManager': import("../../abstract/SecureUploadsManager.js").SecureUploadsManager | null;
14
+ '*currentActivity': null;
15
+ '*currentActivityParams': {};
16
+ '*history': never[];
17
+ '*historyBack': null;
18
+ '*closeModal': () => void;
19
+ };
20
+ }
21
+ export namespace SimpleBtn {
22
+ let template: string;
23
+ }
24
+ import { UploaderBlock } from '../../abstract/UploaderBlock.js';
25
+ //# sourceMappingURL=SimpleBtn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleBtn.d.ts","sourceRoot":"","sources":["SimpleBtn.js"],"names":[],"mappings":"AAIA;IAMI;;;;;;;;;;;;;;;;;MAOC;CAoBJ;;;;8BApC6B,iCAAiC"}