@modelforms/fontawesome-vuetify 2.9.2 → 3.0.0

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.
@@ -134,6 +134,15 @@ export default{
134
134
  }
135
135
  },
136
136
  emits: [event],
137
+ watch: {
138
+ form(newValue, oldValue){
139
+ this.form = newValue;
140
+ this.initForm(newValue);
141
+ },
142
+ model(newValue, oldValue){
143
+ this.model = newValue;
144
+ }
145
+ },
137
146
  methods: {
138
147
  submit(e: any) {
139
148
  this.$emit(event, this.model)
@@ -41,6 +41,14 @@ export default{
41
41
  setup(data){
42
42
  initComponent(data, name);
43
43
  },
44
+ watch:{
45
+ value(newValue, oldValue){
46
+ this.value = newValue;
47
+ },
48
+ model(newValue, oldValue){
49
+ this.model = newValue;
50
+ }
51
+ },
44
52
  data() {
45
53
  return {
46
54
  rule: this.rules.rules!,
@@ -57,6 +57,14 @@ export default {
57
57
  isValid: true
58
58
  }
59
59
  },
60
+ watch:{
61
+ value(newValue, oldValue){
62
+ this.value = newValue;
63
+ },
64
+ model(newValue, oldValue){
65
+ this.model = newValue;
66
+ }
67
+ },
60
68
  methods: {
61
69
  select(event: any) {
62
70
  if(this.isValid){
@@ -49,6 +49,14 @@ export default {
49
49
  isValid: true
50
50
  }
51
51
  },
52
+ watch:{
53
+ value(newValue, oldValue){
54
+ this.value = newValue;
55
+ },
56
+ model(newValue, oldValue){
57
+ this.model = newValue;
58
+ }
59
+ },
52
60
  methods: {
53
61
  blur(event: any) {
54
62
  if(this.isValid){
@@ -63,8 +63,16 @@ export default {
63
63
  rule: this.rules.rules!,
64
64
  isValid: true,
65
65
  typo: this.type,
66
- hashed: faLock,
67
- text: faUnlock,
66
+ text: faLock,
67
+ hashed: faUnlock,
68
+ }
69
+ },
70
+ watch:{
71
+ value(newValue, oldValue){
72
+ this.value = newValue;
73
+ },
74
+ model(newValue, oldValue){
75
+ this.model = newValue;
68
76
  }
69
77
  },
70
78
  methods: {
@@ -1,15 +1,15 @@
1
- /*! @licence MIT */
1
+ /* @license MIT */
2
2
 
3
3
  export { default as FormPlate } from "./form/Form.vue";
4
4
  export { GridModel } from './form/models/formModels';
5
5
  export { GridModelHelper } from './form/helpers/parsers';
6
6
 
7
- /*!
8
- * Vuetify Labs v3.4.0 by vuetify - https://vuetifyjs.com
9
- * Licensed under the MIT License (MIT), see LICENSE.
10
- * Copyright 2025S Vuetify Labs, Inc.
11
-
12
- * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
13
- * License - https://fontawesome.com/license/free - MIT License
14
- * Copyright 2025 Fonticons, Inc.
15
- */
7
+ /*
8
+ * Vuetify Labs v3.4.0 by vuetify - https://vuetifyjs.com
9
+ * Licensed under the MIT License (MIT), see LICENSE.
10
+ * Copyright 2025 Vuetify Labs, Inc.
11
+ *
12
+ * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
13
+ * License - https://fontawesome.com/license/free - MIT License
14
+ * Copyright 2025 Fonticons, Inc.
15
+ */
@@ -0,0 +1,15 @@
1
+ /* @license MIT */
2
+
3
+ export { default as FormPlate } from './form/Form.vue';
4
+ export { GridModel } from './form/models/formModels';
5
+ export { GridModelHelper } from './form/helpers/parsers';
6
+
7
+ /*
8
+ * Vuetify Labs v3.4.0 by vuetify - https://vuetifyjs.com
9
+ * Licensed under the MIT License (MIT), see LICENSE.
10
+ * Copyright 2025 Vuetify Labs, Inc.
11
+ *
12
+ * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
13
+ * License - https://fontawesome.com/license/free - MIT License
14
+ * Copyright 2025 Fonticons, Inc.
15
+ */