windy 6 years ago
parent
commit
c3f9dc479d
  1. 86
      dist/_fineui.min.js
  2. 8
      dist/base.css
  3. 3
      dist/base.js
  4. 27
      dist/bundle.css
  5. 192
      dist/bundle.js
  6. 2
      dist/bundle.min.css
  7. 70
      dist/bundle.min.js
  8. 2
      dist/case.js
  9. 27
      dist/fineui.css
  10. 192
      dist/fineui.js
  11. 2
      dist/fineui.min.css
  12. 86
      dist/fineui.min.js
  13. 19
      dist/widget.css
  14. 187
      dist/widget.js
  15. 3
      src/css/widget/dynamicdatecombo/dynamicdatepopup.css
  16. 3
      src/css/widget/dynamicdatecombo/dynamicdatetimepopup.css
  17. 3
      src/css/widget/year/popup.css
  18. 3
      src/css/widget/yearmonth/popup.css
  19. 3
      src/css/widget/yearquarter/popup.css
  20. 4
      src/less/widget/dynamicdatecombo/dynamicdatepopup.less
  21. 4
      src/less/widget/dynamicdatecombo/dynamicdatetimepopup.less
  22. 3
      src/less/widget/year/popup.year.less
  23. 4
      src/less/widget/yearmonth/popup.yearmonth.less
  24. 4
      src/less/widget/yearquarter/popup.yearquarter.less
  25. 6
      src/widget/dynamicdate/dynamicdate.popup.js
  26. 6
      src/widget/dynamicdatetime/dynamicdatetime.popup.js
  27. 6
      src/widget/year/popup.year.js
  28. 6
      src/widget/yearmonth/popup.yearmonth.js
  29. 6
      src/widget/yearquarter/popup.yearquarter.js

86
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/base.css vendored

@ -1,3 +1,7 @@
.bi-year-calendar {
padding-top: 5px;
padding-bottom: 5px;
}
.bi-color-chooser-popup .disable-mask {
opacity: 0.5;
filter: alpha(opacity=50);
@ -1935,6 +1939,10 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-popup-view .padding-outer {
padding-top: 5px;
padding-bottom: 5px;
}
.bi-popup-view .list-view-shadow {
-webkit-box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
-moz-box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);

3
dist/base.js vendored

@ -15582,6 +15582,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
bgap: 0,
vgap: 0,
hgap: 0,
innerVGap: 0,
direction: BI.Direction.Top, // 工具栏的方向
stopEvent: false, // 是否停止mousedown、mouseup事件
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
@ -15659,7 +15660,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
_createView: function () {
var o = this.options;
this.button_group = BI.createWidget(o.el, {type: "bi.button_group", value: o.value});
this.button_group.element.css({"min-height": o.minHeight + "px"});
this.button_group.element.css({"min-height": o.minHeight + "px", "padding-top": o.innerVGap + "px", "padding-bottom": o.innerVGap + "px"});
return this.button_group;
},

27
dist/bundle.css vendored

@ -1786,6 +1786,10 @@ textarea {
.bi-theme-dark .bi-input {
color: #ffffff;
}
.bi-year-calendar {
padding-top: 5px;
padding-bottom: 5px;
}
.bi-color-chooser-popup .disable-mask {
opacity: 0.5;
filter: alpha(opacity=50);
@ -3723,6 +3727,10 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-popup-view .padding-outer {
padding-top: 5px;
padding-bottom: 5px;
}
.bi-popup-view .list-view-shadow {
-webkit-box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
-moz-box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
@ -3743,6 +3751,10 @@ ul.ztree.zTreeDragUL {
.bi-theme-dark .bi-popup-view .list-view-toolbar > .first-element {
border-left: none;
}
.bi-date-calendar-popup .navigation-header {
padding-left: 10px;
padding-right: 10px;
}
.bi-date-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -3754,15 +3766,9 @@ ul.ztree.zTreeDragUL {
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-dynamic-date-popup .toolbar-button {
line-height: 23px;
}
.bi-dynamic-date-combo .date-font {
font-size: 16px;
}
.bi-dynamic-date-time-popup .toolbar-button {
line-height: 23px;
}
.bi-excel-table-header-cell {
font-weight: bold;
@ -4187,9 +4193,6 @@ ul.ztree.zTreeDragUL {
.bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
}
.bi-year-popup .toolbar-button {
line-height: 23px;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #525466;
}
@ -4201,18 +4204,12 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
}
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}
html {
height: 100%;
overflow: hidden;

192
dist/bundle.js vendored

@ -51353,6 +51353,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
bgap: 0,
vgap: 0,
hgap: 0,
innerVGap: 0,
direction: BI.Direction.Top, // 工具栏的方向
stopEvent: false, // 是否停止mousedown、mouseup事件
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
@ -51430,7 +51431,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
_createView: function () {
var o = this.options;
this.button_group = BI.createWidget(o.el, {type: "bi.button_group", value: o.value});
this.button_group.element.css({"min-height": o.minHeight + "px"});
this.button_group.element.css({"min-height": o.minHeight + "px", "padding-top": o.innerVGap + "px", "padding-bottom": o.innerVGap + "px"});
return this.button_group;
},
@ -74367,7 +74368,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
once: false,
forceSelected: true,
height: 24,
width: 38,
width: 45,
value: td.text,
disabled: td.disabled
});
@ -88218,7 +88219,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, {
isNeedAdjustWidth: false,
el: this.trigger,
popup: {
minWidth: 85,
minWidth: 100,
stopPropagation: false,
el: this.popup
}
@ -88252,7 +88253,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.DatePicker.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-date-picker bi-background",
baseCls: "bi-date-picker",
height: 40,
min: "1900-01-01", // 最小日期
max: "2099-12-31" // 最大日期
@ -88408,7 +88409,7 @@ BI.YearPicker = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-year-picker bi-background",
baseCls: "bi-year-picker",
behaviors: {},
height: 40,
min: "1900-01-01", // 最小日期
@ -88567,7 +88568,6 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, {
this.calendar = BI.createWidget({
direction: "top",
element: this,
logic: {
dynamic: true
},
@ -88595,6 +88595,25 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, {
self.setValue(self.selectedTime);
self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: this.calendar,
left: 10,
right: 10
}, {
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
},
setValue: function (timeOb) {
@ -88763,7 +88782,10 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, {
type: "bi.center_adapt",
width: 50,
height: c.height,
items: [this.text, this.icon]
items: [{
el: this.text,
rgap: 10
}, this.icon]
}]
});
},
@ -88838,11 +88860,10 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
});
this.calendar = BI.createWidget({
direction: "top",
element: this,
logic: {
dynamic: false
},
direction: "custom",
// logic: {
// dynamic: false
// },
type: "bi.navigation",
tab: this.datePicker,
cardCreator: BI.bind(this._createNav, this)
@ -88855,6 +88876,31 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
});
this.setValue(o.selectedTime);
BI.createWidget({
type: "bi.vtape",
element: this,
items: [{
el: this.datePicker,
height: 40
}, this.calendar],
hgap: 10
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
},
_createNav: function (v) {
@ -89584,10 +89630,10 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
});
this.calendar = BI.createWidget({
direction: "top",
logic: {
dynamic: false
},
direction: "custom",
// logic: {
// dynamic: false
// },
type: "bi.navigation",
tab: this.datePicker,
cardCreator: BI.bind(this._createNav, this)
@ -89602,7 +89648,11 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
BI.createWidget({
type: "bi.vtape",
element: this,
items: [this.calendar, {
hgap: 10,
items: [{
el: this.datePicker,
height: 40
}, this.calendar, {
el: {
type: "bi.dynamic_date_time_select",
ref: function () {
@ -89619,6 +89669,21 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
height: 40
}]
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
this.setValue(o.selectedTime);
},
@ -90278,7 +90343,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}]
},
vgap: 5,
innerVGap: 5,
maxHeight: 378
};
item.el.childValues = [];
@ -90537,15 +90602,18 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Multi_Date_Relative_Current_Time"),
textAlign: "left",
height: 24,
height: 12,
lgap: 10
}
},
tgap: 10,
bgap: 5
}, {
type: "bi.button_group",
ref: function () {
self.checkgroup = this;
},
chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
lgap: 4,
value: [BI.DynamicDateCard.TYPE.YEAR],
items: BI.createItems([{
text: BI.i18nText("BI-Basic_Year"),
@ -90569,7 +90637,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
}
}),
layouts: [{
type: "bi.left"
type: "bi.left",
rgap: 4
}],
listeners: [{
eventName: BI.ButtonGroup.EVENT_CHANGE,
@ -90605,29 +90674,33 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
}]
}, {
type: "bi.vertical_adapt",
lgap: 2,
items: [{
type: "bi.multi_select_item",
ref: function () {
self.workDayBox = this;
},
logic: {
dynamic: true
},
text: BI.i18nText("BI-Basic_Work_Day"),
value: BI.DynamicDateCard.TYPE.WORK_DAY,
listeners: [{
eventName: BI.MultiSelectItem.EVENT_CHANGE,
action: function () {
if(this.isSelected()) {
self.checkgroup.setValue();
el: {
type: "bi.multi_select_item",
ref: function () {
self.workDayBox = this;
},
logic: {
dynamic: true
},
text: BI.i18nText("BI-Basic_Work_Day"),
value: BI.DynamicDateCard.TYPE.WORK_DAY,
listeners: [{
eventName: BI.MultiSelectItem.EVENT_CHANGE,
action: function () {
if(this.isSelected()) {
self.checkgroup.setValue();
}
self.resultPane.populate(this.isSelected() ? self._getParamJson([{
dateType: BI.DynamicDateCard.TYPE.WORK_DAY
}]) : []);
self.position = BI.DynamicDateCard.OFFSET.CURRENT;
self.fireEvent("EVENT_CHANGE");
}
self.resultPane.populate(this.isSelected() ? self._getParamJson([{
dateType: BI.DynamicDateCard.TYPE.WORK_DAY
}]) : []);
self.position = BI.DynamicDateCard.OFFSET.CURRENT;
self.fireEvent("EVENT_CHANGE");
}
}]
}]
},
bgap: 5
}],
ref: function () {
self.workDay = this;
@ -90642,7 +90715,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
},
layouts: [{
type: "bi.vertical",
vgap: 10,
bgap: 10,
hgap: 10
}]
}]
@ -91273,7 +91346,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -91285,7 +91358,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -91300,7 +91373,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -92039,7 +92112,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -92051,7 +92124,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -92066,7 +92139,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -109819,7 +109892,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -109831,7 +109904,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Year"),
ref: function () {
@ -109846,7 +109919,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -110292,6 +110365,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
}]
}, {
type: "bi.button_group",
cls: "bi-border-top",
behaviors: o.behaviors,
ref: function () {
self.month = this;
@ -110413,7 +110487,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
isNeedAdjustWidth: false,
el: this.trigger,
popup: {
minWidth: 85,
minWidth: 100,
stopPropagation: false,
el: {
type: "bi.dynamic_year_month_popup",
@ -110570,7 +110644,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -110582,7 +110656,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Month"),
ref: function () {
@ -110597,7 +110671,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -111548,7 +111622,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -111560,7 +111634,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Quarter"),
ref: function () {
@ -111575,7 +111649,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

70
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/case.js vendored

@ -1867,7 +1867,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
once: false,
forceSelected: true,
height: 24,
width: 38,
width: 45,
value: td.text,
disabled: td.disabled
});

27
dist/fineui.css vendored

@ -1786,6 +1786,10 @@ textarea {
.bi-theme-dark .bi-input {
color: #ffffff;
}
.bi-year-calendar {
padding-top: 5px;
padding-bottom: 5px;
}
.bi-color-chooser-popup .disable-mask {
opacity: 0.5;
filter: alpha(opacity=50);
@ -3723,6 +3727,10 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-popup-view .padding-outer {
padding-top: 5px;
padding-bottom: 5px;
}
.bi-popup-view .list-view-shadow {
-webkit-box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
-moz-box-shadow: 0 1px 5px 0 rgba(35, 46, 64, 0.2);
@ -3743,6 +3751,10 @@ ul.ztree.zTreeDragUL {
.bi-theme-dark .bi-popup-view .list-view-toolbar > .first-element {
border-left: none;
}
.bi-date-calendar-popup .navigation-header {
padding-left: 10px;
padding-right: 10px;
}
.bi-date-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -3754,15 +3766,9 @@ ul.ztree.zTreeDragUL {
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-dynamic-date-popup .toolbar-button {
line-height: 23px;
}
.bi-dynamic-date-combo .date-font {
font-size: 16px;
}
.bi-dynamic-date-time-popup .toolbar-button {
line-height: 23px;
}
.bi-excel-table-header-cell {
font-weight: bold;
@ -4187,9 +4193,6 @@ ul.ztree.zTreeDragUL {
.bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
}
.bi-year-popup .toolbar-button {
line-height: 23px;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #525466;
}
@ -4201,18 +4204,12 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
}
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}
html {
height: 100%;
overflow: hidden;

192
dist/fineui.js vendored

@ -51602,6 +51602,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
bgap: 0,
vgap: 0,
hgap: 0,
innerVGap: 0,
direction: BI.Direction.Top, // 工具栏的方向
stopEvent: false, // 是否停止mousedown、mouseup事件
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
@ -51679,7 +51680,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
_createView: function () {
var o = this.options;
this.button_group = BI.createWidget(o.el, {type: "bi.button_group", value: o.value});
this.button_group.element.css({"min-height": o.minHeight + "px"});
this.button_group.element.css({"min-height": o.minHeight + "px", "padding-top": o.innerVGap + "px", "padding-bottom": o.innerVGap + "px"});
return this.button_group;
},
@ -74616,7 +74617,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
once: false,
forceSelected: true,
height: 24,
width: 38,
width: 45,
value: td.text,
disabled: td.disabled
});
@ -88467,7 +88468,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, {
isNeedAdjustWidth: false,
el: this.trigger,
popup: {
minWidth: 85,
minWidth: 100,
stopPropagation: false,
el: this.popup
}
@ -88501,7 +88502,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.DatePicker.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-date-picker bi-background",
baseCls: "bi-date-picker",
height: 40,
min: "1900-01-01", // 最小日期
max: "2099-12-31" // 最大日期
@ -88657,7 +88658,7 @@ BI.YearPicker = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-year-picker bi-background",
baseCls: "bi-year-picker",
behaviors: {},
height: 40,
min: "1900-01-01", // 最小日期
@ -88816,7 +88817,6 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, {
this.calendar = BI.createWidget({
direction: "top",
element: this,
logic: {
dynamic: true
},
@ -88844,6 +88844,25 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, {
self.setValue(self.selectedTime);
self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: this.calendar,
left: 10,
right: 10
}, {
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
},
setValue: function (timeOb) {
@ -89012,7 +89031,10 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, {
type: "bi.center_adapt",
width: 50,
height: c.height,
items: [this.text, this.icon]
items: [{
el: this.text,
rgap: 10
}, this.icon]
}]
});
},
@ -89087,11 +89109,10 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
});
this.calendar = BI.createWidget({
direction: "top",
element: this,
logic: {
dynamic: false
},
direction: "custom",
// logic: {
// dynamic: false
// },
type: "bi.navigation",
tab: this.datePicker,
cardCreator: BI.bind(this._createNav, this)
@ -89104,6 +89125,31 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
});
this.setValue(o.selectedTime);
BI.createWidget({
type: "bi.vtape",
element: this,
items: [{
el: this.datePicker,
height: 40
}, this.calendar],
hgap: 10
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
},
_createNav: function (v) {
@ -89833,10 +89879,10 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
});
this.calendar = BI.createWidget({
direction: "top",
logic: {
dynamic: false
},
direction: "custom",
// logic: {
// dynamic: false
// },
type: "bi.navigation",
tab: this.datePicker,
cardCreator: BI.bind(this._createNav, this)
@ -89851,7 +89897,11 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
BI.createWidget({
type: "bi.vtape",
element: this,
items: [this.calendar, {
hgap: 10,
items: [{
el: this.datePicker,
height: 40
}, this.calendar, {
el: {
type: "bi.dynamic_date_time_select",
ref: function () {
@ -89868,6 +89918,21 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
height: 40
}]
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
this.setValue(o.selectedTime);
},
@ -90527,7 +90592,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}]
},
vgap: 5,
innerVGap: 5,
maxHeight: 378
};
item.el.childValues = [];
@ -90786,15 +90851,18 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Multi_Date_Relative_Current_Time"),
textAlign: "left",
height: 24,
height: 12,
lgap: 10
}
},
tgap: 10,
bgap: 5
}, {
type: "bi.button_group",
ref: function () {
self.checkgroup = this;
},
chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
lgap: 4,
value: [BI.DynamicDateCard.TYPE.YEAR],
items: BI.createItems([{
text: BI.i18nText("BI-Basic_Year"),
@ -90818,7 +90886,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
}
}),
layouts: [{
type: "bi.left"
type: "bi.left",
rgap: 4
}],
listeners: [{
eventName: BI.ButtonGroup.EVENT_CHANGE,
@ -90854,29 +90923,33 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
}]
}, {
type: "bi.vertical_adapt",
lgap: 2,
items: [{
type: "bi.multi_select_item",
ref: function () {
self.workDayBox = this;
},
logic: {
dynamic: true
},
text: BI.i18nText("BI-Basic_Work_Day"),
value: BI.DynamicDateCard.TYPE.WORK_DAY,
listeners: [{
eventName: BI.MultiSelectItem.EVENT_CHANGE,
action: function () {
if(this.isSelected()) {
self.checkgroup.setValue();
el: {
type: "bi.multi_select_item",
ref: function () {
self.workDayBox = this;
},
logic: {
dynamic: true
},
text: BI.i18nText("BI-Basic_Work_Day"),
value: BI.DynamicDateCard.TYPE.WORK_DAY,
listeners: [{
eventName: BI.MultiSelectItem.EVENT_CHANGE,
action: function () {
if(this.isSelected()) {
self.checkgroup.setValue();
}
self.resultPane.populate(this.isSelected() ? self._getParamJson([{
dateType: BI.DynamicDateCard.TYPE.WORK_DAY
}]) : []);
self.position = BI.DynamicDateCard.OFFSET.CURRENT;
self.fireEvent("EVENT_CHANGE");
}
self.resultPane.populate(this.isSelected() ? self._getParamJson([{
dateType: BI.DynamicDateCard.TYPE.WORK_DAY
}]) : []);
self.position = BI.DynamicDateCard.OFFSET.CURRENT;
self.fireEvent("EVENT_CHANGE");
}
}]
}]
},
bgap: 5
}],
ref: function () {
self.workDay = this;
@ -90891,7 +90964,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
},
layouts: [{
type: "bi.vertical",
vgap: 10,
bgap: 10,
hgap: 10
}]
}]
@ -91522,7 +91595,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -91534,7 +91607,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -91549,7 +91622,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -92288,7 +92361,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -92300,7 +92373,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -92315,7 +92388,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -110068,7 +110141,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -110080,7 +110153,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Year"),
ref: function () {
@ -110095,7 +110168,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -110541,6 +110614,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
}]
}, {
type: "bi.button_group",
cls: "bi-border-top",
behaviors: o.behaviors,
ref: function () {
self.month = this;
@ -110662,7 +110736,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
isNeedAdjustWidth: false,
el: this.trigger,
popup: {
minWidth: 85,
minWidth: 100,
stopPropagation: false,
el: {
type: "bi.dynamic_year_month_popup",
@ -110819,7 +110893,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -110831,7 +110905,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Month"),
ref: function () {
@ -110846,7 +110920,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -111797,7 +111871,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -111809,7 +111883,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Quarter"),
ref: function () {
@ -111824,7 +111898,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

86
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

19
dist/widget.css vendored

@ -1,3 +1,7 @@
.bi-date-calendar-popup .navigation-header {
padding-left: 10px;
padding-right: 10px;
}
.bi-date-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -9,15 +13,9 @@
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-dynamic-date-popup .toolbar-button {
line-height: 23px;
}
.bi-dynamic-date-combo .date-font {
font-size: 16px;
}
.bi-dynamic-date-time-popup .toolbar-button {
line-height: 23px;
}
.bi-excel-table-header-cell {
font-weight: bold;
@ -442,9 +440,6 @@
.bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
}
.bi-year-popup .toolbar-button {
line-height: 23px;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #525466;
}
@ -456,15 +451,9 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}
.bi-year-month-interval.time-error .bi-input {
color: #ff4949;
}
.bi-year-month-interval.time-error .sign-editor-text {
color: #ff4949;
}
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}

187
dist/widget.js vendored

@ -530,7 +530,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, {
isNeedAdjustWidth: false,
el: this.trigger,
popup: {
minWidth: 85,
minWidth: 100,
stopPropagation: false,
el: this.popup
}
@ -564,7 +564,7 @@ BI.DatePicker = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.DatePicker.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-date-picker bi-background",
baseCls: "bi-date-picker",
height: 40,
min: "1900-01-01", // 最小日期
max: "2099-12-31" // 最大日期
@ -720,7 +720,7 @@ BI.YearPicker = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-year-picker bi-background",
baseCls: "bi-year-picker",
behaviors: {},
height: 40,
min: "1900-01-01", // 最小日期
@ -879,7 +879,6 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, {
this.calendar = BI.createWidget({
direction: "top",
element: this,
logic: {
dynamic: true
},
@ -907,6 +906,25 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, {
self.setValue(self.selectedTime);
self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: this.calendar,
left: 10,
right: 10
}, {
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
},
setValue: function (timeOb) {
@ -1075,7 +1093,10 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, {
type: "bi.center_adapt",
width: 50,
height: c.height,
items: [this.text, this.icon]
items: [{
el: this.text,
rgap: 10
}, this.icon]
}]
});
},
@ -1150,11 +1171,10 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
});
this.calendar = BI.createWidget({
direction: "top",
element: this,
logic: {
dynamic: false
},
direction: "custom",
// logic: {
// dynamic: false
// },
type: "bi.navigation",
tab: this.datePicker,
cardCreator: BI.bind(this._createNav, this)
@ -1167,6 +1187,31 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
});
this.setValue(o.selectedTime);
BI.createWidget({
type: "bi.vtape",
element: this,
items: [{
el: this.datePicker,
height: 40
}, this.calendar],
hgap: 10
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
},
_createNav: function (v) {
@ -1896,10 +1941,10 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
});
this.calendar = BI.createWidget({
direction: "top",
logic: {
dynamic: false
},
direction: "custom",
// logic: {
// dynamic: false
// },
type: "bi.navigation",
tab: this.datePicker,
cardCreator: BI.bind(this._createNav, this)
@ -1914,7 +1959,11 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
BI.createWidget({
type: "bi.vtape",
element: this,
items: [this.calendar, {
hgap: 10,
items: [{
el: this.datePicker,
height: 40
}, this.calendar, {
el: {
type: "bi.dynamic_date_time_select",
ref: function () {
@ -1931,6 +1980,21 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
height: 40
}]
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout",
cls: "bi-border-top"
},
height: 1,
top: 40,
left: 0,
right: 0
}]
});
this.setValue(o.selectedTime);
},
@ -2590,7 +2654,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}]
},
vgap: 5,
innerVGap: 5,
maxHeight: 378
};
item.el.childValues = [];
@ -2849,15 +2913,18 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
type: "bi.label",
text: BI.i18nText("BI-Multi_Date_Relative_Current_Time"),
textAlign: "left",
height: 24,
height: 12,
lgap: 10
}
},
tgap: 10,
bgap: 5
}, {
type: "bi.button_group",
ref: function () {
self.checkgroup = this;
},
chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
lgap: 4,
value: [BI.DynamicDateCard.TYPE.YEAR],
items: BI.createItems([{
text: BI.i18nText("BI-Basic_Year"),
@ -2881,7 +2948,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
}
}),
layouts: [{
type: "bi.left"
type: "bi.left",
rgap: 4
}],
listeners: [{
eventName: BI.ButtonGroup.EVENT_CHANGE,
@ -2917,29 +2985,33 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
}]
}, {
type: "bi.vertical_adapt",
lgap: 2,
items: [{
type: "bi.multi_select_item",
ref: function () {
self.workDayBox = this;
},
logic: {
dynamic: true
},
text: BI.i18nText("BI-Basic_Work_Day"),
value: BI.DynamicDateCard.TYPE.WORK_DAY,
listeners: [{
eventName: BI.MultiSelectItem.EVENT_CHANGE,
action: function () {
if(this.isSelected()) {
self.checkgroup.setValue();
el: {
type: "bi.multi_select_item",
ref: function () {
self.workDayBox = this;
},
logic: {
dynamic: true
},
text: BI.i18nText("BI-Basic_Work_Day"),
value: BI.DynamicDateCard.TYPE.WORK_DAY,
listeners: [{
eventName: BI.MultiSelectItem.EVENT_CHANGE,
action: function () {
if(this.isSelected()) {
self.checkgroup.setValue();
}
self.resultPane.populate(this.isSelected() ? self._getParamJson([{
dateType: BI.DynamicDateCard.TYPE.WORK_DAY
}]) : []);
self.position = BI.DynamicDateCard.OFFSET.CURRENT;
self.fireEvent("EVENT_CHANGE");
}
self.resultPane.populate(this.isSelected() ? self._getParamJson([{
dateType: BI.DynamicDateCard.TYPE.WORK_DAY
}]) : []);
self.position = BI.DynamicDateCard.OFFSET.CURRENT;
self.fireEvent("EVENT_CHANGE");
}
}]
}]
},
bgap: 5
}],
ref: function () {
self.workDay = this;
@ -2954,7 +3026,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
},
layouts: [{
type: "bi.vertical",
vgap: 10,
bgap: 10,
hgap: 10
}]
}]
@ -3585,7 +3657,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -3597,7 +3669,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -3612,7 +3684,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -4351,7 +4423,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -4363,7 +4435,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -4378,7 +4450,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -22131,7 +22203,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -22143,7 +22215,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Year"),
ref: function () {
@ -22158,7 +22230,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -22604,6 +22676,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
}]
}, {
type: "bi.button_group",
cls: "bi-border-top",
behaviors: o.behaviors,
ref: function () {
self.month = this;
@ -22725,7 +22798,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
isNeedAdjustWidth: false,
el: this.trigger,
popup: {
minWidth: 85,
minWidth: 100,
stopPropagation: false,
el: {
type: "bi.dynamic_year_month_popup",
@ -22882,7 +22955,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -22894,7 +22967,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Month"),
ref: function () {
@ -22909,7 +22982,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{
@ -23860,7 +23933,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -23872,7 +23945,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Quarter"),
ref: function () {
@ -23887,7 +23960,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

3
src/css/widget/dynamicdatecombo/dynamicdatepopup.css

@ -1,3 +0,0 @@
.bi-dynamic-date-popup .toolbar-button {
line-height: 23px;
}

3
src/css/widget/dynamicdatecombo/dynamicdatetimepopup.css

@ -1,3 +0,0 @@
.bi-dynamic-date-time-popup .toolbar-button {
line-height: 23px;
}

3
src/css/widget/year/popup.css

@ -7,9 +7,6 @@
.bi-year-popup .year-popup-navigation > .first-element {
border-left: none;
}
.bi-year-popup .toolbar-button {
line-height: 23px;
}
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element {
border-left: 1px solid #525466;
}

3
src/css/widget/yearmonth/popup.css

@ -1,3 +0,0 @@
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}

3
src/css/widget/yearquarter/popup.css

@ -1,3 +0,0 @@
.bi-year-month-popup .toolbar-button {
line-height: 23px;
}

4
src/less/widget/dynamicdatecombo/dynamicdatepopup.less

@ -1,7 +1,5 @@
@import "../../index";
.bi-dynamic-date-popup{
& .toolbar-button {
line-height: 23px;
}
}

4
src/less/widget/dynamicdatecombo/dynamicdatetimepopup.less

@ -1,7 +1,5 @@
@import "../../index";
.bi-dynamic-date-time-popup{
& .toolbar-button {
line-height: 23px;
}
}

3
src/less/widget/year/popup.year.less

@ -10,9 +10,6 @@
border-left: none;
}
}
& .toolbar-button {
line-height: 23px;
}
}
.bi-theme-dark {

4
src/less/widget/yearmonth/popup.yearmonth.less

@ -1,7 +1,5 @@
@import "../../index";
.bi-year-month-popup{
& .toolbar-button {
line-height: 23px;
}
}

4
src/less/widget/yearquarter/popup.yearquarter.less

@ -1,7 +1,5 @@
@import "../../index";
.bi-year-month-popup{
& .toolbar-button {
line-height: 23px;
}
}

6
src/widget/dynamicdate/dynamicdate.popup.js

@ -24,7 +24,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -36,7 +36,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -51,7 +51,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

6
src/widget/dynamicdatetime/dynamicdatetime.popup.js

@ -24,7 +24,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -36,7 +36,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Multi_Date_Today"),
ref: function () {
@ -51,7 +51,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-high-light bi-border-top toolbar-button",
cls: "bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

6
src/widget/year/popup.year.js

@ -32,7 +32,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -44,7 +44,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Year"),
ref: function () {
@ -59,7 +59,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

6
src/widget/yearmonth/popup.yearmonth.js

@ -32,7 +32,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -44,7 +44,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Month"),
ref: function () {
@ -59,7 +59,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

6
src/widget/yearquarter/popup.yearquarter.js

@ -25,7 +25,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, {
items: [[{
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_Clear"),
listeners: [{
@ -37,7 +37,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button",
cls: "bi-border-left bi-border-right bi-high-light bi-border-top",
shadow: true,
text: BI.i18nText("BI-Basic_Current_Quarter"),
ref: function () {
@ -52,7 +52,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, {
}, {
type: "bi.text_button",
forceCenter: true,
cls: "bi-border-top bi-high-light toolbar-button",
cls: "bi-border-top bi-high-light",
shadow: true,
text: BI.i18nText("BI-Basic_OK"),
listeners: [{

Loading…
Cancel
Save