Browse Source

BI-19983

es6
windy 7 years ago
parent
commit
3a13391a90
  1. 30
      dist/_fineui.min.js
  2. 58
      dist/bundle.js
  3. 30
      dist/bundle.min.js
  4. 58
      dist/fineui.js
  5. 30
      dist/fineui.min.js
  6. 58
      dist/widget.js
  7. 14
      src/widget/datepane/datepane.js
  8. 14
      src/widget/datetimepane/datetimepane.js
  9. 15
      src/widget/dynamicdate/dynamicdate.combo.js
  10. 15
      src/widget/dynamicdatetime/dynamicdatetime.combo.js

30
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

58
dist/bundle.js vendored

@ -88861,7 +88861,9 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -88882,6 +88884,16 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateCombo.Static;
@ -89617,7 +89629,9 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -89638,6 +89652,16 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateTimePane.Static;
@ -90830,7 +90854,10 @@ BI.extend(BI.DynamicDateCard, {
}, {
eventName: BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
}
@ -90907,6 +90934,16 @@ BI.extend(BI.DynamicDateCard, {
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);
@ -91690,7 +91727,10 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
}, {
eventName: BI.DynamicDateTimePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM);
}
@ -91767,6 +91807,16 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);

30
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

58
dist/fineui.js vendored

@ -89104,7 +89104,9 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -89125,6 +89127,16 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateCombo.Static;
@ -89860,7 +89872,9 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -89881,6 +89895,16 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateTimePane.Static;
@ -91073,7 +91097,10 @@ BI.extend(BI.DynamicDateCard, {
}, {
eventName: BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
}
@ -91150,6 +91177,16 @@ BI.extend(BI.DynamicDateCard, {
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);
@ -91933,7 +91970,10 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
}, {
eventName: BI.DynamicDateTimePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM);
}
@ -92010,6 +92050,16 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);

30
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

58
dist/widget.js vendored

@ -1294,7 +1294,9 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -1315,6 +1317,16 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateCombo.Static;
@ -2050,7 +2062,9 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -2071,6 +2085,16 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateTimePane.Static;
@ -3263,7 +3287,10 @@ BI.extend(BI.DynamicDateCard, {
}, {
eventName: BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
}
@ -3340,6 +3367,16 @@ BI.extend(BI.DynamicDateCard, {
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);
@ -4123,7 +4160,10 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
}, {
eventName: BI.DynamicDateTimePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM);
}
@ -4200,6 +4240,16 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);

14
src/widget/datepane/datepane.js

@ -79,7 +79,9 @@ BI.DynamicDatePane = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -100,6 +102,16 @@ BI.DynamicDatePane = BI.inherit(BI.Widget, {
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateCombo.Static;

14
src/widget/datetimepane/datetimepane.js

@ -79,7 +79,9 @@ BI.DynamicDateTimePane = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
self.fireEvent("EVENT_CHANGE");
if(self._checkValue(self.getValue())) {
self.fireEvent("EVENT_CHANGE");
}
}
}],
ref: function () {
@ -100,6 +102,16 @@ BI.DynamicDateTimePane = BI.inherit(BI.Widget, {
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value);
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
v = v || {};
var type = v.type || BI.DynamicDateTimePane.Static;

15
src/widget/dynamicdate/dynamicdate.combo.js

@ -156,7 +156,10 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
}
@ -233,6 +236,16 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);

15
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -159,7 +159,10 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.DynamicDateTimePopup.BUTTON_OK_EVENT_CHANGE,
action: function () {
self.setValue(self.popup.getValue());
var value = self.popup.getValue();
if(self._checkValue(value)) {
self.setValue(value);
}
self.combo.hideView();
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM);
}
@ -236,6 +239,16 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}
},
_checkValue: function (v) {
switch (v.type) {
case BI.DynamicDateCombo.Dynamic:
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
default:
return true;
}
},
setValue: function (v) {
this.storeValue = v;
this.trigger.setValue(v);

Loading…
Cancel
Save