@platforma-open/milaboratories.sort-seq-analysis.block 1.0.5 → 1.0.6
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/CHANGELOG.md +6 -0
- package/block-pack/main.plj.gz +0 -0
- 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 +171 -88
- package/dist/AGENTS.d.ts.map +1 -1
- package/dist/index.d.ts +171 -88
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -54
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -97,14 +97,14 @@ const sampleLabelSelector = {
|
|
|
97
97
|
};
|
|
98
98
|
PColumnName$1.MutationCount;
|
|
99
99
|
//#endregion
|
|
100
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
100
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_handle.js
|
|
101
101
|
const PLUGIN_OUTPUT_PREFIX = "plugin-output#";
|
|
102
102
|
/** Construct the output key for a plugin output in the block outputs map. */
|
|
103
103
|
function pluginOutputKey(handle, outputKey) {
|
|
104
104
|
return `${PLUGIN_OUTPUT_PREFIX}${handle}#${outputKey}`;
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
107
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage.js
|
|
108
108
|
/**
|
|
109
109
|
* Discriminator key for BlockStorage format detection.
|
|
110
110
|
* This unique hash-based key identifies data as BlockStorage vs legacy formats.
|
|
@@ -6422,7 +6422,7 @@ function relocateBlockIds(params, blockIds) {
|
|
|
6422
6422
|
return walk(params);
|
|
6423
6423
|
}
|
|
6424
6424
|
//#endregion
|
|
6425
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6425
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_migrations.js
|
|
6426
6426
|
/** Create a DataVersioned wrapper with correct shape */
|
|
6427
6427
|
function makeVersionedData(version, data) {
|
|
6428
6428
|
return {
|
|
@@ -7000,7 +7000,7 @@ var DataModel = class DataModel {
|
|
|
7000
7000
|
}
|
|
7001
7001
|
};
|
|
7002
7002
|
//#endregion
|
|
7003
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7003
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/internal.js
|
|
7004
7004
|
/** Utility code helping to identify whether the code is running in actual UI environment */
|
|
7005
7005
|
function isInUI() {
|
|
7006
7006
|
return typeof globalThis.getPlatforma !== "undefined" || typeof globalThis.platforma !== "undefined";
|
|
@@ -7070,7 +7070,7 @@ function registerFutureAwait(handle, onResolve) {
|
|
|
7070
7070
|
futureResolves.get(handle).push(onResolve);
|
|
7071
7071
|
}
|
|
7072
7072
|
//#endregion
|
|
7073
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7073
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
|
|
7074
7074
|
/**
|
|
7075
7075
|
* All facade callback names as constants.
|
|
7076
7076
|
* These are the source of truth - the interface is derived from these.
|
|
@@ -7108,7 +7108,7 @@ function registerFacadeCallbacks(callbacks) {
|
|
|
7108
7108
|
for (const key of Object.values(BlockStorageFacadeCallbacks)) tryRegisterCallback(key, callbacks[key]);
|
|
7109
7109
|
}
|
|
7110
7110
|
//#endregion
|
|
7111
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7111
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/block_services.js
|
|
7112
7112
|
/**
|
|
7113
7113
|
* Services required by all V3 blocks by default.
|
|
7114
7114
|
* Edit this when a new service should be available to all blocks.
|
|
@@ -7124,7 +7124,7 @@ const BLOCK_SERVICE_FLAGS = {
|
|
|
7124
7124
|
};
|
|
7125
7125
|
resolveRequiredServices(BLOCK_SERVICE_FLAGS);
|
|
7126
7126
|
//#endregion
|
|
7127
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7127
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/future.js
|
|
7128
7128
|
var FutureRef = class FutureRef {
|
|
7129
7129
|
handle;
|
|
7130
7130
|
postProcess;
|
|
@@ -7152,7 +7152,7 @@ var FutureRef = class FutureRef {
|
|
|
7152
7152
|
}
|
|
7153
7153
|
};
|
|
7154
7154
|
//#endregion
|
|
7155
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7155
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/accessor.js
|
|
7156
7156
|
function ifDef(value, cb) {
|
|
7157
7157
|
return value === void 0 ? void 0 : cb(value);
|
|
7158
7158
|
}
|
|
@@ -7402,11 +7402,11 @@ var TreeNodeAccessor = class TreeNodeAccessor {
|
|
|
7402
7402
|
}
|
|
7403
7403
|
};
|
|
7404
7404
|
//#endregion
|
|
7405
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7405
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/internal.js
|
|
7406
7406
|
const MainAccessorName = "main";
|
|
7407
7407
|
const StagingAccessorName = "staging";
|
|
7408
7408
|
//#endregion
|
|
7409
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7409
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
|
|
7410
7410
|
function filterDataInfoEntries(dataInfoEntries, axisFilters) {
|
|
7411
7411
|
const sortedFilters = [...axisFilters].sort((a, b) => b[0] - a[0]);
|
|
7412
7412
|
const { type } = dataInfoEntries;
|
|
@@ -7470,7 +7470,7 @@ function filterDataInfoEntries(dataInfoEntries, axisFilters) {
|
|
|
7470
7470
|
}
|
|
7471
7471
|
}
|
|
7472
7472
|
//#endregion
|
|
7473
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7473
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/labels/linked_column_postfix.js
|
|
7474
7474
|
/**
|
|
7475
7475
|
* Structural postfix derivation for linked columns (phase 2 of `deriveDistinctLabels`).
|
|
7476
7476
|
*
|
|
@@ -7653,7 +7653,7 @@ function derivePostfixes(entries, format = defaultLinkerFormatter) {
|
|
|
7653
7653
|
});
|
|
7654
7654
|
}
|
|
7655
7655
|
//#endregion
|
|
7656
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7656
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
|
|
7657
7657
|
const DISTANCE_PENALTY = .001;
|
|
7658
7658
|
const LABEL_TYPE = "__LABEL__";
|
|
7659
7659
|
const LABEL_TYPE_FULL = "__LABEL__@1";
|
|
@@ -7941,7 +7941,7 @@ function repairBareByPresence(labels, minimized, records, stats, forcedSet, forc
|
|
|
7941
7941
|
return patched;
|
|
7942
7942
|
}
|
|
7943
7943
|
//#endregion
|
|
7944
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7944
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/label.js
|
|
7945
7945
|
/** @deprecated Use deriveDistinctLabels */
|
|
7946
7946
|
function deriveLabels(values, getSpec, options = {}) {
|
|
7947
7947
|
return deriveDistinctLabels(values.map(getSpec), options).map((label, i) => ({
|
|
@@ -7950,7 +7950,7 @@ function deriveLabels(values, getSpec, options = {}) {
|
|
|
7950
7950
|
}));
|
|
7951
7951
|
}
|
|
7952
7952
|
//#endregion
|
|
7953
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7953
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
|
|
7954
7954
|
const RT_RESOURCE_MAP = "PColumnData/ResourceMap";
|
|
7955
7955
|
const RT_RESOURCE_MAP_PARTITIONED = "PColumnData/Partitioned/ResourceMap";
|
|
7956
7956
|
const RT_JSON_PARTITIONED = "PColumnData/JsonPartitioned";
|
|
@@ -8244,7 +8244,7 @@ function allPColumnsReady(columns) {
|
|
|
8244
8244
|
return columns.every(isPColumnReady);
|
|
8245
8245
|
}
|
|
8246
8246
|
//#endregion
|
|
8247
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8247
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
|
|
8248
8248
|
function isPColumnValues(value) {
|
|
8249
8249
|
if (!Array.isArray(value)) return false;
|
|
8250
8250
|
if (value.length === 0) return true;
|
|
@@ -8522,7 +8522,7 @@ var PColumnCollection = class {
|
|
|
8522
8522
|
}
|
|
8523
8523
|
};
|
|
8524
8524
|
//#endregion
|
|
8525
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8525
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
|
|
8526
8526
|
/**
|
|
8527
8527
|
* Builds a ServiceProxy from a ServiceDispatch.
|
|
8528
8528
|
* Each service method call is forwarded to dispatch.callServiceMethod.
|
|
@@ -8531,7 +8531,7 @@ function createServiceProxy(dispatch) {
|
|
|
8531
8531
|
return ((serviceId) => Object.freeze(Object.fromEntries(dispatch.getServiceMethods(serviceId).map((method) => [method, (...args) => dispatch.callServiceMethod(serviceId, method, ...args)]))));
|
|
8532
8532
|
}
|
|
8533
8533
|
//#endregion
|
|
8534
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8534
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/get_services.js
|
|
8535
8535
|
const cachedServices = /* @__PURE__ */ new WeakMap();
|
|
8536
8536
|
function getService(name, deps) {
|
|
8537
8537
|
const ctx = deps?.ctx ?? getCfgRenderCtx();
|
|
@@ -8545,7 +8545,7 @@ function getService(name, deps) {
|
|
|
8545
8545
|
})();
|
|
8546
8546
|
}
|
|
8547
8547
|
//#endregion
|
|
8548
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8548
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
|
|
8549
8549
|
function patchInSetFilters(filters) {
|
|
8550
8550
|
const inSetToOrEqual = (predicate) => {
|
|
8551
8551
|
if (predicate.operator !== "InSet") return predicate;
|
|
@@ -8583,7 +8583,7 @@ function patchInSetFilters(filters) {
|
|
|
8583
8583
|
return filters.map((filter) => mapFilter(filter, inSetToOrEqual));
|
|
8584
8584
|
}
|
|
8585
8585
|
//#endregion
|
|
8586
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8586
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/api.js
|
|
8587
8587
|
/**
|
|
8588
8588
|
* Helper function to match domain objects
|
|
8589
8589
|
* @param query Optional domain to match against
|
|
@@ -9032,27 +9032,27 @@ var PluginRenderCtx = class extends RenderCtxBase {
|
|
|
9032
9032
|
}
|
|
9033
9033
|
};
|
|
9034
9034
|
//#endregion
|
|
9035
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9035
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_model.js
|
|
9036
9036
|
/** Internal plugin↔block handshake. `Symbol.for` (not `Symbol`) so it stays
|
|
9037
9037
|
* identical across multiple `@platforma-sdk/model` copies in one process. */
|
|
9038
9038
|
const CREATE_PLUGIN_MODEL = Symbol.for("@platforma-sdk/model:createPluginModel");
|
|
9039
9039
|
//#endregion
|
|
9040
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9041
|
-
const PlatformaSDKVersion = "1.83.
|
|
9040
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/version.js
|
|
9041
|
+
const PlatformaSDKVersion = "1.83.9";
|
|
9042
9042
|
//#endregion
|
|
9043
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9043
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/types.js
|
|
9044
9044
|
function isConfigLambda(cfgOrFh) {
|
|
9045
9045
|
return cfgOrFh.__renderLambda === true;
|
|
9046
9046
|
}
|
|
9047
9047
|
//#endregion
|
|
9048
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9048
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
|
|
9049
9049
|
function downgradeCfgOrLambda(data) {
|
|
9050
9050
|
if (data === void 0) return void 0;
|
|
9051
9051
|
if (isConfigLambda(data)) return data.handle;
|
|
9052
9052
|
return data;
|
|
9053
9053
|
}
|
|
9054
9054
|
//#endregion
|
|
9055
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9055
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
|
|
9056
9056
|
/**
|
|
9057
9057
|
* BlockStorage Callback Implementations - wired to facade callbacks in BlockModelV3.done().
|
|
9058
9058
|
*
|
|
@@ -9406,7 +9406,7 @@ function deriveTemplateParamsFromStorage(storageJson, deriveTemplateParams) {
|
|
|
9406
9406
|
}
|
|
9407
9407
|
}
|
|
9408
9408
|
//#endregion
|
|
9409
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9409
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_model.js
|
|
9410
9410
|
/**
|
|
9411
9411
|
* Merges two feature flag objects with type-aware logic:
|
|
9412
9412
|
* - `supports*` (boolean): OR — `true` if either side is `true`
|
|
@@ -9772,7 +9772,7 @@ var BlockModelV3 = class BlockModelV3 {
|
|
|
9772
9772
|
}
|
|
9773
9773
|
};
|
|
9774
9774
|
//#endregion
|
|
9775
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9775
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/pframe_utils/axes.js
|
|
9776
9776
|
/** Create id for column copy with added keys in axes domains */
|
|
9777
9777
|
const colId = (id, domains, contextDomains) => {
|
|
9778
9778
|
let wid = id.toString();
|
|
@@ -9878,7 +9878,7 @@ function getAdditionalColumnsForColumn(blockAxes, column) {
|
|
|
9878
9878
|
})];
|
|
9879
9879
|
}
|
|
9880
9880
|
//#endregion
|
|
9881
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9881
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/leaf_rebrand.js
|
|
9882
9882
|
/**
|
|
9883
9883
|
* Replace every column leaf whose id equals `fromId` with `toId`, leaving
|
|
9884
9884
|
* other column refs (linkers, sub-anchors) intact. Wrapper recipes
|
|
@@ -10546,7 +10546,7 @@ var U = class d {
|
|
|
10546
10546
|
}
|
|
10547
10547
|
};
|
|
10548
10548
|
//#endregion
|
|
10549
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10549
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_providers/providers.js
|
|
10550
10550
|
/**
|
|
10551
10551
|
* Unified memoised factory dispatching to the right provider flavour by the
|
|
10552
10552
|
* source shape:
|
|
@@ -10635,7 +10635,7 @@ function hashRawPool(rawPool) {
|
|
|
10635
10635
|
return rawPool.map((b) => `${b.blockId}\x1f${b.prodCtx ?? ""}\x1f${b.stagingCtx ?? ""}\x1f${b.prodIncomplete ? 1 : 0}\x1f${b.stagingIncomplete ? 1 : 0}`).join("");
|
|
10636
10636
|
}
|
|
10637
10637
|
//#endregion
|
|
10638
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10638
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_providers/index.js
|
|
10639
10639
|
/**
|
|
10640
10640
|
* Build the default set of ColumnsProviders for the ambient render ctx:
|
|
10641
10641
|
* - `AccessorColumnsProvider` over `outputs` (if present)
|
|
@@ -10670,7 +10670,7 @@ function isColumnProvider(source) {
|
|
|
10670
10670
|
return typeof p.getColumns === "function" && typeof p.isFinal === "function";
|
|
10671
10671
|
}
|
|
10672
10672
|
//#endregion
|
|
10673
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10673
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/data_column.js
|
|
10674
10674
|
/**
|
|
10675
10675
|
* Thrown by leaf-recipe factories when the requested column is provably
|
|
10676
10676
|
* absent in the active render ctx — i.e. every relevant accessor reports
|
|
@@ -10910,7 +10910,7 @@ function memoizeByEntry(fn) {
|
|
|
10910
10910
|
};
|
|
10911
10911
|
}
|
|
10912
10912
|
//#endregion
|
|
10913
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10913
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_overrided_recipe.js
|
|
10914
10914
|
/**
|
|
10915
10915
|
* Recipe wrapper that overlays {@link SpecOverrides} on top of any other
|
|
10916
10916
|
* recipe. The id is `ColumnOverriddenKey { source: inner.id, specOverrides }`.
|
|
@@ -11048,7 +11048,7 @@ var DataColumnOverriddenRecipe = class extends ColumnOverriddenRecipe {
|
|
|
11048
11048
|
}
|
|
11049
11049
|
};
|
|
11050
11050
|
//#endregion
|
|
11051
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11051
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_filtered_recipe.js
|
|
11052
11052
|
/**
|
|
11053
11053
|
* Recipe wrapper that fixes the values of selected axes of an inner recipe
|
|
11054
11054
|
* (axis slicing). The id is `FilteredPColumnId { source: inner.id,
|
|
@@ -11174,7 +11174,7 @@ function toAxisSelector(axis) {
|
|
|
11174
11174
|
return selector;
|
|
11175
11175
|
}
|
|
11176
11176
|
//#endregion
|
|
11177
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11177
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/index.js
|
|
11178
11178
|
/**
|
|
11179
11179
|
* Build a `ColumnRecipe` from a stringified id. Dispatches to the matching
|
|
11180
11180
|
* concrete recipe variant based on the id's encoding and recurses on
|
|
@@ -11225,7 +11225,7 @@ function ColumnRecipeGetStatus(id, opts = {}) {
|
|
|
11225
11225
|
}
|
|
11226
11226
|
const ColumnRecipe = Object.assign(ColumnRecipeBuild, { getStatus: ColumnRecipeGetStatus });
|
|
11227
11227
|
//#endregion
|
|
11228
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11228
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_discovered_recipe.js
|
|
11229
11229
|
/**
|
|
11230
11230
|
* Recipe for columns identified by a {@link ColumnDiscoveredKey}: a base
|
|
11231
11231
|
* column + a `path` of linkers + qualifications.
|
|
@@ -11396,7 +11396,7 @@ function referencedUniIdsOf(key) {
|
|
|
11396
11396
|
return /* @__PURE__ */ new Set([key.column, ...(key.path ?? []).map((item) => item.column)]);
|
|
11397
11397
|
}
|
|
11398
11398
|
//#endregion
|
|
11399
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11399
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column.js
|
|
11400
11400
|
/**
|
|
11401
11401
|
* Unified entry point — routes between the two top-level dispatchers:
|
|
11402
11402
|
* - string id (`PObjectId` / `ColumnUniversalId`) → {@link ColumnRecipe}
|
|
@@ -11410,7 +11410,7 @@ function Column(source, opts) {
|
|
|
11410
11410
|
return DataColumn(source, opts);
|
|
11411
11411
|
}
|
|
11412
11412
|
//#endregion
|
|
11413
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11413
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/columns_collection.js
|
|
11414
11414
|
/**
|
|
11415
11415
|
* Build a {@link ColumnsCollection} from sandbox-side source descriptors.
|
|
11416
11416
|
* Resolves the `columnsCollection` driver (either from `deps.driver` or via
|
|
@@ -11519,7 +11519,7 @@ function defaultCtxSources(ctx) {
|
|
|
11519
11519
|
return [...currentBlockSources(ctx), { kind: "result_pool" }];
|
|
11520
11520
|
}
|
|
11521
11521
|
//#endregion
|
|
11522
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11522
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/utils.js
|
|
11523
11523
|
/**
|
|
11524
11524
|
* PObjectIds of every non-hit column referenced by `recipe.getQuery()`,
|
|
11525
11525
|
* deduped in traversal order. The hit column is
|
|
@@ -11650,7 +11650,7 @@ function hasSingleDataColumn(recipe) {
|
|
|
11650
11650
|
return recipe.getReferencedIds().length === 1;
|
|
11651
11651
|
}
|
|
11652
11652
|
//#endregion
|
|
11653
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11653
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js
|
|
11654
11654
|
function getAllRelatedColumns(ctx, predicate) {
|
|
11655
11655
|
const columns = new PColumnCollection();
|
|
11656
11656
|
columns.addColumnProvider(ctx.resultPool);
|
|
@@ -11726,7 +11726,7 @@ function discoverIntegrableColumnIds(ctx, rootColumns) {
|
|
|
11726
11726
|
}
|
|
11727
11727
|
}
|
|
11728
11728
|
//#endregion
|
|
11729
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11729
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
|
|
11730
11730
|
function isHiddenFromGraphColumn(column) {
|
|
11731
11731
|
return !!readAnnotationJson(column, Annotation.HideDataFromGraphs);
|
|
11732
11732
|
}
|
|
@@ -11755,7 +11755,7 @@ function createPFrameForGraphs(ctx, blockColumns) {
|
|
|
11755
11755
|
}));
|
|
11756
11756
|
}
|
|
11757
11757
|
//#endregion
|
|
11758
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11758
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/traverse.js
|
|
11759
11759
|
/**
|
|
11760
11760
|
* Recursively traverses a FilterSpec tree bottom-up, applying visitor callbacks.
|
|
11761
11761
|
*
|
|
@@ -11794,7 +11794,7 @@ function collectFilterSpecColumns(filter) {
|
|
|
11794
11794
|
});
|
|
11795
11795
|
}
|
|
11796
11796
|
//#endregion
|
|
11797
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11797
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
|
|
11798
11798
|
/** Converts a QueryColumnId object into a SpecQueryExpression reference. */
|
|
11799
11799
|
function resolveColumnRef(col) {
|
|
11800
11800
|
return col.type === "axis" ? {
|
|
@@ -12181,7 +12181,7 @@ function isEmpty(value) {
|
|
|
12181
12181
|
return true;
|
|
12182
12182
|
}
|
|
12183
12183
|
//#endregion
|
|
12184
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12184
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/distill.js
|
|
12185
12185
|
/**
|
|
12186
12186
|
* Strips non-FilterSpec metadata (whitelist approach) and removes
|
|
12187
12187
|
* unfilled leaves (type is undefined or any required field is undefined).
|
|
@@ -12286,7 +12286,7 @@ const REQUIRED_KEYS_BY_TYPE = {
|
|
|
12286
12286
|
greaterThanColumnOrEqual: ["column", "rhs"]
|
|
12287
12287
|
};
|
|
12288
12288
|
//#endregion
|
|
12289
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12289
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
|
|
12290
12290
|
/** Upgrade PlDataTableStateV2 to the latest version */
|
|
12291
12291
|
function upgradePlDataTableStateV2(state) {
|
|
12292
12292
|
if (!state) return createPlDataTableStateV2();
|
|
@@ -12644,7 +12644,7 @@ function parseLegacyLeafColumn(s) {
|
|
|
12644
12644
|
return parsed;
|
|
12645
12645
|
}
|
|
12646
12646
|
//#endregion
|
|
12647
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12647
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
|
|
12648
12648
|
/** Adapt a {@link ColumnRecipe} to the plain {@link RuleColumn} shape. */
|
|
12649
12649
|
function toRuleColumn(col) {
|
|
12650
12650
|
return {
|
|
@@ -12742,7 +12742,7 @@ function deriveAllLabels(options) {
|
|
|
12742
12742
|
})), deriveLabelsOptions).reduce((acc, label, index) => (acc[columns[index].id] = label, acc), {});
|
|
12743
12743
|
}
|
|
12744
12744
|
//#endregion
|
|
12745
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12745
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
|
|
12746
12746
|
/**
|
|
12747
12747
|
* Assemble a ptable def directly from recipes. Each secondary recipe is its own
|
|
12748
12748
|
* outer-joined subtree: `getQuery()` encodes its linker chain, and its
|
|
@@ -12806,8 +12806,8 @@ function columnToJoinEntry(col, qualifications) {
|
|
|
12806
12806
|
};
|
|
12807
12807
|
}
|
|
12808
12808
|
//#endregion
|
|
12809
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12810
|
-
function createColumnResolver(columns
|
|
12809
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/columnResolver.js
|
|
12810
|
+
function createColumnResolver(columns) {
|
|
12811
12811
|
const axisIds = [];
|
|
12812
12812
|
for (const c of columns) for (const ax of c.getSpec().axesSpec) axisIds.push(getAxisId(ax));
|
|
12813
12813
|
const byFullId = /* @__PURE__ */ new Map();
|
|
@@ -12815,9 +12815,7 @@ function createColumnResolver(columns, deps) {
|
|
|
12815
12815
|
for (const c of columns) {
|
|
12816
12816
|
byFullId.set(c.id, c);
|
|
12817
12817
|
const pid = extractPObjectId(c.id);
|
|
12818
|
-
|
|
12819
|
-
if (existing === void 0) byPObjectId.set(pid, c);
|
|
12820
|
-
else if (existing.id !== c.id) deps?.warn?.(`Ambiguous PObjectId ${pid}: recipe ids ${existing.id} and ${c.id} both match — keeping first.`);
|
|
12818
|
+
if (!byPObjectId.has(pid)) byPObjectId.set(pid, c);
|
|
12821
12819
|
}
|
|
12822
12820
|
return (ref) => {
|
|
12823
12821
|
if (ref.type === "axis") return axisIds.some((a) => matchAxisId(ref.id, a)) ? ref : void 0;
|
|
@@ -12830,7 +12828,7 @@ function createColumnResolver(columns, deps) {
|
|
|
12830
12828
|
};
|
|
12831
12829
|
}
|
|
12832
12830
|
//#endregion
|
|
12833
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12831
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
|
|
12834
12832
|
/**
|
|
12835
12833
|
* Discover columns from sources/anchors and split them into primary
|
|
12836
12834
|
* (direct anchor hits — zero-hop, query is a bare column) and secondary
|
|
@@ -12876,7 +12874,7 @@ function discoverLabelColumns(ctx, primary) {
|
|
|
12876
12874
|
}).getColumns();
|
|
12877
12875
|
}
|
|
12878
12876
|
//#endregion
|
|
12879
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12877
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
|
|
12880
12878
|
function createPlDataTableV3(ctx, options) {
|
|
12881
12879
|
const state = upgradePlDataTableStateV2(options.tableState);
|
|
12882
12880
|
const primaryJoinType = options.primaryJoinType ?? "full";
|
|
@@ -12904,7 +12902,7 @@ function createPlDataTableV3(ctx, options) {
|
|
|
12904
12902
|
...primary,
|
|
12905
12903
|
...direct,
|
|
12906
12904
|
...linked.flatMap((lc) => [...collectLinkerColumns(lc), lc])
|
|
12907
|
-
]
|
|
12905
|
+
]);
|
|
12908
12906
|
const remapedDefaultFilters = remapFilterColumnIds(options.filters, resolver);
|
|
12909
12907
|
const filters = filterFilters(concatFilters(state.pTableParams.filters, state.pTableParams.defaultFilters ?? remapedDefaultFilters), resolver);
|
|
12910
12908
|
const sorting = filterSorting(resolveSorting(state.pTableParams.sorting, remapSortingColumnIds(options.sorting, resolver)), resolver);
|