@milaboratories/milaboratories.ui-examples.model 1.3.5 → 1.3.7

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.5 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.3.7 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 6.6s
10
+ created dist, dist in 11.8s
11
11
  
12
12
  ./src/index.ts → dist...
13
- created dist in 4.3s
13
+ created dist in 10.4s
14
14
  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.3.5 type-check /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.3.7 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.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bf6fe49]
8
+ - @platforma-sdk/model@1.45.45
9
+
10
+ ## 1.3.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [2c07d5a]
15
+ - @platforma-sdk/model@1.45.42
16
+
3
17
  ## 1.3.5
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -5085,7 +5085,7 @@
5085
5085
  ? undefined
5086
5086
  : {
5087
5087
  ...pObj,
5088
- data: cb(pObj.data),
5088
+ data: cb(typeof pObj.data === 'function' ? pObj.data() : pObj.data),
5089
5089
  };
5090
5090
  }
5091
5091
  function extractAllColumns(entry) {
@@ -6134,15 +6134,19 @@
6134
6134
  const isValues = (d) => Array.isArray(d);
6135
6135
  const isAccessor = (d) => d instanceof TreeNodeAccessor;
6136
6136
  let ready = true;
6137
- if (isAccessor(c.data)) {
6138
- ready &&= c.data.getIsReadyOrError();
6137
+ const data = typeof c.data === 'function' ? c.data() : c.data;
6138
+ if (data == null) {
6139
+ return false;
6140
+ }
6141
+ else if (isAccessor(data)) {
6142
+ ready &&= data.getIsReadyOrError();
6139
6143
  }
6140
- else if (isDataInfo(c.data)) {
6141
- visitDataInfo(c.data, (v) => ready &&= v.getIsReadyOrError());
6144
+ else if (isDataInfo(data)) {
6145
+ visitDataInfo(data, (v) => ready &&= v.getIsReadyOrError());
6142
6146
  }
6143
- else if (!isValues(c.data)) {
6147
+ else if (!isValues(data)) {
6144
6148
  // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
6145
- throw Error(`unsupported column data type: ${c.data}`);
6149
+ throw Error(`unsupported column data type: ${data}`);
6146
6150
  }
6147
6151
  return ready;
6148
6152
  }
@@ -6997,7 +7001,7 @@
6997
7001
  }
6998
7002
  }
6999
7003
 
7000
- var version = "1.45.35";
7004
+ var version = "1.45.45";
7001
7005
 
7002
7006
  const PlatformaSDKVersion = version;
7003
7007