@uploadcare/file-uploader 1.28.0-alpha.1 → 1.28.0-alpha.666
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abstract/loadFileUploaderFrom.d.ts +4 -3
- package/dist/abstract/loadFileUploaderFrom.js +6 -7
- package/dist/env.d.ts +4 -2
- package/dist/env.js +6 -7
- package/dist/index.css +6 -9
- package/dist/index.d.ts +3099 -42
- package/dist/index.js +8 -1796
- package/dist/index.layered.css +7 -9
- package/dist/index.ssr.js +1609 -0
- package/dist/locales/file-uploader/ar.d.ts +2 -1
- package/dist/locales/file-uploader/ar.js +6 -142
- package/dist/locales/file-uploader/az.d.ts +2 -1
- package/dist/locales/file-uploader/az.js +6 -134
- package/dist/locales/file-uploader/ca.d.ts +2 -1
- package/dist/locales/file-uploader/ca.js +6 -136
- package/dist/locales/file-uploader/cs.d.ts +2 -1
- package/dist/locales/file-uploader/cs.js +6 -138
- package/dist/locales/file-uploader/da.d.ts +2 -1
- package/dist/locales/file-uploader/da.js +6 -134
- package/dist/locales/file-uploader/de.d.ts +2 -1
- package/dist/locales/file-uploader/de.js +6 -134
- package/dist/locales/file-uploader/el.d.ts +2 -1
- package/dist/locales/file-uploader/el.js +6 -134
- package/dist/locales/file-uploader/en.d.ts +2 -1
- package/dist/locales/file-uploader/en.js +6 -7
- package/dist/locales/file-uploader/es.d.ts +2 -1
- package/dist/locales/file-uploader/es.js +6 -136
- package/dist/locales/file-uploader/et.d.ts +2 -1
- package/dist/locales/file-uploader/et.js +6 -134
- package/dist/locales/file-uploader/fi.d.ts +2 -1
- package/dist/locales/file-uploader/fi.js +6 -134
- package/dist/locales/file-uploader/fr.d.ts +2 -1
- package/dist/locales/file-uploader/fr.js +6 -136
- package/dist/locales/file-uploader/he.d.ts +2 -1
- package/dist/locales/file-uploader/he.js +6 -136
- package/dist/locales/file-uploader/hy.d.ts +2 -1
- package/dist/locales/file-uploader/hy.js +6 -134
- package/dist/locales/file-uploader/is.d.ts +2 -1
- package/dist/locales/file-uploader/is.js +6 -134
- package/dist/locales/file-uploader/it.d.ts +2 -1
- package/dist/locales/file-uploader/it.js +6 -136
- package/dist/locales/file-uploader/ja.d.ts +2 -1
- package/dist/locales/file-uploader/ja.js +6 -134
- package/dist/locales/file-uploader/ka.d.ts +2 -1
- package/dist/locales/file-uploader/ka.js +6 -134
- package/dist/locales/file-uploader/kk.d.ts +2 -1
- package/dist/locales/file-uploader/kk.js +6 -134
- package/dist/locales/file-uploader/ko.d.ts +2 -1
- package/dist/locales/file-uploader/ko.js +6 -134
- package/dist/locales/file-uploader/lv.d.ts +2 -1
- package/dist/locales/file-uploader/lv.js +6 -136
- package/dist/locales/file-uploader/nb.d.ts +2 -1
- package/dist/locales/file-uploader/nb.js +6 -134
- package/dist/locales/file-uploader/nl.d.ts +2 -1
- package/dist/locales/file-uploader/nl.js +6 -134
- package/dist/locales/file-uploader/pl.d.ts +2 -1
- package/dist/locales/file-uploader/pl.js +6 -138
- package/dist/locales/file-uploader/pt.d.ts +2 -1
- package/dist/locales/file-uploader/pt.js +6 -136
- package/dist/locales/file-uploader/ro.d.ts +2 -1
- package/dist/locales/file-uploader/ro.js +6 -136
- package/dist/locales/file-uploader/ru.d.ts +2 -1
- package/dist/locales/file-uploader/ru.js +6 -138
- package/dist/locales/file-uploader/sk.d.ts +2 -1
- package/dist/locales/file-uploader/sk.js +6 -138
- package/dist/locales/file-uploader/sr.d.ts +2 -1
- package/dist/locales/file-uploader/sr.js +6 -136
- package/dist/locales/file-uploader/sv.d.ts +2 -1
- package/dist/locales/file-uploader/sv.js +6 -134
- package/dist/locales/file-uploader/tr.d.ts +2 -1
- package/dist/locales/file-uploader/tr.js +6 -134
- package/dist/locales/file-uploader/uk.d.ts +2 -1
- package/dist/locales/file-uploader/uk.js +6 -138
- package/dist/locales/file-uploader/vi.d.ts +2 -1
- package/dist/locales/file-uploader/vi.js +6 -134
- package/dist/locales/file-uploader/zh-TW.d.ts +2 -1
- package/dist/locales/file-uploader/zh-TW.js +6 -134
- package/dist/locales/file-uploader/zh.d.ts +2 -1
- package/dist/locales/file-uploader/zh.js +6 -134
- package/package.json +34 -40
- package/web/file-uploader.iife.min.d.ts +3241 -0
- package/web/file-uploader.iife.min.js +8 -697
- package/web/file-uploader.iife.min.js.LEGAL.txt +71 -0
- package/web/file-uploader.min.d.ts +3241 -0
- package/web/file-uploader.min.js +7 -1858
- package/web/file-uploader.min.js.LEGAL.txt +71 -0
- package/web/uc-basic.layered.min.css +7 -6046
- package/web/uc-basic.min.css +6 -5487
- package/web/uc-cloud-image-editor.layered.min.css +7 -1884
- package/web/uc-cloud-image-editor.min.css +6 -1675
- package/web/uc-cloud-image-editor.min.d.ts +3198 -0
- package/web/uc-cloud-image-editor.min.js +7 -456
- package/web/uc-cloud-image-editor.min.js.LEGAL.txt +70 -0
- package/web/uc-file-uploader-inline.layered.min.css +7 -4352
- package/web/uc-file-uploader-inline.min.css +6 -3836
- package/web/uc-file-uploader-inline.min.d.ts +3241 -0
- package/web/uc-file-uploader-inline.min.js +7 -1858
- package/web/uc-file-uploader-inline.min.js.LEGAL.txt +71 -0
- package/web/uc-file-uploader-minimal.layered.min.css +7 -4352
- package/web/uc-file-uploader-minimal.min.css +6 -3836
- package/web/uc-file-uploader-minimal.min.d.ts +3241 -0
- package/web/uc-file-uploader-minimal.min.js +7 -1858
- package/web/uc-file-uploader-minimal.min.js.LEGAL.txt +71 -0
- package/web/uc-file-uploader-regular.layered.min.css +7 -4352
- package/web/uc-file-uploader-regular.min.css +6 -3836
- package/web/uc-file-uploader-regular.min.d.ts +3241 -0
- package/web/uc-file-uploader-regular.min.js +7 -1858
- package/web/uc-file-uploader-regular.min.js.LEGAL.txt +71 -0
- package/web/uc-img.min.d.ts +75 -0
- package/web/uc-img.min.js +7 -894
- package/web/uc-img.min.js.LEGAL.txt +24 -0
- package/dist/ActivityHeader-R6Mlx-dA.js +0 -9
- package/dist/ActivityHeader.css +0 -23
- package/dist/ActivityHeader.layered.css +0 -24
- package/dist/CameraSource-DDwj1jCV.js +0 -511
- package/dist/CameraSource-n1tun2Df.js +0 -10
- package/dist/CameraSource.css +0 -180
- package/dist/CameraSource.layered.css +0 -209
- package/dist/CloudImageEditor-DcVoIRb3.js +0 -2163
- package/dist/CloudImageEditorActivity-Csij4nlC.js +0 -87
- package/dist/CloudImageEditorActivity-DD4NdU0P.js +0 -9
- package/dist/CloudImageEditorActivity.css +0 -14
- package/dist/CloudImageEditorActivity.layered.css +0 -15
- package/dist/Config-DKOromHY.js +0 -433
- package/dist/Config.css +0 -4
- package/dist/Config.layered.css +0 -5
- package/dist/ExternalSource-6MSUgxqy.js +0 -10
- package/dist/ExternalSource-DVEjSkPB.js +0 -253
- package/dist/ExternalSource.css +0 -98
- package/dist/ExternalSource.layered.css +0 -116
- package/dist/Icon-tXRTvEF2.js +0 -1810
- package/dist/Icon.css +0 -14
- package/dist/Icon.layered.css +0 -15
- package/dist/LitUploaderBlock-LxeOZ0ya.js +0 -998
- package/dist/UrlSource-BkyX00I2.js +0 -73
- package/dist/UrlSource-RI8TSD48.js +0 -10
- package/dist/UrlSource.css +0 -17
- package/dist/UrlSource.layered.css +0 -18
- package/dist/abstract/CTX.d.ts +0 -40
- package/dist/abstract/TypedCollection.d.ts +0 -47
- package/dist/abstract/TypedCollection.test.d.ts +0 -1
- package/dist/abstract/TypedData.d.ts +0 -12
- package/dist/abstract/TypedData.test.d.ts +0 -1
- package/dist/abstract/UploaderPublicApi.d.ts +0 -41
- package/dist/abstract/buildOutputCollectionState.d.ts +0 -3
- package/dist/abstract/customConfigOptions.d.ts +0 -65
- package/dist/abstract/defineComponents.d.ts +0 -1
- package/dist/abstract/features/ClipboardLayer.d.ts +0 -12
- package/dist/abstract/localeRegistry.d.ts +0 -5
- package/dist/abstract/managers/LocaleManager.d.ts +0 -10
- package/dist/abstract/managers/ModalManager.d.ts +0 -53
- package/dist/abstract/managers/SecureUploadsManager.d.ts +0 -7
- package/dist/abstract/managers/TelemetryManager.d.ts +0 -41
- package/dist/abstract/managers/ValidationManager.d.ts +0 -34
- package/dist/abstract/managers/__tests__/ModalManager.test.d.ts +0 -13
- package/dist/abstract/managers/__tests__/SecureUploadsManager.test.d.ts +0 -1
- package/dist/abstract/managers/a11y.d.ts +0 -9
- package/dist/abstract/managers/plugin/PluginManager.d.ts +0 -25
- package/dist/abstract/managers/plugin/PluginTypes.d.ts +0 -146
- package/dist/abstract/managers/plugin/index.d.ts +0 -2
- package/dist/abstract/sharedConfigKey.d.ts +0 -2
- package/dist/abstract/uploadEntrySchema.d.ts +0 -34
- package/dist/blocks/ActivityHeader/ActivityHeader.d.ts +0 -8
- package/dist/blocks/CameraSource/CameraSource.d.ts +0 -121
- package/dist/blocks/CameraSource/__tests__/calcCameraModes.test.d.ts +0 -1
- package/dist/blocks/CameraSource/calcCameraModes.d.ts +0 -5
- package/dist/blocks/CameraSource/constants.d.ts +0 -15
- package/dist/blocks/CloudImageEditor/index.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +0 -60
- package/dist/blocks/CloudImageEditor/src/CropFrame.d.ts +0 -56
- package/dist/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts +0 -24
- package/dist/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +0 -14
- package/dist/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +0 -13
- package/dist/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +0 -35
- package/dist/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +0 -56
- package/dist/blocks/CloudImageEditor/src/EditorImageFader.d.ts +0 -63
- package/dist/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +0 -15
- package/dist/blocks/CloudImageEditor/src/EditorScroller.d.ts +0 -15
- package/dist/blocks/CloudImageEditor/src/EditorSlider.d.ts +0 -33
- package/dist/blocks/CloudImageEditor/src/EditorToolbar.d.ts +0 -68
- package/dist/blocks/CloudImageEditor/src/crop-utils.d.ts +0 -36
- package/dist/blocks/CloudImageEditor/src/crop-utils.test.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/cropper-constants.d.ts +0 -10
- package/dist/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +0 -31
- package/dist/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +0 -19
- package/dist/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +0 -27
- package/dist/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +0 -38
- package/dist/blocks/CloudImageEditor/src/index.d.ts +0 -15
- package/dist/blocks/CloudImageEditor/src/lib/classNames.d.ts +0 -5
- package/dist/blocks/CloudImageEditor/src/lib/classNames.test.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/lib/linspace.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/lib/linspace.test.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +0 -4
- package/dist/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +0 -2
- package/dist/blocks/CloudImageEditor/src/lib/pick.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/lib/pick.test.d.ts +0 -1
- package/dist/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +0 -7
- package/dist/blocks/CloudImageEditor/src/state.d.ts +0 -20
- package/dist/blocks/CloudImageEditor/src/svg-sprite.d.ts +0 -2
- package/dist/blocks/CloudImageEditor/src/toolbar-constants.d.ts +0 -61
- package/dist/blocks/CloudImageEditor/src/types.d.ts +0 -60
- package/dist/blocks/CloudImageEditor/src/util.d.ts +0 -2
- package/dist/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts +0 -7
- package/dist/blocks/CloudImageEditor/src/utils/parseFilterValue.test.d.ts +0 -1
- package/dist/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +0 -25
- package/dist/blocks/Config/Config.d.ts +0 -60
- package/dist/blocks/Config/assertions.d.ts +0 -5
- package/dist/blocks/Config/computed-properties.d.ts +0 -24
- package/dist/blocks/Config/computed-properties.test.d.ts +0 -1
- package/dist/blocks/Config/initialConfig.d.ts +0 -6
- package/dist/blocks/Config/normalizeConfigValue.d.ts +0 -2
- package/dist/blocks/Config/validatorsType.d.ts +0 -18
- package/dist/blocks/Copyright/Copyright.d.ts +0 -10
- package/dist/blocks/DropArea/DropArea.d.ts +0 -47
- package/dist/blocks/DropArea/addDropzone.d.ts +0 -17
- package/dist/blocks/DropArea/getDropItems.d.ts +0 -12
- package/dist/blocks/ExternalSource/ExternalSource.d.ts +0 -45
- package/dist/blocks/ExternalSource/MessageBridge.d.ts +0 -11
- package/dist/blocks/ExternalSource/buildThemeDefinition.d.ts +0 -4
- package/dist/blocks/ExternalSource/query-string.d.ts +0 -1
- package/dist/blocks/ExternalSource/types.d.ts +0 -105
- package/dist/blocks/FileItem/FileItem.d.ts +0 -50
- package/dist/blocks/FileItem/FileItemConfig.d.ts +0 -10
- package/dist/blocks/FormInput/FormInput.d.ts +0 -18
- package/dist/blocks/Icon/Icon.d.ts +0 -19
- package/dist/blocks/Img/Img.d.ts +0 -14
- package/dist/blocks/Img/ImgBase.d.ts +0 -29
- package/dist/blocks/Img/ImgConfig.d.ts +0 -28
- package/dist/blocks/Img/configurations.d.ts +0 -11
- package/dist/blocks/Img/props-map.d.ts +0 -28
- package/dist/blocks/Img/utils/parseObjectToString.d.ts +0 -2
- package/dist/blocks/Modal/Modal.d.ts +0 -34
- package/dist/blocks/PluginActivityRenderer/PluginActivityRenderer.d.ts +0 -32
- package/dist/blocks/PluginActivityRenderer/index.d.ts +0 -1
- package/dist/blocks/ProgressBar/ProgressBar.d.ts +0 -21
- package/dist/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +0 -17
- package/dist/blocks/Select/Select.d.ts +0 -18
- package/dist/blocks/SimpleBtn/SimpleBtn.d.ts +0 -15
- package/dist/blocks/SourceBtn/SourceBtn.d.ts +0 -23
- package/dist/blocks/SourceList/SourceList.d.ts +0 -24
- package/dist/blocks/Spinner/Spinner.d.ts +0 -9
- package/dist/blocks/StartFrom/StartFrom.d.ts +0 -12
- package/dist/blocks/Thumb/Thumb.d.ts +0 -35
- package/dist/blocks/UploadCtxProvider/EventEmitter.d.ts +0 -70
- package/dist/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +0 -44
- package/dist/blocks/UploadList/UploadList.d.ts +0 -39
- package/dist/blocks/UrlSource/UrlSource.d.ts +0 -14
- package/dist/blocks/svg-backgrounds/svg-backgrounds.d.ts +0 -3
- package/dist/blocks/themes/uc-basic/svg-sprite.d.ts +0 -2
- package/dist/cameraPlugin-weRKO7eG.js +0 -8
- package/dist/cloud-image-editor-hhbyNWLG.js +0 -11
- package/dist/cloud-image-editor.css +0 -1380
- package/dist/cloud-image-editor.layered.css +0 -1549
- package/dist/cloudImageEditorPlugin-FjUgbMK3.js +0 -8
- package/dist/core.d.ts +0 -42
- package/dist/en-8OWEmZim.js +0 -135
- package/dist/env-mM-ksNPq.js +0 -8
- package/dist/externalSourcesPlugin-CMBmLT8S.js +0 -8
- package/dist/imageShrinkPlugin-BN6loiP2.js +0 -8
- package/dist/index-base.css +0 -2497
- package/dist/index-base.layered.css +0 -2837
- package/dist/instagramPlugin-CXRm8MGL.js +0 -8
- package/dist/lit/BaseComponent.d.ts +0 -12
- package/dist/lit/Constructor.d.ts +0 -1
- package/dist/lit/CssDataMixin.d.ts +0 -7
- package/dist/lit/LightDomMixin.d.ts +0 -8
- package/dist/lit/LitActivityBlock.d.ts +0 -53
- package/dist/lit/LitBlock.d.ts +0 -83
- package/dist/lit/LitSolutionBlock.d.ts +0 -21
- package/dist/lit/LitUploaderBlock.d.ts +0 -53
- package/dist/lit/PubSubCompat.d.ts +0 -18
- package/dist/lit/RegisterableElementMixin.d.ts +0 -7
- package/dist/lit/SharedState.d.ts +0 -119
- package/dist/lit/SymbioteCompatMixin.d.ts +0 -40
- package/dist/lit/TestModeController.d.ts +0 -16
- package/dist/lit/Uid.d.ts +0 -3
- package/dist/lit/activity-constants.d.ts +0 -11
- package/dist/lit/createDebugPrinter.d.ts +0 -3
- package/dist/lit/findBlockInCtx.d.ts +0 -3
- package/dist/lit/getOutputData.d.ts +0 -2
- package/dist/lit/hasBlockInCtx.d.ts +0 -3
- package/dist/lit/l10n.d.ts +0 -5
- package/dist/lit/parseCssPropertyValue.d.ts +0 -1
- package/dist/lit/shared-instances.d.ts +0 -65
- package/dist/loadFileUploaderFrom-Bfz8L3VB.js +0 -28
- package/dist/plugins/cameraPlugin.d.ts +0 -2
- package/dist/plugins/cloudImageEditorPlugin.d.ts +0 -2
- package/dist/plugins/externalSourcesPlugin.d.ts +0 -2
- package/dist/plugins/imageShrinkPlugin.d.ts +0 -2
- package/dist/plugins/instagramPlugin.d.ts +0 -2
- package/dist/plugins/unsplashPlugin.d.ts +0 -16
- package/dist/plugins/urlSourcePlugin.d.ts +0 -2
- package/dist/plugins-CGUls7EV.js +0 -278
- package/dist/solutions/adaptive-image/index.d.ts +0 -2
- package/dist/solutions/cloud-image-editor/CloudImageEditor.d.ts +0 -11
- package/dist/solutions/cloud-image-editor/index.d.ts +0 -5
- package/dist/solutions/file-uploader/inline/FileUploaderInline.d.ts +0 -20
- package/dist/solutions/file-uploader/inline/index.d.ts +0 -1
- package/dist/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +0 -23
- package/dist/solutions/file-uploader/minimal/index.d.ts +0 -1
- package/dist/solutions/file-uploader/regular/FileUploaderRegular.d.ts +0 -17
- package/dist/solutions/file-uploader/regular/index.d.ts +0 -1
- package/dist/types/dom.d.ts +0 -1
- package/dist/types/events.d.ts +0 -4
- package/dist/types/exported.d.ts +0 -492
- package/dist/types/index.d.ts +0 -5
- package/dist/urlSourcePlugin-_WdbEhq2.js +0 -8
- package/dist/utils/UID.d.ts +0 -5
- package/dist/utils/UID.test.d.ts +0 -1
- package/dist/utils/UploadSource.d.ts +0 -37
- package/dist/utils/WindowHeightTracker.d.ts +0 -9
- package/dist/utils/abilities.d.ts +0 -1
- package/dist/utils/applyStyles.d.ts +0 -1
- package/dist/utils/browser-info.d.ts +0 -12
- package/dist/utils/browser-info.test.d.ts +0 -1
- package/dist/utils/cdn-utils.d.ts +0 -53
- package/dist/utils/cdn-utils.test.d.ts +0 -1
- package/dist/utils/comma-separated.d.ts +0 -2
- package/dist/utils/debounce.d.ts +0 -3
- package/dist/utils/delay.d.ts +0 -1
- package/dist/utils/fileTypes.d.ts +0 -11
- package/dist/utils/fileTypes.test.d.ts +0 -1
- package/dist/utils/get-top-level-origin.d.ts +0 -1
- package/dist/utils/get-top-level-origin.test.d.ts +0 -1
- package/dist/utils/getLocaleDirection.d.ts +0 -1
- package/dist/utils/getPluralForm.d.ts +0 -1
- package/dist/utils/getPluralForm.test.d.ts +0 -1
- package/dist/utils/isPromiseLike.d.ts +0 -1
- package/dist/utils/isPromiseLike.test.d.ts +0 -1
- package/dist/utils/isSecureTokenExpired.d.ts +0 -8
- package/dist/utils/isSecureTokenExpired.test.d.ts +0 -1
- package/dist/utils/memoize.d.ts +0 -1
- package/dist/utils/memoize.test.d.ts +0 -1
- package/dist/utils/mixinClass.d.ts +0 -8
- package/dist/utils/parseCdnUrl.d.ts +0 -11
- package/dist/utils/parseCdnUrl.test.d.ts +0 -1
- package/dist/utils/parseShrink.d.ts +0 -7
- package/dist/utils/parseShrink.test.d.ts +0 -1
- package/dist/utils/preloadImage.d.ts +0 -10
- package/dist/utils/prettyBytes.d.ts +0 -11
- package/dist/utils/prettyBytes.test.d.ts +0 -1
- package/dist/utils/resizeImage.d.ts +0 -1
- package/dist/utils/stringToArray.d.ts +0 -1
- package/dist/utils/stringToArray.test.d.ts +0 -1
- package/dist/utils/template-utils.d.ts +0 -16
- package/dist/utils/template-utils.test.d.ts +0 -1
- package/dist/utils/throttle.d.ts +0 -3
- package/dist/utils/toKebabCase.d.ts +0 -2
- package/dist/utils/toKebabCase.test.d.ts +0 -1
- package/dist/utils/transparentPixelSrc.d.ts +0 -1
- package/dist/utils/uniqueArray.d.ts +0 -1
- package/dist/utils/uniqueArray.test.d.ts +0 -1
- package/dist/utils/userAgent.d.ts +0 -2
- package/dist/utils/validators/collection/index.d.ts +0 -2
- package/dist/utils/validators/collection/validateCollectionUploadError.d.ts +0 -2
- package/dist/utils/validators/collection/validateMultiple.d.ts +0 -2
- package/dist/utils/validators/file/index.d.ts +0 -4
- package/dist/utils/validators/file/validateFileType.d.ts +0 -2
- package/dist/utils/validators/file/validateIsImage.d.ts +0 -2
- package/dist/utils/validators/file/validateMaxSizeLimit.d.ts +0 -2
- package/dist/utils/validators/file/validateUploadError.d.ts +0 -2
- package/dist/utils/warnOnce.d.ts +0 -1
- package/dist/utils/wildcardRegexp.d.ts +0 -1
- package/dist/utils/wildcardRegexp.test.d.ts +0 -1
- package/dist/utils/withResolvers.d.ts +0 -5
- package/dist/utils/withResolvers.test.d.ts +0 -1
- package/web/ActivityHeader-BFdTdVfD.js +0 -9
- package/web/ActivityHeader-DQy6rII1.js +0 -9
- package/web/ActivityHeader-DvzMl0uj.js +0 -9
- package/web/ActivityHeader-i4x6_Fne.js +0 -9
- package/web/CameraSource-BAWIA4Wm.js +0 -508
- package/web/CameraSource-BqZCQcij.js +0 -11
- package/web/CameraSource-Brxr4tz4.js +0 -508
- package/web/CameraSource-BvBJ5Uzy.js +0 -508
- package/web/CameraSource-CkHzIE-h.js +0 -11
- package/web/CameraSource-D964yPLu.js +0 -508
- package/web/CameraSource-DE48Az-f.js +0 -11
- package/web/CameraSource-DyPebtRF.js +0 -478
- package/web/CameraSource-pj7Xo81m.js +0 -11
- package/web/CloudImageEditor-CTgUWB07.js +0 -2192
- package/web/CloudImageEditor-CxqV9Lwm.js +0 -2192
- package/web/CloudImageEditor-DoLWHpqV.js +0 -2192
- package/web/CloudImageEditor-Drywn265.js +0 -2192
- package/web/CloudImageEditor-MXcaDtMx.js +0 -2187
- package/web/CloudImageEditorActivity-BPzmfaJV.js +0 -85
- package/web/CloudImageEditorActivity-Br8pU5gd.js +0 -11
- package/web/CloudImageEditorActivity-Cw8b2CEz.js +0 -11
- package/web/CloudImageEditorActivity-Df1ySGq0.js +0 -86
- package/web/CloudImageEditorActivity-DinG5r0y.js +0 -11
- package/web/CloudImageEditorActivity-DmnLLINR.js +0 -85
- package/web/CloudImageEditorActivity-U90BGCek.js +0 -85
- package/web/CloudImageEditorActivity-dNLQZRZI.js +0 -11
- package/web/CloudImageEditorActivity-ur-hQ-6p.js +0 -85
- package/web/Config-8hlBNhvs.js +0 -455
- package/web/Config-BDZhPIyz.js +0 -455
- package/web/Config-CJVNrrjj.js +0 -455
- package/web/Config-DvkVtlQ7.js +0 -455
- package/web/ExternalSource-B9ycBFiD.js +0 -10
- package/web/ExternalSource-BE7HX47E.js +0 -250
- package/web/ExternalSource-BL5GSlol.js +0 -250
- package/web/ExternalSource-BXQY6Dlc.js +0 -10
- package/web/ExternalSource-BXxH3JCD.js +0 -250
- package/web/ExternalSource-BYSS-PPV.js +0 -245
- package/web/ExternalSource-C57a61QN.js +0 -10
- package/web/ExternalSource-CKfMtOgU.js +0 -250
- package/web/ExternalSource-DP6q8ylB.js +0 -10
- package/web/LitUploaderBlock-AX6jOdAS.js +0 -996
- package/web/LitUploaderBlock-BjAaoLl2.js +0 -996
- package/web/LitUploaderBlock-D8E5HuwH.js +0 -996
- package/web/LitUploaderBlock-Dl3ce0Tc.js +0 -996
- package/web/LitUploaderBlock-Oi33U0uf.js +0 -996
- package/web/UrlSource-B9SX3K0L.js +0 -10
- package/web/UrlSource-C3zB1rCb.js +0 -70
- package/web/UrlSource-C7bEU6Xv.js +0 -10
- package/web/UrlSource-CE389CBz.js +0 -70
- package/web/UrlSource-CnvAJ58Y.js +0 -10
- package/web/UrlSource-CqF0h6B-.js +0 -10
- package/web/UrlSource-D-971Nut.js +0 -70
- package/web/UrlSource-DhI3YCt5.js +0 -70
- package/web/UrlSource-hWV7jtB2.js +0 -70
- package/web/abstract/CTX.d.ts +0 -40
- package/web/abstract/TypedCollection.d.ts +0 -47
- package/web/abstract/TypedCollection.test.d.ts +0 -1
- package/web/abstract/TypedData.d.ts +0 -12
- package/web/abstract/TypedData.test.d.ts +0 -1
- package/web/abstract/UploaderPublicApi.d.ts +0 -41
- package/web/abstract/buildOutputCollectionState.d.ts +0 -3
- package/web/abstract/customConfigOptions.d.ts +0 -65
- package/web/abstract/defineComponents.d.ts +0 -1
- package/web/abstract/features/ClipboardLayer.d.ts +0 -12
- package/web/abstract/loadFileUploaderFrom.d.ts +0 -13
- package/web/abstract/localeRegistry.d.ts +0 -5
- package/web/abstract/managers/LocaleManager.d.ts +0 -10
- package/web/abstract/managers/ModalManager.d.ts +0 -53
- package/web/abstract/managers/SecureUploadsManager.d.ts +0 -7
- package/web/abstract/managers/TelemetryManager.d.ts +0 -41
- package/web/abstract/managers/ValidationManager.d.ts +0 -34
- package/web/abstract/managers/__tests__/ModalManager.test.d.ts +0 -13
- package/web/abstract/managers/__tests__/SecureUploadsManager.test.d.ts +0 -1
- package/web/abstract/managers/a11y.d.ts +0 -9
- package/web/abstract/managers/plugin/PluginManager.d.ts +0 -25
- package/web/abstract/managers/plugin/PluginTypes.d.ts +0 -146
- package/web/abstract/managers/plugin/index.d.ts +0 -2
- package/web/abstract/sharedConfigKey.d.ts +0 -2
- package/web/abstract/uploadEntrySchema.d.ts +0 -34
- package/web/blocks/ActivityHeader/ActivityHeader.d.ts +0 -8
- package/web/blocks/CameraSource/CameraSource.d.ts +0 -121
- package/web/blocks/CameraSource/__tests__/calcCameraModes.test.d.ts +0 -1
- package/web/blocks/CameraSource/calcCameraModes.d.ts +0 -5
- package/web/blocks/CameraSource/constants.d.ts +0 -15
- package/web/blocks/CloudImageEditor/index.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +0 -60
- package/web/blocks/CloudImageEditor/src/CropFrame.d.ts +0 -56
- package/web/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts +0 -24
- package/web/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +0 -14
- package/web/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +0 -13
- package/web/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +0 -35
- package/web/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +0 -56
- package/web/blocks/CloudImageEditor/src/EditorImageFader.d.ts +0 -63
- package/web/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +0 -15
- package/web/blocks/CloudImageEditor/src/EditorScroller.d.ts +0 -15
- package/web/blocks/CloudImageEditor/src/EditorSlider.d.ts +0 -33
- package/web/blocks/CloudImageEditor/src/EditorToolbar.d.ts +0 -68
- package/web/blocks/CloudImageEditor/src/crop-utils.d.ts +0 -36
- package/web/blocks/CloudImageEditor/src/crop-utils.test.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/cropper-constants.d.ts +0 -10
- package/web/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +0 -31
- package/web/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +0 -19
- package/web/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +0 -27
- package/web/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +0 -38
- package/web/blocks/CloudImageEditor/src/index.d.ts +0 -15
- package/web/blocks/CloudImageEditor/src/lib/classNames.d.ts +0 -5
- package/web/blocks/CloudImageEditor/src/lib/classNames.test.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/lib/linspace.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/lib/linspace.test.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +0 -4
- package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +0 -2
- package/web/blocks/CloudImageEditor/src/lib/pick.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/lib/pick.test.d.ts +0 -1
- package/web/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +0 -7
- package/web/blocks/CloudImageEditor/src/state.d.ts +0 -20
- package/web/blocks/CloudImageEditor/src/svg-sprite.d.ts +0 -2
- package/web/blocks/CloudImageEditor/src/toolbar-constants.d.ts +0 -61
- package/web/blocks/CloudImageEditor/src/types.d.ts +0 -60
- package/web/blocks/CloudImageEditor/src/util.d.ts +0 -2
- package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts +0 -7
- package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.test.d.ts +0 -1
- package/web/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +0 -25
- package/web/blocks/Config/Config.d.ts +0 -60
- package/web/blocks/Config/assertions.d.ts +0 -5
- package/web/blocks/Config/computed-properties.d.ts +0 -24
- package/web/blocks/Config/computed-properties.test.d.ts +0 -1
- package/web/blocks/Config/initialConfig.d.ts +0 -6
- package/web/blocks/Config/normalizeConfigValue.d.ts +0 -2
- package/web/blocks/Config/validatorsType.d.ts +0 -18
- package/web/blocks/Copyright/Copyright.d.ts +0 -10
- package/web/blocks/DropArea/DropArea.d.ts +0 -47
- package/web/blocks/DropArea/addDropzone.d.ts +0 -17
- package/web/blocks/DropArea/getDropItems.d.ts +0 -12
- package/web/blocks/ExternalSource/ExternalSource.d.ts +0 -45
- package/web/blocks/ExternalSource/MessageBridge.d.ts +0 -11
- package/web/blocks/ExternalSource/buildThemeDefinition.d.ts +0 -4
- package/web/blocks/ExternalSource/query-string.d.ts +0 -1
- package/web/blocks/ExternalSource/types.d.ts +0 -105
- package/web/blocks/FileItem/FileItem.d.ts +0 -50
- package/web/blocks/FileItem/FileItemConfig.d.ts +0 -10
- package/web/blocks/FormInput/FormInput.d.ts +0 -18
- package/web/blocks/Icon/Icon.d.ts +0 -19
- package/web/blocks/Img/Img.d.ts +0 -14
- package/web/blocks/Img/ImgBase.d.ts +0 -29
- package/web/blocks/Img/ImgConfig.d.ts +0 -28
- package/web/blocks/Img/configurations.d.ts +0 -11
- package/web/blocks/Img/props-map.d.ts +0 -28
- package/web/blocks/Img/utils/parseObjectToString.d.ts +0 -2
- package/web/blocks/Modal/Modal.d.ts +0 -34
- package/web/blocks/PluginActivityRenderer/PluginActivityRenderer.d.ts +0 -32
- package/web/blocks/PluginActivityRenderer/index.d.ts +0 -1
- package/web/blocks/ProgressBar/ProgressBar.d.ts +0 -21
- package/web/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +0 -17
- package/web/blocks/Select/Select.d.ts +0 -18
- package/web/blocks/SimpleBtn/SimpleBtn.d.ts +0 -15
- package/web/blocks/SourceBtn/SourceBtn.d.ts +0 -23
- package/web/blocks/SourceList/SourceList.d.ts +0 -24
- package/web/blocks/Spinner/Spinner.d.ts +0 -9
- package/web/blocks/StartFrom/StartFrom.d.ts +0 -12
- package/web/blocks/Thumb/Thumb.d.ts +0 -35
- package/web/blocks/UploadCtxProvider/EventEmitter.d.ts +0 -70
- package/web/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +0 -44
- package/web/blocks/UploadList/UploadList.d.ts +0 -39
- package/web/blocks/UrlSource/UrlSource.d.ts +0 -14
- package/web/blocks/svg-backgrounds/svg-backgrounds.d.ts +0 -3
- package/web/blocks/themes/uc-basic/svg-sprite.d.ts +0 -2
- package/web/cameraPlugin-DeedXMWV.js +0 -8
- package/web/cameraPlugin-Duy1QwjB.js +0 -8
- package/web/cameraPlugin-QS9SUOtO.js +0 -8
- package/web/cameraPlugin-bq8ggY04.js +0 -8
- package/web/cameraPlugin-cel9YgP_.js +0 -8
- package/web/cloud-image-editor-8DrVRZ7E.js +0 -12
- package/web/cloud-image-editor-BX50EK1U.js +0 -12
- package/web/cloud-image-editor-DSW3oWq-.js +0 -12
- package/web/cloud-image-editor-DuI2Lx4M.js +0 -12
- package/web/cloudImageEditorPlugin-5my6aD36.js +0 -8
- package/web/cloudImageEditorPlugin-Bk19DmJv.js +0 -8
- package/web/cloudImageEditorPlugin-CcdnmtBW.js +0 -8
- package/web/cloudImageEditorPlugin-DQJmDl03.js +0 -8
- package/web/cloudImageEditorPlugin-kojghfqw.js +0 -8
- package/web/constants-BCfCF0cJ.js +0 -4025
- package/web/core.d.ts +0 -42
- package/web/env.d.ts +0 -2
- package/web/externalSourcesPlugin-BTeRm5C0.js +0 -8
- package/web/externalSourcesPlugin-BXgVeojg.js +0 -8
- package/web/externalSourcesPlugin-BgLpuIK9.js +0 -8
- package/web/externalSourcesPlugin-DMc9zs4T.js +0 -8
- package/web/externalSourcesPlugin-Dm9vnTBv.js +0 -8
- package/web/imageShrinkPlugin-BdHgEGZH.js +0 -8
- package/web/imageShrinkPlugin-BjkMGfvT.js +0 -8
- package/web/imageShrinkPlugin-CCkGHL2w.js +0 -8
- package/web/imageShrinkPlugin-D4WjaRGo.js +0 -8
- package/web/imageShrinkPlugin-DqYGutVx.js +0 -8
- package/web/index.d.ts +0 -42
- package/web/instagramPlugin-BTMz0K2a.js +0 -8
- package/web/instagramPlugin-BbIKgTH7.js +0 -8
- package/web/instagramPlugin-CQQhsEJa.js +0 -8
- package/web/instagramPlugin-Cm7lWKae.js +0 -8
- package/web/instagramPlugin-DcclxM_d.js +0 -8
- package/web/lit/BaseComponent.d.ts +0 -12
- package/web/lit/Constructor.d.ts +0 -1
- package/web/lit/CssDataMixin.d.ts +0 -7
- package/web/lit/LightDomMixin.d.ts +0 -8
- package/web/lit/LitActivityBlock.d.ts +0 -53
- package/web/lit/LitBlock.d.ts +0 -83
- package/web/lit/LitSolutionBlock.d.ts +0 -21
- package/web/lit/LitUploaderBlock.d.ts +0 -53
- package/web/lit/PubSubCompat.d.ts +0 -18
- package/web/lit/RegisterableElementMixin.d.ts +0 -7
- package/web/lit/SharedState.d.ts +0 -119
- package/web/lit/SymbioteCompatMixin.d.ts +0 -40
- package/web/lit/TestModeController.d.ts +0 -16
- package/web/lit/Uid.d.ts +0 -3
- package/web/lit/activity-constants.d.ts +0 -11
- package/web/lit/createDebugPrinter.d.ts +0 -3
- package/web/lit/findBlockInCtx.d.ts +0 -3
- package/web/lit/getOutputData.d.ts +0 -2
- package/web/lit/hasBlockInCtx.d.ts +0 -3
- package/web/lit/l10n.d.ts +0 -5
- package/web/lit/parseCssPropertyValue.d.ts +0 -1
- package/web/lit/shared-instances.d.ts +0 -65
- package/web/locales/file-uploader/ar.d.ts +0 -137
- package/web/locales/file-uploader/az.d.ts +0 -129
- package/web/locales/file-uploader/ca.d.ts +0 -131
- package/web/locales/file-uploader/cs.d.ts +0 -133
- package/web/locales/file-uploader/da.d.ts +0 -129
- package/web/locales/file-uploader/de.d.ts +0 -129
- package/web/locales/file-uploader/el.d.ts +0 -129
- package/web/locales/file-uploader/en.d.ts +0 -129
- package/web/locales/file-uploader/es.d.ts +0 -131
- package/web/locales/file-uploader/et.d.ts +0 -129
- package/web/locales/file-uploader/fi.d.ts +0 -129
- package/web/locales/file-uploader/fr.d.ts +0 -131
- package/web/locales/file-uploader/he.d.ts +0 -131
- package/web/locales/file-uploader/hy.d.ts +0 -129
- package/web/locales/file-uploader/is.d.ts +0 -129
- package/web/locales/file-uploader/it.d.ts +0 -131
- package/web/locales/file-uploader/ja.d.ts +0 -129
- package/web/locales/file-uploader/ka.d.ts +0 -129
- package/web/locales/file-uploader/kk.d.ts +0 -129
- package/web/locales/file-uploader/ko.d.ts +0 -129
- package/web/locales/file-uploader/lv.d.ts +0 -131
- package/web/locales/file-uploader/nb.d.ts +0 -129
- package/web/locales/file-uploader/nl.d.ts +0 -129
- package/web/locales/file-uploader/pl.d.ts +0 -133
- package/web/locales/file-uploader/pt.d.ts +0 -131
- package/web/locales/file-uploader/ro.d.ts +0 -131
- package/web/locales/file-uploader/ru.d.ts +0 -133
- package/web/locales/file-uploader/sk.d.ts +0 -133
- package/web/locales/file-uploader/sr.d.ts +0 -131
- package/web/locales/file-uploader/sv.d.ts +0 -129
- package/web/locales/file-uploader/tr.d.ts +0 -129
- package/web/locales/file-uploader/uk.d.ts +0 -133
- package/web/locales/file-uploader/vi.d.ts +0 -129
- package/web/locales/file-uploader/zh-TW.d.ts +0 -129
- package/web/locales/file-uploader/zh.d.ts +0 -129
- package/web/plugins/cameraPlugin.d.ts +0 -2
- package/web/plugins/cloudImageEditorPlugin.d.ts +0 -2
- package/web/plugins/externalSourcesPlugin.d.ts +0 -2
- package/web/plugins/imageShrinkPlugin.d.ts +0 -2
- package/web/plugins/instagramPlugin.d.ts +0 -2
- package/web/plugins/unsplashPlugin.d.ts +0 -16
- package/web/plugins/urlSourcePlugin.d.ts +0 -2
- package/web/plugins-Bt7FXHKx.js +0 -562
- package/web/plugins-CaaolyMk.js +0 -562
- package/web/plugins-Cjgw5oWg.js +0 -562
- package/web/plugins-CzNtrVQB.js +0 -562
- package/web/plugins-DS0hIs2V.js +0 -563
- package/web/ref-BOnG19ns.js +0 -4040
- package/web/ref-BejJFG7m.js +0 -4040
- package/web/ref-DcRg7zo9.js +0 -4040
- package/web/ref-ZWPcLQB9.js +0 -4040
- package/web/solutions/adaptive-image/index.d.ts +0 -2
- package/web/solutions/cloud-image-editor/CloudImageEditor.d.ts +0 -11
- package/web/solutions/cloud-image-editor/index.d.ts +0 -5
- package/web/solutions/file-uploader/inline/FileUploaderInline.d.ts +0 -20
- package/web/solutions/file-uploader/inline/index.d.ts +0 -1
- package/web/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +0 -23
- package/web/solutions/file-uploader/minimal/index.d.ts +0 -1
- package/web/solutions/file-uploader/regular/FileUploaderRegular.d.ts +0 -17
- package/web/solutions/file-uploader/regular/index.d.ts +0 -1
- package/web/style-map-BmZdux7T.js +0 -37
- package/web/style-map-CZ6fSV6e.js +0 -37
- package/web/style-map-Dk7mLCrB.js +0 -37
- package/web/style-map-HkHnu9oA.js +0 -37
- package/web/style-map-tw1yUEaj.js +0 -37
- package/web/types/dom.d.ts +0 -1
- package/web/types/events.d.ts +0 -4
- package/web/types/exported.d.ts +0 -492
- package/web/types/index.d.ts +0 -5
- package/web/urlSourcePlugin-9lhcr02f.js +0 -8
- package/web/urlSourcePlugin-C-sLGhGb.js +0 -8
- package/web/urlSourcePlugin-DNXDpnRD.js +0 -8
- package/web/urlSourcePlugin-JnD0cnxb.js +0 -8
- package/web/urlSourcePlugin-hcMU2K6T.js +0 -8
- package/web/utils/UID.d.ts +0 -5
- package/web/utils/UID.test.d.ts +0 -1
- package/web/utils/UploadSource.d.ts +0 -37
- package/web/utils/WindowHeightTracker.d.ts +0 -9
- package/web/utils/abilities.d.ts +0 -1
- package/web/utils/applyStyles.d.ts +0 -1
- package/web/utils/browser-info.d.ts +0 -12
- package/web/utils/browser-info.test.d.ts +0 -1
- package/web/utils/cdn-utils.d.ts +0 -53
- package/web/utils/cdn-utils.test.d.ts +0 -1
- package/web/utils/comma-separated.d.ts +0 -2
- package/web/utils/debounce.d.ts +0 -3
- package/web/utils/delay.d.ts +0 -1
- package/web/utils/fileTypes.d.ts +0 -11
- package/web/utils/fileTypes.test.d.ts +0 -1
- package/web/utils/get-top-level-origin.d.ts +0 -1
- package/web/utils/get-top-level-origin.test.d.ts +0 -1
- package/web/utils/getLocaleDirection.d.ts +0 -1
- package/web/utils/getPluralForm.d.ts +0 -1
- package/web/utils/getPluralForm.test.d.ts +0 -1
- package/web/utils/isPromiseLike.d.ts +0 -1
- package/web/utils/isPromiseLike.test.d.ts +0 -1
- package/web/utils/isSecureTokenExpired.d.ts +0 -8
- package/web/utils/isSecureTokenExpired.test.d.ts +0 -1
- package/web/utils/memoize.d.ts +0 -1
- package/web/utils/memoize.test.d.ts +0 -1
- package/web/utils/mixinClass.d.ts +0 -8
- package/web/utils/parseCdnUrl.d.ts +0 -11
- package/web/utils/parseCdnUrl.test.d.ts +0 -1
- package/web/utils/parseShrink.d.ts +0 -7
- package/web/utils/parseShrink.test.d.ts +0 -1
- package/web/utils/preloadImage.d.ts +0 -10
- package/web/utils/prettyBytes.d.ts +0 -11
- package/web/utils/prettyBytes.test.d.ts +0 -1
- package/web/utils/resizeImage.d.ts +0 -1
- package/web/utils/stringToArray.d.ts +0 -1
- package/web/utils/stringToArray.test.d.ts +0 -1
- package/web/utils/template-utils.d.ts +0 -16
- package/web/utils/template-utils.test.d.ts +0 -1
- package/web/utils/throttle.d.ts +0 -3
- package/web/utils/toKebabCase.d.ts +0 -2
- package/web/utils/toKebabCase.test.d.ts +0 -1
- package/web/utils/transparentPixelSrc.d.ts +0 -1
- package/web/utils/uniqueArray.d.ts +0 -1
- package/web/utils/uniqueArray.test.d.ts +0 -1
- package/web/utils/userAgent.d.ts +0 -2
- package/web/utils/validators/collection/index.d.ts +0 -2
- package/web/utils/validators/collection/validateCollectionUploadError.d.ts +0 -2
- package/web/utils/validators/collection/validateMultiple.d.ts +0 -2
- package/web/utils/validators/file/index.d.ts +0 -4
- package/web/utils/validators/file/validateFileType.d.ts +0 -2
- package/web/utils/validators/file/validateIsImage.d.ts +0 -2
- package/web/utils/validators/file/validateMaxSizeLimit.d.ts +0 -2
- package/web/utils/validators/file/validateUploadError.d.ts +0 -2
- package/web/utils/warnOnce.d.ts +0 -1
- package/web/utils/wildcardRegexp.d.ts +0 -1
- package/web/utils/wildcardRegexp.test.d.ts +0 -1
- package/web/utils/withResolvers.d.ts +0 -5
- package/web/utils/withResolvers.test.d.ts +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:16.011Z
|
|
6
|
-
*/
|
|
7
|
-
import "./ref-DcRg7zo9.js";
|
|
8
|
-
import "./ActivityHeader-DvzMl0uj.js";
|
|
9
|
-
import { t as UrlSource } from "./UrlSource-C3zB1rCb.js";
|
|
10
|
-
export { UrlSource };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:16.011Z
|
|
6
|
-
*/
|
|
7
|
-
import { At as __decorate, Bt as b, Mt as r, Y as InternalEventType, n, t as e } from "./ref-DcRg7zo9.js";
|
|
8
|
-
import { c as UploadSource } from "./plugins-Bt7FXHKx.js";
|
|
9
|
-
import { n as LitActivityBlock, t as LitUploaderBlock } from "./LitUploaderBlock-D8E5HuwH.js";
|
|
10
|
-
var UrlSource = class extends LitUploaderBlock {
|
|
11
|
-
constructor(...t) {
|
|
12
|
-
super(...t), this._formState = { importDisabled: !0 }, this._inputRef = e(), this._handleInput = (t) => {
|
|
13
|
-
this._formState = { importDisabled: !(t.target?.value ?? "") };
|
|
14
|
-
}, this._handleUpload = (t) => {
|
|
15
|
-
t.preventDefault(), this.telemetryManager.sendEvent({
|
|
16
|
-
eventType: InternalEventType.ACTION_EVENT,
|
|
17
|
-
payload: { metadata: {
|
|
18
|
-
event: "upload-from-url",
|
|
19
|
-
node: this.tagName
|
|
20
|
-
} }
|
|
21
|
-
});
|
|
22
|
-
let f = this._inputRef.value?.value?.trim();
|
|
23
|
-
f && (this.api.addFileFromUrl(f, { source: UploadSource.URL }), this.$["*currentActivity"] = LitActivityBlock.activities.UPLOAD_LIST, this.modalManager?.open(LitActivityBlock.activities.UPLOAD_LIST));
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
firstUpdated() {
|
|
27
|
-
let t = this._inputRef.value;
|
|
28
|
-
t && (t.value = "", t.focus());
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return b`
|
|
32
|
-
<uc-activity-header>
|
|
33
|
-
<button type="button" class="uc-mini-btn" @click=${this.historyBack} title=${this.l10n("back")} aria-label=${this.l10n("back")}>
|
|
34
|
-
<uc-icon name="back"></uc-icon>
|
|
35
|
-
</button>
|
|
36
|
-
<div>
|
|
37
|
-
<uc-icon name="url"></uc-icon>
|
|
38
|
-
<span>${this.l10n("caption-from-url")}</span>
|
|
39
|
-
</div>
|
|
40
|
-
<button
|
|
41
|
-
type="button"
|
|
42
|
-
class="uc-mini-btn uc-close-btn"
|
|
43
|
-
@click=${this.$["*closeModal"]}
|
|
44
|
-
title=${this.l10n("a11y-activity-header-button-close")}
|
|
45
|
-
aria-label=${this.l10n("a11y-activity-header-button-close")}
|
|
46
|
-
>
|
|
47
|
-
<uc-icon name="close"></uc-icon>
|
|
48
|
-
</button>
|
|
49
|
-
</uc-activity-header>
|
|
50
|
-
<form class="uc-content" @submit=${this._handleUpload}>
|
|
51
|
-
<label>
|
|
52
|
-
<input
|
|
53
|
-
${n(this._inputRef)}
|
|
54
|
-
placeholder="https://"
|
|
55
|
-
class="uc-url-input"
|
|
56
|
-
type="text"
|
|
57
|
-
@input=${this._handleInput}
|
|
58
|
-
/>
|
|
59
|
-
</label>
|
|
60
|
-
<button
|
|
61
|
-
type="submit"
|
|
62
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
63
|
-
?disabled=${this._formState.importDisabled}
|
|
64
|
-
>${this.l10n("upload-url")}</button>
|
|
65
|
-
</form>
|
|
66
|
-
`;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
__decorate([r()], UrlSource.prototype, "_formState", void 0);
|
|
70
|
-
export { UrlSource as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:14.841Z
|
|
6
|
-
*/
|
|
7
|
-
import "./ref-BejJFG7m.js";
|
|
8
|
-
import "./ActivityHeader-i4x6_Fne.js";
|
|
9
|
-
import { t as UrlSource } from "./UrlSource-DhI3YCt5.js";
|
|
10
|
-
export { UrlSource };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:13.662Z
|
|
6
|
-
*/
|
|
7
|
-
import { At as __decorate, Bt as b, Mt as r, Y as InternalEventType, n, t as e } from "./ref-BOnG19ns.js";
|
|
8
|
-
import { c as UploadSource } from "./plugins-Cjgw5oWg.js";
|
|
9
|
-
import { n as LitActivityBlock, t as LitUploaderBlock } from "./LitUploaderBlock-BjAaoLl2.js";
|
|
10
|
-
var UrlSource = class extends LitUploaderBlock {
|
|
11
|
-
constructor(...t) {
|
|
12
|
-
super(...t), this._formState = { importDisabled: !0 }, this._inputRef = e(), this._handleInput = (t) => {
|
|
13
|
-
this._formState = { importDisabled: !(t.target?.value ?? "") };
|
|
14
|
-
}, this._handleUpload = (t) => {
|
|
15
|
-
t.preventDefault(), this.telemetryManager.sendEvent({
|
|
16
|
-
eventType: InternalEventType.ACTION_EVENT,
|
|
17
|
-
payload: { metadata: {
|
|
18
|
-
event: "upload-from-url",
|
|
19
|
-
node: this.tagName
|
|
20
|
-
} }
|
|
21
|
-
});
|
|
22
|
-
let f = this._inputRef.value?.value?.trim();
|
|
23
|
-
f && (this.api.addFileFromUrl(f, { source: UploadSource.URL }), this.$["*currentActivity"] = LitActivityBlock.activities.UPLOAD_LIST, this.modalManager?.open(LitActivityBlock.activities.UPLOAD_LIST));
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
firstUpdated() {
|
|
27
|
-
let t = this._inputRef.value;
|
|
28
|
-
t && (t.value = "", t.focus());
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return b`
|
|
32
|
-
<uc-activity-header>
|
|
33
|
-
<button type="button" class="uc-mini-btn" @click=${this.historyBack} title=${this.l10n("back")} aria-label=${this.l10n("back")}>
|
|
34
|
-
<uc-icon name="back"></uc-icon>
|
|
35
|
-
</button>
|
|
36
|
-
<div>
|
|
37
|
-
<uc-icon name="url"></uc-icon>
|
|
38
|
-
<span>${this.l10n("caption-from-url")}</span>
|
|
39
|
-
</div>
|
|
40
|
-
<button
|
|
41
|
-
type="button"
|
|
42
|
-
class="uc-mini-btn uc-close-btn"
|
|
43
|
-
@click=${this.$["*closeModal"]}
|
|
44
|
-
title=${this.l10n("a11y-activity-header-button-close")}
|
|
45
|
-
aria-label=${this.l10n("a11y-activity-header-button-close")}
|
|
46
|
-
>
|
|
47
|
-
<uc-icon name="close"></uc-icon>
|
|
48
|
-
</button>
|
|
49
|
-
</uc-activity-header>
|
|
50
|
-
<form class="uc-content" @submit=${this._handleUpload}>
|
|
51
|
-
<label>
|
|
52
|
-
<input
|
|
53
|
-
${n(this._inputRef)}
|
|
54
|
-
placeholder="https://"
|
|
55
|
-
class="uc-url-input"
|
|
56
|
-
type="text"
|
|
57
|
-
@input=${this._handleInput}
|
|
58
|
-
/>
|
|
59
|
-
</label>
|
|
60
|
-
<button
|
|
61
|
-
type="submit"
|
|
62
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
63
|
-
?disabled=${this._formState.importDisabled}
|
|
64
|
-
>${this.l10n("upload-url")}</button>
|
|
65
|
-
</form>
|
|
66
|
-
`;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
__decorate([r()], UrlSource.prototype, "_formState", void 0);
|
|
70
|
-
export { UrlSource as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:13.662Z
|
|
6
|
-
*/
|
|
7
|
-
import "./ref-BOnG19ns.js";
|
|
8
|
-
import "./ActivityHeader-DQy6rII1.js";
|
|
9
|
-
import { t as UrlSource } from "./UrlSource-CE389CBz.js";
|
|
10
|
-
export { UrlSource };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:09.550Z
|
|
6
|
-
*/
|
|
7
|
-
import "./ref-ZWPcLQB9.js";
|
|
8
|
-
import "./ActivityHeader-BFdTdVfD.js";
|
|
9
|
-
import { t as UrlSource } from "./UrlSource-D-971Nut.js";
|
|
10
|
-
export { UrlSource };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:09.550Z
|
|
6
|
-
*/
|
|
7
|
-
import { At as __decorate, Bt as b, Mt as r, Y as InternalEventType, n, t as e } from "./ref-ZWPcLQB9.js";
|
|
8
|
-
import { c as UploadSource } from "./plugins-CzNtrVQB.js";
|
|
9
|
-
import { n as LitActivityBlock, t as LitUploaderBlock } from "./LitUploaderBlock-AX6jOdAS.js";
|
|
10
|
-
var UrlSource = class extends LitUploaderBlock {
|
|
11
|
-
constructor(...t) {
|
|
12
|
-
super(...t), this._formState = { importDisabled: !0 }, this._inputRef = e(), this._handleInput = (t) => {
|
|
13
|
-
this._formState = { importDisabled: !(t.target?.value ?? "") };
|
|
14
|
-
}, this._handleUpload = (t) => {
|
|
15
|
-
t.preventDefault(), this.telemetryManager.sendEvent({
|
|
16
|
-
eventType: InternalEventType.ACTION_EVENT,
|
|
17
|
-
payload: { metadata: {
|
|
18
|
-
event: "upload-from-url",
|
|
19
|
-
node: this.tagName
|
|
20
|
-
} }
|
|
21
|
-
});
|
|
22
|
-
let f = this._inputRef.value?.value?.trim();
|
|
23
|
-
f && (this.api.addFileFromUrl(f, { source: UploadSource.URL }), this.$["*currentActivity"] = LitActivityBlock.activities.UPLOAD_LIST, this.modalManager?.open(LitActivityBlock.activities.UPLOAD_LIST));
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
firstUpdated() {
|
|
27
|
-
let t = this._inputRef.value;
|
|
28
|
-
t && (t.value = "", t.focus());
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return b`
|
|
32
|
-
<uc-activity-header>
|
|
33
|
-
<button type="button" class="uc-mini-btn" @click=${this.historyBack} title=${this.l10n("back")} aria-label=${this.l10n("back")}>
|
|
34
|
-
<uc-icon name="back"></uc-icon>
|
|
35
|
-
</button>
|
|
36
|
-
<div>
|
|
37
|
-
<uc-icon name="url"></uc-icon>
|
|
38
|
-
<span>${this.l10n("caption-from-url")}</span>
|
|
39
|
-
</div>
|
|
40
|
-
<button
|
|
41
|
-
type="button"
|
|
42
|
-
class="uc-mini-btn uc-close-btn"
|
|
43
|
-
@click=${this.$["*closeModal"]}
|
|
44
|
-
title=${this.l10n("a11y-activity-header-button-close")}
|
|
45
|
-
aria-label=${this.l10n("a11y-activity-header-button-close")}
|
|
46
|
-
>
|
|
47
|
-
<uc-icon name="close"></uc-icon>
|
|
48
|
-
</button>
|
|
49
|
-
</uc-activity-header>
|
|
50
|
-
<form class="uc-content" @submit=${this._handleUpload}>
|
|
51
|
-
<label>
|
|
52
|
-
<input
|
|
53
|
-
${n(this._inputRef)}
|
|
54
|
-
placeholder="https://"
|
|
55
|
-
class="uc-url-input"
|
|
56
|
-
type="text"
|
|
57
|
-
@input=${this._handleInput}
|
|
58
|
-
/>
|
|
59
|
-
</label>
|
|
60
|
-
<button
|
|
61
|
-
type="submit"
|
|
62
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
63
|
-
?disabled=${this._formState.importDisabled}
|
|
64
|
-
>${this.l10n("upload-url")}</button>
|
|
65
|
-
</form>
|
|
66
|
-
`;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
__decorate([r()], UrlSource.prototype, "_formState", void 0);
|
|
70
|
-
export { UrlSource as t };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:14.841Z
|
|
6
|
-
*/
|
|
7
|
-
import { At as __decorate, Bt as b, Mt as r, Y as InternalEventType, n, t as e } from "./ref-BejJFG7m.js";
|
|
8
|
-
import { c as UploadSource } from "./plugins-CaaolyMk.js";
|
|
9
|
-
import { n as LitActivityBlock, t as LitUploaderBlock } from "./LitUploaderBlock-Oi33U0uf.js";
|
|
10
|
-
var UrlSource = class extends LitUploaderBlock {
|
|
11
|
-
constructor(...t) {
|
|
12
|
-
super(...t), this._formState = { importDisabled: !0 }, this._inputRef = e(), this._handleInput = (t) => {
|
|
13
|
-
this._formState = { importDisabled: !(t.target?.value ?? "") };
|
|
14
|
-
}, this._handleUpload = (t) => {
|
|
15
|
-
t.preventDefault(), this.telemetryManager.sendEvent({
|
|
16
|
-
eventType: InternalEventType.ACTION_EVENT,
|
|
17
|
-
payload: { metadata: {
|
|
18
|
-
event: "upload-from-url",
|
|
19
|
-
node: this.tagName
|
|
20
|
-
} }
|
|
21
|
-
});
|
|
22
|
-
let f = this._inputRef.value?.value?.trim();
|
|
23
|
-
f && (this.api.addFileFromUrl(f, { source: UploadSource.URL }), this.$["*currentActivity"] = LitActivityBlock.activities.UPLOAD_LIST, this.modalManager?.open(LitActivityBlock.activities.UPLOAD_LIST));
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
firstUpdated() {
|
|
27
|
-
let t = this._inputRef.value;
|
|
28
|
-
t && (t.value = "", t.focus());
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return b`
|
|
32
|
-
<uc-activity-header>
|
|
33
|
-
<button type="button" class="uc-mini-btn" @click=${this.historyBack} title=${this.l10n("back")} aria-label=${this.l10n("back")}>
|
|
34
|
-
<uc-icon name="back"></uc-icon>
|
|
35
|
-
</button>
|
|
36
|
-
<div>
|
|
37
|
-
<uc-icon name="url"></uc-icon>
|
|
38
|
-
<span>${this.l10n("caption-from-url")}</span>
|
|
39
|
-
</div>
|
|
40
|
-
<button
|
|
41
|
-
type="button"
|
|
42
|
-
class="uc-mini-btn uc-close-btn"
|
|
43
|
-
@click=${this.$["*closeModal"]}
|
|
44
|
-
title=${this.l10n("a11y-activity-header-button-close")}
|
|
45
|
-
aria-label=${this.l10n("a11y-activity-header-button-close")}
|
|
46
|
-
>
|
|
47
|
-
<uc-icon name="close"></uc-icon>
|
|
48
|
-
</button>
|
|
49
|
-
</uc-activity-header>
|
|
50
|
-
<form class="uc-content" @submit=${this._handleUpload}>
|
|
51
|
-
<label>
|
|
52
|
-
<input
|
|
53
|
-
${n(this._inputRef)}
|
|
54
|
-
placeholder="https://"
|
|
55
|
-
class="uc-url-input"
|
|
56
|
-
type="text"
|
|
57
|
-
@input=${this._handleInput}
|
|
58
|
-
/>
|
|
59
|
-
</label>
|
|
60
|
-
<button
|
|
61
|
-
type="submit"
|
|
62
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
63
|
-
?disabled=${this._formState.importDisabled}
|
|
64
|
-
>${this.l10n("upload-url")}</button>
|
|
65
|
-
</form>
|
|
66
|
-
`;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
__decorate([r()], UrlSource.prototype, "_formState", void 0);
|
|
70
|
-
export { UrlSource as t };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Package: @uploadcare/file-uploader@1.28.0-alpha.1 (MIT)
|
|
4
|
-
* License: https://github.com/uploadcare/blob/main/LICENSE
|
|
5
|
-
* Built: 2026-03-02T20:26:12.501Z
|
|
6
|
-
*/
|
|
7
|
-
import { M as __decorate, V as InternalEventType, bt as r, gt as n, ht as e, wt as b } from "./constants-BCfCF0cJ.js";
|
|
8
|
-
import { u as UploadSource } from "./plugins-DS0hIs2V.js";
|
|
9
|
-
import { n as LitActivityBlock, t as LitUploaderBlock } from "./LitUploaderBlock-Dl3ce0Tc.js";
|
|
10
|
-
var UrlSource = class extends LitUploaderBlock {
|
|
11
|
-
constructor(...t) {
|
|
12
|
-
super(...t), this._formState = { importDisabled: !0 }, this._inputRef = e(), this._handleInput = (t) => {
|
|
13
|
-
this._formState = { importDisabled: !(t.target?.value ?? "") };
|
|
14
|
-
}, this._handleUpload = (t) => {
|
|
15
|
-
t.preventDefault(), this.telemetryManager.sendEvent({
|
|
16
|
-
eventType: InternalEventType.ACTION_EVENT,
|
|
17
|
-
payload: { metadata: {
|
|
18
|
-
event: "upload-from-url",
|
|
19
|
-
node: this.tagName
|
|
20
|
-
} }
|
|
21
|
-
});
|
|
22
|
-
let f = this._inputRef.value?.value?.trim();
|
|
23
|
-
f && (this.api.addFileFromUrl(f, { source: UploadSource.URL }), this.$["*currentActivity"] = LitActivityBlock.activities.UPLOAD_LIST, this.modalManager?.open(LitActivityBlock.activities.UPLOAD_LIST));
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
firstUpdated() {
|
|
27
|
-
let t = this._inputRef.value;
|
|
28
|
-
t && (t.value = "", t.focus());
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return b`
|
|
32
|
-
<uc-activity-header>
|
|
33
|
-
<button type="button" class="uc-mini-btn" @click=${this.historyBack} title=${this.l10n("back")} aria-label=${this.l10n("back")}>
|
|
34
|
-
<uc-icon name="back"></uc-icon>
|
|
35
|
-
</button>
|
|
36
|
-
<div>
|
|
37
|
-
<uc-icon name="url"></uc-icon>
|
|
38
|
-
<span>${this.l10n("caption-from-url")}</span>
|
|
39
|
-
</div>
|
|
40
|
-
<button
|
|
41
|
-
type="button"
|
|
42
|
-
class="uc-mini-btn uc-close-btn"
|
|
43
|
-
@click=${this.$["*closeModal"]}
|
|
44
|
-
title=${this.l10n("a11y-activity-header-button-close")}
|
|
45
|
-
aria-label=${this.l10n("a11y-activity-header-button-close")}
|
|
46
|
-
>
|
|
47
|
-
<uc-icon name="close"></uc-icon>
|
|
48
|
-
</button>
|
|
49
|
-
</uc-activity-header>
|
|
50
|
-
<form class="uc-content" @submit=${this._handleUpload}>
|
|
51
|
-
<label>
|
|
52
|
-
<input
|
|
53
|
-
${n(this._inputRef)}
|
|
54
|
-
placeholder="https://"
|
|
55
|
-
class="uc-url-input"
|
|
56
|
-
type="text"
|
|
57
|
-
@input=${this._handleInput}
|
|
58
|
-
/>
|
|
59
|
-
</label>
|
|
60
|
-
<button
|
|
61
|
-
type="submit"
|
|
62
|
-
class="uc-url-upload-btn uc-primary-btn"
|
|
63
|
-
?disabled=${this._formState.importDisabled}
|
|
64
|
-
>${this.l10n("upload-url")}</button>
|
|
65
|
-
</form>
|
|
66
|
-
`;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
__decorate([r()], UrlSource.prototype, "_formState", void 0);
|
|
70
|
-
export { UrlSource };
|
package/web/abstract/CTX.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { UploadcareGroup, Queue } from '@uploadcare/upload-client';
|
|
2
|
-
import { LitBlock } from '../lit/LitBlock';
|
|
3
|
-
import { OutputCollectionState, OutputErrorCollection } from '../types/index';
|
|
4
|
-
export declare const blockCtx: () => {};
|
|
5
|
-
export declare const activityBlockCtx: (fnCtx: LitBlock) => {
|
|
6
|
-
'*currentActivity': null;
|
|
7
|
-
'*currentActivityParams': {};
|
|
8
|
-
'*history': never[];
|
|
9
|
-
'*historyBack': null;
|
|
10
|
-
'*closeModal': () => void;
|
|
11
|
-
};
|
|
12
|
-
export declare const uploaderBlockCtx: (fnCtx: LitBlock) => {
|
|
13
|
-
'*commonProgress': number;
|
|
14
|
-
'*uploadList': never[];
|
|
15
|
-
'*uploadQueue': Queue;
|
|
16
|
-
'*collectionErrors': OutputErrorCollection[];
|
|
17
|
-
'*collectionState': OutputCollectionState | null;
|
|
18
|
-
'*groupInfo': UploadcareGroup | null;
|
|
19
|
-
'*uploadTrigger': Set<string>;
|
|
20
|
-
'*currentActivity': null;
|
|
21
|
-
'*currentActivityParams': {};
|
|
22
|
-
'*history': never[];
|
|
23
|
-
'*historyBack': null;
|
|
24
|
-
'*closeModal': () => void;
|
|
25
|
-
};
|
|
26
|
-
export declare const solutionBlockCtx: (fnCtx: LitBlock) => {
|
|
27
|
-
'*solution': string | null;
|
|
28
|
-
'*commonProgress': number;
|
|
29
|
-
'*uploadList': never[];
|
|
30
|
-
'*uploadQueue': Queue;
|
|
31
|
-
'*collectionErrors': OutputErrorCollection[];
|
|
32
|
-
'*collectionState': OutputCollectionState | null;
|
|
33
|
-
'*groupInfo': UploadcareGroup | null;
|
|
34
|
-
'*uploadTrigger': Set<string>;
|
|
35
|
-
'*currentActivity': null;
|
|
36
|
-
'*currentActivityParams': {};
|
|
37
|
-
'*history': never[];
|
|
38
|
-
'*historyBack': null;
|
|
39
|
-
'*closeModal': () => void;
|
|
40
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Uid } from '../lit/Uid';
|
|
2
|
-
import { TypedData } from './TypedData';
|
|
3
|
-
type ChangeMap<T extends Record<string, unknown>> = Record<keyof T, Set<Uid>>;
|
|
4
|
-
type TypedCollectionPropertyObserver<T extends Record<string, unknown>> = (changeMap: ChangeMap<T>) => void;
|
|
5
|
-
export type TypedCollectionObserverHandler<T extends Record<string, unknown>> = (list: Uid[], added: Set<TypedData<T>>, removed: Set<TypedData<T>>) => void;
|
|
6
|
-
type TypedCollectionOptions<T extends Record<string, unknown>> = {
|
|
7
|
-
initialValue: T;
|
|
8
|
-
watchList?: (keyof T)[];
|
|
9
|
-
handler?: TypedCollectionObserverHandler<T>;
|
|
10
|
-
};
|
|
11
|
-
export declare class TypedCollection<T extends Record<string, unknown>> {
|
|
12
|
-
private static readonly _destroyDelayMs;
|
|
13
|
-
private _ctxId;
|
|
14
|
-
private _data;
|
|
15
|
-
private _watchList;
|
|
16
|
-
private _subsMap;
|
|
17
|
-
private _propertyObservers;
|
|
18
|
-
private _collectionObservers;
|
|
19
|
-
private _items;
|
|
20
|
-
private _removed;
|
|
21
|
-
private _added;
|
|
22
|
-
private _markedToDestroy;
|
|
23
|
-
private _observeTimeout?;
|
|
24
|
-
private _notifyTimeout?;
|
|
25
|
-
private _destroyTimeout?;
|
|
26
|
-
private _notifyObservers;
|
|
27
|
-
private _initialValue;
|
|
28
|
-
constructor(options: TypedCollectionOptions<T>);
|
|
29
|
-
private _notify;
|
|
30
|
-
private _scheduleDestroyMarkedItems;
|
|
31
|
-
observeCollection(handler: TypedCollectionObserverHandler<T>): () => void;
|
|
32
|
-
unobserveCollection(handler: TypedCollectionObserverHandler<T>): void;
|
|
33
|
-
add(init: Partial<T>): Uid;
|
|
34
|
-
hasItem(id: Uid): boolean;
|
|
35
|
-
read(id: Uid): TypedData<T> | null;
|
|
36
|
-
readProp<K extends keyof T>(id: Uid, propName: K): T[K];
|
|
37
|
-
publishProp<K extends keyof T>(id: Uid, propName: K, value: T[K]): void;
|
|
38
|
-
remove(id: Uid): void;
|
|
39
|
-
clearAll(): void;
|
|
40
|
-
observeProperties(handler: TypedCollectionPropertyObserver<T>): () => void;
|
|
41
|
-
unobserveProperties(handler: TypedCollectionPropertyObserver<T>): void;
|
|
42
|
-
findItems(checkFn: (item: TypedData<T>) => boolean): Uid[];
|
|
43
|
-
items(): Uid[];
|
|
44
|
-
get size(): number;
|
|
45
|
-
destroy(): void;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Uid } from '../lit/Uid';
|
|
2
|
-
export declare class TypedData<T extends Record<string, unknown>> {
|
|
3
|
-
private _ctxId;
|
|
4
|
-
private _data;
|
|
5
|
-
constructor(initialValue: T);
|
|
6
|
-
get uid(): Uid;
|
|
7
|
-
setValue<K extends keyof T>(prop: K, value: T[K]): void;
|
|
8
|
-
setMultipleValues(updObj: Partial<T>): void;
|
|
9
|
-
getValue<K extends keyof T>(prop: K): T[K];
|
|
10
|
-
subscribe<K extends keyof T>(prop: K, handler: (newVal: T[K]) => void): import('../lit/PubSubCompat').Unsubscriber;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ModeCameraType } from '../blocks/CameraSource/constants';
|
|
2
|
-
import { ActivityParamsMap, ActivityType } from '../lit/LitActivityBlock';
|
|
3
|
-
import { SharedInstance } from '../lit/shared-instances';
|
|
4
|
-
import { OutputCollectionStatus, OutputFileEntry, OutputFileStatus } from '../types/index';
|
|
5
|
-
import { buildOutputCollectionState } from './buildOutputCollectionState';
|
|
6
|
-
import { UploadEntryData } from './uploadEntrySchema';
|
|
7
|
-
export type ApiAddFileCommonOptions = {
|
|
8
|
-
silent?: boolean;
|
|
9
|
-
fileName?: string;
|
|
10
|
-
source?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare class UploaderPublicApi extends SharedInstance {
|
|
13
|
-
private _l10n;
|
|
14
|
-
get _uploadCollection(): import('./TypedCollection').TypedCollection<UploadEntryData>;
|
|
15
|
-
get cfg(): Readonly<import('..').ConfigType>;
|
|
16
|
-
get l10n(): (str: string, variables?: Record<string, string | number>) => string;
|
|
17
|
-
/**
|
|
18
|
-
* TODO: Probably we should not allow user to override `source` property
|
|
19
|
-
*/
|
|
20
|
-
addFileFromUrl: (url: string, { silent, fileName, source }?: ApiAddFileCommonOptions) => OutputFileEntry<"idle">;
|
|
21
|
-
addFileFromUuid: (uuid: string, { silent, fileName, source }?: ApiAddFileCommonOptions) => OutputFileEntry<"idle">;
|
|
22
|
-
addFileFromCdnUrl: (cdnUrl: string, { silent, fileName, source }?: ApiAddFileCommonOptions) => OutputFileEntry<"idle">;
|
|
23
|
-
addFileFromObject: (file: File, { silent, fileName, source, fullPath, }?: ApiAddFileCommonOptions & {
|
|
24
|
-
fullPath?: string;
|
|
25
|
-
}) => OutputFileEntry<"idle">;
|
|
26
|
-
removeFileByInternalId: (internalId: string) => void;
|
|
27
|
-
removeAllFiles(): void;
|
|
28
|
-
uploadAll: () => void;
|
|
29
|
-
openSystemDialog: (options?: {
|
|
30
|
-
captureCamera?: boolean;
|
|
31
|
-
modeCamera?: ModeCameraType;
|
|
32
|
-
}) => void;
|
|
33
|
-
getOutputItem<TStatus extends OutputFileStatus>(entryId: string): OutputFileEntry<TStatus>;
|
|
34
|
-
getOutputCollectionState<TStatus extends OutputCollectionStatus>(): ReturnType<typeof buildOutputCollectionState<TStatus>>;
|
|
35
|
-
initFlow: (force?: boolean) => void;
|
|
36
|
-
doneFlow: () => void;
|
|
37
|
-
setCurrentActivity: <T extends ActivityType>(activityType: T, ...params: T extends keyof ActivityParamsMap ? [ActivityParamsMap[T]] extends [never] ? [] : [ActivityParamsMap[T]] : []) => void;
|
|
38
|
-
getCurrentActivity: () => ActivityType;
|
|
39
|
-
setModalState: (opened: boolean) => void;
|
|
40
|
-
private get _sourceList();
|
|
41
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SharedInstancesBag } from '../lit/shared-instances';
|
|
2
|
-
import { GroupFlag, OutputCollectionState, OutputCollectionStatus } from '../types/index';
|
|
3
|
-
export declare function buildOutputCollectionState<TCollectionStatus extends OutputCollectionStatus, TGroupFlag extends GroupFlag = 'maybe-has-group'>(bag: SharedInstancesBag): OutputCollectionState<TCollectionStatus, TGroupFlag>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom configuration options registration system for plugins
|
|
3
|
-
*/
|
|
4
|
-
export type CustomConfigDefinition<T = unknown> = {
|
|
5
|
-
/**
|
|
6
|
-
* Config option name (will be used as property and optionally as attribute)
|
|
7
|
-
*/
|
|
8
|
-
name: string;
|
|
9
|
-
/**
|
|
10
|
-
* Default value for the config option
|
|
11
|
-
*/
|
|
12
|
-
defaultValue: T;
|
|
13
|
-
/**
|
|
14
|
-
* Whether this config can be set via HTML attribute
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
attribute?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Convert attribute string to config value
|
|
20
|
-
* Only used if attribute is true
|
|
21
|
-
*/
|
|
22
|
-
fromAttribute?: (value: string | null) => T;
|
|
23
|
-
/**
|
|
24
|
-
* Convert config value to attribute string
|
|
25
|
-
* Only used if attribute is true
|
|
26
|
-
*/
|
|
27
|
-
toAttribute?: (value: T) => string | null;
|
|
28
|
-
/**
|
|
29
|
-
* Normalize/validate the config value
|
|
30
|
-
*/
|
|
31
|
-
normalize?: (value: unknown) => T;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Custom config definition with plugin ownership tracking
|
|
35
|
-
*/
|
|
36
|
-
export type OwnedCustomConfigDefinition<T = unknown> = CustomConfigDefinition<T> & {
|
|
37
|
-
pluginId: string;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Registry for custom config options defined by plugins
|
|
41
|
-
* This is managed by the PluginManager as a shared instance property
|
|
42
|
-
*/
|
|
43
|
-
export declare class CustomConfigRegistry {
|
|
44
|
-
private _definitions;
|
|
45
|
-
register<T = unknown>(pluginId: string, definition: CustomConfigDefinition<T>): void;
|
|
46
|
-
unregister(name: string): void;
|
|
47
|
-
unregisterByPlugin(pluginId: string): void;
|
|
48
|
-
get(name: string): CustomConfigDefinition<any> | undefined;
|
|
49
|
-
getAll(): Map<string, CustomConfigDefinition<any>>;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Interface for TypeScript module augmentation
|
|
53
|
-
* Plugins should extend this interface to add their custom config types
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```typescript
|
|
57
|
-
* declare module '@uploadcare/file-uploader' {
|
|
58
|
-
* interface CustomConfig {
|
|
59
|
-
* 'my-custom-option': string;
|
|
60
|
-
* }
|
|
61
|
-
* }
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
export interface CustomConfig {
|
|
65
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function defineComponents(blockExports: Record<string, any>): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SharedInstance, SharedInstancesBag } from '../../lit/shared-instances';
|
|
2
|
-
export type PasteScope = 'local' | 'global' | false;
|
|
3
|
-
export declare class ClipboardLayer extends SharedInstance {
|
|
4
|
-
private scopes;
|
|
5
|
-
private listener;
|
|
6
|
-
constructor(sharedInstancesBag: SharedInstancesBag);
|
|
7
|
-
private openUploadList;
|
|
8
|
-
private _listener;
|
|
9
|
-
private handlePaste;
|
|
10
|
-
registerBlock(scope: Node): () => void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const UC_WINDOW_KEY = "UC";
|
|
2
|
-
type IndexModule = Record<string, any>;
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
[UC_WINDOW_KEY]?: IndexModule;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @param url File Uploader pack url
|
|
10
|
-
* @param [register] Register connected package, if it not registered yet
|
|
11
|
-
*/
|
|
12
|
-
export declare function loadFileUploaderFrom(url: string, register?: boolean): Promise<IndexModule | null>;
|
|
13
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { default as en } from '../locales/file-uploader/en';
|
|
2
|
-
export type LocaleDefinition = typeof en;
|
|
3
|
-
export type LocaleDefinitionResolver = () => Promise<LocaleDefinition>;
|
|
4
|
-
export declare const defineLocale: (localeName: string, definitionOrResolver: LocaleDefinition | LocaleDefinitionResolver) => void;
|
|
5
|
-
export declare const resolveLocaleDefinition: (localeName: string) => Promise<LocaleDefinition>;
|