From 0b602028ee02434bba76c966d16b98efc971681e Mon Sep 17 00:00:00 2001 From: Valentyne Stigloher Date: Thu, 31 Oct 2024 23:13:13 +0100 Subject: [PATCH] (ts) migrate sources components to composition API with typescript --- components/Dictionary.vue | 2 +- components/Literature.vue | 51 +++---- components/{Source.vue => SourceItem.vue} | 103 ++++++-------- components/SourceList.vue | 92 ++++++------ components/SourcesChart.vue | 92 ++++++------ pages/sources.vue | 166 +++++++++------------- src/classes.ts | 5 + 7 files changed, 226 insertions(+), 285 deletions(-) rename components/{Source.vue => SourceItem.vue} (79%) diff --git a/components/Dictionary.vue b/components/Dictionary.vue index 84782a19b..8bfe5c890 100644 --- a/components/Dictionary.vue +++ b/components/Dictionary.vue @@ -62,7 +62,7 @@

sources.referencedquotation.colon

diff --git a/components/Literature.vue b/components/Literature.vue index 14fd06145..8dc4b9a32 100644 --- a/components/Literature.vue +++ b/components/Literature.vue @@ -1,3 +1,24 @@ + + - - diff --git a/components/Source.vue b/components/SourceItem.vue similarity index 79% rename from components/Source.vue rename to components/SourceItem.vue index 236d62925..0fe1d02bc 100644 --- a/components/Source.vue +++ b/components/SourceItem.vue @@ -1,3 +1,48 @@ + + @@ -110,60 +155,6 @@ - -