@uploadcare/file-uploader 1.30.0-alpha.7 → 1.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abstract/loadFileUploaderFrom.js +2 -2
- package/dist/env.js +3 -3
- package/dist/index.css +3 -3
- package/dist/index.d.ts +13 -21
- package/dist/index.js +4 -4
- package/dist/index.layered.css +3 -3
- package/dist/index.ssr.js +54 -214
- package/dist/locales/file-uploader/ar.js +2 -2
- package/dist/locales/file-uploader/az.js +2 -2
- package/dist/locales/file-uploader/ca.js +2 -2
- package/dist/locales/file-uploader/cs.js +2 -2
- package/dist/locales/file-uploader/da.js +2 -2
- package/dist/locales/file-uploader/de.js +2 -2
- package/dist/locales/file-uploader/el.js +2 -2
- package/dist/locales/file-uploader/en.js +2 -2
- package/dist/locales/file-uploader/es.js +2 -2
- package/dist/locales/file-uploader/et.js +2 -2
- package/dist/locales/file-uploader/fi.js +2 -2
- package/dist/locales/file-uploader/fr.js +2 -2
- package/dist/locales/file-uploader/he.js +2 -2
- package/dist/locales/file-uploader/hy.js +2 -2
- package/dist/locales/file-uploader/is.js +2 -2
- package/dist/locales/file-uploader/it.js +2 -2
- package/dist/locales/file-uploader/ja.js +2 -2
- package/dist/locales/file-uploader/ka.js +2 -2
- package/dist/locales/file-uploader/kk.js +2 -2
- package/dist/locales/file-uploader/ko.js +2 -2
- package/dist/locales/file-uploader/lv.js +2 -2
- package/dist/locales/file-uploader/nb.js +2 -2
- package/dist/locales/file-uploader/nl.js +2 -2
- package/dist/locales/file-uploader/pl.js +2 -2
- package/dist/locales/file-uploader/pt.js +2 -2
- package/dist/locales/file-uploader/ro.js +2 -2
- package/dist/locales/file-uploader/ru.js +2 -2
- package/dist/locales/file-uploader/sk.js +2 -2
- package/dist/locales/file-uploader/sr.js +2 -2
- package/dist/locales/file-uploader/sv.js +2 -2
- package/dist/locales/file-uploader/tr.js +2 -2
- package/dist/locales/file-uploader/uk.js +2 -2
- package/dist/locales/file-uploader/vi.js +2 -2
- package/dist/locales/file-uploader/zh-TW.js +2 -2
- package/dist/locales/file-uploader/zh.js +2 -2
- package/package.json +1 -1
- package/web/file-uploader.iife.min.d.ts +13 -21
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.d.ts +13 -21
- package/web/file-uploader.min.js +4 -4
- package/web/uc-basic.layered.min.css +3 -3
- package/web/uc-basic.min.css +3 -3
- package/web/uc-cloud-image-editor.layered.min.css +2 -2
- package/web/uc-cloud-image-editor.min.css +2 -2
- package/web/uc-cloud-image-editor.min.d.ts +12 -20
- package/web/uc-cloud-image-editor.min.js +3 -3
- package/web/uc-file-uploader-inline.layered.min.css +3 -3
- package/web/uc-file-uploader-inline.min.css +3 -3
- package/web/uc-file-uploader-inline.min.d.ts +13 -21
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.layered.min.css +3 -3
- package/web/uc-file-uploader-minimal.min.css +3 -3
- package/web/uc-file-uploader-minimal.min.d.ts +13 -21
- package/web/uc-file-uploader-minimal.min.js +4 -4
- package/web/uc-file-uploader-regular.layered.min.css +3 -3
- package/web/uc-file-uploader-regular.min.css +3 -3
- package/web/uc-file-uploader-regular.min.d.ts +13 -21
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +3 -3
|
@@ -1370,12 +1370,8 @@ declare const ExternalUploadSource: Readonly<{
|
|
|
1370
1370
|
readonly DROPBOX_CHOOSER: "dropboxchooser";
|
|
1371
1371
|
readonly GDRIVE: "gdrive";
|
|
1372
1372
|
readonly GPHOTOS: "gphotos";
|
|
1373
|
-
readonly FLICKR: "flickr";
|
|
1374
|
-
readonly VK: "vk";
|
|
1375
|
-
readonly EVERNOTE: "evernote";
|
|
1376
1373
|
readonly BOX: "box";
|
|
1377
1374
|
readonly ONEDRIVE: "onedrive";
|
|
1378
|
-
readonly HUDDLE: "huddle";
|
|
1379
1375
|
}>;
|
|
1380
1376
|
declare const UploadSource: Readonly<{
|
|
1381
1377
|
readonly FACEBOOK: "facebook";
|
|
@@ -1383,12 +1379,8 @@ declare const UploadSource: Readonly<{
|
|
|
1383
1379
|
readonly DROPBOX_CHOOSER: "dropboxchooser";
|
|
1384
1380
|
readonly GDRIVE: "gdrive";
|
|
1385
1381
|
readonly GPHOTOS: "gphotos";
|
|
1386
|
-
readonly FLICKR: "flickr";
|
|
1387
|
-
readonly VK: "vk";
|
|
1388
|
-
readonly EVERNOTE: "evernote";
|
|
1389
1382
|
readonly BOX: "box";
|
|
1390
1383
|
readonly ONEDRIVE: "onedrive";
|
|
1391
|
-
readonly HUDDLE: "huddle";
|
|
1392
1384
|
readonly MOBILE_VIDEO_CAMERA: "mobile-video-camera";
|
|
1393
1385
|
readonly MOBILE_PHOTO_CAMERA: "mobile-photo-camera";
|
|
1394
1386
|
readonly LOCAL: "local";
|
|
@@ -1905,17 +1897,17 @@ declare global {
|
|
|
1905
1897
|
}
|
|
1906
1898
|
}
|
|
1907
1899
|
|
|
1908
|
-
declare class
|
|
1900
|
+
declare class NoWrapModeDynamicBtn extends LitUploaderBlock {
|
|
1909
1901
|
static styleAttrs: string[];
|
|
1910
1902
|
}
|
|
1911
1903
|
declare global {
|
|
1912
1904
|
interface HTMLElementTagNameMap {
|
|
1913
|
-
'uc-no-wrap-mode-
|
|
1905
|
+
'uc-no-wrap-mode-dynamic-btn': NoWrapModeDynamicBtn;
|
|
1914
1906
|
}
|
|
1915
1907
|
}
|
|
1916
1908
|
|
|
1917
|
-
type
|
|
1918
|
-
declare class
|
|
1909
|
+
type DynamicButtonMode = 'auto' | 'menu' | 'toolbar' | 'compact';
|
|
1910
|
+
declare class DynamicBtn extends LitUploaderBlock {
|
|
1919
1911
|
static styleAttrs: string[];
|
|
1920
1912
|
couldBeCtxOwner: boolean;
|
|
1921
1913
|
private _unregisterAfterFileAddHook?;
|
|
@@ -1956,7 +1948,7 @@ declare class SmartBtn extends LitUploaderBlock {
|
|
|
1956
1948
|
}
|
|
1957
1949
|
declare global {
|
|
1958
1950
|
interface HTMLElementTagNameMap {
|
|
1959
|
-
'uc-
|
|
1951
|
+
'uc-dynamic-btn': DynamicBtn;
|
|
1960
1952
|
}
|
|
1961
1953
|
}
|
|
1962
1954
|
|
|
@@ -2261,8 +2253,8 @@ type ConfigType = {
|
|
|
2261
2253
|
* Define the clipboard paste scope.
|
|
2262
2254
|
*/
|
|
2263
2255
|
pasteScope: PasteScope;
|
|
2264
|
-
|
|
2265
|
-
|
|
2256
|
+
dynamicButtonViewMode: DynamicButtonMode;
|
|
2257
|
+
dynamicButtonShowFirstIcon: boolean;
|
|
2266
2258
|
};
|
|
2267
2259
|
type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
|
|
2268
2260
|
type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;
|
|
@@ -3327,19 +3319,19 @@ declare class FileUploaderRegular extends LitSolutionBlock {
|
|
|
3327
3319
|
static lazyPlugins: LazyPluginEntry[];
|
|
3328
3320
|
attributesMeta: {
|
|
3329
3321
|
headless?: boolean;
|
|
3330
|
-
'
|
|
3322
|
+
'dynamic-button'?: boolean;
|
|
3331
3323
|
'ctx-name': string;
|
|
3332
3324
|
};
|
|
3333
3325
|
static styleAttrs: string[];
|
|
3334
3326
|
headless: boolean;
|
|
3335
|
-
|
|
3327
|
+
dynamicButton: boolean;
|
|
3336
3328
|
constructor();
|
|
3337
3329
|
initCallback(): void;
|
|
3338
3330
|
/**
|
|
3339
|
-
* Exposes whether
|
|
3331
|
+
* Exposes whether the dynamic button is active for non-Lit classes that can't use context
|
|
3340
3332
|
*/
|
|
3341
|
-
get
|
|
3342
|
-
private
|
|
3333
|
+
get isDynamicButtonActive(): boolean;
|
|
3334
|
+
private _renderDynamicButton;
|
|
3343
3335
|
private _renderStaticButton;
|
|
3344
3336
|
private _renderButton;
|
|
3345
3337
|
render(): lit_html.TemplateResult<1>;
|
|
@@ -3399,4 +3391,4 @@ declare global {
|
|
|
3399
3391
|
declare const PACKAGE_NAME = "blocks";
|
|
3400
3392
|
declare const PACKAGE_VERSION: string;
|
|
3401
3393
|
|
|
3402
|
-
export { LitActivityBlock as ActivityBlock, ActivityHeader, type ActivityType, type ApiAddFileCommonOptions, BaseComponent, LitBlock as Block, BtnUi, CameraSource, CloudImageEditor, CloudImageEditorActivity, CloudImageEditorBlock, type CollectionValidators, Config, type ConfigAttributesType, type ConfigComplexType, type ConfigPlainType, type ConfigType, Copyright, CropFrame, type CustomActivities, type CustomConfig, type CustomConfigDefinition, PubSub as Data, DropArea, DropDown, EditorAspectRatioButtonControl, EditorCropButtonControl, EditorFilterControl, EditorFreeformButtonControl, EditorImageCropper, EditorImageFader, EditorOperationControl, EditorScroller, EditorSlider, EditorToolbar, type EventMap, type EventPayload, EventType, ExternalSource, ExternalUploadSource, FileActionButton, FileItem, FileUploaderInline, FileUploaderMinimal, FileUploaderRegular, type FileValidator, type FileValidatorDescriptor, type FileValidators, FormInput, type FuncCollectionValidator, type FuncFileValidator, type GroupFlag, Icon, type IconHrefResolver, Img, type KebabCase$1 as KebabCase, type KebabCaseKeys, LineLoaderUi, type LocaleDefinitionOverride, type LowerCase, type LowerCaseKeys, type MetadataCallback, Modal, ModalEvents, type ModalId,
|
|
3394
|
+
export { LitActivityBlock as ActivityBlock, ActivityHeader, type ActivityType, type ApiAddFileCommonOptions, BaseComponent, LitBlock as Block, BtnUi, CameraSource, CloudImageEditor, CloudImageEditorActivity, CloudImageEditorBlock, type CollectionValidators, Config, type ConfigAttributesType, type ConfigComplexType, type ConfigPlainType, type ConfigType, Copyright, CropFrame, type CustomActivities, type CustomConfig, type CustomConfigDefinition, PubSub as Data, DropArea, DropDown, DynamicBtn, EditorAspectRatioButtonControl, EditorCropButtonControl, EditorFilterControl, EditorFreeformButtonControl, EditorImageCropper, EditorImageFader, EditorOperationControl, EditorScroller, EditorSlider, EditorToolbar, type EventMap, type EventPayload, EventType, ExternalSource, ExternalUploadSource, FileActionButton, FileItem, FileUploaderInline, FileUploaderMinimal, FileUploaderRegular, type FileValidator, type FileValidatorDescriptor, type FileValidators, FormInput, type FuncCollectionValidator, type FuncFileValidator, type GroupFlag, Icon, type IconHrefResolver, Img, type KebabCase$1 as KebabCase, type KebabCaseKeys, LineLoaderUi, type LocaleDefinitionOverride, type LowerCase, type LowerCaseKeys, type MetadataCallback, Modal, ModalEvents, type ModalId, NoWrapModeDynamicBtn, type OutputCollectionErrorType, type OutputCollectionState, type OutputCollectionStatus, type OutputCustomErrorType, type OutputError, type OutputErrorCollection, type OutputErrorFile, type OutputErrorTypePayload, type OutputFileEntry, type OutputFileErrorPayload, type OutputFileErrorType, type OutputFileStatus, type Owned, PACKAGE_NAME, PACKAGE_VERSION, type PluginActivityApi, PluginActivityHost, type PluginActivityRegistration, PluginActivityRenderer, type PluginApi, type PluginConfigApi, type PluginFileActionRegistration, type PluginFileEntryUpdate, type PluginFileHookContext, type PluginFileHookRegistration, type PluginFileHookResult, type PluginFilesApi, type PluginIconRegistration, type PluginL10nRegistration, type PluginRegistryApi, type PluginRegistrySnapshot, type PluginRender, type PluginRenderDispose, type PluginSetupParams, type PluginSetupResult, type PluginSourceRegistration, type PluginUploaderApi, PresenceToggle, PrimaryAction, ProgressBar, ProgressBarCommon, type SecureDeliveryProxyUrlResolver, type SecureUploadsSignatureAndExpire, type SecureUploadsSignatureResolver, Select, SimpleBtn, SliderUi, LitSolutionBlock as SolutionBlock, SourceBtn, SourceList, type SourceTypes, Spinner, StartFrom, Thumb, UID, UploadCtxProvider, UploadList, UploadSource, LitUploaderBlock as UploaderBlock, type UploaderPlugin, UploaderPublicApi, UrlSource, defineComponents, defineLocale, loadFileUploaderFrom, toKebabCase };
|