@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/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/bundle.js +19 -3
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +6 -6
- package/src/index.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.ui-examples.model@1.3.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.3.18 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
|
|
4
4
|
> ts-builder build --target block-model && block-tools build-model
|
|
5
5
|
|
|
6
6
|
Building block-model project...
|
|
7
7
|
↳ rollup -c /configs/rollup.block-model.config.js
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist, dist[22m...[39m
|
|
10
|
-
[32mcreated [1mdist, dist[22m in [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m973ms[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./src/index.ts[22m → [1mdist[22m...[39m
|
|
13
13
|
[1m[33m(!) Circular dependency[39m[22m
|
|
14
14
|
../../../../sdk/model/dist/components/PFrameForGraphs.js -> ../../../../sdk/model/dist/pframe_utils/columns.js -> ../../../../sdk/model/dist/components/PFrameForGraphs.js
|
|
15
|
-
[32mcreated [1mdist[22m in [
|
|
15
|
+
[32mcreated [1mdist[22m in [1m1.3s[22m[39m
|
|
16
16
|
Build completed successfully
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.ui-examples.model@1.3.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.3.18 lint /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
|
|
4
4
|
> eslint .
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.ui-examples.model@1.3.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.3.18 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
|
|
4
4
|
> ts-builder types --target block-model
|
|
5
5
|
|
|
6
6
|
↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.3.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a12641f: Updated PlAgDataTableV2 example.
|
|
8
|
+
|
|
9
|
+
## 1.3.17
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [fc75a16]
|
|
14
|
+
- @platforma-sdk/model@1.50.0
|
|
15
|
+
|
|
3
16
|
## 1.3.16
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -7378,7 +7378,7 @@
|
|
|
7378
7378
|
}
|
|
7379
7379
|
}
|
|
7380
7380
|
|
|
7381
|
-
var version = "1.
|
|
7381
|
+
var version = "1.50.0";
|
|
7382
7382
|
|
|
7383
7383
|
const PlatformaSDKVersion = version;
|
|
7384
7384
|
|
|
@@ -7449,6 +7449,14 @@
|
|
|
7449
7449
|
retentiveOutput(key, rf) {
|
|
7450
7450
|
return this.output(key, rf, { retentive: true });
|
|
7451
7451
|
}
|
|
7452
|
+
/** Shortcut for {@link output} with withStatus flag set to true. */
|
|
7453
|
+
outputWithStatus(key, rf) {
|
|
7454
|
+
return this.output(key, rf, { withStatus: true });
|
|
7455
|
+
}
|
|
7456
|
+
/** Shortcut for {@link output} with retentive and withStatus flags set to true. */
|
|
7457
|
+
retentiveOutputWithStatus(key, rf) {
|
|
7458
|
+
return this.output(key, rf, { retentive: true, withStatus: true });
|
|
7459
|
+
}
|
|
7452
7460
|
argsValid(cfgOrRf) {
|
|
7453
7461
|
if (typeof cfgOrRf === 'function') {
|
|
7454
7462
|
tryRegisterCallback('inputsValid', () => cfgOrRf(new RenderCtx()));
|
|
@@ -7605,7 +7613,15 @@
|
|
|
7605
7613
|
return { config };
|
|
7606
7614
|
// normal operation inside the UI
|
|
7607
7615
|
else
|
|
7608
|
-
return
|
|
7616
|
+
return {
|
|
7617
|
+
...getPlatformaInstance({ sdkVersion: PlatformaSDKVersion, apiVersion: platformaApiVersion }),
|
|
7618
|
+
blockModelInfo: {
|
|
7619
|
+
outputs: Object.fromEntries(Object.entries(this.config.outputs)
|
|
7620
|
+
.map(([key, value]) => [key, {
|
|
7621
|
+
withStatus: Boolean(isConfigLambda(value) && value.withStatus),
|
|
7622
|
+
}])),
|
|
7623
|
+
},
|
|
7624
|
+
};
|
|
7609
7625
|
}
|
|
7610
7626
|
}
|
|
7611
7627
|
|
|
@@ -8009,7 +8025,7 @@
|
|
|
8009
8025
|
];
|
|
8010
8026
|
return rowCount > 0 ? sheets : [];
|
|
8011
8027
|
})
|
|
8012
|
-
.
|
|
8028
|
+
.outputWithStatus('ptV2', (ctx) => {
|
|
8013
8029
|
const rowCount = ctx.uiState.dataTableV2.numRows ?? 0;
|
|
8014
8030
|
const makePartitionId = (rowCount, i) => Math.floor((2 * i) / (rowCount + 1));
|
|
8015
8031
|
const columns = [
|