Browse Source

BI-29322

es6
iapyang 6 years ago
parent
commit
a172ed8ee9
  1. 25
      dist/base.js
  2. 25
      dist/bundle.js
  3. 52
      dist/bundle.min.js
  4. 25
      dist/fineui.js
  5. 52
      dist/fineui.min.js
  6. 5
      dist/fineui_without_jquery_polyfill.js
  7. 2
      dist/utils.min.js
  8. 2
      src/base/combination/searcher.js

25
dist/base.js vendored

@ -4427,7 +4427,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
} }
if (o.masker && !BI.Maskers.has(this.getName())) { if (o.masker && !BI.Maskers.has(this.getName())) {
BI.Maskers.create(this.getName(), o.adapter, BI.extend({ BI.Maskers.create(this.getName(), o.adapter, BI.extend({
container: this, container: o.container || this,
render: this.popupView render: this.popupView
}, o.masker), this); }, o.masker), this);
} }
@ -4614,7 +4614,8 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
BI.shortcut("bi.searcher", BI.Searcher);/** BI.shortcut("bi.searcher", BI.Searcher);
/**
* *
* 切换显示或隐藏面板 * 切换显示或隐藏面板
* *
@ -9259,9 +9260,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
switch (xhr.readyState) { switch (xhr.readyState) {
case 2: case 2:
case 3: case 3:
if (rpe.total <= rpe.loaded) { if (rpe.total <= rpe.loaded) {rpe.loaded = rpe.total;}
rpe.loaded = rpe.total;
}
upload.onprogress(rpe); upload.onprogress(rpe);
break; break;
case 4: case 4:
@ -9327,12 +9326,8 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"), var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"),
rpe = { rpe = {
loaded: 1, total: 100, simulation: true, interval: setInterval(function () { loaded: 1, total: 100, simulation: true, interval: setInterval(function () {
if (rpe.loaded < rpe.total) { if (rpe.loaded < rpe.total) {++rpe.loaded;}
++rpe.loaded; if (isFunction(handler.onprogress)) {handler.onprogress(rpe, {});}
}
if (isFunction(handler.onprogress)) {
handler.onprogress(rpe, {});
}
}, 100) }, 100)
}, },
onload = function () { onload = function () {
@ -9356,13 +9351,9 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
handler.attach_array.push(attachO); handler.attach_array.push(attachO);
} }
} catch (e) { } catch (e) {
if (isFunction(handler.onerror)) { if (isFunction(handler.onerror)) {handler.onerror(rpe, event || _global.event);}
handler.onerror(rpe, event || _global.event);
}
}
if (isFunction(handler.onload)) {
handler.onload(rpe, {responseText: responseText});
} }
if (isFunction(handler.onload)) {handler.onload(rpe, {responseText: responseText});}
}, },
target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_"); target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_");
try { // IE < 8 does not accept enctype attribute ... try { // IE < 8 does not accept enctype attribute ...

25
dist/bundle.js vendored

@ -39790,7 +39790,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
} }
if (o.masker && !BI.Maskers.has(this.getName())) { if (o.masker && !BI.Maskers.has(this.getName())) {
BI.Maskers.create(this.getName(), o.adapter, BI.extend({ BI.Maskers.create(this.getName(), o.adapter, BI.extend({
container: this, container: o.container || this,
render: this.popupView render: this.popupView
}, o.masker), this); }, o.masker), this);
} }
@ -39977,7 +39977,8 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
BI.shortcut("bi.searcher", BI.Searcher);/** BI.shortcut("bi.searcher", BI.Searcher);
/**
* *
* 切换显示或隐藏面板 * 切换显示或隐藏面板
* *
@ -44622,9 +44623,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
switch (xhr.readyState) { switch (xhr.readyState) {
case 2: case 2:
case 3: case 3:
if (rpe.total <= rpe.loaded) { if (rpe.total <= rpe.loaded) {rpe.loaded = rpe.total;}
rpe.loaded = rpe.total;
}
upload.onprogress(rpe); upload.onprogress(rpe);
break; break;
case 4: case 4:
@ -44690,12 +44689,8 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"), var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"),
rpe = { rpe = {
loaded: 1, total: 100, simulation: true, interval: setInterval(function () { loaded: 1, total: 100, simulation: true, interval: setInterval(function () {
if (rpe.loaded < rpe.total) { if (rpe.loaded < rpe.total) {++rpe.loaded;}
++rpe.loaded; if (isFunction(handler.onprogress)) {handler.onprogress(rpe, {});}
}
if (isFunction(handler.onprogress)) {
handler.onprogress(rpe, {});
}
}, 100) }, 100)
}, },
onload = function () { onload = function () {
@ -44719,13 +44714,9 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
handler.attach_array.push(attachO); handler.attach_array.push(attachO);
} }
} catch (e) { } catch (e) {
if (isFunction(handler.onerror)) { if (isFunction(handler.onerror)) {handler.onerror(rpe, event || _global.event);}
handler.onerror(rpe, event || _global.event);
}
}
if (isFunction(handler.onload)) {
handler.onload(rpe, {responseText: responseText});
} }
if (isFunction(handler.onload)) {handler.onload(rpe, {responseText: responseText});}
}, },
target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_"); target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_");
try { // IE < 8 does not accept enctype attribute ... try { // IE < 8 does not accept enctype attribute ...

52
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/fineui.js vendored

@ -40032,7 +40032,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
} }
if (o.masker && !BI.Maskers.has(this.getName())) { if (o.masker && !BI.Maskers.has(this.getName())) {
BI.Maskers.create(this.getName(), o.adapter, BI.extend({ BI.Maskers.create(this.getName(), o.adapter, BI.extend({
container: this, container: o.container || this,
render: this.popupView render: this.popupView
}, o.masker), this); }, o.masker), this);
} }
@ -40219,7 +40219,8 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
BI.shortcut("bi.searcher", BI.Searcher);/** BI.shortcut("bi.searcher", BI.Searcher);
/**
* *
* 切换显示或隐藏面板 * 切换显示或隐藏面板
* *
@ -44864,9 +44865,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
switch (xhr.readyState) { switch (xhr.readyState) {
case 2: case 2:
case 3: case 3:
if (rpe.total <= rpe.loaded) { if (rpe.total <= rpe.loaded) {rpe.loaded = rpe.total;}
rpe.loaded = rpe.total;
}
upload.onprogress(rpe); upload.onprogress(rpe);
break; break;
case 4: case 4:
@ -44932,12 +44931,8 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"), var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"),
rpe = { rpe = {
loaded: 1, total: 100, simulation: true, interval: setInterval(function () { loaded: 1, total: 100, simulation: true, interval: setInterval(function () {
if (rpe.loaded < rpe.total) { if (rpe.loaded < rpe.total) {++rpe.loaded;}
++rpe.loaded; if (isFunction(handler.onprogress)) {handler.onprogress(rpe, {});}
}
if (isFunction(handler.onprogress)) {
handler.onprogress(rpe, {});
}
}, 100) }, 100)
}, },
onload = function () { onload = function () {
@ -44961,13 +44956,9 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
handler.attach_array.push(attachO); handler.attach_array.push(attachO);
} }
} catch (e) { } catch (e) {
if (isFunction(handler.onerror)) { if (isFunction(handler.onerror)) {handler.onerror(rpe, event || _global.event);}
handler.onerror(rpe, event || _global.event);
}
}
if (isFunction(handler.onload)) {
handler.onload(rpe, {responseText: responseText});
} }
if (isFunction(handler.onload)) {handler.onload(rpe, {responseText: responseText});}
}, },
target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_"); target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_");
try { // IE < 8 does not accept enctype attribute ... try { // IE < 8 does not accept enctype attribute ...

52
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/fineui_without_jquery_polyfill.js vendored

@ -27701,7 +27701,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
} }
if (o.masker && !BI.Maskers.has(this.getName())) { if (o.masker && !BI.Maskers.has(this.getName())) {
BI.Maskers.create(this.getName(), o.adapter, BI.extend({ BI.Maskers.create(this.getName(), o.adapter, BI.extend({
container: this, container: o.container || this,
render: this.popupView render: this.popupView
}, o.masker), this); }, o.masker), this);
} }
@ -27888,7 +27888,8 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
BI.shortcut("bi.searcher", BI.Searcher);/** BI.shortcut("bi.searcher", BI.Searcher);
/**
* *
* 切换显示或隐藏面板 * 切换显示或隐藏面板
* *

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
src/base/combination/searcher.js

@ -120,7 +120,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
} }
if (o.masker && !BI.Maskers.has(this.getName())) { if (o.masker && !BI.Maskers.has(this.getName())) {
BI.Maskers.create(this.getName(), o.adapter, BI.extend({ BI.Maskers.create(this.getName(), o.adapter, BI.extend({
container: this, container: o.container || this,
render: this.popupView render: this.popupView
}, o.masker), this); }, o.masker), this);
} }

Loading…
Cancel
Save