@perses-dev/gauge-chart-plugin 0.13.0 → 0.14.0-beta.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.
Files changed (122) hide show
  1. package/__mf/js/{main.c44733a6.js → GaugeChart.666448e5.js} +4 -4
  2. package/__mf/js/async/121.a37557d3.js +2 -0
  3. package/__mf/js/async/192.1bece79a.js +1 -0
  4. package/__mf/js/async/2.e1c5abe4.js +1 -0
  5. package/__mf/js/async/208.a09e3946.js +83 -0
  6. package/__mf/js/async/235.25414f3a.js +1 -0
  7. package/__mf/js/async/244.f21ad375.js +7 -0
  8. package/__mf/js/async/{700.e028a93e.js.LICENSE.txt → 244.f21ad375.js.LICENSE.txt} +41 -1
  9. package/__mf/js/async/354.c398a3bf.js +4 -0
  10. package/__mf/js/async/354.c398a3bf.js.LICENSE.txt +9 -0
  11. package/__mf/js/async/356.d85a4e2e.js +1 -0
  12. package/__mf/js/async/373.0403e3b1.js +38 -0
  13. package/__mf/js/async/392.605cca25.js +2 -0
  14. package/__mf/js/async/458.501ed0da.js +1 -0
  15. package/__mf/js/async/470.a2c22a78.js +2 -0
  16. package/__mf/js/async/587.6f130e41.js +1 -0
  17. package/__mf/js/async/616.cecf44f8.js +1 -0
  18. package/__mf/js/async/663.97d3fd12.js +1 -0
  19. package/__mf/js/async/710.23542577.js +29 -0
  20. package/__mf/js/async/77.c33fcfb5.js +1 -0
  21. package/__mf/js/async/893.a44ef766.js +2 -0
  22. package/__mf/js/async/941.e909e334.js +2 -0
  23. package/__mf/js/async/963.caed232d.js +1 -0
  24. package/__mf/js/async/968.7d1ce389.js +1 -0
  25. package/__mf/js/async/__federation_expose_GaugeChart.1812e964.js +1 -0
  26. package/__mf/js/async/lib-router.005da842.js +2 -0
  27. package/__mf/js/main.9a8ce910.js +7 -0
  28. package/lib/GaugeChart.d.ts +3 -3
  29. package/lib/GaugeChart.d.ts.map +1 -1
  30. package/lib/GaugeChart.js +3 -3
  31. package/lib/GaugeChart.js.map +1 -1
  32. package/lib/GaugeChartBase.d.ts +3 -3
  33. package/lib/GaugeChartBase.d.ts.map +1 -1
  34. package/lib/GaugeChartBase.js +7 -7
  35. package/lib/GaugeChartBase.js.map +1 -1
  36. package/lib/GaugeChartOptionsEditorSettings.d.ts +2 -2
  37. package/lib/GaugeChartOptionsEditorSettings.d.ts.map +1 -1
  38. package/lib/GaugeChartOptionsEditorSettings.js +7 -7
  39. package/lib/GaugeChartOptionsEditorSettings.js.map +1 -1
  40. package/lib/GaugeChartPanel.d.ts +4 -4
  41. package/lib/GaugeChartPanel.d.ts.map +1 -1
  42. package/lib/GaugeChartPanel.js +8 -8
  43. package/lib/GaugeChartPanel.js.map +1 -1
  44. package/lib/bootstrap.js +2 -2
  45. package/lib/gauge-chart-model.d.ts +3 -3
  46. package/lib/gauge-chart-model.d.ts.map +1 -1
  47. package/lib/gauge-chart-model.js.map +1 -1
  48. package/lib/getPluginModule.d.ts +1 -1
  49. package/lib/getPluginModule.d.ts.map +1 -1
  50. package/lib/getPluginModule.js +3 -1
  51. package/lib/getPluginModule.js.map +1 -1
  52. package/lib/index-federation.js +1 -1
  53. package/lib/index.js +6 -6
  54. package/lib/index.js.map +1 -1
  55. package/lib/setup-tests.d.ts +1 -1
  56. package/lib/setup-tests.d.ts.map +1 -1
  57. package/lib/setup-tests.js +2 -2
  58. package/lib/setup-tests.js.map +1 -1
  59. package/lib/thresholds.d.ts +1 -1
  60. package/lib/thresholds.d.ts.map +1 -1
  61. package/lib/thresholds.js +1 -1
  62. package/lib/thresholds.js.map +1 -1
  63. package/mf-manifest.json +31 -97
  64. package/mf-stats.json +31 -109
  65. package/package.json +10 -10
  66. package/__mf/js/GaugeChart.7e331b64.js +0 -7
  67. package/__mf/js/async/121.4c5f5798.js +0 -2
  68. package/__mf/js/async/172.afec864d.js +0 -110
  69. package/__mf/js/async/177.2e554778.js +0 -1
  70. package/__mf/js/async/187.ba6fd686.js +0 -7
  71. package/__mf/js/async/187.ba6fd686.js.LICENSE.txt +0 -39
  72. package/__mf/js/async/192.fb5cd927.js +0 -1
  73. package/__mf/js/async/235.b918db36.js +0 -1
  74. package/__mf/js/async/274.9badab92.js +0 -2
  75. package/__mf/js/async/356.c7cf4f79.js +0 -1
  76. package/__mf/js/async/377.06309086.js +0 -1
  77. package/__mf/js/async/392.4807325b.js +0 -2
  78. package/__mf/js/async/403.9db35877.js +0 -2
  79. package/__mf/js/async/410.4043d582.js +0 -1
  80. package/__mf/js/async/458.0f5bc9ee.js +0 -1
  81. package/__mf/js/async/470.9e955be3.js +0 -2
  82. package/__mf/js/async/496.dc9e951b.js +0 -1
  83. package/__mf/js/async/546.7850a553.js +0 -24
  84. package/__mf/js/async/546.7850a553.js.LICENSE.txt +0 -19
  85. package/__mf/js/async/558.9e9f2911.js +0 -1
  86. package/__mf/js/async/587.2649e50b.js +0 -1
  87. package/__mf/js/async/588.f25e2591.js +0 -1
  88. package/__mf/js/async/616.0741833f.js +0 -1
  89. package/__mf/js/async/700.e028a93e.js +0 -30
  90. package/__mf/js/async/71.57cf30f3.js +0 -1
  91. package/__mf/js/async/756.cbb57779.js +0 -1
  92. package/__mf/js/async/77.629e7e49.js +0 -1
  93. package/__mf/js/async/823.488b0ae9.js +0 -10
  94. package/__mf/js/async/854.d052322d.js +0 -1
  95. package/__mf/js/async/873.650a20f9.js +0 -1
  96. package/__mf/js/async/941.c6518e38.js +0 -2
  97. package/__mf/js/async/963.ab063f73.js +0 -1
  98. package/__mf/js/async/968.5b4a4f18.js +0 -1
  99. package/__mf/js/async/978.8aa2a024.js +0 -1
  100. package/__mf/js/async/__federation_expose_GaugeChart.b9c57db4.js +0 -1
  101. package/__mf/js/async/lib-router.f8568e8a.js +0 -2
  102. package/lib/cjs/GaugeChart.js +0 -39
  103. package/lib/cjs/GaugeChartBase.js +0 -196
  104. package/lib/cjs/GaugeChartOptionsEditorSettings.js +0 -120
  105. package/lib/cjs/GaugeChartPanel.js +0 -195
  106. package/lib/cjs/bootstrap.js +0 -26
  107. package/lib/cjs/env.d.js +0 -14
  108. package/lib/cjs/gauge-chart-model.js +0 -57
  109. package/lib/cjs/getPluginModule.js +0 -39
  110. package/lib/cjs/index-federation.js +0 -55
  111. package/lib/cjs/index.js +0 -41
  112. package/lib/cjs/setup-tests.js +0 -19
  113. package/lib/cjs/thresholds.js +0 -77
  114. /package/__mf/css/async/{187.85c2cbf6.css → 244.85c2cbf6.css} +0 -0
  115. /package/__mf/js/async/{121.4c5f5798.js.LICENSE.txt → 121.a37557d3.js.LICENSE.txt} +0 -0
  116. /package/__mf/js/async/{823.488b0ae9.js.LICENSE.txt → 208.a09e3946.js.LICENSE.txt} +0 -0
  117. /package/__mf/js/async/{403.9db35877.js.LICENSE.txt → 373.0403e3b1.js.LICENSE.txt} +0 -0
  118. /package/__mf/js/async/{392.4807325b.js.LICENSE.txt → 392.605cca25.js.LICENSE.txt} +0 -0
  119. /package/__mf/js/async/{470.9e955be3.js.LICENSE.txt → 470.a2c22a78.js.LICENSE.txt} +0 -0
  120. /package/__mf/js/async/{274.9badab92.js.LICENSE.txt → 893.a44ef766.js.LICENSE.txt} +0 -0
  121. /package/__mf/js/async/{941.c6518e38.js.LICENSE.txt → 941.e909e334.js.LICENSE.txt} +0 -0
  122. /package/__mf/js/async/{lib-router.f8568e8a.js.LICENSE.txt → lib-router.005da842.js.LICENSE.txt} +0 -0
package/mf-stats.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "GaugeChart",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.13.0",
8
+ "buildVersion": "0.14.0-beta.1",
9
9
  "buildName": "@perses-dev/gauge-chart-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/GaugeChart.7e331b64.js",
12
+ "name": "__mf/js/GaugeChart.666448e5.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -19,9 +19,9 @@
19
19
  "zip": "",
20
20
  "api": ""
21
21
  },
22
- "globalName": "GaugeChart",
22
+ "globalName": "GaugeChart_0_14_0_beta_1",
23
23
  "pluginVersion": "2.6.0",
24
- "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/GaugeChart/\"; }"
24
+ "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/GaugeChart~0.14.0-beta.1/\"; }"
25
25
  },
26
26
  "shared": [
27
27
  {
@@ -36,7 +36,7 @@
36
36
  "js": {
37
37
  "async": [],
38
38
  "sync": [
39
- "__mf/js/async/274.9badab92.js"
39
+ "__mf/js/async/893.a44ef766.js"
40
40
  ]
41
41
  },
42
42
  "css": {
@@ -60,9 +60,8 @@
60
60
  "js": {
61
61
  "async": [],
62
62
  "sync": [
63
- "__mf/js/async/235.b918db36.js",
64
- "__mf/js/async/616.0741833f.js",
65
- "__mf/js/async/854.d052322d.js"
63
+ "__mf/js/async/235.25414f3a.js",
64
+ "__mf/js/async/616.cecf44f8.js"
66
65
  ]
67
66
  },
68
67
  "css": {
@@ -86,8 +85,8 @@
86
85
  "js": {
87
86
  "async": [],
88
87
  "sync": [
89
- "__mf/js/async/587.2649e50b.js",
90
- "__mf/js/async/968.5b4a4f18.js"
88
+ "__mf/js/async/587.6f130e41.js",
89
+ "__mf/js/async/968.7d1ce389.js"
91
90
  ]
92
91
  },
93
92
  "css": {
@@ -101,23 +100,23 @@
101
100
  },
102
101
  {
103
102
  "singleton": true,
104
- "requiredVersion": "^0.54.0",
103
+ "requiredVersion": "^0.55.0-beta.6",
105
104
  "shareScope": "default",
106
105
  "name": "@perses-dev/components",
107
- "version": "0.54.0",
106
+ "version": "0.55.0-beta.6",
108
107
  "eager": false,
109
108
  "id": "GaugeChart:@perses-dev/components",
110
109
  "assets": {
111
110
  "js": {
112
111
  "async": [],
113
112
  "sync": [
114
- "__mf/js/async/187.ba6fd686.js"
113
+ "__mf/js/async/244.f21ad375.js"
115
114
  ]
116
115
  },
117
116
  "css": {
118
117
  "async": [],
119
118
  "sync": [
120
- "__mf/css/async/187.85c2cbf6.css"
119
+ "__mf/css/async/244.85c2cbf6.css"
121
120
  ]
122
121
  }
123
122
  },
@@ -129,17 +128,17 @@
129
128
  },
130
129
  {
131
130
  "singleton": true,
132
- "requiredVersion": "^0.54.0",
131
+ "requiredVersion": "^0.55.0-beta.6",
133
132
  "shareScope": "default",
134
133
  "name": "@perses-dev/plugin-system",
135
- "version": "0.54.0",
134
+ "version": "0.55.0-beta.6",
136
135
  "eager": false,
137
136
  "id": "GaugeChart:@perses-dev/plugin-system",
138
137
  "assets": {
139
138
  "js": {
140
139
  "async": [],
141
140
  "sync": [
142
- "__mf/js/async/546.7850a553.js"
141
+ "__mf/js/async/354.c398a3bf.js"
143
142
  ]
144
143
  },
145
144
  "css": {
@@ -165,31 +164,7 @@
165
164
  "js": {
166
165
  "async": [],
167
166
  "sync": [
168
- "__mf/js/async/192.fb5cd927.js"
169
- ]
170
- },
171
- "css": {
172
- "async": [],
173
- "sync": []
174
- }
175
- },
176
- "usedIn": [],
177
- "usedExports": [],
178
- "fallback": ""
179
- },
180
- {
181
- "singleton": true,
182
- "requiredVersion": "^undefined",
183
- "shareScope": "default",
184
- "name": "echarts",
185
- "version": "5.5.0",
186
- "eager": false,
187
- "id": "GaugeChart:echarts",
188
- "assets": {
189
- "js": {
190
- "async": [],
191
- "sync": [
192
- "__mf/js/async/873.650a20f9.js"
167
+ "__mf/js/async/192.1bece79a.js"
193
168
  ]
194
169
  },
195
170
  "css": {
@@ -213,7 +188,7 @@
213
188
  "js": {
214
189
  "async": [],
215
190
  "sync": [
216
- "__mf/js/async/963.ab063f73.js"
191
+ "__mf/js/async/963.caed232d.js"
217
192
  ]
218
193
  },
219
194
  "css": {
@@ -239,31 +214,7 @@
239
214
  "js": {
240
215
  "async": [],
241
216
  "sync": [
242
- "__mf/js/async/392.4807325b.js"
243
- ]
244
- },
245
- "css": {
246
- "async": [],
247
- "sync": []
248
- }
249
- },
250
- "usedIn": [],
251
- "usedExports": [],
252
- "fallback": ""
253
- },
254
- {
255
- "singleton": true,
256
- "requiredVersion": "7.4.0",
257
- "shareScope": "default",
258
- "name": "mdi-material-ui",
259
- "version": "7.9.4",
260
- "eager": false,
261
- "id": "GaugeChart:mdi-material-ui",
262
- "assets": {
263
- "js": {
264
- "async": [],
265
- "sync": [
266
- "__mf/js/async/496.dc9e951b.js"
217
+ "__mf/js/async/392.605cca25.js"
267
218
  ]
268
219
  },
269
220
  "css": {
@@ -287,7 +238,7 @@
287
238
  "js": {
288
239
  "async": [],
289
240
  "sync": [
290
- "__mf/js/async/470.9e955be3.js"
241
+ "__mf/js/async/470.a2c22a78.js"
291
242
  ]
292
243
  },
293
244
  "css": {
@@ -311,7 +262,7 @@
311
262
  "js": {
312
263
  "async": [],
313
264
  "sync": [
314
- "__mf/js/async/121.4c5f5798.js"
265
+ "__mf/js/async/121.a37557d3.js"
315
266
  ]
316
267
  },
317
268
  "css": {
@@ -337,32 +288,8 @@
337
288
  "js": {
338
289
  "async": [],
339
290
  "sync": [
340
- "__mf/js/async/458.0f5bc9ee.js",
341
- "__mf/js/async/77.629e7e49.js"
342
- ]
343
- },
344
- "css": {
345
- "async": [],
346
- "sync": []
347
- }
348
- },
349
- "usedIn": [],
350
- "usedExports": [],
351
- "fallback": ""
352
- },
353
- {
354
- "singleton": true,
355
- "requiredVersion": "^3.2.0",
356
- "shareScope": "default",
357
- "name": "date-fns-tz",
358
- "version": "3.2.0",
359
- "eager": false,
360
- "id": "GaugeChart:date-fns-tz",
361
- "assets": {
362
- "js": {
363
- "async": [],
364
- "sync": [
365
- "__mf/js/async/978.8aa2a024.js"
291
+ "__mf/js/async/458.501ed0da.js",
292
+ "__mf/js/async/77.c33fcfb5.js"
366
293
  ]
367
294
  },
368
295
  "css": {
@@ -391,26 +318,21 @@
391
318
  "assets": {
392
319
  "js": {
393
320
  "sync": [
394
- "__mf/js/async/403.9db35877.js",
395
- "__mf/js/async/823.488b0ae9.js",
396
- "__mf/js/async/172.afec864d.js",
397
- "__mf/js/async/756.cbb57779.js",
398
- "__mf/js/async/__federation_expose_GaugeChart.b9c57db4.js"
321
+ "__mf/js/async/373.0403e3b1.js",
322
+ "__mf/js/async/208.a09e3946.js",
323
+ "__mf/js/async/__federation_expose_GaugeChart.1812e964.js"
399
324
  ],
400
325
  "async": [
401
- "__mf/js/async/588.f25e2591.js",
402
- "__mf/js/async/71.57cf30f3.js",
403
- "__mf/js/async/700.e028a93e.js",
404
- "__mf/js/async/410.4043d582.js",
405
- "__mf/js/async/lib-router.f8568e8a.js",
406
- "__mf/js/async/356.c7cf4f79.js",
407
- "__mf/js/async/177.2e554778.js"
326
+ "__mf/js/async/710.23542577.js",
327
+ "__mf/js/async/663.97d3fd12.js",
328
+ "__mf/js/async/lib-router.005da842.js",
329
+ "__mf/js/async/356.d85a4e2e.js"
408
330
  ]
409
331
  },
410
332
  "css": {
411
333
  "sync": [],
412
334
  "async": [
413
- "__mf/css/async/187.85c2cbf6.css"
335
+ "__mf/css/async/244.85c2cbf6.css"
414
336
  ]
415
337
  }
416
338
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perses-dev/gauge-chart-plugin",
3
- "version": "0.13.0",
3
+ "version": "0.14.0-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://github.com/perses/plugins/blob/main/README.md",
6
6
  "repository": {
@@ -14,29 +14,29 @@
14
14
  "dev": "rsbuild dev",
15
15
  "build": "npm run build-mf && concurrently \"npm:build:*\"",
16
16
  "build-mf": "rsbuild build",
17
- "build:cjs": "swc ./src -d dist/lib/cjs --strip-leading-paths --config-file ../.cjs.swcrc",
18
17
  "build:esm": "swc ./src -d dist/lib --strip-leading-paths --config-file ../.swcrc",
19
18
  "build:types": "tsc --project tsconfig.build.json",
20
- "lint": "eslint src --ext .ts,.tsx",
21
- "test": "cross-env LC_ALL=C TZ=UTC jest",
19
+ "lint": "oxlint src",
20
+ "test": "cross-env LC_ALL=C TZ=UTC vitest run",
22
21
  "type-check": "tsc --noEmit"
23
22
  },
24
- "main": "lib/cjs/index.js",
23
+ "type": "module",
24
+ "main": "lib/index.js",
25
25
  "module": "lib/index.js",
26
26
  "types": "lib/index.d.ts",
27
27
  "peerDependencies": {
28
28
  "@emotion/react": "^11.7.1",
29
29
  "@emotion/styled": "^11.6.0",
30
30
  "@hookform/resolvers": "^3.2.0",
31
- "@perses-dev/components": "^0.54.0",
32
- "@perses-dev/spec": "^0.2.0",
33
- "@perses-dev/plugin-system": "^0.54.0",
31
+ "@perses-dev/components": "^0.55.0-beta.3",
32
+ "@perses-dev/spec": "^0.3.0-beta.5",
33
+ "@perses-dev/plugin-system": "^0.55.0-beta.6",
34
34
  "date-fns": "^4.1.0",
35
35
  "date-fns-tz": "^3.2.0",
36
36
  "echarts": "5.5.0",
37
37
  "lodash": "^4.17.21",
38
- "react": "^17.0.2 || ^18.0.0",
39
- "react-dom": "^17.0.2 || ^18.0.0",
38
+ "react": "^18.3.0",
39
+ "react-dom": "^18.3.0",
40
40
  "use-resize-observer": "^9.0.0",
41
41
  "immer": "^10.1.1"
42
42
  },