2024-02-26 22:45:08 +01:00
|
|
|
<script lang="ts" context="module">
|
|
|
|
|
export interface SearchDisplayFilters {
|
|
|
|
|
isNotInAlbum?: boolean;
|
|
|
|
|
isArchive?: boolean;
|
|
|
|
|
isFavorite?: boolean;
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script lang="ts">
|
2024-04-26 06:18:19 +00:00
|
|
|
import Checkbox from '$lib/components/elements/checkbox.svelte';
|
|
|
|
|
|
2024-02-26 22:45:08 +01:00
|
|
|
export let filters: SearchDisplayFilters;
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-04-26 06:18:19 +00:00
|
|
|
<div id="display-options-selection">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend class="immich-form-label">DISPLAY OPTIONS</legend>
|
|
|
|
|
<div class="flex flex-wrap gap-x-5 gap-y-2 mt-1">
|
|
|
|
|
<Checkbox id="not-in-album-checkbox" label="Not in any album" bind:checked={filters.isNotInAlbum} />
|
|
|
|
|
<Checkbox id="archive-checkbox" label="Archive" bind:checked={filters.isArchive} />
|
|
|
|
|
<Checkbox id="favorite-checkbox" label="Favorite" bind:checked={filters.isFavorite} />
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
2024-02-26 22:45:08 +01:00
|
|
|
</div>
|