@milaboratories/milaboratories.ui-examples.model 1.3.11 → 1.3.13

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,14 +1,14 @@
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.11 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.3.13 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
  
9
9
  ./src/index.ts → dist, dist...
10
- created dist, dist in 2.4s
10
+ created dist, dist in 2.9s
11
11
  
12
12
  ./src/index.ts → dist...
13
- created dist in 2.9s
13
+ created dist in 4.6s
14
14
  Build completed successfully
@@ -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.11 lint /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.3.13 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.11 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.3.13 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,19 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8abf3c6]
8
+ - @platforma-sdk/model@1.48.12
9
+
10
+ ## 1.3.12
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [3e168c4]
15
+ - @platforma-sdk/model@1.48.4
16
+
3
17
  ## 1.3.11
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -7378,7 +7378,7 @@
7378
7378
  }
7379
7379
  }
7380
7380
 
7381
- var version = "1.48.2";
7381
+ var version = "1.48.12";
7382
7382
 
7383
7383
  const PlatformaSDKVersion = version;
7384
7384
 
@@ -7699,10 +7699,6 @@
7699
7699
  sorting: params.sorting,
7700
7700
  };
7701
7701
  }
7702
- /** Check if column should be omitted from the table */
7703
- function isColumnHidden(spec) {
7704
- return readAnnotation(spec, Annotation.Table.Visibility) === 'hidden';
7705
- }
7706
7702
  /** Check if column is hidden by default */
7707
7703
  function isColumnOptional(spec) {
7708
7704
  return readAnnotation(spec, Annotation.Table.Visibility) === 'optional';
@@ -7715,8 +7711,7 @@
7715
7711
  * @param tableState table ui state
7716
7712
  * @returns PlAgDataTableV2 table source
7717
7713
  */
7718
- function createPlDataTableV2(ctx, inputColumns, tableState, ops) {
7719
- const columns = inputColumns.filter((c) => isLinkerColumn(c.spec) || !isColumnHidden(c.spec));
7714
+ function createPlDataTableV2(ctx, columns, tableState, ops) {
7720
7715
  if (columns.length === 0)
7721
7716
  return undefined;
7722
7717
  const tableStateNormalized = upgradePlDataTableStateV2(tableState);
@@ -7725,7 +7720,7 @@
7725
7720
  return undefined;
7726
7721
  const fullLabelColumns = getMatchingLabelColumns(columns.map(getColumnIdAndSpec), allLabelColumns);
7727
7722
  const fullColumns = [...columns, ...fullLabelColumns];
7728
- const fullColumnsAxes = uniqueBy([...fullColumns.flatMap((c) => c.spec.axesSpec.map((a) => getAxisId(a)))], (a) => canonicalizeJson(a));
7723
+ const fullColumnsAxes = uniqueBy(fullColumns.flatMap((c) => c.spec.axesSpec.map((a) => getAxisId(a))), (a) => canonicalizeJson(a));
7729
7724
  const fullColumnsIds = [
7730
7725
  ...fullColumnsAxes.map((a) => ({ type: 'axis', id: a })),
7731
7726
  ...fullColumns.map((c) => ({ type: 'column', id: c.id })),