Browse Source

BI-42629 fix: 选择控件输入值有可能出现...

es6
windy 6 years ago
parent
commit
c230427eab
  1. 28
      dist/2.0/fineui.ie.js
  2. 40
      dist/2.0/fineui.ie.min.js
  3. 28
      dist/2.0/fineui.js
  4. 40
      dist/2.0/fineui.min.js
  5. 28
      dist/bundle.ie.js
  6. 40
      dist/bundle.ie.min.js
  7. 28
      dist/bundle.js
  8. 40
      dist/bundle.min.js
  9. 28
      dist/case.js
  10. 28
      dist/fineui.ie.js
  11. 40
      dist/fineui.ie.min.js
  12. 28
      dist/fineui.js
  13. 40
      dist/fineui.min.js
  14. 2
      dist/utils.min.js
  15. 14
      src/case/colorchooser/colorpicker/editor.colorpicker.js
  16. 14
      src/case/colorchooser/colorpicker/editor.colorpicker.simple.js
  17. 3
      src/css/base/single/label.css
  18. 3
      src/css/base/single/text.css

28
dist/2.0/fineui.ie.js vendored

@ -52805,6 +52805,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -52815,7 +52819,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -52840,7 +52844,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -52918,19 +52922,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -53044,6 +53048,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53054,7 +53062,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -53078,7 +53086,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53106,19 +53114,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

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

File diff suppressed because one or more lines are too long

28
dist/2.0/fineui.js vendored

@ -53209,6 +53209,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53219,7 +53223,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -53244,7 +53248,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53322,19 +53326,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -53448,6 +53452,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53458,7 +53466,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -53482,7 +53490,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53510,19 +53518,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

40
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/bundle.ie.js vendored

@ -52805,6 +52805,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -52815,7 +52819,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -52840,7 +52844,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -52918,19 +52922,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -53044,6 +53048,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53054,7 +53062,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -53078,7 +53086,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53106,19 +53114,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

40
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/bundle.js vendored

@ -53209,6 +53209,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53219,7 +53223,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -53244,7 +53248,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53322,19 +53326,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -53448,6 +53452,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53458,7 +53466,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -53482,7 +53490,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53510,19 +53518,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

40
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/case.js vendored

@ -3101,6 +3101,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -3111,7 +3115,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -3136,7 +3140,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -3214,19 +3218,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -3340,6 +3344,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -3350,7 +3358,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -3374,7 +3382,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -3402,19 +3410,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

28
dist/fineui.ie.js vendored

@ -53050,6 +53050,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53060,7 +53064,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -53085,7 +53089,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53163,19 +53167,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -53289,6 +53293,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53299,7 +53307,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -53323,7 +53331,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53351,19 +53359,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

40
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

28
dist/fineui.js vendored

@ -53454,6 +53454,10 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);/**
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53464,7 +53468,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -53489,7 +53493,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53567,19 +53571,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,
@ -53693,6 +53697,10 @@ BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/**
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -53703,7 +53711,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -53727,7 +53735,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -53755,19 +53763,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

40
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

14
src/case/colorchooser/colorpicker/editor.colorpicker.js

@ -7,6 +7,10 @@
*/
BI.ColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -17,7 +21,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.ColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.storeValue = {};
this.colorShow = BI.createWidget({
type: "bi.layout",
@ -42,7 +46,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 30,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -120,19 +124,19 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}, {
el: this.transparent,
width: 16,

14
src/case/colorchooser/colorpicker/editor.colorpicker.simple.js

@ -7,6 +7,10 @@
*/
BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
REB_WIDTH: 32
},
_defaultConfig: function () {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
@ -17,7 +21,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
_init: function () {
BI.SimpleColorPickerEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var self = this, o = this.options, c = this.constants;
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card bi-border",
@ -41,7 +45,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true,
value: 255,
width: 32,
width: c.REB_WIDTH,
height: 20
});
BI.each(Ws, function (i, w) {
@ -69,19 +73,19 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
width: 20
}, {
el: this.R,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[1],
width: 20
}, {
el: this.G,
width: 30
width: c.REB_WIDTH
}, {
el: RGB[2],
width: 20
}, {
el: this.B,
width: 30
width: c.REB_WIDTH
}]
});
},

3
src/css/base/single/label.css

@ -1,7 +1,6 @@
.bi-label {
text-overflow: ellipsis;
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
white-space: nowrap;
word-break: break-all;
}

3
src/css/base/single/text.css

@ -1,8 +1,7 @@
.bi-text {
text-overflow: ellipsis;
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
white-space: nowrap;
-webkit-box-sizing: border-box;
/*Safari3.2+*/
-moz-box-sizing: border-box;

Loading…
Cancel
Save