Browse Source

Merge pull request #514 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit 'e29f1719eb886006698f0e6d48cd72969572d4d6':
  update
  BI-25546
  update
  update
  update
  update
  去Bubble中的固定值 && 去action && 去set方法中的get方法
  update
  BI-25976 && BI-24616
  update
  无JIRA任务 action不把title当参数传出去
  更新
  更新
  BI-24689 视觉合集
es6
windy 6 years ago
parent
commit
e6966f8bb5
  1. 94
      dist/_fineui.min.js
  2. 275
      dist/base.css
  3. 17
      dist/base.js
  4. 314
      dist/bundle.css
  5. 112
      dist/bundle.js
  6. 2
      dist/bundle.min.css
  7. 82
      dist/bundle.min.js
  8. 42
      dist/case.js
  9. 16
      dist/core.js
  10. 314
      dist/fineui.css
  11. 112
      dist/fineui.js
  12. 2
      dist/fineui.min.css
  13. 94
      dist/fineui.min.js
  14. BIN
      dist/font/iconfont.eot
  15. 34
      dist/font/iconfont.svg
  16. BIN
      dist/font/iconfont.ttf
  17. BIN
      dist/font/iconfont.woff
  18. 33
      dist/resource.css
  19. 6
      dist/widget.css
  20. 37
      dist/widget.js
  21. 9
      public/css/background.css
  22. 24
      public/css/font.css
  23. 5
      src/base/single/editor/editor.code.js
  24. 4
      src/base/single/editor/editor.js
  25. 8
      src/base/single/single.js
  26. 4
      src/case/colorchooser/colorchooser.custom.js
  27. 26
      src/case/colorchooser/colorpicker/editor.colorpicker.js
  28. 12
      src/case/colorchooser/colorpicker/editor.colorpicker.simple.js
  29. 3
      src/component/treevaluechooser/combo.treevaluechooser.js
  30. 16
      src/core/controller/controller.bubbles.js
  31. 275
      src/css/base/colorchooser/colorpicker/editor.css
  32. 9
      src/css/resource/background.css
  33. 24
      src/css/resource/font.css
  34. 6
      src/css/widget/numbereditor/number.css
  35. 9
      src/less/base/colorchooser/colorpicker/editor.colorpicker.less
  36. 2
      src/less/lib/background.less
  37. 4
      src/less/resource/background.less
  38. 5
      src/less/resource/font.less
  39. 6
      src/less/widget/numbereditor/number.editor.less
  40. 4
      src/widget/numbereditor/number.editor.js
  41. 30
      src/widget/numberinterval/numberinterval.js
  42. 9
      ui/css/background.css
  43. 24
      ui/css/font.css

94
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

275
dist/base.css vendored

@ -22,11 +22,286 @@
.bi-theme-dark .bi-color-picker-button .color-picker-button-mask {
border: 1px solid #ffffff;
}
.farbtastic .wheel {
background: url('images/1x/background/wheel.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/wheel.png');
_background: none;
}
.farbtastic .overlay {
background: url('images/1x/background/mask.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/mask.png');
_background: none;
}
.farbtastic .marker {
background: url('images/1x/background/marker.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/marker.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.center_open {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.roots_open {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.bottom_open {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.root_open {
background: url('images/1x/icon/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_open {
background: url('images/1x/icon/dark/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_1.png');
_background: none;
}
.ztree li span.button.root_close {
background: url('images/1x/icon/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_close {
background: url('images/1x/icon/dark/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_1.png');
_background: none;
}
.ztree li span.button.roots_open {
background: url('images/1x/icon/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_open {
background: url('images/1x/icon/dark/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_2.png');
_background: none;
}
.ztree li span.button.roots_close {
background: url('images/1x/icon/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_close {
background: url('images/1x/icon/dark/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_2.png');
_background: none;
}
.ztree li span.button.center_open {
background: url('images/1x/icon/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_open {
background: url('images/1x/icon/dark/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_3.png');
_background: none;
}
.ztree li span.button.center_close {
background: url('images/1x/icon/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_close {
background: url('images/1x/icon/dark/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_3.png');
_background: none;
}
.ztree li span.button.bottom_open {
background: url('images/1x/icon/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_open {
background: url('images/1x/icon/dark/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_4.png');
_background: none;
}
.ztree li span.button.bottom_close {
background: url('images/1x/icon/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_close {
background: url('images/1x/icon/dark/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_4.png');
_background: none;
}
.ztree li span.button.roots_docu {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_docu {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.ztree li span.button.center_docu {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_docu {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.ztree li span.button.bottom_docu {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_docu {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.ztree li span.button.ico_loading {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.base-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .base-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.first-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .first-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.mid-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .mid-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.last-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .last-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.loading-background {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.auto-color-background {
background: url('images/1x/background/auto_color.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color.png');
_background: none;
}
.auto-color-normal-background {
background: url('images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal.png');
_background: none;
}
.auto-color-normal-disabled-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
background: url('images/1x/background/trans_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-color-picker-editor.disabled .auto-color-normal-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.bi-color-picker-editor.disabled .trans-color-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.farbtastic {
position: relative;
}

17
dist/base.js vendored

@ -348,15 +348,15 @@ BI.Single = BI.inherit(BI.Widget, {
_showToolTip: function (e, opt) {
opt || (opt = {});
var self = this;
var self = this, o = this.options;
var type = this.getTipType() || (this.isEnabled() ? "success" : "warning");
var title = type === "success" ? this.getTitle() : (this.getWarningTitle() || this.getTitle());
if (BI.isKey(title)) {
BI.Tooltips.show(e, this.getName(), title, type, this, opt);
if (opt.action) {
BI.Actions.runAction(opt.action, "hover", opt, title);
if (o.action) {
BI.Actions.runAction(o.action, "hover", o, this);
}
BI.Actions.runGlobalAction("hover", opt, title);
BI.Actions.runGlobalAction("hover", o, this);
}
},
@ -18247,10 +18247,11 @@ BI.CodeEditor = BI.inherit(BI.Single, {
// 解决插入字段由括号或其他特殊字符包围时分裂的bug,在两端以不可见字符包裹一下
this.editor.replaceSelection("\u200b" + param + "\u200b");
var to = this.editor.getCursor();
var options = {className: "param", atomic: true, replacedWith: $("<span class='param start end' />").text(param)[0]};
var className = "param";
if (BI.isNotNull(param.match(/^<!.*!>$/))) {
options.className = "error-param";
className = "error-param";
}
var options = {className: className, atomic: true, replacedWith: $("<span class='" + className + " start end' />").text(param)[0]};
options.value = value;
this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
@ -18566,7 +18567,9 @@ BI.Editor = BI.inherit(BI.Single, {
errorText = errorText(this.editor.getValue());
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this);
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
adjustYOffset: 2
});
this._checkToolTip();
return BI.Bubbles.get(this.getName());
}

314
dist/bundle.css vendored

@ -1862,11 +1862,286 @@ textarea {
.bi-theme-dark .bi-color-picker-button .color-picker-button-mask {
border: 1px solid #ffffff;
}
.farbtastic .wheel {
background: url('images/1x/background/wheel.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/wheel.png');
_background: none;
}
.farbtastic .overlay {
background: url('images/1x/background/mask.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/mask.png');
_background: none;
}
.farbtastic .marker {
background: url('images/1x/background/marker.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/marker.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.center_open {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.roots_open {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.bottom_open {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.root_open {
background: url('images/1x/icon/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_open {
background: url('images/1x/icon/dark/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_1.png');
_background: none;
}
.ztree li span.button.root_close {
background: url('images/1x/icon/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_close {
background: url('images/1x/icon/dark/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_1.png');
_background: none;
}
.ztree li span.button.roots_open {
background: url('images/1x/icon/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_open {
background: url('images/1x/icon/dark/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_2.png');
_background: none;
}
.ztree li span.button.roots_close {
background: url('images/1x/icon/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_close {
background: url('images/1x/icon/dark/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_2.png');
_background: none;
}
.ztree li span.button.center_open {
background: url('images/1x/icon/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_open {
background: url('images/1x/icon/dark/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_3.png');
_background: none;
}
.ztree li span.button.center_close {
background: url('images/1x/icon/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_close {
background: url('images/1x/icon/dark/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_3.png');
_background: none;
}
.ztree li span.button.bottom_open {
background: url('images/1x/icon/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_open {
background: url('images/1x/icon/dark/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_4.png');
_background: none;
}
.ztree li span.button.bottom_close {
background: url('images/1x/icon/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_close {
background: url('images/1x/icon/dark/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_4.png');
_background: none;
}
.ztree li span.button.roots_docu {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_docu {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.ztree li span.button.center_docu {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_docu {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.ztree li span.button.bottom_docu {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_docu {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.ztree li span.button.ico_loading {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.base-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .base-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.first-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .first-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.mid-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .mid-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.last-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .last-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.loading-background {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.auto-color-background {
background: url('images/1x/background/auto_color.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color.png');
_background: none;
}
.auto-color-normal-background {
background: url('images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal.png');
_background: none;
}
.auto-color-normal-disabled-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
background: url('images/1x/background/trans_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-color-picker-editor.disabled .auto-color-normal-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.bi-color-picker-editor.disabled .trans-color-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.farbtastic {
position: relative;
}
@ -3991,6 +4266,12 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-number-editor .pull-down-font {
font-size: 12px;
}
.bi-number-editor .pull-up-font {
font-size: 12px;
}
.bi-number-interval .number-interval-small-editor {
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
@ -4590,8 +4871,8 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none;
}
.auto-color-normal-disabled-background {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal.png');
background: url('https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
@ -4599,6 +4880,11 @@ textarea::-webkit-scrollbar-thumb:hover {
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/trans_disable.png');
_background: none;
}
@font-face {
font-family: 'bi';
src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot');
@ -5558,6 +5844,30 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6dd";
color: #13cd66;
}
.add-up-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
}
.add-up-font .b-font:before {
content: "\e70a";
color: inherit;
}
.add-up-font.disabled .b-font:before {
content: "\e70a";
color: inherit;
}
.minus-down-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
}
.minus-down-font .b-font:before {
content: "\e70b";
color: inherit;
}
.minus-down-font.disabled .b-font:before {
content: "\e70b";
color: inherit;
}
.tree-collapse-icon-type1 .x-icon {
display: block;
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/tree_collapse_1.png') no-repeat center center;

112
dist/bundle.js vendored

@ -26766,6 +26766,8 @@ BI.BubblesController = BI.inherit(BI.Controller, {
var container = opt.container || context;
var offsetStyle = opt.offsetStyle || {};
var level = opt.level || "error";
var adjustYOffset = opt.adjustYOffset || 0;
var adjustXOffset = opt.adjustXOffset || 0;
if (!this.storeBubbles[name]) {
this.storeBubbles[name] = {};
}
@ -26781,9 +26783,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["top"]);
var position = this._getTopPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isTopSpaceEnough(context, this.get(name))) {
if (!$.isTopSpaceEnough(context, this.get(name), adjustYOffset)) {
if (!this.storeBubbles[name]["left"]) {
this.storeBubbles[name]["left"] = this._createBubble("left", text, level, 30);
}
@ -26796,9 +26798,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["left"]);
var position = this._getLeftPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left - adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isLeftSpaceEnough(context, this.get(name))) {
if (!$.isLeftSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["right"]) {
this.storeBubbles[name]["right"] = this._createBubble("right", text, level, 30);
}
@ -26811,9 +26813,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["right"]);
var position = this._getRightPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isRightSpaceEnough(context, this.get(name))) {
if (!$.isRightSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["bottom"]) {
this.storeBubbles[name]["bottom"] = this._createBubble("bottom", text, level);
}
@ -26826,7 +26828,7 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["bottom"]);
var position = this._getBottomPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top + adjustYOffset});
this.get(name).invisible();
}
}
@ -36153,15 +36155,15 @@ BI.Single = BI.inherit(BI.Widget, {
_showToolTip: function (e, opt) {
opt || (opt = {});
var self = this;
var self = this, o = this.options;
var type = this.getTipType() || (this.isEnabled() ? "success" : "warning");
var title = type === "success" ? this.getTitle() : (this.getWarningTitle() || this.getTitle());
if (BI.isKey(title)) {
BI.Tooltips.show(e, this.getName(), title, type, this, opt);
if (opt.action) {
BI.Actions.runAction(opt.action, "hover", opt, title);
if (o.action) {
BI.Actions.runAction(o.action, "hover", o, this);
}
BI.Actions.runGlobalAction("hover", opt, title);
BI.Actions.runGlobalAction("hover", o, this);
}
},
@ -54052,10 +54054,11 @@ BI.CodeEditor = BI.inherit(BI.Single, {
// 解决插入字段由括号或其他特殊字符包围时分裂的bug,在两端以不可见字符包裹一下
this.editor.replaceSelection("\u200b" + param + "\u200b");
var to = this.editor.getCursor();
var options = {className: "param", atomic: true, replacedWith: $("<span class='param start end' />").text(param)[0]};
var className = "param";
if (BI.isNotNull(param.match(/^<!.*!>$/))) {
options.className = "error-param";
className = "error-param";
}
var options = {className: className, atomic: true, replacedWith: $("<span class='" + className + " start end' />").text(param)[0]};
options.value = value;
this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
@ -54371,7 +54374,9 @@ BI.Editor = BI.inherit(BI.Single, {
errorText = errorText(this.editor.getValue());
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this);
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
adjustYOffset: 2
});
this._checkToolTip();
return BI.Bubbles.get(this.getName());
}
@ -76134,7 +76139,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
BI.CustomColorChooser.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.editor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor"
type: "bi.simple_color_picker_editor"
});
this.editor.on(BI.ColorPickerEditor.EVENT_CHANGE, function () {
self.setValue(this.getValue());
@ -76164,7 +76169,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
el: this.farbtastic,
left: 15,
right: 15,
top: 10
top: 7
}],
height: 215
}]
@ -77183,28 +77188,22 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
},
_showPreColor: function (color) {
if(this.isEnabled()) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-disabled-background").addClass("auto-color-normal-disabled-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-disabled-background").addClass("trans-color-disabled-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-disabled-background").removeClass("trans-color-disabled-background");
}
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
},
_setEnable: function (enable) {
BI.ColorPickerEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
if (enable === true) {
this.element.removeClass("base-disabled disabled");
} else if (enable === false) {
this.element.addClass("base-disabled disabled");
}
},
setValue: function (color) {
@ -77266,7 +77265,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
// width: 200,
height: 20
height: 30
});
},
@ -77276,8 +77275,8 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card",
height: 20,
width: 40
height: 16,
width: 16
});
var RGB = BI.createWidgets(BI.createItems([{text: "R"}, {text: "G"}, {text: "B"}], {
type: "bi.label",
@ -77316,9 +77315,9 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
element: this,
items: [{
el: this.colorShow,
width: 40,
lgap: 5,
rgap: 5
width: 16,
lgap: 20,
rgap: 15
}, {
el: RGB[0],
width: 20
@ -102054,7 +102053,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
forceNotSelected: true,
trigger: "lclick,",
cls: "pull-up-font top-button bi-border-left bi-list-item-active3"
cls: "add-up-font top-button bi-border-left bi-list-item-active3"
});
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step);
@ -102065,7 +102064,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
trigger: "lclick,",
forceNotSelected: true,
cls: "pull-down-font bottom-button bi-border-left bi-list-item-active3"
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3"
});
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step);
@ -102145,7 +102144,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
border: 1,
less: 0,
less_equal: 1,
numTip: ""
numTip: "",
adjustYOffset: 2
},
_defaultConfig: function () {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
@ -102431,17 +102431,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -102477,7 +102480,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
w.on(BI.Editor.EVENT_ERROR, function () {
self._checkValidation();
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
});
@ -102490,13 +102494,15 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
@ -102513,17 +102519,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -113080,7 +113089,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
return this.combo.getValue();
},
populate: function () {
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
}
});

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

82
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

42
dist/case.js vendored

@ -3570,7 +3570,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
BI.CustomColorChooser.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.editor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor"
type: "bi.simple_color_picker_editor"
});
this.editor.on(BI.ColorPickerEditor.EVENT_CHANGE, function () {
self.setValue(this.getValue());
@ -3600,7 +3600,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
el: this.farbtastic,
left: 15,
right: 15,
top: 10
top: 7
}],
height: 215
}]
@ -4619,28 +4619,22 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
},
_showPreColor: function (color) {
if(this.isEnabled()) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-disabled-background").addClass("auto-color-normal-disabled-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-disabled-background").addClass("trans-color-disabled-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-disabled-background").removeClass("trans-color-disabled-background");
}
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
},
_setEnable: function (enable) {
BI.ColorPickerEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
if (enable === true) {
this.element.removeClass("base-disabled disabled");
} else if (enable === false) {
this.element.addClass("base-disabled disabled");
}
},
setValue: function (color) {
@ -4702,7 +4696,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
// width: 200,
height: 20
height: 30
});
},
@ -4712,8 +4706,8 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card",
height: 20,
width: 40
height: 16,
width: 16
});
var RGB = BI.createWidgets(BI.createItems([{text: "R"}, {text: "G"}, {text: "B"}], {
type: "bi.label",
@ -4752,9 +4746,9 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
element: this,
items: [{
el: this.colorShow,
width: 40,
lgap: 5,
rgap: 5
width: 16,
lgap: 20,
rgap: 15
}, {
el: RGB[0],
width: 20

16
dist/core.js vendored

@ -26766,6 +26766,8 @@ BI.BubblesController = BI.inherit(BI.Controller, {
var container = opt.container || context;
var offsetStyle = opt.offsetStyle || {};
var level = opt.level || "error";
var adjustYOffset = opt.adjustYOffset || 0;
var adjustXOffset = opt.adjustXOffset || 0;
if (!this.storeBubbles[name]) {
this.storeBubbles[name] = {};
}
@ -26781,9 +26783,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["top"]);
var position = this._getTopPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isTopSpaceEnough(context, this.get(name))) {
if (!$.isTopSpaceEnough(context, this.get(name), adjustYOffset)) {
if (!this.storeBubbles[name]["left"]) {
this.storeBubbles[name]["left"] = this._createBubble("left", text, level, 30);
}
@ -26796,9 +26798,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["left"]);
var position = this._getLeftPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left - adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isLeftSpaceEnough(context, this.get(name))) {
if (!$.isLeftSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["right"]) {
this.storeBubbles[name]["right"] = this._createBubble("right", text, level, 30);
}
@ -26811,9 +26813,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["right"]);
var position = this._getRightPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isRightSpaceEnough(context, this.get(name))) {
if (!$.isRightSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["bottom"]) {
this.storeBubbles[name]["bottom"] = this._createBubble("bottom", text, level);
}
@ -26826,7 +26828,7 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["bottom"]);
var position = this._getBottomPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top + adjustYOffset});
this.get(name).invisible();
}
}

314
dist/fineui.css vendored

@ -1862,11 +1862,286 @@ textarea {
.bi-theme-dark .bi-color-picker-button .color-picker-button-mask {
border: 1px solid #ffffff;
}
.farbtastic .wheel {
background: url('images/1x/background/wheel.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/wheel.png');
_background: none;
}
.farbtastic .overlay {
background: url('images/1x/background/mask.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/mask.png');
_background: none;
}
.farbtastic .marker {
background: url('images/1x/background/marker.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/marker.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.center_open {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.roots_open {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.bottom_open {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.root_open {
background: url('images/1x/icon/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_open {
background: url('images/1x/icon/dark/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_1.png');
_background: none;
}
.ztree li span.button.root_close {
background: url('images/1x/icon/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_close {
background: url('images/1x/icon/dark/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_1.png');
_background: none;
}
.ztree li span.button.roots_open {
background: url('images/1x/icon/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_open {
background: url('images/1x/icon/dark/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_2.png');
_background: none;
}
.ztree li span.button.roots_close {
background: url('images/1x/icon/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_close {
background: url('images/1x/icon/dark/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_2.png');
_background: none;
}
.ztree li span.button.center_open {
background: url('images/1x/icon/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_open {
background: url('images/1x/icon/dark/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_3.png');
_background: none;
}
.ztree li span.button.center_close {
background: url('images/1x/icon/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_close {
background: url('images/1x/icon/dark/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_3.png');
_background: none;
}
.ztree li span.button.bottom_open {
background: url('images/1x/icon/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_open {
background: url('images/1x/icon/dark/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_4.png');
_background: none;
}
.ztree li span.button.bottom_close {
background: url('images/1x/icon/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_close {
background: url('images/1x/icon/dark/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_4.png');
_background: none;
}
.ztree li span.button.roots_docu {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_docu {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.ztree li span.button.center_docu {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_docu {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.ztree li span.button.bottom_docu {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_docu {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.ztree li span.button.ico_loading {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.base-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .base-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.first-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .first-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.mid-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .mid-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.last-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .last-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.loading-background {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.auto-color-background {
background: url('images/1x/background/auto_color.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color.png');
_background: none;
}
.auto-color-normal-background {
background: url('images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal.png');
_background: none;
}
.auto-color-normal-disabled-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
background: url('images/1x/background/trans_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-color-picker-editor.disabled .auto-color-normal-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.bi-color-picker-editor.disabled .trans-color-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.farbtastic {
position: relative;
}
@ -3991,6 +4266,12 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-number-editor .pull-down-font {
font-size: 12px;
}
.bi-number-editor .pull-up-font {
font-size: 12px;
}
.bi-number-interval .number-interval-small-editor {
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
@ -4590,8 +4871,8 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none;
}
.auto-color-normal-disabled-background {
background: url('resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal.png');
background: url('resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
@ -4599,6 +4880,11 @@ textarea::-webkit-scrollbar-thumb:hover {
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('resources?path=/com/fr/web/ui/images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/trans_disable.png');
_background: none;
}
@font-face {
font-family: 'bi';
src: url('resources?path=/com/fr/web/ui/font/iconfont.eot');
@ -5558,6 +5844,30 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6dd";
color: #13cd66;
}
.add-up-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
}
.add-up-font .b-font:before {
content: "\e70a";
color: inherit;
}
.add-up-font.disabled .b-font:before {
content: "\e70a";
color: inherit;
}
.minus-down-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
}
.minus-down-font .b-font:before {
content: "\e70b";
color: inherit;
}
.minus-down-font.disabled .b-font:before {
content: "\e70b";
color: inherit;
}
.tree-collapse-icon-type1 .x-icon {
display: block;
background: url('resources?path=/com/fr/web/ui/images/2x/icon/tree_collapse_1.png') no-repeat center center;

112
dist/fineui.js vendored

@ -27015,6 +27015,8 @@ BI.BubblesController = BI.inherit(BI.Controller, {
var container = opt.container || context;
var offsetStyle = opt.offsetStyle || {};
var level = opt.level || "error";
var adjustYOffset = opt.adjustYOffset || 0;
var adjustXOffset = opt.adjustXOffset || 0;
if (!this.storeBubbles[name]) {
this.storeBubbles[name] = {};
}
@ -27030,9 +27032,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["top"]);
var position = this._getTopPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isTopSpaceEnough(context, this.get(name))) {
if (!$.isTopSpaceEnough(context, this.get(name), adjustYOffset)) {
if (!this.storeBubbles[name]["left"]) {
this.storeBubbles[name]["left"] = this._createBubble("left", text, level, 30);
}
@ -27045,9 +27047,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["left"]);
var position = this._getLeftPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left - adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isLeftSpaceEnough(context, this.get(name))) {
if (!$.isLeftSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["right"]) {
this.storeBubbles[name]["right"] = this._createBubble("right", text, level, 30);
}
@ -27060,9 +27062,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["right"]);
var position = this._getRightPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isRightSpaceEnough(context, this.get(name))) {
if (!$.isRightSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["bottom"]) {
this.storeBubbles[name]["bottom"] = this._createBubble("bottom", text, level);
}
@ -27075,7 +27077,7 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["bottom"]);
var position = this._getBottomPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top + adjustYOffset});
this.get(name).invisible();
}
}
@ -36402,15 +36404,15 @@ BI.Single = BI.inherit(BI.Widget, {
_showToolTip: function (e, opt) {
opt || (opt = {});
var self = this;
var self = this, o = this.options;
var type = this.getTipType() || (this.isEnabled() ? "success" : "warning");
var title = type === "success" ? this.getTitle() : (this.getWarningTitle() || this.getTitle());
if (BI.isKey(title)) {
BI.Tooltips.show(e, this.getName(), title, type, this, opt);
if (opt.action) {
BI.Actions.runAction(opt.action, "hover", opt, title);
if (o.action) {
BI.Actions.runAction(o.action, "hover", o, this);
}
BI.Actions.runGlobalAction("hover", opt, title);
BI.Actions.runGlobalAction("hover", o, this);
}
},
@ -54301,10 +54303,11 @@ BI.CodeEditor = BI.inherit(BI.Single, {
// 解决插入字段由括号或其他特殊字符包围时分裂的bug,在两端以不可见字符包裹一下
this.editor.replaceSelection("\u200b" + param + "\u200b");
var to = this.editor.getCursor();
var options = {className: "param", atomic: true, replacedWith: $("<span class='param start end' />").text(param)[0]};
var className = "param";
if (BI.isNotNull(param.match(/^<!.*!>$/))) {
options.className = "error-param";
className = "error-param";
}
var options = {className: className, atomic: true, replacedWith: $("<span class='" + className + " start end' />").text(param)[0]};
options.value = value;
this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");
@ -54620,7 +54623,9 @@ BI.Editor = BI.inherit(BI.Single, {
errorText = errorText(this.editor.getValue());
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this);
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
adjustYOffset: 2
});
this._checkToolTip();
return BI.Bubbles.get(this.getName());
}
@ -76383,7 +76388,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
BI.CustomColorChooser.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.editor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor"
type: "bi.simple_color_picker_editor"
});
this.editor.on(BI.ColorPickerEditor.EVENT_CHANGE, function () {
self.setValue(this.getValue());
@ -76413,7 +76418,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
el: this.farbtastic,
left: 15,
right: 15,
top: 10
top: 7
}],
height: 215
}]
@ -77432,28 +77437,22 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
},
_showPreColor: function (color) {
if(this.isEnabled()) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-disabled-background").addClass("auto-color-normal-disabled-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-disabled-background").addClass("trans-color-disabled-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-disabled-background").removeClass("trans-color-disabled-background");
}
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
},
_setEnable: function (enable) {
BI.ColorPickerEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
if (enable === true) {
this.element.removeClass("base-disabled disabled");
} else if (enable === false) {
this.element.addClass("base-disabled disabled");
}
},
setValue: function (color) {
@ -77515,7 +77514,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
// width: 200,
height: 20
height: 30
});
},
@ -77525,8 +77524,8 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card",
height: 20,
width: 40
height: 16,
width: 16
});
var RGB = BI.createWidgets(BI.createItems([{text: "R"}, {text: "G"}, {text: "B"}], {
type: "bi.label",
@ -77565,9 +77564,9 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
element: this,
items: [{
el: this.colorShow,
width: 40,
lgap: 5,
rgap: 5
width: 16,
lgap: 20,
rgap: 15
}, {
el: RGB[0],
width: 20
@ -102303,7 +102302,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
forceNotSelected: true,
trigger: "lclick,",
cls: "pull-up-font top-button bi-border-left bi-list-item-active3"
cls: "add-up-font top-button bi-border-left bi-list-item-active3"
});
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step);
@ -102314,7 +102313,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
trigger: "lclick,",
forceNotSelected: true,
cls: "pull-down-font bottom-button bi-border-left bi-list-item-active3"
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3"
});
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step);
@ -102394,7 +102393,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
border: 1,
less: 0,
less_equal: 1,
numTip: ""
numTip: "",
adjustYOffset: 2
},
_defaultConfig: function () {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
@ -102680,17 +102680,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -102726,7 +102729,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
w.on(BI.Editor.EVENT_ERROR, function () {
self._checkValidation();
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
});
@ -102739,13 +102743,15 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
@ -102762,17 +102768,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -113329,7 +113338,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
return this.combo.getValue();
},
populate: function () {
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
}
});

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

94
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

BIN
dist/font/iconfont.eot vendored

Binary file not shown.

34
dist/font/iconfont.svg vendored

@ -36,25 +36,25 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="icon-test" unicode="&#59056;" d="M807.488 518.656h-104l-43.904-264.896h125.12v-55.232h-134.848l-25.984-135.68h-63.36l25.984 135.68H368.64l-29.248-135.68H277.76l29.248 135.68H217.6v55.232h100.736l48.768 264.896H245.248v55.232h131.584L402.88 710.4h61.696l-25.984-136.512h211.2l24.448 136.512h63.36l-22.72-136.512h92.608v-55.232z m-211.264-264.896l45.504 264.896h-211.2l-50.432-264.896h216.128z" horiz-adv-x="1024" />
<glyph glyph-name="shijian" unicode="&#59057;" d="M512 37.312A347.072 347.072 0 0 0 165.312 384 347.072 347.072 0 0 0 512 730.688 347.072 347.072 0 0 0 858.688 384 347.072 347.072 0 0 0 512 37.312zM512 800A416.448 416.448 0 0 1 96 384c0-229.376 186.624-416 416-416s416 186.624 416 416S741.376 800 512 800z m34.688-409.344V592a34.688 34.688 0 0 1-69.376 0v-215.68a34.56 34.56 0 0 1 10.176-24.512l116.224-116.224a34.56 34.56 0 0 1 49.024 0 34.688 34.688 0 0 1 0 49.024L546.688 390.656z" horiz-adv-x="1024" />
<glyph glyph-name="shijian" unicode="&#59057;" d="M512 37.31200000000001A347.072 347.072 0 0 0 165.312 384 347.072 347.072 0 0 0 512 730.688 347.072 347.072 0 0 0 858.688 384 347.072 347.072 0 0 0 512 37.31200000000001zM512 800A416.448 416.448 0 0 1 96 384c0-229.376 186.624-416 416-416s416 186.624 416 416S741.376 800 512 800z m34.688-409.344V592a34.688 34.688 0 0 1-69.376 0v-215.68a34.56 34.56 0 0 1 10.176-24.512l116.224-116.224a34.56 34.56 0 0 1 49.024 0 34.688 34.688 0 0 1 0 49.024L546.688 390.656z" horiz-adv-x="1024" />
<glyph glyph-name="fenxibiao" unicode="&#59059;" d="M885.312 761.6c71.936 0.192 132.48-53.76 138.24-123.2 5.76-70.464-44.416-132.032-116.8-143.68-16.64-2.688-33.024-2.368-49.28 1.28-6.4 1.408-8.768-0.448-11.52-5.12-50.88-85.76-101.696-171.52-152.96-256.896-5.376-8.832 1.152-10.24 5.568-13.632 35.2-27.2 51.584-62.912 45.824-106.24-6.08-45.184-32.384-76.864-76.352-93.184a118.4 118.4 0 0 0-131.328 34.368c-32 37.76-36.416 89.856-10.368 131.968 4.48 7.168 4.544 10.24-2.944 15.68a32231.36 32231.36 0 0 0-214.784 156.288c-5.952 4.352-10.432 5.312-17.472 1.92-16.32-7.616-34.048-10.496-51.968-7.936-7.744 1.152-10.944-1.344-14.464-7.232a8896 8896 0 0 0-64.64-108.608c-4.032-6.656-4.224-10.624 1.152-17.408 24.064-30.272 27.136-63.36 9.024-97.28a89.6 89.6 0 0 0-89.024-45.568c-38.272 4.992-64.768 25.536-76.8 61.632-20.864 62.912 35.456 124.928 102.4 112.832 7.488-1.408 10.944 0.64 14.528 6.784 20.16 34.56 40.576 69.12 61.44 103.36 4.608 7.424 4.48 11.328-2.56 17.536a97.28 97.28 0 0 0-24.96 113.856c17.472 39.104 58.24 62.976 102.72 60.096 42.112-2.752 78.912-32 90.88-72.768 8.064-27.328 4.608-53.504-10.24-77.888-3.904-6.4-2.752-9.28 2.944-13.44 72.32-52.352 144.64-104.96 216.768-157.632 4.736-3.456 8.256-4.672 14.08-1.472a110.08 110.08 0 0 0 64.512 13.056c8.128-0.768 11.52 2.176 15.232 8.448 50.112 84.736 100.416 169.344 151.04 253.76 4.48 7.616 4.736 11.328-3.008 17.216a131.2 131.2 0 0 0-44.544 148.864c18.944 53.568 71.488 90.112 129.664 90.24z" horiz-adv-x="1024" />
<glyph glyph-name="shujukubiao" unicode="&#59060;" d="M81.216 103.616v523.52H384c33.28 0 61.12-11.264 83.584-33.728 20.608-20.352 30.912-48.64 30.912-84.864v-275.008c0-42.624-10.624-74.944-32-96.96-9.6-10.048-21.632-18.304-36.032-24.704a87.68 87.68 0 0 0-33.728-8.32H81.28zM166.4 179.584h197.952c15.36 0 27.264 4.096 35.776 12.352a41.152 41.152 0 0 1 13.056 30.592V505.088c0 30.72-15.104 46.08-45.376 46.08H166.464v-371.584z m745.216 192.832c16.768-22.208 25.088-41.728 25.088-58.432v-105.6c0-31.104-10.88-56.896-32.64-77.312-20.416-19.008-43.456-28.48-69.12-28.48H656.64c-37.376 0-67.072 11.328-89.024 33.984-21.76 22.464-32.64 51.136-32.64 85.952V515.392c0 33.28 11.2 60.608 33.664 82.176 22.4 22.016 49.152 33.024 80.064 33.024h172.928c31.616 0 59.904-11.392 84.928-34.048 20.16-18.368 30.208-40.448 30.208-66.368v-51.84c0-36.928-2.752-62.144-8.256-75.648a195.52 195.52 0 0 0-16.832-30.272z m-291.52-34.752v-108.608c0-33.664 13.44-50.56 40.256-50.56h137.856c18.112 0 32.064 4.992 41.92 14.848a39.424 39.424 0 0 1 11.328 28.48V296.448c0 10.048-4.48 19.456-13.44 28.16a46.464 46.464 0 0 1-34.304 13.056H620.16z m0 75.968h188.8a43.648 43.648 0 0 1 30.528 10.688 38.4 38.4 0 0 1 12.032 29.184v58.112a44.16 44.16 0 0 1-9.6 29.568c-7.552 8.96-18.56 13.44-33.024 13.44h-148.864a40.192 40.192 0 0 1-24.704-8.32 34.944 34.944 0 0 1-15.168-28.48v-104.192z" horiz-adv-x="1024" />
<glyph glyph-name="shujukubiao" unicode="&#59060;" d="M81.216 103.61599999999999v523.52H384c33.28 0 61.12-11.264 83.584-33.728 20.608-20.352 30.912-48.64 30.912-84.864v-275.008c0-42.624-10.624-74.944-32-96.96-9.6-10.048-21.632-18.304-36.032-24.704a87.68 87.68 0 0 0-33.728-8.32H81.28zM166.4 179.58399999999995h197.952c15.36 0 27.264 4.096 35.776 12.352a41.152 41.152 0 0 1 13.056 30.592V505.088c0 30.72-15.104 46.08-45.376 46.08H166.464v-371.584z m745.216 192.832c16.768-22.208 25.088-41.728 25.088-58.432v-105.6c0-31.104-10.88-56.896-32.64-77.312-20.416-19.008-43.456-28.48-69.12-28.48H656.64c-37.376 0-67.072 11.328-89.024 33.984-21.76 22.464-32.64 51.136-32.64 85.952V515.392c0 33.28 11.2 60.608 33.664 82.176 22.4 22.016 49.152 33.024 80.064 33.024h172.928c31.616 0 59.904-11.392 84.928-34.048 20.16-18.368 30.208-40.448 30.208-66.368v-51.84c0-36.928-2.752-62.144-8.256-75.648a195.52 195.52 0 0 0-16.832-30.272z m-291.52-34.752v-108.608c0-33.664 13.44-50.56 40.256-50.56h137.856c18.112 0 32.064 4.992 41.92 14.848a39.424 39.424 0 0 1 11.328 28.48V296.448c0 10.048-4.48 19.456-13.44 28.16a46.464 46.464 0 0 1-34.304 13.056H620.16z m0 75.968h188.8a43.648 43.648 0 0 1 30.528 10.688 38.4 38.4 0 0 1 12.032 29.184v58.112a44.16 44.16 0 0 1-9.6 29.568c-7.552 8.96-18.56 13.44-33.024 13.44h-148.864a40.192 40.192 0 0 1-24.704-8.32 34.944 34.944 0 0 1-15.168-28.48v-104.192z" horiz-adv-x="1024" />
<glyph glyph-name="Excelbiao" unicode="&#59061;" d="M21.952 101.568l54.016 175.936c5.952 19.52 12.608 34.112 19.904 43.84-10.56 20.352-20.992 47.424-31.296 81.28L31.68 510.656h83.264l29.696-96.256c5.952-21.952 11.072-35.712 15.424-41.408 8.96-11.136 22.464-16.64 40.64-16.64 25.728 0 42.24 11.52 49.536 34.496l36.992 119.808h84.864L322.56 353.088a444.8 444.8 0 0 0-15.424-30.464l15.424-30.528 59.328-190.528H295.68l-46.72 149.952c-4.032 13.248-9.216 21.888-15.424 25.984a56.832 56.832 0 0 1-32.896 8.96c-25.472 0-41.6-10.88-48.384-32.512l-47.936-152.32H21.952z m415.168 619.52h86.528v-619.904H437.12V721.152z m141.44-620.736v76.8h248.576c24.32 0 36.544 9.472 36.544 28.416v36.16c0 20.032-12.16 30.08-36.544 30.08h-139.328c-34.432 0-61.12 9.728-80 29.248-19.584 20.032-29.312 42.496-29.312 67.456v42.24c0 28.736 9.728 52.48 29.248 71.488 19.52 19.2 43.904 28.8 73.152 28.8H940.8v-76.736h-237.632a44.672 44.672 0 0 1-27.008-8.128c-7.488-5.376-11.2-12.032-11.2-19.84v-31.36c0-5.632 2.688-11.072 8.128-16.256 7.296-6.72 19.2-10.112 35.776-10.112h133.632c33.856 0 60.544-10.176 80-30.464 18.432-19.2 27.648-39.68 27.648-61.376v-56.448c0-29.824-9.6-53.76-28.8-71.936-19.52-18.688-47.552-28.032-84.096-28.032H578.496z" horiz-adv-x="1024" />
<glyph glyph-name="Excelbiao" unicode="&#59061;" d="M21.952 101.56799999999998l54.016 175.936c5.952 19.52 12.608 34.112 19.904 43.84-10.56 20.352-20.992 47.424-31.296 81.28L31.68 510.656h83.264l29.696-96.256c5.952-21.952 11.072-35.712 15.424-41.408 8.96-11.136 22.464-16.64 40.64-16.64 25.728 0 42.24 11.52 49.536 34.496l36.992 119.808h84.864L322.56 353.08799999999997a444.8 444.8 0 0 0-15.424-30.464l15.424-30.528 59.328-190.528H295.68l-46.72 149.952c-4.032 13.248-9.216 21.888-15.424 25.984a56.832 56.832 0 0 1-32.896 8.96c-25.472 0-41.6-10.88-48.384-32.512l-47.936-152.32H21.952z m415.168 619.52h86.528v-619.904H437.12V721.152z m141.44-620.736v76.8h248.576c24.32 0 36.544 9.472 36.544 28.416v36.16c0 20.032-12.16 30.08-36.544 30.08h-139.328c-34.432 0-61.12 9.728-80 29.248-19.584 20.032-29.312 42.496-29.312 67.456v42.24c0 28.736 9.728 52.48 29.248 71.488 19.52 19.2 43.904 28.8 73.152 28.8H940.8v-76.736h-237.632a44.672 44.672 0 0 1-27.008-8.128c-7.488-5.376-11.2-12.032-11.2-19.84v-31.36c0-5.632 2.688-11.072 8.128-16.256 7.296-6.72 19.2-10.112 35.776-10.112h133.632c33.856 0 60.544-10.176 80-30.464 18.432-19.2 27.648-39.68 27.648-61.376v-56.448c0-29.824-9.6-53.76-28.8-71.936-19.52-18.688-47.552-28.032-84.096-28.032H578.496z" horiz-adv-x="1024" />
<glyph glyph-name="tianjiabiao" unicode="&#59063;" d="M176.832 10.688V756.416l-0.256 0.128h409.536v-186.432c0-41.152 33.408-74.624 74.496-74.624h185.664c0.064-0.64 0.32-1.408 0.32-1.92l0.256-482.944H176.768z m620.48 559.36l-136.768 0.064V719.104l136.768-149.056z m88.448 13.824l-190.528 207.552c-21.12 23.04-58.88 39.68-89.728 39.68H176.576A74.56 74.56 0 0 1 102.4 756.48v-745.728c0-41.152 33.088-74.496 74.112-74.688h670.336a74.496 74.496 0 0 1 74.112 74.752V493.44c0 30.144-14.784 68.16-35.2 90.368z m-335.296-338.304h109.44c20.672 0 37.44 16.64 37.44 37.184A37.376 37.376 0 0 1 659.904 320H550.4V432.256a37.376 37.376 0 0 1-37.184 37.504 37.376 37.376 0 0 1-37.248-37.504V320H359.936a37.376 37.376 0 0 1-37.504-37.248c0-20.48 16.832-37.184 37.504-37.184h116.096v-113.28c0-20.672 16.64-37.44 37.248-37.44a37.376 37.376 0 0 1 37.184 37.504v113.216z" horiz-adv-x="1024" />
<glyph glyph-name="tianjiabiao" unicode="&#59063;" d="M176.832 10.687999999999988V756.4159999999999l-0.256 0.128h409.536v-186.432c0-41.152 33.408-74.624 74.496-74.624h185.664c0.064-0.64 0.32-1.408 0.32-1.92l0.256-482.944H176.768z m620.48 559.36l-136.768 0.064V719.104l136.768-149.056z m88.448 13.824l-190.528 207.552c-21.12 23.04-58.88 39.68-89.728 39.68H176.576A74.56 74.56 0 0 1 102.4 756.48v-745.728c0-41.152 33.088-74.496 74.112-74.688h670.336a74.496 74.496 0 0 1 74.112 74.752V493.44c0 30.144-14.784 68.16-35.2 90.368z m-335.296-338.304h109.44c20.672 0 37.44 16.64 37.44 37.184A37.376 37.376 0 0 1 659.904 320H550.4V432.256a37.376 37.376 0 0 1-37.184 37.504 37.376 37.376 0 0 1-37.248-37.504V320H359.936a37.376 37.376 0 0 1-37.504-37.248c0-20.48 16.832-37.184 37.504-37.184h116.096v-113.28c0-20.672 16.64-37.44 37.248-37.44a37.376 37.376 0 0 1 37.184 37.504v113.216z" horiz-adv-x="1024" />
<glyph glyph-name="ABC" unicode="&#59064;" d="M108.8 143.36l109.696 370.624c9.152 30.848 21.248 55.36 36.224 73.472 20.224 24.768 47.488 37.184 81.92 37.184 34.112 0 60.48-9.664 79.04-29.056 14.592-15.424 25.6-35.2 33.152-59.392l119.36-393.088H490.368L444.416 289.92H233.472l-49.024-146.88L108.8 143.36z m140.928 215.68h175.04l-45.952 153.408a74.24 74.24 0 0 1-15.36 26.56 32 32 0 0 1-25.28 11.52 35.84 35.84 0 0 1-28.8-14.656 63.168 63.168 0 0 1-12.8-23.424L249.792 359.04z m346.56 262.144h66.56V463.36h161.92c30.208 0 53.12-7.36 68.736-22.144 15.36-14.592 23.104-31.36 23.104-50.304v-165.632c0-26.496-7.616-46.72-22.784-60.608a76.864 76.864 0 0 0-54.08-21.888h-164.096c-18.56 0-34.944 4.992-49.344 14.976-20.032 13.568-30.016 37.76-30.016 72.832V621.184z m96.896-419.328h123.712c12.736 0 21.504 2.56 26.24 7.808 4.608 4.992 6.912 13.184 6.912 24.64V373.76c0 20.48-9.344 30.656-28.16 30.656h-118.08c-15.232 0-24.704-1.408-28.416-4.096a26.24 26.24 0 0 1-12.544-22.784v-141.888c0-22.528 10.112-33.728 30.336-33.728z" horiz-adv-x="1024" />
<glyph glyph-name="ABC" unicode="&#59064;" d="M249.6 703.744h524.16v-83.328H560.512V64H463.744V620.4159999999999H249.6z" horiz-adv-x="1024" />
<glyph glyph-name="Sqlbiao" unicode="&#59065;" d="M20.736 164.352v76.8h248.576c24.384 0 36.608 9.472 36.608 28.416v36.16c0 20.032-12.16 30.08-36.608 30.08H129.984c-34.368 0-61.056 9.728-80 29.248-19.52 20.032-29.248 42.496-29.248 67.456v42.24c0 28.736 9.728 52.48 29.248 71.488 19.456 19.2 43.84 28.8 73.088 28.8h260.032v-76.736H145.408a44.672 44.672 0 0 1-27.008-8.128c-7.424-5.376-11.136-12.032-11.136-19.84v-31.36c0-5.632 2.688-11.072 8.128-16.256 7.296-6.72 19.2-10.112 35.712-10.112H284.8c33.856 0 60.544-10.176 80-30.464 18.432-19.2 27.648-39.68 27.648-61.376v-56.448c0-29.824-9.6-53.76-28.8-71.936-19.584-18.688-47.616-28.032-84.16-28.032H20.736z m743.808 5.312H548.48c-29.76 0-51.2 4.032-64.192 12.16-31.36 19.84-47.104 47.296-47.104 82.496V488.128c0 26.048 8.64 47.68 25.984 65.024 16.832 16.512 38.72 24.768 65.856 24.768h218.112c35.2 0 62.208-10.816 80.896-32.512 15.36-17.856 23.104-40.448 23.104-67.84v-452.16h-86.528v144.256zM552.96 244.416l165.76-0.448c18.432 0 30.592 3.264 36.544 9.792 6.272 6.464 9.344 17.216 9.344 32.064V458.112c0 15.68-2.816 26.368-8.512 32.064-7.296 7.296-20.864 11.008-40.64 11.008H561.408a39.36 39.36 0 0 1-29.632-11.84 26.624 26.624 0 0 1-8.128-19.456v-158.464c0-32.512 3.008-51.584 8.96-57.28 6.784-6.464 13.504-9.728 20.288-9.728z m351.808 540.736h86.528v-619.968h-86.528V785.152z" horiz-adv-x="1024" />
<glyph glyph-name="Sqlbiao" unicode="&#59065;" d="M20.736 164.35199999999998v76.8h248.576c24.384 0 36.608 9.472 36.608 28.416v36.16c0 20.032-12.16 30.08-36.608 30.08H129.984c-34.368 0-61.056 9.728-80 29.248-19.52 20.032-29.248 42.496-29.248 67.456v42.24c0 28.736 9.728 52.48 29.248 71.488 19.456 19.2 43.84 28.8 73.088 28.8h260.032v-76.736H145.408a44.672 44.672 0 0 1-27.008-8.128c-7.424-5.376-11.136-12.032-11.136-19.84v-31.36c0-5.632 2.688-11.072 8.128-16.256 7.296-6.72 19.2-10.112 35.712-10.112H284.8c33.856 0 60.544-10.176 80-30.464 18.432-19.2 27.648-39.68 27.648-61.376v-56.448c0-29.824-9.6-53.76-28.8-71.936-19.584-18.688-47.616-28.032-84.16-28.032H20.736z m743.808 5.312H548.48c-29.76 0-51.2 4.032-64.192 12.16-31.36 19.84-47.104 47.296-47.104 82.496V488.128c0 26.048 8.64 47.68 25.984 65.024 16.832 16.512 38.72 24.768 65.856 24.768h218.112c35.2 0 62.208-10.816 80.896-32.512 15.36-17.856 23.104-40.448 23.104-67.84v-452.16h-86.528v144.256zM552.96 244.41600000000005l165.76-0.448c18.432 0 30.592 3.264 36.544 9.792 6.272 6.464 9.344 17.216 9.344 32.064V458.112c0 15.68-2.816 26.368-8.512 32.064-7.296 7.296-20.864 11.008-40.64 11.008H561.408a39.36 39.36 0 0 1-29.632-11.84 26.624 26.624 0 0 1-8.128-19.456v-158.464c0-32.512 3.008-51.584 8.96-57.28 6.784-6.464 13.504-9.728 20.288-9.728z m351.808 540.736h86.528v-619.968h-86.528V785.152z" horiz-adv-x="1024" />
<glyph glyph-name="normal" unicode="&#59066;" d="M622.016 673.408L216.128 267.58399999999995l-11.776-129.472 129.472 11.776 405.824 405.888L622.08 673.408z m54.272 54.336l117.696-117.696 54.144 54.208-117.632 117.632-54.208-54.144zM140.8-6.1440000000000055H832a38.4 38.4 0 0 0 0-76.8H140.8a38.4 38.4 0 0 0 0 76.8z m227.648 82.048l-248.96-22.592 22.656 248.896L685.248 845.248a64 64 0 0 0 90.496 0l135.744-135.744a64 64 0 0 0 0-90.496l-543.04-543.104z" horiz-adv-x="1024" />
@ -108,7 +108,7 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="normal16" unicode="&#59082;" d="M256 633.6a38.4 38.4 0 1 0 0 76.8h576a38.4 38.4 0 0 0 0-76.8H256z m0-384a38.4 38.4 0 1 0 0 76.8h576a38.4 38.4 0 0 0 0-76.8H256z m0 192a38.4 38.4 0 1 0 0 76.8h320a38.4 38.4 0 1 0 0-76.8H256z m0-384a38.4 38.4 0 0 0 0 76.8h320a38.4 38.4 0 0 0 0-76.8H256z" horiz-adv-x="1024" />
<glyph glyph-name="normal17" unicode="&#59083;" d="M1004.567189 527.865835a541.929984 541.929984 0 0 0 0-287.73231 42.878258 42.878258 0 0 0-43.774221-31.806708 83.644602 83.644602 0 0 1-79.356776-43.710225 89.404368 89.404368 0 0 1 2.815885-92.476243 44.79818 44.79818 0 0 0-4.863802-54.845772 507.627378 507.627378 0 0 0-242.294157-143.99415 42.238284 42.238284 0 0 0-48.638024 23.103062A84.66856 84.66856 0 0 1 511.979201-54.766495a84.66856 84.66856 0 0 1-76.476893-48.830016 42.238284 42.238284 0 0 0-48.638024-23.039064 507.435385 507.435385 0 0 0-242.294157 143.99415 44.79818 44.79818 0 0 0-4.9278 54.717777c18.111264 28.030861 19.19922 63.485421 2.815886 92.54024a84.796555 84.796555 0 0 1-79.356776 43.710225 42.622268 42.622268 0 0 0-43.710225 31.806708A539.242093 539.242093 0 0 0 0 383.99968c0 48.638024 6.463737 97.020059 19.391212 143.866155a42.110289 42.110289 0 0 0 43.710225 31.806708c32.382684-2.239909 63.229431 14.719402 79.356776 43.710225a89.404368 89.404368 0 0 1-2.815886 92.476243 44.79818 44.79818 0 0 0 4.9278 54.845772A507.947365 507.947365 0 0 0 386.864284 894.698933a42.238284 42.238284 0 0 0 48.638024-23.103062c14.27142-30.078778 44.030211-48.958011 76.476893-48.894013 32.510679-0.063997 62.205473 18.879233 76.476893 48.894013a42.238284 42.238284 0 0 0 48.638024 23.039064 508.075359 508.075359 0 0 0 242.294157-143.99415 44.79818 44.79818 0 0 0 4.863802-54.717777c-18.047267-27.774872-19.135223-63.677413-2.815885-92.54024 16.127345-29.05482 46.974092-46.014131 79.356776-43.710225 20.095184 1.407943 38.39844-11.903516 43.774221-31.806708z m-74.876958-233.526513a453.357582 453.357582 0 0 1 0 179.320716 169.465115 169.465115 0 0 0-122.107039 85.756516 179.000728 179.000728 0 0 0-11.263542 151.673838 422.254846 422.254846 0 0 1-150.969867 89.788352 167.86518 167.86518 0 0 0-266.805161 0 422.574833 422.574833 0 0 1-150.90587-89.788352 178.936731 178.936731 0 0 0-11.263542-151.673838 169.465115 169.465115 0 0 0-122.171037-85.756516 455.661489 455.661489 0 0 1 0-179.320716 169.401118 169.401118 0 0 0 122.235034-85.88451c26.046942-46.078128 30.142775-101.947858 11.199545-151.545844a422.830822 422.830822 0 0 1 150.90587-89.724355 167.86518 167.86518 0 0 0 266.869158-0.063997 422.63883 422.63883 0 0 1 150.90587 89.788352 178.808736 178.808736 0 0 0 11.263542 151.545844A169.401118 169.401118 0 0 0 929.690231 294.40332zM511.979201 607.99058c123.514982 0 223.9909-100.475918 223.9909-223.9909S635.494183 160.00878 511.979201 160.00878 287.9883 260.484698 287.9883 383.99968 388.464219 607.99058 511.979201 607.99058z m0-358.38544c74.108989 0 134.39454 60.349548 134.39454 134.39454 0 74.108989-60.285551 134.39454-134.39454 134.39454-74.108989 0-134.39454-60.285551-134.39454-134.39454 0-74.044992 60.285551-134.39454 134.39454-134.39454z" horiz-adv-x="1024" />
<glyph glyph-name="normal17" unicode="&#59083;" d="M989.29472 523.4051511499999a525.12697912 525.12697912 0 0 0 0-278.81092246 41.54878076 41.54878076 0 0 0-42.41696366-30.82051369 81.05112923 81.05112923 0 0 1-76.89625096-42.3549519 86.63230874 86.63230874 0 0 1 2.72857607-89.60893761 43.40917393 43.40917393 0 0 0-4.71299564-53.14523172 491.8879549 491.8879549 0 0 0-234.78161844-139.52948762 40.9286497 40.9286497 0 0 0-47.12996027 22.3867317A82.04333854 82.04333854 0 0 1 511.97984589-41.16216276a82.04333854 82.04333854 0 0 1-74.10566121-47.31599939 40.9286497 40.9286497 0 0 0-47.12996027-22.32471802 491.70191481 491.70191481 0 0 0-234.78161843 139.52948764 43.40917393 43.40917393 0 0 0-4.77500933 53.0212053c17.5497087 27.16174007 18.60393169 61.51700097 2.72857703 89.67095033a82.16736494 82.16736494 0 0 1-76.89625096 42.3549519 41.30072795 41.30072795 0 0 0-42.35495191 30.82051369A522.5224285 522.5224285 0 0 0 15.875 383.99968992000004c0 47.12996027 6.26332328 94.0118687 18.78997081 139.40546123a40.8046233 40.8046233 0 0 0 42.35495191 30.82051369c31.37863105-2.17045869 61.26894815 14.26301429 76.89625096 42.35495191a86.63230874 86.63230874 0 0 1-2.72857703 89.60893761 43.40917393 43.40917393 0 0 0 4.77500933 53.14523171A492.19802043 492.19802043 0 0 0 390.74422441 878.8642737a40.9286497 40.9286497 0 0 0 47.12996027-22.3867317c13.82892236-29.14615964 42.66501647-47.4400258 74.10566121-47.37801212 31.50265746-0.06201272 60.27673885 18.29386615 74.10566121 47.37801212a40.9286497 40.9286497 0 0 0 47.12996027 22.32471801 492.32204587 492.32204587 0 0 0 234.78161844-139.52948764 43.40917393 43.40917393 0 0 0 4.71299564-53.02120529c-17.48769597-26.91368822-18.54191897-61.70304009-2.72857607-89.67095033 15.6273028-28.15395034 45.51761991-44.58742332 76.89625097-42.35495191 19.47211555 1.36428852 37.20786337-11.53443725 42.41696365-30.82051369z m-72.55533357-226.28582278a439.30084056 439.30084056 0 0 1 0 173.7607231 164.21070348 164.21070348 0 0 0-118.32100532 83.09756152 173.45065659 173.45065659 0 0 0-10.91430619 146.97106031 409.16247162 409.16247162 0 0 1-146.28891654 87.00438699 162.66037583 162.66037583 0 0 0-258.5326377 0 409.47253715 409.47253715 0 0 1-146.22690381-87.00438698 173.38864388 173.38864388 0 0 0-10.91430621-146.97106032 164.21070348 164.21070348 0 0 0-118.383019-83.09756152 441.53331295 441.53331295 0 0 1 0-173.7607231 164.14869076 164.14869076 0 0 0 118.44503172-83.22158696c25.23933418-44.64943604 29.20817236-98.78687705 10.85229349-146.84703486a409.720589 409.720589 0 0 1 146.22690381-86.94237428 162.66037583 162.66037583 0 0 0 258.59465042-0.06201271 409.53454987 409.53454987 0 0 1 146.22690382 87.00438699 173.26461748 173.26461748 0 0 0 10.91430619 146.84703486A164.14869076 164.14869076 0 0 0 916.73938643 297.18134206zM511.97984589 601.0455595799999c119.68529384 0 217.04586966-97.36057581 217.04586965-217.04586966S631.66513973 166.95382027000005 511.97984589 166.95382027000005 294.93397527 264.31439608000005 294.93397527 383.99968992000004 392.29455206 601.0455595799999 511.97984589 601.0455595799999z m0-347.27339145c71.81117611 0 130.22752179 58.4783584 130.2275218 130.22752179 0 71.81117611-58.41634569 130.22752179-130.2275218 130.22752179-71.81117611 0-130.22752179-58.41634569-130.22752179-130.22752179 0-71.74916339 58.41634569-130.22752179 130.22752179-130.22752179z" horiz-adv-x="1024" />
<glyph glyph-name="normal18" unicode="&#59084;" d="M748.8 761.6v-755.2h57.6a32 32 0 0 0 32-32v-12.8a32 32 0 0 0-32-32h-192a32 32 0 0 0-32 32v12.8a32 32 0 0 0 32 32h57.6V761.6h-57.6a32 32 0 0 0-32 32v12.8a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-12.8a32 32 0 0 0-32-32h-57.6zM121.6 294.4h473.6v-76.8h-512a38.4 38.4 0 0 0-38.4 38.4V512a38.4 38.4 0 0 0 38.4 38.4h512v-76.8H121.6v-179.2z m691.2 0h89.6V473.6h-89.6V550.4h128a38.4 38.4 0 0 0 38.4-38.4v-256a38.4 38.4 0 0 0-38.4-38.4h-128V294.4z" horiz-adv-x="1024" />
@ -126,16 +126,16 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="normal22" unicode="&#59088;" d="M508.352 432.896l-248.96 248.96a32 32 0 1 1-45.248-45.312l248.96-248.896-248.96-248.896a32 32 0 0 1 45.312-45.248l248.896 248.96 248.896-248.96a32 32 0 1 1 45.248 45.248l-248.96 248.96 248.96 248.832a32 32 0 1 1-45.248 45.312l-248.96-248.96z" horiz-adv-x="1024" />
<glyph glyph-name="normal23" unicode="&#59089;" d="M0 123.52c206.08-113.856 520.32-134.272 509.824 313.728H256l384 384 384-384h-248.32c13.888-576-472.256-594.56-775.68-313.792" horiz-adv-x="1034" />
<glyph glyph-name="normal23" unicode="&#59089;" d="M0 123.51999999999998c206.08-113.856 520.32-134.272 509.824 313.728H256l384 384 384-384h-248.32c13.888-576-472.256-594.56-775.68-313.792" horiz-adv-x="1034" />
<glyph glyph-name="normal24" unicode="&#59090;" d="M1024 644.48c-206.08 113.856-520.32 134.272-509.824-313.728h253.824l-384-384-384 384h248.384c-13.952 576 472.192 594.56 775.68 313.792" horiz-adv-x="1034" />
<glyph glyph-name="normal25" unicode="&#59091;" d="M262.208-128C148.416 78.08 128 392.32 576 381.824V128l384 384-384 384v-248.384C0 661.568-18.56 175.424 262.208-128" horiz-adv-x="1024" />
<glyph glyph-name="normal25" unicode="&#59091;" d="M262.208-128C148.416 78.08000000000004 128 392.32 576 381.82399999999996V128l384 384-384 384v-248.384C0 661.568-18.56 175.42399999999998 262.208-128" horiz-adv-x="1024" />
<glyph glyph-name="normal26" unicode="&#59092;" d="M761.792-128C875.584 78.08 896 392.32 448 381.824V128L64 512l384 384v-248.384c576 13.952 594.56-472.192 313.792-775.616" horiz-adv-x="1024" />
<glyph glyph-name="normal26" unicode="&#59092;" d="M761.792-128C875.584 78.08000000000004 896 392.32 448 381.82399999999996V128L64 512l384 384v-248.384c576 13.952 594.56-472.192 313.792-775.616" horiz-adv-x="1024" />
<glyph glyph-name="normal27" unicode="&#59093;" d="M512 429.248L376.256 564.992a32 32 0 1 1-45.248-45.248L466.688 384l-135.68-135.744a32 32 0 0 1 45.248-45.248L512 338.688l135.744-135.68a32 32 0 1 1 45.248 45.248L557.312 384l135.68 135.744a32 32 0 1 1-45.248 45.248L512 429.312zM512 0A384 384 0 1 0 512 768a384 384 0 0 0 0-768z" horiz-adv-x="1024" />
@ -144,19 +144,19 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="normal28" unicode="&#59094;" d="M531.84 549.12l236.224-295.04a24.896 24.896 0 0 0-19.008-40.448l-462.08-8.064a24.96 24.96 0 0 0-20.416 39.808l225.792 302.976a24.96 24.96 0 0 0 39.488 0.704z" horiz-adv-x="1024" />
<glyph glyph-name="normal29" unicode="&#59095;" d="M531.712 219.52a24.96 24.96 0 0 0-39.488 0l-231.04 299.072a24.96 24.96 0 0 0 19.712 40.128h462.144a24.896 24.896 0 0 0 19.712-40.128l-231.04-299.072z" horiz-adv-x="1024" />
<glyph glyph-name="normal29" unicode="&#59095;" d="M531.712 219.51999999999998a24.96 24.96 0 0 0-39.488 0l-231.04 299.072a24.96 24.96 0 0 0 19.712 40.128h462.144a24.896 24.896 0 0 0 19.712-40.128l-231.04-299.072z" horiz-adv-x="1024" />
<glyph glyph-name="normal30" unicode="&#59096;" d="M678.4 403.712l-299.072 231.04a24.896 24.896 0 0 1-40.128-19.712v-462.144a24.96 24.96 0 0 1 40.128-19.712l299.072 231.04a24.96 24.96 0 0 1 0 39.488" horiz-adv-x="1024" />
<glyph glyph-name="normal31" unicode="&#59097;" d="M342.464 403.712l299.072 231.04a24.896 24.896 0 0 0 40.128-19.712v-462.144a24.96 24.96 0 0 0-40.128-19.712L342.4 364.224a24.96 24.96 0 0 0 0 39.488" horiz-adv-x="1024" />
<glyph glyph-name="normal31" unicode="&#59097;" d="M342.464 403.712l299.072 231.04a24.896 24.896 0 0 0 40.128-19.712v-462.144a24.96 24.96 0 0 0-40.128-19.712L342.4 364.22400000000005a24.96 24.96 0 0 0 0 39.488" horiz-adv-x="1024" />
<glyph glyph-name="normal32" unicode="&#59098;" d="M557.248 389.504l-163.84-163.84a32 32 0 0 1 45.248-45.312l180.992 180.992a32 32 0 0 1 8.96 28.16 32 32 0 0 1-8.96 28.16L438.656 598.592a32 32 0 1 1-45.312-45.312l163.904-163.84z" horiz-adv-x="1024" />
<glyph glyph-name="normal33" unicode="&#59099;" d="M506.496 338.752l-163.84 163.84a32 32 0 1 1-45.248-45.248l180.992-180.992a32 32 0 0 1 28.16-8.96 32 32 0 0 1 28.096 8.96l180.992 180.992a32 32 0 0 1-45.248 45.248l-163.84-163.84z" horiz-adv-x="1024" />
<glyph glyph-name="normal33" unicode="&#59099;" d="M506.496 338.75199999999995l-163.84 163.84a32 32 0 1 1-45.248-45.248l180.992-180.992a32 32 0 0 1 28.16-8.96 32 32 0 0 1 28.096 8.96l180.992 180.992a32 32 0 0 1-45.248 45.248l-163.84-163.84z" horiz-adv-x="1024" />
<glyph glyph-name="normal34" unicode="&#59100;" d="M160.96 443.008a311.168 311.168 0 1 0 622.4 0 311.168 311.168 0 0 0-622.4 0m768-440.576l-174.08 174.016a387.072 387.072 0 0 1 106.24 266.56 388.928 388.928 0 1 1-388.928-388.928 386.56 386.56 0 0 1 223.808 71.232l177.92-177.92a39.04 39.04 0 0 1 55.04 55.04" horiz-adv-x="1024" />
@ -1092,7 +1092,7 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="normal108" unicode="&#59286;" d="M256 320a64 64 0 1 0 0 128 64 64 0 0 0 0-128z m256 0a64 64 0 1 0 0 128 64 64 0 0 0 0-128z m256 0a64 64 0 1 0 0 128 64 64 0 0 0 0-128z" horiz-adv-x="1024" />
<glyph glyph-name="gengxinshezhi" unicode="&#59016;" d="M525.610667 99.84l49.493333-48.938667c15.445333-15.36 15.445333-40.106667 0-55.338666a39.338667 39.338667 0 0 0-27.946667-11.562667 39.978667 39.978667 0 0 0-27.989333 11.477333l-118.698667 117.461334a38.784 38.784 0 0 0 0 55.296l118.698667 117.504c15.36 15.317333 40.533333 15.317333 55.893333 0 15.488-15.36 15.488-40.106667 0-55.338667l-52.821333-52.309333h224.426667a156.629333 156.629333 0 0 1 156.458666 156.373333 156.586667 156.586667 0 0 1-146.218666 155.861333l-23.082667 1.365334-9.813333 20.821333a235.776 235.776 0 0 1-212.053334 134.656 235.776 235.776 0 0 1-212.053333-134.656l-9.813333-20.821333-23.04-1.450667a156.544 156.544 0 0 1-146.176-155.861333A156.672 156.672 0 0 1 277.333333 178.005333a39.125333 39.125333 0 1 0 0-78.250666A234.837333 234.837333 0 0 0 42.666667 334.293333c0 115.541333 84.778667 213.034667 196.821333 231.253334A314.026667 314.026667 0 0 0 512 725.333333a314.538667 314.538667 0 0 0 272.554667-159.573333A235.093333 235.093333 0 0 0 981.333333 334.336a234.88 234.88 0 0 0-234.666666-234.538667h-221.056z" horiz-adv-x="1024" />
<glyph glyph-name="gengxinshezhi" unicode="&#59016;" d="M525.610667 99.84000000000003l49.493333-48.938667c15.445333-15.36 15.445333-40.106667 0-55.338666a39.338667 39.338667 0 0 0-27.946667-11.562667 39.978667 39.978667 0 0 0-27.989333 11.477333l-118.698667 117.461334a38.784 38.784 0 0 0 0 55.296l118.698667 117.504c15.36 15.317333 40.533333 15.317333 55.893333 0 15.488-15.36 15.488-40.106667 0-55.338667l-52.821333-52.309333h224.426667a156.629333 156.629333 0 0 1 156.458666 156.373333 156.586667 156.586667 0 0 1-146.218666 155.861333l-23.082667 1.365334-9.813333 20.821333a235.776 235.776 0 0 1-212.053334 134.656 235.776 235.776 0 0 1-212.053333-134.656l-9.813333-20.821333-23.04-1.450667a156.544 156.544 0 0 1-146.176-155.861333A156.672 156.672 0 0 1 277.333333 178.00533299999995a39.125333 39.125333 0 1 0 0-78.250666A234.837333 234.837333 0 0 0 42.666667 334.29333299999996c0 115.541333 84.778667 213.034667 196.821333 231.253334A314.026667 314.026667 0 0 0 512 725.333333a314.538667 314.538667 0 0 0 272.554667-159.573333A235.093333 235.093333 0 0 0 981.333333 334.336a234.88 234.88 0 0 0-234.666666-234.538667h-221.056z" horiz-adv-x="1024" />
<glyph glyph-name="checkbox_hover" unicode="&#59017;" d="M192 768a64 64 0 0 1-64-64v-640a64 64 0 0 1 64-64h640a64 64 0 0 1 64 64V704a64 64 0 0 1-64 64H192z m0 64h640a128 128 0 0 0 128-128v-640a128 128 0 0 0-128-128H192a128 128 0 0 0-128 128V704a128 128 0 0 0 128 128z" horiz-adv-x="1024" />
@ -1107,7 +1107,7 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="normal109" unicode="&#58881;" d="M428.672 0a38.4 38.4 0 0 0 0-76.8H166.4A102.4 102.4 0 0 0 64 25.6v704A102.4 102.4 0 0 0 166.4 832h640a102.4 102.4 0 0 0 102.4-102.4v-203.712a38.4 38.4 0 0 0-76.8 0V729.6a25.6 25.6 0 0 1-25.6 25.6h-640a25.6 25.6 0 0 1-25.6-25.6v-704c0-14.08 11.52-25.6 25.6-25.6h262.272zM262.4 339.2a38.4 38.4 0 1 0 0 76.8h310.4a38.4 38.4 0 1 0 0-76.8H262.4z m0-192a38.4 38.4 0 0 0 0 76.8h193.792a38.4 38.4 0 0 0 0-76.8H262.4z m435.84 35.2a165.12 165.12 0 1 0 51.84-51.84l-67.712-67.712 55.168-55.232a32 32 0 0 0 0-45.248l-6.656-6.656a32 32 0 0 0-45.248 0l-55.168 55.232-81.152-81.152a32 32 0 0 0-45.248 0l-6.656 6.656a32 32 0 0 0 0 45.248l200.768 200.768zM262.4 531.2a38.4 38.4 0 1 0 0 76.8h464a38.4 38.4 0 0 0 0-76.8H262.4z m510.72-325.696a91.712 91.712 0 1 1 129.728 129.728 91.712 91.712 0 0 1-129.728-129.728z" horiz-adv-x="1024" />
<glyph glyph-name="normal110" unicode="&#59287;" d="M544 12.8H704V192h64v-179.2h115.2V320H140.8v-307.2H256V192h64v-179.2h160v211.2h64v-211.2zM883.2 384V499.2h-256v256H396.8v-256h-256V384h742.4zM704 576h192a64 64 0 0 0 64-64v-512a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64V512a64 64 0 0 0 64 64h192V768a64 64 0 0 0 64 64h256a64 64 0 0 0 64-64v-192z" horiz-adv-x="1024" />
<glyph glyph-name="normal110" unicode="&#59287;" d="M544 12.799999999999955H704V192h64v-179.2h115.2V320H140.8v-307.2H256V192h64v-179.2h160v211.2h64v-211.2zM883.2 384V499.2h-256v256H396.8v-256h-256V384h742.4zM704 576h192a64 64 0 0 0 64-64v-512a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64V512a64 64 0 0 0 64 64h192V768a64 64 0 0 0 64 64h256a64 64 0 0 0 64-64v-192z" horiz-adv-x="1024" />
<glyph glyph-name="ditupeizhi_biaojidian" unicode="&#59020;" d="M805.312 306.688l-261.44-388.096a38.4 38.4 0 0 0-63.68 0L218.496 306.688l-0.192-0.128a359.552 359.552 0 0 0-11.648 17.728l-10.944 16.192a38.272 38.272 0 0 0-5.888 14.4 358.4 358.4 0 1 0 635.968-16.192 38.528 38.528 0 0 0-3.968-7.552l-2.816-4.224a359.424 359.424 0 0 0-13.376-20.48l-0.32 0.256z m-51.2 61.44a281.6 281.6 0 1 1-482.88-2.368L512 8.832l242.176 359.424zM512 345.6a166.4 166.4 0 1 0 0 332.8 166.4 166.4 0 0 0 0-332.8z m0 76.8a89.6 89.6 0 1 1 0 179.2 89.6 89.6 0 0 1 0-179.2z" horiz-adv-x="1024" />
@ -1149,10 +1149,10 @@ t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-
<glyph glyph-name="zhibiaojuhe-zongzhou1" unicode="&#59027;" d="M154.112 774.4a38.4 38.4 0 0 0 75.776 0H896a38.4 38.4 0 0 0 0-76.8H230.4v-627.2H896a38.4 38.4 0 0 0 0-76.8H229.888a38.4 38.4 0 0 0-75.776 0H128a38.4 38.4 0 0 0 0 76.8h25.6V697.6H128a38.4 38.4 0 1 0 0 76.8h26.112z m191.104-419.328a38.4 38.4 0 0 0-50.432 57.856l187.264 163.2a38.4 38.4 0 0 0 41.472 5.824l152.96-71.616 163.84 127.936a38.4 38.4 0 1 0 47.36-60.544l-182.528-142.4a38.4 38.4 0 0 0-39.936-4.48L513.664 501.76 345.216 355.072z m0-224a38.4 38.4 0 1 0-50.432 57.856l187.264 163.2a38.4 38.4 0 0 0 41.472 5.824l152.96-71.616 163.84 127.936a38.4 38.4 0 1 0 47.36-60.544l-182.528-142.4a38.4 38.4 0 0 0-39.936-4.48L513.664 277.76l-168.448-146.752z" horiz-adv-x="1024" />
<glyph glyph-name="zhibiaojuhe-hengzhou1" unicode="&#59028;" d="M166.4 102.4h691.2V768a38.4 38.4 0 0 0 76.8 0v-666.112a38.4 38.4 0 0 0 0-75.776V0a38.4 38.4 0 0 0-76.8 0v25.6H166.4v-25.6a38.4 38.4 0 0 0-76.8 0v26.112a38.4 38.4 0 0 0 0 75.776V768a38.4 38.4 0 1 0 76.8 0v-665.6z m88.064 70.912a38.4 38.4 0 0 0-50.816 57.6l194.816 171.776a38.4 38.4 0 0 0 41.856 5.888l159.744-75.648 171.072 135.104a38.4 38.4 0 0 0 47.616-60.288L628.928 257.92a38.4 38.4 0 0 0-40.256-4.544L430.272 328.32l-175.808-155.072z m0 235.776a38.4 38.4 0 1 0-50.816 57.6l194.816 171.776a38.4 38.4 0 0 0 41.856 5.888l159.744-75.648 171.072 135.104a38.4 38.4 0 1 0 47.616-60.288L628.928 493.632a38.4 38.4 0 0 0-40.256-4.544L430.272 564.16 254.464 409.088z" horiz-adv-x="1024" />
<glyph glyph-name="zhibiaojuhe-hengzhou1" unicode="&#59028;" d="M166.4 102.39999999999998h691.2V768a38.4 38.4 0 0 0 76.8 0v-666.112a38.4 38.4 0 0 0 0-75.776V0a38.4 38.4 0 0 0-76.8 0v25.6H166.4v-25.6a38.4 38.4 0 0 0-76.8 0v26.112a38.4 38.4 0 0 0 0 75.776V768a38.4 38.4 0 1 0 76.8 0v-665.6z m88.064 70.912a38.4 38.4 0 0 0-50.816 57.6l194.816 171.776a38.4 38.4 0 0 0 41.856 5.888l159.744-75.648 171.072 135.104a38.4 38.4 0 0 0 47.616-60.288L628.928 257.91999999999996a38.4 38.4 0 0 0-40.256-4.544L430.272 328.32000000000005l-175.808-155.072z m0 235.776a38.4 38.4 0 1 0-50.816 57.6l194.816 171.776a38.4 38.4 0 0 0 41.856 5.888l159.744-75.648 171.072 135.104a38.4 38.4 0 1 0 47.616-60.288L628.928 493.632a38.4 38.4 0 0 0-40.256-4.544L430.272 564.1600000000001 254.464 409.088z" horiz-adv-x="1024" />
<glyph glyph-name="zhibiaobinglie-zongzhou1" unicode="&#59029;" d="M550.4 70.4H896a38.4 38.4 0 0 0 0-76.8H128a38.4 38.4 0 0 0 0 76.8h345.6V768a38.4 38.4 0 1 0 76.8 0v-697.6z m93.568 453.056a38.4 38.4 0 0 0-0.192 52.288l171.52 186.24a38.4 38.4 0 1 0 56.448-51.968l-147.328-160.064L892.032 371.2a38.4 38.4 0 0 0 0.32-52.16l-168.832-184.96a38.4 38.4 0 1 0-56.704 51.84l144.896 158.656-167.68 178.88z m-344.32-178.88l-167.68 178.88a38.4 38.4 0 0 0-0.192 52.288l171.52 186.24a38.4 38.4 0 0 0 56.448-51.968L212.416 549.952 380.032 371.2a38.4 38.4 0 0 0 0.32-52.16l-168.832-184.96a38.4 38.4 0 1 0-56.704 51.84l144.896 158.656z" horiz-adv-x="1024" />
<glyph glyph-name="zhibiaobinglie-zongzhou1" unicode="&#59029;" d="M550.4 70.39999999999998H896a38.4 38.4 0 0 0 0-76.8H128a38.4 38.4 0 0 0 0 76.8h345.6V768a38.4 38.4 0 1 0 76.8 0v-697.6z m93.568 453.056a38.4 38.4 0 0 0-0.192 52.288l171.52 186.24a38.4 38.4 0 1 0 56.448-51.968l-147.328-160.064L892.032 371.20000000000005a38.4 38.4 0 0 0 0.32-52.16l-168.832-184.96a38.4 38.4 0 1 0-56.704 51.84l144.896 158.656-167.68 178.88z m-344.32-178.88l-167.68 178.88a38.4 38.4 0 0 0-0.192 52.288l171.52 186.24a38.4 38.4 0 0 0 56.448-51.968L212.416 549.952 380.032 371.20000000000005a38.4 38.4 0 0 0 0.32-52.16l-168.832-184.96a38.4 38.4 0 1 0-56.704 51.84l144.896 158.656z" horiz-adv-x="1024" />
<glyph glyph-name="qiehuanlujingtianjiaziduan" unicode="&#59275;" d="M217.6 515.264L91.136 388.864a38.4 38.4 0 0 0-54.272 54.272l192 192A38.4 38.4 0 0 0 294.4 608v-512a89.6 89.6 0 0 1 179.2 0v576a166.4 166.4 0 1 0 332.8 0v-419.264l126.464 126.4a38.4 38.4 0 0 0 54.272-54.272l-192-192A38.4 38.4 0 0 0 729.6 160v512a89.6 89.6 0 0 1-179.2 0v-576a166.4 166.4 0 0 0-332.8 0V515.264z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

BIN
dist/font/iconfont.ttf vendored

Binary file not shown.

BIN
dist/font/iconfont.woff vendored

Binary file not shown.

33
dist/resource.css vendored

@ -320,8 +320,8 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none;
}
.auto-color-normal-disabled-background {
background: url('images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal.png');
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
@ -329,6 +329,11 @@ textarea::-webkit-scrollbar-thumb:hover {
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
@font-face {
font-family: 'bi';
src: url('font/iconfont.eot');
@ -1288,6 +1293,30 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6dd";
color: #13cd66;
}
.add-up-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
}
.add-up-font .b-font:before {
content: "\e70a";
color: inherit;
}
.add-up-font.disabled .b-font:before {
content: "\e70a";
color: inherit;
}
.minus-down-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
}
.minus-down-font .b-font:before {
content: "\e70b";
color: inherit;
}
.minus-down-font.disabled .b-font:before {
content: "\e70b";
color: inherit;
}
.tree-collapse-icon-type1 .x-icon {
display: block;
background: url('images/2x/icon/tree_collapse_1.png') no-repeat center center;

6
dist/widget.css vendored

@ -180,6 +180,12 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-number-editor .pull-down-font {
font-size: 12px;
}
.bi-number-editor .pull-up-font {
font-size: 12px;
}
.bi-number-interval .number-interval-small-editor {
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;

37
dist/widget.js vendored

@ -14243,7 +14243,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
forceNotSelected: true,
trigger: "lclick,",
cls: "pull-up-font top-button bi-border-left bi-list-item-active3"
cls: "add-up-font top-button bi-border-left bi-list-item-active3"
});
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step);
@ -14254,7 +14254,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
trigger: "lclick,",
forceNotSelected: true,
cls: "pull-down-font bottom-button bi-border-left bi-list-item-active3"
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3"
});
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step);
@ -14334,7 +14334,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
border: 1,
less: 0,
less_equal: 1,
numTip: ""
numTip: "",
adjustYOffset: 2
},
_defaultConfig: function () {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
@ -14620,17 +14621,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -14666,7 +14670,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
w.on(BI.Editor.EVENT_ERROR, function () {
self._checkValidation();
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
});
@ -14679,13 +14684,15 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
@ -14702,17 +14709,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -25269,7 +25279,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
return this.combo.getValue();
},
populate: function () {
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
}
});

9
public/css/background.css

@ -249,8 +249,8 @@
_background: none;
}
.auto-color-normal-disabled-background {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal.png');
background: url('https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
@ -258,3 +258,8 @@
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/background/trans_disable.png');
_background: none;
}

24
public/css/font.css

@ -957,3 +957,27 @@
content: "\e6dd";
color: #13cd66;
}
.add-up-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
}
.add-up-font .b-font:before {
content: "\e70a";
color: inherit;
}
.add-up-font.disabled .b-font:before {
content: "\e70a";
color: inherit;
}
.minus-down-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
}
.minus-down-font .b-font:before {
content: "\e70b";
color: inherit;
}
.minus-down-font.disabled .b-font:before {
content: "\e70b";
color: inherit;
}

5
src/base/single/editor/editor.code.js

@ -124,10 +124,11 @@ BI.CodeEditor = BI.inherit(BI.Single, {
// 解决插入字段由括号或其他特殊字符包围时分裂的bug,在两端以不可见字符包裹一下
this.editor.replaceSelection("\u200b" + param + "\u200b");
var to = this.editor.getCursor();
var options = {className: "param", atomic: true, replacedWith: $("<span class='param start end' />").text(param)[0]};
var className = "param";
if (BI.isNotNull(param.match(/^<!.*!>$/))) {
options.className = "error-param";
className = "error-param";
}
var options = {className: className, atomic: true, replacedWith: $("<span class='" + className + " start end' />").text(param)[0]};
options.value = value;
this.editor.markText(from, to, options);
this.editor.replaceSelection(" ");

4
src/base/single/editor/editor.js

@ -226,7 +226,9 @@ BI.Editor = BI.inherit(BI.Single, {
errorText = errorText(this.editor.getValue());
}
if (!this.disabledError && BI.isKey(errorText)) {
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this);
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, {
adjustYOffset: 2
});
this._checkToolTip();
return BI.Bubbles.get(this.getName());
}

8
src/base/single/single.js

@ -25,15 +25,15 @@ BI.Single = BI.inherit(BI.Widget, {
_showToolTip: function (e, opt) {
opt || (opt = {});
var self = this;
var self = this, o = this.options;
var type = this.getTipType() || (this.isEnabled() ? "success" : "warning");
var title = type === "success" ? this.getTitle() : (this.getWarningTitle() || this.getTitle());
if (BI.isKey(title)) {
BI.Tooltips.show(e, this.getName(), title, type, this, opt);
if (opt.action) {
BI.Actions.runAction(opt.action, "hover", opt, title);
if (o.action) {
BI.Actions.runAction(o.action, "hover", o, this);
}
BI.Actions.runGlobalAction("hover", opt, title);
BI.Actions.runGlobalAction("hover", o, this);
}
},

4
src/case/colorchooser/colorchooser.custom.js

@ -19,7 +19,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
BI.CustomColorChooser.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.editor = BI.createWidget(o.editor, {
type: "bi.color_picker_editor"
type: "bi.simple_color_picker_editor"
});
this.editor.on(BI.ColorPickerEditor.EVENT_CHANGE, function () {
self.setValue(this.getValue());
@ -49,7 +49,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, {
el: this.farbtastic,
left: 15,
right: 15,
top: 10
top: 7
}],
height: 215
}]

26
src/case/colorchooser/colorpicker/editor.colorpicker.js

@ -171,28 +171,22 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, {
},
_showPreColor: function (color) {
if(this.isEnabled()) {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-background").addClass("auto-color-normal-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-background").addClass("trans-color-background");
} else {
if (color === "") {
this.colorShow.element.css("background-color", "").removeClass("trans-color-disabled-background").addClass("auto-color-normal-disabled-background");
} else if (color === "transparent") {
this.colorShow.element.css("background-color", "").removeClass("auto-color-normal-disabled-background").addClass("trans-color-disabled-background");
} else {
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-disabled-background").removeClass("trans-color-disabled-background");
}
this.colorShow.element.css({"background-color": color}).removeClass("auto-color-normal-background").removeClass("trans-color-background");
}
},
_setEnable: function (enable) {
BI.ColorPickerEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
if (enable === true) {
this.element.removeClass("base-disabled disabled");
} else if (enable === false) {
this.element.addClass("base-disabled disabled");
}
},
setValue: function (color) {

12
src/case/colorchooser/colorpicker/editor.colorpicker.simple.js

@ -11,7 +11,7 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
return BI.extend(BI.SimpleColorPickerEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-picker-editor",
// width: 200,
height: 20
height: 30
});
},
@ -21,8 +21,8 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
this.colorShow = BI.createWidget({
type: "bi.layout",
cls: "color-picker-editor-display bi-card",
height: 20,
width: 40
height: 16,
width: 16
});
var RGB = BI.createWidgets(BI.createItems([{text: "R"}, {text: "G"}, {text: "B"}], {
type: "bi.label",
@ -61,9 +61,9 @@ BI.SimpleColorPickerEditor = BI.inherit(BI.Widget, {
element: this,
items: [{
el: this.colorShow,
width: 40,
lgap: 5,
rgap: 5
width: 16,
lgap: 20,
rgap: 15
}, {
el: RGB[0],
width: 20

3
src/component/treevaluechooser/combo.treevaluechooser.js

@ -45,7 +45,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
return this.combo.getValue();
},
populate: function () {
populate: function (items) {
this._initData(items);
this.combo.populate.apply(this.combo, arguments);
}
});

16
src/core/controller/controller.bubbles.js

@ -112,6 +112,8 @@ BI.BubblesController = BI.inherit(BI.Controller, {
var container = opt.container || context;
var offsetStyle = opt.offsetStyle || {};
var level = opt.level || "error";
var adjustYOffset = opt.adjustYOffset || 0;
var adjustXOffset = opt.adjustXOffset || 0;
if (!this.storeBubbles[name]) {
this.storeBubbles[name] = {};
}
@ -127,9 +129,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["top"]);
var position = this._getTopPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isTopSpaceEnough(context, this.get(name))) {
if (!$.isTopSpaceEnough(context, this.get(name), adjustYOffset)) {
if (!this.storeBubbles[name]["left"]) {
this.storeBubbles[name]["left"] = this._createBubble("left", text, level, 30);
}
@ -142,9 +144,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["left"]);
var position = this._getLeftPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left - adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isLeftSpaceEnough(context, this.get(name))) {
if (!$.isLeftSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["right"]) {
this.storeBubbles[name]["right"] = this._createBubble("right", text, level, 30);
}
@ -157,9 +159,9 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["right"]);
var position = this._getRightPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top - adjustYOffset});
this.get(name).invisible();
if (!$.isRightSpaceEnough(context, this.get(name))) {
if (!$.isRightSpaceEnough(context, this.get(name), adjustXOffset)) {
if (!this.storeBubbles[name]["bottom"]) {
this.storeBubbles[name]["bottom"] = this._createBubble("bottom", text, level);
}
@ -172,7 +174,7 @@ BI.BubblesController = BI.inherit(BI.Controller, {
});
this.set(name, this.storeBubbles[name]["bottom"]);
var position = this._getBottomPosition(name, context, offsetStyle);
this.get(name).element.css({left: position.left, top: position.top});
this.get(name).element.css({left: position.left + adjustXOffset, top: position.top + adjustYOffset});
this.get(name).invisible();
}
}

275
src/css/base/colorchooser/colorpicker/editor.css

@ -1,5 +1,280 @@
.farbtastic .wheel {
background: url('images/1x/background/wheel.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/wheel.png');
_background: none;
}
.farbtastic .overlay {
background: url('images/1x/background/mask.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/mask.png');
_background: none;
}
.farbtastic .marker {
background: url('images/1x/background/marker.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/marker.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.center_open {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.roots_open {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-display-tree .ztree li span.button.switch.bottom_open {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.ztree li ul.line {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .ztree li ul.line {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 1px 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none;
}
.ztree li span.button.root_open {
background: url('images/1x/icon/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_open {
background: url('images/1x/icon/dark/tree_expand_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_1.png');
_background: none;
}
.ztree li span.button.root_close {
background: url('images/1x/icon/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_1.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.root_close {
background: url('images/1x/icon/dark/tree_collapse_1.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_1.png');
_background: none;
}
.ztree li span.button.roots_open {
background: url('images/1x/icon/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_open {
background: url('images/1x/icon/dark/tree_expand_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_2.png');
_background: none;
}
.ztree li span.button.roots_close {
background: url('images/1x/icon/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_close {
background: url('images/1x/icon/dark/tree_collapse_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_2.png');
_background: none;
}
.ztree li span.button.center_open {
background: url('images/1x/icon/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_open {
background: url('images/1x/icon/dark/tree_expand_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_3.png');
_background: none;
}
.ztree li span.button.center_close {
background: url('images/1x/icon/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_close {
background: url('images/1x/icon/dark/tree_collapse_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_3.png');
_background: none;
}
.ztree li span.button.bottom_open {
background: url('images/1x/icon/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_expand_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_open {
background: url('images/1x/icon/dark/tree_expand_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_expand_4.png');
_background: none;
}
.ztree li span.button.bottom_close {
background: url('images/1x/icon/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_collapse_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_close {
background: url('images/1x/icon/dark/tree_collapse_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_collapse_4.png');
_background: none;
}
.ztree li span.button.roots_docu {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.roots_docu {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.ztree li span.button.center_docu {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.center_docu {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.ztree li span.button.bottom_docu {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .ztree li span.button.bottom_docu {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.ztree li span.button.ico_loading {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.base-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_1.png');
_background: none;
}
.bi-theme-dark .base-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_1.png') repeat-y 0 0;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_1.png');
_background: none;
}
.first-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_2.png');
_background: none;
}
.bi-theme-dark .first-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_2.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_2.png');
_background: none;
}
.mid-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_3.png');
_background: none;
}
.bi-theme-dark .mid-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_3.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_3.png');
_background: none;
}
.last-line-conn-background {
background: url('images/1x/icon/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/tree_vertical_line_4.png');
_background: none;
}
.bi-theme-dark .last-line-conn-background {
background: url('images/1x/icon/dark/tree_vertical_line_4.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/dark/tree_vertical_line_4.png');
_background: none;
}
.loading-background {
background: url('images/1x/icon/loading.gif') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/loading.gif');
_background: none;
}
.auto-color-background {
background: url('images/1x/background/auto_color.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color.png');
_background: none;
}
.auto-color-normal-background {
background: url('images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal.png');
_background: none;
}
.auto-color-normal-disabled-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
background: url('images/1x/background/trans_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}
.bi-color-picker-editor .color-picker-editor-display {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-color-picker-editor.disabled .auto-color-normal-background {
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.bi-color-picker-editor.disabled .trans-color-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}

9
src/css/resource/background.css

@ -249,8 +249,8 @@
_background: none;
}
.auto-color-normal-disabled-background {
background: url('images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal.png');
background: url('images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
@ -258,3 +258,8 @@
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/background/trans_disable.png');
_background: none;
}

24
src/css/resource/font.css

@ -957,3 +957,27 @@
content: "\e6dd";
color: #13cd66;
}
.add-up-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
}
.add-up-font .b-font:before {
content: "\e70a";
color: inherit;
}
.add-up-font.disabled .b-font:before {
content: "\e70a";
color: inherit;
}
.minus-down-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
}
.minus-down-font .b-font:before {
content: "\e70b";
color: inherit;
}
.minus-down-font.disabled .b-font:before {
content: "\e70b";
color: inherit;
}

6
src/css/widget/numbereditor/number.css

@ -3,3 +3,9 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-number-editor .pull-down-font {
font-size: 12px;
}
.bi-number-editor .pull-up-font {
font-size: 12px;
}

9
src/less/base/colorchooser/colorpicker/editor.colorpicker.less

@ -1,7 +1,16 @@
@import "../../../index";
@import "../../../resource/background";
.bi-color-picker-editor {
& .color-picker-editor-display {
.border-radius(2px);
}
&.disabled {
& .auto-color-normal-background {
.auto-color-normal-disabled-background();
}
& .trans-color-background {
.trans-color-disabled-background();
}
}
}

2
src/less/lib/background.less

@ -1,6 +1,6 @@
@background-auto-color: "background/auto_color.png";
@background-auto-color-normal: "background/auto_color_normal.png";
@background-auto-color-normal-disabled: "background/auto_color_normal.png";
@background-auto-color-normal-disabled: "background/auto_color_normal_disable.png";
@background-trans-color: "background/trans_normal.png";
@background-trans-color-disabled: "background/trans_disable.png";

4
src/less/resource/background.less

@ -241,4 +241,8 @@
.trans-color-background {
.imagePath(@background-trans-color);
}
.trans-color-disabled-background {
.imagePath(@background-trans-color-disabled);
}

5
src/less/resource/font.less

@ -113,4 +113,7 @@
.font(toast-warning-font, @font-tip-warning);
.font(toast-message-font, @font-tip-message);
.font(text-add-tip-font, @font-add, @color-bi-text-success);
.font(text-add-tip-font, @font-add, @color-bi-text-success);
.font(add-up-font, @font-up-triangle, inherit, @font-size-12);
.font(minus-down-font, @font-down-triangle, inherit, @font-size-12);

6
src/less/widget/numbereditor/number.editor.less

@ -2,8 +2,10 @@
.bi-number-editor {
.border-radius(2px);
& .top-button {
& .pull-down-font {
font-size: 12px;
}
& .bottom-button {
& .pull-up-font {
font-size: 12px;
}
}

4
src/widget/numbereditor/number.editor.js

@ -42,7 +42,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
forceNotSelected: true,
trigger: "lclick,",
cls: "pull-up-font top-button bi-border-left bi-list-item-active3"
cls: "add-up-font top-button bi-border-left bi-list-item-active3"
});
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step);
@ -53,7 +53,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button",
trigger: "lclick,",
forceNotSelected: true,
cls: "pull-down-font bottom-button bi-border-left bi-list-item-active3"
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3"
});
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step);

30
src/widget/numberinterval/numberinterval.js

@ -17,7 +17,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
border: 1,
less: 0,
less_equal: 1,
numTip: ""
numTip: "",
adjustYOffset: 2
},
_defaultConfig: function () {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
@ -303,17 +304,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :
@ -349,7 +353,8 @@ BI.NumberInterval = BI.inherit(BI.Single, {
w.on(BI.Editor.EVENT_ERROR, function () {
self._checkValidation();
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
});
@ -362,13 +367,15 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
self.fireEvent(BI.NumberInterval.EVENT_ERROR);
break;
@ -385,17 +392,20 @@ BI.NumberInterval = BI.inherit(BI.Single, {
switch (self._checkValidation()) {
case c.typeError:
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.numberError:
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
case c.signalError:
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, {
offsetStyle: "left"
offsetStyle: "left",
adjustYOffset: c.adjustYOffset
});
break;
default :

9
ui/css/background.css

@ -249,8 +249,8 @@
_background: none;
}
.auto-color-normal-disabled-background {
background: url('resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal.png');
background: url('resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/auto_color_normal_disable.png');
_background: none;
}
.trans-color-background {
@ -258,3 +258,8 @@
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/trans_normal.png');
_background: none;
}
.trans-color-disabled-background {
background: url('resources?path=/com/fr/web/ui/images/1x/background/trans_disable.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/background/trans_disable.png');
_background: none;
}

24
ui/css/font.css

@ -957,3 +957,27 @@
content: "\e6dd";
color: #13cd66;
}
.add-up-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70a;');
}
.add-up-font .b-font:before {
content: "\e70a";
color: inherit;
}
.add-up-font.disabled .b-font:before {
content: "\e70a";
color: inherit;
}
.minus-down-font .b-font {
font-size: 12px;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe70b;');
}
.minus-down-font .b-font:before {
content: "\e70b";
color: inherit;
}
.minus-down-font.disabled .b-font:before {
content: "\e70b";
color: inherit;
}

Loading…
Cancel
Save