Browse Source

Merge branch 'master' of ssh://cloud.finedevelop.com:7999/~windy/fineui

es6
windy 5 years ago
parent
commit
b64256e058
  1. 3
      demo/js/case/list/demo.select_list.js
  2. 2
      demo/js/core/abstract/combination/demo.combo.js
  3. 5
      demo/js/core/layout/demo.absolute.js
  4. 3
      demo/js/widget/basewidget/demo.items.js
  5. 196
      dist/2.0/fineui.css
  6. 257
      dist/2.0/fineui.ie.js
  7. 52
      dist/2.0/fineui.ie.min.js
  8. 257
      dist/2.0/fineui.js
  9. 2
      dist/2.0/fineui.min.css
  10. 54
      dist/2.0/fineui.min.js
  11. 74
      dist/base.css
  12. 34
      dist/base.js
  13. 196
      dist/bundle.css
  14. 257
      dist/bundle.ie.js
  15. 52
      dist/bundle.ie.min.js
  16. 257
      dist/bundle.js
  17. 2
      dist/bundle.min.css
  18. 54
      dist/bundle.min.js
  19. 103
      dist/case.js
  20. 80
      dist/core.css
  21. 80
      dist/core_without_normalize.css
  22. 2
      dist/demo.css
  23. 13
      dist/demo.js
  24. 196
      dist/fineui.css
  25. 257
      dist/fineui.ie.js
  26. 52
      dist/fineui.ie.min.js
  27. 257
      dist/fineui.js
  28. 2
      dist/fineui.min.css
  29. 52
      dist/fineui.min.js
  30. 231
      dist/fineui_without_jquery_polyfill.js
  31. BIN
      dist/images/1x/icon/dark/tree_collapse_1.png
  32. BIN
      dist/images/1x/icon/dark/tree_collapse_2.png
  33. BIN
      dist/images/1x/icon/dark/tree_collapse_3.png
  34. BIN
      dist/images/1x/icon/dark/tree_collapse_4.png
  35. BIN
      dist/images/1x/icon/dark/tree_expand_1.png
  36. BIN
      dist/images/1x/icon/dark/tree_expand_2.png
  37. BIN
      dist/images/1x/icon/dark/tree_expand_3.png
  38. BIN
      dist/images/1x/icon/dark/tree_expand_4.png
  39. BIN
      dist/images/1x/icon/dark/tree_vertical_line_1.png
  40. BIN
      dist/images/1x/icon/dark/tree_vertical_line_2.png
  41. BIN
      dist/images/1x/icon/dark/tree_vertical_line_3.png
  42. BIN
      dist/images/1x/icon/dark/tree_vertical_line_4.png
  43. BIN
      dist/images/1x/icon/dark/tree_vertical_line_5.png
  44. BIN
      dist/images/1x/icon/tree_collapse_1.png
  45. BIN
      dist/images/1x/icon/tree_collapse_2.png
  46. BIN
      dist/images/1x/icon/tree_collapse_3.png
  47. BIN
      dist/images/1x/icon/tree_collapse_4.png
  48. BIN
      dist/images/1x/icon/tree_expand_1.png
  49. BIN
      dist/images/1x/icon/tree_expand_2.png
  50. BIN
      dist/images/1x/icon/tree_expand_3.png
  51. BIN
      dist/images/1x/icon/tree_expand_4.png
  52. BIN
      dist/images/1x/icon/tree_vertical_line_1.png
  53. BIN
      dist/images/1x/icon/tree_vertical_line_2.png
  54. BIN
      dist/images/1x/icon/tree_vertical_line_3.png
  55. BIN
      dist/images/1x/icon/tree_vertical_line_4.png
  56. BIN
      dist/images/1x/icon/tree_vertical_line_5.png
  57. BIN
      dist/images/2x/icon/dark/tree_collapse_1.png
  58. BIN
      dist/images/2x/icon/dark/tree_collapse_2.png
  59. BIN
      dist/images/2x/icon/dark/tree_collapse_3.png
  60. BIN
      dist/images/2x/icon/dark/tree_collapse_4.png
  61. BIN
      dist/images/2x/icon/dark/tree_expand_1.png
  62. BIN
      dist/images/2x/icon/dark/tree_expand_2.png
  63. BIN
      dist/images/2x/icon/dark/tree_expand_3.png
  64. BIN
      dist/images/2x/icon/dark/tree_expand_4.png
  65. BIN
      dist/images/2x/icon/dark/tree_vertical_line_1.png
  66. BIN
      dist/images/2x/icon/dark/tree_vertical_line_2.png
  67. BIN
      dist/images/2x/icon/dark/tree_vertical_line_3.png
  68. BIN
      dist/images/2x/icon/dark/tree_vertical_line_4.png
  69. BIN
      dist/images/2x/icon/dark/tree_vertical_line_5.png
  70. BIN
      dist/images/2x/icon/tree_collapse_1.png
  71. BIN
      dist/images/2x/icon/tree_collapse_2.png
  72. BIN
      dist/images/2x/icon/tree_collapse_3.png
  73. BIN
      dist/images/2x/icon/tree_collapse_4.png
  74. BIN
      dist/images/2x/icon/tree_expand_1.png
  75. BIN
      dist/images/2x/icon/tree_expand_2.png
  76. BIN
      dist/images/2x/icon/tree_expand_3.png
  77. BIN
      dist/images/2x/icon/tree_expand_4.png
  78. BIN
      dist/images/2x/icon/tree_vertical_line_1.png
  79. BIN
      dist/images/2x/icon/tree_vertical_line_2.png
  80. BIN
      dist/images/2x/icon/tree_vertical_line_3.png
  81. BIN
      dist/images/2x/icon/tree_vertical_line_4.png
  82. BIN
      dist/images/2x/icon/tree_vertical_line_5.png
  83. 18
      dist/resource.css
  84. 2
      dist/utils.min.js
  85. 24
      dist/widget.css
  86. 120
      dist/widget.js
  87. 4
      public/css/background.css
  88. 11
      src/base/tree/ztree/asynctree.js
  89. 15
      src/base/tree/ztree/parttree.js
  90. 4
      src/case/button/node/node.arrow.js
  91. 2
      src/case/button/node/node.first.plus.js
  92. 2
      src/case/button/node/node.icon.arrow.js
  93. 2
      src/case/button/node/node.last.plus.js
  94. 2
      src/case/button/node/node.mid.plus.js
  95. 2
      src/case/button/node/node.multilayer.icon.arrow.js
  96. 2
      src/case/button/node/node.plus.js
  97. 10
      src/case/button/treeitem/item.first.treeleaf.js
  98. 2
      src/case/button/treeitem/item.icon.treeleaf.js
  99. 10
      src/case/button/treeitem/item.last.treeleaf.js
  100. 10
      src/case/button/treeitem/item.mid.treeleaf.js
  101. Some files were not shown because too many files have changed in this diff Show More

3
demo/js/case/list/demo.select_list.js

@ -18,7 +18,8 @@ Demo.Func = BI.inherit(BI.Widget, {
}
},
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), {
type: "bi.multi_select_item"
type: "bi.multi_select_item",
height: 30
})
});
}

2
demo/js/core/abstract/combination/demo.combo.js

@ -152,7 +152,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.button_group",
items: BI.createItems(BI.deepClone(this.years), {
type: "bi.single_select_radio_item",
height: 25,
height: 30,
handler: function (v) {
}

5
demo/js/core/layout/demo.absolute.js

@ -5,15 +5,16 @@ Demo.AbsoluteLayout = BI.inherit(BI.Widget, {
render: function () {
return {
type: "bi.absolute",
scrollx: true,
items: [{
el: {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
width: 800,
height: 200
},
left: 100,
right: 100,
top: 100
}]
};

3
demo/js/widget/basewidget/demo.items.js

@ -16,9 +16,11 @@ Demo.Items = BI.inherit(BI.Widget, {
text: "单选item"
}, {
type: "bi.single_select_item",
height: 30,
text: "单选项"
}, {
type: "bi.single_select_radio_item",
height: 30,
text: "单选项"
}, {
type: "bi.label",
@ -26,6 +28,7 @@ Demo.Items = BI.inherit(BI.Widget, {
text: "复选item"
}, {
type: "bi.multi_select_item",
height: 30,
text: "复选项"
}, {
type: "bi.switch",

196
dist/2.0/fineui.css vendored

@ -284,7 +284,7 @@ textarea {
}
.bi-theme-dark input,
.bi-theme-dark textarea {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.base-disabled {
cursor: not-allowed !important;
@ -320,7 +320,7 @@ textarea {
border-color: #e8eaed;
}
.bi-theme-dark .bi-focus-shadow.disabled:hover {
border-color: #3a3c53;
border-color: #363e55;
}
.base-invalid {
cursor: default !important;
@ -348,7 +348,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-background {
background-color: #191B2B;
background-color: #191b2b;
color: #d6e0dc;
}
.bi-theme-dark .bi-background .bi-input {
@ -358,7 +358,7 @@ textarea {
color: #d6e0dc;
}
.bi-header-background {
background-color: #F2F4F7;
background-color: #f2f4f7;
color: #647185;
}
.bi-header-background .bi-input {
@ -368,7 +368,7 @@ textarea {
color: #647185;
}
.bi-theme-dark .bi-header-background {
background-color: #2F3149;
background-color: #292f45;
color: #afb7c6;
}
.bi-theme-dark .bi-header-background .bi-input {
@ -388,7 +388,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-card {
background-color: #242640;
background-color: #20263b;
color: #d6e0dc;
}
.bi-theme-dark .bi-card .bi-input {
@ -455,19 +455,19 @@ textarea {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
border-top: 1px solid #363e55;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
border-right: 1px solid #363e55;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-split {
border: 1px solid #f2f4f7;
@ -485,19 +485,19 @@ textarea {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split {
border: 1px solid #2F3149;
border: 1px solid #292f45;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
border-top: 1px solid #292f45;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
border-right: 1px solid #292f45;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
border-bottom: 1px solid #292f45;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
border-left: 1px solid #292f45;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
@ -544,13 +544,13 @@ textarea {
color: #3685f2;
}
.bi-error {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-high-light-background {
background-color: #3685f2;
@ -563,7 +563,7 @@ textarea {
color: #ffffff;
}
.bi-error-background {
background-color: #ff4949;
background-color: #e65251;
color: #ffffff;
}
.bi-error-background .bi-input {
@ -642,15 +642,15 @@ textarea {
color: #ffffff;
}
.bi-theme-dark .bi-mask {
color: #242640;
color: #20263b;
background-color: rgba(255, 255, 255, 0.2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff,endColorstr=#33ffffff);
}
.bi-theme-dark .bi-mask .bi-input {
color: #242640;
color: #20263b;
}
.bi-theme-dark .bi-mask .bi-textarea {
color: #242640;
color: #20263b;
}
.bi-z-index-mask {
background-color: rgba(35, 46, 64, 0.5);
@ -1095,45 +1095,45 @@ textarea {
border-color: #13cd66;
}
.bi-list-item-select.button-warning {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:hover,
.bi-list-item-select.button-warning.hover {
color: #ff4949;
color: #e65251;
background-color: #ffecec;
}
.bi-list-item-select.button-warning:hover .bi-input,
.bi-list-item-select.button-warning.hover .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-textarea,
.bi-list-item-select.button-warning.hover .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-high-light,
.bi-list-item-select.button-warning.hover .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover.bi-high-light-border,
.bi-list-item-select.button-warning.hover.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:active,
.bi-list-item-select.button-warning.active {
color: #ffffff;
background-color: #ff4949;
background-color: #e65251;
}
.bi-list-item-select.button-warning:active .bi-input,
.bi-list-item-select.button-warning.active .bi-input {
@ -1149,7 +1149,7 @@ textarea {
}
.bi-list-item-select.button-warning:active.bi-high-light-border,
.bi-list-item-select.button-warning.active.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.disabled {
color: #9ea6b2 !important;
@ -1253,7 +1253,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
@ -1266,7 +1266,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
@ -1322,12 +1322,12 @@ textarea {
}
.bi-theme-dark .bi-list-item-select3:hover,
.bi-theme-dark .bi-list-item-select3.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active,
.bi-theme-dark .bi-list-item-select3.active {
color: #3685f2;
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active .bi-input,
.bi-theme-dark .bi-list-item-select3.active .bi-input {
@ -1341,7 +1341,7 @@ textarea {
.bi-theme-dark .bi-list-item-select3.disabled.hover,
.bi-theme-dark .bi-list-item-select3.disabled:active,
.bi-theme-dark .bi-list-item-select3.disabled.active {
background-color: #242640 !important;
background-color: #20263b !important;
}
.bi-theme-dark .bi-list-item-select:hover,
.bi-theme-dark .bi-list-item-select.hover {
@ -2193,10 +2193,10 @@ textarea {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
@ -2494,9 +2494,9 @@ textarea {
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-right:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-top:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-bottom:before {
background-color: #242640;
border-bottom: 1px solid #2F3149;
border-right: 1px solid #2F3149;
background-color: #20263b;
border-bottom: 1px solid #292f45;
border-right: 1px solid #292f45;
}
.bi-combo > .bi-trigger .bi-trigger-icon-button .x-icon {
@ -2532,7 +2532,7 @@ textarea {
}
.bi-theme-dark .bi-combo.disabled.bi-combo-hover > .bi-border,
.bi-theme-dark .bi-combo.disabled:hover > .bi-border {
border-color: #3a3c53;
border-color: #363e55;
}
.bi-search-text-value-combo .trigger-icon-button {
@ -2544,7 +2544,7 @@ textarea {
border-radius: 2px;
}
.bi-search-text-value-combo.combo-error .bi-search-text-value-trigger .bi-text-button {
color: #ff4949;
color: #e65251;
}
.bi-search-text-value-combo .bi-combo.bi-combo-popup + .bi-trigger-icon-button .x-icon {
-webkit-transform: rotate(180deg);
@ -2566,11 +2566,11 @@ textarea {
}
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-check-combo.bi-combo-popup > .bi-border,
@ -2847,13 +2847,13 @@ textarea {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
background: #242640;
border-right: 1px solid #3a3c53;
border-top: 1px solid #3a3c53;
border-bottom: 1px solid #3a3c53;
background: #20263b;
border-right: 1px solid #363e55;
border-top: 1px solid #363e55;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-segment > .first-element {
border-left: 1px solid #242640;
border-left: 1px solid #20263b;
}
.bi-half-button {
-webkit-border-radius: 2px;
@ -3002,8 +3002,8 @@ body .bi-button.button-warning.clear .b-font:before,
}
body .bi-button.button-error,
#body .bi-button.button-error {
background-color: #ff4949;
border-color: #FF4949;
background-color: #e65251;
border-color: #e65251;
}
body .bi-button.button-error,
#body .bi-button.button-error,
@ -3020,7 +3020,7 @@ body .bi-button.button-error.clear,
#body .bi-button.button-error.clear,
body .bi-button.button-error.clear .b-font:before,
#body .bi-button.button-error.clear .b-font:before {
color: #ff4949;
color: #e65251;
}
body .bi-button.button-common.disabled,
#body .bi-button.button-common.disabled,
@ -3038,7 +3038,7 @@ body .bi-button.button-error.disabled.base-disabled,
#body .bi-button.button-error.disabled.base-disabled,
body .bi-button.button-warning.disabled.base-disabled,
#body .bi-button.button-warning.disabled.base-disabled {
background: #F2F4F7 !important;
background: #f2f4f7 !important;
border-color: #d0d4da !important;
}
body .bi-button.button-common.disabled,
@ -3350,10 +3350,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-radius: 9px 9px 9px 9px;
}
.bi-switch.disabled {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-switch.disabled:active {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-theme-dark .bi-switch {
background-color: #606479;
@ -3363,10 +3363,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-color: #3685f2;
}
.bi-theme-dark .bi-switch.disabled {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-switch.disabled:active {
background-color: #2F3149;
background-color: #292f45;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
@ -3662,7 +3662,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
opacity: 1;
}
.bi-checkbox.disabled .checkbox-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-checkbox.disabled .checkbox-content:after {
@ -3686,7 +3686,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-checkbox.disabled .checkbox-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-checkbox.disabled.active .checkbox-content {
background-color: #606479;
@ -3714,7 +3714,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none;
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-radio .radio-content {
-webkit-border-radius: 8px;
@ -3752,7 +3752,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: translate(-50%, -50%);
}
.bi-radio.disabled .radio-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-radio.disabled .radio-content:after {
@ -3776,7 +3776,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-radio.disabled .radio-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-radio.disabled .radio-content.hover,
.bi-theme-dark .bi-radio.disabled .radio-content:hover {
@ -3813,7 +3813,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.bi-bubble .bubble-error {
background: #ffecec;
color: #ff4949;
color: #e65251;
}
.bi-theme-dark .bi-bubble .bubble-error {
background: #3A2940;
@ -3850,7 +3850,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #faaa39;
}
.bi-toast.toast-error {
background: #ff4949;
background: #e65251;
}
.bi-toast.toast-normal {
background: #3685f2;
@ -3872,8 +3872,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border: 1px solid #647185;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
border: 1px solid #FF4949;
background: #e65251;
border: 1px solid #e65251;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
@ -3930,13 +3930,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.ztree li ul {
margin: 0;
padding: 0 0 0 18px;
padding: 0 0 0 22px;
}
.ztree li a {
padding: 1px 3px 0 0;
margin: 0;
cursor: pointer;
height: 24px;
height: 30px;
background-color: transparent;
text-decoration: none;
vertical-align: top;
@ -3978,7 +3978,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
*border: 0px;
}
.ztree li span {
line-height: 24px;
line-height: 30px;
margin-right: 2px;
}
.ztree li span.button {
@ -4050,8 +4050,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-position: -42px -56px;
}
.ztree li span.button.switch {
width: 25px;
height: 25px;
width: 30px;
height: 30px;
}
.ztree li span.button.noline_open {
background-position: -92px -72px;
@ -4195,7 +4195,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .first-element {
border-left: none;
@ -4406,7 +4406,7 @@ ul.ztree.zTreeDragUL {
font-size: 14px;
}
.bi-number-interval.number-error .bi-input {
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-quarter-trigger {
-webkit-border-radius: 2px;
@ -4417,7 +4417,7 @@ ul.ztree.zTreeDragUL {
font-size: 16px;
}
.bi-search-multi-text-value-combo.combo-error .bi-multi-select-searcher .tip-text-style {
color: #ff4949;
color: #e65251;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
@ -4486,15 +4486,15 @@ ul.ztree.zTreeDragUL {
left: -8px;
}
.bi-theme-dark .bi-single-slider-button .slider-button {
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-single-slider-button .slider-button:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-single-slider-button .slider-button.disabled:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.disabled.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-slider-track .gray-track {
background-color: rgba(61, 77, 102, 0.1);
@ -4532,10 +4532,10 @@ ul.ztree.zTreeDragUL {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff);
}
.bi-date-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-date-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-time-interval .bi-date-time-trigger {
-webkit-border-radius: 2px;
@ -4543,10 +4543,10 @@ ul.ztree.zTreeDragUL {
border-radius: 2px;
}
.bi-time-interval.time-error .bi-date-time-trigger .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-time-interval.time-error .bi-date-time-trigger .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-year-popup .year-popup-navigation {
line-height: 30px;
@ -4558,7 +4558,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
@ -4569,10 +4569,10 @@ ul.ztree.zTreeDragUL {
border-radius: 2px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
html {
height: 100%;
@ -4606,8 +4606,8 @@ body {
div::-webkit-scrollbar,
textarea::-webkit-scrollbar {
-webkit-appearance: none;
background-color: rgba(61, 77, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d3d4d66,endColorstr=#0d3d4d66);
background-color: rgba(32, 38, 59, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d20263b,endColorstr=#0d20263b);
width: 6px;
height: 6px;
}
@ -4616,13 +4616,13 @@ textarea::-webkit-scrollbar-thumb {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background-color: rgba(61, 77, 102, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d3d4d66,endColorstr=#4d3d4d66);
background-color: rgba(32, 38, 59, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d20263b,endColorstr=#4d20263b);
}
div::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
background-color: rgba(61, 77, 102, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b33d4d66,endColorstr=#b33d4d66);
background-color: rgba(32, 38, 59, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b320263b,endColorstr=#b320263b);
}
.bi-theme-dark div::-webkit-scrollbar,
.bi-theme-dark textarea::-webkit-scrollbar {
@ -4664,10 +4664,10 @@ textarea::-webkit-scrollbar-thumb:hover {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/2x/icon/check_box_normal.png') no-repeat center center;
@ -4938,7 +4938,7 @@ textarea::-webkit-scrollbar-thumb:hover {
.search-close-h-font:hover .b-font:before,
.search-close-h-font.hover .b-font:before {
content: "\e6d0";
color: #ff4949;
color: #e65251;
}
.search-close-h-font.disabled .b-font:before {
content: "\e6d0";

257
dist/2.0/fineui.ie.js vendored

@ -40083,7 +40083,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -40113,7 +40113,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -40208,6 +40208,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -40227,7 +40228,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -40241,6 +40242,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -40294,11 +40299,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -40333,6 +40340,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -40401,9 +40409,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -41639,14 +41645,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -42866,9 +42871,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -45380,7 +45384,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -52357,7 +52361,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52410,7 +52414,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -52439,7 +52443,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52522,7 +52526,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -52618,7 +52622,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52699,7 +52703,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52772,7 +52776,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -52868,7 +52872,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52989,7 +52993,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53018,19 +53022,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53085,7 +53089,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -53180,7 +53184,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53209,19 +53213,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53284,7 +53288,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53313,19 +53317,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53382,7 +53386,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -53482,7 +53486,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -53704,7 +53708,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -53721,7 +53725,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -53870,7 +53874,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -53886,7 +53890,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -54000,8 +54004,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54023,8 +54027,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54046,8 +54050,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54069,8 +54073,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -56195,7 +56199,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -56223,7 +56227,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -56398,7 +56402,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -56457,7 +56461,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -56496,7 +56500,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -57043,7 +57047,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -57118,7 +57122,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -57207,7 +57211,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57243,7 +57247,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -57272,7 +57276,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -57756,7 +57760,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -57850,9 +57854,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -58040,7 +58045,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -62875,7 +62880,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63010,8 +63015,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -63646,7 +63651,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -63859,7 +63864,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -64973,8 +64978,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -65824,8 +65829,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -67904,7 +67909,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -67923,7 +67928,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68156,7 +68161,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -69055,7 +69060,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69096,7 +69101,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69104,7 +69109,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69158,7 +69163,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69199,7 +69204,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69207,7 +69212,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69257,7 +69262,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69298,7 +69303,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69306,7 +69311,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69356,7 +69361,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69397,7 +69402,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69405,7 +69410,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70021,7 +70026,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70043,7 +70048,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70051,7 +70056,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70124,7 +70129,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70146,7 +70151,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70154,7 +70159,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70226,7 +70231,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70248,7 +70253,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70256,7 +70261,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70326,7 +70331,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70348,7 +70353,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70429,7 +70434,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70472,7 +70477,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70480,7 +70485,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70528,7 +70533,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70570,7 +70575,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70578,7 +70583,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70626,7 +70631,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70668,7 +70673,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70676,7 +70681,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -72387,7 +72392,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -77889,7 +77894,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -78785,7 +78790,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -79126,7 +79131,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79211,7 +79216,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79296,7 +79301,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79381,7 +79386,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -80973,7 +80978,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -83401,7 +83406,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -83409,6 +83414,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -84442,7 +84449,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -84899,7 +84906,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -84943,7 +84950,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -85197,7 +85204,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -85939,7 +85946,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86197,7 +86204,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

52
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

257
dist/2.0/fineui.js vendored

@ -40487,7 +40487,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -40517,7 +40517,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -40612,6 +40612,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -40631,7 +40632,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -40645,6 +40646,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -40698,11 +40703,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -40737,6 +40744,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -40805,9 +40813,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -42043,14 +42049,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -43270,9 +43275,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -45784,7 +45788,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -52761,7 +52765,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52814,7 +52818,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -52843,7 +52847,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52926,7 +52930,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -53022,7 +53026,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53103,7 +53107,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53176,7 +53180,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -53272,7 +53276,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53393,7 +53397,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53422,19 +53426,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53489,7 +53493,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -53584,7 +53588,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53613,19 +53617,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53688,7 +53692,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53717,19 +53721,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53786,7 +53790,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -53886,7 +53890,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -54108,7 +54112,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -54125,7 +54129,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -54274,7 +54278,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -54290,7 +54294,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -54404,8 +54408,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54427,8 +54431,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54450,8 +54454,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54473,8 +54477,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -56599,7 +56603,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -56627,7 +56631,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -56802,7 +56806,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -56861,7 +56865,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -56900,7 +56904,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -57447,7 +57451,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -57522,7 +57526,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -57611,7 +57615,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57647,7 +57651,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -57676,7 +57680,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -58160,7 +58164,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -58254,9 +58258,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -58444,7 +58449,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -63279,7 +63284,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63414,8 +63419,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -64050,7 +64055,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -64263,7 +64268,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -65377,8 +65382,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -66228,8 +66233,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68308,7 +68313,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -68327,7 +68332,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68560,7 +68565,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -69459,7 +69464,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69500,7 +69505,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69508,7 +69513,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69562,7 +69567,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69603,7 +69608,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69611,7 +69616,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69661,7 +69666,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69702,7 +69707,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69710,7 +69715,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69760,7 +69765,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69801,7 +69806,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69809,7 +69814,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70425,7 +70430,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70447,7 +70452,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70455,7 +70460,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70528,7 +70533,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70550,7 +70555,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70558,7 +70563,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70630,7 +70635,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70652,7 +70657,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70660,7 +70665,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70730,7 +70735,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70752,7 +70757,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70833,7 +70838,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70876,7 +70881,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70884,7 +70889,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70932,7 +70937,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70974,7 +70979,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70982,7 +70987,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -71030,7 +71035,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71072,7 +71077,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -71080,7 +71085,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -72791,7 +72796,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -78293,7 +78298,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79189,7 +79194,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -79530,7 +79535,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79615,7 +79620,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79700,7 +79705,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79785,7 +79790,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81377,7 +81382,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -83805,7 +83810,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -83813,6 +83818,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -84846,7 +84853,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -85303,7 +85310,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -85347,7 +85354,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -85601,7 +85608,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -86343,7 +86350,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86601,7 +86608,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

54
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

74
dist/base.css vendored

@ -38,10 +38,10 @@
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
@ -339,9 +339,9 @@
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-right:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-top:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-bottom:before {
background-color: #242640;
border-bottom: 1px solid #2F3149;
border-right: 1px solid #2F3149;
background-color: #20263b;
border-bottom: 1px solid #292f45;
border-right: 1px solid #292f45;
}
.bi-combo > .bi-trigger .bi-trigger-icon-button .x-icon {
@ -377,7 +377,7 @@
}
.bi-theme-dark .bi-combo.disabled.bi-combo-hover > .bi-border,
.bi-theme-dark .bi-combo.disabled:hover > .bi-border {
border-color: #3a3c53;
border-color: #363e55;
}
.bi-search-text-value-combo .trigger-icon-button {
@ -389,7 +389,7 @@
border-radius: 2px;
}
.bi-search-text-value-combo.combo-error .bi-search-text-value-trigger .bi-text-button {
color: #ff4949;
color: #e65251;
}
.bi-search-text-value-combo .bi-combo.bi-combo-popup + .bi-trigger-icon-button .x-icon {
-webkit-transform: rotate(180deg);
@ -411,11 +411,11 @@
}
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-check-combo.bi-combo-popup > .bi-border,
@ -692,13 +692,13 @@
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
background: #242640;
border-right: 1px solid #3a3c53;
border-top: 1px solid #3a3c53;
border-bottom: 1px solid #3a3c53;
background: #20263b;
border-right: 1px solid #363e55;
border-top: 1px solid #363e55;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-segment > .first-element {
border-left: 1px solid #242640;
border-left: 1px solid #20263b;
}
.bi-half-button {
-webkit-border-radius: 2px;
@ -847,8 +847,8 @@ body .bi-button.button-warning.clear .b-font:before,
}
body .bi-button.button-error,
#body .bi-button.button-error {
background-color: #ff4949;
border-color: #FF4949;
background-color: #e65251;
border-color: #e65251;
}
body .bi-button.button-error,
#body .bi-button.button-error,
@ -865,7 +865,7 @@ body .bi-button.button-error.clear,
#body .bi-button.button-error.clear,
body .bi-button.button-error.clear .b-font:before,
#body .bi-button.button-error.clear .b-font:before {
color: #ff4949;
color: #e65251;
}
body .bi-button.button-common.disabled,
#body .bi-button.button-common.disabled,
@ -883,7 +883,7 @@ body .bi-button.button-error.disabled.base-disabled,
#body .bi-button.button-error.disabled.base-disabled,
body .bi-button.button-warning.disabled.base-disabled,
#body .bi-button.button-warning.disabled.base-disabled {
background: #F2F4F7 !important;
background: #f2f4f7 !important;
border-color: #d0d4da !important;
}
body .bi-button.button-common.disabled,
@ -1195,10 +1195,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-radius: 9px 9px 9px 9px;
}
.bi-switch.disabled {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-switch.disabled:active {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-theme-dark .bi-switch {
background-color: #606479;
@ -1208,10 +1208,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-color: #3685f2;
}
.bi-theme-dark .bi-switch.disabled {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-switch.disabled:active {
background-color: #2F3149;
background-color: #292f45;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
@ -1507,7 +1507,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
opacity: 1;
}
.bi-checkbox.disabled .checkbox-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-checkbox.disabled .checkbox-content:after {
@ -1531,7 +1531,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-checkbox.disabled .checkbox-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-checkbox.disabled.active .checkbox-content {
background-color: #606479;
@ -1559,7 +1559,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none;
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-radio .radio-content {
-webkit-border-radius: 8px;
@ -1597,7 +1597,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: translate(-50%, -50%);
}
.bi-radio.disabled .radio-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-radio.disabled .radio-content:after {
@ -1621,7 +1621,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-radio.disabled .radio-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-radio.disabled .radio-content.hover,
.bi-theme-dark .bi-radio.disabled .radio-content:hover {
@ -1658,7 +1658,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.bi-bubble .bubble-error {
background: #ffecec;
color: #ff4949;
color: #e65251;
}
.bi-theme-dark .bi-bubble .bubble-error {
background: #3A2940;
@ -1695,7 +1695,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #faaa39;
}
.bi-toast.toast-error {
background: #ff4949;
background: #e65251;
}
.bi-toast.toast-normal {
background: #3685f2;
@ -1717,8 +1717,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border: 1px solid #647185;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
border: 1px solid #FF4949;
background: #e65251;
border: 1px solid #e65251;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
@ -1775,13 +1775,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.ztree li ul {
margin: 0;
padding: 0 0 0 18px;
padding: 0 0 0 22px;
}
.ztree li a {
padding: 1px 3px 0 0;
margin: 0;
cursor: pointer;
height: 24px;
height: 30px;
background-color: transparent;
text-decoration: none;
vertical-align: top;
@ -1823,7 +1823,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
*border: 0px;
}
.ztree li span {
line-height: 24px;
line-height: 30px;
margin-right: 2px;
}
.ztree li span.button {
@ -1895,8 +1895,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-position: -42px -56px;
}
.ztree li span.button.switch {
width: 25px;
height: 25px;
width: 30px;
height: 30px;
}
.ztree li span.button.noline_open {
background-position: -92px -72px;
@ -2040,7 +2040,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .first-element {
border-left: none;

34
dist/base.js vendored

@ -2262,7 +2262,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -2292,7 +2292,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -2387,6 +2387,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -2406,7 +2407,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -2420,6 +2421,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -2473,11 +2478,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -2512,6 +2519,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -2580,9 +2588,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -3818,14 +3824,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -5045,9 +5050,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -7559,7 +7563,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,

196
dist/bundle.css vendored

@ -284,7 +284,7 @@ textarea {
}
.bi-theme-dark input,
.bi-theme-dark textarea {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.base-disabled {
cursor: not-allowed !important;
@ -320,7 +320,7 @@ textarea {
border-color: #e8eaed;
}
.bi-theme-dark .bi-focus-shadow.disabled:hover {
border-color: #3a3c53;
border-color: #363e55;
}
.base-invalid {
cursor: default !important;
@ -348,7 +348,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-background {
background-color: #191B2B;
background-color: #191b2b;
color: #d6e0dc;
}
.bi-theme-dark .bi-background .bi-input {
@ -358,7 +358,7 @@ textarea {
color: #d6e0dc;
}
.bi-header-background {
background-color: #F2F4F7;
background-color: #f2f4f7;
color: #647185;
}
.bi-header-background .bi-input {
@ -368,7 +368,7 @@ textarea {
color: #647185;
}
.bi-theme-dark .bi-header-background {
background-color: #2F3149;
background-color: #292f45;
color: #afb7c6;
}
.bi-theme-dark .bi-header-background .bi-input {
@ -388,7 +388,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-card {
background-color: #242640;
background-color: #20263b;
color: #d6e0dc;
}
.bi-theme-dark .bi-card .bi-input {
@ -455,19 +455,19 @@ textarea {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
border-top: 1px solid #363e55;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
border-right: 1px solid #363e55;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-split {
border: 1px solid #f2f4f7;
@ -485,19 +485,19 @@ textarea {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split {
border: 1px solid #2F3149;
border: 1px solid #292f45;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
border-top: 1px solid #292f45;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
border-right: 1px solid #292f45;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
border-bottom: 1px solid #292f45;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
border-left: 1px solid #292f45;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
@ -544,13 +544,13 @@ textarea {
color: #3685f2;
}
.bi-error {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-high-light-background {
background-color: #3685f2;
@ -563,7 +563,7 @@ textarea {
color: #ffffff;
}
.bi-error-background {
background-color: #ff4949;
background-color: #e65251;
color: #ffffff;
}
.bi-error-background .bi-input {
@ -642,15 +642,15 @@ textarea {
color: #ffffff;
}
.bi-theme-dark .bi-mask {
color: #242640;
color: #20263b;
background-color: rgba(255, 255, 255, 0.2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff,endColorstr=#33ffffff);
}
.bi-theme-dark .bi-mask .bi-input {
color: #242640;
color: #20263b;
}
.bi-theme-dark .bi-mask .bi-textarea {
color: #242640;
color: #20263b;
}
.bi-z-index-mask {
background-color: rgba(35, 46, 64, 0.5);
@ -1095,45 +1095,45 @@ textarea {
border-color: #13cd66;
}
.bi-list-item-select.button-warning {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:hover,
.bi-list-item-select.button-warning.hover {
color: #ff4949;
color: #e65251;
background-color: #ffecec;
}
.bi-list-item-select.button-warning:hover .bi-input,
.bi-list-item-select.button-warning.hover .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-textarea,
.bi-list-item-select.button-warning.hover .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-high-light,
.bi-list-item-select.button-warning.hover .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover.bi-high-light-border,
.bi-list-item-select.button-warning.hover.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:active,
.bi-list-item-select.button-warning.active {
color: #ffffff;
background-color: #ff4949;
background-color: #e65251;
}
.bi-list-item-select.button-warning:active .bi-input,
.bi-list-item-select.button-warning.active .bi-input {
@ -1149,7 +1149,7 @@ textarea {
}
.bi-list-item-select.button-warning:active.bi-high-light-border,
.bi-list-item-select.button-warning.active.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.disabled {
color: #9ea6b2 !important;
@ -1253,7 +1253,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
@ -1266,7 +1266,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
@ -1322,12 +1322,12 @@ textarea {
}
.bi-theme-dark .bi-list-item-select3:hover,
.bi-theme-dark .bi-list-item-select3.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active,
.bi-theme-dark .bi-list-item-select3.active {
color: #3685f2;
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active .bi-input,
.bi-theme-dark .bi-list-item-select3.active .bi-input {
@ -1341,7 +1341,7 @@ textarea {
.bi-theme-dark .bi-list-item-select3.disabled.hover,
.bi-theme-dark .bi-list-item-select3.disabled:active,
.bi-theme-dark .bi-list-item-select3.disabled.active {
background-color: #242640 !important;
background-color: #20263b !important;
}
.bi-theme-dark .bi-list-item-select:hover,
.bi-theme-dark .bi-list-item-select.hover {
@ -2193,10 +2193,10 @@ textarea {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
@ -2494,9 +2494,9 @@ textarea {
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-right:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-top:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-bottom:before {
background-color: #242640;
border-bottom: 1px solid #2F3149;
border-right: 1px solid #2F3149;
background-color: #20263b;
border-bottom: 1px solid #292f45;
border-right: 1px solid #292f45;
}
.bi-combo > .bi-trigger .bi-trigger-icon-button .x-icon {
@ -2532,7 +2532,7 @@ textarea {
}
.bi-theme-dark .bi-combo.disabled.bi-combo-hover > .bi-border,
.bi-theme-dark .bi-combo.disabled:hover > .bi-border {
border-color: #3a3c53;
border-color: #363e55;
}
.bi-search-text-value-combo .trigger-icon-button {
@ -2544,7 +2544,7 @@ textarea {
border-radius: 2px;
}
.bi-search-text-value-combo.combo-error .bi-search-text-value-trigger .bi-text-button {
color: #ff4949;
color: #e65251;
}
.bi-search-text-value-combo .bi-combo.bi-combo-popup + .bi-trigger-icon-button .x-icon {
-webkit-transform: rotate(180deg);
@ -2566,11 +2566,11 @@ textarea {
}
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-check-combo.bi-combo-popup > .bi-border,
@ -2847,13 +2847,13 @@ textarea {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
background: #242640;
border-right: 1px solid #3a3c53;
border-top: 1px solid #3a3c53;
border-bottom: 1px solid #3a3c53;
background: #20263b;
border-right: 1px solid #363e55;
border-top: 1px solid #363e55;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-segment > .first-element {
border-left: 1px solid #242640;
border-left: 1px solid #20263b;
}
.bi-half-button {
-webkit-border-radius: 2px;
@ -3002,8 +3002,8 @@ body .bi-button.button-warning.clear .b-font:before,
}
body .bi-button.button-error,
#body .bi-button.button-error {
background-color: #ff4949;
border-color: #FF4949;
background-color: #e65251;
border-color: #e65251;
}
body .bi-button.button-error,
#body .bi-button.button-error,
@ -3020,7 +3020,7 @@ body .bi-button.button-error.clear,
#body .bi-button.button-error.clear,
body .bi-button.button-error.clear .b-font:before,
#body .bi-button.button-error.clear .b-font:before {
color: #ff4949;
color: #e65251;
}
body .bi-button.button-common.disabled,
#body .bi-button.button-common.disabled,
@ -3038,7 +3038,7 @@ body .bi-button.button-error.disabled.base-disabled,
#body .bi-button.button-error.disabled.base-disabled,
body .bi-button.button-warning.disabled.base-disabled,
#body .bi-button.button-warning.disabled.base-disabled {
background: #F2F4F7 !important;
background: #f2f4f7 !important;
border-color: #d0d4da !important;
}
body .bi-button.button-common.disabled,
@ -3350,10 +3350,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-radius: 9px 9px 9px 9px;
}
.bi-switch.disabled {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-switch.disabled:active {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-theme-dark .bi-switch {
background-color: #606479;
@ -3363,10 +3363,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-color: #3685f2;
}
.bi-theme-dark .bi-switch.disabled {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-switch.disabled:active {
background-color: #2F3149;
background-color: #292f45;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
@ -3662,7 +3662,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
opacity: 1;
}
.bi-checkbox.disabled .checkbox-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-checkbox.disabled .checkbox-content:after {
@ -3686,7 +3686,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-checkbox.disabled .checkbox-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-checkbox.disabled.active .checkbox-content {
background-color: #606479;
@ -3714,7 +3714,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none;
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-radio .radio-content {
-webkit-border-radius: 8px;
@ -3752,7 +3752,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: translate(-50%, -50%);
}
.bi-radio.disabled .radio-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-radio.disabled .radio-content:after {
@ -3776,7 +3776,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-radio.disabled .radio-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-radio.disabled .radio-content.hover,
.bi-theme-dark .bi-radio.disabled .radio-content:hover {
@ -3813,7 +3813,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.bi-bubble .bubble-error {
background: #ffecec;
color: #ff4949;
color: #e65251;
}
.bi-theme-dark .bi-bubble .bubble-error {
background: #3A2940;
@ -3850,7 +3850,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #faaa39;
}
.bi-toast.toast-error {
background: #ff4949;
background: #e65251;
}
.bi-toast.toast-normal {
background: #3685f2;
@ -3872,8 +3872,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border: 1px solid #647185;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
border: 1px solid #FF4949;
background: #e65251;
border: 1px solid #e65251;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
@ -3930,13 +3930,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.ztree li ul {
margin: 0;
padding: 0 0 0 18px;
padding: 0 0 0 22px;
}
.ztree li a {
padding: 1px 3px 0 0;
margin: 0;
cursor: pointer;
height: 24px;
height: 30px;
background-color: transparent;
text-decoration: none;
vertical-align: top;
@ -3978,7 +3978,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
*border: 0px;
}
.ztree li span {
line-height: 24px;
line-height: 30px;
margin-right: 2px;
}
.ztree li span.button {
@ -4050,8 +4050,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-position: -42px -56px;
}
.ztree li span.button.switch {
width: 25px;
height: 25px;
width: 30px;
height: 30px;
}
.ztree li span.button.noline_open {
background-position: -92px -72px;
@ -4195,7 +4195,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .first-element {
border-left: none;
@ -4406,7 +4406,7 @@ ul.ztree.zTreeDragUL {
font-size: 14px;
}
.bi-number-interval.number-error .bi-input {
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-quarter-trigger {
-webkit-border-radius: 2px;
@ -4417,7 +4417,7 @@ ul.ztree.zTreeDragUL {
font-size: 16px;
}
.bi-search-multi-text-value-combo.combo-error .bi-multi-select-searcher .tip-text-style {
color: #ff4949;
color: #e65251;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
@ -4486,15 +4486,15 @@ ul.ztree.zTreeDragUL {
left: -8px;
}
.bi-theme-dark .bi-single-slider-button .slider-button {
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-single-slider-button .slider-button:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-single-slider-button .slider-button.disabled:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.disabled.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-slider-track .gray-track {
background-color: rgba(61, 77, 102, 0.1);
@ -4532,10 +4532,10 @@ ul.ztree.zTreeDragUL {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff);
}
.bi-date-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-date-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-time-interval .bi-date-time-trigger {
-webkit-border-radius: 2px;
@ -4543,10 +4543,10 @@ ul.ztree.zTreeDragUL {
border-radius: 2px;
}
.bi-time-interval.time-error .bi-date-time-trigger .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-time-interval.time-error .bi-date-time-trigger .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-year-popup .year-popup-navigation {
line-height: 30px;
@ -4558,7 +4558,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
@ -4569,10 +4569,10 @@ ul.ztree.zTreeDragUL {
border-radius: 2px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
html {
height: 100%;
@ -4606,8 +4606,8 @@ body {
div::-webkit-scrollbar,
textarea::-webkit-scrollbar {
-webkit-appearance: none;
background-color: rgba(61, 77, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d3d4d66,endColorstr=#0d3d4d66);
background-color: rgba(32, 38, 59, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d20263b,endColorstr=#0d20263b);
width: 6px;
height: 6px;
}
@ -4616,13 +4616,13 @@ textarea::-webkit-scrollbar-thumb {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background-color: rgba(61, 77, 102, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d3d4d66,endColorstr=#4d3d4d66);
background-color: rgba(32, 38, 59, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d20263b,endColorstr=#4d20263b);
}
div::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
background-color: rgba(61, 77, 102, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b33d4d66,endColorstr=#b33d4d66);
background-color: rgba(32, 38, 59, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b320263b,endColorstr=#b320263b);
}
.bi-theme-dark div::-webkit-scrollbar,
.bi-theme-dark textarea::-webkit-scrollbar {
@ -4664,10 +4664,10 @@ textarea::-webkit-scrollbar-thumb:hover {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/2x/icon/check_box_normal.png') no-repeat center center;
@ -4938,7 +4938,7 @@ textarea::-webkit-scrollbar-thumb:hover {
.search-close-h-font:hover .b-font:before,
.search-close-h-font.hover .b-font:before {
content: "\e6d0";
color: #ff4949;
color: #e65251;
}
.search-close-h-font.disabled .b-font:before {
content: "\e6d0";

257
dist/bundle.ie.js vendored

@ -40083,7 +40083,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -40113,7 +40113,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -40208,6 +40208,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -40227,7 +40228,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -40241,6 +40242,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -40294,11 +40299,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -40333,6 +40340,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -40401,9 +40409,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -41639,14 +41645,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -42866,9 +42871,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -45380,7 +45384,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -52357,7 +52361,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52410,7 +52414,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -52439,7 +52443,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52522,7 +52526,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -52618,7 +52622,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52699,7 +52703,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52772,7 +52776,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -52868,7 +52872,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52989,7 +52993,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53018,19 +53022,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53085,7 +53089,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -53180,7 +53184,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53209,19 +53213,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53284,7 +53288,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53313,19 +53317,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53382,7 +53386,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -53482,7 +53486,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -53704,7 +53708,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -53721,7 +53725,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -53870,7 +53874,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -53886,7 +53890,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -54000,8 +54004,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54023,8 +54027,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54046,8 +54050,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54069,8 +54073,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -56195,7 +56199,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -56223,7 +56227,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -56398,7 +56402,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -56457,7 +56461,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -56496,7 +56500,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -57043,7 +57047,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -57118,7 +57122,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -57207,7 +57211,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57243,7 +57247,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -57272,7 +57276,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -57756,7 +57760,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -57850,9 +57854,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -58040,7 +58045,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -62875,7 +62880,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63010,8 +63015,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -63646,7 +63651,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -63859,7 +63864,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -64973,8 +64978,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -65824,8 +65829,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -67904,7 +67909,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -67923,7 +67928,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68156,7 +68161,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -69055,7 +69060,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69096,7 +69101,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69104,7 +69109,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69158,7 +69163,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69199,7 +69204,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69207,7 +69212,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69257,7 +69262,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69298,7 +69303,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69306,7 +69311,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69356,7 +69361,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69397,7 +69402,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69405,7 +69410,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70021,7 +70026,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70043,7 +70048,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70051,7 +70056,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70124,7 +70129,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70146,7 +70151,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70154,7 +70159,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70226,7 +70231,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70248,7 +70253,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70256,7 +70261,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70326,7 +70331,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70348,7 +70353,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70429,7 +70434,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70472,7 +70477,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70480,7 +70485,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70528,7 +70533,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70570,7 +70575,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70578,7 +70583,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70626,7 +70631,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70668,7 +70673,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70676,7 +70681,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -72387,7 +72392,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -77889,7 +77894,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -78785,7 +78790,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -79126,7 +79131,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79211,7 +79216,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79296,7 +79301,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79381,7 +79386,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -80973,7 +80978,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -83401,7 +83406,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -83409,6 +83414,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -84442,7 +84449,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -84899,7 +84906,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -84943,7 +84950,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -85197,7 +85204,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -85939,7 +85946,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86197,7 +86204,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

52
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

257
dist/bundle.js vendored

@ -40487,7 +40487,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -40517,7 +40517,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -40612,6 +40612,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -40631,7 +40632,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -40645,6 +40646,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -40698,11 +40703,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -40737,6 +40744,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -40805,9 +40813,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -42043,14 +42049,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -43270,9 +43275,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -45784,7 +45788,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -52761,7 +52765,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52814,7 +52818,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -52843,7 +52847,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52926,7 +52930,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -53022,7 +53026,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53103,7 +53107,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53176,7 +53180,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -53272,7 +53276,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53393,7 +53397,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53422,19 +53426,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53489,7 +53493,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -53584,7 +53588,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53613,19 +53617,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53688,7 +53692,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53717,19 +53721,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53786,7 +53790,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -53886,7 +53890,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -54108,7 +54112,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -54125,7 +54129,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -54274,7 +54278,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -54290,7 +54294,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -54404,8 +54408,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54427,8 +54431,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54450,8 +54454,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54473,8 +54477,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -56599,7 +56603,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -56627,7 +56631,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -56802,7 +56806,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -56861,7 +56865,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -56900,7 +56904,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -57447,7 +57451,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -57522,7 +57526,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -57611,7 +57615,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57647,7 +57651,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -57676,7 +57680,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -58160,7 +58164,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -58254,9 +58258,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -58444,7 +58449,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -63279,7 +63284,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63414,8 +63419,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -64050,7 +64055,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -64263,7 +64268,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -65377,8 +65382,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -66228,8 +66233,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68308,7 +68313,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -68327,7 +68332,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68560,7 +68565,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -69459,7 +69464,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69500,7 +69505,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69508,7 +69513,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69562,7 +69567,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69603,7 +69608,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69611,7 +69616,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69661,7 +69666,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69702,7 +69707,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69710,7 +69715,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69760,7 +69765,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69801,7 +69806,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69809,7 +69814,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70425,7 +70430,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70447,7 +70452,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70455,7 +70460,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70528,7 +70533,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70550,7 +70555,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70558,7 +70563,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70630,7 +70635,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70652,7 +70657,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70660,7 +70665,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70730,7 +70735,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70752,7 +70757,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70833,7 +70838,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70876,7 +70881,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70884,7 +70889,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70932,7 +70937,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70974,7 +70979,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70982,7 +70987,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -71030,7 +71035,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71072,7 +71077,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -71080,7 +71085,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -72791,7 +72796,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -78293,7 +78298,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79189,7 +79194,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -79530,7 +79535,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79615,7 +79620,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79700,7 +79705,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79785,7 +79790,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81377,7 +81382,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -83805,7 +83810,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -83813,6 +83818,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -84846,7 +84853,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -85303,7 +85310,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -85347,7 +85354,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -85601,7 +85608,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -86343,7 +86350,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86601,7 +86608,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

54
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

103
dist/case.js vendored

@ -430,7 +430,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -483,7 +483,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -512,7 +512,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -595,7 +595,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -691,7 +691,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -772,7 +772,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -845,7 +845,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -941,7 +941,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -1062,7 +1062,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -1091,19 +1091,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -1158,7 +1158,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -1253,7 +1253,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -1282,19 +1282,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -1357,7 +1357,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -1386,19 +1386,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -1455,7 +1455,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -1555,7 +1555,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -1777,7 +1777,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -1794,7 +1794,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -1943,7 +1943,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -1959,7 +1959,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -2073,8 +2073,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -2096,8 +2096,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -2119,8 +2119,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -2142,8 +2142,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -4268,7 +4268,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -4296,7 +4296,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -4471,7 +4471,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -4530,7 +4530,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -4569,7 +4569,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -5116,7 +5116,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -5191,7 +5191,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -5280,7 +5280,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -5316,7 +5316,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -5345,7 +5345,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -5829,7 +5829,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -5923,9 +5923,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -6113,7 +6114,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},

80
dist/core.css vendored

@ -284,7 +284,7 @@ textarea {
}
.bi-theme-dark input,
.bi-theme-dark textarea {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.base-disabled {
cursor: not-allowed !important;
@ -320,7 +320,7 @@ textarea {
border-color: #e8eaed;
}
.bi-theme-dark .bi-focus-shadow.disabled:hover {
border-color: #3a3c53;
border-color: #363e55;
}
.base-invalid {
cursor: default !important;
@ -348,7 +348,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-background {
background-color: #191B2B;
background-color: #191b2b;
color: #d6e0dc;
}
.bi-theme-dark .bi-background .bi-input {
@ -358,7 +358,7 @@ textarea {
color: #d6e0dc;
}
.bi-header-background {
background-color: #F2F4F7;
background-color: #f2f4f7;
color: #647185;
}
.bi-header-background .bi-input {
@ -368,7 +368,7 @@ textarea {
color: #647185;
}
.bi-theme-dark .bi-header-background {
background-color: #2F3149;
background-color: #292f45;
color: #afb7c6;
}
.bi-theme-dark .bi-header-background .bi-input {
@ -388,7 +388,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-card {
background-color: #242640;
background-color: #20263b;
color: #d6e0dc;
}
.bi-theme-dark .bi-card .bi-input {
@ -455,19 +455,19 @@ textarea {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
border-top: 1px solid #363e55;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
border-right: 1px solid #363e55;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-split {
border: 1px solid #f2f4f7;
@ -485,19 +485,19 @@ textarea {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split {
border: 1px solid #2F3149;
border: 1px solid #292f45;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
border-top: 1px solid #292f45;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
border-right: 1px solid #292f45;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
border-bottom: 1px solid #292f45;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
border-left: 1px solid #292f45;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
@ -544,13 +544,13 @@ textarea {
color: #3685f2;
}
.bi-error {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-high-light-background {
background-color: #3685f2;
@ -563,7 +563,7 @@ textarea {
color: #ffffff;
}
.bi-error-background {
background-color: #ff4949;
background-color: #e65251;
color: #ffffff;
}
.bi-error-background .bi-input {
@ -642,15 +642,15 @@ textarea {
color: #ffffff;
}
.bi-theme-dark .bi-mask {
color: #242640;
color: #20263b;
background-color: rgba(255, 255, 255, 0.2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff,endColorstr=#33ffffff);
}
.bi-theme-dark .bi-mask .bi-input {
color: #242640;
color: #20263b;
}
.bi-theme-dark .bi-mask .bi-textarea {
color: #242640;
color: #20263b;
}
.bi-z-index-mask {
background-color: rgba(35, 46, 64, 0.5);
@ -1095,45 +1095,45 @@ textarea {
border-color: #13cd66;
}
.bi-list-item-select.button-warning {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:hover,
.bi-list-item-select.button-warning.hover {
color: #ff4949;
color: #e65251;
background-color: #ffecec;
}
.bi-list-item-select.button-warning:hover .bi-input,
.bi-list-item-select.button-warning.hover .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-textarea,
.bi-list-item-select.button-warning.hover .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-high-light,
.bi-list-item-select.button-warning.hover .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover.bi-high-light-border,
.bi-list-item-select.button-warning.hover.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:active,
.bi-list-item-select.button-warning.active {
color: #ffffff;
background-color: #ff4949;
background-color: #e65251;
}
.bi-list-item-select.button-warning:active .bi-input,
.bi-list-item-select.button-warning.active .bi-input {
@ -1149,7 +1149,7 @@ textarea {
}
.bi-list-item-select.button-warning:active.bi-high-light-border,
.bi-list-item-select.button-warning.active.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.disabled {
color: #9ea6b2 !important;
@ -1253,7 +1253,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
@ -1266,7 +1266,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
@ -1322,12 +1322,12 @@ textarea {
}
.bi-theme-dark .bi-list-item-select3:hover,
.bi-theme-dark .bi-list-item-select3.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active,
.bi-theme-dark .bi-list-item-select3.active {
color: #3685f2;
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active .bi-input,
.bi-theme-dark .bi-list-item-select3.active .bi-input {
@ -1341,7 +1341,7 @@ textarea {
.bi-theme-dark .bi-list-item-select3.disabled.hover,
.bi-theme-dark .bi-list-item-select3.disabled:active,
.bi-theme-dark .bi-list-item-select3.disabled.active {
background-color: #242640 !important;
background-color: #20263b !important;
}
.bi-theme-dark .bi-list-item-select:hover,
.bi-theme-dark .bi-list-item-select.hover {

80
dist/core_without_normalize.css vendored

@ -4,7 +4,7 @@ textarea {
}
.bi-theme-dark input,
.bi-theme-dark textarea {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.base-disabled {
cursor: not-allowed !important;
@ -40,7 +40,7 @@ textarea {
border-color: #e8eaed;
}
.bi-theme-dark .bi-focus-shadow.disabled:hover {
border-color: #3a3c53;
border-color: #363e55;
}
.base-invalid {
cursor: default !important;
@ -68,7 +68,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-background {
background-color: #191B2B;
background-color: #191b2b;
color: #d6e0dc;
}
.bi-theme-dark .bi-background .bi-input {
@ -78,7 +78,7 @@ textarea {
color: #d6e0dc;
}
.bi-header-background {
background-color: #F2F4F7;
background-color: #f2f4f7;
color: #647185;
}
.bi-header-background .bi-input {
@ -88,7 +88,7 @@ textarea {
color: #647185;
}
.bi-theme-dark .bi-header-background {
background-color: #2F3149;
background-color: #292f45;
color: #afb7c6;
}
.bi-theme-dark .bi-header-background .bi-input {
@ -108,7 +108,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-card {
background-color: #242640;
background-color: #20263b;
color: #d6e0dc;
}
.bi-theme-dark .bi-card .bi-input {
@ -175,19 +175,19 @@ textarea {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
border-top: 1px solid #363e55;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
border-right: 1px solid #363e55;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-split {
border: 1px solid #f2f4f7;
@ -205,19 +205,19 @@ textarea {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split {
border: 1px solid #2F3149;
border: 1px solid #292f45;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
border-top: 1px solid #292f45;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
border-right: 1px solid #292f45;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
border-bottom: 1px solid #292f45;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
border-left: 1px solid #292f45;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
@ -264,13 +264,13 @@ textarea {
color: #3685f2;
}
.bi-error {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-high-light-background {
background-color: #3685f2;
@ -283,7 +283,7 @@ textarea {
color: #ffffff;
}
.bi-error-background {
background-color: #ff4949;
background-color: #e65251;
color: #ffffff;
}
.bi-error-background .bi-input {
@ -362,15 +362,15 @@ textarea {
color: #ffffff;
}
.bi-theme-dark .bi-mask {
color: #242640;
color: #20263b;
background-color: rgba(255, 255, 255, 0.2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff,endColorstr=#33ffffff);
}
.bi-theme-dark .bi-mask .bi-input {
color: #242640;
color: #20263b;
}
.bi-theme-dark .bi-mask .bi-textarea {
color: #242640;
color: #20263b;
}
.bi-z-index-mask {
background-color: rgba(35, 46, 64, 0.5);
@ -815,45 +815,45 @@ textarea {
border-color: #13cd66;
}
.bi-list-item-select.button-warning {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:hover,
.bi-list-item-select.button-warning.hover {
color: #ff4949;
color: #e65251;
background-color: #ffecec;
}
.bi-list-item-select.button-warning:hover .bi-input,
.bi-list-item-select.button-warning.hover .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-textarea,
.bi-list-item-select.button-warning.hover .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-high-light,
.bi-list-item-select.button-warning.hover .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover.bi-high-light-border,
.bi-list-item-select.button-warning.hover.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:active,
.bi-list-item-select.button-warning.active {
color: #ffffff;
background-color: #ff4949;
background-color: #e65251;
}
.bi-list-item-select.button-warning:active .bi-input,
.bi-list-item-select.button-warning.active .bi-input {
@ -869,7 +869,7 @@ textarea {
}
.bi-list-item-select.button-warning:active.bi-high-light-border,
.bi-list-item-select.button-warning.active.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.disabled {
color: #9ea6b2 !important;
@ -973,7 +973,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
@ -986,7 +986,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
@ -1042,12 +1042,12 @@ textarea {
}
.bi-theme-dark .bi-list-item-select3:hover,
.bi-theme-dark .bi-list-item-select3.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active,
.bi-theme-dark .bi-list-item-select3.active {
color: #3685f2;
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active .bi-input,
.bi-theme-dark .bi-list-item-select3.active .bi-input {
@ -1061,7 +1061,7 @@ textarea {
.bi-theme-dark .bi-list-item-select3.disabled.hover,
.bi-theme-dark .bi-list-item-select3.disabled:active,
.bi-theme-dark .bi-list-item-select3.disabled.active {
background-color: #242640 !important;
background-color: #20263b !important;
}
.bi-theme-dark .bi-list-item-select:hover,
.bi-theme-dark .bi-list-item-select.hover {

2
dist/demo.css vendored

@ -53,7 +53,7 @@ body {
bottom: 0;
}
.bi-theme-dark body {
background-color: #191B2B;
background-color: #191b2b;
}
.demo-editor {
border: 1px solid #cccccc;

13
dist/demo.js vendored

@ -2711,7 +2711,8 @@ BI.shortcut("demo.lazy_loader", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
}
},
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), {
type: "bi.multi_select_item"
type: "bi.multi_select_item",
height: 30
})
});
}
@ -4388,7 +4389,7 @@ BI.shortcut("demo.combo_group", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.button_group",
items: BI.createItems(BI.deepClone(this.years), {
type: "bi.single_select_radio_item",
height: 25,
height: 30,
handler: function (v) {
}
@ -5848,15 +5849,16 @@ BI.shortcut("demo.virtual_list", Demo.Func);Demo.AbsoluteLayout = BI.inherit(BI.
render: function () {
return {
type: "bi.absolute",
scrollx: true,
items: [{
el: {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
width: 800,
height: 200
},
left: 100,
right: 100,
top: 100
}]
};
@ -9216,9 +9218,11 @@ Demo.Items = BI.inherit(BI.Widget, {
text: "单选item"
}, {
type: "bi.single_select_item",
height: 30,
text: "单选项"
}, {
type: "bi.single_select_radio_item",
height: 30,
text: "单选项"
}, {
type: "bi.label",
@ -9226,6 +9230,7 @@ Demo.Items = BI.inherit(BI.Widget, {
text: "复选item"
}, {
type: "bi.multi_select_item",
height: 30,
text: "复选项"
}, {
type: "bi.switch",

196
dist/fineui.css vendored

@ -284,7 +284,7 @@ textarea {
}
.bi-theme-dark input,
.bi-theme-dark textarea {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.base-disabled {
cursor: not-allowed !important;
@ -320,7 +320,7 @@ textarea {
border-color: #e8eaed;
}
.bi-theme-dark .bi-focus-shadow.disabled:hover {
border-color: #3a3c53;
border-color: #363e55;
}
.base-invalid {
cursor: default !important;
@ -348,7 +348,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-background {
background-color: #191B2B;
background-color: #191b2b;
color: #d6e0dc;
}
.bi-theme-dark .bi-background .bi-input {
@ -358,7 +358,7 @@ textarea {
color: #d6e0dc;
}
.bi-header-background {
background-color: #F2F4F7;
background-color: #f2f4f7;
color: #647185;
}
.bi-header-background .bi-input {
@ -368,7 +368,7 @@ textarea {
color: #647185;
}
.bi-theme-dark .bi-header-background {
background-color: #2F3149;
background-color: #292f45;
color: #afb7c6;
}
.bi-theme-dark .bi-header-background .bi-input {
@ -388,7 +388,7 @@ textarea {
color: #3d4d66;
}
.bi-theme-dark .bi-card {
background-color: #242640;
background-color: #20263b;
color: #d6e0dc;
}
.bi-theme-dark .bi-card .bi-input {
@ -455,19 +455,19 @@ textarea {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
border: 1px solid #363e55;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
border-top: 1px solid #363e55;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
border-right: 1px solid #363e55;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-split {
border: 1px solid #f2f4f7;
@ -485,19 +485,19 @@ textarea {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split {
border: 1px solid #2F3149;
border: 1px solid #292f45;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
border-top: 1px solid #292f45;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
border-right: 1px solid #292f45;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
border-bottom: 1px solid #292f45;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
border-left: 1px solid #292f45;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
@ -544,13 +544,13 @@ textarea {
color: #3685f2;
}
.bi-error {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-error .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-high-light-background {
background-color: #3685f2;
@ -563,7 +563,7 @@ textarea {
color: #ffffff;
}
.bi-error-background {
background-color: #ff4949;
background-color: #e65251;
color: #ffffff;
}
.bi-error-background .bi-input {
@ -642,15 +642,15 @@ textarea {
color: #ffffff;
}
.bi-theme-dark .bi-mask {
color: #242640;
color: #20263b;
background-color: rgba(255, 255, 255, 0.2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff,endColorstr=#33ffffff);
}
.bi-theme-dark .bi-mask .bi-input {
color: #242640;
color: #20263b;
}
.bi-theme-dark .bi-mask .bi-textarea {
color: #242640;
color: #20263b;
}
.bi-z-index-mask {
background-color: rgba(35, 46, 64, 0.5);
@ -1095,45 +1095,45 @@ textarea {
border-color: #13cd66;
}
.bi-list-item-select.button-warning {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:hover,
.bi-list-item-select.button-warning.hover {
color: #ff4949;
color: #e65251;
background-color: #ffecec;
}
.bi-list-item-select.button-warning:hover .bi-input,
.bi-list-item-select.button-warning.hover .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-textarea,
.bi-list-item-select.button-warning.hover .bi-textarea {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover .bi-high-light,
.bi-list-item-select.button-warning.hover .bi-high-light {
color: #ff4949;
color: #e65251;
}
.bi-list-item-select.button-warning:hover.bi-high-light-border,
.bi-list-item-select.button-warning.hover.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.button-warning:active,
.bi-list-item-select.button-warning.active {
color: #ffffff;
background-color: #ff4949;
background-color: #e65251;
}
.bi-list-item-select.button-warning:active .bi-input,
.bi-list-item-select.button-warning.active .bi-input {
@ -1149,7 +1149,7 @@ textarea {
}
.bi-list-item-select.button-warning:active.bi-high-light-border,
.bi-list-item-select.button-warning.active.bi-high-light-border {
border-color: #FF4949;
border-color: #e65251;
}
.bi-list-item-select.disabled {
color: #9ea6b2 !important;
@ -1253,7 +1253,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
@ -1266,7 +1266,7 @@ textarea {
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
@ -1322,12 +1322,12 @@ textarea {
}
.bi-theme-dark .bi-list-item-select3:hover,
.bi-theme-dark .bi-list-item-select3.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active,
.bi-theme-dark .bi-list-item-select3.active {
color: #3685f2;
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-list-item-select3:active .bi-input,
.bi-theme-dark .bi-list-item-select3.active .bi-input {
@ -1341,7 +1341,7 @@ textarea {
.bi-theme-dark .bi-list-item-select3.disabled.hover,
.bi-theme-dark .bi-list-item-select3.disabled:active,
.bi-theme-dark .bi-list-item-select3.disabled.active {
background-color: #242640 !important;
background-color: #20263b !important;
}
.bi-theme-dark .bi-list-item-select:hover,
.bi-theme-dark .bi-list-item-select.hover {
@ -2193,10 +2193,10 @@ textarea {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
@ -2494,9 +2494,9 @@ textarea {
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-right:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-top:before,
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-bottom:before {
background-color: #242640;
border-bottom: 1px solid #2F3149;
border-right: 1px solid #2F3149;
background-color: #20263b;
border-bottom: 1px solid #292f45;
border-right: 1px solid #292f45;
}
.bi-combo > .bi-trigger .bi-trigger-icon-button .x-icon {
@ -2532,7 +2532,7 @@ textarea {
}
.bi-theme-dark .bi-combo.disabled.bi-combo-hover > .bi-border,
.bi-theme-dark .bi-combo.disabled:hover > .bi-border {
border-color: #3a3c53;
border-color: #363e55;
}
.bi-search-text-value-combo .trigger-icon-button {
@ -2544,7 +2544,7 @@ textarea {
border-radius: 2px;
}
.bi-search-text-value-combo.combo-error .bi-search-text-value-trigger .bi-text-button {
color: #ff4949;
color: #e65251;
}
.bi-search-text-value-combo .bi-combo.bi-combo-popup + .bi-trigger-icon-button .x-icon {
-webkit-transform: rotate(180deg);
@ -2566,11 +2566,11 @@ textarea {
}
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949;
color: #e65251;
}
.bi-text-value-check-combo.bi-combo-popup > .bi-border,
@ -2847,13 +2847,13 @@ textarea {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
background: #242640;
border-right: 1px solid #3a3c53;
border-top: 1px solid #3a3c53;
border-bottom: 1px solid #3a3c53;
background: #20263b;
border-right: 1px solid #363e55;
border-top: 1px solid #363e55;
border-bottom: 1px solid #363e55;
}
.bi-theme-dark .bi-segment > .first-element {
border-left: 1px solid #242640;
border-left: 1px solid #20263b;
}
.bi-half-button {
-webkit-border-radius: 2px;
@ -3002,8 +3002,8 @@ body .bi-button.button-warning.clear .b-font:before,
}
body .bi-button.button-error,
#body .bi-button.button-error {
background-color: #ff4949;
border-color: #FF4949;
background-color: #e65251;
border-color: #e65251;
}
body .bi-button.button-error,
#body .bi-button.button-error,
@ -3020,7 +3020,7 @@ body .bi-button.button-error.clear,
#body .bi-button.button-error.clear,
body .bi-button.button-error.clear .b-font:before,
#body .bi-button.button-error.clear .b-font:before {
color: #ff4949;
color: #e65251;
}
body .bi-button.button-common.disabled,
#body .bi-button.button-common.disabled,
@ -3038,7 +3038,7 @@ body .bi-button.button-error.disabled.base-disabled,
#body .bi-button.button-error.disabled.base-disabled,
body .bi-button.button-warning.disabled.base-disabled,
#body .bi-button.button-warning.disabled.base-disabled {
background: #F2F4F7 !important;
background: #f2f4f7 !important;
border-color: #d0d4da !important;
}
body .bi-button.button-common.disabled,
@ -3350,10 +3350,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-radius: 9px 9px 9px 9px;
}
.bi-switch.disabled {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-switch.disabled:active {
background-color: #F2F4F7;
background-color: #f2f4f7;
}
.bi-theme-dark .bi-switch {
background-color: #606479;
@ -3363,10 +3363,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-color: #3685f2;
}
.bi-theme-dark .bi-switch.disabled {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-switch.disabled:active {
background-color: #2F3149;
background-color: #292f45;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
@ -3662,7 +3662,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
opacity: 1;
}
.bi-checkbox.disabled .checkbox-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-checkbox.disabled .checkbox-content:after {
@ -3686,7 +3686,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-checkbox.disabled .checkbox-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-checkbox.disabled.active .checkbox-content {
background-color: #606479;
@ -3714,7 +3714,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-input.bi-input-error,
.bi-textarea.bi-input-error {
border: none;
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-radio .radio-content {
-webkit-border-radius: 8px;
@ -3752,7 +3752,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: translate(-50%, -50%);
}
.bi-radio.disabled .radio-content {
background-color: #F2F4F7;
background-color: #f2f4f7;
border-color: #d0d4da;
}
.bi-radio.disabled .radio-content:after {
@ -3776,7 +3776,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-color: #3685f2;
}
.bi-theme-dark .bi-radio.disabled .radio-content {
background-color: #2F3149;
background-color: #292f45;
}
.bi-theme-dark .bi-radio.disabled .radio-content.hover,
.bi-theme-dark .bi-radio.disabled .radio-content:hover {
@ -3813,7 +3813,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.bi-bubble .bubble-error {
background: #ffecec;
color: #ff4949;
color: #e65251;
}
.bi-theme-dark .bi-bubble .bubble-error {
background: #3A2940;
@ -3850,7 +3850,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #faaa39;
}
.bi-toast.toast-error {
background: #ff4949;
background: #e65251;
}
.bi-toast.toast-normal {
background: #3685f2;
@ -3872,8 +3872,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border: 1px solid #647185;
}
.bi-tooltip.tooltip-warning {
background: #ff4949;
border: 1px solid #FF4949;
background: #e65251;
border: 1px solid #e65251;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
@ -3930,13 +3930,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
}
.ztree li ul {
margin: 0;
padding: 0 0 0 18px;
padding: 0 0 0 22px;
}
.ztree li a {
padding: 1px 3px 0 0;
margin: 0;
cursor: pointer;
height: 24px;
height: 30px;
background-color: transparent;
text-decoration: none;
vertical-align: top;
@ -3978,7 +3978,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
*border: 0px;
}
.ztree li span {
line-height: 24px;
line-height: 30px;
margin-right: 2px;
}
.ztree li span.button {
@ -4050,8 +4050,8 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background-position: -42px -56px;
}
.ztree li span.button.switch {
width: 25px;
height: 25px;
width: 30px;
height: 30px;
}
.ztree li span.button.noline_open {
background-position: -92px -72px;
@ -4195,7 +4195,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-popup-view .list-view-toolbar > .first-element {
border-left: none;
@ -4406,7 +4406,7 @@ ul.ztree.zTreeDragUL {
font-size: 14px;
}
.bi-number-interval.number-error .bi-input {
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-quarter-trigger {
-webkit-border-radius: 2px;
@ -4417,7 +4417,7 @@ ul.ztree.zTreeDragUL {
font-size: 16px;
}
.bi-search-multi-text-value-combo.combo-error .bi-multi-select-searcher .tip-text-style {
color: #ff4949;
color: #e65251;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
@ -4486,15 +4486,15 @@ ul.ztree.zTreeDragUL {
left: -8px;
}
.bi-theme-dark .bi-single-slider-button .slider-button {
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-single-slider-button .slider-button:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-single-slider-button .slider-button.disabled:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.disabled.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-slider-track .gray-track {
background-color: rgba(61, 77, 102, 0.1);
@ -4532,10 +4532,10 @@ ul.ztree.zTreeDragUL {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff);
}
.bi-date-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-date-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-time-interval .bi-date-time-trigger {
-webkit-border-radius: 2px;
@ -4543,10 +4543,10 @@ ul.ztree.zTreeDragUL {
border-radius: 2px;
}
.bi-time-interval.time-error .bi-date-time-trigger .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-time-interval.time-error .bi-date-time-trigger .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-year-popup .year-popup-navigation {
line-height: 30px;
@ -4558,7 +4558,7 @@ ul.ztree.zTreeDragUL {
border-left: none;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
@ -4569,10 +4569,10 @@ ul.ztree.zTreeDragUL {
border-radius: 2px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
html {
height: 100%;
@ -4606,8 +4606,8 @@ body {
div::-webkit-scrollbar,
textarea::-webkit-scrollbar {
-webkit-appearance: none;
background-color: rgba(61, 77, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d3d4d66,endColorstr=#0d3d4d66);
background-color: rgba(32, 38, 59, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d20263b,endColorstr=#0d20263b);
width: 6px;
height: 6px;
}
@ -4616,13 +4616,13 @@ textarea::-webkit-scrollbar-thumb {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background-color: rgba(61, 77, 102, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d3d4d66,endColorstr=#4d3d4d66);
background-color: rgba(32, 38, 59, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d20263b,endColorstr=#4d20263b);
}
div::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
background-color: rgba(61, 77, 102, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b33d4d66,endColorstr=#b33d4d66);
background-color: rgba(32, 38, 59, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b320263b,endColorstr=#b320263b);
}
.bi-theme-dark div::-webkit-scrollbar,
.bi-theme-dark textarea::-webkit-scrollbar {
@ -4664,10 +4664,10 @@ textarea::-webkit-scrollbar-thumb:hover {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('resources?path=/com/fr/web/ui/images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('resources?path=/com/fr/web/ui/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png') no-repeat center center;
@ -4938,7 +4938,7 @@ textarea::-webkit-scrollbar-thumb:hover {
.search-close-h-font:hover .b-font:before,
.search-close-h-font.hover .b-font:before {
content: "\e6d0";
color: #ff4949;
color: #e65251;
}
.search-close-h-font.disabled .b-font:before {
content: "\e6d0";

257
dist/fineui.ie.js vendored

@ -40328,7 +40328,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -40358,7 +40358,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -40453,6 +40453,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -40472,7 +40473,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -40486,6 +40487,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -40539,11 +40544,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -40578,6 +40585,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -40646,9 +40654,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -41884,14 +41890,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -43111,9 +43116,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -45625,7 +45629,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -52602,7 +52606,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52655,7 +52659,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -52684,7 +52688,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52767,7 +52771,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -52863,7 +52867,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52944,7 +52948,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53017,7 +53021,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -53113,7 +53117,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53234,7 +53238,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53263,19 +53267,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53330,7 +53334,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -53425,7 +53429,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53454,19 +53458,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53529,7 +53533,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53558,19 +53562,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53627,7 +53631,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -53727,7 +53731,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -53949,7 +53953,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -53966,7 +53970,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -54115,7 +54119,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -54131,7 +54135,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -54245,8 +54249,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54268,8 +54272,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54291,8 +54295,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54314,8 +54318,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -56440,7 +56444,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -56468,7 +56472,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -56643,7 +56647,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -56702,7 +56706,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -56741,7 +56745,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -57288,7 +57292,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -57363,7 +57367,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -57452,7 +57456,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57488,7 +57492,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -57517,7 +57521,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -58001,7 +58005,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -58095,9 +58099,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -58285,7 +58290,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -63120,7 +63125,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63255,8 +63260,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -63891,7 +63896,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -64104,7 +64109,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -65218,8 +65223,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -66069,8 +66074,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68149,7 +68154,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -68168,7 +68173,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68401,7 +68406,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -69300,7 +69305,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69341,7 +69346,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69349,7 +69354,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69403,7 +69408,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69444,7 +69449,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69452,7 +69457,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69502,7 +69507,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69543,7 +69548,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69551,7 +69556,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69601,7 +69606,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69642,7 +69647,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69650,7 +69655,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70266,7 +70271,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70288,7 +70293,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70296,7 +70301,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70369,7 +70374,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70391,7 +70396,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70399,7 +70404,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70471,7 +70476,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70493,7 +70498,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70501,7 +70506,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70571,7 +70576,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70593,7 +70598,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70674,7 +70679,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70717,7 +70722,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70725,7 +70730,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70773,7 +70778,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70815,7 +70820,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70823,7 +70828,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70871,7 +70876,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70913,7 +70918,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70921,7 +70926,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -72632,7 +72637,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -78134,7 +78139,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79030,7 +79035,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -79371,7 +79376,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79456,7 +79461,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79541,7 +79546,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79626,7 +79631,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81218,7 +81223,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -83646,7 +83651,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -83654,6 +83659,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -84687,7 +84694,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -85144,7 +85151,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -85188,7 +85195,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -85442,7 +85449,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -86184,7 +86191,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86442,7 +86449,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

52
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

257
dist/fineui.js vendored

@ -40732,7 +40732,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -40762,7 +40762,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -40857,6 +40857,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -40876,7 +40877,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -40890,6 +40891,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;
@ -40943,11 +40948,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -40982,6 +40989,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -41050,9 +41058,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
@ -42288,14 +42294,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -43515,9 +43520,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -46029,7 +46033,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -53006,7 +53010,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53059,7 +53063,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -53088,7 +53092,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53171,7 +53175,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -53267,7 +53271,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53348,7 +53352,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53421,7 +53425,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -53517,7 +53521,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53638,7 +53642,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53667,19 +53671,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53734,7 +53738,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -53829,7 +53833,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53858,19 +53862,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -53933,7 +53937,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53962,19 +53966,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -54031,7 +54035,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -54131,7 +54135,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -54353,7 +54357,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -54370,7 +54374,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -54519,7 +54523,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -54535,7 +54539,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -54649,8 +54653,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54672,8 +54676,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54695,8 +54699,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -54718,8 +54722,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -56844,7 +56848,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -56872,7 +56876,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -57047,7 +57051,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -57106,7 +57110,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -57145,7 +57149,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -57692,7 +57696,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -57767,7 +57771,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -57856,7 +57860,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57892,7 +57896,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -57921,7 +57925,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -58405,7 +58409,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -58499,9 +58503,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -58689,7 +58694,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -63524,7 +63529,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63659,8 +63664,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -64295,7 +64300,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -64508,7 +64513,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -65622,8 +65627,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -66473,8 +66478,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68553,7 +68558,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -68572,7 +68577,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68805,7 +68810,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -69704,7 +69709,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69745,7 +69750,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69753,7 +69758,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69807,7 +69812,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69848,7 +69853,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69856,7 +69861,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -69906,7 +69911,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69947,7 +69952,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -69955,7 +69960,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70005,7 +70010,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70046,7 +70051,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70054,7 +70059,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70670,7 +70675,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70692,7 +70697,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70700,7 +70705,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70773,7 +70778,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70795,7 +70800,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70803,7 +70808,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70875,7 +70880,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70897,7 +70902,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -70905,7 +70910,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -70975,7 +70980,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70997,7 +71002,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -71078,7 +71083,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71121,7 +71126,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -71129,7 +71134,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -71177,7 +71182,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71219,7 +71224,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -71227,7 +71232,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -71275,7 +71280,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71317,7 +71322,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -71325,7 +71330,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -73036,7 +73041,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -78538,7 +78543,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79434,7 +79439,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -79775,7 +79780,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79860,7 +79865,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79945,7 +79950,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -80030,7 +80035,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81622,7 +81627,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -84050,7 +84055,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -84058,6 +84063,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -85091,7 +85098,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -85548,7 +85555,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -85592,7 +85599,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -85846,7 +85853,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -86588,7 +86595,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86846,7 +86853,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

52
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

231
dist/fineui_without_jquery_polyfill.js vendored

@ -29414,14 +29414,13 @@ BI.Combo = BI.inherit(BI.Widget, {
this._toggle();
},
destroy: function () {
destroyed: function () {
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName())
.unbind("mousewheel." + this.getName())
.unbind("mouseenter." + this.getName())
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
BI.Combo.superclass.destroy.apply(this, arguments);
}
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -30641,9 +30640,8 @@ BI.Searcher = BI.inherit(BI.Widget, {
this.popupView && this.popupView.empty();
},
destroy: function () {
destroyed: function () {
BI.Maskers.remove(this.getName());
BI.Searcher.superclass.destroy.apply(this, arguments);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";
@ -33155,7 +33153,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
height: o.height - 2
});
BI.createWidget({
type: "bi.horizontal_auto",
type: "bi.center_adapt",
cls: o.iconCls,
element: this,
hgap: o.hgap,
@ -37164,7 +37162,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -37217,7 +37215,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);
@ -37246,7 +37244,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -37329,7 +37327,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -37425,7 +37423,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -37506,7 +37504,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -37579,7 +37577,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""
@ -37675,7 +37673,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -37796,7 +37794,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -37825,19 +37823,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -37892,7 +37890,7 @@ BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""
@ -37987,7 +37985,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -38016,19 +38014,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -38091,7 +38089,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -38120,19 +38118,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {
@ -38189,7 +38187,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
height: 30,
iconCls: "",
iconHeight: 16,
iconWidth: 16
@ -38289,7 +38287,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "",
pId: "",
height: 24,
height: 30,
hgap: 0,
lgap: 0,
rgap: 0
@ -38511,7 +38509,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5,
@ -38528,7 +38526,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7,
rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 24,
rowSize: 30,
vgap: 10
}))]
});
@ -38677,7 +38675,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal",
once: false,
forceSelected: true,
height: 24,
height: 30,
width: 45,
value: td.text,
disabled: td.disabled
@ -38693,7 +38691,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 24
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1
@ -38807,8 +38805,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -38830,8 +38828,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -38853,8 +38851,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -38876,8 +38874,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1",
iconWidth: 24,
iconHeight: 24
iconWidth: 30,
iconHeight: 30
});
},
@ -39459,7 +39457,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -39487,7 +39485,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -39662,7 +39660,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if (BI.isKey(o.value)) {
@ -39721,7 +39719,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group",
items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth
@ -39760,7 +39758,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options;
items = BI.createItems(items, {
type: "bi.single_select_icon_text_item",
height: 24,
height: 30,
iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight,
iconWidth: o.iconWidth
@ -40307,7 +40305,7 @@ BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.T
return BI.extend({
type: "bi.single_select_item",
cls: "bi-list-item",
height: 24
height: 30
}, item);
});
},
@ -40382,7 +40380,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
if(BI.isKey(o.value)) {
@ -40471,7 +40469,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -40507,7 +40505,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
items: BI.createItems(o.items, {
type: "bi.single_select_item",
textAlign: o.textAlign,
height: 24
height: 30
}),
chooseType: o.chooseType,
layouts: [{
@ -40536,7 +40534,7 @@ BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueCom
BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, {
type: "bi.single_select_item",
height: 24
height: 30
});
this.popup.populate(items);
},
@ -41020,7 +41018,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -41114,9 +41112,10 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
},
setValue: function (k) {
var o = this.options;
this.editor.setValue(k);
this._checkText();
this.text.doRedMark(this.options.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {
@ -41304,7 +41303,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
} else {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
this.text.doRedMark(o.keyword);
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
}
}, this));
},
@ -45863,7 +45862,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -45998,8 +45997,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -46634,7 +46633,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -46847,7 +46846,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -47961,8 +47960,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -48812,8 +48811,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -50892,7 +50891,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -50911,7 +50910,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -51144,7 +51143,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -52043,7 +52042,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52084,7 +52083,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -52092,7 +52091,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -52146,7 +52145,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52187,7 +52186,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -52195,7 +52194,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -52245,7 +52244,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52286,7 +52285,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -52294,7 +52293,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -52344,7 +52343,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52385,7 +52384,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -52393,7 +52392,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -53009,7 +53008,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53031,7 +53030,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53039,7 +53038,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -53112,7 +53111,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53134,7 +53133,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53142,7 +53141,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -53214,7 +53213,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53236,7 +53235,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53244,7 +53243,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -53314,7 +53313,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53336,7 +53335,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53417,7 +53416,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -53460,7 +53459,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53468,7 +53467,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -53516,7 +53515,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -53558,7 +53557,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53566,7 +53565,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -53614,7 +53613,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -53656,7 +53655,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -53664,7 +53663,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -55375,7 +55374,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -60877,7 +60876,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -61773,7 +61772,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -62114,7 +62113,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -62199,7 +62198,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -62284,7 +62283,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -62369,7 +62368,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -63961,7 +63960,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -66389,7 +66388,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -66397,6 +66396,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -67430,7 +67431,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -67887,7 +67888,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -67931,7 +67932,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -68185,7 +68186,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -68927,7 +68928,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -69185,7 +69186,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

BIN
dist/images/1x/icon/dark/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 210 B

BIN
dist/images/1x/icon/dark/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 247 B

BIN
dist/images/1x/icon/dark/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 257 B

BIN
dist/images/1x/icon/dark/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 244 B

BIN
dist/images/1x/icon/dark/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 188 B

BIN
dist/images/1x/icon/dark/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 218 B

BIN
dist/images/1x/icon/dark/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 230 B

BIN
dist/images/1x/icon/dark/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 217 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

After

Width:  |  Height:  |  Size: 166 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 171 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 153 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 147 B

BIN
dist/images/1x/icon/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 209 B

BIN
dist/images/1x/icon/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 243 B

BIN
dist/images/1x/icon/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

After

Width:  |  Height:  |  Size: 253 B

BIN
dist/images/1x/icon/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 239 B

BIN
dist/images/1x/icon/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 188 B

BIN
dist/images/1x/icon/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 214 B

BIN
dist/images/1x/icon/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 226 B

BIN
dist/images/1x/icon/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 214 B

BIN
dist/images/1x/icon/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

BIN
dist/images/1x/icon/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

After

Width:  |  Height:  |  Size: 154 B

BIN
dist/images/1x/icon/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 171 B

BIN
dist/images/1x/icon/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 153 B

BIN
dist/images/1x/icon/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 147 B

BIN
dist/images/2x/icon/dark/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 311 B

BIN
dist/images/2x/icon/dark/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 370 B

BIN
dist/images/2x/icon/dark/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 394 B

BIN
dist/images/2x/icon/dark/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 B

After

Width:  |  Height:  |  Size: 366 B

BIN
dist/images/2x/icon/dark/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 285 B

BIN
dist/images/2x/icon/dark/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 349 B

BIN
dist/images/2x/icon/dark/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 B

After

Width:  |  Height:  |  Size: 374 B

BIN
dist/images/2x/icon/dark/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 345 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 124 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 265 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 287 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 243 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 238 B

BIN
dist/images/2x/icon/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 309 B

BIN
dist/images/2x/icon/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

After

Width:  |  Height:  |  Size: 372 B

BIN
dist/images/2x/icon/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 397 B

BIN
dist/images/2x/icon/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 372 B

BIN
dist/images/2x/icon/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 283 B

BIN
dist/images/2x/icon/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 345 B

BIN
dist/images/2x/icon/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 B

After

Width:  |  Height:  |  Size: 371 B

BIN
dist/images/2x/icon/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 341 B

BIN
dist/images/2x/icon/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 124 B

BIN
dist/images/2x/icon/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 241 B

BIN
dist/images/2x/icon/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

After

Width:  |  Height:  |  Size: 286 B

BIN
dist/images/2x/icon/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 242 B

BIN
dist/images/2x/icon/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 238 B

18
dist/resource.css vendored

@ -30,8 +30,8 @@ body {
div::-webkit-scrollbar,
textarea::-webkit-scrollbar {
-webkit-appearance: none;
background-color: rgba(61, 77, 102, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d3d4d66,endColorstr=#0d3d4d66);
background-color: rgba(32, 38, 59, 0.05);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d20263b,endColorstr=#0d20263b);
width: 6px;
height: 6px;
}
@ -40,13 +40,13 @@ textarea::-webkit-scrollbar-thumb {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background-color: rgba(61, 77, 102, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d3d4d66,endColorstr=#4d3d4d66);
background-color: rgba(32, 38, 59, 0.3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d20263b,endColorstr=#4d20263b);
}
div::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
background-color: rgba(61, 77, 102, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b33d4d66,endColorstr=#b33d4d66);
background-color: rgba(32, 38, 59, 0.7);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b320263b,endColorstr=#b320263b);
}
.bi-theme-dark div::-webkit-scrollbar,
.bi-theme-dark textarea::-webkit-scrollbar {
@ -88,10 +88,10 @@ textarea::-webkit-scrollbar-thumb:hover {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
@ -362,7 +362,7 @@ textarea::-webkit-scrollbar-thumb:hover {
.search-close-h-font:hover .b-font:before,
.search-close-h-font.hover .b-font:before {
content: "\e6d0";
color: #ff4949;
color: #e65251;
}
.search-close-h-font.disabled .b-font:before {
content: "\e6d0";

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/widget.css vendored

@ -199,7 +199,7 @@
font-size: 14px;
}
.bi-number-interval.number-error .bi-input {
color: #ff4949 !important;
color: #e65251 !important;
}
.bi-quarter-trigger {
-webkit-border-radius: 2px;
@ -210,7 +210,7 @@
font-size: 16px;
}
.bi-search-multi-text-value-combo.combo-error .bi-multi-select-searcher .tip-text-style {
color: #ff4949;
color: #e65251;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
@ -279,15 +279,15 @@
left: -8px;
}
.bi-theme-dark .bi-single-slider-button .slider-button {
background-color: #242640;
background-color: #20263b;
}
.bi-theme-dark .bi-single-slider-button .slider-button:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-theme-dark .bi-single-slider-button .slider-button.disabled:hover,
.bi-theme-dark .bi-single-slider-button .slider-button.disabled.hover {
background-color: #191B2B;
background-color: #191b2b;
}
.bi-slider-track .gray-track {
background-color: rgba(61, 77, 102, 0.1);
@ -325,10 +325,10 @@
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff);
}
.bi-date-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-date-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-time-interval .bi-date-time-trigger {
-webkit-border-radius: 2px;
@ -336,10 +336,10 @@
border-radius: 2px;
}
.bi-time-interval.time-error .bi-date-time-trigger .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-time-interval.time-error .bi-date-time-trigger .sign-editor-text {
color: #ff4949;
color: #e65251;
}
.bi-year-popup .year-popup-navigation {
line-height: 30px;
@ -351,7 +351,7 @@
border-left: none;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #3a3c53;
border-left: 1px solid #363e55;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
@ -362,8 +362,8 @@
border-radius: 2px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
color: #e65251;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
color: #e65251;
}

120
dist/widget.js vendored

@ -1024,7 +1024,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -1159,8 +1159,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup",
width: 268,
height: 374
width: 310,
height: 410
});
},
_init: function () {
@ -1795,7 +1795,7 @@ BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
height: 30,
logic: {
dynamic: true
},
@ -2008,7 +2008,7 @@ BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/**
BI.DownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -3122,8 +3122,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: {
baseCls: "bi-dynamic-date-popup",
width: 248,
height: 344
width: 290,
height: 380
},
_init: function () {
@ -3973,8 +3973,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -6053,7 +6053,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -6072,7 +6072,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -6305,7 +6305,7 @@ BI.shortcut("bi.multi_layer_down_list_combo", BI.DownListCombo);/**
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: {
nextIcon: "pull-right-e-font",
height: 25,
height: 30,
iconHeight: 12,
iconWidth: 12,
hgap: 0,
@ -7204,7 +7204,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -7245,7 +7245,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -7253,7 +7253,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -7307,7 +7307,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -7348,7 +7348,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -7356,7 +7356,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -7406,7 +7406,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -7447,7 +7447,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -7455,7 +7455,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -7505,7 +7505,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -7546,7 +7546,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -7554,7 +7554,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -8170,7 +8170,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -8192,7 +8192,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8200,7 +8200,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -8273,7 +8273,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -8295,7 +8295,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8303,7 +8303,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -8375,7 +8375,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -8397,7 +8397,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8405,7 +8405,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -8475,7 +8475,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -8497,7 +8497,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8578,7 +8578,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -8621,7 +8621,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8629,7 +8629,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -8677,7 +8677,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -8719,7 +8719,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8727,7 +8727,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -8775,7 +8775,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -8817,7 +8817,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({
type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
});
});
@ -8825,7 +8825,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 12),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -10536,7 +10536,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -16038,7 +16038,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -16934,7 +16934,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});
@ -17275,7 +17275,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -17360,7 +17360,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -17445,7 +17445,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -17530,7 +17530,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -19122,7 +19122,7 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
type: this.options.allowNoSelect ? "bi.single_select_item" : "bi.single_select_combo_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: 30,
selected: false
});
},
@ -21550,7 +21550,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
_const: {
COMPARE_FORMAT: "%H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S",
COMPLETE_COMPARE_FORMAT: "%Y-%M-%d %H:%M:%S %P",
FORMAT_ARRAY: [
"%H:%M:%S", // HH:mm:ss
"%I:%M:%S", // hh:mm:ss
@ -21558,6 +21558,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
"%k:%M:%S", // H:mm:ss
"%l:%M:%S %p", // h:mm:ss a
"%l:%M:%S %P", // h:mm:ss a
"%H:%M:%S %p", // HH:mm:ss a
"%H:%M:%S %P", // HH:mm:ss a
"%l:%M", // h:mm
"%k:%M", // H:mm
"%I:%M", // hh:mm
@ -22591,7 +22593,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 276
},
render: function () {
@ -23048,7 +23050,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 23,
height: 30,
width: 38,
value: td,
text: td
@ -23092,7 +23094,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
columns: 2,
rows: 6,
columnSize: [1 / 2, 1 / 2],
rowSize: 25
rowSize: 30
})), {
type: "bi.center_adapt",
vgap: 1,
@ -23346,7 +23348,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 270
},
render: function () {
@ -24088,7 +24090,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -24346,7 +24348,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

4
public/css/background.css

@ -17,10 +17,10 @@
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
}
.ztree li ul.line {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
}
.bi-theme-dark .ztree li ul.line {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/images/2x/icon/check_box_normal.png') no-repeat center center;

11
src/base/tree/ztree/asynctree.js

@ -54,7 +54,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
var checked = treeNode.checked;
var status = treeNode.getCheckStatus();
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
checked = false;
}
zTree.checkNode(treeNode, !checked, true, true);
@ -84,7 +84,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
var status = treeNode.getCheckStatus();
// 当前点击节点的状态是半选,且为true_part, 则将其改为false_part,使得点击半选后切换到的是全选
if(status.half === true && status.checked === true) {
if (status.half === true && status.checked === true) {
treeNode.checked = false;
}
}
@ -179,6 +179,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
var map = {};
track([], valueA, valueB);
track([], valueB, valueA);
function track (parent, node, compare) {
BI.each(node, function (n, item) {
if (BI.isNull(compare[n])) {
@ -198,7 +199,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return !BI.isEmpty(this.options.paras.selectedValues) || BI.AsyncTree.superclass.hasChecked.apply(this, arguments);
},
getValue: function () {
_getJoinValue: function () {
if (!this.nodes) {
return {};
}
@ -212,6 +213,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
return this._join(checkedValues, this.options.paras.selectedValues);
},
getValue: function () {
return this._getJoinValue();
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;

15
src/base/tree/ztree/parttree.js

@ -42,11 +42,13 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode));
var name = this._getNodeValue(treeNode);
if (treeNode.checked === true) {
this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator({
this.options.paras.selectedValues = this._getJoinValue();
// this._buildTree(self.options.paras.selectedValues, BI.concat(parentValues, name));
o.itemsCreator(BI.extend({}, o.paras, {
type: BI.TreeView.REQ_TYPE_ADJUST_DATA,
selectedValues: self.options.paras.selectedValues
}, function (res) {
curSelectedValue: name,
parentValues: parentValues
}), function (res) {
self.options.paras.selectedValues = res;
BI.AsyncTree.superclass._selectTreeNode.apply(self, arguments);
});
@ -81,6 +83,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
var hashMap = {};
var rootNoots = this.nodes.getNodes();
track(rootNoots);
function track (nodes) {
BI.each(nodes, function (i, node) {
var checkState = node.getCheckStatus();
@ -149,9 +152,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
},
getValue: function () {
var o = this.options;
var result = BI.PartTree.superclass.getValue.apply(this, arguments);
return result;
return BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法

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

@ -12,7 +12,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -65,7 +65,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
BI.ArrowNode.superclass.doClick.apply(this, arguments);
this.checkbox.setSelected(this.isOpened());
},
setText: function (text) {
BI.ArrowNode.superclass.setText.apply(this, arguments);
this.text.setText(text);

2
src/case/button/node/node.first.plus.js

@ -15,7 +15,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {

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

@ -17,7 +17,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""

2
src/case/button/node/node.last.plus.js

@ -15,7 +15,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {

2
src/case/button/node/node.mid.plus.js

@ -15,7 +15,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {

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

@ -7,7 +7,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 16,
iconWidth: 16,
iconCls: ""

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

@ -15,7 +15,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {

10
src/case/button/treeitem/item.first.treeleaf.js

@ -13,7 +13,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -42,19 +42,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "first-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {

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

@ -5,7 +5,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, {
logic: {
dynamic: false
},
height: 24,
height: 30,
iconWidth: 16,
iconHeight: 16,
iconCls: ""

10
src/case/button/treeitem/item.last.treeleaf.js

@ -13,7 +13,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -42,19 +42,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "last-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {

10
src/case/button/treeitem/item.mid.treeleaf.js

@ -13,7 +13,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -42,19 +42,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 12,
width: 16,
el: {
type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 12,
width: 16,
height: o.height
}
}), {
width: 24,
width: 30,
el: {
type: "bi.layout",
cls: "mid-line-conn-background",
width: 24,
width: 30,
height: o.height
}
}, {

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

Loading…
Cancel
Save