Browse Source

Merge pull request #209 in FUI/fineui from ~GUY/fineui:master to master

* commit '62a1a9768635cd0523009e17565eb15a46fb4a89':
  update
  更新更新
  ie下造成 popup向下偏移
  update
  去tooltip去标色
  update
  sqleditor换位置
es6
guy 7 years ago
parent
commit
166099fae6
  1. 13
      bi/base.css
  2. 4418
      bi/base.js
  3. 13
      dist/base.css
  4. 4418
      dist/base.js
  5. 13
      dist/bundle.css
  6. 4418
      dist/bundle.js
  7. 2
      dist/bundle.min.css
  8. 79
      dist/bundle.min.js
  9. 26
      src/base/sql/codemirrior/sql-hint.js
  10. 0
      src/base/sql/codemirrior/sql-mode.js
  11. 0
      src/base/sql/editor.sql.js
  12. 4
      src/css/base/combo/popup.bubble.css
  13. 3
      src/css/base/formula/codemirror.css
  14. 10
      src/css/base/sql/sql.css
  15. 3
      src/less/base/combo/popup.bubble.less
  16. 2
      src/less/base/formula/codemirror.less
  17. 11
      src/less/base/sql/sql.less

13
bi/base.css

@ -591,6 +591,9 @@ span.CodeMirror-selectedtext {
color: black;
cursor: pointer;
}
.CodeMirror-hints {
z-index: 1000000000;
}
li.CodeMirror-hint-active {
background: #08f;
color: white;
@ -1034,24 +1037,20 @@ body .bi-button.button-ignore.disabled.clear:active,
border: 1px solid #f4cbcb;
}
.bi-sql-editor .cm-s-default span[class*="#"] {
color: #faaa39;
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-keyword {
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-fr-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-keyword {
color: #3685f2;
}
.CodeMirror-hints .CodeMirror-hint-active {
background: #3f8ce8;
color: #ffffff;
}
.bi-collection-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/

4418
bi/base.js

File diff suppressed because it is too large Load Diff

13
dist/base.css vendored

@ -591,6 +591,9 @@ span.CodeMirror-selectedtext {
color: black;
cursor: pointer;
}
.CodeMirror-hints {
z-index: 1000000000;
}
li.CodeMirror-hint-active {
background: #08f;
color: white;
@ -1034,24 +1037,20 @@ body .bi-button.button-ignore.disabled.clear:active,
border: 1px solid #f4cbcb;
}
.bi-sql-editor .cm-s-default span[class*="#"] {
color: #faaa39;
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-keyword {
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-fr-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-keyword {
color: #3685f2;
}
.CodeMirror-hints .CodeMirror-hint-active {
background: #3f8ce8;
color: #ffffff;
}
.bi-collection-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/

4418
dist/base.js vendored

File diff suppressed because it is too large Load Diff

13
dist/bundle.css vendored

@ -2186,6 +2186,9 @@ span.CodeMirror-selectedtext {
color: black;
cursor: pointer;
}
.CodeMirror-hints {
z-index: 1000000000;
}
li.CodeMirror-hint-active {
background: #08f;
color: white;
@ -2629,24 +2632,20 @@ body .bi-button.button-ignore.disabled.clear:active,
border: 1px solid #f4cbcb;
}
.bi-sql-editor .cm-s-default span[class*="#"] {
color: #faaa39;
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-keyword {
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-fr-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-keyword {
color: #3685f2;
}
.CodeMirror-hints .CodeMirror-hint-active {
background: #3f8ce8;
color: #ffffff;
}
.bi-collection-table-cell {
-webkit-box-sizing: border-box;
/*Safari3.2+*/

4418
dist/bundle.js vendored

File diff suppressed because it is too large Load Diff

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

79
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

26
src/base/formula/codemirror/sql-hint.js → src/base/sql/codemirrior/sql-hint.js

@ -289,19 +289,19 @@
var isKeyword = i < keywordsCount;
return {
isKeyword: isKeyword,
text: w,
description: desc[w] || "SQL关键字",
className: isKeyword ? "sql-keyword" : "sql-fr-function",
render: function (Element, self, data) {
var label = BI.createWidget({
type: "bi.label",
element: Element,
text: data.displayText || getText(data)
});
label.setTitle(data.description, {
container: "body"
});
}
text: w
// description: desc[w] || "SQL关键字",
// className: isKeyword ? "sql-keyword" : "sql-fr-function",
// render: function (Element, self, data) {
// var label = BI.createWidget({
// type: "bi.label",
// element: Element,
// text: data.displayText || getText(data)
// });
// label.setTitle(data.description, {
// container: "body"
// });
// }
};
});
}

0
src/base/formula/codemirror/sql-mode.js → src/base/sql/codemirrior/sql-mode.js

0
src/base/formula/editor.sql.js → src/base/sql/editor.sql.js

4
src/css/base/combo/popup.bubble.css

@ -1,5 +1,3 @@
.bi-bubble-popup-view {
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

3
src/css/base/formula/codemirror.css

@ -471,6 +471,9 @@ span.CodeMirror-selectedtext {
color: black;
cursor: pointer;
}
.CodeMirror-hints {
z-index: 1000000000;
}
li.CodeMirror-hint-active {
background: #08f;
color: white;

10
src/css/base/sql/sql.css

@ -1,19 +1,15 @@
.bi-sql-editor .cm-s-default span[class*="#"] {
color: #faaa39;
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-keyword {
color: #3685f2;
}
.bi-sql-editor .cm-s-default .cm-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-fr-function {
color: #faaa39;
color: #3685f2;
}
.CodeMirror-hints .sql-keyword {
color: #3685f2;
}
.CodeMirror-hints .CodeMirror-hint-active {
background: #3f8ce8;
color: #ffffff;
}

3
src/less/base/combo/popup.bubble.less

@ -1,5 +1,6 @@
@import "../../bibase";
// ie下造成popup向下偏移
.bi-bubble-popup-view {
.box-shadow(0 0 10px, rgba(0, 0, 0, 0.2));
}

2
src/less/base/formula/codemirror.less

@ -579,7 +579,7 @@ span.CodeMirror-selectedtext {
}
.CodeMirror-hints {
//z-index: @zIndex-tip;
z-index: @zIndex-tip;
}
li.CodeMirror-hint-active {

11
src/less/base/sql/sql.less

@ -3,7 +3,7 @@
.bi-sql-editor{
& .cm-s-default span[class*="#"] {
color: @color-bi-text-warning;
color: @color-bi-text-highlight;
}
& .cm-s-default .cm-keyword {
@ -11,22 +11,17 @@
}
& .cm-s-default .cm-function {
color: @color-bi-text-warning;
color: @color-bi-text-highlight;
}
}
.CodeMirror-hints {
& .sql-fr-function{
color: @color-bi-text-warning;
color: @color-bi-text-highlight;
}
& .sql-keyword{
color: @color-bi-text-highlight;
}
.CodeMirror-hint-active {
background: @color-bi-background-highlight;
color: @color-bi-text;
}
}
Loading…
Cancel
Save