geomui 1.0.11 → 1.0.13

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.
@@ -37,7 +37,7 @@
37
37
 
38
38
  <section>
39
39
  <ModalImg bind:modalOpen={sModalImg} svgPath={sSvgPath} />
40
- {#each dSvgList as iSvg}
40
+ {#each dSvgList as iSvg (iSvg)}
41
41
  <button onclick={() => showSvg(iSvg)}>
42
42
  <img src={iSvg} alt={iSvg} />
43
43
  </button>
@@ -357,7 +357,7 @@
357
357
  <td class:hideColumn>Step</td>
358
358
  </tr>
359
359
  </thead>
360
- {#each htable as sect, sidx}
360
+ {#each htable as sect, sidx (sect.sectionName)}
361
361
  <tbody>
362
362
  <tr class="separator">
363
363
  <td>{sidx + 1}</td>
@@ -371,7 +371,7 @@
371
371
  </tr>
372
372
  </tbody>
373
373
  <tbody class:collaps={htableVis[sect.sectionID]}>
374
- {#each sect.params as param, pidx}
374
+ {#each sect.params as param, pidx (param.name)}
375
375
  <tr class:changed={sParams[pDef.partName][param.name] !== param.init}>
376
376
  <td>{sidx + 1}.{pidx + 1}</td>
377
377
  <td
@@ -397,13 +397,13 @@
397
397
  />
398
398
  {:else if param.pType === PType.eCheckbox}
399
399
  <select bind:value={sParams[pDef.partName][param.name]}>
400
- {#each ['Off', 'On'] as one, idx}
400
+ {#each ['Off', 'On'] as one, idx (one)}
401
401
  <option value={idx}>{one}</option>
402
402
  {/each}
403
403
  </select>
404
404
  {:else if param.pType === PType.eDropdown}
405
405
  <select bind:value={sParams[pDef.partName][param.name]}>
406
- {#each param.dropdown as one, idx}
406
+ {#each param.dropdown as one, idx (one)}
407
407
  <option value={idx}>{one}</option>
408
408
  {/each}
409
409
  </select>
@@ -92,7 +92,7 @@
92
92
  >
93
93
  <ModalDiag bind:modalOpen={modalDelConfirm} okName="Confirm" okFunc={actionDel}>
94
94
  <p class="diagTitle">Do you really want to delete the following localStorage keys?</p>
95
- {#each localKeys as kname}
95
+ {#each localKeys as kname (kname)}
96
96
  {#if localDel[kname]}
97
97
  <p class="diagItem">{kname}</p>
98
98
  {/if}
@@ -112,7 +112,7 @@
112
112
  </tr>
113
113
  </thead>
114
114
  <tbody>
115
- {#each localKeys as kname}
115
+ {#each localKeys as kname (kname)}
116
116
  <tr>
117
117
  <td><input type="checkbox" bind:checked={localDel[kname]} /></td>
118
118
  <td><button onclick={() => modifInput(kname)}>{kname}</button></td>
@@ -220,7 +220,7 @@
220
220
  <section>
221
221
  <h2>
222
222
  2D Drawings :
223
- {#each optFaces as optFace}
223
+ {#each optFaces as optFace (optFace)}
224
224
  <button
225
225
  onclick={() => {
226
226
  selFace = optFace;
@@ -285,7 +285,7 @@
285
285
  ></td
286
286
  >
287
287
  </tr>
288
- {#each optFaces as optFace, idx}
288
+ {#each optFaces as optFace, idx (optFace)}
289
289
  <tr>
290
290
  <td>{3 + idx}</td>
291
291
  <td>{pDef.partName}_{optFace}.svg</td>
@@ -325,7 +325,7 @@
325
325
  ></td
326
326
  >
327
327
  </tr>
328
- {#each optFaces as optFace, idx}
328
+ {#each optFaces as optFace, idx (optFace)}
329
329
  <tr>
330
330
  <td>{4 + optFaces.length + idx}</td>
331
331
  <td>{pDef.partName}_{optFace}.dxf</td>
@@ -65,7 +65,7 @@
65
65
  <span>(Number of sub-instances: {dSubInstList.length})</span>
66
66
  </h2>
67
67
  <ol>
68
- {#each dSubInstList as subInst}
68
+ {#each dSubInstList as subInst (subInst)}
69
69
  <li>
70
70
  <input type="checkbox" id="cb_{subInst}" class="toggle" checked={false} />
71
71
  <label for="cb_{subInst}" class="label">
@@ -94,7 +94,7 @@
94
94
  </tr>
95
95
  </thead>
96
96
  <tbody>
97
- {#each Object.keys(subD[subInst].dparam) as param, pIdx}
97
+ {#each Object.keys(subD[subInst].dparam) as param, pIdx (param)}
98
98
  <tr class:changed={subD[subInst].dparam[param].chg}>
99
99
  <td>{pIdx + 1}</td>
100
100
  <td>{param}</td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geomui",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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.10"
73
+ "geometrix": "^1.0.12"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@atao60/fse-cli": "^0.1.9",
77
77
  "@sveltejs/adapter-auto": "^4.0.0",
78
78
  "@sveltejs/adapter-static": "^3.0.8",
79
- "@sveltejs/kit": "^2.17.2",
79
+ "@sveltejs/kit": "^2.17.3",
80
80
  "@sveltejs/package": "^2.3.10",
81
81
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
82
82
  "@types/eslint": "^9.6.1",
83
- "designix": "^1.0.10",
83
+ "designix": "^1.0.12",
84
84
  "eslint": "^9.21.0",
85
- "eslint-config-prettier": "^10.0.1",
86
- "eslint-plugin-svelte": "^2.46.1",
85
+ "eslint-config-prettier": "^10.0.2",
86
+ "eslint-plugin-svelte": "^3.0.2",
87
87
  "globals": "^16.0.0",
88
88
  "npm-run-all2": "^7.0.2",
89
89
  "prettier": "^3.5.2",
90
90
  "prettier-plugin-svelte": "^3.3.3",
91
- "publint": "^0.3.6",
91
+ "publint": "^0.3.7",
92
92
  "rimraf": "^6.0.1",
93
- "sass": "^1.85.0",
94
- "svelte": "^5.20.2",
93
+ "sass": "^1.85.1",
94
+ "svelte": "^5.20.5",
95
95
  "svelte-check": "^4.1.4",
96
96
  "typescript": "^5.7.3",
97
- "typescript-eslint": "^8.24.1",
98
- "vite": "^6.1.1",
99
- "vitest": "^3.0.6"
97
+ "typescript-eslint": "^8.25.0",
98
+ "vite": "^6.2.0",
99
+ "vitest": "^3.0.7"
100
100
  }
101
101
  }