@perses-dev/trace-table-plugin 0.6.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.
- package/LICENSE +201 -0
- package/README.md +41 -0
- package/__mf/css/async/341.3d4493d2.css +1 -0
- package/__mf/css/async/759.3d4493d2.css +1 -0
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/152.cad35107.js +5 -0
- package/__mf/js/TraceTable.80656031.js +5 -0
- package/__mf/js/async/129.6a1a1c7d.js +147 -0
- package/__mf/js/async/129.6a1a1c7d.js.LICENSE.txt +27 -0
- package/__mf/js/async/156.525f3a44.js +1 -0
- package/__mf/js/async/173.f0db00ba.js +2 -0
- package/__mf/js/async/173.f0db00ba.js.LICENSE.txt +19 -0
- package/__mf/js/async/377.d6e7ba1a.js +2 -0
- package/__mf/js/async/377.d6e7ba1a.js.LICENSE.txt +32 -0
- package/__mf/js/async/559.b30e0b88.js +29 -0
- package/__mf/js/async/559.b30e0b88.js.LICENSE.txt +84 -0
- package/__mf/js/async/620.006d05f8.js +2 -0
- package/__mf/js/async/620.006d05f8.js.LICENSE.txt +9 -0
- package/__mf/js/async/651.4fdbe698.js +1 -0
- package/__mf/js/async/694.3c3c415f.js +1 -0
- package/__mf/js/async/740.fe5d3770.js +1 -0
- package/__mf/js/async/75.c1d82ca8.js +1 -0
- package/__mf/js/async/770.6cac4f4b.js +1 -0
- package/__mf/js/async/835.2f07f9d8.js +80 -0
- package/__mf/js/async/835.2f07f9d8.js.LICENSE.txt +9 -0
- package/__mf/js/async/960.dc16b984.js +2 -0
- package/__mf/js/async/960.dc16b984.js.LICENSE.txt +8 -0
- package/__mf/js/async/964.01c67113.js +2 -0
- package/__mf/js/async/964.01c67113.js.LICENSE.txt +9 -0
- package/__mf/js/async/__federation_expose_TraceTable.0f16deca.js +1 -0
- package/__mf/js/main.57cf0123.js +1 -0
- package/lib/DataTable.d.ts +15 -0
- package/lib/DataTable.d.ts.map +1 -0
- package/lib/DataTable.js +240 -0
- package/lib/DataTable.js.map +1 -0
- package/lib/TraceTable.d.ts +8 -0
- package/lib/TraceTable.d.ts.map +1 -0
- package/lib/TraceTable.js +25 -0
- package/lib/TraceTable.js.map +1 -0
- package/lib/TraceTablePanel.d.ts +19 -0
- package/lib/TraceTablePanel.d.ts.map +1 -0
- package/lib/TraceTablePanel.js +55 -0
- package/lib/TraceTablePanel.js.map +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/DataTable.js +253 -0
- package/lib/cjs/TraceTable.js +31 -0
- package/lib/cjs/TraceTablePanel.js +71 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +28 -0
- package/lib/cjs/setup-tests.js +19 -0
- package/lib/cjs/test/mock-trace-data.js +130 -0
- package/lib/cjs/trace-table-model.js +28 -0
- package/lib/cjs/utils/palette.js +83 -0
- package/lib/cjs/utils/utils.js +40 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/lib/index-federation.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -0
- package/lib/setup-tests.d.ts +2 -0
- package/lib/setup-tests.d.ts.map +1 -0
- package/lib/setup-tests.js +17 -0
- package/lib/setup-tests.js.map +1 -0
- package/lib/test/mock-trace-data.d.ts +73 -0
- package/lib/test/mock-trace-data.d.ts.map +1 -0
- package/lib/test/mock-trace-data.js +114 -0
- package/lib/test/mock-trace-data.js.map +1 -0
- package/lib/trace-table-model.d.ts +17 -0
- package/lib/trace-table-model.d.ts.map +1 -0
- package/lib/trace-table-model.js +22 -0
- package/lib/trace-table-model.js.map +1 -0
- package/lib/utils/palette.d.ts +6 -0
- package/lib/utils/palette.d.ts.map +1 -0
- package/lib/utils/palette.js +64 -0
- package/lib/utils/palette.js.map +1 -0
- package/lib/utils/utils.d.ts +4 -0
- package/lib/utils/utils.d.ts.map +1 -0
- package/lib/utils/utils.js +32 -0
- package/lib/utils/utils.js.map +1 -0
- package/mf-manifest.json +235 -0
- package/mf-stats.json +271 -0
- package/package.json +56 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/utils.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,KAAK,EACf,WAAW,EAAE,iBAAiB,EAC9B,WAAW,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,EAC/C,WAAW,EAAE,MAAM,EACnB,KAAK,UAAQ,GACZ,MAAM,CAYR"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Copyright 2024 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
|
+
import { getConsistentCategoricalColor, getConsistentColor } from './palette';
|
|
14
|
+
export function getServiceColor(muiTheme, chartsTheme, paletteMode, serviceName, error = false) {
|
|
15
|
+
switch(paletteMode){
|
|
16
|
+
case 'categorical':
|
|
17
|
+
{
|
|
18
|
+
// ECharts type for color is not always an array but it is always an array in ChartsProvider
|
|
19
|
+
const categoricalPalette = chartsTheme.echartsTheme.color;
|
|
20
|
+
const errorPalette = [
|
|
21
|
+
muiTheme.palette.error.light,
|
|
22
|
+
muiTheme.palette.error.main,
|
|
23
|
+
muiTheme.palette.error.dark
|
|
24
|
+
];
|
|
25
|
+
return getConsistentCategoricalColor(serviceName, error, categoricalPalette, errorPalette);
|
|
26
|
+
}
|
|
27
|
+
default:
|
|
28
|
+
return getConsistentColor(serviceName, error);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/utils/utils.ts"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { PersesChartsTheme } from '@perses-dev/components';\nimport { Theme } from '@mui/material';\nimport { getConsistentCategoricalColor, getConsistentColor } from './palette';\n\nexport function getServiceColor(\n muiTheme: Theme,\n chartsTheme: PersesChartsTheme,\n paletteMode: 'auto' | 'categorical' | undefined,\n serviceName: string,\n error = false\n): string {\n switch (paletteMode) {\n case 'categorical': {\n // ECharts type for color is not always an array but it is always an array in ChartsProvider\n const categoricalPalette = chartsTheme.echartsTheme.color as string[];\n const errorPalette = [muiTheme.palette.error.light, muiTheme.palette.error.main, muiTheme.palette.error.dark];\n return getConsistentCategoricalColor(serviceName, error, categoricalPalette, errorPalette);\n }\n\n default:\n return getConsistentColor(serviceName, error);\n }\n}\n"],"names":["getConsistentCategoricalColor","getConsistentColor","getServiceColor","muiTheme","chartsTheme","paletteMode","serviceName","error","categoricalPalette","echartsTheme","color","errorPalette","palette","light","main","dark"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAIjC,SAASA,6BAA6B,EAAEC,kBAAkB,QAAQ,YAAY;AAE9E,OAAO,SAASC,gBACdC,QAAe,EACfC,WAA8B,EAC9BC,WAA+C,EAC/CC,WAAmB,EACnBC,QAAQ,KAAK;IAEb,OAAQF;QACN,KAAK;YAAe;gBAClB,4FAA4F;gBAC5F,MAAMG,qBAAqBJ,YAAYK,YAAY,CAACC,KAAK;gBACzD,MAAMC,eAAe;oBAACR,SAASS,OAAO,CAACL,KAAK,CAACM,KAAK;oBAAEV,SAASS,OAAO,CAACL,KAAK,CAACO,IAAI;oBAAEX,SAASS,OAAO,CAACL,KAAK,CAACQ,IAAI;iBAAC;gBAC7G,OAAOf,8BAA8BM,aAAaC,OAAOC,oBAAoBG;YAC/E;QAEA;YACE,OAAOV,mBAAmBK,aAAaC;IAC3C;AACF"}
|
package/mf-manifest.json
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "TraceTable",
|
|
3
|
+
"name": "TraceTable",
|
|
4
|
+
"metaData": {
|
|
5
|
+
"name": "TraceTable",
|
|
6
|
+
"type": "app",
|
|
7
|
+
"buildInfo": {
|
|
8
|
+
"buildVersion": "0.6.0",
|
|
9
|
+
"buildName": "@perses-dev/trace-table-plugin"
|
|
10
|
+
},
|
|
11
|
+
"remoteEntry": {
|
|
12
|
+
"name": "__mf/js/TraceTable.80656031.js",
|
|
13
|
+
"path": "",
|
|
14
|
+
"type": "global"
|
|
15
|
+
},
|
|
16
|
+
"types": {
|
|
17
|
+
"path": "",
|
|
18
|
+
"name": "",
|
|
19
|
+
"zip": "",
|
|
20
|
+
"api": ""
|
|
21
|
+
},
|
|
22
|
+
"globalName": "TraceTable",
|
|
23
|
+
"pluginVersion": "0.11.2",
|
|
24
|
+
"prefetchInterface": false,
|
|
25
|
+
"publicPath": "/plugins/TraceTable/"
|
|
26
|
+
},
|
|
27
|
+
"shared": [
|
|
28
|
+
{
|
|
29
|
+
"id": "TraceTable:@emotion/react",
|
|
30
|
+
"name": "@emotion/react",
|
|
31
|
+
"version": "11.14.0",
|
|
32
|
+
"singleton": true,
|
|
33
|
+
"requiredVersion": "^11.11.3",
|
|
34
|
+
"assets": {
|
|
35
|
+
"js": {
|
|
36
|
+
"async": [
|
|
37
|
+
"__mf/js/async/964.01c67113.js"
|
|
38
|
+
],
|
|
39
|
+
"sync": [
|
|
40
|
+
"__mf/js/async/960.dc16b984.js"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"css": {
|
|
44
|
+
"async": [],
|
|
45
|
+
"sync": []
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "TraceTable:@emotion/styled",
|
|
51
|
+
"name": "@emotion/styled",
|
|
52
|
+
"version": "11.14.0",
|
|
53
|
+
"singleton": true,
|
|
54
|
+
"requiredVersion": "^11.14.0",
|
|
55
|
+
"assets": {
|
|
56
|
+
"js": {
|
|
57
|
+
"async": [
|
|
58
|
+
"__mf/js/async/964.01c67113.js",
|
|
59
|
+
"__mf/js/async/960.dc16b984.js"
|
|
60
|
+
],
|
|
61
|
+
"sync": [
|
|
62
|
+
"__mf/js/async/694.3c3c415f.js",
|
|
63
|
+
"__mf/js/async/770.6cac4f4b.js"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"css": {
|
|
67
|
+
"async": [],
|
|
68
|
+
"sync": []
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "TraceTable:@perses-dev/components",
|
|
74
|
+
"name": "@perses-dev/components",
|
|
75
|
+
"version": "0.51.0-beta.1",
|
|
76
|
+
"singleton": true,
|
|
77
|
+
"requiredVersion": "^0.51.0-beta.1",
|
|
78
|
+
"assets": {
|
|
79
|
+
"js": {
|
|
80
|
+
"async": [
|
|
81
|
+
"__mf/js/async/964.01c67113.js",
|
|
82
|
+
"__mf/js/async/173.f0db00ba.js",
|
|
83
|
+
"__mf/js/async/960.dc16b984.js",
|
|
84
|
+
"__mf/js/async/694.3c3c415f.js",
|
|
85
|
+
"__mf/js/async/740.fe5d3770.js",
|
|
86
|
+
"__mf/js/async/75.c1d82ca8.js"
|
|
87
|
+
],
|
|
88
|
+
"sync": [
|
|
89
|
+
"__mf/js/async/559.b30e0b88.js"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"css": {
|
|
93
|
+
"async": [],
|
|
94
|
+
"sync": []
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "TraceTable:date-fns",
|
|
100
|
+
"name": "date-fns",
|
|
101
|
+
"version": "4.1.0",
|
|
102
|
+
"singleton": true,
|
|
103
|
+
"requiredVersion": "^4.1.0",
|
|
104
|
+
"assets": {
|
|
105
|
+
"js": {
|
|
106
|
+
"async": [],
|
|
107
|
+
"sync": [
|
|
108
|
+
"__mf/js/async/75.c1d82ca8.js"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"css": {
|
|
112
|
+
"async": [],
|
|
113
|
+
"sync": []
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "TraceTable:react-dom",
|
|
119
|
+
"name": "react-dom",
|
|
120
|
+
"version": "18.3.1",
|
|
121
|
+
"singleton": true,
|
|
122
|
+
"requiredVersion": "18.2.0",
|
|
123
|
+
"assets": {
|
|
124
|
+
"js": {
|
|
125
|
+
"async": [
|
|
126
|
+
"__mf/js/async/964.01c67113.js"
|
|
127
|
+
],
|
|
128
|
+
"sync": [
|
|
129
|
+
"__mf/js/async/173.f0db00ba.js"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"css": {
|
|
133
|
+
"async": [],
|
|
134
|
+
"sync": []
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "TraceTable:react-router-dom",
|
|
140
|
+
"name": "react-router-dom",
|
|
141
|
+
"version": "6.30.0",
|
|
142
|
+
"singleton": true,
|
|
143
|
+
"requiredVersion": "^6.30.0",
|
|
144
|
+
"assets": {
|
|
145
|
+
"js": {
|
|
146
|
+
"async": [
|
|
147
|
+
"__mf/js/async/964.01c67113.js",
|
|
148
|
+
"__mf/js/async/173.f0db00ba.js"
|
|
149
|
+
],
|
|
150
|
+
"sync": [
|
|
151
|
+
"__mf/js/async/377.d6e7ba1a.js"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"css": {
|
|
155
|
+
"async": [],
|
|
156
|
+
"sync": []
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "TraceTable:react",
|
|
162
|
+
"name": "react",
|
|
163
|
+
"version": "18.3.1",
|
|
164
|
+
"singleton": true,
|
|
165
|
+
"requiredVersion": "18.2.0",
|
|
166
|
+
"assets": {
|
|
167
|
+
"js": {
|
|
168
|
+
"async": [],
|
|
169
|
+
"sync": [
|
|
170
|
+
"__mf/js/async/964.01c67113.js"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"css": {
|
|
174
|
+
"async": [],
|
|
175
|
+
"sync": []
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "TraceTable:date-fns-tz",
|
|
181
|
+
"name": "date-fns-tz",
|
|
182
|
+
"version": "3.2.0",
|
|
183
|
+
"singleton": true,
|
|
184
|
+
"requiredVersion": "^3.2.0",
|
|
185
|
+
"assets": {
|
|
186
|
+
"js": {
|
|
187
|
+
"async": [
|
|
188
|
+
"__mf/js/async/75.c1d82ca8.js"
|
|
189
|
+
],
|
|
190
|
+
"sync": [
|
|
191
|
+
"__mf/js/async/740.fe5d3770.js"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"css": {
|
|
195
|
+
"async": [],
|
|
196
|
+
"sync": []
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"remotes": [],
|
|
202
|
+
"exposes": [
|
|
203
|
+
{
|
|
204
|
+
"id": "TraceTable:TraceTable",
|
|
205
|
+
"name": "TraceTable",
|
|
206
|
+
"assets": {
|
|
207
|
+
"js": {
|
|
208
|
+
"sync": [
|
|
209
|
+
"__mf/js/async/129.6a1a1c7d.js",
|
|
210
|
+
"__mf/js/async/835.2f07f9d8.js",
|
|
211
|
+
"__mf/js/async/__federation_expose_TraceTable.0f16deca.js"
|
|
212
|
+
],
|
|
213
|
+
"async": [
|
|
214
|
+
"__mf/js/async/964.01c67113.js",
|
|
215
|
+
"__mf/js/async/173.f0db00ba.js",
|
|
216
|
+
"__mf/js/async/960.dc16b984.js",
|
|
217
|
+
"__mf/js/async/694.3c3c415f.js",
|
|
218
|
+
"__mf/js/async/156.525f3a44.js",
|
|
219
|
+
"__mf/js/async/75.c1d82ca8.js",
|
|
220
|
+
"__mf/js/async/559.b30e0b88.js",
|
|
221
|
+
"__mf/js/async/740.fe5d3770.js",
|
|
222
|
+
"__mf/js/async/377.d6e7ba1a.js"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
"css": {
|
|
226
|
+
"sync": [],
|
|
227
|
+
"async": [
|
|
228
|
+
"__mf/css/async/341.3d4493d2.css"
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"path": "./TraceTable"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
package/mf-stats.json
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "TraceTable",
|
|
3
|
+
"name": "TraceTable",
|
|
4
|
+
"metaData": {
|
|
5
|
+
"name": "TraceTable",
|
|
6
|
+
"type": "app",
|
|
7
|
+
"buildInfo": {
|
|
8
|
+
"buildVersion": "0.6.0",
|
|
9
|
+
"buildName": "@perses-dev/trace-table-plugin"
|
|
10
|
+
},
|
|
11
|
+
"remoteEntry": {
|
|
12
|
+
"name": "__mf/js/TraceTable.80656031.js",
|
|
13
|
+
"path": "",
|
|
14
|
+
"type": "global"
|
|
15
|
+
},
|
|
16
|
+
"types": {
|
|
17
|
+
"path": "",
|
|
18
|
+
"name": "",
|
|
19
|
+
"zip": "",
|
|
20
|
+
"api": ""
|
|
21
|
+
},
|
|
22
|
+
"globalName": "TraceTable",
|
|
23
|
+
"pluginVersion": "0.11.2",
|
|
24
|
+
"prefetchInterface": false,
|
|
25
|
+
"publicPath": "/plugins/TraceTable/"
|
|
26
|
+
},
|
|
27
|
+
"shared": [
|
|
28
|
+
{
|
|
29
|
+
"singleton": true,
|
|
30
|
+
"requiredVersion": "^11.11.3",
|
|
31
|
+
"shareScope": "default",
|
|
32
|
+
"name": "@emotion/react",
|
|
33
|
+
"version": "11.14.0",
|
|
34
|
+
"eager": false,
|
|
35
|
+
"id": "TraceTable:@emotion/react",
|
|
36
|
+
"assets": {
|
|
37
|
+
"js": {
|
|
38
|
+
"async": [
|
|
39
|
+
"__mf/js/async/964.01c67113.js"
|
|
40
|
+
],
|
|
41
|
+
"sync": [
|
|
42
|
+
"__mf/js/async/960.dc16b984.js"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"css": {
|
|
46
|
+
"async": [],
|
|
47
|
+
"sync": []
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"usedIn": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"singleton": true,
|
|
54
|
+
"requiredVersion": "^11.14.0",
|
|
55
|
+
"shareScope": "default",
|
|
56
|
+
"name": "@emotion/styled",
|
|
57
|
+
"version": "11.14.0",
|
|
58
|
+
"eager": false,
|
|
59
|
+
"id": "TraceTable:@emotion/styled",
|
|
60
|
+
"assets": {
|
|
61
|
+
"js": {
|
|
62
|
+
"async": [
|
|
63
|
+
"__mf/js/async/964.01c67113.js",
|
|
64
|
+
"__mf/js/async/960.dc16b984.js"
|
|
65
|
+
],
|
|
66
|
+
"sync": [
|
|
67
|
+
"__mf/js/async/694.3c3c415f.js",
|
|
68
|
+
"__mf/js/async/770.6cac4f4b.js"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"css": {
|
|
72
|
+
"async": [],
|
|
73
|
+
"sync": []
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"usedIn": []
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"singleton": true,
|
|
80
|
+
"requiredVersion": "^0.51.0-beta.1",
|
|
81
|
+
"shareScope": "default",
|
|
82
|
+
"name": "@perses-dev/components",
|
|
83
|
+
"version": "0.51.0-beta.1",
|
|
84
|
+
"eager": false,
|
|
85
|
+
"id": "TraceTable:@perses-dev/components",
|
|
86
|
+
"assets": {
|
|
87
|
+
"js": {
|
|
88
|
+
"async": [
|
|
89
|
+
"__mf/js/async/964.01c67113.js",
|
|
90
|
+
"__mf/js/async/173.f0db00ba.js",
|
|
91
|
+
"__mf/js/async/960.dc16b984.js",
|
|
92
|
+
"__mf/js/async/694.3c3c415f.js",
|
|
93
|
+
"__mf/js/async/740.fe5d3770.js",
|
|
94
|
+
"__mf/js/async/75.c1d82ca8.js"
|
|
95
|
+
],
|
|
96
|
+
"sync": [
|
|
97
|
+
"__mf/js/async/559.b30e0b88.js"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"css": {
|
|
101
|
+
"async": [],
|
|
102
|
+
"sync": []
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"usedIn": [
|
|
106
|
+
"./TraceTable"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"singleton": true,
|
|
111
|
+
"requiredVersion": "^4.1.0",
|
|
112
|
+
"shareScope": "default",
|
|
113
|
+
"name": "date-fns",
|
|
114
|
+
"version": "4.1.0",
|
|
115
|
+
"eager": false,
|
|
116
|
+
"id": "TraceTable:date-fns",
|
|
117
|
+
"assets": {
|
|
118
|
+
"js": {
|
|
119
|
+
"async": [],
|
|
120
|
+
"sync": [
|
|
121
|
+
"__mf/js/async/75.c1d82ca8.js"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"css": {
|
|
125
|
+
"async": [],
|
|
126
|
+
"sync": []
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"usedIn": []
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"singleton": true,
|
|
133
|
+
"requiredVersion": "18.2.0",
|
|
134
|
+
"shareScope": "default",
|
|
135
|
+
"name": "react-dom",
|
|
136
|
+
"version": "18.3.1",
|
|
137
|
+
"eager": false,
|
|
138
|
+
"id": "TraceTable:react-dom",
|
|
139
|
+
"assets": {
|
|
140
|
+
"js": {
|
|
141
|
+
"async": [
|
|
142
|
+
"__mf/js/async/964.01c67113.js"
|
|
143
|
+
],
|
|
144
|
+
"sync": [
|
|
145
|
+
"__mf/js/async/173.f0db00ba.js"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"css": {
|
|
149
|
+
"async": [],
|
|
150
|
+
"sync": []
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"usedIn": []
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"singleton": true,
|
|
157
|
+
"requiredVersion": "^6.30.0",
|
|
158
|
+
"shareScope": "default",
|
|
159
|
+
"name": "react-router-dom",
|
|
160
|
+
"version": "6.30.0",
|
|
161
|
+
"eager": false,
|
|
162
|
+
"id": "TraceTable:react-router-dom",
|
|
163
|
+
"assets": {
|
|
164
|
+
"js": {
|
|
165
|
+
"async": [
|
|
166
|
+
"__mf/js/async/964.01c67113.js",
|
|
167
|
+
"__mf/js/async/173.f0db00ba.js"
|
|
168
|
+
],
|
|
169
|
+
"sync": [
|
|
170
|
+
"__mf/js/async/377.d6e7ba1a.js"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"css": {
|
|
174
|
+
"async": [],
|
|
175
|
+
"sync": []
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"usedIn": [
|
|
179
|
+
"./TraceTable"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"singleton": true,
|
|
184
|
+
"requiredVersion": "18.2.0",
|
|
185
|
+
"shareScope": "default",
|
|
186
|
+
"name": "react",
|
|
187
|
+
"version": "18.3.1",
|
|
188
|
+
"eager": false,
|
|
189
|
+
"id": "TraceTable:react",
|
|
190
|
+
"assets": {
|
|
191
|
+
"js": {
|
|
192
|
+
"async": [],
|
|
193
|
+
"sync": [
|
|
194
|
+
"__mf/js/async/964.01c67113.js"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"css": {
|
|
198
|
+
"async": [],
|
|
199
|
+
"sync": []
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"usedIn": [
|
|
203
|
+
"./TraceTable"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"singleton": true,
|
|
208
|
+
"requiredVersion": "^3.2.0",
|
|
209
|
+
"shareScope": "default",
|
|
210
|
+
"name": "date-fns-tz",
|
|
211
|
+
"version": "3.2.0",
|
|
212
|
+
"eager": false,
|
|
213
|
+
"id": "TraceTable:date-fns-tz",
|
|
214
|
+
"assets": {
|
|
215
|
+
"js": {
|
|
216
|
+
"async": [
|
|
217
|
+
"__mf/js/async/75.c1d82ca8.js"
|
|
218
|
+
],
|
|
219
|
+
"sync": [
|
|
220
|
+
"__mf/js/async/740.fe5d3770.js"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"css": {
|
|
224
|
+
"async": [],
|
|
225
|
+
"sync": []
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"usedIn": []
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"remotes": [],
|
|
232
|
+
"exposes": [
|
|
233
|
+
{
|
|
234
|
+
"path": "./TraceTable",
|
|
235
|
+
"id": "TraceTable:TraceTable",
|
|
236
|
+
"name": "TraceTable",
|
|
237
|
+
"requires": [
|
|
238
|
+
"react",
|
|
239
|
+
"@perses-dev/components",
|
|
240
|
+
"react-router-dom"
|
|
241
|
+
],
|
|
242
|
+
"file": "src/TraceTable.ts",
|
|
243
|
+
"assets": {
|
|
244
|
+
"js": {
|
|
245
|
+
"sync": [
|
|
246
|
+
"__mf/js/async/129.6a1a1c7d.js",
|
|
247
|
+
"__mf/js/async/835.2f07f9d8.js",
|
|
248
|
+
"__mf/js/async/__federation_expose_TraceTable.0f16deca.js"
|
|
249
|
+
],
|
|
250
|
+
"async": [
|
|
251
|
+
"__mf/js/async/964.01c67113.js",
|
|
252
|
+
"__mf/js/async/173.f0db00ba.js",
|
|
253
|
+
"__mf/js/async/960.dc16b984.js",
|
|
254
|
+
"__mf/js/async/694.3c3c415f.js",
|
|
255
|
+
"__mf/js/async/156.525f3a44.js",
|
|
256
|
+
"__mf/js/async/75.c1d82ca8.js",
|
|
257
|
+
"__mf/js/async/559.b30e0b88.js",
|
|
258
|
+
"__mf/js/async/740.fe5d3770.js",
|
|
259
|
+
"__mf/js/async/377.d6e7ba1a.js"
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
"css": {
|
|
263
|
+
"sync": [],
|
|
264
|
+
"async": [
|
|
265
|
+
"__mf/css/async/341.3d4493d2.css"
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@perses-dev/trace-table-plugin",
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dev": "rsbuild dev",
|
|
6
|
+
"build": "npm run build-mf && concurrently \"npm:build:*\"",
|
|
7
|
+
"build-mf": "rsbuild build",
|
|
8
|
+
"build:cjs": "swc ./src -d dist/lib/cjs --strip-leading-paths --config-file ../.cjs.swcrc",
|
|
9
|
+
"build:esm": "swc ./src -d dist/lib --strip-leading-paths --config-file ../.swcrc",
|
|
10
|
+
"build:types": "tsc --project tsconfig.build.json",
|
|
11
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
12
|
+
"test": "cross-env LC_ALL=C TZ=UTC jest",
|
|
13
|
+
"type-check": "tsc --noEmit"
|
|
14
|
+
},
|
|
15
|
+
"main": "lib/cjs/index.js",
|
|
16
|
+
"module": "lib/index.js",
|
|
17
|
+
"types": "lib/index.d.ts",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@mui/x-data-grid": "^7.23.1"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@emotion/react": "^11.7.1",
|
|
23
|
+
"@emotion/styled": "^11.6.0",
|
|
24
|
+
"@hookform/resolvers": "^3.2.0",
|
|
25
|
+
"@perses-dev/components": "^0.51.0-beta.1",
|
|
26
|
+
"@perses-dev/core": "^0.51.0-beta.1",
|
|
27
|
+
"@perses-dev/plugin-system": "^0.51.0-beta.1",
|
|
28
|
+
"date-fns": "^4.1.0",
|
|
29
|
+
"date-fns-tz": "^3.2.0",
|
|
30
|
+
"echarts": "5.5.0",
|
|
31
|
+
"lodash": "^4.17.21",
|
|
32
|
+
"react": "^17.0.2 || ^18.0.0",
|
|
33
|
+
"react-dom": "^17.0.2 || ^18.0.0",
|
|
34
|
+
"react-router-dom": "^6.11.0",
|
|
35
|
+
"use-resize-observer": "^9.0.0"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"lib/**/*",
|
|
39
|
+
"__mf/**/*",
|
|
40
|
+
"mf-manifest.json",
|
|
41
|
+
"mf-stats.json"
|
|
42
|
+
],
|
|
43
|
+
"perses": {
|
|
44
|
+
"plugins": [
|
|
45
|
+
{
|
|
46
|
+
"kind": "Panel",
|
|
47
|
+
"spec": {
|
|
48
|
+
"display": {
|
|
49
|
+
"name": "Trace Table"
|
|
50
|
+
},
|
|
51
|
+
"name": "TraceTable"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|