chore(dashboard): update dependencies

This commit is contained in:
Jake Fulmine 2022-11-26 13:41:01 +01:00
parent 1b3f188997
commit c574ad6ecf
31 changed files with 437 additions and 402 deletions

View File

@ -10,19 +10,19 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.30",
"@tsconfig/svelte": "^2.0.1",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
"svelte-toggle": "^3.1.0",
"tslib": "^2.3.1",
"typescript": "^4.4.4",
"vite": "^2.7.0"
"vite": "^3.2.4"
},
"dependencies": {
"@sentry/browser": "^6.19.5",
"@sentry/tracing": "^6.19.5",
"@types/twemoji": "^12.1.2",
"axios": "^0.24.0",
"@types/twemoji": "^13.1.2",
"axios": "^1.2.0",
"bootstrap": "^5.1.3",
"bootstrap-dark-5": "^1.1.3",
"core-js-pure": "^3.23.4",
@ -37,6 +37,6 @@
"svelte-preprocess": "^4.10.6",
"svelte-textarea-autoresize": "^1.0.0",
"sveltestrap": "^5.6.3",
"twemoji": "^13.1.0"
"twemoji": "^14.0.2"
}
}

View File

@ -11,7 +11,7 @@
import MemberEdit from './MemberEdit.svelte';
import { Link, useLocation } from 'svelte-navigator';
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
export let group: Group;
let editMode: boolean = false;

View File

@ -1,7 +1,7 @@
<script lang="ts">
import { Row, Col, Input, Button, Label, Alert, Spinner, Modal, ModalHeader, ModalBody } from 'sveltestrap';
import { createEventDispatcher, tick } from 'svelte';
import { Group } from '../../api/types';
import type { Group } from '../../api/types';
import api from '../../api';
import { autoresize } from 'svelte-textarea-autoresize';

View File

@ -7,7 +7,7 @@
import FaUserMinus from 'svelte-icons/fa/FaUserMinus.svelte'
import Svelecte, { addFormatter } from 'svelecte';
import { Group, Member } from '../../api/types';
import type { Group, Member } from '../../api/types';
import api from '../../api';
let loading: boolean = false;

View File

@ -1,6 +1,6 @@
<script lang="ts">
import { Row, Col, Input, Button, Label, Alert, Spinner, Accordion, AccordionItem, CardTitle } from 'sveltestrap';
import { Group } from '../../api/types';
import type { Group } from '../../api/types';
import api from '../../api';
import { autoresize } from 'svelte-textarea-autoresize';
import { createEventDispatcher } from 'svelte';

View File

@ -2,7 +2,7 @@
import { tick, createEventDispatcher } from "svelte";
import { ModalBody, ModalHeader, Col, Row, Input, Label, ModalFooter, Button, Spinner, Alert } from "sveltestrap";
import { Group, GroupPrivacy } from '../../api/types';
import type { Group, GroupPrivacy } from '../../api/types';
import api from '../../api';
export let privacyOpen: boolean;

View File

@ -4,7 +4,7 @@
import FaUserCircle from 'svelte-icons/fa/FaUserCircle.svelte';
import FaUsers from 'svelte-icons/fa/FaUsers.svelte'
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
import MemberCard from '../member/CardView.svelte';
import GroupCard from '../group/CardView.svelte';

View File

@ -11,7 +11,7 @@
import ListView from './ListView.svelte';
import CardView from './CardView.svelte';
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
import api from '../../api';
export let members: Member[] = [];

View File

@ -3,7 +3,7 @@ import { createEventDispatcher } from 'svelte';
import { Card, CardHeader, CardBody, CardTitle, Alert, Accordion, AccordionItem, InputGroupText, InputGroup, Input, Row, Col, Spinner, Button, Tooltip, Label } from 'sveltestrap';
import FaSearch from 'svelte-icons/fa/FaSearch.svelte'
import Svelecte, { addFormatter } from 'svelecte';
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
import { Link, useParams } from 'svelte-navigator';
import moment from 'moment';

View File

@ -1,6 +1,6 @@
<script lang="ts">
import { Card, CardHeader, CardBody, Collapse, Tooltip } from 'sveltestrap';
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
import { link } from 'svelte-navigator';
import FaLock from 'svelte-icons/fa/FaLock.svelte';

View File

@ -12,7 +12,7 @@
import Privacy from './Privacy.svelte';
import ProxyTags from './ProxyTags.svelte';
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
import { Link, useLocation } from 'svelte-navigator';
export let groups: Group[] = [];

View File

@ -4,7 +4,7 @@
import { autoresize } from 'svelte-textarea-autoresize';
import moment from 'moment';
import { Member } from '../../api/types'
import type { Member } from '../../api/types'
import api from '../../api';
const descriptions: string[] = JSON.parse(localStorage.getItem("pk-config"))?.description_templates;

View File

@ -9,7 +9,7 @@
import FaFolderPlus from 'svelte-icons/fa/FaFolderPlus.svelte'
import FaFolderMinus from 'svelte-icons/fa/FaFolderMinus.svelte'
import { Member, Group } from '../../api/types';
import type { Member, Group } from '../../api/types';
import api from '../../api';
export let member: Member;

View File

@ -4,7 +4,7 @@
import { autoresize } from 'svelte-textarea-autoresize';
import moment from 'moment';
import FaPlus from 'svelte-icons/fa/FaPlus.svelte';
import { Member } from '../../api/types';
import type { Member } from '../../api/types';
import api from '../../api';
const descriptions: string[] = JSON.parse(localStorage.getItem("pk-config"))?.description_templates;

View File

@ -2,7 +2,7 @@
import { tick, createEventDispatcher } from "svelte";
import { Col, Row, Input, Label, Button, Alert, Spinner } from "sveltestrap";
import { Member, MemberPrivacy } from '../../api/types';
import type { Member, MemberPrivacy } from '../../api/types';
import api from '../../api';
export let privacyOpen: boolean;

View File

@ -2,7 +2,7 @@
import {tick } from "svelte";
import { Col, Row, Input, Label, Button, Alert, Spinner, InputGroup } from "sveltestrap";
import { Member } from '../../api/types';
import type { Member } from '../../api/types';
import api from '../../api';
let loading: boolean;

View File

@ -6,7 +6,7 @@
import resizeMedia from '../../api/resize-media';
import twemoji from 'twemoji';
import { System } from '../../api/types';
import type { System } from '../../api/types';
export let user: System;
export let editMode: boolean;

View File

@ -6,7 +6,7 @@
const descriptions: string[] = JSON.parse(localStorage.getItem("pk-config"))?.description_templates;
import { System } from '../../api/types';
import type { System } from '../../api/types';
import api from '../../api';
export let editMode: boolean;

View File

@ -6,7 +6,7 @@
import Privacy from './Privacy.svelte';
import Edit from './Edit.svelte';
import { System } from '../../api/types';
import type { System } from '../../api/types';
export let user: System;
export let isPublic = true;

View File

@ -4,7 +4,7 @@
import FaUserLock from 'svelte-icons/fa/FaUserLock.svelte';
import PrivacyEdit from './PrivacyEdit.svelte';
import { System, SystemPrivacy } from '../../api/types';
import type { System, SystemPrivacy } from '../../api/types';
export let user: System;
let editMode = false;

View File

@ -2,7 +2,7 @@
import { Input, Row, Col, Button, Label, Alert, Spinner } from 'sveltestrap';
import { currentUser } from '../../stores';
import { System, SystemPrivacy } from '../../api/types';
import type { System, SystemPrivacy } from '../../api/types';
import api from '../../api';
export let user: System;

View File

@ -6,7 +6,7 @@
import SystemMain from '../../components/system/Main.svelte';
import List from '../../components/list/List.svelte';
import { System } from '../../api/types';
import type { System } from '../../api/types';
import api from '../../api';
// get the state from the navigator so that we know which tab to start on

View File

@ -4,7 +4,7 @@
import { useParams, Link, navigate, useLocation } from 'svelte-navigator';
import { onMount } from 'svelte';
import api from "../../../api";
import { Member, Group } from "../../../api/types";
import type { Member, Group } from "../../../api/types";
import CardsHeader from "../../../components/common/CardsHeader.svelte";
import FaUsers from 'svelte-icons/fa/FaUsers.svelte';
import FaList from 'svelte-icons/fa/FaList.svelte';

View File

@ -5,7 +5,7 @@
import { useParams, Link, navigate, useLocation } from 'svelte-navigator';
import { onMount } from 'svelte';
import api from "../../../api";
import { Member, Group } from "../../../api/types";
import type { Member, Group } from "../../../api/types";
import CardsHeader from "../../../components/common/CardsHeader.svelte";
import FaAddressCard from 'svelte-icons/fa/FaAddressCard.svelte'
import FaList from 'svelte-icons/fa/FaList.svelte'

View File

@ -6,7 +6,7 @@
import SystemMain from '../../components/system/Main.svelte';
import List from '../../components/list/List.svelte';
import { System } from '../../api/types';
import type{ System } from '../../api/types';
import api from '../../api';
let user: System = {};

View File

@ -6,7 +6,7 @@
import CardsList from '../../components/list/ListView.svelte';
import api from '../../api';
import { Group, Member } from '../../api/types';
import type { Group, Member } from '../../api/types';
export let isPublic: boolean = false;
export let type: string = "member";

View File

@ -4,7 +4,7 @@
import FaUserLock from 'svelte-icons/fa/FaUserLock.svelte';
import api from '../../../api';
import { GroupPrivacy, System } from '../../../api/types';
import type { GroupPrivacy, System } from '../../../api/types';
const user: System = JSON.parse(localStorage.getItem("pk-user"));
if (!user) navigate('/');

View File

@ -4,7 +4,7 @@
import FaUserLock from 'svelte-icons/fa/FaUserLock.svelte';
import api from '../../../api';
import { MemberPrivacy, System } from '../../../api/types';
import type { MemberPrivacy, System } from '../../../api/types';
const user: System = JSON.parse(localStorage.getItem("pk-user"));
if (!user) navigate('/');

View File

@ -7,7 +7,7 @@
import twemoji from 'twemoji';
import { toHTML } from 'discord-markdown';
import { System } from '../api/types';
import type { System } from '../api/types';
import api from '../api';
let loading = false;

View File

@ -3,7 +3,7 @@
import Toggle from 'svelte-toggle';
import { autoresize } from 'svelte-textarea-autoresize';
import FaCogs from 'svelte-icons/fa/FaCogs.svelte'
import { Config } from '../../api/types';
import type { Config } from '../../api/types';
import api from '../../api';
let savedSettings = JSON.parse(localStorage.getItem("pk-settings"));

File diff suppressed because it is too large Load Diff