@perses-dev/static-list-variable-plugin 0.3.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/LICENSE +201 -0
- package/README.md +41 -0
- package/__mf/js/322.10bc6bf4.js +5 -0
- package/__mf/js/StaticListVariable.78580d47.js +5 -0
- package/__mf/js/async/173.3da91d9a.js +2 -0
- package/__mf/js/async/173.3da91d9a.js.LICENSE.txt +19 -0
- package/__mf/js/async/526.d5f99474.js +110 -0
- package/__mf/js/async/526.d5f99474.js.LICENSE.txt +27 -0
- package/__mf/js/async/620.31f8c32e.js +2 -0
- package/__mf/js/async/620.31f8c32e.js.LICENSE.txt +9 -0
- package/__mf/js/async/651.e2f97563.js +1 -0
- package/__mf/js/async/694.a815c78a.js +1 -0
- package/__mf/js/async/770.67f63e2f.js +1 -0
- package/__mf/js/async/960.0611a6fe.js +2 -0
- package/__mf/js/async/960.0611a6fe.js.LICENSE.txt +8 -0
- package/__mf/js/async/964.bd447903.js +2 -0
- package/__mf/js/async/964.bd447903.js.LICENSE.txt +9 -0
- package/__mf/js/async/__federation_expose_StaticListVariable.ddb169f8.js +1 -0
- package/__mf/js/main.09a4a43a.js +1 -0
- package/lib/StaticListVariable.d.ts +8 -0
- package/lib/StaticListVariable.d.ts.map +1 -0
- package/lib/StaticListVariable.js +74 -0
- package/lib/StaticListVariable.js.map +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/StaticListVariable.js +82 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +25 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/lib/index-federation.js.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +4 -0
- package/lib/index.js.map +1 -0
- package/mf-manifest.json +139 -0
- package/mf-stats.json +153 -0
- package/package.json +55 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import packageJson from '../package.json';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the plugin module information from package.json
|
|
4
|
+
*/ export function getPluginModule() {
|
|
5
|
+
const { name, version, perses } = packageJson;
|
|
6
|
+
return {
|
|
7
|
+
kind: 'PluginModule',
|
|
8
|
+
metadata: {
|
|
9
|
+
name,
|
|
10
|
+
version
|
|
11
|
+
},
|
|
12
|
+
spec: perses
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=getPluginModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/getPluginModule.ts"],"sourcesContent":["import { PluginModuleResource, PluginModuleSpec } from '@perses-dev/plugin-system';\nimport packageJson from '../package.json';\n\n/**\n * Returns the plugin module information from package.json\n */\nexport function getPluginModule(): PluginModuleResource {\n const { name, version, perses } = packageJson;\n return {\n kind: 'PluginModule',\n metadata: {\n name,\n version,\n },\n spec: perses as PluginModuleSpec,\n };\n}\n"],"names":["packageJson","getPluginModule","name","version","perses","kind","metadata","spec"],"mappings":"AACA,OAAOA,iBAAiB,kBAAkB;AAE1C;;CAEC,GACD,OAAO,SAASC;IACd,MAAM,EAAEC,IAAI,EAAEC,OAAO,EAAEC,MAAM,EAAE,GAAGJ;IAClC,OAAO;QACLK,MAAM;QACNC,UAAU;YACRJ;YACAC;QACF;QACAI,MAAMH;IACR;AACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index-federation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-federation.d.ts","sourceRoot":"","sources":["../../src/index-federation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright 2024 The Perses Authors
|
|
2
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
// you may not use this file except in compliance with the License.
|
|
4
|
+
// You may obtain a copy of the License at
|
|
5
|
+
//
|
|
6
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
//
|
|
8
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
// See the License for the specific language governing permissions and
|
|
12
|
+
// limitations under the License.
|
|
13
|
+
import('./bootstrap');
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=index-federation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index-federation.ts"],"sourcesContent":["// Copyright 2024 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('./bootstrap');\n"],"names":[],"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;AAEjC,MAAM,CAAC"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,sBAAsB,CAAC"}
|
package/lib/index.js
ADDED
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.tsx"],"sourcesContent":["export { getPluginModule } from './getPluginModule';\nexport * from './StaticListVariable';\n"],"names":["getPluginModule"],"mappings":"AAAA,SAASA,eAAe,QAAQ,oBAAoB;AACpD,cAAc,uBAAuB"}
|
package/mf-manifest.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "StaticListVariable",
|
|
3
|
+
"name": "StaticListVariable",
|
|
4
|
+
"metaData": {
|
|
5
|
+
"name": "StaticListVariable",
|
|
6
|
+
"type": "app",
|
|
7
|
+
"buildInfo": {
|
|
8
|
+
"buildVersion": "0.3.0",
|
|
9
|
+
"buildName": "@perses-dev/static-list-variable-plugin"
|
|
10
|
+
},
|
|
11
|
+
"remoteEntry": {
|
|
12
|
+
"name": "__mf/js/StaticListVariable.78580d47.js",
|
|
13
|
+
"path": "",
|
|
14
|
+
"type": "global"
|
|
15
|
+
},
|
|
16
|
+
"types": {
|
|
17
|
+
"path": "",
|
|
18
|
+
"name": "",
|
|
19
|
+
"zip": "",
|
|
20
|
+
"api": ""
|
|
21
|
+
},
|
|
22
|
+
"globalName": "StaticListVariable",
|
|
23
|
+
"pluginVersion": "0.11.2",
|
|
24
|
+
"prefetchInterface": false,
|
|
25
|
+
"publicPath": "/plugins/StaticListVariable/"
|
|
26
|
+
},
|
|
27
|
+
"shared": [
|
|
28
|
+
{
|
|
29
|
+
"id": "StaticListVariable:@emotion/react",
|
|
30
|
+
"name": "@emotion/react",
|
|
31
|
+
"version": "11.14.0",
|
|
32
|
+
"singleton": true,
|
|
33
|
+
"requiredVersion": "^11.11.3",
|
|
34
|
+
"assets": {
|
|
35
|
+
"js": {
|
|
36
|
+
"async": [
|
|
37
|
+
"__mf/js/async/964.bd447903.js"
|
|
38
|
+
],
|
|
39
|
+
"sync": [
|
|
40
|
+
"__mf/js/async/960.0611a6fe.js"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"css": {
|
|
44
|
+
"async": [],
|
|
45
|
+
"sync": []
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "StaticListVariable:@emotion/styled",
|
|
51
|
+
"name": "@emotion/styled",
|
|
52
|
+
"version": "11.14.0",
|
|
53
|
+
"singleton": true,
|
|
54
|
+
"requiredVersion": "^11.14.0",
|
|
55
|
+
"assets": {
|
|
56
|
+
"js": {
|
|
57
|
+
"async": [
|
|
58
|
+
"__mf/js/async/964.bd447903.js",
|
|
59
|
+
"__mf/js/async/960.0611a6fe.js"
|
|
60
|
+
],
|
|
61
|
+
"sync": [
|
|
62
|
+
"__mf/js/async/694.a815c78a.js",
|
|
63
|
+
"__mf/js/async/770.67f63e2f.js"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"css": {
|
|
67
|
+
"async": [],
|
|
68
|
+
"sync": []
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "StaticListVariable:react-dom",
|
|
74
|
+
"name": "react-dom",
|
|
75
|
+
"version": "18.3.1",
|
|
76
|
+
"singleton": true,
|
|
77
|
+
"requiredVersion": "18.2.0",
|
|
78
|
+
"assets": {
|
|
79
|
+
"js": {
|
|
80
|
+
"async": [
|
|
81
|
+
"__mf/js/async/964.bd447903.js"
|
|
82
|
+
],
|
|
83
|
+
"sync": [
|
|
84
|
+
"__mf/js/async/173.3da91d9a.js"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"css": {
|
|
88
|
+
"async": [],
|
|
89
|
+
"sync": []
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "StaticListVariable:react",
|
|
95
|
+
"name": "react",
|
|
96
|
+
"version": "18.3.1",
|
|
97
|
+
"singleton": true,
|
|
98
|
+
"requiredVersion": "18.2.0",
|
|
99
|
+
"assets": {
|
|
100
|
+
"js": {
|
|
101
|
+
"async": [],
|
|
102
|
+
"sync": [
|
|
103
|
+
"__mf/js/async/964.bd447903.js"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"css": {
|
|
107
|
+
"async": [],
|
|
108
|
+
"sync": []
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"remotes": [],
|
|
114
|
+
"exposes": [
|
|
115
|
+
{
|
|
116
|
+
"id": "StaticListVariable:StaticListVariable",
|
|
117
|
+
"name": "StaticListVariable",
|
|
118
|
+
"assets": {
|
|
119
|
+
"js": {
|
|
120
|
+
"sync": [
|
|
121
|
+
"__mf/js/async/526.d5f99474.js",
|
|
122
|
+
"__mf/js/async/__federation_expose_StaticListVariable.ddb169f8.js"
|
|
123
|
+
],
|
|
124
|
+
"async": [
|
|
125
|
+
"__mf/js/async/964.bd447903.js",
|
|
126
|
+
"__mf/js/async/173.3da91d9a.js",
|
|
127
|
+
"__mf/js/async/960.0611a6fe.js",
|
|
128
|
+
"__mf/js/async/694.a815c78a.js"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"css": {
|
|
132
|
+
"sync": [],
|
|
133
|
+
"async": []
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"path": "./StaticListVariable"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
package/mf-stats.json
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "StaticListVariable",
|
|
3
|
+
"name": "StaticListVariable",
|
|
4
|
+
"metaData": {
|
|
5
|
+
"name": "StaticListVariable",
|
|
6
|
+
"type": "app",
|
|
7
|
+
"buildInfo": {
|
|
8
|
+
"buildVersion": "0.3.0",
|
|
9
|
+
"buildName": "@perses-dev/static-list-variable-plugin"
|
|
10
|
+
},
|
|
11
|
+
"remoteEntry": {
|
|
12
|
+
"name": "__mf/js/StaticListVariable.78580d47.js",
|
|
13
|
+
"path": "",
|
|
14
|
+
"type": "global"
|
|
15
|
+
},
|
|
16
|
+
"types": {
|
|
17
|
+
"path": "",
|
|
18
|
+
"name": "",
|
|
19
|
+
"zip": "",
|
|
20
|
+
"api": ""
|
|
21
|
+
},
|
|
22
|
+
"globalName": "StaticListVariable",
|
|
23
|
+
"pluginVersion": "0.11.2",
|
|
24
|
+
"prefetchInterface": false,
|
|
25
|
+
"publicPath": "/plugins/StaticListVariable/"
|
|
26
|
+
},
|
|
27
|
+
"shared": [
|
|
28
|
+
{
|
|
29
|
+
"singleton": true,
|
|
30
|
+
"requiredVersion": "^11.11.3",
|
|
31
|
+
"shareScope": "default",
|
|
32
|
+
"name": "@emotion/react",
|
|
33
|
+
"version": "11.14.0",
|
|
34
|
+
"eager": false,
|
|
35
|
+
"id": "StaticListVariable:@emotion/react",
|
|
36
|
+
"assets": {
|
|
37
|
+
"js": {
|
|
38
|
+
"async": [
|
|
39
|
+
"__mf/js/async/964.bd447903.js"
|
|
40
|
+
],
|
|
41
|
+
"sync": [
|
|
42
|
+
"__mf/js/async/960.0611a6fe.js"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"css": {
|
|
46
|
+
"async": [],
|
|
47
|
+
"sync": []
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"usedIn": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"singleton": true,
|
|
54
|
+
"requiredVersion": "^11.14.0",
|
|
55
|
+
"shareScope": "default",
|
|
56
|
+
"name": "@emotion/styled",
|
|
57
|
+
"version": "11.14.0",
|
|
58
|
+
"eager": false,
|
|
59
|
+
"id": "StaticListVariable:@emotion/styled",
|
|
60
|
+
"assets": {
|
|
61
|
+
"js": {
|
|
62
|
+
"async": [
|
|
63
|
+
"__mf/js/async/964.bd447903.js",
|
|
64
|
+
"__mf/js/async/960.0611a6fe.js"
|
|
65
|
+
],
|
|
66
|
+
"sync": [
|
|
67
|
+
"__mf/js/async/694.a815c78a.js",
|
|
68
|
+
"__mf/js/async/770.67f63e2f.js"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"css": {
|
|
72
|
+
"async": [],
|
|
73
|
+
"sync": []
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"usedIn": []
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"singleton": true,
|
|
80
|
+
"requiredVersion": "18.2.0",
|
|
81
|
+
"shareScope": "default",
|
|
82
|
+
"name": "react-dom",
|
|
83
|
+
"version": "18.3.1",
|
|
84
|
+
"eager": false,
|
|
85
|
+
"id": "StaticListVariable:react-dom",
|
|
86
|
+
"assets": {
|
|
87
|
+
"js": {
|
|
88
|
+
"async": [
|
|
89
|
+
"__mf/js/async/964.bd447903.js"
|
|
90
|
+
],
|
|
91
|
+
"sync": [
|
|
92
|
+
"__mf/js/async/173.3da91d9a.js"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"css": {
|
|
96
|
+
"async": [],
|
|
97
|
+
"sync": []
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"usedIn": []
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"singleton": true,
|
|
104
|
+
"requiredVersion": "18.2.0",
|
|
105
|
+
"shareScope": "default",
|
|
106
|
+
"name": "react",
|
|
107
|
+
"version": "18.3.1",
|
|
108
|
+
"eager": false,
|
|
109
|
+
"id": "StaticListVariable:react",
|
|
110
|
+
"assets": {
|
|
111
|
+
"js": {
|
|
112
|
+
"async": [],
|
|
113
|
+
"sync": [
|
|
114
|
+
"__mf/js/async/964.bd447903.js"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"css": {
|
|
118
|
+
"async": [],
|
|
119
|
+
"sync": []
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"usedIn": []
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"remotes": [],
|
|
126
|
+
"exposes": [
|
|
127
|
+
{
|
|
128
|
+
"path": "./StaticListVariable",
|
|
129
|
+
"id": "StaticListVariable:StaticListVariable",
|
|
130
|
+
"name": "StaticListVariable",
|
|
131
|
+
"requires": [],
|
|
132
|
+
"file": "src/StaticListVariable.tsx",
|
|
133
|
+
"assets": {
|
|
134
|
+
"js": {
|
|
135
|
+
"sync": [
|
|
136
|
+
"__mf/js/async/526.d5f99474.js",
|
|
137
|
+
"__mf/js/async/__federation_expose_StaticListVariable.ddb169f8.js"
|
|
138
|
+
],
|
|
139
|
+
"async": [
|
|
140
|
+
"__mf/js/async/964.bd447903.js",
|
|
141
|
+
"__mf/js/async/173.3da91d9a.js",
|
|
142
|
+
"__mf/js/async/960.0611a6fe.js",
|
|
143
|
+
"__mf/js/async/694.a815c78a.js"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"css": {
|
|
147
|
+
"sync": [],
|
|
148
|
+
"async": []
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@perses-dev/static-list-variable-plugin",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dev": "rsbuild dev",
|
|
6
|
+
"build": "npm run build-mf && concurrently \"npm:build:*\"",
|
|
7
|
+
"build-mf": "rsbuild build",
|
|
8
|
+
"build:cjs": "swc ./src -d dist/lib/cjs --strip-leading-paths --config-file ../.cjs.swcrc",
|
|
9
|
+
"build:esm": "swc ./src -d dist/lib --strip-leading-paths --config-file ../.swcrc",
|
|
10
|
+
"build:types": "tsc --project tsconfig.build.json",
|
|
11
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
12
|
+
"test": "cross-env LC_ALL=C TZ=UTC jest --passWithNoTests",
|
|
13
|
+
"type-check": "tsc --noEmit"
|
|
14
|
+
},
|
|
15
|
+
"main": "lib/cjs/index.js",
|
|
16
|
+
"module": "lib/index.js",
|
|
17
|
+
"types": "lib/index.d.ts",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"color-hash": "^2.0.2"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@emotion/react": "^11.7.1",
|
|
23
|
+
"@emotion/styled": "^11.6.0",
|
|
24
|
+
"@hookform/resolvers": "^3.2.0",
|
|
25
|
+
"@perses-dev/components": "^0.51.0-beta.1",
|
|
26
|
+
"@perses-dev/core": "^0.51.0-beta.1",
|
|
27
|
+
"@perses-dev/plugin-system": "^0.51.0-beta.1",
|
|
28
|
+
"date-fns": "^4.1.0",
|
|
29
|
+
"date-fns-tz": "^3.2.0",
|
|
30
|
+
"echarts": "5.5.0",
|
|
31
|
+
"lodash": "^4.17.21",
|
|
32
|
+
"react": "^17.0.2 || ^18.0.0",
|
|
33
|
+
"react-dom": "^17.0.2 || ^18.0.0",
|
|
34
|
+
"use-resize-observer": "^9.0.0"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"lib/**/*",
|
|
38
|
+
"__mf/**/*",
|
|
39
|
+
"mf-manifest.json",
|
|
40
|
+
"mf-stats.json"
|
|
41
|
+
],
|
|
42
|
+
"perses": {
|
|
43
|
+
"plugins": [
|
|
44
|
+
{
|
|
45
|
+
"kind": "Variable",
|
|
46
|
+
"spec": {
|
|
47
|
+
"display": {
|
|
48
|
+
"name": "Static List Variable"
|
|
49
|
+
},
|
|
50
|
+
"name": "StaticListVariable"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
}
|