@dative-gpi/foundation-shared-loader 1.1.21-fs-chart-4 → 1.1.21-fs-chart-6
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/dist/getImports.js +4 -4
- package/package.json +2 -2
- package/plugin/getImports.ts +4 -4
package/dist/getImports.js
CHANGED
|
@@ -40,6 +40,10 @@ function getImports(source, skipShared, skipCore, skipAdmin) {
|
|
|
40
40
|
resolvedComponents.push(component);
|
|
41
41
|
addImport(imports, component.name, component.symbol, sharedImportMap.components[component.name].from);
|
|
42
42
|
}
|
|
43
|
+
else if (!skipShared && component.name in visualizationImportMap.components) {
|
|
44
|
+
resolvedComponents.push(component);
|
|
45
|
+
addImport(imports, component.name, component.symbol, visualizationImportMap.components[component.name].from);
|
|
46
|
+
}
|
|
43
47
|
else if (!skipCore && component.name in coreImportMap.components) {
|
|
44
48
|
resolvedComponents.push(component);
|
|
45
49
|
addImport(imports, component.name, component.symbol, coreImportMap.components[component.name].from);
|
|
@@ -48,10 +52,6 @@ function getImports(source, skipShared, skipCore, skipAdmin) {
|
|
|
48
52
|
resolvedComponents.push(component);
|
|
49
53
|
addImport(imports, component.name, component.symbol, adminImportMap.components[component.name].from);
|
|
50
54
|
}
|
|
51
|
-
else if (!skipShared && component.name in visualizationImportMap.components) {
|
|
52
|
-
resolvedComponents.push(component);
|
|
53
|
-
addImport(imports, component.name, component.symbol, visualizationImportMap.components[component.name].from);
|
|
54
|
-
}
|
|
55
55
|
});
|
|
56
56
|
// directives.forEach(directive => {
|
|
57
57
|
// if (importMap.directives.includes(directive.name)) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"repository": {
|
|
4
4
|
"url": "https://github.com/Dative-GPI/foundation-shared-ui.git"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.1.21-fs-chart-
|
|
6
|
+
"version": "1.1.21-fs-chart-6",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"vite": "5.1.4",
|
|
27
27
|
"vue": "3.5.26"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "4e2198e4325286ce66f995478ae4e27b73f122b6"
|
|
30
30
|
}
|
package/plugin/getImports.ts
CHANGED
|
@@ -16,6 +16,10 @@ export function getImports (source: string, skipShared: boolean, skipCore: boole
|
|
|
16
16
|
resolvedComponents.push(component)
|
|
17
17
|
addImport(imports, component.name, component.symbol, (sharedImportMap.components as any)[component.name].from)
|
|
18
18
|
}
|
|
19
|
+
else if (!skipShared && component.name in visualizationImportMap.components) {
|
|
20
|
+
resolvedComponents.push(component)
|
|
21
|
+
addImport(imports, component.name, component.symbol, (visualizationImportMap.components as any)[component.name].from)
|
|
22
|
+
}
|
|
19
23
|
else if (!skipCore && component.name in coreImportMap.components) {
|
|
20
24
|
resolvedComponents.push(component)
|
|
21
25
|
addImport(imports, component.name, component.symbol, (coreImportMap.components as any)[component.name].from)
|
|
@@ -24,10 +28,6 @@ export function getImports (source: string, skipShared: boolean, skipCore: boole
|
|
|
24
28
|
resolvedComponents.push(component)
|
|
25
29
|
addImport(imports, component.name, component.symbol, (adminImportMap.components as any)[component.name].from)
|
|
26
30
|
}
|
|
27
|
-
else if (!skipShared && component.name in visualizationImportMap.components) {
|
|
28
|
-
resolvedComponents.push(component)
|
|
29
|
-
addImport(imports, component.name, component.symbol, (visualizationImportMap.components as any)[component.name].from)
|
|
30
|
-
}
|
|
31
31
|
})
|
|
32
32
|
// directives.forEach(directive => {
|
|
33
33
|
// if (importMap.directives.includes(directive.name)) {
|