@milaboratories/milaboratories.ui-examples.model 1.3.16 → 1.3.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/milaboratories.ui-examples.model",
3
- "version": "1.3.16",
3
+ "version": "1.3.18",
4
4
  "description": "Block model",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -8,16 +8,16 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "dependencies": {
10
10
  "zod": "~3.23.8",
11
- "@platforma-sdk/model": "1.49.0"
11
+ "@platforma-sdk/model": "1.50.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "eslint": "^9.25.1",
15
15
  "typescript": "~5.6.3",
16
- "@platforma-sdk/block-tools": "2.6.28",
17
- "@milaboratories/build-configs": "1.2.1",
16
+ "@platforma-sdk/block-tools": "2.6.29",
18
17
  "@platforma-sdk/eslint-config": "1.2.0",
19
- "@milaboratories/ts-configs": "1.2.0",
20
- "@milaboratories/ts-builder": "1.2.1"
18
+ "@milaboratories/build-configs": "1.2.1",
19
+ "@milaboratories/ts-builder": "1.2.1",
20
+ "@milaboratories/ts-configs": "1.2.0"
21
21
  },
22
22
  "scripts": {
23
23
  "build": "ts-builder build --target block-model && block-tools build-model",
package/src/index.ts CHANGED
@@ -119,7 +119,7 @@ export const platforma = BlockModel.create('Heavy')
119
119
  return rowCount > 0 ? sheets : [];
120
120
  })
121
121
 
122
- .output('ptV2', (ctx) => {
122
+ .outputWithStatus('ptV2', (ctx) => {
123
123
  const rowCount = ctx.uiState.dataTableV2.numRows ?? 0;
124
124
  const makePartitionId = (rowCount: number, i: number) => Math.floor((2 * i) / (rowCount + 1));
125
125
  const columns: PColumn<PColumnValues>[] = [