Browse Source

BI-41212 fix: 使用箭头按钮微调小时的时候不需要自动切换输入框

es6
windy 6 years ago
parent
commit
d6a9ec67f6
  1. 16
      dist/bundle.ie.js
  2. 28
      dist/bundle.ie.min.js
  3. 16
      dist/bundle.js
  4. 18
      dist/bundle.min.js
  5. 16
      dist/fineui.ie.js
  6. 26
      dist/fineui.ie.min.js
  7. 16
      dist/fineui.js
  8. 16
      dist/fineui.min.js
  9. 16
      dist/fineui_without_jquery_polyfill.js
  10. 2
      dist/utils.min.js
  11. 16
      dist/widget.js
  12. 12
      src/widget/dynamicdatetime/dynamicdatetime.timeselect.js
  13. 4
      src/widget/numbereditor/number.editor.js

16
dist/bundle.ie.js vendored

@ -63311,7 +63311,17 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},
@ -72499,6 +72509,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

28
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/bundle.js vendored

@ -63715,7 +63715,17 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},
@ -72903,6 +72913,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui.ie.js vendored

@ -63556,7 +63556,17 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},
@ -72744,6 +72754,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

26
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui.js vendored

@ -63960,7 +63960,17 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},
@ -73148,6 +73158,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

16
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui_without_jquery_polyfill.js vendored

@ -46755,7 +46755,17 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},
@ -55943,6 +55953,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/widget.js vendored

@ -4270,7 +4270,17 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},
@ -13458,6 +13468,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

12
src/widget/dynamicdatetime/dynamicdatetime.timeselect.js

@ -151,7 +151,17 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, {
value = "0" + value;
}
if (value.length === 2) {
type === BI.DynamicDateTimeSelect.HOUR ? this.minute.focus() : this.second.focus();
switch (type) {
case BI.DynamicDateTimeSelect.HOUR:
this.hour.isEditing() && this.minute.focus();
break;
case BI.DynamicDateTimeSelect.MINUTE:
this.minute.isEditing() && this.second.focus();
break;
case BI.DynamicDateTimeSelect.SECOND:
default:
break;
}
}
return value;
},

4
src/widget/numbereditor/number.editor.js

@ -88,6 +88,10 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
this.editor.focus();
},
isEditing: function () {
return this.editor.isEditing();
},
// 微调
_finetuning: function (add) {
var v = BI.parseFloat(this.getValue());

Loading…
Cancel
Save