|
|
@ -88861,8 +88861,10 @@ BI.shortcut("bi.static_date_pane_card", BI.StaticDatePaneCard);BI.DynamicDatePan |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: "EVENT_CHANGE", |
|
|
|
eventName: "EVENT_CHANGE", |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
|
|
|
|
if(self._checkValue(self.getValue())) { |
|
|
|
self.fireEvent("EVENT_CHANGE"); |
|
|
|
self.fireEvent("EVENT_CHANGE"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.dynamicPane = this; |
|
|
|
self.dynamicPane = this; |
|
|
@ -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); |
|
|
|
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) { |
|
|
|
setValue: function (v) { |
|
|
|
v = v || {}; |
|
|
|
v = v || {}; |
|
|
|
var type = v.type || BI.DynamicDateCombo.Static; |
|
|
|
var type = v.type || BI.DynamicDateCombo.Static; |
|
|
@ -89617,8 +89629,10 @@ BI.shortcut("bi.static_date_time_pane_card", BI.StaticDateTimePaneCard);BI.Dynam |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: "EVENT_CHANGE", |
|
|
|
eventName: "EVENT_CHANGE", |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
|
|
|
|
if(self._checkValue(self.getValue())) { |
|
|
|
self.fireEvent("EVENT_CHANGE"); |
|
|
|
self.fireEvent("EVENT_CHANGE"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.dynamicPane = this; |
|
|
|
self.dynamicPane = this; |
|
|
@ -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); |
|
|
|
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) { |
|
|
|
setValue: function (v) { |
|
|
|
v = v || {}; |
|
|
|
v = v || {}; |
|
|
|
var type = v.type || BI.DynamicDateTimePane.Static; |
|
|
|
var type = v.type || BI.DynamicDateTimePane.Static; |
|
|
@ -90830,7 +90854,10 @@ BI.extend(BI.DynamicDateCard, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
eventName: BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE, |
|
|
|
eventName: BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self.setValue(self.popup.getValue()); |
|
|
|
var value = self.popup.getValue(); |
|
|
|
|
|
|
|
if(self._checkValue(value)) { |
|
|
|
|
|
|
|
self.setValue(value); |
|
|
|
|
|
|
|
} |
|
|
|
self.combo.hideView(); |
|
|
|
self.combo.hideView(); |
|
|
|
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); |
|
|
|
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) { |
|
|
|
setValue: function (v) { |
|
|
|
this.storeValue = v; |
|
|
|
this.storeValue = v; |
|
|
|
this.trigger.setValue(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, |
|
|
|
eventName: BI.DynamicDateTimePopup.BUTTON_OK_EVENT_CHANGE, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self.setValue(self.popup.getValue()); |
|
|
|
var value = self.popup.getValue(); |
|
|
|
|
|
|
|
if(self._checkValue(value)) { |
|
|
|
|
|
|
|
self.setValue(value); |
|
|
|
|
|
|
|
} |
|
|
|
self.combo.hideView(); |
|
|
|
self.combo.hideView(); |
|
|
|
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM); |
|
|
|
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) { |
|
|
|
setValue: function (v) { |
|
|
|
this.storeValue = v; |
|
|
|
this.storeValue = v; |
|
|
|
this.trigger.setValue(v); |
|
|
|
this.trigger.setValue(v); |
|
|
|