geomui 1.0.26 → 1.0.27
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/DrawingList.svelte +2 -2
- package/dist/InputParams.svelte +4 -4
- package/dist/SubDesign.svelte +2 -2
- package/package.json +18 -18
package/dist/DrawingList.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { tParamDef } from 'geometrix';
|
|
3
3
|
import ModalImg from './ModalImg.svelte';
|
|
4
|
-
import {
|
|
4
|
+
import { asset } from '$app/paths';
|
|
5
5
|
|
|
6
6
|
// props
|
|
7
7
|
interface Props {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
let sSvgPath: string = $state('');
|
|
26
26
|
|
|
27
27
|
// derived
|
|
28
|
-
let dSvgList: string[] = $derived(getSvgList(pDef).map((iSvg) =>
|
|
28
|
+
let dSvgList: string[] = $derived(getSvgList(pDef).map((iSvg) => asset(`/pgdsvg/${iSvg}`)));
|
|
29
29
|
|
|
30
30
|
// actions
|
|
31
31
|
function showSvg(iSvgPath: string) {
|
package/dist/InputParams.svelte
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { downloadParams, generateUrl } from './downloadParams';
|
|
12
12
|
import { browser } from '$app/environment';
|
|
13
13
|
import { page } from '$app/state';
|
|
14
|
-
import {
|
|
14
|
+
import { asset } from '$app/paths';
|
|
15
15
|
import { afterNavigate } from '$app/navigation';
|
|
16
16
|
import { SvelteURLSearchParams } from 'svelte/reactivity';
|
|
17
17
|
|
|
@@ -233,11 +233,11 @@
|
|
|
233
233
|
}
|
|
234
234
|
// parameter picture
|
|
235
235
|
function checkPict(keyName: string): string {
|
|
236
|
-
let rSvgPath =
|
|
236
|
+
let rSvgPath = asset('/pgdsvg/default_param_blank.svg');
|
|
237
237
|
// convention for the file-names of the parameter description
|
|
238
|
-
//paramSvg =
|
|
238
|
+
//paramSvg = asset(`/pgdsvg/${pDef.partName}_${keyName}.svg`);
|
|
239
239
|
if (Object.keys(pDef.paramSvg).includes(keyName)) {
|
|
240
|
-
rSvgPath =
|
|
240
|
+
rSvgPath = asset(`/pgdsvg/${pDef.paramSvg[keyName]}`);
|
|
241
241
|
}
|
|
242
242
|
return rSvgPath;
|
|
243
243
|
}
|
package/dist/SubDesign.svelte
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { downloadParams } from './downloadParams';
|
|
6
6
|
import { updateStore } from './initStore';
|
|
7
7
|
//import { page } from '$app/state';
|
|
8
|
-
import {
|
|
8
|
+
import { resolve } from '$app/paths';
|
|
9
9
|
import { goto } from '$app/navigation';
|
|
10
10
|
|
|
11
11
|
// props
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
updateStore(subObj.partName, paramListToVal(subObj.dparam), true);
|
|
27
27
|
//const rUrl = generateUrl(`${page.url.origin}${base}/${subObj.link}`, paramListToVal(subObj.dparam), true);
|
|
28
28
|
//const rUrl = generateUrl(`${page.url.origin}${base}/${subObj.link}`, {}, true);
|
|
29
|
-
const rUrl =
|
|
29
|
+
const rUrl = resolve(`/${pLink[subObj.partName]}`);
|
|
30
30
|
//const rUrl = pLink[subObj.partName];
|
|
31
31
|
//console.log(`dbg505: ${rUrl}`);
|
|
32
32
|
//window.location.assign(rUrl);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geomui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "The svelte-library of the webapp-UI of Parametrix",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -70,32 +70,32 @@
|
|
|
70
70
|
"svelte": "^5.19.0"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"geometrix": "^1.0.
|
|
73
|
+
"geometrix": "^1.0.26"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@atao60/fse-cli": "^0.1.9",
|
|
77
77
|
"@sveltejs/adapter-auto": "^7.0.0",
|
|
78
78
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
79
|
-
"@sveltejs/kit": "^2.
|
|
80
|
-
"@sveltejs/package": "^2.5.
|
|
79
|
+
"@sveltejs/kit": "^2.49.2",
|
|
80
|
+
"@sveltejs/package": "^2.5.7",
|
|
81
81
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
82
82
|
"@types/eslint": "^9.6.1",
|
|
83
|
-
"designix": "^1.0.
|
|
84
|
-
"eslint": "^9.
|
|
83
|
+
"designix": "^1.0.26",
|
|
84
|
+
"eslint": "^9.39.2",
|
|
85
85
|
"eslint-config-prettier": "^10.1.8",
|
|
86
|
-
"eslint-plugin-svelte": "
|
|
87
|
-
"globals": "^16.
|
|
86
|
+
"eslint-plugin-svelte": "^3.13.1",
|
|
87
|
+
"globals": "^16.5.0",
|
|
88
88
|
"npm-run-all2": "^8.0.4",
|
|
89
|
-
"prettier": "^3.
|
|
90
|
-
"prettier-plugin-svelte": "^3.4.
|
|
91
|
-
"publint": "^0.3.
|
|
92
|
-
"rimraf": "^6.
|
|
93
|
-
"sass": "^1.
|
|
94
|
-
"svelte": "^5.
|
|
95
|
-
"svelte-check": "^4.3.
|
|
89
|
+
"prettier": "^3.7.4",
|
|
90
|
+
"prettier-plugin-svelte": "^3.4.1",
|
|
91
|
+
"publint": "^0.3.16",
|
|
92
|
+
"rimraf": "^6.1.2",
|
|
93
|
+
"sass": "^1.97.1",
|
|
94
|
+
"svelte": "^5.46.1",
|
|
95
|
+
"svelte-check": "^4.3.5",
|
|
96
96
|
"typescript": "^5.9.3",
|
|
97
|
-
"typescript-eslint": "^8.
|
|
98
|
-
"vite": "^7.
|
|
99
|
-
"vitest": "^4.0.
|
|
97
|
+
"typescript-eslint": "^8.50.1",
|
|
98
|
+
"vite": "^7.3.0",
|
|
99
|
+
"vitest": "^4.0.16"
|
|
100
100
|
}
|
|
101
101
|
}
|