dailer 6 years ago
parent
commit
33f1d45cae
  1. 2
      demo/js/config/base.js
  2. 2
      dist/2.0/fineui.css
  3. 31
      dist/2.0/fineui.ie.js
  4. 16
      dist/2.0/fineui.ie.min.js
  5. 31
      dist/2.0/fineui.js
  6. 50
      dist/2.0/fineui.min.js
  7. 12
      dist/base.js
  8. 2
      dist/bundle.css
  9. 31
      dist/bundle.ie.js
  10. 16
      dist/bundle.ie.min.js
  11. 31
      dist/bundle.js
  12. 50
      dist/bundle.min.js
  13. 1
      dist/core.css
  14. 4
      dist/demo.js
  15. 2
      dist/fineui.css
  16. 31
      dist/fineui.ie.js
  17. 16
      dist/fineui.ie.min.js
  18. 31
      dist/fineui.js
  19. 50
      dist/fineui.min.js
  20. 31
      dist/fineui_without_jquery_polyfill.js
  21. 1
      dist/resource.css
  22. 2
      dist/utils.min.js
  23. 19
      dist/widget.js

2
demo/js/config/base.js

@ -5,7 +5,7 @@ Demo.BASE_CONFIG = [{
}, {
pId: 2,
text: "bi.label",
value: "demo.mixin"
value: "demo.label"
},{
pId: 2,
text: "bi.label_scene",

2
dist/2.0/fineui.css vendored

@ -276,7 +276,6 @@ li {
}
i {
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
input,
@ -4633,7 +4632,6 @@ textarea::-webkit-scrollbar-thumb:hover {
font-family: 'fineui';
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.close-font .b-font {

31
dist/2.0/fineui.ie.js vendored

@ -44549,7 +44549,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -44773,9 +44773,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -44824,9 +44824,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -44839,7 +44839,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -62560,6 +62560,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -63151,7 +63152,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -63177,7 +63179,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -63516,6 +63518,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -64218,7 +64221,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -64244,7 +64248,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -76683,7 +76687,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -80391,6 +80395,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -80537,6 +80542,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -80590,7 +80597,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

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

File diff suppressed because one or more lines are too long

31
dist/2.0/fineui.js vendored

@ -44953,7 +44953,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -45177,9 +45177,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -45228,9 +45228,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -45243,7 +45243,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -62964,6 +62964,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -63555,7 +63556,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -63581,7 +63583,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -63920,6 +63922,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -64622,7 +64625,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -64648,7 +64652,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -77087,7 +77091,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -80795,6 +80799,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -80941,6 +80946,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -80994,7 +81001,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

50
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

12
dist/base.js vendored

@ -9078,7 +9078,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -9302,9 +9302,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -9353,9 +9353,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -9368,7 +9368,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]

2
dist/bundle.css vendored

@ -276,7 +276,6 @@ li {
}
i {
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
input,
@ -4633,7 +4632,6 @@ textarea::-webkit-scrollbar-thumb:hover {
font-family: 'fineui';
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.close-font .b-font {

31
dist/bundle.ie.js vendored

@ -44549,7 +44549,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -44773,9 +44773,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -44824,9 +44824,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -44839,7 +44839,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -62560,6 +62560,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -63151,7 +63152,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -63177,7 +63179,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -63516,6 +63518,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -64218,7 +64221,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -64244,7 +64248,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -76683,7 +76687,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -80391,6 +80395,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -80537,6 +80542,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -80590,7 +80597,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

16
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

31
dist/bundle.js vendored

@ -44953,7 +44953,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -45177,9 +45177,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -45228,9 +45228,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -45243,7 +45243,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -62964,6 +62964,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -63555,7 +63556,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -63581,7 +63583,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -63920,6 +63922,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -64622,7 +64625,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -64648,7 +64652,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -77087,7 +77091,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -80795,6 +80799,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -80941,6 +80946,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -80994,7 +81001,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

50
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/core.css vendored

@ -276,7 +276,6 @@ li {
}
i {
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
input,

4
dist/demo.js vendored

@ -1854,7 +1854,7 @@ BI.shortcut("demo.tree_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
element: this,
items: [{
el: combo1,
left: 10,
left: 150,
top: 10
}, {
el: combo2,
@ -3361,7 +3361,7 @@ BI.shortcut("demo.value_chooser_pane", Demo.ValueChooserPane);Demo.BASE_CONFIG =
}, {
pId: 2,
text: "bi.label",
value: "demo.mixin"
value: "demo.label"
},{
pId: 2,
text: "bi.label_scene",

2
dist/fineui.css vendored

@ -276,7 +276,6 @@ li {
}
i {
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
input,
@ -4633,7 +4632,6 @@ textarea::-webkit-scrollbar-thumb:hover {
font-family: 'fineui';
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.close-font .b-font {

31
dist/fineui.ie.js vendored

@ -44794,7 +44794,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -45018,9 +45018,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -45069,9 +45069,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -45084,7 +45084,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -62805,6 +62805,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -63396,7 +63397,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -63422,7 +63424,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -63761,6 +63763,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -64463,7 +64466,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -64489,7 +64493,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -76928,7 +76932,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -80636,6 +80640,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -80782,6 +80787,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -80835,7 +80842,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

16
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

31
dist/fineui.js vendored

@ -45198,7 +45198,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -45422,9 +45422,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -45473,9 +45473,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -45488,7 +45488,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -63209,6 +63209,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -63800,7 +63801,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -63826,7 +63828,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -64165,6 +64167,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -64867,7 +64870,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -64893,7 +64897,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -77332,7 +77336,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -81040,6 +81044,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -81186,6 +81191,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -81239,7 +81246,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

50
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

31
dist/fineui_without_jquery_polyfill.js vendored

@ -32394,7 +32394,7 @@ BI.Editor = BI.inherit(BI.Single, {
var o = this.options;
var errorText = o.errorText;
if (BI.isFunction(errorText)) {
errorText = errorText(this.editor.getValue());
errorText = errorText(BI.trim(this.editor.getValue()));
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
@ -32618,9 +32618,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
type: "bi.adaptive",
items: [this.content]
},
left: 10,
left: 4,
right: 10,
top: 8,
top: 4,
bottom: 8
}]
});
@ -32669,9 +32669,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) {
this.watermark = BI.createWidget({
type: "bi.text_button",
cls: "bi-water-mark",
cls: "bi-water-mark cursor-default",
textAlign: "left",
height: 30,
height: 20,
text: o.watermark,
invalid: o.invalid,
disabled: o.disabled
@ -32684,7 +32684,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
element: this,
items: [{
el: this.watermark,
left: 10,
left: 4,
top: 4,
right: 0
}]
@ -45618,6 +45618,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -46209,7 +46210,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -46235,7 +46237,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -46574,6 +46576,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -47276,7 +47279,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -47302,7 +47306,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -59741,7 +59745,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -63449,6 +63453,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -63595,6 +63600,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -63648,7 +63655,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

1
dist/resource.css vendored

@ -291,7 +291,6 @@ textarea::-webkit-scrollbar-thumb:hover {
font-family: 'fineui';
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.close-font .b-font {

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

19
dist/widget.js vendored

@ -2750,6 +2750,7 @@ BI.extend(BI.DynamicDateCard, {
max: opts.maxDate,
format: opts.format,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
height: opts.height,
value: opts.value,
ref: function () {
@ -3341,7 +3342,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -3367,7 +3369,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -3706,6 +3708,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
min: opts.minDate,
max: opts.maxDate,
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
height: opts.height,
value: opts.value,
@ -4408,7 +4411,8 @@ BI.extend(BI.DynamicDateTimeSelect, {
max: "2099-12-31", // 最大日期
height: 24,
format: "", // 显示的日期格式化方式
allowEdit: true // 是否允许编辑
allowEdit: true, // 是否允许编辑
watermark: ""
},
_init: function () {
@ -4434,7 +4438,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
errorText: function () {
var str = "";
if (!BI.isKey(o.format)) {
@ -16873,7 +16877,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.SelectTreeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-select-tree-combo",
height: 30,
height: 24,
text: "",
items: [],
value: "",
@ -20581,6 +20585,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
el: {
type: "bi.time_trigger",
allowEdit: opts.allowEdit,
watermark: opts.watermark,
format: opts.format,
value: opts.value,
ref: function (_ref) {
@ -20727,6 +20732,8 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_VALID = "EVENT_VALID";
BI.TimeCombo.EVENT_ERROR = "EVENT_ERROR";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.time_combo", BI.TimeCombo);
})();!(function () {
@ -20780,7 +20787,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
value: this._formatValue(o.value),
hgap: 4,
allowBlank: true,
watermark: BI.i18nText("BI-Basic_Unrestricted"),
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"),
title: BI.bind(this._getTitle, this),
listeners: [{
eventName: "EVENT_KEY_DOWN",

Loading…
Cancel
Save