@dynect/base 0.7.2 → 0.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynect/base",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Reusable Nuxt base module — components, composables, utils, plugins and i18n from the Dynect design system.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { Form, useForm } from 'vee-validate';
2
3
  import { computed, reactive, ref, watch } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import { onKeyStroke } from '@vueuse/core';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { useField } from 'vee-validate';
2
3
  import { computed, ref } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import type { HTMLAttributes } from 'vue';
@@ -41,6 +41,7 @@
41
41
  </template>
42
42
 
43
43
  <script setup lang="ts">
44
+ import { useField } from 'vee-validate';
44
45
  import { computed } from 'vue';
45
46
  import { useId } from 'nuxt/app';
46
47
  import { cn } from '@/lib/utils';
@@ -50,6 +50,7 @@
50
50
  </template>
51
51
 
52
52
  <script setup lang="ts">
53
+ import { useField } from 'vee-validate';
53
54
  import { computed, readonly, ref, watch } from 'vue';
54
55
  import { useId } from 'nuxt/app';
55
56
  import type { DateValue } from '@internationalized/date';
@@ -53,6 +53,7 @@
53
53
  </template>
54
54
 
55
55
  <script setup lang="ts">
56
+ import { useField } from 'vee-validate';
56
57
  import { computed, readonly, ref, watch } from 'vue';
57
58
  import { useId } from 'nuxt/app';
58
59
  import type { DateValue } from '@internationalized/date';
@@ -95,6 +95,7 @@
95
95
  </template>
96
96
 
97
97
  <script setup lang="ts">
98
+ import { useField } from 'vee-validate';
98
99
  import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
99
100
  import { useId } from 'nuxt/app';
100
101
  import type { HTMLAttributes } from 'vue';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { Form } from 'vee-validate';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { cn } from '@/lib/utils';
4
5
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { useField } from 'vee-validate';
2
3
  import { computed, readonly } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import type { HTMLAttributes } from 'vue';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { Field, useField } from 'vee-validate';
2
3
  import { computed } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import type { HTMLAttributes } from 'vue';
@@ -37,6 +37,7 @@
37
37
  </template>
38
38
 
39
39
  <script setup lang="ts">
40
+ import { useField } from 'vee-validate';
40
41
  import { computed } from 'vue';
41
42
  import { useId } from 'nuxt/app';
42
43
  import { cn } from '@/lib/utils';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { Field, useField } from 'vee-validate';
2
3
  import { computed, ref } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import type { HTMLAttributes } from 'vue';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { Field, useField } from 'vee-validate';
2
3
  import { computed, ref } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import type { HTMLAttributes } from 'vue';
@@ -20,6 +20,7 @@
20
20
  </template>
21
21
 
22
22
  <script setup lang="ts">
23
+ import { useField } from 'vee-validate';
23
24
  import { computed, reactive, ref } from 'vue';
24
25
  import { useId } from 'nuxt/app';
25
26
  interface BaseSignatureInstance {
@@ -101,6 +101,7 @@
101
101
  </template>
102
102
 
103
103
  <script setup lang="ts">
104
+ import { Field, useField } from 'vee-validate';
104
105
  import { computed, readonly, ref, watch } from 'vue';
105
106
  import { useId } from 'nuxt/app';
106
107
  import { onClickOutside } from '@vueuse/core';
@@ -107,6 +107,7 @@
107
107
  </template>
108
108
 
109
109
  <script setup lang="ts">
110
+ import { useField } from 'vee-validate';
110
111
  import { computed, nextTick, onMounted, reactive, readonly, ref, watch } from 'vue';
111
112
  import { parsePhoneNumberFromString, type CountryCode, type NumberFormat } from 'libphonenumber-js/max';
112
113
  import { cva } from 'class-variance-authority';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { useField } from 'vee-validate';
2
3
  import { computed, readonly } from 'vue';
3
4
  import { useId } from 'nuxt/app';
4
5
  import type { HTMLAttributes } from 'vue';
@@ -87,6 +87,7 @@
87
87
  </template>
88
88
 
89
89
  <script setup lang="ts">
90
+ import { useField } from 'vee-validate';
90
91
  import { computed, readonly, ref, watch } from 'vue';
91
92
  import { useId } from 'nuxt/app';
92
93
  import { cn } from '@/lib/utils';
@@ -60,6 +60,7 @@
60
60
  </template>
61
61
 
62
62
  <script setup lang="ts">
63
+ import { useField } from 'vee-validate';
63
64
  import { computed } from 'vue';
64
65
  import { useId } from 'nuxt/app';
65
66
  import { cn } from '@/lib/utils';
@@ -1,3 +1,4 @@
1
+ import { Field } from 'vee-validate';
1
2
  import type { VariantProps } from 'class-variance-authority';
2
3
  import { cva } from 'class-variance-authority';
3
4
 
@@ -1,3 +1,4 @@
1
+ import { Field, FieldArray, Form } from 'vee-validate';
1
2
  export { default as FormControl } from './FormControl.vue';
2
3
  export { default as FormDescription } from './FormDescription.vue';
3
4
  export { default as FormItem } from './FormItem.vue';