Browse Source

Merge remote-tracking branch 'origin/master'

es6
guy 4 years ago
parent
commit
0fc2f04785
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 24
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/bundle.min.css
  12. 4
      dist/bundle.min.js
  13. 2
      dist/bundle.min.js.map
  14. 2
      dist/demo.css
  15. 24
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 24
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 24
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/utils.js
  29. 2
      dist/utils.min.js
  30. 2
      package.json

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-12 11:50:19 */
/*! time: 2020-10-12 16:20:20 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -14169,7 +14169,7 @@ module.exports = function (exec) {
};
// 根据配置属性生成widget
var createWidget = function (config, lazy) {
var createWidget = function (config, context, lazy) {
var cls = kv[config.type];
if (!cls) {
@ -14177,6 +14177,7 @@ module.exports = function (exec) {
}
var widget = new cls();
widget._context = context;
BI.Widget.pushContext(widget);
widget._initProps(config);
widget._initRoot();
@ -14215,7 +14216,7 @@ module.exports = function (exec) {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
@ -14226,7 +14227,7 @@ module.exports = function (exec) {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (BI.isWidget(item.el)) {
return item.el;
@ -23376,7 +23377,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -23391,7 +23392,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -23520,7 +23521,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
}
renderedCells.push(child = this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: datum.width,
height: datum.height
@ -23723,6 +23724,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
BI.CollectionView.EVENT_SCROLL = "EVENT_SCROLL";
BI.shortcut("bi.collection_view", BI.CollectionView);
/***/ }),
/* 380 */
/***/ (function(module, exports) {
@ -26341,7 +26343,7 @@ BI.GridView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -26356,7 +26358,7 @@ BI.GridView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -26459,7 +26461,7 @@ BI.GridView = BI.inherit(BI.Widget, {
child = this.renderedCells[index].el;
renderedCells.push(this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: columnDatum.size,
height: rowDatum.size
@ -91030,7 +91032,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
var store = findStore(this.options.context || this._parent || this.options.element || BI.Widget.context || this._context);
if (store) {
pushTarget(store);
needPop = true;

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

24
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-12 11:50:19 */
/*! time: 2020-10-12 16:20:20 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -14169,7 +14169,7 @@ module.exports = function (exec) {
};
// 根据配置属性生成widget
var createWidget = function (config, lazy) {
var createWidget = function (config, context, lazy) {
var cls = kv[config.type];
if (!cls) {
@ -14177,6 +14177,7 @@ module.exports = function (exec) {
}
var widget = new cls();
widget._context = context;
BI.Widget.pushContext(widget);
widget._initProps(config);
widget._initRoot();
@ -14215,7 +14216,7 @@ module.exports = function (exec) {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
@ -14226,7 +14227,7 @@ module.exports = function (exec) {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (BI.isWidget(item.el)) {
return item.el;
@ -23376,7 +23377,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -23391,7 +23392,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -23520,7 +23521,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
}
renderedCells.push(child = this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: datum.width,
height: datum.height
@ -23723,6 +23724,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
BI.CollectionView.EVENT_SCROLL = "EVENT_SCROLL";
BI.shortcut("bi.collection_view", BI.CollectionView);
/***/ }),
/* 380 */
/***/ (function(module, exports) {
@ -26341,7 +26343,7 @@ BI.GridView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -26356,7 +26358,7 @@ BI.GridView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -26459,7 +26461,7 @@ BI.GridView = BI.inherit(BI.Widget, {
child = this.renderedCells[index].el;
renderedCells.push(this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: columnDatum.size,
height: rowDatum.size
@ -91030,7 +91032,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
var store = findStore(this.options.context || this._parent || this.options.element || BI.Widget.context || this._context);
if (store) {
pushTarget(store);
needPop = true;

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-12 11:50:19 */
/*! time: 2020-10-12 16:20:20 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -14169,7 +14169,7 @@ module.exports = function (exec) {
};
// 根据配置属性生成widget
var createWidget = function (config, lazy) {
var createWidget = function (config, context, lazy) {
var cls = kv[config.type];
if (!cls) {
@ -14177,6 +14177,7 @@ module.exports = function (exec) {
}
var widget = new cls();
widget._context = context;
BI.Widget.pushContext(widget);
widget._initProps(config);
widget._initRoot();
@ -14215,7 +14216,7 @@ module.exports = function (exec) {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
@ -14226,7 +14227,7 @@ module.exports = function (exec) {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (BI.isWidget(item.el)) {
return item.el;
@ -23376,7 +23377,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -23391,7 +23392,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -23520,7 +23521,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
}
renderedCells.push(child = this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: datum.width,
height: datum.height
@ -23723,6 +23724,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
BI.CollectionView.EVENT_SCROLL = "EVENT_SCROLL";
BI.shortcut("bi.collection_view", BI.CollectionView);
/***/ }),
/* 380 */
/***/ (function(module, exports) {
@ -26341,7 +26343,7 @@ BI.GridView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -26356,7 +26358,7 @@ BI.GridView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -26459,7 +26461,7 @@ BI.GridView = BI.inherit(BI.Widget, {
child = this.renderedCells[index].el;
renderedCells.push(this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: columnDatum.size,
height: rowDatum.size
@ -91000,7 +91002,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
var store = findStore(this.options.context || this._parent || this.options.element || BI.Widget.context || this._context);
if (store) {
pushTarget(store);
needPop = true;

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-12 11:50:19 */
/*! time: 2020-10-12 16:20:20 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -10201,7 +10201,7 @@ BI.Req = {
};
// 根据配置属性生成widget
var createWidget = function (config, lazy) {
var createWidget = function (config, context, lazy) {
var cls = kv[config.type];
if (!cls) {
@ -10209,6 +10209,7 @@ BI.Req = {
}
var widget = new cls();
widget._context = context;
BI.Widget.pushContext(widget);
widget._initProps(config);
widget._initRoot();
@ -10247,7 +10248,7 @@ BI.Req = {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
@ -10258,7 +10259,7 @@ BI.Req = {
BI.Plugin.getObject(el.type, this);
}
}]);
return w.type === el.type ? createWidget(w, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
return w.type === el.type ? createWidget(w, context, lazy) : BI.createWidget(BI.extend({}, item, {type: w.type}), options, context, lazy);
}
if (BI.isWidget(item.el)) {
return item.el;
@ -19408,7 +19409,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -19423,7 +19424,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -19552,7 +19553,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
}
renderedCells.push(child = this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: datum.width,
height: datum.height
@ -19755,6 +19756,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
BI.CollectionView.EVENT_SCROLL = "EVENT_SCROLL";
BI.shortcut("bi.collection_view", BI.CollectionView);
/***/ }),
/* 380 */
/***/ (function(module, exports) {
@ -22373,7 +22375,7 @@ BI.GridView = BI.inherit(BI.Widget, {
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 1000 / 60);
this.container = BI.createWidget({
this.container = BI._lazyCreateWidget({
type: "bi.absolute"
});
this.element.scroll(function () {
@ -22388,7 +22390,7 @@ BI.GridView = BI.inherit(BI.Widget, {
scrollTop: o.scrollTop
});
});
BI.createWidget({
BI._lazyCreateWidget({
type: "bi.vertical",
element: this,
scrollable: o.overflowX === true && o.overflowY === true,
@ -22491,7 +22493,7 @@ BI.GridView = BI.inherit(BI.Widget, {
child = this.renderedCells[index].el;
renderedCells.push(this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
child = BI._lazyCreateWidget(BI.extend({
type: "bi.label",
width: columnDatum.size,
height: rowDatum.size
@ -68198,7 +68200,7 @@ exports.Model = Model;
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
var store = findStore(this.options.context || this._parent || this.options.element || BI.Widget.context || this._context);
if (store) {
pushTarget(store);
needPop = true;

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-12 11:50:19 */
/*! time: 2020-10-12 16:20:20 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

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

Loading…
Cancel
Save