@perses-dev/logs-table-plugin 0.3.0-beta.1 → 0.3.0-rc.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/__mf/js/LogsTable.e605cbfa.js +7 -0
- package/__mf/js/async/1603.89bfb1ad.js +2 -0
- package/__mf/js/async/1616.c3be409a.js +1 -0
- package/__mf/js/async/2043.dba84aa4.js +2 -0
- package/__mf/js/async/2842.7c7a1b3f.js +1 -0
- package/__mf/js/async/304.21c30c64.js +37 -0
- package/__mf/js/async/3332.f7f30f03.js +7 -0
- package/__mf/js/async/392.5cb44640.js +2 -0
- package/__mf/js/async/4077.32e3919d.js +1 -0
- package/__mf/js/async/4121.d4c9b3e3.js +2 -0
- package/__mf/js/async/4869.80345aa7.js +1 -0
- package/__mf/js/async/5002.1d6e3559.js +1 -0
- package/__mf/js/async/5071.be3352f1.js +1 -0
- package/__mf/js/async/5587.9e49a823.js +1 -0
- package/__mf/js/async/6274.fe68ed99.js +2 -0
- package/__mf/js/async/6458.de33906b.js +1 -0
- package/__mf/js/async/7177.8dd90707.js +1 -0
- package/__mf/js/async/7192.017cbe40.js +1 -0
- package/__mf/js/async/7250.05494519.js +1 -0
- package/__mf/js/async/7413.c2661694.js +1 -0
- package/__mf/js/async/{7445.73c38e72.js → 7445.009cf084.js} +2 -2
- package/__mf/js/async/7968.ec249f6f.js +1 -0
- package/__mf/js/async/7978.026a8b19.js +1 -0
- package/__mf/js/async/8356.f736e620.js +1 -0
- package/__mf/js/async/8470.f0bbed7d.js +2 -0
- package/__mf/js/async/8542.aa0c5fe3.js +1 -0
- package/__mf/js/async/8558.1d16fe50.js +3 -0
- package/__mf/js/async/8608.618e49dc.js +1 -0
- package/__mf/js/async/8634.231e1601.js +2 -0
- package/__mf/js/async/8634.231e1601.js.LICENSE.txt +1 -0
- package/__mf/js/async/873.4fd8a061.js +1 -0
- package/__mf/js/async/8964.3e308de6.js +2 -0
- package/__mf/js/async/9126.bf379c31.js +22 -0
- package/__mf/js/async/9235.b68f4586.js +1 -0
- package/__mf/js/async/{9293.77eed9f0.js → 9293.ee3265d4.js} +1 -1
- package/__mf/js/async/941.ad1062bb.js +2 -0
- package/__mf/js/async/9588.b214b983.js +1 -0
- package/__mf/js/async/__federation_expose_LogsTable.9480e369.js +1 -0
- package/__mf/js/async/lib-router.c5e3aef3.js +2 -0
- package/__mf/js/main.2b64932b.js +7 -0
- package/lib/LogsTable.d.ts.map +1 -1
- package/lib/LogsTable.js +5 -0
- package/lib/LogsTable.js.map +1 -1
- package/lib/LogsTableCsvExportAction.d.ts +6 -0
- package/lib/LogsTableCsvExportAction.d.ts.map +1 -0
- package/lib/LogsTableCsvExportAction.js +100 -0
- package/lib/LogsTableCsvExportAction.js.map +1 -0
- package/lib/cjs/LogsTable.js +5 -0
- package/lib/cjs/LogsTableCsvExportAction.js +124 -0
- package/mf-manifest.json +49 -49
- package/mf-stats.json +49 -49
- package/package.json +6 -6
- package/__mf/js/LogsTable.9bbaab2b.js +0 -7
- package/__mf/js/async/1616.1b9a06fe.js +0 -1
- package/__mf/js/async/2043.956cdbbb.js +0 -2
- package/__mf/js/async/2220.0a7924e7.js +0 -22
- package/__mf/js/async/2842.4aad5bc1.js +0 -1
- package/__mf/js/async/304.8985bacb.js +0 -37
- package/__mf/js/async/392.f9cb0cfc.js +0 -2
- package/__mf/js/async/4077.e9103d7c.js +0 -1
- package/__mf/js/async/4121.c9ef0518.js +0 -2
- package/__mf/js/async/4602.b1cacfe1.js +0 -2
- package/__mf/js/async/4602.b1cacfe1.js.LICENSE.txt +0 -1
- package/__mf/js/async/4693.125f8180.js +0 -2
- package/__mf/js/async/4869.940da5d7.js +0 -1
- package/__mf/js/async/5002.1fe02654.js +0 -1
- package/__mf/js/async/5071.87183f5a.js +0 -1
- package/__mf/js/async/5587.c7e5a39c.js +0 -1
- package/__mf/js/async/5652.e6029fc8.js +0 -2
- package/__mf/js/async/6090.90cb2be2.js +0 -3
- package/__mf/js/async/6274.940dee19.js +0 -2
- package/__mf/js/async/6458.b2359789.js +0 -1
- package/__mf/js/async/6661.3acf3c47.js +0 -7
- package/__mf/js/async/7177.44516b97.js +0 -1
- package/__mf/js/async/7192.84e9432b.js +0 -1
- package/__mf/js/async/7250.78e3cd06.js +0 -1
- package/__mf/js/async/7413.581476fb.js +0 -1
- package/__mf/js/async/7968.aaf8a8bc.js +0 -1
- package/__mf/js/async/7978.35e0aa88.js +0 -1
- package/__mf/js/async/8356.355b4afe.js +0 -1
- package/__mf/js/async/8470.878f89da.js +0 -2
- package/__mf/js/async/8542.e30a008f.js +0 -1
- package/__mf/js/async/8608.072381d3.js +0 -1
- package/__mf/js/async/873.a4b44e41.js +0 -1
- package/__mf/js/async/9235.33a97899.js +0 -1
- package/__mf/js/async/941.c74117a1.js +0 -2
- package/__mf/js/async/9588.4e751733.js +0 -1
- package/__mf/js/async/__federation_expose_LogsTable.cbd5bfda.js +0 -1
- package/__mf/js/async/lib-router.12781636.js +0 -2
- package/__mf/js/main.142c22e6.js +0 -7
- /package/__mf/css/async/{6661.85c2cbf6.css → 3332.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{4693.125f8180.js.LICENSE.txt → 1603.89bfb1ad.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2043.956cdbbb.js.LICENSE.txt → 2043.dba84aa4.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6661.3acf3c47.js.LICENSE.txt → 3332.f7f30f03.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.f9cb0cfc.js.LICENSE.txt → 392.5cb44640.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4121.c9ef0518.js.LICENSE.txt → 4121.d4c9b3e3.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6274.940dee19.js.LICENSE.txt → 6274.fe68ed99.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7445.73c38e72.js.LICENSE.txt → 7445.009cf084.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{8470.878f89da.js.LICENSE.txt → 8470.f0bbed7d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5652.e6029fc8.js.LICENSE.txt → 8964.3e308de6.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2220.0a7924e7.js.LICENSE.txt → 9126.bf379c31.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.c74117a1.js.LICENSE.txt → 941.ad1062bb.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.12781636.js.LICENSE.txt → lib-router.c5e3aef3.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
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 LogsTableCsvExportAction () {
|
|
25
|
+
return LogsTableCsvExportAction;
|
|
26
|
+
},
|
|
27
|
+
get buildLogsCsvString () {
|
|
28
|
+
return buildLogsCsvString;
|
|
29
|
+
},
|
|
30
|
+
get collectLabelKeys () {
|
|
31
|
+
return collectLabelKeys;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
const _jsxruntime = require("react/jsx-runtime");
|
|
35
|
+
const _components = require("@perses-dev/components");
|
|
36
|
+
const _material = require("@mui/material");
|
|
37
|
+
const _FileDelimitedOutline = /*#__PURE__*/ _interop_require_default(require("mdi-material-ui/FileDelimitedOutline"));
|
|
38
|
+
const _pluginsystem = require("@perses-dev/plugin-system");
|
|
39
|
+
const _react = require("react");
|
|
40
|
+
const _ansi = require("./utils/ansi");
|
|
41
|
+
function _interop_require_default(obj) {
|
|
42
|
+
return obj && obj.__esModule ? obj : {
|
|
43
|
+
default: obj
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function collectLabelKeys(entries) {
|
|
47
|
+
const keys = new Set();
|
|
48
|
+
for (const entry of entries){
|
|
49
|
+
for (const key of Object.keys(entry.labels)){
|
|
50
|
+
keys.add(key);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return Array.from(keys).sort();
|
|
54
|
+
}
|
|
55
|
+
function buildLogsCsvString(entries) {
|
|
56
|
+
const labelKeys = collectLabelKeys(entries);
|
|
57
|
+
const headerColumns = [
|
|
58
|
+
'timestamp',
|
|
59
|
+
'body',
|
|
60
|
+
...labelKeys
|
|
61
|
+
];
|
|
62
|
+
const headerRow = headerColumns.map(_pluginsystem.escapeCsvValue).join(',');
|
|
63
|
+
const dataRows = entries.map((entry)=>{
|
|
64
|
+
const timestamp = (0, _pluginsystem.escapeCsvValue)((0, _pluginsystem.formatTimestampISO)(entry.timestamp));
|
|
65
|
+
const body = (0, _pluginsystem.escapeCsvValue)((0, _ansi.stripAnsi)(entry.line));
|
|
66
|
+
const labels = labelKeys.map((key)=>(0, _pluginsystem.escapeCsvValue)(entry.labels[key] ?? ''));
|
|
67
|
+
return [
|
|
68
|
+
timestamp,
|
|
69
|
+
body,
|
|
70
|
+
...labels
|
|
71
|
+
].join(',');
|
|
72
|
+
});
|
|
73
|
+
return [
|
|
74
|
+
headerRow,
|
|
75
|
+
...dataRows
|
|
76
|
+
].join('\n') + '\n';
|
|
77
|
+
}
|
|
78
|
+
const LogsTableCsvExportAction = ({ queryResults, definition })=>{
|
|
79
|
+
const entries = (0, _react.useMemo)(()=>{
|
|
80
|
+
return queryResults.flatMap((q)=>q.data?.logs?.entries ?? []);
|
|
81
|
+
}, [
|
|
82
|
+
queryResults
|
|
83
|
+
]);
|
|
84
|
+
const isDisabled = !entries.length;
|
|
85
|
+
const handleDownload = (0, _react.useCallback)(()=>{
|
|
86
|
+
if (isDisabled) return;
|
|
87
|
+
try {
|
|
88
|
+
const csvString = buildLogsCsvString(entries);
|
|
89
|
+
const blob = new Blob([
|
|
90
|
+
csvString
|
|
91
|
+
], {
|
|
92
|
+
type: 'text/csv;charset=utf-8'
|
|
93
|
+
});
|
|
94
|
+
const url = URL.createObjectURL(blob);
|
|
95
|
+
const link = document.createElement('a');
|
|
96
|
+
link.href = url;
|
|
97
|
+
const title = definition?.spec?.display?.name || 'Logs Table Data';
|
|
98
|
+
const baseFilename = (0, _pluginsystem.sanitizeFilename)(title);
|
|
99
|
+
link.download = `${baseFilename}_data.csv`;
|
|
100
|
+
document.body.appendChild(link);
|
|
101
|
+
link.click();
|
|
102
|
+
document.body.removeChild(link);
|
|
103
|
+
URL.revokeObjectURL(url);
|
|
104
|
+
} catch (error) {
|
|
105
|
+
console.error('Logs table CSV export failed:', error);
|
|
106
|
+
}
|
|
107
|
+
}, [
|
|
108
|
+
definition,
|
|
109
|
+
entries,
|
|
110
|
+
isDisabled
|
|
111
|
+
]);
|
|
112
|
+
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_components.InfoTooltip, {
|
|
113
|
+
description: isDisabled ? 'No data to export' : 'Export as CSV',
|
|
114
|
+
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.IconButton, {
|
|
115
|
+
disabled: isDisabled,
|
|
116
|
+
size: "small",
|
|
117
|
+
onClick: handleDownload,
|
|
118
|
+
"aria-label": "Export Logs Table Data as CSV",
|
|
119
|
+
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_FileDelimitedOutline.default, {
|
|
120
|
+
fontSize: "inherit"
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
};
|
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "LogsTable",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.3.0-
|
|
8
|
+
"buildVersion": "0.3.0-rc.0",
|
|
9
9
|
"buildName": "@perses-dev/logs-table-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/LogsTable.
|
|
12
|
+
"name": "__mf/js/LogsTable.e605cbfa.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "LogsTable",
|
|
23
|
-
"pluginVersion": "2.
|
|
23
|
+
"pluginVersion": "2.6.0",
|
|
24
24
|
"getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/LogsTable/\"; }"
|
|
25
25
|
},
|
|
26
26
|
"shared": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"js": {
|
|
35
35
|
"async": [],
|
|
36
36
|
"sync": [
|
|
37
|
-
"__mf/js/async/6274.
|
|
37
|
+
"__mf/js/async/6274.fe68ed99.js"
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"css": {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"js": {
|
|
55
55
|
"async": [],
|
|
56
56
|
"sync": [
|
|
57
|
-
"__mf/js/async/1616.
|
|
58
|
-
"__mf/js/async/9235.
|
|
57
|
+
"__mf/js/async/1616.c3be409a.js",
|
|
58
|
+
"__mf/js/async/9235.b68f4586.js"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
"css": {
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"js": {
|
|
76
76
|
"async": [],
|
|
77
77
|
"sync": [
|
|
78
|
-
"__mf/js/async/5587.
|
|
79
|
-
"__mf/js/async/7968.
|
|
78
|
+
"__mf/js/async/5587.9e49a823.js",
|
|
79
|
+
"__mf/js/async/7968.ec249f6f.js"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
82
|
"css": {
|
|
@@ -89,20 +89,20 @@
|
|
|
89
89
|
{
|
|
90
90
|
"id": "LogsTable:@perses-dev/components",
|
|
91
91
|
"name": "@perses-dev/components",
|
|
92
|
-
"version": "0.54.0-
|
|
92
|
+
"version": "0.54.0-rc.0",
|
|
93
93
|
"singleton": true,
|
|
94
|
-
"requiredVersion": "^0.54.0-
|
|
94
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
95
95
|
"assets": {
|
|
96
96
|
"js": {
|
|
97
97
|
"async": [],
|
|
98
98
|
"sync": [
|
|
99
|
-
"__mf/js/async/
|
|
99
|
+
"__mf/js/async/3332.f7f30f03.js"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"css": {
|
|
103
103
|
"async": [],
|
|
104
104
|
"sync": [
|
|
105
|
-
"__mf/css/async/
|
|
105
|
+
"__mf/css/async/3332.85c2cbf6.css"
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
},
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
{
|
|
112
112
|
"id": "LogsTable:@perses-dev/dashboards",
|
|
113
113
|
"name": "@perses-dev/dashboards",
|
|
114
|
-
"version": "0.54.0-
|
|
114
|
+
"version": "0.54.0-rc.0",
|
|
115
115
|
"singleton": true,
|
|
116
|
-
"requiredVersion": "^0.54.0-
|
|
116
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
117
117
|
"assets": {
|
|
118
118
|
"js": {
|
|
119
119
|
"async": [],
|
|
120
120
|
"sync": [
|
|
121
|
-
"__mf/js/async/
|
|
121
|
+
"__mf/js/async/9126.bf379c31.js"
|
|
122
122
|
]
|
|
123
123
|
},
|
|
124
124
|
"css": {
|
|
@@ -131,14 +131,14 @@
|
|
|
131
131
|
{
|
|
132
132
|
"id": "LogsTable:@perses-dev/plugin-system",
|
|
133
133
|
"name": "@perses-dev/plugin-system",
|
|
134
|
-
"version": "0.54.0-
|
|
134
|
+
"version": "0.54.0-rc.0",
|
|
135
135
|
"singleton": true,
|
|
136
|
-
"requiredVersion": "^0.54.0-
|
|
136
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
137
137
|
"assets": {
|
|
138
138
|
"js": {
|
|
139
139
|
"async": [],
|
|
140
140
|
"sync": [
|
|
141
|
-
"__mf/js/async/
|
|
141
|
+
"__mf/js/async/8558.1d16fe50.js"
|
|
142
142
|
]
|
|
143
143
|
},
|
|
144
144
|
"css": {
|
|
@@ -151,14 +151,14 @@
|
|
|
151
151
|
{
|
|
152
152
|
"id": "LogsTable:@perses-dev/spec",
|
|
153
153
|
"name": "@perses-dev/spec",
|
|
154
|
-
"version": "0.2.0-beta.
|
|
154
|
+
"version": "0.2.0-beta.9",
|
|
155
155
|
"singleton": true,
|
|
156
|
-
"requiredVersion": "^0.2.0-beta.
|
|
156
|
+
"requiredVersion": "^0.2.0-beta.9",
|
|
157
157
|
"assets": {
|
|
158
158
|
"js": {
|
|
159
159
|
"async": [],
|
|
160
160
|
"sync": [
|
|
161
|
-
"__mf/js/async/2842.
|
|
161
|
+
"__mf/js/async/2842.7c7a1b3f.js"
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
"css": {
|
|
@@ -171,14 +171,14 @@
|
|
|
171
171
|
{
|
|
172
172
|
"id": "LogsTable:date-fns",
|
|
173
173
|
"name": "date-fns",
|
|
174
|
-
"version": "4.
|
|
174
|
+
"version": "4.4.0",
|
|
175
175
|
"singleton": true,
|
|
176
|
-
"requiredVersion": "^4.
|
|
176
|
+
"requiredVersion": "^4.4.0",
|
|
177
177
|
"assets": {
|
|
178
178
|
"js": {
|
|
179
179
|
"async": [],
|
|
180
180
|
"sync": [
|
|
181
|
-
"__mf/js/async/7192.
|
|
181
|
+
"__mf/js/async/7192.017cbe40.js"
|
|
182
182
|
]
|
|
183
183
|
},
|
|
184
184
|
"css": {
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"js": {
|
|
199
199
|
"async": [],
|
|
200
200
|
"sync": [
|
|
201
|
-
"__mf/js/async/873.
|
|
201
|
+
"__mf/js/async/873.4fd8a061.js"
|
|
202
202
|
]
|
|
203
203
|
},
|
|
204
204
|
"css": {
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"js": {
|
|
219
219
|
"async": [],
|
|
220
220
|
"sync": [
|
|
221
|
-
"__mf/js/async/392.
|
|
221
|
+
"__mf/js/async/392.5cb44640.js"
|
|
222
222
|
]
|
|
223
223
|
},
|
|
224
224
|
"css": {
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"js": {
|
|
239
239
|
"async": [],
|
|
240
240
|
"sync": [
|
|
241
|
-
"__mf/js/async/8470.
|
|
241
|
+
"__mf/js/async/8470.f0bbed7d.js"
|
|
242
242
|
]
|
|
243
243
|
},
|
|
244
244
|
"css": {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"js": {
|
|
259
259
|
"async": [],
|
|
260
260
|
"sync": [
|
|
261
|
-
"__mf/js/async/4121.
|
|
261
|
+
"__mf/js/async/4121.d4c9b3e3.js"
|
|
262
262
|
]
|
|
263
263
|
},
|
|
264
264
|
"css": {
|
|
@@ -278,8 +278,8 @@
|
|
|
278
278
|
"js": {
|
|
279
279
|
"async": [],
|
|
280
280
|
"sync": [
|
|
281
|
-
"__mf/js/async/4077.
|
|
282
|
-
"__mf/js/async/6458.
|
|
281
|
+
"__mf/js/async/4077.32e3919d.js",
|
|
282
|
+
"__mf/js/async/6458.de33906b.js"
|
|
283
283
|
]
|
|
284
284
|
},
|
|
285
285
|
"css": {
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"js": {
|
|
300
300
|
"async": [],
|
|
301
301
|
"sync": [
|
|
302
|
-
"__mf/js/async/7978.
|
|
302
|
+
"__mf/js/async/7978.026a8b19.js"
|
|
303
303
|
]
|
|
304
304
|
},
|
|
305
305
|
"css": {
|
|
@@ -318,25 +318,25 @@
|
|
|
318
318
|
"assets": {
|
|
319
319
|
"js": {
|
|
320
320
|
"sync": [
|
|
321
|
-
"__mf/js/async/9293.
|
|
322
|
-
"__mf/js/async/7445.
|
|
323
|
-
"__mf/js/async/8608.
|
|
324
|
-
"__mf/js/async/
|
|
325
|
-
"__mf/js/async/__federation_expose_LogsTable.
|
|
321
|
+
"__mf/js/async/9293.ee3265d4.js",
|
|
322
|
+
"__mf/js/async/7445.009cf084.js",
|
|
323
|
+
"__mf/js/async/8608.618e49dc.js",
|
|
324
|
+
"__mf/js/async/8634.231e1601.js",
|
|
325
|
+
"__mf/js/async/__federation_expose_LogsTable.9480e369.js"
|
|
326
326
|
],
|
|
327
327
|
"async": [
|
|
328
|
-
"__mf/js/async/lib-router.
|
|
329
|
-
"__mf/js/async/
|
|
330
|
-
"__mf/js/async/
|
|
331
|
-
"__mf/js/async/
|
|
332
|
-
"__mf/js/async/
|
|
333
|
-
"__mf/js/async/
|
|
334
|
-
"__mf/js/async/9588.
|
|
335
|
-
"__mf/js/async/5071.
|
|
336
|
-
"__mf/js/async/2043.
|
|
337
|
-
"__mf/js/async/7413.
|
|
338
|
-
"__mf/js/async/4869.
|
|
339
|
-
"__mf/js/async/7177.
|
|
328
|
+
"__mf/js/async/lib-router.c5e3aef3.js",
|
|
329
|
+
"__mf/js/async/8542.aa0c5fe3.js",
|
|
330
|
+
"__mf/js/async/304.21c30c64.js",
|
|
331
|
+
"__mf/js/async/8356.f736e620.js",
|
|
332
|
+
"__mf/js/async/1603.89bfb1ad.js",
|
|
333
|
+
"__mf/js/async/8964.3e308de6.js",
|
|
334
|
+
"__mf/js/async/9588.b214b983.js",
|
|
335
|
+
"__mf/js/async/5071.be3352f1.js",
|
|
336
|
+
"__mf/js/async/2043.dba84aa4.js",
|
|
337
|
+
"__mf/js/async/7413.c2661694.js",
|
|
338
|
+
"__mf/js/async/4869.80345aa7.js",
|
|
339
|
+
"__mf/js/async/7177.8dd90707.js"
|
|
340
340
|
]
|
|
341
341
|
},
|
|
342
342
|
"css": {
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
"__mf/css/async/__federation_expose_LogsTable.eedb54d8.css"
|
|
345
345
|
],
|
|
346
346
|
"async": [
|
|
347
|
-
"__mf/css/async/
|
|
347
|
+
"__mf/css/async/3332.85c2cbf6.css"
|
|
348
348
|
]
|
|
349
349
|
}
|
|
350
350
|
},
|
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "LogsTable",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.3.0-
|
|
8
|
+
"buildVersion": "0.3.0-rc.0",
|
|
9
9
|
"buildName": "@perses-dev/logs-table-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/LogsTable.
|
|
12
|
+
"name": "__mf/js/LogsTable.e605cbfa.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "LogsTable",
|
|
23
|
-
"pluginVersion": "2.
|
|
23
|
+
"pluginVersion": "2.6.0",
|
|
24
24
|
"getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/LogsTable/\"; }"
|
|
25
25
|
},
|
|
26
26
|
"shared": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"js": {
|
|
37
37
|
"async": [],
|
|
38
38
|
"sync": [
|
|
39
|
-
"__mf/js/async/6274.
|
|
39
|
+
"__mf/js/async/6274.fe68ed99.js"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"css": {
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"js": {
|
|
61
61
|
"async": [],
|
|
62
62
|
"sync": [
|
|
63
|
-
"__mf/js/async/1616.
|
|
64
|
-
"__mf/js/async/9235.
|
|
63
|
+
"__mf/js/async/1616.c3be409a.js",
|
|
64
|
+
"__mf/js/async/9235.b68f4586.js"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"css": {
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"js": {
|
|
86
86
|
"async": [],
|
|
87
87
|
"sync": [
|
|
88
|
-
"__mf/js/async/5587.
|
|
89
|
-
"__mf/js/async/7968.
|
|
88
|
+
"__mf/js/async/5587.9e49a823.js",
|
|
89
|
+
"__mf/js/async/7968.ec249f6f.js"
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
92
|
"css": {
|
|
@@ -100,23 +100,23 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"singleton": true,
|
|
103
|
-
"requiredVersion": "^0.54.0-
|
|
103
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
104
104
|
"shareScope": "default",
|
|
105
105
|
"name": "@perses-dev/components",
|
|
106
|
-
"version": "0.54.0-
|
|
106
|
+
"version": "0.54.0-rc.0",
|
|
107
107
|
"eager": false,
|
|
108
108
|
"id": "LogsTable:@perses-dev/components",
|
|
109
109
|
"assets": {
|
|
110
110
|
"js": {
|
|
111
111
|
"async": [],
|
|
112
112
|
"sync": [
|
|
113
|
-
"__mf/js/async/
|
|
113
|
+
"__mf/js/async/3332.f7f30f03.js"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
116
|
"css": {
|
|
117
117
|
"async": [],
|
|
118
118
|
"sync": [
|
|
119
|
-
"__mf/css/async/
|
|
119
|
+
"__mf/css/async/3332.85c2cbf6.css"
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"singleton": true,
|
|
131
|
-
"requiredVersion": "^0.54.0-
|
|
131
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
132
132
|
"shareScope": "default",
|
|
133
133
|
"name": "@perses-dev/dashboards",
|
|
134
|
-
"version": "0.54.0-
|
|
134
|
+
"version": "0.54.0-rc.0",
|
|
135
135
|
"eager": false,
|
|
136
136
|
"id": "LogsTable:@perses-dev/dashboards",
|
|
137
137
|
"assets": {
|
|
138
138
|
"js": {
|
|
139
139
|
"async": [],
|
|
140
140
|
"sync": [
|
|
141
|
-
"__mf/js/async/
|
|
141
|
+
"__mf/js/async/9126.bf379c31.js"
|
|
142
142
|
]
|
|
143
143
|
},
|
|
144
144
|
"css": {
|
|
@@ -154,17 +154,17 @@
|
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"singleton": true,
|
|
157
|
-
"requiredVersion": "^0.54.0-
|
|
157
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
158
158
|
"shareScope": "default",
|
|
159
159
|
"name": "@perses-dev/plugin-system",
|
|
160
|
-
"version": "0.54.0-
|
|
160
|
+
"version": "0.54.0-rc.0",
|
|
161
161
|
"eager": false,
|
|
162
162
|
"id": "LogsTable:@perses-dev/plugin-system",
|
|
163
163
|
"assets": {
|
|
164
164
|
"js": {
|
|
165
165
|
"async": [],
|
|
166
166
|
"sync": [
|
|
167
|
-
"__mf/js/async/
|
|
167
|
+
"__mf/js/async/8558.1d16fe50.js"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"css": {
|
|
@@ -180,17 +180,17 @@
|
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"singleton": true,
|
|
183
|
-
"requiredVersion": "^0.2.0-beta.
|
|
183
|
+
"requiredVersion": "^0.2.0-beta.9",
|
|
184
184
|
"shareScope": "default",
|
|
185
185
|
"name": "@perses-dev/spec",
|
|
186
|
-
"version": "0.2.0-beta.
|
|
186
|
+
"version": "0.2.0-beta.9",
|
|
187
187
|
"eager": false,
|
|
188
188
|
"id": "LogsTable:@perses-dev/spec",
|
|
189
189
|
"assets": {
|
|
190
190
|
"js": {
|
|
191
191
|
"async": [],
|
|
192
192
|
"sync": [
|
|
193
|
-
"__mf/js/async/2842.
|
|
193
|
+
"__mf/js/async/2842.7c7a1b3f.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
196
|
"css": {
|
|
@@ -204,17 +204,17 @@
|
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"singleton": true,
|
|
207
|
-
"requiredVersion": "^4.
|
|
207
|
+
"requiredVersion": "^4.4.0",
|
|
208
208
|
"shareScope": "default",
|
|
209
209
|
"name": "date-fns",
|
|
210
|
-
"version": "4.
|
|
210
|
+
"version": "4.4.0",
|
|
211
211
|
"eager": false,
|
|
212
212
|
"id": "LogsTable:date-fns",
|
|
213
213
|
"assets": {
|
|
214
214
|
"js": {
|
|
215
215
|
"async": [],
|
|
216
216
|
"sync": [
|
|
217
|
-
"__mf/js/async/7192.
|
|
217
|
+
"__mf/js/async/7192.017cbe40.js"
|
|
218
218
|
]
|
|
219
219
|
},
|
|
220
220
|
"css": {
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"js": {
|
|
239
239
|
"async": [],
|
|
240
240
|
"sync": [
|
|
241
|
-
"__mf/js/async/873.
|
|
241
|
+
"__mf/js/async/873.4fd8a061.js"
|
|
242
242
|
]
|
|
243
243
|
},
|
|
244
244
|
"css": {
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
"js": {
|
|
263
263
|
"async": [],
|
|
264
264
|
"sync": [
|
|
265
|
-
"__mf/js/async/392.
|
|
265
|
+
"__mf/js/async/392.5cb44640.js"
|
|
266
266
|
]
|
|
267
267
|
},
|
|
268
268
|
"css": {
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
"js": {
|
|
287
287
|
"async": [],
|
|
288
288
|
"sync": [
|
|
289
|
-
"__mf/js/async/8470.
|
|
289
|
+
"__mf/js/async/8470.f0bbed7d.js"
|
|
290
290
|
]
|
|
291
291
|
},
|
|
292
292
|
"css": {
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"js": {
|
|
311
311
|
"async": [],
|
|
312
312
|
"sync": [
|
|
313
|
-
"__mf/js/async/4121.
|
|
313
|
+
"__mf/js/async/4121.d4c9b3e3.js"
|
|
314
314
|
]
|
|
315
315
|
},
|
|
316
316
|
"css": {
|
|
@@ -336,8 +336,8 @@
|
|
|
336
336
|
"js": {
|
|
337
337
|
"async": [],
|
|
338
338
|
"sync": [
|
|
339
|
-
"__mf/js/async/4077.
|
|
340
|
-
"__mf/js/async/6458.
|
|
339
|
+
"__mf/js/async/4077.32e3919d.js",
|
|
340
|
+
"__mf/js/async/6458.de33906b.js"
|
|
341
341
|
]
|
|
342
342
|
},
|
|
343
343
|
"css": {
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"js": {
|
|
362
362
|
"async": [],
|
|
363
363
|
"sync": [
|
|
364
|
-
"__mf/js/async/7978.
|
|
364
|
+
"__mf/js/async/7978.026a8b19.js"
|
|
365
365
|
]
|
|
366
366
|
},
|
|
367
367
|
"css": {
|
|
@@ -390,25 +390,25 @@
|
|
|
390
390
|
"assets": {
|
|
391
391
|
"js": {
|
|
392
392
|
"sync": [
|
|
393
|
-
"__mf/js/async/9293.
|
|
394
|
-
"__mf/js/async/7445.
|
|
395
|
-
"__mf/js/async/8608.
|
|
396
|
-
"__mf/js/async/
|
|
397
|
-
"__mf/js/async/__federation_expose_LogsTable.
|
|
393
|
+
"__mf/js/async/9293.ee3265d4.js",
|
|
394
|
+
"__mf/js/async/7445.009cf084.js",
|
|
395
|
+
"__mf/js/async/8608.618e49dc.js",
|
|
396
|
+
"__mf/js/async/8634.231e1601.js",
|
|
397
|
+
"__mf/js/async/__federation_expose_LogsTable.9480e369.js"
|
|
398
398
|
],
|
|
399
399
|
"async": [
|
|
400
|
-
"__mf/js/async/lib-router.
|
|
401
|
-
"__mf/js/async/
|
|
402
|
-
"__mf/js/async/
|
|
403
|
-
"__mf/js/async/
|
|
404
|
-
"__mf/js/async/
|
|
405
|
-
"__mf/js/async/
|
|
406
|
-
"__mf/js/async/9588.
|
|
407
|
-
"__mf/js/async/5071.
|
|
408
|
-
"__mf/js/async/2043.
|
|
409
|
-
"__mf/js/async/7413.
|
|
410
|
-
"__mf/js/async/4869.
|
|
411
|
-
"__mf/js/async/7177.
|
|
400
|
+
"__mf/js/async/lib-router.c5e3aef3.js",
|
|
401
|
+
"__mf/js/async/8542.aa0c5fe3.js",
|
|
402
|
+
"__mf/js/async/304.21c30c64.js",
|
|
403
|
+
"__mf/js/async/8356.f736e620.js",
|
|
404
|
+
"__mf/js/async/1603.89bfb1ad.js",
|
|
405
|
+
"__mf/js/async/8964.3e308de6.js",
|
|
406
|
+
"__mf/js/async/9588.b214b983.js",
|
|
407
|
+
"__mf/js/async/5071.be3352f1.js",
|
|
408
|
+
"__mf/js/async/2043.dba84aa4.js",
|
|
409
|
+
"__mf/js/async/7413.c2661694.js",
|
|
410
|
+
"__mf/js/async/4869.80345aa7.js",
|
|
411
|
+
"__mf/js/async/7177.8dd90707.js"
|
|
412
412
|
]
|
|
413
413
|
},
|
|
414
414
|
"css": {
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
"__mf/css/async/__federation_expose_LogsTable.eedb54d8.css"
|
|
417
417
|
],
|
|
418
418
|
"async": [
|
|
419
|
-
"__mf/css/async/
|
|
419
|
+
"__mf/css/async/3332.85c2cbf6.css"
|
|
420
420
|
]
|
|
421
421
|
}
|
|
422
422
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/logs-table-plugin",
|
|
3
|
-
"version": "0.3.0-
|
|
3
|
+
"version": "0.3.0-rc.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://github.com/perses/plugins/blob/main/README.md",
|
|
6
6
|
"repository": {
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"types": "lib/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"ansi_up": "^6.0.0",
|
|
29
|
-
"dompurify": "^3.4.
|
|
29
|
+
"dompurify": "^3.4.11"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@emotion/react": "^11.7.1",
|
|
33
33
|
"@emotion/styled": "^11.6.0",
|
|
34
34
|
"@hookform/resolvers": "^3.2.0",
|
|
35
|
-
"@perses-dev/components": "^0.54.0-
|
|
36
|
-
"@perses-dev/
|
|
37
|
-
"@perses-dev/
|
|
38
|
-
"@perses-dev/spec": "^0.2.0-beta.
|
|
35
|
+
"@perses-dev/components": "^0.54.0-rc.0",
|
|
36
|
+
"@perses-dev/dashboards": "^0.54.0-rc.0",
|
|
37
|
+
"@perses-dev/plugin-system": "^0.54.0-rc.0",
|
|
38
|
+
"@perses-dev/spec": "^0.2.0-beta.9",
|
|
39
39
|
"date-fns": "^4.1.0",
|
|
40
40
|
"date-fns-tz": "^3.2.0",
|
|
41
41
|
"echarts": "5.5.0",
|