|
|
@ -91168,7 +91168,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger |
|
|
|
hgap: 4, |
|
|
|
hgap: 4, |
|
|
|
vgap: 2, |
|
|
|
vgap: 2, |
|
|
|
yearLength: 4, |
|
|
|
yearLength: 4, |
|
|
|
yearMonthLength: 7 |
|
|
|
yearMonthLength: 6, |
|
|
|
|
|
|
|
yearFullMonthLength: 7 |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
@ -91282,6 +91283,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case this._const.yearMonthLength: |
|
|
|
case this._const.yearMonthLength: |
|
|
|
|
|
|
|
case this._const.yearFullMonthLength: |
|
|
|
if (this._monthCheck(v)) { |
|
|
|
if (this._monthCheck(v)) { |
|
|
|
this.editor.setValue(v + "-"); |
|
|
|
this.editor.setValue(v + "-"); |
|
|
|
} |
|
|
|
} |
|
|
@ -91297,7 +91299,8 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger |
|
|
|
|
|
|
|
|
|
|
|
_monthCheck: function (v) { |
|
|
|
_monthCheck: function (v) { |
|
|
|
var date = BI.parseDateTime(v, "%Y-%X-%d").print("%Y-%X-%d"); |
|
|
|
var date = BI.parseDateTime(v, "%Y-%X-%d").print("%Y-%X-%d"); |
|
|
|
return BI.parseDateTime(v, "%Y-%X").print("%Y-%X") === v && date >= this.options.min && date <= this.options.max; |
|
|
|
return (BI.parseDateTime(v, "%Y-%X").print("%Y-%X") === v || |
|
|
|
|
|
|
|
BI.parseDateTime(v, "%Y-%x").print("%Y-%x") === v) && date >= this.options.min && date <= this.options.max; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setInnerValue: function (date, text) { |
|
|
|
_setInnerValue: function (date, text) { |
|
|
@ -92058,7 +92061,8 @@ BI.extend(BI.DynamicDateTimeSelect, { |
|
|
|
hgap: 4, |
|
|
|
hgap: 4, |
|
|
|
vgap: 2, |
|
|
|
vgap: 2, |
|
|
|
yearLength: 4, |
|
|
|
yearLength: 4, |
|
|
|
yearMonthLength: 7 |
|
|
|
yearMonthLength: 6, |
|
|
|
|
|
|
|
yearFullMonthLength: 7 |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
@ -92190,7 +92194,8 @@ BI.extend(BI.DynamicDateTimeSelect, { |
|
|
|
|
|
|
|
|
|
|
|
_monthCheck: function (v) { |
|
|
|
_monthCheck: function (v) { |
|
|
|
var date = BI.parseDateTime(v, "%Y-%X-%d").print("%Y-%X-%d"); |
|
|
|
var date = BI.parseDateTime(v, "%Y-%X-%d").print("%Y-%X-%d"); |
|
|
|
return BI.parseDateTime(v, "%Y-%X").print("%Y-%X") === v && date >= this.options.min && date <= this.options.max; |
|
|
|
return (BI.parseDateTime(v, "%Y-%X").print("%Y-%X") === v || |
|
|
|
|
|
|
|
BI.parseDateTime(v, "%Y-%x").print("%Y-%x") === v) && date >= this.options.min && date <= this.options.max; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setInnerValue: function (date, text) { |
|
|
|
_setInnerValue: function (date, text) { |
|
|
|