Browse Source

Merge pull request #447 in FUI/fineui from ~WINDY/fui:master to master

* commit 'fc00502641bc1fc6f289ee05aa19e770cda90b77':
  update
  BI-24098
  BI-24215
es6
guy 7 years ago
parent
commit
6b8b657509
  1. 4
      dist/_fineui.min.js
  2. 73
      dist/base.css
  3. 135
      dist/bundle.css
  4. 8
      dist/bundle.js
  5. 2
      dist/bundle.min.css
  6. 4
      dist/bundle.min.js
  7. 1
      dist/case.js
  8. 12
      dist/core.css
  9. 12
      dist/core_without_normalize.css
  10. 135
      dist/fineui.css
  11. 8
      dist/fineui.js
  12. 2
      dist/fineui.min.css
  13. 4
      dist/fineui.min.js
  14. 486
      dist/polyfill.js
  15. 12
      dist/resource.css
  16. 1168
      dist/router.js
  17. 38
      dist/widget.css
  18. 7
      dist/widget.js
  19. 12
      public/css/font.css
  20. 1
      src/case/button/item.singleselect.js
  21. 2
      src/css/base/colorchooser/colorchooser.css
  22. 6
      src/css/base/combo/combo.css
  23. 11
      src/css/base/editor/editor.css
  24. 4
      src/css/base/pager/pager.css
  25. 6
      src/css/base/single/button/item.css
  26. 14
      src/css/base/single/editor/editor.css
  27. 6
      src/css/base/single/tip/tip.css
  28. 14
      src/css/base/table/table.css
  29. 2
      src/css/base/tree/tree.css
  30. 8
      src/css/base/trigger/trigger.css
  31. 10
      src/css/core/wrapper/flex.css
  32. 2
      src/css/core/wrapper/inline.css
  33. 12
      src/css/resource/font.css
  34. 4
      src/css/widget/exceltable/exceltable.css
  35. 2
      src/css/widget/filemanager/items/item.css
  36. 2
      src/css/widget/intervalslider/intervalslider.css
  37. 14
      src/css/widget/multidate/multidate.css
  38. 2
      src/css/widget/multiselect/check/multiselect.css
  39. 6
      src/css/widget/multiselect/multiselect.css
  40. 2
      src/css/widget/pagetable/pagetable.css
  41. 4
      src/css/widget/previewtable/previewtable.css
  42. 2
      src/css/widget/singleslider/singlelider.css
  43. 3
      src/less/base/editor/editor.search.less
  44. 3
      src/less/lib/font.less
  45. 2
      src/less/resource/font.less
  46. 7
      src/widget/editor/editor.search.js
  47. 12
      ui/css/font.css
  48. 9798
      utils/utils.js

4
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

73
dist/base.css vendored

@ -3,7 +3,7 @@
filter: alpha(opacity=50);
background-color: #ffffff;
}
.bi-color-chooser-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -163,12 +163,12 @@
border-right: 7px solid transparent;
content: "";
}
.bi-combo.bi-combo-popup {
display: block !important;
visibility: visible !important;
}
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}
@ -187,18 +187,23 @@
.bi-search-text-value-combo.combo-show .trigger-down {
display: none;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .bi-label {
color: #ff4949;
}
/*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font {
.bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px;
}
.bi-search-editor .search-font {
font-size: 16px;
}
/*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor {
font-size: 12px;
@ -215,7 +220,7 @@
.bi-small-search-editor .search-font {
font-size: 18px;
}
.bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px;
}
@ -756,14 +761,14 @@ li.CodeMirror-hint-active {
.bi-all-count-pager .all-pager-next {
font-size: 16px;
}
.bi-direction-pager .direction-pager-prev {
font-size: 16px;
}
.bi-direction-pager .direction-pager-next {
font-size: 16px;
}
.bi-pager .page-item {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -1168,13 +1173,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before {
color: #ffffff !important;
}
.bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2;
}
.bi-switch {
-webkit-border-radius: 40px 40px 40px 40px;
-moz-border-radius: 40px 40px 40px 40px;
@ -1206,19 +1211,19 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
margin: 1px 1px;
display: inline-block;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
cursor: pointer;
font-size: 100px;
z-index: 2;
}
.bi-textarea-editor {
overflow: hidden;
overflow-x: hidden;
@ -1300,11 +1305,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #feeed7;
color: #faaa39;
}
.bi-tip {
position: fixed !important;
}
.bi-toast {
font-size: 14px;
color: #ffffff;
@ -1329,7 +1334,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-toast .toast-icon {
font-size: 16px;
}
.bi-tooltip {
max-width: 250px;
-webkit-border-radius: 2px;
@ -1393,13 +1398,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466;
}
.bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important;
overflow-x: hidden !important;
overflow-y: hidden !important;
}
.bi-grid-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
@ -1422,7 +1427,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-grid-table-cell.first-col {
border-left: 1px solid #525466;
}
.scrollbar-layout-main {
box-sizing: border-box;
outline: none;
@ -1536,7 +1541,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
bottom: 0;
position: absolute;
}
.bi-table > .first-col {
border-left: none;
}
@ -1615,7 +1620,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-top: 1px solid #525466;
border-left: 1px solid #525466;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container {
cursor: ew-resize;
z-index: 1;
@ -1627,7 +1632,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob {
background-color: #13cd66;
}
.bi-resizable-table .resizable-table-resizer {
cursor: ew-resize;
z-index: 1;
@ -1644,11 +1649,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob {
background-color: #3f8ce8;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
}
.bi-display-tree .ztree * {
color: #999999;
}
@ -1880,8 +1885,8 @@ ul.ztree.zTreeDragUL {
padding:0;
background:none;
}*/
.bi-trigger .bi-trigger-icon-button {
font-size: 16px;
}
@ -1897,13 +1902,13 @@ ul.ztree.zTreeDragUL {
.bi-combo-popup .trigger-down {
display: none;
}
.bi-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-small-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;

135
dist/bundle.css vendored

@ -1307,7 +1307,7 @@ textarea {
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
@ -1378,7 +1378,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
@ -1455,7 +1455,7 @@ textarea {
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1499,7 +1499,7 @@ textarea {
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1569,7 +1569,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1654,7 +1654,7 @@ textarea {
vertical-align: middle;
content: ' ';
}
.bi-inline-vertical-adapt-layout:after {
display: inline-block;
width: 0;
@ -1674,7 +1674,7 @@ textarea {
filter: alpha(opacity=50);
background-color: #ffffff;
}
.bi-color-chooser-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -1834,12 +1834,12 @@ textarea {
border-right: 7px solid transparent;
content: "";
}
.bi-combo.bi-combo-popup {
display: block !important;
visibility: visible !important;
}
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}
@ -1858,18 +1858,23 @@ textarea {
.bi-search-text-value-combo.combo-show .trigger-down {
display: none;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .bi-label {
color: #ff4949;
}
/*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font {
.bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px;
}
.bi-search-editor .search-font {
font-size: 16px;
}
/*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor {
font-size: 12px;
@ -1886,7 +1891,7 @@ textarea {
.bi-small-search-editor .search-font {
font-size: 18px;
}
.bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px;
}
@ -2427,14 +2432,14 @@ li.CodeMirror-hint-active {
.bi-all-count-pager .all-pager-next {
font-size: 16px;
}
.bi-direction-pager .direction-pager-prev {
font-size: 16px;
}
.bi-direction-pager .direction-pager-next {
font-size: 16px;
}
.bi-pager .page-item {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -2839,13 +2844,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before {
color: #ffffff !important;
}
.bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2;
}
.bi-switch {
-webkit-border-radius: 40px 40px 40px 40px;
-moz-border-radius: 40px 40px 40px 40px;
@ -2877,19 +2882,19 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
margin: 1px 1px;
display: inline-block;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
cursor: pointer;
font-size: 100px;
z-index: 2;
}
.bi-textarea-editor {
overflow: hidden;
overflow-x: hidden;
@ -2971,11 +2976,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #feeed7;
color: #faaa39;
}
.bi-tip {
position: fixed !important;
}
.bi-toast {
font-size: 14px;
color: #ffffff;
@ -3000,7 +3005,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-toast .toast-icon {
font-size: 16px;
}
.bi-tooltip {
max-width: 250px;
-webkit-border-radius: 2px;
@ -3064,13 +3069,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466;
}
.bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important;
overflow-x: hidden !important;
overflow-y: hidden !important;
}
.bi-grid-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
@ -3093,7 +3098,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-grid-table-cell.first-col {
border-left: 1px solid #525466;
}
.scrollbar-layout-main {
box-sizing: border-box;
outline: none;
@ -3207,7 +3212,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
bottom: 0;
position: absolute;
}
.bi-table > .first-col {
border-left: none;
}
@ -3286,7 +3291,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-top: 1px solid #525466;
border-left: 1px solid #525466;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container {
cursor: ew-resize;
z-index: 1;
@ -3298,7 +3303,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob {
background-color: #13cd66;
}
.bi-resizable-table .resizable-table-resizer {
cursor: ew-resize;
z-index: 1;
@ -3315,11 +3320,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob {
background-color: #3f8ce8;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
}
.bi-display-tree .ztree * {
color: #999999;
}
@ -3551,8 +3556,8 @@ ul.ztree.zTreeDragUL {
padding:0;
background:none;
}*/
.bi-trigger .bi-trigger-icon-button {
font-size: 16px;
}
@ -3568,13 +3573,13 @@ ul.ztree.zTreeDragUL {
.bi-combo-popup .trigger-down {
display: none;
}
.bi-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-small-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -3624,18 +3629,18 @@ ul.ztree.zTreeDragUL {
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-excel-table-header-cell {
font-weight: bold;
}
.bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #d4dadd;
}
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #525466;
}
.bi-file-manager-nav-button .file-manager-nav-button-text {
max-width: 200px;
}
@ -3700,7 +3705,7 @@ ul.ztree.zTreeDragUL {
.bi-interval-slider-label {
min-height: 50px;
}
.bi-interval-slider {
min-height: 70px;
}
@ -3714,9 +3719,9 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .multidate-popup-label {
color: #3685f2;
font-size: 14px;
@ -3733,13 +3738,13 @@ ul.ztree.zTreeDragUL {
color: #3685f2;
font-size: 14px;
}
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-select-level-tree .tree-view {
min-width: 100%;
}
@ -3749,7 +3754,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}
.bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -3765,7 +3770,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -3781,8 +3786,8 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-insert-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
@ -3873,18 +3878,18 @@ ul.ztree.zTreeDragUL {
-o-user-select: text;
user-select: text;
}
.bi-preview-table-cell {
min-height: 25px;
min-width: 80px;
}
.bi-preview-table-header-cell {
font-weight: bold;
min-height: 25px;
min-width: 80px;
}
.bi-preview-table {
-webkit-user-select: text;
-khtml-user-select: text;
@ -4011,7 +4016,7 @@ ul.ztree.zTreeDragUL {
.bi-single-slider-label {
min-height: 50px;
}
.bi-single-slider-normal {
min-height: 30px;
}
@ -4477,6 +4482,18 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d0";
color: inherit;
}
.circle-close-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');

8
dist/bundle.js vendored

@ -72781,6 +72781,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
text: o.text,
keyword: o.keyword,
value: o.value,
title: o.text,
py: o.py
});
},
@ -92654,6 +92655,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height,
watermark: o.watermark,
allowBlank: true,
hgap: 1,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
@ -92661,7 +92663,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({
type: "bi.icon_button",
stopEvent: true,
cls: "search-close-h-font"
cls: "circle-close-font"
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
@ -92682,14 +92684,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
}]
},
width: 25
width: 24
},
{
el: self.editor
},
{
el: this.clear,
width: 25
width: 24
}
]
});

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/case.js vendored

@ -311,6 +311,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
text: o.text,
keyword: o.keyword,
value: o.value,
title: o.text,
py: o.py
});
},

12
dist/core.css vendored

@ -1307,7 +1307,7 @@ textarea {
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
@ -1378,7 +1378,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
@ -1455,7 +1455,7 @@ textarea {
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1499,7 +1499,7 @@ textarea {
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1569,7 +1569,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1654,7 +1654,7 @@ textarea {
vertical-align: middle;
content: ' ';
}
.bi-inline-vertical-adapt-layout:after {
display: inline-block;
width: 0;

12
dist/core_without_normalize.css vendored

@ -1029,7 +1029,7 @@ textarea {
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
@ -1100,7 +1100,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
@ -1177,7 +1177,7 @@ textarea {
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1221,7 +1221,7 @@ textarea {
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1291,7 +1291,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1376,7 +1376,7 @@ textarea {
vertical-align: middle;
content: ' ';
}
.bi-inline-vertical-adapt-layout:after {
display: inline-block;
width: 0;

135
dist/fineui.css vendored

@ -1307,7 +1307,7 @@ textarea {
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
@ -1378,7 +1378,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
@ -1455,7 +1455,7 @@ textarea {
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1499,7 +1499,7 @@ textarea {
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1569,7 +1569,7 @@ textarea {
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -1654,7 +1654,7 @@ textarea {
vertical-align: middle;
content: ' ';
}
.bi-inline-vertical-adapt-layout:after {
display: inline-block;
width: 0;
@ -1674,7 +1674,7 @@ textarea {
filter: alpha(opacity=50);
background-color: #ffffff;
}
.bi-color-chooser-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -1834,12 +1834,12 @@ textarea {
border-right: 7px solid transparent;
content: "";
}
.bi-combo.bi-combo-popup {
display: block !important;
visibility: visible !important;
}
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}
@ -1858,18 +1858,23 @@ textarea {
.bi-search-text-value-combo.combo-show .trigger-down {
display: none;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .bi-label {
color: #ff4949;
}
/*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font {
.bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px;
}
.bi-search-editor .search-font {
font-size: 16px;
}
/*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor {
font-size: 12px;
@ -1886,7 +1891,7 @@ textarea {
.bi-small-search-editor .search-font {
font-size: 18px;
}
.bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px;
}
@ -2427,14 +2432,14 @@ li.CodeMirror-hint-active {
.bi-all-count-pager .all-pager-next {
font-size: 16px;
}
.bi-direction-pager .direction-pager-prev {
font-size: 16px;
}
.bi-direction-pager .direction-pager-next {
font-size: 16px;
}
.bi-pager .page-item {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -2839,13 +2844,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark #body .bi-button.button-common.disabled.ghost .b-font:before {
color: #ffffff !important;
}
.bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2;
}
.bi-switch {
-webkit-border-radius: 40px 40px 40px 40px;
-moz-border-radius: 40px 40px 40px 40px;
@ -2877,19 +2882,19 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
margin: 1px 1px;
display: inline-block;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
cursor: pointer;
font-size: 100px;
z-index: 2;
}
.bi-textarea-editor {
overflow: hidden;
overflow-x: hidden;
@ -2971,11 +2976,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
background: #feeed7;
color: #faaa39;
}
.bi-tip {
position: fixed !important;
}
.bi-toast {
font-size: 14px;
color: #ffffff;
@ -3000,7 +3005,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-toast .toast-icon {
font-size: 16px;
}
.bi-tooltip {
max-width: 250px;
-webkit-border-radius: 2px;
@ -3064,13 +3069,13 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466;
}
.bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important;
overflow-x: hidden !important;
overflow-y: hidden !important;
}
.bi-grid-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
@ -3093,7 +3098,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-grid-table-cell.first-col {
border-left: 1px solid #525466;
}
.scrollbar-layout-main {
box-sizing: border-box;
outline: none;
@ -3207,7 +3212,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
bottom: 0;
position: absolute;
}
.bi-table > .first-col {
border-left: none;
}
@ -3286,7 +3291,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
border-top: 1px solid #525466;
border-left: 1px solid #525466;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container {
cursor: ew-resize;
z-index: 1;
@ -3298,7 +3303,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob {
background-color: #13cd66;
}
.bi-resizable-table .resizable-table-resizer {
cursor: ew-resize;
z-index: 1;
@ -3315,11 +3320,11 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob {
background-color: #3f8ce8;
}
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
}
.bi-display-tree .ztree * {
color: #999999;
}
@ -3551,8 +3556,8 @@ ul.ztree.zTreeDragUL {
padding:0;
background:none;
}*/
.bi-trigger .bi-trigger-icon-button {
font-size: 16px;
}
@ -3568,13 +3573,13 @@ ul.ztree.zTreeDragUL {
.bi-combo-popup .trigger-down {
display: none;
}
.bi-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-small-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
@ -3624,18 +3629,18 @@ ul.ztree.zTreeDragUL {
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-excel-table-header-cell {
font-weight: bold;
}
.bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #d4dadd;
}
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #525466;
}
.bi-file-manager-nav-button .file-manager-nav-button-text {
max-width: 200px;
}
@ -3700,7 +3705,7 @@ ul.ztree.zTreeDragUL {
.bi-interval-slider-label {
min-height: 50px;
}
.bi-interval-slider {
min-height: 70px;
}
@ -3714,9 +3719,9 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .multidate-popup-label {
color: #3685f2;
font-size: 14px;
@ -3733,13 +3738,13 @@ ul.ztree.zTreeDragUL {
color: #3685f2;
font-size: 14px;
}
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-select-level-tree .tree-view {
min-width: 100%;
}
@ -3749,7 +3754,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}
.bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -3765,7 +3770,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -3781,8 +3786,8 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-insert-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
@ -3873,18 +3878,18 @@ ul.ztree.zTreeDragUL {
-o-user-select: text;
user-select: text;
}
.bi-preview-table-cell {
min-height: 25px;
min-width: 80px;
}
.bi-preview-table-header-cell {
font-weight: bold;
min-height: 25px;
min-width: 80px;
}
.bi-preview-table {
-webkit-user-select: text;
-khtml-user-select: text;
@ -4011,7 +4016,7 @@ ul.ztree.zTreeDragUL {
.bi-single-slider-label {
min-height: 50px;
}
.bi-single-slider-normal {
min-height: 30px;
}
@ -4477,6 +4482,18 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d0";
color: inherit;
}
.circle-close-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');

8
dist/fineui.js vendored

@ -73024,6 +73024,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
text: o.text,
keyword: o.keyword,
value: o.value,
title: o.text,
py: o.py
});
},
@ -92897,6 +92898,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height,
watermark: o.watermark,
allowBlank: true,
hgap: 1,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
@ -92904,7 +92906,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({
type: "bi.icon_button",
stopEvent: true,
cls: "search-close-h-font"
cls: "circle-close-font"
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
@ -92925,14 +92927,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
}]
},
width: 25
width: 24
},
{
el: self.editor
},
{
el: this.clear,
width: 25
width: 24
}
]
});

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

486
dist/polyfill.js vendored

@ -1,244 +1,244 @@
// Production steps of ECMA-262, Edition 5, 15.4.4.14
// Reference: http://es5.github.io/#x15.4.4.14
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function (searchElement, fromIndex) {
var k;
// 1. Let o be the result of calling ToObject passing
// the this value as the argument.
if (this == null) {
throw new TypeError("\"this\" is null or not defined");
}
var o = Object(this);
// 2. Let lenValue be the result of calling the Get
// internal method of o with the argument "length".
// 3. Let len be ToUint32(lenValue).
var len = o.length >>> 0;
// 4. If len is 0, return -1.
if (len === 0) {
return -1;
}
// 5. If argument fromIndex was passed let n be
// ToInteger(fromIndex); else let n be 0.
var n = fromIndex | 0;
// 6. If n >= len, return -1.
if (n >= len) {
return -1;
}
// 7. If n >= 0, then Let k be n.
// 8. Else, n<0, Let k be len - abs(n).
// If k is less than 0, then let k be 0.
k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);
// 9. Repeat, while k < len
while (k < len) {
// a. Let Pk be ToString(k).
// This is implicit for LHS operands of the in operator
// b. Let kPresent be the result of calling the
// HasProperty internal method of o with argument Pk.
// This step can be combined with c
// c. If kPresent is true, then
// i. Let elementK be the result of calling the Get
// internal method of o with the argument ToString(k).
// ii. Let same be the result of applying the
// Strict Equality Comparison Algorithm to
// searchElement and elementK.
// iii. If same is true, return k.
if (k in o && o[k] === searchElement) {
return k;
}
k++;
}
return -1;
};
}
if (!Array.prototype.lastIndexOf) {
Array.prototype.lastIndexOf = function (searchElement /* , fromIndex*/) {
"use strict";
if (this === void 0 || this === null) {
throw new TypeError();
}
var n, k,
t = Object(this),
len = t.length >>> 0;
if (len === 0) {
return -1;
}
n = len - 1;
if (arguments.length > 1) {
n = Number(arguments[1]);
if (n != n) {
n = 0;
} else if (n != 0 && n != (1 / 0) && n != -(1 / 0)) {
n = (n > 0 || -1) * Math.floor(Math.abs(n));
}
}
for (k = n >= 0
? Math.min(n, len - 1)
: len - Math.abs(n); k >= 0; k--) {
if (k in t && t[k] === searchElement) {
return k;
}
}
return -1;
};
}
/**
* 特殊情况
* Created by wang on 15/6/23.
*/
// 解决console未定义问题 guy
window.console = window.console || (function () {
var c = {};
c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile
= c.clear = c.exception = c.trace = c.assert = function () {
};
return c;
})();
if (!Function.prototype.bind) {
Function.prototype.bind = function(oThis) {
if (typeof this !== 'function') {
// closest thing possible to the ECMAScript 5
// internal IsCallable function
throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
}
var aArgs = Array.prototype.slice.call(arguments, 1),
fToBind = this,
fNOP = function() {},
fBound = function() {
return fToBind.apply(this instanceof fNOP
? this
: oThis,
// 获取调用时(fBound)的传参.bind 返回的函数入参往往是这么传递的
aArgs.concat(Array.prototype.slice.call(arguments)));
};
// 维护原型关系
if (this.prototype) {
// Function.prototype doesn't have a prototype property
fNOP.prototype = this.prototype;
}
fBound.prototype = new fNOP();
return fBound;
};
}/*
* 前端缓存
*/
window.localStorage || (window.localStorage = {
items: {},
setItem: function (k, v) {
BI.Cache.addCookie(k, v);
},
getItem: function (k) {
return BI.Cache.getCookie(k);
},
removeItem: function (k) {
BI.Cache.deleteCookie(k);
},
key: function () {
},
clear: function () {
this.items = {};
}
});
if (!Object.keys) {
Object.keys = function(o) {
if (o !== Object(o)) {
throw new TypeError('Object.keys called on a non-object');
}
// fix的问题
var falsy;
var skipArray = {
__ob__: falsy,
$accessors: falsy,
$vbthis: falsy,
$vbsetter: falsy
};
var k = [], p;
for (p in o) {
if (!(p in skipArray)) {
if (Object.prototype.hasOwnProperty.call(o, p)) {
k.push(p);
}
}
}
return k;
};
}
if (!Array.isArray) {
Array.isArray = function(arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
};
}
// https://stackoverflow.com/questions/10919915/ie8-getprototypeof-method
if (typeof Object.getPrototypeOf !== "function") {
Object.getPrototypeOf = "".__proto__ === String.prototype
? function (object) {
return object.__proto__;
}
: function (object) {
// May break if the constructor has been tampered with
return object.constructor.prototype;
};
}if (typeof Set !== "undefined" && Set.toString().match(/native code/)) {
} else {
Set = function () {
this.set = {};
};
Set.prototype.has = function (key) {
return this.set[key] !== undefined;
};
Set.prototype.add = function (key) {
this.set[key] = 1;
};
Set.prototype.clear = function () {
this.set = {};
};
}// 修复ie9下sort方法的bug
!function (window) {
var ua = window.navigator.userAgent.toLowerCase(),
reg = /msie|applewebkit.+safari/;
if (reg.test(ua)) {
var _sort = Array.prototype.sort;
Array.prototype.sort = function (fn) {
if (!!fn && typeof fn === "function") {
if (this.length < 2) {
return this;
}
var i = 0, j = i + 1, l = this.length, tmp, r = false, t = 0;
for (; i < l; i++) {
for (j = i + 1; j < l; j++) {
t = fn.call(this, this[i], this[j]);
r = (typeof t === "number" ? t :
t ? 1 : 0) > 0;
if (r === true) {
tmp = this[i];
this[i] = this[j];
this[j] = tmp;
}
}
}
return this;
}
return _sort.call(this);
};
}
// Production steps of ECMA-262, Edition 5, 15.4.4.14
// Reference: http://es5.github.io/#x15.4.4.14
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function (searchElement, fromIndex) {
var k;
// 1. Let o be the result of calling ToObject passing
// the this value as the argument.
if (this == null) {
throw new TypeError("\"this\" is null or not defined");
}
var o = Object(this);
// 2. Let lenValue be the result of calling the Get
// internal method of o with the argument "length".
// 3. Let len be ToUint32(lenValue).
var len = o.length >>> 0;
// 4. If len is 0, return -1.
if (len === 0) {
return -1;
}
// 5. If argument fromIndex was passed let n be
// ToInteger(fromIndex); else let n be 0.
var n = fromIndex | 0;
// 6. If n >= len, return -1.
if (n >= len) {
return -1;
}
// 7. If n >= 0, then Let k be n.
// 8. Else, n<0, Let k be len - abs(n).
// If k is less than 0, then let k be 0.
k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);
// 9. Repeat, while k < len
while (k < len) {
// a. Let Pk be ToString(k).
// This is implicit for LHS operands of the in operator
// b. Let kPresent be the result of calling the
// HasProperty internal method of o with argument Pk.
// This step can be combined with c
// c. If kPresent is true, then
// i. Let elementK be the result of calling the Get
// internal method of o with the argument ToString(k).
// ii. Let same be the result of applying the
// Strict Equality Comparison Algorithm to
// searchElement and elementK.
// iii. If same is true, return k.
if (k in o && o[k] === searchElement) {
return k;
}
k++;
}
return -1;
};
}
if (!Array.prototype.lastIndexOf) {
Array.prototype.lastIndexOf = function (searchElement /* , fromIndex*/) {
"use strict";
if (this === void 0 || this === null) {
throw new TypeError();
}
var n, k,
t = Object(this),
len = t.length >>> 0;
if (len === 0) {
return -1;
}
n = len - 1;
if (arguments.length > 1) {
n = Number(arguments[1]);
if (n != n) {
n = 0;
} else if (n != 0 && n != (1 / 0) && n != -(1 / 0)) {
n = (n > 0 || -1) * Math.floor(Math.abs(n));
}
}
for (k = n >= 0
? Math.min(n, len - 1)
: len - Math.abs(n); k >= 0; k--) {
if (k in t && t[k] === searchElement) {
return k;
}
}
return -1;
};
}
/**
* 特殊情况
* Created by wang on 15/6/23.
*/
// 解决console未定义问题 guy
window.console = window.console || (function () {
var c = {};
c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile
= c.clear = c.exception = c.trace = c.assert = function () {
};
return c;
})();
if (!Function.prototype.bind) {
Function.prototype.bind = function(oThis) {
if (typeof this !== 'function') {
// closest thing possible to the ECMAScript 5
// internal IsCallable function
throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
}
var aArgs = Array.prototype.slice.call(arguments, 1),
fToBind = this,
fNOP = function() {},
fBound = function() {
return fToBind.apply(this instanceof fNOP
? this
: oThis,
// 获取调用时(fBound)的传参.bind 返回的函数入参往往是这么传递的
aArgs.concat(Array.prototype.slice.call(arguments)));
};
// 维护原型关系
if (this.prototype) {
// Function.prototype doesn't have a prototype property
fNOP.prototype = this.prototype;
}
fBound.prototype = new fNOP();
return fBound;
};
}/*
* 前端缓存
*/
window.localStorage || (window.localStorage = {
items: {},
setItem: function (k, v) {
BI.Cache.addCookie(k, v);
},
getItem: function (k) {
return BI.Cache.getCookie(k);
},
removeItem: function (k) {
BI.Cache.deleteCookie(k);
},
key: function () {
},
clear: function () {
this.items = {};
}
});
if (!Object.keys) {
Object.keys = function(o) {
if (o !== Object(o)) {
throw new TypeError('Object.keys called on a non-object');
}
// fix的问题
var falsy;
var skipArray = {
__ob__: falsy,
$accessors: falsy,
$vbthis: falsy,
$vbsetter: falsy
};
var k = [], p;
for (p in o) {
if (!(p in skipArray)) {
if (Object.prototype.hasOwnProperty.call(o, p)) {
k.push(p);
}
}
}
return k;
};
}
if (!Array.isArray) {
Array.isArray = function(arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
};
}
// https://stackoverflow.com/questions/10919915/ie8-getprototypeof-method
if (typeof Object.getPrototypeOf !== "function") {
Object.getPrototypeOf = "".__proto__ === String.prototype
? function (object) {
return object.__proto__;
}
: function (object) {
// May break if the constructor has been tampered with
return object.constructor.prototype;
};
}if (typeof Set !== "undefined" && Set.toString().match(/native code/)) {
} else {
Set = function () {
this.set = {};
};
Set.prototype.has = function (key) {
return this.set[key] !== undefined;
};
Set.prototype.add = function (key) {
this.set[key] = 1;
};
Set.prototype.clear = function () {
this.set = {};
};
}// 修复ie9下sort方法的bug
!function (window) {
var ua = window.navigator.userAgent.toLowerCase(),
reg = /msie|applewebkit.+safari/;
if (reg.test(ua)) {
var _sort = Array.prototype.sort;
Array.prototype.sort = function (fn) {
if (!!fn && typeof fn === "function") {
if (this.length < 2) {
return this;
}
var i = 0, j = i + 1, l = this.length, tmp, r = false, t = 0;
for (; i < l; i++) {
for (j = i + 1; j < l; j++) {
t = fn.call(this, this[i], this[j]);
r = (typeof t === "number" ? t :
t ? 1 : 0) > 0;
if (r === true) {
tmp = this[i];
this[i] = this[j];
this[j] = tmp;
}
}
}
return this;
}
return _sort.call(this);
};
}
}(window);

12
dist/resource.css vendored

@ -388,6 +388,18 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d0";
color: inherit;
}
.circle-close-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d5;');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');

1168
dist/router.js vendored

File diff suppressed because it is too large Load Diff

38
dist/widget.css vendored

@ -9,18 +9,18 @@
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
.bi-excel-table-header-cell {
font-weight: bold;
}
.bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #d4dadd;
}
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #525466;
}
.bi-file-manager-nav-button .file-manager-nav-button-text {
max-width: 200px;
}
@ -85,7 +85,7 @@
.bi-interval-slider-label {
min-height: 50px;
}
.bi-interval-slider {
min-height: 70px;
}
@ -99,9 +99,9 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .multidate-popup-label {
color: #3685f2;
font-size: 14px;
@ -118,13 +118,13 @@
color: #3685f2;
font-size: 14px;
}
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-select-level-tree .tree-view {
min-width: 100%;
}
@ -134,7 +134,7 @@
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}
.bi-multi-select-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -150,7 +150,7 @@
.bi-multi-select-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -166,8 +166,8 @@
.bi-multi-select-insert-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
@ -258,18 +258,18 @@
-o-user-select: text;
user-select: text;
}
.bi-preview-table-cell {
min-height: 25px;
min-width: 80px;
}
.bi-preview-table-header-cell {
font-weight: bold;
min-height: 25px;
min-width: 80px;
}
.bi-preview-table {
-webkit-user-select: text;
-khtml-user-select: text;
@ -396,7 +396,7 @@
.bi-single-slider-label {
min-height: 50px;
}
.bi-single-slider-normal {
min-height: 30px;
}

7
dist/widget.js vendored

@ -5033,6 +5033,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height,
watermark: o.watermark,
allowBlank: true,
hgap: 1,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
@ -5040,7 +5041,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({
type: "bi.icon_button",
stopEvent: true,
cls: "search-close-h-font"
cls: "circle-close-font"
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
@ -5061,14 +5062,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
}]
},
width: 25
width: 24
},
{
el: self.editor
},
{
el: this.clear,
width: 25
width: 24
}
]
});

12
public/css/font.css

@ -62,6 +62,18 @@
content: "\e6d0";
color: inherit;
}
.circle-close-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d5;');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');

1
src/case/button/item.singleselect.js

@ -26,6 +26,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, {
text: o.text,
keyword: o.keyword,
value: o.value,
title: o.text,
py: o.py
});
},

2
src/css/base/colorchooser/colorchooser.css

@ -3,7 +3,7 @@
filter: alpha(opacity=50);
background-color: #ffffff;
}
.bi-color-chooser-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;

6
src/css/base/combo/combo.css

@ -106,12 +106,12 @@
border-right: 7px solid transparent;
content: "";
}
.bi-combo.bi-combo-popup {
display: block !important;
visibility: visible !important;
}
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}
@ -130,7 +130,7 @@
.bi-search-text-value-combo.combo-show .trigger-down {
display: none;
}
.bi-text-value-combo.combo-error .bi-select-text-trigger .bi-label {
color: #ff4949;
}

11
src/css/base/editor/editor.css

@ -1,11 +1,16 @@
/*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font {
.bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px;
}
.bi-search-editor .search-font {
font-size: 16px;
}
/*************BI.SearchEditor******************/
.bi-small-search-editor .bi-editor {
font-size: 12px;
@ -22,7 +27,7 @@
.bi-small-search-editor .search-font {
font-size: 18px;
}
.bi-sign-initial-editor .sign-initial-editor-text {
font-size: 14px;
}

4
src/css/base/pager/pager.css

@ -4,14 +4,14 @@
.bi-all-count-pager .all-pager-next {
font-size: 16px;
}
.bi-direction-pager .direction-pager-prev {
font-size: 16px;
}
.bi-direction-pager .direction-pager-next {
font-size: 16px;
}
.bi-pager .page-item {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;

6
src/css/base/single/button/item.css

@ -1,7 +1,7 @@
.bi-single-select-icon-text-item:active .b-font:before,
.bi-single-select-icon-text-item.active .b-font:before {
color: #3685f2;
}

14
src/css/base/single/editor/editor.css

@ -14,19 +14,19 @@
margin: 1px 1px;
display: inline-block;
}
.bi-multifile-editor .multifile-editor {
text-align: right;
cursor: pointer;
font-size: 100px;
z-index: 2;
}
.bi-textarea-editor {
overflow: hidden;
overflow-x: hidden;

6
src/css/base/single/tip/tip.css

@ -19,11 +19,11 @@
background: #feeed7;
color: #faaa39;
}
.bi-tip {
position: fixed !important;
}
.bi-toast {
font-size: 14px;
color: #ffffff;
@ -48,7 +48,7 @@
.bi-toast .toast-icon {
font-size: 16px;
}
.bi-tooltip {
max-width: 250px;
-webkit-border-radius: 2px;

14
src/css/base/table/table.css

@ -20,13 +20,13 @@
.bi-theme-dark .bi-collection-table-cell.first-col {
border-left: 1px solid #525466;
}
.bi-quick-collection-table > div > .bi-collection {
overflow: hidden !important;
overflow-x: hidden !important;
overflow-y: hidden !important;
}
.bi-grid-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/
@ -49,7 +49,7 @@
.bi-theme-dark .bi-grid-table-cell.first-col {
border-left: 1px solid #525466;
}
.scrollbar-layout-main {
box-sizing: border-box;
outline: none;
@ -163,7 +163,7 @@
bottom: 0;
position: absolute;
}
.bi-table > .first-col {
border-left: none;
}
@ -242,7 +242,7 @@
border-top: 1px solid #525466;
border-left: 1px solid #525466;
}
.bi-resizable-table-cell .resizable-table-cell-resizer-container {
cursor: ew-resize;
z-index: 1;
@ -254,7 +254,7 @@
.bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob {
background-color: #13cd66;
}
.bi-resizable-table .resizable-table-resizer {
cursor: ew-resize;
z-index: 1;
@ -271,4 +271,4 @@
.bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob {
background-color: #3f8ce8;
}

2
src/css/base/tree/tree.css

@ -1,7 +1,7 @@
.bi-branch-tree .bi-branch-tree-view {
min-width: 300px;
}
.bi-display-tree .ztree * {
color: #999999;
}

8
src/css/base/trigger/trigger.css

@ -1,5 +1,5 @@
.bi-trigger .bi-trigger-icon-button {
font-size: 16px;
}
@ -15,13 +15,13 @@
.bi-combo-popup .trigger-down {
display: none;
}
.bi-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-small-select-text-trigger {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;

10
src/css/core/wrapper/flex.css

@ -38,7 +38,7 @@
-o-align-items: center;
align-items: center;
}
.bi-flex-horizontal-layout {
display: box;
/* OLD - Android 4.4- */
@ -109,7 +109,7 @@
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-vertical-center {
display: box;
/* OLD - Android 4.4- */
@ -186,7 +186,7 @@
-o-align-items: stretch;
align-items: stretch;
}
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -230,7 +230,7 @@
min-height: 100%;
float: left;
}
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper {
display: box;
/* OLD - Android 4.4- */
@ -300,7 +300,7 @@
-o-align-items: flex-end;
align-items: flex-end;
}
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper {
display: box;
/* OLD - Android 4.4- */

2
src/css/core/wrapper/inline.css

@ -5,7 +5,7 @@
vertical-align: middle;
content: ' ';
}
.bi-inline-vertical-adapt-layout:after {
display: inline-block;
width: 0;

12
src/css/resource/font.css

@ -62,6 +62,18 @@
content: "\e6d0";
color: inherit;
}
.circle-close-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d5;');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');

4
src/css/widget/exceltable/exceltable.css

@ -1,8 +1,8 @@
.bi-excel-table-header-cell {
font-weight: bold;
}
.bi-excel-table > div.bottom-right > div > div > table {
border-right: 1px solid #d4dadd;
}

2
src/css/widget/filemanager/items/item.css

@ -1 +1 @@

2
src/css/widget/intervalslider/intervalslider.css

@ -1,7 +1,7 @@
.bi-interval-slider-label {
min-height: 50px;
}
.bi-interval-slider {
min-height: 70px;
}

14
src/css/widget/multidate/multidate.css

@ -3,9 +3,9 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .multidate-popup-label {
color: #3685f2;
font-size: 14px;
@ -22,10 +22,10 @@
color: #3685f2;
font-size: 14px;
}
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}

2
src/css/widget/multiselect/check/multiselect.css

@ -1,4 +1,4 @@
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}

6
src/css/widget/multiselect/multiselect.css

@ -13,7 +13,7 @@
.bi-multi-select-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-insert-combo .multi-select-trigger-icon-button {
font-size: 16px;
}
@ -29,8 +29,8 @@
.bi-multi-select-insert-combo.combo-show .trigger-down {
display: none;
}
.bi-multi-select-trigger {
-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;

2
src/css/widget/pagetable/pagetable.css

@ -6,4 +6,4 @@
-o-user-select: text;
user-select: text;
}

4
src/css/widget/previewtable/previewtable.css

@ -2,13 +2,13 @@
min-height: 25px;
min-width: 80px;
}
.bi-preview-table-header-cell {
font-weight: bold;
min-height: 25px;
min-width: 80px;
}
.bi-preview-table {
-webkit-user-select: text;
-khtml-user-select: text;

2
src/css/widget/singleslider/singlelider.css

@ -1,7 +1,7 @@
.bi-single-slider-label {
min-height: 50px;
}
.bi-single-slider-normal {
min-height: 30px;
}

3
src/less/base/editor/editor.search.less

@ -1,7 +1,8 @@
@import "../../index";
/*************BI.SearchEditor******************/
.bi-search-editor {
& .search-close-h-font{
.border-radius(2px);
& .circle-close-font{
font-size: @font-size-16;
}
& .search-font{

3
src/less/lib/font.less

@ -38,5 +38,4 @@
@font-tip-warning: "e755";
@font-tip-message: "e74b";
@font-add: "e6dd";
@font-circle-close: "e6d5";

2
src/less/resource/font.less

@ -20,6 +20,8 @@
.font-hover(close-h-font, @font-cross);
.font-hover-active(close-ha-font, @font-cross);
.font(circle-close-font, @font-circle-close);
//搜索框中的带有hover后颜色变红的图标
.font-hover(search-close-h-font, @font-cross, inherit, @color-bi-text-failure);

7
src/widget/editor/editor.search.js

@ -22,6 +22,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height,
watermark: o.watermark,
allowBlank: true,
hgap: 1,
errorText: o.errorText,
validationChecker: o.validationChecker,
quitChecker: o.quitChecker
@ -29,7 +30,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({
type: "bi.icon_button",
stopEvent: true,
cls: "search-close-h-font"
cls: "circle-close-font"
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
@ -50,14 +51,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
}]
},
width: 25
width: 24
},
{
el: self.editor
},
{
el: this.clear,
width: 25
width: 24
}
]
});

12
ui/css/font.css

@ -62,6 +62,18 @@
content: "\e6d0";
color: inherit;
}
.circle-close-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d5;');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font {
line-height: 1;
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#xe6d0;');

9798
utils/utils.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save