@tekkare/auriga 0.1.21 → 0.1.23

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.1.21"
7
+ "version": "0.1.23"
8
8
  }
@@ -38,6 +38,7 @@
38
38
  import argIcon from "./argIcon.vue";
39
39
  import argTooltip from "./argTooltip.vue";
40
40
  import {
41
+ onMounted,
41
42
  ref,
42
43
  computed,
43
44
  watch,
@@ -80,7 +81,9 @@ export default defineComponent({
80
81
  setup(props, { emit }) {
81
82
  const returnValue = ref(false);
82
83
  const selectOption = ref(false);
83
- returnValue.value = props.defaultSelect;
84
+ onMounted(() => {
85
+ returnValue.value = props.defaultSelect;
86
+ });
84
87
  watch(
85
88
  () => props.defaultSelect,
86
89
  (new_default_select) => {
@@ -26,7 +26,6 @@
26
26
  </template>
27
27
 
28
28
  <script>
29
- import { toInteger } from "lodash";
30
29
  import argIcon from "./argIcon.vue";
31
30
  import {
32
31
  onMounted,
@@ -81,7 +80,7 @@ export default defineComponent({
81
80
  } else if (props.hasNegativeValue === false && event.target.value < 0) {
82
81
  event.target.value = 0;
83
82
  }
84
- returnValue.value = toInteger(event.target.value);
83
+ returnValue.value = Number(event.target.value);
85
84
  emit("update:Number", returnValue.value);
86
85
  emit("changeValue", returnValue.value);
87
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",