@platforma-open/milaboratories.3d-structure-clustering 1.2.1 → 1.2.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.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-DC62tzP2.js";
2
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/plugin_handle.js
2
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_handle.js
3
3
  const PLUGIN_OUTPUT_PREFIX = "plugin-output#";
4
4
  /** Construct the output key for a plugin output in the block outputs map. */
5
5
  function pluginOutputKey(handle, outputKey) {
6
6
  return `${PLUGIN_OUTPUT_PREFIX}${handle}#${outputKey}`;
7
7
  }
8
8
  //#endregion
9
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/block_storage.js
9
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage.js
10
10
  /**
11
11
  * Discriminator key for BlockStorage format detection.
12
12
  * This unique hash-based key identifies data as BlockStorage vs legacy formats.
@@ -6211,7 +6211,7 @@ function relocateBlockIds(params, blockIds) {
6211
6211
  return walk(params);
6212
6212
  }
6213
6213
  //#endregion
6214
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/block_migrations.js
6214
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_migrations.js
6215
6215
  /** Create a DataVersioned wrapper with correct shape */
6216
6216
  function makeVersionedData(version, data) {
6217
6217
  return {
@@ -6789,7 +6789,7 @@ var DataModel = class DataModel {
6789
6789
  }
6790
6790
  };
6791
6791
  //#endregion
6792
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/internal.js
6792
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/internal.js
6793
6793
  /** Utility code helping to identify whether the code is running in actual UI environment */
6794
6794
  function isInUI() {
6795
6795
  return typeof globalThis.getPlatforma !== "undefined" || typeof globalThis.platforma !== "undefined";
@@ -6859,7 +6859,7 @@ function registerFutureAwait(handle, onResolve) {
6859
6859
  futureResolves.get(handle).push(onResolve);
6860
6860
  }
6861
6861
  //#endregion
6862
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
6862
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
6863
6863
  /**
6864
6864
  * All facade callback names as constants.
6865
6865
  * These are the source of truth - the interface is derived from these.
@@ -6897,7 +6897,7 @@ function registerFacadeCallbacks(callbacks) {
6897
6897
  for (const key of Object.values(BlockStorageFacadeCallbacks)) tryRegisterCallback(key, callbacks[key]);
6898
6898
  }
6899
6899
  //#endregion
6900
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/services/block_services.js
6900
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/block_services.js
6901
6901
  /**
6902
6902
  * Services required by all V3 blocks by default.
6903
6903
  * Edit this when a new service should be available to all blocks.
@@ -6913,7 +6913,7 @@ const BLOCK_SERVICE_FLAGS = {
6913
6913
  };
6914
6914
  resolveRequiredServices(BLOCK_SERVICE_FLAGS);
6915
6915
  //#endregion
6916
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/future.js
6916
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/future.js
6917
6917
  var FutureRef = class FutureRef {
6918
6918
  handle;
6919
6919
  postProcess;
@@ -6941,7 +6941,7 @@ var FutureRef = class FutureRef {
6941
6941
  }
6942
6942
  };
6943
6943
  //#endregion
6944
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/accessor.js
6944
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/accessor.js
6945
6945
  function ifDef(value, cb) {
6946
6946
  return value === void 0 ? void 0 : cb(value);
6947
6947
  }
@@ -7191,11 +7191,11 @@ var TreeNodeAccessor = class TreeNodeAccessor {
7191
7191
  }
7192
7192
  };
7193
7193
  //#endregion
7194
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/internal.js
7194
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/internal.js
7195
7195
  const MainAccessorName = "main";
7196
7196
  const StagingAccessorName = "staging";
7197
7197
  //#endregion
7198
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
7198
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
7199
7199
  function filterDataInfoEntries(dataInfoEntries, axisFilters) {
7200
7200
  const sortedFilters = [...axisFilters].sort((a, b) => b[0] - a[0]);
7201
7201
  const { type } = dataInfoEntries;
@@ -7259,7 +7259,7 @@ function filterDataInfoEntries(dataInfoEntries, axisFilters) {
7259
7259
  }
7260
7260
  }
7261
7261
  //#endregion
7262
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/labels/linked_column_postfix.js
7262
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/labels/linked_column_postfix.js
7263
7263
  /**
7264
7264
  * Structural postfix derivation for linked columns (phase 2 of `deriveDistinctLabels`).
7265
7265
  *
@@ -7442,7 +7442,7 @@ function derivePostfixes(entries, format = defaultLinkerFormatter) {
7442
7442
  });
7443
7443
  }
7444
7444
  //#endregion
7445
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
7445
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
7446
7446
  const DISTANCE_PENALTY = .001;
7447
7447
  const LABEL_TYPE = "__LABEL__";
7448
7448
  const LABEL_TYPE_FULL = "__LABEL__@1";
@@ -7730,7 +7730,7 @@ function repairBareByPresence(labels, minimized, records, stats, forcedSet, forc
7730
7730
  return patched;
7731
7731
  }
7732
7732
  //#endregion
7733
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/util/label.js
7733
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/label.js
7734
7734
  /** @deprecated Use deriveDistinctLabels */
7735
7735
  function deriveLabels(values, getSpec, options = {}) {
7736
7736
  return deriveDistinctLabels(values.map(getSpec), options).map((label, i) => ({
@@ -7739,7 +7739,7 @@ function deriveLabels(values, getSpec, options = {}) {
7739
7739
  }));
7740
7740
  }
7741
7741
  //#endregion
7742
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
7742
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
7743
7743
  const RT_RESOURCE_MAP = "PColumnData/ResourceMap";
7744
7744
  const RT_RESOURCE_MAP_PARTITIONED = "PColumnData/Partitioned/ResourceMap";
7745
7745
  const RT_JSON_PARTITIONED = "PColumnData/JsonPartitioned";
@@ -8078,7 +8078,7 @@ function allPColumnsReady(columns) {
8078
8078
  return columns.every(isPColumnReady);
8079
8079
  }
8080
8080
  //#endregion
8081
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
8081
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
8082
8082
  function isPColumnValues(value) {
8083
8083
  if (!Array.isArray(value)) return false;
8084
8084
  if (value.length === 0) return true;
@@ -8356,7 +8356,7 @@ var PColumnCollection = class {
8356
8356
  }
8357
8357
  };
8358
8358
  //#endregion
8359
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
8359
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
8360
8360
  /**
8361
8361
  * Builds a ServiceProxy from a ServiceDispatch.
8362
8362
  * Each service method call is forwarded to dispatch.callServiceMethod.
@@ -8365,7 +8365,7 @@ function createServiceProxy(dispatch) {
8365
8365
  return ((serviceId) => Object.freeze(Object.fromEntries(dispatch.getServiceMethods(serviceId).map((method) => [method, (...args) => dispatch.callServiceMethod(serviceId, method, ...args)]))));
8366
8366
  }
8367
8367
  //#endregion
8368
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/services/get_services.js
8368
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/get_services.js
8369
8369
  const cachedServices = /* @__PURE__ */ new WeakMap();
8370
8370
  function getService(name, deps) {
8371
8371
  const ctx = deps?.ctx ?? getCfgRenderCtx();
@@ -8379,7 +8379,7 @@ function getService(name, deps) {
8379
8379
  })();
8380
8380
  }
8381
8381
  //#endregion
8382
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
8382
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
8383
8383
  function patchInSetFilters(filters) {
8384
8384
  const inSetToOrEqual = (predicate) => {
8385
8385
  if (predicate.operator !== "InSet") return predicate;
@@ -8417,7 +8417,7 @@ function patchInSetFilters(filters) {
8417
8417
  return filters.map((filter) => mapFilter(filter, inSetToOrEqual));
8418
8418
  }
8419
8419
  //#endregion
8420
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/render/api.js
8420
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/api.js
8421
8421
  /**
8422
8422
  * Helper function to match domain objects
8423
8423
  * @param query Optional domain to match against
@@ -8866,27 +8866,27 @@ var PluginRenderCtx = class extends RenderCtxBase {
8866
8866
  }
8867
8867
  };
8868
8868
  //#endregion
8869
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/plugin_model.js
8869
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_model.js
8870
8870
  /** Internal plugin↔block handshake. `Symbol.for` (not `Symbol`) so it stays
8871
8871
  * identical across multiple `@platforma-sdk/model` copies in one process. */
8872
8872
  const CREATE_PLUGIN_MODEL = Symbol.for("@platforma-sdk/model:createPluginModel");
8873
8873
  //#endregion
8874
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/version.js
8875
- const PlatformaSDKVersion = "1.83.0";
8874
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/version.js
8875
+ const PlatformaSDKVersion = "1.83.9";
8876
8876
  //#endregion
8877
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/bconfig/types.js
8877
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/types.js
8878
8878
  function isConfigLambda(cfgOrFh) {
8879
8879
  return cfgOrFh.__renderLambda === true;
8880
8880
  }
8881
8881
  //#endregion
8882
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
8882
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
8883
8883
  function downgradeCfgOrLambda(data) {
8884
8884
  if (data === void 0) return void 0;
8885
8885
  if (isConfigLambda(data)) return data.handle;
8886
8886
  return data;
8887
8887
  }
8888
8888
  //#endregion
8889
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
8889
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
8890
8890
  /**
8891
8891
  * BlockStorage Callback Implementations - wired to facade callbacks in BlockModelV3.done().
8892
8892
  *
@@ -9240,7 +9240,7 @@ function deriveTemplateParamsFromStorage(storageJson, deriveTemplateParams) {
9240
9240
  }
9241
9241
  }
9242
9242
  //#endregion
9243
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/block_model.js
9243
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_model.js
9244
9244
  /**
9245
9245
  * Merges two feature flag objects with type-aware logic:
9246
9246
  * - `supports*` (boolean): OR — `true` if either side is `true`
@@ -9606,7 +9606,7 @@ var BlockModelV3 = class BlockModelV3 {
9606
9606
  }
9607
9607
  };
9608
9608
  //#endregion
9609
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/pframe_utils/axes.js
9609
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/pframe_utils/axes.js
9610
9610
  /** Create id for column copy with added keys in axes domains */
9611
9611
  const colId = (id, domains, contextDomains) => {
9612
9612
  let wid = id.toString();
@@ -9712,7 +9712,7 @@ function getAdditionalColumnsForColumn(blockAxes, column) {
9712
9712
  })];
9713
9713
  }
9714
9714
  //#endregion
9715
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_recipes/leaf_rebrand.js
9715
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/leaf_rebrand.js
9716
9716
  /**
9717
9717
  * Replace every column leaf whose id equals `fromId` with `toId`, leaving
9718
9718
  * other column refs (linkers, sub-anchors) intact. Wrapper recipes
@@ -10937,7 +10937,7 @@ var LRUCache = class LRUCache {
10937
10937
  }
10938
10938
  };
10939
10939
  //#endregion
10940
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_providers/providers.js
10940
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_providers/providers.js
10941
10941
  /**
10942
10942
  * Unified memoised factory dispatching to the right provider flavour by the
10943
10943
  * source shape:
@@ -11026,7 +11026,7 @@ function hashRawPool(rawPool) {
11026
11026
  return rawPool.map((b) => `${b.blockId}\x1f${b.prodCtx ?? ""}\x1f${b.stagingCtx ?? ""}\x1f${b.prodIncomplete ? 1 : 0}\x1f${b.stagingIncomplete ? 1 : 0}`).join("");
11027
11027
  }
11028
11028
  //#endregion
11029
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_providers/index.js
11029
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_providers/index.js
11030
11030
  /**
11031
11031
  * Build the default set of ColumnsProviders for the ambient render ctx:
11032
11032
  * - `AccessorColumnsProvider` over `outputs` (if present)
@@ -11061,7 +11061,7 @@ function isColumnProvider(source) {
11061
11061
  return typeof p.getColumns === "function" && typeof p.isFinal === "function";
11062
11062
  }
11063
11063
  //#endregion
11064
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/data_column.js
11064
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/data_column.js
11065
11065
  /**
11066
11066
  * Thrown by leaf-recipe factories when the requested column is provably
11067
11067
  * absent in the active render ctx — i.e. every relevant accessor reports
@@ -11301,7 +11301,7 @@ function memoizeByEntry(fn) {
11301
11301
  };
11302
11302
  }
11303
11303
  //#endregion
11304
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_overrided_recipe.js
11304
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_overrided_recipe.js
11305
11305
  /**
11306
11306
  * Recipe wrapper that overlays {@link SpecOverrides} on top of any other
11307
11307
  * recipe. The id is `ColumnOverriddenKey { source: inner.id, specOverrides }`.
@@ -11439,7 +11439,7 @@ var DataColumnOverriddenRecipe = class extends ColumnOverriddenRecipe {
11439
11439
  }
11440
11440
  };
11441
11441
  //#endregion
11442
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_filtered_recipe.js
11442
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_filtered_recipe.js
11443
11443
  /**
11444
11444
  * Recipe wrapper that fixes the values of selected axes of an inner recipe
11445
11445
  * (axis slicing). The id is `FilteredPColumnId { source: inner.id,
@@ -11565,7 +11565,7 @@ function toAxisSelector(axis) {
11565
11565
  return selector;
11566
11566
  }
11567
11567
  //#endregion
11568
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_recipes/index.js
11568
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/index.js
11569
11569
  /**
11570
11570
  * Build a `ColumnRecipe` from a stringified id. Dispatches to the matching
11571
11571
  * concrete recipe variant based on the id's encoding and recurses on
@@ -11616,7 +11616,7 @@ function ColumnRecipeGetStatus(id, opts = {}) {
11616
11616
  }
11617
11617
  const ColumnRecipe = Object.assign(ColumnRecipeBuild, { getStatus: ColumnRecipeGetStatus });
11618
11618
  //#endregion
11619
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_discovered_recipe.js
11619
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_discovered_recipe.js
11620
11620
  /**
11621
11621
  * Recipe for columns identified by a {@link ColumnDiscoveredKey}: a base
11622
11622
  * column + a `path` of linkers + qualifications.
@@ -11787,7 +11787,7 @@ function referencedUniIdsOf(key) {
11787
11787
  return /* @__PURE__ */ new Set([key.column, ...(key.path ?? []).map((item) => item.column)]);
11788
11788
  }
11789
11789
  //#endregion
11790
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/column.js
11790
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column.js
11791
11791
  /**
11792
11792
  * Unified entry point — routes between the two top-level dispatchers:
11793
11793
  * - string id (`PObjectId` / `ColumnUniversalId`) → {@link ColumnRecipe}
@@ -11801,7 +11801,7 @@ function Column(source, opts) {
11801
11801
  return DataColumn(source, opts);
11802
11802
  }
11803
11803
  //#endregion
11804
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/columns_collection.js
11804
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/columns_collection.js
11805
11805
  /**
11806
11806
  * Build a {@link ColumnsCollection} from sandbox-side source descriptors.
11807
11807
  * Resolves the `columnsCollection` driver (either from `deps.driver` or via
@@ -11910,7 +11910,7 @@ function defaultCtxSources(ctx) {
11910
11910
  return [...currentBlockSources(ctx), { kind: "result_pool" }];
11911
11911
  }
11912
11912
  //#endregion
11913
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/columns/utils.js
11913
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/utils.js
11914
11914
  /**
11915
11915
  * PObjectIds of every non-hit column referenced by `recipe.getQuery()`,
11916
11916
  * deduped in traversal order. The hit column is
@@ -12041,7 +12041,7 @@ function hasSingleDataColumn(recipe) {
12041
12041
  return recipe.getReferencedIds().length === 1;
12042
12042
  }
12043
12043
  //#endregion
12044
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js
12044
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js
12045
12045
  function getAllRelatedColumns(ctx, predicate) {
12046
12046
  const columns = new PColumnCollection();
12047
12047
  columns.addColumnProvider(ctx.resultPool);
@@ -12117,7 +12117,7 @@ function discoverIntegrableColumnIds(ctx, rootColumns) {
12117
12117
  }
12118
12118
  }
12119
12119
  //#endregion
12120
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
12120
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
12121
12121
  function isHiddenFromGraphColumn(column) {
12122
12122
  return !!readAnnotationJson(column, Annotation.HideDataFromGraphs);
12123
12123
  }
@@ -12146,7 +12146,7 @@ function createPFrameForGraphs(ctx, blockColumns) {
12146
12146
  }));
12147
12147
  }
12148
12148
  //#endregion
12149
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/filter_discovery.js
12149
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/filter_discovery.js
12150
12150
  /**
12151
12151
  * Matches columns annotated `pl7.app/isSubset: "true"` whose axes ⊆ anchor axes.
12152
12152
  *
@@ -12198,7 +12198,7 @@ function buildRefMap(entries) {
12198
12198
  return new Map(entries.map((e) => [(0, import_canonicalize.default)(e.ref), e.ref]));
12199
12199
  }
12200
12200
  //#endregion
12201
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/enrichment_discovery.js
12201
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/enrichment_discovery.js
12202
12202
  /**
12203
12203
  * Linker-reached hits attached to the anchor primary. Drops zero-hop variants
12204
12204
  * (filters / the primary itself) and structural hits (subset, linker, label
@@ -12258,7 +12258,7 @@ function enrichmentVariantsToRefs(variants, labelOptions) {
12258
12258
  });
12259
12259
  }
12260
12260
  //#endregion
12261
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/build_dataset_options.js
12261
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/build_dataset_options.js
12262
12262
  function toPredicate(opt) {
12263
12263
  if (opt === void 0) return () => true;
12264
12264
  return typeof opt === "function" ? opt : multiColumnSelectorsToPredicate(opt);
@@ -12308,7 +12308,7 @@ function buildDatasetOptions(ctx, opts) {
12308
12308
  });
12309
12309
  }
12310
12310
  //#endregion
12311
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/filters/traverse.js
12311
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/traverse.js
12312
12312
  /**
12313
12313
  * Recursively traverses a FilterSpec tree bottom-up, applying visitor callbacks.
12314
12314
  *
@@ -12347,7 +12347,7 @@ function collectFilterSpecColumns(filter) {
12347
12347
  });
12348
12348
  }
12349
12349
  //#endregion
12350
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
12350
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
12351
12351
  /** Converts a QueryColumnId object into a SpecQueryExpression reference. */
12352
12352
  function resolveColumnRef(col) {
12353
12353
  return col.type === "axis" ? {
@@ -12659,7 +12659,7 @@ function isEmpty(value) {
12659
12659
  return true;
12660
12660
  }
12661
12661
  //#endregion
12662
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/filters/distill.js
12662
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/distill.js
12663
12663
  /**
12664
12664
  * Strips non-FilterSpec metadata (whitelist approach) and removes
12665
12665
  * unfilled leaves (type is undefined or any required field is undefined).
@@ -12764,7 +12764,7 @@ const REQUIRED_KEYS_BY_TYPE = {
12764
12764
  greaterThanColumnOrEqual: ["column", "rhs"]
12765
12765
  };
12766
12766
  //#endregion
12767
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
12767
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
12768
12768
  /** Upgrade PlDataTableStateV2 to the latest version */
12769
12769
  function upgradePlDataTableStateV2(state) {
12770
12770
  if (!state) return createPlDataTableStateV2();
@@ -13122,7 +13122,7 @@ function parseLegacyLeafColumn(s) {
13122
13122
  return parsed;
13123
13123
  }
13124
13124
  //#endregion
13125
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
13125
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
13126
13126
  /** Adapt a {@link ColumnRecipe} to the plain {@link RuleColumn} shape. */
13127
13127
  function toRuleColumn(col) {
13128
13128
  return {
@@ -13220,7 +13220,7 @@ function deriveAllLabels(options) {
13220
13220
  })), deriveLabelsOptions).reduce((acc, label, index) => (acc[columns[index].id] = label, acc), {});
13221
13221
  }
13222
13222
  //#endregion
13223
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
13223
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
13224
13224
  /**
13225
13225
  * Assemble a ptable def directly from recipes. Each secondary recipe is its own
13226
13226
  * outer-joined subtree: `getQuery()` encodes its linker chain, and its
@@ -13284,8 +13284,8 @@ function columnToJoinEntry(col, qualifications) {
13284
13284
  };
13285
13285
  }
13286
13286
  //#endregion
13287
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDataTable/columnResolver.js
13288
- function createColumnResolver(columns, deps) {
13287
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/columnResolver.js
13288
+ function createColumnResolver(columns) {
13289
13289
  const axisIds = [];
13290
13290
  for (const c of columns) for (const ax of c.getSpec().axesSpec) axisIds.push(getAxisId(ax));
13291
13291
  const byFullId = /* @__PURE__ */ new Map();
@@ -13293,9 +13293,7 @@ function createColumnResolver(columns, deps) {
13293
13293
  for (const c of columns) {
13294
13294
  byFullId.set(c.id, c);
13295
13295
  const pid = extractPObjectId(c.id);
13296
- const existing = byPObjectId.get(pid);
13297
- if (existing === void 0) byPObjectId.set(pid, c);
13298
- else if (existing.id !== c.id) deps?.warn?.(`Ambiguous PObjectId ${pid}: recipe ids ${existing.id} and ${c.id} both match — keeping first.`);
13296
+ if (!byPObjectId.has(pid)) byPObjectId.set(pid, c);
13299
13297
  }
13300
13298
  return (ref) => {
13301
13299
  if (ref.type === "axis") return axisIds.some((a) => matchAxisId(ref.id, a)) ? ref : void 0;
@@ -13308,7 +13306,7 @@ function createColumnResolver(columns, deps) {
13308
13306
  };
13309
13307
  }
13310
13308
  //#endregion
13311
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
13309
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
13312
13310
  /**
13313
13311
  * Discover columns from sources/anchors and split them into primary
13314
13312
  * (direct anchor hits — zero-hop, query is a bare column) and secondary
@@ -13354,7 +13352,7 @@ function discoverLabelColumns(ctx, primary) {
13354
13352
  }).getColumns();
13355
13353
  }
13356
13354
  //#endregion
13357
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.0/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
13355
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
13358
13356
  function createPlDataTableV3(ctx, options) {
13359
13357
  const state = upgradePlDataTableStateV2(options.tableState);
13360
13358
  const primaryJoinType = options.primaryJoinType ?? "full";
@@ -13382,7 +13380,7 @@ function createPlDataTableV3(ctx, options) {
13382
13380
  ...primary,
13383
13381
  ...direct,
13384
13382
  ...linked.flatMap((lc) => [...collectLinkerColumns(lc), lc])
13385
- ], { warn: ctx.logWarn.bind(ctx) });
13383
+ ]);
13386
13384
  const remapedDefaultFilters = remapFilterColumnIds(options.filters, resolver);
13387
13385
  const filters = filterFilters(concatFilters(state.pTableParams.filters, state.pTableParams.defaultFilters ?? remapedDefaultFilters), resolver);
13388
13386
  const sorting = filterSorting(resolveSorting(state.pTableParams.sorting, remapSortingColumnIds(options.sorting, resolver)), resolver);