guy 2 years ago
parent
commit
b4b5736efa
  1. 2
      package.json
  2. 1
      src/base/single/button/buttons/button.text.js
  3. 1
      src/base/single/button/listitem/blankiconicontextitem.js
  4. 1
      src/base/single/button/listitem/blankicontexticonitem.js
  5. 1
      src/base/single/button/listitem/blankicontextitem.js
  6. 1
      src/base/single/button/listitem/icontexticonitem.js
  7. 1
      src/base/single/button/listitem/icontextitem.js
  8. 1
      src/base/single/button/listitem/texticonitem.js
  9. 1
      src/base/single/button/listitem/textitem.js
  10. 1
      src/base/single/button/node/icontexticonnode.js
  11. 1
      src/base/single/button/node/icontextnode.js
  12. 1
      src/base/single/button/node/texticonnode.js
  13. 1
      src/base/single/button/node/textnode.js
  14. 8
      src/case/combo/textvaluecombo/popup.textvalue.js
  15. 4
      src/core/2.base.js
  16. 1
      src/less/lib/font.less
  17. 2
      src/less/resource/font.less

2
package.json

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

1
src/base/single/button/buttons/button.text.js

@ -42,7 +42,6 @@ BI.TextButton = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
py: o.py, py: o.py,
keyword: o.keyword, keyword: o.keyword,
title: null,
}); });
}, },

1
src/base/single/button/listitem/blankiconicontextitem.js

@ -62,7 +62,6 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}], }],
}; };

1
src/base/single/button/listitem/blankicontexticonitem.js

@ -56,7 +56,6 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}, { }, {
type: "bi.icon_label", type: "bi.icon_label",

1
src/base/single/button/listitem/blankicontextitem.js

@ -55,7 +55,6 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}], }],
}; };

1
src/base/single/button/listitem/icontexticonitem.js

@ -52,7 +52,6 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}, { }, {
type: "bi.icon_label", type: "bi.icon_label",

1
src/base/single/button/listitem/icontextitem.js

@ -53,7 +53,6 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}], }],
}; };

1
src/base/single/button/listitem/texticonitem.js

@ -46,7 +46,6 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}, { }, {
type: "bi.icon_label", type: "bi.icon_label",

1
src/base/single/button/listitem/textitem.js

@ -39,7 +39,6 @@ BI.TextItem = BI.inherit(BI.BasicButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
py: o.py, py: o.py,
title: null,
}); });
}, },

1
src/base/single/button/node/icontexticonnode.js

@ -50,7 +50,6 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}, { }, {
type: "bi.icon_label", type: "bi.icon_label",

1
src/base/single/button/node/icontextnode.js

@ -50,7 +50,6 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}], }],
}; };

1
src/base/single/button/node/texticonnode.js

@ -42,7 +42,6 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
height: o.height, height: o.height,
title: null,
}, },
}, { }, {
type: "bi.icon_label", type: "bi.icon_label",

1
src/base/single/button/node/textnode.js

@ -38,7 +38,6 @@ BI.TextNode = BI.inherit(BI.NodeButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
py: o.py, py: o.py,
title: null,
}); });
}, },

8
src/case/combo/textvaluecombo/popup.textvalue.js

@ -8,7 +8,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
render () { render () {
var o = this.options, self = this; var o = this.options, self = this;
if (o.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE) { if (o.chooseType !== BI.ButtonGroup.CHOOSE_TYPE_MULTI) {
return { return {
type: "bi.vertical", type: "bi.vertical",
vgap: 5, vgap: 5,
@ -99,7 +99,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options; var o = this.options;
return BI.map(items, function (i, item) { return BI.map(items, function (i, item) {
return BI.extend({ return BI.extend({
type: o.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE ? "bi.single_select_item" : "bi.multi_select_item", type: o.chooseType !== BI.ButtonGroup.CHOOSE_TYPE_MULTI ? "bi.single_select_item" : "bi.multi_select_item",
iconWrapperWidth: 36, iconWrapperWidth: 36,
textAlign: o.textAlign, textAlign: o.textAlign,
title: item.title || item.text title: item.title || item.text
@ -113,7 +113,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
}, },
getValue: function () { getValue: function () {
if (this.options.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE) { if (this.options.chooseType !== BI.ButtonGroup.CHOOSE_TYPE_MULTI) {
return this.popup.getValue(); return this.popup.getValue();
} }
var val = this.popup.getValue(); var val = this.popup.getValue();
@ -125,7 +125,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
}, },
setValue: function (v) { setValue: function (v) {
if (this.options.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE) { if (this.options.chooseType !== BI.ButtonGroup.CHOOSE_TYPE_MULTI) {
return this.popup.setValue(v); return this.popup.setValue(v);
} }
this.popup.setValue({ this.popup.setValue({

4
src/core/2.base.js

@ -389,7 +389,7 @@
} }
for (var i = 0, len = array.length; i < len; i++) { for (var i = 0, len = array.length; i < len; i++) {
if (BI.isArray(array[i])) { if (BI.isArray(array[i])) {
res.push(arguments.callee(array[i], value)); res.push(BI.makeArrayByArray(array[i], value));
} else { } else {
res.push(BI.deepClone(value)); res.push(BI.deepClone(value));
} }
@ -987,7 +987,7 @@
* @param DD * @param DD
* @param minDate '1900-01-01' * @param minDate '1900-01-01'
* @param maxDate '2099-12-31' * @param maxDate '2099-12-31'
* @returns {Array} 若无效返回无效状态 * @returns {Array} 若无效返回无效状态,数组第一位为无效属性,第二位缺省为超下限,1为超上限
*/ */
checkDateVoid: function (YY, MM, DD, minDate, maxDate) { checkDateVoid: function (YY, MM, DD, minDate, maxDate) {
var back = []; var back = [];

1
src/less/lib/font.less

@ -23,6 +23,7 @@
@font-arrow-left: "e1bc"; @font-arrow-left: "e1bc";
@font-arrow-right: "e1bd"; @font-arrow-right: "e1bd";
@font-arrow-bottom: "e1a4";
@font-up-triangle: "e1c6"; @font-up-triangle: "e1c6";
@font-down-triangle: "e1c9"; @font-down-triangle: "e1c9";

2
src/less/resource/font.less

@ -66,7 +66,7 @@
//实心下拉三角 //实心下拉三角
.font-hover(solid-triangle-left-font, @font-solid-left); .font-hover(solid-triangle-left-font, @font-solid-left);
.font-hover(solid-triangle-top-font, @font-solid-top); .font-hover(solid-triangle-top-font, @font-solid-top);
.font-hover(solid-triangle-bottom-font, @font-solid-bottom); .font-hover(solid-triangle-bottom-font, @font-arrow-bottom);
//实心展开三角 //实心展开三角
.font(expander-right-font, @font-solid-right); .font(expander-right-font, @font-solid-right);
.font(expander-down-font, @font-solid-bottom); .font(expander-down-font, @font-solid-bottom);

Loading…
Cancel
Save