Browse Source

BI-33958 text生命周期

es6
imp 6 years ago
parent
commit
66ee4249ea
  1. 8
      dist/base.js
  2. 78
      dist/bundle.css
  3. 8
      dist/bundle.ie.js
  4. 4
      dist/bundle.ie.min.js
  5. 8
      dist/bundle.js
  6. 16
      dist/bundle.min.js
  7. 25
      dist/demo.js
  8. 78
      dist/fineui.css
  9. 8
      dist/fineui.ie.js
  10. 4
      dist/fineui.ie.min.js
  11. 8
      dist/fineui.js
  12. 16
      dist/fineui.min.js
  13. 8
      dist/fineui_without_jquery_polyfill.js
  14. 2
      dist/utils.min.js
  15. 3
      src/base/single/text.js

8
dist/base.js vendored

@ -535,8 +535,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({
@ -584,6 +583,11 @@ BI.Text = BI.inherit(BI.Single, {
} else { } else {
this.text = this; this.text = this;
} }
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) { if (BI.isKey(o.text)) {
this.setText(o.text); this.setText(o.text);
} else if (BI.isKey(o.value)) { } else if (BI.isKey(o.value)) {

78
dist/bundle.css vendored

@ -1590,7 +1590,7 @@ textarea {
-o-align-items: center; -o-align-items: center;
align-items: center; align-items: center;
} }
.bi-flex-horizontal-layout { .bi-flex-horizontal-layout {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1661,7 +1661,7 @@ textarea {
-o-align-items: flex-end; -o-align-items: flex-end;
align-items: flex-end; align-items: flex-end;
} }
.bi-flex-vertical-center { .bi-flex-vertical-center {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1738,7 +1738,7 @@ textarea {
-o-align-items: stretch; -o-align-items: stretch;
align-items: stretch; align-items: stretch;
} }
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper { .bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1782,7 +1782,7 @@ textarea {
min-height: 100%; min-height: 100%;
float: left; float: left;
} }
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper { .bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1852,7 +1852,7 @@ textarea {
-o-align-items: flex-end; -o-align-items: flex-end;
align-items: flex-end; align-items: flex-end;
} }
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper { .bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1937,7 +1937,7 @@ textarea {
vertical-align: middle; vertical-align: middle;
content: ' '; content: ' ';
} }
.bi-inline-vertical-adapt-layout:after { .bi-inline-vertical-adapt-layout:after {
display: inline-block; display: inline-block;
width: 0; width: 0;
@ -1961,7 +1961,7 @@ textarea {
filter: alpha(opacity=50); filter: alpha(opacity=50);
background-color: #ffffff; background-color: #ffffff;
} }
.bi-color-chooser-trigger { .bi-color-chooser-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -2453,7 +2453,7 @@ textarea {
border-bottom: 1px solid #2F3149; border-bottom: 1px solid #2F3149;
border-right: 1px solid #2F3149; border-right: 1px solid #2F3149;
} }
.bi-combo.bi-combo-popup { .bi-combo.bi-combo-popup {
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
@ -2476,7 +2476,7 @@ textarea {
.bi-theme-dark .bi-combo.disabled:hover > .bi-border { .bi-theme-dark .bi-combo.disabled:hover > .bi-border {
border-color: #3a3c53; border-color: #3a3c53;
} }
.bi-search-text-value-combo .trigger-icon-button { .bi-search-text-value-combo .trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -2493,20 +2493,20 @@ textarea {
-moz-transform: rotate(180deg); -moz-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label { .bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-text-value-check-combo.bi-combo-popup > .bi-border, .bi-text-value-check-combo.bi-combo-popup > .bi-border,
.bi-text-value-check-combo:hover > .bi-border { .bi-text-value-check-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-text-value-down-list-combo.bi-combo-popup > .bi-border, .bi-text-value-down-list-combo.bi-combo-popup > .bi-border,
.bi-text-value-down-list-combo:hover > .bi-border { .bi-text-value-down-list-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
@ -2523,7 +2523,7 @@ textarea {
.bi-search-editor .search-font { .bi-search-editor .search-font {
font-size: 16px; font-size: 16px;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor { .bi-small-search-editor .bi-editor {
font-size: 12px; font-size: 12px;
@ -2594,14 +2594,14 @@ textarea {
.bi-all-count-pager .all-pager-next { .bi-all-count-pager .all-pager-next {
font-size: 16px; font-size: 16px;
} }
.bi-direction-pager .direction-pager-prev { .bi-direction-pager .direction-pager-prev {
font-size: 16px; font-size: 16px;
} }
.bi-direction-pager .direction-pager-next { .bi-direction-pager .direction-pager-next {
font-size: 16px; font-size: 16px;
} }
.bi-pager .page-item { .bi-pager .page-item {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -3158,12 +3158,12 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before { .bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before {
color: #ffffff !important; color: #ffffff !important;
} }
.bi-single-select-icon-text-item:active .b-font:before, .bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before { .bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2; color: #3685f2;
} }
.bi-switch { .bi-switch {
-webkit-border-radius: 40px 40px 40px 40px; -webkit-border-radius: 40px 40px 40px 40px;
-moz-border-radius: 40px 40px 40px 40px; -moz-border-radius: 40px 40px 40px 40px;
@ -3198,18 +3198,18 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-switch.disabled:active { .bi-theme-dark .bi-switch.disabled:active {
background-color: #2F3149; background-color: #2F3149;
} }
.bi-multifile-editor .multifile-editor { .bi-multifile-editor .multifile-editor {
text-align: right; text-align: right;
cursor: pointer; cursor: pointer;
font-size: 100px; font-size: 100px;
z-index: 2; z-index: 2;
} }
.bi-textarea-editor { .bi-textarea-editor {
overflow: hidden; overflow: hidden;
overflow-x: hidden; overflow-x: hidden;
@ -3293,11 +3293,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #feeed7; background: #feeed7;
color: #faaa39; color: #faaa39;
} }
.bi-tip { .bi-tip {
position: fixed !important; position: fixed !important;
} }
.bi-toast { .bi-toast {
color: #ffffff; color: #ffffff;
max-width: 400px; max-width: 400px;
@ -3321,7 +3321,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-toast .toast-icon { .bi-toast .toast-icon {
font-size: 16px; font-size: 16px;
} }
.bi-tooltip { .bi-tooltip {
max-width: 250px; max-width: 250px;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
@ -3341,7 +3341,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-branch-tree .bi-branch-tree-view { .bi-branch-tree .bi-branch-tree-view {
min-width: 300px; min-width: 300px;
} }
.bi-display-tree .ztree * { .bi-display-tree .ztree * {
color: #999999; color: #999999;
} }
@ -3594,8 +3594,8 @@ ul.ztree.zTreeDragUL {
padding:0; padding:0;
background:none; background:none;
}*/ }*/
.bi-trigger .bi-trigger-icon-button { .bi-trigger .bi-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -3611,13 +3611,13 @@ ul.ztree.zTreeDragUL {
.bi-combo-popup > .bi-trigger .trigger-down { .bi-combo-popup > .bi-trigger .trigger-down {
display: none; display: none;
} }
.bi-select-text-trigger { .bi-select-text-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
} }
.bi-small-select-text-trigger { .bi-small-select-text-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -3689,7 +3689,7 @@ ul.ztree.zTreeDragUL {
.bi-interval-slider-label { .bi-interval-slider-label {
min-height: 50px; min-height: 50px;
} }
.bi-interval-slider { .bi-interval-slider {
min-height: 50px; min-height: 50px;
} }
@ -3707,7 +3707,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-check-pane .multi-select-check-selected { .bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline; text-decoration: underline;
} }
.bi-multi-select-combo .multi-select-trigger-icon-button { .bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -3716,7 +3716,7 @@ ul.ztree.zTreeDragUL {
-moz-transform: rotate(180deg); -moz-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.bi-multi-select-insert-combo .multi-select-trigger-icon-button { .bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -3725,8 +3725,8 @@ ul.ztree.zTreeDragUL {
-moz-transform: rotate(180deg); -moz-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.bi-multi-select-trigger { .bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px; -webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px; -moz-border-radius: 2px 2px 2px 2px;
@ -3750,7 +3750,7 @@ ul.ztree.zTreeDragUL {
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
} }
.bi-multi-select-list .bi-search-editor { .bi-multi-select-list .bi-search-editor {
-moz-border-radius-bottomleft: 0px; -moz-border-radius-bottomleft: 0px;
-webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-left-radius: 0px;
@ -3851,7 +3851,7 @@ ul.ztree.zTreeDragUL {
.bi-single-slider-label { .bi-single-slider-label {
min-height: 50px; min-height: 50px;
} }
.bi-single-slider-normal { .bi-single-slider-normal {
min-height: 30px; min-height: 30px;
} }

8
dist/bundle.ie.js vendored

@ -35431,8 +35431,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({
@ -35480,6 +35479,11 @@ BI.Text = BI.inherit(BI.Single, {
} else { } else {
this.text = this; this.text = this;
} }
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) { if (BI.isKey(o.text)) {
this.setText(o.text); this.setText(o.text);
} else if (BI.isKey(o.value)) { } else if (BI.isKey(o.value)) {

4
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.js vendored

@ -35970,8 +35970,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({
@ -36019,6 +36018,11 @@ BI.Text = BI.inherit(BI.Single, {
} else { } else {
this.text = this; this.text = this;
} }
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) { if (BI.isKey(o.text)) {
this.setText(o.text); this.setText(o.text);
} else if (BI.isKey(o.value)) { } else if (BI.isKey(o.value)) {

16
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/demo.js vendored

@ -6041,30 +6041,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
}; };
} }
}); });
BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, { BI.shortcut("demo.htape", Demo.HtapeLayout);/**
props: {
baseCls: "demo-absolute"
},
render: function () {
return {
type: "bi.inline_vertical_adapt",
items: [{
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 200
}, {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 100
}]
};
}
});
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/**
* Created by User on 2017/3/22. * Created by User on 2017/3/22.
*/ */
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, {

78
dist/fineui.css vendored

@ -1590,7 +1590,7 @@ textarea {
-o-align-items: center; -o-align-items: center;
align-items: center; align-items: center;
} }
.bi-flex-horizontal-layout { .bi-flex-horizontal-layout {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1661,7 +1661,7 @@ textarea {
-o-align-items: flex-end; -o-align-items: flex-end;
align-items: flex-end; align-items: flex-end;
} }
.bi-flex-vertical-center { .bi-flex-vertical-center {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1738,7 +1738,7 @@ textarea {
-o-align-items: stretch; -o-align-items: stretch;
align-items: stretch; align-items: stretch;
} }
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper { .bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1782,7 +1782,7 @@ textarea {
min-height: 100%; min-height: 100%;
float: left; float: left;
} }
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper { .bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1852,7 +1852,7 @@ textarea {
-o-align-items: flex-end; -o-align-items: flex-end;
align-items: flex-end; align-items: flex-end;
} }
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper { .bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box; display: box;
/* OLD - Android 4.4- */ /* OLD - Android 4.4- */
@ -1937,7 +1937,7 @@ textarea {
vertical-align: middle; vertical-align: middle;
content: ' '; content: ' ';
} }
.bi-inline-vertical-adapt-layout:after { .bi-inline-vertical-adapt-layout:after {
display: inline-block; display: inline-block;
width: 0; width: 0;
@ -1961,7 +1961,7 @@ textarea {
filter: alpha(opacity=50); filter: alpha(opacity=50);
background-color: #ffffff; background-color: #ffffff;
} }
.bi-color-chooser-trigger { .bi-color-chooser-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -2453,7 +2453,7 @@ textarea {
border-bottom: 1px solid #2F3149; border-bottom: 1px solid #2F3149;
border-right: 1px solid #2F3149; border-right: 1px solid #2F3149;
} }
.bi-combo.bi-combo-popup { .bi-combo.bi-combo-popup {
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
@ -2476,7 +2476,7 @@ textarea {
.bi-theme-dark .bi-combo.disabled:hover > .bi-border { .bi-theme-dark .bi-combo.disabled:hover > .bi-border {
border-color: #3a3c53; border-color: #3a3c53;
} }
.bi-search-text-value-combo .trigger-icon-button { .bi-search-text-value-combo .trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -2493,20 +2493,20 @@ textarea {
-moz-transform: rotate(180deg); -moz-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label { .bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-text-value-check-combo.bi-combo-popup > .bi-border, .bi-text-value-check-combo.bi-combo-popup > .bi-border,
.bi-text-value-check-combo:hover > .bi-border { .bi-text-value-check-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-text-value-down-list-combo.bi-combo-popup > .bi-border, .bi-text-value-down-list-combo.bi-combo-popup > .bi-border,
.bi-text-value-down-list-combo:hover > .bi-border { .bi-text-value-down-list-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
@ -2523,7 +2523,7 @@ textarea {
.bi-search-editor .search-font { .bi-search-editor .search-font {
font-size: 16px; font-size: 16px;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor { .bi-small-search-editor .bi-editor {
font-size: 12px; font-size: 12px;
@ -2594,14 +2594,14 @@ textarea {
.bi-all-count-pager .all-pager-next { .bi-all-count-pager .all-pager-next {
font-size: 16px; font-size: 16px;
} }
.bi-direction-pager .direction-pager-prev { .bi-direction-pager .direction-pager-prev {
font-size: 16px; font-size: 16px;
} }
.bi-direction-pager .direction-pager-next { .bi-direction-pager .direction-pager-next {
font-size: 16px; font-size: 16px;
} }
.bi-pager .page-item { .bi-pager .page-item {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -3158,12 +3158,12 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before { .bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before {
color: #ffffff !important; color: #ffffff !important;
} }
.bi-single-select-icon-text-item:active .b-font:before, .bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before { .bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2; color: #3685f2;
} }
.bi-switch { .bi-switch {
-webkit-border-radius: 40px 40px 40px 40px; -webkit-border-radius: 40px 40px 40px 40px;
-moz-border-radius: 40px 40px 40px 40px; -moz-border-radius: 40px 40px 40px 40px;
@ -3198,18 +3198,18 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-switch.disabled:active { .bi-theme-dark .bi-switch.disabled:active {
background-color: #2F3149; background-color: #2F3149;
} }
.bi-multifile-editor .multifile-editor { .bi-multifile-editor .multifile-editor {
text-align: right; text-align: right;
cursor: pointer; cursor: pointer;
font-size: 100px; font-size: 100px;
z-index: 2; z-index: 2;
} }
.bi-textarea-editor { .bi-textarea-editor {
overflow: hidden; overflow: hidden;
overflow-x: hidden; overflow-x: hidden;
@ -3293,11 +3293,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #feeed7; background: #feeed7;
color: #faaa39; color: #faaa39;
} }
.bi-tip { .bi-tip {
position: fixed !important; position: fixed !important;
} }
.bi-toast { .bi-toast {
color: #ffffff; color: #ffffff;
max-width: 400px; max-width: 400px;
@ -3321,7 +3321,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-toast .toast-icon { .bi-toast .toast-icon {
font-size: 16px; font-size: 16px;
} }
.bi-tooltip { .bi-tooltip {
max-width: 250px; max-width: 250px;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
@ -3341,7 +3341,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-branch-tree .bi-branch-tree-view { .bi-branch-tree .bi-branch-tree-view {
min-width: 300px; min-width: 300px;
} }
.bi-display-tree .ztree * { .bi-display-tree .ztree * {
color: #999999; color: #999999;
} }
@ -3594,8 +3594,8 @@ ul.ztree.zTreeDragUL {
padding:0; padding:0;
background:none; background:none;
}*/ }*/
.bi-trigger .bi-trigger-icon-button { .bi-trigger .bi-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -3611,13 +3611,13 @@ ul.ztree.zTreeDragUL {
.bi-combo-popup > .bi-trigger .trigger-down { .bi-combo-popup > .bi-trigger .trigger-down {
display: none; display: none;
} }
.bi-select-text-trigger { .bi-select-text-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
} }
.bi-small-select-text-trigger { .bi-small-select-text-trigger {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -3689,7 +3689,7 @@ ul.ztree.zTreeDragUL {
.bi-interval-slider-label { .bi-interval-slider-label {
min-height: 50px; min-height: 50px;
} }
.bi-interval-slider { .bi-interval-slider {
min-height: 50px; min-height: 50px;
} }
@ -3707,7 +3707,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-check-pane .multi-select-check-selected { .bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline; text-decoration: underline;
} }
.bi-multi-select-combo .multi-select-trigger-icon-button { .bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -3716,7 +3716,7 @@ ul.ztree.zTreeDragUL {
-moz-transform: rotate(180deg); -moz-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.bi-multi-select-insert-combo .multi-select-trigger-icon-button { .bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px; font-size: 16px;
} }
@ -3725,8 +3725,8 @@ ul.ztree.zTreeDragUL {
-moz-transform: rotate(180deg); -moz-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.bi-multi-select-trigger { .bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px; -webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px; -moz-border-radius: 2px 2px 2px 2px;
@ -3750,7 +3750,7 @@ ul.ztree.zTreeDragUL {
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
} }
.bi-multi-select-list .bi-search-editor { .bi-multi-select-list .bi-search-editor {
-moz-border-radius-bottomleft: 0px; -moz-border-radius-bottomleft: 0px;
-webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-left-radius: 0px;
@ -3851,7 +3851,7 @@ ul.ztree.zTreeDragUL {
.bi-single-slider-label { .bi-single-slider-label {
min-height: 50px; min-height: 50px;
} }
.bi-single-slider-normal { .bi-single-slider-normal {
min-height: 30px; min-height: 30px;
} }

8
dist/fineui.ie.js vendored

@ -35673,8 +35673,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({
@ -35722,6 +35721,11 @@ BI.Text = BI.inherit(BI.Single, {
} else { } else {
this.text = this; this.text = this;
} }
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) { if (BI.isKey(o.text)) {
this.setText(o.text); this.setText(o.text);
} else if (BI.isKey(o.value)) { } else if (BI.isKey(o.value)) {

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/fineui.js vendored

@ -36212,8 +36212,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({
@ -36261,6 +36260,11 @@ BI.Text = BI.inherit(BI.Single, {
} else { } else {
this.text = this; this.text = this;
} }
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) { if (BI.isKey(o.text)) {
this.setText(o.text); this.setText(o.text);
} else if (BI.isKey(o.value)) { } else if (BI.isKey(o.value)) {

16
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/fineui_without_jquery_polyfill.js vendored

@ -24780,8 +24780,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({
@ -24829,6 +24828,11 @@ BI.Text = BI.inherit(BI.Single, {
} else { } else {
this.text = this; this.text = this;
} }
},
mounted: function () {
var o = this.options;
if (BI.isKey(o.text)) { if (BI.isKey(o.text)) {
this.setText(o.text); this.setText(o.text);
} else if (BI.isKey(o.value)) { } else if (BI.isKey(o.value)) {

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

3
src/base/single/text.js

@ -23,8 +23,7 @@ BI.Text = BI.inherit(BI.Single, {
}); });
}, },
_init: function () { render: function () {
BI.Text.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
if (o.hgap + o.lgap > 0) { if (o.hgap + o.lgap > 0) {
this.element.css({ this.element.css({

Loading…
Cancel
Save