@tekkare/auriga 0.2.40 → 0.2.41

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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.40"
7
+ "version": "0.2.41"
8
8
  }
@@ -30,7 +30,7 @@
30
30
  class="filters_input_style"
31
31
  :placeholder="placeHolderValue"
32
32
  @keydown.enter="
33
- optionIndex > 0 && showSuggs
33
+ optionIndex > 0 && suggestions !== null && showSuggs
34
34
  ? selectSugg(filterSuggestions[optionIndex - 1])
35
35
  : addTag()
36
36
  "
@@ -569,7 +569,7 @@ export default defineComponent({
569
569
  } else if (selectedTag.value !== null && selectedTag.value < searchedWords.value.length && selectedTag.value >= 0) {
570
570
  removeTag(selectedTag.value);
571
571
  } else {
572
- if (optionIndex.value > 0) {
572
+ if (optionIndex.value > 0 && props.suggestions !== null) {
573
573
  value.value = filterSuggestions.value[optionIndex.value - 1].text;
574
574
  if (searchedWords.value.filter(
575
575
  (f2) => f2.value === filterSuggestions.value[optionIndex.value - 1].text
@@ -215,7 +215,7 @@ export default defineComponent({
215
215
  strokeOpacity: 0.9,
216
216
  strokeDashArray: 0,
217
217
  fillOpacity: 1,
218
- showNullDataPoints: true
218
+ showNullDataPoints: false
219
219
  };
220
220
  }
221
221
  } else {
@@ -250,7 +250,7 @@ export default defineComponent({
250
250
  formatter: function(value, opt) {
251
251
  const numValue = Math.round(value * 10) / 10;
252
252
  const returnValue = new Intl.NumberFormat("fr-FR").format(numValue).replace(",", ".");
253
- return `${returnValue}${props.dataType === "price" ? ` ${props.currency}` : props.dataType === "percentage" ? " %" : ""}`;
253
+ return value === null ? "" : `${returnValue}${props.dataType === "price" ? ` ${props.currency}` : props.dataType === "percentage" ? " %" : ""}`;
254
254
  }
255
255
  };
256
256
  options.value["xaxis"] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.40",
3
+ "version": "0.2.41",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",