microboard-ui-temp 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -6
- package/package.json +10 -3
- package/public/board.css +66 -0
- package/public/board.html +456 -0
- package/public/customWebComponents.js +287 -0
- package/public/loadLinksImages.js +22 -0
- package/.github/workflows/npm-publish.yml +0 -66
- package/Dockerfile +0 -15
- package/MicroboardLicense.txt +0 -84
- package/bun.lock +0 -1082
- package/bunPlugins/copyPlugin.ts +0 -81
- package/bunfig.toml +0 -1
- package/docker-compose.yml +0 -7
- package/scripts/buildPkg.ts +0 -29
- package/scripts/buildSpa.ts +0 -29
- package/server.ts +0 -18
- package/src/App/App.ts +0 -502
- package/src/App/BoardsList.ts +0 -752
- package/src/App/Clipboard.ts +0 -22
- package/src/App/Connection.ts +0 -758
- package/src/App/Location.ts +0 -23
- package/src/App/MediaHelpers.ts +0 -221
- package/src/App/Paste/index.ts +0 -5
- package/src/App/Paste/pasteTextToTheBoard.ts +0 -19
- package/src/App/Paste/tryToGetMarkdownFromDataTransfer.ts +0 -60
- package/src/App/Paste/tryToPasteAsItemOrReturnText.ts +0 -72
- package/src/App/Paste/tryToPasteAudioByLink.ts +0 -35
- package/src/App/Paste/tryToPasteFromMicroboard.ts +0 -15
- package/src/App/Paste/tryToPasteFromMiro.ts +0 -75
- package/src/App/Paste/tryToPasteImages.ts +0 -44
- package/src/App/Paste/tryToPasteVideoByLink.ts +0 -68
- package/src/App/Permissions.ts +0 -43
- package/src/App/README.md +0 -58
- package/src/App/SessionStorage.ts +0 -248
- package/src/App/Storage.ts +0 -122
- package/src/App/Wheel/Wheel.spec.ts +0 -40
- package/src/App/Wheel/Wheel.ts +0 -229
- package/src/App/Wheel/WheelEventLogger.ts +0 -70
- package/src/App/Wheel/WheelEvents.spec.ts +0 -418
- package/src/App/Wheel/index.ts +0 -1
- package/src/App/Wheel/mockedWheelData.ts +0 -77658
- package/src/App/getController.ts +0 -878
- package/src/App/getSubscriptions.ts +0 -155
- package/src/App/index.ts +0 -1
- package/src/App/isFirefox.ts +0 -3
- package/src/App/isMacos.ts +0 -2
- package/src/App/isSafari.ts +0 -17
- package/src/App/router.tsx +0 -149
- package/src/App/testRecorder.ts +0 -393
- package/src/App/throttlePointerEvent.ts +0 -27
- package/src/App/useAccount.ts +0 -19
- package/src/App/useBoardSubscription.ts +0 -14
- package/src/App/useBoardsList.ts +0 -18
- package/src/App/useDomMbr.ts +0 -65
- package/src/Config.ts +0 -41
- package/src/Globals.d.ts +0 -6
- package/src/WhiteBoardModule/Readme.md +0 -21
- package/src/WhiteBoardModule/WhiteBoardModuleNative.tsx +0 -60
- package/src/WhiteBoardModule/WhiteboardModuleReact.tsx +0 -61
- package/src/development.entrypoint.ts +0 -38
- package/src/entities/AIInput/AIContext.tsx +0 -377
- package/src/entities/AIInput/AIDropdown.tsx +0 -296
- package/src/entities/AIInput/AIGenerationButton.tsx +0 -54
- package/src/entities/AIInput/AIInput.module.css +0 -488
- package/src/entities/AIInput/AIInput.tsx +0 -427
- package/src/entities/AIInput/StarIcon.tsx +0 -201
- package/src/entities/AIInput/index.ts +0 -12
- package/src/entities/AIInput/utils.ts +0 -384
- package/src/entities/BoardMenu/BoardMenu.module.css +0 -38
- package/src/entities/BoardMenu/BoardMenu.tsx +0 -86
- package/src/entities/BoardMenu/MouseOrTracpadModal/MouseOrTrackpadModal.tsx +0 -138
- package/src/entities/BoardMenu/MouseOrTracpadModal/MouseOrTracpadModal.module.css +0 -93
- package/src/entities/BoardMenu/index.ts +0 -1
- package/src/entities/BoardMenu/sections/Comments.tsx +0 -65
- package/src/entities/BoardMenu/sections/Items.tsx +0 -85
- package/src/entities/BoardMenu/sections/MouseOrTrackpad.tsx +0 -108
- package/src/entities/BoardName/BoardName.module.css +0 -61
- package/src/entities/BoardName/BoardName.tsx +0 -66
- package/src/entities/BoardName/BoardRename.module.css +0 -15
- package/src/entities/BoardName/BoardRename.tsx +0 -93
- package/src/entities/BoardName/index.ts +0 -3
- package/src/entities/Canvas/Canvas.tsx +0 -250
- package/src/entities/Canvas/CanvasNoRouter.tsx +0 -216
- package/src/entities/Canvas/index.ts +0 -2
- package/src/entities/Folder/DragOverlay.tsx +0 -52
- package/src/entities/Folder/DragPlaceholder.module.css +0 -5
- package/src/entities/Folder/DragPlaceholder.tsx +0 -6
- package/src/entities/Folder/DraggingItem.module.css +0 -8
- package/src/entities/Folder/DraggingWrapper.tsx +0 -18
- package/src/entities/Folder/Folder.module.css +0 -113
- package/src/entities/Folder/Folder.tsx +0 -356
- package/src/entities/Folder/FolderItem.module.css +0 -89
- package/src/entities/Folder/FolderItem.tsx +0 -165
- package/src/entities/Folder/FoldersDndContext.tsx +0 -129
- package/src/entities/Folder/OpenedFoldersContext.tsx +0 -33
- package/src/entities/Folder/index.ts +0 -8
- package/src/entities/account/Account.ts +0 -542
- package/src/entities/account/AuthForm.module.css +0 -150
- package/src/entities/account/AuthForm.tsx +0 -48
- package/src/entities/account/AuthGuard.tsx +0 -17
- package/src/entities/account/AuthInterceptor.ts +0 -21
- package/src/entities/account/UnauthGuard.tsx +0 -17
- package/src/entities/account/index.ts +0 -5
- package/src/entities/comments/Cluster/Cluster.module.css +0 -43
- package/src/entities/comments/Cluster/Cluster.tsx +0 -100
- package/src/entities/comments/CommentContainer/CommentContainer.module.css +0 -51
- package/src/entities/comments/CommentContainer/CommentContainer.tsx +0 -232
- package/src/entities/comments/CommentContainer/CommentPreview/CommentPreview.module.css +0 -89
- package/src/entities/comments/CommentContainer/CommentPreview/CommentPreview.tsx +0 -92
- package/src/entities/comments/CommentInput/CommentInput.module.css +0 -69
- package/src/entities/comments/CommentInput/CommentInput.tsx +0 -122
- package/src/entities/comments/CommentsContext.tsx +0 -65
- package/src/entities/comments/CommentsPanel/CommentCard/CommentCard.module.css +0 -36
- package/src/entities/comments/CommentsPanel/CommentCard/CommentCard.tsx +0 -132
- package/src/entities/comments/CommentsPanel/CommentCard/Message/Message.module.css +0 -73
- package/src/entities/comments/CommentsPanel/CommentCard/Message/Message.tsx +0 -72
- package/src/entities/comments/CommentsPanel/CommentsPanel.module.css +0 -143
- package/src/entities/comments/CommentsPanel/CommentsPanel.tsx +0 -278
- package/src/entities/comments/CommentsPanel/CommentsPanelContext.tsx +0 -37
- package/src/entities/comments/CommentsProvider.module.css +0 -4
- package/src/entities/comments/CommentsProvider.tsx +0 -73
- package/src/entities/comments/CreateComment/CreateComment.module.css +0 -8
- package/src/entities/comments/CreateComment/CreateComment.tsx +0 -66
- package/src/entities/comments/Thread/ExtraOptions/ExtraOptions.module.css +0 -44
- package/src/entities/comments/Thread/ExtraOptions/ExtraOptions.tsx +0 -127
- package/src/entities/comments/Thread/OptionsPanel/OptionsPanel.module.css +0 -32
- package/src/entities/comments/Thread/OptionsPanel/OptionsPanel.tsx +0 -38
- package/src/entities/comments/Thread/ThreadPanel.module.css +0 -82
- package/src/entities/comments/Thread/ThreadPanel.tsx +0 -298
- package/src/entities/comments/Thread/message/Message.module.css +0 -71
- package/src/entities/comments/Thread/message/Message.tsx +0 -137
- package/src/entities/comments/index.ts +0 -7
- package/src/entities/comments/lib.ts +0 -22
- package/src/entities/comments/useCommentsMerge.ts +0 -88
- package/src/entities/comments/useIntersectionObserver.ts +0 -58
- package/src/entities/comments/useScrollToUnreadMessage.ts +0 -24
- package/src/env.d.ts +0 -12
- package/src/features/AccessDeniedModal/AccessDeniedModal.module.css +0 -56
- package/src/features/AccessDeniedModal/AccessDeniedModal.tsx +0 -94
- package/src/features/AccessDeniedModal/index.ts +0 -1
- package/src/features/AiUnavailableModal/AiUnavailableModal.module.css +0 -52
- package/src/features/AiUnavailableModal/AiUnavailableModal.tsx +0 -59
- package/src/features/AiUnavailableModal/index.ts +0 -1
- package/src/features/AppContext.tsx +0 -17
- package/src/features/AppView/AppView.module.css +0 -18
- package/src/features/AppView/AppView.tsx +0 -302
- package/src/features/AppView/InactiveBoardHidder.tsx +0 -14
- package/src/features/AppView/LocalAppView.tsx +0 -177
- package/src/features/AppView/NoBoardIsOpen.module.css +0 -29
- package/src/features/AppView/NoBoardIsOpen.tsx +0 -69
- package/src/features/AppView/QuickAddPanel/QuickAddPanel.module.css +0 -12
- package/src/features/AppView/QuickAddPanel/QuickAddPanel.tsx +0 -171
- package/src/features/AppView/QuickAddPanel/index.ts +0 -1
- package/src/features/AppView/index.ts +0 -2
- package/src/features/AppView/listeners.ts +0 -0
- package/src/features/AudioPlayer/AudioPlayer.module.css +0 -213
- package/src/features/AudioPlayer/AudioPlayer.tsx +0 -517
- package/src/features/AudioPlayer/index.ts +0 -1
- package/src/features/ChangePasswordModal/ChangePassword.module.css +0 -129
- package/src/features/ChangePasswordModal/ChangePasswordModal.tsx +0 -247
- package/src/features/ChangePasswordModal/index.ts +0 -4
- package/src/features/ContextMenu/ContextMenu.module.css +0 -38
- package/src/features/ContextMenu/ContextMenu.tsx +0 -507
- package/src/features/ContextMenu/ContextMenuContext.tsx +0 -77
- package/src/features/ContextMenu/index.ts +0 -5
- package/src/features/ContextPanel/Buttons/AIGeneration.tsx +0 -72
- package/src/features/ContextPanel/Buttons/AIModel/AIModel.module.css +0 -5
- package/src/features/ContextPanel/Buttons/AIModel/AIModel.tsx +0 -97
- package/src/features/ContextPanel/Buttons/AIModel/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/AIModel.tsx +0 -95
- package/src/features/ContextPanel/Buttons/AddList/AddList.tsx +0 -83
- package/src/features/ContextPanel/Buttons/AddList/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/ButtonWithMenu/ButtonWithMenu.tsx +0 -107
- package/src/features/ContextPanel/Buttons/ButtonWithMenu/UiButtonWithMenu.module.css +0 -49
- package/src/features/ContextPanel/Buttons/ButtonWithMenu/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/CardGame/Card/CreateDeck.tsx +0 -65
- package/src/features/ContextPanel/Buttons/CardGame/Card/FlipCard.tsx +0 -41
- package/src/features/ContextPanel/Buttons/CardGame/Deck/GetCard.tsx +0 -61
- package/src/features/ContextPanel/Buttons/CardGame/Deck/ShuffleDeck.tsx +0 -39
- package/src/features/ContextPanel/Buttons/CardGame/Dice/ChangeRange/ChangeRange.module.css +0 -53
- package/src/features/ContextPanel/Buttons/CardGame/Dice/ChangeRange/ChangeRange.tsx +0 -133
- package/src/features/ContextPanel/Buttons/CardGame/Dice/ThrowDice.tsx +0 -38
- package/src/features/ContextPanel/Buttons/ConnectorAddText.tsx +0 -55
- package/src/features/ContextPanel/Buttons/ConnectorFontStyle.tsx +0 -28
- package/src/features/ContextPanel/Buttons/ConnectorLineColor.tsx +0 -96
- package/src/features/ContextPanel/Buttons/ConnectorTextColor.tsx +0 -22
- package/src/features/ContextPanel/Buttons/ConnectorTextHighlight.tsx +0 -28
- package/src/features/ContextPanel/Buttons/ConnectorType/ConnectorType.module.css +0 -5
- package/src/features/ContextPanel/Buttons/ConnectorType/ConnectorType.tsx +0 -108
- package/src/features/ContextPanel/Buttons/ConnectorType/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/ContextPanelButton.module.css +0 -19
- package/src/features/ContextPanel/Buttons/Delete.tsx +0 -32
- package/src/features/ContextPanel/Buttons/DrawFillStyle.tsx +0 -107
- package/src/features/ContextPanel/Buttons/DrawStrokeWidth/DrawStrokeWidth.module.css +0 -4
- package/src/features/ContextPanel/Buttons/DrawStrokeWidth/DrawStrokeWidth.tsx +0 -32
- package/src/features/ContextPanel/Buttons/DrawStrokeWidth/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/Duplicate.tsx +0 -25
- package/src/features/ContextPanel/Buttons/Edit.tsx +0 -23
- package/src/features/ContextPanel/Buttons/EndPointer/EndPointer.module.css +0 -14
- package/src/features/ContextPanel/Buttons/EndPointer/EndPointer.tsx +0 -80
- package/src/features/ContextPanel/Buttons/EndPointer/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/FillStyle.tsx +0 -91
- package/src/features/ContextPanel/Buttons/FontSize/ConnectorFontSize.tsx +0 -34
- package/src/features/ContextPanel/Buttons/FontSize/FontSize.module.css +0 -53
- package/src/features/ContextPanel/Buttons/FontSize/FontSize.tsx +0 -217
- package/src/features/ContextPanel/Buttons/FontSize/index.ts +0 -2
- package/src/features/ContextPanel/Buttons/FontStyle.tsx +0 -68
- package/src/features/ContextPanel/Buttons/FrameFill.tsx +0 -91
- package/src/features/ContextPanel/Buttons/FrameNavNext.tsx +0 -33
- package/src/features/ContextPanel/Buttons/FrameNavPrev.tsx +0 -37
- package/src/features/ContextPanel/Buttons/FrameRatio/FrameRatio.module.css +0 -14
- package/src/features/ContextPanel/Buttons/FrameRatio/FrameRatio.tsx +0 -113
- package/src/features/ContextPanel/Buttons/FrameRatio/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/HyperLinkBtn.tsx +0 -53
- package/src/features/ContextPanel/Buttons/ItemType/ItemType.module.css +0 -15
- package/src/features/ContextPanel/Buttons/ItemType/ItemType.tsx +0 -115
- package/src/features/ContextPanel/Buttons/ItemType/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/Lock.tsx +0 -98
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/BringToFront.tsx +0 -28
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/CopyFrameLink.tsx +0 -50
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/CopyItemLink.tsx +0 -48
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/ExportFrame.tsx +0 -32
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/SaveImg.tsx +0 -32
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/SaveVideoOrAudio.tsx +0 -45
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/SendToBack.tsx +0 -28
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/SetLinkTo.tsx +0 -35
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/getLinkToItem.tsx +0 -3
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/Items/index.ts +0 -5
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/RestOptionsMenu.module.css +0 -51
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/RestOptionsMenu.tsx +0 -96
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/RestOptionsMenuItem.tsx +0 -29
- package/src/features/ContextPanel/Buttons/RestOptionsMenu/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/StartPointer/StartPointer.module.css +0 -18
- package/src/features/ContextPanel/Buttons/StartPointer/StartPointer.tsx +0 -87
- package/src/features/ContextPanel/Buttons/StartPointer/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/StickerFillStyle.tsx +0 -74
- package/src/features/ContextPanel/Buttons/StrokeStyle/StrokeStyle.module.css +0 -19
- package/src/features/ContextPanel/Buttons/StrokeStyle/StrokeStyle.tsx +0 -144
- package/src/features/ContextPanel/Buttons/StrokeStyle/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/SwitchPointers.tsx +0 -28
- package/src/features/ContextPanel/Buttons/TextAlignment/TextAlignment.module.css +0 -6
- package/src/features/ContextPanel/Buttons/TextAlignment/TextAlignment.tsx +0 -98
- package/src/features/ContextPanel/Buttons/TextAlignment/index.ts +0 -1
- package/src/features/ContextPanel/Buttons/TextAlignmentSticker.tsx +0 -87
- package/src/features/ContextPanel/Buttons/TextColor.tsx +0 -86
- package/src/features/ContextPanel/Buttons/TextHighlight.tsx +0 -85
- package/src/features/ContextPanel/Buttons/ToggleFrameRatio.tsx +0 -38
- package/src/features/ContextPanel/Buttons/ToggleIsShining.tsx +0 -36
- package/src/features/ContextPanel/ContextPanel.module.css +0 -9
- package/src/features/ContextPanel/ContextPanel.tsx +0 -531
- package/src/features/ContextPanel/PanelContext.ts +0 -17
- package/src/features/ContextPanel/index.ts +0 -1
- package/src/features/ContextWrapper.tsx +0 -47
- package/src/features/Counter/Counter.module.css +0 -20
- package/src/features/Counter/Counter.tsx +0 -49
- package/src/features/CryptoWrapper/CryptoWrapper.tsx +0 -79
- package/src/features/CryptoWrapper/index.ts +0 -1
- package/src/features/Cursors/comment.svg +0 -22
- package/src/features/Cursors/customCursors.ts +0 -31
- package/src/features/Cursors/eraser.svg +0 -3
- package/src/features/Cursors/index.ts +0 -1
- package/src/features/Cursors/pencil.svg +0 -3
- package/src/features/Cursors/sticker/sticker-black.svg +0 -27
- package/src/features/Cursors/sticker/sticker-blue.svg +0 -27
- package/src/features/Cursors/sticker/sticker-gray.svg +0 -27
- package/src/features/Cursors/sticker/sticker-green.svg +0 -27
- package/src/features/Cursors/sticker/sticker-light-blue.svg +0 -28
- package/src/features/Cursors/sticker/sticker-light-gray.svg +0 -27
- package/src/features/Cursors/sticker/sticker-light-green.svg +0 -27
- package/src/features/Cursors/sticker/sticker-orange.svg +0 -27
- package/src/features/Cursors/sticker/sticker-pink.svg +0 -27
- package/src/features/Cursors/sticker/sticker-purple.svg +0 -27
- package/src/features/Cursors/sticker/sticker-sky-blue.svg +0 -27
- package/src/features/Cursors/sticker/sticker-yellow.svg +0 -27
- package/src/features/ErrorBoundary/ErrorBoundary.module.css +0 -64
- package/src/features/ErrorBoundary/ErrorBoundary.tsx +0 -112
- package/src/features/ErrorBoundary/index.ts +0 -1
- package/src/features/ExportPanel/ExportPanel.module.css +0 -55
- package/src/features/ExportPanel/ExportPanel.tsx +0 -73
- package/src/features/ExportPanel/ExportVisible.tsx +0 -18
- package/src/features/ExportPanel/index.ts +0 -1
- package/src/features/GameItems/CreateCardsModal.tsx +0 -178
- package/src/features/GameItems/CreateDiceModal.tsx +0 -213
- package/src/features/GameItems/Modal.module.css +0 -148
- package/src/features/GameItems/index.ts +0 -1
- package/src/features/GenerateChart/AIChat.module.css +0 -162
- package/src/features/GenerateChart/AIChat.tsx +0 -198
- package/src/features/GenerateChart/AIChatPanel.module.css +0 -34
- package/src/features/GenerateChart/AIChatPanel.tsx +0 -72
- package/src/features/GenerateChart/lib/engine/index.ts +0 -616
- package/src/features/GenerateChart/lib/transformOutput.ts +0 -338
- package/src/features/GoogleAuthBtn/GoogleAuthBtn.module.css +0 -19
- package/src/features/GoogleAuthBtn/GoogleAuthBtn.tsx +0 -19
- package/src/features/GoogleAuthBtn/icons.tsx +0 -301
- package/src/features/GoogleAuthBtn/index.ts +0 -1
- package/src/features/ImportMiro/AuthClipboardModal/AuthClipboardModal.module.css +0 -26
- package/src/features/ImportMiro/AuthClipboardModal/AuthClipboardModal.tsx +0 -38
- package/src/features/ImportMiro/ImgAuthClipboardModal/ImgAuthClipboardModal.module.css +0 -36
- package/src/features/ImportMiro/ImgAuthClipboardModal/ImgAuthClipboardModal.tsx +0 -74
- package/src/features/ImportMiro/ImportMiroBoards/ImportBoardItem/MiroClipboardTransformer.ts +0 -765
- package/src/features/ImportMiro/ImportMiroBoards/ImportBoardItem/index.ts +0 -1
- package/src/features/ImportMiro/ImportMiroBoards/ImportBoardItem/useCopyBoardItems.tsx +0 -1156
- package/src/features/ImportMiro/ImportMiroBoards/ImportMiro.module.css +0 -157
- package/src/features/ImportMiro/ImportMiroBoards/ImportMiro.tsx +0 -95
- package/src/features/ImportMiro/ImportMiroBoards/MiroModels.ts +0 -250
- package/src/features/ImportMiro/ImportMiroBoards/Notifications/ErrorNotification.tsx +0 -48
- package/src/features/ImportMiro/ImportMiroBoards/Notifications/LoadingNotification.tsx +0 -53
- package/src/features/ImportMiro/ImportMiroBoards/Notifications/SuccessNotification.tsx +0 -54
- package/src/features/ImportMiro/ImportMiroBoards/Notifications/WarnClipboardNotification.tsx +0 -57
- package/src/features/ImportMiro/ImportMiroBoards/Notifications/WarnNotification.tsx +0 -68
- package/src/features/ImportMiro/ImportMiroBoards/Notifications/index.ts +0 -5
- package/src/features/ImportMiro/ImportMiroStartModal/ImportMiroStartModal.module.css +0 -35
- package/src/features/ImportMiro/ImportMiroStartModal/ImportMiroStartModal.tsx +0 -47
- package/src/features/ImportMiro/index.ts +0 -5
- package/src/features/ItemTooltip/ItemTooltip.tsx +0 -77
- package/src/features/ItemTooltip/index.ts +0 -1
- package/src/features/ItemsProvider/ItemsProvider.tsx +0 -45
- package/src/features/ItemsProvider/index.ts +0 -1
- package/src/features/LandingMenu/LandingMenu.module.css +0 -54
- package/src/features/LandingMenu/LandingMenu.tsx +0 -88
- package/src/features/LandingMenu/MobileLandingMenu.module.css +0 -78
- package/src/features/LandingMenu/MobileLandingMenu.tsx +0 -133
- package/src/features/LandingMenu/const.ts +0 -2
- package/src/features/LandingMenu/index.ts +0 -2
- package/src/features/LinksProvider/LinkToButton/LinkToButton.module.css +0 -34
- package/src/features/LinksProvider/LinkToButton/LinkToButton.tsx +0 -175
- package/src/features/LinksProvider/LinksProvider.tsx +0 -84
- package/src/features/LinksProvider/index.ts +0 -1
- package/src/features/LocalFileSavingProgress/LocalFileSaveProgress.module.css +0 -6
- package/src/features/LocalFileSavingProgress/LocalFileSaveProgress.tsx +0 -30
- package/src/features/LocalFileSavingProgress/index.ts +0 -1
- package/src/features/LoginWith/LoginWith.module.css +0 -18
- package/src/features/LoginWith/LoginWith.tsx +0 -15
- package/src/features/MediaUnavailableModal/MediaUnavailableModal.module.css +0 -52
- package/src/features/MediaUnavailableModal/MediaUnavailableModal.tsx +0 -64
- package/src/features/MediaUnavailableModal/index.ts +0 -4
- package/src/features/Modal/ConfirmModal.module.css +0 -71
- package/src/features/Modal/ConfirmModal.tsx +0 -199
- package/src/features/Modal/CookiesModal.module.css +0 -32
- package/src/features/Modal/CookiesModal.tsx +0 -75
- package/src/features/Modal/InfoModal.module.css +0 -49
- package/src/features/Modal/InfoModal.tsx +0 -90
- package/src/features/Modal/ModalsWrapper.tsx +0 -13
- package/src/features/Modal/SetLinkToModal.module.css +0 -49
- package/src/features/Modal/SetLinkToModal.tsx +0 -112
- package/src/features/Notifications/Notifications.module.css +0 -14
- package/src/features/Notifications/SigninErrorNotification.tsx +0 -34
- package/src/features/Notifications/SignupErrorNotification.tsx +0 -33
- package/src/features/Notifications/index.ts +0 -8
- package/src/features/Pickers/ColorPicker/ColorItem.module.css +0 -44
- package/src/features/Pickers/ColorPicker/ColorItem.tsx +0 -33
- package/src/features/Pickers/ColorPicker/ColorPicker.module.css +0 -12
- package/src/features/Pickers/ColorPicker/ColorPicker.tsx +0 -43
- package/src/features/Pickers/ColorPicker/SquareColorItem.module.css +0 -41
- package/src/features/Pickers/ColorPicker/SquareColorItem.tsx +0 -27
- package/src/features/Pickers/ColorPicker/index.ts +0 -1
- package/src/features/Pickers/ConnectorLineStylePicker.tsx +0 -52
- package/src/features/Pickers/ConnectorPointerPicker/ConnectorPointerPicker.module.css +0 -4
- package/src/features/Pickers/ConnectorPointerPicker/ConnectorPointerPicker.tsx +0 -39
- package/src/features/Pickers/ConnectorPointerPicker/index.ts +0 -1
- package/src/features/Pickers/DrawingToolPicker.tsx +0 -31
- package/src/features/Pickers/FontSizePicker/FontSizePicker.module.css +0 -8
- package/src/features/Pickers/FontSizePicker/FontSizePicker.tsx +0 -61
- package/src/features/Pickers/FontSizePicker/index.ts +0 -1
- package/src/features/Pickers/FontStylePicker.tsx +0 -88
- package/src/features/Pickers/FramePicker/FramePicker.module.css +0 -11
- package/src/features/Pickers/FramePicker/FramePicker.tsx +0 -40
- package/src/features/Pickers/FramePicker/index.ts +0 -1
- package/src/features/Pickers/HorizontalAlignmentPicker.tsx +0 -49
- package/src/features/Pickers/ShapeTypePicker.tsx +0 -80
- package/src/features/Pickers/SliderPicker/SliderPicker.module.css +0 -13
- package/src/features/Pickers/SliderPicker/SliderPicker.tsx +0 -43
- package/src/features/Pickers/SliderPicker/index.ts +0 -1
- package/src/features/Pickers/StrokeStylePicker/StrokeStylePicker.module.css +0 -4
- package/src/features/Pickers/StrokeStylePicker/StrokeStylePicker.tsx +0 -59
- package/src/features/Pickers/StrokeStylePicker/index.ts +0 -1
- package/src/features/Pickers/VerticalAlignmentPicker.tsx +0 -48
- package/src/features/Presence/BringToMe/BringToMe.module.css +0 -134
- package/src/features/Presence/BringToMe/BringToMe.tsx +0 -363
- package/src/features/Presence/PresenceUsers/Dropdown.tsx +0 -70
- package/src/features/Presence/PresenceUsers/EyeIcon.tsx +0 -16
- package/src/features/Presence/PresenceUsers/PresenceUserAvatar.tsx +0 -93
- package/src/features/Presence/PresenceUsers/PresenceUsers.module.css +0 -366
- package/src/features/Presence/PresenceUsers/PresenceUsers.tsx +0 -239
- package/src/features/Presence/PresenceUsers/UserAvatar.tsx +0 -92
- package/src/features/Presence/PresenceUsers/mock.ts +0 -34
- package/src/features/Presence/UserTracking/UserTracking.module.css +0 -72
- package/src/features/Presence/UserTracking/UserTracking.tsx +0 -67
- package/src/features/ProfileSettingsModal/ProfileSettingsModal.module.css +0 -100
- package/src/features/ProfileSettingsModal/ProfileSettingsModal.tsx +0 -333
- package/src/features/ProfileSettingsModal/index.ts +0 -4
- package/src/features/QuickAddButtons/QuickAddButtonsClear.tsx +0 -12
- package/src/features/README.md +0 -36
- package/src/features/Rename/RenameContext.tsx +0 -54
- package/src/features/Rename/RenameInput.module.css +0 -15
- package/src/features/Rename/RenameInput.tsx +0 -78
- package/src/features/Rename/index.ts +0 -2
- package/src/features/ShapesPanel/ShapesCategory/ShapesCategory.module.css +0 -29
- package/src/features/ShapesPanel/ShapesCategory/ShapesCategory.tsx +0 -70
- package/src/features/ShapesPanel/ShapesPanel.module.css +0 -75
- package/src/features/ShapesPanel/ShapesPanel.tsx +0 -69
- package/src/features/ShapesPanel/ShapesPanelContext.tsx +0 -109
- package/src/features/ShapesPanel/index.ts +0 -5
- package/src/features/ShareModal/SaveShareModal.module.css +0 -31
- package/src/features/ShareModal/SaveShareModal.tsx +0 -63
- package/src/features/ShareModal/SearchInput.module.css +0 -188
- package/src/features/ShareModal/SearchInput.tsx +0 -441
- package/src/features/ShareModal/ShareModal.module.css +0 -297
- package/src/features/ShareModal/ShareModal.tsx +0 -627
- package/src/features/ShareModal/SharePanel.module.css +0 -74
- package/src/features/ShareModal/SharePanel.tsx +0 -258
- package/src/features/ShareModal/index.ts +0 -1
- package/src/features/ShareSnapshotModal/ShareSnapshotModal.module.css +0 -286
- package/src/features/ShareSnapshotModal/ShareSnapshotModal.tsx +0 -41
- package/src/features/ShareSnapshotModal/SnapshotNameInput.module.css +0 -92
- package/src/features/ShareSnapshotModal/SnapshotNameInput.tsx +0 -225
- package/src/features/ShareSnapshotModal/index.ts +0 -1
- package/src/features/SidePanel/LocalSidePanelContext.tsx +0 -66
- package/src/features/SidePanel/ResizableEdge.module.css +0 -9
- package/src/features/SidePanel/ResizableEdge.tsx +0 -77
- package/src/features/SidePanel/SidePanel.module.css +0 -140
- package/src/features/SidePanel/SidePanel.tsx +0 -179
- package/src/features/SidePanel/SidePanelContext.tsx +0 -108
- package/src/features/SidePanel/index.ts +0 -3
- package/src/features/SidePanelsContainer/SidePanelsContainer.module.css +0 -15
- package/src/features/SidePanelsContainer/SidePanelsContainer.tsx +0 -61
- package/src/features/SidePanelsContainer/index.ts +0 -1
- package/src/features/Templates/CreateTemplateModal/CreateTemplateModal.module.css +0 -34
- package/src/features/Templates/CreateTemplateModal/CreateTemplateModal.tsx +0 -463
- package/src/features/Templates/SelectTemplateModal/CategoriesMenu/CategoriesMenu.module.css +0 -48
- package/src/features/Templates/SelectTemplateModal/CategoriesMenu/CategoriesMenu.tsx +0 -62
- package/src/features/Templates/SelectTemplateModal/LanguagesDropdown/LanguagesDropdown.module.css +0 -61
- package/src/features/Templates/SelectTemplateModal/LanguagesDropdown/LanguagesDropdown.tsx +0 -72
- package/src/features/Templates/SelectTemplateModal/SelectTemplateModal.module.css +0 -152
- package/src/features/Templates/SelectTemplateModal/SelectTemplateModal.tsx +0 -206
- package/src/features/Templates/SelectTemplateModal/TemplateItemPreview/TemplateItemPreview.module.css +0 -151
- package/src/features/Templates/SelectTemplateModal/TemplateItemPreview/TemplateItemPreview.tsx +0 -77
- package/src/features/Templates/SelectTemplateModal/TemplateItemsGrid/TemplateItem/TemplateItem.tsx +0 -119
- package/src/features/Templates/SelectTemplateModal/TemplateItemsGrid/TemplateItem/templateItem.module.css +0 -88
- package/src/features/Templates/SelectTemplateModal/TemplateItemsGrid/TemplateItemsGrid.module.css +0 -51
- package/src/features/Templates/SelectTemplateModal/TemplateItemsGrid/TemplateItemsGrid.tsx +0 -39
- package/src/features/Templates/TolgeeProvider.tsx +0 -29
- package/src/features/Templates/config.ts +0 -6
- package/src/features/Templates/index.ts +0 -2
- package/src/features/Templates/lib.ts +0 -59
- package/src/features/TextEditor/Element.tsx +0 -204
- package/src/features/TextEditor/Leaf.tsx +0 -72
- package/src/features/TextEditor/README.md +0 -3
- package/src/features/TextEditor/TextEditor.module.css +0 -115
- package/src/features/TextEditor/TextEditor.tsx +0 -610
- package/src/features/TextEditor/index.ts +0 -1
- package/src/features/TextEditor/verticalAlignmentToFlex.tsx +0 -14
- package/src/features/TitlePanel/TitlePanel.module.css +0 -123
- package/src/features/TitlePanel/TitlePanel.tsx +0 -341
- package/src/features/TitlePanel/index.ts +0 -1
- package/src/features/ToastProvider.tsx +0 -33
- package/src/features/ToolsPanel/Buttons/AddConnector.tsx +0 -73
- package/src/features/ToolsPanel/Buttons/AddCounter.tsx +0 -29
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddDrawing.module.css +0 -13
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddDrawing.tsx +0 -115
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddDrawingContext.tsx +0 -15
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddHighlighter/AddHighlighter.module.css +0 -26
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddHighlighter/AddHighlighter.tsx +0 -138
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddPen/AddPen.module.css +0 -26
- package/src/features/ToolsPanel/Buttons/AddDrawing/AddPen/AddPen.tsx +0 -126
- package/src/features/ToolsPanel/Buttons/AddDrawing/Eraser/Eraser.tsx +0 -47
- package/src/features/ToolsPanel/Buttons/AddDrawing/index.ts +0 -1
- package/src/features/ToolsPanel/Buttons/AddFrame.tsx +0 -57
- package/src/features/ToolsPanel/Buttons/AddGameItem/AddCard.tsx +0 -31
- package/src/features/ToolsPanel/Buttons/AddGameItem/AddDice.tsx +0 -32
- package/src/features/ToolsPanel/Buttons/AddGameItem/AddGameItem.module.css +0 -3
- package/src/features/ToolsPanel/Buttons/AddGameItem/AddGameItem.tsx +0 -39
- package/src/features/ToolsPanel/Buttons/AddMedia/AddMedia.module.css +0 -3
- package/src/features/ToolsPanel/Buttons/AddMedia/AddMedia.tsx +0 -72
- package/src/features/ToolsPanel/Buttons/AddMedia/AddMediaButton.tsx +0 -146
- package/src/features/ToolsPanel/Buttons/AddShape/AddShape.module.css +0 -18
- package/src/features/ToolsPanel/Buttons/AddShape/AddShape.tsx +0 -97
- package/src/features/ToolsPanel/Buttons/AddShape/index.ts +0 -1
- package/src/features/ToolsPanel/Buttons/AddSticker.tsx +0 -73
- package/src/features/ToolsPanel/Buttons/AddTemplate.tsx +0 -28
- package/src/features/ToolsPanel/Buttons/AddText.tsx +0 -31
- package/src/features/ToolsPanel/Buttons/ButtonWithMenu/ButtonWithMenu.module.css +0 -9
- package/src/features/ToolsPanel/Buttons/ButtonWithMenu/ButtonWithMenu.tsx +0 -24
- package/src/features/ToolsPanel/Buttons/ButtonWithMenu/index.ts +0 -1
- package/src/features/ToolsPanel/Buttons/EventList/EventList.module.css +0 -5
- package/src/features/ToolsPanel/Buttons/EventList/EventList.tsx +0 -144
- package/src/features/ToolsPanel/Buttons/EventList/History.tsx +0 -140
- package/src/features/ToolsPanel/Buttons/EventList/HistoryEvent.tsx +0 -28
- package/src/features/ToolsPanel/Buttons/EventList/PrettifiedEvent.tsx +0 -212
- package/src/features/ToolsPanel/Buttons/EventList/SyncJournal.tsx +0 -89
- package/src/features/ToolsPanel/Buttons/EventList/index.ts +0 -1
- package/src/features/ToolsPanel/Buttons/Grab.tsx +0 -29
- package/src/features/ToolsPanel/Buttons/Redo.tsx +0 -40
- package/src/features/ToolsPanel/Buttons/Select.tsx +0 -37
- package/src/features/ToolsPanel/Buttons/Star.tsx +0 -31
- package/src/features/ToolsPanel/Buttons/Undo.tsx +0 -39
- package/src/features/ToolsPanel/PanelContext.ts +0 -13
- package/src/features/ToolsPanel/ToolsPanel.module.css +0 -33
- package/src/features/ToolsPanel/ToolsPanel.tsx +0 -84
- package/src/features/ToolsPanel/ViewToolsPanel.tsx +0 -30
- package/src/features/ToolsPanel/index.ts +0 -1
- package/src/features/UserPanel/ActionButtons/ActionButtons.module.css +0 -9
- package/src/features/UserPanel/ActionButtons/ActionButtons.tsx +0 -22
- package/src/features/UserPanel/Avatar/Avatar.module.css +0 -21
- package/src/features/UserPanel/Avatar/Avatar.tsx +0 -44
- package/src/features/UserPanel/Buttons/AddComment/AddComment.module.css +0 -14
- package/src/features/UserPanel/Buttons/AddComment/AddComment.tsx +0 -61
- package/src/features/UserPanel/Buttons/AddComment/index.ts +0 -1
- package/src/features/UserPanel/Buttons/ButtonWithMenu/ButtonWithMenu.module.css +0 -8
- package/src/features/UserPanel/Buttons/ButtonWithMenu/ButtonWithMenu.tsx +0 -24
- package/src/features/UserPanel/Buttons/ButtonWithMenu/index.ts +0 -1
- package/src/features/UserPanel/Buttons/ShareBtn/ShareBtn.tsx +0 -49
- package/src/features/UserPanel/Buttons/TogglePresenceRender/TogglePresenceRender.module.css +0 -48
- package/src/features/UserPanel/Buttons/TogglePresenceRender/TogglePresenceRender.tsx +0 -38
- package/src/features/UserPanel/UserAvatar/UserAvatar.tsx +0 -66
- package/src/features/UserPanel/UserDropdown/UserDropdown.tsx +0 -75
- package/src/features/UserPanel/UserPanel.module.css +0 -516
- package/src/features/UserPanel/UserPanel.tsx +0 -153
- package/src/features/UserPanel/UserPic/UserPic.tsx +0 -171
- package/src/features/UserPanel/icons/ChangePassword.tsx +0 -22
- package/src/features/UserPanel/icons/Click.tsx +0 -20
- package/src/features/UserPanel/icons/Logout.tsx +0 -22
- package/src/features/UserPanel/icons/Ring.tsx +0 -18
- package/src/features/UserPanel/icons/Thumb.tsx +0 -18
- package/src/features/UserPanel/icons/Upgrade.tsx +0 -20
- package/src/features/UserPanel/icons/UserShare.tsx +0 -18
- package/src/features/UserPlan/HistoryModal.tsx +0 -30
- package/src/features/UserPlan/HistoryTable.tsx +0 -114
- package/src/features/UserPlan/LimitsModal.tsx +0 -102
- package/src/features/UserPlan/LimitsTable.module.css +0 -131
- package/src/features/UserPlan/LimitsTable.tsx +0 -171
- package/src/features/UserPlan/PlanCard.module.css +0 -184
- package/src/features/UserPlan/PlanCard.tsx +0 -245
- package/src/features/UserPlan/PlanCards.module.css +0 -26
- package/src/features/UserPlan/PlanCards.tsx +0 -476
- package/src/features/UserPlan/SelectPaymentModal.module.css +0 -206
- package/src/features/UserPlan/SelectPaymentModal.tsx +0 -810
- package/src/features/UserPlan/UserPlanModal.module.css +0 -145
- package/src/features/UserPlan/UserPlanModal.tsx +0 -124
- package/src/features/UserPlan/UserPlanUsage.module.css +0 -101
- package/src/features/UserPlan/UserPlanUsage.tsx +0 -186
- package/src/features/UserPlan/index.ts +0 -1
- package/src/features/VideoPlayer/VideoCanvasControls.tsx +0 -59
- package/src/features/VideoPlayer/VideoPlayer.module.css +0 -3
- package/src/features/VideoPlayer/VideoPlayer.tsx +0 -158
- package/src/features/VideoPlayer/index.ts +0 -2
- package/src/features/ViewModeGuard.tsx +0 -62
- package/src/features/WalletLoginButton/WalletLoginButton.module.css +0 -7
- package/src/features/WalletLoginButton/WalletLoginButton.tsx +0 -77
- package/src/features/WalletLoginButton/index.ts +0 -1
- package/src/features/Widgets/Navbar/Navbar.css +0 -148
- package/src/features/Widgets/Navbar/Navbar.tsx +0 -75
- package/src/features/Widgets/Navbar/lead-icon.tsx +0 -25
- package/src/features/Widgets/form-notifications/password-changed.module.css +0 -39
- package/src/features/Widgets/form-notifications/password-changed.tsx +0 -28
- package/src/features/ZoomPanel/ZoomPanel.module.css +0 -32
- package/src/features/ZoomPanel/ZoomPanel.tsx +0 -105
- package/src/features/ZoomPanel/index.ts +0 -1
- package/src/features/hotkeys.json +0 -315
- package/src/features/hyperLink/HyperLink.module.css +0 -20
- package/src/features/hyperLink/HyperLink.tsx +0 -77
- package/src/features/hyperLink/HyperLinkContext.tsx +0 -57
- package/src/features/hyperLink/HyperLinkInput/HyperLinkInput.module.css +0 -47
- package/src/features/hyperLink/HyperLinkInput/HyperLinkInput.tsx +0 -196
- package/src/features/hyperLink/index.ts +0 -6
- package/src/features/index.drawio +0 -115
- package/src/features/index.svg +0 -1
- package/src/features/modules.d.ts +0 -22
- package/src/index.css +0 -65
- package/src/index.html +0 -74
- package/src/index.ts +0 -4
- package/src/initI18N.ts +0 -42
- package/src/pages/AddEmailView/AddEmailPage.module.css +0 -136
- package/src/pages/AddEmailView/AddEmailPage.tsx +0 -125
- package/src/pages/AddEmailView/index.ts +0 -1
- package/src/pages/BindEmailPage/BindEmailPage.module.css +0 -73
- package/src/pages/BindEmailPage/BindEmailPage.tsx +0 -263
- package/src/pages/BindEmailPage/index.ts +0 -1
- package/src/pages/BoardPage.tsx +0 -161
- package/src/pages/ForgotPasswordPage/ForgotPasswordPage.module.css +0 -82
- package/src/pages/ForgotPasswordPage/ForgotPasswordPage.tsx +0 -148
- package/src/pages/ForgotPasswordPage/SuccessIcon.tsx +0 -20
- package/src/pages/ForgotPasswordPage/index.ts +0 -1
- package/src/pages/HTMLSnapshot/HTMLSnapshot.tsx +0 -60
- package/src/pages/HTMLSnapshot/index.ts +0 -1
- package/src/pages/RestorePasswordPage/RestorePasswordPage.module.css +0 -46
- package/src/pages/RestorePasswordPage/RestorePasswordPage.tsx +0 -197
- package/src/pages/RestorePasswordPage/index.ts +0 -1
- package/src/pages/SelectBoardPage/SelectBoardPage.module.css +0 -247
- package/src/pages/SelectBoardPage/SelectBoardPage.tsx +0 -419
- package/src/pages/SelectBoardPage/getEmbedUrl.ts +0 -3
- package/src/pages/SelectBoardPage/index.ts +0 -1
- package/src/pages/SigninPage/SigninPage.module.css +0 -17
- package/src/pages/SigninPage/SigninPage.tsx +0 -201
- package/src/pages/SigninPage/index.ts +0 -1
- package/src/pages/SignupPage/EmailIcon.tsx +0 -24
- package/src/pages/SignupPage/LockIcon.tsx +0 -24
- package/src/pages/SignupPage/PeopleIcon.tsx +0 -23
- package/src/pages/SignupPage/SignupPage.module.css +0 -52
- package/src/pages/SignupPage/SignupPage.tsx +0 -282
- package/src/pages/SignupPage/index.ts +0 -1
- package/src/pages/TestPage.tsx +0 -52
- package/src/pages/VerifyMailPage/VerifyMailPage.module.css +0 -20
- package/src/pages/VerifyMailPage/VerifyMailPage.tsx +0 -287
- package/src/pages/VerifyMailPage/index.ts +0 -1
- package/src/pages/WelcomePage/WelcomePage.tsx +0 -76
- package/src/pages/WelcomePage/index.ts +0 -1
- package/src/pages/WelcomePage/welcomeBoard.json +0 -8727
- package/src/pages/WelcomePage/welcomeBoardEn.json +0 -9683
- package/src/pages/WheelLogger/WheelLogger.module.css +0 -32
- package/src/pages/WheelLogger/WheelLogger.tsx +0 -94
- package/src/pages/layouts/AppLayout.tsx +0 -86
- package/src/pages/layouts/AuthLayout/AuthLayout.module.css +0 -80
- package/src/pages/layouts/AuthLayout/AuthLayout.tsx +0 -74
- package/src/pages/layouts/AuthLayout/Tail.tsx +0 -23
- package/src/pages/layouts/AuthLayout/index.ts +0 -1
- package/src/production.entrypoint.ts +0 -39
- package/src/public/customWebComponents.js +0 -323
- package/src/public/loadLinksImages.js +0 -26
- package/src/shared/Lang/en.json +0 -1227
- package/src/shared/Lang/i18n.d.ts +0 -8
- package/src/shared/Lang/index.ts +0 -32
- package/src/shared/Lang/ru.json +0 -1226
- package/src/shared/Logger.ts +0 -72
- package/src/shared/RawEvents.ts +0 -7
- package/src/shared/Subject.ts +0 -29
- package/src/shared/SubjectOperation.ts +0 -31
- package/src/shared/ViewSettings.tsx +0 -9
- package/src/shared/api/ai/api.ts +0 -6
- package/src/shared/api/ai/index.ts +0 -3
- package/src/shared/api/ai/requestMap.ts +0 -22
- package/src/shared/api/ai/types.ts +0 -6
- package/src/shared/api/auth/api.ts +0 -78
- package/src/shared/api/auth/index.ts +0 -2
- package/src/shared/api/auth/types.ts +0 -51
- package/src/shared/api/base/base.ts +0 -244
- package/src/shared/api/base/httpError.ts +0 -10
- package/src/shared/api/base/httpResponse.ts +0 -7
- package/src/shared/api/base/interceptors.ts +0 -64
- package/src/shared/api/base/types.ts +0 -18
- package/src/shared/api/billing/api.ts +0 -79
- package/src/shared/api/billing/index.ts +0 -2
- package/src/shared/api/billing/types.ts +0 -155
- package/src/shared/api/boards/api.ts +0 -128
- package/src/shared/api/boards/index.ts +0 -2
- package/src/shared/api/boards/types.ts +0 -15
- package/src/shared/api/index.ts +0 -8
- package/src/shared/api/media/index.ts +0 -3
- package/src/shared/api/media/uploadAudio.ts +0 -53
- package/src/shared/api/media/uploadImage.ts +0 -180
- package/src/shared/api/media/uploadVideo.ts +0 -48
- package/src/shared/api/types.ts +0 -3
- package/src/shared/api/users/api.ts +0 -37
- package/src/shared/api/users/index.ts +0 -2
- package/src/shared/api/users/types.ts +0 -17
- package/src/shared/apiV2/base.ts +0 -9
- package/src/shared/apiV2/boards/api.ts +0 -143
- package/src/shared/apiV2/boards/index.ts +0 -2
- package/src/shared/apiV2/boards/types.ts +0 -66
- package/src/shared/apiV2/folders/api.ts +0 -81
- package/src/shared/apiV2/folders/index.ts +0 -2
- package/src/shared/apiV2/folders/types.ts +0 -35
- package/src/shared/apiV2/index.ts +0 -2
- package/src/shared/assets/imgs/default-user-icon.svg +0 -12
- package/src/shared/assets/imgs/no-img-icon.svg +0 -3
- package/src/shared/lib/IframeModule.ts +0 -223
- package/src/shared/lib/convertColors.ts +0 -51
- package/src/shared/lib/debounce.ts +0 -9
- package/src/shared/lib/getCorrectEnding.ts +0 -19
- package/src/shared/lib/getEmailPrefix.ts +0 -13
- package/src/shared/lib/handleClickDetection.ts +0 -25
- package/src/shared/lib/isIframe.ts +0 -3
- package/src/shared/lib/isMicroboardIframe.ts +0 -3
- package/src/shared/lib/queryStringParser.ts +0 -18
- package/src/shared/lib/regex.ts +0 -4
- package/src/shared/lib/strictContext.ts +0 -14
- package/src/shared/lib/throttle.ts +0 -59
- package/src/shared/lib/useClickOutside.ts +0 -50
- package/src/shared/lib/useClientRect.ts +0 -34
- package/src/shared/lib/useDebounce.ts +0 -22
- package/src/shared/lib/useForceUpdate.ts +0 -7
- package/src/shared/lib/useHoverState.ts +0 -14
- package/src/shared/lib/useIsPhoneScreen.ts +0 -21
- package/src/shared/lib/useMediaQuery.tsx +0 -19
- package/src/shared/lib/withRouter.tsx +0 -21
- package/src/shared/sha256.ts +0 -22
- package/src/shared/ui-lib/Button/Button.module.css +0 -179
- package/src/shared/ui-lib/Button/Button.tsx +0 -43
- package/src/shared/ui-lib/Button/Loader.tsx +0 -20
- package/src/shared/ui-lib/Button/index.ts +0 -1
- package/src/shared/ui-lib/Checkbox/Checkbox.module.css +0 -44
- package/src/shared/ui-lib/Checkbox/Checkbox.tsx +0 -42
- package/src/shared/ui-lib/Checkbox/index.ts +0 -1
- package/src/shared/ui-lib/Dropdown/Chevron.tsx +0 -24
- package/src/shared/ui-lib/Dropdown/Dropdown.module.css +0 -48
- package/src/shared/ui-lib/Dropdown/Dropdown.tsx +0 -42
- package/src/shared/ui-lib/Icon/ConnectorIcon.tsx +0 -33
- package/src/shared/ui-lib/Icon/ConnectorPointerIcon.tsx +0 -50
- package/src/shared/ui-lib/Icon/EyeClosed.tsx +0 -34
- package/src/shared/ui-lib/Icon/EyeOpened.tsx +0 -56
- package/src/shared/ui-lib/Icon/FillColorIndicator/FillColorIndicator.module.css +0 -11
- package/src/shared/ui-lib/Icon/FillColorIndicator/FillColorIndicator.tsx +0 -26
- package/src/shared/ui-lib/Icon/FillColorIndicator/bg.png +0 -0
- package/src/shared/ui-lib/Icon/FillColorIndicator/index.ts +0 -1
- package/src/shared/ui-lib/Icon/FrameIcon.tsx +0 -33
- package/src/shared/ui-lib/Icon/Icon.module.css +0 -11
- package/src/shared/ui-lib/Icon/Icon.tsx +0 -212
- package/src/shared/ui-lib/Icon/Logo.tsx +0 -23
- package/src/shared/ui-lib/Icon/ShapeIcon.tsx +0 -33
- package/src/shared/ui-lib/Icon/StrokeColorIndicator.tsx +0 -51
- package/src/shared/ui-lib/Icon/TextColorIndicator/TextColorIndicator.module.css +0 -14
- package/src/shared/ui-lib/Icon/TextColorIndicator/TextColorIndicator.tsx +0 -22
- package/src/shared/ui-lib/Icon/TextColorIndicator/index.ts +0 -1
- package/src/shared/ui-lib/Icon/TextHighlightIndicator/TextHighlightIndicator.module.css +0 -15
- package/src/shared/ui-lib/Icon/TextHighlightIndicator/TextHighlightIndicator.tsx +0 -22
- package/src/shared/ui-lib/Icon/TextHighlightIndicator/index.ts +0 -1
- package/src/shared/ui-lib/Icon/index.ts +0 -11
- package/src/shared/ui-lib/Icon/sprite.svg +0 -1707
- package/src/shared/ui-lib/Input/EyeClose.tsx +0 -22
- package/src/shared/ui-lib/Input/EyeOpen.tsx +0 -23
- package/src/shared/ui-lib/Input/Input.css +0 -130
- package/src/shared/ui-lib/Input/Input.tsx +0 -205
- package/src/shared/ui-lib/Input/index.ts +0 -1
- package/src/shared/ui-lib/Link/Link.module.css +0 -38
- package/src/shared/ui-lib/Link/Link.tsx +0 -19
- package/src/shared/ui-lib/Link/index.ts +0 -1
- package/src/shared/ui-lib/Loader/Loader.module.css +0 -9
- package/src/shared/ui-lib/Loader/Loader.tsx +0 -27
- package/src/shared/ui-lib/Message/Message.module.css +0 -26
- package/src/shared/ui-lib/Message/Message.tsx +0 -37
- package/src/shared/ui-lib/Notification/Notification.module.css +0 -58
- package/src/shared/ui-lib/Notification/Notification.tsx +0 -75
- package/src/shared/ui-lib/Notification/index.ts +0 -1
- package/src/shared/ui-lib/OuterLink/OuterLink.module.css +0 -38
- package/src/shared/ui-lib/OuterLink/OuterLink.tsx +0 -16
- package/src/shared/ui-lib/OuterLink/index.ts +0 -1
- package/src/shared/ui-lib/Progress/Progress.module.css +0 -16
- package/src/shared/ui-lib/Progress/Progress.tsx +0 -35
- package/src/shared/ui-lib/Selector/Selector.module.css +0 -91
- package/src/shared/ui-lib/Selector/Selector.tsx +0 -170
- package/src/shared/ui-lib/Selector/index.ts +0 -1
- package/src/shared/ui-lib/Toast/Toast.module.css +0 -142
- package/src/shared/ui-lib/Toast/index.ts +0 -2
- package/src/shared/ui-lib/Toast/notify.tsx +0 -119
- package/src/shared/ui-lib/ToggleMark/ToggleMark.module.css +0 -22
- package/src/shared/ui-lib/ToggleMark/ToggleMark.tsx +0 -15
- package/src/shared/ui-lib/Tooltip/Tooltip.module.css +0 -195
- package/src/shared/ui-lib/Tooltip/Tooltip.tsx +0 -99
- package/src/shared/ui-lib/Tooltip/index.tsx +0 -1
- package/src/shared/ui-lib/Transitions/FadeTransition.module.css +0 -22
- package/src/shared/ui-lib/Transitions/FadeTransition.tsx +0 -25
- package/src/shared/ui-lib/Transitions/OpacityTransition.module.css +0 -17
- package/src/shared/ui-lib/Transitions/OpacityTransition.tsx +0 -27
- package/src/shared/ui-lib/Transitions/TopFade.module.css +0 -25
- package/src/shared/ui-lib/Transitions/TopFade.tsx +0 -27
- package/src/shared/ui-lib/Transitions/index.ts +0 -2
- package/src/shared/ui-lib/Transitions/types.ts +0 -7
- package/src/shared/ui-lib/UIMainLoader/UIMainLoader.module.css +0 -8
- package/src/shared/ui-lib/UIMainLoader/UIMainLoader.tsx +0 -10
- package/src/shared/ui-lib/UiAccordion/UiAccordion.module.css +0 -4
- package/src/shared/ui-lib/UiAccordion/UiAccordion.tsx +0 -47
- package/src/shared/ui-lib/UiAccordion/index.ts +0 -1
- package/src/shared/ui-lib/UiAdaptiveAccordion/UiAdaptiveAccordion.module.css +0 -22
- package/src/shared/ui-lib/UiAdaptiveAccordion/UiAdaptiveAccordion.tsx +0 -90
- package/src/shared/ui-lib/UiAdaptiveAccordion/index.ts +0 -2
- package/src/shared/ui-lib/UiButton/Loader.tsx +0 -20
- package/src/shared/ui-lib/UiButton/Tooltip.tsx +0 -98
- package/src/shared/ui-lib/UiButton/UiButton.module.css +0 -306
- package/src/shared/ui-lib/UiButton/UiButton.tsx +0 -119
- package/src/shared/ui-lib/UiButton/index.ts +0 -1
- package/src/shared/ui-lib/UiColorInput/UiColorInput.module.css +0 -66
- package/src/shared/ui-lib/UiColorInput/UiColorInput.tsx +0 -66
- package/src/shared/ui-lib/UiColorInput/index.ts +0 -1
- package/src/shared/ui-lib/UiColorInput/palette.png +0 -0
- package/src/shared/ui-lib/UiLink/UiLink.module.css +0 -175
- package/src/shared/ui-lib/UiLink/UiLink.tsx +0 -72
- package/src/shared/ui-lib/UiLink/index.ts +0 -1
- package/src/shared/ui-lib/UiLoader/UiLoader.module.css +0 -19
- package/src/shared/ui-lib/UiLoader/UiLoader.tsx +0 -31
- package/src/shared/ui-lib/UiLoader/index.ts +0 -1
- package/src/shared/ui-lib/UiModal/UiModal.module.css +0 -188
- package/src/shared/ui-lib/UiModal/UiModal.tsx +0 -182
- package/src/shared/ui-lib/UiModal/UiModalBackground.tsx +0 -62
- package/src/shared/ui-lib/UiModal/UiModalContext.tsx +0 -90
- package/src/shared/ui-lib/UiModal/index.ts +0 -2
- package/src/shared/ui-lib/UiPanel/UiPanel.module.css +0 -52
- package/src/shared/ui-lib/UiPanel/UiPanel.tsx +0 -70
- package/src/shared/ui-lib/UiPanel/index.ts +0 -1
- package/src/shared/ui-lib/UiSelector/UiSelector.module.css +0 -143
- package/src/shared/ui-lib/UiSelector/UiSelector.tsx +0 -202
- package/src/shared/ui-lib/UiSelector/index.ts +0 -2
- package/src/shared/ui-lib/UiSeparator/UiSeparator.module.css +0 -18
- package/src/shared/ui-lib/UiSeparator/UiSeparator.tsx +0 -33
- package/src/shared/ui-lib/UiSeparator/index.ts +0 -1
- package/src/shared/ui-lib/UiSkeleton/UiSkeleton.module.css +0 -37
- package/src/shared/ui-lib/UiSkeleton/UiSkeleton.tsx +0 -10
- package/src/shared/ui-lib/UiSkeleton/index.ts +0 -1
- package/src/shared/ui-lib/UiSlider/UiSlider.module.css +0 -75
- package/src/shared/ui-lib/UiSlider/UiSlider.tsx +0 -50
- package/src/shared/ui-lib/UiSlider/index.ts +0 -1
- package/src/shared/ui-lib/UiSwitch/UiSwitch.module.css +0 -48
- package/src/shared/ui-lib/UiSwitch/UiSwitch.tsx +0 -103
- package/src/shared/ui-lib/UiSwitch/index.ts +0 -1
- package/src/staticResources.ts +0 -410
- package/src/version.ts +0 -1
- package/tsconfig.json +0 -42
- /package/{src/public → public}/favicon.svg +0 -0
- /package/{src/public → public}/favicons/apple-touch-icon.png +0 -0
- /package/{src/public → public}/favicons/favicon-16x16.png +0 -0
- /package/{src/public → public}/favicons/favicon-32x32.png +0 -0
- /package/{src/public → public}/favicons/favicon.ico +0 -0
- /package/{src/public → public}/favicons/favicon.svg +0 -0
- /package/{src/public → public}/favicons/site.webmanifest +0 -0
- /package/{src/public → public}/favicons/web-app-manifest-192x192.png +0 -0
- /package/{src/public → public}/favicons/web-app-manifest-512x512.png +0 -0
- /package/{src/public → public}/loader.svg +0 -0
package/dist/index.js
CHANGED
|
@@ -302044,9 +302044,11 @@ var UiButton = import_react115.forwardRef(({
|
|
|
302044
302044
|
tooltipVariant = "primary",
|
|
302045
302045
|
hideTooltip,
|
|
302046
302046
|
loading,
|
|
302047
|
+
id: id3,
|
|
302047
302048
|
...props
|
|
302048
302049
|
}, ref4) => {
|
|
302049
302050
|
return /* @__PURE__ */ import_react115.default.createElement("button", {
|
|
302051
|
+
id: id3,
|
|
302050
302052
|
className: clsx_default(UiButton_module_default.button, active2 && UiButton_module_default.active, UiButton_module_default[variant], UiButton_module_default[size9], {
|
|
302051
302053
|
[UiButton_module_default.topRounded]: rounded === "top",
|
|
302052
302054
|
[UiButton_module_default.bottomRounded]: rounded === "bottom",
|
|
@@ -307885,12 +307887,6 @@ function getConfiguredI18n() {
|
|
|
307885
307887
|
// src/App/BoardsList.ts
|
|
307886
307888
|
function getI18n2() {
|
|
307887
307889
|
const i18nInstance2 = getConfiguredI18n();
|
|
307888
|
-
console.log("getI18n called, instance:", i18nInstance2);
|
|
307889
|
-
if (i18nInstance2) {
|
|
307890
|
-
console.log("i18n instance isInitialized:", i18nInstance2.isInitialized);
|
|
307891
|
-
console.log("i18n instance language:", i18nInstance2.language);
|
|
307892
|
-
console.log("i18n instance resources:", i18nInstance2.store?.data);
|
|
307893
|
-
}
|
|
307894
307890
|
return i18nInstance2 || {
|
|
307895
307891
|
t: (key) => {
|
|
307896
307892
|
console.log("Using fallback i18n for key:", key);
|
package/package.json
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"clean": "rimraf dist",
|
|
9
|
-
"build:
|
|
8
|
+
"clean": "rimraf dist public",
|
|
9
|
+
"build:static": "bun run scripts/buildStatic.ts",
|
|
10
10
|
"build:pkg": "bun run scripts/buildPkg.ts",
|
|
11
|
+
"build": "bun run build:pkg; bun run build:static",
|
|
11
12
|
"start": "bun run server.ts"
|
|
12
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"public"
|
|
17
|
+
],
|
|
13
18
|
"exports": {
|
|
14
19
|
".": {
|
|
15
20
|
"import": "./dist/index.js"
|
|
16
21
|
},
|
|
22
|
+
"./static/*": "./public/*",
|
|
17
23
|
"./style": "./dist/index.css"
|
|
18
24
|
},
|
|
19
25
|
"devDependencies": {
|
|
@@ -37,6 +43,7 @@
|
|
|
37
43
|
"@wagmi/connectors": "^5.8.5",
|
|
38
44
|
"bun": "^1.2.18",
|
|
39
45
|
"clsx": "^2.1.1",
|
|
46
|
+
"esbuild": "^0.25.6",
|
|
40
47
|
"ethers": "^6.15.0",
|
|
41
48
|
"i18next": "^25.3.1",
|
|
42
49
|
"i18next-browser-languagedetector": "^8.2.0",
|
package/public/board.css
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import "https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";
|
|
2
|
+
@import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap";
|
|
3
|
+
|
|
4
|
+
/* src/board.css */
|
|
5
|
+
:root {
|
|
6
|
+
--background-surface-default: rgb(255, 255, 255);
|
|
7
|
+
--background-button-secondary: rgb(255, 255, 255);
|
|
8
|
+
--background-button-secondary-hover: rgb(247, 247, 248);
|
|
9
|
+
--background-badge-purple-disabled: rgb(247, 241, 253);
|
|
10
|
+
--background-badge-gray: rgb(233, 234, 236);
|
|
11
|
+
--background-accent-purple: rgb(146, 79, 232);
|
|
12
|
+
--border-action-normal: rgb(222, 223, 227);
|
|
13
|
+
--border-action-focus: rgb(146, 79, 232);
|
|
14
|
+
--border-select-primary: rgb(146, 79, 232);
|
|
15
|
+
--text-base-primary: rgb(20, 21, 26);
|
|
16
|
+
--text-base-secondary: rgba(15, 19, 36, 0.6);
|
|
17
|
+
--text-base-quaternary: rgb(10, 15, 41, 0.25);
|
|
18
|
+
--text-accent-purple: rgb(152, 89, 233);
|
|
19
|
+
--icon-base-primary: rgb(20, 21, 26);
|
|
20
|
+
--icon-base-secondary: rgb(105, 107, 118);
|
|
21
|
+
--icon-accent-purple: rgb(146, 79, 232);
|
|
22
|
+
--absolute-position-panel-padding: 12px;
|
|
23
|
+
}
|
|
24
|
+
* {
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
padding: 0;
|
|
27
|
+
margin: 0;
|
|
28
|
+
border: none;
|
|
29
|
+
background: none;
|
|
30
|
+
font-family: inherit;
|
|
31
|
+
}
|
|
32
|
+
html {
|
|
33
|
+
font-size: 62.5%;
|
|
34
|
+
}
|
|
35
|
+
body {
|
|
36
|
+
color: var(--text-base-primary);
|
|
37
|
+
font-size: 1.6rem;
|
|
38
|
+
font-optical-sizing: auto;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-family: "Manrope", sans-serif;
|
|
41
|
+
background-color: rgba(200, 200, 200, 0.2);
|
|
42
|
+
}
|
|
43
|
+
html,
|
|
44
|
+
body {
|
|
45
|
+
overscroll-behavior-x: none;
|
|
46
|
+
-webkit-user-select: none;
|
|
47
|
+
}
|
|
48
|
+
input:-webkit-autofill,
|
|
49
|
+
input:-webkit-autofill:hover,
|
|
50
|
+
input:-webkit-autofill:focus,
|
|
51
|
+
input:-webkit-autofill:active {
|
|
52
|
+
-webkit-box-shadow: 0 0 0 30px white inset !important;
|
|
53
|
+
}
|
|
54
|
+
::-webkit-scrollbar {
|
|
55
|
+
appearance: none;
|
|
56
|
+
width: 3px;
|
|
57
|
+
height: 3px;
|
|
58
|
+
}
|
|
59
|
+
::-webkit-scrollbar-button {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
::-webkit-scrollbar-thumb {
|
|
63
|
+
display: block;
|
|
64
|
+
background-color: black;
|
|
65
|
+
border-radius: 2px;
|
|
66
|
+
}
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
<head>
|
|
2
|
+
<meta charset="utf-8" />
|
|
3
|
+
<meta name="last-event-order" content="0" />
|
|
4
|
+
<title>Microboard basic board</title>
|
|
5
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
6
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
7
|
+
<link
|
|
8
|
+
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap"
|
|
9
|
+
rel="stylesheet"
|
|
10
|
+
/>
|
|
11
|
+
<!-- <link rel="stylesheet" crossorigin href="./board.css" /> -->
|
|
12
|
+
<link rel="stylesheet" crossorigin href="https://unpkg.com/microboard-ui-temp@0.0.11/static/board.css" />
|
|
13
|
+
<!-- <style>
|
|
14
|
+
@import "https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";
|
|
15
|
+
@import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap";
|
|
16
|
+
|
|
17
|
+
:root {
|
|
18
|
+
--background-surface-default: rgb(255, 255, 255);
|
|
19
|
+
--background-button-secondary: rgb(255, 255, 255);
|
|
20
|
+
--background-button-secondary-hover: rgb(247, 247, 248);
|
|
21
|
+
--background-badge-purple-disabled: rgb(247, 241, 253);
|
|
22
|
+
--background-badge-gray: rgb(233, 234, 236);
|
|
23
|
+
--background-accent-purple: rgb(146, 79, 232);
|
|
24
|
+
--border-action-normal: rgb(222, 223, 227);
|
|
25
|
+
--border-action-focus: rgb(146, 79, 232);
|
|
26
|
+
--border-select-primary: rgb(146, 79, 232);
|
|
27
|
+
--text-base-primary: rgb(20, 21, 26);
|
|
28
|
+
--text-base-secondary: rgba(15, 19, 36, 0.6);
|
|
29
|
+
--text-base-quaternary: rgb(10, 15, 41, 0.25);
|
|
30
|
+
--text-accent-purple: rgb(152, 89, 233);
|
|
31
|
+
--icon-base-primary: rgb(20, 21, 26);
|
|
32
|
+
--icon-base-secondary: rgb(105, 107, 118);
|
|
33
|
+
--icon-accent-purple: rgb(146, 79, 232);
|
|
34
|
+
--absolute-position-panel-padding: 12px;
|
|
35
|
+
}
|
|
36
|
+
* {
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
padding: 0;
|
|
39
|
+
margin: 0;
|
|
40
|
+
border: none;
|
|
41
|
+
background: none;
|
|
42
|
+
font-family: inherit;
|
|
43
|
+
}
|
|
44
|
+
html {
|
|
45
|
+
font-size: 62.5%;
|
|
46
|
+
}
|
|
47
|
+
body {
|
|
48
|
+
color: var(--text-base-primary);
|
|
49
|
+
font-size: 1.6rem;
|
|
50
|
+
font-optical-sizing: auto;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-family: "Manrope", sans-serif;
|
|
53
|
+
background-color: rgba(200, 200, 200, 0.2);
|
|
54
|
+
}
|
|
55
|
+
html,
|
|
56
|
+
body {
|
|
57
|
+
overscroll-behavior-x: none;
|
|
58
|
+
-webkit-user-select: none;
|
|
59
|
+
}
|
|
60
|
+
input:-webkit-autofill,
|
|
61
|
+
input:-webkit-autofill:hover,
|
|
62
|
+
input:-webkit-autofill:focus,
|
|
63
|
+
input:-webkit-autofill:active {
|
|
64
|
+
-webkit-box-shadow: 0 0 0 30px white inset !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
::-webkit-scrollbar {
|
|
68
|
+
appearance: none;
|
|
69
|
+
width: 3px;
|
|
70
|
+
height: 3px;
|
|
71
|
+
}
|
|
72
|
+
::-webkit-scrollbar-button {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
::-webkit-scrollbar-thumb {
|
|
76
|
+
display: block;
|
|
77
|
+
background-color: black;
|
|
78
|
+
border-radius: 2px;
|
|
79
|
+
}
|
|
80
|
+
</style> -->
|
|
81
|
+
<body style="overflow-x: hidden; overflow-y: hidden">
|
|
82
|
+
<div id="items"></div>
|
|
83
|
+
<!-- <script type="module">
|
|
84
|
+
/* eslint-disable max-classes-per-file, @typescript-eslint/no-useless-constructor */
|
|
85
|
+
class RichTextElement extends HTMLElement {
|
|
86
|
+
constructor() {
|
|
87
|
+
super();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
class ShapeItemElement extends HTMLElement {
|
|
92
|
+
constructor() {
|
|
93
|
+
super();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
class StickerElement extends HTMLElement {
|
|
98
|
+
constructor() {
|
|
99
|
+
super();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
class DrawingElement extends HTMLElement {
|
|
104
|
+
constructor() {
|
|
105
|
+
super();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
class ConnectorElement extends HTMLElement {
|
|
110
|
+
constructor() {
|
|
111
|
+
super();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
class FrameItemElement extends HTMLElement {
|
|
116
|
+
constructor() {
|
|
117
|
+
super();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class ImageItemElement extends HTMLElement {
|
|
122
|
+
constructor() {
|
|
123
|
+
super();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
class LinkItemElement extends HTMLElement {
|
|
128
|
+
constructor() {
|
|
129
|
+
super();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
class AINodeItemElement extends HTMLElement {
|
|
134
|
+
constructor() {
|
|
135
|
+
super();
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class VideoItemElement extends HTMLElement {
|
|
140
|
+
constructor() {
|
|
141
|
+
super();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
class CommentElement extends HTMLElement {
|
|
146
|
+
constructor() {
|
|
147
|
+
super();
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
class AudioItemElement extends HTMLElement {
|
|
152
|
+
constructor() {
|
|
153
|
+
super();
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
customElements.define("rich-text", RichTextElement);
|
|
158
|
+
customElements.define("shape-item", ShapeItemElement);
|
|
159
|
+
customElements.define("sticker-item", StickerElement);
|
|
160
|
+
customElements.define("drawing-item", DrawingElement);
|
|
161
|
+
customElements.define("connector-item", ConnectorElement);
|
|
162
|
+
customElements.define("frame-item", FrameItemElement);
|
|
163
|
+
customElements.define("image-item", ImageItemElement);
|
|
164
|
+
customElements.define("link-item", LinkItemElement);
|
|
165
|
+
customElements.define("ainode-item", AINodeItemElement);
|
|
166
|
+
customElements.define("video-item", VideoItemElement);
|
|
167
|
+
customElements.define("comment-item", CommentElement);
|
|
168
|
+
customElements.define("audio-item", AudioItemElement);
|
|
169
|
+
|
|
170
|
+
document.addEventListener("DOMContentLoaded", () => {
|
|
171
|
+
const itemsDiv = document.querySelector("#items");
|
|
172
|
+
if (!itemsDiv) {
|
|
173
|
+
console.error("ITEMS DIV NOT FOUND!");
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
let isDragging = false;
|
|
177
|
+
let startX, startY;
|
|
178
|
+
let translateX = 0;
|
|
179
|
+
let translateY = 0;
|
|
180
|
+
let scale = 1;
|
|
181
|
+
|
|
182
|
+
itemsDiv.style.transformOrigin = "0 0";
|
|
183
|
+
document.body.style.cursor = "grab";
|
|
184
|
+
|
|
185
|
+
function updateTransform() {
|
|
186
|
+
itemsDiv.style.transform =
|
|
187
|
+
"translate(" +
|
|
188
|
+
translateX +
|
|
189
|
+
"px, " +
|
|
190
|
+
translateY +
|
|
191
|
+
"px) scale(" +
|
|
192
|
+
scale +
|
|
193
|
+
")";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function handleMouseDown(ev) {
|
|
197
|
+
isDragging = true;
|
|
198
|
+
startX = ev.clientX;
|
|
199
|
+
startY = ev.clientY;
|
|
200
|
+
itemsDiv.style.cursor = "grabbing";
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function handleMouseMove(ev) {
|
|
204
|
+
if (!isDragging) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
const dx = ev.clientX - startX;
|
|
208
|
+
const dy = ev.clientY - startY;
|
|
209
|
+
startX += dx;
|
|
210
|
+
startY += dy;
|
|
211
|
+
translateX += dx;
|
|
212
|
+
translateY += dy;
|
|
213
|
+
updateTransform();
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function handleMouseUp(ev) {
|
|
217
|
+
if (!isDragging) {
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
isDragging = false;
|
|
221
|
+
itemsDiv.style.cursor = "grab";
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
function handleWheel(ev) {
|
|
225
|
+
ev.preventDefault();
|
|
226
|
+
const factor = ev.deltaY < 0 ? 1.1 : 0.9;
|
|
227
|
+
translateX = ev.clientX - (ev.clientX - translateX) * factor;
|
|
228
|
+
translateY = ev.clientY - (ev.clientY - translateY) * factor;
|
|
229
|
+
scale *= factor;
|
|
230
|
+
updateTransform();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
document.addEventListener("mousedown", handleMouseDown);
|
|
234
|
+
document.addEventListener("mousemove", handleMouseMove);
|
|
235
|
+
document.addEventListener("mouseup", handleMouseUp);
|
|
236
|
+
document.addEventListener("wheel", handleWheel, { passive: false });
|
|
237
|
+
|
|
238
|
+
const titlePanel = document.createElement("div");
|
|
239
|
+
titlePanel.style.boxShadow =
|
|
240
|
+
"0px 10px 16px -3px rgba(20, 21, 26, 0.08)";
|
|
241
|
+
titlePanel.style.position = "fixed";
|
|
242
|
+
titlePanel.style.left = "12px";
|
|
243
|
+
titlePanel.style.top = "12px";
|
|
244
|
+
titlePanel.style.borderRadius = "12px";
|
|
245
|
+
titlePanel.style.backgroundColor = "#ffff";
|
|
246
|
+
titlePanel.style.display = "flex";
|
|
247
|
+
titlePanel.style.alignItems = "center";
|
|
248
|
+
titlePanel.style.gap = "8px";
|
|
249
|
+
titlePanel.style.padding = "0 12px";
|
|
250
|
+
titlePanel.style.height = "48px";
|
|
251
|
+
const editButton = document.createElement("button");
|
|
252
|
+
const editIcon = document.createElementNS(
|
|
253
|
+
"http://www.w3.org/2000/svg",
|
|
254
|
+
"svg"
|
|
255
|
+
);
|
|
256
|
+
editIcon.setAttribute("width", "13");
|
|
257
|
+
editIcon.setAttribute("height", "13");
|
|
258
|
+
editIcon.setAttribute("viewBox", "0 0 13 13");
|
|
259
|
+
editIcon.setAttribute("fill", "none");
|
|
260
|
+
editIcon.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
261
|
+
const editIconPath = document.createElementNS(
|
|
262
|
+
"http://www.w3.org/2000/svg",
|
|
263
|
+
"path"
|
|
264
|
+
);
|
|
265
|
+
editIconPath.setAttribute(
|
|
266
|
+
"d",
|
|
267
|
+
"M7.838 0.999902V2.33324H1.33333V11.6666H10.6667V5.1619H12V12.3332C12 12.51 11.9298 12.6796 11.8047 12.8046C11.6797 12.9297 11.5101 12.9999 11.3333 12.9999H0.666667C0.489856 12.9999 0.320286 12.9297 0.195262 12.8046C0.0702379 12.6796 0 12.51 0 12.3332V1.66657C0 1.48976 0.0702379 1.32019 0.195262 1.19516C0.320286 1.07014 0.489856 0.999902 0.666667 0.999902H7.838ZM11.1847 0.872018C11.4453 0.611315 11.868 0.611355 12.1285 0.872108C12.3889 1.1327 12.3889 1.55503 12.1284 1.81553L6.472 7.4719L5.53067 7.4739L5.52933 6.52924L11.1847 0.872018Z"
|
|
268
|
+
);
|
|
269
|
+
editIconPath.setAttribute("fill", "#ffff");
|
|
270
|
+
editIcon.appendChild(editIconPath);
|
|
271
|
+
editButton.appendChild(editIcon);
|
|
272
|
+
const editFileText = document.createElement("p");
|
|
273
|
+
const isSnapshotInIframe =
|
|
274
|
+
window.parent &&
|
|
275
|
+
window.parent !== window &&
|
|
276
|
+
window.parent.location.href.includes("/snapshots/");
|
|
277
|
+
editFileText.textContent = isSnapshotInIframe
|
|
278
|
+
? "Edit copy"
|
|
279
|
+
: "Edit file";
|
|
280
|
+
editButton.appendChild(editFileText);
|
|
281
|
+
|
|
282
|
+
editButton.style.backgroundColor = "rgba(20, 21, 26, 1)";
|
|
283
|
+
editButton.style.cursor = "pointer";
|
|
284
|
+
editButton.style.boxShadow = "0px 1px 2px 0px rgba(20, 21, 26, 0.05)";
|
|
285
|
+
editButton.style.color = "#ffff";
|
|
286
|
+
editButton.style.fontSize = "14px";
|
|
287
|
+
editButton.style.lineHeight = "20px";
|
|
288
|
+
editButton.style.display = "flex";
|
|
289
|
+
editButton.style.alignItems = "center";
|
|
290
|
+
editButton.style.gap = "8px";
|
|
291
|
+
editButton.style.padding = "8px";
|
|
292
|
+
editButton.style.borderRadius = "10px";
|
|
293
|
+
const separator = document.createElement("div");
|
|
294
|
+
separator.style.borderRight = "1px solid rgba(222, 224, 227, 1)";
|
|
295
|
+
separator.style.height = "100%";
|
|
296
|
+
const boardName = document.createElement("div");
|
|
297
|
+
const fileIcon = document.createElementNS(
|
|
298
|
+
"http://www.w3.org/2000/svg",
|
|
299
|
+
"svg"
|
|
300
|
+
);
|
|
301
|
+
fileIcon.setAttribute("width", "16");
|
|
302
|
+
fileIcon.setAttribute("height", "18");
|
|
303
|
+
fileIcon.setAttribute("viewBox", "0 0 16 18");
|
|
304
|
+
fileIcon.setAttribute("fill", "none");
|
|
305
|
+
fileIcon.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
306
|
+
const path = document.createElementNS(
|
|
307
|
+
"http://www.w3.org/2000/svg",
|
|
308
|
+
"path"
|
|
309
|
+
);
|
|
310
|
+
path.setAttribute(
|
|
311
|
+
"d",
|
|
312
|
+
"M10.5 2.33341H2.16667V15.6667H13.8333V5.66675H10.5V2.33341ZM0.5 1.49341C0.5 1.03675 0.8725 0.666748 1.3325 0.666748H11.3333L15.5 4.83342V16.4942C15.5008 16.6037 15.48 16.7122 15.4388 16.8136C15.3976 16.915 15.3369 17.0073 15.2601 17.0852C15.1832 17.1631 15.0918 17.2252 14.991 17.2678C14.8902 17.3103 14.7819 17.3327 14.6725 17.3334H1.3275C1.10865 17.3319 0.899181 17.2443 0.744348 17.0897C0.589515 16.935 0.501746 16.7256 0.5 16.5067V1.49341ZM7.16667 8.16675V5.66675H8.83333V8.16675H11.3333V9.83342H8.83333V12.3334H7.16667V9.83342H4.66667V8.16675H7.16667Z"
|
|
313
|
+
);
|
|
314
|
+
path.setAttribute("fill", "#696B76");
|
|
315
|
+
fileIcon.appendChild(path);
|
|
316
|
+
boardName.appendChild(fileIcon);
|
|
317
|
+
const boardNameTag = document.querySelector('meta[name="board-name"]');
|
|
318
|
+
let boardNameStr = "Untitled";
|
|
319
|
+
if (boardNameTag) {
|
|
320
|
+
boardNameStr = boardNameTag.getAttribute("content");
|
|
321
|
+
}
|
|
322
|
+
const p = document.createElement("p");
|
|
323
|
+
p.textContent = boardNameStr;
|
|
324
|
+
p.style.fontSize = "16px";
|
|
325
|
+
p.style.lineHeight = "24px";
|
|
326
|
+
boardName.appendChild(p);
|
|
327
|
+
const cloudIcon = document.createElementNS(
|
|
328
|
+
"http://www.w3.org/2000/svg",
|
|
329
|
+
"svg"
|
|
330
|
+
);
|
|
331
|
+
cloudIcon.setAttribute("width", "20");
|
|
332
|
+
cloudIcon.setAttribute("height", "18");
|
|
333
|
+
cloudIcon.setAttribute("viewBox", "0 0 20 18");
|
|
334
|
+
cloudIcon.setAttribute("fill", "none");
|
|
335
|
+
cloudIcon.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
336
|
+
const cloudIconPath = document.createElementNS(
|
|
337
|
+
"http://www.w3.org/2000/svg",
|
|
338
|
+
"path"
|
|
339
|
+
);
|
|
340
|
+
cloudIconPath.setAttribute(
|
|
341
|
+
"d",
|
|
342
|
+
"M2.92711 0.75009L18.8371 16.6601L17.6579 17.8393L15.9796 16.1601C15.401 16.3854 14.7855 16.5007 14.1646 16.5001H5.83128C4.65063 16.5008 3.50782 16.0838 2.60518 15.3227C1.70255 14.5617 1.09833 13.5058 0.89953 12.342C0.700726 11.1782 0.920157 9.98165 1.51897 8.96413C2.11778 7.94662 3.05734 7.17382 4.17128 6.78259C4.13561 6.05854 4.23538 5.3342 4.46544 4.64676L1.74794 1.92842L2.92711 0.75009ZM5.83128 6.50009C5.83128 6.56759 5.83294 6.63592 5.83628 6.70259L5.89461 7.94259L4.72461 8.35426C3.98336 8.6164 3.35857 9.132 2.96052 9.81003C2.56248 10.4881 2.41678 11.2849 2.54916 12.0599C2.68153 12.8349 3.08347 13.5383 3.684 14.0457C4.28453 14.5532 5.04504 14.8322 5.83128 14.8334H14.1646C14.3196 14.8334 14.4721 14.8226 14.6213 14.8026L5.85628 6.03759C5.83961 6.18926 5.83128 6.34342 5.83128 6.50009ZM9.99794 0.666756C10.7878 0.666732 11.5694 0.827112 12.2954 1.13817C13.0214 1.44923 13.6767 1.90449 14.2215 2.47635C14.7664 3.04821 15.1894 3.72476 15.4649 4.46498C15.7405 5.2052 15.8629 5.99367 15.8246 6.78259C16.5167 7.02639 17.1467 7.41945 17.6699 7.93391C18.1931 8.44837 18.5967 9.07163 18.8521 9.75951C19.1076 10.4474 19.2085 11.183 19.1479 11.9143C19.0873 12.6455 18.8665 13.3545 18.5013 13.9909L17.2571 12.7468C17.5023 12.1401 17.5636 11.4747 17.4331 10.8335C17.3027 10.1924 16.9864 9.60375 16.5237 9.14112C16.061 8.67849 15.4723 8.36232 14.8311 8.23202C14.1899 8.10173 13.5245 8.16308 12.9179 8.40842L11.6729 7.16259C12.4071 6.74176 13.2571 6.50009 14.1646 6.50009C14.1646 5.73714 13.9551 4.98884 13.559 4.33679C13.1629 3.68473 12.5953 3.15396 11.9182 2.80235C11.2411 2.45073 10.4805 2.29177 9.71923 2.34281C8.95799 2.39384 8.22538 2.65291 7.60127 3.09176L6.40961 1.90009C7.43392 1.09887 8.69749 0.664571 9.99794 0.666756Z"
|
|
343
|
+
);
|
|
344
|
+
cloudIconPath.setAttribute("fill", "#696B76");
|
|
345
|
+
cloudIcon.appendChild(cloudIconPath);
|
|
346
|
+
boardName.appendChild(cloudIcon);
|
|
347
|
+
boardName.style.display = "flex";
|
|
348
|
+
boardName.style.alignItems = "center";
|
|
349
|
+
boardName.style.gap = "8px";
|
|
350
|
+
titlePanel.appendChild(boardName);
|
|
351
|
+
titlePanel.appendChild(separator);
|
|
352
|
+
titlePanel.appendChild(editButton);
|
|
353
|
+
document.body.appendChild(titlePanel);
|
|
354
|
+
|
|
355
|
+
editButton.onclick = async () => {
|
|
356
|
+
editButton.disabled = true;
|
|
357
|
+
editButton.textContent = "Loading...";
|
|
358
|
+
|
|
359
|
+
try {
|
|
360
|
+
document.removeEventListener("mousedown", handleMouseDown);
|
|
361
|
+
document.removeEventListener("mousemove", handleMouseMove);
|
|
362
|
+
document.removeEventListener("mouseup", handleMouseUp);
|
|
363
|
+
document.removeEventListener("wheel", handleWheel, {
|
|
364
|
+
passive: false,
|
|
365
|
+
});
|
|
366
|
+
translateX = 0;
|
|
367
|
+
translateY = 0;
|
|
368
|
+
scale = 1;
|
|
369
|
+
updateTransform();
|
|
370
|
+
|
|
371
|
+
// const { initBrowserSettings } = await import(
|
|
372
|
+
// "https://www.unpkg.com/test_package_board@0.0.99/dist/bundle.js"
|
|
373
|
+
// );
|
|
374
|
+
// initBrowserSettings();
|
|
375
|
+
|
|
376
|
+
// const { createApp } = await import(
|
|
377
|
+
// "https://www.unpkg.com/test_package_board@0.0.99/dist/bundle.js"
|
|
378
|
+
// );
|
|
379
|
+
const { initInter } = await import(
|
|
380
|
+
"https://www.unpkg.com/microboard-ui-temp@0.0.10/dist/index.js"
|
|
381
|
+
);
|
|
382
|
+
initInter();
|
|
383
|
+
|
|
384
|
+
const { createApp } = await import(
|
|
385
|
+
"https://www.unpkg.com/microboard-ui-temp@0.0.10/dist/index.js"
|
|
386
|
+
);
|
|
387
|
+
console.log("createapp", createApp);
|
|
388
|
+
|
|
389
|
+
const app = createApp();
|
|
390
|
+
window.app = app;
|
|
391
|
+
const stringed = await app.openAndEditFile();
|
|
392
|
+
|
|
393
|
+
if (stringed) {
|
|
394
|
+
await app.openBoardFromFile();
|
|
395
|
+
app.getBoard().deserializeHTML(stringed);
|
|
396
|
+
app.localRender("items");
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
const response = await fetch(
|
|
400
|
+
"https://www.unpkg.com/test_package_board@0.0.99/dist/bundle.css"
|
|
401
|
+
);
|
|
402
|
+
const cssText = await response.text();
|
|
403
|
+
const styleEl = document.createElement("style");
|
|
404
|
+
styleEl.textContent = cssText;
|
|
405
|
+
document.body.appendChild(styleEl);
|
|
406
|
+
|
|
407
|
+
const responseSvg = await fetch(
|
|
408
|
+
"https://www.unpkg.com/test_package_board@0.0.99/dist/sprite.svg"
|
|
409
|
+
);
|
|
410
|
+
const svgText = await responseSvg.text();
|
|
411
|
+
const div = document.createElement("div");
|
|
412
|
+
div.style.display = "none";
|
|
413
|
+
div.id = "sprite";
|
|
414
|
+
div.innerHTML = svgText;
|
|
415
|
+
document.body.appendChild(div);
|
|
416
|
+
} finally {
|
|
417
|
+
editButton.disabled = false;
|
|
418
|
+
editButton.textContent = "Edit board";
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
});
|
|
422
|
+
</script>
|
|
423
|
+
<script defer>
|
|
424
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
425
|
+
document.querySelectorAll(".link-object").forEach((linkItem) => {
|
|
426
|
+
const linkImage = linkItem.querySelector(".link-image");
|
|
427
|
+
const linkContainer = linkItem.querySelector("a");
|
|
428
|
+
linkImage.onerror = () => {
|
|
429
|
+
linkImage.onerror = null;
|
|
430
|
+
linkImage.style.display = "none";
|
|
431
|
+
const svgNamespace = "http://www.w3.org/2000/svg";
|
|
432
|
+
const svg = document.createElementNS(svgNamespace, "svg");
|
|
433
|
+
svg.setAttribute("width", "20");
|
|
434
|
+
svg.setAttribute("height", "20");
|
|
435
|
+
svg.setAttribute("viewBox", "0 0 13 14");
|
|
436
|
+
svg.setAttribute("fill", "none");
|
|
437
|
+
|
|
438
|
+
const path = document.createElementNS(svgNamespace, "path");
|
|
439
|
+
path.setAttribute(
|
|
440
|
+
"d",
|
|
441
|
+
"M11.0054 3.414L2.39838 12.021L0.984375 10.607L9.59037 2H2.00538V0H13.0054V11H11.0054V3.414Z"
|
|
442
|
+
);
|
|
443
|
+
path.setAttribute("fill", "#924FE8");
|
|
444
|
+
svg.appendChild(path);
|
|
445
|
+
|
|
446
|
+
linkContainer.appendChild(svg);
|
|
447
|
+
};
|
|
448
|
+
});
|
|
449
|
+
});
|
|
450
|
+
</script> -->
|
|
451
|
+
<script type="module" href="https://unpkg.com/microboard-ui-temp@0.0.11/static/customWebComponents.js"></script>
|
|
452
|
+
<script defer href="https://unpkg.com/microboard-ui-temp@0.0.11/static/loadLinksImages.js"></script>
|
|
453
|
+
<!-- <script type="module" href="./public/customWebComponents.js"></script>
|
|
454
|
+
<script defer href="./public/loadLinksImages.js"></script> -->
|
|
455
|
+
</body>
|
|
456
|
+
</head>
|