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.
- package/dist/ArrayTable.svelte +5 -4
- package/package.json +1 -1
package/dist/ArrayTable.svelte
CHANGED
|
@@ -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
|
-
!!
|
|
128
|
-
|
|
129
|
-
?
|
|
128
|
+
!!formattedValue &&
|
|
129
|
+
formattedValue.length > 10
|
|
130
|
+
? formattedValue
|
|
130
131
|
: undefined
|
|
131
132
|
}>
|
|
132
|
-
{sumsInFooter[column.fieldName] === undefined ? null :
|
|
133
|
+
{sumsInFooter[column.fieldName] === undefined ? null : formattedValue}
|
|
133
134
|
</th>
|
|
134
135
|
{/if}
|
|
135
136
|
{/each}
|