From 0717afc3124a5d7434af3df31dfa54cbf420f109 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 14 May 2023 12:23:39 +0900 Subject: [PATCH] refactor(frontend): use composition api --- .../src/components/MkFoldableSection.vue | 123 ++-- .../frontend/src/components/MkFormDialog.vue | 80 +-- .../src/components/MkObjectView.value.vue | 64 +- packages/frontend/src/components/MkRadios.vue | 36 +- packages/frontend/src/components/MkTab.vue | 12 +- .../frontend/src/components/form/suspense.vue | 91 +-- .../frontend/src/components/global/i18n.ts | 58 +- packages/frontend/src/components/mfm.ts | 652 +++++++++--------- 8 files changed, 495 insertions(+), 621 deletions(-) diff --git a/packages/frontend/src/components/MkFoldableSection.vue b/packages/frontend/src/components/MkFoldableSection.vue index 475e01c8d..f52c66a8b 100644 --- a/packages/frontend/src/components/MkFoldableSection.vue +++ b/packages/frontend/src/components/MkFoldableSection.vue @@ -1,5 +1,5 @@ - diff --git a/packages/frontend/src/components/MkFormDialog.vue b/packages/frontend/src/components/MkFormDialog.vue index 979df2e7c..b4ef54aec 100644 --- a/packages/frontend/src/components/MkFormDialog.vue +++ b/packages/frontend/src/components/MkFormDialog.vue @@ -54,8 +54,8 @@ - diff --git a/packages/frontend/src/components/MkObjectView.value.vue b/packages/frontend/src/components/MkObjectView.value.vue index e7fc73bce..d48e7886e 100644 --- a/packages/frontend/src/components/MkObjectView.value.vue +++ b/packages/frontend/src/components/MkObjectView.value.vue @@ -28,54 +28,38 @@ -