@perses-dev/stat-chart-plugin 0.13.0-beta.2 → 0.13.0-rc.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/{StatChart.304b5d2c.js → StatChart.6e3c3101.js} +2 -2
- package/__mf/js/async/187.d7e6b2db.js +7 -0
- package/__mf/js/async/546.97a22d02.js +24 -0
- package/__mf/js/async/{289.935d218f.js → 580.5a3fa127.js} +3 -3
- package/__mf/js/async/__federation_expose_StatChart.b01aa787.js +1 -0
- package/__mf/js/{main.55960860.js → main.35575c5a.js} +3 -3
- package/lib/StatChart.d.ts.map +1 -1
- package/lib/StatChart.js +3 -0
- package/lib/StatChart.js.map +1 -1
- package/lib/cjs/StatChart.js +3 -0
- package/mf-manifest.json +13 -13
- package/mf-stats.json +13 -13
- package/package.json +4 -4
- package/__mf/js/async/122.a4c0e249.js +0 -7
- package/__mf/js/async/189.29a6588c.js +0 -24
- package/__mf/js/async/__federation_expose_StatChart.78aafd31.js +0 -1
- /package/__mf/css/async/{122.85c2cbf6.css → 187.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{122.a4c0e249.js.LICENSE.txt → 187.d7e6b2db.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{189.29a6588c.js.LICENSE.txt → 546.97a22d02.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{289.935d218f.js.LICENSE.txt → 580.5a3fa127.js.LICENSE.txt} +0 -0
package/lib/StatChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/StatChart.ts"],"sourcesContent":["// Copyright 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 { PanelPlugin } from '@perses-dev/plugin-system';\nimport { createInitialStatChartOptions, StatChartOptions } from './stat-chart-model';\nimport { StatChartValueMappingEditor } from './StatChartValueMappingEditor';\nimport { StatChartOptionsEditorSettings } from './StatChartOptionsEditorSettings';\nimport { StatChartPanel, StatChartPanelProps } from './StatChartPanel';\n\n/**\n * The core StatChart panel plugin for Perses.\n */\nexport const StatChart: PanelPlugin<StatChartOptions, StatChartPanelProps> = {\n PanelComponent: StatChartPanel,\n supportedQueryTypes: ['TimeSeriesQuery'],\n panelOptionsEditorComponents: [\n {\n label: 'Settings',\n content: StatChartOptionsEditorSettings,\n },\n { label: 'Value mapping', content: StatChartValueMappingEditor },\n ],\n createInitialOptions: createInitialStatChartOptions,\n};\n"],"names":["createInitialStatChartOptions","StatChartValueMappingEditor","StatChartOptionsEditorSettings","StatChartPanel","StatChart","PanelComponent","supportedQueryTypes","panelOptionsEditorComponents","label","content","createInitialOptions"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAGjC,SAASA,6BAA6B,QAA0B,qBAAqB;AACrF,SAASC,2BAA2B,QAAQ,gCAAgC;AAC5E,SAASC,8BAA8B,QAAQ,mCAAmC;AAClF,SAASC,cAAc,QAA6B,mBAAmB;AAEvE;;CAEC,GACD,OAAO,MAAMC,YAAgE;IAC3EC,gBAAgBF;IAChBG,qBAAqB;QAAC;KAAkB;IACxCC,8BAA8B;QAC5B;YACEC,OAAO;YACPC,
|
|
1
|
+
{"version":3,"sources":["../../src/StatChart.ts"],"sourcesContent":["// Copyright 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 { PanelPlugin } from '@perses-dev/plugin-system';\nimport { createInitialStatChartOptions, StatChartOptions } from './stat-chart-model';\nimport { StatChartValueMappingEditor } from './StatChartValueMappingEditor';\nimport { StatChartOptionsEditorSettings } from './StatChartOptionsEditorSettings';\nimport { StatChartPanel, StatChartPanelProps } from './StatChartPanel';\n\n/**\n * The core StatChart panel plugin for Perses.\n */\nexport const StatChart: PanelPlugin<StatChartOptions, StatChartPanelProps> = {\n PanelComponent: StatChartPanel,\n supportedQueryTypes: ['TimeSeriesQuery'],\n queryOptions: {\n mode: 'instant',\n },\n panelOptionsEditorComponents: [\n {\n label: 'Settings',\n content: StatChartOptionsEditorSettings,\n },\n { label: 'Value mapping', content: StatChartValueMappingEditor },\n ],\n createInitialOptions: createInitialStatChartOptions,\n};\n"],"names":["createInitialStatChartOptions","StatChartValueMappingEditor","StatChartOptionsEditorSettings","StatChartPanel","StatChart","PanelComponent","supportedQueryTypes","queryOptions","mode","panelOptionsEditorComponents","label","content","createInitialOptions"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAGjC,SAASA,6BAA6B,QAA0B,qBAAqB;AACrF,SAASC,2BAA2B,QAAQ,gCAAgC;AAC5E,SAASC,8BAA8B,QAAQ,mCAAmC;AAClF,SAASC,cAAc,QAA6B,mBAAmB;AAEvE;;CAEC,GACD,OAAO,MAAMC,YAAgE;IAC3EC,gBAAgBF;IAChBG,qBAAqB;QAAC;KAAkB;IACxCC,cAAc;QACZC,MAAM;IACR;IACAC,8BAA8B;QAC5B;YACEC,OAAO;YACPC,SAAST;QACX;QACA;YAAEQ,OAAO;YAAiBC,SAASV;QAA4B;KAChE;IACDW,sBAAsBZ;AACxB,EAAE"}
|
package/lib/cjs/StatChart.js
CHANGED
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "StatChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.13.0-
|
|
8
|
+
"buildVersion": "0.13.0-rc.1",
|
|
9
9
|
"buildName": "@perses-dev/stat-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/StatChart.
|
|
12
|
+
"name": "__mf/js/StatChart.6e3c3101.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -89,20 +89,20 @@
|
|
|
89
89
|
{
|
|
90
90
|
"id": "StatChart:@perses-dev/components",
|
|
91
91
|
"name": "@perses-dev/components",
|
|
92
|
-
"version": "0.54.0-
|
|
92
|
+
"version": "0.54.0-rc.1",
|
|
93
93
|
"singleton": true,
|
|
94
|
-
"requiredVersion": "^0.54.0-
|
|
94
|
+
"requiredVersion": "^0.54.0-rc.1",
|
|
95
95
|
"assets": {
|
|
96
96
|
"js": {
|
|
97
97
|
"async": [],
|
|
98
98
|
"sync": [
|
|
99
|
-
"__mf/js/async/
|
|
99
|
+
"__mf/js/async/187.d7e6b2db.js"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"css": {
|
|
103
103
|
"async": [],
|
|
104
104
|
"sync": [
|
|
105
|
-
"__mf/css/async/
|
|
105
|
+
"__mf/css/async/187.85c2cbf6.css"
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
},
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
{
|
|
112
112
|
"id": "StatChart:@perses-dev/plugin-system",
|
|
113
113
|
"name": "@perses-dev/plugin-system",
|
|
114
|
-
"version": "0.54.0-
|
|
114
|
+
"version": "0.54.0-rc.1",
|
|
115
115
|
"singleton": true,
|
|
116
|
-
"requiredVersion": "^0.54.0-
|
|
116
|
+
"requiredVersion": "^0.54.0-rc.1",
|
|
117
117
|
"assets": {
|
|
118
118
|
"js": {
|
|
119
119
|
"async": [],
|
|
120
120
|
"sync": [
|
|
121
|
-
"__mf/js/async/
|
|
121
|
+
"__mf/js/async/546.97a22d02.js"
|
|
122
122
|
]
|
|
123
123
|
},
|
|
124
124
|
"css": {
|
|
@@ -261,22 +261,22 @@
|
|
|
261
261
|
"__mf/js/async/866.cb6cbc7a.js",
|
|
262
262
|
"__mf/js/async/721.5c1c6916.js",
|
|
263
263
|
"__mf/js/async/570.264704d1.js",
|
|
264
|
-
"__mf/js/async/__federation_expose_StatChart.
|
|
264
|
+
"__mf/js/async/__federation_expose_StatChart.b01aa787.js"
|
|
265
265
|
],
|
|
266
266
|
"async": [
|
|
267
267
|
"__mf/js/async/588.c00e3759.js",
|
|
268
|
-
"__mf/js/async/356.3f7b970d.js",
|
|
269
268
|
"__mf/js/async/71.1f2caf38.js",
|
|
270
|
-
"__mf/js/async/
|
|
269
|
+
"__mf/js/async/580.5a3fa127.js",
|
|
271
270
|
"__mf/js/async/450.bdfbd76f.js",
|
|
272
271
|
"__mf/js/async/lib-router.6c58ccc7.js",
|
|
272
|
+
"__mf/js/async/356.3f7b970d.js",
|
|
273
273
|
"__mf/js/async/177.4dddf131.js"
|
|
274
274
|
]
|
|
275
275
|
},
|
|
276
276
|
"css": {
|
|
277
277
|
"sync": [],
|
|
278
278
|
"async": [
|
|
279
|
-
"__mf/css/async/
|
|
279
|
+
"__mf/css/async/187.85c2cbf6.css"
|
|
280
280
|
]
|
|
281
281
|
}
|
|
282
282
|
},
|
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "StatChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.13.0-
|
|
8
|
+
"buildVersion": "0.13.0-rc.1",
|
|
9
9
|
"buildName": "@perses-dev/stat-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/StatChart.
|
|
12
|
+
"name": "__mf/js/StatChart.6e3c3101.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -100,23 +100,23 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"singleton": true,
|
|
103
|
-
"requiredVersion": "^0.54.0-
|
|
103
|
+
"requiredVersion": "^0.54.0-rc.1",
|
|
104
104
|
"shareScope": "default",
|
|
105
105
|
"name": "@perses-dev/components",
|
|
106
|
-
"version": "0.54.0-
|
|
106
|
+
"version": "0.54.0-rc.1",
|
|
107
107
|
"eager": false,
|
|
108
108
|
"id": "StatChart:@perses-dev/components",
|
|
109
109
|
"assets": {
|
|
110
110
|
"js": {
|
|
111
111
|
"async": [],
|
|
112
112
|
"sync": [
|
|
113
|
-
"__mf/js/async/
|
|
113
|
+
"__mf/js/async/187.d7e6b2db.js"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
116
|
"css": {
|
|
117
117
|
"async": [],
|
|
118
118
|
"sync": [
|
|
119
|
-
"__mf/css/async/
|
|
119
|
+
"__mf/css/async/187.85c2cbf6.css"
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"singleton": true,
|
|
131
|
-
"requiredVersion": "^0.54.0-
|
|
131
|
+
"requiredVersion": "^0.54.0-rc.1",
|
|
132
132
|
"shareScope": "default",
|
|
133
133
|
"name": "@perses-dev/plugin-system",
|
|
134
|
-
"version": "0.54.0-
|
|
134
|
+
"version": "0.54.0-rc.1",
|
|
135
135
|
"eager": false,
|
|
136
136
|
"id": "StatChart:@perses-dev/plugin-system",
|
|
137
137
|
"assets": {
|
|
138
138
|
"js": {
|
|
139
139
|
"async": [],
|
|
140
140
|
"sync": [
|
|
141
|
-
"__mf/js/async/
|
|
141
|
+
"__mf/js/async/546.97a22d02.js"
|
|
142
142
|
]
|
|
143
143
|
},
|
|
144
144
|
"css": {
|
|
@@ -318,22 +318,22 @@
|
|
|
318
318
|
"__mf/js/async/866.cb6cbc7a.js",
|
|
319
319
|
"__mf/js/async/721.5c1c6916.js",
|
|
320
320
|
"__mf/js/async/570.264704d1.js",
|
|
321
|
-
"__mf/js/async/__federation_expose_StatChart.
|
|
321
|
+
"__mf/js/async/__federation_expose_StatChart.b01aa787.js"
|
|
322
322
|
],
|
|
323
323
|
"async": [
|
|
324
324
|
"__mf/js/async/588.c00e3759.js",
|
|
325
|
-
"__mf/js/async/356.3f7b970d.js",
|
|
326
325
|
"__mf/js/async/71.1f2caf38.js",
|
|
327
|
-
"__mf/js/async/
|
|
326
|
+
"__mf/js/async/580.5a3fa127.js",
|
|
328
327
|
"__mf/js/async/450.bdfbd76f.js",
|
|
329
328
|
"__mf/js/async/lib-router.6c58ccc7.js",
|
|
329
|
+
"__mf/js/async/356.3f7b970d.js",
|
|
330
330
|
"__mf/js/async/177.4dddf131.js"
|
|
331
331
|
]
|
|
332
332
|
},
|
|
333
333
|
"css": {
|
|
334
334
|
"sync": [],
|
|
335
335
|
"async": [
|
|
336
|
-
"__mf/css/async/
|
|
336
|
+
"__mf/css/async/187.85c2cbf6.css"
|
|
337
337
|
]
|
|
338
338
|
}
|
|
339
339
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/stat-chart-plugin",
|
|
3
|
-
"version": "0.13.0-
|
|
3
|
+
"version": "0.13.0-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://github.com/perses/plugins/blob/main/README.md",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
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/plugin-system": "^0.54.0-
|
|
33
|
-
"@perses-dev/spec": "^0.2.0-
|
|
31
|
+
"@perses-dev/components": "^0.54.0-rc.1",
|
|
32
|
+
"@perses-dev/plugin-system": "^0.54.0-rc.1",
|
|
33
|
+
"@perses-dev/spec": "^0.2.0-rc.0",
|
|
34
34
|
"date-fns": "^4.1.0",
|
|
35
35
|
"date-fns-tz": "^3.2.0",
|
|
36
36
|
"echarts": "5.5.0",
|