@pretable/core 0.20.1 → 0.20.3

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.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/typeof.js
2
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/typeof.js
3
3
  function _typeof(o) {
4
4
  "@babel/helpers - typeof";
5
5
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -9,28 +9,25 @@ function _typeof(o) {
9
9
  }, _typeof(o);
10
10
  }
11
11
 
12
- //#endregion
13
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/toPrimitive.js
14
- function toPrimitive(t, r) {
12
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPrimitive.js
13
+ function toPrimitive(t, e) {
15
14
  if ("object" != _typeof(t) || !t) return t;
16
- var e = t[Symbol.toPrimitive];
17
- if (void 0 !== e) {
18
- var i = e.call(t, r || "default");
15
+ var r;
16
+ if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
17
+ var i = r.call(t, e || "default");
19
18
  if ("object" != _typeof(i)) return i;
20
19
  throw new TypeError("@@toPrimitive must return a primitive value.");
21
20
  }
22
- return ("string" === r ? String : Number)(t);
21
+ return ("string" === e ? String : Number)(t);
23
22
  }
24
23
 
25
- //#endregion
26
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/toPropertyKey.js
24
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPropertyKey.js
27
25
  function toPropertyKey(t) {
28
26
  var i = toPrimitive(t, "string");
29
27
  return "symbol" == _typeof(i) ? i : i + "";
30
28
  }
31
29
 
32
- //#endregion
33
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/defineProperty.js
30
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/defineProperty.js
34
31
  function _defineProperty(e, r, t) {
35
32
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
36
33
  value: t,
@@ -40,45 +37,38 @@ function _defineProperty(e, r, t) {
40
37
  }) : e[r] = t, e;
41
38
  }
42
39
 
43
- //#endregion
44
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/checkPrivateRedeclaration.js
40
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/checkPrivateRedeclaration.js
45
41
  function _checkPrivateRedeclaration(e, t) {
46
42
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
47
43
  }
48
44
 
49
- //#endregion
50
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/classPrivateMethodInitSpec.js
45
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/classPrivateMethodInitSpec.js
51
46
  function _classPrivateMethodInitSpec(e, a) {
52
47
  _checkPrivateRedeclaration(e, a), a.add(e);
53
48
  }
54
49
 
55
- //#endregion
56
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/classPrivateFieldInitSpec.js
50
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/classPrivateFieldInitSpec.js
57
51
  function _classPrivateFieldInitSpec(e, t, a) {
58
52
  _checkPrivateRedeclaration(e, t), t.set(e, a);
59
53
  }
60
54
 
61
- //#endregion
62
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/assertClassBrand.js
55
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/assertClassBrand.js
63
56
  function _assertClassBrand(e, t, n) {
64
57
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
65
58
  throw new TypeError("Private element is not present on this object");
66
59
  }
67
60
 
68
- //#endregion
69
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/classPrivateFieldSet2.js
61
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/classPrivateFieldSet2.js
70
62
  function _classPrivateFieldSet2(s, a, r) {
71
63
  return s.set(_assertClassBrand(s, a), r), r;
72
64
  }
73
65
 
74
- //#endregion
75
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/classPrivateFieldGet2.js
66
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/classPrivateFieldGet2.js
76
67
  function _classPrivateFieldGet2(s, a) {
77
68
  return s.get(_assertClassBrand(s, a));
78
69
  }
79
70
 
80
- //#endregion
81
- //#region ../layout-core/dist/dense-membership.js
71
+ // ../layout-core/dist/dense-membership.js
82
72
  /**
83
73
  * Membership bitset: one bit per dense key (row-model SLOT). Duplicated from
84
74
  * `@pretable-internal/row-model`'s `membership-bitset.ts` BY DESIGN —
@@ -111,8 +101,7 @@ function testDenseBit(bits, slot) {
111
101
  return word === void 0 ? false : (word >>> (slot & 31) & 1) === 1;
112
102
  }
113
103
 
114
- //#endregion
115
- //#region ../layout-core/dist/row-height-index.js
104
+ // ../layout-core/dist/row-height-index.js
116
105
  var _a$1;
117
106
  function createWork(entriesVisited = 0) {
118
107
  return {
@@ -1965,8 +1954,7 @@ function _release() {
1965
1954
  _classPrivateFieldSet2(_root2$2, this, null);
1966
1955
  }
1967
1956
 
1968
- //#endregion
1969
- //#region ../grid-core/dist/indexed-selection.js
1957
+ // ../grid-core/dist/indexed-selection.js
1970
1958
  let _Symbol$iterator;
1971
1959
  let _Symbol$toStringTag;
1972
1960
  let _Symbol$iterator2;
@@ -3415,8 +3403,7 @@ function reconcileIndexedSelection(selection, snapshot, eviction) {
3415
3403
  });
3416
3404
  }
3417
3405
 
3418
- //#endregion
3419
- //#region ../grid-core/dist/indexed-focus.js
3406
+ // ../grid-core/dist/indexed-focus.js
3420
3407
  /**
3421
3408
  * The one header address there is.
3422
3409
  *
@@ -3581,8 +3568,7 @@ function moveIndexedFocus(input) {
3581
3568
  return nextRow === rowIndex ? current : (_focusAt5 = focusAt(snapshot, nextRow, current.columnId)) !== null && _focusAt5 !== void 0 ? _focusAt5 : current;
3582
3569
  }
3583
3570
 
3584
- //#endregion
3585
- //#region ../grid-core/dist/create-grid-ui-core.js
3571
+ // ../grid-core/dist/create-grid-ui-core.js
3586
3572
  var PretableGridUiError = class extends Error {
3587
3573
  constructor(code, message, cause) {
3588
3574
  super(message);
@@ -4331,13 +4317,11 @@ function createGridUiCore(options) {
4331
4317
  };
4332
4318
  }
4333
4319
 
4334
- //#endregion
4335
- //#region ../grid-core/dist/group-column.js
4320
+ // ../grid-core/dist/group-column.js
4336
4321
  /** Id of the synthetic visual column that carries grouped row labels. @public */
4337
4322
  const GROUP_COLUMN_ID = "__pretable_group__";
4338
4323
 
4339
- //#endregion
4340
- //#region src/create-grid.ts
4324
+ // src/create-grid.ts
4341
4325
  /**
4342
4326
  * Create a framework-independent UI-state grid over an explicit indexed row
4343
4327
  * model. Data, queries, grouping, aggregation, and expansion remain owned by
@@ -4350,8 +4334,7 @@ function createGrid(options) {
4350
4334
  return createGridUiCore(options);
4351
4335
  }
4352
4336
 
4353
- //#endregion
4354
- //#region ../row-model/dist/column-types.js
4337
+ // ../row-model/dist/column-types.js
4355
4338
  /** @public */
4356
4339
  function createColumnHelper$1() {
4357
4340
  return { accessor(id, accessorOrOptions, maybeOptions) {
@@ -4376,8 +4359,7 @@ function isPretableFilterGroup(node) {
4376
4359
  return typeof node === "object" && node !== null && "children" in node && (node.op === "and" || node.op === "or");
4377
4360
  }
4378
4361
 
4379
- //#endregion
4380
- //#region ../calendar-date/dist/calendar-date.js
4362
+ // ../calendar-date/dist/calendar-date.js
4381
4363
  const ASCII_ZERO = 48;
4382
4364
  const ASCII_NINE = 57;
4383
4365
  const ASCII_HYPHEN = 45;
@@ -4409,8 +4391,7 @@ function compareDateValues(left, right) {
4409
4391
  return 0;
4410
4392
  }
4411
4393
 
4412
- //#endregion
4413
- //#region ../row-model/dist/calendar-date-aggregates.js
4394
+ // ../row-model/dist/calendar-date-aggregates.js
4414
4395
  function calendarDateExtremum(kind) {
4415
4396
  return Object.freeze({
4416
4397
  init: () => null,
@@ -4439,8 +4420,7 @@ function isCalendarDateAggregate(aggregate) {
4439
4420
  return aggregate === calendarDateMin || aggregate === calendarDateMax;
4440
4421
  }
4441
4422
 
4442
- //#endregion
4443
- //#region ../row-model/dist/errors.js
4423
+ // ../row-model/dist/errors.js
4444
4424
  /** @public */
4445
4425
  var PretableRowModelError = class extends Error {
4446
4426
  constructor(code, message, context) {
@@ -4533,8 +4513,7 @@ var PretableTransitionCancelledError = class extends Error {
4533
4513
  }
4534
4514
  };
4535
4515
 
4536
- //#endregion
4537
- //#region ../row-model/dist/query-equality.js
4516
+ // ../row-model/dist/query-equality.js
4538
4517
  function isRuntimeFilterGroup$1(node) {
4539
4518
  return "children" in node;
4540
4519
  }
@@ -4585,8 +4564,7 @@ function queryEqual(left, right) {
4585
4564
  return filterNodeListEqual(left.filters, right.filters) && orderingEqual(left.sort, right.sort) && orderingEqual(left.rowGroups, right.rowGroups);
4586
4565
  }
4587
4566
 
4588
- //#endregion
4589
- //#region ../row-model/dist/compiled-query.js
4567
+ // ../row-model/dist/compiled-query.js
4590
4568
  var CompiledQueryValidationError = class extends TypeError {
4591
4569
  constructor(detail, path, columnId, options) {
4592
4570
  super(`Invalid compiled query at ${path}: ${detail}`, options);
@@ -5770,8 +5748,7 @@ function compileQuery(input) {
5770
5748
  return new CompiledQueryPlan(captured.columns, captured.query, (_input$operation = input.operation) !== null && _input$operation !== void 0 ? _input$operation : "set-query", captured.filterAuthority, captured.sortAuthority);
5771
5749
  }
5772
5750
 
5773
- //#endregion
5774
- //#region ../row-model/dist/membership-bitset.js
5751
+ // ../row-model/dist/membership-bitset.js
5775
5752
  /**
5776
5753
  * Membership bitsets: one bit per SLOT (see `slot-allocator`). A committed
5777
5754
  * root's verdict is its membership (the filter-membership invariant); the
@@ -5812,8 +5789,7 @@ function testMembershipBit(bits, slot) {
5812
5789
  return word === void 0 ? false : (word >>> (slot & 31) & 1) === 1;
5813
5790
  }
5814
5791
 
5815
- //#endregion
5816
- //#region ../row-model/dist/persistent/transient.js
5792
+ // ../row-model/dist/persistent/transient.js
5817
5793
  var _editable$1 = /* @__PURE__ */ new WeakMap();
5818
5794
  var TransientEditToken = class {
5819
5795
  constructor() {
@@ -5827,8 +5803,7 @@ var TransientEditToken = class {
5827
5803
  }
5828
5804
  };
5829
5805
 
5830
- //#endregion
5831
- //#region ../row-model/dist/persistent/persistent-map.js
5806
+ // ../row-model/dist/persistent/persistent-map.js
5832
5807
  const inspectPersistentPath = Symbol("inspectPersistentPath");
5833
5808
  const inspectTransientPath = Symbol("inspectTransientPath");
5834
5809
  const attachInstrumentation$2 = Symbol("attachInstrumentation");
@@ -6196,8 +6171,7 @@ function instrumentPersistentMap(map, instrumentation) {
6196
6171
  return map[attachInstrumentation$2](instrumentation);
6197
6172
  }
6198
6173
 
6199
- //#endregion
6200
- //#region ../row-model/dist/persistent/order-statistic-tree.js
6174
+ // ../row-model/dist/persistent/order-statistic-tree.js
6201
6175
  var _a;
6202
6176
  const attachInstrumentation$1 = Symbol("attachOrderInstrumentation");
6203
6177
  const createDeferredMeasureDraft$1 = Symbol("createDeferredMeasureDraft");
@@ -6892,8 +6866,7 @@ function instrumentMeasuredOrderStatisticTree(tree, instrumentation, beforeCombi
6892
6866
  return tree[attachInstrumentation$1](instrumentation, beforeCombine);
6893
6867
  }
6894
6868
 
6895
- //#endregion
6896
- //#region ../row-model/dist/slot-vector.js
6869
+ // ../row-model/dist/slot-vector.js
6897
6870
  /**
6898
6871
  * Immutable chunked slot-indexed vector: a chunk table over
6899
6872
  * `SLOT_VECTOR_CHUNK`-element chunks, copy-on-write per commit. A commit
@@ -6967,8 +6940,7 @@ function forEachSlotEntry(vector, callback) {
6967
6940
  }
6968
6941
  }
6969
6942
 
6970
- //#endregion
6971
- //#region ../row-model/dist/ordered-row-entry.js
6943
+ // ../row-model/dist/ordered-row-entry.js
6972
6944
  /**
6973
6945
  * Standalone module because both visible-index and group-index need it and
6974
6946
  * visible-index already imports group-index — either home would cycle.
@@ -6986,8 +6958,7 @@ function orderedRowEntry(queryPlan, record) {
6986
6958
  });
6987
6959
  }
6988
6960
 
6989
- //#endregion
6990
- //#region ../row-model/dist/persistent/aggregate-tree.js
6961
+ // ../row-model/dist/persistent/aggregate-tree.js
6991
6962
  const attachInstrumentation = Symbol("attachAggregateInstrumentation");
6992
6963
  const createDeferredMeasureDraft = Symbol("createDeferredMeasureDraft");
6993
6964
  const DEVELOPMENT$2 = process.env.NODE_ENV !== "production";
@@ -7477,8 +7448,7 @@ function instrumentAggregateTree(tree, instrumentation) {
7477
7448
  return tree[attachInstrumentation](instrumentation);
7478
7449
  }
7479
7450
 
7480
- //#endregion
7481
- //#region ../row-model/dist/group-index.js
7451
+ // ../row-model/dist/group-index.js
7482
7452
  const visibleRangeDiagnostics = /* @__PURE__ */ new WeakMap();
7483
7453
  const EMPTY_COUNTS = Object.freeze({
7484
7454
  collapsed: 0,
@@ -8557,8 +8527,7 @@ function nearestVisible(root, ref, policy) {
8557
8527
  }
8558
8528
  }
8559
8529
 
8560
- //#endregion
8561
- //#region ../row-model/dist/visible-index.js
8530
+ // ../row-model/dist/visible-index.js
8562
8531
  function createFlatVisibleIndex(records, queryPlan) {
8563
8532
  const draft = createFlatVisibleTree(queryPlan).asTransient();
8564
8533
  for (const record of records) if (filterVerdict(queryPlan, record)) draft.insertOrReplace(orderedRowEntry(queryPlan, record));
@@ -8693,8 +8662,7 @@ function createFlatSnapshot(root) {
8693
8662
  });
8694
8663
  }
8695
8664
 
8696
- //#endregion
8697
- //#region ../row-model/dist/filter-rebuild.js
8665
+ // ../row-model/dist/filter-rebuild.js
8698
8666
  /**
8699
8667
  * Synchronous subset rebuild for a filter-only plan change on an ungrouped
8700
8668
  * query. Runs to completion on the caller's stack, like `sort-rebuild` — a
@@ -8781,8 +8749,7 @@ function rebuildRootForFilterOnlyChange(options) {
8781
8749
  return root;
8782
8750
  }
8783
8751
 
8784
- //#endregion
8785
- //#region ../row-model/dist/filter-membership.js
8752
+ // ../row-model/dist/filter-membership.js
8786
8753
  /**
8787
8754
  * Filter verdicts are not stored. A committed root already carries the answer
8788
8755
  * structurally: a row passes this root's filters exactly when it is a MEMBER
@@ -8814,8 +8781,7 @@ function rowPassesFilter(root, rowId) {
8814
8781
  return grouped === void 0 ? root.visible.rows.get(rowId) !== void 0 : rowPassesFilterInGroupIndex(grouped, rowId);
8815
8782
  }
8816
8783
 
8817
- //#endregion
8818
- //#region ../row-model/dist/sort-rebuild.js
8784
+ // ../row-model/dist/sort-rebuild.js
8819
8785
  /**
8820
8786
  * Synchronous whole-root rebuild for a sort-only plan change on an ungrouped
8821
8787
  * query. Runs to completion on the caller's stack — the deliberate trade
@@ -8862,8 +8828,7 @@ function rebuildRootForSortOnlyChange(options) {
8862
8828
  return root;
8863
8829
  }
8864
8830
 
8865
- //#endregion
8866
- //#region ../row-model/dist/flat-cooperative-candidate.js
8831
+ // ../row-model/dist/flat-cooperative-candidate.js
8867
8832
  /**
8868
8833
  * The flat (ungrouped) cooperative transition candidate. Builds against an
8869
8834
  * immutable source root and replays exact live-row deltas; nothing reachable
@@ -9218,8 +9183,7 @@ function createFlatCooperativeCandidate(options) {
9218
9183
  return candidate;
9219
9184
  }
9220
9185
 
9221
- //#endregion
9222
- //#region ../row-model/dist/cooperative-transition.js
9186
+ // ../row-model/dist/cooperative-transition.js
9223
9187
  const candidateDiagnostics = /* @__PURE__ */ new WeakMap();
9224
9188
  /**
9225
9189
  * Registers a candidate's diagnostics reader in the shared WeakMap so
@@ -9681,8 +9645,7 @@ function createCooperativeTransitionCandidate(options) {
9681
9645
  return candidate;
9682
9646
  }
9683
9647
 
9684
- //#endregion
9685
- //#region ../row-model/dist/distinct-values.js
9648
+ // ../row-model/dist/distinct-values.js
9686
9649
  const DEFAULT_RESULT_LIMIT = 100;
9687
9650
  const MAX_RESULT_LIMIT = 1e3;
9688
9651
  const DEFAULT_CACHE_CAPACITY = 8;
@@ -10405,8 +10368,7 @@ function createDistinctValueManager(options) {
10405
10368
  };
10406
10369
  }
10407
10370
 
10408
- //#endregion
10409
- //#region ../row-model/dist/change-journal.js
10371
+ // ../row-model/dist/change-journal.js
10410
10372
  const DEFAULT_CHANGE_JOURNAL_CAPACITY = 128;
10411
10373
  const operationDiagnostics = /* @__PURE__ */ new WeakMap();
10412
10374
  const journalDiagnostics = /* @__PURE__ */ new WeakMap();
@@ -10568,8 +10530,7 @@ function createChangeJournal(capacity = 128) {
10568
10530
  return frozen;
10569
10531
  }
10570
10532
 
10571
- //#endregion
10572
- //#region ../row-model/dist/row-integrity.js
10533
+ // ../row-model/dist/row-integrity.js
10573
10534
  const DEVELOPMENT$1 = process.env.NODE_ENV !== "production";
10574
10535
  function failIntegrity(operation, cause) {
10575
10536
  throw new PretableRowModelError("derivation-failed", "A row could not be inspected safely before publication.", {
@@ -10671,8 +10632,7 @@ function fingerprintInspection(current, rowId, previous, sameReference) {
10671
10632
  };
10672
10633
  }
10673
10634
 
10674
- //#endregion
10675
- //#region ../row-model/dist/row-store.js
10635
+ // ../row-model/dist/row-store.js
10676
10636
  function createSourceOrderTree(instrumentation) {
10677
10637
  return instrumentOrderStatisticTree(createOrderStatisticTree({
10678
10638
  getId: (entry) => entry.rowId,
@@ -10780,8 +10740,7 @@ function buildRowStore(input) {
10780
10740
  };
10781
10741
  }
10782
10742
 
10783
- //#endregion
10784
- //#region ../row-model/dist/slot-allocator.js
10743
+ // ../row-model/dist/slot-allocator.js
10785
10744
  /**
10786
10745
  * Per-MODEL slot allocator: every row gets a small dense integer for its
10787
10746
  * lifetime, assigned at ingest and released only on permanent removal.
@@ -10823,8 +10782,7 @@ function createSlotAllocator() {
10823
10782
  };
10824
10783
  }
10825
10784
 
10826
- //#endregion
10827
- //#region ../row-model/dist/transaction-draft.js
10785
+ // ../row-model/dist/transaction-draft.js
10828
10786
  var TransactionExecutionError = class extends PretableRowModelError {
10829
10787
  constructor(error) {
10830
10788
  super(error.code, error.message, {
@@ -11688,8 +11646,7 @@ function replaceFlatRowsDraft(input) {
11688
11646
  }
11689
11647
  }
11690
11648
 
11691
- //#endregion
11692
- //#region ../row-model/dist/create-local-row-model.js
11649
+ // ../row-model/dist/create-local-row-model.js
11693
11650
  function createSnapshot(root, instrumentation) {
11694
11651
  const snapshot = createFlatSnapshot(root);
11695
11652
  if (instrumentation === void 0) return snapshot;
@@ -12623,8 +12580,7 @@ function createLocalRowModel$1(options) {
12623
12580
  return model;
12624
12581
  }
12625
12582
 
12626
- //#endregion
12627
- //#region ../row-model/dist/aggregate-overrides.js
12583
+ // ../row-model/dist/aggregate-overrides.js
12628
12584
  /**
12629
12585
  * Per-column aggregate OVERRIDES, applied to a derivation list.
12630
12586
  *
@@ -12710,13 +12666,11 @@ function mergeColumnAggregateOverrides(derivations, overrides) {
12710
12666
  return changed ? merged : derivations;
12711
12667
  }
12712
12668
 
12713
- //#endregion
12714
- //#region ../row-model/dist/aggregator-law.js
12669
+ // ../row-model/dist/aggregator-law.js
12715
12670
  const DEVELOPMENT = process.env.NODE_ENV !== "production";
12716
12671
  const productionValidator = Object.freeze({ observe: () => void 0 });
12717
12672
 
12718
- //#endregion
12719
- //#region src/create-column-helper.ts
12673
+ // src/create-column-helper.ts
12720
12674
  /**
12721
12675
  * Creates a typed column-definition helper for an ordinary row object.
12722
12676
  *
@@ -12726,14 +12680,12 @@ function createColumnHelper() {
12726
12680
  return createColumnHelper$1();
12727
12681
  }
12728
12682
 
12729
- //#endregion
12730
- //#region src/create-local-row-model.ts
12683
+ // src/create-local-row-model.ts
12731
12684
  function createLocalRowModel(options) {
12732
12685
  return createLocalRowModel$1(options);
12733
12686
  }
12734
12687
 
12735
- //#endregion
12736
- //#region src/number-formats.ts
12688
+ // src/number-formats.ts
12737
12689
  function currencyOptions(options, currencySign) {
12738
12690
  return {
12739
12691
  ...options,
@@ -12756,7 +12708,6 @@ const numberFormats = {
12756
12708
  }
12757
12709
  };
12758
12710
 
12759
- //#endregion
12760
12711
  exports.GROUP_COLUMN_ID = GROUP_COLUMN_ID;
12761
12712
  exports.PretableDisposedModelError = PretableDisposedModelError;
12762
12713
  exports.PretableInvalidGroupKeyError = PretableInvalidGroupKeyError;