fay 6 years ago
parent
commit
206a80f9ae
  1. 4
      demo/js/case/combo/demo.icon_text_value_combo.js
  2. 66
      dist/_fineui.min.js
  3. 122
      dist/base.js
  4. 137
      dist/bundle.js
  5. 68
      dist/bundle.min.js
  6. 15
      dist/case.js
  7. 4
      dist/demo.js
  8. 137
      dist/fineui.js
  9. 66
      dist/fineui.min.js
  10. 3
      dist/resource.css
  11. 22
      src/base/single/button/listitem/blankicontexticonitem.js
  12. 11
      src/base/single/button/listitem/blankicontextitem.js
  13. 23
      src/base/single/button/listitem/icontexticonitem.js
  14. 11
      src/base/single/button/listitem/icontextitem.js
  15. 11
      src/base/single/button/listitem/texticonitem.js
  16. 22
      src/base/single/button/node/icontexticonnode.js
  17. 11
      src/base/single/button/node/icontextnode.js
  18. 11
      src/base/single/button/node/texticonnode.js
  19. 4
      src/case/button/node/node.arrow.js
  20. 11
      src/case/button/node/node.icon.arrow.js
  21. 3
      src/css/resource/size.css
  22. 1
      src/less/resource/size.less

4
demo/js/case/combo/demo.icon_text_value_combo.js

@ -14,11 +14,9 @@ Demo.IconTextValueCombo = BI.inherit(BI.Widget, {
text: "默认值", text: "默认值",
// defaultIconCls: "next-page-h-font", // defaultIconCls: "next-page-h-font",
width: 300, width: 300,
iconHeight: 16,
iconWidth: 16,
items: [{ items: [{
text: "MVC-1", text: "MVC-1",
iconCls: "check-box-icon", iconCls: "close-font",
value: 1 value: 1
}, { }, {
text: "MVC-2", text: "MVC-2",

66
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

122
dist/base.js vendored

@ -17115,34 +17115,24 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -17252,16 +17242,11 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -17357,17 +17342,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -17378,16 +17358,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ height: o.height,
el: { iconWidth: o.iconWidth,
type: "bi.icon", iconHeight: o.iconHeight
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -17486,16 +17462,11 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -17590,16 +17561,11 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -17778,17 +17744,12 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -17800,16 +17761,11 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -17899,16 +17855,11 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -17992,16 +17943,11 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

137
dist/bundle.js vendored

@ -52922,34 +52922,24 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -53059,16 +53049,11 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53164,17 +53149,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -53185,16 +53165,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ height: o.height,
el: { iconWidth: o.iconWidth,
type: "bi.icon", iconHeight: o.iconHeight
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -53293,16 +53269,11 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53397,16 +53368,11 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53585,17 +53551,12 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -53607,16 +53568,11 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -53706,16 +53662,11 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53799,16 +53750,11 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -73030,9 +72976,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
BI.ArrowNode.superclass._init.apply(this, arguments); BI.ArrowNode.superclass._init.apply(this, arguments);
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox"
iconWidth: 12,
iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({
@ -73206,14 +73150,11 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls,
width: 24, width: 24,
items: [{ cls: o.iconCls,
type: "bi.icon", iconWidth: o.iconWidth,
height: o.iconHeight, iconHeight: o.iconHeight
width: o.iconWidth
}]
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

68
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

15
dist/case.js vendored

@ -421,9 +421,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
BI.ArrowNode.superclass._init.apply(this, arguments); BI.ArrowNode.superclass._init.apply(this, arguments);
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox"
iconWidth: 12,
iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({
@ -597,14 +595,11 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls,
width: 24, width: 24,
items: [{ cls: o.iconCls,
type: "bi.icon", iconWidth: o.iconWidth,
height: o.iconHeight, iconHeight: o.iconHeight
width: o.iconWidth
}]
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

4
dist/demo.js vendored

@ -2050,11 +2050,9 @@ Demo.IconTextValueCombo = BI.inherit(BI.Widget, {
text: "默认值", text: "默认值",
// defaultIconCls: "next-page-h-font", // defaultIconCls: "next-page-h-font",
width: 300, width: 300,
iconHeight: 16,
iconWidth: 16,
items: [{ items: [{
text: "MVC-1", text: "MVC-1",
iconCls: "check-box-icon", iconCls: "close-font",
value: 1 value: 1
}, { }, {
text: "MVC-2", text: "MVC-2",

137
dist/fineui.js vendored

@ -53171,34 +53171,24 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -53308,16 +53298,11 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53413,17 +53398,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -53434,16 +53414,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ height: o.height,
el: { iconWidth: o.iconWidth,
type: "bi.icon", iconHeight: o.iconHeight
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -53542,16 +53518,11 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53646,16 +53617,11 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -53834,17 +53800,12 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -53856,16 +53817,11 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,
@ -53955,16 +53911,11 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -54048,16 +53999,11 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -73279,9 +73225,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
BI.ArrowNode.superclass._init.apply(this, arguments); BI.ArrowNode.superclass._init.apply(this, arguments);
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox"
iconWidth: 12,
iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({
@ -73455,14 +73399,11 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls,
width: 24, width: 24,
items: [{ cls: o.iconCls,
type: "bi.icon", iconWidth: o.iconWidth,
height: o.iconHeight, iconHeight: o.iconHeight
width: o.iconWidth
}]
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

66
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/resource.css vendored

@ -1799,6 +1799,9 @@ textarea::-webkit-scrollbar-thumb:hover {
.icon-size-24 .b-font { .icon-size-24 .b-font {
font-size: 24px; font-size: 24px;
} }
.icon-size-40 .b-font {
font-size: 40px;
}
.icon-size-50 .b-font { .icon-size-50 .b-font {
font-size: 50px; font-size: 50px;
} }

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

@ -43,34 +43,24 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,

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

@ -45,16 +45,11 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

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

@ -42,17 +42,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -63,16 +58,12 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ height: o.height,
el: { iconWidth: o.iconWidth,
type: "bi.icon", iconHeight: o.iconHeight
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,

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

@ -40,16 +40,11 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

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

@ -41,16 +41,11 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

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

@ -40,17 +40,12 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls1, cls: o.iconCls1,
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
@ -62,16 +57,11 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
element: this, element: this,
items: [{ items: [{
el: { el: {
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls2, cls: o.iconCls2,
width: o.height, width: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}, },
top: 0, top: 0,
bottom: 0, bottom: 0,

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

@ -39,16 +39,11 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

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

@ -38,16 +38,11 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
height: o.height height: o.height
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
width: o.height, width: o.height,
height: o.height, height: o.height,
items: [{ iconWidth: o.iconWidth,
el: { iconHeight: o.iconHeight
type: "bi.icon",
width: o.iconWidth,
height: o.iconHeight
}
}]
}); });
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

4
src/case/button/node/node.arrow.js

@ -19,9 +19,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
BI.ArrowNode.superclass._init.apply(this, arguments); BI.ArrowNode.superclass._init.apply(this, arguments);
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox"
iconWidth: 12,
iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

11
src/case/button/node/node.icon.arrow.js

@ -33,14 +33,11 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.icon_label",
cls: o.iconCls,
width: 24, width: 24,
items: [{ cls: o.iconCls,
type: "bi.icon", iconWidth: o.iconWidth,
height: o.iconHeight, iconHeight: o.iconHeight
width: o.iconWidth
}]
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

3
src/css/resource/size.css

@ -7,6 +7,9 @@
.icon-size-24 .b-font { .icon-size-24 .b-font {
font-size: 24px; font-size: 24px;
} }
.icon-size-40 .b-font {
font-size: 40px;
}
.icon-size-50 .b-font { .icon-size-50 .b-font {
font-size: 50px; font-size: 50px;
} }

1
src/less/resource/size.less

@ -4,5 +4,6 @@
.iconSize(icon-size-12, @font-size-12); .iconSize(icon-size-12, @font-size-12);
.iconSize(icon-size-16, @font-size-16); .iconSize(icon-size-16, @font-size-16);
.iconSize(icon-size-24, @font-size-24); .iconSize(icon-size-24, @font-size-24);
.iconSize(icon-size-40, @font-size-40);
.iconSize(icon-size-50, @font-size-50); .iconSize(icon-size-50, @font-size-50);
.iconSize(icon-size-70, @font-size-70); .iconSize(icon-size-70, @font-size-70);
Loading…
Cancel
Save