@tekkare/auriga 0.1.20 → 0.1.22

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.20"
7
+ "version": "0.1.22"
8
8
  }
@@ -110,8 +110,8 @@ export default defineComponent({
110
110
  function selectFilter() {
111
111
  if (!props.disable) {
112
112
  returnValue.value = !returnValue.value;
113
- emit("handleClick", returnValue);
114
- emit("update:Check", returnValue);
113
+ emit("handleClick", returnValue.value);
114
+ emit("update:Check", returnValue.value);
115
115
  }
116
116
  }
117
117
  return {
@@ -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
  }
@@ -67,8 +67,6 @@ export default defineComponent({
67
67
  () => props.is_active,
68
68
  (new_is_active) => {
69
69
  true_is_active.value = new_is_active;
70
- emit("changeValue", true_is_active.value);
71
- emit("update:Switch", true_is_active.value);
72
70
  }
73
71
  );
74
72
  function changeValue() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",