Browse Source

更新更新

es6
windy 7 years ago
parent
commit
6fae83970b
  1. 3
      bi/base.css
  2. 40
      bi/base.js
  3. 3
      dist/base.css
  4. 40
      dist/base.js
  5. 3
      dist/bundle.css
  6. 40
      dist/bundle.js
  7. 2
      dist/bundle.min.css
  8. 18
      dist/bundle.min.js
  9. 40
      src/base/sql/codemirrior/sql-hint.js
  10. 3
      src/css/base/formula/codemirror.css
  11. 2
      src/less/base/formula/codemirror.less

3
bi/base.css

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

40
bi/base.js

@ -20737,27 +20737,25 @@ BI.Trigger = BI.inherit(BI.Single, {
addMatches(result, search, tables, function(w) {return w}); addMatches(result, search, tables, function(w) {return w});
addMatches(result, search, defaultTable, function(w) {return w}); addMatches(result, search, defaultTable, function(w) {return w});
if (!disableKeywords) if (!disableKeywords)
addMatches(result, search, keywords, function(w) {return w;}); addMatches(result, search, keywords, function(w, i) {
// 这边是加tooltip的,现在貌似不要了 var isKeyword = i < keywordsCount;
// addMatches(result, search, keywords, function(w, i) { return {
// var isKeyword = i < keywordsCount; isKeyword: isKeyword,
// return { text: w
// isKeyword: isKeyword, // description: desc[w] || "SQL关键字",
// text: w, // className: isKeyword ? "sql-keyword" : "sql-fr-function",
// description: desc[w] || "SQL关键字", // render: function (Element, self, data) {
// className: isKeyword ? "sql-keyword" : "sql-fr-function", // var label = BI.createWidget({
// render: function (Element, self, data) { // type: "bi.label",
// var label = BI.createWidget({ // element: Element,
// type: "bi.label", // text: data.displayText || getText(data)
// element: Element, // });
// text: data.displayText || getText(data) // label.setTitle(data.description, {
// }); // container: "body"
// label.setTitle(data.description, { // });
// container: "body" // }
// }); };
// } });
// };
// });
} }
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)}; return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};

3
dist/base.css vendored

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

40
dist/base.js vendored

@ -20737,27 +20737,25 @@ BI.Trigger = BI.inherit(BI.Single, {
addMatches(result, search, tables, function(w) {return w}); addMatches(result, search, tables, function(w) {return w});
addMatches(result, search, defaultTable, function(w) {return w}); addMatches(result, search, defaultTable, function(w) {return w});
if (!disableKeywords) if (!disableKeywords)
addMatches(result, search, keywords, function(w) {return w;}); addMatches(result, search, keywords, function(w, i) {
// 这边是加tooltip的,现在貌似不要了 var isKeyword = i < keywordsCount;
// addMatches(result, search, keywords, function(w, i) { return {
// var isKeyword = i < keywordsCount; isKeyword: isKeyword,
// return { text: w
// isKeyword: isKeyword, // description: desc[w] || "SQL关键字",
// text: w, // className: isKeyword ? "sql-keyword" : "sql-fr-function",
// description: desc[w] || "SQL关键字", // render: function (Element, self, data) {
// className: isKeyword ? "sql-keyword" : "sql-fr-function", // var label = BI.createWidget({
// render: function (Element, self, data) { // type: "bi.label",
// var label = BI.createWidget({ // element: Element,
// type: "bi.label", // text: data.displayText || getText(data)
// element: Element, // });
// text: data.displayText || getText(data) // label.setTitle(data.description, {
// }); // container: "body"
// label.setTitle(data.description, { // });
// container: "body" // }
// }); };
// } });
// };
// });
} }
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)}; return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};

3
dist/bundle.css vendored

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

40
dist/bundle.js vendored

@ -46549,27 +46549,25 @@ BI.Trigger = BI.inherit(BI.Single, {
addMatches(result, search, tables, function(w) {return w}); addMatches(result, search, tables, function(w) {return w});
addMatches(result, search, defaultTable, function(w) {return w}); addMatches(result, search, defaultTable, function(w) {return w});
if (!disableKeywords) if (!disableKeywords)
addMatches(result, search, keywords, function(w) {return w;}); addMatches(result, search, keywords, function(w, i) {
// 这边是加tooltip的,现在貌似不要了 var isKeyword = i < keywordsCount;
// addMatches(result, search, keywords, function(w, i) { return {
// var isKeyword = i < keywordsCount; isKeyword: isKeyword,
// return { text: w
// isKeyword: isKeyword, // description: desc[w] || "SQL关键字",
// text: w, // className: isKeyword ? "sql-keyword" : "sql-fr-function",
// description: desc[w] || "SQL关键字", // render: function (Element, self, data) {
// className: isKeyword ? "sql-keyword" : "sql-fr-function", // var label = BI.createWidget({
// render: function (Element, self, data) { // type: "bi.label",
// var label = BI.createWidget({ // element: Element,
// type: "bi.label", // text: data.displayText || getText(data)
// element: Element, // });
// text: data.displayText || getText(data) // label.setTitle(data.description, {
// }); // container: "body"
// label.setTitle(data.description, { // });
// container: "body" // }
// }); };
// } });
// };
// });
} }
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)}; return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

40
src/base/sql/codemirrior/sql-hint.js

@ -285,27 +285,25 @@
addMatches(result, search, tables, function(w) {return w}); addMatches(result, search, tables, function(w) {return w});
addMatches(result, search, defaultTable, function(w) {return w}); addMatches(result, search, defaultTable, function(w) {return w});
if (!disableKeywords) if (!disableKeywords)
addMatches(result, search, keywords, function(w) {return w;}); addMatches(result, search, keywords, function(w, i) {
// 这边是加tooltip的,现在貌似不要了 var isKeyword = i < keywordsCount;
// addMatches(result, search, keywords, function(w, i) { return {
// var isKeyword = i < keywordsCount; isKeyword: isKeyword,
// return { text: w
// isKeyword: isKeyword, // description: desc[w] || "SQL关键字",
// text: w, // className: isKeyword ? "sql-keyword" : "sql-fr-function",
// description: desc[w] || "SQL关键字", // render: function (Element, self, data) {
// className: isKeyword ? "sql-keyword" : "sql-fr-function", // var label = BI.createWidget({
// render: function (Element, self, data) { // type: "bi.label",
// var label = BI.createWidget({ // element: Element,
// type: "bi.label", // text: data.displayText || getText(data)
// element: Element, // });
// text: data.displayText || getText(data) // label.setTitle(data.description, {
// }); // container: "body"
// label.setTitle(data.description, { // });
// container: "body" // }
// }); };
// } });
// };
// });
} }
return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)}; return {list: result, from: Pos(cur.line, start), to: Pos(cur.line, end)};

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

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

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

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

Loading…
Cancel
Save