diff --git a/src/facies/app.vue b/src/facies/app.vue
index 4687aeb..60d7628 100644
--- a/src/facies/app.vue
+++ b/src/facies/app.vue
@@ -208,8 +208,8 @@
-
+
diff --git a/src/facies/calculare.vue b/src/facies/calculare.vue
index 313c480..0c759af 100644
--- a/src/facies/calculare.vue
+++ b/src/facies/calculare.vue
@@ -9,7 +9,7 @@
romanus: string
};
- const numerus: Numerus | null = null;
+ const numerus = defineModel();
const operator: string = '';
const nihil: numeri = {
diff --git a/src/facies/inflectere.vue b/src/facies/inflectere.vue
index 51a72da..9afb8a9 100644
--- a/src/facies/inflectere.vue
+++ b/src/facies/inflectere.vue
@@ -8,7 +8,9 @@
defineProps<{ id: Hoc; }>();
- const eventus = defineModel();
+ const eventus = defineModel('eventus');
+ const verbum = defineModel('verbum');
+
const categoria: string = eventus.value?.categoria ?? '';
const agendum: Faciendum = eventus.value?.referendum as Faciendum;
const tabula: Tabula | null = agendum?.putetur();
@@ -54,8 +56,8 @@
selecta: selecta,
verba: verba,
eventus: eventus,
+ verbum: verbum,
onerans: true,
- verbum: null,
et: {
gradus: '',
genus: ''
@@ -89,7 +91,7 @@
if (this.figura === 'numeramenAgendum') {
const referendum: Referendum = (this.agendum as Agenda.NumeramenAgendum).referatur(numeramen.numerium);
if (referendum instanceof Numerus) {
- this.verba = referendum as Numerus;
+ this.verbum = referendum as Numerus;
} else if (referendum instanceof Agenda.NomenAgendum) {
this.eventus = {
referendum: referendum as Agenda.NomenAgendum,
@@ -113,10 +115,17 @@
this.verbum = verbum;
},
- refer (eventus: Eventus): void {
- this.eventus = eventus;
+ refer (eventus: {
+ referendum?: Referendum;
+ categoria: string;
+ }): void {
+ if (eventus.referendum) {
+ this.eventus = {
+ referendum: eventus.referendum,
+ categoria: eventus.categoria
+ };
+ };
}
-
},
async mounted (): Promise {
@@ -134,22 +143,23 @@
-
+
-
-
-
+
@@ -162,24 +172,24 @@
+ referendum: (agendum as Agenda.ActusAgendus).nomen() ?? undefined
+});" />
diff --git a/src/facies/numerare.vue b/src/facies/numerare.vue
index a2052fb..96c800b 100644
--- a/src/facies/numerare.vue
+++ b/src/facies/numerare.vue
@@ -5,7 +5,7 @@
import Spectere from './specere.vue';
import Cocutor from '../miscella/cocutor';
- const numerus: Numerus | null = null;
+ const numerus = defineModel();
export default defineComponent({
data () {
@@ -46,8 +46,7 @@
-
+
@@ -56,15 +55,12 @@
-
+
-
+
diff --git a/src/facies/quaerere.vue b/src/facies/quaerere.vue
index 3b9c615..5bd92d5 100644
--- a/src/facies/quaerere.vue
+++ b/src/facies/quaerere.vue
@@ -1,27 +1,33 @@