Browse Source

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

* commit 'f8c12dbfcc4af26b80ac615cb8cbef644676d73e':
  日期tab输入框宽度60
es6
windy 7 years ago
parent
commit
09091f5b7b
  1. 7
      bi/widget.js
  2. 7
      dist/bundle.js
  3. 16
      dist/bundle.min.js
  4. 7
      dist/widget.js
  5. 7
      src/widget/multidate/multidate.segment.js

7
bi/widget.js

@ -7952,7 +7952,7 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
itemHeight: 24, itemHeight: 24,
maxGap: 15, maxGap: 15,
minGap: 10, minGap: 10,
textWidth: 30, textWidth: 60,
defaultEditorValue: "1" defaultEditorValue: "1"
}, },
@ -7960,7 +7960,6 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), { return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-multidate-segment', baseCls: 'bi-multidate-segment',
text: "", text: "",
width: 130,
height: 30, height: 30,
isEditorExist: true, isEditorExist: true,
selected: false, selected: false,
@ -7979,13 +7978,13 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.textEditor = BI.createWidget({ this.textEditor = BI.createWidget({
type: 'bi.sign_editor', type: 'bi.text_editor',
value: this.constants.defaultEditorValue, value: this.constants.defaultEditorValue,
title: function () { title: function () {
return self.textEditor.getValue(); return self.textEditor.getValue();
}, },
tipType: "success", tipType: "success",
cls: 'bi-multidate-editor bi-border', cls: 'bi-multidate-editor',
width: this.constants.textWidth, width: this.constants.textWidth,
height: this.constants.itemHeight height: this.constants.itemHeight
}); });

7
dist/bundle.js vendored

@ -82998,7 +82998,7 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
itemHeight: 24, itemHeight: 24,
maxGap: 15, maxGap: 15,
minGap: 10, minGap: 10,
textWidth: 30, textWidth: 60,
defaultEditorValue: "1" defaultEditorValue: "1"
}, },
@ -83006,7 +83006,6 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), { return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-multidate-segment', baseCls: 'bi-multidate-segment',
text: "", text: "",
width: 130,
height: 30, height: 30,
isEditorExist: true, isEditorExist: true,
selected: false, selected: false,
@ -83025,13 +83024,13 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.textEditor = BI.createWidget({ this.textEditor = BI.createWidget({
type: 'bi.sign_editor', type: 'bi.text_editor',
value: this.constants.defaultEditorValue, value: this.constants.defaultEditorValue,
title: function () { title: function () {
return self.textEditor.getValue(); return self.textEditor.getValue();
}, },
tipType: "success", tipType: "success",
cls: 'bi-multidate-editor bi-border', cls: 'bi-multidate-editor',
width: this.constants.textWidth, width: this.constants.textWidth,
height: this.constants.itemHeight height: this.constants.itemHeight
}); });

16
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/widget.js vendored

@ -7952,7 +7952,7 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
itemHeight: 24, itemHeight: 24,
maxGap: 15, maxGap: 15,
minGap: 10, minGap: 10,
textWidth: 30, textWidth: 60,
defaultEditorValue: "1" defaultEditorValue: "1"
}, },
@ -7960,7 +7960,6 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), { return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-multidate-segment', baseCls: 'bi-multidate-segment',
text: "", text: "",
width: 130,
height: 30, height: 30,
isEditorExist: true, isEditorExist: true,
selected: false, selected: false,
@ -7979,13 +7978,13 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.textEditor = BI.createWidget({ this.textEditor = BI.createWidget({
type: 'bi.sign_editor', type: 'bi.text_editor',
value: this.constants.defaultEditorValue, value: this.constants.defaultEditorValue,
title: function () { title: function () {
return self.textEditor.getValue(); return self.textEditor.getValue();
}, },
tipType: "success", tipType: "success",
cls: 'bi-multidate-editor bi-border', cls: 'bi-multidate-editor',
width: this.constants.textWidth, width: this.constants.textWidth,
height: this.constants.itemHeight height: this.constants.itemHeight
}); });

7
src/widget/multidate/multidate.segment.js

@ -9,7 +9,7 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
itemHeight: 24, itemHeight: 24,
maxGap: 15, maxGap: 15,
minGap: 10, minGap: 10,
textWidth: 30, textWidth: 60,
defaultEditorValue: "1" defaultEditorValue: "1"
}, },
@ -17,7 +17,6 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), { return $.extend(BI.MultiDateSegment.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-multidate-segment', baseCls: 'bi-multidate-segment',
text: "", text: "",
width: 130,
height: 30, height: 30,
isEditorExist: true, isEditorExist: true,
selected: false, selected: false,
@ -36,13 +35,13 @@ BI.MultiDateSegment = BI.inherit(BI.Single, {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.textEditor = BI.createWidget({ this.textEditor = BI.createWidget({
type: 'bi.sign_editor', type: 'bi.text_editor',
value: this.constants.defaultEditorValue, value: this.constants.defaultEditorValue,
title: function () { title: function () {
return self.textEditor.getValue(); return self.textEditor.getValue();
}, },
tipType: "success", tipType: "success",
cls: 'bi-multidate-editor bi-border', cls: 'bi-multidate-editor',
width: this.constants.textWidth, width: this.constants.textWidth,
height: this.constants.itemHeight height: this.constants.itemHeight
}); });

Loading…
Cancel
Save