Browse Source

Merge pull request #975 in VISUAL/fineui from ~GUY/fineui:master to master

* commit '76ec3c5cb2be47c7a1e0eac266d34151f9f71bc9':
  bugfix
es6
guy 5 years ago
parent
commit
e7c43f59bb
  1. 196
      dist/2.0/fineui.css
  2. 253
      dist/2.0/fineui.ie.js
  3. 52
      dist/2.0/fineui.ie.min.js
  4. 253
      dist/2.0/fineui.js
  5. 48
      dist/2.0/fineui.min.js
  6. 74
      dist/base.css
  7. 30
      dist/base.js
  8. 196
      dist/bundle.css
  9. 253
      dist/bundle.ie.js
  10. 52
      dist/bundle.ie.min.js
  11. 253
      dist/bundle.js
  12. 48
      dist/bundle.min.js
  13. 103
      dist/case.js
  14. 80
      dist/core.css
  15. 80
      dist/core_without_normalize.css
  16. 2
      dist/demo.css
  17. 13
      dist/demo.js
  18. 196
      dist/fineui.css
  19. 253
      dist/fineui.ie.js
  20. 52
      dist/fineui.ie.min.js
  21. 253
      dist/fineui.js
  22. 46
      dist/fineui.min.js
  23. 231
      dist/fineui_without_jquery_polyfill.js
  24. 18
      dist/resource.css
  25. 2
      dist/utils.min.js
  26. 24
      dist/widget.css
  27. 120
      dist/widget.js
  28. 11
      src/base/tree/ztree/asynctree.js
  29. 11
      src/base/tree/ztree/parttree.js

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";

253
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -41639,14 +41647,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 +42873,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 +45386,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 +52363,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52410,7 +52416,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 +52445,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52522,7 +52528,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -52618,7 +52624,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52699,7 +52705,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52772,7 +52778,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 +52874,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52989,7 +52995,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53018,19 +53024,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 +53091,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 +53186,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53209,19 +53215,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 +53290,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53313,19 +53319,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 +53388,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 +53488,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 +53710,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 +53727,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 +53876,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 +53892,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 +54006,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 +54029,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 +54052,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 +54075,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 +56201,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 +56229,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 +56404,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 +56463,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 +56502,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 +57049,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 +57124,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 +57213,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57243,7 +57249,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 +57278,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 +57762,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 +57856,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 +58047,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 +62882,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63010,8 +63017,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 +63653,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 +63866,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 +64980,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 +65831,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -67904,7 +67911,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 +67930,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 +68163,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 +69062,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69096,7 +69103,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 +69111,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 +69165,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69199,7 +69206,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 +69214,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 +69264,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69298,7 +69305,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 +69313,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 +69363,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69397,7 +69404,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 +69412,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 +70028,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70043,7 +70050,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 +70058,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 +70131,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70146,7 +70153,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 +70161,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 +70233,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70248,7 +70255,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 +70263,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 +70333,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70348,7 +70355,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 +70436,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70472,7 +70479,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 +70487,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 +70535,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70570,7 +70577,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 +70585,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 +70633,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70668,7 +70675,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 +70683,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 +72394,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 +77896,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -78785,7 +78792,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 +79133,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79211,7 +79218,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79296,7 +79303,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79381,7 +79388,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -80973,7 +80980,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 +83408,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 +83416,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 +84451,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 +84908,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 +84952,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 +85206,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 +85948,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86197,7 +86206,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

253
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -42043,14 +42051,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 +43277,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 +45790,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 +52767,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52814,7 +52820,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 +52849,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52926,7 +52932,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -53022,7 +53028,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53103,7 +53109,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53176,7 +53182,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 +53278,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53393,7 +53399,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53422,19 +53428,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 +53495,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 +53590,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53613,19 +53619,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 +53694,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53717,19 +53723,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 +53792,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 +53892,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 +54114,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 +54131,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 +54280,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 +54296,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 +54410,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 +54433,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 +54456,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 +54479,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 +56605,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 +56633,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 +56808,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 +56867,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 +56906,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 +57453,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 +57528,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 +57617,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57647,7 +57653,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 +57682,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 +58166,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 +58260,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 +58451,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 +63286,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63414,8 +63421,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 +64057,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 +64270,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 +65384,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 +66235,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68308,7 +68315,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 +68334,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 +68567,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 +69466,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69500,7 +69507,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 +69515,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 +69569,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69603,7 +69610,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 +69618,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 +69668,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69702,7 +69709,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 +69717,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 +69767,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69801,7 +69808,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 +69816,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 +70432,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70447,7 +70454,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 +70462,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 +70535,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70550,7 +70557,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 +70565,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 +70637,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70652,7 +70659,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 +70667,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 +70737,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70752,7 +70759,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 +70840,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70876,7 +70883,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 +70891,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 +70939,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70974,7 +70981,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 +70989,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 +71037,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71072,7 +71079,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 +71087,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 +72798,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 +78300,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79189,7 +79196,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 +79537,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79615,7 +79622,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79700,7 +79707,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79785,7 +79792,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81377,7 +81384,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 +83812,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 +83820,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 +84855,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 +85312,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 +85356,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 +85610,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 +86352,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86601,7 +86610,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

48
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;

30
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -3818,14 +3826,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 +5052,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 +7565,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";

253
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -41639,14 +41647,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 +42873,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 +45386,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 +52363,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52410,7 +52416,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 +52445,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52522,7 +52528,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -52618,7 +52624,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52699,7 +52705,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52772,7 +52778,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 +52874,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52989,7 +52995,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53018,19 +53024,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 +53091,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 +53186,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53209,19 +53215,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 +53290,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53313,19 +53319,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 +53388,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 +53488,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 +53710,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 +53727,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 +53876,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 +53892,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 +54006,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 +54029,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 +54052,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 +54075,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 +56201,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 +56229,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 +56404,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 +56463,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 +56502,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 +57049,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 +57124,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 +57213,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57243,7 +57249,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 +57278,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 +57762,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 +57856,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 +58047,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 +62882,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63010,8 +63017,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 +63653,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 +63866,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 +64980,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 +65831,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -67904,7 +67911,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 +67930,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 +68163,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 +69062,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69096,7 +69103,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 +69111,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 +69165,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69199,7 +69206,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 +69214,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 +69264,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69298,7 +69305,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 +69313,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 +69363,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69397,7 +69404,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 +69412,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 +70028,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70043,7 +70050,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 +70058,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 +70131,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70146,7 +70153,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 +70161,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 +70233,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70248,7 +70255,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 +70263,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 +70333,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70348,7 +70355,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 +70436,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70472,7 +70479,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 +70487,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 +70535,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70570,7 +70577,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 +70585,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 +70633,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70668,7 +70675,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 +70683,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 +72394,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 +77896,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -78785,7 +78792,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 +79133,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79211,7 +79218,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79296,7 +79303,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79381,7 +79388,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -80973,7 +80980,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 +83408,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 +83416,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 +84451,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 +84908,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 +84952,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 +85206,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 +85948,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86197,7 +86206,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

253
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -42043,14 +42051,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 +43277,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 +45790,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 +52767,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52814,7 +52820,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 +52849,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52926,7 +52932,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -53022,7 +53028,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53103,7 +53109,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53176,7 +53182,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 +53278,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53393,7 +53399,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53422,19 +53428,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 +53495,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 +53590,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53613,19 +53619,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 +53694,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53717,19 +53723,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 +53792,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 +53892,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 +54114,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 +54131,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 +54280,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 +54296,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 +54410,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 +54433,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 +54456,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 +54479,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 +56605,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 +56633,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 +56808,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 +56867,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 +56906,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 +57453,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 +57528,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 +57617,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57647,7 +57653,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 +57682,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 +58166,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 +58260,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 +58451,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 +63286,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63414,8 +63421,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 +64057,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 +64270,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 +65384,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 +66235,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68308,7 +68315,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 +68334,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 +68567,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 +69466,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69500,7 +69507,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 +69515,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 +69569,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69603,7 +69610,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 +69618,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 +69668,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69702,7 +69709,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 +69717,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 +69767,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69801,7 +69808,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 +69816,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 +70432,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70447,7 +70454,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 +70462,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 +70535,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70550,7 +70557,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 +70565,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 +70637,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70652,7 +70659,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 +70667,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 +70737,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70752,7 +70759,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 +70840,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70876,7 +70883,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 +70891,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 +70939,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70974,7 +70981,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 +70989,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 +71037,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71072,7 +71079,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 +71087,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 +72798,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 +78300,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79189,7 +79196,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 +79537,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79615,7 +79622,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79700,7 +79707,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79785,7 +79792,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81377,7 +81384,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 +83812,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 +83820,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 +84855,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 +85312,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 +85356,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 +85610,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 +86352,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86601,7 +86610,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

48
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";

253
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -41884,14 +41892,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 +43118,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 +45631,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 +52608,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52655,7 +52661,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 +52690,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52767,7 +52773,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -52863,7 +52869,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -52944,7 +52950,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53017,7 +53023,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 +53119,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53234,7 +53240,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53263,19 +53269,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 +53336,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 +53431,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53454,19 +53460,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 +53535,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53558,19 +53564,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 +53633,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 +53733,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 +53955,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 +53972,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 +54121,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 +54137,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 +54251,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 +54274,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 +54297,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 +54320,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 +56446,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 +56474,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 +56649,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 +56708,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 +56747,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 +57294,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 +57369,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 +57458,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57488,7 +57494,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 +57523,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 +58007,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 +58101,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 +58292,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 +63127,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63255,8 +63262,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 +63898,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 +64111,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 +65225,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 +66076,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68149,7 +68156,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 +68175,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 +68408,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 +69307,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69341,7 +69348,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 +69356,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 +69410,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69444,7 +69451,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 +69459,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 +69509,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69543,7 +69550,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 +69558,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 +69608,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69642,7 +69649,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 +69657,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 +70273,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70288,7 +70295,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 +70303,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 +70376,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70391,7 +70398,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 +70406,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 +70478,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70493,7 +70500,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 +70508,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 +70578,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70593,7 +70600,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 +70681,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70717,7 +70724,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 +70732,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 +70780,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70815,7 +70822,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 +70830,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 +70878,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -70913,7 +70920,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 +70928,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 +72639,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 +78141,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79030,7 +79037,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 +79378,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79456,7 +79463,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79541,7 +79548,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79626,7 +79633,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81218,7 +81225,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 +83653,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 +83661,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 +84696,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 +85153,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 +85197,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 +85451,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 +86193,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86442,7 +86451,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

253
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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
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();
@ -42288,14 +42296,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 +43522,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 +46035,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 +53012,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53059,7 +53065,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 +53094,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53171,7 +53177,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24,
height: 30,
iconHeight: 12,
iconWidth: 12,
iconCls: ""
@ -53267,7 +53273,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53348,7 +53354,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53421,7 +53427,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 +53523,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -53638,7 +53644,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53667,19 +53673,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 +53740,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 +53835,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53858,19 +53864,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 +53939,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "",
pId: "",
layer: 0,
height: 24
height: 30
});
},
_init: function () {
@ -53962,19 +53968,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 +54037,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 +54137,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 +54359,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 +54376,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 +54525,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 +54541,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 +54655,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 +54678,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 +54701,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 +54724,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 +56850,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 +56878,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 +57053,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 +57112,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 +57151,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 +57698,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 +57773,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 +57862,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger,
popup: {
el: this.popup,
maxHeight: 240
maxHeight: 300
}
});
},
@ -57892,7 +57898,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 +57927,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 +58411,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 +58505,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 +58696,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 +63531,7 @@ BI.extend(BI.DynamicDatePane, {
BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: {
popupHeight: 290,
popupWidth: 270,
popupWidth: 310,
comboAdjustHeight: 1,
border: 1
},
@ -63659,8 +63666,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 +64302,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 +64515,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 +65629,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 +66480,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
props: {
baseCls: "bi-dynamic-date-time-popup",
width: 248,
height: 385
width: 290,
height: 421
},
_init: function () {
@ -68553,7 +68560,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 +68579,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 +68812,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 +69711,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69745,7 +69752,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 +69760,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 +69814,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69848,7 +69855,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 +69863,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 +69913,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -69947,7 +69954,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 +69962,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 +70012,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70046,7 +70053,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 +70061,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 +70677,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70692,7 +70699,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 +70707,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 +70780,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70795,7 +70802,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 +70810,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 +70882,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70897,7 +70904,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 +70912,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 +70982,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "",
pId: "",
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -70997,7 +71004,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 +71085,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71121,7 +71128,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 +71136,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 +71184,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71219,7 +71226,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 +71234,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 +71282,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0,
id: "",
pId: "",
height: 24
height: 30
});
},
_init: function () {
@ -71317,7 +71324,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 +71332,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 +73043,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 +78545,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 25
height: 30
});
});
@ -79434,7 +79441,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 +79782,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79860,7 +79867,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -79945,7 +79952,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -80030,7 +80037,7 @@ BI.SelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "",
readonly: true,
open: false,
height: 24
height: 30
});
},
_init: function () {
@ -81622,7 +81629,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 +84057,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 +84065,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 +85100,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 +85557,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 +85601,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 +85855,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 +86597,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static
whiteSpace: "nowrap",
once: false,
forceSelected: true,
height: 24
height: 30
});
});
},
@ -86846,7 +86855,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期,
width: 180,
height: 240
height: 260
},
render: function () {

46
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 () {

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 () {

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 BI.deepClone(this.options.paras.selectedValues || {});
},
// 生成树方法
stroke: function (config) {
delete this.options.keyword;

11
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();

Loading…
Cancel
Save