Browse Source

Merge remote-tracking branch 'origin/master'

es6
Young 6 years ago
parent
commit
6f0417c271
  1. 1
      demo/js/case/demo.color_chooser_popup.js
  2. 23
      dist/bundle.js
  3. 38
      dist/bundle.min.js
  4. 23
      dist/case.js
  5. 1
      dist/demo.js
  6. 23
      dist/fineui.js
  7. 38
      dist/fineui.min.js
  8. 2
      dist/fineui_without_jquery_polyfill.js
  9. 3
      src/case/colorchooser/colorchooser.popup.js
  10. 18
      src/case/colorchooser/colorpicker/editor.colorpicker.js
  11. 2
      src/case/editor/editor.shelter.js

1
demo/js/case/demo.color_chooser_popup.js

@ -9,7 +9,6 @@ Demo.Func = BI.inherit(BI.Widget, {
items: [{ items: [{
el: { el: {
type: "bi.color_chooser_popup", type: "bi.color_chooser_popup",
disabled: true,
cls: "bi-card" cls: "bi-card"
}, },
left: 100, left: 100,

23
dist/bundle.js vendored

@ -50912,7 +50912,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.colorEditor = BI.createWidget(o.editor, { this.colorEditor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor", type: "bi.color_picker_editor",
value: o.value, value: o.value,
cls: "bi-background bi-border-bottom", cls: "bi-header-background bi-border-bottom",
height: 30 height: 30
}); });
@ -50988,6 +50988,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.more = BI.createWidget({ this.more = BI.createWidget({
type: "bi.combo", type: "bi.combo",
cls: "bi-border-top",
container: null, container: null,
direction: "right,top", direction: "right,top",
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
@ -51668,7 +51669,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"), errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true, allowBlank: true,
value: 255, value: 255,
width: 32, width: 30,
height: 20 height: 20
}); });
BI.each(Ws, function (i, w) { BI.each(Ws, function (i, w) {
@ -51687,8 +51688,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.none = BI.createWidget({ this.none = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "auto-color-icon", cls: "auto-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Basic_Auto") title: BI.i18nText("BI-Basic_Auto")
@ -51709,8 +51710,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.transparent = BI.createWidget({ this.transparent = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "trans-color-icon", cls: "trans-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Transparent_Color") title: BI.i18nText("BI-Transparent_Color")
@ -51761,14 +51762,16 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 30 width: 30
}, { }, {
el: this.transparent, el: this.transparent,
width: 24 width: 16,
lgap: 5
}, { }, {
el: this.none, el: this.none,
width: 24 width: 16,
lgap: 5
}] }]
}, },
left: 10, left: 10,
right: 20, right: 10,
top: 0, top: 0,
bottom: 0 bottom: 0
}] }]
@ -54387,7 +54390,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: 4 hgap: o.hgap
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

38
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

23
dist/case.js vendored

@ -2328,7 +2328,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.colorEditor = BI.createWidget(o.editor, { this.colorEditor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor", type: "bi.color_picker_editor",
value: o.value, value: o.value,
cls: "bi-background bi-border-bottom", cls: "bi-header-background bi-border-bottom",
height: 30 height: 30
}); });
@ -2404,6 +2404,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.more = BI.createWidget({ this.more = BI.createWidget({
type: "bi.combo", type: "bi.combo",
cls: "bi-border-top",
container: null, container: null,
direction: "right,top", direction: "right,top",
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
@ -3084,7 +3085,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"), errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true, allowBlank: true,
value: 255, value: 255,
width: 32, width: 30,
height: 20 height: 20
}); });
BI.each(Ws, function (i, w) { BI.each(Ws, function (i, w) {
@ -3103,8 +3104,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.none = BI.createWidget({ this.none = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "auto-color-icon", cls: "auto-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Basic_Auto") title: BI.i18nText("BI-Basic_Auto")
@ -3125,8 +3126,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.transparent = BI.createWidget({ this.transparent = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "trans-color-icon", cls: "trans-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Transparent_Color") title: BI.i18nText("BI-Transparent_Color")
@ -3177,14 +3178,16 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 30 width: 30
}, { }, {
el: this.transparent, el: this.transparent,
width: 24 width: 16,
lgap: 5
}, { }, {
el: this.none, el: this.none,
width: 24 width: 16,
lgap: 5
}] }]
}, },
left: 10, left: 10,
right: 20, right: 10,
top: 0, top: 0,
bottom: 0 bottom: 0
}] }]
@ -5803,7 +5806,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: 4 hgap: o.hgap
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

1
dist/demo.js vendored

@ -1732,7 +1732,6 @@ BI.shortcut("demo.click_item_effect", Demo.Func);Demo.Func = BI.inherit(BI.Widge
items: [{ items: [{
el: { el: {
type: "bi.color_chooser_popup", type: "bi.color_chooser_popup",
disabled: true,
cls: "bi-card" cls: "bi-card"
}, },
left: 100, left: 100,

23
dist/fineui.js vendored

@ -51151,7 +51151,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.colorEditor = BI.createWidget(o.editor, { this.colorEditor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor", type: "bi.color_picker_editor",
value: o.value, value: o.value,
cls: "bi-background bi-border-bottom", cls: "bi-header-background bi-border-bottom",
height: 30 height: 30
}); });
@ -51227,6 +51227,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.more = BI.createWidget({ this.more = BI.createWidget({
type: "bi.combo", type: "bi.combo",
cls: "bi-border-top",
container: null, container: null,
direction: "right,top", direction: "right,top",
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
@ -51907,7 +51908,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"), errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true, allowBlank: true,
value: 255, value: 255,
width: 32, width: 30,
height: 20 height: 20
}); });
BI.each(Ws, function (i, w) { BI.each(Ws, function (i, w) {
@ -51926,8 +51927,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.none = BI.createWidget({ this.none = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "auto-color-icon", cls: "auto-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Basic_Auto") title: BI.i18nText("BI-Basic_Auto")
@ -51948,8 +51949,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.transparent = BI.createWidget({ this.transparent = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "trans-color-icon", cls: "trans-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Transparent_Color") title: BI.i18nText("BI-Transparent_Color")
@ -52000,14 +52001,16 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 30 width: 30
}, { }, {
el: this.transparent, el: this.transparent,
width: 24 width: 16,
lgap: 5
}, { }, {
el: this.none, el: this.none,
width: 24 width: 16,
lgap: 5
}] }]
}, },
left: 10, left: 10,
right: 20, right: 10,
top: 0, top: 0,
bottom: 0 bottom: 0
}] }]
@ -54626,7 +54629,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: 4 hgap: o.hgap
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

38
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui_without_jquery_polyfill.js vendored

@ -38284,7 +38284,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: 4 hgap: o.hgap
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

3
src/case/colorchooser/colorchooser.popup.js

@ -18,7 +18,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.colorEditor = BI.createWidget(o.editor, { this.colorEditor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor", type: "bi.color_picker_editor",
value: o.value, value: o.value,
cls: "bi-background bi-border-bottom", cls: "bi-header-background bi-border-bottom",
height: 30 height: 30
}); });
@ -94,6 +94,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
this.more = BI.createWidget({ this.more = BI.createWidget({
type: "bi.combo", type: "bi.combo",
cls: "bi-border-top",
container: null, container: null,
direction: "right,top", direction: "right,top",
isNeedAdjustHeight: false, isNeedAdjustHeight: false,

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

@ -42,7 +42,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
errorText: BI.i18nText("BI-Color_Picker_Error_Text"), errorText: BI.i18nText("BI-Color_Picker_Error_Text"),
allowBlank: true, allowBlank: true,
value: 255, value: 255,
width: 32, width: 30,
height: 20 height: 20
}); });
BI.each(Ws, function (i, w) { BI.each(Ws, function (i, w) {
@ -61,8 +61,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.none = BI.createWidget({ this.none = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "auto-color-icon", cls: "auto-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Basic_Auto") title: BI.i18nText("BI-Basic_Auto")
@ -83,8 +83,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
this.transparent = BI.createWidget({ this.transparent = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "trans-color-icon", cls: "trans-color-icon",
width: 24, width: 16,
height: 24, height: 16,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
title: BI.i18nText("BI-Transparent_Color") title: BI.i18nText("BI-Transparent_Color")
@ -135,14 +135,16 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
width: 30 width: 30
}, { }, {
el: this.transparent, el: this.transparent,
width: 24 width: 16,
lgap: 5
}, { }, {
el: this.none, el: this.none,
width: 24 width: 16,
lgap: 5
}] }]
}, },
left: 10, left: 10,
right: 20, right: 10,
top: 0, top: 0,
bottom: 0 bottom: 0
}] }]

2
src/case/editor/editor.shelter.js

@ -52,7 +52,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: 4 hgap: o.hgap
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

Loading…
Cancel
Save