@knotx/plugins-group 0.4.4 → 0.4.6

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/dist/index.cjs CHANGED
@@ -236,9 +236,7 @@ const _Group = class _Group extends (_a = core.BasePlugin, _getNode_dec = [decor
236
236
  console.warn("dualRelation version changed", version, this.dualRelation.changeHistory);
237
237
  })
238
238
  );
239
- this.subscriptions.push(this.registerNodeLevelGetter((node) => {
240
- return this.dualRelation.getNodeLevel(node.id);
241
- }));
239
+ this.subscriptions.push(this.registerNodeLevelGetter((node) => this.dualRelation.getNodeLevel(node.id)));
242
240
  this.addNodePipe({
243
241
  transform: () => rxjs.pipe(
244
242
  // 组关系维护检测
package/dist/index.js CHANGED
@@ -234,9 +234,7 @@ const _Group = class _Group extends (_a = BasePlugin, _getNode_dec = [inject.get
234
234
  console.warn("dualRelation version changed", version, this.dualRelation.changeHistory);
235
235
  })
236
236
  );
237
- this.subscriptions.push(this.registerNodeLevelGetter((node) => {
238
- return this.dualRelation.getNodeLevel(node.id);
239
- }));
237
+ this.subscriptions.push(this.registerNodeLevelGetter((node) => this.dualRelation.getNodeLevel(node.id)));
240
238
  this.addNodePipe({
241
239
  transform: () => pipe(
242
240
  // 组关系维护检测
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/plugins-group",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Group Plugin for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -28,20 +28,20 @@
28
28
  "dist"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@knotx/jsx": "0.4.4",
32
- "@knotx/plugins-base-render": "0.4.4"
31
+ "@knotx/jsx": "0.4.6",
32
+ "@knotx/plugins-base-render": "0.4.6"
33
33
  },
34
34
  "dependencies": {
35
35
  "rxjs": "^7.8.1",
36
- "@knotx/core": "0.4.4",
37
- "@knotx/decorators": "0.4.4"
36
+ "@knotx/core": "0.4.6",
37
+ "@knotx/decorators": "0.4.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@knotx/build-config": "0.4.4",
41
- "@knotx/eslint-config": "0.4.4",
42
- "@knotx/jsx": "0.4.4",
43
- "@knotx/plugins-base-render": "0.4.4",
44
- "@knotx/typescript-config": "0.4.4"
40
+ "@knotx/build-config": "0.4.6",
41
+ "@knotx/eslint-config": "0.4.6",
42
+ "@knotx/jsx": "0.4.6",
43
+ "@knotx/plugins-base-render": "0.4.6",
44
+ "@knotx/typescript-config": "0.4.6"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "unbuild",