intelliwaketssveltekitv25 0.3.78 → 0.3.79

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.
@@ -120,16 +120,17 @@
120
120
  <tr class="border-top">
121
121
  {#each validColumns as column, idx (idx)}
122
122
  {#if !hideCosts || !column.isACost}
123
+ {@const formattedValue = ScreenFormatValue(sumsInFooter[column.fieldName], column)}
123
124
  <th class="text-ellipsis overflow-hidden {!column.size ? '' : ` td-${column.size}`}"
124
125
  class:text-right={ColumnClassRight(column)}
125
126
  class:text-center={ColumnClassCenter(column)}
126
127
  title={
127
- !!ScreenFormatValue(sumsInFooter[column.fieldName], column) &&
128
- ScreenFormatValue(sumsInFooter[column.fieldName], column).length > 10
129
- ? ScreenFormatValue(sumsInFooter[column.fieldName], column)
128
+ !!formattedValue &&
129
+ formattedValue.length > 10
130
+ ? formattedValue
130
131
  : undefined
131
132
  }>
132
- {sumsInFooter[column.fieldName] === undefined ? null : ScreenFormatValue(sumsInFooter[column.fieldName], column)}
133
+ {sumsInFooter[column.fieldName] === undefined ? null : formattedValue}
133
134
  </th>
134
135
  {/if}
135
136
  {/each}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.3.78",
3
+ "version": "0.3.79",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",