@hpcc-js/codemirror 2.64.0 → 2.65.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.
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  })(this, (function (exports, common) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/codemirror";
8
- var PKG_VERSION = "2.64.0";
9
- var BUILD_VERSION = "2.107.0";
8
+ var PKG_VERSION = "2.65.0";
9
+ var BUILD_VERSION = "2.107.2";
10
10
 
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -17860,6 +17860,24 @@
17860
17860
  }(Editor));
17861
17861
  SQLEditor.prototype._class += " codemirror_SQLEditor";
17862
17862
 
17863
+ var YAMLEditor = /** @class */ (function (_super) {
17864
+ __extends(YAMLEditor, _super);
17865
+ function YAMLEditor() {
17866
+ return _super !== null && _super.apply(this, arguments) || this;
17867
+ }
17868
+ YAMLEditor.prototype.options = function () {
17869
+ return __assign(__assign({}, _super.prototype.options.call(this)), { mode: "text/x-yaml", foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] });
17870
+ };
17871
+ YAMLEditor.prototype.yaml = function (_) {
17872
+ if (!arguments.length)
17873
+ return this.text();
17874
+ this.text(_);
17875
+ return this;
17876
+ };
17877
+ return YAMLEditor;
17878
+ }(Editor));
17879
+ YAMLEditor.prototype._class += " codemirror_YAMLEditor";
17880
+
17863
17881
  exports.BUILD_VERSION = BUILD_VERSION;
17864
17882
  exports.CSSEditor = CSSEditor;
17865
17883
  exports.DOTEditor = DOTEditor;
@@ -17874,6 +17892,7 @@
17874
17892
  exports.PKG_VERSION = PKG_VERSION;
17875
17893
  exports.SQLEditor = SQLEditor;
17876
17894
  exports.XMLEditor = XMLEditor;
17895
+ exports.YAMLEditor = YAMLEditor;
17877
17896
 
17878
17897
  }));
17879
17898
  //# sourceMappingURL=index.js.map