@milaboratories/milaboratories.ui-examples.model 1.3.17 → 1.3.19
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 +20 -4
- 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 +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +4 -4
- 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.19 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 [1m2.5s[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 [1m2.5s[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.19 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.19 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.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5dc0a70]
|
|
8
|
+
- @platforma-sdk/model@1.51.2
|
|
9
|
+
|
|
10
|
+
## 1.3.18
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- a12641f: Updated PlAgDataTableV2 example.
|
|
15
|
+
|
|
3
16
|
## 1.3.17
|
|
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.51.2";
|
|
7382
7382
|
|
|
7383
7383
|
const PlatformaSDKVersion = version;
|
|
7384
7384
|
|
|
@@ -7625,6 +7625,10 @@
|
|
|
7625
7625
|
}
|
|
7626
7626
|
}
|
|
7627
7627
|
|
|
7628
|
+
function identity(x) {
|
|
7629
|
+
return x;
|
|
7630
|
+
}
|
|
7631
|
+
|
|
7628
7632
|
function makeDefaultPTableParams() {
|
|
7629
7633
|
return {
|
|
7630
7634
|
sourceId: null,
|
|
@@ -7679,7 +7683,7 @@
|
|
|
7679
7683
|
.getColumns({
|
|
7680
7684
|
name: PColumnName.Label,
|
|
7681
7685
|
axes: [{}], // exactly one axis
|
|
7682
|
-
}, { dontWaitAllData: true });
|
|
7686
|
+
}, { dontWaitAllData: true, overrideLabelAnnotation: false });
|
|
7683
7687
|
}
|
|
7684
7688
|
/** Get label columns matching the provided columns from the result pool */
|
|
7685
7689
|
function getMatchingLabelColumns(columns, allLabelColumns) {
|
|
@@ -7796,7 +7800,19 @@
|
|
|
7796
7800
|
const allLabelColumns = getAllLabelColumns(ctx.resultPool);
|
|
7797
7801
|
if (!allLabelColumns)
|
|
7798
7802
|
return undefined;
|
|
7799
|
-
|
|
7803
|
+
let fullLabelColumns = getMatchingLabelColumns(columns.map(getColumnIdAndSpec), allLabelColumns);
|
|
7804
|
+
fullLabelColumns = deriveLabels(fullLabelColumns, identity, { includeNativeLabel: true }).map((v) => {
|
|
7805
|
+
return {
|
|
7806
|
+
...v.value,
|
|
7807
|
+
spec: {
|
|
7808
|
+
...v.value.spec,
|
|
7809
|
+
annotations: {
|
|
7810
|
+
...v.value.spec.annotations,
|
|
7811
|
+
[Annotation.Label]: v.label,
|
|
7812
|
+
},
|
|
7813
|
+
},
|
|
7814
|
+
};
|
|
7815
|
+
});
|
|
7800
7816
|
const fullColumns = [...columns, ...fullLabelColumns];
|
|
7801
7817
|
const fullColumnsAxes = uniqueBy(fullColumns.flatMap((c) => c.spec.axesSpec.map((a) => getAxisId(a))), (a) => canonicalizeJson(a));
|
|
7802
7818
|
const fullColumnsIds = [
|
|
@@ -8025,7 +8041,7 @@
|
|
|
8025
8041
|
];
|
|
8026
8042
|
return rowCount > 0 ? sheets : [];
|
|
8027
8043
|
})
|
|
8028
|
-
.
|
|
8044
|
+
.outputWithStatus('ptV2', (ctx) => {
|
|
8029
8045
|
const rowCount = ctx.uiState.dataTableV2.numRows ?? 0;
|
|
8030
8046
|
const makePartitionId = (rowCount, i) => Math.floor((2 * i) / (rowCount + 1));
|
|
8031
8047
|
const columns = [
|