Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~claire.tang/fineui

es6
Tangjinxia 3 years ago
parent
commit
26d527b6f5
  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. 50
      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/core.css
  12. 50
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 50
      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. 50
      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. 2
      dist/fineui.proxy.css
  26. 50
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 4
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 50
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. 2
      dist/resource.css
  35. 2
      dist/utils.js
  36. 2
      dist/utils.min.js
  37. 2
      package.json
  38. 47
      src/base/1.pane.js
  39. 1
      src/core/4.widget.js

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

50
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -9632,6 +9632,7 @@ module.exports = !__webpack_require__(908)(function () {
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();
@ -21188,18 +21189,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -21218,17 +21221,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -21245,25 +21248,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -21271,11 +21273,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -21284,7 +21289,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -21306,15 +21310,12 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -41107,7 +41108,6 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 40,
textAlign: "left"
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};

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/core.css vendored

File diff suppressed because one or more lines are too long

50
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -9632,6 +9632,7 @@ module.exports = !__webpack_require__(908)(function () {
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();
@ -21188,18 +21189,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -21218,17 +21221,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -21245,25 +21248,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -21271,11 +21273,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -21284,7 +21289,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -21306,15 +21310,12 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -41107,7 +41108,6 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 40,
textAlign: "left"
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};

2
dist/core.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

50
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -9632,6 +9632,7 @@ module.exports = !__webpack_require__(908)(function () {
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();
@ -21188,18 +21189,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -21218,17 +21221,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -21245,25 +21248,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -21271,11 +21273,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -21284,7 +21289,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -21306,15 +21310,12 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -41107,7 +41108,6 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 40,
textAlign: "left"
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};

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

50
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -9632,6 +9632,7 @@ module.exports = !__webpack_require__(908)(function () {
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();
@ -21188,18 +21189,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -21218,17 +21221,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -21245,25 +21248,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -21271,11 +21273,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -21284,7 +21289,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -21306,15 +21310,12 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -41107,7 +41108,6 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 40,
textAlign: "left"
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};

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

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

50
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -7093,6 +7093,7 @@ BI.Req = {
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();
@ -18649,18 +18650,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -18679,17 +18682,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -18706,25 +18709,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -18732,11 +18734,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -18745,7 +18750,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -18767,15 +18771,12 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -38568,7 +38569,6 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 40,
textAlign: "left"
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

50
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -6703,6 +6703,7 @@ BI.Req = {
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();
@ -18259,18 +18260,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -18289,17 +18292,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -18316,25 +18319,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -18342,11 +18344,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -18355,7 +18360,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -18377,15 +18381,12 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
/***/ }),
/* 370 */
/***/ (function(module, exports) {
@ -38178,7 +38179,6 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 40,
textAlign: "left"
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};

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/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-6 9:00:18 AM */
/*! time: 2021-6-8 2:20:16 PM */
/******/ (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.20210606090126",
"version": "2.0.20210608142119",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

47
src/base/1.pane.js

@ -20,18 +20,20 @@ BI.Pane = BI.inherit(BI.Widget, {
},
_assertTip: function () {
var o = this.options;
var self = this, o = this.options;
if (!this._tipText) {
this._tipText = BI.createWidget({
type: "bi.label",
cls: "bi-tips",
text: o.tipText,
height: 25
});
BI.createWidget({
type: "bi.absolute_center_adapt",
element: this,
items: [this._tipText]
items: [{
type: "bi.label",
ref: function (_ref) {
self._tipText = _ref;
},
cls: "bi-tips",
text: o.tipText,
height: 25
}]
});
}
},
@ -50,17 +52,17 @@ BI.Pane = BI.inherit(BI.Widget, {
type: "bi.layout",
cls: "animate-rect rect1",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect2",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}, {
type: "bi.layout",
cls: "animate-rect rect3",
height: this._getSize(50),
width: this._getSize(5),
width: this._getSize(5)
}]
});
// pane在同步方式下由items决定tipText的显示与否
@ -77,25 +79,24 @@ BI.Pane = BI.inherit(BI.Widget, {
}
BI.Layers.show(self.getName());
} else if (BI.isNull(this._loading)) {
this._loading = loadingAnimation;
this._loading.element.css("zIndex", 1);
loadingAnimation.element.css("zIndex", 1);
BI.createWidget({
type: "bi.center_adapt",
element: this,
cls: "loading-container",
items: this._getLoadingTipItems(this._loading)
items: this._getLoadingTipItems(loadingAnimation)
});
}
self.fireEvent(BI.Pane.EVENT_LOADING);
this.element.addClass("loading-status");
},
_getSize: function(v) {
return Math.ceil(v / (this.options.loadingSize === 'small' ? 2 : 1));
_getSize: function (v) {
return Math.ceil(v / (this.options.loadingSize === "small" ? 2 : 1));
},
_getLoadingTipItems: function (loadingTip) {
var o = this.options;
var self = this, o = this.options;
var loadingTipItems = [{
type: "bi.horizontal_adapt",
items: [loadingTip]
@ -103,11 +104,14 @@ BI.Pane = BI.inherit(BI.Widget, {
BI.isNotEmptyString(o.loadingText) && loadingTipItems.push({
type: "bi.text",
text: o.loadingText,
tgap: this._getSize(10),
tgap: this._getSize(10)
});
return [{
type: "bi.vertical",
ref: function (_ref) {
self._loading = _ref;
},
items: loadingTipItems
}];
},
@ -116,7 +120,6 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options;
BI.Layers.remove(self.getName());
this._loading && this._loading.destroy();
this._loading && (this._loading = null);
o.onLoaded();
self.fireEvent(BI.Pane.EVENT_LOADED);
this.element.removeClass("loading-status");
@ -138,11 +141,7 @@ BI.Pane = BI.inherit(BI.Widget, {
populate: function (items) {
this.options.items = items || [];
this.check();
},
empty: function () {
}
});
BI.Pane.EVENT_LOADED = "EVENT_LOADED";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";
BI.Pane.EVENT_LOADING = "EVENT_LOADING";

1
src/core/4.widget.js

@ -577,6 +577,7 @@
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this.element.unbind();
this._initCurrent();
this._init();
this._mount();

Loading…
Cancel
Save