@grafana/scenes 5.6.2--canary.844.10073643378.0 → 5.6.2--canary.844.10073760230.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,15 +16,15 @@ var __privateSet = (obj, member, value, setter) => {
16
16
  setter ? setter.call(obj, value) : member.set(obj, value);
17
17
  return value;
18
18
  };
19
- var _test;
19
+ var _value;
20
20
  class SafeSerializableSceneObject {
21
21
  constructor(value) {
22
- __privateAdd(this, _test, void 0);
22
+ __privateAdd(this, _value, void 0);
23
23
  this.text = "__sceneObject";
24
24
  this.valueOf = () => {
25
- return __privateGet(this, _test);
25
+ return __privateGet(this, _value);
26
26
  };
27
- __privateSet(this, _test, value);
27
+ __privateSet(this, _value, value);
28
28
  }
29
29
  toString() {
30
30
  return void 0;
@@ -33,7 +33,7 @@ class SafeSerializableSceneObject {
33
33
  return this;
34
34
  }
35
35
  }
36
- _test = new WeakMap();
36
+ _value = new WeakMap();
37
37
 
38
38
  export { SafeSerializableSceneObject };
39
39
  //# sourceMappingURL=SafeSerializableSceneObject.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeSerializableSceneObject.js","sources":["../../../src/utils/SafeSerializableSceneObject.ts"],"sourcesContent":["import { ScopedVar } from '@grafana/data';\nimport { SceneObject } from '../core/types';\n\nexport class SafeSerializableSceneObject implements ScopedVar {\n #test: SceneObject;\n\n public text = '__sceneObject';\n\n public constructor(value: SceneObject) {\n this.#test = value;\n }\n\n public toString() {\n return undefined;\n }\n\n public valueOf = () => {\n return this.#test;\n };\n\n public get value() {\n return this;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAA,KAAA,CAAA;AAGO,MAAM,2BAAiD,CAAA;AAAA,EAKrD,YAAY,KAAoB,EAAA;AAJvC,IAAA,YAAA,CAAA,IAAA,EAAA,KAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEA,IAAA,IAAA,CAAO,IAAO,GAAA,eAAA,CAAA;AAUd,IAAA,IAAA,CAAO,UAAU,MAAM;AACrB,MAAA,OAAO,YAAK,CAAA,IAAA,EAAA,KAAA,CAAA,CAAA;AAAA,KACd,CAAA;AATE,IAAA,YAAA,CAAA,IAAA,EAAK,KAAQ,EAAA,KAAA,CAAA,CAAA;AAAA,GACf;AAAA,EAEO,QAAW,GAAA;AAChB,IAAO,OAAA,KAAA,CAAA,CAAA;AAAA,GACT;AAAA,EAMA,IAAW,KAAQ,GAAA;AACjB,IAAO,OAAA,IAAA,CAAA;AAAA,GACT;AACF,CAAA;AAnBE,KAAA,GAAA,IAAA,OAAA,EAAA;;;;"}
1
+ {"version":3,"file":"SafeSerializableSceneObject.js","sources":["../../../src/utils/SafeSerializableSceneObject.ts"],"sourcesContent":["import { ScopedVar } from '@grafana/data';\nimport { SceneObject } from '../core/types';\n\nexport class SafeSerializableSceneObject implements ScopedVar {\n #value: SceneObject;\n\n public text = '__sceneObject';\n\n public constructor(value: SceneObject) {\n this.#value = value;\n }\n\n public toString() {\n return undefined;\n }\n\n public valueOf = () => {\n return this.#value;\n };\n\n public get value() {\n return this;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAA,MAAA,CAAA;AAGO,MAAM,2BAAiD,CAAA;AAAA,EAKrD,YAAY,KAAoB,EAAA;AAJvC,IAAA,YAAA,CAAA,IAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEA,IAAA,IAAA,CAAO,IAAO,GAAA,eAAA,CAAA;AAUd,IAAA,IAAA,CAAO,UAAU,MAAM;AACrB,MAAA,OAAO,YAAK,CAAA,IAAA,EAAA,MAAA,CAAA,CAAA;AAAA,KACd,CAAA;AATE,IAAA,YAAA,CAAA,IAAA,EAAK,MAAS,EAAA,KAAA,CAAA,CAAA;AAAA,GAChB;AAAA,EAEO,QAAW,GAAA;AAChB,IAAO,OAAA,KAAA,CAAA,CAAA;AAAA,GACT;AAAA,EAMA,IAAW,KAAQ,GAAA;AACjB,IAAO,OAAA,IAAA,CAAA;AAAA,GACT;AACF,CAAA;AAnBE,MAAA,GAAA,IAAA,OAAA,EAAA;;;;"}
package/dist/index.js CHANGED
@@ -3138,15 +3138,15 @@ var __privateSet$1 = (obj, member, value, setter) => {
3138
3138
  setter ? setter.call(obj, value) : member.set(obj, value);
3139
3139
  return value;
3140
3140
  };
3141
- var _test;
3141
+ var _value;
3142
3142
  class SafeSerializableSceneObject {
3143
3143
  constructor(value) {
3144
- __privateAdd$1(this, _test, void 0);
3144
+ __privateAdd$1(this, _value, void 0);
3145
3145
  this.text = "__sceneObject";
3146
3146
  this.valueOf = () => {
3147
- return __privateGet$1(this, _test);
3147
+ return __privateGet$1(this, _value);
3148
3148
  };
3149
- __privateSet$1(this, _test, value);
3149
+ __privateSet$1(this, _value, value);
3150
3150
  }
3151
3151
  toString() {
3152
3152
  return void 0;
@@ -3155,7 +3155,7 @@ class SafeSerializableSceneObject {
3155
3155
  return this;
3156
3156
  }
3157
3157
  }
3158
- _test = new WeakMap();
3158
+ _value = new WeakMap();
3159
3159
 
3160
3160
  var __defProp$z = Object.defineProperty;
3161
3161
  var __defProps$n = Object.defineProperties;