From 27d2c900cda36fb0e5242baee1a4599059380866 Mon Sep 17 00:00:00 2001 From: Jin Igarashi Date: Mon, 23 Dec 2024 21:02:36 +0900 Subject: [PATCH] Refactor/for svelte5 (#4671) * refactor: moved activestorymap chapter store to stores folder * rafactor: fixed table html * rafactor: fixed table html * add changeset --- .changeset/little-otters-swim.md | 5 +++++ .../pages/storymap/StorymapChapterEdit.svelte | 12 +----------- .../StorymapChapterLayerEventEditor.svelte | 5 +---- .../storymap/StorymapChapterMiniPreview.svelte | 7 ++----- .../components/util/stac/StacCatalogItem.svelte | 12 ++++++++---- .../components/util/stac/StacCatalogMap.svelte | 12 +++++++----- .../pgtileserv/PgtileserveTable.svelte | 16 +++++++++------- .../(app)/management/stac/api/[id]/+page.svelte | 10 ++++++---- .../(app)/storymaps/[[id]]/edit/+page.svelte | 12 +++++++----- sites/geohub/src/stores/activeStorymapChapter.ts | 15 +++++++++++++++ sites/geohub/src/stores/index.ts | 1 + 11 files changed, 62 insertions(+), 45 deletions(-) create mode 100644 .changeset/little-otters-swim.md create mode 100644 sites/geohub/src/stores/activeStorymapChapter.ts diff --git a/.changeset/little-otters-swim.md b/.changeset/little-otters-swim.md new file mode 100644 index 0000000000..482f664b81 --- /dev/null +++ b/.changeset/little-otters-swim.md @@ -0,0 +1,5 @@ +--- +"geohub": patch +--- + +refactor: fixed some codes and html for svelte 5 migration diff --git a/sites/geohub/src/components/pages/storymap/StorymapChapterEdit.svelte b/sites/geohub/src/components/pages/storymap/StorymapChapterEdit.svelte index dff941e2b5..bd29b25921 100644 --- a/sites/geohub/src/components/pages/storymap/StorymapChapterEdit.svelte +++ b/sites/geohub/src/components/pages/storymap/StorymapChapterEdit.svelte @@ -1,16 +1,6 @@ - -