Browse Source

Merge pull request #441 in FUI/fineui from ~WINDY/fui:master to master

* commit 'daa74bfb848c74668f96d15d8c907afd7ed81798':
  同步下4.1
  BI-24150 combo editor item高度统一
master
guy 7 years ago
parent
commit
95b7a74ffb
  1. 4
      demo/js/base/button/demo.icon_button.js
  2. 6
      demo/js/base/editor/demo.editor.js
  3. 6
      demo/js/case/combo/demo.bubble_combo.js
  4. 2
      demo/js/case/combo/demo.editor_icon_check_combo.js
  5. 8
      demo/js/case/demo.color_chooser.js
  6. 2
      demo/js/case/triggers/demo.editor_trigger.js
  7. 2
      demo/js/case/triggers/demo.icon_trigger.js
  8. 2
      demo/js/case/triggers/demo.select_text_trigger.js
  9. 2
      demo/js/case/triggers/demo.text_trigger.js
  10. 2
      demo/js/widget/timeinterval/demo.time_interval.js
  11. 74
      dist/_fineui.min.js
  12. 550
      dist/base.css
  13. 59
      dist/base.js
  14. 1369
      dist/bundle.css
  15. 277
      dist/bundle.js
  16. 2
      dist/bundle.min.css
  17. 74
      dist/bundle.min.js
  18. 114
      dist/case.js
  19. 375
      dist/core.css
  20. 8
      dist/core.js
  21. 375
      dist/core_without_normalize.css
  22. 36
      dist/demo.js
  23. 1369
      dist/fineui.css
  24. 277
      dist/fineui.js
  25. 2
      dist/fineui.min.css
  26. 74
      dist/fineui.min.js
  27. 56
      dist/resource.css
  28. 308
      dist/widget.css
  29. 96
      dist/widget.js
  30. 56
      public/css/font.css
  31. 7
      src/base/single/button/listitem/blankiconicontextitem.js
  32. 9
      src/base/single/button/listitem/blankicontexticonitem.js
  33. 5
      src/base/single/button/listitem/blankicontextitem.js
  34. 9
      src/base/single/button/listitem/icontexticonitem.js
  35. 5
      src/base/single/button/listitem/icontextitem.js
  36. 5
      src/base/single/button/listitem/texticonitem.js
  37. 9
      src/base/single/button/node/icontexticonnode.js
  38. 5
      src/base/single/button/node/icontextnode.js
  39. 5
      src/base/single/button/node/texticonnode.js
  40. 2
      src/case/button/item.multiselect.js
  41. 2
      src/case/button/item.singleselect.icontext.js
  42. 2
      src/case/button/item.singleselect.js
  43. 2
      src/case/button/item.singleselect.radio.js
  44. 6
      src/case/button/node/node.arrow.js
  45. 14
      src/case/button/node/node.icon.arrow.js
  46. 8
      src/case/button/node/node.multilayer.icon.arrow.js
  47. 4
      src/case/button/node/node.plus.js
  48. 2
      src/case/button/switch.js
  49. 6
      src/case/button/treeitem/item.icon.treeleaf.js
  50. 8
      src/case/button/treeitem/item.multilayer.icon.treeleaf.js
  51. 2
      src/case/button/treeitem/item.treetextleaf.js
  52. 4
      src/case/calendar/calendar.year.js
  53. 2
      src/case/colorchooser/colorchooser.js
  54. 2
      src/case/colorchooser/colorchooser.trigger.js
  55. 4
      src/case/colorchooser/colorchooser.trigger.long.js
  56. 4
      src/case/combo/iconcombo/popup.iconcombo.js
  57. 4
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  58. 4
      src/case/combo/icontextvaluecombo/popup.icontextvalue.js
  59. 4
      src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js
  60. 4
      src/case/combo/searchtextvaluecombo/popup.searchtextvalue.js
  61. 8
      src/case/combo/searchtextvaluecombo/trigger.searchtextvalue.js
  62. 2
      src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js
  63. 4
      src/case/combo/textvaluecombo/combo.textvalue.js
  64. 2
      src/case/combo/textvaluecombo/combo.textvaluesmall.js
  65. 4
      src/case/combo/textvaluecombo/popup.textvalue.js
  66. 2
      src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js
  67. 2
      src/case/editor/editor.clear.js
  68. 8
      src/core/proto/date.js
  69. 8
      src/css/base/colorchooser/colorchooser.trigger.css
  70. 6
      src/css/base/colorchooser/colorpicker/button.colorpicker.css
  71. 8
      src/css/base/colorchooser/colorpicker/editor.colorpicker.css
  72. 108
      src/css/base/combo/combo.bubble.css
  73. 3
      src/css/base/combo/combo.searchtextvalue.css
  74. 3
      src/css/base/combo/popup.bubble.css
  75. 6
      src/css/base/editor/editor.css
  76. 7
      src/css/base/editor/editor.search.css
  77. 16
      src/css/base/editor/editor.search.small.css
  78. 3
      src/css/base/editor/editor.sign.initial.css
  79. 32
      src/css/base/foundation/bi.message.css
  80. 4
      src/css/base/layer/layer.multiselect.css
  81. 6
      src/css/base/pager/pager.all.count.css
  82. 6
      src/css/base/pager/pager.direction.css
  83. 4
      src/css/base/single/button/item.singleselect.icontext.css
  84. 16
      src/css/base/single/editor/editor.code.css
  85. 6
      src/css/base/single/editor/editor.multifile.css
  86. 3
      src/css/base/single/editor/editor.shelter.css
  87. 3
      src/css/base/single/editor/editor.sign.css
  88. 11
      src/css/base/single/editor/editor.textarea.css
  89. 24
      src/css/base/single/tip/tip.bubble.css
  90. 24
      src/css/base/single/tip/tip.toast.css
  91. 16
      src/css/base/single/tip/tip.tooltip.css
  92. 22
      src/css/base/table/table.collection.cell.css
  93. 5
      src/css/base/table/table.collection.quick.css
  94. 22
      src/css/base/table/table.grid.cell.css
  95. 113
      src/css/base/table/table.grid.scrollbar.css
  96. 11
      src/css/base/table/table.resizable.cell.css
  97. 16
      src/css/base/table/table.resizable.css
  98. 3
      src/css/base/tree/tree.branch.css
  99. 17
      src/css/base/tree/tree.display.css
  100. 5
      src/css/base/trigger/trigger.selecttext.css
  101. Some files were not shown because too many files have changed in this diff Show More

4
demo/js/base/button/demo.icon_button.js

@ -8,8 +8,8 @@ Demo.Button = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.icon_button", type: "bi.icon_button",
cls: "close-ha-font", cls: "close-ha-font",
width: 20, width: 25,
height: 20 height: 25
} }
} }
]; ];

6
demo/js/base/editor/demo.editor.js

@ -9,7 +9,7 @@ Demo.Editor = BI.inherit(BI.Widget, {
watermark: "alert信息显示在下面", watermark: "alert信息显示在下面",
errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
width: 200, width: 200,
height: 30 height: 24
}); });
editor1.on(BI.Editor.EVENT_ENTER, function () { editor1.on(BI.Editor.EVENT_ENTER, function () {
editor1.blur(); editor1.blur();
@ -28,7 +28,7 @@ Demo.Editor = BI.inherit(BI.Widget, {
}, },
allowBlank: true, allowBlank: true,
width: 200, width: 200,
height: 30 height: 24
}); });
var editor3 = BI.createWidget({ var editor3 = BI.createWidget({
type: "bi.editor", type: "bi.editor",
@ -47,7 +47,7 @@ Demo.Editor = BI.inherit(BI.Widget, {
}, },
allowBlank: true, allowBlank: true,
width: 300, width: 300,
height: 30 height: 24
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

6
demo/js/case/combo/demo.bubble_combo.js

@ -11,14 +11,14 @@ Demo.Func = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button", type: "bi.button",
text: "测试", text: "测试",
height: 25 height: 24
}, },
popup: { popup: {
el: { el: {
type: "bi.button_group", type: "bi.button_group",
items: BI.makeArray(100, { items: BI.makeArray(100, {
type: "bi.text_item", type: "bi.text_item",
height: 25, height: 24,
text: "item" text: "item"
}), }),
layouts: [{ layouts: [{
@ -33,7 +33,7 @@ Demo.Func = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button", type: "bi.button",
text: "测试", text: "测试",
height: 25 height: 24
}, },
popup: { popup: {
type: "bi.text_bubble_bar_popup_view", type: "bi.text_bubble_bar_popup_view",

2
demo/js/case/combo/demo.editor_icon_check_combo.js

@ -16,7 +16,7 @@ Demo.TextValueCombo = BI.inherit(BI.Widget, {
}, },
watermark: "默认值", watermark: "默认值",
width: 200, width: 200,
height: 30, height: 24,
value: 2, value: 2,
items: [{ items: [{
// text: "MVC-1", // text: "MVC-1",

8
demo/js/case/demo.color_chooser.js

@ -9,8 +9,8 @@ Demo.Func = BI.inherit(BI.Widget, {
items: [{ items: [{
el: { el: {
type: "bi.color_chooser", type: "bi.color_chooser",
width: 30, width: 24,
height: 30 height: 24
}, },
left: 100, left: 100,
top: 250 top: 250
@ -18,7 +18,7 @@ Demo.Func = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.simple_color_chooser", type: "bi.simple_color_chooser",
width: 30, width: 30,
height: 30 height: 24
}, },
left: 400, left: 400,
top: 250 top: 250
@ -26,7 +26,7 @@ Demo.Func = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.color_chooser", type: "bi.color_chooser",
width: 230, width: 230,
height: 30 height: 24
}, },
left: 100, left: 100,
top: 350 top: 350

2
demo/js/case/triggers/demo.editor_trigger.js

@ -14,7 +14,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.editor_trigger", type: "bi.editor_trigger",
watermark: "这是水印", watermark: "这是水印",
width: 200, width: 200,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20

2
demo/js/case/triggers/demo.icon_trigger.js

@ -14,7 +14,7 @@ Demo.Func = BI.inherit(BI.Widget, {
}, { }, {
type: "bi.icon_trigger", type: "bi.icon_trigger",
width: 30, width: 30,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20

2
demo/js/case/triggers/demo.select_text_trigger.js

@ -15,7 +15,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
text: "这是一个简单的trigger", text: "这是一个简单的trigger",
width: 200, width: 200,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20

2
demo/js/case/triggers/demo.text_trigger.js

@ -15,7 +15,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.text_trigger", type: "bi.text_trigger",
text: "这是一个简单的trigger", text: "这是一个简单的trigger",
width: 200, width: 200,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20

2
demo/js/widget/timeinterval/demo.time_interval.js

@ -58,7 +58,7 @@ Demo.TimeInterval = BI.inherit(BI.Widget, {
type: 1, type: 1,
value: { value: {
year: 2018, year: 2018,
month: 0, month: 1,
day: 12 day: 12
} }
} }

74
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

550
dist/base.css vendored

@ -4,14 +4,6 @@
background-color: #ffffff; background-color: #ffffff;
} }
.bi-color-chooser-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
box-shadow: 0px 0px 2px 1px #d4dadd inset;
-webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset;
-moz-box-shadow: 0px 0px 2px 1px #d4dadd inset;
}
.bi-color-chooser-trigger { .bi-color-chooser-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -26,20 +18,6 @@
.bi-theme-dark .bi-color-picker-button .color-picker-button-mask { .bi-theme-dark .bi-color-picker-button .color-picker-button-mask {
border: 1px solid #ffffff; border: 1px solid #ffffff;
} }
.bi-color-picker-button .color-picker-button-mask {
border: 1px solid #1a1a1a;
}
.bi-theme-dark .bi-color-picker-button .color-picker-button-mask {
border: 1px solid #ffffff;
}
.bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
box-shadow: 0px 0px 2px 1px #d4dadd inset;
-webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset;
-moz-box-shadow: 0px 0px 2px 1px #d4dadd inset;
}
.bi-color-picker-editor .color-picker-editor-display { .bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -185,114 +163,6 @@
border-right: 7px solid transparent; border-right: 7px solid transparent;
content: ""; content: "";
} }
.bi-bubble-combo .button-combo-triangle-wrapper {
position: fixed !important;
z-index: 10000000;
}
.bi-bubble-combo .bubble-combo-triangle-left {
z-index: 1;
position: absolute;
width: 16px;
height: 10px;
border-bottom: 1px solid #f5f5f5;
}
.bi-bubble-combo .bubble-combo-triangle-left:before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
border-bottom: 10px solid #ccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-left:after {
position: absolute;
right: 1px;
top: 1px;
bottom: 0px;
border-bottom: 9px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-right {
z-index: 1;
position: absolute;
width: 16px;
height: 6px;
border-bottom: 1px solid #f5f5f5;
}
.bi-bubble-combo .bubble-combo-triangle-right:before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
border-bottom: 10px solid #ccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-right:after {
position: absolute;
right: 1px;
top: 1px;
bottom: 0px;
border-bottom: 9px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-top {
z-index: 1;
position: absolute;
width: 16px;
height: 10px;
border-top: 1px solid #ffffff;
}
.bi-bubble-combo .bubble-combo-triangle-top:after {
position: absolute;
right: 1px;
top: 0px;
border-top: 6px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-top:before {
position: absolute;
border-top: 7px solid #cccccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-bottom {
z-index: 1;
position: absolute;
width: 16px;
height: 5px;
border-bottom: 1px solid #ffffff;
}
.bi-bubble-combo .bubble-combo-triangle-bottom:before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
border-bottom: 7px solid #ccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-bottom:after {
position: absolute;
right: 1px;
top: 1px;
bottom: 0px;
border-bottom: 6px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-combo.bi-combo-popup { .bi-combo.bi-combo-popup {
display: block !important; display: block !important;
@ -320,19 +190,13 @@
.bi-text-value-combo.combo-error .bi-select-text-trigger .bi-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .bi-label {
color: #ff4949; color: #ff4949;
}
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}
.bi-bubble-popup-view {
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor .close-font { .bi-search-editor .search-close-h-font {
font-size: 20px; font-size: 16px;
} }
.bi-search-editor .search-font { .bi-search-editor .search-font {
font-size: 20px; font-size: 16px;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
@ -352,32 +216,6 @@
font-size: 18px; font-size: 18px;
} }
.bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px;
}
/*************BI.SearchEditor******************/
.bi-search-editor .close-font {
font-size: 20px;
}
.bi-search-editor .search-font {
font-size: 20px;
}
/*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor {
font-size: 12px;
}
.bi-small-search-editor .bi-editor .bi-input {
font-size: 12px;
}
.bi-small-search-editor .bi-editor .bi-label {
font-size: 12px;
}
.bi-small-search-editor .close-font {
font-size: 18px;
}
.bi-small-search-editor .search-font {
font-size: 18px;
}
.bi-sign-initial-editor .sign-initial-editor-text { .bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px; font-size: 14px;
} }
@ -893,42 +731,6 @@ li.CodeMirror-hint-active {
opacity: 0; opacity: 0;
transform: translateY(-100%); transform: translateY(-100%);
} }
.bi-message-title {
font-size: 16px;
cursor: pointer;
}
.bi-message-text {
font-size: 16px;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
-o-user-select: text;
user-select: text;
}
.bi-message-content {
font-size: 16px;
}
.bi-message-close {
font-size: 25px;
}
.bi-message-animate {
-webkit-transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
-moz-transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
-o-transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
}
.bi-message-enter {
opacity: 1;
}
.bi-message-leave {
opacity: 0;
transform: translateY(-100%);
}
.bi-multi-list-view .bi-button-mask {
opacity: 0.1;
filter: alpha(opacity=10);
}
.bi-multi-list-view .bi-button-mask { .bi-multi-list-view .bi-button-mask {
opacity: 0.1; opacity: 0.1;
filter: alpha(opacity=10); filter: alpha(opacity=10);
@ -954,12 +756,6 @@ li.CodeMirror-hint-active {
.bi-all-count-pager .all-pager-next { .bi-all-count-pager .all-pager-next {
font-size: 16px; font-size: 16px;
} }
.bi-all-count-pager .all-pager-prev {
font-size: 16px;
}
.bi-all-count-pager .all-pager-next {
font-size: 16px;
}
.bi-direction-pager .direction-pager-prev { .bi-direction-pager .direction-pager-prev {
font-size: 16px; font-size: 16px;
@ -973,12 +769,6 @@ li.CodeMirror-hint-active {
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
} }
.bi-direction-pager .direction-pager-prev {
font-size: 16px;
}
.bi-direction-pager .direction-pager-next {
font-size: 16px;
}
.bi-rich-editor .rich-editor-param { .bi-rich-editor .rich-editor-param {
-webkit-border-radius: 12px; -webkit-border-radius: 12px;
-moz-border-radius: 12px; -moz-border-radius: 12px;
@ -1385,10 +1175,6 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
} }
.bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2;
}
.bi-switch { .bi-switch {
-webkit-border-radius: 40px 40px 40px 40px; -webkit-border-radius: 40px 40px 40px 40px;
-moz-border-radius: 40px 40px 40px 40px; -moz-border-radius: 40px 40px 40px 40px;
@ -1420,22 +1206,6 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
margin: 1px 1px; margin: 1px 1px;
display: inline-block; display: inline-block;
} }
.bi-code-editor .param {
color: #ffffff;
padding: 0 5px;
margin: 1px 1px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #3f8ce8;
display: inline-block;
}
.bi-code-editor .error-param {
color: #ff4949;
padding: 0 5px;
margin: 1px 1px;
display: inline-block;
}
.bi-multifile-editor .multifile-editor { .bi-multifile-editor .multifile-editor {
@ -1458,29 +1228,6 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
font-size: 12px; font-size: 12px;
border: none; border: none;
} }
.bi-multifile-editor .multifile-editor {
text-align: right;
cursor: pointer;
font-size: 100px;
z-index: 2;
}
.bi-shelter-editor .shelter-editor-text {
font-size: 12px;
}
.bi-sign-editor .sign-editor-text {
font-size: 12px;
}
.bi-textarea-editor {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
}
.bi-textarea-editor .textarea-editor-content {
font-size: 12px;
}
.bi-textarea-editor .textarea-editor-content {
border: none;
}
.x-icon.b-font { .x-icon.b-font {
margin: auto; margin: auto;
width: 100%; width: 100%;
@ -1550,39 +1297,15 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
} }
.bi-bubble .bubble-success { .bi-bubble .bubble-success {
background: #e1f4e7; background: #e1f4e7;
color: #5cb75d; color: #13cd66;
} }
.bi-bubble .bubble-warning { .bi-bubble .bubble-warning {
background: #feeed7; background: #feeed7;
color: #faaa39; color: #faaa39;
} }
.bi-bubble {
font-size: 14px; .bi-tip {
} position: fixed !important;
.bi-bubble .bubble-text {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-bubble .bubble-error {
background: #ffecec;
color: #ff4949;
}
.bi-bubble .bubble-common {
background: #eaf2fd;
color: #3685f2;
}
.bi-bubble .bubble-success {
background: #e1f4e7;
color: #13cd66;
}
.bi-bubble .bubble-warning {
background: #feeed7;
color: #faaa39;
}
.bi-tip {
position: fixed !important;
} }
.bi-toast { .bi-toast {
@ -1610,46 +1333,6 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
font-size: 16px; font-size: 16px;
} }
.bi-tooltip {
max-width: 250px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
font-size: 12px;
color: #ffffff;
}
.bi-tooltip.tooltip-success {
background: #647185;
border: 1px solid #647185;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
border: 1px solid #e85050;
}
.bi-toast {
font-size: 14px;
color: #ffffff;
max-width: 400px;
min-width: 150px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-toast.toast-success {
background: #58cc7d;
}
.bi-toast.toast-warning {
background: #faaa39;
}
.bi-toast.toast-error {
background: #ff4949;
}
.bi-toast.toast-normal {
background: #3f8ce8;
}
.bi-toast .toast-icon {
font-size: 16px;
}
.bi-tooltip { .bi-tooltip {
max-width: 250px; max-width: 250px;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
@ -1713,33 +1396,6 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-collection-table-cell.first-col { .bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466; border-left: 1px solid #525466;
} }
.bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important;
overflow-x: hidden !important;
overflow-y: hidden !important;
}
.bi-collection-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-collection-table-cell.first-row {
border-top: 1px solid #d4dadd;
}
.bi-collection-table-cell.first-col {
border-left: 1px solid #d4dadd;
}
.bi-theme-dark .bi-collection-table-cell.first-row {
border-top: 1px solid #525466;
}
.bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466;
}
.bi-quick-collection-table > div > .bi-collection { .bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important; overflow: hidden !important;
@ -1992,192 +1648,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-color: #3f8ce8; background-color: #3f8ce8;
} }
.bi-grid-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-grid-table-cell.first-row {
border-top: 1px solid #d4dadd;
}
.bi-grid-table-cell.first-col {
border-left: 1px solid #d4dadd;
}
.bi-theme-dark .bi-grid-table-cell.first-row {
border-top: 1px solid #525466;
}
.bi-theme-dark .bi-grid-table-cell.first-col {
border-left: 1px solid #525466;
}
.scrollbar-layout-main {
box-sizing: border-box;
outline: none;
overflow: hidden;
position: absolute;
transition-duration: 250ms;
transition-timing-function: ease;
user-select: none;
background-color: rgba(102, 102, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666);
border-radius: 5px;
}
.bi-theme-dark .scrollbar-layout-main {
background-color: rgba(204, 204, 204, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc);
}
.scrollbar-layout-main-vertical {
bottom: 0;
right: 0;
top: 0;
transition-property: background-color;
width: 10px;
}
.scrollbar-layout-main-vertical.public-scrollbar-main-active,
.scrollbar-layout-main-vertical:hover {
width: 10px;
}
.scrollbar-layout-main-horizontal {
bottom: 0;
height: 10px;
left: 0;
transition-property: background-color;
background-color: rgba(102, 102, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666);
}
.bi-theme-dark .scrollbar-layout-main-horizontal {
background-color: rgba(204, 204, 204, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc);
}
/* Touching the scroll-track directly makes the scroll-track bolder */
.scrollbar-layout-main-horizontal.public-scrollbar-main-active,
.scrollbar-layout-main-horizontal:hover {
height: 10px;
}
.scrollbar-layout-face {
left: 0;
overflow: hidden;
position: absolute;
z-index: 1;
}
/**
* This selector renders the "nub" of the scrollface. The nub must
* be rendered as pseudo-element so that it won't receive any UI events then
* we can get the correct `event.offsetX` and `event.offsetY` from the
* scrollface element while dragging it.
*/
.scrollbar-layout-face:after {
border-radius: 6px;
content: '';
display: block;
position: absolute;
transition: background-color 250ms ease;
}
.scrollbar-layout-face-horizontal {
bottom: 0;
left: 0;
top: 0;
}
.scrollbar-layout-face-horizontal:after {
bottom: 2px;
left: 0;
top: 2px;
width: 100%;
}
.scrollbar-layout-face-vertical {
left: 0;
right: 0;
top: 0;
}
.scrollbar-layout-face-vertical:after {
height: 100%;
left: 2px;
right: 2px;
top: 0;
}
/**
* scrollbars.
*/
/* Touching the scroll-track directly makes the scroll-track bolder */
.public-scrollbar-face:after {
background-color: rgba(102, 102, 102, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666);
}
.bi-theme-dark .public-scrollbar-face:after {
background-color: rgba(204, 204, 204, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc);
}
.public-scrollbar-main:hover .public-scrollbar-face:after,
.public-scrollbar-main-active .public-scrollbar-face:after,
.public-scrollbar-face-active:after {
background-color: rgba(102, 102, 102, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666);
}
.bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after,
.bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after,
.bi-theme-dark .public-scrollbar-face-active:after {
background-color: rgba(204, 204, 204, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc);
}
.horizontal-scrollbar {
bottom: 0;
position: absolute;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container {
cursor: ew-resize;
z-index: 1;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container:hover .resizable-table-cell-resizer-knob,
.bi-resizable-table-cell .resizable-table-cell-resizer-container.dragging .resizable-table-cell-resizer-knob {
background-color: #3f8ce8;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob {
background-color: #58cc7d;
}
.bi-resizable-table .resizable-table-resizer {
cursor: ew-resize;
z-index: 1;
background-color: #3f8ce8;
}
.bi-resizable-table .resizable-table-resizer.suitable {
background-color: #58cc7d;
}
.bi-resizable-table .resizable-table-region-resizer {
cursor: ew-resize;
z-index: 1;
}
.bi-resizable-table .resizable-table-region-resizer:hover .resizable-table-region-resizer-knob,
.bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob {
background-color: #3f8ce8;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
}
.bi-branch-tree .bi-branch-tree-view { .bi-branch-tree .bi-branch-tree-view {
min-width: 300px; min-width: 300px;
} }
.bi-display-tree .ztree * {
color: #999999;
}
.bi-display-tree .ztree li a,
.bi-display-tree .ztree li span {
cursor: default !important;
}
.bi-display-tree .ztree li a:hover {
text-decoration: none;
}
.bi-display-tree .ztree li a.curSelectedNode {
padding-top: 1px;
border: none;
background-color: inherit;
opacity: 1;
filter: alpha(opacity=100);
}
.bi-display-tree .ztree * { .bi-display-tree .ztree * {
color: #999999; color: #999999;
} }
@ -2433,16 +1907,6 @@ ul.ztree.zTreeDragUL {
border-radius: 2px; border-radius: 2px;
} }
.bi-small-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-small-select-text-trigger { .bi-small-select-text-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;

59
dist/base.js vendored

@ -16921,9 +16921,6 @@ BI.shortcut("bi.text_button", BI.TextButton);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -16968,14 +16965,14 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
@ -17043,9 +17040,6 @@ BI.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -17084,7 +17078,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17101,7 +17095,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17125,7 +17119,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
width: o.blankWidth width: o.blankWidth
}, icon1, this.text, { }, icon1, this.text, {
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height
}) })
})))); }))));
}, },
@ -17180,9 +17174,6 @@ BI.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -17223,7 +17214,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17292,9 +17283,6 @@ BI.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextIconItem = BI.inherit(BI.BasicButton, { BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -17332,7 +17320,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17344,7 +17332,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height,
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -17353,7 +17341,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",
@ -17425,9 +17413,6 @@ BI.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextItem = BI.inherit(BI.BasicButton, { BI.IconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -17463,7 +17448,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17532,9 +17517,6 @@ BI.shortcut("bi.icon_text_item", BI.IconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.TextIconItem = BI.inherit(BI.BasicButton, { BI.TextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -17570,7 +17552,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17722,9 +17704,6 @@ BI.shortcut("bi.text_item", BI.TextItem);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextIconNode = BI.inherit(BI.NodeButton, { BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -17762,7 +17741,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17774,7 +17753,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
BI.createWidget({ BI.createWidget({
@ -17784,7 +17763,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",
@ -17847,9 +17826,6 @@ BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextNode = BI.inherit(BI.NodeButton, { BI.IconTextNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments);
@ -17885,7 +17861,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -17943,9 +17919,6 @@ BI.shortcut("bi.icon_text_node", BI.IconTextNode);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.TextIconNode = BI.inherit(BI.NodeButton, { BI.TextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -17981,7 +17954,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {

1369
dist/bundle.css vendored

File diff suppressed because it is too large Load Diff

277
dist/bundle.js vendored

@ -29579,6 +29579,10 @@ Date.prototype.print = function (str) {
var m = this.getMonth(); var m = this.getMonth();
var d = this.getDate(); var d = this.getDate();
var y = this.getFullYear(); var y = this.getFullYear();
var yWith4number = y + "";
while (yWith4number.length < 4) {
yWith4number = "0" + yWith4number;
}
var wn = this.getWeekNumber(); var wn = this.getWeekNumber();
var qr = this.getQuarter(); var qr = this.getQuarter();
var w = this.getDay(); var w = this.getDay();
@ -29624,8 +29628,8 @@ Date.prototype.print = function (str) {
s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN) s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN)
// FIXME: %x : preferred date representation for the current locale without the time // FIXME: %x : preferred date representation for the current locale without the time
// FIXME: %X : preferred time representation for the current locale without the date // FIXME: %X : preferred time representation for the current locale without the date
s["%y"] = ("" + y).substr(2, 2); // year without the century (range 00 to 99) s["%y"] = yWith4number.substr(2, 2); // year without the century (range 00 to 99)
s["%Y"] = y; // year with the century s["%Y"] = yWith4number; // year with the century
s["%%"] = "%"; // a literal '%' character s["%%"] = "%"; // a literal '%' character
s["%Q"] = qr; s["%Q"] = qr;
@ -52687,9 +52691,6 @@ BI.shortcut("bi.text_button", BI.TextButton);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -52734,14 +52735,14 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
@ -52809,9 +52810,6 @@ BI.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -52850,7 +52848,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -52867,7 +52865,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -52891,7 +52889,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
width: o.blankWidth width: o.blankWidth
}, icon1, this.text, { }, icon1, this.text, {
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height
}) })
})))); }))));
}, },
@ -52946,9 +52944,6 @@ BI.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -52989,7 +52984,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53058,9 +53053,6 @@ BI.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextIconItem = BI.inherit(BI.BasicButton, { BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -53098,7 +53090,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53110,7 +53102,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height,
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -53119,7 +53111,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",
@ -53191,9 +53183,6 @@ BI.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextItem = BI.inherit(BI.BasicButton, { BI.IconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -53229,7 +53218,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53298,9 +53287,6 @@ BI.shortcut("bi.icon_text_item", BI.IconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.TextIconItem = BI.inherit(BI.BasicButton, { BI.TextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -53336,7 +53322,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53488,9 +53474,6 @@ BI.shortcut("bi.text_item", BI.TextItem);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextIconNode = BI.inherit(BI.NodeButton, { BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -53528,7 +53511,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53540,7 +53523,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
BI.createWidget({ BI.createWidget({
@ -53550,7 +53533,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",
@ -53613,9 +53596,6 @@ BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextNode = BI.inherit(BI.NodeButton, { BI.IconTextNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments);
@ -53651,7 +53631,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53709,9 +53689,6 @@ BI.shortcut("bi.icon_text_node", BI.IconTextNode);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.TextIconNode = BI.inherit(BI.NodeButton, { BI.TextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -53747,7 +53724,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -72652,7 +72629,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multi-select-item", extraCls: "bi-multi-select-item",
height: 25, height: 24,
logic: { logic: {
dynamic: false dynamic: false
} }
@ -72728,7 +72705,7 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, {
return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-icon-text-item bi-list-item-active", extraCls: "bi-single-select-icon-text-item bi-list-item-active",
iconCls: "", iconCls: "",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -72784,7 +72761,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 24,
textAlign: "left" textAlign: "left"
}); });
}, },
@ -72836,7 +72813,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -72904,7 +72881,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -72912,8 +72889,8 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
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: 13, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({
@ -73071,9 +73048,9 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -73082,14 +73059,14 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox",
width: 23, width: 24,
stopPropagation: true stopPropagation: true
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls, cls: o.iconCls,
width: 23, width: 24,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
height: o.iconHeight, height: o.iconHeight,
@ -73119,10 +73096,10 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, { }, {
width: 23, width: 24,
el: icon el: icon
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -73324,9 +73301,9 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -73359,7 +73336,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -73421,7 +73398,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -73449,7 +73426,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -73511,7 +73488,7 @@ BI.Switch = BI.inherit(BI.BasicButton, {
top: 2, top: 2,
left: this.options.selected ? 24 : 2 left: this.options.selected ? 24 : 2
}] }]
} };
}, },
setSelected: function (v) { setSelected: function (v) {
@ -73637,7 +73614,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
iconCls: "" iconCls: ""
@ -73650,7 +73627,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: 23, width: 24,
cls: o.iconCls, cls: o.iconCls,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
@ -73672,7 +73649,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 23, width: 24,
el: icon el: icon
}, { }, {
el: this.text el: this.text
@ -73934,9 +73911,9 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0, layer: 0,
height: 25, height: 24,
iconCls: "", iconCls: "",
iconHeight: 14, iconHeight: 12,
iconWidth: 12 iconWidth: 12
}); });
}, },
@ -73969,7 +73946,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -73977,7 +73954,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 13), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },
@ -74033,7 +74010,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active", extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "", id: "",
pId: "", pId: "",
height: 25, height: 24,
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0 rgap: 0
@ -74356,7 +74333,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal", whiteSpace: "normal",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 23, height: 24,
width: 38, width: 38,
value: td.text, value: td.text,
disabled: td.disabled disabled: td.disabled
@ -74372,7 +74349,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2, columns: 2,
rows: 6, rows: 6,
columnSize: [1 / 2, 1 / 2], columnSize: [1 / 2, 1 / 2],
rowSize: 25 rowSize: 24
})), { })), {
type: "bi.center_adapt", type: "bi.center_adapt",
vgap: 1 vgap: 1
@ -76131,7 +76108,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
isNeedAdjustWidth: false, isNeedAdjustWidth: false,
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
el: BI.extend({ el: BI.extend({
type: o.width <= 30 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger",
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
@ -76547,7 +76524,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -76611,7 +76588,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -76638,7 +76615,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
}, },
textAlign: "left", textAlign: "left",
hgap: 5, hgap: 5,
height: 24, height: 18,
text: BI.i18nText("BI-Basic_Auto") text: BI.i18nText("BI-Basic_Auto")
} }
}] }]
@ -78255,7 +78232,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -78282,7 +78259,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments); BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },
@ -78406,7 +78383,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 24,
iconHeight: null, iconHeight: null,
iconWidth: null, iconWidth: null,
value: "" value: ""
@ -78448,7 +78425,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if (BI.isKey(o.value)) { if (BI.isKey(o.value)) {
@ -78489,7 +78466,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}), }),
@ -78519,7 +78496,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options; var o = this.options;
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}); });
@ -78543,7 +78520,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-search-text-value-combo", baseCls: "bi-search-text-value-combo",
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
@ -78601,7 +78578,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 302 maxHeight: 242
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
@ -78706,7 +78683,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
layouts: [{ layouts: [{
@ -78736,7 +78713,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
BI.SearchTextValueComboPopup.superclass.populate.apply(this, items); BI.SearchTextValueComboPopup.superclass.populate.apply(this, items);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items, keyword); this.popup.populate(items, keyword);
}, },
@ -78758,7 +78735,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border", baseCls: "bi-search-text-value-trigger bi-border",
height: 30 height: 24
}, },
render: function () { render: function () {
@ -78803,12 +78780,12 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
}, { }, {
el: { el: {
type: "bi.layout", type: "bi.layout",
width: 30 width: 24
}, },
width: 30 width: 24
} }
] ]
} };
}, },
_setState: function (v) { _setState: function (v) {
@ -79110,7 +79087,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({ return BI.extend({
type: "bi.icon_text_item", type: "bi.icon_text_item",
cls: "item-check-font bi-list-item", cls: "item-check-font bi-list-item",
height: 30 height: 24
}, item); }, item);
}); });
}, },
@ -79140,7 +79117,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-combo", baseCls: "bi-text-value-combo",
height: 30, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "", text: "",
value: "" value: ""
@ -79178,7 +79155,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if(BI.isKey(o.value)) { if(BI.isKey(o.value)) {
@ -79263,7 +79240,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
}, },
@ -79299,7 +79276,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -79327,7 +79304,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments); BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },
@ -79350,7 +79327,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30 height: 24
}); });
}, },
@ -79534,7 +79511,7 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
}] }]
}); });
this.editor.on(BI.Controller.EVENT_CHANGE, function () { this.editor.on(BI.Controller.EVENT_CHANGE, function () {
@ -88069,7 +88046,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-month-combo", baseCls: "bi-month-combo",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -88132,7 +88109,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, {
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
behaviors: {}, behaviors: {},
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -88214,8 +88191,8 @@ BI.DatePicker = BI.inherit(BI.Widget, {
this.left = BI.createWidget({ this.left = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "pre-page-h-font", cls: "pre-page-h-font",
width: 25, width: 24,
height: 25 height: 24
}); });
this.left.on(BI.IconButton.EVENT_CHANGE, function () { this.left.on(BI.IconButton.EVENT_CHANGE, function () {
if (self._month === 1) { if (self._month === 1) {
@ -88237,8 +88214,8 @@ BI.DatePicker = BI.inherit(BI.Widget, {
this.right = BI.createWidget({ this.right = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "next-page-h-font", cls: "next-page-h-font",
width: 25, width: 24,
height: 25 height: 24
}); });
this.right.on(BI.IconButton.EVENT_CHANGE, function () { this.right.on(BI.IconButton.EVENT_CHANGE, function () {
@ -88289,7 +88266,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.left] items: [this.left]
}, },
width: 25 width: 24
}, { }, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [{ items: [{
@ -88302,7 +88279,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.right] items: [this.right]
}, },
width: 25 width: 24
}] }]
}); });
this.setValue({ this.setValue({
@ -88597,16 +88574,16 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var backBtn = BI.createWidget({ var backBtn = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "pre-page-h-font", cls: "pre-page-h-font",
width: 25, width: 24,
height: 25, height: 24,
value: -1 value: -1
}); });
var preBtn = BI.createWidget({ var preBtn = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "next-page-h-font", cls: "next-page-h-font",
width: 25, width: 24,
height: 25, height: 24,
value: 1 value: 1
}); });
@ -88619,7 +88596,7 @@ BI.YearPopup = BI.inherit(BI.Widget, {
}, },
tab: { tab: {
cls: "year-popup-navigation bi-high-light bi-border-top", cls: "year-popup-navigation bi-high-light bi-border-top",
height: 25, height: 24,
items: [backBtn, preBtn] items: [backBtn, preBtn]
}, },
cardCreator: BI.bind(this._createYearCalendar, this), cardCreator: BI.bind(this._createYearCalendar, this),
@ -88672,15 +88649,15 @@ BI.shortcut("bi.year_popup", BI.YearPopup);/**
*/ */
BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { BI.DateTriangleTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
height: 25, height: 24,
iconWidth: 16, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}, },
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.DateTriangleTrigger.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.DateTriangleTrigger.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-triangle-trigger pull-down-ha-font cursor-pointer", baseCls: "bi-date-triangle-trigger pull-down-ha-font cursor-pointer",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -89921,7 +89898,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, { return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active", baseCls: "bi-down-list-item bi-list-item-active",
cls: "", cls: "",
height: 25, height: 24,
logic: { logic: {
dynamic: true dynamic: true
}, },
@ -90023,7 +90000,7 @@ BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inhe
this.icon1 = BI.createWidget({ this.icon1 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
width: 25, width: 24,
forceNotSelected: true, forceNotSelected: true,
selected: this._digest(o.value) selected: this._digest(o.value)
}); });
@ -90031,13 +90008,13 @@ BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inhe
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
width: 25, width: 24,
forceNotSelected: true forceNotSelected: true
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: 25 width: 24
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -90116,7 +90093,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup = BI.inherit(BI.Pane, {
constants: { constants: {
nextIcon: "pull-right-e-font", nextIcon: "pull-right-e-font",
height: 25, height: 24,
iconHeight: 12, iconHeight: 12,
iconWidth: 12, iconWidth: 12,
hgap: 0, hgap: 0,
@ -91512,7 +91489,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
el: this.editor el: this.editor
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
this.setValue(o.value); this.setValue(o.value);
@ -92491,7 +92468,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
el: this.editor el: this.editor
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
this.setValue(o.value); this.setValue(o.value);
@ -93039,7 +93016,7 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, {
var conf = BI.SmallTextEditor.superclass._defaultConfig.apply(this, arguments); var conf = BI.SmallTextEditor.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-small-text-editor", baseCls: (conf.baseCls || "") + " bi-small-text-editor",
height: 25 height: 24
}); });
}, },
@ -95264,7 +95241,7 @@ BI.MonthCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MonthCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MonthCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-month-combo", baseCls: "bi-month-combo",
behaviors: {}, behaviors: {},
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -95960,7 +95937,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multilayer_select_tree-combo", baseCls: "bi-multilayer_select_tree-combo",
isDefaultInit: false, isDefaultInit: false,
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: ""
@ -96513,7 +96490,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multilayer-singletree-combo", baseCls: "bi-multilayer-singletree-combo",
isDefaultInit: false, isDefaultInit: false,
height: 30, height: 24,
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
@ -97314,7 +97291,7 @@ BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleT
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: { constants: {
height: 25, height: 24,
lgap: 10, lgap: 10,
tgap: 5 tgap: 5
}, },
@ -97422,7 +97399,7 @@ BI.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/**
BI.DisplaySelectedList = BI.inherit(BI.Pane, { BI.DisplaySelectedList = BI.inherit(BI.Pane, {
constants: { constants: {
height: 25, height: 24,
lgap: 10 lgap: 10
}, },
@ -97510,7 +97487,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -97896,7 +97873,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -98259,7 +98236,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -98737,7 +98714,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
height: 25, height: 24,
selected: this.isAllSelected() selected: this.isAllSelected()
}); });
}, },
@ -98906,7 +98883,7 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
height: 25 height: 24
}); });
}, },
@ -99239,7 +99216,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
width: 0 width: 0
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
@ -99386,7 +99363,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
selected: this.isAllSelected() selected: this.isAllSelected()
}); });
}, },
@ -99461,7 +99438,7 @@ BI.shortcut("bi.multi_select_search_loader", BI.MultiSelectSearchLoader);/**
BI.MultiSelectSearchPane = BI.inherit(BI.Widget, { BI.MultiSelectSearchPane = BI.inherit(BI.Widget, {
constants: { constants: {
height: 25, height: 24,
lgap: 10, lgap: 10,
tgap: 5 tgap: 5
}, },
@ -101341,7 +101318,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-tree-combo", baseCls: "bi-multi-tree-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 25 height: 24
}); });
}, },
@ -105172,7 +105149,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -105450,7 +105427,7 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -105711,7 +105688,7 @@ BI.SingleSelectComboItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -105998,7 +105975,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
height: 25, height: 24,
selected: false selected: false
}); });
}, },
@ -106195,7 +106172,7 @@ BI.SingleSelectTrigger = BI.inherit(BI.Trigger, {
width: "fill" width: "fill"
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
}, },
@ -108172,8 +108149,8 @@ BI.shortcut("bi.switch_tree", BI.SwitchTree);
*/ */
BI.DateInterval = BI.inherit(BI.Single, { BI.DateInterval = BI.inherit(BI.Single, {
constants: { constants: {
height: 25, height: 24,
width: 25, width: 24,
lgap: 15, lgap: 15,
offset: -15, offset: -15,
timeErrorCls: "time-error", timeErrorCls: "time-error",
@ -108351,8 +108328,8 @@ BI.shortcut("bi.date_interval", BI.DateInterval);/**
*/ */
BI.TimeInterval = BI.inherit(BI.Single, { BI.TimeInterval = BI.inherit(BI.Single, {
constants: { constants: {
height: 25, height: 24,
width: 25, width: 24,
lgap: 15, lgap: 15,
offset: -15, offset: -15,
timeErrorCls: "time-error", timeErrorCls: "time-error",

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

74
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

114
dist/case.js vendored

@ -161,7 +161,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multi-select-item", extraCls: "bi-multi-select-item",
height: 25, height: 24,
logic: { logic: {
dynamic: false dynamic: false
} }
@ -237,7 +237,7 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, {
return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-icon-text-item bi-list-item-active", extraCls: "bi-single-select-icon-text-item bi-list-item-active",
iconCls: "", iconCls: "",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -293,7 +293,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 24,
textAlign: "left" textAlign: "left"
}); });
}, },
@ -345,7 +345,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -413,7 +413,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -421,8 +421,8 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
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: 13, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({
@ -580,9 +580,9 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -591,14 +591,14 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox",
width: 23, width: 24,
stopPropagation: true stopPropagation: true
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls, cls: o.iconCls,
width: 23, width: 24,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
height: o.iconHeight, height: o.iconHeight,
@ -628,10 +628,10 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, { }, {
width: 23, width: 24,
el: icon el: icon
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -833,9 +833,9 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -868,7 +868,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -930,7 +930,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -958,7 +958,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -1020,7 +1020,7 @@ BI.Switch = BI.inherit(BI.BasicButton, {
top: 2, top: 2,
left: this.options.selected ? 24 : 2 left: this.options.selected ? 24 : 2
}] }]
} };
}, },
setSelected: function (v) { setSelected: function (v) {
@ -1146,7 +1146,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
iconCls: "" iconCls: ""
@ -1159,7 +1159,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: 23, width: 24,
cls: o.iconCls, cls: o.iconCls,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
@ -1181,7 +1181,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 23, width: 24,
el: icon el: icon
}, { }, {
el: this.text el: this.text
@ -1443,9 +1443,9 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0, layer: 0,
height: 25, height: 24,
iconCls: "", iconCls: "",
iconHeight: 14, iconHeight: 12,
iconWidth: 12 iconWidth: 12
}); });
}, },
@ -1478,7 +1478,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -1486,7 +1486,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 13), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },
@ -1542,7 +1542,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active", extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "", id: "",
pId: "", pId: "",
height: 25, height: 24,
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0 rgap: 0
@ -1865,7 +1865,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal", whiteSpace: "normal",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 23, height: 24,
width: 38, width: 38,
value: td.text, value: td.text,
disabled: td.disabled disabled: td.disabled
@ -1881,7 +1881,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2, columns: 2,
rows: 6, rows: 6,
columnSize: [1 / 2, 1 / 2], columnSize: [1 / 2, 1 / 2],
rowSize: 25 rowSize: 24
})), { })), {
type: "bi.center_adapt", type: "bi.center_adapt",
vgap: 1 vgap: 1
@ -3640,7 +3640,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
isNeedAdjustWidth: false, isNeedAdjustWidth: false,
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
el: BI.extend({ el: BI.extend({
type: o.width <= 30 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger",
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
@ -4056,7 +4056,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -4120,7 +4120,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -4147,7 +4147,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
}, },
textAlign: "left", textAlign: "left",
hgap: 5, hgap: 5,
height: 24, height: 18,
text: BI.i18nText("BI-Basic_Auto") text: BI.i18nText("BI-Basic_Auto")
} }
}] }]
@ -5764,7 +5764,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -5791,7 +5791,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments); BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },
@ -5915,7 +5915,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 24,
iconHeight: null, iconHeight: null,
iconWidth: null, iconWidth: null,
value: "" value: ""
@ -5957,7 +5957,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if (BI.isKey(o.value)) { if (BI.isKey(o.value)) {
@ -5998,7 +5998,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}), }),
@ -6028,7 +6028,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options; var o = this.options;
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}); });
@ -6052,7 +6052,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-search-text-value-combo", baseCls: "bi-search-text-value-combo",
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
@ -6110,7 +6110,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 302 maxHeight: 242
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
@ -6215,7 +6215,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
layouts: [{ layouts: [{
@ -6245,7 +6245,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
BI.SearchTextValueComboPopup.superclass.populate.apply(this, items); BI.SearchTextValueComboPopup.superclass.populate.apply(this, items);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items, keyword); this.popup.populate(items, keyword);
}, },
@ -6267,7 +6267,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border", baseCls: "bi-search-text-value-trigger bi-border",
height: 30 height: 24
}, },
render: function () { render: function () {
@ -6312,12 +6312,12 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
}, { }, {
el: { el: {
type: "bi.layout", type: "bi.layout",
width: 30 width: 24
}, },
width: 30 width: 24
} }
] ]
} };
}, },
_setState: function (v) { _setState: function (v) {
@ -6619,7 +6619,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({ return BI.extend({
type: "bi.icon_text_item", type: "bi.icon_text_item",
cls: "item-check-font bi-list-item", cls: "item-check-font bi-list-item",
height: 30 height: 24
}, item); }, item);
}); });
}, },
@ -6649,7 +6649,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-combo", baseCls: "bi-text-value-combo",
height: 30, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "", text: "",
value: "" value: ""
@ -6687,7 +6687,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if(BI.isKey(o.value)) { if(BI.isKey(o.value)) {
@ -6772,7 +6772,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
}, },
@ -6808,7 +6808,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -6836,7 +6836,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments); BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },
@ -6859,7 +6859,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30 height: 24
}); });
}, },
@ -7043,7 +7043,7 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
}] }]
}); });
this.editor.on(BI.Controller.EVENT_CHANGE, function () { this.editor.on(BI.Controller.EVENT_CHANGE, function () {

375
dist/core.css vendored

@ -1307,46 +1307,6 @@ textarea {
-o-align-items: center; -o-align-items: center;
align-items: center; align-items: center;
} }
.bi-flex-center-layout {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-o-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-flex-align: center;
-ms-align-items: center;
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout { .bi-flex-horizontal-layout {
display: box; display: box;
@ -1610,341 +1570,6 @@ textarea {
align-items: flex-end; align-items: flex-end;
} }
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-ms-flex-pack: start;
-o-justify-content: flex-start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
min-height: 100%;
float: left;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper.stretch {
width: 100%;
/* 09版 */
-webkit-box-orient: vertical;
/* 12版 */
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-o-justify-content: center;
justify-content: center;
/* 09版 */
-webkit-box-align: stretch;
/* 12版 */
-webkit-align-items: stretch;
-moz-align-items: stretch;
-ms-align-items: stretch;
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-o-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: start;
/* 12版 */
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
-ms-align-items: flex-start;
-ms-flex-align: start;
-o-align-items: flex-start;
align-items: flex-start;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
}
.bi-flex-horizontal-layout.middle {
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout.bottom {
/* 09版 */
-webkit-box-align: flex-end;
/* 12版 */
-webkit-align-items: flex-end;
-moz-align-items: flex-end;
-ms-align-items: flex-end;
-ms-flex-align: end;
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-o-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
}
.bi-flex-vertical-center.stretch {
/* 09版 */
-webkit-box-orient: vertical;
/* 12版 */
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-ms-flex-pack: center;
-o-justify-content: center;
justify-content: center;
/* 09版 */
-webkit-box-align: stretch;
/* 12版 */
-webkit-align-items: stretch;
-moz-align-items: stretch;
-ms-align-items: stretch;
-ms-flex-align: stretch;
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-ms-flex-pack: center;
-o-justify-content: center;
justify-content: center;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
min-width: 100%;
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-ms-flex-pack: start;
-o-justify-content: flex-start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: flex-start;
/* 12版 */
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
-ms-align-items: flex-start;
-ms-flex-align: start;
-o-align-items: flex-start;
align-items: flex-start;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
min-height: 100%;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper.middle {
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-o-align-items: center;
align-items: center;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper.bottom {
/* 09版 */
-webkit-box-align: flex-end;
/* 12版 */
-webkit-align-items: flex-end;
-moz-align-items: flex-end;
-ms-align-items: flex-end;
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper { .bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */

8
dist/core.js vendored

@ -29579,6 +29579,10 @@ Date.prototype.print = function (str) {
var m = this.getMonth(); var m = this.getMonth();
var d = this.getDate(); var d = this.getDate();
var y = this.getFullYear(); var y = this.getFullYear();
var yWith4number = y + "";
while (yWith4number.length < 4) {
yWith4number = "0" + yWith4number;
}
var wn = this.getWeekNumber(); var wn = this.getWeekNumber();
var qr = this.getQuarter(); var qr = this.getQuarter();
var w = this.getDay(); var w = this.getDay();
@ -29624,8 +29628,8 @@ Date.prototype.print = function (str) {
s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN) s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN)
// FIXME: %x : preferred date representation for the current locale without the time // FIXME: %x : preferred date representation for the current locale without the time
// FIXME: %X : preferred time representation for the current locale without the date // FIXME: %X : preferred time representation for the current locale without the date
s["%y"] = ("" + y).substr(2, 2); // year without the century (range 00 to 99) s["%y"] = yWith4number.substr(2, 2); // year without the century (range 00 to 99)
s["%Y"] = y; // year with the century s["%Y"] = yWith4number; // year with the century
s["%%"] = "%"; // a literal '%' character s["%%"] = "%"; // a literal '%' character
s["%Q"] = qr; s["%Q"] = qr;

375
dist/core_without_normalize.css vendored

@ -1029,46 +1029,6 @@ textarea {
-o-align-items: center; -o-align-items: center;
align-items: center; align-items: center;
} }
.bi-flex-center-layout {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-o-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-flex-align: center;
-ms-align-items: center;
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout { .bi-flex-horizontal-layout {
display: box; display: box;
@ -1332,341 +1292,6 @@ textarea {
align-items: flex-end; align-items: flex-end;
} }
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-ms-flex-pack: start;
-o-justify-content: flex-start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
min-height: 100%;
float: left;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper.stretch {
width: 100%;
/* 09版 */
-webkit-box-orient: vertical;
/* 12版 */
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-o-justify-content: center;
justify-content: center;
/* 09版 */
-webkit-box-align: stretch;
/* 12版 */
-webkit-align-items: stretch;
-moz-align-items: stretch;
-ms-align-items: stretch;
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-o-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: start;
/* 12版 */
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
-ms-align-items: flex-start;
-ms-flex-align: start;
-o-align-items: flex-start;
align-items: flex-start;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
}
.bi-flex-horizontal-layout.middle {
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout.bottom {
/* 09版 */
-webkit-box-align: flex-end;
/* 12版 */
-webkit-align-items: flex-end;
-moz-align-items: flex-end;
-ms-align-items: flex-end;
-ms-flex-align: end;
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-o-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
}
.bi-flex-vertical-center.stretch {
/* 09版 */
-webkit-box-orient: vertical;
/* 12版 */
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-ms-flex-pack: center;
-o-justify-content: center;
justify-content: center;
/* 09版 */
-webkit-box-align: stretch;
/* 12版 */
-webkit-align-items: stretch;
-moz-align-items: stretch;
-ms-align-items: stretch;
-ms-flex-align: stretch;
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: center;
/* 12版 */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-ms-flex-pack: center;
-o-justify-content: center;
justify-content: center;
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-ms-flex-align: center;
-o-align-items: center;
align-items: center;
min-width: 100%;
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;
/* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;
/* TWEENER - IE 10 */
display: -webkit-flex;
/* NEW - Chrome */
display: flex;
/* NEW, Spec - Opera 12.1, Firefox 20+ */
/* 09版 */
-webkit-box-orient: horizontal;
/* 12版 */
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
-o-flex-direction: row;
flex-direction: row;
/* 09版 */
-webkit-box-pack: flex-start;
/* 12版 */
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-ms-flex-pack: start;
-o-justify-content: flex-start;
justify-content: flex-start;
/* 09版 */
-webkit-box-align: flex-start;
/* 12版 */
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
-ms-align-items: flex-start;
-ms-flex-align: start;
-o-align-items: flex-start;
align-items: flex-start;
/* 09版 */
/*-webkit-box-lines: multiple;*/
/* 12版 */
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;
min-height: 100%;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper.middle {
/* 09版 */
-webkit-box-align: center;
/* 12版 */
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-o-align-items: center;
align-items: center;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper.bottom {
/* 09版 */
-webkit-box-align: flex-end;
/* 12版 */
-webkit-align-items: flex-end;
-moz-align-items: flex-end;
-ms-align-items: flex-end;
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper { .bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */

36
dist/demo.js vendored

@ -263,8 +263,8 @@ BI.shortcut("demo.button", Demo.Button);Demo.Button = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.icon_button", type: "bi.icon_button",
cls: "close-ha-font", cls: "close-ha-font",
width: 20, width: 25,
height: 20 height: 25
} }
} }
]; ];
@ -721,7 +721,7 @@ BI.shortcut("demo.code_editor", Demo.CodeEditor);Demo.Editor = BI.inherit(BI.Wid
watermark: "alert信息显示在下面", watermark: "alert信息显示在下面",
errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
width: 200, width: 200,
height: 30 height: 24
}); });
editor1.on(BI.Editor.EVENT_ENTER, function () { editor1.on(BI.Editor.EVENT_ENTER, function () {
editor1.blur(); editor1.blur();
@ -740,7 +740,7 @@ BI.shortcut("demo.code_editor", Demo.CodeEditor);Demo.Editor = BI.inherit(BI.Wid
}, },
allowBlank: true, allowBlank: true,
width: 200, width: 200,
height: 30 height: 24
}); });
var editor3 = BI.createWidget({ var editor3 = BI.createWidget({
type: "bi.editor", type: "bi.editor",
@ -759,7 +759,7 @@ BI.shortcut("demo.code_editor", Demo.CodeEditor);Demo.Editor = BI.inherit(BI.Wid
}, },
allowBlank: true, allowBlank: true,
width: 300, width: 300,
height: 30 height: 24
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -1826,14 +1826,14 @@ BI.shortcut("demo.tree_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button", type: "bi.button",
text: "测试", text: "测试",
height: 25 height: 24
}, },
popup: { popup: {
el: { el: {
type: "bi.button_group", type: "bi.button_group",
items: BI.makeArray(100, { items: BI.makeArray(100, {
type: "bi.text_item", type: "bi.text_item",
height: 25, height: 24,
text: "item" text: "item"
}), }),
layouts: [{ layouts: [{
@ -1848,7 +1848,7 @@ BI.shortcut("demo.tree_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button", type: "bi.button",
text: "测试", text: "测试",
height: 25 height: 24
}, },
popup: { popup: {
type: "bi.text_bubble_bar_popup_view", type: "bi.text_bubble_bar_popup_view",
@ -1950,7 +1950,7 @@ Demo.TextValueCombo = BI.inherit(BI.Widget, {
}, },
watermark: "默认值", watermark: "默认值",
width: 200, width: 200,
height: 30, height: 24,
value: 2, value: 2,
items: [{ items: [{
// text: "MVC-1", // text: "MVC-1",
@ -2434,8 +2434,8 @@ BI.shortcut("demo.color_chooser_popup", Demo.Func);Demo.Func = BI.inherit(BI.Wid
items: [{ items: [{
el: { el: {
type: "bi.color_chooser", type: "bi.color_chooser",
width: 30, width: 24,
height: 30 height: 24
}, },
left: 100, left: 100,
top: 250 top: 250
@ -2443,7 +2443,7 @@ BI.shortcut("demo.color_chooser_popup", Demo.Func);Demo.Func = BI.inherit(BI.Wid
el: { el: {
type: "bi.simple_color_chooser", type: "bi.simple_color_chooser",
width: 30, width: 30,
height: 30 height: 24
}, },
left: 400, left: 400,
top: 250 top: 250
@ -2451,7 +2451,7 @@ BI.shortcut("demo.color_chooser_popup", Demo.Func);Demo.Func = BI.inherit(BI.Wid
el: { el: {
type: "bi.color_chooser", type: "bi.color_chooser",
width: 230, width: 230,
height: 30 height: 24
}, },
left: 100, left: 100,
top: 350 top: 350
@ -4244,7 +4244,7 @@ BI.shortcut("demo.simple_tree", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.editor_trigger", type: "bi.editor_trigger",
watermark: "这是水印", watermark: "这是水印",
width: 200, width: 200,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20
@ -4267,7 +4267,7 @@ BI.shortcut("demo.editor_trigger", Demo.Func);Demo.Func = BI.inherit(BI.Widget,
}, { }, {
type: "bi.icon_trigger", type: "bi.icon_trigger",
width: 30, width: 30,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20
@ -4291,7 +4291,7 @@ BI.shortcut("demo.icon_trigger", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
text: "这是一个简单的trigger", text: "这是一个简单的trigger",
width: 200, width: 200,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20
@ -4315,7 +4315,7 @@ BI.shortcut("demo.select_text_trigger", Demo.Func);Demo.Func = BI.inherit(BI.Wid
type: "bi.text_trigger", type: "bi.text_trigger",
text: "这是一个简单的trigger", text: "这是一个简单的trigger",
width: 200, width: 200,
height: 30 height: 24
}], }],
hgap: 20, hgap: 20,
vgap: 20 vgap: 20
@ -14369,7 +14369,7 @@ Demo.TimeInterval = BI.inherit(BI.Widget, {
type: 1, type: 1,
value: { value: {
year: 2018, year: 2018,
month: 0, month: 1,
day: 12 day: 12
} }
} }

1369
dist/fineui.css vendored

File diff suppressed because it is too large Load Diff

277
dist/fineui.js vendored

@ -29822,6 +29822,10 @@ Date.prototype.print = function (str) {
var m = this.getMonth(); var m = this.getMonth();
var d = this.getDate(); var d = this.getDate();
var y = this.getFullYear(); var y = this.getFullYear();
var yWith4number = y + "";
while (yWith4number.length < 4) {
yWith4number = "0" + yWith4number;
}
var wn = this.getWeekNumber(); var wn = this.getWeekNumber();
var qr = this.getQuarter(); var qr = this.getQuarter();
var w = this.getDay(); var w = this.getDay();
@ -29867,8 +29871,8 @@ Date.prototype.print = function (str) {
s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN) s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN)
// FIXME: %x : preferred date representation for the current locale without the time // FIXME: %x : preferred date representation for the current locale without the time
// FIXME: %X : preferred time representation for the current locale without the date // FIXME: %X : preferred time representation for the current locale without the date
s["%y"] = ("" + y).substr(2, 2); // year without the century (range 00 to 99) s["%y"] = yWith4number.substr(2, 2); // year without the century (range 00 to 99)
s["%Y"] = y; // year with the century s["%Y"] = yWith4number; // year with the century
s["%%"] = "%"; // a literal '%' character s["%%"] = "%"; // a literal '%' character
s["%Q"] = qr; s["%Q"] = qr;
@ -52930,9 +52934,6 @@ BI.shortcut("bi.text_button", BI.TextButton);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -52977,14 +52978,14 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
@ -53052,9 +53053,6 @@ BI.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -53093,7 +53091,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53110,7 +53108,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53134,7 +53132,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
width: o.blankWidth width: o.blankWidth
}, icon1, this.text, { }, icon1, this.text, {
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height
}) })
})))); }))));
}, },
@ -53189,9 +53187,6 @@ BI.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -53232,7 +53227,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53301,9 +53296,6 @@ BI.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextIconItem = BI.inherit(BI.BasicButton, { BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -53341,7 +53333,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53353,7 +53345,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height,
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -53362,7 +53354,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",
@ -53434,9 +53426,6 @@ BI.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextItem = BI.inherit(BI.BasicButton, { BI.IconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -53472,7 +53461,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53541,9 +53530,6 @@ BI.shortcut("bi.icon_text_item", BI.IconTextItem);/**
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.TextIconItem = BI.inherit(BI.BasicButton, { BI.TextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -53579,7 +53565,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53731,9 +53717,6 @@ BI.shortcut("bi.text_item", BI.TextItem);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextIconNode = BI.inherit(BI.NodeButton, { BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -53771,7 +53754,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53783,7 +53766,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
BI.createWidget({ BI.createWidget({
@ -53793,7 +53776,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",
@ -53856,9 +53839,6 @@ BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextNode = BI.inherit(BI.NodeButton, { BI.IconTextNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments);
@ -53894,7 +53874,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -53952,9 +53932,6 @@ BI.shortcut("bi.icon_text_node", BI.IconTextNode);/**
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.TextIconNode = BI.inherit(BI.NodeButton, { BI.TextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -53990,7 +53967,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -72895,7 +72872,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multi-select-item", extraCls: "bi-multi-select-item",
height: 25, height: 24,
logic: { logic: {
dynamic: false dynamic: false
} }
@ -72971,7 +72948,7 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, {
return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-icon-text-item bi-list-item-active", extraCls: "bi-single-select-icon-text-item bi-list-item-active",
iconCls: "", iconCls: "",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -73027,7 +73004,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 24,
textAlign: "left" textAlign: "left"
}); });
}, },
@ -73079,7 +73056,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -73147,7 +73124,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -73155,8 +73132,8 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
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: 13, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({
@ -73314,9 +73291,9 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -73325,14 +73302,14 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox",
width: 23, width: 24,
stopPropagation: true stopPropagation: true
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls, cls: o.iconCls,
width: 23, width: 24,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
height: o.iconHeight, height: o.iconHeight,
@ -73362,10 +73339,10 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, { }, {
width: 23, width: 24,
el: icon el: icon
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -73567,9 +73544,9 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -73602,7 +73579,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -73664,7 +73641,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -73692,7 +73669,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({
@ -73754,7 +73731,7 @@ BI.Switch = BI.inherit(BI.BasicButton, {
top: 2, top: 2,
left: this.options.selected ? 24 : 2 left: this.options.selected ? 24 : 2
}] }]
} };
}, },
setSelected: function (v) { setSelected: function (v) {
@ -73880,7 +73857,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
iconCls: "" iconCls: ""
@ -73893,7 +73870,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: 23, width: 24,
cls: o.iconCls, cls: o.iconCls,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
@ -73915,7 +73892,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 23, width: 24,
el: icon el: icon
}, { }, {
el: this.text el: this.text
@ -74177,9 +74154,9 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0, layer: 0,
height: 25, height: 24,
iconCls: "", iconCls: "",
iconHeight: 14, iconHeight: 12,
iconWidth: 12 iconWidth: 12
}); });
}, },
@ -74212,7 +74189,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -74220,7 +74197,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 13), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },
@ -74276,7 +74253,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active", extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "", id: "",
pId: "", pId: "",
height: 25, height: 24,
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0 rgap: 0
@ -74599,7 +74576,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal", whiteSpace: "normal",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 23, height: 24,
width: 38, width: 38,
value: td.text, value: td.text,
disabled: td.disabled disabled: td.disabled
@ -74615,7 +74592,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2, columns: 2,
rows: 6, rows: 6,
columnSize: [1 / 2, 1 / 2], columnSize: [1 / 2, 1 / 2],
rowSize: 25 rowSize: 24
})), { })), {
type: "bi.center_adapt", type: "bi.center_adapt",
vgap: 1 vgap: 1
@ -76374,7 +76351,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
isNeedAdjustWidth: false, isNeedAdjustWidth: false,
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
el: BI.extend({ el: BI.extend({
type: o.width <= 30 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger",
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
@ -76790,7 +76767,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -76854,7 +76831,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -76881,7 +76858,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
}, },
textAlign: "left", textAlign: "left",
hgap: 5, hgap: 5,
height: 24, height: 18,
text: BI.i18nText("BI-Basic_Auto") text: BI.i18nText("BI-Basic_Auto")
} }
}] }]
@ -78498,7 +78475,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -78525,7 +78502,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments); BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },
@ -78649,7 +78626,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 24,
iconHeight: null, iconHeight: null,
iconWidth: null, iconWidth: null,
value: "" value: ""
@ -78691,7 +78668,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if (BI.isKey(o.value)) { if (BI.isKey(o.value)) {
@ -78732,7 +78709,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}), }),
@ -78762,7 +78739,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options; var o = this.options;
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}); });
@ -78786,7 +78763,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-search-text-value-combo", baseCls: "bi-search-text-value-combo",
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
@ -78844,7 +78821,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 302 maxHeight: 242
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
@ -78949,7 +78926,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
layouts: [{ layouts: [{
@ -78979,7 +78956,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
BI.SearchTextValueComboPopup.superclass.populate.apply(this, items); BI.SearchTextValueComboPopup.superclass.populate.apply(this, items);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items, keyword); this.popup.populate(items, keyword);
}, },
@ -79001,7 +78978,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border", baseCls: "bi-search-text-value-trigger bi-border",
height: 30 height: 24
}, },
render: function () { render: function () {
@ -79046,12 +79023,12 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
}, { }, {
el: { el: {
type: "bi.layout", type: "bi.layout",
width: 30 width: 24
}, },
width: 30 width: 24
} }
] ]
} };
}, },
_setState: function (v) { _setState: function (v) {
@ -79353,7 +79330,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({ return BI.extend({
type: "bi.icon_text_item", type: "bi.icon_text_item",
cls: "item-check-font bi-list-item", cls: "item-check-font bi-list-item",
height: 30 height: 24
}, item); }, item);
}); });
}, },
@ -79383,7 +79360,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-combo", baseCls: "bi-text-value-combo",
height: 30, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "", text: "",
value: "" value: ""
@ -79421,7 +79398,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if(BI.isKey(o.value)) { if(BI.isKey(o.value)) {
@ -79506,7 +79483,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
}, },
@ -79542,7 +79519,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -79570,7 +79547,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments); BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },
@ -79593,7 +79570,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30 height: 24
}); });
}, },
@ -79777,7 +79754,7 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
}] }]
}); });
this.editor.on(BI.Controller.EVENT_CHANGE, function () { this.editor.on(BI.Controller.EVENT_CHANGE, function () {
@ -88312,7 +88289,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-month-combo", baseCls: "bi-month-combo",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -88375,7 +88352,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, {
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
behaviors: {}, behaviors: {},
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -88457,8 +88434,8 @@ BI.DatePicker = BI.inherit(BI.Widget, {
this.left = BI.createWidget({ this.left = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "pre-page-h-font", cls: "pre-page-h-font",
width: 25, width: 24,
height: 25 height: 24
}); });
this.left.on(BI.IconButton.EVENT_CHANGE, function () { this.left.on(BI.IconButton.EVENT_CHANGE, function () {
if (self._month === 1) { if (self._month === 1) {
@ -88480,8 +88457,8 @@ BI.DatePicker = BI.inherit(BI.Widget, {
this.right = BI.createWidget({ this.right = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "next-page-h-font", cls: "next-page-h-font",
width: 25, width: 24,
height: 25 height: 24
}); });
this.right.on(BI.IconButton.EVENT_CHANGE, function () { this.right.on(BI.IconButton.EVENT_CHANGE, function () {
@ -88532,7 +88509,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.left] items: [this.left]
}, },
width: 25 width: 24
}, { }, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [{ items: [{
@ -88545,7 +88522,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.right] items: [this.right]
}, },
width: 25 width: 24
}] }]
}); });
this.setValue({ this.setValue({
@ -88840,16 +88817,16 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var backBtn = BI.createWidget({ var backBtn = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "pre-page-h-font", cls: "pre-page-h-font",
width: 25, width: 24,
height: 25, height: 24,
value: -1 value: -1
}); });
var preBtn = BI.createWidget({ var preBtn = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "next-page-h-font", cls: "next-page-h-font",
width: 25, width: 24,
height: 25, height: 24,
value: 1 value: 1
}); });
@ -88862,7 +88839,7 @@ BI.YearPopup = BI.inherit(BI.Widget, {
}, },
tab: { tab: {
cls: "year-popup-navigation bi-high-light bi-border-top", cls: "year-popup-navigation bi-high-light bi-border-top",
height: 25, height: 24,
items: [backBtn, preBtn] items: [backBtn, preBtn]
}, },
cardCreator: BI.bind(this._createYearCalendar, this), cardCreator: BI.bind(this._createYearCalendar, this),
@ -88915,15 +88892,15 @@ BI.shortcut("bi.year_popup", BI.YearPopup);/**
*/ */
BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { BI.DateTriangleTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
height: 25, height: 24,
iconWidth: 16, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}, },
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.DateTriangleTrigger.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.DateTriangleTrigger.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-triangle-trigger pull-down-ha-font cursor-pointer", baseCls: "bi-date-triangle-trigger pull-down-ha-font cursor-pointer",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -90164,7 +90141,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, { return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active", baseCls: "bi-down-list-item bi-list-item-active",
cls: "", cls: "",
height: 25, height: 24,
logic: { logic: {
dynamic: true dynamic: true
}, },
@ -90266,7 +90243,7 @@ BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inhe
this.icon1 = BI.createWidget({ this.icon1 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
width: 25, width: 24,
forceNotSelected: true, forceNotSelected: true,
selected: this._digest(o.value) selected: this._digest(o.value)
}); });
@ -90274,13 +90251,13 @@ BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inhe
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
width: 25, width: 24,
forceNotSelected: true forceNotSelected: true
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: 25 width: 24
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -90359,7 +90336,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup = BI.inherit(BI.Pane, {
constants: { constants: {
nextIcon: "pull-right-e-font", nextIcon: "pull-right-e-font",
height: 25, height: 24,
iconHeight: 12, iconHeight: 12,
iconWidth: 12, iconWidth: 12,
hgap: 0, hgap: 0,
@ -91755,7 +91732,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
el: this.editor el: this.editor
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
this.setValue(o.value); this.setValue(o.value);
@ -92734,7 +92711,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
el: this.editor el: this.editor
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
this.setValue(o.value); this.setValue(o.value);
@ -93282,7 +93259,7 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, {
var conf = BI.SmallTextEditor.superclass._defaultConfig.apply(this, arguments); var conf = BI.SmallTextEditor.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-small-text-editor", baseCls: (conf.baseCls || "") + " bi-small-text-editor",
height: 25 height: 24
}); });
}, },
@ -95507,7 +95484,7 @@ BI.MonthCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MonthCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MonthCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-month-combo", baseCls: "bi-month-combo",
behaviors: {}, behaviors: {},
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -96203,7 +96180,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multilayer_select_tree-combo", baseCls: "bi-multilayer_select_tree-combo",
isDefaultInit: false, isDefaultInit: false,
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: ""
@ -96756,7 +96733,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multilayer-singletree-combo", baseCls: "bi-multilayer-singletree-combo",
isDefaultInit: false, isDefaultInit: false,
height: 30, height: 24,
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
@ -97557,7 +97534,7 @@ BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleT
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: { constants: {
height: 25, height: 24,
lgap: 10, lgap: 10,
tgap: 5 tgap: 5
}, },
@ -97665,7 +97642,7 @@ BI.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/**
BI.DisplaySelectedList = BI.inherit(BI.Pane, { BI.DisplaySelectedList = BI.inherit(BI.Pane, {
constants: { constants: {
height: 25, height: 24,
lgap: 10 lgap: 10
}, },
@ -97753,7 +97730,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -98139,7 +98116,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -98502,7 +98479,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -98980,7 +98957,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
height: 25, height: 24,
selected: this.isAllSelected() selected: this.isAllSelected()
}); });
}, },
@ -99149,7 +99126,7 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
height: 25 height: 24
}); });
}, },
@ -99482,7 +99459,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
width: 0 width: 0
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
@ -99629,7 +99606,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
selected: this.isAllSelected() selected: this.isAllSelected()
}); });
}, },
@ -99704,7 +99681,7 @@ BI.shortcut("bi.multi_select_search_loader", BI.MultiSelectSearchLoader);/**
BI.MultiSelectSearchPane = BI.inherit(BI.Widget, { BI.MultiSelectSearchPane = BI.inherit(BI.Widget, {
constants: { constants: {
height: 25, height: 24,
lgap: 10, lgap: 10,
tgap: 5 tgap: 5
}, },
@ -101584,7 +101561,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-tree-combo", baseCls: "bi-multi-tree-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 25 height: 24
}); });
}, },
@ -105415,7 +105392,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -105693,7 +105670,7 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -105954,7 +105931,7 @@ BI.SingleSelectComboItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -106241,7 +106218,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
height: 25, height: 24,
selected: false selected: false
}); });
}, },
@ -106438,7 +106415,7 @@ BI.SingleSelectTrigger = BI.inherit(BI.Trigger, {
width: "fill" width: "fill"
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
}, },
@ -108415,8 +108392,8 @@ BI.shortcut("bi.switch_tree", BI.SwitchTree);
*/ */
BI.DateInterval = BI.inherit(BI.Single, { BI.DateInterval = BI.inherit(BI.Single, {
constants: { constants: {
height: 25, height: 24,
width: 25, width: 24,
lgap: 15, lgap: 15,
offset: -15, offset: -15,
timeErrorCls: "time-error", timeErrorCls: "time-error",
@ -108594,8 +108571,8 @@ BI.shortcut("bi.date_interval", BI.DateInterval);/**
*/ */
BI.TimeInterval = BI.inherit(BI.Single, { BI.TimeInterval = BI.inherit(BI.Single, {
constants: { constants: {
height: 25, height: 24,
width: 25, width: 24,
lgap: 15, lgap: 15,
offset: -15, offset: -15,
timeErrorCls: "time-error", timeErrorCls: "time-error",

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

74
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

56
dist/resource.css vendored

@ -333,7 +333,6 @@ textarea::-webkit-scrollbar-thumb:hover {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.close-font .b-font { .close-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.close-font .b-font:before { .close-font .b-font:before {
@ -345,7 +344,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.close-h-font .b-font { .close-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.close-h-font .b-font:before { .close-h-font .b-font:before {
@ -362,7 +360,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.close-ha-font .b-font { .close-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.close-ha-font .b-font:before { .close-ha-font .b-font:before {
@ -384,7 +381,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.search-close-h-font .b-font { .search-close-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.search-close-h-font .b-font:before { .search-close-h-font .b-font:before {
@ -401,7 +397,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pre-page-h-font .b-font { .pre-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70d;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70d;');
} }
.pre-page-h-font .b-font:before { .pre-page-h-font .b-font:before {
@ -418,7 +413,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.next-page-h-font .b-font { .next-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.next-page-h-font .b-font:before { .next-page-h-font .b-font:before {
@ -435,7 +429,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.search-font .b-font { .search-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dc;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dc;');
} }
.search-font .b-font:before { .search-font .b-font:before {
@ -447,7 +440,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.date-font .b-font { .date-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe733;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe733;');
} }
.date-font .b-font:before { .date-font .b-font:before {
@ -459,7 +451,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.date-change-h-font .b-font { .date-change-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe72f;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe72f;');
} }
.date-change-h-font .b-font:before { .date-change-h-font .b-font:before {
@ -476,7 +467,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.dot-font .b-font { .dot-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-font .b-font:before { .dot-font .b-font:before {
@ -488,7 +478,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #1a1a1a; color: #1a1a1a;
} }
.dot-h-font .b-font { .dot-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-h-font .b-font:before { .dot-h-font .b-font:before {
@ -505,7 +494,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #1a1a1a; color: #1a1a1a;
} }
.dot-ha-font .b-font { .dot-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-ha-font .b-font:before { .dot-ha-font .b-font:before {
@ -527,7 +515,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #ffffff; color: #ffffff;
} }
.dot-e-font .b-font { .dot-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-e-font .b-font:before { .dot-e-font .b-font:before {
@ -552,7 +539,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #ffffff; color: #ffffff;
} }
.pull-right-font .b-font { .pull-right-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-font .b-font:before { .pull-right-font .b-font:before {
@ -564,7 +550,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pull-right-h-font .b-font { .pull-right-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-h-font .b-font:before { .pull-right-h-font .b-font:before {
@ -581,7 +566,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pull-right-ha-font .b-font { .pull-right-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-ha-font .b-font:before { .pull-right-ha-font .b-font:before {
@ -603,7 +587,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pull-right-e-font .b-font { .pull-right-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-e-font .b-font:before { .pull-right-e-font .b-font:before {
@ -628,7 +611,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.copy-font .b-font { .copy-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-font .b-font:before { .copy-font .b-font:before {
@ -640,7 +622,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.copy-h-font .b-font { .copy-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-h-font .b-font:before { .copy-h-font .b-font:before {
@ -657,7 +638,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #1a1a1a; color: #1a1a1a;
} }
.copy-ha-font .b-font { .copy-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-ha-font .b-font:before { .copy-ha-font .b-font:before {
@ -679,7 +659,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.copy-e-font .b-font { .copy-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-e-font .b-font:before { .copy-e-font .b-font:before {
@ -704,7 +683,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.check-mark-font .b-font { .check-mark-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-font .b-font:before { .check-mark-font .b-font:before {
@ -716,7 +694,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.check-mark-h-font .b-font { .check-mark-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-h-font .b-font:before { .check-mark-h-font .b-font:before {
@ -733,7 +710,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.check-mark-ha-font .b-font { .check-mark-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-ha-font .b-font:before { .check-mark-ha-font .b-font:before {
@ -755,7 +731,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.check-mark-e-font .b-font { .check-mark-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-e-font .b-font:before { .check-mark-e-font .b-font:before {
@ -781,7 +756,6 @@ textarea::-webkit-scrollbar-thumb:hover {
} }
/** dashboard组件/控件 下拉列表图标字体 ~end~**/ /** dashboard组件/控件 下拉列表图标字体 ~end~**/
.row-pre-page-h-font .b-font { .row-pre-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d9;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d9;');
} }
.row-pre-page-h-font .b-font:before { .row-pre-page-h-font .b-font:before {
@ -798,7 +772,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.row-next-page-h-font .b-font { .row-next-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d8;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d8;');
} }
.row-next-page-h-font .b-font:before { .row-next-page-h-font .b-font:before {
@ -815,7 +788,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.column-pre-page-h-font .b-font { .column-pre-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;');
} }
.column-pre-page-h-font .b-font:before { .column-pre-page-h-font .b-font:before {
@ -832,7 +804,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.column-next-page-h-font .b-font { .column-next-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;');
} }
.column-next-page-h-font .b-font:before { .column-next-page-h-font .b-font:before {
@ -849,7 +820,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font { .solid-triangle-top-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;');
} }
.solid-triangle-top-font .b-font:before { .solid-triangle-top-font .b-font:before {
@ -866,7 +836,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.solid-triangle-bottom-font .b-font { .solid-triangle-bottom-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;');
} }
.solid-triangle-bottom-font .b-font:before { .solid-triangle-bottom-font .b-font:before {
@ -883,7 +852,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe64e;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe64e;');
} }
.trigger-triangle-font .b-font:before { .trigger-triangle-font .b-font:before {
@ -905,7 +873,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #999999; color: #999999;
} }
.pull-up-font .b-font { .pull-up-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
} }
.pull-up-font .b-font:before { .pull-up-font .b-font:before {
@ -917,7 +884,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pull-down-font .b-font { .pull-down-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
} }
.pull-down-font .b-font:before { .pull-down-font .b-font:before {
@ -929,7 +895,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pull-down-h-font .b-font { .pull-down-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
} }
.pull-down-h-font .b-font:before { .pull-down-h-font .b-font:before {
@ -946,7 +911,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.pull-down-ha-font .b-font { .pull-down-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
} }
.pull-down-ha-font .b-font:before { .pull-down-ha-font .b-font:before {
@ -968,7 +932,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.check-font .b-font { .check-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-font .b-font:before { .check-font .b-font:before {
@ -980,7 +943,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #3685f2; color: #3685f2;
} }
.item-check-font .b-font { .item-check-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.item-check-font .b-font:before { .item-check-font .b-font:before {
@ -1002,7 +964,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #ffffff; color: #ffffff;
} }
.primary-key-font .b-font { .primary-key-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe740;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe740;');
} }
.primary-key-font .b-font:before { .primary-key-font .b-font:before {
@ -1019,7 +980,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.drag-tag-font .b-font { .drag-tag-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.drag-tag-font .b-font:before { .drag-tag-font .b-font:before {
@ -1031,7 +991,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: #faaa39; color: #faaa39;
} }
.less-font .b-font { .less-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75e;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75e;');
} }
.less-font .b-font:before { .less-font .b-font:before {
@ -1053,7 +1012,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.less-equal-font .b-font { .less-equal-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe761;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe761;');
} }
.less-equal-font .b-font:before { .less-equal-font .b-font:before {
@ -1075,7 +1033,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-bold-font .b-font { .text-bold-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75b;');
} }
.text-bold-font .b-font:before { .text-bold-font .b-font:before {
@ -1087,7 +1044,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-italic-font .b-font { .text-italic-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75c;');
} }
.text-italic-font .b-font:before { .text-italic-font .b-font:before {
@ -1099,7 +1055,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-underline-font .b-font { .text-underline-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;');
} }
.text-underline-font .b-font:before { .text-underline-font .b-font:before {
@ -1111,7 +1066,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-color-font .b-font { .text-color-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75a;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75a;');
} }
.text-color-font .b-font:before { .text-color-font .b-font:before {
@ -1123,7 +1077,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-background-font .b-font { .text-background-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe758;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe758;');
} }
.text-background-font .b-font:before { .text-background-font .b-font:before {
@ -1135,7 +1088,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-color-underline-font .b-font { .text-color-underline-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;');
} }
.text-color-underline-font .b-font:before { .text-color-underline-font .b-font:before {
@ -1147,7 +1099,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-align-left-font .b-font { .text-align-left-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6ca;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6ca;');
} }
.text-align-left-font .b-font:before { .text-align-left-font .b-font:before {
@ -1159,7 +1110,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-align-center-font .b-font { .text-align-center-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bf;');
} }
.text-align-center-font .b-font:before { .text-align-center-font .b-font:before {
@ -1171,7 +1121,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-align-right-font .b-font { .text-align-right-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6c8;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6c8;');
} }
.text-align-right-font .b-font:before { .text-align-right-font .b-font:before {
@ -1183,7 +1132,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.toast-error-font .b-font { .toast-error-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe757;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe757;');
} }
.toast-error-font .b-font:before { .toast-error-font .b-font:before {
@ -1195,7 +1143,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.toast-success-font .b-font { .toast-success-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe756;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe756;');
} }
.toast-success-font .b-font:before { .toast-success-font .b-font:before {
@ -1207,7 +1154,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.toast-warning-font .b-font { .toast-warning-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe755;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe755;');
} }
.toast-warning-font .b-font:before { .toast-warning-font .b-font:before {
@ -1219,7 +1165,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.toast-message-font .b-font { .toast-message-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe74b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe74b;');
} }
.toast-message-font .b-font:before { .toast-message-font .b-font:before {
@ -1231,7 +1176,6 @@ textarea::-webkit-scrollbar-thumb:hover {
color: inherit; color: inherit;
} }
.text-add-tip-font .b-font { .text-add-tip-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dd;');
} }
.text-add-tip-font .b-font:before { .text-add-tip-font .b-font:before {

308
dist/widget.css vendored

@ -1,52 +1,3 @@
.bi-arrangement-droppable {
z-index: 100000;
}
.bi-arrangement .arrangement-helper {
background: #3f8ce8;
z-index: 1000000000;
}
.bi-arrangement .arrangement-block {
z-index: 1000000000;
}
.bi-arrangement .arrangement-drop-container {
z-index: 1000000000;
}
.bi-arrangement .arrangement-drop-container .arrangement-drop-region {
overflow: hidden;
}
.bi-arrangement .arrangement-drop-container .drop-devider {
z-index: 1000000001;
background: #3f8ce8;
}
.bi-arrangement .arrangement-drop-container .top-left,
.bi-arrangement .arrangement-drop-container .top-right,
.bi-arrangement .arrangement-drop-container .bottom-left,
.bi-arrangement .arrangement-drop-container .bottom-right,
.bi-arrangement .arrangement-drop-container .top-left-second,
.bi-arrangement .arrangement-drop-container .top-right-second,
.bi-arrangement .arrangement-drop-container .bottom-left-second,
.bi-arrangement .arrangement-drop-container .bottom-right-second,
.bi-arrangement .arrangement-drop-container .top-center,
.bi-arrangement .arrangement-drop-container .bottom-center,
.bi-arrangement .arrangement-drop-container .left-center,
.bi-arrangement .arrangement-drop-container .right-center,
.bi-arrangement .arrangement-drop-container .top-center-second,
.bi-arrangement .arrangement-drop-container .bottom-center-second,
.bi-arrangement .arrangement-drop-container .left-center-second,
.bi-arrangement .arrangement-drop-container .right-center-second {
z-index: 1000000001;
background: #3f8ce8;
}
.bi-arrangement-droppable {
z-index: 100000;
}
.bi-date-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-date-trigger { .bi-date-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -58,12 +9,6 @@
.bi-down-list-popup .bi-down-list-item .list-item-text { .bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px; max-width: 203px;
} }
.bi-down-list-popup .list-group-item-text {
max-width: 203px;
}
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-excel-table-header-cell { .bi-excel-table-header-cell {
font-weight: bold; font-weight: bold;
@ -75,9 +20,6 @@
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { .bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #525466; border-right: 1px solid #525466;
} }
.bi-excel-table-header-cell {
font-weight: bold;
}
.bi-file-manager-nav-button .file-manager-nav-button-text { .bi-file-manager-nav-button .file-manager-nav-button-text {
max-width: 200px; max-width: 200px;
@ -93,20 +35,6 @@
background-color: #191B2B; background-color: #191B2B;
color: #999999; color: #999999;
} }
.bi-file-manager-nav-button .file-manager-nav-button-text {
max-width: 200px;
}
.bi-file-manager-nav-button .file-manager-nav-button-text.active {
background-color: #fafbfc;
color: #999999;
}
.bi-file-manager-nav-button .file-manager-nav-button-triangle {
z-index: 1;
}
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active {
background-color: #191b2b;
color: #999999;
}
.bi-filter-item .filter-item-empty-item .empty-filter-item-leaf { .bi-filter-item .filter-item-empty-item .empty-filter-item-leaf {
border: 1px dashed #3685f2; border: 1px dashed #3685f2;
background: #eaf2fd; background: #eaf2fd;
@ -161,14 +89,6 @@
.bi-interval-slider { .bi-interval-slider {
min-height: 70px; min-height: 70px;
} }
.bi-interval-slider-label {
min-height: 50px;
}
.bi-month-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-month-trigger { .bi-month-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -179,11 +99,6 @@
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
} }
.bi-multidate-combo {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
@ -210,25 +125,6 @@
} }
.bi-multidate-popup .multidate-popup-label {
color: #3685f2;
font-size: 14px;
}
.bi-multidate-popup .multidate-popup-item:active,
.bi-multidate-popup .multidate-popup-item.active {
background-color: #3685f2;
color: #ffffff;
-webkit-border-radius: 2px 2px 0 0;
-moz-border-radius: 2px 2px 0 0;
border-radius: 2px 2px 0 0;
}
.bi-multidate-popup .multidate-popup-button {
color: #3685f2;
font-size: 14px;
}
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-select-level-tree .tree-view { .bi-multilayer-select-level-tree .tree-view {
min-width: 100%; min-width: 100%;
} }
@ -238,13 +134,7 @@
.bi-multi-select-check-pane .multi-select-check-selected { .bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline; text-decoration: underline;
} }
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}
.bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
.bi-multi-select-combo .multi-select-trigger-icon-button { .bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -283,29 +173,12 @@
-moz-border-radius: 2px 2px 2px 2px; -moz-border-radius: 2px 2px 2px 2px;
border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;
} }
.bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
.bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
border-radius: 2px 2px 2px 2px;
}
.bi-multi-select-search-pane .multi-select-toolbar {
color: #ff4949;
}
.bi-multi-select-search-pane .multi-select-toolbar { .bi-multi-select-search-pane .multi-select-toolbar {
color: #ff4949; color: #ff4949;
} }
.bi-multi-select-check-selected-button { .bi-multi-select-check-selected-button {
z-index: 1; z-index: 1;
} }
.bi-multi-select-check-selected-button {
z-index: 1;
}
.bi-multi-tree-check-pane .multi-tree-check-selected {
color: #3685f2;
}
.bi-multi-tree-check-pane .multi-tree-check-selected { .bi-multi-tree-check-pane .multi-tree-check-selected {
color: #3685f2; color: #3685f2;
} }
@ -324,12 +197,6 @@
.bi-multi-tree-combo.combo-show .trigger-down { .bi-multi-tree-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-multi-tree-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
.bi-multi-tree-popup .popup-view-tree {
min-height: 170px;
}
.bi-multi-tree-popup .popup-view-tree { .bi-multi-tree-popup .popup-view-tree {
min-height: 170px; min-height: 170px;
} }
@ -337,15 +204,6 @@
color: #3685f2; color: #3685f2;
z-index: 1; z-index: 1;
} }
.bi-multi-tree-check-selected-button .trigger-check-selected {
color: #3685f2;
z-index: 1;
}
.bi-number-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-number-editor { .bi-number-editor {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -400,25 +258,7 @@
-o-user-select: text; -o-user-select: text;
user-select: text; user-select: text;
} }
.bi-page-table-cell {
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
-o-user-select: text;
user-select: text;
}
.bi-path-chooser .path-chooser-radio {
z-index: 1;
}
.bi-path-region .path-region-label {
z-index: 1;
}
.bi-preview-table-cell {
min-height: 25px;
min-width: 80px;
}
.bi-preview-table-cell { .bi-preview-table-cell {
min-height: 25px; min-height: 25px;
min-width: 80px; min-width: 80px;
@ -446,75 +286,11 @@
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { .bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd {
background-color: #191B2B; background-color: #191B2B;
} }
.bi-preview-table-header-cell {
font-weight: bold;
min-height: 25px;
min-width: 80px;
}
.bi-quarter-trigger { .bi-quarter-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
} }
.bi-quarter-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-relation-view-item .primary-key-region {
font-size: 16px;
}
.bi-relation-view-region .relation-view-region-container {
z-index: 1;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-relation-view-region .relation-view-region-container .relation-view-region-title .eye {
font-size: 16px;
}
.bi-relation-view-region .relation-view-region-container .split-line {
border-bottom: 1px solid #cccccc;
}
.bi-relation-view-item .primary-key-region {
font-size: 16px;
}
.bi-relation-view-region .relation-view-region-container {
z-index: 1;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-relation-view-region .relation-view-region-container .relation-view-region-title .eye {
font-size: 16px;
}
.bi-relation-view-region .relation-view-region-container .split-line {
border-bottom: 1px solid #cccccc;
}
.bi-sequence-table-dynamic-number .sequence-table-title-cell {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-sequence-table-dynamic-number .sequence-table-number-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-sequence-table-dynamic-number .sequence-table-title-cell { .bi-sequence-table-dynamic-number .sequence-table-title-cell {
overflow: hidden; overflow: hidden;
overflow-x: hidden; overflow-x: hidden;
@ -561,29 +337,6 @@
box-sizing: border-box; box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
} }
.bi-sequence-table-list-number .sequence-table-title-cell {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-sequence-table-list-number .sequence-table-number-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-sequence-table-tree-number .sequence-table-title-cell { .bi-sequence-table-tree-number .sequence-table-title-cell {
overflow: hidden; overflow: hidden;
overflow-x: hidden; overflow-x: hidden;
@ -607,32 +360,6 @@
box-sizing: border-box; box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
} }
.bi-sequence-table-tree-number .sequence-table-title-cell {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-sequence-table-tree-number .sequence-table-number-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
}
.bi-single-select-combo .single-select-trigger-icon-button { .bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -652,12 +379,6 @@
min-height: 50px; min-height: 50px;
} }
.bi-single-slider-normal {
min-height: 30px;
}
.bi-single-slider-label {
min-height: 50px;
}
.bi-single-slider-normal { .bi-single-slider-normal {
min-height: 30px; min-height: 30px;
} }
@ -673,15 +394,6 @@
-moz-border-radius: 7px; -moz-border-radius: 7px;
border-radius: 7px; border-radius: 7px;
} }
.bi-single-slider-button .slider-button {
cursor: ew-resize;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
}
.bi-slider-track .gray-track { .bi-slider-track .gray-track {
background-color: #F2F4F7; background-color: #F2F4F7;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
@ -731,26 +443,6 @@
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { .bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element {
border-left: none; border-left: none;
} }
.bi-year-popup .year-popup-navigation {
line-height: 30px;
}
.bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #d4dadd;
}
.bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #525466;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
}
.bi-year-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-year-trigger { .bi-year-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;

96
dist/widget.js vendored

@ -429,7 +429,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-month-combo", baseCls: "bi-month-combo",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -492,7 +492,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, {
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
behaviors: {}, behaviors: {},
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -574,8 +574,8 @@ BI.DatePicker = BI.inherit(BI.Widget, {
this.left = BI.createWidget({ this.left = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "pre-page-h-font", cls: "pre-page-h-font",
width: 25, width: 24,
height: 25 height: 24
}); });
this.left.on(BI.IconButton.EVENT_CHANGE, function () { this.left.on(BI.IconButton.EVENT_CHANGE, function () {
if (self._month === 1) { if (self._month === 1) {
@ -597,8 +597,8 @@ BI.DatePicker = BI.inherit(BI.Widget, {
this.right = BI.createWidget({ this.right = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "next-page-h-font", cls: "next-page-h-font",
width: 25, width: 24,
height: 25 height: 24
}); });
this.right.on(BI.IconButton.EVENT_CHANGE, function () { this.right.on(BI.IconButton.EVENT_CHANGE, function () {
@ -649,7 +649,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.left] items: [this.left]
}, },
width: 25 width: 24
}, { }, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [{ items: [{
@ -662,7 +662,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.right] items: [this.right]
}, },
width: 25 width: 24
}] }]
}); });
this.setValue({ this.setValue({
@ -957,16 +957,16 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var backBtn = BI.createWidget({ var backBtn = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "pre-page-h-font", cls: "pre-page-h-font",
width: 25, width: 24,
height: 25, height: 24,
value: -1 value: -1
}); });
var preBtn = BI.createWidget({ var preBtn = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "next-page-h-font", cls: "next-page-h-font",
width: 25, width: 24,
height: 25, height: 24,
value: 1 value: 1
}); });
@ -979,7 +979,7 @@ BI.YearPopup = BI.inherit(BI.Widget, {
}, },
tab: { tab: {
cls: "year-popup-navigation bi-high-light bi-border-top", cls: "year-popup-navigation bi-high-light bi-border-top",
height: 25, height: 24,
items: [backBtn, preBtn] items: [backBtn, preBtn]
}, },
cardCreator: BI.bind(this._createYearCalendar, this), cardCreator: BI.bind(this._createYearCalendar, this),
@ -1032,15 +1032,15 @@ BI.shortcut("bi.year_popup", BI.YearPopup);/**
*/ */
BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { BI.DateTriangleTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
height: 25, height: 24,
iconWidth: 16, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}, },
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.DateTriangleTrigger.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.DateTriangleTrigger.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-triangle-trigger pull-down-ha-font cursor-pointer", baseCls: "bi-date-triangle-trigger pull-down-ha-font cursor-pointer",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -2281,7 +2281,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, { return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active", baseCls: "bi-down-list-item bi-list-item-active",
cls: "", cls: "",
height: 25, height: 24,
logic: { logic: {
dynamic: true dynamic: true
}, },
@ -2383,7 +2383,7 @@ BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inhe
this.icon1 = BI.createWidget({ this.icon1 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
width: 25, width: 24,
forceNotSelected: true, forceNotSelected: true,
selected: this._digest(o.value) selected: this._digest(o.value)
}); });
@ -2391,13 +2391,13 @@ BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inhe
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
width: 25, width: 24,
forceNotSelected: true forceNotSelected: true
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: 25 width: 24
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -2476,7 +2476,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup = BI.inherit(BI.Pane, {
constants: { constants: {
nextIcon: "pull-right-e-font", nextIcon: "pull-right-e-font",
height: 25, height: 24,
iconHeight: 12, iconHeight: 12,
iconWidth: 12, iconWidth: 12,
hgap: 0, hgap: 0,
@ -3872,7 +3872,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
el: this.editor el: this.editor
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
this.setValue(o.value); this.setValue(o.value);
@ -4851,7 +4851,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
el: this.editor el: this.editor
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
this.setValue(o.value); this.setValue(o.value);
@ -5399,7 +5399,7 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, {
var conf = BI.SmallTextEditor.superclass._defaultConfig.apply(this, arguments); var conf = BI.SmallTextEditor.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-small-text-editor", baseCls: (conf.baseCls || "") + " bi-small-text-editor",
height: 25 height: 24
}); });
}, },
@ -7624,7 +7624,7 @@ BI.MonthCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MonthCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MonthCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-month-combo", baseCls: "bi-month-combo",
behaviors: {}, behaviors: {},
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -8320,7 +8320,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerSelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multilayer_select_tree-combo", baseCls: "bi-multilayer_select_tree-combo",
isDefaultInit: false, isDefaultInit: false,
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: ""
@ -8873,7 +8873,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerSingleTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multilayer-singletree-combo", baseCls: "bi-multilayer-singletree-combo",
isDefaultInit: false, isDefaultInit: false,
height: 30, height: 24,
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
@ -9674,7 +9674,7 @@ BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleT
BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
constants: { constants: {
height: 25, height: 24,
lgap: 10, lgap: 10,
tgap: 5 tgap: 5
}, },
@ -9782,7 +9782,7 @@ BI.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/**
BI.DisplaySelectedList = BI.inherit(BI.Pane, { BI.DisplaySelectedList = BI.inherit(BI.Pane, {
constants: { constants: {
height: 25, height: 24,
lgap: 10 lgap: 10
}, },
@ -9870,7 +9870,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -10256,7 +10256,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -10619,7 +10619,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -11097,7 +11097,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
height: 25, height: 24,
selected: this.isAllSelected() selected: this.isAllSelected()
}); });
}, },
@ -11266,7 +11266,7 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
height: 25 height: 24
}); });
}, },
@ -11599,7 +11599,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
width: 0 width: 0
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
@ -11746,7 +11746,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
selected: this.isAllSelected() selected: this.isAllSelected()
}); });
}, },
@ -11821,7 +11821,7 @@ BI.shortcut("bi.multi_select_search_loader", BI.MultiSelectSearchLoader);/**
BI.MultiSelectSearchPane = BI.inherit(BI.Widget, { BI.MultiSelectSearchPane = BI.inherit(BI.Widget, {
constants: { constants: {
height: 25, height: 24,
lgap: 10, lgap: 10,
tgap: 5 tgap: 5
}, },
@ -13701,7 +13701,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-tree-combo", baseCls: "bi-multi-tree-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 25 height: 24
}); });
}, },
@ -17532,7 +17532,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -17810,7 +17810,7 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 28 height: 24
}); });
}, },
@ -18071,7 +18071,7 @@ BI.SingleSelectComboItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -18358,7 +18358,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
return BI.createItems(items, { return BI.createItems(items, {
type: "bi.single_select_combo.item", type: "bi.single_select_combo.item",
logic: this.options.logic, logic: this.options.logic,
height: 25, height: 24,
selected: false selected: false
}); });
}, },
@ -18555,7 +18555,7 @@ BI.SingleSelectTrigger = BI.inherit(BI.Trigger, {
width: "fill" width: "fill"
}, { }, {
el: BI.createWidget(), el: BI.createWidget(),
width: 30 width: 24
}] }]
}); });
}, },
@ -20532,8 +20532,8 @@ BI.shortcut("bi.switch_tree", BI.SwitchTree);
*/ */
BI.DateInterval = BI.inherit(BI.Single, { BI.DateInterval = BI.inherit(BI.Single, {
constants: { constants: {
height: 25, height: 24,
width: 25, width: 24,
lgap: 15, lgap: 15,
offset: -15, offset: -15,
timeErrorCls: "time-error", timeErrorCls: "time-error",
@ -20711,8 +20711,8 @@ BI.shortcut("bi.date_interval", BI.DateInterval);/**
*/ */
BI.TimeInterval = BI.inherit(BI.Single, { BI.TimeInterval = BI.inherit(BI.Single, {
constants: { constants: {
height: 25, height: 24,
width: 25, width: 24,
lgap: 15, lgap: 15,
offset: -15, offset: -15,
timeErrorCls: "time-error", timeErrorCls: "time-error",

56
public/css/font.css

@ -12,7 +12,6 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.close-font .b-font { .close-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.close-font .b-font:before { .close-font .b-font:before {
@ -24,7 +23,6 @@
color: inherit; color: inherit;
} }
.close-h-font .b-font { .close-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.close-h-font .b-font:before { .close-h-font .b-font:before {
@ -41,7 +39,6 @@
color: inherit; color: inherit;
} }
.close-ha-font .b-font { .close-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.close-ha-font .b-font:before { .close-ha-font .b-font:before {
@ -63,7 +60,6 @@
color: inherit; color: inherit;
} }
.search-close-h-font .b-font { .search-close-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.search-close-h-font .b-font:before { .search-close-h-font .b-font:before {
@ -80,7 +76,6 @@
color: inherit; color: inherit;
} }
.pre-page-h-font .b-font { .pre-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70d;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70d;');
} }
.pre-page-h-font .b-font:before { .pre-page-h-font .b-font:before {
@ -97,7 +92,6 @@
color: inherit; color: inherit;
} }
.next-page-h-font .b-font { .next-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.next-page-h-font .b-font:before { .next-page-h-font .b-font:before {
@ -114,7 +108,6 @@
color: inherit; color: inherit;
} }
.search-font .b-font { .search-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dc;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dc;');
} }
.search-font .b-font:before { .search-font .b-font:before {
@ -126,7 +119,6 @@
color: inherit; color: inherit;
} }
.date-font .b-font { .date-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe733;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe733;');
} }
.date-font .b-font:before { .date-font .b-font:before {
@ -138,7 +130,6 @@
color: inherit; color: inherit;
} }
.date-change-h-font .b-font { .date-change-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe72f;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe72f;');
} }
.date-change-h-font .b-font:before { .date-change-h-font .b-font:before {
@ -155,7 +146,6 @@
color: inherit; color: inherit;
} }
.dot-font .b-font { .dot-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-font .b-font:before { .dot-font .b-font:before {
@ -167,7 +157,6 @@
color: #1a1a1a; color: #1a1a1a;
} }
.dot-h-font .b-font { .dot-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-h-font .b-font:before { .dot-h-font .b-font:before {
@ -184,7 +173,6 @@
color: #1a1a1a; color: #1a1a1a;
} }
.dot-ha-font .b-font { .dot-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-ha-font .b-font:before { .dot-ha-font .b-font:before {
@ -206,7 +194,6 @@
color: #ffffff; color: #ffffff;
} }
.dot-e-font .b-font { .dot-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe762;');
} }
.dot-e-font .b-font:before { .dot-e-font .b-font:before {
@ -231,7 +218,6 @@
color: #ffffff; color: #ffffff;
} }
.pull-right-font .b-font { .pull-right-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-font .b-font:before { .pull-right-font .b-font:before {
@ -243,7 +229,6 @@
color: inherit; color: inherit;
} }
.pull-right-h-font .b-font { .pull-right-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-h-font .b-font:before { .pull-right-h-font .b-font:before {
@ -260,7 +245,6 @@
color: inherit; color: inherit;
} }
.pull-right-ha-font .b-font { .pull-right-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-ha-font .b-font:before { .pull-right-ha-font .b-font:before {
@ -282,7 +266,6 @@
color: inherit; color: inherit;
} }
.pull-right-e-font .b-font { .pull-right-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70c;');
} }
.pull-right-e-font .b-font:before { .pull-right-e-font .b-font:before {
@ -307,7 +290,6 @@
color: inherit; color: inherit;
} }
.copy-font .b-font { .copy-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-font .b-font:before { .copy-font .b-font:before {
@ -319,7 +301,6 @@
color: inherit; color: inherit;
} }
.copy-h-font .b-font { .copy-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-h-font .b-font:before { .copy-h-font .b-font:before {
@ -336,7 +317,6 @@
color: #1a1a1a; color: #1a1a1a;
} }
.copy-ha-font .b-font { .copy-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-ha-font .b-font:before { .copy-ha-font .b-font:before {
@ -358,7 +338,6 @@
color: inherit; color: inherit;
} }
.copy-e-font .b-font { .copy-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bd;');
} }
.copy-e-font .b-font:before { .copy-e-font .b-font:before {
@ -383,7 +362,6 @@
color: inherit; color: inherit;
} }
.check-mark-font .b-font { .check-mark-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-font .b-font:before { .check-mark-font .b-font:before {
@ -395,7 +373,6 @@
color: inherit; color: inherit;
} }
.check-mark-h-font .b-font { .check-mark-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-h-font .b-font:before { .check-mark-h-font .b-font:before {
@ -412,7 +389,6 @@
color: inherit; color: inherit;
} }
.check-mark-ha-font .b-font { .check-mark-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-ha-font .b-font:before { .check-mark-ha-font .b-font:before {
@ -434,7 +410,6 @@
color: inherit; color: inherit;
} }
.check-mark-e-font .b-font { .check-mark-e-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-mark-e-font .b-font:before { .check-mark-e-font .b-font:before {
@ -460,7 +435,6 @@
} }
/** dashboard组件/控件 下拉列表图标字体 ~end~**/ /** dashboard组件/控件 下拉列表图标字体 ~end~**/
.row-pre-page-h-font .b-font { .row-pre-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d9;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d9;');
} }
.row-pre-page-h-font .b-font:before { .row-pre-page-h-font .b-font:before {
@ -477,7 +451,6 @@
color: inherit; color: inherit;
} }
.row-next-page-h-font .b-font { .row-next-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d8;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d8;');
} }
.row-next-page-h-font .b-font:before { .row-next-page-h-font .b-font:before {
@ -494,7 +467,6 @@
color: inherit; color: inherit;
} }
.column-pre-page-h-font .b-font { .column-pre-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;');
} }
.column-pre-page-h-font .b-font:before { .column-pre-page-h-font .b-font:before {
@ -511,7 +483,6 @@
color: inherit; color: inherit;
} }
.column-next-page-h-font .b-font { .column-next-page-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;');
} }
.column-next-page-h-font .b-font:before { .column-next-page-h-font .b-font:before {
@ -528,7 +499,6 @@
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font { .solid-triangle-top-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d6;');
} }
.solid-triangle-top-font .b-font:before { .solid-triangle-top-font .b-font:before {
@ -545,7 +515,6 @@
color: inherit; color: inherit;
} }
.solid-triangle-bottom-font .b-font { .solid-triangle-bottom-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d7;');
} }
.solid-triangle-bottom-font .b-font:before { .solid-triangle-bottom-font .b-font:before {
@ -562,7 +531,6 @@
color: inherit; color: inherit;
} }
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe64e;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe64e;');
} }
.trigger-triangle-font .b-font:before { .trigger-triangle-font .b-font:before {
@ -584,7 +552,6 @@
color: #999999; color: #999999;
} }
.pull-up-font .b-font { .pull-up-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
} }
.pull-up-font .b-font:before { .pull-up-font .b-font:before {
@ -596,7 +563,6 @@
color: inherit; color: inherit;
} }
.pull-down-font .b-font { .pull-down-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
} }
.pull-down-font .b-font:before { .pull-down-font .b-font:before {
@ -608,7 +574,6 @@
color: inherit; color: inherit;
} }
.pull-down-h-font .b-font { .pull-down-h-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
} }
.pull-down-h-font .b-font:before { .pull-down-h-font .b-font:before {
@ -625,7 +590,6 @@
color: inherit; color: inherit;
} }
.pull-down-ha-font .b-font { .pull-down-ha-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
} }
.pull-down-ha-font .b-font:before { .pull-down-ha-font .b-font:before {
@ -647,7 +611,6 @@
color: inherit; color: inherit;
} }
.check-font .b-font { .check-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.check-font .b-font:before { .check-font .b-font:before {
@ -659,7 +622,6 @@
color: #3685f2; color: #3685f2;
} }
.item-check-font .b-font { .item-check-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6cf;');
} }
.item-check-font .b-font:before { .item-check-font .b-font:before {
@ -681,7 +643,6 @@
color: #ffffff; color: #ffffff;
} }
.primary-key-font .b-font { .primary-key-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe740;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe740;');
} }
.primary-key-font .b-font:before { .primary-key-font .b-font:before {
@ -698,7 +659,6 @@
color: inherit; color: inherit;
} }
.drag-tag-font .b-font { .drag-tag-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');
} }
.drag-tag-font .b-font:before { .drag-tag-font .b-font:before {
@ -710,7 +670,6 @@
color: #faaa39; color: #faaa39;
} }
.less-font .b-font { .less-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75e;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75e;');
} }
.less-font .b-font:before { .less-font .b-font:before {
@ -732,7 +691,6 @@
color: inherit; color: inherit;
} }
.less-equal-font .b-font { .less-equal-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe761;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe761;');
} }
.less-equal-font .b-font:before { .less-equal-font .b-font:before {
@ -754,7 +712,6 @@
color: inherit; color: inherit;
} }
.text-bold-font .b-font { .text-bold-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75b;');
} }
.text-bold-font .b-font:before { .text-bold-font .b-font:before {
@ -766,7 +723,6 @@
color: inherit; color: inherit;
} }
.text-italic-font .b-font { .text-italic-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75c;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75c;');
} }
.text-italic-font .b-font:before { .text-italic-font .b-font:before {
@ -778,7 +734,6 @@
color: inherit; color: inherit;
} }
.text-underline-font .b-font { .text-underline-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;');
} }
.text-underline-font .b-font:before { .text-underline-font .b-font:before {
@ -790,7 +745,6 @@
color: inherit; color: inherit;
} }
.text-color-font .b-font { .text-color-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75a;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75a;');
} }
.text-color-font .b-font:before { .text-color-font .b-font:before {
@ -802,7 +756,6 @@
color: inherit; color: inherit;
} }
.text-background-font .b-font { .text-background-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe758;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe758;');
} }
.text-background-font .b-font:before { .text-background-font .b-font:before {
@ -814,7 +767,6 @@
color: inherit; color: inherit;
} }
.text-color-underline-font .b-font { .text-color-underline-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe75d;');
} }
.text-color-underline-font .b-font:before { .text-color-underline-font .b-font:before {
@ -826,7 +778,6 @@
color: inherit; color: inherit;
} }
.text-align-left-font .b-font { .text-align-left-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6ca;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6ca;');
} }
.text-align-left-font .b-font:before { .text-align-left-font .b-font:before {
@ -838,7 +789,6 @@
color: inherit; color: inherit;
} }
.text-align-center-font .b-font { .text-align-center-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bf;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6bf;');
} }
.text-align-center-font .b-font:before { .text-align-center-font .b-font:before {
@ -850,7 +800,6 @@
color: inherit; color: inherit;
} }
.text-align-right-font .b-font { .text-align-right-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6c8;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6c8;');
} }
.text-align-right-font .b-font:before { .text-align-right-font .b-font:before {
@ -862,7 +811,6 @@
color: inherit; color: inherit;
} }
.toast-error-font .b-font { .toast-error-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe757;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe757;');
} }
.toast-error-font .b-font:before { .toast-error-font .b-font:before {
@ -874,7 +822,6 @@
color: inherit; color: inherit;
} }
.toast-success-font .b-font { .toast-success-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe756;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe756;');
} }
.toast-success-font .b-font:before { .toast-success-font .b-font:before {
@ -886,7 +833,6 @@
color: inherit; color: inherit;
} }
.toast-warning-font .b-font { .toast-warning-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe755;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe755;');
} }
.toast-warning-font .b-font:before { .toast-warning-font .b-font:before {
@ -898,7 +844,6 @@
color: inherit; color: inherit;
} }
.toast-message-font .b-font { .toast-message-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe74b;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe74b;');
} }
.toast-message-font .b-font:before { .toast-message-font .b-font:before {
@ -910,7 +855,6 @@
color: inherit; color: inherit;
} }
.text-add-tip-font .b-font { .text-add-tip-font .b-font {
padding-top: 0.5px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dd;'); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6dd;');
} }
.text-add-tip-font .b-font:before { .text-add-tip-font .b-font:before {

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

@ -6,9 +6,6 @@
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -53,14 +50,14 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls1, cls: o.iconCls1,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
this.icon2 = BI.createWidget({ this.icon2 = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: o.iconCls2, cls: o.iconCls2,
forceNotSelected: true, forceNotSelected: true,
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });

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

@ -7,9 +7,6 @@
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -48,7 +45,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -65,7 +62,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -89,7 +86,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
width: o.blankWidth width: o.blankWidth
}, icon1, this.text, { }, icon1, this.text, {
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height
}) })
})))); }))));
}, },

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

@ -6,9 +6,6 @@
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.BlankIconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -49,7 +46,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {

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

@ -7,9 +7,6 @@
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextIconItem = BI.inherit(BI.BasicButton, { BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -47,7 +44,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -59,7 +56,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth width: o.height,
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
@ -68,7 +65,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",

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

@ -6,9 +6,6 @@
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.IconTextItem = BI.inherit(BI.BasicButton, { BI.IconTextItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextItem.superclass._defaultConfig.apply(this, arguments);
@ -44,7 +41,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {

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

@ -7,9 +7,6 @@
* @extends BI.BasicButton * @extends BI.BasicButton
*/ */
BI.TextIconItem = BI.inherit(BI.BasicButton, { BI.TextIconItem = BI.inherit(BI.BasicButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconItem.superclass._defaultConfig.apply(this, arguments);
@ -45,7 +42,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {

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

@ -5,9 +5,6 @@
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextIconNode = BI.inherit(BI.NodeButton, { BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -45,7 +42,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
var icon1 = BI.createWidget({ var icon1 = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls1, cls: o.iconCls1,
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {
@ -57,7 +54,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
}); });
var blank = BI.createWidget({ var blank = BI.createWidget({
type: "bi.layout", type: "bi.layout",
width: c.commonWidth, width: o.height,
height: o.height height: o.height
}); });
BI.createWidget({ BI.createWidget({
@ -67,7 +64,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
el: { el: {
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls2, cls: o.iconCls2,
width: c.commonWidth, width: o.height,
items: [{ items: [{
el: { el: {
type: "bi.icon", type: "bi.icon",

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

@ -5,9 +5,6 @@
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.IconTextNode = BI.inherit(BI.NodeButton, { BI.IconTextNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.IconTextNode.superclass._defaultConfig.apply(this, arguments);
@ -43,7 +40,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {

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

@ -4,9 +4,6 @@
* @extends BI.NodeButton * @extends BI.NodeButton
*/ */
BI.TextIconNode = BI.inherit(BI.NodeButton, { BI.TextIconNode = BI.inherit(BI.NodeButton, {
_const: {
commonWidth: 25
},
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments); var conf = BI.TextIconNode.superclass._defaultConfig.apply(this, arguments);
@ -42,7 +39,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
}); });
this.icon = BI.createWidget({ this.icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: c.commonWidth, width: o.height,
height: o.height, height: o.height,
items: [{ items: [{
el: { el: {

2
src/case/button/item.multiselect.js

@ -7,7 +7,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multi-select-item", extraCls: "bi-multi-select-item",
height: 25, height: 24,
logic: { logic: {
dynamic: false dynamic: false
} }

2
src/case/button/item.singleselect.icontext.js

@ -9,7 +9,7 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, {
return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-icon-text-item bi-list-item-active", extraCls: "bi-single-select-icon-text-item bi-list-item-active",
iconCls: "", iconCls: "",
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {

2
src/case/button/item.singleselect.js

@ -8,7 +8,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.SingleSelectItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 24,
textAlign: "left" textAlign: "left"
}); });
}, },

2
src/case/button/item.singleselect.radio.js

@ -11,7 +11,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
dynamic: false dynamic: false
}, },
hgap: 10, hgap: 10,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {

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

@ -12,7 +12,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -20,8 +20,8 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
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: 13, iconWidth: 12,
iconHeight: 13 iconHeight: 12
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

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

@ -17,9 +17,9 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -28,14 +28,14 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
var self = this, o = this.options; var self = this, o = this.options;
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox", type: "bi.arrow_group_node_checkbox",
width: 23, width: 24,
stopPropagation: true stopPropagation: true
}); });
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
cls: o.iconCls, cls: o.iconCls,
width: 23, width: 24,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
height: o.iconHeight, height: o.iconHeight,
@ -65,10 +65,10 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, { }, {
width: 23, width: 24,
el: icon el: icon
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

8
src/case/button/node/node.multilayer.icon.arrow.js

@ -7,9 +7,9 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25, height: 24,
iconHeight: 13, iconHeight: 12,
iconWidth: 13, iconWidth: 12,
iconCls: "" iconCls: ""
}); });
}, },
@ -42,7 +42,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });

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

@ -15,7 +15,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 25 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -43,7 +43,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 25, width: 24,
el: this.checkbox el: this.checkbox
}, this.text); }, this.text);
BI.createWidget(BI.extend({ BI.createWidget(BI.extend({

2
src/case/button/switch.js

@ -29,7 +29,7 @@ BI.Switch = BI.inherit(BI.BasicButton, {
top: 2, top: 2,
left: this.options.selected ? 24 : 2 left: this.options.selected ? 24 : 2
}] }]
} };
}, },
setSelected: function (v) { setSelected: function (v) {

6
src/case/button/treeitem/item.icon.treeleaf.js

@ -5,7 +5,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, {
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 25, height: 24,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
iconCls: "" iconCls: ""
@ -18,7 +18,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, {
var icon = BI.createWidget({ var icon = BI.createWidget({
type: "bi.center_adapt", type: "bi.center_adapt",
width: 23, width: 24,
cls: o.iconCls, cls: o.iconCls,
items: [{ items: [{
type: "bi.icon", type: "bi.icon",
@ -40,7 +40,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 23, width: 24,
el: icon el: icon
}, { }, {
el: this.text el: this.text

8
src/case/button/treeitem/item.multilayer.icon.treeleaf.js

@ -7,9 +7,9 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0, layer: 0,
height: 25, height: 24,
iconCls: "", iconCls: "",
iconHeight: 14, iconHeight: 12,
iconWidth: 12 iconWidth: 12
}); });
}, },
@ -42,7 +42,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.count(0, o.layer, function () { BI.count(0, o.layer, function () {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
width: 13, width: 12,
height: o.height height: o.height
}); });
}); });
@ -50,7 +50,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 13), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

2
src/case/button/treeitem/item.treetextleaf.js

@ -10,7 +10,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active", extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "", id: "",
pId: "", pId: "",
height: 25, height: 24,
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0 rgap: 0

4
src/case/calendar/calendar.year.js

@ -64,7 +64,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal", whiteSpace: "normal",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 23, height: 24,
width: 38, width: 38,
value: td.text, value: td.text,
disabled: td.disabled disabled: td.disabled
@ -80,7 +80,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2, columns: 2,
rows: 6, rows: 6,
columnSize: [1 / 2, 1 / 2], columnSize: [1 / 2, 1 / 2],
rowSize: 25 rowSize: 24
})), { })), {
type: "bi.center_adapt", type: "bi.center_adapt",
vgap: 1 vgap: 1

2
src/case/colorchooser/colorchooser.js

@ -25,7 +25,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
isNeedAdjustWidth: false, isNeedAdjustWidth: false,
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
el: BI.extend({ el: BI.extend({
type: o.width <= 30 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger",
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },

2
src/case/colorchooser/colorchooser.trigger.js

@ -11,7 +11,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },

4
src/case/colorchooser/colorchooser.trigger.long.js

@ -11,7 +11,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); var conf = BI.LongColorChooserTrigger.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger",
height: 30 height: 24
}); });
}, },
@ -38,7 +38,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
}, },
textAlign: "left", textAlign: "left",
hgap: 5, hgap: 5,
height: 24, height: 18,
text: BI.i18nText("BI-Basic_Auto") text: BI.i18nText("BI-Basic_Auto")
} }
}] }]

4
src/case/combo/iconcombo/popup.iconcombo.js

@ -19,7 +19,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -46,7 +46,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments); BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },

4
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -6,7 +6,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 24,
iconHeight: null, iconHeight: null,
iconWidth: null, iconWidth: null,
value: "" value: ""
@ -48,7 +48,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if (BI.isKey(o.value)) { if (BI.isKey(o.value)) {

4
src/case/combo/icontextvaluecombo/popup.icontextvalue.js

@ -15,7 +15,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}), }),
@ -45,7 +45,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options; var o = this.options;
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth
}); });

4
src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

@ -5,7 +5,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-search-text-value-combo", baseCls: "bi-search-text-value-combo",
height: 30, height: 24,
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
@ -63,7 +63,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 302 maxHeight: 242
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,

4
src/case/combo/searchtextvaluecombo/popup.searchtextvalue.js

@ -19,7 +19,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
layouts: [{ layouts: [{
@ -49,7 +49,7 @@ BI.SearchTextValueComboPopup = BI.inherit(BI.Pane, {
BI.SearchTextValueComboPopup.superclass.populate.apply(this, items); BI.SearchTextValueComboPopup.superclass.populate.apply(this, items);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items, keyword); this.popup.populate(items, keyword);
}, },

8
src/case/combo/searchtextvaluecombo/trigger.searchtextvalue.js

@ -5,7 +5,7 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border", baseCls: "bi-search-text-value-trigger bi-border",
height: 30 height: 24
}, },
render: function () { render: function () {
@ -50,12 +50,12 @@ BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
}, { }, {
el: { el: {
type: "bi.layout", type: "bi.layout",
width: 30 width: 24
}, },
width: 30 width: 24
} }
] ]
} };
}, },
_setState: function (v) { _setState: function (v) {

2
src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js

@ -38,7 +38,7 @@ BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, {
return BI.extend({ return BI.extend({
type: "bi.icon_text_item", type: "bi.icon_text_item",
cls: "item-check-font bi-list-item", cls: "item-check-font bi-list-item",
height: 30 height: 24
}, item); }, item);
}); });
}, },

4
src/case/combo/textvaluecombo/combo.textvalue.js

@ -8,7 +8,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-combo", baseCls: "bi-text-value-combo",
height: 30, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "", text: "",
value: "" value: ""
@ -46,7 +46,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if(BI.isKey(o.value)) { if(BI.isKey(o.value)) {

2
src/case/combo/textvaluecombo/combo.textvaluesmall.js

@ -44,7 +44,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
}, },

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

@ -14,7 +14,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -42,7 +42,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
BI.TextValueComboPopup.superclass.populate.apply(this, arguments); BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },

2
src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js

@ -6,7 +6,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30 height: 24
}); });
}, },

2
src/case/editor/editor.clear.js

@ -48,7 +48,7 @@ BI.ClearEditor = BI.inherit(BI.Widget, {
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
}] }]
}); });
this.editor.on(BI.Controller.EVENT_CHANGE, function () { this.editor.on(BI.Controller.EVENT_CHANGE, function () {

8
src/core/proto/date.js

@ -159,6 +159,10 @@ Date.prototype.print = function (str) {
var m = this.getMonth(); var m = this.getMonth();
var d = this.getDate(); var d = this.getDate();
var y = this.getFullYear(); var y = this.getFullYear();
var yWith4number = y + "";
while (yWith4number.length < 4) {
yWith4number = "0" + yWith4number;
}
var wn = this.getWeekNumber(); var wn = this.getWeekNumber();
var qr = this.getQuarter(); var qr = this.getQuarter();
var w = this.getDay(); var w = this.getDay();
@ -204,8 +208,8 @@ Date.prototype.print = function (str) {
s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN) s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN)
// FIXME: %x : preferred date representation for the current locale without the time // FIXME: %x : preferred date representation for the current locale without the time
// FIXME: %X : preferred time representation for the current locale without the date // FIXME: %X : preferred time representation for the current locale without the date
s["%y"] = ("" + y).substr(2, 2); // year without the century (range 00 to 99) s["%y"] = yWith4number.substr(2, 2); // year without the century (range 00 to 99)
s["%Y"] = y; // year with the century s["%Y"] = yWith4number; // year with the century
s["%%"] = "%"; // a literal '%' character s["%%"] = "%"; // a literal '%' character
s["%Q"] = qr; s["%Q"] = qr;

8
src/css/base/colorchooser/colorchooser.trigger.css

@ -1,8 +0,0 @@
.bi-color-chooser-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
box-shadow: 0px 0px 2px 1px #d4dadd inset;
-webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset;
-moz-box-shadow: 0px 0px 2px 1px #d4dadd inset;
}

6
src/css/base/colorchooser/colorpicker/button.colorpicker.css

@ -1,6 +0,0 @@
.bi-color-picker-button .color-picker-button-mask {
border: 1px solid #1a1a1a;
}
.bi-theme-dark .bi-color-picker-button .color-picker-button-mask {
border: 1px solid #ffffff;
}

8
src/css/base/colorchooser/colorpicker/editor.colorpicker.css

@ -1,8 +0,0 @@
.bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
box-shadow: 0px 0px 2px 1px #d4dadd inset;
-webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset;
-moz-box-shadow: 0px 0px 2px 1px #d4dadd inset;
}

108
src/css/base/combo/combo.bubble.css

@ -1,108 +0,0 @@
.bi-bubble-combo .button-combo-triangle-wrapper {
position: fixed !important;
z-index: 10000000;
}
.bi-bubble-combo .bubble-combo-triangle-left {
z-index: 1;
position: absolute;
width: 16px;
height: 10px;
border-bottom: 1px solid #f5f5f5;
}
.bi-bubble-combo .bubble-combo-triangle-left:before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
border-bottom: 10px solid #ccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-left:after {
position: absolute;
right: 1px;
top: 1px;
bottom: 0px;
border-bottom: 9px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-right {
z-index: 1;
position: absolute;
width: 16px;
height: 6px;
border-bottom: 1px solid #f5f5f5;
}
.bi-bubble-combo .bubble-combo-triangle-right:before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
border-bottom: 10px solid #ccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-right:after {
position: absolute;
right: 1px;
top: 1px;
bottom: 0px;
border-bottom: 9px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-top {
z-index: 1;
position: absolute;
width: 16px;
height: 10px;
border-top: 1px solid #ffffff;
}
.bi-bubble-combo .bubble-combo-triangle-top:after {
position: absolute;
right: 1px;
top: 0px;
border-top: 6px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-top:before {
position: absolute;
border-top: 7px solid #cccccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-bottom {
z-index: 1;
position: absolute;
width: 16px;
height: 5px;
border-bottom: 1px solid #ffffff;
}
.bi-bubble-combo .bubble-combo-triangle-bottom:before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
border-bottom: 7px solid #ccc;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
content: "";
}
.bi-bubble-combo .bubble-combo-triangle-bottom:after {
position: absolute;
right: 1px;
top: 1px;
bottom: 0px;
border-bottom: 6px solid #ffffff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
}

3
src/css/base/combo/combo.searchtextvalue.css

@ -1,3 +0,0 @@
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}

3
src/css/base/combo/popup.bubble.css

@ -1,3 +0,0 @@
.bi-bubble-popup-view {
}

6
src/css/base/editor/editor.css

@ -1,9 +1,9 @@
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor .close-font { .bi-search-editor .search-close-h-font {
font-size: 20px; font-size: 16px;
} }
.bi-search-editor .search-font { .bi-search-editor .search-font {
font-size: 20px; font-size: 16px;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/

7
src/css/base/editor/editor.search.css

@ -1,7 +0,0 @@
/*************BI.SearchEditor******************/
.bi-search-editor .close-font {
font-size: 20px;
}
.bi-search-editor .search-font {
font-size: 20px;
}

16
src/css/base/editor/editor.search.small.css

@ -1,16 +0,0 @@
/*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor {
font-size: 12px;
}
.bi-small-search-editor .bi-editor .bi-input {
font-size: 12px;
}
.bi-small-search-editor .bi-editor .bi-label {
font-size: 12px;
}
.bi-small-search-editor .close-font {
font-size: 18px;
}
.bi-small-search-editor .search-font {
font-size: 18px;
}

3
src/css/base/editor/editor.sign.initial.css

@ -1,3 +0,0 @@
.bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px;
}

32
src/css/base/foundation/bi.message.css

@ -1,32 +0,0 @@
.bi-message-title {
font-size: 16px;
cursor: pointer;
}
.bi-message-text {
font-size: 16px;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
-o-user-select: text;
user-select: text;
}
.bi-message-content {
font-size: 16px;
}
.bi-message-close {
font-size: 25px;
}
.bi-message-animate {
-webkit-transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
-moz-transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
-o-transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
transition: opacity 0.3s, transform 0.4s, -webkit-transform 0.4s;
}
.bi-message-enter {
opacity: 1;
}
.bi-message-leave {
opacity: 0;
transform: translateY(-100%);
}

4
src/css/base/layer/layer.multiselect.css

@ -1,4 +0,0 @@
.bi-multi-list-view .bi-button-mask {
opacity: 0.1;
filter: alpha(opacity=10);
}

6
src/css/base/pager/pager.all.count.css

@ -1,6 +0,0 @@
.bi-all-count-pager .all-pager-prev {
font-size: 16px;
}
.bi-all-count-pager .all-pager-next {
font-size: 16px;
}

6
src/css/base/pager/pager.direction.css

@ -1,6 +0,0 @@
.bi-direction-pager .direction-pager-prev {
font-size: 16px;
}
.bi-direction-pager .direction-pager-next {
font-size: 16px;
}

4
src/css/base/single/button/item.singleselect.icontext.css

@ -1,4 +0,0 @@
.bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2;
}

16
src/css/base/single/editor/editor.code.css

@ -1,16 +0,0 @@
.bi-code-editor .param {
color: #ffffff;
padding: 0 5px;
margin: 1px 1px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
background: #3f8ce8;
display: inline-block;
}
.bi-code-editor .error-param {
color: #ff4949;
padding: 0 5px;
margin: 1px 1px;
display: inline-block;
}

6
src/css/base/single/editor/editor.multifile.css

@ -1,6 +0,0 @@
.bi-multifile-editor .multifile-editor {
text-align: right;
cursor: pointer;
font-size: 100px;
z-index: 2;
}

3
src/css/base/single/editor/editor.shelter.css

@ -1,3 +0,0 @@
.bi-shelter-editor .shelter-editor-text {
font-size: 12px;
}

3
src/css/base/single/editor/editor.sign.css

@ -1,3 +0,0 @@
.bi-sign-editor .sign-editor-text {
font-size: 12px;
}

11
src/css/base/single/editor/editor.textarea.css

@ -1,11 +0,0 @@
.bi-textarea-editor {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
}
.bi-textarea-editor .textarea-editor-content {
font-size: 12px;
}
.bi-textarea-editor .textarea-editor-content {
border: none;
}

24
src/css/base/single/tip/tip.bubble.css

@ -1,24 +0,0 @@
.bi-bubble {
font-size: 14px;
}
.bi-bubble .bubble-text {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-bubble .bubble-error {
background: #ffecec;
color: #ff4949;
}
.bi-bubble .bubble-common {
background: #eaf2fd;
color: #3685f2;
}
.bi-bubble .bubble-success {
background: #e1f4e7;
color: #5cb75d;
}
.bi-bubble .bubble-warning {
background: #feeed7;
color: #faaa39;
}

24
src/css/base/single/tip/tip.toast.css

@ -1,24 +0,0 @@
.bi-toast {
font-size: 14px;
color: #ffffff;
max-width: 400px;
min-width: 150px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-toast.toast-success {
background: #58cc7d;
}
.bi-toast.toast-warning {
background: #faaa39;
}
.bi-toast.toast-error {
background: #ff4949;
}
.bi-toast.toast-normal {
background: #3f8ce8;
}
.bi-toast .toast-icon {
font-size: 16px;
}

16
src/css/base/single/tip/tip.tooltip.css

@ -1,16 +0,0 @@
.bi-tooltip {
max-width: 250px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
font-size: 12px;
color: #ffffff;
}
.bi-tooltip.tooltip-success {
background: #647185;
border: 1px solid #647185;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
border: 1px solid #e85050;
}

22
src/css/base/table/table.collection.cell.css

@ -1,22 +0,0 @@
.bi-collection-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-collection-table-cell.first-row {
border-top: 1px solid #d4dadd;
}
.bi-collection-table-cell.first-col {
border-left: 1px solid #d4dadd;
}
.bi-theme-dark .bi-collection-table-cell.first-row {
border-top: 1px solid #525466;
}
.bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466;
}

5
src/css/base/table/table.collection.quick.css

@ -1,5 +0,0 @@
.bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important;
overflow-x: hidden !important;
overflow-y: hidden !important;
}

22
src/css/base/table/table.grid.cell.css

@ -1,22 +0,0 @@
.bi-grid-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;
/*Firefox3.5+*/
-ms-box-sizing: border-box;
/*IE8*/
box-sizing: border-box;
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
.bi-grid-table-cell.first-row {
border-top: 1px solid #d4dadd;
}
.bi-grid-table-cell.first-col {
border-left: 1px solid #d4dadd;
}
.bi-theme-dark .bi-grid-table-cell.first-row {
border-top: 1px solid #525466;
}
.bi-theme-dark .bi-grid-table-cell.first-col {
border-left: 1px solid #525466;
}

113
src/css/base/table/table.grid.scrollbar.css

@ -1,113 +0,0 @@
.scrollbar-layout-main {
box-sizing: border-box;
outline: none;
overflow: hidden;
position: absolute;
transition-duration: 250ms;
transition-timing-function: ease;
user-select: none;
background-color: rgba(102, 102, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666);
border-radius: 5px;
}
.bi-theme-dark .scrollbar-layout-main {
background-color: rgba(204, 204, 204, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc);
}
.scrollbar-layout-main-vertical {
bottom: 0;
right: 0;
top: 0;
transition-property: background-color;
width: 10px;
}
.scrollbar-layout-main-vertical.public-scrollbar-main-active,
.scrollbar-layout-main-vertical:hover {
width: 10px;
}
.scrollbar-layout-main-horizontal {
bottom: 0;
height: 10px;
left: 0;
transition-property: background-color;
background-color: rgba(102, 102, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666);
}
.bi-theme-dark .scrollbar-layout-main-horizontal {
background-color: rgba(204, 204, 204, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc);
}
/* Touching the scroll-track directly makes the scroll-track bolder */
.scrollbar-layout-main-horizontal.public-scrollbar-main-active,
.scrollbar-layout-main-horizontal:hover {
height: 10px;
}
.scrollbar-layout-face {
left: 0;
overflow: hidden;
position: absolute;
z-index: 1;
}
/**
* This selector renders the "nub" of the scrollface. The nub must
* be rendered as pseudo-element so that it won't receive any UI events then
* we can get the correct `event.offsetX` and `event.offsetY` from the
* scrollface element while dragging it.
*/
.scrollbar-layout-face:after {
border-radius: 6px;
content: '';
display: block;
position: absolute;
transition: background-color 250ms ease;
}
.scrollbar-layout-face-horizontal {
bottom: 0;
left: 0;
top: 0;
}
.scrollbar-layout-face-horizontal:after {
bottom: 2px;
left: 0;
top: 2px;
width: 100%;
}
.scrollbar-layout-face-vertical {
left: 0;
right: 0;
top: 0;
}
.scrollbar-layout-face-vertical:after {
height: 100%;
left: 2px;
right: 2px;
top: 0;
}
/**
* scrollbars.
*/
/* Touching the scroll-track directly makes the scroll-track bolder */
.public-scrollbar-face:after {
background-color: rgba(102, 102, 102, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666);
}
.bi-theme-dark .public-scrollbar-face:after {
background-color: rgba(204, 204, 204, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc);
}
.public-scrollbar-main:hover .public-scrollbar-face:after,
.public-scrollbar-main-active .public-scrollbar-face:after,
.public-scrollbar-face-active:after {
background-color: rgba(102, 102, 102, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666);
}
.bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after,
.bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after,
.bi-theme-dark .public-scrollbar-face-active:after {
background-color: rgba(204, 204, 204, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc);
}
.horizontal-scrollbar {
bottom: 0;
position: absolute;
}

11
src/css/base/table/table.resizable.cell.css

@ -1,11 +0,0 @@
.bi-resizable-table-cell .resizable-table-cell-resizer-container {
cursor: ew-resize;
z-index: 1;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container:hover .resizable-table-cell-resizer-knob,
.bi-resizable-table-cell .resizable-table-cell-resizer-container.dragging .resizable-table-cell-resizer-knob {
background-color: #3f8ce8;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob {
background-color: #58cc7d;
}

16
src/css/base/table/table.resizable.css

@ -1,16 +0,0 @@
.bi-resizable-table .resizable-table-resizer {
cursor: ew-resize;
z-index: 1;
background-color: #3f8ce8;
}
.bi-resizable-table .resizable-table-resizer.suitable {
background-color: #58cc7d;
}
.bi-resizable-table .resizable-table-region-resizer {
cursor: ew-resize;
z-index: 1;
}
.bi-resizable-table .resizable-table-region-resizer:hover .resizable-table-region-resizer-knob,
.bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob {
background-color: #3f8ce8;
}

3
src/css/base/tree/tree.branch.css

@ -1,3 +0,0 @@
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
}

17
src/css/base/tree/tree.display.css

@ -1,17 +0,0 @@
.bi-display-tree .ztree * {
color: #999999;
}
.bi-display-tree .ztree li a,
.bi-display-tree .ztree li span {
cursor: default !important;
}
.bi-display-tree .ztree li a:hover {
text-decoration: none;
}
.bi-display-tree .ztree li a.curSelectedNode {
padding-top: 1px;
border: none;
background-color: inherit;
opacity: 1;
filter: alpha(opacity=100);
}

5
src/css/base/trigger/trigger.selecttext.css

@ -1,5 +0,0 @@
.bi-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save