Browse Source

auto upgrade version to 2.0.20210805131211

es6
data 3 years ago
parent
commit
fc6a84226a
  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. 189
      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. 189
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 189
      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. 189
      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. 189
      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. 189
      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

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

189
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -13506,6 +13506,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
this.storeBubbles[name].destroy(); this.storeBubbles[name].destroy();
delete this.storeBubbles[name]; delete this.storeBubbles[name];
return this; return this;
},
removeAll: function () {
BI.each(this.storeBubbles, function (name, bubble) {
bubble.destroy();
});
this.storeBubbles = {};
return this;
} }
}); });
@ -13616,21 +13624,21 @@ BI.LayerController = BI.inherit(BI.Controller, {
return widget; return widget;
}, },
hide: function (name, callback) { show: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).invisible(); this._getLayout(name).visible();
this._getLayout(name).element.hide(0, callback); this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__");
return this; return this;
}, },
show: function (name, callback) { hide: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).visible(); this._getLayout(name).invisible();
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); this._getLayout(name).element.hide(0, callback);
return this; return this;
}, },
@ -13731,12 +13739,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
this.zindexMap = {}; this.zindexMap = {};
}, },
_check: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
create: function (name, options, context) { create: function (name, options, context) {
if (this._check(name)) { if (this.has(name)) {
return this; return this;
} }
var popover = BI.createWidget(options || {}, { var popover = BI.createWidget(options || {}, {
@ -13746,48 +13750,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this._check(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
open: function (name) { open: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (!this.floatOpened[name]) { if (!this.floatOpened[name]) {
@ -13819,7 +13783,7 @@ BI.PopoverController = BI.inherit(BI.Controller, {
}, },
close: function (name) { close: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (this.floatOpened[name]) { if (this.floatOpened[name]) {
@ -13830,10 +13794,66 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
show: function (name) {
return this.open(name);
},
hide: function (name) {
return this.close(name);
},
isVisible: function (name) {
return this.has(name) && this.floatOpened[name] === true;
},
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this.has(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
get: function (name) { get: function (name) {
return this.floatManager[name]; return this.floatManager[name];
}, },
has: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
remove: function (name) { remove: function (name) {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
@ -13965,32 +13985,6 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
}); });
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
// opt: {container: '', belowMouse: false} // opt: {container: '', belowMouse: false}
show: function (e, name, text, level, context, opt) { show: function (e, name, text, level, context, opt) {
opt || (opt = {}); opt || (opt = {});
@ -14044,6 +14038,32 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
return this; return this;
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
add: function (name, bubble) { add: function (name, bubble) {
if (this.has(name)) { if (this.has(name)) {
return this; return this;
@ -14071,6 +14091,15 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
this.tooltipsManager[name].destroy(); this.tooltipsManager[name].destroy();
delete this.tooltipsManager[name]; delete this.tooltipsManager[name];
return this; return this;
},
removeAll: function () {
BI.each(this.tooltipsManager, function (name, tooltip) {
tooltip.destroy();
});
this.tooltipsManager = {};
this.showingTips = {};
return this;
} }
}); });

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

189
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -13506,6 +13506,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
this.storeBubbles[name].destroy(); this.storeBubbles[name].destroy();
delete this.storeBubbles[name]; delete this.storeBubbles[name];
return this; return this;
},
removeAll: function () {
BI.each(this.storeBubbles, function (name, bubble) {
bubble.destroy();
});
this.storeBubbles = {};
return this;
} }
}); });
@ -13616,21 +13624,21 @@ BI.LayerController = BI.inherit(BI.Controller, {
return widget; return widget;
}, },
hide: function (name, callback) { show: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).invisible(); this._getLayout(name).visible();
this._getLayout(name).element.hide(0, callback); this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__");
return this; return this;
}, },
show: function (name, callback) { hide: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).visible(); this._getLayout(name).invisible();
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); this._getLayout(name).element.hide(0, callback);
return this; return this;
}, },
@ -13731,12 +13739,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
this.zindexMap = {}; this.zindexMap = {};
}, },
_check: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
create: function (name, options, context) { create: function (name, options, context) {
if (this._check(name)) { if (this.has(name)) {
return this; return this;
} }
var popover = BI.createWidget(options || {}, { var popover = BI.createWidget(options || {}, {
@ -13746,48 +13750,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this._check(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
open: function (name) { open: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (!this.floatOpened[name]) { if (!this.floatOpened[name]) {
@ -13819,7 +13783,7 @@ BI.PopoverController = BI.inherit(BI.Controller, {
}, },
close: function (name) { close: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (this.floatOpened[name]) { if (this.floatOpened[name]) {
@ -13830,10 +13794,66 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
show: function (name) {
return this.open(name);
},
hide: function (name) {
return this.close(name);
},
isVisible: function (name) {
return this.has(name) && this.floatOpened[name] === true;
},
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this.has(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
get: function (name) { get: function (name) {
return this.floatManager[name]; return this.floatManager[name];
}, },
has: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
remove: function (name) { remove: function (name) {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
@ -13965,32 +13985,6 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
}); });
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
// opt: {container: '', belowMouse: false} // opt: {container: '', belowMouse: false}
show: function (e, name, text, level, context, opt) { show: function (e, name, text, level, context, opt) {
opt || (opt = {}); opt || (opt = {});
@ -14044,6 +14038,32 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
return this; return this;
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
add: function (name, bubble) { add: function (name, bubble) {
if (this.has(name)) { if (this.has(name)) {
return this; return this;
@ -14071,6 +14091,15 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
this.tooltipsManager[name].destroy(); this.tooltipsManager[name].destroy();
delete this.tooltipsManager[name]; delete this.tooltipsManager[name];
return this; return this;
},
removeAll: function () {
BI.each(this.tooltipsManager, function (name, tooltip) {
tooltip.destroy();
});
this.tooltipsManager = {};
this.showingTips = {};
return this;
} }
}); });

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

189
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -13506,6 +13506,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
this.storeBubbles[name].destroy(); this.storeBubbles[name].destroy();
delete this.storeBubbles[name]; delete this.storeBubbles[name];
return this; return this;
},
removeAll: function () {
BI.each(this.storeBubbles, function (name, bubble) {
bubble.destroy();
});
this.storeBubbles = {};
return this;
} }
}); });
@ -13616,21 +13624,21 @@ BI.LayerController = BI.inherit(BI.Controller, {
return widget; return widget;
}, },
hide: function (name, callback) { show: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).invisible(); this._getLayout(name).visible();
this._getLayout(name).element.hide(0, callback); this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__");
return this; return this;
}, },
show: function (name, callback) { hide: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).visible(); this._getLayout(name).invisible();
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); this._getLayout(name).element.hide(0, callback);
return this; return this;
}, },
@ -13731,12 +13739,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
this.zindexMap = {}; this.zindexMap = {};
}, },
_check: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
create: function (name, options, context) { create: function (name, options, context) {
if (this._check(name)) { if (this.has(name)) {
return this; return this;
} }
var popover = BI.createWidget(options || {}, { var popover = BI.createWidget(options || {}, {
@ -13746,48 +13750,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this._check(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
open: function (name) { open: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (!this.floatOpened[name]) { if (!this.floatOpened[name]) {
@ -13819,7 +13783,7 @@ BI.PopoverController = BI.inherit(BI.Controller, {
}, },
close: function (name) { close: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (this.floatOpened[name]) { if (this.floatOpened[name]) {
@ -13830,10 +13794,66 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
show: function (name) {
return this.open(name);
},
hide: function (name) {
return this.close(name);
},
isVisible: function (name) {
return this.has(name) && this.floatOpened[name] === true;
},
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this.has(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
get: function (name) { get: function (name) {
return this.floatManager[name]; return this.floatManager[name];
}, },
has: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
remove: function (name) { remove: function (name) {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
@ -13965,32 +13985,6 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
}); });
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
// opt: {container: '', belowMouse: false} // opt: {container: '', belowMouse: false}
show: function (e, name, text, level, context, opt) { show: function (e, name, text, level, context, opt) {
opt || (opt = {}); opt || (opt = {});
@ -14044,6 +14038,32 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
return this; return this;
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
add: function (name, bubble) { add: function (name, bubble) {
if (this.has(name)) { if (this.has(name)) {
return this; return this;
@ -14071,6 +14091,15 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
this.tooltipsManager[name].destroy(); this.tooltipsManager[name].destroy();
delete this.tooltipsManager[name]; delete this.tooltipsManager[name];
return this; return this;
},
removeAll: function () {
BI.each(this.tooltipsManager, function (name, tooltip) {
tooltip.destroy();
});
this.tooltipsManager = {};
this.showingTips = {};
return this;
} }
}); });

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

189
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -13506,6 +13506,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
this.storeBubbles[name].destroy(); this.storeBubbles[name].destroy();
delete this.storeBubbles[name]; delete this.storeBubbles[name];
return this; return this;
},
removeAll: function () {
BI.each(this.storeBubbles, function (name, bubble) {
bubble.destroy();
});
this.storeBubbles = {};
return this;
} }
}); });
@ -13616,21 +13624,21 @@ BI.LayerController = BI.inherit(BI.Controller, {
return widget; return widget;
}, },
hide: function (name, callback) { show: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).invisible(); this._getLayout(name).visible();
this._getLayout(name).element.hide(0, callback); this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__");
return this; return this;
}, },
show: function (name, callback) { hide: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).visible(); this._getLayout(name).invisible();
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); this._getLayout(name).element.hide(0, callback);
return this; return this;
}, },
@ -13731,12 +13739,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
this.zindexMap = {}; this.zindexMap = {};
}, },
_check: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
create: function (name, options, context) { create: function (name, options, context) {
if (this._check(name)) { if (this.has(name)) {
return this; return this;
} }
var popover = BI.createWidget(options || {}, { var popover = BI.createWidget(options || {}, {
@ -13746,48 +13750,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this._check(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
open: function (name) { open: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (!this.floatOpened[name]) { if (!this.floatOpened[name]) {
@ -13819,7 +13783,7 @@ BI.PopoverController = BI.inherit(BI.Controller, {
}, },
close: function (name) { close: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (this.floatOpened[name]) { if (this.floatOpened[name]) {
@ -13830,10 +13794,66 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
show: function (name) {
return this.open(name);
},
hide: function (name) {
return this.close(name);
},
isVisible: function (name) {
return this.has(name) && this.floatOpened[name] === true;
},
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this.has(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
get: function (name) { get: function (name) {
return this.floatManager[name]; return this.floatManager[name];
}, },
has: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
remove: function (name) { remove: function (name) {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
@ -13965,32 +13985,6 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
}); });
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
// opt: {container: '', belowMouse: false} // opt: {container: '', belowMouse: false}
show: function (e, name, text, level, context, opt) { show: function (e, name, text, level, context, opt) {
opt || (opt = {}); opt || (opt = {});
@ -14044,6 +14038,32 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
return this; return this;
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
add: function (name, bubble) { add: function (name, bubble) {
if (this.has(name)) { if (this.has(name)) {
return this; return this;
@ -14071,6 +14091,15 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
this.tooltipsManager[name].destroy(); this.tooltipsManager[name].destroy();
delete this.tooltipsManager[name]; delete this.tooltipsManager[name];
return this; return this;
},
removeAll: function () {
BI.each(this.tooltipsManager, function (name, tooltip) {
tooltip.destroy();
});
this.tooltipsManager = {};
this.showingTips = {};
return this;
} }
}); });

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

189
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -10967,6 +10967,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
this.storeBubbles[name].destroy(); this.storeBubbles[name].destroy();
delete this.storeBubbles[name]; delete this.storeBubbles[name];
return this; return this;
},
removeAll: function () {
BI.each(this.storeBubbles, function (name, bubble) {
bubble.destroy();
});
this.storeBubbles = {};
return this;
} }
}); });
@ -11077,21 +11085,21 @@ BI.LayerController = BI.inherit(BI.Controller, {
return widget; return widget;
}, },
hide: function (name, callback) { show: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).invisible(); this._getLayout(name).visible();
this._getLayout(name).element.hide(0, callback); this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__");
return this; return this;
}, },
show: function (name, callback) { hide: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).visible(); this._getLayout(name).invisible();
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); this._getLayout(name).element.hide(0, callback);
return this; return this;
}, },
@ -11192,12 +11200,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
this.zindexMap = {}; this.zindexMap = {};
}, },
_check: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
create: function (name, options, context) { create: function (name, options, context) {
if (this._check(name)) { if (this.has(name)) {
return this; return this;
} }
var popover = BI.createWidget(options || {}, { var popover = BI.createWidget(options || {}, {
@ -11207,48 +11211,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this._check(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
open: function (name) { open: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (!this.floatOpened[name]) { if (!this.floatOpened[name]) {
@ -11280,7 +11244,7 @@ BI.PopoverController = BI.inherit(BI.Controller, {
}, },
close: function (name) { close: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (this.floatOpened[name]) { if (this.floatOpened[name]) {
@ -11291,10 +11255,66 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
show: function (name) {
return this.open(name);
},
hide: function (name) {
return this.close(name);
},
isVisible: function (name) {
return this.has(name) && this.floatOpened[name] === true;
},
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this.has(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
get: function (name) { get: function (name) {
return this.floatManager[name]; return this.floatManager[name];
}, },
has: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
remove: function (name) { remove: function (name) {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
@ -11426,32 +11446,6 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
}); });
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
// opt: {container: '', belowMouse: false} // opt: {container: '', belowMouse: false}
show: function (e, name, text, level, context, opt) { show: function (e, name, text, level, context, opt) {
opt || (opt = {}); opt || (opt = {});
@ -11505,6 +11499,32 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
return this; return this;
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
add: function (name, bubble) { add: function (name, bubble) {
if (this.has(name)) { if (this.has(name)) {
return this; return this;
@ -11532,6 +11552,15 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
this.tooltipsManager[name].destroy(); this.tooltipsManager[name].destroy();
delete this.tooltipsManager[name]; delete this.tooltipsManager[name];
return this; return this;
},
removeAll: function () {
BI.each(this.tooltipsManager, function (name, tooltip) {
tooltip.destroy();
});
this.tooltipsManager = {};
this.showingTips = {};
return this;
} }
}); });

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

189
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -10582,6 +10582,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
this.storeBubbles[name].destroy(); this.storeBubbles[name].destroy();
delete this.storeBubbles[name]; delete this.storeBubbles[name];
return this; return this;
},
removeAll: function () {
BI.each(this.storeBubbles, function (name, bubble) {
bubble.destroy();
});
this.storeBubbles = {};
return this;
} }
}); });
@ -10692,21 +10700,21 @@ BI.LayerController = BI.inherit(BI.Controller, {
return widget; return widget;
}, },
hide: function (name, callback) { show: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).invisible(); this._getLayout(name).visible();
this._getLayout(name).element.hide(0, callback); this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__");
return this; return this;
}, },
show: function (name, callback) { hide: function (name, callback) {
if (!this.has(name)) { if (!this.has(name)) {
return this; return this;
} }
this._getLayout(name).visible(); this._getLayout(name).invisible();
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); this._getLayout(name).element.hide(0, callback);
return this; return this;
}, },
@ -10807,12 +10815,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
this.zindexMap = {}; this.zindexMap = {};
}, },
_check: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
create: function (name, options, context) { create: function (name, options, context) {
if (this._check(name)) { if (this.has(name)) {
return this; return this;
} }
var popover = BI.createWidget(options || {}, { var popover = BI.createWidget(options || {}, {
@ -10822,48 +10826,8 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this._check(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
open: function (name) { open: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (!this.floatOpened[name]) { if (!this.floatOpened[name]) {
@ -10895,7 +10859,7 @@ BI.PopoverController = BI.inherit(BI.Controller, {
}, },
close: function (name) { close: function (name) {
if (!this._check(name)) { if (!this.has(name)) {
return this; return this;
} }
if (this.floatOpened[name]) { if (this.floatOpened[name]) {
@ -10906,10 +10870,66 @@ BI.PopoverController = BI.inherit(BI.Controller, {
return this; return this;
}, },
show: function (name) {
return this.open(name);
},
hide: function (name) {
return this.close(name);
},
isVisible: function (name) {
return this.has(name) && this.floatOpened[name] === true;
},
add: function (name, popover, options, context) {
var self = this;
options || (options = {});
if (this.has(name)) {
return this;
}
this.floatContainer[name] = BI.createWidget({
type: "bi.absolute",
cls: "bi-popup-view",
items: [{
el: (this.floatLayer[name] = BI.createWidget({
type: "bi.absolute",
items: [popover]
}, context)),
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Popover.EVENT_CLOSE, function () {
self.close(key);
});
})(name);
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
items: [{
el: this.floatContainer[name],
left: 0,
right: 0,
top: 0,
bottom: 0
}]
});
return this;
},
get: function (name) { get: function (name) {
return this.floatManager[name]; return this.floatManager[name];
}, },
has: function (name) {
return BI.isNotNull(this.floatManager[name]);
},
remove: function (name) { remove: function (name) {
if (!this._check(name)) { if (!this._check(name)) {
return this; return this;
@ -11041,32 +11061,6 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
}); });
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
// opt: {container: '', belowMouse: false} // opt: {container: '', belowMouse: false}
show: function (e, name, text, level, context, opt) { show: function (e, name, text, level, context, opt) {
opt || (opt = {}); opt || (opt = {});
@ -11120,6 +11114,32 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
return this; return this;
}, },
hide: function (name, callback) {
if (!this.has(name)) {
return this;
}
delete this.showingTips[name];
this.get(name).element.hide(0, callback);
this.get(name).invisible();
return this;
},
create: function (name, text, level, context) {
if (!this.has(name)) {
var tooltip = this._createTooltip(text, level);
this.add(name, tooltip);
BI.createWidget({
type: "bi.absolute",
element: context || "body",
items: [{
el: tooltip
}]
});
tooltip.invisible();
}
return this.get(name);
},
add: function (name, bubble) { add: function (name, bubble) {
if (this.has(name)) { if (this.has(name)) {
return this; return this;
@ -11147,6 +11167,15 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
this.tooltipsManager[name].destroy(); this.tooltipsManager[name].destroy();
delete this.tooltipsManager[name]; delete this.tooltipsManager[name];
return this; return this;
},
removeAll: function () {
BI.each(this.tooltipsManager, function (name, tooltip) {
tooltip.destroy();
});
this.tooltipsManager = {};
this.showingTips = {};
return this;
} }
}); });

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-8-4 9:40:14 */ /*! time: 2021-8-5 13:10:45 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ 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", "name": "fineui",
"version": "2.0.20210804094121", "version": "2.0.20210805131211",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

Loading…
Cancel
Save