diff --git a/src/extensions/string.ts b/src/extensions/string.ts index 8e7be59..018b9ca 100644 --- a/src/extensions/string.ts +++ b/src/extensions/string.ts @@ -21,6 +21,7 @@ declare global { startsWithVowel(): boolean; removeMacra(): string; capitalize(): string; + isCapitalized(): boolean; } } @@ -50,3 +51,7 @@ String.prototype.removeMacra = function (): string { String.prototype.capitalize = function (): string { return (this.at(0) ?? '').toUpperCase().concat(this.slice(1)); }; + +String.prototype.isCapitalized = function(): boolean { + return /[A-ZĀĒĪŌȲ]/.test(this.at(0) ?? ''); +} diff --git a/src/facies/calculare.vue b/src/facies/calculare.vue index 0fb5235..2b56f18 100644 --- a/src/facies/calculare.vue +++ b/src/facies/calculare.vue @@ -22,11 +22,11 @@ }; const actus: string[][] = [ - [ ' I ', ' C ', ' · ', ' + ' ], - [ ' V ', ' D ', ' : ', ' - ' ], - [ ' X ', ' M ', ' ∴ ', ' • ' ], - [ ' L ', ' | ', ' × ', ' ÷ ' ], - [ ' = ', ' N ', ' S ', ' % ' ] + [ 'I', 'C', '·', '+' ], + [ 'V', 'D', ':', '-' ], + [ 'X', 'M', '∴', '•' ], + [ 'L', '|', '×', '÷' ], + [ '=', 'N', 'S', '%' ] ]; export default defineComponent({ @@ -130,9 +130,9 @@
-
diff --git a/src/facies/gustulare.vue b/src/facies/gustulare.vue index 1c6b88d..6821046 100644 --- a/src/facies/gustulare.vue +++ b/src/facies/gustulare.vue @@ -2,8 +2,7 @@ import { defineComponent } from 'vue' import Gustulus from '../scriptura/gustulus' - defineProps({ gustulus: Gustulus }); - export default defineComponent({ props: [ 'gustulus' ] }) + export default defineComponent({ props: { gustulus: Gustulus } }) diff --git a/src/facies/inflectere.vue b/src/facies/inflectere.vue index a040849..bded4aa 100644 --- a/src/facies/inflectere.vue +++ b/src/facies/inflectere.vue @@ -1,10 +1,13 @@ @@ -81,13 +109,20 @@ + + -