windy 6 years ago
parent
commit
28df1c23d1
  1. 3
      dist/bundle.js
  2. 3
      dist/case.js
  3. 3
      dist/fineui.js
  4. 3
      src/case/calendar/calendar.js

3
dist/bundle.js vendored

@ -74204,6 +74204,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
items = BI.map(items, function (i, item) { items = BI.map(items, function (i, item) {
return BI.map(item, function (j, td) { return BI.map(item, function (j, td) {
var month = td.lastMonth ? o.month - 1 : (td.nextMonth ? o.month + 1 : o.month);
return BI.extend(td, { return BI.extend(td, {
type: "bi.text_item", type: "bi.text_item",
cls: "bi-list-item-select", cls: "bi-list-item-select",
@ -74212,7 +74213,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 24, height: 24,
value: o.year + "-" + o.month + "-" + td.text, value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled disabled: td.lastMonth || td.nextMonth || td.disabled
// selected: td.currentDay // selected: td.currentDay
}); });

3
dist/case.js vendored

@ -1703,6 +1703,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
items = BI.map(items, function (i, item) { items = BI.map(items, function (i, item) {
return BI.map(item, function (j, td) { return BI.map(item, function (j, td) {
var month = td.lastMonth ? o.month - 1 : (td.nextMonth ? o.month + 1 : o.month);
return BI.extend(td, { return BI.extend(td, {
type: "bi.text_item", type: "bi.text_item",
cls: "bi-list-item-select", cls: "bi-list-item-select",
@ -1711,7 +1712,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 24, height: 24,
value: o.year + "-" + o.month + "-" + td.text, value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled disabled: td.lastMonth || td.nextMonth || td.disabled
// selected: td.currentDay // selected: td.currentDay
}); });

3
dist/fineui.js vendored

@ -74453,6 +74453,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
items = BI.map(items, function (i, item) { items = BI.map(items, function (i, item) {
return BI.map(item, function (j, td) { return BI.map(item, function (j, td) {
var month = td.lastMonth ? o.month - 1 : (td.nextMonth ? o.month + 1 : o.month);
return BI.extend(td, { return BI.extend(td, {
type: "bi.text_item", type: "bi.text_item",
cls: "bi-list-item-select", cls: "bi-list-item-select",
@ -74461,7 +74462,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 24, height: 24,
value: o.year + "-" + o.month + "-" + td.text, value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled disabled: td.lastMonth || td.nextMonth || td.disabled
// selected: td.currentDay // selected: td.currentDay
}); });

3
src/case/calendar/calendar.js

@ -102,6 +102,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
items = BI.map(items, function (i, item) { items = BI.map(items, function (i, item) {
return BI.map(item, function (j, td) { return BI.map(item, function (j, td) {
var month = td.lastMonth ? o.month - 1 : (td.nextMonth ? o.month + 1 : o.month);
return BI.extend(td, { return BI.extend(td, {
type: "bi.text_item", type: "bi.text_item",
cls: "bi-list-item-select", cls: "bi-list-item-select",
@ -110,7 +111,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 24, height: 24,
value: o.year + "-" + o.month + "-" + td.text, value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled disabled: td.lastMonth || td.nextMonth || td.disabled
// selected: td.currentDay // selected: td.currentDay
}); });

Loading…
Cancel
Save