-
-
Number of Papers
-
4
+ {#if selectedPaper}
+
+
+
+
+ General Information
+
+
+
+
Number of Reviews
+
8
+
+
+
Number of Decisions
+
4
+
-
-
Number of Reviews
-
8
-
-
-
Number of Decisions
-
4
-
-
-
-
+
+
+ {/if}
diff --git a/src/routes/project/[projectId]/papers/CriteriaSelect.svelte b/src/routes/project/[projectId]/papers/CriteriaSelect.svelte
index 16cc7430..1ee7727f 100644
--- a/src/routes/project/[projectId]/papers/CriteriaSelect.svelte
+++ b/src/routes/project/[projectId]/papers/CriteriaSelect.svelte
@@ -5,9 +5,10 @@
interface Props {
loadingCriteria: Promise
;
+ selectedCriteria?: string[];
}
- const { loadingCriteria }: Props = $props();
+ let { loadingCriteria, selectedCriteria = $bindable(undefined) }: Props = $props();
let criteria = $state(undefined);
let options = $derived(
@@ -28,4 +29,4 @@
});
-
+
diff --git a/src/routes/project/[projectId]/papers/DecisionsSelect.svelte b/src/routes/project/[projectId]/papers/DecisionsSelect.svelte
index 68e3faf6..666532f9 100644
--- a/src/routes/project/[projectId]/papers/DecisionsSelect.svelte
+++ b/src/routes/project/[projectId]/papers/DecisionsSelect.svelte
@@ -2,6 +2,12 @@
import Select from "$lib/components/composites/select/Select.svelte";
import type { SelectOption } from "$lib/components/composites/select/types";
+ interface Props {
+ selectedDecisions?: string[];
+ }
+
+ let { selectedDecisions = $bindable(undefined) }: Props = $props();
+
let options = $state([
{ value: "accepted", label: "Accepted" },
{ value: "declined", label: "Declined" },
@@ -9,4 +15,4 @@
]);
-
+
diff --git a/src/routes/project/[projectId]/papers/PublishersSelect.svelte b/src/routes/project/[projectId]/papers/PublishersSelect.svelte
index 4749f606..6a30185d 100644
--- a/src/routes/project/[projectId]/papers/PublishersSelect.svelte
+++ b/src/routes/project/[projectId]/papers/PublishersSelect.svelte
@@ -4,9 +4,10 @@
interface Props {
loadingPublishers: Promise;
+ selectedPublishers?: string[];
}
- const { loadingPublishers }: Props = $props();
+ let { loadingPublishers, selectedPublishers = $bindable(undefined) }: Props = $props();
let publishers = $state(undefined);
let options = $derived(
@@ -27,4 +28,4 @@
});
-
+
diff --git a/src/routes/project/[projectId]/papers/ReviewersSelect.svelte b/src/routes/project/[projectId]/papers/ReviewersSelect.svelte
index 1409e2b7..e5ebf00a 100644
--- a/src/routes/project/[projectId]/papers/ReviewersSelect.svelte
+++ b/src/routes/project/[projectId]/papers/ReviewersSelect.svelte
@@ -6,9 +6,10 @@
interface Props {
loadingReviewers: Promise;
+ selectedReviewers?: string[];
}
- const { loadingReviewers }: Props = $props();
+ let { loadingReviewers, selectedReviewers = $bindable(undefined) }: Props = $props();
let reviewers = $state(undefined);
let options = $derived(
@@ -29,4 +30,4 @@
});
-
+
diff --git a/src/routes/project/[projectId]/papers/StagesSelect.svelte b/src/routes/project/[projectId]/papers/StagesSelect.svelte
index 2b6f6396..4af36dd7 100644
--- a/src/routes/project/[projectId]/papers/StagesSelect.svelte
+++ b/src/routes/project/[projectId]/papers/StagesSelect.svelte
@@ -4,9 +4,10 @@
interface Props {
loadingStageCount: Promise;
+ selectedStages?: string[];
}
- const { loadingStageCount }: Props = $props();
+ let { loadingStageCount, selectedStages = $bindable(undefined) }: Props = $props();
let stageCount = $state(undefined);
let options = $derived(
@@ -28,4 +29,4 @@
});
-
+
diff --git a/src/routes/project/[projectId]/papers/YearsSelect.svelte b/src/routes/project/[projectId]/papers/YearsSelect.svelte
index a89e0379..78d7f5f3 100644
--- a/src/routes/project/[projectId]/papers/YearsSelect.svelte
+++ b/src/routes/project/[projectId]/papers/YearsSelect.svelte
@@ -4,9 +4,10 @@
interface Props {
loadingYears: Promise;
+ selectedYears?: string[];
}
- const { loadingYears }: Props = $props();
+ let { loadingYears, selectedYears = $bindable(undefined) }: Props = $props();
let years = $state(undefined);
let options = $derived(
@@ -40,4 +41,4 @@
});
-
+