mantenimento-app 2.4.13 → 2.4.14

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.
@@ -352,12 +352,6 @@
352
352
  <div class="extra-box-title" id="firstHomeBoxTitle">Mutuo prima casa ceduta</div>
353
353
  <div class="extra-box-note" id="firstHomeBoxNote">Dichiara se esiste un mutuo sulla prima casa dei coniugi ceduta a uno dei due: il modello considera il trasferimento implicito quando la casa e assegnata al collocatario.</div>
354
354
  <div class="extra-grid">
355
- <div class="field">
356
- <label for="primaCasaMutuoEnabled" class="label-row"><span id="lblPrimaCasaMutuoEnabled">Mutuo su prima casa dei coniugi</span>
357
- <span class="hint" id="hintPrimaCasaMutuoEnabled" title="Attiva per includere il mutuo della prima casa ceduta nei benefici compensativi.">i</span>
358
- </label>
359
- <input id="primaCasaMutuoEnabled" type="checkbox" />
360
- </div>
361
355
  <div class="field first-home-mortgage-table-field">
362
356
  <div class="first-home-mortgage-table-wrap">
363
357
  <table class="first-home-mortgage-table" aria-label="Dati mutuo prima casa">
@@ -383,6 +377,11 @@
383
377
  <span class="hint" id="hintPrimaCasaAssegnataA" title="Seleziona il coniuge a cui e ceduta la prima casa.">i</span>
384
378
  </span>
385
379
  </th>
380
+ <th class="first-home-mortgage-table-check-col">
381
+ <span class="label-row"><span id="lblPrimaCasaMutuoEnabled">Mutuo su prima casa dei coniugi</span>
382
+ <span class="hint" id="hintPrimaCasaMutuoEnabled" title="Attiva per includere il mutuo della prima casa ceduta nei benefici compensativi.">i</span>
383
+ </span>
384
+ </th>
386
385
  </tr>
387
386
  </thead>
388
387
  <tbody>
@@ -397,6 +396,7 @@
397
396
  <option value="2">Coniuge 2</option>
398
397
  </select>
399
398
  </td>
399
+ <td class="first-home-mortgage-table-check-cell"><input id="primaCasaMutuoEnabled" type="checkbox" /></td>
400
400
  </tr>
401
401
  </tbody>
402
402
  </table>
@@ -652,7 +652,7 @@
652
652
  <script src="supabase.min.js"></script>
653
653
  <script src="fabric.min.js"></script>
654
654
  <script src="html2pdf.bundle.min.js"></script>
655
- <script src="app.js?v=2.4.13"></script>
655
+ <script src="app.js?v=2.4.14"></script>
656
656
  </body>
657
657
  </html>
658
658
 
@@ -954,15 +954,15 @@
954
954
  }
955
955
 
956
956
  .first-home-mortgage-table-wrap {
957
- overflow-x: visible;
957
+ overflow-x: auto;
958
958
  padding-bottom: 2px;
959
959
  }
960
960
 
961
961
  .first-home-mortgage-table {
962
- width: 100%;
963
- min-width: 0;
962
+ width: max-content;
963
+ min-width: 100%;
964
964
  border-collapse: collapse;
965
- table-layout: fixed;
965
+ table-layout: auto;
966
966
  border: 1px solid rgba(27, 141, 127, 0.16);
967
967
  border-radius: 12px;
968
968
  overflow: hidden;
@@ -993,7 +993,7 @@
993
993
  display: flex;
994
994
  align-items: center;
995
995
  gap: 5px;
996
- flex-wrap: wrap;
996
+ flex-wrap: nowrap;
997
997
  line-height: 1.15;
998
998
  }
999
999
 
@@ -1005,6 +1005,34 @@
1005
1005
  width: 100%;
1006
1006
  }
1007
1007
 
1008
+ .first-home-mortgage-table #primaCasaValoreLocativo,
1009
+ .first-home-mortgage-table #primaCasaMutuoImporto {
1010
+ min-width: 116px;
1011
+ }
1012
+
1013
+ .first-home-mortgage-table #primaCasaMutuoScadenza {
1014
+ min-width: 132px;
1015
+ }
1016
+
1017
+ .first-home-mortgage-table #primaCasaAssegnataA {
1018
+ min-width: 220px;
1019
+ }
1020
+
1021
+ .first-home-mortgage-table-check-col {
1022
+ width: 132px;
1023
+ }
1024
+
1025
+ .first-home-mortgage-table-check-cell {
1026
+ text-align: center;
1027
+ vertical-align: middle;
1028
+ }
1029
+
1030
+ .first-home-mortgage-table-check-cell input[type="checkbox"] {
1031
+ width: 22px;
1032
+ height: 22px;
1033
+ margin: 0;
1034
+ }
1035
+
1008
1036
  .extra-box-first-home .field {
1009
1037
  border-radius: 12px;
1010
1038
  padding: 8px 9px 7px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mantenimento-app",
3
- "version": "2.4.13",
3
+ "version": "2.4.14",
4
4
  "description": "Frontend + backend architecture for the mantenimento calculator",
5
5
  "type": "commonjs",
6
6
  "main": "backend/calculate-model.js",