@platforma-open/milaboratories.humanization-score.model 0.3.0 → 0.3.1

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.
@@ -1,18 +1,20 @@
1
1
   WARN  Issue while reading "/home/runner/work/humanization-score/humanization-score/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.humanization-score.model@0.3.0 build /home/runner/work/humanization-score/humanization-score/model
3
+ > @platforma-open/milaboratories.humanization-score.model@0.3.1 build /home/runner/work/humanization-score/humanization-score/model
4
4
  > ts-builder build --target block-model && block-tools build-model
5
5
 
6
6
  Building block-model project...
7
7
  ↳ cli.mjs -c /home/runner/work/humanization-score/humanization-score/node_modules/.pnpm/@milaboratories+ts-builder@1.5.0_@types+node@24.5.2_rollup@4.55.1_vue@3.5.26_typescript@5.6.3__yaml@2.8.2/node_modules/@milaboratories/ts-builder/dist/configs/rolldown.block-model.config.js
8
- [log] <DIR>/index.d.ts.map asset size: 0.40 kB
9
- [log] <DIR>/index.js.map asset │ size: 10.30 kB
10
- [log] <DIR>/index.js chunk │ size: 4.23 kB
11
- [log] <DIR>/index.d.ts chunk │ size: 58.33 kB
12
- [log] <DIR>/index.cjs.map asset │ size: 10.42 kB
13
- [log] <DIR>/index.cjs chunk │ size: 4.48 kB
14
- [log] <DIR>/bundle.js.map asset │ size: 714.87 kB
15
- [log] <DIR>/bundle.js chunk │ size: 363.08 kB
8
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugin `rolldown-plugin-dts:generate`. See https://rolldown.rs/options/checks#plugintimings for more details.
9
+
10
+ [log] <DIR>/index.d.ts.map asset │ size: 0.33 kB
11
+ [log] <DIR>/index.js.map asset │ size: 6.59 kB
12
+ [log] <DIR>/index.js chunk │ size: 2.68 kB
13
+ [log] <DIR>/index.d.ts chunk │ size: 57.01 kB
14
+ [log] <DIR>/index.cjs.map asset │ size: 6.71 kB
15
+ [log] <DIR>/index.cjs chunk │ size: 2.87 kB
16
+ [log] <DIR>/bundle.js.map asset │ size: 711.16 kB
17
+ [log] <DIR>/bundle.js chunk │ size: 361.44 kB
16
18
  [log]
17
- [success] rolldown v1.0.0-rc.18 Finished in 3.04 s
19
+ [success] rolldown v1.0.0-rc.18 Finished in 3.15 s
18
20
  Build completed successfully
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/home/runner/work/humanization-score/humanization-score/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.humanization-score.model@0.3.0 lint /home/runner/work/humanization-score/humanization-score/model
3
+ > @platforma-open/milaboratories.humanization-score.model@0.3.1 lint /home/runner/work/humanization-score/humanization-score/model
4
4
  > eslint .
5
5
 
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/humanization-score/humanization-score/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.humanization-score.model@0.3.0 type-check /home/runner/work/humanization-score/humanization-score/model
3
+ > @platforma-open/milaboratories.humanization-score.model@0.3.1 type-check /home/runner/work/humanization-score/humanization-score/model
4
4
  > ts-builder type-check --target block-model
5
5
 
6
6
  ↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @platforma-open/milaboratories.humanization-score.model
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5a28f73: Give the charts a solid fill instead of the default white: the score
8
+ distribution histogram now renders in blue and the per-sample box plot in teal,
9
+ using colours from graph-maker's fixed palette. Applies to newly created blocks.
10
+ - 2c8b719: Remove the per-sample box plot ("By Sample") view: the `perSamplePf` /
11
+ `perSamplePfPcols` outputs, the `graphStateBoxplot` state and its defaults, and
12
+ the `/by-sample` section are gone. The score distribution histogram remains.
13
+
3
14
  ## 0.3.0
4
15
 
5
16
  ### Minor Changes
package/dist/bundle.js CHANGED
@@ -25,14 +25,14 @@
25
25
  enumerable: true
26
26
  }) : target, mod));
27
27
  //#endregion
28
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/plugin_handle.js
28
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/plugin_handle.js
29
29
  const PLUGIN_OUTPUT_PREFIX = "plugin-output#";
30
30
  /** Construct the output key for a plugin output in the block outputs map. */
31
31
  function pluginOutputKey(handle, outputKey) {
32
32
  return `${PLUGIN_OUTPUT_PREFIX}${handle}#${outputKey}`;
33
33
  }
34
34
  //#endregion
35
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/block_storage.js
35
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/block_storage.js
36
36
  /**
37
37
  * Discriminator key for BlockStorage format detection.
38
38
  * This unique hash-based key identifies data as BlockStorage vs legacy formats.
@@ -274,7 +274,7 @@
274
274
  return pluginEntry.__data;
275
275
  }
276
276
  //#endregion
277
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/block_migrations.js
277
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/block_migrations.js
278
278
  /** Create a DataVersioned wrapper with correct shape */
279
279
  function makeVersionedData(version, data) {
280
280
  return {
@@ -769,7 +769,7 @@
769
769
  }
770
770
  };
771
771
  //#endregion
772
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/internal.js
772
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/internal.js
773
773
  /** Utility code helping to identify whether the code is running in actual UI environment */
774
774
  function isInUI() {
775
775
  return typeof globalThis.getPlatforma !== "undefined" || typeof globalThis.platforma !== "undefined";
@@ -839,7 +839,7 @@
839
839
  futureResolves.get(handle).push(onResolve);
840
840
  }
841
841
  //#endregion
842
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
842
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/block_storage_facade.js
843
843
  /**
844
844
  * All facade callback names as constants.
845
845
  * These are the source of truth - the interface is derived from these.
@@ -874,7 +874,7 @@
874
874
  for (const key of Object.values(BlockStorageFacadeCallbacks)) tryRegisterCallback(key, callbacks[key]);
875
875
  }
876
876
  //#endregion
877
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/future.js
877
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/future.js
878
878
  var FutureRef = class FutureRef {
879
879
  isResolved = false;
880
880
  resolvedValue;
@@ -6001,7 +6001,7 @@
6001
6001
  buildMethodMap(getServiceUiMethods);
6002
6002
  buildMethodMap(getServiceModelMethods);
6003
6003
  //#endregion
6004
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/accessor.js
6004
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/accessor.js
6005
6005
  function ifDef(value, cb) {
6006
6006
  return value === void 0 ? void 0 : cb(value);
6007
6007
  }
@@ -6212,11 +6212,11 @@
6212
6212
  }
6213
6213
  };
6214
6214
  //#endregion
6215
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/internal.js
6215
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/internal.js
6216
6216
  const StagingAccessorName = "staging";
6217
6217
  const MainAccessorName = "main";
6218
6218
  //#endregion
6219
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
6219
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/util/axis_filtering.js
6220
6220
  function filterDataInfoEntries(dataInfoEntries, axisFilters) {
6221
6221
  const sortedFilters = [...axisFilters].sort((a, b) => b[0] - a[0]);
6222
6222
  const { type } = dataInfoEntries;
@@ -6315,7 +6315,7 @@
6315
6315
  return x == null;
6316
6316
  }
6317
6317
  //#endregion
6318
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
6318
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_labels.js
6319
6319
  const DISTANCE_PENALTY = .001;
6320
6320
  const LABEL_TYPE = "__LABEL__";
6321
6321
  const LABEL_TYPE_FULL = "__LABEL__@1";
@@ -6581,7 +6581,7 @@
6581
6581
  return result;
6582
6582
  }
6583
6583
  //#endregion
6584
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/util/label.js
6584
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/util/label.js
6585
6585
  /** @deprecated Use deriveDistinctLabels */
6586
6586
  function deriveLabels(values, getSpec, options = {}) {
6587
6587
  return deriveDistinctLabels(values.map(getSpec), options).map((label, i) => ({
@@ -6590,7 +6590,7 @@
6590
6590
  }));
6591
6591
  }
6592
6592
  //#endregion
6593
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
6593
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/util/pcolumn_data.js
6594
6594
  const PCD_PREFIX = "PColumnData/";
6595
6595
  const RT_RESOURCE_MAP = PCD_PREFIX + "ResourceMap";
6596
6596
  const RT_RESOURCE_MAP_PARTITIONED = PCD_PREFIX + "Partitioned/ResourceMap";
@@ -6890,7 +6890,7 @@
6890
6890
  return columns.every(isPColumnReady);
6891
6891
  }
6892
6892
  //#endregion
6893
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
6893
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/util/column_collection.js
6894
6894
  function isPColumnValues(value) {
6895
6895
  if (!Array.isArray(value)) return false;
6896
6896
  if (value.length === 0) return true;
@@ -7165,7 +7165,7 @@
7165
7165
  }
7166
7166
  };
7167
7167
  //#endregion
7168
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/services/block_services.js
7168
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/services/block_services.js
7169
7169
  /**
7170
7170
  * Services required by all V3 blocks by default.
7171
7171
  * Edit this when a new service should be available to all blocks.
@@ -7180,7 +7180,7 @@
7180
7180
  };
7181
7181
  resolveRequiredServices(BLOCK_SERVICE_FLAGS);
7182
7182
  //#endregion
7183
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
7183
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/services/service_bridge.js
7184
7184
  /**
7185
7185
  * Builds a ServiceProxy from a ServiceDispatch.
7186
7186
  * Each service method call is forwarded to dispatch.callServiceMethod.
@@ -7189,7 +7189,7 @@
7189
7189
  return ((serviceId) => Object.freeze(Object.fromEntries(dispatch.getServiceMethods(serviceId).map((method) => [method, (...args) => dispatch.callServiceMethod(serviceId, method, ...args)]))));
7190
7190
  }
7191
7191
  //#endregion
7192
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/services/get_services.js
7192
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/services/get_services.js
7193
7193
  const cachedServices = /* @__PURE__ */ new WeakMap();
7194
7194
  function getService(name) {
7195
7195
  const ctx = getCfgRenderCtx();
@@ -7203,7 +7203,7 @@
7203
7203
  })();
7204
7204
  }
7205
7205
  //#endregion
7206
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
7206
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/util/pframe_upgraders.js
7207
7207
  function patchInSetFilters(filters) {
7208
7208
  const inSetToOrEqual = (predicate) => {
7209
7209
  if (predicate.operator !== "InSet") return predicate;
@@ -7241,7 +7241,7 @@
7241
7241
  return filters.map((filter) => mapFilter(filter, inSetToOrEqual));
7242
7242
  }
7243
7243
  //#endregion
7244
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/render/api.js
7244
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/render/api.js
7245
7245
  /**
7246
7246
  * Helper function to match domain objects
7247
7247
  * @param query Optional domain to match against
@@ -7692,26 +7692,26 @@
7692
7692
  }
7693
7693
  };
7694
7694
  //#endregion
7695
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/version.js
7696
- const PlatformaSDKVersion = "1.77.15";
7695
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/version.js
7696
+ const PlatformaSDKVersion = "1.77.17";
7697
7697
  //#endregion
7698
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/bconfig/types.js
7698
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/bconfig/types.js
7699
7699
  function isConfigLambda(cfgOrFh) {
7700
7700
  return cfgOrFh.__renderLambda === true;
7701
7701
  }
7702
7702
  //#endregion
7703
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
7703
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/bconfig/normalization.js
7704
7704
  function downgradeCfgOrLambda(data) {
7705
7705
  if (data === void 0) return void 0;
7706
7706
  if (isConfigLambda(data)) return data.handle;
7707
7707
  return data;
7708
7708
  }
7709
7709
  //#endregion
7710
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/plugin_model.js
7710
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/plugin_model.js
7711
7711
  /** Symbol for internal plugin model creation — not accessible to external consumers */
7712
7712
  const CREATE_PLUGIN_MODEL = Symbol("createPluginModel");
7713
7713
  //#endregion
7714
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
7714
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/block_storage_callbacks.js
7715
7715
  /**
7716
7716
  * BlockStorage Callback Implementations - wired to facade callbacks in BlockModelV3.done().
7717
7717
  *
@@ -7888,7 +7888,7 @@
7888
7888
  }
7889
7889
  }
7890
7890
  //#endregion
7891
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/block_model.js
7891
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/block_model.js
7892
7892
  /**
7893
7893
  * Merges two feature flag objects with type-aware logic:
7894
7894
  * - `supports*` (boolean): OR — `true` if either side is `true`
@@ -8199,7 +8199,7 @@
8199
8199
  }
8200
8200
  };
8201
8201
  //#endregion
8202
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/pframe_utils/axes.js
8202
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/pframe_utils/axes.js
8203
8203
  /** Create id for column copy with added keys in axes domains */
8204
8204
  const colId = (id, domains, contextDomains) => {
8205
8205
  let wid = id.toString();
@@ -8305,7 +8305,7 @@
8305
8305
  })];
8306
8306
  }
8307
8307
  //#endregion
8308
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js
8308
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js
8309
8309
  function getAllRelatedColumns(ctx, predicate) {
8310
8310
  const columns = new PColumnCollection();
8311
8311
  columns.addColumnProvider(ctx.resultPool);
@@ -8363,7 +8363,7 @@
8363
8363
  return enrichCompatible(blockAxes, [...compatibleWithoutLabels, ...compatibleLabels]);
8364
8364
  }
8365
8365
  //#endregion
8366
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
8366
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
8367
8367
  function isHiddenFromGraphColumn(column) {
8368
8368
  return !!readAnnotationJson(column, Annotation.HideDataFromGraphs);
8369
8369
  }
@@ -8391,7 +8391,7 @@
8391
8391
  }));
8392
8392
  }
8393
8393
  //#endregion
8394
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/columns/column_selector.js
8394
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/columns/column_selector.js
8395
8395
  function normalizeStringMatchers(input) {
8396
8396
  if (typeof input === "string") return [{
8397
8397
  type: "regex",
@@ -8435,7 +8435,7 @@
8435
8435
  return (Array.isArray(input) ? input : [input]).map(convertRelaxedColumnSelectorToMultiColumnSelector);
8436
8436
  }
8437
8437
  //#endregion
8438
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/columns/column_snapshot_provider.js
8438
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/columns/column_snapshot_provider.js
8439
8439
  /**
8440
8440
  * Simple provider wrapping an array of PColumns.
8441
8441
  * Always complete, data status always 'ready'.
@@ -8560,7 +8560,7 @@
8560
8560
  throw new Error("Unknown ColumnSource type");
8561
8561
  }
8562
8562
  //#endregion
8563
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/columns/column_collection_builder.js
8563
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/columns/column_collection_builder.js
8564
8564
  /**
8565
8565
  * Mutable builder that accumulates column sources, then produces
8566
8566
  * a ColumnCollection (plain) or AnchoredColumnCollection (with anchors).
@@ -8788,7 +8788,7 @@
8788
8788
  }
8789
8789
  }
8790
8790
  //#endregion
8791
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/columns/ctx_column_sources.js
8791
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/columns/ctx_column_sources.js
8792
8792
  /**
8793
8793
  * Collect ColumnSnapshotProviders from `outputs`, `prerun`, and
8794
8794
  * `resultPool` in that order. Dedup keeps the first occurrence per
@@ -8861,7 +8861,7 @@
8861
8861
  }
8862
8862
  }
8863
8863
  //#endregion
8864
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/filters/traverse.js
8864
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/filters/traverse.js
8865
8865
  /**
8866
8866
  * Recursively traverses a FilterSpec tree bottom-up, applying visitor callbacks.
8867
8867
  *
@@ -8900,7 +8900,7 @@
8900
8900
  });
8901
8901
  }
8902
8902
  //#endregion
8903
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
8903
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/filters/converters/filterToQuery.js
8904
8904
  /** Parses a CanonicalizedJson<PTableColumnId> string into a SpecQueryExpression reference. */
8905
8905
  function resolveColumnRef(columnStr) {
8906
8906
  const parsed = JSON.parse(columnStr);
@@ -9213,7 +9213,7 @@
9213
9213
  return true;
9214
9214
  }
9215
9215
  //#endregion
9216
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/filters/distill.js
9216
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/filters/distill.js
9217
9217
  /**
9218
9218
  * Strips non-FilterSpec metadata (whitelist approach) and removes
9219
9219
  * unfilled leaves (type is undefined or any required field is undefined).
@@ -9318,7 +9318,7 @@
9318
9318
  greaterThanColumnOrEqual: ["column", "rhs"]
9319
9319
  };
9320
9320
  //#endregion
9321
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
9321
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.js
9322
9322
  /** Upgrade PlDataTableStateV2 to the latest version */
9323
9323
  function upgradePlDataTableStateV2(state) {
9324
9324
  if (!state) return createPlDataTableStateV2();
@@ -9579,7 +9579,7 @@
9579
9579
  };
9580
9580
  }
9581
9581
  //#endregion
9582
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_tooltips.js
9582
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/labels/derive_distinct_tooltips.js
9583
9583
  /** Format tooltip strings for each entry. Returns `undefined` when nothing useful. */
9584
9584
  function deriveDistinctTooltips(entries) {
9585
9585
  return entries.map(formatTooltip);
@@ -9646,7 +9646,7 @@
9646
9646
  return `${axisName} context: ${entries.map(([k, v]) => `${k}=${v}`).join(", ")}`;
9647
9647
  }
9648
9648
  //#endregion
9649
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
9649
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/utils.js
9650
9650
  /** Check if column should be omitted from the table */
9651
9651
  function isColumnHidden(spec) {
9652
9652
  return readAnnotation(spec, Annotation.Table.Visibility) === "hidden";
@@ -9858,7 +9858,7 @@
9858
9858
  return Object.fromEntries(tooltips.flatMap((t, i) => isNil(t) ? [] : [[columns[i].id, t]]));
9859
9859
  }
9860
9860
  //#endregion
9861
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
9861
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPTableDefV3.js
9862
9862
  function createPTableDefV3(params) {
9863
9863
  let query = {
9864
9864
  type: params.primaryJoinType === "inner" ? "innerJoin" : "fullJoin",
@@ -9929,7 +9929,7 @@
9929
9929
  };
9930
9930
  }
9931
9931
  //#endregion
9932
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
9932
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/discoverColumns.js
9933
9933
  /** Discover columns from sources/anchors and normalize into a flat TableColumnVariant list. */
9934
9934
  function discoverTableColumnSnaphots(ctx, options) {
9935
9935
  const resolvedOptions = {
@@ -10031,7 +10031,7 @@
10031
10031
  });
10032
10032
  }
10033
10033
  //#endregion
10034
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.15/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
10034
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.77.17/node_modules/@platforma-sdk/model/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js
10035
10035
  function createPlDataTableV3(ctx, options) {
10036
10036
  const pframeSpec = ctx.getService("pframeSpec");
10037
10037
  const state = upgradePlDataTableStateV2(options.tableState);
@@ -10370,12 +10370,8 @@
10370
10370
  title: "Humanness Score Distribution",
10371
10371
  template: "bins",
10372
10372
  currentTab: null,
10373
- axesSettings: { other: { binsCount: 20 } }
10374
- });
10375
- const defaultGraphStateBoxplot = () => ({
10376
- title: "Humanness by Sample",
10377
- template: "box",
10378
- currentTab: null
10373
+ axesSettings: { other: { binsCount: 20 } },
10374
+ layersSettings: { bins: { fillColor: "#2D93FA" } }
10379
10375
  });
10380
10376
  const inputSelectors = [{
10381
10377
  axes: [{ name: "pl7.app/sampleId" }, { name: "pl7.app/vdj/clonotypeKey" }],
@@ -10387,13 +10383,11 @@
10387
10383
  const dataModel = new DataModelBuilder().from("v1").upgradeLegacy(({ args, uiState }) => ({
10388
10384
  ...args,
10389
10385
  tableState: uiState.tableState,
10390
- graphStateHistogram: uiState.graphStateHistogram ?? defaultGraphStateHistogram(),
10391
- graphStateBoxplot: uiState.graphStateBoxplot ?? defaultGraphStateBoxplot()
10386
+ graphStateHistogram: uiState.graphStateHistogram ?? defaultGraphStateHistogram()
10392
10387
  })).init(() => ({
10393
10388
  customBlockLabel: "",
10394
10389
  tableState: createPlDataTableStateV2(),
10395
- graphStateHistogram: defaultGraphStateHistogram(),
10396
- graphStateBoxplot: defaultGraphStateBoxplot()
10390
+ graphStateHistogram: defaultGraphStateHistogram()
10397
10391
  }));
10398
10392
  const platforma$1 = BlockModelV3.create(dataModel).args((data) => {
10399
10393
  if (!data.inputAnchor) throw new Error("Input anchor is required");
@@ -10423,72 +10417,20 @@
10423
10417
  columnId: c.id,
10424
10418
  spec: c.spec
10425
10419
  }));
10426
- }).outputWithStatus("perSamplePf", (ctx) => {
10427
- const humanness = ctx.outputs?.resolve("outputHumanness")?.getPColumns();
10428
- if (humanness === void 0) return void 0;
10429
- const ref = ctx.data.inputAnchor;
10430
- if (ref === void 0) return void 0;
10431
- const abundance = ctx.resultPool.getAnchoredPColumns({ main: ref }, [{
10432
- axes: [{
10433
- anchor: "main",
10434
- idx: 0
10435
- }, {
10436
- anchor: "main",
10437
- idx: 1
10438
- }],
10439
- annotations: {
10440
- "pl7.app/isAbundance": "true",
10441
- "pl7.app/abundance/normalized": "false",
10442
- "pl7.app/abundance/isPrimary": "true"
10443
- }
10444
- }]);
10445
- return createPFrameForGraphs(ctx, [...humanness, ...abundance ?? []]);
10446
- }).output("perSamplePfPcols", (ctx) => {
10447
- const humanness = ctx.outputs?.resolve("outputHumanness")?.getPColumns();
10448
- if (humanness === void 0 || humanness.length === 0) return void 0;
10449
- const ref = ctx.data.inputAnchor;
10450
- if (ref === void 0) return void 0;
10451
- const abundance = ctx.resultPool.getAnchoredPColumns({ main: ref }, [{
10452
- axes: [{
10453
- anchor: "main",
10454
- idx: 0
10455
- }, {
10456
- anchor: "main",
10457
- idx: 1
10458
- }],
10459
- annotations: {
10460
- "pl7.app/isAbundance": "true",
10461
- "pl7.app/abundance/normalized": "false",
10462
- "pl7.app/abundance/isPrimary": "true"
10463
- }
10464
- }]);
10465
- return [...humanness, ...abundance ?? []].map((c) => ({
10466
- columnId: c.id,
10467
- spec: c.spec
10468
- }));
10469
10420
  }).output("isRunning", (ctx) => ctx.outputs?.getIsReadyOrError() === false).title(() => "Humanization Score").subtitle((ctx) => {
10470
10421
  if (ctx.data.customBlockLabel) return ctx.data.customBlockLabel;
10471
10422
  return "Humanization Score";
10472
- }).sections((_) => [
10473
- {
10474
- type: "link",
10475
- href: "/",
10476
- label: "Table"
10477
- },
10478
- {
10479
- type: "link",
10480
- href: "/histogram",
10481
- label: "Score Distribution"
10482
- },
10483
- {
10484
- type: "link",
10485
- href: "/by-sample",
10486
- label: "By Sample"
10487
- }
10488
- ]).done();
10423
+ }).sections((_) => [{
10424
+ type: "link",
10425
+ href: "/",
10426
+ label: "Table"
10427
+ }, {
10428
+ type: "link",
10429
+ href: "/histogram",
10430
+ label: "Score Distribution"
10431
+ }]).done();
10489
10432
  //#endregion
10490
10433
  exports.HUMANNESS_SCORE_COLUMN = HUMANNESS_SCORE_COLUMN;
10491
- exports.defaultGraphStateBoxplot = defaultGraphStateBoxplot;
10492
10434
  exports.defaultGraphStateHistogram = defaultGraphStateHistogram;
10493
10435
  exports.platforma = platforma$1;
10494
10436
  });