diff --git a/src/base/single/editor/editor.multifile.js b/src/base/single/editor/editor.multifile.js index d917a4762..68b5bcc2e 100644 --- a/src/base/single/editor/editor.multifile.js +++ b/src/base/single/editor/editor.multifile.js @@ -78,6 +78,10 @@ BI.MultifileEditor = BI.inherit(BI.Widget, { this.file.select(); }, + getQueue: function () { + return this.file.getQueue(); + }, + getValue: function () { return this.file.getValue(); }, diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index bf4e207b9..fa589681b 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -671,6 +671,10 @@ return this.wrap ? this.wrap.attach_array : []; }, + getQueue: function () { + return this.wrap.files; + }, + reset: function () { if (this.wrap) { this.wrap.attach_array = []; diff --git a/typescript/widget/editor/editor.multifile.ts b/typescript/widget/editor/editor.multifile.ts index f55abaf81..3a29e0960 100644 --- a/typescript/widget/editor/editor.multifile.ts +++ b/typescript/widget/editor/editor.multifile.ts @@ -19,6 +19,15 @@ export declare class MultifileEditor extends Widget { }[]; upload(): void; - + reset(): void; + + getQueue(): { + fileName: string; + lastModified: number; + lastModifiedDate: Date; + name: string; + size: number; + type: string; + }[]; }