@drax/crud-vue 0.8.4 → 0.8.5
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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.8.
|
|
6
|
+
"version": "0.8.5",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./src/index.ts",
|
|
9
9
|
"module": "./src/index.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@drax/common-front": "^0.8.3",
|
|
28
28
|
"@drax/crud-front": "^0.8.3",
|
|
29
|
-
"@drax/crud-share": "^0.8.
|
|
29
|
+
"@drax/crud-share": "^0.8.5",
|
|
30
30
|
"@drax/media-vue": "^0.8.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"vue-tsc": "^2.0.11",
|
|
65
65
|
"vuetify": "^3.7.1"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "df40172e28cb654c26d622d16d6aef53e2db8a78"
|
|
68
68
|
}
|
|
@@ -21,8 +21,8 @@ const {entity, multiple} = defineProps({
|
|
|
21
21
|
label: {type: String},
|
|
22
22
|
itemValue: {type: [String], default: '_id'},
|
|
23
23
|
itemTitle: {type: [String], default: 'name'},
|
|
24
|
-
rules: {type: Array as PropType<any>, default: []},
|
|
25
|
-
errorMessages: {type: Array as PropType<string[]>, default: []},
|
|
24
|
+
rules: {type: Array as PropType<any>, default: () => []},
|
|
25
|
+
errorMessages: {type: Array as PropType<string[]>, default: () => []},
|
|
26
26
|
hideDetails: {type: Boolean, default: false},
|
|
27
27
|
singleLine: {type: Boolean, default: false},
|
|
28
28
|
density: {type: String as PropType<'comfortable' | 'compact' | 'default'>, default: 'default'},
|
package/src/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ import CrudFormList from "./components/CrudFormList.vue";
|
|
|
6
6
|
import CrudList from "./components/CrudList.vue";
|
|
7
7
|
import CrudNotify from "./components/CrudNotify.vue";
|
|
8
8
|
import CrudSearch from "./components/CrudSearch.vue";
|
|
9
|
+
import CrudAutocomplete from "./components/CrudAutocomplete.vue";
|
|
9
10
|
import {useCrudStore} from "./stores/UseCrudStore";
|
|
10
11
|
import {useCrud} from "./composables/UseCrud";
|
|
11
12
|
import {useFormUtils} from "./composables/UseFormUtils";
|
|
@@ -21,6 +22,7 @@ export {
|
|
|
21
22
|
CrudList,
|
|
22
23
|
CrudNotify,
|
|
23
24
|
CrudSearch,
|
|
25
|
+
CrudAutocomplete,
|
|
24
26
|
useCrud,
|
|
25
27
|
useFormUtils,
|
|
26
28
|
useCrudStore,
|