@kentico/xperience-admin-base 31.2.3 → 31.3.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/entry.d.ts +6 -2
- package/dist/entry.js +5 -5
- package/package.json +17 -17
package/dist/entry.d.ts
CHANGED
|
@@ -242,7 +242,7 @@ declare interface CommandContextType {
|
|
|
242
242
|
* @param files Files to be uploaded by the command.
|
|
243
243
|
* @param abortController Abort controller which can abort the command request.
|
|
244
244
|
*/
|
|
245
|
-
executeCommand: <TCommandResult = void, TData = void>(name: CommandName, data?: TData, files?: FileList, abortController?: AbortController) => Promise<TCommandResult | undefined>;
|
|
245
|
+
executeCommand: <TCommandResult = void, TData = void>(name: CommandName, data?: TData, files?: FileList, abortController?: AbortController, onUploadProgress?: (event: ProgressEvent) => void, onDownloadProgress?: (event: ProgressEvent) => void) => Promise<TCommandResult | undefined>;
|
|
246
246
|
/**
|
|
247
247
|
* Registers command into the current provider.
|
|
248
248
|
* @param name Name of the command to be registered.
|
|
@@ -580,6 +580,10 @@ declare interface MassAssetUploadConfiguration {
|
|
|
580
580
|
* Title for the mass asset upload button.
|
|
581
581
|
*/
|
|
582
582
|
readonly title: string;
|
|
583
|
+
/**
|
|
584
|
+
* Maximum number of files that can be uploaded concurrently to server.
|
|
585
|
+
*/
|
|
586
|
+
readonly maxConcurrentUploads: number;
|
|
583
587
|
}
|
|
584
588
|
|
|
585
589
|
declare interface NotificationMessage {
|
|
@@ -906,7 +910,7 @@ export declare const useFormComponentCommand: <TCommandResult, TCommandData = vo
|
|
|
906
910
|
* Returns the form command provider for the current page.
|
|
907
911
|
*/
|
|
908
912
|
export declare const useFormComponentCommandProvider: () => {
|
|
909
|
-
executeCommand: <TCommandResult = void, TData = void>(fieldInfo: FieldInfo, name: string, data?: TData, files?: FileList, abortController?: AbortController) => Promise<TCommandResult | undefined>;
|
|
913
|
+
executeCommand: <TCommandResult = void, TData = void>(fieldInfo: FieldInfo, name: string, data?: TData, files?: FileList, abortController?: AbortController, onUploadProgress?: (event: ProgressEvent) => void, onDownloadProgress?: (event: ProgressEvent) => void) => Promise<TCommandResult | undefined>;
|
|
910
914
|
};
|
|
911
915
|
|
|
912
916
|
export declare const useGlobalization: () => {
|