@kusto/monaco-kusto 7.7.1 → 7.8.0

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.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-db8ed0df'], (function (exports, monaco, main) { 'use strict';
8
+ define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-3bc14461'], (function (exports, monaco, main) { '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.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-db8ed0df', './schema-4f4ca9c2'], (function (exports, main, schema) { 'use strict';
8
+ define('vs/language/kusto/kustoWorker', ['exports', './main-3bc14461', './schema-3363b419'], (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."); }
@@ -4316,6 +4316,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-db8ed0df', './schema
4316
4316
  }, {
4317
4317
  key: "setParameters",
4318
4318
  value: function setParameters(scalarParameters, tabularParameters) {
4319
+ var _this$_script;
4319
4320
  if (!this._languageSettings.useIntellisenseV2 || this._schema.clusterType !== 'Engine') {
4320
4321
  throw new Error('setParameters requires intellisense V2 and Engine cluster');
4321
4322
  }
@@ -4328,6 +4329,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-db8ed0df', './schema
4328
4329
  return KustoLanguageService.createTabularParameterSymbol(param);
4329
4330
  });
4330
4331
  this._kustoJsSchemaV2 = this._kustoJsSchemaV2.WithParameters(KustoLanguageService.toBridgeList([].concat(_toConsumableArray(scalarSymbols), _toConsumableArray(tabularSymbols))));
4332
+ this._script = (_this$_script = this._script) === null || _this$_script === void 0 ? void 0 : _this$_script.WithGlobals(this._kustoJsSchemaV2);
4331
4333
  return Promise.resolve(undefined);
4332
4334
  }
4333
4335
 
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-db8ed0df', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/main-3bc14461', ['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.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-4f4ca9c2'], (function (require, exports, monaco, schema) { 'use strict';
8
+ define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './schema-3363b419'], (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.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-4f4ca9c2', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/schema-3363b419', ['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.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-edd20bc2.js';
11
+ import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-55021e55.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';
@@ -804,6 +804,7 @@ class KustoLanguageService {
804
804
  const scalarSymbols = scalarParameters.map(param => KustoLanguageService.createParameterSymbol(param));
805
805
  const tabularSymbols = tabularParameters.map(param => KustoLanguageService.createTabularParameterSymbol(param));
806
806
  this._kustoJsSchemaV2 = this._kustoJsSchemaV2.WithParameters(KustoLanguageService.toBridgeList([...scalarSymbols, ...tabularSymbols]));
807
+ this._script = this._script?.WithGlobals(this._kustoJsSchemaV2);
807
808
  return Promise.resolve(undefined);
808
809
  }
809
810
 
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -1,13 +1,13 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 7.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
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-edd20bc2.js';
10
- export { s as showSchema } from './schema-edd20bc2.js';
9
+ import { g as getCslTypeNameFromClrType, a as getCallName, b as getExpression, c as getInputParametersAsCslString, d as getEntityDataTypeFromCslType } from './schema-55021e55.js';
10
+ export { s as showSchema } from './schema-55021e55.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.7.1(f7f3c57600d1a3143717d12d346f874c1cd61f97)
3
+ * monaco-kusto version: 7.8.0(9c1cf5d0d5f2867c9f65fa16157194cd9141c653)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/