|
|
@ -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 () { |
|
|
@ -81223,13 +81223,13 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { |
|
|
|
this._setLabelOnePosition(significantPercent); |
|
|
|
this._setLabelOnePosition(significantPercent); |
|
|
|
this._setSliderOnePosition(significantPercent); |
|
|
|
this._setSliderOnePosition(significantPercent); |
|
|
|
this.labelOne.setValue(v); |
|
|
|
this.labelOne.setValue(v); |
|
|
|
self.labelOne.setText(v + o.unit); |
|
|
|
this.labelOne.setText(v + o.unit); |
|
|
|
this.valueOne = v; |
|
|
|
this.valueOne = v; |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this._setLabelTwoPosition(significantPercent); |
|
|
|
this._setLabelTwoPosition(significantPercent); |
|
|
|
this._setSliderTwoPosition(significantPercent); |
|
|
|
this._setSliderTwoPosition(significantPercent); |
|
|
|
this.labelTwo.setValue(v); |
|
|
|
this.labelTwo.setValue(v); |
|
|
|
self.labelTwo.setText(v + o.unit); |
|
|
|
this.labelTwo.setText(v + o.unit); |
|
|
|
this.valueTwo = v; |
|
|
|
this.valueTwo = v; |
|
|
|
} |
|
|
|
} |
|
|
|
this._setBlueTrack(); |
|
|
|
this._setBlueTrack(); |
|
|
@ -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"
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|