geomui 0.5.16 → 0.5.17
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 +1 -1
- package/dist/InputParams.svelte +6 -9
- package/dist/TimeControl.svelte +1 -1
- package/package.json +12 -11
package/dist/DrawingList.svelte
CHANGED
package/dist/InputParams.svelte
CHANGED
|
@@ -94,12 +94,9 @@ function loadParams(iStr) {
|
|
|
94
94
|
applyWarn = true;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
function loadFile(fileP) {
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
loadParams(reader.result);
|
|
101
|
-
});
|
|
102
|
-
reader.readAsText(fileP);
|
|
97
|
+
async function loadFile(fileP) {
|
|
98
|
+
const fText = await fileP.text();
|
|
99
|
+
loadParams(fText);
|
|
103
100
|
}
|
|
104
101
|
function loadParamFromFile(eve) {
|
|
105
102
|
if (eve.target) {
|
|
@@ -166,11 +163,11 @@ function openModalUrl() {
|
|
|
166
163
|
}
|
|
167
164
|
function saveAsUrl() {
|
|
168
165
|
}
|
|
169
|
-
let paramSvg = `${base}/default_param_blank.svg`;
|
|
166
|
+
let paramSvg = `${base}/pgdsvg/default_param_blank.svg`;
|
|
170
167
|
function paramPict(keyName) {
|
|
171
|
-
paramSvg = `${base}/default_param_blank.svg`;
|
|
168
|
+
paramSvg = `${base}/pgdsvg/default_param_blank.svg`;
|
|
172
169
|
if (Object.keys(pDef.paramSvg).includes(keyName)) {
|
|
173
|
-
paramSvg = `${base}/${pDef.paramSvg[keyName]}`;
|
|
170
|
+
paramSvg = `${base}/pgdsvg/${pDef.paramSvg[keyName]}`;
|
|
174
171
|
}
|
|
175
172
|
}
|
|
176
173
|
function paramPict2(idx, pDef_page) {
|
package/dist/TimeControl.svelte
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geomui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.17",
|
|
4
4
|
"description": "The svelte-library of the webapp-UI of Parametrix",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "charlyoleg",
|
|
21
21
|
"scripts": {
|
|
22
|
+
"cp_pdgsvg": "shx cp -r ../../node_modules/designix/dist/pgdsvg static/",
|
|
22
23
|
"dev": "vite dev",
|
|
23
24
|
"build": "vite build && npm run package",
|
|
24
25
|
"preview": "vite preview",
|
|
@@ -29,31 +30,31 @@
|
|
|
29
30
|
"test:unit": "vitest",
|
|
30
31
|
"test:unit:once": "vitest --run",
|
|
31
32
|
"lint": "prettier --check . && eslint .",
|
|
32
|
-
"ci": "run-s build lint check test:unit:once",
|
|
33
|
+
"ci": "run-s cp_pdgsvg build lint check test:unit:once",
|
|
33
34
|
"format": "prettier --write .",
|
|
34
|
-
"clean": "shx rm -fr .svelte-kit build node_modules dist"
|
|
35
|
+
"clean": "shx rm -fr .svelte-kit build node_modules dist static/pgdsvg"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"@sveltejs/kit": "^2.0.3",
|
|
38
39
|
"svelte": "^4.0.0"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"geometrix": "^0.5.
|
|
42
|
+
"geometrix": "^0.5.14"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@sveltejs/adapter-auto": "^3.1.1",
|
|
45
46
|
"@sveltejs/adapter-static": "^3.0.1",
|
|
46
|
-
"@sveltejs/kit": "^2.
|
|
47
|
+
"@sveltejs/kit": "^2.5.0",
|
|
47
48
|
"@sveltejs/package": "^2.2.6",
|
|
48
|
-
"@sveltejs/vite-plugin-svelte": "^3.0.
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
50
|
-
"@typescript-eslint/parser": "^6.
|
|
51
|
-
"designix": "^0.5.
|
|
49
|
+
"@sveltejs/vite-plugin-svelte": "^3.0.2",
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
51
|
+
"@typescript-eslint/parser": "^6.20.0",
|
|
52
|
+
"designix": "^0.5.15",
|
|
52
53
|
"eslint": "^8.56.0",
|
|
53
54
|
"eslint-config-prettier": "^9.1.0",
|
|
54
55
|
"eslint-plugin-svelte": "^2.35.1",
|
|
55
56
|
"npm-run-all": "^4.1.5",
|
|
56
|
-
"prettier": "^3.2.
|
|
57
|
+
"prettier": "^3.2.5",
|
|
57
58
|
"prettier-plugin-svelte": "^3.1.2",
|
|
58
59
|
"publint": "^0.2.7",
|
|
59
60
|
"sass": "^1.70.0",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"tslib": "^2.6.2",
|
|
64
65
|
"typescript": "^5.3.3",
|
|
65
66
|
"vite": "^5.0.12",
|
|
66
|
-
"vitest": "^1.2.
|
|
67
|
+
"vitest": "^1.2.2"
|
|
67
68
|
},
|
|
68
69
|
"exports": {
|
|
69
70
|
".": {
|