@perses-dev/bar-chart-plugin 0.7.1 → 0.9.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/BarChart.a3706179.js +5 -0
- package/__mf/js/async/109.311fcd6a.js +73 -0
- package/__mf/js/async/{65.4b20c67b.js.LICENSE.txt → 109.311fcd6a.js.LICENSE.txt} +16 -0
- package/__mf/js/async/173.3531997c.js +2 -0
- package/__mf/js/async/214.c9488f88.js +1 -0
- package/__mf/js/async/224.5f9af696.js +1 -0
- package/__mf/js/async/238.45a5ec9c.js +1 -0
- package/__mf/js/async/292.faabc281.js +1 -0
- package/__mf/js/async/296.78a77608.js +1 -0
- package/__mf/js/async/298.e67cf440.js +1 -0
- package/__mf/js/async/35.629f619d.js +2 -0
- package/__mf/js/async/358.fd668f32.js +7 -0
- package/__mf/js/async/358.fd668f32.js.LICENSE.txt +21 -0
- package/__mf/js/async/409.fdf96221.js +1 -0
- package/__mf/js/async/488.b4de54ee.js +1 -0
- package/__mf/js/async/520.8c1bc8d8.js +38 -0
- package/__mf/js/async/553.846194ff.js +1 -0
- package/__mf/js/async/623.e68b6216.js +1 -0
- package/__mf/js/async/656.14ae7fea.js +1 -0
- package/__mf/js/async/679.6fb75801.js +2 -0
- package/__mf/js/async/69.3c81e152.js +10 -0
- package/__mf/js/async/694.beb18780.js +1 -0
- package/__mf/js/async/738.7c9852d4.js +1 -0
- package/__mf/js/async/740.6d6370ec.js +1 -0
- package/__mf/js/async/75.c086bb12.js +1 -0
- package/__mf/js/async/770.ece8043c.js +1 -0
- package/__mf/js/async/774.aec5dd0e.js +1 -0
- package/__mf/js/async/790.219148ac.js +1 -0
- package/__mf/js/async/838.bc0c4131.js +102 -0
- package/__mf/js/async/863.134f9f3b.js +2 -0
- package/__mf/js/async/922.2ce525ff.js +1 -0
- package/__mf/js/async/929.80797c45.js +1 -0
- package/__mf/js/async/930.2949d883.js +1 -0
- package/__mf/js/async/960.33cdf4ef.js +2 -0
- package/__mf/js/async/964.1b58e06a.js +2 -0
- package/__mf/js/async/__federation_expose_BarChart.a489d852.js +1 -0
- package/__mf/js/async/lib-router.10c5a0f9.js +2 -0
- package/__mf/js/main.b7056054.js +5 -0
- package/lib/utils.d.ts +2 -1
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js.map +1 -1
- package/mf-manifest.json +47 -111
- package/mf-stats.json +49 -113
- package/package.json +12 -4
- package/__mf/js/590.974b67e0.js +0 -5
- package/__mf/js/BarChart.cab6ddce.js +0 -5
- package/__mf/js/async/173.de56afb5.js +0 -2
- package/__mf/js/async/214.39425df9.js +0 -1
- package/__mf/js/async/224.02bf0727.js +0 -1
- package/__mf/js/async/238.2c28749b.js +0 -1
- package/__mf/js/async/292.fc25f0b4.js +0 -1
- package/__mf/js/async/296.4e6e1192.js +0 -1
- package/__mf/js/async/331.987fc9d1.js +0 -2
- package/__mf/js/async/409.cb75bf15.js +0 -1
- package/__mf/js/async/488.64e4ab62.js +0 -1
- package/__mf/js/async/533.531bfcd1.js +0 -29
- package/__mf/js/async/533.531bfcd1.js.LICENSE.txt +0 -37
- package/__mf/js/async/553.cebe1061.js +0 -1
- package/__mf/js/async/620.1ddf3cfa.js +0 -2
- package/__mf/js/async/623.a42c5576.js +0 -1
- package/__mf/js/async/640.968c5b1b.js +0 -38
- package/__mf/js/async/65.4b20c67b.js +0 -73
- package/__mf/js/async/656.ebaf4c29.js +0 -1
- package/__mf/js/async/679.4c9ca4ca.js +0 -2
- package/__mf/js/async/69.5f20cd9b.js +0 -10
- package/__mf/js/async/694.f18442c5.js +0 -1
- package/__mf/js/async/738.0b38462b.js +0 -1
- package/__mf/js/async/740.bd4a2dd3.js +0 -1
- package/__mf/js/async/75.602a691f.js +0 -1
- package/__mf/js/async/762.0d4292e6.js +0 -101
- package/__mf/js/async/770.a4ed49b7.js +0 -1
- package/__mf/js/async/774.6d4b81a0.js +0 -1
- package/__mf/js/async/790.23e35958.js +0 -1
- package/__mf/js/async/922.599a817c.js +0 -1
- package/__mf/js/async/929.4de7287b.js +0 -1
- package/__mf/js/async/930.7db974d8.js +0 -1
- package/__mf/js/async/960.07c2f8a6.js +0 -2
- package/__mf/js/async/964.d446c7a1.js +0 -2
- package/__mf/js/async/981.d5ccd920.js +0 -2
- package/__mf/js/async/__federation_expose_BarChart.57f5aba0.js +0 -1
- package/__mf/js/async/lib-router.c524d5f3.js +0 -2
- package/__mf/js/main.9a1e6d55.js +0 -1
- /package/__mf/js/async/{173.de56afb5.js.LICENSE.txt → 173.3531997c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{981.d5ccd920.js.LICENSE.txt → 35.629f619d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{679.4c9ca4ca.js.LICENSE.txt → 679.6fb75801.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{69.5f20cd9b.js.LICENSE.txt → 69.3c81e152.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{331.987fc9d1.js.LICENSE.txt → 838.bc0c4131.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{620.1ddf3cfa.js.LICENSE.txt → 863.134f9f3b.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{960.07c2f8a6.js.LICENSE.txt → 960.33cdf4ef.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{964.d446c7a1.js.LICENSE.txt → 964.1b58e06a.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.c524d5f3.js.LICENSE.txt → lib-router.10c5a0f9.js.LICENSE.txt} +0 -0
package/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/utils.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/utils.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { SortOption } from '@perses-dev/components';\nimport { DEFAULT_SORT } from './bar-chart-model';\nimport { BarChartData } from './BarChartBase';\n\nexport function calculatePercentages(data: BarChartData[]): Array<{ label: string; value: number }> {\n const sum = data.reduce((accumulator, { value }) => accumulator + (value ?? 0), 0);\n return data.map((seriesData) => {\n const percentage = ((seriesData.value ?? 0) / sum) * 100;\n return {\n ...seriesData,\n value: percentage,\n };\n });\n}\n\nexport function sortSeriesData(data: BarChartData[], sortOrder: SortOption = DEFAULT_SORT): BarChartData[] {\n if (sortOrder === 'asc') {\n // sort in ascending order by value\n return data.sort((a, b) => {\n if (a.value === null) {\n return 1;\n }\n if (b.value === null) {\n return -1;\n }\n if (a.value === b.value) {\n return 0;\n }\n return a.value < b.value ? 1 : -1;\n });\n } else {\n // sort in descending order by value\n return data.sort((a, b) => {\n if (a.value === null) {\n return -1;\n }\n if (b.value === null) {\n return 1;\n }\n if (a.value === b.value) {\n return 0;\n }\n return a.value < b.value ? -1 : 1;\n });\n }\n}\n"],"names":["DEFAULT_SORT","calculatePercentages","data","sum","reduce","accumulator","value","map","seriesData","percentage","sortSeriesData","sortOrder","sort","a","b"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAGjC,SAASA,YAAY,QAAQ,oBAAoB;AAGjD,OAAO,SAASC,qBAAqBC,IAAoB;IACvD,MAAMC,MAAMD,KAAKE,MAAM,CAAC,CAACC,aAAa,EAAEC,KAAK,EAAE,GAAKD,cAAeC,CAAAA,SAAS,CAAA,GAAI;IAChF,OAAOJ,KAAKK,GAAG,CAAC,CAACC;QACf,MAAMC,aAAa,AAAED,CAAAA,WAAWF,KAAK,IAAI,CAAA,IAAKH,MAAO;QACrD,OAAO;YACL,GAAGK,UAAU;YACbF,OAAOG;QACT;IACF;AACF;AAEA,OAAO,SAASC,eAAeR,IAAoB,EAAES,YAAwBX,YAAY;IACvF,IAAIW,cAAc,OAAO;QACvB,mCAAmC;QACnC,OAAOT,KAAKU,IAAI,CAAC,CAACC,GAAGC;YACnB,IAAID,EAAEP,KAAK,KAAK,MAAM;gBACpB,OAAO;YACT;YACA,IAAIQ,EAAER,KAAK,KAAK,MAAM;gBACpB,OAAO,CAAC;YACV;YACA,IAAIO,EAAEP,KAAK,KAAKQ,EAAER,KAAK,EAAE;gBACvB,OAAO;YACT;YACA,OAAOO,EAAEP,KAAK,GAAGQ,EAAER,KAAK,GAAG,IAAI,CAAC;QAClC;IACF,OAAO;QACL,oCAAoC;QACpC,OAAOJ,KAAKU,IAAI,CAAC,CAACC,GAAGC;YACnB,IAAID,EAAEP,KAAK,KAAK,MAAM;gBACpB,OAAO,CAAC;YACV;YACA,IAAIQ,EAAER,KAAK,KAAK,MAAM;gBACpB,OAAO;YACT;YACA,IAAIO,EAAEP,KAAK,KAAKQ,EAAER,KAAK,EAAE;gBACvB,OAAO;YACT;YACA,OAAOO,EAAEP,KAAK,GAAGQ,EAAER,KAAK,GAAG,CAAC,IAAI;QAClC;IACF;AACF"}
|
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "BarChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.
|
|
8
|
+
"buildVersion": "0.9.0",
|
|
9
9
|
"buildName": "@perses-dev/bar-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/BarChart.
|
|
12
|
+
"name": "__mf/js/BarChart.a3706179.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "BarChart",
|
|
23
|
-
"pluginVersion": "0.
|
|
23
|
+
"pluginVersion": "0.18.1",
|
|
24
24
|
"prefetchInterface": false,
|
|
25
25
|
"publicPath": "/plugins/BarChart/"
|
|
26
26
|
},
|
|
@@ -33,11 +33,9 @@
|
|
|
33
33
|
"requiredVersion": "^11.11.3",
|
|
34
34
|
"assets": {
|
|
35
35
|
"js": {
|
|
36
|
-
"async": [
|
|
37
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
38
|
-
],
|
|
36
|
+
"async": [],
|
|
39
37
|
"sync": [
|
|
40
|
-
"__mf/js/async/960.
|
|
38
|
+
"__mf/js/async/960.33cdf4ef.js"
|
|
41
39
|
]
|
|
42
40
|
},
|
|
43
41
|
"css": {
|
|
@@ -54,14 +52,11 @@
|
|
|
54
52
|
"requiredVersion": "^11.14.0",
|
|
55
53
|
"assets": {
|
|
56
54
|
"js": {
|
|
57
|
-
"async": [
|
|
58
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
59
|
-
"__mf/js/async/960.07c2f8a6.js"
|
|
60
|
-
],
|
|
55
|
+
"async": [],
|
|
61
56
|
"sync": [
|
|
62
|
-
"__mf/js/async/694.
|
|
63
|
-
"__mf/js/async/770.
|
|
64
|
-
"__mf/js/async/790.
|
|
57
|
+
"__mf/js/async/694.beb18780.js",
|
|
58
|
+
"__mf/js/async/770.ece8043c.js",
|
|
59
|
+
"__mf/js/async/790.219148ac.js"
|
|
65
60
|
]
|
|
66
61
|
},
|
|
67
62
|
"css": {
|
|
@@ -78,12 +73,10 @@
|
|
|
78
73
|
"requiredVersion": "^3.10.0",
|
|
79
74
|
"assets": {
|
|
80
75
|
"js": {
|
|
81
|
-
"async": [
|
|
82
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
83
|
-
],
|
|
76
|
+
"async": [],
|
|
84
77
|
"sync": [
|
|
85
|
-
"__mf/js/async/214.
|
|
86
|
-
"__mf/js/async/738.
|
|
78
|
+
"__mf/js/async/214.c9488f88.js",
|
|
79
|
+
"__mf/js/async/738.7c9852d4.js"
|
|
87
80
|
]
|
|
88
81
|
},
|
|
89
82
|
"css": {
|
|
@@ -95,23 +88,14 @@
|
|
|
95
88
|
{
|
|
96
89
|
"id": "BarChart:@perses-dev/components",
|
|
97
90
|
"name": "@perses-dev/components",
|
|
98
|
-
"version": "0.
|
|
91
|
+
"version": "0.52.0-beta.5",
|
|
99
92
|
"singleton": true,
|
|
100
|
-
"requiredVersion": "^0.
|
|
93
|
+
"requiredVersion": "^0.52.0-beta.5",
|
|
101
94
|
"assets": {
|
|
102
95
|
"js": {
|
|
103
|
-
"async": [
|
|
104
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
105
|
-
"__mf/js/async/173.de56afb5.js",
|
|
106
|
-
"__mf/js/async/960.07c2f8a6.js",
|
|
107
|
-
"__mf/js/async/790.23e35958.js",
|
|
108
|
-
"__mf/js/async/774.6d4b81a0.js",
|
|
109
|
-
"__mf/js/async/740.bd4a2dd3.js",
|
|
110
|
-
"__mf/js/async/75.602a691f.js",
|
|
111
|
-
"__mf/js/async/623.a42c5576.js"
|
|
112
|
-
],
|
|
96
|
+
"async": [],
|
|
113
97
|
"sync": [
|
|
114
|
-
"__mf/js/async/
|
|
98
|
+
"__mf/js/async/358.fd668f32.js"
|
|
115
99
|
]
|
|
116
100
|
},
|
|
117
101
|
"css": {
|
|
@@ -123,40 +107,18 @@
|
|
|
123
107
|
{
|
|
124
108
|
"id": "BarChart:@perses-dev/plugin-system",
|
|
125
109
|
"name": "@perses-dev/plugin-system",
|
|
126
|
-
"version": "0.
|
|
110
|
+
"version": "0.52.0-beta.5",
|
|
127
111
|
"singleton": true,
|
|
128
|
-
"requiredVersion": "^0.
|
|
112
|
+
"requiredVersion": "^0.52.0-beta.5",
|
|
129
113
|
"assets": {
|
|
130
114
|
"js": {
|
|
131
|
-
"async": [
|
|
132
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
133
|
-
"__mf/js/async/173.de56afb5.js",
|
|
134
|
-
"__mf/js/async/960.07c2f8a6.js",
|
|
135
|
-
"__mf/js/async/790.23e35958.js",
|
|
136
|
-
"__mf/js/async/224.02bf0727.js",
|
|
137
|
-
"__mf/js/async/740.bd4a2dd3.js",
|
|
138
|
-
"__mf/js/async/238.2c28749b.js",
|
|
139
|
-
"__mf/js/async/75.602a691f.js",
|
|
140
|
-
"__mf/js/async/623.a42c5576.js",
|
|
141
|
-
"__mf/js/async/679.4c9ca4ca.js",
|
|
142
|
-
"__mf/js/async/922.599a817c.js",
|
|
143
|
-
"__mf/js/async/533.531bfcd1.js",
|
|
144
|
-
"__mf/js/async/331.987fc9d1.js",
|
|
145
|
-
"__mf/js/async/774.6d4b81a0.js",
|
|
146
|
-
"__mf/js/async/738.0b38462b.js",
|
|
147
|
-
"__mf/js/async/409.cb75bf15.js",
|
|
148
|
-
"__mf/js/async/981.d5ccd920.js",
|
|
149
|
-
"__mf/js/async/770.a4ed49b7.js",
|
|
150
|
-
"__mf/js/async/296.4e6e1192.js"
|
|
151
|
-
],
|
|
115
|
+
"async": [],
|
|
152
116
|
"sync": [
|
|
153
|
-
"__mf/js/async/
|
|
117
|
+
"__mf/js/async/109.311fcd6a.js"
|
|
154
118
|
]
|
|
155
119
|
},
|
|
156
120
|
"css": {
|
|
157
|
-
"async": [
|
|
158
|
-
"__mf/css/async/263.1f61a808.css"
|
|
159
|
-
],
|
|
121
|
+
"async": [],
|
|
160
122
|
"sync": []
|
|
161
123
|
}
|
|
162
124
|
}
|
|
@@ -171,7 +133,7 @@
|
|
|
171
133
|
"js": {
|
|
172
134
|
"async": [],
|
|
173
135
|
"sync": [
|
|
174
|
-
"__mf/js/async/75.
|
|
136
|
+
"__mf/js/async/75.c086bb12.js"
|
|
175
137
|
]
|
|
176
138
|
},
|
|
177
139
|
"css": {
|
|
@@ -190,7 +152,7 @@
|
|
|
190
152
|
"js": {
|
|
191
153
|
"async": [],
|
|
192
154
|
"sync": [
|
|
193
|
-
"__mf/js/async/409.
|
|
155
|
+
"__mf/js/async/409.fdf96221.js"
|
|
194
156
|
]
|
|
195
157
|
},
|
|
196
158
|
"css": {
|
|
@@ -209,7 +171,7 @@
|
|
|
209
171
|
"js": {
|
|
210
172
|
"async": [],
|
|
211
173
|
"sync": [
|
|
212
|
-
"__mf/js/async/774.
|
|
174
|
+
"__mf/js/async/774.aec5dd0e.js"
|
|
213
175
|
]
|
|
214
176
|
},
|
|
215
177
|
"css": {
|
|
@@ -228,7 +190,7 @@
|
|
|
228
190
|
"js": {
|
|
229
191
|
"async": [],
|
|
230
192
|
"sync": [
|
|
231
|
-
"__mf/js/async/
|
|
193
|
+
"__mf/js/async/35.629f619d.js"
|
|
232
194
|
]
|
|
233
195
|
},
|
|
234
196
|
"css": {
|
|
@@ -245,13 +207,9 @@
|
|
|
245
207
|
"requiredVersion": "^7.4.0",
|
|
246
208
|
"assets": {
|
|
247
209
|
"js": {
|
|
248
|
-
"async": [
|
|
249
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
250
|
-
"__mf/js/async/960.07c2f8a6.js",
|
|
251
|
-
"__mf/js/async/790.23e35958.js"
|
|
252
|
-
],
|
|
210
|
+
"async": [],
|
|
253
211
|
"sync": [
|
|
254
|
-
"__mf/js/async/296.
|
|
212
|
+
"__mf/js/async/296.78a77608.js"
|
|
255
213
|
]
|
|
256
214
|
},
|
|
257
215
|
"css": {
|
|
@@ -268,11 +226,9 @@
|
|
|
268
226
|
"requiredVersion": "^18.2.0",
|
|
269
227
|
"assets": {
|
|
270
228
|
"js": {
|
|
271
|
-
"async": [
|
|
272
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
273
|
-
],
|
|
229
|
+
"async": [],
|
|
274
230
|
"sync": [
|
|
275
|
-
"__mf/js/async/173.
|
|
231
|
+
"__mf/js/async/173.3531997c.js"
|
|
276
232
|
]
|
|
277
233
|
},
|
|
278
234
|
"css": {
|
|
@@ -291,7 +247,7 @@
|
|
|
291
247
|
"js": {
|
|
292
248
|
"async": [],
|
|
293
249
|
"sync": [
|
|
294
|
-
"__mf/js/async/964.
|
|
250
|
+
"__mf/js/async/964.1b58e06a.js"
|
|
295
251
|
]
|
|
296
252
|
},
|
|
297
253
|
"css": {
|
|
@@ -308,12 +264,10 @@
|
|
|
308
264
|
"requiredVersion": "^9.1.0",
|
|
309
265
|
"assets": {
|
|
310
266
|
"js": {
|
|
311
|
-
"async": [
|
|
312
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
313
|
-
],
|
|
267
|
+
"async": [],
|
|
314
268
|
"sync": [
|
|
315
|
-
"__mf/js/async/553.
|
|
316
|
-
"__mf/js/async/623.
|
|
269
|
+
"__mf/js/async/553.846194ff.js",
|
|
270
|
+
"__mf/js/async/623.e68b6216.js"
|
|
317
271
|
]
|
|
318
272
|
},
|
|
319
273
|
"css": {
|
|
@@ -330,12 +284,9 @@
|
|
|
330
284
|
"requiredVersion": "^3.2.0",
|
|
331
285
|
"assets": {
|
|
332
286
|
"js": {
|
|
333
|
-
"async": [
|
|
334
|
-
"__mf/js/async/238.2c28749b.js",
|
|
335
|
-
"__mf/js/async/75.602a691f.js"
|
|
336
|
-
],
|
|
287
|
+
"async": [],
|
|
337
288
|
"sync": [
|
|
338
|
-
"__mf/js/async/740.
|
|
289
|
+
"__mf/js/async/740.6d6370ec.js"
|
|
339
290
|
]
|
|
340
291
|
},
|
|
341
292
|
"css": {
|
|
@@ -353,35 +304,20 @@
|
|
|
353
304
|
"assets": {
|
|
354
305
|
"js": {
|
|
355
306
|
"sync": [
|
|
356
|
-
"__mf/js/async/679.
|
|
357
|
-
"__mf/js/async/69.
|
|
358
|
-
"__mf/js/async/
|
|
359
|
-
"__mf/js/async/
|
|
360
|
-
"__mf/js/async/__federation_expose_BarChart.
|
|
307
|
+
"__mf/js/async/679.6fb75801.js",
|
|
308
|
+
"__mf/js/async/69.3c81e152.js",
|
|
309
|
+
"__mf/js/async/838.bc0c4131.js",
|
|
310
|
+
"__mf/js/async/298.e67cf440.js",
|
|
311
|
+
"__mf/js/async/__federation_expose_BarChart.a489d852.js"
|
|
361
312
|
],
|
|
362
313
|
"async": [
|
|
363
|
-
"__mf/js/async/
|
|
364
|
-
"__mf/js/async/
|
|
365
|
-
"__mf/js/async/
|
|
366
|
-
"__mf/js/async/
|
|
367
|
-
"__mf/js/async/
|
|
368
|
-
"__mf/js/async/
|
|
369
|
-
"__mf/js/async/
|
|
370
|
-
"__mf/js/async/922.599a817c.js",
|
|
371
|
-
"__mf/js/async/640.968c5b1b.js",
|
|
372
|
-
"__mf/js/async/533.531bfcd1.js",
|
|
373
|
-
"__mf/js/async/173.de56afb5.js",
|
|
374
|
-
"__mf/js/async/740.bd4a2dd3.js",
|
|
375
|
-
"__mf/js/async/75.602a691f.js",
|
|
376
|
-
"__mf/js/async/623.a42c5576.js",
|
|
377
|
-
"__mf/js/async/lib-router.c524d5f3.js",
|
|
378
|
-
"__mf/js/async/65.4b20c67b.js",
|
|
379
|
-
"__mf/js/async/488.64e4ab62.js",
|
|
380
|
-
"__mf/js/async/738.0b38462b.js",
|
|
381
|
-
"__mf/js/async/409.cb75bf15.js",
|
|
382
|
-
"__mf/js/async/981.d5ccd920.js",
|
|
383
|
-
"__mf/js/async/770.a4ed49b7.js",
|
|
384
|
-
"__mf/js/async/296.4e6e1192.js"
|
|
314
|
+
"__mf/js/async/238.45a5ec9c.js",
|
|
315
|
+
"__mf/js/async/224.5f9af696.js",
|
|
316
|
+
"__mf/js/async/292.faabc281.js",
|
|
317
|
+
"__mf/js/async/922.2ce525ff.js",
|
|
318
|
+
"__mf/js/async/520.8c1bc8d8.js",
|
|
319
|
+
"__mf/js/async/lib-router.10c5a0f9.js",
|
|
320
|
+
"__mf/js/async/488.b4de54ee.js"
|
|
385
321
|
]
|
|
386
322
|
},
|
|
387
323
|
"css": {
|
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "BarChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.
|
|
8
|
+
"buildVersion": "0.9.0",
|
|
9
9
|
"buildName": "@perses-dev/bar-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/BarChart.
|
|
12
|
+
"name": "__mf/js/BarChart.a3706179.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "BarChart",
|
|
23
|
-
"pluginVersion": "0.
|
|
23
|
+
"pluginVersion": "0.18.1",
|
|
24
24
|
"prefetchInterface": false,
|
|
25
25
|
"publicPath": "/plugins/BarChart/"
|
|
26
26
|
},
|
|
@@ -35,11 +35,9 @@
|
|
|
35
35
|
"id": "BarChart:@emotion/react",
|
|
36
36
|
"assets": {
|
|
37
37
|
"js": {
|
|
38
|
-
"async": [
|
|
39
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
40
|
-
],
|
|
38
|
+
"async": [],
|
|
41
39
|
"sync": [
|
|
42
|
-
"__mf/js/async/960.
|
|
40
|
+
"__mf/js/async/960.33cdf4ef.js"
|
|
43
41
|
]
|
|
44
42
|
},
|
|
45
43
|
"css": {
|
|
@@ -59,14 +57,11 @@
|
|
|
59
57
|
"id": "BarChart:@emotion/styled",
|
|
60
58
|
"assets": {
|
|
61
59
|
"js": {
|
|
62
|
-
"async": [
|
|
63
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
64
|
-
"__mf/js/async/960.07c2f8a6.js"
|
|
65
|
-
],
|
|
60
|
+
"async": [],
|
|
66
61
|
"sync": [
|
|
67
|
-
"__mf/js/async/694.
|
|
68
|
-
"__mf/js/async/770.
|
|
69
|
-
"__mf/js/async/790.
|
|
62
|
+
"__mf/js/async/694.beb18780.js",
|
|
63
|
+
"__mf/js/async/770.ece8043c.js",
|
|
64
|
+
"__mf/js/async/790.219148ac.js"
|
|
70
65
|
]
|
|
71
66
|
},
|
|
72
67
|
"css": {
|
|
@@ -86,12 +81,10 @@
|
|
|
86
81
|
"id": "BarChart:@hookform/resolvers",
|
|
87
82
|
"assets": {
|
|
88
83
|
"js": {
|
|
89
|
-
"async": [
|
|
90
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
91
|
-
],
|
|
84
|
+
"async": [],
|
|
92
85
|
"sync": [
|
|
93
|
-
"__mf/js/async/214.
|
|
94
|
-
"__mf/js/async/738.
|
|
86
|
+
"__mf/js/async/214.c9488f88.js",
|
|
87
|
+
"__mf/js/async/738.7c9852d4.js"
|
|
95
88
|
]
|
|
96
89
|
},
|
|
97
90
|
"css": {
|
|
@@ -103,26 +96,17 @@
|
|
|
103
96
|
},
|
|
104
97
|
{
|
|
105
98
|
"singleton": true,
|
|
106
|
-
"requiredVersion": "^0.
|
|
99
|
+
"requiredVersion": "^0.52.0-beta.5",
|
|
107
100
|
"shareScope": "default",
|
|
108
101
|
"name": "@perses-dev/components",
|
|
109
|
-
"version": "0.
|
|
102
|
+
"version": "0.52.0-beta.5",
|
|
110
103
|
"eager": false,
|
|
111
104
|
"id": "BarChart:@perses-dev/components",
|
|
112
105
|
"assets": {
|
|
113
106
|
"js": {
|
|
114
|
-
"async": [
|
|
115
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
116
|
-
"__mf/js/async/173.de56afb5.js",
|
|
117
|
-
"__mf/js/async/960.07c2f8a6.js",
|
|
118
|
-
"__mf/js/async/790.23e35958.js",
|
|
119
|
-
"__mf/js/async/774.6d4b81a0.js",
|
|
120
|
-
"__mf/js/async/740.bd4a2dd3.js",
|
|
121
|
-
"__mf/js/async/75.602a691f.js",
|
|
122
|
-
"__mf/js/async/623.a42c5576.js"
|
|
123
|
-
],
|
|
107
|
+
"async": [],
|
|
124
108
|
"sync": [
|
|
125
|
-
"__mf/js/async/
|
|
109
|
+
"__mf/js/async/358.fd668f32.js"
|
|
126
110
|
]
|
|
127
111
|
},
|
|
128
112
|
"css": {
|
|
@@ -136,43 +120,21 @@
|
|
|
136
120
|
},
|
|
137
121
|
{
|
|
138
122
|
"singleton": true,
|
|
139
|
-
"requiredVersion": "^0.
|
|
123
|
+
"requiredVersion": "^0.52.0-beta.5",
|
|
140
124
|
"shareScope": "default",
|
|
141
125
|
"name": "@perses-dev/plugin-system",
|
|
142
|
-
"version": "0.
|
|
126
|
+
"version": "0.52.0-beta.5",
|
|
143
127
|
"eager": false,
|
|
144
128
|
"id": "BarChart:@perses-dev/plugin-system",
|
|
145
129
|
"assets": {
|
|
146
130
|
"js": {
|
|
147
|
-
"async": [
|
|
148
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
149
|
-
"__mf/js/async/173.de56afb5.js",
|
|
150
|
-
"__mf/js/async/960.07c2f8a6.js",
|
|
151
|
-
"__mf/js/async/790.23e35958.js",
|
|
152
|
-
"__mf/js/async/224.02bf0727.js",
|
|
153
|
-
"__mf/js/async/740.bd4a2dd3.js",
|
|
154
|
-
"__mf/js/async/238.2c28749b.js",
|
|
155
|
-
"__mf/js/async/75.602a691f.js",
|
|
156
|
-
"__mf/js/async/623.a42c5576.js",
|
|
157
|
-
"__mf/js/async/679.4c9ca4ca.js",
|
|
158
|
-
"__mf/js/async/922.599a817c.js",
|
|
159
|
-
"__mf/js/async/533.531bfcd1.js",
|
|
160
|
-
"__mf/js/async/331.987fc9d1.js",
|
|
161
|
-
"__mf/js/async/774.6d4b81a0.js",
|
|
162
|
-
"__mf/js/async/738.0b38462b.js",
|
|
163
|
-
"__mf/js/async/409.cb75bf15.js",
|
|
164
|
-
"__mf/js/async/981.d5ccd920.js",
|
|
165
|
-
"__mf/js/async/770.a4ed49b7.js",
|
|
166
|
-
"__mf/js/async/296.4e6e1192.js"
|
|
167
|
-
],
|
|
131
|
+
"async": [],
|
|
168
132
|
"sync": [
|
|
169
|
-
"__mf/js/async/
|
|
133
|
+
"__mf/js/async/109.311fcd6a.js"
|
|
170
134
|
]
|
|
171
135
|
},
|
|
172
136
|
"css": {
|
|
173
|
-
"async": [
|
|
174
|
-
"__mf/css/async/263.1f61a808.css"
|
|
175
|
-
],
|
|
137
|
+
"async": [],
|
|
176
138
|
"sync": []
|
|
177
139
|
}
|
|
178
140
|
},
|
|
@@ -192,7 +154,7 @@
|
|
|
192
154
|
"js": {
|
|
193
155
|
"async": [],
|
|
194
156
|
"sync": [
|
|
195
|
-
"__mf/js/async/75.
|
|
157
|
+
"__mf/js/async/75.c086bb12.js"
|
|
196
158
|
]
|
|
197
159
|
},
|
|
198
160
|
"css": {
|
|
@@ -214,7 +176,7 @@
|
|
|
214
176
|
"js": {
|
|
215
177
|
"async": [],
|
|
216
178
|
"sync": [
|
|
217
|
-
"__mf/js/async/409.
|
|
179
|
+
"__mf/js/async/409.fdf96221.js"
|
|
218
180
|
]
|
|
219
181
|
},
|
|
220
182
|
"css": {
|
|
@@ -236,7 +198,7 @@
|
|
|
236
198
|
"js": {
|
|
237
199
|
"async": [],
|
|
238
200
|
"sync": [
|
|
239
|
-
"__mf/js/async/774.
|
|
201
|
+
"__mf/js/async/774.aec5dd0e.js"
|
|
240
202
|
]
|
|
241
203
|
},
|
|
242
204
|
"css": {
|
|
@@ -260,7 +222,7 @@
|
|
|
260
222
|
"js": {
|
|
261
223
|
"async": [],
|
|
262
224
|
"sync": [
|
|
263
|
-
"__mf/js/async/
|
|
225
|
+
"__mf/js/async/35.629f619d.js"
|
|
264
226
|
]
|
|
265
227
|
},
|
|
266
228
|
"css": {
|
|
@@ -280,13 +242,9 @@
|
|
|
280
242
|
"id": "BarChart:mdi-material-ui",
|
|
281
243
|
"assets": {
|
|
282
244
|
"js": {
|
|
283
|
-
"async": [
|
|
284
|
-
"__mf/js/async/964.d446c7a1.js",
|
|
285
|
-
"__mf/js/async/960.07c2f8a6.js",
|
|
286
|
-
"__mf/js/async/790.23e35958.js"
|
|
287
|
-
],
|
|
245
|
+
"async": [],
|
|
288
246
|
"sync": [
|
|
289
|
-
"__mf/js/async/296.
|
|
247
|
+
"__mf/js/async/296.78a77608.js"
|
|
290
248
|
]
|
|
291
249
|
},
|
|
292
250
|
"css": {
|
|
@@ -306,11 +264,9 @@
|
|
|
306
264
|
"id": "BarChart:react-dom",
|
|
307
265
|
"assets": {
|
|
308
266
|
"js": {
|
|
309
|
-
"async": [
|
|
310
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
311
|
-
],
|
|
267
|
+
"async": [],
|
|
312
268
|
"sync": [
|
|
313
|
-
"__mf/js/async/173.
|
|
269
|
+
"__mf/js/async/173.3531997c.js"
|
|
314
270
|
]
|
|
315
271
|
},
|
|
316
272
|
"css": {
|
|
@@ -332,7 +288,7 @@
|
|
|
332
288
|
"js": {
|
|
333
289
|
"async": [],
|
|
334
290
|
"sync": [
|
|
335
|
-
"__mf/js/async/964.
|
|
291
|
+
"__mf/js/async/964.1b58e06a.js"
|
|
336
292
|
]
|
|
337
293
|
},
|
|
338
294
|
"css": {
|
|
@@ -354,12 +310,10 @@
|
|
|
354
310
|
"id": "BarChart:use-resize-observer",
|
|
355
311
|
"assets": {
|
|
356
312
|
"js": {
|
|
357
|
-
"async": [
|
|
358
|
-
"__mf/js/async/964.d446c7a1.js"
|
|
359
|
-
],
|
|
313
|
+
"async": [],
|
|
360
314
|
"sync": [
|
|
361
|
-
"__mf/js/async/553.
|
|
362
|
-
"__mf/js/async/623.
|
|
315
|
+
"__mf/js/async/553.846194ff.js",
|
|
316
|
+
"__mf/js/async/623.e68b6216.js"
|
|
363
317
|
]
|
|
364
318
|
},
|
|
365
319
|
"css": {
|
|
@@ -379,12 +333,9 @@
|
|
|
379
333
|
"id": "BarChart:date-fns-tz",
|
|
380
334
|
"assets": {
|
|
381
335
|
"js": {
|
|
382
|
-
"async": [
|
|
383
|
-
"__mf/js/async/238.2c28749b.js",
|
|
384
|
-
"__mf/js/async/75.602a691f.js"
|
|
385
|
-
],
|
|
336
|
+
"async": [],
|
|
386
337
|
"sync": [
|
|
387
|
-
"__mf/js/async/740.
|
|
338
|
+
"__mf/js/async/740.6d6370ec.js"
|
|
388
339
|
]
|
|
389
340
|
},
|
|
390
341
|
"css": {
|
|
@@ -403,43 +354,28 @@
|
|
|
403
354
|
"name": "BarChart",
|
|
404
355
|
"requires": [
|
|
405
356
|
"react",
|
|
357
|
+
"immer",
|
|
406
358
|
"@perses-dev/components",
|
|
407
|
-
"@perses-dev/plugin-system"
|
|
408
|
-
"immer"
|
|
359
|
+
"@perses-dev/plugin-system"
|
|
409
360
|
],
|
|
410
361
|
"file": "src/BarChart.ts",
|
|
411
362
|
"assets": {
|
|
412
363
|
"js": {
|
|
413
364
|
"sync": [
|
|
414
|
-
"__mf/js/async/679.
|
|
415
|
-
"__mf/js/async/69.
|
|
416
|
-
"__mf/js/async/
|
|
417
|
-
"__mf/js/async/
|
|
418
|
-
"__mf/js/async/__federation_expose_BarChart.
|
|
365
|
+
"__mf/js/async/679.6fb75801.js",
|
|
366
|
+
"__mf/js/async/69.3c81e152.js",
|
|
367
|
+
"__mf/js/async/838.bc0c4131.js",
|
|
368
|
+
"__mf/js/async/298.e67cf440.js",
|
|
369
|
+
"__mf/js/async/__federation_expose_BarChart.a489d852.js"
|
|
419
370
|
],
|
|
420
371
|
"async": [
|
|
421
|
-
"__mf/js/async/
|
|
422
|
-
"__mf/js/async/
|
|
423
|
-
"__mf/js/async/
|
|
424
|
-
"__mf/js/async/
|
|
425
|
-
"__mf/js/async/
|
|
426
|
-
"__mf/js/async/
|
|
427
|
-
"__mf/js/async/
|
|
428
|
-
"__mf/js/async/922.599a817c.js",
|
|
429
|
-
"__mf/js/async/640.968c5b1b.js",
|
|
430
|
-
"__mf/js/async/533.531bfcd1.js",
|
|
431
|
-
"__mf/js/async/173.de56afb5.js",
|
|
432
|
-
"__mf/js/async/740.bd4a2dd3.js",
|
|
433
|
-
"__mf/js/async/75.602a691f.js",
|
|
434
|
-
"__mf/js/async/623.a42c5576.js",
|
|
435
|
-
"__mf/js/async/lib-router.c524d5f3.js",
|
|
436
|
-
"__mf/js/async/65.4b20c67b.js",
|
|
437
|
-
"__mf/js/async/488.64e4ab62.js",
|
|
438
|
-
"__mf/js/async/738.0b38462b.js",
|
|
439
|
-
"__mf/js/async/409.cb75bf15.js",
|
|
440
|
-
"__mf/js/async/981.d5ccd920.js",
|
|
441
|
-
"__mf/js/async/770.a4ed49b7.js",
|
|
442
|
-
"__mf/js/async/296.4e6e1192.js"
|
|
372
|
+
"__mf/js/async/238.45a5ec9c.js",
|
|
373
|
+
"__mf/js/async/224.5f9af696.js",
|
|
374
|
+
"__mf/js/async/292.faabc281.js",
|
|
375
|
+
"__mf/js/async/922.2ce525ff.js",
|
|
376
|
+
"__mf/js/async/520.8c1bc8d8.js",
|
|
377
|
+
"__mf/js/async/lib-router.10c5a0f9.js",
|
|
378
|
+
"__mf/js/async/488.b4de54ee.js"
|
|
443
379
|
]
|
|
444
380
|
},
|
|
445
381
|
"css": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/bar-chart-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"homepage": "https://github.com/perses/plugins/blob/main/README.md",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/perses/plugins.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/perses/plugins/issues"
|
|
11
|
+
},
|
|
4
12
|
"scripts": {
|
|
5
13
|
"dev": "rsbuild dev",
|
|
6
14
|
"build": "npm run build-mf && concurrently \"npm:build:*\"",
|
|
@@ -19,9 +27,9 @@
|
|
|
19
27
|
"@emotion/react": "^11.7.1",
|
|
20
28
|
"@emotion/styled": "^11.6.0",
|
|
21
29
|
"@hookform/resolvers": "^3.2.0",
|
|
22
|
-
"@perses-dev/components": "^0.
|
|
23
|
-
"@perses-dev/core": "^0.
|
|
24
|
-
"@perses-dev/plugin-system": "^0.
|
|
30
|
+
"@perses-dev/components": "^0.52.0-beta.5",
|
|
31
|
+
"@perses-dev/core": "^0.52.0-beta.5",
|
|
32
|
+
"@perses-dev/plugin-system": "^0.52.0-beta.5",
|
|
25
33
|
"date-fns": "^4.1.0",
|
|
26
34
|
"date-fns-tz": "^3.2.0",
|
|
27
35
|
"echarts": "5.5.0",
|