sprof 1.1.3 → 1.2.0

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.
@@ -0,0 +1 @@
1
+ export {};
package/dist/sprof.js CHANGED
@@ -9204,17 +9204,7 @@ const Jn = class Ss {
9204
9204
  }
9205
9205
  changeRelation(e) {
9206
9206
  const n = e.find((i) => i.id === this.valueTypeId);
9207
- if (n) {
9208
- if (n.isRadio()) {
9209
- this.showRadio = !0, this.showSet = !1;
9210
- return;
9211
- }
9212
- if (n.isSet()) {
9213
- this.showSet = !0, this.showRadio = !1;
9214
- return;
9215
- }
9216
- this.showSet = !1, this.showRadio = !1, this.valueType = n;
9217
- }
9207
+ n && (this.valueType = n, this.showRadio = n.isRadio(), this.showSet = n.isSet());
9218
9208
  }
9219
9209
  editRegisterProperty(e) {
9220
9210
  this.isEdit = e ?? !this.isEdit;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sprof",
3
3
  "description": "components for the designer and uikit.",
4
4
  "author": "Stanislav Lushnikov, Daniil Gaivoronskiy",
5
- "version": "1.1.3",
5
+ "version": "1.2.0",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "./dist/sprof.js",