@vuu-ui/vuu-codemirror 0.7.6-debug → 0.8.0-debug

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/cjs/index.js CHANGED
@@ -38,8 +38,9 @@ __export(src_exports, {
38
38
  EditorView: () => EditorView,
39
39
  HighlightStyle: () => HighlightStyle,
40
40
  LRLanguage: () => LRLanguage,
41
- LRParser: () => import_lr.LRParser,
42
41
  LanguageSupport: () => LanguageSupport,
42
+ SyntaxNode: () => import_common3.SyntaxNode,
43
+ Tree: () => import_common3.Tree,
43
44
  asNameSuggestion: () => asNameSuggestion,
44
45
  autocompletion: () => autocompletion,
45
46
  booleanJoinSuggestions: () => booleanJoinSuggestions,
@@ -15088,8 +15089,8 @@ var defaultKeymap = /* @__PURE__ */ [
15088
15089
  ].concat(standardKeymap);
15089
15090
 
15090
15091
  // src/index.ts
15092
+ var import_common3 = require("@lezer/common");
15091
15093
  var import_highlight2 = require("@lezer/highlight");
15092
- var import_lr = require("@lezer/lr");
15093
15094
 
15094
15095
  // src/codemirror-basic-setup.ts
15095
15096
  var keyBindings = [
@@ -15170,9 +15171,7 @@ var metadataKeys = {
15170
15171
  FILTER_COUNT: "filter_count",
15171
15172
  NEXT_FILTER_IDX: "next_filter_idx"
15172
15173
  };
15173
-
15174
- // ../vuu-utils/src/DataWindow.ts
15175
- var { KEY } = metadataKeys;
15174
+ var { DEPTH, IS_LEAF } = metadataKeys;
15176
15175
 
15177
15176
  // ../vuu-utils/src/cookie-utils.ts
15178
15177
  var getCookieValue = (name) => {
@@ -15182,6 +15181,9 @@ var getCookieValue = (name) => {
15182
15181
  }
15183
15182
  };
15184
15183
 
15184
+ // ../vuu-utils/src/DataWindow.ts
15185
+ var { KEY } = metadataKeys;
15186
+
15185
15187
  // ../vuu-utils/src/logging-utils.ts
15186
15188
  var logLevels = ["error", "warn", "info", "debug"];
15187
15189
  var isValidLogLevel = (value) => typeof value === "string" && logLevels.includes(value);
@@ -15389,6 +15391,18 @@ var { COUNT: COUNT2 } = metadataKeys;
15389
15391
  // ../vuu-utils/src/row-utils.ts
15390
15392
  var { IDX } = metadataKeys;
15391
15393
 
15394
+ // ../vuu-utils/src/selection-utils.ts
15395
+ var { SELECTED } = metadataKeys;
15396
+ var RowSelected = {
15397
+ False: 0,
15398
+ True: 1,
15399
+ First: 2,
15400
+ Last: 4
15401
+ };
15402
+ var SINGLE_SELECTED_ROW = RowSelected.True + RowSelected.First + RowSelected.Last;
15403
+ var FIRST_SELECTED_ROW_OF_BLOCK = RowSelected.True + RowSelected.First;
15404
+ var LAST_SELECTED_ROW_OF_BLOCK = RowSelected.True + RowSelected.Last;
15405
+
15392
15406
  // src/suggestion-utils.ts
15393
15407
  var NO_OPTIONS = {};
15394
15408
  var applyWithCursorMove = () => (view, completion, from) => {