Browse Source

auto upgrade version to 2.0.20210618090214

master
data 4 years ago
parent
commit
431f31fe29
  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. 55
      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. 55
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 55
      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. 55
      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. 55
      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. 30
      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

55
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -26687,6 +26687,7 @@ BI.shortcut("bi.single", BI.Single);
}
var text = this._getShowText();
// 只要不是undefined就可以显示text值,否则显示value
if (!BI.isUndefined(text)) {
this.setText(text);
} else if (BI.isKey(o.value)) {
@ -26721,7 +26722,7 @@ BI.shortcut("bi.single", BI.Single);
_doRedMark: function (keyword) {
var o = this.options;
// render之后做的doredmark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
// render之后做的doRedMark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
o.keyword = keyword;
this.text.element.__textKeywordMarked__(this._getShowText(), keyword, o.py);
},
@ -26759,8 +26760,7 @@ BI.shortcut("bi.single", BI.Single);
setText: function (text) {
BI.Text.superclass.setText.apply(this, arguments);
// 为textContext赋值为undefined时在ie和edge下会真的显示undefined
this.options.text = BI.isNotNull(text) ? text : "";
this.options.text = text;
this._doRedMark(this.options.keyword);
}
});
@ -57015,9 +57015,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57031,9 +57031,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57215,9 +57215,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57231,9 +57231,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -60460,7 +60460,7 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
var text = "";
BI.each(ob.value, function (idx, path) {
var childValue = BI.last(path);
text += (path === "null" ? "" : (o.valueFormatter(childValue + "") || childValue) + "; ");
text += (path === "null" ? "(null)" : (o.valueFormatter(childValue + "") || childValue) + "; ");
count++;
});
@ -60644,7 +60644,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}
@ -60664,7 +60664,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
BI.each(names, function (idx, name) {
index++;
var childNodes = getChildrenNode(ob[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
if (childNodes === "") {
count++;
}
@ -89287,17 +89287,28 @@ if (BI.jQuery) {
* 3text和py各自取tidx/pidx + keyword.length索引开始的子串作为新的text和py, 重复1, 直到text和py有一个为""
*/
__textKeywordMarked__: function (text, keyword, py) {
if (text === null) {
if (BI.isIE9Below()) {
return this.html("(null)");
}
// textContent性能更好,并且原生防xss
this[0].textContent = "(null)";
return this;
}
if (BI.isUndefined(text)) {
text = "";
}
if (!BI.isKey(keyword) || (text + "").length > 100) {
if (BI.isIE9Below()) {
return this.html(BI.htmlEncode(text));
}
// textContent性能更好,并且原生防xss
// textContent性能更好,并且原生防xss
this[0].textContent = text;
return this;
}
keyword = keyword + "";
keyword = BI.toUpperCase(keyword);
var textLeft = (text || "") + "";
var textLeft = text + "";
py = (py || BI.makeFirstPY(text, {
splitChar: "\u200b"
})) + "";
@ -91412,9 +91423,15 @@ BI.TreeView = BI.inherit(BI.Pane, {
var self = this, o = this.options;
var ns = BI.Tree.arrayFormat(nodes);
BI.each(ns, function (i, n) {
n.title = n.title || n.text || n.value;
n.isParent = n.isParent || n.parent;
n.value = BI.isUndefined(n.value) ? n.text : n.value;
n.text = BI.isUndefined(n.text) ? n.value : n.text;
if (n.text === null) {
n.text = "(null)";
}
if (BI.isNull(n.title)) {
n.title = n.text;
}
// 处理标红
if (BI.isNotNull(n.text)) {
if (BI.isKey(o.paras.keyword)) {
@ -91422,8 +91439,6 @@ BI.TreeView = BI.inherit(BI.Pane, {
} else {
n.text = BI.htmlEncode(BI.Text.formatText(n.text + ""));
}
} else {
n.text = "";
}
});
return nodes;

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

55
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -26687,6 +26687,7 @@ BI.shortcut("bi.single", BI.Single);
}
var text = this._getShowText();
// 只要不是undefined就可以显示text值,否则显示value
if (!BI.isUndefined(text)) {
this.setText(text);
} else if (BI.isKey(o.value)) {
@ -26721,7 +26722,7 @@ BI.shortcut("bi.single", BI.Single);
_doRedMark: function (keyword) {
var o = this.options;
// render之后做的doredmark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
// render之后做的doRedMark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
o.keyword = keyword;
this.text.element.__textKeywordMarked__(this._getShowText(), keyword, o.py);
},
@ -26759,8 +26760,7 @@ BI.shortcut("bi.single", BI.Single);
setText: function (text) {
BI.Text.superclass.setText.apply(this, arguments);
// 为textContext赋值为undefined时在ie和edge下会真的显示undefined
this.options.text = BI.isNotNull(text) ? text : "";
this.options.text = text;
this._doRedMark(this.options.keyword);
}
});
@ -57015,9 +57015,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57031,9 +57031,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57215,9 +57215,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57231,9 +57231,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -60460,7 +60460,7 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
var text = "";
BI.each(ob.value, function (idx, path) {
var childValue = BI.last(path);
text += (path === "null" ? "" : (o.valueFormatter(childValue + "") || childValue) + "; ");
text += (path === "null" ? "(null)" : (o.valueFormatter(childValue + "") || childValue) + "; ");
count++;
});
@ -60644,7 +60644,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}
@ -60664,7 +60664,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
BI.each(names, function (idx, name) {
index++;
var childNodes = getChildrenNode(ob[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
if (childNodes === "") {
count++;
}
@ -89287,17 +89287,28 @@ if (BI.jQuery) {
* 3text和py各自取tidx/pidx + keyword.length索引开始的子串作为新的text和py, 重复1, 直到text和py有一个为""
*/
__textKeywordMarked__: function (text, keyword, py) {
if (text === null) {
if (BI.isIE9Below()) {
return this.html("(null)");
}
// textContent性能更好,并且原生防xss
this[0].textContent = "(null)";
return this;
}
if (BI.isUndefined(text)) {
text = "";
}
if (!BI.isKey(keyword) || (text + "").length > 100) {
if (BI.isIE9Below()) {
return this.html(BI.htmlEncode(text));
}
// textContent性能更好,并且原生防xss
// textContent性能更好,并且原生防xss
this[0].textContent = text;
return this;
}
keyword = keyword + "";
keyword = BI.toUpperCase(keyword);
var textLeft = (text || "") + "";
var textLeft = text + "";
py = (py || BI.makeFirstPY(text, {
splitChar: "\u200b"
})) + "";
@ -91412,9 +91423,15 @@ BI.TreeView = BI.inherit(BI.Pane, {
var self = this, o = this.options;
var ns = BI.Tree.arrayFormat(nodes);
BI.each(ns, function (i, n) {
n.title = n.title || n.text || n.value;
n.isParent = n.isParent || n.parent;
n.value = BI.isUndefined(n.value) ? n.text : n.value;
n.text = BI.isUndefined(n.text) ? n.value : n.text;
if (n.text === null) {
n.text = "(null)";
}
if (BI.isNull(n.title)) {
n.title = n.text;
}
// 处理标红
if (BI.isNotNull(n.text)) {
if (BI.isKey(o.paras.keyword)) {
@ -91422,8 +91439,6 @@ BI.TreeView = BI.inherit(BI.Pane, {
} else {
n.text = BI.htmlEncode(BI.Text.formatText(n.text + ""));
}
} else {
n.text = "";
}
});
return nodes;

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

55
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -26687,6 +26687,7 @@ BI.shortcut("bi.single", BI.Single);
}
var text = this._getShowText();
// 只要不是undefined就可以显示text值,否则显示value
if (!BI.isUndefined(text)) {
this.setText(text);
} else if (BI.isKey(o.value)) {
@ -26721,7 +26722,7 @@ BI.shortcut("bi.single", BI.Single);
_doRedMark: function (keyword) {
var o = this.options;
// render之后做的doredmark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
// render之后做的doRedMark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
o.keyword = keyword;
this.text.element.__textKeywordMarked__(this._getShowText(), keyword, o.py);
},
@ -26759,8 +26760,7 @@ BI.shortcut("bi.single", BI.Single);
setText: function (text) {
BI.Text.superclass.setText.apply(this, arguments);
// 为textContext赋值为undefined时在ie和edge下会真的显示undefined
this.options.text = BI.isNotNull(text) ? text : "";
this.options.text = text;
this._doRedMark(this.options.keyword);
}
});
@ -57015,9 +57015,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57031,9 +57031,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57215,9 +57215,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57231,9 +57231,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -60460,7 +60460,7 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
var text = "";
BI.each(ob.value, function (idx, path) {
var childValue = BI.last(path);
text += (path === "null" ? "" : (o.valueFormatter(childValue + "") || childValue) + "; ");
text += (path === "null" ? "(null)" : (o.valueFormatter(childValue + "") || childValue) + "; ");
count++;
});
@ -60644,7 +60644,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}
@ -60664,7 +60664,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
BI.each(names, function (idx, name) {
index++;
var childNodes = getChildrenNode(ob[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
if (childNodes === "") {
count++;
}
@ -89287,17 +89287,28 @@ if (BI.jQuery) {
* 3text和py各自取tidx/pidx + keyword.length索引开始的子串作为新的text和py, 重复1, 直到text和py有一个为""
*/
__textKeywordMarked__: function (text, keyword, py) {
if (text === null) {
if (BI.isIE9Below()) {
return this.html("(null)");
}
// textContent性能更好,并且原生防xss
this[0].textContent = "(null)";
return this;
}
if (BI.isUndefined(text)) {
text = "";
}
if (!BI.isKey(keyword) || (text + "").length > 100) {
if (BI.isIE9Below()) {
return this.html(BI.htmlEncode(text));
}
// textContent性能更好,并且原生防xss
// textContent性能更好,并且原生防xss
this[0].textContent = text;
return this;
}
keyword = keyword + "";
keyword = BI.toUpperCase(keyword);
var textLeft = (text || "") + "";
var textLeft = text + "";
py = (py || BI.makeFirstPY(text, {
splitChar: "\u200b"
})) + "";
@ -91412,9 +91423,15 @@ BI.TreeView = BI.inherit(BI.Pane, {
var self = this, o = this.options;
var ns = BI.Tree.arrayFormat(nodes);
BI.each(ns, function (i, n) {
n.title = n.title || n.text || n.value;
n.isParent = n.isParent || n.parent;
n.value = BI.isUndefined(n.value) ? n.text : n.value;
n.text = BI.isUndefined(n.text) ? n.value : n.text;
if (n.text === null) {
n.text = "(null)";
}
if (BI.isNull(n.title)) {
n.title = n.text;
}
// 处理标红
if (BI.isNotNull(n.text)) {
if (BI.isKey(o.paras.keyword)) {
@ -91422,8 +91439,6 @@ BI.TreeView = BI.inherit(BI.Pane, {
} else {
n.text = BI.htmlEncode(BI.Text.formatText(n.text + ""));
}
} else {
n.text = "";
}
});
return nodes;

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

55
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -26687,6 +26687,7 @@ BI.shortcut("bi.single", BI.Single);
}
var text = this._getShowText();
// 只要不是undefined就可以显示text值,否则显示value
if (!BI.isUndefined(text)) {
this.setText(text);
} else if (BI.isKey(o.value)) {
@ -26721,7 +26722,7 @@ BI.shortcut("bi.single", BI.Single);
_doRedMark: function (keyword) {
var o = this.options;
// render之后做的doredmark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
// render之后做的doRedMark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
o.keyword = keyword;
this.text.element.__textKeywordMarked__(this._getShowText(), keyword, o.py);
},
@ -26759,8 +26760,7 @@ BI.shortcut("bi.single", BI.Single);
setText: function (text) {
BI.Text.superclass.setText.apply(this, arguments);
// 为textContext赋值为undefined时在ie和edge下会真的显示undefined
this.options.text = BI.isNotNull(text) ? text : "";
this.options.text = text;
this._doRedMark(this.options.keyword);
}
});
@ -57015,9 +57015,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57031,9 +57031,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57215,9 +57215,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57231,9 +57231,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -60460,7 +60460,7 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
var text = "";
BI.each(ob.value, function (idx, path) {
var childValue = BI.last(path);
text += (path === "null" ? "" : (o.valueFormatter(childValue + "") || childValue) + "; ");
text += (path === "null" ? "(null)" : (o.valueFormatter(childValue + "") || childValue) + "; ");
count++;
});
@ -60644,7 +60644,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}
@ -60664,7 +60664,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
BI.each(names, function (idx, name) {
index++;
var childNodes = getChildrenNode(ob[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
if (childNodes === "") {
count++;
}
@ -89287,17 +89287,28 @@ if (BI.jQuery) {
* 3text和py各自取tidx/pidx + keyword.length索引开始的子串作为新的text和py, 重复1, 直到text和py有一个为""
*/
__textKeywordMarked__: function (text, keyword, py) {
if (text === null) {
if (BI.isIE9Below()) {
return this.html("(null)");
}
// textContent性能更好,并且原生防xss
this[0].textContent = "(null)";
return this;
}
if (BI.isUndefined(text)) {
text = "";
}
if (!BI.isKey(keyword) || (text + "").length > 100) {
if (BI.isIE9Below()) {
return this.html(BI.htmlEncode(text));
}
// textContent性能更好,并且原生防xss
// textContent性能更好,并且原生防xss
this[0].textContent = text;
return this;
}
keyword = keyword + "";
keyword = BI.toUpperCase(keyword);
var textLeft = (text || "") + "";
var textLeft = text + "";
py = (py || BI.makeFirstPY(text, {
splitChar: "\u200b"
})) + "";
@ -91412,9 +91423,15 @@ BI.TreeView = BI.inherit(BI.Pane, {
var self = this, o = this.options;
var ns = BI.Tree.arrayFormat(nodes);
BI.each(ns, function (i, n) {
n.title = n.title || n.text || n.value;
n.isParent = n.isParent || n.parent;
n.value = BI.isUndefined(n.value) ? n.text : n.value;
n.text = BI.isUndefined(n.text) ? n.value : n.text;
if (n.text === null) {
n.text = "(null)";
}
if (BI.isNull(n.title)) {
n.title = n.text;
}
// 处理标红
if (BI.isNotNull(n.text)) {
if (BI.isKey(o.paras.keyword)) {
@ -91422,8 +91439,6 @@ BI.TreeView = BI.inherit(BI.Pane, {
} else {
n.text = BI.htmlEncode(BI.Text.formatText(n.text + ""));
}
} else {
n.text = "";
}
});
return nodes;

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

55
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -24148,6 +24148,7 @@ BI.shortcut("bi.single", BI.Single);
}
var text = this._getShowText();
// 只要不是undefined就可以显示text值,否则显示value
if (!BI.isUndefined(text)) {
this.setText(text);
} else if (BI.isKey(o.value)) {
@ -24182,7 +24183,7 @@ BI.shortcut("bi.single", BI.Single);
_doRedMark: function (keyword) {
var o = this.options;
// render之后做的doredmark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
// render之后做的doRedMark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
o.keyword = keyword;
this.text.element.__textKeywordMarked__(this._getShowText(), keyword, o.py);
},
@ -24220,8 +24221,7 @@ BI.shortcut("bi.single", BI.Single);
setText: function (text) {
BI.Text.superclass.setText.apply(this, arguments);
// 为textContext赋值为undefined时在ie和edge下会真的显示undefined
this.options.text = BI.isNotNull(text) ? text : "";
this.options.text = text;
this._doRedMark(this.options.keyword);
}
});
@ -54476,9 +54476,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -54492,9 +54492,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -54676,9 +54676,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -54692,9 +54692,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57921,7 +57921,7 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
var text = "";
BI.each(ob.value, function (idx, path) {
var childValue = BI.last(path);
text += (path === "null" ? "" : (o.valueFormatter(childValue + "") || childValue) + "; ");
text += (path === "null" ? "(null)" : (o.valueFormatter(childValue + "") || childValue) + "; ");
count++;
});
@ -58105,7 +58105,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}
@ -58125,7 +58125,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
BI.each(names, function (idx, name) {
index++;
var childNodes = getChildrenNode(ob[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
if (childNodes === "") {
count++;
}
@ -86748,17 +86748,28 @@ if (BI.jQuery) {
* 3text和py各自取tidx/pidx + keyword.length索引开始的子串作为新的text和py, 重复1, 直到text和py有一个为""
*/
__textKeywordMarked__: function (text, keyword, py) {
if (text === null) {
if (BI.isIE9Below()) {
return this.html("(null)");
}
// textContent性能更好,并且原生防xss
this[0].textContent = "(null)";
return this;
}
if (BI.isUndefined(text)) {
text = "";
}
if (!BI.isKey(keyword) || (text + "").length > 100) {
if (BI.isIE9Below()) {
return this.html(BI.htmlEncode(text));
}
// textContent性能更好,并且原生防xss
// textContent性能更好,并且原生防xss
this[0].textContent = text;
return this;
}
keyword = keyword + "";
keyword = BI.toUpperCase(keyword);
var textLeft = (text || "") + "";
var textLeft = text + "";
py = (py || BI.makeFirstPY(text, {
splitChar: "\u200b"
})) + "";
@ -88873,9 +88884,15 @@ BI.TreeView = BI.inherit(BI.Pane, {
var self = this, o = this.options;
var ns = BI.Tree.arrayFormat(nodes);
BI.each(ns, function (i, n) {
n.title = n.title || n.text || n.value;
n.isParent = n.isParent || n.parent;
n.value = BI.isUndefined(n.value) ? n.text : n.value;
n.text = BI.isUndefined(n.text) ? n.value : n.text;
if (n.text === null) {
n.text = "(null)";
}
if (BI.isNull(n.title)) {
n.title = n.text;
}
// 处理标红
if (BI.isNotNull(n.text)) {
if (BI.isKey(o.paras.keyword)) {
@ -88883,8 +88900,6 @@ BI.TreeView = BI.inherit(BI.Pane, {
} else {
n.text = BI.htmlEncode(BI.Text.formatText(n.text + ""));
}
} else {
n.text = "";
}
});
return nodes;

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

30
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -23758,6 +23758,7 @@ BI.shortcut("bi.single", BI.Single);
}
var text = this._getShowText();
// 只要不是undefined就可以显示text值,否则显示value
if (!BI.isUndefined(text)) {
this.setText(text);
} else if (BI.isKey(o.value)) {
@ -23792,7 +23793,7 @@ BI.shortcut("bi.single", BI.Single);
_doRedMark: function (keyword) {
var o = this.options;
// render之后做的doredmark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
// render之后做的doRedMark,这个时候虽然标红了,但是之后text mounted执行的时候并没有keyword
o.keyword = keyword;
this.text.element.__textKeywordMarked__(this._getShowText(), keyword, o.py);
},
@ -23830,8 +23831,7 @@ BI.shortcut("bi.single", BI.Single);
setText: function (text) {
BI.Text.superclass.setText.apply(this, arguments);
// 为textContext赋值为undefined时在ie和edge下会真的显示undefined
this.options.text = BI.isNotNull(text) ? text : "";
this.options.text = text;
this._doRedMark(this.options.keyword);
}
});
@ -54086,9 +54086,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -54102,9 +54102,9 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -54286,9 +54286,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.assist, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -54302,9 +54302,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var state = "";
BI.each(ob.value, function (i, v) {
if (i === 0) {
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "" + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
} else {
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v));
state += "," + (v === null ? "(null)" : (o.valueFormatter(v + "") || v));
}
});
this.editor.setState(state);
@ -57531,7 +57531,7 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
var text = "";
BI.each(ob.value, function (idx, path) {
var childValue = BI.last(path);
text += (path === "null" ? "" : (o.valueFormatter(childValue + "") || childValue) + "; ");
text += (path === "null" ? "(null)" : (o.valueFormatter(childValue + "") || childValue) + "; ");
count++;
});
@ -57715,7 +57715,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}
@ -57735,7 +57735,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
BI.each(names, function (idx, name) {
index++;
var childNodes = getChildrenNode(ob[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ",");
if (childNodes === "") {
count++;
}

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-17 17:50:23 */
/*! time: 2021-6-18 9:00:42 */
/******/ (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.20210617175135",
"version": "2.0.20210618090214",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

Loading…
Cancel
Save