From 5462b1707f4236c64ecc77107022c2256516f9a0 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Sat, 13 Aug 2022 02:45:04 +0800 Subject: [PATCH] chore: sort imports --- .../src/integration/app.spec.ts | 2 +- libs/components/account/package.json | 5 +- libs/components/account/src/error.tsx | 5 +- libs/components/account/src/index.ts | 2 +- libs/components/account/src/loading.tsx | 2 +- libs/components/account/src/login/Authing.tsx | 74 -- libs/components/affine-board/src/Board.tsx | 20 +- .../affine-board/src/hooks/use-shapes.ts | 8 +- libs/components/affine-editor/src/Editor.tsx | 2 +- .../affine-editor/src/create-editor.ts | 40 +- libs/components/affine-editor/src/index.ts | 2 +- .../board-commands/src/align-shapes.ts | 8 +- .../board-commands/src/change-page.ts | 2 +- .../board-commands/src/create-page.ts | 10 +- .../board-commands/src/create-shapes.ts | 4 +- .../board-commands/src/delete-page.ts | 2 +- .../board-commands/src/delete-shapes.ts | 2 +- .../board-commands/src/distribute-shapes.ts | 8 +- .../board-commands/src/duplicate-page.ts | 2 +- .../board-commands/src/duplicate-shapes.ts | 4 +- .../board-commands/src/flip-shapes.ts | 4 +- .../board-commands/src/group-shapes.ts | 12 +- libs/components/board-commands/src/index.ts | 6 +- .../board-commands/src/move-shapes-to-page.ts | 10 +- .../board-commands/src/rename-page.ts | 2 +- .../board-commands/src/reorder-shapes.ts | 4 +- .../board-commands/src/reset-bounds.ts | 4 +- .../board-commands/src/rotate-shapes.ts | 10 +- .../src/set-shapes-lock-status.ts | 2 +- .../board-commands/src/set-shapes-props.ts | 2 +- .../board-commands/src/stretch-shapes.ts | 6 +- .../board-commands/src/style-shapes.ts | 9 +- .../src/toggle-shapes-decoration.ts | 6 +- .../board-commands/src/toggle-shapes-prop.ts | 2 +- .../board-commands/src/translate-shapes.ts | 4 +- .../board-commands/src/ungroup-shapes.ts | 4 +- .../board-commands/src/update-shapes.ts | 10 +- libs/components/board-draw/src/TlDraw.tsx | 44 +- .../command-panel/BorderColorConfig.tsx | 6 +- .../components/command-panel/CommandPanel.tsx | 15 +- .../command-panel/DeleteOperation.tsx | 2 +- .../command-panel/FillColorConfig.tsx | 12 +- .../command-panel/FontSizeConfig.tsx | 16 +- .../command-panel/FrameFillColorConfig.tsx | 12 +- .../command-panel/GroupOperation.tsx | 2 +- .../command-panel/LockOperation.tsx | 2 +- .../stroke-line-style-config/LineStyle.tsx | 8 +- .../StrokeLineStyleConfig.tsx | 4 +- .../components/command-panel/utils/index.ts | 2 +- .../command-panel/utils/use-config.ts | 2 +- .../error-fallback/error-fallback.tsx | 3 +- .../src/components/loading/loading.tsx | 5 +- .../src/components/palette/Palette.tsx | 5 +- .../src/components/tools-panel/LineTools.tsx | 12 +- .../src/components/tools-panel/ShapeTools.tsx | 20 +- .../src/components/tools-panel/ToolsPanel.tsx | 38 +- .../components/tools-panel/pen-tools/Pen.tsx | 2 +- .../tools-panel/pen-tools/PenTools.tsx | 21 +- .../src/components/zoom-bar/ZoomBar.tsx | 10 +- .../components/zoom-bar/mini-map/MiniMap.tsx | 2 +- .../zoom-bar/mini-map/SimplifiedShape.tsx | 2 +- .../components/zoom-bar/mini-map/Viewport.tsx | 6 +- libs/components/board-draw/src/hooks/index.ts | 4 +- .../src/hooks/use-keyboard-shortcuts.tsx | 4 +- .../board-draw/src/hooks/use-tldraw-app.ts | 2 +- libs/components/board-draw/src/index.ts | 2 +- .../board-sessions/src/arrow-session.ts | 18 +- .../board-sessions/src/base-session.ts | 2 +- .../board-sessions/src/brush-session.ts | 4 +- .../board-sessions/src/draw-session.ts | 6 +- .../board-sessions/src/erase-session.ts | 18 +- .../board-sessions/src/grid-session.ts | 9 +- .../board-sessions/src/handle-session.ts | 6 +- libs/components/board-sessions/src/index.ts | 6 +- .../board-sessions/src/laser-session.ts | 4 +- .../board-sessions/src/rotate-session.ts | 10 +- .../board-sessions/src/transform-session.ts | 14 +- .../src/transform-single-session.ts | 22 +- .../src/translate-label-session.ts | 14 +- .../board-sessions/src/translate-session.ts | 32 +- .../editor-core/src/editor/types.ts | 10 +- libs/datasource/state/package.json | 1 - pnpm-lock.yaml | 1082 +---------------- 83 files changed, 343 insertions(+), 1481 deletions(-) delete mode 100644 libs/components/account/src/login/Authing.tsx diff --git a/apps/ligo-virgo-e2e/src/integration/app.spec.ts b/apps/ligo-virgo-e2e/src/integration/app.spec.ts index 0d3bae5e04..9ef8947047 100644 --- a/apps/ligo-virgo-e2e/src/integration/app.spec.ts +++ b/apps/ligo-virgo-e2e/src/integration/app.spec.ts @@ -1,4 +1,4 @@ -import { getTitle, getBoard } from '../support/app.po'; +import { getBoard, getTitle } from '../support/app.po'; describe('ligo-virgo', () => { beforeEach(() => cy.visit('/')); diff --git a/libs/components/account/package.json b/libs/components/account/package.json index 96fb8115d7..00634cf9b1 100644 --- a/libs/components/account/package.json +++ b/libs/components/account/package.json @@ -3,10 +3,7 @@ "version": "0.0.1", "license": "MIT", "dependencies": { - "@authing/react-ui-components": "^3.1.39", "@emotion/styled": "^11.9.3" }, - "devDependencies": { - "authing-js-sdk": "^4.23.35" - } + "devDependencies": {} } diff --git a/libs/components/account/src/error.tsx b/libs/components/account/src/error.tsx index 6159016323..fb1f93f551 100644 --- a/libs/components/account/src/error.tsx +++ b/libs/components/account/src/error.tsx @@ -1,10 +1,7 @@ -import { Link } from 'react-router-dom'; import style9 from 'style9'; -import { getAuth, signOut } from 'firebase/auth'; -import { MuiBox as Box } from '@toeverything/components/ui'; import { keyframes } from '@emotion/react'; -import { LOGOUT_LOCAL_STORAGE, LOGOUT_COOKIES } from '@toeverything/utils'; +import { MuiBox as Box } from '@toeverything/components/ui'; const styles = style9.create({ container: { diff --git a/libs/components/account/src/index.ts b/libs/components/account/src/index.ts index 5a69b2964e..8610c4e1bf 100644 --- a/libs/components/account/src/index.ts +++ b/libs/components/account/src/index.ts @@ -1,3 +1,3 @@ -export { Login } from './login'; export { Error } from './error'; export { PageLoading } from './loading'; +export { Login } from './login'; diff --git a/libs/components/account/src/loading.tsx b/libs/components/account/src/loading.tsx index 095d82d9dd..b7bcb4ad49 100644 --- a/libs/components/account/src/loading.tsx +++ b/libs/components/account/src/loading.tsx @@ -1,5 +1,5 @@ -import style9 from 'style9'; import { MuiCircularProgress as CircularProgress } from '@toeverything/components/ui'; +import style9 from 'style9'; const styles = style9.create({ container: { diff --git a/libs/components/account/src/login/Authing.tsx b/libs/components/account/src/login/Authing.tsx deleted file mode 100644 index 0cfb7b13b7..0000000000 --- a/libs/components/account/src/login/Authing.tsx +++ /dev/null @@ -1,74 +0,0 @@ -import { Guard as AuthingGuard } from '@authing/react-ui-components'; -import { MuiBox as Box } from '@toeverything/components/ui'; -import type { User as AuthingUser } from 'authing-js-sdk'; -import { useCallback, useEffect, useMemo } from 'react'; -import { useNavigate } from 'react-router-dom'; -import style9 from 'style9'; - -import { useUserAndSpaces } from '@toeverything/datasource/state'; -import { AUTHING_APP_HOST_US, AUTHING_APP_ID_US } from '@toeverything/utils'; - -import '@authing/react-ui-components/lib/index.min.css'; - -export function Authing() { - const navigate = useNavigate(); - const { handleUserLoginSuccess, currentSpaceId } = useUserAndSpaces(); - - /** - * Refer to Authing documentation https://docs.authing.cn/v2/reference/guard/react.html - */ - const handle_login_success = useCallback( - async (authingUser: AuthingUser) => { - handleUserLoginSuccess(authingUser); - }, - [handleUserLoginSuccess] - ); - - const authing_config = useMemo(() => { - return { - host: AUTHING_APP_HOST_US, - }; - }, []); - - useEffect(() => { - if (currentSpaceId) { - const targetRoute = `/${currentSpaceId}`; - navigate(targetRoute); - } - }, [currentSpaceId, navigate]); - - return ( -
- - - - -
- ); -} - -const styles = style9.create({ - loginContainer: { - display: 'flex', - justifyContent: 'center', - alignItems: 'center', - width: '100%', - height: 'calc( 100vh - 64px )', - }, -}); diff --git a/libs/components/affine-board/src/Board.tsx b/libs/components/affine-board/src/Board.tsx index 262d960828..82c2948c49 100644 --- a/libs/components/affine-board/src/Board.tsx +++ b/libs/components/affine-board/src/Board.tsx @@ -1,15 +1,15 @@ -import { useEffect, useState } from 'react'; -import { Tldraw } from '@toeverything/components/board-draw'; -import { tools } from '@toeverything/components/board-tools'; -import { getSession } from '@toeverything/components/board-sessions'; -import * as commands from '@toeverything/components/board-commands'; -import { TldrawApp, deepCopy } from '@toeverything/components/board-state'; -import { TDShapeType } from '@toeverything/components/board-types'; -import { services } from '@toeverything/datasource/db-service'; -import { useShapes } from './hooks'; -import { RecastBlockProvider } from '@toeverything/components/editor-core'; import { createEditor } from '@toeverything/components/affine-editor'; +import * as commands from '@toeverything/components/board-commands'; +import { Tldraw } from '@toeverything/components/board-draw'; +import { getSession } from '@toeverything/components/board-sessions'; +import { deepCopy, TldrawApp } from '@toeverything/components/board-state'; +import { tools } from '@toeverything/components/board-tools'; +import { TDShapeType } from '@toeverything/components/board-types'; +import { RecastBlockProvider } from '@toeverything/components/editor-core'; +import { services } from '@toeverything/datasource/db-service'; import { AsyncBlock, BlockEditor } from '@toeverything/framework/virgo'; +import { useEffect, useState } from 'react'; +import { useShapes } from './hooks'; interface AffineBoardProps { workspace: string; diff --git a/libs/components/affine-board/src/hooks/use-shapes.ts b/libs/components/affine-board/src/hooks/use-shapes.ts index ecff1b8431..7d07a25957 100644 --- a/libs/components/affine-board/src/hooks/use-shapes.ts +++ b/libs/components/affine-board/src/hooks/use-shapes.ts @@ -1,9 +1,9 @@ -import { useEffect, useState } from 'react'; -import { services } from '@toeverything/datasource/db-service'; -import type { ReturnEditorBlock } from '@toeverything/datasource/db-service'; -import type { TDShape } from '@toeverything/components/board-types'; import { Editor } from '@toeverything/components/board-shapes'; +import type { TDShape } from '@toeverything/components/board-types'; +import type { ReturnEditorBlock } from '@toeverything/datasource/db-service'; +import { services } from '@toeverything/datasource/db-service'; import { usePageClientWidth } from '@toeverything/datasource/state'; +import { useEffect, useState } from 'react'; export const useShapes = (workspace: string, rootBlockId: string) => { const { pageClientWidth } = usePageClientWidth(); diff --git a/libs/components/affine-editor/src/Editor.tsx b/libs/components/affine-editor/src/Editor.tsx index 4f842de2fd..5d82d46b07 100644 --- a/libs/components/affine-editor/src/Editor.tsx +++ b/libs/components/affine-editor/src/Editor.tsx @@ -1,8 +1,8 @@ import { forwardRef, useEffect, useImperativeHandle, useRef } from 'react'; import { - RenderRoot, RenderBlock, + RenderRoot, type BlockEditor, } from '@toeverything/components/editor-core'; import { useCurrentEditors } from '@toeverything/datasource/state'; diff --git a/libs/components/affine-editor/src/create-editor.ts b/libs/components/affine-editor/src/create-editor.ts index 7d575c5500..c976c9ef46 100644 --- a/libs/components/affine-editor/src/create-editor.ts +++ b/libs/components/affine-editor/src/create-editor.ts @@ -1,31 +1,31 @@ -import { BlockEditor } from '@toeverything/framework/virgo'; import { - PageBlock, - RefLinkBlock, - TextBlock, + BulletBlock, + CalloutBlock, + CodeBlock, + DividerBlock, + EmbedLinkBlock, + FigmaBlock, + // TocBlock, + FileBlock, + GridBlock, + GridItemBlock, + GroupBlock, + GroupDividerBlock, Heading1Block, Heading2Block, Heading3Block, - QuoteBlock, - TodoBlock, - CodeBlock, - // TocBlock, - FileBlock, ImageBlock, - DividerBlock, - CalloutBlock, - YoutubeBlock, - FigmaBlock, - GroupBlock, - EmbedLinkBlock, - BulletBlock, NumberedBlock, - GridBlock, - GridItemBlock, - GroupDividerBlock, + PageBlock, + QuoteBlock, + RefLinkBlock, + TextBlock, + TodoBlock, + YoutubeBlock, } from '@toeverything/components/editor-blocks'; -import { Protocol } from '@toeverything/datasource/db-service'; import { plugins } from '@toeverything/components/editor-plugins'; +import { Protocol } from '@toeverything/datasource/db-service'; +import { BlockEditor } from '@toeverything/framework/virgo'; export const createEditor = ( workspace: string, diff --git a/libs/components/affine-editor/src/index.ts b/libs/components/affine-editor/src/index.ts index 728c60c410..41a2f8b3d7 100644 --- a/libs/components/affine-editor/src/index.ts +++ b/libs/components/affine-editor/src/index.ts @@ -1,2 +1,2 @@ -export { AffineEditor } from './Editor'; export { createEditor } from './create-editor'; +export { AffineEditor } from './Editor'; diff --git a/libs/components/board-commands/src/align-shapes.ts b/libs/components/board-commands/src/align-shapes.ts index 046f0974bb..3e798d20a1 100644 --- a/libs/components/board-commands/src/align-shapes.ts +++ b/libs/components/board-commands/src/align-shapes.ts @@ -1,13 +1,13 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ -import { Vec } from '@tldraw/vec'; import { Utils } from '@tldraw/core'; +import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { AlignType, - TldrawCommand, TDShapeType, + TldrawCommand, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function alignShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/change-page.ts b/libs/components/board-commands/src/change-page.ts index 1ebeac50dc..787c29dca8 100644 --- a/libs/components/board-commands/src/change-page.ts +++ b/libs/components/board-commands/src/change-page.ts @@ -1,5 +1,5 @@ -import type { TldrawCommand } from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; export function changePage(app: TldrawApp, pageId: string): TldrawCommand { return { diff --git a/libs/components/board-commands/src/create-page.ts b/libs/components/board-commands/src/create-page.ts index 97bd471084..e6255bf409 100644 --- a/libs/components/board-commands/src/create-page.ts +++ b/libs/components/board-commands/src/create-page.ts @@ -1,9 +1,9 @@ -import type { - TldrawCommand, - TDPage, -} from '@toeverything/components/board-types'; -import { Utils, TLPageState } from '@tldraw/core'; +import { TLPageState, Utils } from '@tldraw/core'; import type { TldrawApp } from '@toeverything/components/board-state'; +import type { + TDPage, + TldrawCommand, +} from '@toeverything/components/board-types'; export function createPage( app: TldrawApp, diff --git a/libs/components/board-commands/src/create-shapes.ts b/libs/components/board-commands/src/create-shapes.ts index eaa5b9de6d..6ebff1ca0b 100644 --- a/libs/components/board-commands/src/create-shapes.ts +++ b/libs/components/board-commands/src/create-shapes.ts @@ -1,10 +1,10 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; import type { Patch, + TDBinding, TDShape, TldrawCommand, - TDBinding, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function createShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/delete-page.ts b/libs/components/board-commands/src/delete-page.ts index ed0b6969de..0cde6bf91b 100644 --- a/libs/components/board-commands/src/delete-page.ts +++ b/libs/components/board-commands/src/delete-page.ts @@ -1,5 +1,5 @@ -import type { TldrawCommand } from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; export function deletePage(app: TldrawApp, pageId: string): TldrawCommand { const { diff --git a/libs/components/board-commands/src/delete-shapes.ts b/libs/components/board-commands/src/delete-shapes.ts index 2c5daec09c..4b3407bbc8 100644 --- a/libs/components/board-commands/src/delete-shapes.ts +++ b/libs/components/board-commands/src/delete-shapes.ts @@ -1,9 +1,9 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDAsset, TDAssets, TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; import { removeShapesFromPage } from './shared/remove-shapes-from-page'; const removeAssetsFromDocument = (assets: TDAssets, idsToRemove: string[]) => { diff --git a/libs/components/board-commands/src/distribute-shapes.ts b/libs/components/board-commands/src/distribute-shapes.ts index 7840ed3cfb..e6bc5256ea 100644 --- a/libs/components/board-commands/src/distribute-shapes.ts +++ b/libs/components/board-commands/src/distribute-shapes.ts @@ -1,14 +1,14 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { Utils } from '@tldraw/core'; +import Vec from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { DistributeType, TDShape, - TldrawCommand, TDShapeType, + TldrawCommand, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; -import Vec from '@tldraw/vec'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function distributeShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/duplicate-page.ts b/libs/components/board-commands/src/duplicate-page.ts index b8a461c8d5..2ca092a8b7 100644 --- a/libs/components/board-commands/src/duplicate-page.ts +++ b/libs/components/board-commands/src/duplicate-page.ts @@ -1,6 +1,6 @@ -import type { TldrawCommand } from '@toeverything/components/board-types'; import { Utils } from '@tldraw/core'; import type { TldrawApp } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; export function duplicatePage(app: TldrawApp, pageId: string): TldrawCommand { const newId = Utils.uniqueId(); diff --git a/libs/components/board-commands/src/duplicate-shapes.ts b/libs/components/board-commands/src/duplicate-shapes.ts index 55a44f3821..eb058fee89 100644 --- a/libs/components/board-commands/src/duplicate-shapes.ts +++ b/libs/components/board-commands/src/duplicate-shapes.ts @@ -1,13 +1,13 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { Utils } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; import { TLDR } from '@toeverything/components/board-state'; import type { PagePartial, - TldrawCommand, TDShape, + TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function duplicateShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/flip-shapes.ts b/libs/components/board-commands/src/flip-shapes.ts index 53302753f5..01837703ce 100644 --- a/libs/components/board-commands/src/flip-shapes.ts +++ b/libs/components/board-commands/src/flip-shapes.ts @@ -1,8 +1,8 @@ -import { FlipType } from '@toeverything/components/board-types'; import { TLBoundsCorner, Utils } from '@tldraw/core'; -import type { TldrawCommand } from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; import { TLDR } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; +import { FlipType } from '@toeverything/components/board-types'; export function flipShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/group-shapes.ts b/libs/components/board-commands/src/group-shapes.ts index 5f0273174c..9ea825313a 100644 --- a/libs/components/board-commands/src/group-shapes.ts +++ b/libs/components/board-commands/src/group-shapes.ts @@ -1,12 +1,12 @@ -import { TDShape, TDShapeType } from '@toeverything/components/board-types'; import { Utils } from '@tldraw/core'; -import type { - Patch, - TldrawCommand, - TDBinding, -} from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; import { TLDR } from '@toeverything/components/board-state'; +import type { + Patch, + TDBinding, + TldrawCommand, +} from '@toeverything/components/board-types'; +import { TDShape, TDShapeType } from '@toeverything/components/board-types'; export function groupShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/index.ts b/libs/components/board-commands/src/index.ts index 62314e9264..84d5f7f41c 100644 --- a/libs/components/board-commands/src/index.ts +++ b/libs/components/board-commands/src/index.ts @@ -10,10 +10,12 @@ export * from './duplicate-shapes'; export * from './flip-shapes'; export * from './group-shapes'; export * from './move-shapes-to-page'; -export * from './reorder-shapes'; export * from './rename-page'; +export * from './reorder-shapes'; export * from './reset-bounds'; export * from './rotate-shapes'; +export * from './set-shapes-lock-status'; +export * from './set-shapes-props'; export * from './stretch-shapes'; export * from './style-shapes'; export * from './toggle-shapes-decoration'; @@ -21,5 +23,3 @@ export * from './toggle-shapes-prop'; export * from './translate-shapes'; export * from './ungroup-shapes'; export * from './update-shapes'; -export * from './set-shapes-props'; -export * from './set-shapes-lock-status'; diff --git a/libs/components/board-commands/src/move-shapes-to-page.ts b/libs/components/board-commands/src/move-shapes-to-page.ts index f8d7c64ea7..766a4a4611 100644 --- a/libs/components/board-commands/src/move-shapes-to-page.ts +++ b/libs/components/board-commands/src/move-shapes-to-page.ts @@ -1,14 +1,14 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ +import { TLBounds, Utils } from '@tldraw/core'; +import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import type { ArrowShape, PagePartial, - TldrawCommand, TDShape, + TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; -import { TLDR } from '@toeverything/components/board-state'; -import { Utils, TLBounds } from '@tldraw/core'; -import { Vec } from '@tldraw/vec'; export function moveShapesToPage( app: TldrawApp, diff --git a/libs/components/board-commands/src/rename-page.ts b/libs/components/board-commands/src/rename-page.ts index 27062ded39..2cccfdbe0a 100644 --- a/libs/components/board-commands/src/rename-page.ts +++ b/libs/components/board-commands/src/rename-page.ts @@ -1,5 +1,5 @@ -import type { TldrawCommand } from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; export function renamePage( app: TldrawApp, diff --git a/libs/components/board-commands/src/reorder-shapes.ts b/libs/components/board-commands/src/reorder-shapes.ts index 30a96a188a..929030446f 100644 --- a/libs/components/board-commands/src/reorder-shapes.ts +++ b/libs/components/board-commands/src/reorder-shapes.ts @@ -1,10 +1,10 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { MoveType, TDShape, TldrawCommand, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function reorderShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/reset-bounds.ts b/libs/components/board-commands/src/reset-bounds.ts index f231c494cf..a033832465 100644 --- a/libs/components/board-commands/src/reset-bounds.ts +++ b/libs/components/board-commands/src/reset-bounds.ts @@ -1,6 +1,6 @@ -import type { TldrawCommand } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; export function resetBounds( app: TldrawApp, diff --git a/libs/components/board-commands/src/rotate-shapes.ts b/libs/components/board-commands/src/rotate-shapes.ts index 073744a9a4..2e9b8444cc 100644 --- a/libs/components/board-commands/src/rotate-shapes.ts +++ b/libs/components/board-commands/src/rotate-shapes.ts @@ -1,10 +1,10 @@ import { Utils } from '@tldraw/core'; -import type { - TldrawCommand, - TDShape, -} from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; +import type { + TDShape, + TldrawCommand, +} from '@toeverything/components/board-types'; const PI2 = Math.PI * 2; diff --git a/libs/components/board-commands/src/set-shapes-lock-status.ts b/libs/components/board-commands/src/set-shapes-lock-status.ts index ea220e1ea1..05ea0bd5e4 100644 --- a/libs/components/board-commands/src/set-shapes-lock-status.ts +++ b/libs/components/board-commands/src/set-shapes-lock-status.ts @@ -1,8 +1,8 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape, TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function setShapesLockStatus( app: TldrawApp, diff --git a/libs/components/board-commands/src/set-shapes-props.ts b/libs/components/board-commands/src/set-shapes-props.ts index 39f5596589..a8b7582c4d 100644 --- a/libs/components/board-commands/src/set-shapes-props.ts +++ b/libs/components/board-commands/src/set-shapes-props.ts @@ -1,8 +1,8 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape, TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function setShapesProps( app: TldrawApp, diff --git a/libs/components/board-commands/src/stretch-shapes.ts b/libs/components/board-commands/src/stretch-shapes.ts index cc44699d25..e68bbee6e0 100644 --- a/libs/components/board-commands/src/stretch-shapes.ts +++ b/libs/components/board-commands/src/stretch-shapes.ts @@ -1,9 +1,9 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { TLBoundsCorner, Utils } from '@tldraw/core'; -import { StretchType, TDShapeType } from '@toeverything/components/board-types'; -import type { TldrawCommand } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; +import type { TldrawCommand } from '@toeverything/components/board-types'; +import { StretchType, TDShapeType } from '@toeverything/components/board-types'; export function stretchShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/style-shapes.ts b/libs/components/board-commands/src/style-shapes.ts index 08e6118979..bb3e248a54 100644 --- a/libs/components/board-commands/src/style-shapes.ts +++ b/libs/components/board-commands/src/style-shapes.ts @@ -1,14 +1,11 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { Patch, ShapeStyles, - TldrawCommand, TDShape, - // TDShapeType, - // TextShape + TldrawCommand, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; -import { Vec } from '@tldraw/vec'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function styleShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/toggle-shapes-decoration.ts b/libs/components/board-commands/src/toggle-shapes-decoration.ts index 38bde36380..443cb3b8ab 100644 --- a/libs/components/board-commands/src/toggle-shapes-decoration.ts +++ b/libs/components/board-commands/src/toggle-shapes-decoration.ts @@ -1,10 +1,10 @@ -import { Decoration } from '@toeverything/components/board-types'; +import type { TldrawApp } from '@toeverything/components/board-state'; import type { - Patch, ArrowShape, + Patch, TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; +import { Decoration } from '@toeverything/components/board-types'; export function toggleShapesDecoration( app: TldrawApp, diff --git a/libs/components/board-commands/src/toggle-shapes-prop.ts b/libs/components/board-commands/src/toggle-shapes-prop.ts index 374c47cc8e..f52c55986b 100644 --- a/libs/components/board-commands/src/toggle-shapes-prop.ts +++ b/libs/components/board-commands/src/toggle-shapes-prop.ts @@ -1,8 +1,8 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape, TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function toggleShapesProp( app: TldrawApp, diff --git a/libs/components/board-commands/src/translate-shapes.ts b/libs/components/board-commands/src/translate-shapes.ts index d0dbe28c55..4da1a2a709 100644 --- a/libs/components/board-commands/src/translate-shapes.ts +++ b/libs/components/board-commands/src/translate-shapes.ts @@ -1,10 +1,10 @@ import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; import { TLDR } from '@toeverything/components/board-state'; import type { - TldrawCommand, PagePartial, + TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function translateShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/ungroup-shapes.ts b/libs/components/board-commands/src/ungroup-shapes.ts index bbf1ee0a1a..160c46819a 100644 --- a/libs/components/board-commands/src/ungroup-shapes.ts +++ b/libs/components/board-commands/src/ungroup-shapes.ts @@ -1,12 +1,12 @@ +import type { TldrawApp } from '@toeverything/components/board-state'; import { TLDR } from '@toeverything/components/board-state'; import type { - Patch, GroupShape, + Patch, TDBinding, TDShape, TldrawCommand, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; export function ungroupShapes( app: TldrawApp, diff --git a/libs/components/board-commands/src/update-shapes.ts b/libs/components/board-commands/src/update-shapes.ts index d5317b4c3e..3041906345 100644 --- a/libs/components/board-commands/src/update-shapes.ts +++ b/libs/components/board-commands/src/update-shapes.ts @@ -1,9 +1,9 @@ -import type { - TldrawCommand, - TDShape, -} from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; +import type { + TDShape, + TldrawCommand, +} from '@toeverything/components/board-types'; export function updateShapes( app: TldrawApp, diff --git a/libs/components/board-draw/src/TlDraw.tsx b/libs/components/board-draw/src/TlDraw.tsx index 1e95506ab0..338fffeeaf 100644 --- a/libs/components/board-draw/src/TlDraw.tsx +++ b/libs/components/board-draw/src/TlDraw.tsx @@ -1,43 +1,43 @@ /* eslint-disable max-lines */ +import { Renderer } from '@tldraw/core'; +import { shapeUtils } from '@toeverything/components/board-shapes'; +import { + TLDR, + TldrawApp, + TldrawAppCtorProps, +} from '@toeverything/components/board-state'; +import { + GRID_SIZE, + TDDocument, + TDMeta, + TDStatus, +} from '@toeverything/components/board-types'; +import { styled } from '@toeverything/components/ui'; import { memo, useEffect, useLayoutEffect, - useRef, useMemo, + useRef, useState, type RefObject, } from 'react'; -import { Renderer } from '@tldraw/core'; -import { styled } from '@toeverything/components/ui'; -import { - TDDocument, - TDStatus, - GRID_SIZE, - TDMeta, -} from '@toeverything/components/board-types'; -import { - TldrawApp, - TldrawAppCtorProps, - TLDR, -} from '@toeverything/components/board-state'; +import { ToolsPanel } from './components/tools-panel'; import { TldrawContext, - useStylesheet, useKeyboardShortcuts, + useStylesheet, useTldrawApp, } from './hooks'; -import { shapeUtils } from '@toeverything/components/board-shapes'; -import { ToolsPanel } from './components/tools-panel'; // import { TopPanel } from '~components/TopPanel'; import { ContextMenu } from './components/context-menu'; // import { FocusButton } from '~components/FocusButton'; -import { Loading } from './components/loading'; -import { ErrorBoundary } from 'react-error-boundary'; -import { ErrorFallback } from './components/error-fallback'; -import { ZoomBar } from './components/zoom-bar'; -import { CommandPanel } from './components/command-panel'; import { usePageClientWidth } from '@toeverything/datasource/state'; +import { ErrorBoundary } from 'react-error-boundary'; +import { CommandPanel } from './components/command-panel'; +import { ErrorFallback } from './components/error-fallback'; +import { Loading } from './components/loading'; +import { ZoomBar } from './components/zoom-bar'; export interface TldrawProps extends TldrawAppCtorProps { /** diff --git a/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx b/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx index b5e9f2f073..15d6eadc18 100644 --- a/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx +++ b/libs/components/board-draw/src/components/command-panel/BorderColorConfig.tsx @@ -1,13 +1,13 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; -import { Popover, Tooltip, IconButton } from '@toeverything/components/ui'; import { - BorderColorNoneIcon, BorderColorDuotoneIcon, + BorderColorNoneIcon, } from '@toeverything/components/icons'; +import { IconButton, Popover, Tooltip } from '@toeverything/components/ui'; import { countBy, maxBy } from '@toeverything/utils'; -import { getShapeIds } from './utils'; import { Palette } from '../palette'; +import { getShapeIds } from './utils'; interface BorderColorConfigProps { app: TldrawApp; diff --git a/libs/components/board-draw/src/components/command-panel/CommandPanel.tsx b/libs/components/board-draw/src/components/command-panel/CommandPanel.tsx index b8dece4cc1..395b6ddf47 100644 --- a/libs/components/board-draw/src/components/command-panel/CommandPanel.tsx +++ b/libs/components/board-draw/src/components/command-panel/CommandPanel.tsx @@ -1,16 +1,15 @@ +import { TLDR, TldrawApp } from '@toeverything/components/board-state'; +import { Divider, Popover, styled } from '@toeverything/components/ui'; import { Fragment } from 'react'; -import { Vec } from '@tldraw/vec'; -import { TldrawApp, TLDR } from '@toeverything/components/board-state'; -import { Popover, styled, Divider } from '@toeverything/components/ui'; -import { getAnchor, useConfig } from './utils'; import { BorderColorConfig } from './BorderColorConfig'; +import { DeleteShapes } from './DeleteOperation'; import { FillColorConfig } from './FillColorConfig'; import { FontSizeConfig } from './FontSizeConfig'; -import { StrokeLineStyleConfig } from './stroke-line-style-config'; -import { Group, UnGroup } from './GroupOperation'; -import { DeleteShapes } from './DeleteOperation'; -import { Lock, Unlock } from './LockOperation'; import { FrameFillColorConfig } from './FrameFillColorConfig'; +import { Group, UnGroup } from './GroupOperation'; +import { Lock, Unlock } from './LockOperation'; +import { StrokeLineStyleConfig } from './stroke-line-style-config'; +import { getAnchor, useConfig } from './utils'; export const CommandPanel = ({ app }: { app: TldrawApp }) => { const state = app.useStore(); diff --git a/libs/components/board-draw/src/components/command-panel/DeleteOperation.tsx b/libs/components/board-draw/src/components/command-panel/DeleteOperation.tsx index 474fee5dc0..74351af178 100644 --- a/libs/components/board-draw/src/components/command-panel/DeleteOperation.tsx +++ b/libs/components/board-draw/src/components/command-panel/DeleteOperation.tsx @@ -1,7 +1,7 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; -import { IconButton, Tooltip } from '@toeverything/components/ui'; import { DeleteCashBinIcon } from '@toeverything/components/icons'; +import { IconButton, Tooltip } from '@toeverything/components/ui'; import { getShapeIds } from './utils'; interface DeleteShapesProps { diff --git a/libs/components/board-draw/src/components/command-panel/FillColorConfig.tsx b/libs/components/board-draw/src/components/command-panel/FillColorConfig.tsx index 70f4738390..909b65eca4 100644 --- a/libs/components/board-draw/src/components/command-panel/FillColorConfig.tsx +++ b/libs/components/board-draw/src/components/command-panel/FillColorConfig.tsx @@ -1,18 +1,18 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; import { + ShapeColorDuotoneIcon, + ShapeColorNoneIcon, +} from '@toeverything/components/icons'; +import { + IconButton, Popover, Tooltip, - IconButton, useTheme, } from '@toeverything/components/ui'; -import { - ShapeColorNoneIcon, - ShapeColorDuotoneIcon, -} from '@toeverything/components/icons'; import { countBy, maxBy } from '@toeverything/utils'; -import { getShapeIds } from './utils'; import { Palette } from '../palette'; +import { getShapeIds } from './utils'; interface BorderColorConfigProps { app: TldrawApp; diff --git a/libs/components/board-draw/src/components/command-panel/FontSizeConfig.tsx b/libs/components/board-draw/src/components/command-panel/FontSizeConfig.tsx index 21d5cef043..c35226911c 100644 --- a/libs/components/board-draw/src/components/command-panel/FontSizeConfig.tsx +++ b/libs/components/board-draw/src/components/command-panel/FontSizeConfig.tsx @@ -2,17 +2,17 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; import { FontSizeStyle } from '@toeverything/components/board-types'; import { - Popover, - Tooltip, - IconButton, - styled, -} from '@toeverything/components/ui'; -import { - TextFontIcon, HeadingOneIcon, - HeadingTwoIcon, HeadingThreeIcon, + HeadingTwoIcon, + TextFontIcon, } from '@toeverything/components/icons'; +import { + IconButton, + Popover, + styled, + Tooltip, +} from '@toeverything/components/ui'; import { countBy, maxBy } from '@toeverything/utils'; import { getShapeIds } from './utils'; diff --git a/libs/components/board-draw/src/components/command-panel/FrameFillColorConfig.tsx b/libs/components/board-draw/src/components/command-panel/FrameFillColorConfig.tsx index 1b107a962b..58a13927ec 100644 --- a/libs/components/board-draw/src/components/command-panel/FrameFillColorConfig.tsx +++ b/libs/components/board-draw/src/components/command-panel/FrameFillColorConfig.tsx @@ -1,18 +1,18 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; import { + ShapeColorDuotoneIcon, + ShapeColorNoneIcon, +} from '@toeverything/components/icons'; +import { + IconButton, Popover, Tooltip, - IconButton, useTheme, } from '@toeverything/components/ui'; -import { - ShapeColorNoneIcon, - ShapeColorDuotoneIcon, -} from '@toeverything/components/icons'; import { countBy, maxBy } from '@toeverything/utils'; -import { getShapeIds } from './utils'; import { Palette } from '../palette'; +import { getShapeIds } from './utils'; interface BorderColorConfigProps { app: TldrawApp; diff --git a/libs/components/board-draw/src/components/command-panel/GroupOperation.tsx b/libs/components/board-draw/src/components/command-panel/GroupOperation.tsx index 954e2c3eb4..ec9e00e168 100644 --- a/libs/components/board-draw/src/components/command-panel/GroupOperation.tsx +++ b/libs/components/board-draw/src/components/command-panel/GroupOperation.tsx @@ -1,7 +1,7 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; -import { IconButton, Tooltip } from '@toeverything/components/ui'; import { GroupIcon, UngroupIcon } from '@toeverything/components/icons'; +import { IconButton, Tooltip } from '@toeverything/components/ui'; import { getShapeIds } from './utils'; interface GroupAndUnGroupProps { diff --git a/libs/components/board-draw/src/components/command-panel/LockOperation.tsx b/libs/components/board-draw/src/components/command-panel/LockOperation.tsx index b16d8f26f1..b7de04969d 100644 --- a/libs/components/board-draw/src/components/command-panel/LockOperation.tsx +++ b/libs/components/board-draw/src/components/command-panel/LockOperation.tsx @@ -1,7 +1,7 @@ import type { TldrawApp } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; -import { IconButton, Tooltip } from '@toeverything/components/ui'; import { LockIcon, UnlockIcon } from '@toeverything/components/icons'; +import { IconButton, Tooltip } from '@toeverything/components/ui'; import { getShapeIds } from './utils'; interface GroupAndUnGroupProps { diff --git a/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/LineStyle.tsx b/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/LineStyle.tsx index 06e6bfb1de..b7d2a74b15 100644 --- a/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/LineStyle.tsx +++ b/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/LineStyle.tsx @@ -1,15 +1,15 @@ import { DashStyle, StrokeWidth } from '@toeverything/components/board-types'; import { - LineNoneIcon, - DashLineIcon, - SolidLineIcon, BrushIcon, + DashLineIcon, + LineNoneIcon, + SolidLineIcon, } from '@toeverything/components/icons'; import { IconButton, + Slider, styled, Tooltip, - Slider, } from '@toeverything/components/ui'; export const lineStyles = [ diff --git a/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/StrokeLineStyleConfig.tsx b/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/StrokeLineStyleConfig.tsx index 3698d2dd86..3d90ac3970 100644 --- a/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/StrokeLineStyleConfig.tsx +++ b/libs/components/board-draw/src/components/command-panel/stroke-line-style-config/StrokeLineStyleConfig.tsx @@ -1,8 +1,8 @@ import type { TldrawApp } from '@toeverything/components/board-state'; -import { DashStyle, StrokeWidth } from '@toeverything/components/board-types'; import type { TDShape } from '@toeverything/components/board-types'; -import { Popover, IconButton, Tooltip } from '@toeverything/components/ui'; +import { DashStyle, StrokeWidth } from '@toeverything/components/board-types'; import { BrushIcon } from '@toeverything/components/icons'; +import { IconButton, Popover, Tooltip } from '@toeverything/components/ui'; import { countBy, maxBy } from '@toeverything/utils'; import { getShapeIds } from '../utils'; import { LineStyle, lineStyles } from './LineStyle'; diff --git a/libs/components/board-draw/src/components/command-panel/utils/index.ts b/libs/components/board-draw/src/components/command-panel/utils/index.ts index ce623cad52..7b0c0f9343 100644 --- a/libs/components/board-draw/src/components/command-panel/utils/index.ts +++ b/libs/components/board-draw/src/components/command-panel/utils/index.ts @@ -1,2 +1,2 @@ export { getAnchor } from './get-anchor'; -export { useConfig, getShapeIds } from './use-config'; +export { getShapeIds, useConfig } from './use-config'; diff --git a/libs/components/board-draw/src/components/command-panel/utils/use-config.ts b/libs/components/board-draw/src/components/command-panel/utils/use-config.ts index 6071eb8dcc..8236cbe36f 100644 --- a/libs/components/board-draw/src/components/command-panel/utils/use-config.ts +++ b/libs/components/board-draw/src/components/command-panel/utils/use-config.ts @@ -1,7 +1,7 @@ import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import type { TDShape } from '@toeverything/components/board-types'; import { TDShapeType } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; interface Config { type: diff --git a/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx b/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx index ff7e5c4935..6efbcbca97 100644 --- a/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx +++ b/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx @@ -1,7 +1,6 @@ -import * as React from 'react'; +import { styled } from '@toeverything/components/ui'; import { FallbackProps } from 'react-error-boundary'; import { useTldrawApp } from '../../hooks'; -import { styled } from '@toeverything/components/ui'; export function ErrorFallback({ error, resetErrorBoundary }: FallbackProps) { const app = useTldrawApp(); diff --git a/libs/components/board-draw/src/components/loading/loading.tsx b/libs/components/board-draw/src/components/loading/loading.tsx index 8fb872426b..a0bf11dab1 100644 --- a/libs/components/board-draw/src/components/loading/loading.tsx +++ b/libs/components/board-draw/src/components/loading/loading.tsx @@ -1,7 +1,6 @@ -import * as React from 'react'; -import { useTldrawApp } from '../../hooks'; -import { styled } from '@toeverything/components/ui'; import type { TDSnapshot } from '@toeverything/components/board-types'; +import { styled } from '@toeverything/components/ui'; +import { useTldrawApp } from '../../hooks'; const loadingSelector = (s: TDSnapshot) => s.appState.isLoading; diff --git a/libs/components/board-draw/src/components/palette/Palette.tsx b/libs/components/board-draw/src/components/palette/Palette.tsx index ac2492d271..5ff84e8ca8 100644 --- a/libs/components/board-draw/src/components/palette/Palette.tsx +++ b/libs/components/board-draw/src/components/palette/Palette.tsx @@ -1,7 +1,6 @@ -import type { PropsWithChildren } from 'react'; -import { useMemo } from 'react'; -import { styled, Tooltip } from '@toeverything/components/ui'; import { ShapeColorNoneIcon } from '@toeverything/components/icons'; +import { styled, Tooltip } from '@toeverything/components/ui'; +import { useMemo } from 'react'; interface ColorObject { name?: string; diff --git a/libs/components/board-draw/src/components/tools-panel/LineTools.tsx b/libs/components/board-draw/src/components/tools-panel/LineTools.tsx index 4a1ed06ada..3ef546ca3c 100644 --- a/libs/components/board-draw/src/components/tools-panel/LineTools.tsx +++ b/libs/components/board-draw/src/components/tools-panel/LineTools.tsx @@ -1,18 +1,18 @@ -import { useState, useEffect } from 'react'; import { - ConnectorIcon, - ConectorLineIcon, ConectorArrowIcon, + ConectorLineIcon, + ConnectorIcon, } from '@toeverything/components/icons'; import { - Tooltip, - Popover, IconButton, + Popover, styled, + Tooltip, } from '@toeverything/components/ui'; +import { useEffect, useState } from 'react'; -import { TDSnapshot, TDShapeType } from '@toeverything/components/board-types'; import { TldrawApp } from '@toeverything/components/board-state'; +import { TDShapeType, TDSnapshot } from '@toeverything/components/board-types'; export type ShapeTypes = TDShapeType.Line | TDShapeType.Arrow; diff --git a/libs/components/board-draw/src/components/tools-panel/ShapeTools.tsx b/libs/components/board-draw/src/components/tools-panel/ShapeTools.tsx index 83b890fc09..eb2fb5c564 100644 --- a/libs/components/board-draw/src/components/tools-panel/ShapeTools.tsx +++ b/libs/components/board-draw/src/components/tools-panel/ShapeTools.tsx @@ -1,22 +1,22 @@ -import { useState, useEffect } from 'react'; import { - ShapeIcon, - RectangleIcon, - EllipseIcon, - TriangleIcon, - PolygonIcon, - StarIcon, ArrowIcon, + EllipseIcon, + PolygonIcon, + RectangleIcon, + ShapeIcon, + StarIcon, + TriangleIcon, } from '@toeverything/components/icons'; import { - Tooltip, - Popover, IconButton, + Popover, styled, + Tooltip, } from '@toeverything/components/ui'; +import { useEffect, useState } from 'react'; -import { TDSnapshot, TDShapeType } from '@toeverything/components/board-types'; import { TldrawApp } from '@toeverything/components/board-state'; +import { TDShapeType, TDSnapshot } from '@toeverything/components/board-types'; export type ShapeTypes = | TDShapeType.Rectangle diff --git a/libs/components/board-draw/src/components/tools-panel/ToolsPanel.tsx b/libs/components/board-draw/src/components/tools-panel/ToolsPanel.tsx index f518f7bc0f..cd28a0a756 100644 --- a/libs/components/board-draw/src/components/tools-panel/ToolsPanel.tsx +++ b/libs/components/board-draw/src/components/tools-panel/ToolsPanel.tsx @@ -1,35 +1,35 @@ -import style9 from 'style9'; import { + EraserIcon, + EraserIconProps, + FrameIcon, + HandToolIcon, + HandToolIconProps, + SelectIcon, + SelectIconProps, + TextIcon, + TextIconProps, +} from '@toeverything/components/icons'; +import { + IconButton, + PopoverContainer, // MuiIconButton as IconButton, // MuiTooltip as Tooltip, Tooltip, - PopoverContainer, - IconButton, useTheme, } from '@toeverything/components/ui'; -import { - FrameIcon, - HandToolIcon, - SelectIcon, - TextIcon, - EraserIcon, - SelectIconProps, - EraserIconProps, - HandToolIconProps, - TextIconProps, -} from '@toeverything/components/icons'; +import style9 from 'style9'; +import { TldrawApp } from '@toeverything/components/board-state'; import { - TDSnapshot, TDShapeType, + TDSnapshot, TDToolType, } from '@toeverything/components/board-types'; -import { TldrawApp } from '@toeverything/components/board-state'; -import { ShapeTools } from './ShapeTools'; -import { PenTools } from './pen-tools'; +import { ComponentType } from 'react'; import { LineTools } from './LineTools'; -import { ComponentType, Component } from 'react'; +import { PenTools } from './pen-tools'; +import { ShapeTools } from './ShapeTools'; const activeToolSelector = (s: TDSnapshot) => s.appState.activeTool; const toolLockedSelector = (s: TDSnapshot) => s.appState.isToolLocked; diff --git a/libs/components/board-draw/src/components/tools-panel/pen-tools/Pen.tsx b/libs/components/board-draw/src/components/tools-panel/pen-tools/Pen.tsx index 119e464e0f..bdddb055a4 100644 --- a/libs/components/board-draw/src/components/tools-panel/pen-tools/Pen.tsx +++ b/libs/components/board-draw/src/components/tools-panel/pen-tools/Pen.tsx @@ -1,5 +1,5 @@ +import { IconButton, styled, Tooltip } from '@toeverything/components/ui'; import type { ReactNode } from 'react'; -import { Tooltip, styled, IconButton } from '@toeverything/components/ui'; interface PenProps { name: string; diff --git a/libs/components/board-draw/src/components/tools-panel/pen-tools/PenTools.tsx b/libs/components/board-draw/src/components/tools-panel/pen-tools/PenTools.tsx index 5da177f152..0536acfce1 100644 --- a/libs/components/board-draw/src/components/tools-panel/pen-tools/PenTools.tsx +++ b/libs/components/board-draw/src/components/tools-panel/pen-tools/PenTools.tsx @@ -1,19 +1,18 @@ -import { ReactElement, type CSSProperties } from 'react'; -import style9 from 'style9'; -import { - MuiDivider as Divider, - Popover, - Tooltip, - IconButton, - styled, -} from '@toeverything/components/ui'; -import { TDShapeType, TDToolType } from '@toeverything/components/board-types'; import { TldrawApp } from '@toeverything/components/board-state'; +import { TDShapeType, TDToolType } from '@toeverything/components/board-types'; import { - PencilDuotoneIcon, HighlighterDuotoneIcon, LaserPenDuotoneIcon, + PencilDuotoneIcon, } from '@toeverything/components/icons'; +import { + IconButton, + MuiDivider as Divider, + Popover, + styled, + Tooltip, +} from '@toeverything/components/ui'; +import { ReactElement, type CSSProperties } from 'react'; import { Palette } from '../../palette'; import { Pen } from './Pen'; diff --git a/libs/components/board-draw/src/components/zoom-bar/ZoomBar.tsx b/libs/components/board-draw/src/components/zoom-bar/ZoomBar.tsx index 66b11ab1c6..c3d1856d9f 100644 --- a/libs/components/board-draw/src/components/zoom-bar/ZoomBar.tsx +++ b/libs/components/board-draw/src/components/zoom-bar/ZoomBar.tsx @@ -1,14 +1,14 @@ +import AddIcon from '@mui/icons-material/Add'; +import RemoveIcon from '@mui/icons-material/Remove'; +import UnfoldMoreIcon from '@mui/icons-material/UnfoldMore'; import { - MuiIconButton as IconButton, MuiButton as Button, + MuiIconButton as IconButton, styled, } from '@toeverything/components/ui'; -import RemoveIcon from '@mui/icons-material/Remove'; -import AddIcon from '@mui/icons-material/Add'; -import UnfoldMoreIcon from '@mui/icons-material/UnfoldMore'; -import { useTldrawApp } from '../../hooks'; import { TDSnapshot } from '@toeverything/components/board-types'; +import { useTldrawApp } from '../../hooks'; import { MiniMap } from './mini-map'; diff --git a/libs/components/board-draw/src/components/zoom-bar/mini-map/MiniMap.tsx b/libs/components/board-draw/src/components/zoom-bar/mini-map/MiniMap.tsx index 40ffbd9d34..dbe107660c 100644 --- a/libs/components/board-draw/src/components/zoom-bar/mini-map/MiniMap.tsx +++ b/libs/components/board-draw/src/components/zoom-bar/mini-map/MiniMap.tsx @@ -4,9 +4,9 @@ import { TLDR } from '@toeverything/components/board-state'; import { styled } from '@toeverything/components/ui'; import { useTldrawApp } from '../../../hooks'; +import { getViewportBound, processBound } from './bounds'; import { SimplifiedShape } from './SimplifiedShape'; import { Viewport } from './Viewport'; -import { processBound, getViewportBound } from './bounds'; const MINI_MAP_WIDTH = 150; const MINI_MAP_HEIGHT = 100; diff --git a/libs/components/board-draw/src/components/zoom-bar/mini-map/SimplifiedShape.tsx b/libs/components/board-draw/src/components/zoom-bar/mini-map/SimplifiedShape.tsx index ac8101956a..c35b148c2b 100644 --- a/libs/components/board-draw/src/components/zoom-bar/mini-map/SimplifiedShape.tsx +++ b/libs/components/board-draw/src/components/zoom-bar/mini-map/SimplifiedShape.tsx @@ -1,6 +1,6 @@ -import type { CSSProperties } from 'react'; import type { TLBounds } from '@tldraw/core'; import { styled } from '@toeverything/components/ui'; +import type { CSSProperties } from 'react'; interface SimplifiedShapeProps extends TLBounds { onClick?: () => void; diff --git a/libs/components/board-draw/src/components/zoom-bar/mini-map/Viewport.tsx b/libs/components/board-draw/src/components/zoom-bar/mini-map/Viewport.tsx index 2db0588ba5..5b4283cb07 100644 --- a/libs/components/board-draw/src/components/zoom-bar/mini-map/Viewport.tsx +++ b/libs/components/board-draw/src/components/zoom-bar/mini-map/Viewport.tsx @@ -1,8 +1,8 @@ -import type { CSSProperties, PointerEventHandler } from 'react'; -import { useState, useRef } from 'react'; import type { TLBounds } from '@tldraw/core'; import Vec from '@tldraw/vec'; -import { styled, alpha } from '@toeverything/components/ui'; +import { alpha, styled } from '@toeverything/components/ui'; +import type { CSSProperties, PointerEventHandler } from 'react'; +import { useRef, useState } from 'react'; interface ViewportProps extends TLBounds { onPan?: (delta: [number, number]) => void; diff --git a/libs/components/board-draw/src/hooks/index.ts b/libs/components/board-draw/src/hooks/index.ts index 26a3f2ad7c..9b62682530 100644 --- a/libs/components/board-draw/src/hooks/index.ts +++ b/libs/components/board-draw/src/hooks/index.ts @@ -1,6 +1,6 @@ +export * from './use-file-system-handlers'; export * from './use-keyboard-shortcuts'; -export * from './use-tldraw-app'; // export * from './useTheme'; export * from './use-stylesheet'; -export * from './use-file-system-handlers'; +export * from './use-tldraw-app'; // export * from './useFileSystem'; diff --git a/libs/components/board-draw/src/hooks/use-keyboard-shortcuts.tsx b/libs/components/board-draw/src/hooks/use-keyboard-shortcuts.tsx index e553bc3d5c..b52de15e37 100644 --- a/libs/components/board-draw/src/hooks/use-keyboard-shortcuts.tsx +++ b/libs/components/board-draw/src/hooks/use-keyboard-shortcuts.tsx @@ -1,8 +1,8 @@ +import { AlignStyle, TDShapeType } from '@toeverything/components/board-types'; import * as React from 'react'; import { useHotkeys } from 'react-hotkeys-hook'; -import { AlignStyle, TDShapeType } from '@toeverything/components/board-types'; -import { useTldrawApp } from './use-tldraw-app'; import { useFileSystemHandlers } from './use-file-system-handlers'; +import { useTldrawApp } from './use-tldraw-app'; export function useKeyboardShortcuts(ref: React.RefObject) { const app = useTldrawApp(); diff --git a/libs/components/board-draw/src/hooks/use-tldraw-app.ts b/libs/components/board-draw/src/hooks/use-tldraw-app.ts index b825478034..c96a076a57 100644 --- a/libs/components/board-draw/src/hooks/use-tldraw-app.ts +++ b/libs/components/board-draw/src/hooks/use-tldraw-app.ts @@ -1,5 +1,5 @@ -import * as React from 'react'; import type { TldrawApp } from '@toeverything/components/board-state'; +import * as React from 'react'; export const TldrawContext = React.createContext({} as TldrawApp); diff --git a/libs/components/board-draw/src/index.ts b/libs/components/board-draw/src/index.ts index 69704e7d8c..aeaf8da126 100644 --- a/libs/components/board-draw/src/index.ts +++ b/libs/components/board-draw/src/index.ts @@ -1,2 +1,2 @@ -export { Tldraw } from './TlDraw'; export { useTldrawApp } from './hooks'; +export { Tldraw } from './TlDraw'; diff --git a/libs/components/board-sessions/src/arrow-session.ts b/libs/components/board-sessions/src/arrow-session.ts index 7c2277df0c..bb334c4ee4 100644 --- a/libs/components/board-sessions/src/arrow-session.ts +++ b/libs/components/board-sessions/src/arrow-session.ts @@ -1,21 +1,21 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ +import { Utils } from '@tldraw/core'; +import { Vec } from '@tldraw/vec'; +import { shapeUtils } from '@toeverything/components/board-shapes'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { deepCopy, TLDR } from '@toeverything/components/board-state'; import { ArrowBinding, ArrowShape, - TDShape, - TDBinding, - TDStatus, SessionType, + TDBinding, + TDShape, TDShapeType, - TldrawPatch, + TDStatus, TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; -import { Vec } from '@tldraw/vec'; -import { TLDR, deepCopy } from '@toeverything/components/board-state'; -import { shapeUtils } from '@toeverything/components/board-shapes'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; -import { Utils } from '@tldraw/core'; export class ArrowSession extends BaseSession { type = SessionType.Arrow; diff --git a/libs/components/board-sessions/src/base-session.ts b/libs/components/board-sessions/src/base-session.ts index 397b8587a3..a14fa663f6 100644 --- a/libs/components/board-sessions/src/base-session.ts +++ b/libs/components/board-sessions/src/base-session.ts @@ -1,5 +1,5 @@ -import { BaseSessionType } from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; +import { BaseSessionType } from '@toeverything/components/board-types'; export abstract class BaseSession extends BaseSessionType { app: TldrawApp; diff --git a/libs/components/board-sessions/src/brush-session.ts b/libs/components/board-sessions/src/brush-session.ts index dfb10a6a95..981e2149d0 100644 --- a/libs/components/board-sessions/src/brush-session.ts +++ b/libs/components/board-sessions/src/brush-session.ts @@ -1,11 +1,11 @@ import { TLBounds, Utils } from '@tldraw/core'; +import type { TldrawApp } from '@toeverything/components/board-state'; import { SessionType, - TldrawPatch, TDStatus, TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; export class BrushSession extends BaseSession { diff --git a/libs/components/board-sessions/src/draw-session.ts b/libs/components/board-sessions/src/draw-session.ts index c932ae3de0..1cec1392a1 100644 --- a/libs/components/board-sessions/src/draw-session.ts +++ b/libs/components/board-sessions/src/draw-session.ts @@ -1,13 +1,13 @@ import { Utils } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; import { + DrawShape, SessionType, TDStatus, - TldrawPatch, TldrawCommand, - DrawShape, + TldrawPatch, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; export class DrawSession extends BaseSession { diff --git a/libs/components/board-sessions/src/erase-session.ts b/libs/components/board-sessions/src/erase-session.ts index 41040d4303..2f7121dd12 100644 --- a/libs/components/board-sessions/src/erase-session.ts +++ b/libs/components/board-sessions/src/erase-session.ts @@ -1,14 +1,14 @@ import { Vec } from '@tldraw/vec'; -import { - SessionType, - TDStatus, - TDShape, - PagePartial, - TDBinding, - TldrawPatch, - TldrawCommand, -} from '@toeverything/components/board-types'; import type { TldrawApp } from '@toeverything/components/board-state'; +import { + PagePartial, + SessionType, + TDBinding, + TDShape, + TDStatus, + TldrawCommand, + TldrawPatch, +} from '@toeverything/components/board-types'; import { BaseSession } from './base-session'; export class EraseSession extends BaseSession { diff --git a/libs/components/board-sessions/src/grid-session.ts b/libs/components/board-sessions/src/grid-session.ts index 6460d087d4..848faead3d 100644 --- a/libs/components/board-sessions/src/grid-session.ts +++ b/libs/components/board-sessions/src/grid-session.ts @@ -1,17 +1,16 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ -import { TLPageState, TLBounds, Utils } from '@tldraw/core'; +import { TLBounds, TLPageState, Utils } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; import { Patch, + SessionType, TDShape, TDStatus, - SessionType, - TDShapeType, - TldrawPatch, TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; export class GridSession extends BaseSession { type = SessionType.Grid; diff --git a/libs/components/board-sessions/src/handle-session.ts b/libs/components/board-sessions/src/handle-session.ts index 72af0591ff..6140590796 100644 --- a/libs/components/board-sessions/src/handle-session.ts +++ b/libs/components/board-sessions/src/handle-session.ts @@ -1,14 +1,14 @@ import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { SessionType, ShapesWithProp, + TDStatus, TldrawCommand, TldrawPatch, - TDStatus, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; export class HandleSession extends BaseSession { type = SessionType.Handle; diff --git a/libs/components/board-sessions/src/index.ts b/libs/components/board-sessions/src/index.ts index 6d6d94fa81..86a847fa69 100644 --- a/libs/components/board-sessions/src/index.ts +++ b/libs/components/board-sessions/src/index.ts @@ -2,14 +2,14 @@ import { ExceptFirst, SessionType } from '@toeverything/components/board-types'; import { ArrowSession } from './arrow-session'; import { BrushSession } from './brush-session'; import { DrawSession } from './draw-session'; +import { EraseSession } from './erase-session'; +import { GridSession } from './grid-session'; import { HandleSession } from './handle-session'; +import { LaserSession } from './laser-session'; import { RotateSession } from './rotate-session'; import { TransformSession } from './transform-session'; import { TransformSingleSession } from './transform-single-session'; import { TranslateSession } from './translate-session'; -import { EraseSession } from './erase-session'; -import { GridSession } from './grid-session'; -import { LaserSession } from './laser-session'; export type TldrawSession = | ArrowSession diff --git a/libs/components/board-sessions/src/laser-session.ts b/libs/components/board-sessions/src/laser-session.ts index 8e2b5c62d1..ba1c1d5b86 100644 --- a/libs/components/board-sessions/src/laser-session.ts +++ b/libs/components/board-sessions/src/laser-session.ts @@ -1,11 +1,11 @@ import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; import { SessionType, TDStatus, - TldrawPatch, TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; -import type { TldrawApp } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; export class LaserSession extends BaseSession { type = SessionType.Draw; diff --git a/libs/components/board-sessions/src/rotate-session.ts b/libs/components/board-sessions/src/rotate-session.ts index 2de48ed120..93c6bad294 100644 --- a/libs/components/board-sessions/src/rotate-session.ts +++ b/libs/components/board-sessions/src/rotate-session.ts @@ -1,16 +1,16 @@ import { Utils } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { SessionType, + TDShape, + TDShapeType, + TDStatus, TldrawCommand, TldrawPatch, - TDShape, - TDStatus, - TDShapeType, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; export class RotateSession extends BaseSession { type = SessionType.Rotate; diff --git a/libs/components/board-sessions/src/transform-session.ts b/libs/components/board-sessions/src/transform-session.ts index 2caab14095..966e9e8bda 100644 --- a/libs/components/board-sessions/src/transform-session.ts +++ b/libs/components/board-sessions/src/transform-session.ts @@ -1,18 +1,18 @@ +import type { TLBoundsWithCenter, TLSnapLine } from '@tldraw/core'; import { TLBounds, TLBoundsCorner, TLBoundsEdge, Utils } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; -import type { TLSnapLine, TLBoundsWithCenter } from '@tldraw/core'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { SessionType, - TldrawCommand, - TldrawPatch, - TDShape, - TDStatus, SLOW_SPEED, SNAP_DISTANCE, + TDShape, + TDStatus, + TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; type SnapInfo = | { diff --git a/libs/components/board-sessions/src/transform-single-session.ts b/libs/components/board-sessions/src/transform-single-session.ts index 8f7711b3e2..483c0d0cd1 100644 --- a/libs/components/board-sessions/src/transform-single-session.ts +++ b/libs/components/board-sessions/src/transform-single-session.ts @@ -1,24 +1,24 @@ import { - TLBoundsCorner, - TLSnapLine, - TLBoundsEdge, - Utils, - TLBoundsWithCenter, TLBounds, + TLBoundsCorner, + TLBoundsEdge, + TLBoundsWithCenter, + TLSnapLine, + Utils, } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { SessionType, - TldrawCommand, - TldrawPatch, - TDShape, - TDStatus, SLOW_SPEED, SNAP_DISTANCE, + TDShape, + TDStatus, + TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; type SnapInfo = | { diff --git a/libs/components/board-sessions/src/translate-label-session.ts b/libs/components/board-sessions/src/translate-label-session.ts index 0fea7ed92c..f490fd0b88 100644 --- a/libs/components/board-sessions/src/translate-label-session.ts +++ b/libs/components/board-sessions/src/translate-label-session.ts @@ -1,17 +1,17 @@ +import type { TLBounds } from '@tldraw/core'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { + ArrowShape, + EllipseShape, + RectangleShape, SessionType, + TDStatus, TldrawCommand, TldrawPatch, - TDStatus, - RectangleShape, TriangleShape, - EllipseShape, - ArrowShape, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; -import type { TLBounds } from '@tldraw/core'; export class TranslateLabelSession extends BaseSession { type = SessionType.Handle; diff --git a/libs/components/board-sessions/src/translate-session.ts b/libs/components/board-sessions/src/translate-session.ts index 6019e05594..96b2149139 100644 --- a/libs/components/board-sessions/src/translate-session.ts +++ b/libs/components/board-sessions/src/translate-session.ts @@ -1,30 +1,30 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { - TLPageState, - Utils, - TLBoundsWithCenter, - TLSnapLine, TLBounds, + TLBoundsWithCenter, + TLPageState, + TLSnapLine, + Utils, } from '@tldraw/core'; import { Vec } from '@tldraw/vec'; +import type { TldrawApp } from '@toeverything/components/board-state'; +import { TLDR } from '@toeverything/components/board-state'; import { - TDShape, - TDBinding, - TldrawCommand, - TDStatus, - ArrowShape, - Patch, - GroupShape, - SessionType, ArrowBinding, - TldrawPatch, - TDShapeType, + ArrowShape, + GroupShape, + Patch, + SessionType, SLOW_SPEED, SNAP_DISTANCE, + TDBinding, + TDShape, + TDShapeType, + TDStatus, + TldrawCommand, + TldrawPatch, } from '@toeverything/components/board-types'; -import { TLDR } from '@toeverything/components/board-state'; import { BaseSession } from './base-session'; -import type { TldrawApp } from '@toeverything/components/board-state'; type CloneInfo = | { diff --git a/libs/components/editor-core/src/editor/types.ts b/libs/components/editor-core/src/editor/types.ts index 63732fbba7..44befc97c6 100644 --- a/libs/components/editor-core/src/editor/types.ts +++ b/libs/components/editor-core/src/editor/types.ts @@ -8,21 +8,17 @@ * 5. All Plugins should inherit from BasePlugin, in the form of objects * 6. Dependencies between plugins are not supported for the time being */ -// import { CompleteInfoSelectOption } from '@authing/react-ui-components/components/CompleteInfo/interface'; -import type { - BlockFlavors, - BlockFlavorKeys, -} from '@toeverything/datasource/db-service'; import type { PatchNode } from '@toeverything/components/ui'; +import type { BlockFlavors } from '@toeverything/datasource/db-service'; import type { IdList, SelectionInfo, SelectionManager } from './selection'; +import { Point } from '@toeverything/utils'; +import { Observable } from 'rxjs'; import type { AsyncBlock } from './block'; import type { BlockHelper } from './block/block-helper'; import type { BlockCommands } from './commands/block-commands'; import type { DragDropManager } from './drag-drop'; import { MouseManager } from './mouse'; -import { Observable } from 'rxjs'; -import { Point } from '@toeverything/utils'; import { ScrollManager } from './scroll'; // import { BrowserClipboard } from './clipboard/browser-clipboard'; diff --git a/libs/datasource/state/package.json b/libs/datasource/state/package.json index dcf7b9750a..a1a92d478b 100644 --- a/libs/datasource/state/package.json +++ b/libs/datasource/state/package.json @@ -6,7 +6,6 @@ "jotai": "^1.7.4" }, "devDependencies": { - "authing-js-sdk": "^4.23.35", "firebase": "^9.9.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a632fb99bd..33707fa0f2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -194,7 +194,7 @@ importers: yjs: ^13.5.41 dependencies: authing-js-sdk: 4.23.35 - firebase-admin: 11.0.1 + firebase-admin: 11.0.1_@firebase+app-types@0.7.0 lib0: 0.2.52 lru-cache: 7.13.2 nanoid: 4.0.0 @@ -244,14 +244,9 @@ importers: libs/components/account: specifiers: - '@authing/react-ui-components': ^3.1.39 '@emotion/styled': ^11.9.3 - authing-js-sdk: ^4.23.35 dependencies: - '@authing/react-ui-components': 3.1.39 '@emotion/styled': 11.9.3 - devDependencies: - authing-js-sdk: 4.23.35 libs/components/affine-board: specifiers: {} @@ -571,9 +566,6 @@ importers: dependencies: ffc-js-client-side-sdk: 1.1.5 - libs/datasource/jwst/pkg: - specifiers: {} - libs/datasource/jwt: specifiers: '@types/debug': ^4.1.7 @@ -655,13 +647,11 @@ importers: libs/datasource/state: specifiers: - authing-js-sdk: ^4.23.35 firebase: ^9.9.2 jotai: ^1.7.4 dependencies: jotai: 1.7.4 devDependencies: - authing-js-sdk: 4.23.35 firebase: 9.9.2 libs/framework/virgo: @@ -721,75 +711,6 @@ packages: - chokidar dev: true - /@ant-design/colors/6.0.0: - resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} - dependencies: - '@ctrl/tinycolor': 3.4.1 - dev: false - - /@ant-design/icons-svg/4.2.1: - resolution: {integrity: sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw==} - dev: false - - /@ant-design/icons/4.7.0: - resolution: {integrity: sha512-aoB4Z7JA431rt6d4u+8xcNPPCrdufSRMUOpxa1ab6mz1JCQZOEVolj2WVs/tDFmN62zzK30mNelEsprLYsSF3g==} - engines: {node: '>=8'} - peerDependencies: - react: '>=16.0.0' - react-dom: '>=16.0.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@ant-design/colors': 6.0.0 - '@ant-design/icons-svg': 4.2.1 - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /@ant-design/react-slick/0.29.2: - resolution: {integrity: sha512-kgjtKmkGHa19FW21lHnAfyyH9AAoh35pBdcJ53rHmQ3O+cfFHGHnUbj/HFrRNJ5vIts09FKJVAD8RpaC+RaWfA==} - peerDependencies: - react: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - json2mq: 0.2.0 - lodash: 4.17.21 - resize-observer-polyfill: 1.5.1 - dev: false - - /@authing/react-ui-components/3.1.39: - resolution: {integrity: sha512-DhPtbHbRSFtFv6XbKF+wiO7Y39UkgDaREBNai7VwKfv8LCOP/SfPdockQpGWHKh29AdbaHEMq+ExDvhpkNsPDw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - antd: 4.21.5 - authing-js-sdk: 4.23.35 - fastclick: 1.0.6 - global: 4.4.0 - phone: 3.1.22 - qs: 6.11.0 - react-responsive: 9.0.0-beta.10 - react-use: 17.4.0 - ua-parser-js: 1.0.2 - wildcard: 1.1.2 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/code-frame/7.18.6: resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} engines: {node: '>=6.9.0'} @@ -2588,11 +2509,6 @@ packages: '@jridgewell/trace-mapping': 0.3.9 dev: true - /@ctrl/tinycolor/3.4.1: - resolution: {integrity: sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw==} - engines: {node: '>=10'} - dev: false - /@cypress/request/2.88.10: resolution: {integrity: sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg==} engines: {node: '>= 6'} @@ -3294,15 +3210,6 @@ packages: - utf-8-validate dev: true - /@firebase/auth-interop-types/0.1.6_@firebase+util@1.6.3: - resolution: {integrity: sha512-etIi92fW3CctsmR9e3sYM3Uqnoq861M0Id9mdOPF6PWIg38BXL5k4upCNBggGUpLIS0H1grMOvy/wn1xymwe2g==} - peerDependencies: - '@firebase/app-types': 0.x - '@firebase/util': 1.x - dependencies: - '@firebase/util': 1.6.3 - dev: false - /@firebase/auth-interop-types/0.1.6_pbfwexsq7uf6mrzcwnikj3g37m: resolution: {integrity: sha512-etIi92fW3CctsmR9e3sYM3Uqnoq861M0Id9mdOPF6PWIg38BXL5k4upCNBggGUpLIS0H1grMOvy/wn1xymwe2g==} peerDependencies: @@ -3311,7 +3218,6 @@ packages: dependencies: '@firebase/app-types': 0.7.0 '@firebase/util': 1.6.3 - dev: true /@firebase/auth-types/0.11.0_pbfwexsq7uf6mrzcwnikj3g37m: resolution: {integrity: sha512-q7Bt6cx+ySj9elQHTsKulwk3+qDezhzRBFC9zlQ1BjgMueUOnGMcvqmU0zuKlQ4RhLSH7MNAdBV2znVaoN3Vxw==} @@ -3347,19 +3253,6 @@ packages: '@firebase/util': 1.6.3 tslib: 2.4.0 - /@firebase/database-compat/0.2.4: - resolution: {integrity: sha512-VtsGixO5mTjNMJn6PwxAJEAR70fj+3blCXIdQKel3q+eYGZAfdqxox1+tzZDnf9NWBJpaOgAHPk3JVDxEo9NFQ==} - dependencies: - '@firebase/component': 0.5.17 - '@firebase/database': 0.13.4 - '@firebase/database-types': 0.9.12 - '@firebase/logger': 0.3.3 - '@firebase/util': 1.6.3 - tslib: 2.4.0 - transitivePeerDependencies: - - '@firebase/app-types' - dev: false - /@firebase/database-compat/0.2.4_@firebase+app-types@0.7.0: resolution: {integrity: sha512-VtsGixO5mTjNMJn6PwxAJEAR70fj+3blCXIdQKel3q+eYGZAfdqxox1+tzZDnf9NWBJpaOgAHPk3JVDxEo9NFQ==} dependencies: @@ -3371,7 +3264,6 @@ packages: tslib: 2.4.0 transitivePeerDependencies: - '@firebase/app-types' - dev: true /@firebase/database-types/0.9.10: resolution: {integrity: sha512-2ji6nXRRsY+7hgU6zRhUtK0RmSjVWM71taI7Flgaw+BnopCo/lDF5HSwxp8z7LtiHlvQqeRA3Ozqx5VhlAbiKg==} @@ -3386,19 +3278,6 @@ packages: '@firebase/app-types': 0.7.0 '@firebase/util': 1.6.3 - /@firebase/database/0.13.4: - resolution: {integrity: sha512-NW7bOoiaC4sJCj6DY/m9xHoFNa0CK32YPMCh6FiMweLCDQbOZM8Ql/Kn6yyuxCb7K7ypz9eSbRlCWQJsJRQjhg==} - dependencies: - '@firebase/auth-interop-types': 0.1.6_@firebase+util@1.6.3 - '@firebase/component': 0.5.17 - '@firebase/logger': 0.3.3 - '@firebase/util': 1.6.3 - faye-websocket: 0.11.4 - tslib: 2.4.0 - transitivePeerDependencies: - - '@firebase/app-types' - dev: false - /@firebase/database/0.13.4_@firebase+app-types@0.7.0: resolution: {integrity: sha512-NW7bOoiaC4sJCj6DY/m9xHoFNa0CK32YPMCh6FiMweLCDQbOZM8Ql/Kn6yyuxCb7K7ypz9eSbRlCWQJsJRQjhg==} dependencies: @@ -3410,7 +3289,6 @@ packages: tslib: 2.4.0 transitivePeerDependencies: - '@firebase/app-types' - dev: true /@firebase/firestore-compat/0.1.23_53yvy43rwpg2c45kgeszsxtrca: resolution: {integrity: sha512-QfcuyMAavp//fQnjSfCEpnbWi7spIdKaXys1kOLu7395fLr+U6ykmto1HUMCSz8Yus9cEr/03Ujdi2SUl2GUAA==} @@ -6850,10 +6728,6 @@ packages: pretty-format: 28.1.1 dev: true - /@types/js-cookie/2.2.7: - resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} - dev: false - /@types/json-buffer/3.0.0: resolution: {integrity: sha512-3YP80IxxFJB4b5tYC2SUPwkg0XQLiu0nWvhRgEatgjf+29IcWO9X1k8xRv5DGssJ/lCrjYTjQPcobJr2yWIVuQ==} dev: false @@ -7344,10 +7218,6 @@ packages: '@webassemblyjs/ast': 1.11.1 '@xtuc/long': 4.2.2 - /@xobotyi/scrollbar-width/1.9.5: - resolution: {integrity: sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ==} - dev: false - /@xtuc/ieee754/1.2.0: resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} @@ -7573,63 +7443,6 @@ packages: engines: {node: '>=12'} dev: true - /antd/4.21.5: - resolution: {integrity: sha512-S6L29rmbiQvE4/kn1hPBscHFZ405Pbtuw3DCpXVnMt409JtY6sDaUbUcWfl4i21XkABEogKzqxjYVGogf1QIWQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@ant-design/colors': 6.0.0 - '@ant-design/icons': 4.7.0 - '@ant-design/react-slick': 0.29.2 - '@babel/runtime': 7.18.6 - '@ctrl/tinycolor': 3.4.1 - classnames: 2.3.1 - copy-to-clipboard: 3.3.1 - lodash: 4.17.21 - memoize-one: 6.0.0 - moment: 2.29.3 - rc-cascader: 3.6.1 - rc-checkbox: 2.3.2 - rc-collapse: 3.3.1 - rc-dialog: 8.9.0 - rc-drawer: 4.4.3 - rc-dropdown: 4.0.1 - rc-field-form: 1.26.7 - rc-image: 5.7.0 - rc-input: 0.0.1-alpha.7 - rc-input-number: 7.3.4 - rc-mentions: 1.8.0 - rc-menu: 9.6.0 - rc-motion: 2.6.0 - rc-notification: 4.6.0 - rc-pagination: 3.1.17 - rc-picker: 2.6.10 - rc-progress: 3.3.3 - rc-rate: 2.9.2 - rc-resize-observer: 1.2.0 - rc-segmented: 2.1.0 - rc-select: 14.1.8 - rc-slider: 10.0.0 - rc-steps: 4.1.4 - rc-switch: 3.2.2 - rc-table: 7.24.3 - rc-tabs: 11.16.0 - rc-textarea: 0.3.7 - rc-tooltip: 5.1.1 - rc-tree: 5.6.5 - rc-tree-select: 5.4.0 - rc-trigger: 5.3.1 - rc-upload: 4.3.4 - rc-util: 5.22.5 - scroll-into-view-if-needed: 2.2.29 - dev: false - /anymatch/3.1.2: resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==} engines: {node: '>= 8'} @@ -7706,10 +7519,6 @@ packages: is-string: 1.0.7 dev: true - /array-tree-filter/2.1.0: - resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==} - dev: false - /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -7782,10 +7591,6 @@ packages: dev: false optional: true - /async-validator/4.2.5: - resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} - dev: false - /async/2.6.4: resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==} dependencies: @@ -7822,6 +7627,7 @@ packages: sm-crypto: 0.3.8 transitivePeerDependencies: - supports-color + dev: false /autoprefixer/10.4.7_postcss@8.4.14: resolution: {integrity: sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==} @@ -7880,6 +7686,7 @@ packages: follow-redirects: 1.5.10 transitivePeerDependencies: - supports-color + dev: false /axios/0.21.4: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} @@ -9060,6 +8867,7 @@ packages: /crypto-js/4.1.1: resolution: {integrity: sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==} + dev: false /css-declaration-sorter/6.3.0_postcss@8.4.14: resolution: {integrity: sha512-OGT677UGHJTAVMRhPO+HJ4oKln3wkBTwtDFH0ojbqm+MJm6xuDMHp2nkhh/ThaBqq20IbraBQSWKfSLNHQO9Og==} @@ -9070,13 +8878,6 @@ packages: postcss: 8.4.14 dev: true - /css-in-js-utils/2.0.1: - resolution: {integrity: sha512-PJF0SpJT+WdbVVt0AOYp9C8GnuruRlL/UFW7932nLWmFLQTaWEzTBQEx7/hn4BuV+WON75iAViSUJLiU3PKbpA==} - dependencies: - hyphenate-style-name: 1.0.4 - isobject: 3.0.1 - dev: false - /css-loader/6.7.1_webpack@5.74.0: resolution: {integrity: sha512-yB5CNFa14MbPJcomwNh3wLThtkZgcNyI2bNMRt8iE5Z8Vwl7f8vQXFAzn2HDOJvtDq2NTZBUGMSUNNyrv3/+cw==} engines: {node: '>= 12.13.0'} @@ -9097,10 +8898,6 @@ packages: webpack: 5.74.0_@swc+core@1.2.210 dev: true - /css-mediaquery/0.1.2: - resolution: {integrity: sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==} - dev: false - /css-minimizer-webpack-plugin/3.4.1_webpack@5.74.0: resolution: {integrity: sha512-1u6D71zeIfgngN2XNRJefc/hY7Ybsxd74Jm4qngIXyUEk7fss3VUzuHxLAq/R8NAba4QU9OUSaMZlbpRc7bM4Q==} engines: {node: '>= 12.13.0'} @@ -9177,6 +8974,7 @@ packages: dependencies: mdn-data: 2.0.14 source-map: 0.6.1 + dev: true /css-what/6.1.0: resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} @@ -9368,6 +9166,7 @@ packages: /dayjs/1.11.3: resolution: {integrity: sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==} + dev: true /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} @@ -9650,10 +9449,6 @@ packages: resolution: {integrity: sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg==} dev: true - /dom-align/1.12.3: - resolution: {integrity: sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA==} - dev: false - /dom-converter/0.2.0: resolution: {integrity: sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==} dependencies: @@ -9675,10 +9470,6 @@ packages: entities: 2.2.0 dev: true - /dom-walk/0.1.2: - resolution: {integrity: sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==} - dev: false - /domelementtype/2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} dev: true @@ -9906,6 +9697,7 @@ packages: resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} dependencies: stackframe: 1.3.4 + dev: true /es-abstract/1.20.1: resolution: {integrity: sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==} @@ -10672,10 +10464,6 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fast-shallow-equal/1.0.0: - resolution: {integrity: sha512-HPtaa38cPgWvaCFmRNhlc6NG7pv6NUHqjPgVAkWGoB9mQMwYB27/K0CvOM5Czy+qpT3e8XJ6Q4aPAnzpNpzNaw==} - dev: false - /fast-sort/3.2.0: resolution: {integrity: sha512-EgQtkmWo2Icq6uei57fTrZAKayL9b4OISU1613737AuLcIbAZ57tcOtGaK2A7zO54kk97wOnSw6INDA++rjMAQ==} dev: false @@ -10685,14 +10473,6 @@ packages: dev: false optional: true - /fastclick/1.0.6: - resolution: {integrity: sha512-cXyDBT4g0uWl/Xe75QspBDAgAWQ0lkPi/zgp6YFEUHj6WV6VIZl7R6TiDZhdOVU3W4ehp/8tG61Jev1jit+ztQ==} - dev: false - - /fastest-stable-stringify/2.0.2: - resolution: {integrity: sha512-bijHueCGd0LqqNK9b5oCMHc0MluJAx0cwqASgbWMvkO01lCYgIhacVRLcaDz3QnyYIRNJRDwMb41VuT6pHJ91Q==} - dev: false - /fastq/1.13.0: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} dependencies: @@ -10904,12 +10684,12 @@ packages: semver-regex: 2.0.0 dev: true - /firebase-admin/11.0.1: + /firebase-admin/11.0.1_@firebase+app-types@0.7.0: resolution: {integrity: sha512-rL3wlZbi2Kb/KJgcmj1YHlD4ZhfmhfgRO2YJialxAllm0tj1IQea878hHuBLGmv4DpbW9t9nLvX9kddNR2Y65Q==} engines: {node: '>=14'} dependencies: '@fastify/busboy': 1.1.0 - '@firebase/database-compat': 0.2.4 + '@firebase/database-compat': 0.2.4_@firebase+app-types@0.7.0 '@firebase/database-types': 0.9.10 '@types/node': 18.0.1 jsonwebtoken: 8.5.1 @@ -10999,6 +10779,7 @@ packages: debug: 3.1.0 transitivePeerDependencies: - supports-color + dev: false /for-each/0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} @@ -11377,13 +11158,6 @@ packages: ini: 2.0.0 dev: true - /global/4.4.0: - resolution: {integrity: sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==} - dependencies: - min-document: 2.19.0 - process: 0.11.10 - dev: false - /globals/11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} @@ -11931,10 +11705,6 @@ packages: hasBin: true dev: true - /hyphenate-style-name/1.0.4: - resolution: {integrity: sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==} - dev: false - /iconv-lite/0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} @@ -12126,12 +11896,6 @@ packages: resolution: {integrity: sha512-FBxbgh1+ziiPFA09s0JgYtB7gRYfbfVrcO1sTv2JnPwbbz0M35zSYVUR3oyrTfLo/S+sbY4JG1W16hY91Hbh/Q==} dev: false - /inline-style-prefixer/6.0.1: - resolution: {integrity: sha512-AsqazZ8KcRzJ9YPN1wMH2aNM7lkWQ8tSPrW5uDk1ziYwiAPWSZnUsC7lfZq+BDqLqz0B4Pho5wscWcJzVvRzDQ==} - dependencies: - css-in-js-utils: 2.0.1 - dev: false - /inquirer/6.5.2: resolution: {integrity: sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==} engines: {node: '>=6.0.0'} @@ -12489,6 +12253,7 @@ packages: /isobject/3.0.1: resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} engines: {node: '>=0.10.0'} + dev: true /isomorphic.js/0.2.5: resolution: {integrity: sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==} @@ -13400,10 +13165,6 @@ packages: optional: true dev: false - /js-cookie/2.2.1: - resolution: {integrity: sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==} - dev: false - /js-logger/1.6.1: resolution: {integrity: sha512-yTgMCPXVjhmg28CuUH8CKjU+cIKL/G+zTu4Fn4lQxs8mRFH/03QTNvEFngcxfg/gRDiQAOoyCKmMTOm9ayOzXA==} dev: false @@ -13432,6 +13193,7 @@ packages: /jsbn/1.1.0: resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==} + dev: false /jsdom/16.7.0: resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==} @@ -13477,6 +13239,7 @@ packages: /jsencrypt/3.2.1: resolution: {integrity: sha512-k1sD5QV0KPn+D8uG9AdGzTQuamt82QZ3A3l6f7TRwMU6Oi2Vg0BsL+wZIQBONcraO1pc78ExMdvmBBJ8WhNYUA==} + dev: false /jsesc/0.5.0: resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} @@ -13525,12 +13288,6 @@ packages: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} dev: true - /json2mq/0.2.0: - resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==} - dependencies: - string-convert: 0.2.1 - dev: false - /json5/1.0.1: resolution: {integrity: sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==} hasBin: true @@ -13664,6 +13421,7 @@ packages: /jwt-decode/2.2.0: resolution: {integrity: sha512-86GgN2vzfUu7m9Wcj63iUkuDzFNYFVmjeDm2GzWpUk+opB0pEpMsw6ePCMrhYkumz2C1ihqtZzOMAg7FiXcNoQ==} + dev: false /keyv/3.0.0: resolution: {integrity: sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==} @@ -14230,14 +13988,9 @@ packages: tmpl: 1.0.5 dev: true - /matchmediaquery/0.3.1: - resolution: {integrity: sha512-Hlk20WQHRIm9EE9luN1kjRjYXAQToHOIAHPJn9buxBwuhfTHoKUcX+lXBbxc85DVQfXYbEQ4HcwQdd128E3qHQ==} - dependencies: - css-mediaquery: 0.1.2 - dev: false - /mdn-data/2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} + dev: true /media-typer/0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} @@ -14255,10 +14008,6 @@ packages: resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==} dev: false - /memoize-one/6.0.0: - resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==} - dev: false - /merge-descriptors/1.0.1: resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} dev: true @@ -14331,12 +14080,6 @@ packages: engines: {node: '>=10'} dev: false - /min-document/2.19.0: - resolution: {integrity: sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ==} - dependencies: - dom-walk: 0.1.2 - dev: false - /mini-css-extract-plugin/1.6.2: resolution: {integrity: sha512-WhDvO3SjGm40oV5y26GjMJYjd2UMqrLAGKy5YS2/3QKJy2F7jgynuHTir/tgUUOiNQu5saXHdc8reo7YuhhT4Q==} engines: {node: '>= 10.13.0'} @@ -14478,10 +14221,6 @@ packages: engines: {node: '>=10'} dev: false - /moment/2.29.3: - resolution: {integrity: sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==} - dev: false - /mrmime/1.0.1: resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} engines: {node: '>=10'} @@ -14512,27 +14251,6 @@ packages: resolution: {integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=} dev: true - /nano-css/5.3.5: - resolution: {integrity: sha512-vSB9X12bbNu4ALBu7nigJgRViZ6ja3OU7CeuiV1zMIbXOdmkLahgtPmh3GBOlDxbKY0CitqlPdOReGlBLSp+yg==} - peerDependencies: - react: '*' - react-dom: '*' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - css-tree: 1.1.3 - csstype: 3.1.0 - fastest-stable-stringify: 2.0.2 - inline-style-prefixer: 6.0.1 - rtl-css-js: 1.15.0 - sourcemap-codec: 1.4.8 - stacktrace-js: 2.0.2 - stylis: 4.1.1 - dev: false - /nanoid/3.3.4: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -15289,11 +15007,6 @@ packages: resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} dev: true - /phone/3.1.22: - resolution: {integrity: sha512-0Qr2cCgheYvwWY6zDHRCRcsWT0nyDaRREEfr9wvmTH8X306fD3Q4f334Q6vp5eMBC16zH6bGNKBUZNsOFjtFPQ==} - engines: {node: '>=12'} - dev: false - /picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} @@ -15859,11 +15572,6 @@ packages: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} dev: true - /process/0.11.10: - resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} - engines: {node: '>= 0.6.0'} - dev: false - /promise-polyfill/8.1.3: resolution: {integrity: sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g==} dev: true @@ -15977,6 +15685,7 @@ packages: engines: {node: '>=0.6'} dependencies: side-channel: 1.0.4 + dev: true /qs/6.5.3: resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==} @@ -16040,637 +15749,6 @@ packages: webpack: 5.74.0_@swc+core@1.2.210 dev: true - /rc-align/4.0.12: - resolution: {integrity: sha512-3DuwSJp8iC/dgHzwreOQl52soj40LchlfUHtgACOUtwGuoFIOVh6n/sCpfqCU8kO5+iz6qR0YKvjgB8iPdE3aQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - dom-align: 1.12.3 - lodash: 4.17.21 - rc-util: 5.22.5 - resize-observer-polyfill: 1.5.1 - dev: false - - /rc-cascader/3.6.1: - resolution: {integrity: sha512-+GmN2Z0IybKT45t0Z94jkjmsOHGxAliobR2tzt05/Gw0AKBYLHX5bdvsVXR7abPnarYyYzZ/cWe8CoFgDjAFNw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - array-tree-filter: 2.1.0 - classnames: 2.3.1 - rc-select: 14.1.8 - rc-tree: 5.6.5 - rc-util: 5.22.5 - dev: false - - /rc-checkbox/2.3.2: - resolution: {integrity: sha512-afVi1FYiGv1U0JlpNH/UaEXdh6WUJjcWokj/nUN2TgG80bfG+MDdbfHKlLcNNba94mbjy2/SXJ1HDgrOkXGAjg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - dev: false - - /rc-collapse/3.3.1: - resolution: {integrity: sha512-cOJfcSe3R8vocrF8T+PgaHDrgeA1tX+lwfhwSj60NX9QVRidsILIbRNDLD6nAzmcvVC5PWiIRiR4S1OobxdhCg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-util: 5.22.5 - shallowequal: 1.1.0 - dev: false - - /rc-dialog/8.9.0: - resolution: {integrity: sha512-Cp0tbJnrvPchJfnwIvOMWmJ4yjX3HWFatO6oBFD1jx8QkgsQCR0p8nUWAKdd3seLJhEC39/v56kZaEjwp9muoQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-util: 5.22.5 - dev: false - - /rc-drawer/4.4.3: - resolution: {integrity: sha512-FYztwRs3uXnFOIf1hLvFxIQP9MiZJA+0w+Os8dfDh/90X7z/HqP/Yg+noLCIeHEbKln1Tqelv8ymCAN24zPcfQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-dropdown/4.0.1: - resolution: {integrity: sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==} - peerDependencies: - react: '>=16.11.0' - react-dom: '>=16.11.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-trigger: 5.3.1 - rc-util: 5.22.5 - dev: false - - /rc-field-form/1.26.7: - resolution: {integrity: sha512-CIb7Gw+DG9R+g4HxaDGYHhOjhjQoU2mGU4y+UM2+KQ3uRz9HrrNgTspGvNynn3UamsYcYcaPWZJmiJ6VklkT/w==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - async-validator: 4.2.5 - rc-util: 5.22.5 - dev: false - - /rc-image/5.7.0: - resolution: {integrity: sha512-v6dzSgYfYrH4liKmOZKZZO+x21sJ9KPXNinBfkAoQg2Ihcd5QZ+P/JjB7v60X981XTPGjegy8U17Z8VUX4V36g==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-dialog: 8.9.0 - rc-util: 5.22.5 - dev: false - - /rc-input-number/7.3.4: - resolution: {integrity: sha512-W9uqSzuvJUnz8H8vsVY4kx+yK51SsAxNTwr8SNH4G3XqQNocLVmKIibKFRjocnYX1RDHMND9FFbgj2h7E7nvGA==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-input/0.0.1-alpha.7: - resolution: {integrity: sha512-eozaqpCYWSY5LBMwlHgC01GArkVEP+XlJ84OMvdkwUnJBSv83Yxa15pZpn7vACAj84uDC4xOA2CoFdbLuqB08Q==} - peerDependencies: - react: '>=16.0.0' - react-dom: '>=16.0.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-mentions/1.8.0: - resolution: {integrity: sha512-ch7yfMMvx2UXy+EvE4axm0Vp6VlVZ30WLrZtLtV/Eb1ty7rQQRzNzCwAHAMyw6tNKTMs9t9sF68AVjAzQ0rvJw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-menu: 9.6.0 - rc-textarea: 0.3.7 - rc-trigger: 5.3.1 - rc-util: 5.22.5 - dev: false - - /rc-menu/9.6.0: - resolution: {integrity: sha512-d26waws42U/rVwW/+rOE2FN9pX6wUc9bDy38vVQYoie6gE85auWIpl5oChGlnW6nE2epnTwUsgWl8ipOPgmnUA==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-overflow: 1.2.6 - rc-trigger: 5.3.1 - rc-util: 5.22.5 - shallowequal: 1.1.0 - dev: false - - /rc-motion/2.6.0: - resolution: {integrity: sha512-1MDWA9+i174CZ0SIDenSYm2Wb9YbRkrexjZWR0CUFu7D6f23E8Y0KsTgk9NGOLJsGak5ELZK/Y5lOlf5wQdzbw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-notification/4.6.0: - resolution: {integrity: sha512-xF3MKgIoynzjQAO4lqsoraiFo3UXNYlBfpHs0VWvwF+4pimen9/H1DYLN2mfRWhHovW6gRpla73m2nmyIqAMZQ==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-util: 5.22.5 - dev: false - - /rc-overflow/1.2.6: - resolution: {integrity: sha512-YqbocgzuQxfq2wZy72vdAgrgzzEuM/5d4gF9TBEodCpXPbUeXGrUXNm1J6G1MSkCU2N0ePIgCEu5qD/0Ldi63Q==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-resize-observer: 1.2.0 - rc-util: 5.22.5 - dev: false - - /rc-pagination/3.1.17: - resolution: {integrity: sha512-/BQ5UxcBnW28vFAcP2hfh+Xg15W0QZn8TWYwdCApchMH1H0CxiaUUcULP8uXcFM1TygcdKWdt3JqsL9cTAfdkQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - dev: false - - /rc-picker/2.6.10: - resolution: {integrity: sha512-9wYtw0DFWs9FO92Qh2D76P0iojUr8ZhLOtScUeOit6ks/F+TBLrOC1uze3IOu+u9gbDAjmosNWLKbBzx/Yuv2w==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - date-fns: 2.28.0 - dayjs: 1.11.3 - moment: 2.29.3 - rc-trigger: 5.3.1 - rc-util: 5.22.5 - shallowequal: 1.1.0 - dev: false - - /rc-progress/3.3.3: - resolution: {integrity: sha512-MDVNVHzGanYtRy2KKraEaWeZLri2ZHWIRyaE1a9MQ2MuJ09m+Wxj5cfcaoaR6z5iRpHpA59YeUxAlpML8N4PJw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-rate/2.9.2: - resolution: {integrity: sha512-SaiZFyN8pe0Fgphv8t3+kidlej+cq/EALkAJAc3A0w0XcPaH2L1aggM8bhe1u6GAGuQNAoFvTLjw4qLPGRKV5g==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-resize-observer/1.2.0: - resolution: {integrity: sha512-6W+UzT3PyDM0wVCEHfoW3qTHPTvbdSgiA43buiy8PzmeMnfgnDeb9NjdimMXMl3/TcrvvWl5RRVdp+NqcR47pQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - resize-observer-polyfill: 1.5.1 - dev: false - - /rc-segmented/2.1.0: - resolution: {integrity: sha512-hUlonro+pYoZcwrH6Vm56B2ftLfQh046hrwif/VwLIw1j3zGt52p5mREBwmeVzXnSwgnagpOpfafspzs1asjGw==} - peerDependencies: - react: '>=16.0.0' - react-dom: '>=16.0.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-util: 5.22.5 - dev: false - - /rc-select/14.1.8: - resolution: {integrity: sha512-1kU/7ZCggyR5r5jVEQfAiN6Sq3LGLD2b6FNz5GWel3TOEQZYyDn0o4FAoIRqS6Y5ldWmkFxtd834ilPnG6NV6w==} - engines: {node: '>=8.x'} - peerDependencies: - react: '*' - react-dom: '*' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-overflow: 1.2.6 - rc-trigger: 5.3.1 - rc-util: 5.22.5 - rc-virtual-list: 3.4.8 - dev: false - - /rc-slider/10.0.0: - resolution: {integrity: sha512-Bk54UIKWW4wyhHcL8ehAxt+wX+n69dscnHTX6Uv0FMxSke/TGrlkZz1LSIWblCpfE2zr/dwR2Ca8nZGk3U+Tbg==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-tooltip: 5.1.1 - rc-util: 5.22.5 - shallowequal: 1.1.0 - dev: false - - /rc-steps/4.1.4: - resolution: {integrity: sha512-qoCqKZWSpkh/b03ASGx1WhpKnuZcRWmvuW+ZUu4mvMdfvFzVxblTwUM+9aBd0mlEUFmt6GW8FXhMpHkK3Uzp3w==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-switch/3.2.2: - resolution: {integrity: sha512-+gUJClsZZzvAHGy1vZfnwySxj+MjLlGRyXKXScrtCTcmiYNPzxDFOxdQ/3pK1Kt/0POvwJ/6ALOR8gwdXGhs+A==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-table/7.24.3: - resolution: {integrity: sha512-3Z74jeIpQ2t0i/PQ3iSKXsl1WGT809yzq3KzIDzEB7SIA0zat+rqwI+OnrwfhJVRp7GTjeT7sJyCatXpw1YJdg==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-resize-observer: 1.2.0 - rc-util: 5.22.5 - shallowequal: 1.1.0 - dev: false - - /rc-tabs/11.16.0: - resolution: {integrity: sha512-CIDPv3lHaXSHTJevmFP2eHoD3Hq9psfKbOZYf6D4FYPACloNGHpz44y3RGeJgataQ7omFLrGBm3dOBMUki87tA==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-dropdown: 4.0.1 - rc-menu: 9.6.0 - rc-resize-observer: 1.2.0 - rc-util: 5.22.5 - dev: false - - /rc-textarea/0.3.7: - resolution: {integrity: sha512-yCdZ6binKmAQB13hc/oehh0E/QRwoPP1pjF21aHBxlgXO3RzPF6dUu4LG2R4FZ1zx/fQd2L1faktulrXOM/2rw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-resize-observer: 1.2.0 - rc-util: 5.22.5 - shallowequal: 1.1.0 - dev: false - - /rc-tooltip/5.1.1: - resolution: {integrity: sha512-alt8eGMJulio6+4/uDm7nvV+rJq9bsfxFDCI0ljPdbuoygUscbsMYb6EQgwib/uqsXQUvzk+S7A59uYHmEgmDA==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - rc-trigger: 5.3.1 - dev: false - - /rc-tree-select/5.4.0: - resolution: {integrity: sha512-reRbOqC7Ic/nQocJAJeCl4n6nJUY3NoqiwRXKvhjgZJU7NGr9vIccXEsY+Lghkw5UMpPoxGsIJB0jiAvM18XYA==} - peerDependencies: - react: '*' - react-dom: '*' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-select: 14.1.8 - rc-tree: 5.6.5 - rc-util: 5.22.5 - dev: false - - /rc-tree/5.6.5: - resolution: {integrity: sha512-Bnyen46B251APyRZ9D/jYeTnSqbSEvK2AkU5B4vWkNYgUJNPrxO+VMgcDRedP/8N7YcsgdDT9hxqVvNOq7oCAQ==} - engines: {node: '>=10.x'} - peerDependencies: - react: '*' - react-dom: '*' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-motion: 2.6.0 - rc-util: 5.22.5 - rc-virtual-list: 3.4.8 - dev: false - - /rc-trigger/5.3.1: - resolution: {integrity: sha512-5gaFbDkYSefZ14j2AdzucXzlWgU2ri5uEjkHvsf1ynRhdJbKxNOnw4PBZ9+FVULNGFiDzzlVF8RJnR9P/xrnKQ==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-align: 4.0.12 - rc-motion: 2.6.0 - rc-util: 5.22.5 - dev: false - - /rc-upload/4.3.4: - resolution: {integrity: sha512-uVbtHFGNjHG/RyAfm9fluXB6pvArAGyAx8z7XzXXyorEgVIWj6mOlriuDm0XowDHYz4ycNK0nE0oP3cbFnzxiQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - classnames: 2.3.1 - rc-util: 5.22.5 - dev: false - - /rc-util/5.22.5: - resolution: {integrity: sha512-awD2TGMGU97OZftT2R3JwrHWjR8k/xIwqjwcivPskciweUdgXE7QsyXkBKVSBHXS+c17AWWMDWuKWsJSheQy8g==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@babel/runtime': 7.18.6 - react-is: 16.13.1 - shallowequal: 1.1.0 - dev: false - - /rc-virtual-list/3.4.8: - resolution: {integrity: sha512-qSN+Rv4i/E7RCTvTMr1uZo7f3crJJg/5DekoCagydo9zsXrxj07zsFSxqizqW+ldGA16lwa8So/bIbV9Ofjddg==} - engines: {node: '>=8.x'} - peerDependencies: - react: '*' - react-dom: '*' - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - classnames: 2.3.1 - rc-resize-observer: 1.2.0 - rc-util: 5.22.5 - dev: false - /react-date-range/1.4.0_date-fns@2.28.0: resolution: {integrity: sha512-+9t0HyClbCqw1IhYbpWecjsiaftCeRN5cdhsi9v06YdimwyMR2yYHWcgVn3URwtN/txhqKpEZB6UX1fHpvK76w==} peerDependencies: @@ -16792,21 +15870,6 @@ packages: - react-dom dev: false - /react-responsive/9.0.0-beta.10: - resolution: {integrity: sha512-41H8g4FYP46ln16rsHvs9/0ZoZxAPfnNiHET86/5pgS+Vw8fSKfLBuOS2SAquaxOxq7DgPviFoHmybgVvSKCNQ==} - engines: {node: '>=0.10'} - peerDependencies: - react: '>=16.8.0' - peerDependenciesMeta: - react: - optional: true - dependencies: - hyphenate-style-name: 1.0.4 - matchmediaquery: 0.3.1 - prop-types: 15.8.1 - shallow-equal: 1.2.1 - dev: false - /react-router-dom/6.3.0_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw==} peerDependencies: @@ -16899,45 +15962,6 @@ packages: react-dom: 18.2.0_react@18.2.0 dev: false - /react-universal-interface/0.6.2_tslib@2.4.0: - resolution: {integrity: sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==} - peerDependencies: - react: '*' - tslib: '*' - peerDependenciesMeta: - react: - optional: true - dependencies: - tslib: 2.4.0 - dev: false - - /react-use/17.4.0: - resolution: {integrity: sha512-TgbNTCA33Wl7xzIJegn1HndB4qTS9u03QUwyNycUnXaweZkE4Kq2SB+Yoxx8qbshkZGYBDvUXbXWRUmQDcZZ/Q==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@types/js-cookie': 2.2.7 - '@xobotyi/scrollbar-width': 1.9.5 - copy-to-clipboard: 3.3.1 - fast-deep-equal: 3.1.3 - fast-shallow-equal: 1.0.0 - js-cookie: 2.2.1 - nano-css: 5.3.5 - react-universal-interface: 0.6.2_tslib@2.4.0 - resize-observer-polyfill: 1.5.1 - screenfull: 5.2.0 - set-harmonic-interval: 1.0.1 - throttle-debounce: 3.0.1 - ts-easing: 0.2.0 - tslib: 2.4.0 - dev: false - /react-window/1.8.7: resolution: {integrity: sha512-JHEZbPXBpKMmoNO1bNhoXOOLg/ujhL/BU4IqVU9r8eQPcy5KQnGHIHDRkJ0ns9IM5+Aq5LNwt3j8t3tIrePQzA==} engines: {node: '>8.0.0'} @@ -17316,12 +16340,6 @@ packages: optionalDependencies: fsevents: 2.3.2 - /rtl-css-js/1.15.0: - resolution: {integrity: sha512-99Cu4wNNIhrI10xxUaABHsdDqzalrSRTie4GeCmbGVuehm4oj+fIy8fTzB+16pmKe8Bv9rl+hxIBez6KxExTew==} - dependencies: - '@babel/runtime': 7.18.6 - dev: false - /run-async/2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -17472,11 +16490,6 @@ packages: ajv-keywords: 5.1.0_ajv@8.11.0 dev: true - /screenfull/5.2.0: - resolution: {integrity: sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==} - engines: {node: '>=0.10.0'} - dev: false - /scroll-into-view-if-needed/2.2.29: resolution: {integrity: sha512-hxpAR6AN+Gh53AdAimHM6C8oTN1ppwVZITihix+WqalywBeFcQ6LdQP5ABNl26nX8GTEL7VT+b8lKpdqq65wXg==} dependencies: @@ -17623,11 +16636,6 @@ packages: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} dev: true - /set-harmonic-interval/1.0.1: - resolution: {integrity: sha512-AhICkFV84tBP1aWqPwLZqFvAwqEoVA9kxNMniGEUvzOlm4vLmOFLiTT3UZ6bziJTy4bOVpzWGTfSCbmaayGx8g==} - engines: {node: '>=6.9'} - dev: false - /setimmediate/1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} dev: true @@ -17657,10 +16665,6 @@ packages: resolution: {integrity: sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==} dev: false - /shallowequal/1.1.0: - resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} - dev: false - /shebang-command/1.2.0: resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} engines: {node: '>=0.10.0'} @@ -17784,6 +16788,7 @@ packages: resolution: {integrity: sha512-BEF+VQMD5EH96ouBBVNoJ6URDkLp8zIvQY7wLh1ZPFlbt/vpXxlb35hKFb2+UDiHGGdV/rxNVqvGjhxuhLd9mA==} dependencies: jsbn: 1.1.0 + dev: false /snake-case/3.0.4: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} @@ -17877,11 +16882,6 @@ packages: buffer-from: 1.1.2 source-map: 0.6.1 - /source-map/0.5.6: - resolution: {integrity: sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==} - engines: {node: '>=0.10.0'} - dev: false - /source-map/0.5.7: resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} engines: {node: '>=0.10.0'} @@ -17903,6 +16903,7 @@ packages: /sourcemap-codec/1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + dev: true /spdy-transport/3.0.0: resolution: {integrity: sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==} @@ -17959,12 +16960,6 @@ packages: deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility' dev: true - /stack-generator/2.0.10: - resolution: {integrity: sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==} - dependencies: - stackframe: 1.3.4 - dev: false - /stack-utils/2.0.5: resolution: {integrity: sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==} engines: {node: '>=10'} @@ -17974,21 +16969,7 @@ packages: /stackframe/1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} - - /stacktrace-gps/3.1.2: - resolution: {integrity: sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==} - dependencies: - source-map: 0.5.6 - stackframe: 1.3.4 - dev: false - - /stacktrace-js/2.0.2: - resolution: {integrity: sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==} - dependencies: - error-stack-parser: 2.1.4 - stack-generator: 2.0.10 - stacktrace-gps: 3.1.2 - dev: false + dev: true /statuses/1.5.0: resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==} @@ -18022,10 +17003,6 @@ packages: engines: {node: '>=0.6.19'} dev: true - /string-convert/0.2.1: - resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==} - dev: false - /string-hash/1.1.3: resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==} dev: true @@ -18323,10 +17300,6 @@ packages: resolution: {integrity: sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==} dev: false - /stylis/4.1.1: - resolution: {integrity: sha512-lVrM/bNdhVX2OgBFNa2YJ9Lxj7kPzylieHd3TNjuGE0Re9JB7joL5VUKOVH1kdNNJTgGPpT8hmwIAPLaSyEVFQ==} - dev: false - /stylus-loader/6.2.0_772wava6yveehcyvgfd527qm3q: resolution: {integrity: sha512-5dsDc7qVQGRoc6pvCL20eYgRUxepZ9FpeK28XhdXaIPP6kXr6nI1zAAKFQgP5OBkOfKaURp4WUpJzspg1f01Gg==} engines: {node: '>= 12.13.0'} @@ -18585,11 +17558,6 @@ packages: resolution: {integrity: sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==} dev: true - /throttle-debounce/3.0.1: - resolution: {integrity: sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==} - engines: {node: '>=10'} - dev: false - /throttleit/1.0.0: resolution: {integrity: sha512-rkTVqu6IjfQ/6+uNuuc3sZek4CEYxTJom3IktzgdSxcZqdARuebbA/f4QmAxMQIxqq9ZLEUkSYqvuk1I6VKq4g==} dev: true @@ -18717,10 +17685,6 @@ packages: resolution: {integrity: sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg==} dev: true - /ts-easing/0.2.0: - resolution: {integrity: sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==} - dev: false - /ts-jest/28.0.5_dvf3gqad2lwurck7yyca7j3d3i: resolution: {integrity: sha512-Sx9FyP9pCY7pUzQpy4FgRZf2bhHY3za576HMKJFs+OnQ9jS96Du5vNsDKkyedQkik+sEabbKAnCliv9BEsHZgQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -18906,10 +17870,6 @@ packages: hasBin: true dev: true - /ua-parser-js/1.0.2: - resolution: {integrity: sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg==} - dev: false - /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -19517,10 +18477,6 @@ packages: string-width: 1.0.2 dev: true - /wildcard/1.1.2: - resolution: {integrity: sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==} - dev: false - /wildcard/2.0.0: resolution: {integrity: sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==} dev: true