@modelforms/fontawesome-vuetify 2.9.3 → 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.
- package/components/form/Form.vue +9 -0
- package/components/form/area/Area.vue +8 -0
- package/components/form/date/Date.vue +8 -0
- package/components/form/number/Number.vue +8 -0
- package/components/form/text/Text.vue +8 -0
- package/components/index.d.ts +10 -10
- package/components/index.ts +15 -0
- package/dist/index.amd.ts +3 -3
- package/dist/index.esm.ts +16276 -0
- package/package.json +57 -56
- package/tsconfig.json +5 -0
- package/vite.config.js +4 -1
- package/vue.config.js +1 -1
- package/dist/index.cjs.ts +0 -574
package/components/form/Form.vue
CHANGED
|
@@ -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!,
|
package/components/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
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
|
|
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
|
+
*/
|