@grafana/scenes 5.6.1 → 5.6.2--canary.844.10073621961.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,24 +16,24 @@ 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
|
19
|
+
var _test;
|
20
20
|
class SafeSerializableSceneObject {
|
21
21
|
constructor(value) {
|
22
|
-
__privateAdd(this,
|
22
|
+
__privateAdd(this, _test, void 0);
|
23
23
|
this.text = "__sceneObject";
|
24
|
-
__privateSet(this,
|
24
|
+
__privateSet(this, _test, value);
|
25
25
|
}
|
26
26
|
toString() {
|
27
27
|
return void 0;
|
28
28
|
}
|
29
29
|
valueOf() {
|
30
|
-
return __privateGet(this,
|
30
|
+
return __privateGet(this, _test);
|
31
31
|
}
|
32
32
|
get value() {
|
33
33
|
return this;
|
34
34
|
}
|
35
35
|
}
|
36
|
-
|
36
|
+
_test = 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 #
|
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;AAGZ,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,EAEO,OAAU,GAAA;AACf,IAAA,OAAO,YAAK,CAAA,IAAA,EAAA,KAAA,CAAA,CAAA;AAAA,GACd;AAAA,EAEA,IAAW,KAAQ,GAAA;AACjB,IAAO,OAAA,IAAA,CAAA;AAAA,GACT;AACF,CAAA;AAnBE,KAAA,GAAA,IAAA,OAAA,EAAA;;;;"}
|
package/dist/index.js
CHANGED
@@ -3138,24 +3138,24 @@ 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
|
3141
|
+
var _test;
|
3142
3142
|
class SafeSerializableSceneObject {
|
3143
3143
|
constructor(value) {
|
3144
|
-
__privateAdd$1(this,
|
3144
|
+
__privateAdd$1(this, _test, void 0);
|
3145
3145
|
this.text = "__sceneObject";
|
3146
|
-
__privateSet$1(this,
|
3146
|
+
__privateSet$1(this, _test, value);
|
3147
3147
|
}
|
3148
3148
|
toString() {
|
3149
3149
|
return void 0;
|
3150
3150
|
}
|
3151
3151
|
valueOf() {
|
3152
|
-
return __privateGet$1(this,
|
3152
|
+
return __privateGet$1(this, _test);
|
3153
3153
|
}
|
3154
3154
|
get value() {
|
3155
3155
|
return this;
|
3156
3156
|
}
|
3157
3157
|
}
|
3158
|
-
|
3158
|
+
_test = new WeakMap();
|
3159
3159
|
|
3160
3160
|
var __defProp$z = Object.defineProperty;
|
3161
3161
|
var __defProps$n = Object.defineProperties;
|