@platforma-open/milaboratories.repertoire-mutation-heatmap.block 1.1.6 → 1.1.7
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/block-pack/manifest.json +1 -1
- package/block-pack/model.json +1 -1
- package/block-pack/published.json +1 -1
- package/block-pack/ui.tgz +0 -0
- package/dist/AGENTS.d.ts +37 -37
- package/dist/AGENTS.d.ts.map +1 -1
- package/dist/index.d.ts +37 -37
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -49
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -171,14 +171,14 @@ function mapChartStates(data, rewrite) {
|
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
//#endregion
|
|
174
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
174
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/plugin_handle.js
|
|
175
175
|
const PLUGIN_OUTPUT_PREFIX = "plugin-output#";
|
|
176
176
|
/** Construct the output key for a plugin output in the block outputs map. */
|
|
177
177
|
function pluginOutputKey(handle, outputKey) {
|
|
178
178
|
return `${PLUGIN_OUTPUT_PREFIX}${handle}#${outputKey}`;
|
|
179
179
|
}
|
|
180
180
|
//#endregion
|
|
181
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
181
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/block_storage.js
|
|
182
182
|
/**
|
|
183
183
|
* Discriminator key for BlockStorage format detection.
|
|
184
184
|
* This unique hash-based key identifies data as BlockStorage vs legacy formats.
|
|
@@ -6615,7 +6615,7 @@ function relocateBlockIds(params, blockIds) {
|
|
|
6615
6615
|
return walk(params);
|
|
6616
6616
|
}
|
|
6617
6617
|
//#endregion
|
|
6618
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
6618
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/block_migrations.js
|
|
6619
6619
|
/** Create a DataVersioned wrapper with correct shape */
|
|
6620
6620
|
function makeVersionedData(version, data) {
|
|
6621
6621
|
return {
|
|
@@ -7193,7 +7193,7 @@ var DataModel = class DataModel {
|
|
|
7193
7193
|
}
|
|
7194
7194
|
};
|
|
7195
7195
|
//#endregion
|
|
7196
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7196
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/internal.js
|
|
7197
7197
|
/** Utility code helping to identify whether the code is running in actual UI environment */
|
|
7198
7198
|
function isInUI() {
|
|
7199
7199
|
return typeof globalThis.getPlatforma !== "undefined" || typeof globalThis.platforma !== "undefined";
|
|
@@ -7263,7 +7263,7 @@ function registerFutureAwait(handle, onResolve) {
|
|
|
7263
7263
|
futureResolves.get(handle).push(onResolve);
|
|
7264
7264
|
}
|
|
7265
7265
|
//#endregion
|
|
7266
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7266
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
|
|
7267
7267
|
/**
|
|
7268
7268
|
* All facade callback names as constants.
|
|
7269
7269
|
* These are the source of truth - the interface is derived from these.
|
|
@@ -7301,7 +7301,7 @@ function registerFacadeCallbacks(callbacks) {
|
|
|
7301
7301
|
for (const key of Object.values(BlockStorageFacadeCallbacks)) tryRegisterCallback(key, callbacks[key]);
|
|
7302
7302
|
}
|
|
7303
7303
|
//#endregion
|
|
7304
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7304
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/services/block_services.js
|
|
7305
7305
|
/**
|
|
7306
7306
|
* Services required by all V3 blocks by default.
|
|
7307
7307
|
* Edit this when a new service should be available to all blocks.
|
|
@@ -7317,7 +7317,7 @@ const BLOCK_SERVICE_FLAGS = {
|
|
|
7317
7317
|
};
|
|
7318
7318
|
resolveRequiredServices(BLOCK_SERVICE_FLAGS);
|
|
7319
7319
|
//#endregion
|
|
7320
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7320
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/future.js
|
|
7321
7321
|
var FutureRef = class FutureRef {
|
|
7322
7322
|
handle;
|
|
7323
7323
|
postProcess;
|
|
@@ -7345,7 +7345,7 @@ var FutureRef = class FutureRef {
|
|
|
7345
7345
|
}
|
|
7346
7346
|
};
|
|
7347
7347
|
//#endregion
|
|
7348
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7348
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/accessor.js
|
|
7349
7349
|
function ifDef(value, cb) {
|
|
7350
7350
|
return value === void 0 ? void 0 : cb(value);
|
|
7351
7351
|
}
|
|
@@ -7595,11 +7595,11 @@ var TreeNodeAccessor = class TreeNodeAccessor {
|
|
|
7595
7595
|
}
|
|
7596
7596
|
};
|
|
7597
7597
|
//#endregion
|
|
7598
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7598
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/internal.js
|
|
7599
7599
|
const MainAccessorName = "main";
|
|
7600
7600
|
const StagingAccessorName = "staging";
|
|
7601
7601
|
//#endregion
|
|
7602
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7602
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
|
|
7603
7603
|
function filterDataInfoEntries(dataInfoEntries, axisFilters) {
|
|
7604
7604
|
const sortedFilters = [...axisFilters].sort((a, b) => b[0] - a[0]);
|
|
7605
7605
|
const { type } = dataInfoEntries;
|
|
@@ -7663,7 +7663,7 @@ function filterDataInfoEntries(dataInfoEntries, axisFilters) {
|
|
|
7663
7663
|
}
|
|
7664
7664
|
}
|
|
7665
7665
|
//#endregion
|
|
7666
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7666
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/labels/linked_column_postfix.js
|
|
7667
7667
|
/**
|
|
7668
7668
|
* Structural postfix derivation for linked columns (phase 2 of `deriveDistinctLabels`).
|
|
7669
7669
|
*
|
|
@@ -7846,7 +7846,7 @@ function derivePostfixes(entries, format = defaultLinkerFormatter) {
|
|
|
7846
7846
|
});
|
|
7847
7847
|
}
|
|
7848
7848
|
//#endregion
|
|
7849
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
7849
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
|
|
7850
7850
|
const DISTANCE_PENALTY = .001;
|
|
7851
7851
|
const LABEL_TYPE = "__LABEL__";
|
|
7852
7852
|
const LABEL_TYPE_FULL = "__LABEL__@1";
|
|
@@ -8134,7 +8134,7 @@ function repairBareByPresence(labels, minimized, records, stats, forcedSet, forc
|
|
|
8134
8134
|
return patched;
|
|
8135
8135
|
}
|
|
8136
8136
|
//#endregion
|
|
8137
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8137
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/util/label.js
|
|
8138
8138
|
/** @deprecated Use deriveDistinctLabels */
|
|
8139
8139
|
function deriveLabels(values, getSpec, options = {}) {
|
|
8140
8140
|
return deriveDistinctLabels(values.map(getSpec), options).map((label, i) => ({
|
|
@@ -8143,7 +8143,7 @@ function deriveLabels(values, getSpec, options = {}) {
|
|
|
8143
8143
|
}));
|
|
8144
8144
|
}
|
|
8145
8145
|
//#endregion
|
|
8146
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8146
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
|
|
8147
8147
|
const RT_RESOURCE_MAP = "PColumnData/ResourceMap";
|
|
8148
8148
|
const RT_RESOURCE_MAP_PARTITIONED = "PColumnData/Partitioned/ResourceMap";
|
|
8149
8149
|
const RT_JSON_PARTITIONED = "PColumnData/JsonPartitioned";
|
|
@@ -8437,7 +8437,7 @@ function allPColumnsReady(columns) {
|
|
|
8437
8437
|
return columns.every(isPColumnReady);
|
|
8438
8438
|
}
|
|
8439
8439
|
//#endregion
|
|
8440
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8440
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
|
|
8441
8441
|
function isPColumnValues(value) {
|
|
8442
8442
|
if (!Array.isArray(value)) return false;
|
|
8443
8443
|
if (value.length === 0) return true;
|
|
@@ -8715,7 +8715,7 @@ var PColumnCollection = class {
|
|
|
8715
8715
|
}
|
|
8716
8716
|
};
|
|
8717
8717
|
//#endregion
|
|
8718
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8718
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
|
|
8719
8719
|
/**
|
|
8720
8720
|
* Builds a ServiceProxy from a ServiceDispatch.
|
|
8721
8721
|
* Each service method call is forwarded to dispatch.callServiceMethod.
|
|
@@ -8724,7 +8724,7 @@ function createServiceProxy(dispatch) {
|
|
|
8724
8724
|
return ((serviceId) => Object.freeze(Object.fromEntries(dispatch.getServiceMethods(serviceId).map((method) => [method, (...args) => dispatch.callServiceMethod(serviceId, method, ...args)]))));
|
|
8725
8725
|
}
|
|
8726
8726
|
//#endregion
|
|
8727
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8727
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/services/get_services.js
|
|
8728
8728
|
const cachedServices = /* @__PURE__ */ new WeakMap();
|
|
8729
8729
|
function getService(name, deps) {
|
|
8730
8730
|
const ctx = deps?.ctx ?? getCfgRenderCtx();
|
|
@@ -8738,7 +8738,7 @@ function getService(name, deps) {
|
|
|
8738
8738
|
})();
|
|
8739
8739
|
}
|
|
8740
8740
|
//#endregion
|
|
8741
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8741
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
|
|
8742
8742
|
function patchInSetFilters(filters) {
|
|
8743
8743
|
const inSetToOrEqual = (predicate) => {
|
|
8744
8744
|
if (predicate.operator !== "InSet") return predicate;
|
|
@@ -8776,7 +8776,7 @@ function patchInSetFilters(filters) {
|
|
|
8776
8776
|
return filters.map((filter) => mapFilter(filter, inSetToOrEqual));
|
|
8777
8777
|
}
|
|
8778
8778
|
//#endregion
|
|
8779
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
8779
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/render/api.js
|
|
8780
8780
|
/**
|
|
8781
8781
|
* Helper function to match domain objects
|
|
8782
8782
|
* @param query Optional domain to match against
|
|
@@ -9225,27 +9225,27 @@ var PluginRenderCtx = class extends RenderCtxBase {
|
|
|
9225
9225
|
}
|
|
9226
9226
|
};
|
|
9227
9227
|
//#endregion
|
|
9228
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9228
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/plugin_model.js
|
|
9229
9229
|
/** Internal plugin↔block handshake. `Symbol.for` (not `Symbol`) so it stays
|
|
9230
9230
|
* identical across multiple `@platforma-sdk/model` copies in one process. */
|
|
9231
9231
|
const CREATE_PLUGIN_MODEL = Symbol.for("@platforma-sdk/model:createPluginModel");
|
|
9232
9232
|
//#endregion
|
|
9233
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9234
|
-
const PlatformaSDKVersion = "1.84.
|
|
9233
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/version.js
|
|
9234
|
+
const PlatformaSDKVersion = "1.84.3";
|
|
9235
9235
|
//#endregion
|
|
9236
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9236
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/bconfig/types.js
|
|
9237
9237
|
function isConfigLambda(cfgOrFh) {
|
|
9238
9238
|
return cfgOrFh.__renderLambda === true;
|
|
9239
9239
|
}
|
|
9240
9240
|
//#endregion
|
|
9241
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9241
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
|
|
9242
9242
|
function downgradeCfgOrLambda(data) {
|
|
9243
9243
|
if (data === void 0) return void 0;
|
|
9244
9244
|
if (isConfigLambda(data)) return data.handle;
|
|
9245
9245
|
return data;
|
|
9246
9246
|
}
|
|
9247
9247
|
//#endregion
|
|
9248
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9248
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
|
|
9249
9249
|
/**
|
|
9250
9250
|
* BlockStorage Callback Implementations - wired to facade callbacks in BlockModelV3.done().
|
|
9251
9251
|
*
|
|
@@ -9599,7 +9599,7 @@ function deriveTemplateParamsFromStorage(storageJson, deriveTemplateParams) {
|
|
|
9599
9599
|
}
|
|
9600
9600
|
}
|
|
9601
9601
|
//#endregion
|
|
9602
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9602
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/block_model.js
|
|
9603
9603
|
/**
|
|
9604
9604
|
* Merges two feature flag objects with type-aware logic:
|
|
9605
9605
|
* - `supports*` (boolean): OR — `true` if either side is `true`
|
|
@@ -9965,7 +9965,7 @@ var BlockModelV3 = class BlockModelV3 {
|
|
|
9965
9965
|
}
|
|
9966
9966
|
};
|
|
9967
9967
|
//#endregion
|
|
9968
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
9968
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/pframe_utils/axes.js
|
|
9969
9969
|
/** Create id for column copy with added keys in axes domains */
|
|
9970
9970
|
const colId = (id, domains, contextDomains) => {
|
|
9971
9971
|
let wid = id.toString();
|
|
@@ -10071,7 +10071,7 @@ function getAdditionalColumnsForColumn(blockAxes, column) {
|
|
|
10071
10071
|
})];
|
|
10072
10072
|
}
|
|
10073
10073
|
//#endregion
|
|
10074
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
10074
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_recipes/leaf_rebrand.js
|
|
10075
10075
|
/**
|
|
10076
10076
|
* Replace every column leaf whose id equals `fromId` with `toId`, leaving
|
|
10077
10077
|
* other column refs (linkers, sub-anchors) intact. Wrapper recipes
|
|
@@ -10739,7 +10739,7 @@ var U = class d {
|
|
|
10739
10739
|
}
|
|
10740
10740
|
};
|
|
10741
10741
|
//#endregion
|
|
10742
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
10742
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_providers/providers.js
|
|
10743
10743
|
/**
|
|
10744
10744
|
* Unified memoised factory dispatching to the right provider flavour by the
|
|
10745
10745
|
* source shape:
|
|
@@ -10828,7 +10828,7 @@ function hashRawPool(rawPool) {
|
|
|
10828
10828
|
return rawPool.map((b) => `${b.blockId}\x1f${b.prodCtx ?? ""}\x1f${b.stagingCtx ?? ""}\x1f${b.prodIncomplete ? 1 : 0}\x1f${b.stagingIncomplete ? 1 : 0}`).join("");
|
|
10829
10829
|
}
|
|
10830
10830
|
//#endregion
|
|
10831
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
10831
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_providers/index.js
|
|
10832
10832
|
/**
|
|
10833
10833
|
* Build the default set of ColumnsProviders for the ambient render ctx:
|
|
10834
10834
|
* - `AccessorColumnsProvider` over `outputs` (if present)
|
|
@@ -10863,7 +10863,7 @@ function isColumnProvider(source) {
|
|
|
10863
10863
|
return typeof p.getColumns === "function" && typeof p.isFinal === "function";
|
|
10864
10864
|
}
|
|
10865
10865
|
//#endregion
|
|
10866
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
10866
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/data_column.js
|
|
10867
10867
|
/**
|
|
10868
10868
|
* Thrown by leaf-recipe factories when the requested column is provably
|
|
10869
10869
|
* absent in the active render ctx — i.e. every relevant accessor reports
|
|
@@ -11103,7 +11103,7 @@ function memoizeByEntry(fn) {
|
|
|
11103
11103
|
};
|
|
11104
11104
|
}
|
|
11105
11105
|
//#endregion
|
|
11106
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11106
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_overrided_recipe.js
|
|
11107
11107
|
/**
|
|
11108
11108
|
* Recipe wrapper that overlays {@link SpecOverrides} on top of any other
|
|
11109
11109
|
* recipe. The id is `ColumnOverriddenKey { source: inner.id, specOverrides }`.
|
|
@@ -11241,7 +11241,7 @@ var DataColumnOverriddenRecipe = class extends ColumnOverriddenRecipe {
|
|
|
11241
11241
|
}
|
|
11242
11242
|
};
|
|
11243
11243
|
//#endregion
|
|
11244
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11244
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_filtered_recipe.js
|
|
11245
11245
|
/**
|
|
11246
11246
|
* Recipe wrapper that fixes the values of selected axes of an inner recipe
|
|
11247
11247
|
* (axis slicing). The id is `FilteredPColumnId { source: inner.id,
|
|
@@ -11367,7 +11367,7 @@ function toAxisSelector(axis) {
|
|
|
11367
11367
|
return selector;
|
|
11368
11368
|
}
|
|
11369
11369
|
//#endregion
|
|
11370
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11370
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_recipes/index.js
|
|
11371
11371
|
/**
|
|
11372
11372
|
* Build a `ColumnRecipe` from a stringified id. Dispatches to the matching
|
|
11373
11373
|
* concrete recipe variant based on the id's encoding and recurses on
|
|
@@ -11418,7 +11418,7 @@ function ColumnRecipeGetStatus(id, opts = {}) {
|
|
|
11418
11418
|
}
|
|
11419
11419
|
const ColumnRecipe = Object.assign(ColumnRecipeBuild, { getStatus: ColumnRecipeGetStatus });
|
|
11420
11420
|
//#endregion
|
|
11421
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11421
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_discovered_recipe.js
|
|
11422
11422
|
/**
|
|
11423
11423
|
* Recipe for columns identified by a {@link ColumnDiscoveredKey}: a base
|
|
11424
11424
|
* column + a `path` of linkers + qualifications.
|
|
@@ -11589,7 +11589,7 @@ function referencedUniIdsOf(key) {
|
|
|
11589
11589
|
return /* @__PURE__ */ new Set([key.column, ...(key.path ?? []).map((item) => item.column)]);
|
|
11590
11590
|
}
|
|
11591
11591
|
//#endregion
|
|
11592
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11592
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/column.js
|
|
11593
11593
|
/**
|
|
11594
11594
|
* Unified entry point — routes between the two top-level dispatchers:
|
|
11595
11595
|
* - string id (`PObjectId` / `ColumnUniversalId`) → {@link ColumnRecipe}
|
|
@@ -11603,7 +11603,7 @@ function Column(source, opts) {
|
|
|
11603
11603
|
return DataColumn(source, opts);
|
|
11604
11604
|
}
|
|
11605
11605
|
//#endregion
|
|
11606
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11606
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/columns_collection.js
|
|
11607
11607
|
/**
|
|
11608
11608
|
* Build a {@link ColumnsCollection} from sandbox-side source descriptors.
|
|
11609
11609
|
* Resolves the `columnsCollection` driver (either from `deps.driver` or via
|
|
@@ -11712,7 +11712,7 @@ function defaultCtxSources(ctx) {
|
|
|
11712
11712
|
return [...currentBlockSources(ctx), { kind: "result_pool" }];
|
|
11713
11713
|
}
|
|
11714
11714
|
//#endregion
|
|
11715
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11715
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/columns/utils.js
|
|
11716
11716
|
/**
|
|
11717
11717
|
* PObjectIds of every non-hit column referenced by `recipe.getQuery()`,
|
|
11718
11718
|
* deduped in traversal order. The hit column is
|
|
@@ -11843,7 +11843,7 @@ function hasSingleDataColumn(recipe) {
|
|
|
11843
11843
|
return recipe.getReferencedIds().length === 1;
|
|
11844
11844
|
}
|
|
11845
11845
|
//#endregion
|
|
11846
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11846
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js
|
|
11847
11847
|
function getAllRelatedColumns(ctx, predicate) {
|
|
11848
11848
|
const columns = new PColumnCollection();
|
|
11849
11849
|
columns.addColumnProvider(ctx.resultPool);
|
|
@@ -11919,7 +11919,7 @@ function discoverIntegrableColumnIds(ctx, rootColumns) {
|
|
|
11919
11919
|
}
|
|
11920
11920
|
}
|
|
11921
11921
|
//#endregion
|
|
11922
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11922
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
|
|
11923
11923
|
function isHiddenFromGraphColumn(column) {
|
|
11924
11924
|
return !!readAnnotationJson(column, Annotation.HideDataFromGraphs);
|
|
11925
11925
|
}
|
|
@@ -11948,7 +11948,7 @@ function createPFrameForGraphs(ctx, blockColumns) {
|
|
|
11948
11948
|
}));
|
|
11949
11949
|
}
|
|
11950
11950
|
//#endregion
|
|
11951
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11951
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/filters/traverse.js
|
|
11952
11952
|
/**
|
|
11953
11953
|
* Recursively traverses a FilterSpec tree bottom-up, applying visitor callbacks.
|
|
11954
11954
|
*
|
|
@@ -11987,7 +11987,7 @@ function collectFilterSpecColumns(filter) {
|
|
|
11987
11987
|
});
|
|
11988
11988
|
}
|
|
11989
11989
|
//#endregion
|
|
11990
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
11990
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
|
|
11991
11991
|
/** Converts a QueryColumnId object into a SpecQueryExpression reference. */
|
|
11992
11992
|
function resolveColumnRef(col) {
|
|
11993
11993
|
return col.type === "axis" ? {
|
|
@@ -12374,7 +12374,7 @@ function isEmpty(value) {
|
|
|
12374
12374
|
return true;
|
|
12375
12375
|
}
|
|
12376
12376
|
//#endregion
|
|
12377
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
12377
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/filters/distill.js
|
|
12378
12378
|
/**
|
|
12379
12379
|
* Strips non-FilterSpec metadata (whitelist approach) and removes
|
|
12380
12380
|
* unfilled leaves (type is undefined or any required field is undefined).
|
|
@@ -12479,7 +12479,7 @@ const REQUIRED_KEYS_BY_TYPE = {
|
|
|
12479
12479
|
greaterThanColumnOrEqual: ["column", "rhs"]
|
|
12480
12480
|
};
|
|
12481
12481
|
//#endregion
|
|
12482
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
12482
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
|
|
12483
12483
|
/** Upgrade PlDataTableStateV2 to the latest version */
|
|
12484
12484
|
function upgradePlDataTableStateV2(state) {
|
|
12485
12485
|
if (!state) return createPlDataTableStateV2();
|
|
@@ -12837,7 +12837,7 @@ function parseLegacyLeafColumn(s) {
|
|
|
12837
12837
|
return parsed;
|
|
12838
12838
|
}
|
|
12839
12839
|
//#endregion
|
|
12840
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
12840
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
|
|
12841
12841
|
/** Adapt a {@link ColumnRecipe} to the plain {@link RuleColumn} shape. */
|
|
12842
12842
|
function toRuleColumn(col) {
|
|
12843
12843
|
return {
|
|
@@ -12935,7 +12935,7 @@ function deriveAllLabels(options) {
|
|
|
12935
12935
|
})), deriveLabelsOptions).reduce((acc, label, index) => (acc[columns[index].id] = label, acc), {});
|
|
12936
12936
|
}
|
|
12937
12937
|
//#endregion
|
|
12938
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
12938
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
|
|
12939
12939
|
/**
|
|
12940
12940
|
* Assemble a ptable def directly from recipes. Each secondary recipe is its own
|
|
12941
12941
|
* outer-joined subtree: `getQuery()` encodes its linker chain, and its
|
|
@@ -12999,7 +12999,7 @@ function columnToJoinEntry(col, qualifications) {
|
|
|
12999
12999
|
};
|
|
13000
13000
|
}
|
|
13001
13001
|
//#endregion
|
|
13002
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
13002
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PlDataTable/columnResolver.js
|
|
13003
13003
|
function createColumnResolver(columns) {
|
|
13004
13004
|
const axisIds = [];
|
|
13005
13005
|
for (const c of columns) for (const ax of c.getSpec().axesSpec) axisIds.push(getAxisId(ax));
|
|
@@ -13021,7 +13021,7 @@ function createColumnResolver(columns) {
|
|
|
13021
13021
|
};
|
|
13022
13022
|
}
|
|
13023
13023
|
//#endregion
|
|
13024
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
13024
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
|
|
13025
13025
|
/**
|
|
13026
13026
|
* Discover columns from sources/anchors and split them into primary
|
|
13027
13027
|
* (direct anchor hits — zero-hop, query is a bare column) and secondary
|
|
@@ -13067,7 +13067,7 @@ function discoverLabelColumns(ctx, primary) {
|
|
|
13067
13067
|
}).getColumns();
|
|
13068
13068
|
}
|
|
13069
13069
|
//#endregion
|
|
13070
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.
|
|
13070
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.3/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
|
|
13071
13071
|
function createPlDataTableV3(ctx, options) {
|
|
13072
13072
|
const state = upgradePlDataTableStateV2(options.tableState);
|
|
13073
13073
|
const primaryJoinType = options.primaryJoinType ?? "full";
|