@platforma-open/milaboratories.antibody-sequence-liabilities 5.2.2 → 5.4.0
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/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 +159 -69
- package/dist/AGENTS.d.ts.map +1 -1
- package/dist/index.d.ts +159 -69
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +54 -52
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -61,14 +61,14 @@ function getLiabilitySetLabel(data) {
|
|
|
61
61
|
return `${abbrevs.length <= 2 ? abbrevs.join("+") : `${abbrevs[0]}+${abbrevs[1]}+${abbrevs.length - 2} more`}${customSuffix}`;
|
|
62
62
|
}
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
64
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_handle.js
|
|
65
65
|
const PLUGIN_OUTPUT_PREFIX = "plugin-output#";
|
|
66
66
|
/** Construct the output key for a plugin output in the block outputs map. */
|
|
67
67
|
function pluginOutputKey(handle, outputKey) {
|
|
68
68
|
return `${PLUGIN_OUTPUT_PREFIX}${handle}#${outputKey}`;
|
|
69
69
|
}
|
|
70
70
|
//#endregion
|
|
71
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
71
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage.js
|
|
72
72
|
/**
|
|
73
73
|
* Discriminator key for BlockStorage format detection.
|
|
74
74
|
* This unique hash-based key identifies data as BlockStorage vs legacy formats.
|
|
@@ -6191,7 +6191,7 @@ function relocateBlockIds(params, blockIds) {
|
|
|
6191
6191
|
return walk(params);
|
|
6192
6192
|
}
|
|
6193
6193
|
//#endregion
|
|
6194
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6194
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_migrations.js
|
|
6195
6195
|
/** Create a DataVersioned wrapper with correct shape */
|
|
6196
6196
|
function makeVersionedData(version, data) {
|
|
6197
6197
|
return {
|
|
@@ -6769,7 +6769,7 @@ var DataModel = class DataModel {
|
|
|
6769
6769
|
}
|
|
6770
6770
|
};
|
|
6771
6771
|
//#endregion
|
|
6772
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6772
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/internal.js
|
|
6773
6773
|
/** Utility code helping to identify whether the code is running in actual UI environment */
|
|
6774
6774
|
function isInUI() {
|
|
6775
6775
|
return typeof globalThis.getPlatforma !== "undefined" || typeof globalThis.platforma !== "undefined";
|
|
@@ -6839,7 +6839,7 @@ function registerFutureAwait(handle, onResolve) {
|
|
|
6839
6839
|
futureResolves.get(handle).push(onResolve);
|
|
6840
6840
|
}
|
|
6841
6841
|
//#endregion
|
|
6842
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6842
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
|
|
6843
6843
|
/**
|
|
6844
6844
|
* All facade callback names as constants.
|
|
6845
6845
|
* These are the source of truth - the interface is derived from these.
|
|
@@ -6877,7 +6877,7 @@ function registerFacadeCallbacks(callbacks) {
|
|
|
6877
6877
|
for (const key of Object.values(BlockStorageFacadeCallbacks)) tryRegisterCallback(key, callbacks[key]);
|
|
6878
6878
|
}
|
|
6879
6879
|
//#endregion
|
|
6880
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6880
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/block_services.js
|
|
6881
6881
|
/**
|
|
6882
6882
|
* Services required by all V3 blocks by default.
|
|
6883
6883
|
* Edit this when a new service should be available to all blocks.
|
|
@@ -6893,7 +6893,7 @@ const BLOCK_SERVICE_FLAGS = {
|
|
|
6893
6893
|
};
|
|
6894
6894
|
resolveRequiredServices(BLOCK_SERVICE_FLAGS);
|
|
6895
6895
|
//#endregion
|
|
6896
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6896
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/future.js
|
|
6897
6897
|
var FutureRef = class FutureRef {
|
|
6898
6898
|
handle;
|
|
6899
6899
|
postProcess;
|
|
@@ -6921,7 +6921,7 @@ var FutureRef = class FutureRef {
|
|
|
6921
6921
|
}
|
|
6922
6922
|
};
|
|
6923
6923
|
//#endregion
|
|
6924
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
6924
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/accessor.js
|
|
6925
6925
|
function ifDef(value, cb) {
|
|
6926
6926
|
return value === void 0 ? void 0 : cb(value);
|
|
6927
6927
|
}
|
|
@@ -7171,11 +7171,11 @@ var TreeNodeAccessor = class TreeNodeAccessor {
|
|
|
7171
7171
|
}
|
|
7172
7172
|
};
|
|
7173
7173
|
//#endregion
|
|
7174
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7174
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/internal.js
|
|
7175
7175
|
const MainAccessorName = "main";
|
|
7176
7176
|
const StagingAccessorName = "staging";
|
|
7177
7177
|
//#endregion
|
|
7178
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7178
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
|
|
7179
7179
|
function filterDataInfoEntries(dataInfoEntries, axisFilters) {
|
|
7180
7180
|
const sortedFilters = [...axisFilters].sort((a, b) => b[0] - a[0]);
|
|
7181
7181
|
const { type } = dataInfoEntries;
|
|
@@ -7239,7 +7239,7 @@ function filterDataInfoEntries(dataInfoEntries, axisFilters) {
|
|
|
7239
7239
|
}
|
|
7240
7240
|
}
|
|
7241
7241
|
//#endregion
|
|
7242
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7242
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/labels/linked_column_postfix.js
|
|
7243
7243
|
/**
|
|
7244
7244
|
* Structural postfix derivation for linked columns (phase 2 of `deriveDistinctLabels`).
|
|
7245
7245
|
*
|
|
@@ -7422,7 +7422,7 @@ function derivePostfixes(entries, format = defaultLinkerFormatter) {
|
|
|
7422
7422
|
});
|
|
7423
7423
|
}
|
|
7424
7424
|
//#endregion
|
|
7425
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7425
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
|
|
7426
7426
|
const DISTANCE_PENALTY = .001;
|
|
7427
7427
|
const LABEL_TYPE = "__LABEL__";
|
|
7428
7428
|
const LABEL_TYPE_FULL = "__LABEL__@1";
|
|
@@ -7710,7 +7710,7 @@ function repairBareByPresence(labels, minimized, records, stats, forcedSet, forc
|
|
|
7710
7710
|
return patched;
|
|
7711
7711
|
}
|
|
7712
7712
|
//#endregion
|
|
7713
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7713
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/label.js
|
|
7714
7714
|
/** @deprecated Use deriveDistinctLabels */
|
|
7715
7715
|
function deriveLabels(values, getSpec, options = {}) {
|
|
7716
7716
|
return deriveDistinctLabels(values.map(getSpec), options).map((label, i) => ({
|
|
@@ -7719,7 +7719,7 @@ function deriveLabels(values, getSpec, options = {}) {
|
|
|
7719
7719
|
}));
|
|
7720
7720
|
}
|
|
7721
7721
|
//#endregion
|
|
7722
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
7722
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
|
|
7723
7723
|
const RT_RESOURCE_MAP = "PColumnData/ResourceMap";
|
|
7724
7724
|
const RT_RESOURCE_MAP_PARTITIONED = "PColumnData/Partitioned/ResourceMap";
|
|
7725
7725
|
const RT_JSON_PARTITIONED = "PColumnData/JsonPartitioned";
|
|
@@ -8017,7 +8017,7 @@ function allPColumnsReady(columns) {
|
|
|
8017
8017
|
return columns.every(isPColumnReady);
|
|
8018
8018
|
}
|
|
8019
8019
|
//#endregion
|
|
8020
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8020
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
|
|
8021
8021
|
function isPColumnValues(value) {
|
|
8022
8022
|
if (!Array.isArray(value)) return false;
|
|
8023
8023
|
if (value.length === 0) return true;
|
|
@@ -8295,7 +8295,7 @@ var PColumnCollection = class {
|
|
|
8295
8295
|
}
|
|
8296
8296
|
};
|
|
8297
8297
|
//#endregion
|
|
8298
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8298
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
|
|
8299
8299
|
/**
|
|
8300
8300
|
* Builds a ServiceProxy from a ServiceDispatch.
|
|
8301
8301
|
* Each service method call is forwarded to dispatch.callServiceMethod.
|
|
@@ -8304,7 +8304,7 @@ function createServiceProxy(dispatch) {
|
|
|
8304
8304
|
return ((serviceId) => Object.freeze(Object.fromEntries(dispatch.getServiceMethods(serviceId).map((method) => [method, (...args) => dispatch.callServiceMethod(serviceId, method, ...args)]))));
|
|
8305
8305
|
}
|
|
8306
8306
|
//#endregion
|
|
8307
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8307
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/get_services.js
|
|
8308
8308
|
const cachedServices = /* @__PURE__ */ new WeakMap();
|
|
8309
8309
|
function getService(name, deps) {
|
|
8310
8310
|
const ctx = deps?.ctx ?? getCfgRenderCtx();
|
|
@@ -8318,7 +8318,7 @@ function getService(name, deps) {
|
|
|
8318
8318
|
})();
|
|
8319
8319
|
}
|
|
8320
8320
|
//#endregion
|
|
8321
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8321
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
|
|
8322
8322
|
function patchInSetFilters(filters) {
|
|
8323
8323
|
const inSetToOrEqual = (predicate) => {
|
|
8324
8324
|
if (predicate.operator !== "InSet") return predicate;
|
|
@@ -8356,7 +8356,7 @@ function patchInSetFilters(filters) {
|
|
|
8356
8356
|
return filters.map((filter) => mapFilter(filter, inSetToOrEqual));
|
|
8357
8357
|
}
|
|
8358
8358
|
//#endregion
|
|
8359
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8359
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/render/api.js
|
|
8360
8360
|
/**
|
|
8361
8361
|
* Helper function to match domain objects
|
|
8362
8362
|
* @param query Optional domain to match against
|
|
@@ -8805,27 +8805,27 @@ var PluginRenderCtx = class extends RenderCtxBase {
|
|
|
8805
8805
|
}
|
|
8806
8806
|
};
|
|
8807
8807
|
//#endregion
|
|
8808
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8808
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_model.js
|
|
8809
8809
|
/** Internal plugin↔block handshake. `Symbol.for` (not `Symbol`) so it stays
|
|
8810
8810
|
* identical across multiple `@platforma-sdk/model` copies in one process. */
|
|
8811
8811
|
const CREATE_PLUGIN_MODEL = Symbol.for("@platforma-sdk/model:createPluginModel");
|
|
8812
8812
|
//#endregion
|
|
8813
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8814
|
-
const PlatformaSDKVersion = "1.83.
|
|
8813
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/version.js
|
|
8814
|
+
const PlatformaSDKVersion = "1.83.9";
|
|
8815
8815
|
//#endregion
|
|
8816
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8816
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/types.js
|
|
8817
8817
|
function isConfigLambda(cfgOrFh) {
|
|
8818
8818
|
return cfgOrFh.__renderLambda === true;
|
|
8819
8819
|
}
|
|
8820
8820
|
//#endregion
|
|
8821
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8821
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
|
|
8822
8822
|
function downgradeCfgOrLambda(data) {
|
|
8823
8823
|
if (data === void 0) return void 0;
|
|
8824
8824
|
if (isConfigLambda(data)) return data.handle;
|
|
8825
8825
|
return data;
|
|
8826
8826
|
}
|
|
8827
8827
|
//#endregion
|
|
8828
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
8828
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
|
|
8829
8829
|
/**
|
|
8830
8830
|
* BlockStorage Callback Implementations - wired to facade callbacks in BlockModelV3.done().
|
|
8831
8831
|
*
|
|
@@ -9179,7 +9179,7 @@ function deriveTemplateParamsFromStorage(storageJson, deriveTemplateParams) {
|
|
|
9179
9179
|
}
|
|
9180
9180
|
}
|
|
9181
9181
|
//#endregion
|
|
9182
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9182
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_model.js
|
|
9183
9183
|
/**
|
|
9184
9184
|
* Merges two feature flag objects with type-aware logic:
|
|
9185
9185
|
* - `supports*` (boolean): OR — `true` if either side is `true`
|
|
@@ -9545,7 +9545,7 @@ var BlockModelV3 = class BlockModelV3 {
|
|
|
9545
9545
|
}
|
|
9546
9546
|
};
|
|
9547
9547
|
//#endregion
|
|
9548
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
9548
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/leaf_rebrand.js
|
|
9549
9549
|
/**
|
|
9550
9550
|
* Replace every column leaf whose id equals `fromId` with `toId`, leaving
|
|
9551
9551
|
* other column refs (linkers, sub-anchors) intact. Wrapper recipes
|
|
@@ -10763,7 +10763,7 @@ var LRUCache = class LRUCache {
|
|
|
10763
10763
|
}
|
|
10764
10764
|
};
|
|
10765
10765
|
//#endregion
|
|
10766
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10766
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_providers/providers.js
|
|
10767
10767
|
/**
|
|
10768
10768
|
* Unified memoised factory dispatching to the right provider flavour by the
|
|
10769
10769
|
* source shape:
|
|
@@ -10852,7 +10852,7 @@ function hashRawPool(rawPool) {
|
|
|
10852
10852
|
return rawPool.map((b) => `${b.blockId}\x1f${b.prodCtx ?? ""}\x1f${b.stagingCtx ?? ""}\x1f${b.prodIncomplete ? 1 : 0}\x1f${b.stagingIncomplete ? 1 : 0}`).join("");
|
|
10853
10853
|
}
|
|
10854
10854
|
//#endregion
|
|
10855
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10855
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_providers/index.js
|
|
10856
10856
|
/**
|
|
10857
10857
|
* Build the default set of ColumnsProviders for the ambient render ctx:
|
|
10858
10858
|
* - `AccessorColumnsProvider` over `outputs` (if present)
|
|
@@ -10887,7 +10887,7 @@ function isColumnProvider(source) {
|
|
|
10887
10887
|
return typeof p.getColumns === "function" && typeof p.isFinal === "function";
|
|
10888
10888
|
}
|
|
10889
10889
|
//#endregion
|
|
10890
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
10890
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/data_column.js
|
|
10891
10891
|
/**
|
|
10892
10892
|
* Thrown by leaf-recipe factories when the requested column is provably
|
|
10893
10893
|
* absent in the active render ctx — i.e. every relevant accessor reports
|
|
@@ -11127,7 +11127,7 @@ function memoizeByEntry(fn) {
|
|
|
11127
11127
|
};
|
|
11128
11128
|
}
|
|
11129
11129
|
//#endregion
|
|
11130
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11130
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_overrided_recipe.js
|
|
11131
11131
|
/**
|
|
11132
11132
|
* Recipe wrapper that overlays {@link SpecOverrides} on top of any other
|
|
11133
11133
|
* recipe. The id is `ColumnOverriddenKey { source: inner.id, specOverrides }`.
|
|
@@ -11265,7 +11265,7 @@ var DataColumnOverriddenRecipe = class extends ColumnOverriddenRecipe {
|
|
|
11265
11265
|
}
|
|
11266
11266
|
};
|
|
11267
11267
|
//#endregion
|
|
11268
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11268
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_filtered_recipe.js
|
|
11269
11269
|
/**
|
|
11270
11270
|
* Recipe wrapper that fixes the values of selected axes of an inner recipe
|
|
11271
11271
|
* (axis slicing). The id is `FilteredPColumnId { source: inner.id,
|
|
@@ -11391,7 +11391,7 @@ function toAxisSelector(axis) {
|
|
|
11391
11391
|
return selector;
|
|
11392
11392
|
}
|
|
11393
11393
|
//#endregion
|
|
11394
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11394
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/index.js
|
|
11395
11395
|
/**
|
|
11396
11396
|
* Build a `ColumnRecipe` from a stringified id. Dispatches to the matching
|
|
11397
11397
|
* concrete recipe variant based on the id's encoding and recurses on
|
|
@@ -11442,7 +11442,7 @@ function ColumnRecipeGetStatus(id, opts = {}) {
|
|
|
11442
11442
|
}
|
|
11443
11443
|
const ColumnRecipe = Object.assign(ColumnRecipeBuild, { getStatus: ColumnRecipeGetStatus });
|
|
11444
11444
|
//#endregion
|
|
11445
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11445
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column_recipes/column_discovered_recipe.js
|
|
11446
11446
|
/**
|
|
11447
11447
|
* Recipe for columns identified by a {@link ColumnDiscoveredKey}: a base
|
|
11448
11448
|
* column + a `path` of linkers + qualifications.
|
|
@@ -11613,7 +11613,7 @@ function referencedUniIdsOf(key) {
|
|
|
11613
11613
|
return /* @__PURE__ */ new Set([key.column, ...(key.path ?? []).map((item) => item.column)]);
|
|
11614
11614
|
}
|
|
11615
11615
|
//#endregion
|
|
11616
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11616
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/column.js
|
|
11617
11617
|
/**
|
|
11618
11618
|
* Unified entry point — routes between the two top-level dispatchers:
|
|
11619
11619
|
* - string id (`PObjectId` / `ColumnUniversalId`) → {@link ColumnRecipe}
|
|
@@ -11627,7 +11627,7 @@ function Column(source, opts) {
|
|
|
11627
11627
|
return DataColumn(source, opts);
|
|
11628
11628
|
}
|
|
11629
11629
|
//#endregion
|
|
11630
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11630
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/columns_collection.js
|
|
11631
11631
|
/**
|
|
11632
11632
|
* Build a {@link ColumnsCollection} from sandbox-side source descriptors.
|
|
11633
11633
|
* Resolves the `columnsCollection` driver (either from `deps.driver` or via
|
|
@@ -11736,7 +11736,7 @@ function defaultCtxSources(ctx) {
|
|
|
11736
11736
|
return [...currentBlockSources(ctx), { kind: "result_pool" }];
|
|
11737
11737
|
}
|
|
11738
11738
|
//#endregion
|
|
11739
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11739
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/columns/utils.js
|
|
11740
11740
|
/**
|
|
11741
11741
|
* PObjectIds of every non-hit column referenced by `recipe.getQuery()`,
|
|
11742
11742
|
* deduped in traversal order. The hit column is
|
|
@@ -11867,7 +11867,7 @@ function hasSingleDataColumn(recipe) {
|
|
|
11867
11867
|
return recipe.getReferencedIds().length === 1;
|
|
11868
11868
|
}
|
|
11869
11869
|
//#endregion
|
|
11870
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11870
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/traverse.js
|
|
11871
11871
|
/**
|
|
11872
11872
|
* Recursively traverses a FilterSpec tree bottom-up, applying visitor callbacks.
|
|
11873
11873
|
*
|
|
@@ -11906,7 +11906,7 @@ function collectFilterSpecColumns(filter) {
|
|
|
11906
11906
|
});
|
|
11907
11907
|
}
|
|
11908
11908
|
//#endregion
|
|
11909
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
11909
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
|
|
11910
11910
|
/** Converts a QueryColumnId object into a SpecQueryExpression reference. */
|
|
11911
11911
|
function resolveColumnRef(col) {
|
|
11912
11912
|
return col.type === "axis" ? {
|
|
@@ -12234,7 +12234,7 @@ function isEmpty(value) {
|
|
|
12234
12234
|
return true;
|
|
12235
12235
|
}
|
|
12236
12236
|
//#endregion
|
|
12237
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12237
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/filters/distill.js
|
|
12238
12238
|
/**
|
|
12239
12239
|
* Strips non-FilterSpec metadata (whitelist approach) and removes
|
|
12240
12240
|
* unfilled leaves (type is undefined or any required field is undefined).
|
|
@@ -12339,7 +12339,7 @@ const REQUIRED_KEYS_BY_TYPE = {
|
|
|
12339
12339
|
greaterThanColumnOrEqual: ["column", "rhs"]
|
|
12340
12340
|
};
|
|
12341
12341
|
//#endregion
|
|
12342
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12342
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
|
|
12343
12343
|
/** Upgrade PlDataTableStateV2 to the latest version */
|
|
12344
12344
|
function upgradePlDataTableStateV2(state) {
|
|
12345
12345
|
if (!state) return createPlDataTableStateV2();
|
|
@@ -12697,7 +12697,7 @@ function parseLegacyLeafColumn(s) {
|
|
|
12697
12697
|
return parsed;
|
|
12698
12698
|
}
|
|
12699
12699
|
//#endregion
|
|
12700
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12700
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
|
|
12701
12701
|
/** Adapt a {@link ColumnRecipe} to the plain {@link RuleColumn} shape. */
|
|
12702
12702
|
function toRuleColumn(col) {
|
|
12703
12703
|
return {
|
|
@@ -12795,7 +12795,7 @@ function deriveAllLabels(options) {
|
|
|
12795
12795
|
})), deriveLabelsOptions).reduce((acc, label, index) => (acc[columns[index].id] = label, acc), {});
|
|
12796
12796
|
}
|
|
12797
12797
|
//#endregion
|
|
12798
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12798
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
|
|
12799
12799
|
/**
|
|
12800
12800
|
* Assemble a ptable def directly from recipes. Each secondary recipe is its own
|
|
12801
12801
|
* outer-joined subtree: `getQuery()` encodes its linker chain, and its
|
|
@@ -12859,8 +12859,8 @@ function columnToJoinEntry(col, qualifications) {
|
|
|
12859
12859
|
};
|
|
12860
12860
|
}
|
|
12861
12861
|
//#endregion
|
|
12862
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12863
|
-
function createColumnResolver(columns
|
|
12862
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/columnResolver.js
|
|
12863
|
+
function createColumnResolver(columns) {
|
|
12864
12864
|
const axisIds = [];
|
|
12865
12865
|
for (const c of columns) for (const ax of c.getSpec().axesSpec) axisIds.push(getAxisId(ax));
|
|
12866
12866
|
const byFullId = /* @__PURE__ */ new Map();
|
|
@@ -12868,9 +12868,7 @@ function createColumnResolver(columns, deps) {
|
|
|
12868
12868
|
for (const c of columns) {
|
|
12869
12869
|
byFullId.set(c.id, c);
|
|
12870
12870
|
const pid = extractPObjectId(c.id);
|
|
12871
|
-
|
|
12872
|
-
if (existing === void 0) byPObjectId.set(pid, c);
|
|
12873
|
-
else if (existing.id !== c.id) deps?.warn?.(`Ambiguous PObjectId ${pid}: recipe ids ${existing.id} and ${c.id} both match — keeping first.`);
|
|
12871
|
+
if (!byPObjectId.has(pid)) byPObjectId.set(pid, c);
|
|
12874
12872
|
}
|
|
12875
12873
|
return (ref) => {
|
|
12876
12874
|
if (ref.type === "axis") return axisIds.some((a) => matchAxisId(ref.id, a)) ? ref : void 0;
|
|
@@ -12883,7 +12881,7 @@ function createColumnResolver(columns, deps) {
|
|
|
12883
12881
|
};
|
|
12884
12882
|
}
|
|
12885
12883
|
//#endregion
|
|
12886
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12884
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
|
|
12887
12885
|
/**
|
|
12888
12886
|
* Discover columns from sources/anchors and split them into primary
|
|
12889
12887
|
* (direct anchor hits — zero-hop, query is a bare column) and secondary
|
|
@@ -12929,7 +12927,7 @@ function discoverLabelColumns(ctx, primary) {
|
|
|
12929
12927
|
}).getColumns();
|
|
12930
12928
|
}
|
|
12931
12929
|
//#endregion
|
|
12932
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
12930
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
|
|
12933
12931
|
function createPlDataTableV3(ctx, options) {
|
|
12934
12932
|
const state = upgradePlDataTableStateV2(options.tableState);
|
|
12935
12933
|
const primaryJoinType = options.primaryJoinType ?? "full";
|
|
@@ -12957,7 +12955,7 @@ function createPlDataTableV3(ctx, options) {
|
|
|
12957
12955
|
...primary,
|
|
12958
12956
|
...direct,
|
|
12959
12957
|
...linked.flatMap((lc) => [...collectLinkerColumns(lc), lc])
|
|
12960
|
-
]
|
|
12958
|
+
]);
|
|
12961
12959
|
const remapedDefaultFilters = remapFilterColumnIds(options.filters, resolver);
|
|
12962
12960
|
const filters = filterFilters(concatFilters(state.pTableParams.filters, state.pTableParams.defaultFilters ?? remapedDefaultFilters), resolver);
|
|
12963
12961
|
const sorting = filterSorting(resolveSorting(state.pTableParams.sorting, remapSortingColumnIds(options.sorting, resolver)), resolver);
|
|
@@ -13746,7 +13744,11 @@ const platforma$1 = BlockModelV3.create({
|
|
|
13746
13744
|
]) found.add(r);
|
|
13747
13745
|
if (found.size === 0) return [...allRegions];
|
|
13748
13746
|
return allRegions.filter((r) => found.has(r));
|
|
13749
|
-
}, { retentive: true }).
|
|
13747
|
+
}, { retentive: true }).output("nonCanonicalRegions", (ctx) => ctx.outputs?.resolve({
|
|
13748
|
+
field: "nonCanonicalRegions",
|
|
13749
|
+
assertFieldType: "Input",
|
|
13750
|
+
allowPermanentAbsence: true
|
|
13751
|
+
})?.getDataAsJsonOrUndefined()).outputWithStatus("pt", (ctx) => {
|
|
13750
13752
|
const pCols = ctx.outputs?.resolve("outputLiabilities")?.getPColumns();
|
|
13751
13753
|
if (pCols === void 0 || pCols.length === 0) return;
|
|
13752
13754
|
return createPlDataTableV3(ctx, {
|