@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.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Palette, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/codemirror";
4
- var PKG_VERSION = "2.64.0";
5
- var BUILD_VERSION = "2.107.0";
4
+ var PKG_VERSION = "2.65.0";
5
+ var BUILD_VERSION = "2.107.2";
6
6
 
7
7
  /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -17856,5 +17856,23 @@ var SQLEditor = /** @class */ (function (_super) {
17856
17856
  }(Editor));
17857
17857
  SQLEditor.prototype._class += " codemirror_SQLEditor";
17858
17858
 
17859
- export { BUILD_VERSION, CSSEditor, DOTEditor, ECLEditor, Editor, HTMLEditor, JSEditor, JSONEditor, MarkdownEditor, ObservableMarkdownEditor, PKG_NAME, PKG_VERSION, SQLEditor, XMLEditor };
17859
+ var YAMLEditor = /** @class */ (function (_super) {
17860
+ __extends(YAMLEditor, _super);
17861
+ function YAMLEditor() {
17862
+ return _super !== null && _super.apply(this, arguments) || this;
17863
+ }
17864
+ YAMLEditor.prototype.options = function () {
17865
+ return __assign(__assign({}, _super.prototype.options.call(this)), { mode: "text/x-yaml", foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] });
17866
+ };
17867
+ YAMLEditor.prototype.yaml = function (_) {
17868
+ if (!arguments.length)
17869
+ return this.text();
17870
+ this.text(_);
17871
+ return this;
17872
+ };
17873
+ return YAMLEditor;
17874
+ }(Editor));
17875
+ YAMLEditor.prototype._class += " codemirror_YAMLEditor";
17876
+
17877
+ export { BUILD_VERSION, CSSEditor, DOTEditor, ECLEditor, Editor, HTMLEditor, JSEditor, JSONEditor, MarkdownEditor, ObservableMarkdownEditor, PKG_NAME, PKG_VERSION, SQLEditor, XMLEditor, YAMLEditor };
17860
17878
  //# sourceMappingURL=index.es6.js.map