@perses-dev/scatter-chart-plugin 0.11.0 → 0.12.0-beta.2
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/__mf/js/ScatterChart.4740a874.js +7 -0
- package/__mf/js/async/110.8512b427.js +2 -0
- package/__mf/js/async/121.9d084511.js +2 -0
- package/__mf/js/async/181.18c285ae.js +2 -0
- package/__mf/js/async/192.9fbee3d3.js +1 -0
- package/__mf/js/async/2.1b2672eb.js +1 -0
- package/__mf/js/async/235.81e833b0.js +1 -0
- package/__mf/js/async/274.d165da28.js +2 -0
- package/__mf/js/async/356.9dfc8e9a.js +1 -0
- package/__mf/js/async/392.b2ece3f7.js +2 -0
- package/__mf/js/async/407.3e77582a.js +4 -0
- package/__mf/js/async/407.3e77582a.js.LICENSE.txt +9 -0
- package/__mf/js/async/437.db148207.js +111 -0
- package/__mf/js/async/{546.890eb713.js.LICENSE.txt → 437.db148207.js.LICENSE.txt} +3 -5
- package/__mf/js/async/470.8feddb6c.js +2 -0
- package/__mf/js/async/496.a89288da.js +1 -0
- package/__mf/js/async/562.1fe06a96.js +2 -0
- package/__mf/js/async/587.b1ed43d0.js +1 -0
- package/__mf/js/async/588.c021c7c3.js +1 -0
- package/__mf/js/async/616.77087df0.js +1 -0
- package/__mf/js/async/659.fe2f5636.js +1 -0
- package/__mf/js/async/71.c57011db.js +1 -0
- package/__mf/js/async/77.a8481f40.js +1 -0
- package/__mf/js/async/788.08cbe46f.js +43 -0
- package/__mf/js/async/{818.633d6b7a.js.LICENSE.txt → 788.08cbe46f.js.LICENSE.txt} +37 -15
- package/__mf/js/async/873.71e7adc7.js +1 -0
- package/__mf/js/async/941.ad1296a4.js +2 -0
- package/__mf/js/async/968.26aff355.js +1 -0
- package/__mf/js/async/978.4c8c09d4.js +1 -0
- package/__mf/js/async/__federation_expose_ScatterChart.0a3fcc80.js +2 -0
- package/__mf/js/async/lib-router.a6d99897.js +2 -0
- package/__mf/js/{main.69b99e8f.js → main.08ff3d42.js} +7 -7
- package/lib/ScatterChart.d.ts +3 -3
- package/lib/ScatterChart.d.ts.map +1 -1
- package/lib/ScatterChart.js +2 -2
- package/lib/ScatterChart.js.map +1 -1
- package/lib/ScatterChartPanel.d.ts +4 -4
- package/lib/ScatterChartPanel.d.ts.map +1 -1
- package/lib/ScatterChartPanel.js +4 -4
- package/lib/ScatterChartPanel.js.map +1 -1
- package/lib/Scatterplot.d.ts +2 -2
- package/lib/Scatterplot.d.ts.map +1 -1
- package/lib/Scatterplot.js +10 -10
- package/lib/Scatterplot.js.map +1 -1
- package/lib/bootstrap.js +2 -2
- package/lib/getPluginModule.d.ts +1 -1
- package/lib/getPluginModule.d.ts.map +1 -1
- package/lib/getPluginModule.js +3 -1
- package/lib/getPluginModule.js.map +1 -1
- package/lib/index-federation.js +1 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/mock-trace-data.d.ts +1 -1
- package/lib/mock-trace-data.d.ts.map +1 -1
- package/lib/mock-trace-data.js.map +1 -1
- package/lib/scatter-chart-model.d.ts +1 -1
- package/lib/scatter-chart-model.d.ts.map +1 -1
- package/lib/scatter-chart-model.js.map +1 -1
- package/lib/setup-tests.d.ts +1 -1
- package/lib/setup-tests.d.ts.map +1 -1
- package/lib/setup-tests.js +2 -2
- package/lib/setup-tests.js.map +1 -1
- package/lib/utils/timezone-formatter.js +1 -1
- package/mf-manifest.json +33 -32
- package/mf-stats.json +33 -32
- package/package.json +10 -10
- package/__mf/js/ScatterChart.27c398ab.js +0 -7
- package/__mf/js/async/110.573b13ac.js +0 -2
- package/__mf/js/async/121.7043fdc2.js +0 -2
- package/__mf/js/async/177.585c94a1.js +0 -1
- package/__mf/js/async/181.c91a9444.js +0 -2
- package/__mf/js/async/187.3665f1f9.js +0 -7
- package/__mf/js/async/187.3665f1f9.js.LICENSE.txt +0 -39
- package/__mf/js/async/192.256edb6d.js +0 -1
- package/__mf/js/async/2.d9f44960.js +0 -1
- package/__mf/js/async/235.a62b5017.js +0 -1
- package/__mf/js/async/274.8816e34e.js +0 -2
- package/__mf/js/async/356.e609d5d5.js +0 -1
- package/__mf/js/async/386.d928dbb2.js +0 -2
- package/__mf/js/async/392.a606ee4e.js +0 -2
- package/__mf/js/async/470.c3023e9e.js +0 -2
- package/__mf/js/async/546.890eb713.js +0 -24
- package/__mf/js/async/587.897ac4fa.js +0 -1
- package/__mf/js/async/588.4463833d.js +0 -1
- package/__mf/js/async/616.9868c892.js +0 -1
- package/__mf/js/async/659.610cc4a5.js +0 -1
- package/__mf/js/async/71.d031251a.js +0 -1
- package/__mf/js/async/818.633d6b7a.js +0 -147
- package/__mf/js/async/873.f4cacca5.js +0 -1
- package/__mf/js/async/941.8c172b0a.js +0 -2
- package/__mf/js/async/968.0af58e72.js +0 -1
- package/__mf/js/async/978.3f293f1e.js +0 -1
- package/__mf/js/async/__federation_expose_ScatterChart.17f79ad2.js +0 -2
- package/__mf/js/async/lib-router.ebfbe288.js +0 -2
- package/lib/cjs/ScatterChart.js +0 -33
- package/lib/cjs/ScatterChartPanel.js +0 -171
- package/lib/cjs/Scatterplot.js +0 -154
- package/lib/cjs/bootstrap.js +0 -26
- package/lib/cjs/env.d.js +0 -14
- package/lib/cjs/getPluginModule.js +0 -39
- package/lib/cjs/index-federation.js +0 -55
- package/lib/cjs/index.js +0 -40
- package/lib/cjs/mock-trace-data.js +0 -145
- package/lib/cjs/scatter-chart-model.js +0 -25
- package/lib/cjs/setup-tests.js +0 -19
- package/lib/cjs/utils/timezone-formatter.js +0 -48
- /package/__mf/css/async/{187.85c2cbf6.css → 788.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{110.573b13ac.js.LICENSE.txt → 110.8512b427.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{121.7043fdc2.js.LICENSE.txt → 121.9d084511.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{181.c91a9444.js.LICENSE.txt → 181.18c285ae.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{274.8816e34e.js.LICENSE.txt → 274.d165da28.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.a606ee4e.js.LICENSE.txt → 392.b2ece3f7.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{470.c3023e9e.js.LICENSE.txt → 470.8feddb6c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{386.d928dbb2.js.LICENSE.txt → 562.1fe06a96.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.8c172b0a.js.LICENSE.txt → 941.ad1296a4.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_ScatterChart.17f79ad2.js.LICENSE.txt → __federation_expose_ScatterChart.0a3fcc80.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.ebfbe288.js.LICENSE.txt → lib-router.a6d99897.js.LICENSE.txt} +0 -0
package/lib/cjs/bootstrap.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
const _jsxruntime = require("react/jsx-runtime");
|
|
18
|
-
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
|
19
|
-
const _client = /*#__PURE__*/ _interop_require_default(require("react-dom/client"));
|
|
20
|
-
function _interop_require_default(obj) {
|
|
21
|
-
return obj && obj.__esModule ? obj : {
|
|
22
|
-
default: obj
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
const root = _client.default.createRoot(document.getElementById('root'));
|
|
26
|
-
root.render(/*#__PURE__*/ (0, _jsxruntime.jsx)(_react.default.StrictMode, {}));
|
package/lib/cjs/env.d.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
/// <reference types="@rsbuild/core/types" />
|
|
14
|
-
"use strict";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "getPluginModule", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return getPluginModule;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _packagejson = /*#__PURE__*/ _interop_require_default(require("../package.json"));
|
|
24
|
-
function _interop_require_default(obj) {
|
|
25
|
-
return obj && obj.__esModule ? obj : {
|
|
26
|
-
default: obj
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function getPluginModule() {
|
|
30
|
-
const { name, version, perses } = _packagejson.default;
|
|
31
|
-
return {
|
|
32
|
-
kind: 'PluginModule',
|
|
33
|
-
metadata: {
|
|
34
|
-
name,
|
|
35
|
-
version
|
|
36
|
-
},
|
|
37
|
-
spec: perses
|
|
38
|
-
};
|
|
39
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
3
|
-
if (typeof WeakMap !== "function") return null;
|
|
4
|
-
var cacheBabelInterop = new WeakMap();
|
|
5
|
-
var cacheNodeInterop = new WeakMap();
|
|
6
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
7
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
8
|
-
})(nodeInterop);
|
|
9
|
-
}
|
|
10
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
11
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
15
|
-
return {
|
|
16
|
-
default: obj
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
20
|
-
if (cache && cache.has(obj)) {
|
|
21
|
-
return cache.get(obj);
|
|
22
|
-
}
|
|
23
|
-
var newObj = {
|
|
24
|
-
__proto__: null
|
|
25
|
-
};
|
|
26
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
27
|
-
for(var key in obj){
|
|
28
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
29
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
30
|
-
if (desc && (desc.get || desc.set)) {
|
|
31
|
-
Object.defineProperty(newObj, key, desc);
|
|
32
|
-
} else {
|
|
33
|
-
newObj[key] = obj[key];
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
newObj.default = obj;
|
|
38
|
-
if (cache) {
|
|
39
|
-
cache.set(obj, newObj);
|
|
40
|
-
}
|
|
41
|
-
return newObj;
|
|
42
|
-
}
|
|
43
|
-
// Copyright The Perses Authors
|
|
44
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
45
|
-
// you may not use this file except in compliance with the License.
|
|
46
|
-
// You may obtain a copy of the License at
|
|
47
|
-
//
|
|
48
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
49
|
-
//
|
|
50
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
51
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
52
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
53
|
-
// See the License for the specific language governing permissions and
|
|
54
|
-
// limitations under the License.
|
|
55
|
-
Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("./bootstrap")));
|
package/lib/cjs/index.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "getPluginModule", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return _getPluginModule.getPluginModule;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _getPluginModule = require("./getPluginModule");
|
|
24
|
-
_export_star(require("./scatter-chart-model"), exports);
|
|
25
|
-
_export_star(require("./ScatterChart"), exports);
|
|
26
|
-
_export_star(require("./ScatterChartPanel"), exports);
|
|
27
|
-
_export_star(require("./Scatterplot"), exports);
|
|
28
|
-
function _export_star(from, to) {
|
|
29
|
-
Object.keys(from).forEach(function(k) {
|
|
30
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
31
|
-
Object.defineProperty(to, k, {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function() {
|
|
34
|
-
return from[k];
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
return from;
|
|
40
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
function _export(target, all) {
|
|
18
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
_export(exports, {
|
|
24
|
-
get MOCK_TRACE_SEARCH_RESULT () {
|
|
25
|
-
return MOCK_TRACE_SEARCH_RESULT;
|
|
26
|
-
},
|
|
27
|
-
get MOCK_TRACE_SEARCH_RESULT_EMPTY () {
|
|
28
|
-
return MOCK_TRACE_SEARCH_RESULT_EMPTY;
|
|
29
|
-
},
|
|
30
|
-
get MOCK_TRACE_SEARCH_RESULT_QUERY_RESULT () {
|
|
31
|
-
return MOCK_TRACE_SEARCH_RESULT_QUERY_RESULT;
|
|
32
|
-
},
|
|
33
|
-
get MOCK_TRACE_SEARCH_RESULT_QUERY_RESULT_EMPTY () {
|
|
34
|
-
return MOCK_TRACE_SEARCH_RESULT_QUERY_RESULT_EMPTY;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
const MOCK_TRACE_SEARCH_RESULT = {
|
|
38
|
-
searchResult: [
|
|
39
|
-
{
|
|
40
|
-
startTimeUnixMs: 1702915645000,
|
|
41
|
-
durationMs: 100,
|
|
42
|
-
serviceStats: {
|
|
43
|
-
'service-name': {
|
|
44
|
-
spanCount: 10
|
|
45
|
-
},
|
|
46
|
-
'second-service-name': {
|
|
47
|
-
spanCount: 3,
|
|
48
|
-
errorCount: 2
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
traceId: '123',
|
|
52
|
-
rootServiceName: 'service-name',
|
|
53
|
-
rootTraceName: 'span-name'
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
metadata: {
|
|
57
|
-
executedQueryString: '{duration > 500ms}'
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
const MOCK_TRACE_SEARCH_RESULT_EMPTY = {
|
|
61
|
-
searchResult: [],
|
|
62
|
-
metadata: {
|
|
63
|
-
executedQueryString: '{duration > 500ms}'
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
const MOCK_TRACE_SEARCH_RESULT_QUERY_RESULT = [
|
|
67
|
-
{
|
|
68
|
-
status: 'success',
|
|
69
|
-
fetchStatus: 'idle',
|
|
70
|
-
isLoading: false,
|
|
71
|
-
isSuccess: true,
|
|
72
|
-
isError: false,
|
|
73
|
-
data: MOCK_TRACE_SEARCH_RESULT,
|
|
74
|
-
dataUpdatedAt: 1666500979895,
|
|
75
|
-
definition: {
|
|
76
|
-
kind: 'TraceQuery',
|
|
77
|
-
spec: {
|
|
78
|
-
plugin: {
|
|
79
|
-
kind: 'TempoTraceQuery',
|
|
80
|
-
spec: {
|
|
81
|
-
query: '{}',
|
|
82
|
-
datasource: {
|
|
83
|
-
kind: 'TempoDatasource',
|
|
84
|
-
name: 'tempolocal'
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
error: null,
|
|
91
|
-
errorUpdatedAt: 0,
|
|
92
|
-
failureCount: 0,
|
|
93
|
-
errorUpdateCount: 0,
|
|
94
|
-
isFetched: true,
|
|
95
|
-
isFetchedAfterMount: true,
|
|
96
|
-
isFetching: false,
|
|
97
|
-
isRefetching: false,
|
|
98
|
-
isLoadingError: false,
|
|
99
|
-
isPaused: false,
|
|
100
|
-
isPlaceholderData: false,
|
|
101
|
-
isPreviousData: false,
|
|
102
|
-
isRefetchError: false,
|
|
103
|
-
isStale: true
|
|
104
|
-
}
|
|
105
|
-
];
|
|
106
|
-
const MOCK_TRACE_SEARCH_RESULT_QUERY_RESULT_EMPTY = [
|
|
107
|
-
{
|
|
108
|
-
status: 'success',
|
|
109
|
-
fetchStatus: 'idle',
|
|
110
|
-
isLoading: false,
|
|
111
|
-
isSuccess: true,
|
|
112
|
-
isError: false,
|
|
113
|
-
data: MOCK_TRACE_SEARCH_RESULT_EMPTY,
|
|
114
|
-
dataUpdatedAt: 1666500979895,
|
|
115
|
-
definition: {
|
|
116
|
-
kind: 'TraceQuery',
|
|
117
|
-
spec: {
|
|
118
|
-
plugin: {
|
|
119
|
-
kind: 'TempoTraceQuery',
|
|
120
|
-
spec: {
|
|
121
|
-
query: '{}',
|
|
122
|
-
datasource: {
|
|
123
|
-
kind: 'TempoDatasource',
|
|
124
|
-
name: 'tempolocal'
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
error: null,
|
|
131
|
-
errorUpdatedAt: 0,
|
|
132
|
-
failureCount: 0,
|
|
133
|
-
errorUpdateCount: 0,
|
|
134
|
-
isFetched: true,
|
|
135
|
-
isFetchedAfterMount: true,
|
|
136
|
-
isFetching: false,
|
|
137
|
-
isRefetching: false,
|
|
138
|
-
isLoadingError: false,
|
|
139
|
-
isPaused: false,
|
|
140
|
-
isPlaceholderData: false,
|
|
141
|
-
isPreviousData: false,
|
|
142
|
-
isRefetchError: false,
|
|
143
|
-
isStale: true
|
|
144
|
-
}
|
|
145
|
-
];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "createInitialScatterChartOptions", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return createInitialScatterChartOptions;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
function createInitialScatterChartOptions() {
|
|
24
|
-
return {};
|
|
25
|
-
}
|
package/lib/cjs/setup-tests.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
require("@testing-library/jest-dom");
|
|
18
|
-
// Always mock e-charts during tests since we don't have a proper canvas in jsdom
|
|
19
|
-
jest.mock('echarts/core');
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "createTimezoneAwareAxisFormatter", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return createTimezoneAwareAxisFormatter;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _components = require("@perses-dev/components");
|
|
24
|
-
const DAY_MS = 86400000;
|
|
25
|
-
const YEAR_MS = 31536000000;
|
|
26
|
-
function createTimezoneAwareAxisFormatter(rangeMs, timeZone) {
|
|
27
|
-
return function(value) {
|
|
28
|
-
const timeStamp = new Date(Number(value));
|
|
29
|
-
// more than 5 years
|
|
30
|
-
if (rangeMs > YEAR_MS * 5) {
|
|
31
|
-
return (0, _components.formatWithTimeZone)(timeStamp, 'yyyy', timeZone);
|
|
32
|
-
}
|
|
33
|
-
// more than 6 months
|
|
34
|
-
if (rangeMs > DAY_MS * 180) {
|
|
35
|
-
return (0, _components.formatWithTimeZone)(timeStamp, 'MMM yyyy', timeZone);
|
|
36
|
-
}
|
|
37
|
-
// more than 10 days
|
|
38
|
-
if (rangeMs > DAY_MS * 10) {
|
|
39
|
-
return (0, _components.formatWithTimeZone)(timeStamp, 'dd.MM', timeZone);
|
|
40
|
-
}
|
|
41
|
-
// more than 2 days
|
|
42
|
-
if (rangeMs > DAY_MS * 2) {
|
|
43
|
-
return (0, _components.formatWithTimeZone)(timeStamp, 'dd.MM HH:mm', timeZone);
|
|
44
|
-
}
|
|
45
|
-
// less or equal 2 days
|
|
46
|
-
return (0, _components.formatWithTimeZone)(timeStamp, 'HH:mm', timeZone);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/__mf/js/async/{lib-router.ebfbe288.js.LICENSE.txt → lib-router.a6d99897.js.LICENSE.txt}
RENAMED
|
File without changes
|