refactor: move tag domain components to lib/tag/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@ import WhoWhenSection from './WhoWhenSection.svelte';
|
||||
import DescriptionSection from './DescriptionSection.svelte';
|
||||
import PdfViewer from '$lib/document/viewer/PdfViewer.svelte';
|
||||
import { bulkTitleFromFilename } from '$lib/document/filename';
|
||||
import type { Tag } from '$lib/components/TagInput.svelte';
|
||||
import type { Tag } from '$lib/tag/TagInput.svelte';
|
||||
import type { components } from '$lib/generated/api';
|
||||
|
||||
type Person = components['schemas']['Person'];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
import TagInput, { type Tag } from '$lib/components/TagInput.svelte';
|
||||
import TagInput, { type Tag } from '$lib/tag/TagInput.svelte';
|
||||
import FieldLabelBadge from './FieldLabelBadge.svelte';
|
||||
import { m } from '$lib/paraglide/messages.js';
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import DocumentViewer from '$lib/document/DocumentViewer.svelte';
|
||||
import UploadZone from '$lib/document/UploadZone.svelte';
|
||||
import WhoWhenSection from '$lib/document/WhoWhenSection.svelte';
|
||||
import DescriptionSection from '$lib/document/DescriptionSection.svelte';
|
||||
import type { Tag } from '$lib/components/TagInput.svelte';
|
||||
import type { Tag } from '$lib/tag/TagInput.svelte';
|
||||
import type { components } from '$lib/generated/api';
|
||||
|
||||
type Person = components['schemas']['Person'];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import ConversationThumbnail from '$lib/conversation/ConversationThumbnail.svelte';
|
||||
import TagChipList from '$lib/components/TagChipList.svelte';
|
||||
import TagChipList from '$lib/tag/TagChipList.svelte';
|
||||
import { formatDate } from '$lib/utils/date';
|
||||
import * as m from '$lib/paraglide/messages.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import PersonTypeahead from '$lib/person/PersonTypeahead.svelte';
|
||||
import TagInput from '$lib/components/TagInput.svelte';
|
||||
import TagInput from '$lib/tag/TagInput.svelte';
|
||||
import DateInput from '$lib/components/DateInput.svelte';
|
||||
import SortDropdown from '$lib/components/SortDropdown.svelte';
|
||||
import { slide } from 'svelte/transition';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { page } from '$app/stores';
|
||||
import { m } from '$lib/paraglide/messages.js';
|
||||
import { createUnsavedWarning } from '$lib/hooks/useUnsavedWarning.svelte';
|
||||
import UnsavedWarningBanner from '$lib/components/UnsavedWarningBanner.svelte';
|
||||
import TagParentPicker from '$lib/components/TagParentPicker.svelte';
|
||||
import TagParentPicker from '$lib/tag/TagParentPicker.svelte';
|
||||
import TagAncestry from './TagAncestry.svelte';
|
||||
import TagChildrenPreview from './TagChildrenPreview.svelte';
|
||||
import TagMergeZone from './TagMergeZone.svelte';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { enhance } from '$app/forms';
|
||||
import { m } from '$lib/paraglide/messages.js';
|
||||
import TagParentPicker from '$lib/components/TagParentPicker.svelte';
|
||||
import TagParentPicker from '$lib/tag/TagParentPicker.svelte';
|
||||
|
||||
type FlatTag = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user