fay 7 years ago
parent
commit
85f0530431
  1. 20
      dist/_fineui.min.js
  2. 42
      dist/bundle.js
  3. 18
      dist/bundle.min.js
  4. 20
      dist/fineui.min.js
  5. 42
      dist/widget.js
  6. 2
      package.json
  7. 6
      src/widget/multitree/trigger/multi.tree.button.checkselected.js
  8. 5
      src/widget/quarter/trigger.quarter.js
  9. 6
      src/widget/singleselect/trigger/editor.singleselect.js

20
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

42
dist/bundle.js vendored

@ -95060,8 +95060,7 @@ BI.shortcut("bi.month_popup", BI.MonthPopup);/**
BI.MonthTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Month_Trigger_Error_Text")
vgap: 2
},
_defaultConfig: function () {
@ -95085,7 +95084,7 @@ BI.MonthTrigger = BI.inherit(BI.Trigger, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
errorText: c.errorText
errorText: BI.i18nText("BI-Month_Trigger_Error_Text")
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.MonthTrigger.EVENT_FOCUS);
@ -100405,10 +100404,6 @@ BI.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/**
*/
BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
_const: {
checkSelected: BI.i18nText("BI-Check_Selected")
},
_defaultConfig: function () {
return BI.extend(BI.MultiTreeCheckSelectedButton.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-check-selected-button",
@ -100432,7 +100427,7 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
cls: "trigger-check-selected",
invisible: true,
hgap: 4,
text: this._const.checkSelected,
text: BI.i18nText("BI-Check_Selected"),
textAlign: "center",
textHeight: 15
});
@ -102030,8 +102025,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
textWidth: 40,
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text")
textWidth: 40
},
_defaultConfig: function () {
@ -102055,7 +102049,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
errorText: c.errorText
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text")
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.QuarterTrigger.EVENT_FOCUS);
@ -104971,10 +104965,6 @@ BI.shortcut("bi.single_select_insert_list", BI.SingleSelectInsertList);
*/
BI.SingleSelectEditor = BI.inherit(BI.Widget, {
_const: {
checkSelected: BI.i18nText("BI-Check_Selected")
},
_defaultConfig: function () {
return BI.extend(BI.SingleSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-single-select-editor",
@ -105028,7 +105018,7 @@ BI.SingleSelectEditor = BI.inherit(BI.Widget, {
return v[v.length - 1];
}
return "";
},
getKeywords: function () {
@ -108466,9 +108456,7 @@ BI.DynamicYearPopup.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"),
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text")
vgap: 2
},
_defaultConfig: function () {
@ -108496,7 +108484,7 @@ BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger
watermark: BI.i18nText("BI-Basic_Unrestricted"),
allowBlank: true,
errorText: function (v) {
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid;
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text");
}
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
@ -108570,7 +108558,7 @@ BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger
this.editor.setValue(dateStr);
this.setTitle(BI.isEmptyString(text) ? dateStr : (text + ":" + dateStr));
},
setValue: function (v) {
var type, value;
var date = BI.getDate();
@ -109175,9 +109163,7 @@ BI.DynamicYearMonthPopup.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicYearMonthTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"),
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text")
vgap: 2
},
props: {
@ -109246,7 +109232,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY
},
watermark: BI.i18nText("BI-Basic_Unrestricted"),
errorText: function (v) {
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid;
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text");
},
hgap: c.hgap,
vgap: c.vgap,
@ -110098,9 +110084,7 @@ BI.DynamicYearQuarterPopup.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"),
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text")
vgap: 2
},
props: {
@ -110168,7 +110152,7 @@ BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.Dyna
return false;
},
errorText: function (v) {
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid;
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text");
},
watermark: BI.i18nText("BI-Basic_Unrestricted"),
hgap: c.hgap,

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

42
dist/widget.js vendored

@ -7923,8 +7923,7 @@ BI.shortcut("bi.month_popup", BI.MonthPopup);/**
BI.MonthTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Month_Trigger_Error_Text")
vgap: 2
},
_defaultConfig: function () {
@ -7948,7 +7947,7 @@ BI.MonthTrigger = BI.inherit(BI.Trigger, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
errorText: c.errorText
errorText: BI.i18nText("BI-Month_Trigger_Error_Text")
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.MonthTrigger.EVENT_FOCUS);
@ -13268,10 +13267,6 @@ BI.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/**
*/
BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
_const: {
checkSelected: BI.i18nText("BI-Check_Selected")
},
_defaultConfig: function () {
return BI.extend(BI.MultiTreeCheckSelectedButton.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-check-selected-button",
@ -13295,7 +13290,7 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
cls: "trigger-check-selected",
invisible: true,
hgap: 4,
text: this._const.checkSelected,
text: BI.i18nText("BI-Check_Selected"),
textAlign: "center",
textHeight: 15
});
@ -14893,8 +14888,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
textWidth: 40,
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text")
textWidth: 40
},
_defaultConfig: function () {
@ -14918,7 +14912,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
errorText: c.errorText
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text")
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.QuarterTrigger.EVENT_FOCUS);
@ -17834,10 +17828,6 @@ BI.shortcut("bi.single_select_insert_list", BI.SingleSelectInsertList);
*/
BI.SingleSelectEditor = BI.inherit(BI.Widget, {
_const: {
checkSelected: BI.i18nText("BI-Check_Selected")
},
_defaultConfig: function () {
return BI.extend(BI.SingleSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-single-select-editor",
@ -17891,7 +17881,7 @@ BI.SingleSelectEditor = BI.inherit(BI.Widget, {
return v[v.length - 1];
}
return "";
},
getKeywords: function () {
@ -21329,9 +21319,7 @@ BI.DynamicYearPopup.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"),
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text")
vgap: 2
},
_defaultConfig: function () {
@ -21359,7 +21347,7 @@ BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger
watermark: BI.i18nText("BI-Basic_Unrestricted"),
allowBlank: true,
errorText: function (v) {
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid;
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text");
}
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
@ -21433,7 +21421,7 @@ BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger
this.editor.setValue(dateStr);
this.setTitle(BI.isEmptyString(text) ? dateStr : (text + ":" + dateStr));
},
setValue: function (v) {
var type, value;
var date = BI.getDate();
@ -22038,9 +22026,7 @@ BI.DynamicYearMonthPopup.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicYearMonthTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"),
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text")
vgap: 2
},
props: {
@ -22109,7 +22095,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY
},
watermark: BI.i18nText("BI-Basic_Unrestricted"),
errorText: function (v) {
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid;
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text");
},
hgap: c.hgap,
vgap: c.vgap,
@ -22961,9 +22947,7 @@ BI.DynamicYearQuarterPopup.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"),
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text")
vgap: 2
},
props: {
@ -23031,7 +23015,7 @@ BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.Dyna
return false;
},
errorText: function (v) {
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid;
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text");
},
watermark: BI.i18nText("BI-Basic_Unrestricted"),
hgap: c.hgap,

2
package.json

@ -16,7 +16,7 @@
"open": "0.0.5"
},
"scripts": {
"grunt": "grunt",
"grunt": "grunt build",
"start": "node server.js",
"uglify": "grunt min",
"build": "grunt build"

6
src/widget/multitree/trigger/multi.tree.button.checkselected.js

@ -6,10 +6,6 @@
*/
BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
_const: {
checkSelected: BI.i18nText("BI-Check_Selected")
},
_defaultConfig: function () {
return BI.extend(BI.MultiTreeCheckSelectedButton.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-check-selected-button",
@ -33,7 +29,7 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
cls: "trigger-check-selected",
invisible: true,
hgap: 4,
text: this._const.checkSelected,
text: BI.i18nText("BI-Check_Selected"),
textAlign: "center",
textHeight: 15
});

5
src/widget/quarter/trigger.quarter.js

@ -9,8 +9,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 4,
vgap: 2,
textWidth: 40,
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text")
textWidth: 40
},
_defaultConfig: function () {
@ -34,7 +33,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
hgap: c.hgap,
vgap: c.vgap,
allowBlank: true,
errorText: c.errorText
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text")
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.QuarterTrigger.EVENT_FOCUS);

6
src/widget/singleselect/trigger/editor.singleselect.js

@ -6,10 +6,6 @@
*/
BI.SingleSelectEditor = BI.inherit(BI.Widget, {
_const: {
checkSelected: BI.i18nText("BI-Check_Selected")
},
_defaultConfig: function () {
return BI.extend(BI.SingleSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-single-select-editor",
@ -63,7 +59,7 @@ BI.SingleSelectEditor = BI.inherit(BI.Widget, {
return v[v.length - 1];
}
return "";
},
getKeywords: function () {

Loading…
Cancel
Save