@tekkare/auriga 0.2.113 → 0.2.115
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/module.json
CHANGED
|
@@ -232,7 +232,6 @@ export default defineComponent({
|
|
|
232
232
|
if (opt.dataPointIndex > 0 && seriesData[opt.seriesIndex].data[opt.dataPointIndex - 1] !== null && seriesData[opt.seriesIndex].data[opt.dataPointIndex] !== null) {
|
|
233
233
|
const previousVal = seriesData[opt.seriesIndex].data[opt.dataPointIndex - 1];
|
|
234
234
|
let percentageValue = (value - previousVal) / previousVal * 100;
|
|
235
|
-
console.log(percentageValue);
|
|
236
235
|
if (percentageValue > 0 && percentageValue !== Infinity) {
|
|
237
236
|
percentageValue = new Intl.NumberFormat("fr-FR").format(Number(percentageValue.toFixed(1))).replace(",", ".");
|
|
238
237
|
returnValue = returnValue + " (+" + percentageValue + "%)";
|
|
@@ -72,7 +72,9 @@
|
|
|
72
72
|
<p v-else class="oip_subtitle">{{ getAddText }}</p>
|
|
73
73
|
<p
|
|
74
74
|
v-if="
|
|
75
|
-
max_amount === null &&
|
|
75
|
+
max_amount === null &&
|
|
76
|
+
(show_select_all || dynamicSelectAll) &&
|
|
77
|
+
add_table.length > 0
|
|
76
78
|
"
|
|
77
79
|
class="add_all_action"
|
|
78
80
|
@click="add_all_element()"
|
|
@@ -330,7 +332,7 @@ export default defineComponent({
|
|
|
330
332
|
return langData.value?.custom;
|
|
331
333
|
});
|
|
332
334
|
const getAddAllText = computed(() => {
|
|
333
|
-
return props.dynamicSelectAll ? `${langData.value?.all} (${props.hasMoreData ? "Max:" +
|
|
335
|
+
return props.dynamicSelectAll ? `${langData.value?.all} (${props.hasMoreData ? "Max:" + add_table.value.length : add_table.value.length})` : langData.value?.all;
|
|
334
336
|
});
|
|
335
337
|
const noSelectionMsg = computed(() => {
|
|
336
338
|
return langData.value?.noSelection;
|