Browse Source

Merge pull request #216 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit '2226fe1a23f24931015dadb18f5d91ec3e606d48':
  IE7兼容问题
master
windy 7 years ago
parent
commit
26c3f48caa
  1. 22
      bi/base.js
  2. 8
      bi/case.js
  3. 6
      bi/widget.js
  4. 22
      dist/base.js
  5. 36
      dist/bundle.js
  6. 8
      dist/case.js
  7. 6
      dist/widget.js
  8. 2
      src/base/richeditor/plugins/button.align.center.js
  9. 2
      src/base/richeditor/plugins/button.align.left.js
  10. 2
      src/base/richeditor/plugins/button.align.right.js
  11. 4
      src/base/richeditor/plugins/button.bold.js
  12. 4
      src/base/richeditor/plugins/button.italic.js
  13. 4
      src/base/richeditor/plugins/button.underline.js
  14. 2
      src/base/richeditor/plugins/combo.backgroundcolorchooser.js
  15. 2
      src/base/table/table.collection.js
  16. 2
      src/case/button/item.singleselect.js
  17. 4
      src/case/combo/bubblecombo/combo.bubble.js
  18. 2
      src/case/trigger/trigger.text.small.js
  19. 2
      src/widget/datetime/datetime.trigger.js
  20. 2
      src/widget/multiselect/search/multiselect.search.loader.js
  21. 2
      src/widget/singleslider/singleslider.normal.js

22
bi/base.js

@ -16688,7 +16688,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Center"), title: BI.i18nText("BI-Word_Align_Center"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-center-font", cls: "text-toolbar-button bi-list-item-active text-align-center-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16725,7 +16725,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Left"), title: BI.i18nText("BI-Word_Align_Left"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-left-font", cls: "text-toolbar-button bi-list-item-active text-align-left-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16762,7 +16762,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Right"), title: BI.i18nText("BI-Word_Align_Right"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-right-font", cls: "text-toolbar-button bi-list-item-active text-align-right-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16800,7 +16800,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Bold"), title: BI.i18nText("BI-Basic_Bold"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-bold-font", cls: "text-toolbar-button bi-list-item-active text-bold-font"
}); });
this.bold.on(BI.IconButton.EVENT_CHANGE, function () { this.bold.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16812,7 +16812,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.bold.setSelected(false); this.bold.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/** BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/**
* *
@ -16840,7 +16840,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Italic"), title: BI.i18nText("BI-Basic_Italic"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-italic-font", cls: "text-toolbar-button bi-list-item-active text-italic-font"
}); });
this.italic.on(BI.IconButton.EVENT_CHANGE, function () { this.italic.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16852,7 +16852,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.italic.setSelected(false); this.italic.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/** BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/**
* *
@ -16916,7 +16916,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Underline"), title: BI.i18nText("BI-Basic_Underline"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-underline-font", cls: "text-toolbar-button bi-list-item-active text-underline-font"
}); });
this.underline.on(BI.IconButton.EVENT_CHANGE, function () { this.underline.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16928,7 +16928,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.underline.setSelected(false); this.underline.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/** BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/**
* 颜色选择trigger * 颜色选择trigger
@ -16992,7 +16992,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20, width: 20,
height: 20, height: 20
}); });
}, },
@ -30268,7 +30268,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;

8
bi/case.js

@ -283,7 +283,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 25,
textAlign: "left", textAlign: "left"
}) })
}, },
_init: function () { _init: function () {
@ -4818,7 +4818,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
hideChecker: BI.emptyFn, hideChecker: BI.emptyFn,
offsetStyle: "left", //left,right,center offsetStyle: "left", //left,right,center
el: {}, el: {},
popup: {}, popup: {}
}) })
}, },
_init: function () { _init: function () {
@ -4843,7 +4843,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
el: o.el, el: o.el,
popup: BI.extend({ popup: BI.extend({
type: "bi.bubble_popup_view" type: "bi.bubble_popup_view"
}, o.popup), }, o.popup)
}); });
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments);
@ -12599,7 +12599,7 @@ BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/**
*/ */
BI.SmallTextTrigger = BI.inherit(BI.Trigger, { BI.SmallTextTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {

6
bi/widget.js

@ -3143,7 +3143,7 @@ BI.shortcut("bi.date_time_select", BI.DateTimeSelect);/**
*/ */
BI.DateTimeTrigger = BI.inherit(BI.Trigger, { BI.DateTimeTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -10843,7 +10843,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
baseCls: 'bi-multi-select-search-loader', baseCls: 'bi-multi-select-search-loader',
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
keywordGetter: BI.emptyFn, keywordGetter: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn
}); });
}, },
@ -17907,7 +17907,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
minMax: { minMax: {
min: 0, min: 0,
max: 100 max: 100
}, }
// color: "#3f8ce8" // color: "#3f8ce8"
}, },

22
dist/base.js vendored

@ -16688,7 +16688,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Center"), title: BI.i18nText("BI-Word_Align_Center"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-center-font", cls: "text-toolbar-button bi-list-item-active text-align-center-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16725,7 +16725,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Left"), title: BI.i18nText("BI-Word_Align_Left"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-left-font", cls: "text-toolbar-button bi-list-item-active text-align-left-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16762,7 +16762,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Right"), title: BI.i18nText("BI-Word_Align_Right"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-right-font", cls: "text-toolbar-button bi-list-item-active text-align-right-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16800,7 +16800,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Bold"), title: BI.i18nText("BI-Basic_Bold"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-bold-font", cls: "text-toolbar-button bi-list-item-active text-bold-font"
}); });
this.bold.on(BI.IconButton.EVENT_CHANGE, function () { this.bold.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16812,7 +16812,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.bold.setSelected(false); this.bold.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/** BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/**
* *
@ -16840,7 +16840,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Italic"), title: BI.i18nText("BI-Basic_Italic"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-italic-font", cls: "text-toolbar-button bi-list-item-active text-italic-font"
}); });
this.italic.on(BI.IconButton.EVENT_CHANGE, function () { this.italic.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16852,7 +16852,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.italic.setSelected(false); this.italic.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/** BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/**
* *
@ -16916,7 +16916,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Underline"), title: BI.i18nText("BI-Basic_Underline"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-underline-font", cls: "text-toolbar-button bi-list-item-active text-underline-font"
}); });
this.underline.on(BI.IconButton.EVENT_CHANGE, function () { this.underline.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -16928,7 +16928,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.underline.setSelected(false); this.underline.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/** BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/**
* 颜色选择trigger * 颜色选择trigger
@ -16992,7 +16992,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20, width: 20,
height: 20, height: 20
}); });
}, },
@ -30268,7 +30268,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;

36
dist/bundle.js vendored

@ -42429,7 +42429,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Center"), title: BI.i18nText("BI-Word_Align_Center"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-center-font", cls: "text-toolbar-button bi-list-item-active text-align-center-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -42466,7 +42466,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Left"), title: BI.i18nText("BI-Word_Align_Left"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-left-font", cls: "text-toolbar-button bi-list-item-active text-align-left-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -42503,7 +42503,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Right"), title: BI.i18nText("BI-Word_Align_Right"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-right-font", cls: "text-toolbar-button bi-list-item-active text-align-right-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -42541,7 +42541,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Bold"), title: BI.i18nText("BI-Basic_Bold"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-bold-font", cls: "text-toolbar-button bi-list-item-active text-bold-font"
}); });
this.bold.on(BI.IconButton.EVENT_CHANGE, function () { this.bold.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -42553,7 +42553,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.bold.setSelected(false); this.bold.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/** BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/**
* *
@ -42581,7 +42581,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Italic"), title: BI.i18nText("BI-Basic_Italic"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-italic-font", cls: "text-toolbar-button bi-list-item-active text-italic-font"
}); });
this.italic.on(BI.IconButton.EVENT_CHANGE, function () { this.italic.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -42593,7 +42593,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.italic.setSelected(false); this.italic.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/** BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/**
* *
@ -42657,7 +42657,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Underline"), title: BI.i18nText("BI-Basic_Underline"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-underline-font", cls: "text-toolbar-button bi-list-item-active text-underline-font"
}); });
this.underline.on(BI.IconButton.EVENT_CHANGE, function () { this.underline.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -42669,7 +42669,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.underline.setSelected(false); this.underline.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/** BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/**
* 颜色选择trigger * 颜色选择trigger
@ -42733,7 +42733,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20, width: 20,
height: 20, height: 20
}); });
}, },
@ -56009,7 +56009,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;
@ -62649,7 +62649,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 25,
textAlign: "left", textAlign: "left"
}) })
}, },
_init: function () { _init: function () {
@ -67184,7 +67184,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
hideChecker: BI.emptyFn, hideChecker: BI.emptyFn,
offsetStyle: "left", //left,right,center offsetStyle: "left", //left,right,center
el: {}, el: {},
popup: {}, popup: {}
}) })
}, },
_init: function () { _init: function () {
@ -67209,7 +67209,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
el: o.el, el: o.el,
popup: BI.extend({ popup: BI.extend({
type: "bi.bubble_popup_view" type: "bi.bubble_popup_view"
}, o.popup), }, o.popup)
}); });
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments);
@ -74965,7 +74965,7 @@ BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/**
*/ */
BI.SmallTextTrigger = BI.inherit(BI.Trigger, { BI.SmallTextTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -78158,7 +78158,7 @@ BI.shortcut("bi.date_time_select", BI.DateTimeSelect);/**
*/ */
BI.DateTimeTrigger = BI.inherit(BI.Trigger, { BI.DateTimeTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -85858,7 +85858,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
baseCls: 'bi-multi-select-search-loader', baseCls: 'bi-multi-select-search-loader',
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
keywordGetter: BI.emptyFn, keywordGetter: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn
}); });
}, },
@ -92922,7 +92922,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
minMax: { minMax: {
min: 0, min: 0,
max: 100 max: 100
}, }
// color: "#3f8ce8" // color: "#3f8ce8"
}, },

8
dist/case.js vendored

@ -283,7 +283,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 25,
textAlign: "left", textAlign: "left"
}) })
}, },
_init: function () { _init: function () {
@ -4818,7 +4818,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
hideChecker: BI.emptyFn, hideChecker: BI.emptyFn,
offsetStyle: "left", //left,right,center offsetStyle: "left", //left,right,center
el: {}, el: {},
popup: {}, popup: {}
}) })
}, },
_init: function () { _init: function () {
@ -4843,7 +4843,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
el: o.el, el: o.el,
popup: BI.extend({ popup: BI.extend({
type: "bi.bubble_popup_view" type: "bi.bubble_popup_view"
}, o.popup), }, o.popup)
}); });
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments);
@ -12599,7 +12599,7 @@ BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/**
*/ */
BI.SmallTextTrigger = BI.inherit(BI.Trigger, { BI.SmallTextTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {

6
dist/widget.js vendored

@ -3143,7 +3143,7 @@ BI.shortcut("bi.date_time_select", BI.DateTimeSelect);/**
*/ */
BI.DateTimeTrigger = BI.inherit(BI.Trigger, { BI.DateTimeTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -10843,7 +10843,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
baseCls: 'bi-multi-select-search-loader', baseCls: 'bi-multi-select-search-loader',
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
keywordGetter: BI.emptyFn, keywordGetter: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn
}); });
}, },
@ -17907,7 +17907,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
minMax: { minMax: {
min: 0, min: 0,
max: 100 max: 100
}, }
// color: "#3f8ce8" // color: "#3f8ce8"
}, },

2
src/base/richeditor/plugins/button.align.center.js

@ -23,7 +23,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Center"), title: BI.i18nText("BI-Word_Align_Center"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-center-font", cls: "text-toolbar-button bi-list-item-active text-align-center-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();

2
src/base/richeditor/plugins/button.align.left.js

@ -23,7 +23,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Left"), title: BI.i18nText("BI-Word_Align_Left"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-left-font", cls: "text-toolbar-button bi-list-item-active text-align-left-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();

2
src/base/richeditor/plugins/button.align.right.js

@ -23,7 +23,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Word_Align_Right"), title: BI.i18nText("BI-Word_Align_Right"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-align-right-font", cls: "text-toolbar-button bi-list-item-active text-align-right-font"
}); });
this.align.on(BI.IconButton.EVENT_CHANGE, function () { this.align.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();

4
src/base/richeditor/plugins/button.bold.js

@ -24,7 +24,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Bold"), title: BI.i18nText("BI-Basic_Bold"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-bold-font", cls: "text-toolbar-button bi-list-item-active text-bold-font"
}); });
this.bold.on(BI.IconButton.EVENT_CHANGE, function () { this.bold.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -36,6 +36,6 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.bold.setSelected(false); this.bold.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton) BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)

4
src/base/richeditor/plugins/button.italic.js

@ -24,7 +24,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Italic"), title: BI.i18nText("BI-Basic_Italic"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-italic-font", cls: "text-toolbar-button bi-list-item-active text-italic-font"
}); });
this.italic.on(BI.IconButton.EVENT_CHANGE, function () { this.italic.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -36,6 +36,6 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.italic.setSelected(false); this.italic.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton) BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)

4
src/base/richeditor/plugins/button.underline.js

@ -24,7 +24,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
title: BI.i18nText("BI-Basic_Underline"), title: BI.i18nText("BI-Basic_Underline"),
height: 20, height: 20,
width: 20, width: 20,
cls: "text-toolbar-button bi-list-item-active text-underline-font", cls: "text-toolbar-button bi-list-item-active text-underline-font"
}); });
this.underline.on(BI.IconButton.EVENT_CHANGE, function () { this.underline.on(BI.IconButton.EVENT_CHANGE, function () {
self.doCommand(); self.doCommand();
@ -36,6 +36,6 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, {
deactivate: function () { deactivate: function () {
this.underline.setSelected(false); this.underline.setSelected(false);
}, }
}); });
BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton) BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)

2
src/base/richeditor/plugins/combo.backgroundcolorchooser.js

@ -9,7 +9,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20, width: 20,
height: 20, height: 20
}); });
}, },

2
src/base/table/table.collection.js

@ -154,7 +154,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;

2
src/case/button/item.singleselect.js

@ -9,7 +9,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
hgap: 10, hgap: 10,
height: 25, height: 25,
textAlign: "left", textAlign: "left"
}) })
}, },
_init: function () { _init: function () {

4
src/case/combo/bubblecombo/combo.bubble.js

@ -25,7 +25,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
hideChecker: BI.emptyFn, hideChecker: BI.emptyFn,
offsetStyle: "left", //left,right,center offsetStyle: "left", //left,right,center
el: {}, el: {},
popup: {}, popup: {}
}) })
}, },
_init: function () { _init: function () {
@ -50,7 +50,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
el: o.el, el: o.el,
popup: BI.extend({ popup: BI.extend({
type: "bi.bubble_popup_view" type: "bi.bubble_popup_view"
}, o.popup), }, o.popup)
}); });
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments);

2
src/case/trigger/trigger.text.small.js

@ -6,7 +6,7 @@
*/ */
BI.SmallTextTrigger = BI.inherit(BI.Trigger, { BI.SmallTextTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {

2
src/widget/datetime/datetime.trigger.js

@ -3,7 +3,7 @@
*/ */
BI.DateTimeTrigger = BI.inherit(BI.Trigger, { BI.DateTimeTrigger = BI.inherit(BI.Trigger, {
_const: { _const: {
hgap: 4, hgap: 4
}, },
_defaultConfig: function () { _defaultConfig: function () {

2
src/widget/multiselect/search/multiselect.search.loader.js

@ -11,7 +11,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
baseCls: 'bi-multi-select-search-loader', baseCls: 'bi-multi-select-search-loader',
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
keywordGetter: BI.emptyFn, keywordGetter: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn
}); });
}, },

2
src/widget/singleslider/singleslider.normal.js

@ -17,7 +17,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
minMax: { minMax: {
min: 0, min: 0,
max: 100 max: 100
}, }
// color: "#3f8ce8" // color: "#3f8ce8"
}, },

Loading…
Cancel
Save