@milaboratories/milaboratories.ui-examples.model 1.2.28 → 1.2.30

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.28 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.2.30 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
- ↳ rollup -c configs/rollup.block-model.config.js
7
+ ↳ rollup -c /configs/rollup.block-model.config.js
8
8
  
9
9
  ./src/index.ts → dist, dist...
10
- created dist, dist in 4.6s
10
+ created dist, dist in 10.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 3.5s
15
+ created dist in 3.4s
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.28 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.2.30 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.30
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [27c258f]
8
+ - @platforma-sdk/model@1.42.35
9
+
10
+ ## 1.2.29
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [c432f9a]
15
+ - @platforma-sdk/model@1.42.25
16
+
3
17
  ## 1.2.28
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -6829,7 +6829,7 @@
6829
6829
  }
6830
6830
  }
6831
6831
 
6832
- var version = "1.42.23";
6832
+ var version = "1.42.35";
6833
6833
 
6834
6834
  const PlatformaSDKVersion = version;
6835
6835
 
@@ -7017,6 +7017,10 @@
7017
7017
  }
7018
7018
  /** Upgrade PlDataTableStateV2 to the latest version */
7019
7019
  function upgradePlDataTableStateV2(state) {
7020
+ // Block just added, had no state, model started earlier than the UI
7021
+ if (!state) {
7022
+ return createPlDataTableStateV2();
7023
+ }
7020
7024
  // v1 -> v2
7021
7025
  if (!('version' in state)) {
7022
7026
  // Non upgradeable as sourceId calculation algorithm has changed, resetting state to default