@platforma-open/milaboratories.clonotype-clustering.model 2.13.3 → 2.13.4

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,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/clonotype-clustering/clonotype-clustering/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.clonotype-clustering.model@2.13.3 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.13.4 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,21 +11,21 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- ESM dist/index.js 6.48 KB
15
- ESM dist/index.js.map 15.96 KB
16
- ESM ⚡️ Build success in 220ms
17
14
  CJS dist/index.cjs 6.49 KB
18
15
  CJS dist/index.cjs.map 16.05 KB
19
- CJS ⚡️ Build success in 220ms
16
+ CJS ⚡️ Build success in 181ms
17
+ ESM dist/index.js 6.48 KB
18
+ ESM dist/index.js.map 15.96 KB
19
+ ESM ⚡️ Build success in 181ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 2811ms
21
+ DTS ⚡️ Build success in 2536ms
22
22
  DTS dist/index.d.cts 5.85 KB
23
23
  DTS dist/index.d.ts 5.85 KB
24
24
  vite v6.3.5 building for production...
25
25
  transforming...
26
- ✓ 69 modules transformed.
26
+ ✓ 71 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 242.78 kB │ gzip: 46.12 kB │ map: 517.30 kB
30
- dist/bundle.js 258.04 kB │ gzip: 46.87 kB │ map: 518.96 kB
31
- ✓ built in 1.50s
29
+ dist/bundle.js 244.24 kB │ gzip: 46.47 kB │ map: 520.29 kB
30
+ dist/bundle.js 259.56 kB │ gzip: 47.23 kB │ map: 521.96 kB
31
+ ✓ built in 898ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.clonotype-clustering.model
2
2
 
3
+ ## 2.13.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 2065c11: [blocks] no message about unsupported OS
8
+
3
9
  ## 2.13.3
4
10
 
5
11
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -3964,6 +3964,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3964
3964
  quotelessJson,
3965
3965
  ZodError
3966
3966
  });
3967
+ z.object({
3968
+ type: z.literal("plain"),
3969
+ content: z.string()
3970
+ });
3967
3971
  z.object({
3968
3972
  /** Included left border. */
3969
3973
  from: z.number().min(0),
@@ -4257,14 +4261,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4257
4261
  const Annotation = {
4258
4262
  DiscreteValues: "pl7.app/discreteValues",
4259
4263
  Graph: {
4260
- IsVirtual: "pl7.app/graph/isVirtual"
4264
+ Axis: {
4265
+ HighCardinality: "pl7.app/graph/axis/highCardinality",
4266
+ LowerLimit: "pl7.app/graph/axis/lowerLimit",
4267
+ SymmetricRange: "pl7.app/graph/axis/symmetricRange",
4268
+ UpperLimit: "pl7.app/graph/axis/upperLimit"
4269
+ },
4270
+ IsDenseAxis: "pl7.app/graph/isDenseAxis",
4271
+ IsVirtual: "pl7.app/graph/isVirtual",
4272
+ Palette: "pl7.app/graph/palette",
4273
+ Thresholds: "pl7.app/graph/thresholds",
4274
+ TreatAbsentValuesAs: "pl7.app/graph/treatAbsentValuesAs"
4261
4275
  },
4262
4276
  HideDataFromUi: "pl7.app/hideDataFromUi",
4263
4277
  HideDataFromGraphs: "pl7.app/hideDataFromGraphs",
4278
+ IsDiscreteFilter: "pl7.app/isDiscreteFilter",
4264
4279
  IsLinkerColumn: "pl7.app/isLinkerColumn",
4280
+ IsSubset: "pl7.app/isSubset",
4265
4281
  Label: "pl7.app/label",
4266
4282
  Max: "pl7.app/max",
4267
4283
  Min: "pl7.app/min",
4284
+ MultipliesBy: "pl7.app/multipliesBy",
4268
4285
  Parents: "pl7.app/parents",
4269
4286
  Sequence: {
4270
4287
  Annotation: {
@@ -4278,14 +4295,29 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4278
4295
  },
4279
4296
  Trace: "pl7.app/trace"
4280
4297
  };
4298
+ const ValueTypeSchema = z.enum(["Int", "Long", "Float", "Double", "String"]);
4281
4299
  const AnnotationJson = {
4282
4300
  [Annotation.DiscreteValues]: z.array(z.string()).or(z.array(z.number())),
4301
+ [Annotation.Graph.Axis.HighCardinality]: z.boolean(),
4302
+ [Annotation.Graph.Axis.LowerLimit]: z.number(),
4303
+ [Annotation.Graph.Axis.UpperLimit]: z.number(),
4304
+ [Annotation.Graph.Axis.SymmetricRange]: z.boolean(),
4305
+ [Annotation.Graph.IsDenseAxis]: z.boolean(),
4306
+ [Annotation.Graph.Palette]: z.object({ mapping: z.record(z.number()), name: z.string() }),
4307
+ [Annotation.Graph.Thresholds]: z.array(z.object({
4308
+ columnId: z.object({ valueType: ValueTypeSchema, name: z.string() }),
4309
+ value: z.number()
4310
+ })),
4311
+ [Annotation.Graph.TreatAbsentValuesAs]: z.number(),
4283
4312
  [Annotation.Graph.IsVirtual]: z.boolean(),
4284
4313
  [Annotation.HideDataFromUi]: z.boolean(),
4285
4314
  [Annotation.HideDataFromGraphs]: z.boolean(),
4315
+ [Annotation.IsDiscreteFilter]: z.boolean(),
4286
4316
  [Annotation.IsLinkerColumn]: z.boolean(),
4317
+ [Annotation.IsSubset]: z.boolean(),
4287
4318
  [Annotation.Max]: z.number(),
4288
4319
  [Annotation.Min]: z.number(),
4320
+ [Annotation.MultipliesBy]: z.array(z.string()),
4289
4321
  [Annotation.Parents]: z.array(z.string()),
4290
4322
  [Annotation.Sequence.Annotation.Mapping]: z.record(z.string(), z.string()),
4291
4323
  [Annotation.Sequence.IsAnnotation]: z.boolean(),
@@ -6523,7 +6555,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6523
6555
  this.ctx.logError(msg);
6524
6556
  }
6525
6557
  }
6526
- var version = "1.43.2";
6558
+ var version = "1.44.5";
6527
6559
  const PlatformaSDKVersion = version;
6528
6560
  function isConfigLambda(cfgOrFh) {
6529
6561
  return cfgOrFh.__renderLambda === true;
@@ -6821,7 +6853,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6821
6853
  if (params.coreColumnPredicate) {
6822
6854
  coreColumns = [];
6823
6855
  for (const c of params.columns)
6824
- if (params.coreColumnPredicate(c.spec))
6856
+ if (params.coreColumnPredicate(getColumnIdAndSpec(c)))
6825
6857
  coreColumns.push(c);
6826
6858
  else
6827
6859
  secondaryColumns.push(c);
@@ -6848,9 +6880,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6848
6880
  return readAnnotation(spec, Annotation.Table.Visibility) === "optional";
6849
6881
  }
6850
6882
  function createPlDataTableV2(ctx, inputColumns, tableState, ops) {
6851
- if (inputColumns.length === 0)
6852
- return void 0;
6853
6883
  const columns = inputColumns.filter((c) => isLinkerColumn(c.spec) || !isColumnHidden(c.spec));
6884
+ if (columns.length === 0)
6885
+ return void 0;
6854
6886
  const tableStateNormalized = upgradePlDataTableStateV2(tableState);
6855
6887
  const allLabelColumns = getAllLabelColumns(ctx.resultPool);
6856
6888
  if (!allLabelColumns)
@@ -6900,6 +6932,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6900
6932
  return columns.filter((c) => isColumnOptional(c.spec)).map((c) => c.id);
6901
6933
  })());
6902
6934
  columns.filter((c) => isLinkerColumn(c.spec)).forEach((c) => hiddenColumns.delete(c.id));
6935
+ const coreColumnPredicate = ops == null ? void 0 : ops.coreColumnPredicate;
6903
6936
  [...partitionFilters.map((f) => f.column), ...filters.map((f) => f.column), ...sorting.map((s) => s.column)].filter((c) => c.type === "column").forEach((c) => hiddenColumns.delete(c.id));
6904
6937
  const visibleColumns = columns.filter((c) => !hiddenColumns.has(c.id));
6905
6938
  const visibleLabelColumns = getMatchingLabelColumns(visibleColumns.map(getColumnIdAndSpec), allLabelColumns);
@@ -6912,7 +6945,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6912
6945
  partitionFilters,
6913
6946
  filters,
6914
6947
  sorting,
6915
- coreColumnPredicate: ops == null ? void 0 : ops.coreColumnPredicate
6948
+ coreColumnPredicate
6916
6949
  });
6917
6950
  const visibleHandle = ctx.createPTable(visibleDef);
6918
6951
  return {
@@ -7065,7 +7098,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7065
7098
  if (!blockColumns) {
7066
7099
  const columns2 = new PColumnCollection();
7067
7100
  columns2.addColumnProvider(ctx.resultPool);
7068
- const allColumns = columns2.getColumns(() => true, { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? [];
7101
+ const allColumns = columns2.getColumns((spec) => !isHiddenFromGraphColumn(spec), { dontWaitAllData: true, overrideLabelAnnotation: false }) ?? [];
7069
7102
  if (!allColumnsReady(allColumns)) {
7070
7103
  return void 0;
7071
7104
  }