Browse Source

auto upgrade version to 2.0.20201207115208

es6
data 4 years ago
parent
commit
4d8fe3a665
  1. 4
      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. 76
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 4
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 4
      dist/2.0/fineui_without_normalize.css
  10. 4
      dist/2.0/fineui_without_normalize.min.css
  11. 4
      dist/core.css
  12. 76
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 76
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 4
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 76
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 4
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 76
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/resource.css
  29. 55
      dist/utils.js
  30. 2
      dist/utils.js.map
  31. 4
      dist/utils.min.js
  32. 2
      dist/utils.min.js.map
  33. 2
      package.json

4
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

76
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-4 22:30:18 */
/*! time: 2020-12-7 11:50:25 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -11209,7 +11209,7 @@ _.extend(BI, {
var configFunctions = {};
BI.config = BI.config || function (type, configFn, opt) {
if (opt && opt.immediate) {
if (BI.initialized) {
if (constantInjection[type]) {
return (constantInjection[type] = configFn(constantInjection[type]));
}
@ -11227,17 +11227,29 @@ _.extend(BI, {
}
if (!configFunctions[type]) {
configFunctions[type] = [];
BI.prepares.push(function () {
var queue = configFunctions[type];
for (var i = 0; i < queue.length; i++) {
if (constantInjection[type]) {
constantInjection[type] = queue[i](constantInjection[type]);
continue;
}
if (providerInjection[type]) {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
if (providerInstance[type]) {
delete providerInstance[type];
}
queue[i](providers[type]);
continue;
}
BI.Plugin.configWidget(type, queue[i]);
}
configFunctions[type] = null;
});
}
configFunctions[type].push({fn: configFn, args: opt});
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
},
configFunctions[type].push(configFn);
};
var actions = {};
@ -11294,16 +11306,7 @@ _.extend(BI, {
BI.Constants = BI.Constants || {
getConstant: function (type) {
var instance = constantInjection[type];
BI.each(configFunctions[type], function (i, cf) {
var res = cf.fn(instance);
if (res) {
instance = res;
}
});
constantInjection[type] = instance;
configFunctions[type] && (configFunctions[type] = null);
return instance;
return constantInjection[type];
}
};
@ -11392,17 +11395,9 @@ _.extend(BI, {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
var instance = providers[type];
BI.each(configFunctions[type], function (i, cf) {
if (providerInstance[type]) {
delete providerInstance[type];
}
cf.fn(instance);
});
if (!providerInstance[type]) {
providerInstance[type] = new (providers[type].$get())(config);
}
configFunctions[type] && (configFunctions[type] = null);
return providerInstance[type];
}
};
@ -14275,17 +14270,6 @@ module.exports = function (exec) {
return widget;
};
function configWidget (type) {
var configFunctions = BI.Configs.getConfig(type);
if (configFunctions) {
BI.each(configFunctions, function (i, cf) {
BI.Plugin.configWidget(type, cf.fn, cf.args);
});
var configs = BI.Configs.getConfigs();
configs[type] && (configs[type] = null);
}
}
BI.createWidget = BI.createWidget || function (item, options, context, lazy) {
// 先把准备环境准备好
BI.init();
@ -14307,7 +14291,6 @@ module.exports = function (exec) {
}
if (item.type || options.type) {
el = BI.extend({}, options, item);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -14319,7 +14302,6 @@ module.exports = function (exec) {
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -36768,7 +36750,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap
hgap: o.hgap + 2
});
BI.createWidget({
type: "bi.absolute",
@ -37050,7 +37032,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37330,7 +37312,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
height: o.height,
text: o.text,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37646,7 +37628,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
text: o.text,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
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

4
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

File diff suppressed because one or more lines are too long

76
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-4 22:30:18 */
/*! time: 2020-12-7 11:50:25 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -11209,7 +11209,7 @@ _.extend(BI, {
var configFunctions = {};
BI.config = BI.config || function (type, configFn, opt) {
if (opt && opt.immediate) {
if (BI.initialized) {
if (constantInjection[type]) {
return (constantInjection[type] = configFn(constantInjection[type]));
}
@ -11227,17 +11227,29 @@ _.extend(BI, {
}
if (!configFunctions[type]) {
configFunctions[type] = [];
BI.prepares.push(function () {
var queue = configFunctions[type];
for (var i = 0; i < queue.length; i++) {
if (constantInjection[type]) {
constantInjection[type] = queue[i](constantInjection[type]);
continue;
}
if (providerInjection[type]) {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
if (providerInstance[type]) {
delete providerInstance[type];
}
queue[i](providers[type]);
continue;
}
BI.Plugin.configWidget(type, queue[i]);
}
configFunctions[type] = null;
});
}
configFunctions[type].push({fn: configFn, args: opt});
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
},
configFunctions[type].push(configFn);
};
var actions = {};
@ -11294,16 +11306,7 @@ _.extend(BI, {
BI.Constants = BI.Constants || {
getConstant: function (type) {
var instance = constantInjection[type];
BI.each(configFunctions[type], function (i, cf) {
var res = cf.fn(instance);
if (res) {
instance = res;
}
});
constantInjection[type] = instance;
configFunctions[type] && (configFunctions[type] = null);
return instance;
return constantInjection[type];
}
};
@ -11392,17 +11395,9 @@ _.extend(BI, {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
var instance = providers[type];
BI.each(configFunctions[type], function (i, cf) {
if (providerInstance[type]) {
delete providerInstance[type];
}
cf.fn(instance);
});
if (!providerInstance[type]) {
providerInstance[type] = new (providers[type].$get())(config);
}
configFunctions[type] && (configFunctions[type] = null);
return providerInstance[type];
}
};
@ -14275,17 +14270,6 @@ module.exports = function (exec) {
return widget;
};
function configWidget (type) {
var configFunctions = BI.Configs.getConfig(type);
if (configFunctions) {
BI.each(configFunctions, function (i, cf) {
BI.Plugin.configWidget(type, cf.fn, cf.args);
});
var configs = BI.Configs.getConfigs();
configs[type] && (configs[type] = null);
}
}
BI.createWidget = BI.createWidget || function (item, options, context, lazy) {
// 先把准备环境准备好
BI.init();
@ -14307,7 +14291,6 @@ module.exports = function (exec) {
}
if (item.type || options.type) {
el = BI.extend({}, options, item);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -14319,7 +14302,6 @@ module.exports = function (exec) {
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -36768,7 +36750,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap
hgap: o.hgap + 2
});
BI.createWidget({
type: "bi.absolute",
@ -37050,7 +37032,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37330,7 +37312,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
height: o.height,
text: o.text,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37646,7 +37628,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
text: o.text,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.css vendored

File diff suppressed because one or more lines are too long

76
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-4 22:30:18 */
/*! time: 2020-12-7 11:50:25 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -11209,7 +11209,7 @@ _.extend(BI, {
var configFunctions = {};
BI.config = BI.config || function (type, configFn, opt) {
if (opt && opt.immediate) {
if (BI.initialized) {
if (constantInjection[type]) {
return (constantInjection[type] = configFn(constantInjection[type]));
}
@ -11227,17 +11227,29 @@ _.extend(BI, {
}
if (!configFunctions[type]) {
configFunctions[type] = [];
BI.prepares.push(function () {
var queue = configFunctions[type];
for (var i = 0; i < queue.length; i++) {
if (constantInjection[type]) {
constantInjection[type] = queue[i](constantInjection[type]);
continue;
}
if (providerInjection[type]) {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
if (providerInstance[type]) {
delete providerInstance[type];
}
queue[i](providers[type]);
continue;
}
BI.Plugin.configWidget(type, queue[i]);
}
configFunctions[type] = null;
});
}
configFunctions[type].push({fn: configFn, args: opt});
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
},
configFunctions[type].push(configFn);
};
var actions = {};
@ -11294,16 +11306,7 @@ _.extend(BI, {
BI.Constants = BI.Constants || {
getConstant: function (type) {
var instance = constantInjection[type];
BI.each(configFunctions[type], function (i, cf) {
var res = cf.fn(instance);
if (res) {
instance = res;
}
});
constantInjection[type] = instance;
configFunctions[type] && (configFunctions[type] = null);
return instance;
return constantInjection[type];
}
};
@ -11392,17 +11395,9 @@ _.extend(BI, {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
var instance = providers[type];
BI.each(configFunctions[type], function (i, cf) {
if (providerInstance[type]) {
delete providerInstance[type];
}
cf.fn(instance);
});
if (!providerInstance[type]) {
providerInstance[type] = new (providers[type].$get())(config);
}
configFunctions[type] && (configFunctions[type] = null);
return providerInstance[type];
}
};
@ -14275,17 +14270,6 @@ module.exports = function (exec) {
return widget;
};
function configWidget (type) {
var configFunctions = BI.Configs.getConfig(type);
if (configFunctions) {
BI.each(configFunctions, function (i, cf) {
BI.Plugin.configWidget(type, cf.fn, cf.args);
});
var configs = BI.Configs.getConfigs();
configs[type] && (configs[type] = null);
}
}
BI.createWidget = BI.createWidget || function (item, options, context, lazy) {
// 先把准备环境准备好
BI.init();
@ -14307,7 +14291,6 @@ module.exports = function (exec) {
}
if (item.type || options.type) {
el = BI.extend({}, options, item);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -14319,7 +14302,6 @@ module.exports = function (exec) {
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -36768,7 +36750,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap
hgap: o.hgap + 2
});
BI.createWidget({
type: "bi.absolute",
@ -37050,7 +37032,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37330,7 +37312,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
height: o.height,
text: o.text,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37646,7 +37628,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
text: o.text,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

4
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

76
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-4 22:30:18 */
/*! time: 2020-12-7 11:50:25 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -11209,7 +11209,7 @@ _.extend(BI, {
var configFunctions = {};
BI.config = BI.config || function (type, configFn, opt) {
if (opt && opt.immediate) {
if (BI.initialized) {
if (constantInjection[type]) {
return (constantInjection[type] = configFn(constantInjection[type]));
}
@ -11227,17 +11227,29 @@ _.extend(BI, {
}
if (!configFunctions[type]) {
configFunctions[type] = [];
BI.prepares.push(function () {
var queue = configFunctions[type];
for (var i = 0; i < queue.length; i++) {
if (constantInjection[type]) {
constantInjection[type] = queue[i](constantInjection[type]);
continue;
}
if (providerInjection[type]) {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
if (providerInstance[type]) {
delete providerInstance[type];
}
queue[i](providers[type]);
continue;
}
BI.Plugin.configWidget(type, queue[i]);
}
configFunctions[type] = null;
});
}
configFunctions[type].push({fn: configFn, args: opt});
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
},
configFunctions[type].push(configFn);
};
var actions = {};
@ -11294,16 +11306,7 @@ _.extend(BI, {
BI.Constants = BI.Constants || {
getConstant: function (type) {
var instance = constantInjection[type];
BI.each(configFunctions[type], function (i, cf) {
var res = cf.fn(instance);
if (res) {
instance = res;
}
});
constantInjection[type] = instance;
configFunctions[type] && (configFunctions[type] = null);
return instance;
return constantInjection[type];
}
};
@ -11392,17 +11395,9 @@ _.extend(BI, {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
var instance = providers[type];
BI.each(configFunctions[type], function (i, cf) {
if (providerInstance[type]) {
delete providerInstance[type];
}
cf.fn(instance);
});
if (!providerInstance[type]) {
providerInstance[type] = new (providers[type].$get())(config);
}
configFunctions[type] && (configFunctions[type] = null);
return providerInstance[type];
}
};
@ -14275,17 +14270,6 @@ module.exports = function (exec) {
return widget;
};
function configWidget (type) {
var configFunctions = BI.Configs.getConfig(type);
if (configFunctions) {
BI.each(configFunctions, function (i, cf) {
BI.Plugin.configWidget(type, cf.fn, cf.args);
});
var configs = BI.Configs.getConfigs();
configs[type] && (configs[type] = null);
}
}
BI.createWidget = BI.createWidget || function (item, options, context, lazy) {
// 先把准备环境准备好
BI.init();
@ -14307,7 +14291,6 @@ module.exports = function (exec) {
}
if (item.type || options.type) {
el = BI.extend({}, options, item);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -14319,7 +14302,6 @@ module.exports = function (exec) {
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -36768,7 +36750,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap
hgap: o.hgap + 2
});
BI.createWidget({
type: "bi.absolute",
@ -37050,7 +37032,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37330,7 +37312,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
height: o.height,
text: o.text,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -37646,7 +37628,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
text: o.text,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
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

76
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-4 22:30:18 */
/*! time: 2020-12-7 11:50:25 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -8670,7 +8670,7 @@ _.extend(BI, {
var configFunctions = {};
BI.config = BI.config || function (type, configFn, opt) {
if (opt && opt.immediate) {
if (BI.initialized) {
if (constantInjection[type]) {
return (constantInjection[type] = configFn(constantInjection[type]));
}
@ -8688,17 +8688,29 @@ _.extend(BI, {
}
if (!configFunctions[type]) {
configFunctions[type] = [];
BI.prepares.push(function () {
var queue = configFunctions[type];
for (var i = 0; i < queue.length; i++) {
if (constantInjection[type]) {
constantInjection[type] = queue[i](constantInjection[type]);
continue;
}
if (providerInjection[type]) {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
if (providerInstance[type]) {
delete providerInstance[type];
}
queue[i](providers[type]);
continue;
}
BI.Plugin.configWidget(type, queue[i]);
}
configFunctions[type] = null;
});
}
configFunctions[type].push({fn: configFn, args: opt});
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
},
configFunctions[type].push(configFn);
};
var actions = {};
@ -8755,16 +8767,7 @@ _.extend(BI, {
BI.Constants = BI.Constants || {
getConstant: function (type) {
var instance = constantInjection[type];
BI.each(configFunctions[type], function (i, cf) {
var res = cf.fn(instance);
if (res) {
instance = res;
}
});
constantInjection[type] = instance;
configFunctions[type] && (configFunctions[type] = null);
return instance;
return constantInjection[type];
}
};
@ -8853,17 +8856,9 @@ _.extend(BI, {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
var instance = providers[type];
BI.each(configFunctions[type], function (i, cf) {
if (providerInstance[type]) {
delete providerInstance[type];
}
cf.fn(instance);
});
if (!providerInstance[type]) {
providerInstance[type] = new (providers[type].$get())(config);
}
configFunctions[type] && (configFunctions[type] = null);
return providerInstance[type];
}
};
@ -10302,17 +10297,6 @@ BI.Req = {
return widget;
};
function configWidget (type) {
var configFunctions = BI.Configs.getConfig(type);
if (configFunctions) {
BI.each(configFunctions, function (i, cf) {
BI.Plugin.configWidget(type, cf.fn, cf.args);
});
var configs = BI.Configs.getConfigs();
configs[type] && (configs[type] = null);
}
}
BI.createWidget = BI.createWidget || function (item, options, context, lazy) {
// 先把准备环境准备好
BI.init();
@ -10334,7 +10318,6 @@ BI.Req = {
}
if (item.type || options.type) {
el = BI.extend({}, options, item);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -10346,7 +10329,6 @@ BI.Req = {
}
if (item.el && (item.el.type || options.type)) {
el = BI.extend({}, options, item.el);
configWidget(el.type);
w = BI.Plugin.getWidget(el.type, el);
w.listeners = (w.listeners || []).concat([{
eventName: BI.Events.MOUNT,
@ -32795,7 +32777,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap
hgap: o.hgap + 2
});
BI.createWidget({
type: "bi.absolute",
@ -33077,7 +33059,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType,
textAlign: o.textAlign,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -33357,7 +33339,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
height: o.height,
text: o.text,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();
@ -33673,7 +33655,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left",
text: o.text,
height: o.height,
hgap: o.hgap,
hgap: o.hgap + 2,
handler: function () {
self._showInput();
self.editor.focus();

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

55
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-4 22:30:18 */
/*! time: 2020-12-7 11:50:25 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -8403,7 +8403,7 @@ _.extend(BI, {
var configFunctions = {};
BI.config = BI.config || function (type, configFn, opt) {
if (opt && opt.immediate) {
if (BI.initialized) {
if (constantInjection[type]) {
return (constantInjection[type] = configFn(constantInjection[type]));
}
@ -8421,17 +8421,29 @@ _.extend(BI, {
}
if (!configFunctions[type]) {
configFunctions[type] = [];
BI.prepares.push(function () {
var queue = configFunctions[type];
for (var i = 0; i < queue.length; i++) {
if (constantInjection[type]) {
constantInjection[type] = queue[i](constantInjection[type]);
continue;
}
if (providerInjection[type]) {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
if (providerInstance[type]) {
delete providerInstance[type];
}
queue[i](providers[type]);
continue;
}
BI.Plugin.configWidget(type, queue[i]);
}
configFunctions[type] = null;
});
}
configFunctions[type].push({fn: configFn, args: opt});
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
},
configFunctions[type].push(configFn);
};
var actions = {};
@ -8488,16 +8500,7 @@ _.extend(BI, {
BI.Constants = BI.Constants || {
getConstant: function (type) {
var instance = constantInjection[type];
BI.each(configFunctions[type], function (i, cf) {
var res = cf.fn(instance);
if (res) {
instance = res;
}
});
constantInjection[type] = instance;
configFunctions[type] && (configFunctions[type] = null);
return instance;
return constantInjection[type];
}
};
@ -8586,17 +8589,9 @@ _.extend(BI, {
if (!providers[type]) {
providers[type] = new providerInjection[type]();
}
var instance = providers[type];
BI.each(configFunctions[type], function (i, cf) {
if (providerInstance[type]) {
delete providerInstance[type];
}
cf.fn(instance);
});
if (!providerInstance[type]) {
providerInstance[type] = new (providers[type].$get())(config);
}
configFunctions[type] && (configFunctions[type] = null);
return providerInstance[type];
}
};

2
dist/utils.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js.map vendored

File diff suppressed because one or more lines are too long

2
package.json

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

Loading…
Cancel
Save