@volcengine/amk-editor 0.0.4 → 0.0.5-beta.0
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/README.md +1 -1
- package/dist/amk-modal.d.ts +13 -0
- package/dist/asr-progress-modal-view.d.ts +2 -1
- package/dist/assets/project-loading.svg +6 -0
- package/dist/confirm-modal-view.d.ts +2 -1
- package/dist/export-modal-view.d.ts +2 -1
- package/dist/header.d.ts +1 -0
- package/dist/i18n/keys.d.ts +1 -0
- package/dist/index.js +675 -675
- package/dist/local-upload-modal-view.d.ts +2 -1
- package/dist/modal-page-overscroll.d.ts +4 -0
- package/dist/url-upload-modal-view.d.ts +2 -1
- package/dist/veveditor.css +71 -26
- package/package.json +2 -1
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { AmkI18nInstance } from './i18n';
|
|
3
3
|
export interface LocalUploadModalViewProps {
|
|
4
4
|
visible: boolean;
|
|
5
|
+
popupContainer: HTMLElement;
|
|
5
6
|
initialFiles: File[];
|
|
6
7
|
accept?: string;
|
|
7
8
|
t: AmkI18nInstance['t'];
|
|
@@ -9,4 +10,4 @@ export interface LocalUploadModalViewProps {
|
|
|
9
10
|
onConfirm: (files: File[]) => void;
|
|
10
11
|
onClose: () => void;
|
|
11
12
|
}
|
|
12
|
-
export declare function LocalUploadModalView({ visible, initialFiles, accept, t, onConfirm, onClose, }: LocalUploadModalViewProps): React.ReactElement;
|
|
13
|
+
export declare function LocalUploadModalView({ visible, popupContainer, initialFiles, accept, t, onConfirm, onClose, }: LocalUploadModalViewProps): React.ReactElement;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { AmkI18nInstance } from './i18n';
|
|
3
3
|
export interface UrlUploadModalViewProps {
|
|
4
4
|
visible: boolean;
|
|
5
|
+
popupContainer: HTMLElement;
|
|
5
6
|
t: AmkI18nInstance['t'];
|
|
6
7
|
/** 确认后弹窗立即关闭;上传过程由外部 Message 提示 */
|
|
7
8
|
onConfirm: (urls: string[]) => void;
|
|
@@ -9,4 +10,4 @@ export interface UrlUploadModalViewProps {
|
|
|
9
10
|
}
|
|
10
11
|
/** 支持逗号 / 换行分隔,得到回调给业务方的 url 数组 */
|
|
11
12
|
export declare function splitUrls(input: string): string[];
|
|
12
|
-
export declare function UrlUploadModalView({ visible, t, onConfirm, onClose, }: UrlUploadModalViewProps): React.ReactElement;
|
|
13
|
+
export declare function UrlUploadModalView({ visible, popupContainer, t, onConfirm, onClose, }: UrlUploadModalViewProps): React.ReactElement;
|