@perses-dev/table-plugin 0.6.1 → 0.7.1
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/{6487.ac0b3bec.js → 6487.e3b37e41.js} +1 -1
- package/__mf/js/{Table.dcb50d79.js → Table.768b2f2d.js} +3 -3
- package/__mf/js/async/3090.f748dadb.js +2 -0
- package/__mf/js/async/{3224.673940ed.js → 3224.fbb884ab.js} +1 -1
- package/__mf/js/async/3598.193e9962.js +1 -0
- package/__mf/js/async/3980.9246eb0c.js +2 -0
- package/__mf/js/async/{6333.35401612.js.LICENSE.txt → 3980.9246eb0c.js.LICENSE.txt} +2 -2
- package/__mf/js/async/{4075.16e3dc8a.js → 4075.4fb81a28.js} +1 -1
- package/__mf/js/async/{5377.05ab91aa.js → 5377.0695a823.js} +1 -1
- package/__mf/js/async/5503.c5750d0c.js +1 -0
- package/__mf/js/async/5901.2aaa62a6.js +2 -0
- package/__mf/js/async/7179.516df6f8.js +73 -0
- package/__mf/js/async/8970.e4194572.js +7 -0
- package/__mf/js/async/__federation_expose_Table.12e32a6d.js +1 -0
- package/__mf/js/main.bac32847.js +1 -0
- package/mf-manifest.json +64 -96
- package/mf-stats.json +64 -96
- package/package.json +5 -5
- package/__mf/css/async/2569.cbbd94a8.css +0 -1
- package/__mf/css/async/8433.cbbd94a8.css +0 -1
- package/__mf/js/async/133.46388a8d.js +0 -1
- package/__mf/js/async/2292.42e8992b.js +0 -2
- package/__mf/js/async/232.ab228ab3.js +0 -1
- package/__mf/js/async/2641.78a9e888.js +0 -1
- package/__mf/js/async/3079.9e782657.js +0 -23
- package/__mf/js/async/4062.0dd7dc24.js +0 -1
- package/__mf/js/async/52.77f8a241.js +0 -2
- package/__mf/js/async/5409.33ed27cd.js +0 -1
- package/__mf/js/async/5767.f16855a4.js +0 -1
- package/__mf/js/async/5998.ac755fc8.js +0 -73
- package/__mf/js/async/6277.853e296a.js +0 -23
- package/__mf/js/async/6333.35401612.js +0 -2
- package/__mf/js/async/654.0d5da894.js +0 -1
- package/__mf/js/async/6913.1b3a7693.js +0 -1
- package/__mf/js/async/7606.4ba8e3ec.js +0 -1
- package/__mf/js/async/894.0035563b.js +0 -1
- package/__mf/js/async/8981.3989d84b.js +0 -1
- package/__mf/js/async/9057.2b54c435.js +0 -1
- package/__mf/js/async/922.d9680010.js +0 -7
- package/__mf/js/async/__federation_expose_Table.07bc26cc.js +0 -1
- package/__mf/js/main.62569baf.js +0 -1
- /package/__mf/js/async/{2292.42e8992b.js.LICENSE.txt → 3090.f748dadb.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{52.77f8a241.js.LICENSE.txt → 5901.2aaa62a6.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5998.ac755fc8.js.LICENSE.txt → 7179.516df6f8.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{922.d9680010.js.LICENSE.txt → 8970.e4194572.js.LICENSE.txt} +0 -0
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "Table",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.
|
|
8
|
+
"buildVersion": "0.7.1",
|
|
9
9
|
"buildName": "@perses-dev/table-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/Table.
|
|
12
|
+
"name": "__mf/js/Table.768b2f2d.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"singleton": true,
|
|
106
|
-
"requiredVersion": "^0.51.0-rc.
|
|
106
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
107
107
|
"shareScope": "default",
|
|
108
108
|
"name": "@perses-dev/components",
|
|
109
|
-
"version": "0.51.0-rc.
|
|
109
|
+
"version": "0.51.0-rc.1",
|
|
110
110
|
"eager": false,
|
|
111
111
|
"id": "Table:@perses-dev/components",
|
|
112
112
|
"assets": {
|
|
@@ -116,16 +116,13 @@
|
|
|
116
116
|
"__mf/js/async/9173.00408de3.js",
|
|
117
117
|
"__mf/js/async/3960.c992ac30.js",
|
|
118
118
|
"__mf/js/async/6770.84690346.js",
|
|
119
|
-
"__mf/js/async/
|
|
120
|
-
"__mf/js/async/
|
|
121
|
-
"__mf/js/async/4075.16e3dc8a.js",
|
|
119
|
+
"__mf/js/async/5901.2aaa62a6.js",
|
|
120
|
+
"__mf/js/async/4075.4fb81a28.js",
|
|
122
121
|
"__mf/js/async/7740.dcade8b6.js",
|
|
123
|
-
"__mf/js/async/6292.20be7eae.js"
|
|
124
|
-
"__mf/js/async/654.0d5da894.js"
|
|
122
|
+
"__mf/js/async/6292.20be7eae.js"
|
|
125
123
|
],
|
|
126
124
|
"sync": [
|
|
127
|
-
"__mf/js/async/
|
|
128
|
-
"__mf/js/async/6277.853e296a.js"
|
|
125
|
+
"__mf/js/async/8970.e4194572.js"
|
|
129
126
|
]
|
|
130
127
|
},
|
|
131
128
|
"css": {
|
|
@@ -139,10 +136,10 @@
|
|
|
139
136
|
},
|
|
140
137
|
{
|
|
141
138
|
"singleton": true,
|
|
142
|
-
"requiredVersion": "^0.51.0-rc.
|
|
139
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
143
140
|
"shareScope": "default",
|
|
144
141
|
"name": "@perses-dev/core",
|
|
145
|
-
"version": "0.51.0-rc.
|
|
142
|
+
"version": "0.51.0-rc.1",
|
|
146
143
|
"eager": false,
|
|
147
144
|
"id": "Table:@perses-dev/core",
|
|
148
145
|
"assets": {
|
|
@@ -150,12 +147,11 @@
|
|
|
150
147
|
"async": [
|
|
151
148
|
"__mf/js/async/1964.979a7101.js",
|
|
152
149
|
"__mf/js/async/4238.e22a8e1b.js",
|
|
153
|
-
"__mf/js/async/3224.
|
|
154
|
-
"__mf/js/async/4075.
|
|
150
|
+
"__mf/js/async/3224.fbb884ab.js",
|
|
151
|
+
"__mf/js/async/4075.4fb81a28.js"
|
|
155
152
|
],
|
|
156
153
|
"sync": [
|
|
157
|
-
"__mf/js/async/
|
|
158
|
-
"__mf/js/async/654.0d5da894.js"
|
|
154
|
+
"__mf/js/async/5901.2aaa62a6.js"
|
|
159
155
|
]
|
|
160
156
|
},
|
|
161
157
|
"css": {
|
|
@@ -169,10 +165,10 @@
|
|
|
169
165
|
},
|
|
170
166
|
{
|
|
171
167
|
"singleton": true,
|
|
172
|
-
"requiredVersion": "^0.51.0-rc.
|
|
168
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
173
169
|
"shareScope": "default",
|
|
174
170
|
"name": "@perses-dev/dashboards",
|
|
175
|
-
"version": "0.51.0-rc.
|
|
171
|
+
"version": "0.51.0-rc.1",
|
|
176
172
|
"eager": false,
|
|
177
173
|
"id": "Table:@perses-dev/dashboards",
|
|
178
174
|
"assets": {
|
|
@@ -183,41 +179,33 @@
|
|
|
183
179
|
"__mf/js/async/3960.c992ac30.js",
|
|
184
180
|
"__mf/js/async/6292.20be7eae.js",
|
|
185
181
|
"__mf/js/async/6770.84690346.js",
|
|
186
|
-
"__mf/js/async/5377.
|
|
187
|
-
"__mf/js/async/
|
|
188
|
-
"__mf/js/async/133.46388a8d.js",
|
|
182
|
+
"__mf/js/async/5377.0695a823.js",
|
|
183
|
+
"__mf/js/async/5901.2aaa62a6.js",
|
|
189
184
|
"__mf/js/async/4238.e22a8e1b.js",
|
|
190
|
-
"__mf/js/async/3224.
|
|
191
|
-
"__mf/js/async/4075.
|
|
185
|
+
"__mf/js/async/3224.fbb884ab.js",
|
|
186
|
+
"__mf/js/async/4075.4fb81a28.js",
|
|
192
187
|
"__mf/js/async/6357.e10e2a7f.js",
|
|
193
|
-
"__mf/js/async/
|
|
194
|
-
"__mf/js/async/
|
|
188
|
+
"__mf/js/async/3090.f748dadb.js",
|
|
189
|
+
"__mf/js/async/8970.e4194572.js",
|
|
195
190
|
"__mf/js/async/9354.fc319e8b.js",
|
|
196
|
-
"__mf/js/async/3079.9e782657.js",
|
|
197
191
|
"__mf/js/async/7740.dcade8b6.js",
|
|
198
192
|
"__mf/js/async/lib-router.d60ae988.js",
|
|
199
|
-
"__mf/js/async/
|
|
200
|
-
"__mf/js/async/
|
|
201
|
-
"__mf/js/async/
|
|
202
|
-
"__mf/js/async/
|
|
193
|
+
"__mf/js/async/3598.193e9962.js",
|
|
194
|
+
"__mf/js/async/8565.0065c3c7.js",
|
|
195
|
+
"__mf/js/async/5503.c5750d0c.js",
|
|
196
|
+
"__mf/js/async/6284.0d33a1ae.js",
|
|
197
|
+
"__mf/js/async/5912.b68e4631.js",
|
|
203
198
|
"__mf/js/async/5981.95116879.js",
|
|
204
199
|
"__mf/js/async/738.e2fbbd72.js",
|
|
205
|
-
"__mf/js/async/
|
|
206
|
-
"__mf/js/async/654.0d5da894.js",
|
|
207
|
-
"__mf/js/async/6277.853e296a.js",
|
|
208
|
-
"__mf/js/async/8981.3989d84b.js",
|
|
209
|
-
"__mf/js/async/8565.0065c3c7.js",
|
|
210
|
-
"__mf/js/async/5767.f16855a4.js"
|
|
200
|
+
"__mf/js/async/3980.9246eb0c.js"
|
|
211
201
|
],
|
|
212
202
|
"sync": [
|
|
213
|
-
"__mf/js/async/
|
|
214
|
-
"__mf/js/async/894.0035563b.js"
|
|
203
|
+
"__mf/js/async/7179.516df6f8.js"
|
|
215
204
|
]
|
|
216
205
|
},
|
|
217
206
|
"css": {
|
|
218
207
|
"async": [
|
|
219
|
-
"__mf/css/async/
|
|
220
|
-
"__mf/css/async/2569.cbbd94a8.css"
|
|
208
|
+
"__mf/css/async/5263.cbbd94a8.css"
|
|
221
209
|
],
|
|
222
210
|
"sync": []
|
|
223
211
|
}
|
|
@@ -228,10 +216,10 @@
|
|
|
228
216
|
},
|
|
229
217
|
{
|
|
230
218
|
"singleton": true,
|
|
231
|
-
"requiredVersion": "^0.51.0-rc.
|
|
219
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
232
220
|
"shareScope": "default",
|
|
233
221
|
"name": "@perses-dev/plugin-system",
|
|
234
|
-
"version": "0.51.0-rc.
|
|
222
|
+
"version": "0.51.0-rc.1",
|
|
235
223
|
"eager": false,
|
|
236
224
|
"id": "Table:@perses-dev/plugin-system",
|
|
237
225
|
"assets": {
|
|
@@ -242,43 +230,33 @@
|
|
|
242
230
|
"__mf/js/async/3960.c992ac30.js",
|
|
243
231
|
"__mf/js/async/6292.20be7eae.js",
|
|
244
232
|
"__mf/js/async/6770.84690346.js",
|
|
245
|
-
"__mf/js/async/5377.
|
|
246
|
-
"__mf/js/async/
|
|
247
|
-
"__mf/js/async/133.46388a8d.js",
|
|
233
|
+
"__mf/js/async/5377.0695a823.js",
|
|
234
|
+
"__mf/js/async/5901.2aaa62a6.js",
|
|
248
235
|
"__mf/js/async/4238.e22a8e1b.js",
|
|
249
|
-
"__mf/js/async/3224.
|
|
250
|
-
"__mf/js/async/4075.
|
|
236
|
+
"__mf/js/async/3224.fbb884ab.js",
|
|
237
|
+
"__mf/js/async/4075.4fb81a28.js",
|
|
251
238
|
"__mf/js/async/7740.dcade8b6.js",
|
|
252
239
|
"__mf/js/async/4300.4e662fdf.js",
|
|
253
240
|
"__mf/js/async/9010.06449312.js",
|
|
254
|
-
"__mf/js/async/
|
|
255
|
-
"__mf/js/async/
|
|
241
|
+
"__mf/js/async/3090.f748dadb.js",
|
|
242
|
+
"__mf/js/async/8970.e4194572.js",
|
|
256
243
|
"__mf/js/async/9354.fc319e8b.js",
|
|
257
|
-
"__mf/js/async/
|
|
258
|
-
"__mf/js/async/
|
|
259
|
-
"__mf/js/async/
|
|
260
|
-
"__mf/js/async/5998.ac755fc8.js",
|
|
261
|
-
"__mf/js/async/5767.f16855a4.js",
|
|
262
|
-
"__mf/js/async/5981.95116879.js",
|
|
263
|
-
"__mf/js/async/738.e2fbbd72.js",
|
|
264
|
-
"__mf/js/async/232.ab228ab3.js",
|
|
265
|
-
"__mf/js/async/654.0d5da894.js",
|
|
266
|
-
"__mf/js/async/6913.1b3a7693.js",
|
|
267
|
-
"__mf/js/async/6277.853e296a.js",
|
|
244
|
+
"__mf/js/async/8565.0065c3c7.js",
|
|
245
|
+
"__mf/js/async/5503.c5750d0c.js",
|
|
246
|
+
"__mf/js/async/7179.516df6f8.js",
|
|
268
247
|
"__mf/js/async/6284.0d33a1ae.js",
|
|
269
248
|
"__mf/js/async/5912.b68e4631.js",
|
|
270
|
-
"__mf/js/async/
|
|
271
|
-
"__mf/js/async/
|
|
249
|
+
"__mf/js/async/5981.95116879.js",
|
|
250
|
+
"__mf/js/async/738.e2fbbd72.js",
|
|
251
|
+
"__mf/js/async/3980.9246eb0c.js"
|
|
272
252
|
],
|
|
273
253
|
"sync": [
|
|
274
|
-
"__mf/js/async/
|
|
275
|
-
"__mf/js/async/8981.3989d84b.js"
|
|
254
|
+
"__mf/js/async/3598.193e9962.js"
|
|
276
255
|
]
|
|
277
256
|
},
|
|
278
257
|
"css": {
|
|
279
258
|
"async": [
|
|
280
|
-
"__mf/css/async/
|
|
281
|
-
"__mf/css/async/2569.cbbd94a8.css"
|
|
259
|
+
"__mf/css/async/5263.cbbd94a8.css"
|
|
282
260
|
],
|
|
283
261
|
"sync": []
|
|
284
262
|
}
|
|
@@ -289,10 +267,10 @@
|
|
|
289
267
|
},
|
|
290
268
|
{
|
|
291
269
|
"singleton": true,
|
|
292
|
-
"requiredVersion": "^
|
|
270
|
+
"requiredVersion": "^4.39.1",
|
|
293
271
|
"shareScope": "default",
|
|
294
272
|
"name": "@tanstack/react-query",
|
|
295
|
-
"version": "
|
|
273
|
+
"version": "4.39.1",
|
|
296
274
|
"eager": false,
|
|
297
275
|
"id": "Table:@tanstack/react-query",
|
|
298
276
|
"assets": {
|
|
@@ -301,7 +279,7 @@
|
|
|
301
279
|
"__mf/js/async/1964.979a7101.js"
|
|
302
280
|
],
|
|
303
281
|
"sync": [
|
|
304
|
-
"__mf/js/async/
|
|
282
|
+
"__mf/js/async/3980.9246eb0c.js"
|
|
305
283
|
]
|
|
306
284
|
},
|
|
307
285
|
"css": {
|
|
@@ -323,7 +301,7 @@
|
|
|
323
301
|
"js": {
|
|
324
302
|
"async": [],
|
|
325
303
|
"sync": [
|
|
326
|
-
"__mf/js/async/4075.
|
|
304
|
+
"__mf/js/async/4075.4fb81a28.js"
|
|
327
305
|
]
|
|
328
306
|
},
|
|
329
307
|
"css": {
|
|
@@ -345,7 +323,7 @@
|
|
|
345
323
|
"js": {
|
|
346
324
|
"async": [],
|
|
347
325
|
"sync": [
|
|
348
|
-
"__mf/js/async/
|
|
326
|
+
"__mf/js/async/5503.c5750d0c.js"
|
|
349
327
|
]
|
|
350
328
|
},
|
|
351
329
|
"css": {
|
|
@@ -461,7 +439,7 @@
|
|
|
461
439
|
"js": {
|
|
462
440
|
"async": [
|
|
463
441
|
"__mf/js/async/4238.e22a8e1b.js",
|
|
464
|
-
"__mf/js/async/4075.
|
|
442
|
+
"__mf/js/async/4075.4fb81a28.js"
|
|
465
443
|
],
|
|
466
444
|
"sync": [
|
|
467
445
|
"__mf/js/async/7740.dcade8b6.js"
|
|
@@ -495,7 +473,7 @@
|
|
|
495
473
|
"__mf/js/async/9010.06449312.js",
|
|
496
474
|
"__mf/js/async/3372.d4622f1a.js",
|
|
497
475
|
"__mf/js/async/9354.fc319e8b.js",
|
|
498
|
-
"__mf/js/async/__federation_expose_Table.
|
|
476
|
+
"__mf/js/async/__federation_expose_Table.12e32a6d.js"
|
|
499
477
|
],
|
|
500
478
|
"async": [
|
|
501
479
|
"__mf/js/async/1964.979a7101.js",
|
|
@@ -505,41 +483,31 @@
|
|
|
505
483
|
"__mf/js/async/6284.0d33a1ae.js",
|
|
506
484
|
"__mf/js/async/4300.4e662fdf.js",
|
|
507
485
|
"__mf/js/async/5912.b68e4631.js",
|
|
508
|
-
"__mf/js/async/
|
|
509
|
-
"__mf/js/async/894.0035563b.js",
|
|
486
|
+
"__mf/js/async/7179.516df6f8.js",
|
|
510
487
|
"__mf/js/async/6357.e10e2a7f.js",
|
|
511
|
-
"__mf/js/async/5377.05ab91aa.js",
|
|
512
488
|
"__mf/js/async/4238.e22a8e1b.js",
|
|
513
|
-
"__mf/js/async/3224.
|
|
514
|
-
"__mf/js/async/
|
|
515
|
-
"__mf/js/async/
|
|
516
|
-
"__mf/js/async/
|
|
489
|
+
"__mf/js/async/3224.fbb884ab.js",
|
|
490
|
+
"__mf/js/async/5377.0695a823.js",
|
|
491
|
+
"__mf/js/async/3090.f748dadb.js",
|
|
492
|
+
"__mf/js/async/8970.e4194572.js",
|
|
493
|
+
"__mf/js/async/4075.4fb81a28.js",
|
|
517
494
|
"__mf/js/async/7740.dcade8b6.js",
|
|
518
|
-
"__mf/js/async/4075.16e3dc8a.js",
|
|
519
495
|
"__mf/js/async/6292.20be7eae.js",
|
|
520
|
-
"__mf/js/async/
|
|
521
|
-
"__mf/js/async/654.0d5da894.js",
|
|
496
|
+
"__mf/js/async/5901.2aaa62a6.js",
|
|
522
497
|
"__mf/js/async/lib-router.d60ae988.js",
|
|
523
|
-
"__mf/js/async/
|
|
524
|
-
"__mf/js/async/8981.3989d84b.js",
|
|
498
|
+
"__mf/js/async/3598.193e9962.js",
|
|
525
499
|
"__mf/js/async/8565.0065c3c7.js",
|
|
526
|
-
"__mf/js/async/
|
|
527
|
-
"__mf/js/async/6913.1b3a7693.js",
|
|
528
|
-
"__mf/js/async/2641.78a9e888.js",
|
|
529
|
-
"__mf/js/async/5767.f16855a4.js",
|
|
530
|
-
"__mf/js/async/5981.95116879.js",
|
|
531
|
-
"__mf/js/async/133.46388a8d.js",
|
|
532
|
-
"__mf/js/async/3079.9e782657.js",
|
|
500
|
+
"__mf/js/async/5503.c5750d0c.js",
|
|
533
501
|
"__mf/js/async/738.e2fbbd72.js",
|
|
534
|
-
"__mf/js/async/
|
|
502
|
+
"__mf/js/async/3980.9246eb0c.js",
|
|
503
|
+
"__mf/js/async/5981.95116879.js",
|
|
535
504
|
"__mf/js/async/8488.d5eddfc6.js"
|
|
536
505
|
]
|
|
537
506
|
},
|
|
538
507
|
"css": {
|
|
539
508
|
"sync": [],
|
|
540
509
|
"async": [
|
|
541
|
-
"__mf/css/async/
|
|
542
|
-
"__mf/css/async/8433.cbbd94a8.css",
|
|
510
|
+
"__mf/css/async/5263.cbbd94a8.css",
|
|
543
511
|
"__mf/css/async/2341.cbbd94a8.css"
|
|
544
512
|
]
|
|
545
513
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/table-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "rsbuild dev",
|
|
6
6
|
"build": "npm run build-mf && concurrently \"npm:build:*\"",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@emotion/react": "^11.7.1",
|
|
20
20
|
"@emotion/styled": "^11.6.0",
|
|
21
21
|
"@hookform/resolvers": "^3.2.0",
|
|
22
|
-
"@perses-dev/components": "^0.51.0-rc.
|
|
23
|
-
"@perses-dev/core": "^0.51.0-rc.
|
|
24
|
-
"@perses-dev/plugin-system": "^0.51.0-rc.
|
|
25
|
-
"@perses-dev/dashboards": "^0.51.0-rc.
|
|
22
|
+
"@perses-dev/components": "^0.51.0-rc.1",
|
|
23
|
+
"@perses-dev/core": "^0.51.0-rc.1",
|
|
24
|
+
"@perses-dev/plugin-system": "^0.51.0-rc.1",
|
|
25
|
+
"@perses-dev/dashboards": "^0.51.0-rc.1",
|
|
26
26
|
"date-fns": "^4.1.0",
|
|
27
27
|
"date-fns-tz": "^3.2.0",
|
|
28
28
|
"echarts": "5.5.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:300;src:url(/plugins/Table/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-300-normal.322bdf14.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:300;src:url(/plugins/Table/__mf/font/lato-latin-300-normal.c5195215.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-300-normal.322bdf14.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:400;src:url(/plugins/Table/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-400-normal.63513b00.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:400;src:url(/plugins/Table/__mf/font/lato-latin-400-normal.b7ffde23.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-400-normal.63513b00.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:700;src:url(/plugins/Table/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-700-normal.bb27db94.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:700;src:url(/plugins/Table/__mf/font/lato-latin-700-normal.d5eb20bc.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-700-normal.bb27db94.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:900;src:url(/plugins/Table/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-900-normal.a27049a3.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:900;src:url(/plugins/Table/__mf/font/lato-latin-900-normal.d884a71c.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-900-normal.a27049a3.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:300;src:url(/plugins/Table/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-300-normal.322bdf14.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:300;src:url(/plugins/Table/__mf/font/lato-latin-300-normal.c5195215.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-300-normal.322bdf14.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:400;src:url(/plugins/Table/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-400-normal.63513b00.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:400;src:url(/plugins/Table/__mf/font/lato-latin-400-normal.b7ffde23.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-400-normal.63513b00.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:700;src:url(/plugins/Table/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-700-normal.bb27db94.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:700;src:url(/plugins/Table/__mf/font/lato-latin-700-normal.d5eb20bc.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-700-normal.bb27db94.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:900;src:url(/plugins/Table/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-900-normal.a27049a3.woff)format("woff");unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lato;font-style:normal;font-display:swap;font-weight:900;src:url(/plugins/Table/__mf/font/lato-latin-900-normal.d884a71c.woff2)format("woff2"),url(/plugins/Table/__mf/font/lato-all-900-normal.a27049a3.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkTable=self.webpackChunkTable||[]).push([["133"],{36607:function(e,t,a){a.r(t),a.d(t,{applyMergeSeriesTransform:()=>t_,variableTextSchema:()=>to,globalRoleBindingSchema:()=>e1,msToPrometheusDuration:()=>$,getMetadataProject:()=>w,useTransformData:()=>tB,rolesEditorSchema:()=>eK,secretSchema:()=>e6,getSuggestedStepMs:()=>J,getCalculation:()=>f,CALCULATIONS_CONFIG:()=>m,isValidLegendPosition:()=>S,isValidLegendSize:()=>M,querySpecSchema:()=>eL,buildVariableSpecSchema:()=>tu,buildDatasourceSpecSchema:()=>ew,transformData:()=>t$,useMemoized:()=>tj,secretsEditorSchema:()=>e4,secretSpecSchema:()=>e3,DEFAULT_REFRESH_INTERVAL:()=>l,roleBindingSpecSchema:()=>eY,intervalToPrometheusDuration:()=>_,pluginSchema:()=>eI,displaySchema:()=>eT,getLegendMode:()=>j,isThroughputUnit:()=>eM,otlpcommonv1:()=>s,projectMetadataSchema:()=>eR,variableListSchema:()=>ts,otlptracev1:()=>r,buildDatasourceDefinitionSchema:()=>eP,isValidTraceId:()=>X,panelSpecSchema:()=>eN,getLegendSize:()=>k,buildPanelDefinitionSchema:()=>eB,useEvent:()=>tb,isTimeUnit:()=>eg,parseDurationString:()=>G,FetchError:()=>tS,applyMergeColumnsTransform:()=>tG,isPercentUnit:()=>eb,buildVariableListSpecSchema:()=>tn,datasourceSpecSchema:()=>eF,formatDuration:()=>B,globalVariableSchema:()=>td,isRelativeTimeRange:()=>P,GLOBAL_SCOPES:()=>C,getVariableProject:()=>ev,isEmptyObject:()=>tM,buildVariableListSchema:()=>ti,isValidQueryPluginType:()=>T,TRANSFORM_TEXT:()=>H,UNIT_GROUP_CONFIG:()=>eu,roleSchema:()=>eX,resolvePanelRef:()=>tx,variableTextSpecSchema:()=>tr,KINDS:()=>g,applyMergeIndexedColumnsTransform:()=>tN,CalculationsMap:()=>d,getTimeSeriesValues:()=>tP,UNIT_CONFIG:()=>ec,createRegexFromString:()=>tq,buildPanelEditorSchema:()=>eq,isDecimalUnit:()=>eh,isUnitWithShortValues:()=>ey,userSchema:()=>te,variableSpecSchema:()=>tl,userSpecSchema:()=>e9,otlpresourcev1:()=>i,PROJECT_SCOPES:()=>E,getCommonTimeScale:()=>tA,variableDisplaySchema:()=>tt,formatValue:()=>ed,variablesSchema:()=>tm,DEFAULT_DASHBOARD_DURATION:()=>o,legendSizes:()=>z,getYValues:()=>tU,datasourceSchema:()=>eO,isBytesUnit:()=>ez,durationValidationSchema:()=>eU,getCalculations:()=>p,toAbsoluteTimeRange:()=>A,getLegendPosition:()=>D,roleSpecSchema:()=>eW,nameSchema:()=>ek,SAVE_DEFAULTS_DIALOG_TEXT:()=>u,isRegexPattern:()=>tZ,buildPanelSpecSchema:()=>e_,isUnitWithDecimalPlaces:()=>eS,isProjectMetadata:()=>F,shouldShortenValues:()=>K,getResourceExtendedDisplayName:()=>tF,oauthProvidersSchema:()=>e7,permissionSchema:()=>eJ,variableListSpecSchema:()=>ta,getPanelKeyFromRef:()=>tR,globalRoleSchema:()=>eH,variableDefinitionSchema:()=>tp,DEFAULT_LEGEND:()=>v,globalDatasourceSchema:()=>eE,isDurationString:()=>N,fetchJson:()=>tz,legendModes:()=>h,roleBindingsEditorSchema:()=>e5,panelDisplaySpec:()=>eA,roundStepInterval:()=>q,DURATION_REGEX:()=>L,buildVariableDefinitionSchema:()=>tf,MAX_SIGNIFICANT_DIGITS:()=>et,getUnitGroupConfig:()=>ef,legendPositions:()=>b,limitDecimalPlaces:()=>Y,hasDecimalPlaces:()=>Q,UserFriendlyError:()=>ty,globalSecretSchema:()=>e2,DEFAULT_ALL_VALUE:()=>eD,getXValues:()=>tV,fetch:()=>th,panelEditorSchema:()=>eZ,isAbsoluteTimeRange:()=>U,roleBindingSchema:()=>e0,useDeepMemo:()=>tk,MIN_STEP_INTERVAL_MS:()=>tC,metadataSchema:()=>ex,isTimeSeriesValueTuple:()=>W,datasourcesSchema:()=>eC,createPanelRef:()=>tI,applyValueMapping:()=>tJ,getResourceDisplayName:()=>tT,nativeProviderSchema:()=>e8,applyJoinTransform:()=>tL,DEFAULT_CALCULATION:()=>c,isValidLegendMode:()=>y,ACTIONS:()=>O,datasourceDefinitionSchema:()=>eV,subjectSchema:()=>eQ,getUnitConfig:()=>em,linkSchema:()=>eG,variableSchema:()=>tc,getUnitGroup:()=>ep,panelDefinitionSchema:()=>e$});var n,s={};a.r(s);var i={};a.r(i);var r={};a.r(r),a.d(r,{StatusCodeError:()=>I,StatusCodeOk:()=>R,StatusCodeUnset:()=>x});let o="1h",l="0s",u="You have made changes to the time range or the variables values. Would you like to save these as defaults?",c="last",d={first:function(e){return f(e,"first")},last:function(e){return f(e,"last")},"first-number":function(e){return f(e,"first-number")},"last-number":function(e){return f(e,"last-number")},mean:function(e){return f(e,"mean")},sum:function(e){return f(e,"sum")},min:function(e){return f(e,"min")},max:function(e){return f(e,"max")}},m={first:{label:"First",description:"First value"},last:{label:"Last",description:"Last value"},"first-number":{label:"First *",description:"First numeric value"},"last-number":{label:"Last *",description:"Last numeric value"},mean:{label:"Avg",description:"Average value excluding nulls"},sum:{label:"Sum",description:"The sum of all values"},min:{label:"Min",description:"Minimum value"},max:{label:"Max",description:"Maximum value"}};function p(e,t){let a=t.reduce((e,t)=>(e[t]=void 0,e),{}),n=0,s=0;return e.forEach((t,i)=>{let r=t[1];0===i&&"first"in a&&(a.first=r),i===e.length-1&&"last"in a&&(a.last=r),"number"==typeof r&&(n+=1,s+=r,"first-number"in a&&void 0===a["first-number"]&&(a["first-number"]=r),"last-number"in a&&(a["last-number"]=r),"min"in a&&("number"!=typeof a.min?a.min=r:a.min=Math.min(a.min,r)),"max"in a&&("number"!=typeof a.max?a.max=r:a.max=Math.max(a.max,r)))}),n>0&&"sum"in a&&(a.sum=s),n>0&&"mean"in a&&(a.mean=s/n),a}function f(e,t){return p(e,[t])[t]}let g=["Dashboard","Datasource","EphemeralDashboard","Folder","GlobalDatasource","GlobalRole","GlobalRoleBinding","GlobalSecret","GlobalVariable","Project","Role","RoleBinding","Secret","User","Variable"],b=["bottom","right"],h=["list","table"],z=["small","medium"];function S(e){return b.includes(e)}function y(e){return h.includes(e)}function M(e){return z.includes(e)}let v={position:"bottom",mode:"list",size:"medium"};function D(e){return void 0===e?v.position:S(e)?e:v.position}function j(e){return e&&y(e)?e:v.mode}function k(e){return e&&M(e)?e:v.size}let x="STATUS_CODE_UNSET",R="STATUS_CODE_OK",I="STATUS_CODE_ERROR";function T(e){return["TimeSeriesQuery","TraceQuery"].includes(e)}function F(e){return"project"in e}function w(e){return"project"in e?e.project:void 0}let O=["*","create","read","update","delete"],E=["*","Dashboard","Datasource","EphemeralDashboard","Folder","Project","Role","RoleBinding","Secret","Variable"],C=["GlobalDatasource","GlobalRole","GlobalRoleBinding","GlobalSecret","GlobalVariable","User"];var V=a(20461);function P(e){return void 0!==e.pastDuration}function U(e){return void 0!==e.start&&void 0!==e.end}function A(e){let t=e.end??new Date;return{start:(0,V.sub)(t,G(e.pastDuration)),end:t}}let L=/^(?:(\d+)y)?(?:(\d+)w)?(?:(\d+)d)?(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?(?:(\d+)ms)?$/;function G(e){let t=L.exec(e);if(null===t)throw Error(`Invalid duration string '${e}'`);return{years:parseInt(t[1]??"0"),months:0,weeks:parseInt(t[2]??"0"),days:parseInt(t[3]??"0"),hours:parseInt(t[4]??"0"),minutes:parseInt(t[5]??"0"),seconds:parseInt(t[6]??"0")+parseInt(t[7]??"0")/1e3}}function N(e){return""!==e&&L.test(e)}function _(e){return $(e.end.valueOf()-e.start.valueOf())}function $(e){let t=Math.trunc(e/31536e6);t>0&&(e-=31536e6*t);let a=Math.trunc(e/6048e5);a>0&&(e-=6048e5*a);let n=Math.trunc(e/864e5);n>0&&(e-=864e5*n);let s=Math.trunc(e/36e5);s>0&&(e-=36e5*s);let i=Math.trunc(e/6e4);return i>0&&(e-=6e4*i),{years:t,months:0,weeks:a,days:n,hours:s,minutes:i,seconds:e/1e3}}function B(e){let t=[];if(e.years&&t.push(`${e.years}y`),e.weeks&&t.push(`${e.weeks}w`),e.days&&t.push(`${e.days}d`),e.hours&&t.push(`${e.hours}h`),e.minutes&&t.push(`${e.minutes}m`),e.seconds){let a=Math.trunc(e.seconds);a&&t.push(`${a}s`);let n=Math.round((e.seconds-a)*1e3);n&&t.push(`${n}ms`)}return t.join("")}let Z=[{maxMs:15,roundedStepMs:10,display:"0.01s"},{maxMs:35,roundedStepMs:20,display:"0.02s"},{maxMs:75,roundedStepMs:50,display:"0.05s"},{maxMs:150,roundedStepMs:100,display:"0.1s"},{maxMs:350,roundedStepMs:200,display:"0.2s"},{maxMs:750,roundedStepMs:500,display:"0.5s"},{maxMs:1500,roundedStepMs:1e3,display:"1s"},{maxMs:3500,roundedStepMs:2e3,display:"2s"},{maxMs:7500,roundedStepMs:5e3,display:"5s"},{maxMs:12500,roundedStepMs:1e4,display:"10s"},{maxMs:17500,roundedStepMs:15e3,display:"15s"},{maxMs:25e3,roundedStepMs:2e4,display:"20s"},{maxMs:45e3,roundedStepMs:3e4,display:"30s"},{maxMs:9e4,roundedStepMs:6e4,display:"1m"},{maxMs:21e4,roundedStepMs:12e4,display:"2m"},{maxMs:45e4,roundedStepMs:3e5,display:"5m"},{maxMs:75e4,roundedStepMs:6e5,display:"10m"},{maxMs:75e4,roundedStepMs:9e5,display:"15m"},{maxMs:15e5,roundedStepMs:12e5,display:"20m"},{maxMs:27e5,roundedStepMs:18e5,display:"30m"},{maxMs:54e5,roundedStepMs:36e5,display:"1h"},{maxMs:9e6,roundedStepMs:72e5,display:"2h"},{maxMs:162e5,roundedStepMs:108e5,display:"3h"},{maxMs:324e5,roundedStepMs:216e5,display:"6h"},{maxMs:864e5,roundedStepMs:432e5,display:"12h"},{maxMs:6048e5,roundedStepMs:864e5,display:"1d"},{maxMs:18144e5,roundedStepMs:6048e5,display:"1w"},{maxMs:36288e5,roundedStepMs:2592e6,display:"30d"},{maxMs:63072e6,roundedStepMs:31536e6,display:"1y"}];function q(e){for(let{maxMs:t,roundedStepMs:a}of Z)if(e<t)return a;return 15e3}function J(e,t){return q(Math.floor((e.end.valueOf()-e.start.valueOf())/t))}function W(e){return 2===e.length}function X(e){return/^[0-9a-fA-F]+$/.test(e)}let H={JoinByColumnValue:"Join by column value",MergeColumns:"Merge columns",MergeIndexedColumns:"Merge indexed columns",MergeSeries:"Merge series"};function K(e){return!1!==e}function Q(e){return"number"==typeof e}function Y(e){return e&&(e<0?e=0:e>20&&(e=20)),e}var ee=a(74638);let et=3;function ea(e,{shortValues:t,decimalPlaces:a}){if(!K(t)||1e3>Math.abs(e)){let n={style:"unit",unit:"byte",unitDisplay:"long",useGrouping:!0};return Q(a)?(n.minimumFractionDigits=Y(a),n.maximumFractionDigits=Y(a)):K(t)&&(n.maximumSignificantDigits=et),Intl.NumberFormat("en-US",n).format(e)}return(0,ee.Z)(e).format({output:"byte",base:"decimal",spaceSeparated:!0,mantissa:Q(a)?a:2,trimMantissa:!Q(a),optionalMantissa:!Q(a)})}let en="Percent",es="Time";var ei=((n={}).milliseconds="millisecond",n.seconds="second",n.minutes="minute",n.hours="hour",n.days="day",n.weeks="week",n.months="month",n.years="year",n);let er={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001},eo=["years","months","weeks","days","hours","minutes","seconds","milliseconds"],el="Throughput",eu={Time:{label:"Time",decimalPlaces:!0},Percent:{label:"percent",decimalPlaces:!0},Decimal:{label:"Decimal",decimalPlaces:!0,shortValues:!0},Bytes:{label:"Bytes",decimalPlaces:!0,shortValues:!0},Throughput:{label:"Throughput",decimalPlaces:!0}},ec={milliseconds:{group:es,label:"Milliseconds"},seconds:{group:es,label:"Seconds"},minutes:{group:es,label:"Minutes"},hours:{group:es,label:"Hours"},days:{group:es,label:"Days"},weeks:{group:es,label:"Weeks"},months:{group:es,label:"Months"},years:{group:es,label:"Years"},percent:{group:en,label:"Percent (0-100)"},"percent-decimal":{group:en,label:"Percent (0.0-1.0)"},"%":{disableSelectorOption:!0,group:en,label:"%"},decimal:{group:"Decimal",label:"Decimal"},bytes:{group:"Bytes",label:"Bytes"},"bits/sec":{group:el,label:"Bits/sec"},"bytes/sec":{group:el,label:"Bytes/sec"},"counts/sec":{group:el,label:"Counts/sec"},"events/sec":{group:el,label:"Events/sec"},"messages/sec":{group:el,label:"Messages/sec"},"ops/sec":{group:el,label:"Ops/sec"},"packets/sec":{group:el,label:"Packets/sec"},"reads/sec":{group:el,label:"Reads/sec"},"requests/sec":{group:el,label:"Requests/sec"},"records/sec":{group:el,label:"Records/sec"},"rows/sec":{group:el,label:"Rows/sec"},"writes/sec":{group:el,label:"Writes/sec"}};function ed(e,t){if(void 0===t)return e.toString();if(ez(t))return ea(e,t);if(eh(t))return function(e,{shortValues:t,decimalPlaces:a}){let n={style:"decimal",useGrouping:!0};return K(t)&&(n.notation="compact"),Q(a)?(n.minimumFractionDigits=Y(a),n.maximumFractionDigits=Y(a)):K(t)&&(n.maximumSignificantDigits=et),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eb(t))return function(e,{unit:t,decimalPlaces:a}){let n={style:"percent",useGrouping:!0};return Q(a)?(n.minimumFractionDigits=Y(a),n.maximumFractionDigits=Y(a)):n.maximumSignificantDigits=et,"percent"===t&&(e/=100),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eg(t))return function(e,{unit:t,decimalPlaces:a}){var n;if(0===e)return"0s";let s=function(e,t){let a=e*er[t],n=eo[0]||"years",s=n,i=a/er[n];for(s of eo)if((i=a/er[s])>=1)break;return{value:i,unit:s}}(e,t),i={style:"unit",unit:ei[s.unit],unitDisplay:"months"===(n=s.unit)||"years"===n?"long":"narrow"};return Q(a)?(i.minimumFractionDigits=Y(a),i.maximumFractionDigits=Y(a)):i.maximumSignificantDigits=et,Intl.NumberFormat("en-US",i).format(s.value)}(e,t);if(eM(t))return function(e,{unit:t,shortValues:a,decimalPlaces:n}){if("bytes/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return ea(e,{unit:"bytes",shortValues:a,decimalPlaces:n})+"/"+t}let s={style:"decimal",useGrouping:!0};return K(a)&&(s.notation="compact"),Q(n)?(s.minimumFractionDigits=Y(n),s.maximumFractionDigits=Y(n)):K(a)&&(s.maximumSignificantDigits=et),Intl.NumberFormat("en-US",s).format(e)+" "+t}(e,t);throw Error(`Unknown unit options ${t}`)}function em(e){return ec[e.unit]}function ep(e){return em(e).group}function ef(e){return eu[em(e).group]}function eg(e){return"Time"===ep(e)}function eb(e){return"Percent"===ep(e)}function eh(e){return"Decimal"===ep(e)}function ez(e){return"Bytes"===ep(e)}function eS(e){return!!ef(e).decimalPlaces}function ey(e){return!!ef(e).shortValues}function eM(e){return"Throughput"===ep(e)}function ev(e){return"project"in e.metadata?e.metadata.project:void 0}let eD="$__all";var ej=a(77891);let ek=ej.z.string().min(1,"Required").max(75,"Must be 75 or fewer characters long").regex(/^[a-zA-Z0-9_.-]+$/,"Must only contains alphanumerical characters and special characters _ . -"),ex=ej.z.object({name:ek}),eR=ex.extend({project:ek}),eI=ej.z.object({kind:ej.z.string().min(1,"Required"),spec:ej.z.record(ej.z.string(),ej.z.any())}),eT=ej.z.object({name:ej.z.string().optional(),description:ej.z.string().optional()}),eF=ej.z.object({display:eT.optional(),default:ej.z.boolean(),plugin:eI});function ew(e){return ej.z.object({display:eT.optional(),default:ej.z.boolean(),plugin:e})}let eO=ej.z.object({kind:ej.z.literal("Datasource"),metadata:eR,spec:eF}),eE=ej.z.object({kind:ej.z.literal("GlobalDatasource"),metadata:ex,spec:eF}),eC=ej.z.discriminatedUnion("kind",[eO,eE]),eV=ej.z.object({name:ej.z.string().min(1),spec:eF});function eP(e){return ej.z.object({name:ej.z.string().min(1),spec:ew(e)})}let eU=ej.z.string().min(1,"Required").regex(L,"Must be a valid duration string"),eA=ej.z.object({name:ej.z.string().min(1,{message:"Required"}),description:ej.z.string().optional()}),eL=ej.z.object({kind:ej.z.string().min(1),spec:ej.z.object({plugin:eI})}),eG=ej.z.object({name:ej.z.string().optional(),url:ej.z.string().min(1),tooltip:ej.z.string().optional(),renderVariables:ej.z.boolean().optional(),targetBlank:ej.z.boolean().optional()}),eN=ej.z.object({display:eA,plugin:eI,queries:ej.z.array(eL).optional(),links:ej.z.array(eG).optional()});function e_(e){return ej.z.object({display:eA,plugin:e,queries:ej.z.array(eL).optional(),links:ej.z.array(eG).optional()})}let e$=ej.z.object({kind:ej.z.literal("Panel"),spec:eN});function eB(e){return ej.z.object({kind:ej.z.literal("Panel"),spec:e_(e)})}let eZ=ej.z.object({groupId:ej.z.number(),panelDefinition:e$});function eq(e){return ej.z.object({groupId:ej.z.number(),panelDefinition:eB(e)})}let eJ=ej.z.object({actions:ej.z.array(ej.z.enum(["*","create","read","update","delete"])).nonempty("Must contains at least 1 action"),scopes:ej.z.array(ej.z.enum(["*","Dashboard","Datasource","EphemeralDashboard","Folder","GlobalDatasource","GlobalRole","GlobalRoleBinding","GlobalSecret","GlobalVariable","Project","Role","RoleBinding","Secret","User","Variable"])).nonempty("Must contains at least 1 scope")}),eW=ej.z.object({permissions:ej.z.array(eJ)}),eX=ej.z.object({kind:ej.z.literal("Role"),metadata:eR,spec:eW}),eH=ej.z.object({kind:ej.z.literal("GlobalRole"),metadata:ex,spec:eW}),eK=ej.z.discriminatedUnion("kind",[eX,eH]),eQ=ej.z.object({kind:ej.z.enum(["User"]),name:ek}),eY=ej.z.object({role:ek,subjects:ej.z.array(eQ).nonempty()}),e0=ej.z.object({kind:ej.z.literal("RoleBinding"),metadata:eR,spec:eY}),e1=ej.z.object({kind:ej.z.literal("GlobalRoleBinding"),metadata:ex,spec:eY}),e5=ej.z.discriminatedUnion("kind",[e0,e1]),e3=ej.z.object({basicAuth:ej.z.object({username:ej.z.string().min(1),password:ej.z.string().optional(),passwordFile:ej.z.string().optional()}).superRefine((e,t)=>{e.password&&e.password.length>0&&e.passwordFile&&e.passwordFile.length>0&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["password"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["passwordFile"]}))}).optional(),authorization:ej.z.object({type:ej.z.string().optional(),credentials:ej.z.string().optional(),credentialsFile:ej.z.string().optional()}).superRefine((e,t)=>{e.credentials&&e.credentials.length>0&&e.credentialsFile&&e.credentialsFile.length>0&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["credentials"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["credentialsFile"]}))}).optional(),oauth:ej.z.object({clientID:ej.z.string().min(1),clientSecret:ej.z.string().optional(),clientSecretFile:ej.z.string().optional(),tokenURL:ej.z.string().min(1),scopes:ej.z.array(ej.z.string().nonempty()).default([]),endpointParams:ej.z.record(ej.z.string().nonempty(),ej.z.array(ej.z.string())).default({}).optional(),authStyle:ej.z.union([ej.z.literal(0),ej.z.literal(1),ej.z.literal(2)]).optional()}).superRefine((e,t)=>{e.clientSecret&&e.clientSecret.length>0&&e.clientSecretFile&&e.clientSecretFile.length>0&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["clientSecret"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["clientSecretFile"]}))}).optional(),tlsConfig:ej.z.object({ca:ej.z.string().optional(),cert:ej.z.string().optional(),key:ej.z.string().optional(),caFile:ej.z.string().optional(),certFile:ej.z.string().optional(),keyFile:ej.z.string().optional(),serverName:ej.z.string().optional(),insecureSkipVerify:ej.z.boolean()}).superRefine((e,t)=>{e.ca&&e.ca.length>0&&e.caFile&&e.caFile.length>0&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["ca"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["caFile"]})),e.cert&&e.cert.length>0&&e.certFile&&e.certFile.length>0&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["cert"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["certFile"]})),e.key&&e.key.length>0&&e.keyFile&&e.keyFile.length>0&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["key"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["keyFile"]}))}).optional()}).superRefine((e,t)=>{e.basicAuth&&e.authorization&&e.oauth&&(t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["basicAuth"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["authorization"]}),t.addIssue({code:ej.z.ZodIssueCode.custom,message:"Only one of the fields must be defined",path:["oauth"]}))}),e6=ej.z.object({kind:ej.z.literal("Secret"),metadata:eR,spec:e3}),e2=ej.z.object({kind:ej.z.literal("GlobalSecret"),metadata:ex,spec:e3}),e4=ej.z.discriminatedUnion("kind",[e6,e2]),e8=ej.z.object({password:ej.z.string().optional()}),e7=ej.z.object({issuer:ej.z.string().optional(),email:ej.z.string().optional(),subject:ej.z.string().optional()}),e9=ej.z.object({firstName:ej.z.string().optional(),lastName:ej.z.string().optional(),nativeProvider:e8.optional(),oauthProviders:ej.z.array(e7).optional()}),te=ej.z.object({kind:ej.z.literal("User"),metadata:ex,spec:e9}),tt=ej.z.object({name:ej.z.string().optional(),description:ej.z.string().optional(),hidden:ej.z.boolean().optional()}),ta=ej.z.object({name:ej.z.string().min(1),display:tt.optional(),defaultValue:ej.z.string().or(ej.z.array(ej.z.string())).optional(),allowAllValue:ej.z.boolean(),allowMultiple:ej.z.boolean(),customAllValue:ej.z.string().optional(),capturingRegexp:ej.z.string().optional(),sort:ej.z.enum(["none","alphabetical-asc","alphabetical-desc","numerical-asc","numerical-desc","alphabetical-ci-asc","alphabetical-ci-desc"]).optional(),plugin:eI});function tn(e){return ej.z.object({name:ej.z.string().min(1),display:tt.optional(),defaultValue:ej.z.string().or(ej.z.array(ej.z.string())).optional(),allowAllValue:ej.z.boolean(),allowMultiple:ej.z.boolean(),customAllValue:ej.z.string().optional(),capturingRegexp:ej.z.string().optional(),sort:ej.z.enum(["none","alphabetical-asc","alphabetical-desc","numerical-asc","numerical-desc","alphabetical-ci-asc","alphabetical-ci-desc"]).optional(),plugin:e})}let ts=ej.z.object({kind:ej.z.literal("ListVariable"),spec:ta});function ti(e){return ej.z.object({kind:ej.z.literal("ListVariable"),spec:tn(e)})}let tr=ej.z.object({name:ej.z.string().min(1),display:tt.optional(),value:ej.z.string(),constant:ej.z.boolean().optional()}),to=ej.z.object({kind:ej.z.literal("TextVariable"),spec:tr}),tl=ej.z.discriminatedUnion("kind",[to,ts]);function tu(e){return ej.z.union([to,ti(e)])}let tc=ej.z.object({kind:ej.z.literal("Variable"),metadata:eR,spec:tl}),td=ej.z.object({kind:ej.z.literal("GlobalVariable"),metadata:eR,spec:tl}),tm=ej.z.discriminatedUnion("kind",[tc,td]),tp=tl;function tf(e){return ej.z.discriminatedUnion("kind",[ej.z.object({kind:ej.z.literal("ListVariable"),spec:tn(e)}),ej.z.object({kind:ej.z.literal("TextVariable"),spec:tr})])}var tg=a(54538);function tb(e){let t=(0,tg.useRef)(e);return(0,tg.useLayoutEffect)(()=>{t.current=e}),(0,tg.useCallback)((...e)=>t.current(...e),[])}async function th(...e){let t=await a.g.fetch(...e);if(!1===t.ok){let e=t.headers.get("content-type");if(e?.includes("application/json")){let e=await t.json();if(e.error)throw new ty(e.error,t.status);if(e.message)throw new ty(e.message,t.status)}let a=await t.text();if(a)throw new ty(a,t.status);throw new tS(t)}return t}async function tz(...e){let t=await th(...e);return await t.json()}class tS extends Error{status;constructor(e){super(`${e.status} ${e.statusText}`),this.status=e.status,Object.setPrototypeOf(this,tS.prototype)}}class ty extends Error{status;constructor(e,t){super(e),this.status=t,Object.setPrototypeOf(this,ty.prototype)}}function tM(e){return 0===Object.getOwnPropertyNames(e).length}var tv=a(56141),tD=a.n(tv);function tj(e,t){let a=(0,tg.useRef)(),n=!0;for(let e=0;e<t.length;e++)if(a.current?.deps[e]!==t[e]){n=!1;break}return(void 0===a.current||!1===n)&&(a.current={value:e(),deps:t}),a.current.value}function tk(e,t){let a=(0,tg.useRef)();return(void 0===a.current||!1===tD()(t,a.current.deps))&&(a.current={value:e(),deps:t}),a.current.value}function tx(e,t){let a=tR(t),n=e.panels[a];if(void 0===n)throw Error(`Could not resolve panels reference ${t.$ref}`);return n}function tR(e){return e.$ref.substring(14)}function tI(e){return{$ref:`#/spec/panels/${e}`}}function tT(e){return e.spec.spec?.display?.name?e.spec.spec.display.name:e.spec.display?.name?e.spec.display.name:e.metadata.name}function tF(e){return e.spec.spec?.display?.name?`${e.spec.spec.display.name} (ID: ${e.metadata.name})`:e.spec.display?.name?`${e.spec.display.name} (ID: ${e.metadata.name})`:e.metadata.name}var tw=a(15539),tO=a(70590);let{gcd:tE}=(0,tw.U)({gcdDependencies:tO.e}),tC=10;function tV(e){let t=[],a=e.startMs;for(;a<=e.endMs;)t.push(a),a+=e.stepMs;return t}function tP(e,t){let a=t.startMs,n=e.values,s=[];for(let e of n){for(;a<e[0];)s.push([a,null]),a+=t.stepMs;s.push([a,e[1]]),a+=t.stepMs}for(;a<=t.endMs;)s.push([a,null]),a+=t.stepMs;return s}function tU(e,t){let a=t.startMs,n=[];for(let s of e.values){for(;a<s[0];)n.push(null),a+=t.stepMs;n.push(s[1]),a+=t.stepMs}for(;a<=t.endMs;)n.push(null),a+=t.stepMs;return n}function tA(e){let t,a;let n=[];for(let t of e)if(t&&"timeRange"in t){if(void 0===t||void 0===t.timeRange||void 0===t.stepMs)continue;if(n.push(t.stepMs),void 0===a){a=t.timeRange;continue}t.timeRange.start<a.start&&(a.start=t.timeRange.start),t.timeRange.end>a.end&&(a.end=t.timeRange.end)}else if(t&&"values"in t){for(let e=0;e<t.values.length;e++){let n=t.values[e];if(void 0===n)continue;let[s]=n,i=new Date(s),r=new Date(s);if(void 0===a){a={start:i,end:r};continue}i<a.start&&(a.start=i),r>a.end&&(a.end=r)}if(void 0===a)return;let e=a.start.valueOf(),n=a.end.valueOf(),s=n-e;return{startMs:e,endMs:n,rangeMs:s,stepMs:tC}}if(void 0===a)return;if(1===n.length)t=n[0];else{let e=tE(...n);t=e<tC?tC:e}let s=a.start.valueOf(),i=a.end.valueOf();return{startMs:s,endMs:i,stepMs:t,rangeMs:i-s}}function tL(e,t){if(0===t.length)return e;let a={};for(let n of e){let e=Object.keys(n).filter(e=>t.includes(e)).map(e=>n[e]).join("|"),s=a[e];s?a[e]={...s,...n}:a[e]={...n}}return Object.values(a)}function tG(e,t,a){let n=[];for(let s of e){let e=Object.keys(s).filter(e=>t.includes(e)),i={};for(let t of e)i[t]=s[t],delete s[t];for(let t of e)n.push({...s,[a]:i[t]});0===e.length&&n.push(s)}return n}function tN(e,t){let a=[];for(let n of e){let e=Object.keys(n).filter(e=>RegExp("^("+t+" #\\d+)|("+t+")$").test(e)),s={};for(let t of e)s[t]=n[t],delete n[t];for(let i of e)a.push({...n,[t]:s[i]});0===e.length&&a.push(n)}return a}function t_(e){let t=[...e],a=Array.from(new Set(e.flatMap(Object.keys).map(e=>e.replace(/ #\d+/,"")).filter(e=>"value"!==e)));for(let e of a)t=tN(t,e);return tL(t,a)}function t$(e,t){let a=e;for(let e of t??[])if(!e.spec.disabled)switch(e.kind){case"JoinByColumnValue":e.spec.columns&&e.spec.columns.length>0&&(a=tL(a,e.spec.columns));break;case"MergeIndexedColumns":e.spec.column&&(a=tN(a,e.spec.column));break;case"MergeColumns":e.spec.columns&&e.spec.columns.length>0&&e.spec.name&&(a=tG(a,e.spec.columns,e.spec.name));break;case"MergeSeries":a=t_(a)}return a.map(e=>Object.keys(e).sort().reduce((t,a)=>(t[a]=e[a],t),{}))}function tB(e,t){return(0,tg.useMemo)(()=>t$(e,t),[e,t])}function tZ(e){return!!e?.startsWith("/")}function tq(e){if(!e)throw Error("Input string cannot be empty");if(!tZ(e))return RegExp(`^${e}$`);let t=e.match(/^\/(.+)\/([gimy]*)$/);if(!t)throw Error(`Invalid regular expression format: ${e}`);let[,a="",n=""]=t;try{return new RegExp(a,n)}catch(e){throw Error(`Failed to create RegExp ${e}`)}}function tJ(e,t=[]){if(!t.length)return{value:e};let a={value:e};return t.forEach(t=>{switch(t.kind){case"Value":{let n=t.spec;String(n.value)===String(e)&&(a.value=n.result.value||a.value,a.color=n.result.color);break}case"Range":{let n=t.spec;if(void 0===n.from&&void 0===n.to)break;let s=void 0!==n.from?n.from:-1/0,i=void 0!==n.to?n.to:1/0;e>=s&&e<=i&&(a.value=n.result.value||a.value,a.color=n.result.color);break}case"Regex":{let n=t.spec,s=e.toString();if(!n.pattern)break;let i=tq(n.pattern);s.match(i)&&null!==n.result.value&&(a.value=s.replace(i,n.result.value.toString()||"")||a.value,a.color=n.result.color);break}case"Misc":{let n=t.spec;(function(e,t){switch(e){case"empty":return""===t;case"null":return null==t;case"NaN":return Number.isNaN(t);case"true":return!0===t;case"false":return!1===t;default:return!1}})(n.value,e)&&(a.value=n.result.value||a.value,a.color=n.result.color)}}}),a}}}]);
|