Browse Source

CHART-9360 refactor: 根据comment优化代码

es6
Zhenfei.Li 6 years ago
parent
commit
87225eca8e
  1. 11
      dist/2.0/fineui.ie.js
  2. 18
      dist/2.0/fineui.ie.min.js
  3. 11
      dist/2.0/fineui.js
  4. 16
      dist/2.0/fineui.min.js
  5. 11
      dist/bundle.ie.js
  6. 18
      dist/bundle.ie.min.js
  7. 11
      dist/bundle.js
  8. 16
      dist/bundle.min.js
  9. 11
      dist/fineui.ie.js
  10. 18
      dist/fineui.ie.min.js
  11. 11
      dist/fineui.js
  12. 16
      dist/fineui.min.js
  13. 11
      dist/fineui_without_jquery_polyfill.js
  14. 2
      dist/utils.min.js
  15. 11
      dist/widget.js
  16. 11
      src/widget/numberinterval/numberinterval.js

11
dist/2.0/fineui.ie.js vendored

@ -74354,9 +74354,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -74378,7 +74375,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -74387,7 +74386,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -74427,7 +74426,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

18
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/2.0/fineui.js vendored

@ -74758,9 +74758,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -74782,7 +74779,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -74791,7 +74790,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -74831,7 +74830,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

16
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/bundle.ie.js vendored

@ -74354,9 +74354,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -74378,7 +74375,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -74387,7 +74386,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -74427,7 +74426,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

18
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/bundle.js vendored

@ -74758,9 +74758,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -74782,7 +74779,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -74791,7 +74790,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -74831,7 +74830,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

16
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/fineui.ie.js vendored

@ -74599,9 +74599,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -74623,7 +74620,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -74632,7 +74631,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -74672,7 +74671,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

18
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/fineui.js vendored

@ -75003,9 +75003,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -75027,7 +75024,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -75036,7 +75035,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -75076,7 +75075,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

16
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/fineui_without_jquery_polyfill.js vendored

@ -57412,9 +57412,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -57436,7 +57433,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -57445,7 +57444,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -57485,7 +57484,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/widget.js vendored

@ -14536,9 +14536,6 @@ BI.shortcut("bi.number_editor", BI.NumberEditor);// 小于号的值为:0,小
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -14560,7 +14557,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -14569,7 +14568,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -14609,7 +14608,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

11
src/widget/numberinterval/numberinterval.js

@ -5,9 +5,6 @@
*
*/
BI.NumberInterval = BI.inherit(BI.Single, {
props: {
allowBlank: true
},
constants: {
typeError: "typeBubble",
numberError: "numberBubble",
@ -29,7 +26,9 @@ BI.NumberInterval = BI.inherit(BI.Single, {
extraCls: "bi-number-interval",
height: 24,
validation: "valid",
closeMin: true
closeMin: true,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted")
});
},
_init: function () {
@ -38,7 +37,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.smallEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.min,
level: "warning",
@ -78,7 +77,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
this.bigEditor = BI.createWidget({
type: "bi.number_interval_single_editor",
height: o.height - 2,
watermark: BI.isString(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
watermark: o.watermark,
allowBlank: o.allowBlank,
value: o.max,
level: "warning",

Loading…
Cancel
Save