@kusto/monaco-kusto 7.3.0 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-6985c66e'], (function (exports, monaco, main) { 'use strict';
8
+ define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-bd46c9da'], (function (exports, monaco, main) { 'use strict';
9
9
 
10
10
  function _interopNamespaceDefault(e) {
11
11
  var n = Object.create(null);
@@ -1578,19 +1578,14 @@ define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './ma
1578
1578
  if (!docString) {
1579
1579
  return undefined;
1580
1580
  }
1581
- var _this$languageSetting = this.languageSettings,
1582
- _this$languageSetting2 = _this$languageSetting.documentationBaseUrl,
1583
- documentationBaseUrl = _this$languageSetting2 === void 0 ? DEFAULT_DOCS_BASE_URL : _this$languageSetting2,
1584
- documentationDocUriTransformer = _this$languageSetting.documentationDocUriTransformer;
1581
+ var _this$languageSetting = this.languageSettings.documentationBaseUrl,
1582
+ documentationBaseUrl = _this$languageSetting === void 0 ? DEFAULT_DOCS_BASE_URL : _this$languageSetting;
1585
1583
  var urisProxy = new Proxy({}, {
1586
1584
  get: function get(_target, prop, _receiver) {
1587
1585
  // The link comes with a postfix of ".md" that we want to remove
1588
1586
  var linkWithoutPostfix = prop.toString().replace('.md', '');
1589
1587
  // Sometimes we get the link as a full URL. For example in the main doc link of the item
1590
1588
  var fullURL = linkWithoutPostfix.startsWith('https') ? linkWithoutPostfix : "".concat(documentationBaseUrl, "/").concat(linkWithoutPostfix);
1591
- if (documentationDocUriTransformer) {
1592
- fullURL = documentationDocUriTransformer(fullURL, prop.toString());
1593
- }
1594
1589
  return monaco__namespace.Uri.parse(fullURL);
1595
1590
  }
1596
1591
  });
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/kustoWorker', ['exports', './main-6985c66e', './schema-e48afa44'], (function (exports, main, schema) { 'use strict';
8
+ define('vs/language/kusto/kustoWorker', ['exports', './main-bd46c9da', './schema-4f7dc09d'], (function (exports, main, schema) { 'use strict';
9
9
 
10
10
  function _slicedToArray$2(arr, i) { return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$2(); }
11
11
  function _nonIterableRest$2() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/main-6985c66e', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/main-bd46c9da', ['exports'], (function (exports) { 'use strict';
9
9
 
10
10
  /* --------------------------------------------------------------------------------------------
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './schema-e48afa44'], (function (require, exports, monaco, schema) { 'use strict';
8
+ define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './schema-4f7dc09d'], (function (require, exports, monaco, schema) { 'use strict';
9
9
 
10
10
  function _interopNamespaceDefault(e) {
11
11
  var n = Object.create(null);
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/schema-e48afa44', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/schema-4f7dc09d', ['exports'], (function (exports) { 'use strict';
9
9
 
10
10
  // Definition of schema object in the context of language services. This model is exposed to consumers of this library.
11
11
 
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -8,7 +8,7 @@
8
8
  import * as worker from 'monaco-editor/esm/vs/editor/editor.worker';
9
9
  import * as ls from 'vscode-languageserver-types';
10
10
  import XRegExp from 'xregexp';
11
- import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-da29f26c.js';
11
+ import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-3d1d888f.js';
12
12
  import '@kusto/language-service/bridge.min';
13
13
  import '@kusto/language-service/Kusto.JavaScript.Client.min';
14
14
  import '@kusto/language-service/newtonsoft.json.min';
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -869,18 +869,14 @@ class CompletionAdapter {
869
869
  return undefined;
870
870
  }
871
871
  const {
872
- documentationBaseUrl = DEFAULT_DOCS_BASE_URL,
873
- documentationDocUriTransformer
872
+ documentationBaseUrl = DEFAULT_DOCS_BASE_URL
874
873
  } = this.languageSettings;
875
874
  const urisProxy = new Proxy({}, {
876
875
  get(_target, prop, _receiver) {
877
876
  // The link comes with a postfix of ".md" that we want to remove
878
877
  const linkWithoutPostfix = prop.toString().replace('.md', '');
879
878
  // Sometimes we get the link as a full URL. For example in the main doc link of the item
880
- let fullURL = linkWithoutPostfix.startsWith('https') ? linkWithoutPostfix : `${documentationBaseUrl}/${linkWithoutPostfix}`;
881
- if (documentationDocUriTransformer) {
882
- fullURL = documentationDocUriTransformer(fullURL, prop.toString());
883
- }
879
+ const fullURL = linkWithoutPostfix.startsWith('https') ? linkWithoutPostfix : `${documentationBaseUrl}/${linkWithoutPostfix}`;
884
880
  return monaco.Uri.parse(fullURL);
885
881
  }
886
882
  });
@@ -17,7 +17,6 @@ export interface LanguageSettings {
17
17
  quickFixCodeActions?: QuickFixCodeActionOptions[];
18
18
  enableQuickFixes?: boolean;
19
19
  documentationBaseUrl?: boolean;
20
- documentationDocUriTransformer?: (href: string, rawUrl: string) => string;
21
20
  }
22
21
  export interface FormatterOptions {
23
22
  indentationSize?: number;
@@ -1,13 +1,13 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
8
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
9
- import { g as getCslTypeNameFromClrType, a as getCallName, b as getExpression, c as getInputParametersAsCslString, d as getEntityDataTypeFromCslType } from './schema-da29f26c.js';
10
- export { s as showSchema } from './schema-da29f26c.js';
9
+ import { g as getCslTypeNameFromClrType, a as getCallName, b as getExpression, c as getInputParametersAsCslString, d as getEntityDataTypeFromCslType } from './schema-3d1d888f.js';
10
+ export { s as showSchema } from './schema-3d1d888f.js';
11
11
 
12
12
  function getCurrentCommandRange(editor, cursorPosition) {
13
13
  const zeroBasedCursorLineNumber = cursorPosition.lineNumber - 1;
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.3.0(2180bebed1cf1ca23d0ec30598c9cb66cffbef03)
3
+ * monaco-kusto version: 7.3.1(09ebc262a890fe768e760dfd26b991c3eab53248)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/