Browse Source

Merge remote-tracking branch 'origin/master'

es6
guy 3 years ago
parent
commit
c74e9f6fb7
  1. 2
      package.json
  2. 2
      src/base/1.pane.js
  3. 4
      src/base/single/editor/editor.multifile.js
  4. 4
      src/base/single/input/file.js
  5. 11
      typescript/widget/editor/editor.multifile.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20211108191350",
"version": "2.0.20211109101231",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

2
src/base/1.pane.js

@ -150,3 +150,5 @@ BI.Pane = BI.inherit(BI.Widget, {
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
BI.shortcut("bi.pane", BI.Pane);

4
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();
},

4
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 = [];

11
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;
}[];
}

Loading…
Cancel
Save