mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Re-enable formatting for .svelte files
This commit is contained in:
parent
e497a56f54
commit
ea5153e7a4
89 changed files with 103 additions and 112 deletions
|
@ -18,7 +18,7 @@
|
|||
"**/node_modules",
|
||||
"out/**",
|
||||
"**/*-lock.json",
|
||||
"**/*.{ts,svelte}",
|
||||
"**/*.{ts}",
|
||||
"qt/aqt/data/web/js/vendor/*.js",
|
||||
"ftl/qt-repo",
|
||||
"ftl/core-repo",
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import type { Stats } from "@tslib/proto";
|
||||
import { Cards, stats as statsService } from "@tslib/proto";
|
||||
|
||||
|
||||
import Container from "../components/Container.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
import CardInfoPlaceholder from "./CardInfoPlaceholder.svelte";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { slide } from "svelte/transition";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import { minusIcon, plusIcon } from "./icons";
|
||||
import { MapContext } from "./lib";
|
||||
|
|
|
@ -5,12 +5,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { marked } from "marked";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Container from "../components/Container.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
import StickyContainer from "../components/StickyContainer.svelte";
|
||||
import type { ChangeNotetypeState} from "./lib";
|
||||
import type { ChangeNotetypeState } from "./lib";
|
||||
import { MapContext } from "./lib";
|
||||
import Mapper from "./Mapper.svelte";
|
||||
import NotetypeSelector from "./NotetypeSelector.svelte";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
|
||||
|
||||
import ButtonGroup from "../components/ButtonGroup.svelte";
|
||||
import LabelButton from "../components/LabelButton.svelte";
|
||||
import Shortcut from "../components/Shortcut.svelte";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import Col from "../components/Col.svelte";
|
||||
import Container from "../components/Container.svelte";
|
||||
|
@ -12,7 +12,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import StickyContainer from "../components/StickyContainer.svelte";
|
||||
import Alert from "./Alert.svelte";
|
||||
import { exclamationIcon } from "./icons";
|
||||
import type { ChangeNotetypeState} from "./lib";
|
||||
import type { ChangeNotetypeState } from "./lib";
|
||||
import { MapContext } from "./lib";
|
||||
|
||||
export let state: ChangeNotetypeState;
|
||||
|
|
|
@ -4,11 +4,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import { on } from "@tslib/events";
|
||||
import type { Callback} from "@tslib/typing";
|
||||
import type { Callback } from "@tslib/typing";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
import { fly } from "svelte/transition";
|
||||
|
||||
|
||||
import IconConstrain from "./IconConstrain.svelte";
|
||||
import { horizontalHandle } from "./icons";
|
||||
import type { ResizablePane } from "./types";
|
||||
|
|
|
@ -4,9 +4,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import { on } from "@tslib/events";
|
||||
import type { Callback} from "@tslib/typing";
|
||||
import type { Callback } from "@tslib/typing";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
|
||||
|
||||
import IconConstrain from "./IconConstrain.svelte";
|
||||
import { verticalHandle } from "./icons";
|
||||
import type { ResizablePane } from "./types";
|
||||
|
|
|
@ -12,7 +12,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { singleCallback } from "@tslib/typing";
|
||||
import { createEventDispatcher, onDestroy } from "svelte";
|
||||
import type { ActionReturn } from "svelte/action";
|
||||
|
||||
|
||||
import isClosingClick from "../sveltelib/closing-click";
|
||||
import isClosingKeyup from "../sveltelib/closing-keyup";
|
||||
import type { EventPredicateResult } from "../sveltelib/event-predicate";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { singleCallback } from "@tslib/typing";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
import type { ActionReturn } from "svelte/action";
|
||||
|
||||
|
||||
import isClosingClick from "../sveltelib/closing-click";
|
||||
import isClosingKeyup from "../sveltelib/closing-keyup";
|
||||
import type { EventPredicateResult } from "../sveltelib/event-predicate";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { bridgeLink } from "@tslib/bridgecommand";
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Scheduler } from "@tslib/proto";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Container from "../components/Container.svelte";
|
||||
import { buildNextLearnMsg } from "./lib";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { noop } from "@tslib/functional";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
import { createEventDispatcher, getContext } from "svelte";
|
||||
|
||||
|
||||
import ButtonGroup from "../components/ButtonGroup.svelte";
|
||||
import ButtonToolbar from "../components/ButtonToolbar.svelte";
|
||||
import { modalsKey } from "../components/context-keys";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { DeckConfig } from "@tslib/proto";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import Carousel from "bootstrap/js/dist/carousel";
|
||||
import Modal from "bootstrap/js/dist/modal";
|
||||
import { createEventDispatcher, getContext, onMount } from "svelte";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import Col from "../components/Col.svelte";
|
||||
import { modalsKey } from "../components/context-keys";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { marked } from "marked";
|
||||
|
||||
|
||||
import Row from "../components/Row.svelte";
|
||||
import type { DeckOption } from "./types";
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { DeckConfig } from "@tslib/proto";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { cloneDeep, isEqual as isEqualLodash } from "lodash-es";
|
||||
import { getContext } from "svelte";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import { touchDeviceKey } from "../components/context-keys";
|
||||
import DropdownItem from "../components/DropdownItem.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { withCollapsedWhitespace } from "@tslib/i18n";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
import { createEventDispatcher, tick } from "svelte";
|
||||
|
||||
|
||||
import DropdownDivider from "../components/DropdownDivider.svelte";
|
||||
import DropdownItem from "../components/DropdownItem.svelte";
|
||||
import LabelButton from "../components/IconButton.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type Carousel from "bootstrap/js/dist/carousel";
|
||||
import type Modal from "bootstrap/js/dist/modal";
|
||||
|
||||
|
||||
import DynamicallySlottable from "../components/DynamicallySlottable.svelte";
|
||||
import Item from "../components/Item.svelte";
|
||||
import TitledContainer from "../components/TitledContainer.svelte";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import { withoutUnicodeIsolation } from "@tslib/i18n";
|
||||
import { slide } from "svelte/transition";
|
||||
|
||||
|
||||
import Row from "../components/Row.svelte";
|
||||
|
||||
export let warning: string;
|
||||
|
|
|
@ -21,7 +21,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { randomUUID } from "@tslib/uuid";
|
||||
import { onDestroy } from "svelte";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
|
||||
import { pageTheme } from "../sveltelib/theme";
|
||||
import { convertMathjax, unescapeSomeEntities } from "./mathjax";
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
import { get } from "svelte/store";
|
||||
|
||||
|
||||
import ButtonGroup from "../components/ButtonGroup.svelte";
|
||||
import IconButton from "../components/IconButton.svelte";
|
||||
import Shortcut from "../components/Shortcut.svelte";
|
||||
|
|
|
@ -19,7 +19,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { promiseWithResolver } from "@tslib/promise";
|
||||
import { createEventDispatcher, getContext, onMount } from "svelte";
|
||||
import type { Writable } from "svelte/store";
|
||||
|
||||
|
||||
import { pageTheme } from "../sveltelib/theme";
|
||||
import {
|
||||
darkTheme,
|
||||
|
|
|
@ -24,7 +24,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
|
||||
import { registerPackage } from "@tslib/runtime-require";
|
||||
|
||||
|
||||
import contextProperty from "../sveltelib/context-property";
|
||||
import lifecycleHooks from "../sveltelib/lifecycle-hooks";
|
||||
|
||||
|
@ -48,7 +48,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { onDestroy, setContext } from "svelte";
|
||||
import type { Writable } from "svelte/store";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
|
||||
import Collapsible from "../components/Collapsible.svelte";
|
||||
import type { Destroyable } from "./destroyable";
|
||||
import EditingArea from "./EditingArea.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { directionKey, fontFamilyKey, fontSizeKey } from "@tslib/context-keys";
|
||||
import { getContext } from "svelte";
|
||||
import type { Readable } from "svelte/store";
|
||||
|
||||
|
||||
import { context } from "./EditingArea.svelte";
|
||||
|
||||
const { content } = context.get();
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import CollapseBadge from "./CollapseBadge.svelte";
|
||||
|
||||
export let collapsed: boolean;
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import { registerShortcut } from "@tslib/shortcuts";
|
||||
import { onDestroy, onMount } from "svelte";
|
||||
|
||||
|
||||
import type { NoteEditorAPI } from "./NoteEditor.svelte";
|
||||
import NoteEditor from "./NoteEditor.svelte";
|
||||
import StickyBadge from "./StickyBadge.svelte";
|
||||
|
|
|
@ -22,7 +22,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
|
||||
import { registerPackage } from "@tslib/runtime-require";
|
||||
|
||||
|
||||
import contextProperty from "../sveltelib/context-property";
|
||||
import lifecycleHooks from "../sveltelib/lifecycle-hooks";
|
||||
|
||||
|
@ -44,7 +44,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { onMount, tick } from "svelte";
|
||||
import { get, writable } from "svelte/store";
|
||||
|
||||
|
||||
import Absolute from "../components/Absolute.svelte";
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import HorizontalResizer from "../components/HorizontalResizer.svelte";
|
||||
|
@ -282,7 +282,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
|
||||
import { wrapInternal } from "@tslib/wrap";
|
||||
|
||||
|
||||
import { mathjaxConfig } from "../editable/mathjax-element";
|
||||
import { refocusInput } from "./helpers";
|
||||
import * as oldEditorAdapter from "./old-editor-adapter";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString, registerShortcut } from "@tslib/shortcuts";
|
||||
import { createEventDispatcher, onMount } from "svelte";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import { context as editorFieldContext } from "./EditorField.svelte";
|
||||
import { plainTextIcon } from "./icons";
|
||||
|
|
|
@ -18,7 +18,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
|
||||
|
||||
import LabelButton from "../components/LabelButton.svelte";
|
||||
import Shortcut from "../components/Shortcut.svelte";
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString, registerShortcut } from "@tslib/shortcuts";
|
||||
import { createEventDispatcher, onMount } from "svelte";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import { context as editorFieldContext } from "./EditorField.svelte";
|
||||
import { richTextIcon } from "./icons";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString, registerShortcut } from "@tslib/shortcuts";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import Badge from "../components/Badge.svelte";
|
||||
import { context as editorFieldContext } from "./EditorField.svelte";
|
||||
import { stickyIcon } from "./icons";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import WithState from "../../components/WithState.svelte";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import WithState from "../../components/WithState.svelte";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import type { FormattingNode, MatchType } from "../../domlib/surround";
|
||||
import { chevronDown } from "../icons";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import WithState from "../../components/WithState.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
import { wrapInternal } from "@tslib/wrap";
|
||||
|
||||
|
||||
import DropdownItem from "../../components/DropdownItem.svelte";
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Popover from "../../components/Popover.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
|
||||
|
||||
import ButtonGroup from "../../components/ButtonGroup.svelte";
|
||||
import ButtonGroupItem, {
|
||||
createProps,
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import * as tr from "@tslib/ftl";
|
||||
|
||||
|
||||
import CheckBox from "../../components/CheckBox.svelte";
|
||||
import DropdownItem from "../../components/DropdownItem.svelte";
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import CheckBox from "../../components/CheckBox.svelte";
|
||||
import DropdownItem from "../../components/DropdownItem.svelte";
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import { wrapInternal } from "@tslib/wrap";
|
||||
|
||||
|
||||
import ClozeButtons from "../ClozeButtons.svelte";
|
||||
import { context as noteEditorContext } from "../NoteEditor.svelte";
|
||||
import type { RichTextInputAPI } from "../rich-text-input";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import WithState from "../../components/WithState.svelte";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import WithState from "../../components/WithState.svelte";
|
||||
|
|
|
@ -8,7 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { promiseWithResolver } from "@tslib/promise";
|
||||
import { registerPackage } from "@tslib/runtime-require";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
|
||||
|
||||
import ButtonGroup from "../../components/ButtonGroup.svelte";
|
||||
import ButtonGroupItem, {
|
||||
createProps,
|
||||
|
|
|
@ -9,7 +9,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import type { FormattingNode, MatchType } from "../../domlib/surround";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import WithState from "../../components/WithState.svelte";
|
||||
|
|
|
@ -9,7 +9,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { getContext } from "svelte";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
import type { Readable } from "svelte/store";
|
||||
|
||||
|
||||
import ButtonGroup from "../../components/ButtonGroup.svelte";
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import { floatLeftIcon, floatNoneIcon, floatRightIcon } from "./icons";
|
||||
|
|
|
@ -14,7 +14,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { removeStyleProperties } from "@tslib/styling";
|
||||
import type { Callback } from "@tslib/typing";
|
||||
import { tick } from "svelte";
|
||||
|
||||
|
||||
import ButtonToolbar from "../../components/ButtonToolbar.svelte";
|
||||
import Popover from "../../components/Popover.svelte";
|
||||
import WithFloating from "../../components/WithFloating.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { createEventDispatcher, getContext } from "svelte";
|
||||
import type { Readable } from "svelte/store";
|
||||
|
||||
|
||||
import ButtonGroup from "../../components/ButtonGroup.svelte";
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
import { sizeActual, sizeClear, sizeMinimized } from "./icons";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import ButtonGroup from "../../components/ButtonGroup.svelte";
|
||||
import ButtonToolbar from "../../components/ButtonToolbar.svelte";
|
||||
import IconButton from "../../components/IconButton.svelte";
|
||||
|
|
|
@ -10,7 +10,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import type CodeMirrorLib from "codemirror";
|
||||
import { createEventDispatcher, onMount } from "svelte";
|
||||
import type { Writable } from "svelte/store";
|
||||
|
||||
|
||||
import { pageTheme } from "../../sveltelib/theme";
|
||||
import { baseOptions, focusAndSetCaret, latex } from "../code-mirror";
|
||||
import type { CodeMirrorAPI } from "../CodeMirror.svelte";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script context="module" lang="ts">
|
||||
import { registerPackage } from "@tslib/runtime-require";
|
||||
|
||||
|
||||
import lifecycleHooks from "../../sveltelib/lifecycle-hooks";
|
||||
import type { CodeMirrorAPI } from "../CodeMirror.svelte";
|
||||
import type { EditingInputAPI, FocusableInputAPI } from "../EditingArea.svelte";
|
||||
|
@ -32,7 +32,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { singleCallback } from "@tslib/typing";
|
||||
import { onMount, tick } from "svelte";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
|
||||
import { pageTheme } from "../../sveltelib/theme";
|
||||
import { baseOptions, gutterOptions, htmlanki } from "../code-mirror";
|
||||
import CodeMirror from "../CodeMirror.svelte";
|
||||
|
|
|
@ -31,7 +31,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
|
||||
import { registerPackage } from "@tslib/runtime-require";
|
||||
|
||||
|
||||
import contextProperty from "../../sveltelib/context-property";
|
||||
import lifecycleHooks from "../../sveltelib/lifecycle-hooks";
|
||||
import { Surrounder } from "../surround";
|
||||
|
@ -66,7 +66,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { singleCallback } from "@tslib/typing";
|
||||
import { getAllContexts, getContext, onMount } from "svelte";
|
||||
import type { Readable } from "svelte/store";
|
||||
|
||||
|
||||
import { placeCaretAfterContent } from "../../domlib/place-caret";
|
||||
import ContentEditable from "../../editable/ContentEditable.svelte";
|
||||
import useDOMMirror from "../../sveltelib/dom-mirror";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import { promiseWithResolver } from "@tslib/promise";
|
||||
|
||||
|
||||
import type { StyleLinkType, StyleObject } from "./CustomStyles.svelte";
|
||||
import CustomStyles from "./CustomStyles.svelte";
|
||||
|
||||
|
|
|
@ -10,18 +10,15 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { singleCallback } from "@tslib/typing";
|
||||
import { getContext } from "svelte";
|
||||
import type { Readable } from "svelte/store";
|
||||
|
||||
|
||||
import DropdownItem from "../../components/DropdownItem.svelte";
|
||||
import Popover from "../../components/Popover.svelte";
|
||||
import WithFloating from "../../components/WithFloating.svelte";
|
||||
import type { SpecialKeyParams } from "../../sveltelib/input-handler";
|
||||
import type { EditingInputAPI } from "../EditingArea.svelte";
|
||||
import { context } from "../NoteEditor.svelte";
|
||||
import type {
|
||||
RichTextInputAPI} from "../rich-text-input/RichTextInput.svelte";
|
||||
import {
|
||||
editingInputIsRichText
|
||||
} from "../rich-text-input/RichTextInput.svelte";
|
||||
import type { RichTextInputAPI } from "../rich-text-input/RichTextInput.svelte";
|
||||
import { editingInputIsRichText } from "../rich-text-input/RichTextInput.svelte";
|
||||
import { findSymbols, getAutoInsertSymbol, getExactSymbol } from "./symbols-table";
|
||||
import type {
|
||||
SymbolsEntry as SymbolsEntryType,
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import type { PreferenceStore } from "../sveltelib/preferences";
|
||||
import type { GraphData } from "./added";
|
||||
import { buildHistogram, gatherData } from "./added";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
|
||||
|
||||
import AxisTicks from "./AxisTicks.svelte";
|
||||
import { renderButtons } from "./buttons";
|
||||
import Graph from "./Graph.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import type { PreferenceStore } from "../sveltelib/preferences";
|
||||
import AxisTicks from "./AxisTicks.svelte";
|
||||
import type { GraphData } from "./calendar";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr2 from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import type { PreferenceStore } from "../sveltelib/preferences";
|
||||
import type { GraphData, TableDatum } from "./card-counts";
|
||||
import { gatherData, renderCards } from "./card-counts";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import type { PreferenceStore } from "../sveltelib/preferences";
|
||||
import { gatherData, prepareData } from "./ease";
|
||||
import Graph from "./Graph.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import type { PreferenceStore } from "../sveltelib/preferences";
|
||||
import type { GraphData } from "./future-due";
|
||||
import { buildHistogram, gatherData } from "./future-due";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { MONTH, timeSpan, YEAR } from "@tslib/time";
|
||||
|
||||
|
||||
import { GraphRange, RevlogRange } from "./graph-helpers";
|
||||
|
||||
export let revlogRange: RevlogRange;
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import type { SvelteComponentDev } from "svelte/internal";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
|
||||
import { pageTheme } from "../sveltelib/theme";
|
||||
import WithGraphData from "./WithGraphData.svelte";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
|
||||
|
||||
import AxisTicks from "./AxisTicks.svelte";
|
||||
import CumulativeOverlay from "./CumulativeOverlay.svelte";
|
||||
import Graph from "./Graph.svelte";
|
||||
|
|
|
@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import type { Stats } from "@tslib/proto";
|
||||
import { MONTH, timeSpan } from "@tslib/time";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import type { PreferenceStore } from "../sveltelib/preferences";
|
||||
import Graph from "./Graph.svelte";
|
||||
import type { SearchEventMap, TableDatum } from "./graph-helpers";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
|
||||
|
||||
import type { GraphBounds } from "./graph-helpers";
|
||||
|
||||
export let bounds: GraphBounds;
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Writable } from "svelte/store";
|
||||
|
||||
|
||||
import { daysToRevlogRange, RevlogRange } from "./graph-helpers";
|
||||
import InputBox from "./InputBox.svelte";
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Stats } from "@tslib/proto";
|
||||
|
||||
|
||||
import AxisTicks from "./AxisTicks.svelte";
|
||||
import CumulativeOverlay from "./CumulativeOverlay.svelte";
|
||||
import Graph from "./Graph.svelte";
|
||||
import type { RevlogRange,TableDatum } from "./graph-helpers";
|
||||
import type { RevlogRange, TableDatum } from "./graph-helpers";
|
||||
import { defaultGraphBounds, GraphRange } from "./graph-helpers";
|
||||
import GraphRangeRadios from "./GraphRangeRadios.svelte";
|
||||
import HoverColumns from "./HoverColumns.svelte";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import { direction } from "@tslib/i18n";
|
||||
|
||||
|
||||
import type { TableDatum } from "./graph-helpers";
|
||||
|
||||
export let tableData: TableDatum[];
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import type { Stats } from "@tslib/proto";
|
||||
|
||||
|
||||
import Graph from "./Graph.svelte";
|
||||
import type { TodayData } from "./today";
|
||||
import { gatherData } from "./today";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import { empty, Stats, stats } from "@tslib/proto";
|
||||
import type { Writable } from "svelte/store";
|
||||
|
||||
|
||||
import useAsync from "../sveltelib/async";
|
||||
import useAsyncReactive from "../sveltelib/asyncReactive";
|
||||
import type { PreferenceRaw } from "../sveltelib/preferences";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Decks } from "@tslib/proto";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { ImportExport } from "@tslib/proto";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { ImportExport } from "@tslib/proto";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { ImportExport } from "@tslib/proto";
|
||||
|
||||
|
||||
import Spacer from "../components/Spacer.svelte";
|
||||
import type { ColumnOption } from "./lib";
|
||||
import { getNotetypeFields } from "./lib";
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
import Switch from "../components/Switch.svelte";
|
||||
|
|
|
@ -4,15 +4,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type {
|
||||
Decks,
|
||||
Generic,
|
||||
Notetypes} from "@tslib/proto";
|
||||
import {
|
||||
ImportExport,
|
||||
importExport
|
||||
} from "@tslib/proto";
|
||||
|
||||
import type { Decks, Generic, Notetypes } from "@tslib/proto";
|
||||
import { ImportExport, importExport } from "@tslib/proto";
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Container from "../components/Container.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import type { Notetypes } from "@tslib/proto";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-->
|
||||
<script lang="ts">
|
||||
import type { Generic } from "@tslib/proto";
|
||||
|
||||
|
||||
import type { ColumnOption } from "./lib";
|
||||
|
||||
export let columnOptions: ColumnOption[];
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
|
||||
|
||||
import ButtonGroup from "../components/ButtonGroup.svelte";
|
||||
import Col from "../components/Col.svelte";
|
||||
import LabelButton from "../components/LabelButton.svelte";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import * as tr from "@tslib/ftl";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
|
||||
import Col from "../components/Col.svelte";
|
||||
import Row from "../components/Row.svelte";
|
||||
import TagEditor from "../tag-editor/TagEditor.svelte";
|
||||
|
|
|
@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="ts">
|
||||
import { controlPressed, shiftPressed } from "@tslib/keys";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import WithTooltip from "../components/WithTooltip.svelte";
|
||||
import { pageTheme } from "../sveltelib/theme";
|
||||
import Tag from "./Tag.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import { isApplePlatform } from "@tslib/platform";
|
||||
import { createEventDispatcher, tick } from "svelte";
|
||||
import type { Writable } from "svelte/store";
|
||||
|
||||
|
||||
import Popover from "../components/Popover.svelte";
|
||||
import WithFloating from "../components/WithFloating.svelte";
|
||||
import AutocompleteItem from "./AutocompleteItem.svelte";
|
||||
|
|
|
@ -6,7 +6,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import * as tr from "@tslib/ftl";
|
||||
import { getPlatformString } from "@tslib/shortcuts";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
import IconConstrain from "../../components/IconConstrain.svelte";
|
||||
import Shortcut from "../../components/Shortcut.svelte";
|
||||
import { addTagIcon, tagIcon } from "./icons";
|
||||
|
|
Loading…
Reference in a new issue