@underverse-ui/underverse 1.0.100 → 1.0.102
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/api-reference.json +1 -1
- package/dist/index.cjs +578 -418
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +576 -416
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2955,7 +2955,11 @@ interface UEditorProps {
|
|
|
2955
2955
|
onJsonChange?: (json: object) => void;
|
|
2956
2956
|
uploadImage?: (file: File) => Promise<string> | string;
|
|
2957
2957
|
uploadImageForSave?: UEditorUploadImageForSave;
|
|
2958
|
+
uploadImageConcurrency?: number;
|
|
2958
2959
|
imageInsertMode?: "base64" | "upload";
|
|
2960
|
+
maxImageFileSize?: number;
|
|
2961
|
+
allowedImageMimeTypes?: string[];
|
|
2962
|
+
fallbackToDataUrl?: boolean;
|
|
2959
2963
|
placeholder?: string;
|
|
2960
2964
|
className?: string;
|
|
2961
2965
|
editable?: boolean;
|
|
@@ -2983,9 +2987,10 @@ declare class UEditorPrepareContentForSaveError extends Error {
|
|
|
2983
2987
|
readonly result: UEditorPrepareContentForSaveResult;
|
|
2984
2988
|
constructor(result: UEditorPrepareContentForSaveResult);
|
|
2985
2989
|
}
|
|
2986
|
-
declare function prepareUEditorContentForSave({ html, uploadImageForSave, }: {
|
|
2990
|
+
declare function prepareUEditorContentForSave({ html, uploadImageForSave, uploadConcurrency, }: {
|
|
2987
2991
|
html: string;
|
|
2988
2992
|
uploadImageForSave?: UEditorUploadImageForSave;
|
|
2993
|
+
uploadConcurrency?: number;
|
|
2989
2994
|
}): Promise<UEditorPrepareContentForSaveResult>;
|
|
2990
2995
|
|
|
2991
2996
|
/** Button component for actions, icon buttons, loading states, and submit flows. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2955,7 +2955,11 @@ interface UEditorProps {
|
|
|
2955
2955
|
onJsonChange?: (json: object) => void;
|
|
2956
2956
|
uploadImage?: (file: File) => Promise<string> | string;
|
|
2957
2957
|
uploadImageForSave?: UEditorUploadImageForSave;
|
|
2958
|
+
uploadImageConcurrency?: number;
|
|
2958
2959
|
imageInsertMode?: "base64" | "upload";
|
|
2960
|
+
maxImageFileSize?: number;
|
|
2961
|
+
allowedImageMimeTypes?: string[];
|
|
2962
|
+
fallbackToDataUrl?: boolean;
|
|
2959
2963
|
placeholder?: string;
|
|
2960
2964
|
className?: string;
|
|
2961
2965
|
editable?: boolean;
|
|
@@ -2983,9 +2987,10 @@ declare class UEditorPrepareContentForSaveError extends Error {
|
|
|
2983
2987
|
readonly result: UEditorPrepareContentForSaveResult;
|
|
2984
2988
|
constructor(result: UEditorPrepareContentForSaveResult);
|
|
2985
2989
|
}
|
|
2986
|
-
declare function prepareUEditorContentForSave({ html, uploadImageForSave, }: {
|
|
2990
|
+
declare function prepareUEditorContentForSave({ html, uploadImageForSave, uploadConcurrency, }: {
|
|
2987
2991
|
html: string;
|
|
2988
2992
|
uploadImageForSave?: UEditorUploadImageForSave;
|
|
2993
|
+
uploadConcurrency?: number;
|
|
2989
2994
|
}): Promise<UEditorPrepareContentForSaveResult>;
|
|
2990
2995
|
|
|
2991
2996
|
/** Button component for actions, icon buttons, loading states, and submit flows. */
|