Browse Source

BI-13413

es6
windy 7 years ago
parent
commit
e2ae971e1d
  1. 22
      dist/_fineui.min.js
  2. 32
      dist/bundle.css
  3. 26
      dist/bundle.js
  4. 2
      dist/bundle.min.css
  5. 22
      dist/bundle.min.js
  6. 2
      dist/case.js
  7. 32
      dist/fineui.css
  8. 26
      dist/fineui.js
  9. 2
      dist/fineui.min.css
  10. 22
      dist/fineui.min.js
  11. 32
      dist/resource.css
  12. 24
      dist/widget.js
  13. 32
      public/css/font.css
  14. 2
      src/case/checkbox/check.arrownode.js
  15. 32
      src/css/resource/font.css
  16. 4
      src/less/resource/font.less
  17. 2
      src/widget/year/combo.year.js
  18. 32
      ui/css/font.css

22
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

32
dist/bundle.css vendored

@ -6031,6 +6031,38 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d7"; content: "\e6d7";
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-top-font .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font:hover .b-font:before,
.solid-triangle-top-font.hover .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font.disabled .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-bottom-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-bottom-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font:hover .b-font:before,
.solid-triangle-bottom-font.hover .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

26
dist/bundle.js vendored

@ -74477,7 +74477,7 @@ BI.ComplexCanvas = BI.inherit(BI.Widget, {
BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/**
* Created by roy on 15/10/16. * Created by roy on 15/10/16.
* 上箭头与下箭头切换的树节点 * 与下箭头切换的树节点
*/ */
BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
@ -94162,6 +94162,28 @@ BI.Filter.FILTER_TYPE.EMPTY_CONDITION = 37;
BI.shortcut("bi.filter_operation", FilterOperation); BI.shortcut("bi.filter_operation", FilterOperation);
}()); }());
/** /**
* Created by Windy on 18/05/03.
* 上与下箭头切换的checkbox
*/
BI.ArrowTreeGroupNodeVerticalCheckbox = BI.inherit(BI.Trigger, {
_defaultConfig: function () {
return BI.extend(BI.ArrowTreeGroupNodeVerticalCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-arrow-group-node-vertical-checkbox"
});
},
_init: function () {
BI.ArrowTreeGroupNodeVerticalCheckbox.superclass._init.apply(this, arguments);
},
setSelected: function (v) {
BI.ArrowTreeGroupNodeVerticalCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("solid-triangle-bottom-font").addClass("solid-triangle-top-font");
} else {
this.element.removeClass("solid-triangle-top-font").addClass("solid-triangle-bottom-font");
}
}
});
BI.shortcut("bi.arrow_group_node_vertical_checkbox", BI.ArrowTreeGroupNodeVerticalCheckbox);/**
* @class BI.FilterPane * @class BI.FilterPane
* @extend BI.Widget * @extend BI.Widget
* 过滤面板 * 过滤面板
@ -108292,7 +108314,7 @@ BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.i
eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE, eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE,
action: function () { action: function () {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({year: date.getFullYear()}); self.setValue({type: BI.DynamicYearCombo.Static, value: {year: date.getFullYear()}});
self.combo.hideView(); self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
} }

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

22
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/case.js vendored

@ -2022,7 +2022,7 @@ BI.ComplexCanvas = BI.inherit(BI.Widget, {
BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/**
* Created by roy on 15/10/16. * Created by roy on 15/10/16.
* 上箭头与下箭头切换的树节点 * 与下箭头切换的树节点
*/ */
BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {

32
dist/fineui.css vendored

@ -6031,6 +6031,38 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d7"; content: "\e6d7";
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-top-font .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font:hover .b-font:before,
.solid-triangle-top-font.hover .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font.disabled .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-bottom-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-bottom-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font:hover .b-font:before,
.solid-triangle-bottom-font.hover .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

26
dist/fineui.js vendored

@ -74720,7 +74720,7 @@ BI.ComplexCanvas = BI.inherit(BI.Widget, {
BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/**
* Created by roy on 15/10/16. * Created by roy on 15/10/16.
* 上箭头与下箭头切换的树节点 * 与下箭头切换的树节点
*/ */
BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
@ -94405,6 +94405,28 @@ BI.Filter.FILTER_TYPE.EMPTY_CONDITION = 37;
BI.shortcut("bi.filter_operation", FilterOperation); BI.shortcut("bi.filter_operation", FilterOperation);
}()); }());
/** /**
* Created by Windy on 18/05/03.
* 上与下箭头切换的checkbox
*/
BI.ArrowTreeGroupNodeVerticalCheckbox = BI.inherit(BI.Trigger, {
_defaultConfig: function () {
return BI.extend(BI.ArrowTreeGroupNodeVerticalCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-arrow-group-node-vertical-checkbox"
});
},
_init: function () {
BI.ArrowTreeGroupNodeVerticalCheckbox.superclass._init.apply(this, arguments);
},
setSelected: function (v) {
BI.ArrowTreeGroupNodeVerticalCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("solid-triangle-bottom-font").addClass("solid-triangle-top-font");
} else {
this.element.removeClass("solid-triangle-top-font").addClass("solid-triangle-bottom-font");
}
}
});
BI.shortcut("bi.arrow_group_node_vertical_checkbox", BI.ArrowTreeGroupNodeVerticalCheckbox);/**
* @class BI.FilterPane * @class BI.FilterPane
* @extend BI.Widget * @extend BI.Widget
* 过滤面板 * 过滤面板
@ -108535,7 +108557,7 @@ BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.i
eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE, eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE,
action: function () { action: function () {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({year: date.getFullYear()}); self.setValue({type: BI.DynamicYearCombo.Static, value: {year: date.getFullYear()}});
self.combo.hideView(); self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
} }

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

22
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

32
dist/resource.css vendored

@ -819,6 +819,38 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d7"; content: "\e6d7";
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-top-font .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font:hover .b-font:before,
.solid-triangle-top-font.hover .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font.disabled .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-bottom-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-bottom-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font:hover .b-font:before,
.solid-triangle-bottom-font.hover .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

24
dist/widget.js vendored

@ -6694,6 +6694,28 @@ BI.Filter.FILTER_TYPE.EMPTY_CONDITION = 37;
BI.shortcut("bi.filter_operation", FilterOperation); BI.shortcut("bi.filter_operation", FilterOperation);
}()); }());
/** /**
* Created by Windy on 18/05/03.
* 上与下箭头切换的checkbox
*/
BI.ArrowTreeGroupNodeVerticalCheckbox = BI.inherit(BI.Trigger, {
_defaultConfig: function () {
return BI.extend(BI.ArrowTreeGroupNodeVerticalCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-arrow-group-node-vertical-checkbox"
});
},
_init: function () {
BI.ArrowTreeGroupNodeVerticalCheckbox.superclass._init.apply(this, arguments);
},
setSelected: function (v) {
BI.ArrowTreeGroupNodeVerticalCheckbox.superclass.setSelected.apply(this, arguments);
if(v) {
this.element.removeClass("solid-triangle-bottom-font").addClass("solid-triangle-top-font");
} else {
this.element.removeClass("solid-triangle-top-font").addClass("solid-triangle-bottom-font");
}
}
});
BI.shortcut("bi.arrow_group_node_vertical_checkbox", BI.ArrowTreeGroupNodeVerticalCheckbox);/**
* @class BI.FilterPane * @class BI.FilterPane
* @extend BI.Widget * @extend BI.Widget
* 过滤面板 * 过滤面板
@ -20824,7 +20846,7 @@ BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.i
eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE, eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE,
action: function () { action: function () {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({year: date.getFullYear()}); self.setValue({type: BI.DynamicYearCombo.Static, value: {year: date.getFullYear()}});
self.combo.hideView(); self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
} }

32
public/css/font.css

@ -498,6 +498,38 @@
content: "\e6d7"; content: "\e6d7";
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-top-font .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font:hover .b-font:before,
.solid-triangle-top-font.hover .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font.disabled .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-bottom-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-bottom-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font:hover .b-font:before,
.solid-triangle-bottom-font.hover .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

2
src/case/checkbox/check.arrownode.js

@ -1,6 +1,6 @@
/** /**
* Created by roy on 15/10/16. * Created by roy on 15/10/16.
* 上箭头与下箭头切换的树节点 * 与下箭头切换的树节点
*/ */
BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {

32
src/css/resource/font.css

@ -498,6 +498,38 @@
content: "\e6d7"; content: "\e6d7";
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-top-font .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font:hover .b-font:before,
.solid-triangle-top-font.hover .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font.disabled .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-bottom-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-bottom-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font:hover .b-font:before,
.solid-triangle-bottom-font.hover .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

4
src/less/resource/font.less

@ -65,6 +65,10 @@
.font-hover(column-pre-page-h-font, @font-solid-top); .font-hover(column-pre-page-h-font, @font-solid-top);
.font-hover(column-next-page-h-font, @font-solid-bottom); .font-hover(column-next-page-h-font, @font-solid-bottom);
// 实心下拉三角
.font-hover(solid-triangle-top-font, @font-solid-top);
.font-hover(solid-triangle-bottom-font, @font-solid-bottom);
//下拉框小小三角 //下拉框小小三角
.font-hover-active(trigger-triangle-font, @font-no-sort-no-filter, @color-bi-text-gray, @color-bi-text-gray, @color-bi-text-highlight); .font-hover-active(trigger-triangle-font, @font-no-sort-no-filter, @color-bi-text-gray, @color-bi-text-gray, @color-bi-text-highlight);

2
src/widget/year/combo.year.js

@ -76,7 +76,7 @@ BI.DynamicYearCombo = BI.inherit(BI.Widget, {
eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE, eventName: BI.DynamicYearPopup.BUTTON_lABEL_EVENT_CHANGE,
action: function () { action: function () {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({year: date.getFullYear()}); self.setValue({type: BI.DynamicYearCombo.Static, value: {year: date.getFullYear()}});
self.combo.hideView(); self.combo.hideView();
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM);
} }

32
ui/css/font.css

@ -498,6 +498,38 @@
content: "\e6d7"; content: "\e6d7";
color: inherit; color: inherit;
} }
.solid-triangle-top-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-top-font .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font:hover .b-font:before,
.solid-triangle-top-font.hover .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-top-font.disabled .b-font:before {
content: "\e6d6";
color: inherit;
}
.solid-triangle-bottom-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.solid-triangle-bottom-font .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font:hover .b-font:before,
.solid-triangle-bottom-font.hover .b-font:before {
content: "\e6d7";
color: inherit;
}
.solid-triangle-bottom-font.disabled .b-font:before {
content: "\e6d7";
color: inherit;
}
.trigger-triangle-font .b-font { .trigger-triangle-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

Loading…
Cancel
Save