@uploadcare/file-uploader 1.30.0 → 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 -13
- package/dist/index.js +4 -4
- package/dist/index.layered.css +3 -3
- package/dist/index.ssr.js +54 -54
- 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 -13
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.d.ts +13 -13
- 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 -12
- 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 -13
- 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 -13
- 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 -13
- package/web/uc-file-uploader-regular.min.js +4 -4
- package/web/uc-img.min.js +3 -3
|
@@ -1897,17 +1897,17 @@ declare global {
|
|
|
1897
1897
|
}
|
|
1898
1898
|
}
|
|
1899
1899
|
|
|
1900
|
-
declare class
|
|
1900
|
+
declare class NoWrapModeDynamicBtn extends LitUploaderBlock {
|
|
1901
1901
|
static styleAttrs: string[];
|
|
1902
1902
|
}
|
|
1903
1903
|
declare global {
|
|
1904
1904
|
interface HTMLElementTagNameMap {
|
|
1905
|
-
'uc-no-wrap-mode-
|
|
1905
|
+
'uc-no-wrap-mode-dynamic-btn': NoWrapModeDynamicBtn;
|
|
1906
1906
|
}
|
|
1907
1907
|
}
|
|
1908
1908
|
|
|
1909
|
-
type
|
|
1910
|
-
declare class
|
|
1909
|
+
type DynamicButtonMode = 'auto' | 'menu' | 'toolbar' | 'compact';
|
|
1910
|
+
declare class DynamicBtn extends LitUploaderBlock {
|
|
1911
1911
|
static styleAttrs: string[];
|
|
1912
1912
|
couldBeCtxOwner: boolean;
|
|
1913
1913
|
private _unregisterAfterFileAddHook?;
|
|
@@ -1948,7 +1948,7 @@ declare class SmartBtn extends LitUploaderBlock {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
declare global {
|
|
1950
1950
|
interface HTMLElementTagNameMap {
|
|
1951
|
-
'uc-
|
|
1951
|
+
'uc-dynamic-btn': DynamicBtn;
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
|
|
@@ -2253,8 +2253,8 @@ type ConfigType = {
|
|
|
2253
2253
|
* Define the clipboard paste scope.
|
|
2254
2254
|
*/
|
|
2255
2255
|
pasteScope: PasteScope;
|
|
2256
|
-
|
|
2257
|
-
|
|
2256
|
+
dynamicButtonViewMode: DynamicButtonMode;
|
|
2257
|
+
dynamicButtonShowFirstIcon: boolean;
|
|
2258
2258
|
};
|
|
2259
2259
|
type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
|
|
2260
2260
|
type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;
|
|
@@ -3319,19 +3319,19 @@ declare class FileUploaderRegular extends LitSolutionBlock {
|
|
|
3319
3319
|
static lazyPlugins: LazyPluginEntry[];
|
|
3320
3320
|
attributesMeta: {
|
|
3321
3321
|
headless?: boolean;
|
|
3322
|
-
'
|
|
3322
|
+
'dynamic-button'?: boolean;
|
|
3323
3323
|
'ctx-name': string;
|
|
3324
3324
|
};
|
|
3325
3325
|
static styleAttrs: string[];
|
|
3326
3326
|
headless: boolean;
|
|
3327
|
-
|
|
3327
|
+
dynamicButton: boolean;
|
|
3328
3328
|
constructor();
|
|
3329
3329
|
initCallback(): void;
|
|
3330
3330
|
/**
|
|
3331
|
-
* Exposes whether
|
|
3331
|
+
* Exposes whether the dynamic button is active for non-Lit classes that can't use context
|
|
3332
3332
|
*/
|
|
3333
|
-
get
|
|
3334
|
-
private
|
|
3333
|
+
get isDynamicButtonActive(): boolean;
|
|
3334
|
+
private _renderDynamicButton;
|
|
3335
3335
|
private _renderStaticButton;
|
|
3336
3336
|
private _renderButton;
|
|
3337
3337
|
render(): lit_html.TemplateResult<1>;
|
|
@@ -3391,4 +3391,4 @@ declare global {
|
|
|
3391
3391
|
declare const PACKAGE_NAME = "blocks";
|
|
3392
3392
|
declare const PACKAGE_VERSION: string;
|
|
3393
3393
|
|
|
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, 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 };
|