@milaboratories/milaboratories.ui-examples.model 1.2.32 → 1.2.34

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,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.2.32 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.2.34 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 11s
10
+ created dist, dist in 4.7s
11
11
  
12
12
  ./src/index.ts → dist...
13
13
  (!) Circular dependency
14
14
  ../../../../sdk/model/dist/components/PFrameForGraphs.js -> ../../../../sdk/model/dist/components/PlDataTable.js -> ../../../../sdk/model/dist/components/PFrameForGraphs.js
15
- created dist in 7.8s
15
+ created dist in 4.1s
16
16
  Build completed successfully
@@ -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.2.32 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.2.34 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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.2.34
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6bc20d1]
8
+ - @platforma-sdk/model@1.42.51
9
+
10
+ ## 1.2.33
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [3d9638e]
15
+ - @platforma-sdk/model@1.42.47
16
+
3
17
  ## 1.2.32
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4293,17 +4293,24 @@
4293
4293
  ZodError: ZodError
4294
4294
  });
4295
4295
 
4296
- /** Range in bytes, from should be less or equal than to. */
4296
+ /** Range in bytes, from should be less than to. */
4297
4297
  z.object({
4298
4298
  /** Included left border. */
4299
- from: z.number(),
4299
+ from: z.number().min(0),
4300
4300
  /** Excluded right border. */
4301
- to: z.number(),
4301
+ to: z.number().min(1),
4302
4302
  });
4303
4303
 
4304
4304
  function assertNever(x) {
4305
4305
  throw new Error('Unexpected object: ' + x); // This is ok, because this is a possible runtime error
4306
4306
  }
4307
+ /**
4308
+ * Return unique entries of the array by the provided id
4309
+ * For each id, the last entry is kept
4310
+ */
4311
+ function uniqueBy(array, makeId) {
4312
+ return [...new Map(array.map((e) => [makeId(e), e])).values()];
4313
+ }
4307
4314
 
4308
4315
  /**
4309
4316
  * Type guard function that checks if the given value is a valid DataInfo.
@@ -4632,6 +4639,7 @@
4632
4639
  IsVirtual: 'pl7.app/graph/isVirtual',
4633
4640
  },
4634
4641
  HideDataFromUi: 'pl7.app/hideDataFromUi',
4642
+ HideDataFromGraphs: 'pl7.app/hideDataFromGraphs',
4635
4643
  IsLinkerColumn: 'pl7.app/isLinkerColumn',
4636
4644
  Label: 'pl7.app/label',
4637
4645
  Max: 'pl7.app/max',
@@ -4653,6 +4661,7 @@
4653
4661
  [Annotation.DiscreteValues]: z.array(z.string()).or(z.array(z.number())),
4654
4662
  [Annotation.Graph.IsVirtual]: z.boolean(),
4655
4663
  [Annotation.HideDataFromUi]: z.boolean(),
4664
+ [Annotation.HideDataFromGraphs]: z.boolean(),
4656
4665
  [Annotation.IsLinkerColumn]: z.boolean(),
4657
4666
  [Annotation.Max]: z.number(),
4658
4667
  [Annotation.Min]: z.number(),
@@ -6830,7 +6839,7 @@
6830
6839
  }
6831
6840
  }
6832
6841
 
6833
- var version = "1.42.46";
6842
+ var version = "1.42.51";
6834
6843
 
6835
6844
  const PlatformaSDKVersion = version;
6836
6845
 
@@ -7198,13 +7207,6 @@
7198
7207
  function isColumnOptional(spec) {
7199
7208
  return readAnnotation(spec, Annotation.Table.Visibility) === 'optional';
7200
7209
  }
7201
- /**
7202
- * Return unique entries of the array by the provided id
7203
- * For each id, the last entry is kept
7204
- */
7205
- function uniqueBy(array, makeId) {
7206
- return [...new Map(array.map((e) => [makeId(e), e])).values()];
7207
- }
7208
7210
  /**
7209
7211
  * Create p-table spec and handle given ui table state
7210
7212
  *