mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -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",
|
"**/node_modules",
|
||||||
"out/**",
|
"out/**",
|
||||||
"**/*-lock.json",
|
"**/*-lock.json",
|
||||||
"**/*.{ts,svelte}",
|
"**/*.{ts}",
|
||||||
"qt/aqt/data/web/js/vendor/*.js",
|
"qt/aqt/data/web/js/vendor/*.js",
|
||||||
"ftl/qt-repo",
|
"ftl/qt-repo",
|
||||||
"ftl/core-repo",
|
"ftl/core-repo",
|
||||||
|
|
|
@ -10,7 +10,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
import Container from "../components/Container.svelte";
|
import Container from "../components/Container.svelte";
|
||||||
import Row from "../components/Row.svelte";
|
import Row from "../components/Row.svelte";
|
||||||
import StickyContainer from "../components/StickyContainer.svelte";
|
import StickyContainer from "../components/StickyContainer.svelte";
|
||||||
import type { ChangeNotetypeState} from "./lib";
|
import type { ChangeNotetypeState } from "./lib";
|
||||||
import { MapContext } from "./lib";
|
import { MapContext } from "./lib";
|
||||||
import Mapper from "./Mapper.svelte";
|
import Mapper from "./Mapper.svelte";
|
||||||
import NotetypeSelector from "./NotetypeSelector.svelte";
|
import NotetypeSelector from "./NotetypeSelector.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 StickyContainer from "../components/StickyContainer.svelte";
|
||||||
import Alert from "./Alert.svelte";
|
import Alert from "./Alert.svelte";
|
||||||
import { exclamationIcon } from "./icons";
|
import { exclamationIcon } from "./icons";
|
||||||
import type { ChangeNotetypeState} from "./lib";
|
import type { ChangeNotetypeState } from "./lib";
|
||||||
import { MapContext } from "./lib";
|
import { MapContext } from "./lib";
|
||||||
|
|
||||||
export let state: ChangeNotetypeState;
|
export let state: ChangeNotetypeState;
|
||||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { on } from "@tslib/events";
|
import { on } from "@tslib/events";
|
||||||
import type { Callback} from "@tslib/typing";
|
import type { Callback } from "@tslib/typing";
|
||||||
import { singleCallback } from "@tslib/typing";
|
import { singleCallback } from "@tslib/typing";
|
||||||
import { createEventDispatcher } from "svelte";
|
import { createEventDispatcher } from "svelte";
|
||||||
import { fly } from "svelte/transition";
|
import { fly } from "svelte/transition";
|
||||||
|
|
|
@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { on } from "@tslib/events";
|
import { on } from "@tslib/events";
|
||||||
import type { Callback} from "@tslib/typing";
|
import type { Callback } from "@tslib/typing";
|
||||||
import { singleCallback } from "@tslib/typing";
|
import { singleCallback } from "@tslib/typing";
|
||||||
|
|
||||||
import IconConstrain from "./IconConstrain.svelte";
|
import IconConstrain from "./IconConstrain.svelte";
|
||||||
|
|
|
@ -17,11 +17,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
import type { SpecialKeyParams } from "../../sveltelib/input-handler";
|
import type { SpecialKeyParams } from "../../sveltelib/input-handler";
|
||||||
import type { EditingInputAPI } from "../EditingArea.svelte";
|
import type { EditingInputAPI } from "../EditingArea.svelte";
|
||||||
import { context } from "../NoteEditor.svelte";
|
import { context } from "../NoteEditor.svelte";
|
||||||
import type {
|
import type { RichTextInputAPI } from "../rich-text-input/RichTextInput.svelte";
|
||||||
RichTextInputAPI} from "../rich-text-input/RichTextInput.svelte";
|
import { editingInputIsRichText } from "../rich-text-input/RichTextInput.svelte";
|
||||||
import {
|
|
||||||
editingInputIsRichText
|
|
||||||
} from "../rich-text-input/RichTextInput.svelte";
|
|
||||||
import { findSymbols, getAutoInsertSymbol, getExactSymbol } from "./symbols-table";
|
import { findSymbols, getAutoInsertSymbol, getExactSymbol } from "./symbols-table";
|
||||||
import type {
|
import type {
|
||||||
SymbolsEntry as SymbolsEntryType,
|
SymbolsEntry as SymbolsEntryType,
|
||||||
|
|
|
@ -9,7 +9,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
import AxisTicks from "./AxisTicks.svelte";
|
import AxisTicks from "./AxisTicks.svelte";
|
||||||
import CumulativeOverlay from "./CumulativeOverlay.svelte";
|
import CumulativeOverlay from "./CumulativeOverlay.svelte";
|
||||||
import Graph from "./Graph.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 { defaultGraphBounds, GraphRange } from "./graph-helpers";
|
||||||
import GraphRangeRadios from "./GraphRangeRadios.svelte";
|
import GraphRangeRadios from "./GraphRangeRadios.svelte";
|
||||||
import HoverColumns from "./HoverColumns.svelte";
|
import HoverColumns from "./HoverColumns.svelte";
|
||||||
|
|
|
@ -4,14 +4,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import * as tr from "@tslib/ftl";
|
import * as tr from "@tslib/ftl";
|
||||||
import type {
|
import type { Decks, Generic, Notetypes } from "@tslib/proto";
|
||||||
Decks,
|
import { ImportExport, importExport } from "@tslib/proto";
|
||||||
Generic,
|
|
||||||
Notetypes} from "@tslib/proto";
|
|
||||||
import {
|
|
||||||
ImportExport,
|
|
||||||
importExport
|
|
||||||
} from "@tslib/proto";
|
|
||||||
|
|
||||||
import Col from "../components/Col.svelte";
|
import Col from "../components/Col.svelte";
|
||||||
import Container from "../components/Container.svelte";
|
import Container from "../components/Container.svelte";
|
||||||
|
|
Loading…
Reference in a new issue