Browse Source

Merge pull request #869 in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '419301326803e1d192595b060c6b327074e48125':
  update
es6
windy 6 years ago
parent
commit
074cd45c2c
  1. 28
      dist/2.0/fineui.ie.js
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 28
      dist/2.0/fineui.js
  4. 4
      dist/2.0/fineui.min.js
  5. 28
      dist/bundle.ie.js
  6. 4
      dist/bundle.ie.min.js
  7. 28
      dist/bundle.js
  8. 4
      dist/bundle.min.js
  9. 28
      dist/core.js
  10. 28
      dist/fineui.ie.js
  11. 4
      dist/fineui.ie.min.js
  12. 28
      dist/fineui.js
  13. 4
      dist/fineui.min.js
  14. 28
      dist/fineui_without_jquery_polyfill.js
  15. 2
      dist/utils.min.js
  16. 2
      src/core/events.js
  17. 26
      src/core/shortcut.js

28
dist/2.0/fineui.ie.js vendored

@ -12268,26 +12268,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17379,7 +17377,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/2.0/fineui.js vendored

@ -12268,26 +12268,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17379,7 +17377,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/bundle.ie.js vendored

@ -12268,26 +12268,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17379,7 +17377,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

4
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/bundle.js vendored

@ -12268,26 +12268,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17379,7 +17377,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/core.js vendored

@ -12268,26 +12268,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17379,7 +17377,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

28
dist/fineui.ie.js vendored

@ -12513,26 +12513,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17624,7 +17622,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/fineui.js vendored

@ -12513,26 +12513,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17624,7 +17622,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/fineui_without_jquery_polyfill.js vendored

@ -12268,26 +12268,24 @@ if (!_global.BI) {
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;
@ -17125,7 +17123,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
src/core/events.js

@ -55,7 +55,7 @@ _.extend(BI, {
/** /**
* @static * @static
* @property 取消挂载事件 * @property 挂载事件
*/ */
MOUNT: "_MOUNT", MOUNT: "_MOUNT",

26
src/core/shortcut.js

@ -41,26 +41,24 @@
if (item.type || options.type) { if (item.type || options.type) {
el = BI.extend({}, options, item); el = BI.extend({}, options, item);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (item.el && (item.el.type || options.type)) { if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el); el = BI.extend({}, options, item.el);
w = BI.Plugin.getWidget(el.type, el); w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) { w.listeners = (w.listeners || []).concat([{
var component = createWidget(w); eventName: BI.Events.MOUNT,
component.on(BI.Event.MOUNT, function () { action: function () {
BI.Plugin.getObject(el.type, component); BI.Plugin.getObject(el.type, this);
});
return component;
} }
return BI.createWidget(BI.extend({}, item, {type: w.type}, options)); }]);
return w.type === el.type ? createWidget(w) : BI.createWidget(BI.extend({}, item, {type: w.type}, options));
} }
if (BI.isWidget(item.el)) { if (BI.isWidget(item.el)) {
return item.el; return item.el;

Loading…
Cancel
Save