@drax/identity-vue 0.49.0 → 0.49.1
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.49.
|
|
6
|
+
"version": "0.49.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./src/index.ts",
|
|
9
9
|
"module": "./src/index.ts",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"vue-tsc": "^2.1.6",
|
|
67
67
|
"vuetify": "^3.7.1"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "dd2c28fa11adc2b9ff7a8cde6b190389c167bc0a"
|
|
70
70
|
}
|
|
@@ -14,9 +14,9 @@ const valueModel = defineModel({type: [Object]})
|
|
|
14
14
|
|
|
15
15
|
const emit = defineEmits(['submit', 'cancel'])
|
|
16
16
|
|
|
17
|
-
const store = useCrudStore()
|
|
18
17
|
const identityCrudStore = useIdentityCrudStore()
|
|
19
18
|
const entity = identityCrudStore.roleCrud
|
|
19
|
+
const store = useCrudStore(entity.name)
|
|
20
20
|
|
|
21
21
|
const valid = ref()
|
|
22
22
|
const formRef = ref()
|
|
@@ -3,6 +3,7 @@ import {useFormUtils, useCrudStore} from "@drax/crud-vue";
|
|
|
3
3
|
import {defineEmits, defineModel, ref} from "vue";
|
|
4
4
|
import {useI18nValidation} from "@drax/common-vue";
|
|
5
5
|
import {useI18n} from "vue-i18n";
|
|
6
|
+
import {useIdentityCrudStore} from "../../stores/IdentityCrudStore";
|
|
6
7
|
|
|
7
8
|
const {$ta} = useI18nValidation()
|
|
8
9
|
const {t, te} = useI18n()
|
|
@@ -11,7 +12,10 @@ const valueModel = defineModel({type: [Object]})
|
|
|
11
12
|
|
|
12
13
|
const emit = defineEmits(['submit', 'cancel'])
|
|
13
14
|
|
|
14
|
-
const
|
|
15
|
+
const identityCrudStore = useIdentityCrudStore()
|
|
16
|
+
const entity = identityCrudStore.userApiKeyCrud
|
|
17
|
+
|
|
18
|
+
const store = useCrudStore(entity.name)
|
|
15
19
|
|
|
16
20
|
const valid = ref()
|
|
17
21
|
const formRef = ref()
|
|
@@ -18,12 +18,14 @@ const valueModel = defineModel({type: [Object]})
|
|
|
18
18
|
|
|
19
19
|
const emit = defineEmits(['submit', 'cancel'])
|
|
20
20
|
|
|
21
|
-
const store = useCrudStore()
|
|
22
|
-
const enablePassword = store.operation === 'create'
|
|
23
|
-
|
|
24
21
|
const identityCrudStore = useIdentityCrudStore()
|
|
25
22
|
const entity = identityCrudStore.userCrud
|
|
26
23
|
|
|
24
|
+
const store = useCrudStore(entity.name)
|
|
25
|
+
const enablePassword = store.operation === 'create'
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
27
29
|
const valid = ref()
|
|
28
30
|
const formRef = ref()
|
|
29
31
|
|