chore: bump bs (#8071)
This commit is contained in:
4
packages/common/env/package.json
vendored
4
packages/common/env/package.json
vendored
@@ -3,8 +3,8 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/global": "0.0.0-canary-20240902140244",
|
"@blocksuite/global": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/store": "0.0.0-canary-20240902140244",
|
"@blocksuite/store": "0.0.0-canary-20240903103812",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"vitest": "2.0.5"
|
"vitest": "2.0.5"
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@affine/templates": "workspace:*",
|
"@affine/templates": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.0.0-canary-20240902140244",
|
"@blocksuite/blocks": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/global": "0.0.0-canary-20240902140244",
|
"@blocksuite/global": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/presets": "0.0.0-canary-20240902140244",
|
"@blocksuite/presets": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/store": "0.0.0-canary-20240902140244",
|
"@blocksuite/store": "0.0.0-canary-20240903103812",
|
||||||
"@datastructures-js/binary-search-tree": "^5.3.2",
|
"@datastructures-js/binary-search-tree": "^5.3.2",
|
||||||
"foxact": "^0.2.33",
|
"foxact": "^0.2.33",
|
||||||
"fuse.js": "^7.0.0",
|
"fuse.js": "^7.0.0",
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine-test/fixtures": "workspace:*",
|
"@affine-test/fixtures": "workspace:*",
|
||||||
"@affine/templates": "workspace:*",
|
"@affine/templates": "workspace:*",
|
||||||
"@blocksuite/block-std": "0.0.0-canary-20240902140244",
|
"@blocksuite/block-std": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/presets": "0.0.0-canary-20240902140244",
|
"@blocksuite/presets": "0.0.0-canary-20240903103812",
|
||||||
"@testing-library/react": "^16.0.0",
|
"@testing-library/react": "^16.0.0",
|
||||||
"async-call-rpc": "^6.4.0",
|
"async-call-rpc": "^6.4.0",
|
||||||
"fake-indexeddb": "^6.0.0",
|
"fake-indexeddb": "^6.0.0",
|
||||||
|
|||||||
@@ -81,12 +81,12 @@
|
|||||||
"zod": "^3.22.4"
|
"zod": "^3.22.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/block-std": "0.0.0-canary-20240902140244",
|
"@blocksuite/block-std": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/blocks": "0.0.0-canary-20240902140244",
|
"@blocksuite/blocks": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/global": "0.0.0-canary-20240902140244",
|
"@blocksuite/global": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/icons": "2.1.66",
|
"@blocksuite/icons": "2.1.66",
|
||||||
"@blocksuite/presets": "0.0.0-canary-20240902140244",
|
"@blocksuite/presets": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/store": "0.0.0-canary-20240902140244",
|
"@blocksuite/store": "0.0.0-canary-20240903103812",
|
||||||
"@chromatic-com/storybook": "^1",
|
"@chromatic-com/storybook": "^1",
|
||||||
"@storybook/addon-actions": "^8.2.9",
|
"@storybook/addon-actions": "^8.2.9",
|
||||||
"@storybook/addon-essentials": "^8.2.9",
|
"@storybook/addon-essentials": "^8.2.9",
|
||||||
|
|||||||
@@ -15,13 +15,13 @@
|
|||||||
"@affine/graphql": "workspace:*",
|
"@affine/graphql": "workspace:*",
|
||||||
"@affine/i18n": "workspace:*",
|
"@affine/i18n": "workspace:*",
|
||||||
"@affine/templates": "workspace:*",
|
"@affine/templates": "workspace:*",
|
||||||
"@blocksuite/block-std": "0.0.0-canary-20240902140244",
|
"@blocksuite/block-std": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/blocks": "0.0.0-canary-20240902140244",
|
"@blocksuite/blocks": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/global": "0.0.0-canary-20240902140244",
|
"@blocksuite/global": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/icons": "2.1.66",
|
"@blocksuite/icons": "2.1.66",
|
||||||
"@blocksuite/inline": "0.0.0-canary-20240902140244",
|
"@blocksuite/inline": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/presets": "0.0.0-canary-20240902140244",
|
"@blocksuite/presets": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/store": "0.0.0-canary-20240902140244",
|
"@blocksuite/store": "0.0.0-canary-20240903103812",
|
||||||
"@dnd-kit/core": "^6.1.0",
|
"@dnd-kit/core": "^6.1.0",
|
||||||
"@dnd-kit/modifiers": "^7.0.0",
|
"@dnd-kit/modifiers": "^7.0.0",
|
||||||
"@dnd-kit/sortable": "^8.0.0",
|
"@dnd-kit/sortable": "^8.0.0",
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { type EditorHost, WithDisposable } from '@blocksuite/block-std';
|
import { type EditorHost, WithDisposable } from '@blocksuite/block-std';
|
||||||
import {
|
import {
|
||||||
type AIItemGroupConfig,
|
type AIItemGroupConfig,
|
||||||
DocMode,
|
|
||||||
EdgelessRootService,
|
EdgelessRootService,
|
||||||
scrollbarStyle,
|
scrollbarStyle,
|
||||||
} from '@blocksuite/blocks';
|
} from '@blocksuite/blocks';
|
||||||
@@ -64,7 +63,7 @@ export class AskAIPanel extends WithDisposable(LitElement) {
|
|||||||
item.showWhen
|
item.showWhen
|
||||||
? item.showWhen(
|
? item.showWhen(
|
||||||
this.host.command.chain(),
|
this.host.command.chain(),
|
||||||
this._edgeless ? DocMode.Edgeless : DocMode.Page,
|
this._edgeless ? 'edgeless' : 'page',
|
||||||
this.host
|
this.host
|
||||||
)
|
)
|
||||||
: true
|
: true
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { DebugLogger } from '@affine/debug';
|
|||||||
import { DEFAULT_WORKSPACE_NAME } from '@affine/env/constant';
|
import { DEFAULT_WORKSPACE_NAME } from '@affine/env/constant';
|
||||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||||
import onboardingUrl from '@affine/templates/onboarding.zip';
|
import onboardingUrl from '@affine/templates/onboarding.zip';
|
||||||
import { DocMode, ZipTransformer } from '@blocksuite/blocks';
|
import { ZipTransformer } from '@blocksuite/blocks';
|
||||||
import type { WorkspacesService } from '@toeverything/infra';
|
import type { WorkspacesService } from '@toeverything/infra';
|
||||||
import { DocsService, initEmptyPage } from '@toeverything/infra';
|
import { DocsService, initEmptyPage } from '@toeverything/infra';
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ export async function buildShowcaseWorkspace(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (defaultDoc) {
|
if (defaultDoc) {
|
||||||
defaultDoc.setPrimaryMode(DocMode.Edgeless);
|
defaultDoc.setPrimaryMode('edgeless');
|
||||||
}
|
}
|
||||||
|
|
||||||
dispose();
|
dispose();
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
import { WorkbenchLink } from '@affine/core/modules/workbench';
|
import { WorkbenchLink } from '@affine/core/modules/workbench';
|
||||||
import { useI18n } from '@affine/i18n';
|
import { useI18n } from '@affine/i18n';
|
||||||
import type { BlockStdScope } from '@blocksuite/block-std';
|
import type { BlockStdScope } from '@blocksuite/block-std';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
import type { DocMode } from '@blocksuite/blocks';
|
||||||
import {
|
import {
|
||||||
BlockLinkIcon,
|
BlockLinkIcon,
|
||||||
DeleteIcon,
|
DeleteIcon,
|
||||||
@@ -57,7 +57,7 @@ export function pageReferenceRenderer({
|
|||||||
let Icon = DeleteIcon;
|
let Icon = DeleteIcon;
|
||||||
|
|
||||||
if (referencedPage) {
|
if (referencedPage) {
|
||||||
if (docMode === DocMode.Edgeless) {
|
if (docMode === 'edgeless') {
|
||||||
Icon = LinkedEdgelessIcon;
|
Icon = LinkedEdgelessIcon;
|
||||||
} else {
|
} else {
|
||||||
Icon = LinkedPageIcon;
|
Icon = LinkedPageIcon;
|
||||||
@@ -88,7 +88,7 @@ export function AffinePageReference({
|
|||||||
pageId,
|
pageId,
|
||||||
docCollection,
|
docCollection,
|
||||||
wrapper: Wrapper,
|
wrapper: Wrapper,
|
||||||
mode = DocMode.Page,
|
mode = 'page',
|
||||||
params = {},
|
params = {},
|
||||||
isSameDoc = false,
|
isSameDoc = false,
|
||||||
std,
|
std,
|
||||||
@@ -133,7 +133,7 @@ export function AffinePageReference({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isSameDoc) {
|
if (isSameDoc) {
|
||||||
if (mode === DocMode.Edgeless && elementIds?.length) {
|
if (mode === 'edgeless' && elementIds?.length) {
|
||||||
setAnchor({ mode, id: elementIds[0] });
|
setAnchor({ mode, id: elementIds[0] });
|
||||||
} else if (blockIds?.length) {
|
} else if (blockIds?.length) {
|
||||||
setAnchor({ mode, id: blockIds[0] });
|
setAnchor({ mode, id: blockIds[0] });
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import type { BlockStdScope } from '@blocksuite/block-std';
|
import type { BlockStdScope } from '@blocksuite/block-std';
|
||||||
import {
|
import type {
|
||||||
DocMode,
|
DocMode,
|
||||||
type EdgelessRootService,
|
EdgelessRootService,
|
||||||
type PageRootService,
|
PageRootService,
|
||||||
} from '@blocksuite/blocks';
|
} from '@blocksuite/blocks';
|
||||||
import { Bound, deserializeXYWH } from '@blocksuite/global/utils';
|
import { Bound, deserializeXYWH } from '@blocksuite/global/utils';
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ function scrollAnchoringInEdgelessMode(
|
|||||||
|
|
||||||
function scrollAnchoringInPageMode(service: PageRootService, id: string) {
|
function scrollAnchoringInPageMode(service: PageRootService, id: string) {
|
||||||
const blockComponent = service.std.view.getBlock(id);
|
const blockComponent = service.std.view.getBlock(id);
|
||||||
if (!blockComponent || !blockComponent.path.length) return;
|
if (!blockComponent) return;
|
||||||
|
|
||||||
blockComponent.scrollIntoView({
|
blockComponent.scrollIntoView({
|
||||||
behavior: 'instant',
|
behavior: 'instant',
|
||||||
@@ -92,7 +92,7 @@ function scrollAnchoringInPageMode(service: PageRootService, id: string) {
|
|||||||
|
|
||||||
// TODO(@fundon): it should be a command
|
// TODO(@fundon): it should be a command
|
||||||
export function scrollAnchoring(std: BlockStdScope, mode: DocMode, id: string) {
|
export function scrollAnchoring(std: BlockStdScope, mode: DocMode, id: string) {
|
||||||
if (mode === DocMode.Edgeless) {
|
if (mode === 'edgeless') {
|
||||||
const service = std.getService<EdgelessRootService>('affine:page');
|
const service = std.getService<EdgelessRootService>('affine:page');
|
||||||
if (!service) return;
|
if (!service) return;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { EditorSelector } from '@affine/core/modules/editor';
|
import type { EditorSelector } from '@affine/core/modules/editor';
|
||||||
import type { ReferenceInfo } from '@blocksuite/affine-model';
|
import type { ReferenceInfo } from '@blocksuite/affine-model';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
import type { DocMode } from '@blocksuite/blocks';
|
||||||
import type { InlineEditor } from '@blocksuite/inline/inline-editor';
|
import type { InlineEditor } from '@blocksuite/inline/inline-editor';
|
||||||
import type {
|
import type {
|
||||||
AffineEditorContainer,
|
AffineEditorContainer,
|
||||||
@@ -68,10 +68,7 @@ export const BlocksuiteEditorContainer = forwardRef<
|
|||||||
const docTitleRef = useRef<DocTitle>(null);
|
const docTitleRef = useRef<DocTitle>(null);
|
||||||
const edgelessRef = useRef<EdgelessEditor>(null);
|
const edgelessRef = useRef<EdgelessEditor>(null);
|
||||||
const [anchor] = useState<string | null>(() => {
|
const [anchor] = useState<string | null>(() => {
|
||||||
if (
|
if (mode === 'edgeless' && defaultEditorSelector?.elementIds?.length) {
|
||||||
mode === DocMode.Edgeless &&
|
|
||||||
defaultEditorSelector?.elementIds?.length
|
|
||||||
) {
|
|
||||||
return defaultEditorSelector.elementIds[0];
|
return defaultEditorSelector.elementIds[0];
|
||||||
} else if (defaultEditorSelector?.blockIds?.length) {
|
} else if (defaultEditorSelector?.blockIds?.length) {
|
||||||
return defaultEditorSelector.blockIds[0];
|
return defaultEditorSelector.blockIds[0];
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
import { useJournalInfoHelper } from '@affine/core/hooks/use-journal';
|
import { useJournalInfoHelper } from '@affine/core/hooks/use-journal';
|
||||||
import { EditorSettingService } from '@affine/core/modules/editor-settting';
|
import { EditorSettingService } from '@affine/core/modules/editor-settting';
|
||||||
import { PeekViewService } from '@affine/core/modules/peek-view';
|
import { PeekViewService } from '@affine/core/modules/peek-view';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
import type { DocMode } from '@blocksuite/blocks';
|
||||||
import { DocTitle, EdgelessEditor, PageEditor } from '@blocksuite/presets';
|
import { DocTitle, EdgelessEditor, PageEditor } from '@blocksuite/presets';
|
||||||
import type { Doc } from '@blocksuite/store';
|
import type { Doc } from '@blocksuite/store';
|
||||||
import {
|
import {
|
||||||
@@ -186,7 +186,7 @@ export const BlocksuiteDocEditor = forwardRef<
|
|||||||
[externalTitleRef]
|
[externalTitleRef]
|
||||||
);
|
);
|
||||||
|
|
||||||
const [specs, portals] = usePatchSpecs(page, !!shared, DocMode.Page);
|
const [specs, portals] = usePatchSpecs(page, !!shared, 'page');
|
||||||
|
|
||||||
const settings = useLiveData(editorSettingService.editorSetting.settings$);
|
const settings = useLiveData(editorSettingService.editorSetting.settings$);
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ export const BlocksuiteEdgelessEditor = forwardRef<
|
|||||||
EdgelessEditor,
|
EdgelessEditor,
|
||||||
BlocksuiteEditorProps
|
BlocksuiteEditorProps
|
||||||
>(function BlocksuiteEdgelessEditor({ page, shared }, ref) {
|
>(function BlocksuiteEdgelessEditor({ page, shared }, ref) {
|
||||||
const [specs, portals] = usePatchSpecs(page, !!shared, DocMode.Edgeless);
|
const [specs, portals] = usePatchSpecs(page, !!shared, 'edgeless');
|
||||||
const editorRef = useRef<EdgelessEditor | null>(null);
|
const editorRef = useRef<EdgelessEditor | null>(null);
|
||||||
|
|
||||||
const onDocRef = useCallback(
|
const onDocRef = useCallback(
|
||||||
|
|||||||
@@ -30,16 +30,17 @@ import { BlockServiceWatcher } from '@blocksuite/block-std';
|
|||||||
import type {
|
import type {
|
||||||
AffineReference,
|
AffineReference,
|
||||||
DatabaseBlockService,
|
DatabaseBlockService,
|
||||||
|
DocMode,
|
||||||
ListBlockService,
|
ListBlockService,
|
||||||
ParagraphBlockService,
|
ParagraphBlockService,
|
||||||
RootService,
|
RootService,
|
||||||
} from '@blocksuite/blocks';
|
} from '@blocksuite/blocks';
|
||||||
import {
|
import {
|
||||||
AffineSlashMenuWidget,
|
AffineSlashMenuWidget,
|
||||||
DocMode,
|
|
||||||
DocModeProvider,
|
DocModeProvider,
|
||||||
EdgelessRootBlockComponent,
|
EdgelessRootBlockComponent,
|
||||||
EmbedLinkedDocBlockComponent,
|
EmbedLinkedDocBlockComponent,
|
||||||
|
QuickSearchProvider,
|
||||||
} from '@blocksuite/blocks';
|
} from '@blocksuite/blocks';
|
||||||
import { LinkIcon } from '@blocksuite/icons/rc';
|
import { LinkIcon } from '@blocksuite/icons/rc';
|
||||||
import { AIChatBlockSchema } from '@blocksuite/presets';
|
import { AIChatBlockSchema } from '@blocksuite/presets';
|
||||||
@@ -281,10 +282,9 @@ export function patchDocModeService(
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function patchQuickSearchService(framework: FrameworkProvider) {
|
export function patchQuickSearchService(framework: FrameworkProvider) {
|
||||||
return patchSpecService<RootService>(
|
const QuickSearchExtension: ExtensionType = {
|
||||||
'affine:page',
|
setup: di => {
|
||||||
pageService => {
|
di.addImpl(QuickSearchProvider, () => ({
|
||||||
pageService.quickSearchService = {
|
|
||||||
async searchDoc(options) {
|
async searchDoc(options) {
|
||||||
let searchResult:
|
let searchResult:
|
||||||
| { docId: string; isNewDoc?: boolean }
|
| { docId: string; isNewDoc?: boolean }
|
||||||
@@ -366,8 +366,8 @@ export function patchQuickSearchService(framework: FrameworkProvider) {
|
|||||||
const docsService = framework.get(DocsService);
|
const docsService = framework.get(DocsService);
|
||||||
const mode =
|
const mode =
|
||||||
result.id === 'creation:create-edgeless'
|
result.id === 'creation:create-edgeless'
|
||||||
? DocMode.Edgeless
|
? 'edgeless'
|
||||||
: DocMode.Page;
|
: 'page';
|
||||||
const newDoc = docsService.createDoc({
|
const newDoc = docsService.createDoc({
|
||||||
primaryMode: mode,
|
primaryMode: mode,
|
||||||
title: result.payload.title,
|
title: result.payload.title,
|
||||||
@@ -393,8 +393,12 @@ export function patchQuickSearchService(framework: FrameworkProvider) {
|
|||||||
|
|
||||||
return searchResult;
|
return searchResult;
|
||||||
},
|
},
|
||||||
};
|
}));
|
||||||
},
|
},
|
||||||
|
};
|
||||||
|
const SlashMenuQuickSearchExtension = patchSpecService<RootService>(
|
||||||
|
'affine:page',
|
||||||
|
() => {},
|
||||||
(component: WidgetComponent) => {
|
(component: WidgetComponent) => {
|
||||||
if (component instanceof AffineSlashMenuWidget) {
|
if (component instanceof AffineSlashMenuWidget) {
|
||||||
component.config.items.forEach(item => {
|
component.config.items.forEach(item => {
|
||||||
@@ -405,7 +409,8 @@ export function patchQuickSearchService(framework: FrameworkProvider) {
|
|||||||
const oldAction = item.action;
|
const oldAction = item.action;
|
||||||
item.action = async ({ model, rootComponent }) => {
|
item.action = async ({ model, rootComponent }) => {
|
||||||
const { host, service, std } = rootComponent;
|
const { host, service, std } = rootComponent;
|
||||||
const { quickSearchService } = service;
|
const quickSearchService =
|
||||||
|
component.std.getOptional(QuickSearchProvider);
|
||||||
|
|
||||||
if (!quickSearchService)
|
if (!quickSearchService)
|
||||||
return oldAction({ model, rootComponent });
|
return oldAction({ model, rootComponent });
|
||||||
@@ -447,6 +452,7 @@ export function patchQuickSearchService(framework: FrameworkProvider) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
return [QuickSearchExtension, SlashMenuQuickSearchExtension];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function patchEdgelessClipboard() {
|
export function patchEdgelessClipboard() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { registerAffineCommand } from '@affine/core/commands';
|
|||||||
import { track } from '@affine/core/mixpanel';
|
import { track } from '@affine/core/mixpanel';
|
||||||
import { EditorService } from '@affine/core/modules/editor';
|
import { EditorService } from '@affine/core/modules/editor';
|
||||||
import { useI18n } from '@affine/i18n';
|
import { useI18n } from '@affine/i18n';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
import type { DocMode } from '@blocksuite/blocks';
|
||||||
import { EdgelessIcon, PageIcon } from '@blocksuite/icons/rc';
|
import { EdgelessIcon, PageIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import { useCallback, useEffect, useMemo } from 'react';
|
import { useCallback, useEffect, useMemo } from 'react';
|
||||||
@@ -39,16 +39,16 @@ export const EditorModeSwitch = () => {
|
|||||||
|
|
||||||
const togglePage = useCallback(() => {
|
const togglePage = useCallback(() => {
|
||||||
if (currentMode === 'page' || isSharedMode || trash) return;
|
if (currentMode === 'page' || isSharedMode || trash) return;
|
||||||
editor.setMode(DocMode.Page);
|
editor.setMode('page');
|
||||||
editor.doc.setPrimaryMode(DocMode.Page);
|
editor.doc.setPrimaryMode('page');
|
||||||
toast(t['com.affine.toastMessage.pageMode']());
|
toast(t['com.affine.toastMessage.pageMode']());
|
||||||
track.$.header.actions.switchPageMode({ mode: 'page' });
|
track.$.header.actions.switchPageMode({ mode: 'page' });
|
||||||
}, [currentMode, editor, isSharedMode, t, trash]);
|
}, [currentMode, editor, isSharedMode, t, trash]);
|
||||||
|
|
||||||
const toggleEdgeless = useCallback(() => {
|
const toggleEdgeless = useCallback(() => {
|
||||||
if (currentMode === 'edgeless' || isSharedMode || trash) return;
|
if (currentMode === 'edgeless' || isSharedMode || trash) return;
|
||||||
editor.setMode(DocMode.Edgeless);
|
editor.setMode('edgeless');
|
||||||
editor.doc.setPrimaryMode(DocMode.Edgeless);
|
editor.doc.setPrimaryMode('edgeless');
|
||||||
toast(t['com.affine.toastMessage.edgelessMode']());
|
toast(t['com.affine.toastMessage.edgelessMode']());
|
||||||
track.$.header.actions.switchPageMode({ mode: 'edgeless' });
|
track.$.header.actions.switchPageMode({ mode: 'edgeless' });
|
||||||
}, [currentMode, editor, isSharedMode, t, trash]);
|
}, [currentMode, editor, isSharedMode, t, trash]);
|
||||||
@@ -79,10 +79,7 @@ export const EditorModeSwitch = () => {
|
|||||||
binding: 'Alt+KeyS',
|
binding: 'Alt+KeyS',
|
||||||
capture: true,
|
capture: true,
|
||||||
},
|
},
|
||||||
run: () =>
|
run: () => onModeChange(currentMode === 'edgeless' ? 'page' : 'edgeless'),
|
||||||
onModeChange(
|
|
||||||
currentMode === 'edgeless' ? DocMode.Page : DocMode.Edgeless
|
|
||||||
),
|
|
||||||
});
|
});
|
||||||
}, [currentMode, isSharedMode, onModeChange, t, trash]);
|
}, [currentMode, isSharedMode, onModeChange, t, trash]);
|
||||||
|
|
||||||
@@ -97,8 +94,8 @@ export const EditorModeSwitch = () => {
|
|||||||
<PureEditorModeSwitch
|
<PureEditorModeSwitch
|
||||||
mode={currentMode}
|
mode={currentMode}
|
||||||
setMode={onModeChange}
|
setMode={onModeChange}
|
||||||
hidePage={shouldHide(DocMode.Page)}
|
hidePage={shouldHide('page')}
|
||||||
hideEdgeless={shouldHide(DocMode.Edgeless)}
|
hideEdgeless={shouldHide('edgeless')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
revokePublicPageMutation,
|
revokePublicPageMutation,
|
||||||
} from '@affine/graphql';
|
} from '@affine/graphql';
|
||||||
import { type I18nKeys, useI18n } from '@affine/i18n';
|
import { type I18nKeys, useI18n } from '@affine/i18n';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
import type { DocMode } from '@blocksuite/blocks';
|
||||||
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons/rc';
|
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons/rc';
|
||||||
import { type Workspace } from '@toeverything/infra';
|
import { type Workspace } from '@toeverything/infra';
|
||||||
import { cssVar } from '@toeverything/theme';
|
import { cssVar } from '@toeverything/theme';
|
||||||
@@ -86,9 +86,7 @@ export function useIsSharedPage(
|
|||||||
const isPageShared = !!publicPage;
|
const isPageShared = !!publicPage;
|
||||||
|
|
||||||
const currentShareMode: DocMode =
|
const currentShareMode: DocMode =
|
||||||
publicPage?.mode === PublicPageMode.Edgeless
|
publicPage?.mode === PublicPageMode.Edgeless ? 'edgeless' : 'page';
|
||||||
? DocMode.Edgeless
|
|
||||||
: DocMode.Page;
|
|
||||||
|
|
||||||
return [isPageShared, currentShareMode];
|
return [isPageShared, currentShareMode];
|
||||||
}, [data?.workspace.publicPages, pageId]);
|
}, [data?.workspace.publicPages, pageId]);
|
||||||
@@ -213,8 +211,7 @@ export function usePublicPages(workspace: Workspace) {
|
|||||||
() =>
|
() =>
|
||||||
maybeData?.workspace.publicPages.map(i => ({
|
maybeData?.workspace.publicPages.map(i => ({
|
||||||
id: i.id,
|
id: i.id,
|
||||||
mode:
|
mode: i.mode === PublicPageMode.Edgeless ? 'edgeless' : 'page',
|
||||||
i.mode === PublicPageMode.Edgeless ? DocMode.Edgeless : DocMode.Page,
|
|
||||||
})) ?? [],
|
})) ?? [],
|
||||||
[maybeData?.workspace.publicPages]
|
[maybeData?.workspace.publicPages]
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { DocMode } from '@blocksuite/blocks';
|
import type { DocMode } from '@blocksuite/blocks';
|
||||||
import type { AffineEditorContainer } from '@blocksuite/presets';
|
import type { AffineEditorContainer } from '@blocksuite/presets';
|
||||||
import type { DocService, WorkspaceService } from '@toeverything/infra';
|
import type { DocService, WorkspaceService } from '@toeverything/infra';
|
||||||
import { Entity, LiveData } from '@toeverything/infra';
|
import { Entity, LiveData } from '@toeverything/infra';
|
||||||
@@ -25,9 +25,7 @@ export class Editor extends Entity<{
|
|||||||
readonly editorContainer$ = new LiveData<AffineEditorContainer | null>(null);
|
readonly editorContainer$ = new LiveData<AffineEditorContainer | null>(null);
|
||||||
|
|
||||||
toggleMode() {
|
toggleMode() {
|
||||||
this.mode$.next(
|
this.mode$.next(this.mode$.value === 'edgeless' ? 'page' : 'edgeless');
|
||||||
this.mode$.value === 'edgeless' ? DocMode.Page : DocMode.Edgeless
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setMode(mode: DocMode) {
|
setMode(mode: DocMode) {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import type { BlockComponent, EditorHost } from '@blocksuite/block-std';
|
import type { BlockComponent, EditorHost } from '@blocksuite/block-std';
|
||||||
import {
|
import type {
|
||||||
AffineReference,
|
|
||||||
DocMode,
|
DocMode,
|
||||||
type EmbedLinkedDocModel,
|
EmbedLinkedDocModel,
|
||||||
type EmbedSyncedDocModel,
|
EmbedSyncedDocModel,
|
||||||
type ImageBlockModel,
|
ImageBlockModel,
|
||||||
type SurfaceRefBlockComponent,
|
SurfaceRefBlockComponent,
|
||||||
type SurfaceRefBlockModel,
|
SurfaceRefBlockModel,
|
||||||
} from '@blocksuite/blocks';
|
} from '@blocksuite/blocks';
|
||||||
|
import { AffineReference } from '@blocksuite/blocks';
|
||||||
import type { AIChatBlockModel } from '@blocksuite/presets';
|
import type { AIChatBlockModel } from '@blocksuite/presets';
|
||||||
import type { BlockModel } from '@blocksuite/store';
|
import type { BlockModel } from '@blocksuite/store';
|
||||||
import { Entity, LiveData } from '@toeverything/infra';
|
import { Entity, LiveData } from '@toeverything/infra';
|
||||||
@@ -135,7 +135,7 @@ function resolvePeekInfoFromPeekTarget(
|
|||||||
return {
|
return {
|
||||||
type: 'doc',
|
type: 'doc',
|
||||||
docId,
|
docId,
|
||||||
mode: DocMode.Edgeless,
|
mode: 'edgeless',
|
||||||
xywh: refModel.xywh,
|
xywh: refModel.xywh,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { EditorOutlineViewer } from '@affine/core/components/blocksuite/outline-
|
|||||||
import { useNavigateHelper } from '@affine/core/hooks/use-navigate-helper';
|
import { useNavigateHelper } from '@affine/core/hooks/use-navigate-helper';
|
||||||
import { PageNotFound } from '@affine/core/pages/404';
|
import { PageNotFound } from '@affine/core/pages/404';
|
||||||
import { DebugLogger } from '@affine/debug';
|
import { DebugLogger } from '@affine/debug';
|
||||||
import { DocMode, type EdgelessRootService } from '@blocksuite/blocks';
|
import type { DocMode, EdgelessRootService } from '@blocksuite/blocks';
|
||||||
import { Bound, DisposableGroup } from '@blocksuite/global/utils';
|
import { Bound, DisposableGroup } from '@blocksuite/global/utils';
|
||||||
import type { AffineEditorContainer } from '@blocksuite/presets';
|
import type { AffineEditorContainer } from '@blocksuite/presets';
|
||||||
import {
|
import {
|
||||||
@@ -107,7 +107,7 @@ export function DocPeekPreview({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!mode || !resolvedMode) {
|
if (!mode || !resolvedMode) {
|
||||||
setResolvedMode(
|
setResolvedMode(
|
||||||
docs.list.doc$(docId).value?.primaryMode$.value || DocMode.Page
|
docs.list.doc$(docId).value?.primaryMode$.value || 'page'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}, [docId, docs.list, resolvedMode, mode]);
|
}, [docId, docs.list, resolvedMode, mode]);
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { track } from '@affine/core/mixpanel';
|
import { track } from '@affine/core/mixpanel';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
|
||||||
import type { DocsService } from '@toeverything/infra';
|
import type { DocsService } from '@toeverything/infra';
|
||||||
import { Service } from '@toeverything/infra';
|
import { Service } from '@toeverything/infra';
|
||||||
|
|
||||||
@@ -68,13 +67,13 @@ export class CMDKQuickSearchService extends Service {
|
|||||||
} else if (result.source === 'creation') {
|
} else if (result.source === 'creation') {
|
||||||
if (result.id === 'creation:create-page') {
|
if (result.id === 'creation:create-page') {
|
||||||
const newDoc = this.docsService.createDoc({
|
const newDoc = this.docsService.createDoc({
|
||||||
primaryMode: DocMode.Page,
|
primaryMode: 'page',
|
||||||
title: result.payload.title,
|
title: result.payload.title,
|
||||||
});
|
});
|
||||||
this.workbenchService.workbench.openDoc(newDoc.id);
|
this.workbenchService.workbench.openDoc(newDoc.id);
|
||||||
} else if (result.id === 'creation:create-edgeless') {
|
} else if (result.id === 'creation:create-edgeless') {
|
||||||
const newDoc = this.docsService.createDoc({
|
const newDoc = this.docsService.createDoc({
|
||||||
primaryMode: DocMode.Edgeless,
|
primaryMode: 'edgeless',
|
||||||
title: result.payload.title,
|
title: result.payload.title,
|
||||||
});
|
});
|
||||||
this.workbenchService.workbench.openDoc(newDoc.id);
|
this.workbenchService.workbench.openDoc(newDoc.id);
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
|||||||
import { track } from '@affine/core/mixpanel';
|
import { track } from '@affine/core/mixpanel';
|
||||||
import { isNewTabTrigger } from '@affine/core/utils';
|
import { isNewTabTrigger } from '@affine/core/utils';
|
||||||
import type { Filter } from '@affine/env/filter';
|
import type { Filter } from '@affine/env/filter';
|
||||||
import { DocMode } from '@blocksuite/blocks';
|
|
||||||
import { PlusIcon } from '@blocksuite/icons/rc';
|
import { PlusIcon } from '@blocksuite/icons/rc';
|
||||||
import { useServices, WorkspaceService } from '@toeverything/infra';
|
import { useServices, WorkspaceService } from '@toeverything/infra';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
@@ -68,7 +67,7 @@ export const AllPageHeader = ({
|
|||||||
createEdgeless(isNewTabTrigger(e) ? 'new-tab' : true)
|
createEdgeless(isNewTabTrigger(e) ? 'new-tab' : true)
|
||||||
}
|
}
|
||||||
onCreatePage={e =>
|
onCreatePage={e =>
|
||||||
createPage(DocMode.Page, isNewTabTrigger(e) ? 'new-tab' : true)
|
createPage('page', isNewTabTrigger(e) ? 'new-tab' : true)
|
||||||
}
|
}
|
||||||
onCreateDoc={e =>
|
onCreateDoc={e =>
|
||||||
createPage(undefined, isNewTabTrigger(e) ? 'new-tab' : true)
|
createPage(undefined, isNewTabTrigger(e) ? 'new-tab' : true)
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ const useLoadDoc = (pageId: string) => {
|
|||||||
|
|
||||||
const modeInQuery = useLiveData(
|
const modeInQuery = useLiveData(
|
||||||
queryString$.map(q => {
|
queryString$.map(q => {
|
||||||
if (q.mode && DocModes.includes(q.mode)) {
|
if (q.mode && DocModes.includes(q.mode as DocMode)) {
|
||||||
return q.mode as DocMode;
|
return q.mode as DocMode;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -29,10 +29,10 @@
|
|||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@affine/i18n": "workspace:*",
|
"@affine/i18n": "workspace:*",
|
||||||
"@affine/native": "workspace:*",
|
"@affine/native": "workspace:*",
|
||||||
"@blocksuite/block-std": "0.0.0-canary-20240902140244",
|
"@blocksuite/block-std": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/blocks": "0.0.0-canary-20240902140244",
|
"@blocksuite/blocks": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/presets": "0.0.0-canary-20240902140244",
|
"@blocksuite/presets": "0.0.0-canary-20240903103812",
|
||||||
"@blocksuite/store": "0.0.0-canary-20240902140244",
|
"@blocksuite/store": "0.0.0-canary-20240903103812",
|
||||||
"@electron-forge/cli": "^7.3.0",
|
"@electron-forge/cli": "^7.3.0",
|
||||||
"@electron-forge/core": "^7.3.0",
|
"@electron-forge/core": "^7.3.0",
|
||||||
"@electron-forge/core-utils": "^7.3.0",
|
"@electron-forge/core-utils": "^7.3.0",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@affine/templates": "workspace:*",
|
"@affine/templates": "workspace:*",
|
||||||
"@aws-sdk/client-s3": "^3.620.0",
|
"@aws-sdk/client-s3": "^3.620.0",
|
||||||
"@blocksuite/presets": "0.0.0-canary-20240902140244",
|
"@blocksuite/presets": "0.0.0-canary-20240903103812",
|
||||||
"@clack/core": "^0.3.4",
|
"@clack/core": "^0.3.4",
|
||||||
"@clack/prompts": "^0.7.0",
|
"@clack/prompts": "^0.7.0",
|
||||||
"@magic-works/i18n-codegen": "^0.6.0",
|
"@magic-works/i18n-codegen": "^0.6.0",
|
||||||
|
|||||||
246
yarn.lock
246
yarn.lock
@@ -252,7 +252,7 @@ __metadata:
|
|||||||
"@affine/env": "workspace:*"
|
"@affine/env": "workspace:*"
|
||||||
"@affine/templates": "workspace:*"
|
"@affine/templates": "workspace:*"
|
||||||
"@aws-sdk/client-s3": "npm:^3.620.0"
|
"@aws-sdk/client-s3": "npm:^3.620.0"
|
||||||
"@blocksuite/presets": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/presets": "npm:0.0.0-canary-20240903103812"
|
||||||
"@clack/core": "npm:^0.3.4"
|
"@clack/core": "npm:^0.3.4"
|
||||||
"@clack/prompts": "npm:^0.7.0"
|
"@clack/prompts": "npm:^0.7.0"
|
||||||
"@magic-works/i18n-codegen": "npm:^0.6.0"
|
"@magic-works/i18n-codegen": "npm:^0.6.0"
|
||||||
@@ -311,12 +311,12 @@ __metadata:
|
|||||||
"@affine/i18n": "workspace:*"
|
"@affine/i18n": "workspace:*"
|
||||||
"@atlaskit/pragmatic-drag-and-drop": "npm:^1.2.1"
|
"@atlaskit/pragmatic-drag-and-drop": "npm:^1.2.1"
|
||||||
"@atlaskit/pragmatic-drag-and-drop-hitbox": "npm:^1.0.3"
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "npm:^1.0.3"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/blocks": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/blocks": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/icons": "npm:2.1.66"
|
"@blocksuite/icons": "npm:2.1.66"
|
||||||
"@blocksuite/presets": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/presets": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@chromatic-com/storybook": "npm:^1"
|
"@chromatic-com/storybook": "npm:^1"
|
||||||
"@dnd-kit/core": "npm:^6.1.0"
|
"@dnd-kit/core": "npm:^6.1.0"
|
||||||
"@dnd-kit/modifiers": "npm:^7.0.0"
|
"@dnd-kit/modifiers": "npm:^7.0.0"
|
||||||
@@ -413,13 +413,13 @@ __metadata:
|
|||||||
"@affine/graphql": "workspace:*"
|
"@affine/graphql": "workspace:*"
|
||||||
"@affine/i18n": "workspace:*"
|
"@affine/i18n": "workspace:*"
|
||||||
"@affine/templates": "workspace:*"
|
"@affine/templates": "workspace:*"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/blocks": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/blocks": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/icons": "npm:2.1.66"
|
"@blocksuite/icons": "npm:2.1.66"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/presets": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/presets": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@dnd-kit/core": "npm:^6.1.0"
|
"@dnd-kit/core": "npm:^6.1.0"
|
||||||
"@dnd-kit/modifiers": "npm:^7.0.0"
|
"@dnd-kit/modifiers": "npm:^7.0.0"
|
||||||
"@dnd-kit/sortable": "npm:^8.0.0"
|
"@dnd-kit/sortable": "npm:^8.0.0"
|
||||||
@@ -552,10 +552,10 @@ __metadata:
|
|||||||
"@affine/env": "workspace:*"
|
"@affine/env": "workspace:*"
|
||||||
"@affine/i18n": "workspace:*"
|
"@affine/i18n": "workspace:*"
|
||||||
"@affine/native": "workspace:*"
|
"@affine/native": "workspace:*"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/blocks": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/blocks": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/presets": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/presets": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@electron-forge/cli": "npm:^7.3.0"
|
"@electron-forge/cli": "npm:^7.3.0"
|
||||||
"@electron-forge/core": "npm:^7.3.0"
|
"@electron-forge/core": "npm:^7.3.0"
|
||||||
"@electron-forge/core-utils": "npm:^7.3.0"
|
"@electron-forge/core-utils": "npm:^7.3.0"
|
||||||
@@ -612,8 +612,8 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@affine/env@workspace:packages/common/env"
|
resolution: "@affine/env@workspace:packages/common/env"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
lit: "npm:^3.1.2"
|
lit: "npm:^3.1.2"
|
||||||
react: "npm:18.3.1"
|
react: "npm:18.3.1"
|
||||||
react-dom: "npm:18.3.1"
|
react-dom: "npm:18.3.1"
|
||||||
@@ -3451,17 +3451,17 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/affine-block-list@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/affine-block-list@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/affine-block-list@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/affine-block-list@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/affine-components": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-components": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-model": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-model": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@floating-ui/dom": "npm:^1.6.10"
|
"@floating-ui/dom": "npm:^1.6.10"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lit/context": "npm:^1.1.2"
|
"@lit/context": "npm:^1.1.2"
|
||||||
@@ -3469,21 +3469,21 @@ __metadata:
|
|||||||
lit: "npm:^3.2.0"
|
lit: "npm:^3.2.0"
|
||||||
minimatch: "npm:^10.0.1"
|
minimatch: "npm:^10.0.1"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/2f806c797c1660ccb8e3d35a26bf02a7d46c31f9fee85c9d88a990584367910bb502547d05aafad9f4f109daf229fd0033ba5d28dea4c8fdcbac594117e43bc4
|
checksum: 10/11a438aafa23571b6c4991c9bbd37996bbed1d1dda61e0633e15bbe9427da00e74eb6196e3e79f1e63d56a22c5322e1c82efddad5110251a7172cb24a95ffffb
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/affine-block-paragraph@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/affine-block-paragraph@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/affine-block-paragraph@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/affine-block-paragraph@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/affine-components": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-components": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-model": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-model": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@floating-ui/dom": "npm:^1.6.10"
|
"@floating-ui/dom": "npm:^1.6.10"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lit/context": "npm:^1.1.2"
|
"@lit/context": "npm:^1.1.2"
|
||||||
@@ -3491,21 +3491,21 @@ __metadata:
|
|||||||
lit: "npm:^3.2.0"
|
lit: "npm:^3.2.0"
|
||||||
minimatch: "npm:^10.0.1"
|
minimatch: "npm:^10.0.1"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/c85fbe31d8ee17d295f1761793017d1d224d5fe0843c9324f94c202569d317f5be52843ec68a133f2cf71a121116d0856a31d5072c0cccf59c947ea168942482
|
checksum: 10/d48382b8671efb921c06457f358f27ae9bc761ced0c1a1601ed19b0ae655842463f182a34c70512794be85fbec2415a78898643a93133fdfa8fb40bd38015556
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/affine-components@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/affine-components@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/affine-components@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/affine-components@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/affine-model": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-model": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/icons": "npm:^2.1.66"
|
"@blocksuite/icons": "npm:^2.1.66"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@floating-ui/dom": "npm:^1.6.10"
|
"@floating-ui/dom": "npm:^1.6.10"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lit/context": "npm:^1.1.2"
|
"@lit/context": "npm:^1.1.2"
|
||||||
@@ -3515,32 +3515,32 @@ __metadata:
|
|||||||
lit: "npm:^3.2.0"
|
lit: "npm:^3.2.0"
|
||||||
shiki: "npm:^1.12.0"
|
shiki: "npm:^1.12.0"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/27f73b3796f6c509191e9dadfe0cbd57899b7001a8db3ef878f2cacfb5cff607e5126ba4065380ffd71c33f803fd21a9c3134dc45add75eb34276bae20f2f0ae
|
checksum: 10/1ddb5cd9512026a9be68159b6b731189faec7c5e43bfa49a946bd8609bb3ebe662f51389fe60fec4384e83556dd23c73e53d0eb8e09456a92446036efc5dc999
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/affine-model@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/affine-model@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/affine-model@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/affine-model@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/6eea406db4f3f2669009cb452d0b75d97b398f2bdf0d95bd9154b284e1b5e5b937735fa60decaa17f7706c4bb1ab1aacbccc45253ce0b79eebbb3d5e2e701030
|
checksum: 10/dc02616add41f51d007cc321b2133ca1f44a7ea98298023e7038f722403345c22051cd2e7af7fa9fef24ebbea8b1207e7c5ca8f63b166965b18d8b3fff12b86d
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/affine-shared@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/affine-shared@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/affine-shared@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/affine-shared@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/affine-model": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-model": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@floating-ui/dom": "npm:^1.6.10"
|
"@floating-ui/dom": "npm:^1.6.10"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lit/context": "npm:^1.1.2"
|
"@lit/context": "npm:^1.1.2"
|
||||||
@@ -3548,15 +3548,15 @@ __metadata:
|
|||||||
lit: "npm:^3.2.0"
|
lit: "npm:^3.2.0"
|
||||||
minimatch: "npm:^10.0.1"
|
minimatch: "npm:^10.0.1"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/5a756249e9cb2327b7a7f5133fb03218b2665c480393b73482e0939d011f542d3b632e2e776b58f4b2290ce6e191ae55f7eef090300eb5e1b0de5afe4ab4c5aa
|
checksum: 10/47c0a21d5b57b713da6ccd7186ea7af5ca70224c2159f698eea9f534c64cb6f3b38d1eb9c8d5f7df9a484a5f84d94499ce074c04ff9807793611314aa4dc4f90
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/block-std@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/block-std@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/block-std@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/block-std@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lit/context": "npm:^1.1.2"
|
"@lit/context": "npm:^1.1.2"
|
||||||
"@types/hast": "npm:^3.0.4"
|
"@types/hast": "npm:^3.0.4"
|
||||||
@@ -3568,26 +3568,26 @@ __metadata:
|
|||||||
w3c-keyname: "npm:^2.2.8"
|
w3c-keyname: "npm:^2.2.8"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@blocksuite/inline": 0.0.0-canary-20240902140244
|
"@blocksuite/inline": 0.0.0-canary-20240903103812
|
||||||
"@blocksuite/store": 0.0.0-canary-20240902140244
|
"@blocksuite/store": 0.0.0-canary-20240903103812
|
||||||
checksum: 10/e588a8644a9744247ca0aaaaac83946e61cbec30588cc86076cca04180f2b730df050442a7e6564ef4c8432ee7bd6682fd2b0742efb78c68a0f062fce81448b9
|
checksum: 10/6918437af7f2f3121bfd981f055c80c875d99fa7911b2708c4ce7fe2d9d9895161460f8da8bc353b63a34fceb6a5b37a05043334c3ab929da0ab2a070ceb7bb8
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/blocks@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/blocks@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/blocks@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/blocks@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/affine-block-list": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-block-list": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-block-paragraph": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-block-paragraph": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-components": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-components": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-model": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-model": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/icons": "npm:^2.1.66"
|
"@blocksuite/icons": "npm:^2.1.66"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@floating-ui/dom": "npm:^1.6.10"
|
"@floating-ui/dom": "npm:^1.6.10"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lit/context": "npm:^1.1.2"
|
"@lit/context": "npm:^1.1.2"
|
||||||
@@ -3626,17 +3626,17 @@ __metadata:
|
|||||||
sortablejs: "npm:^1.15.2"
|
sortablejs: "npm:^1.15.2"
|
||||||
unified: "npm:^11.0.5"
|
unified: "npm:^11.0.5"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/698b7171454380355dda9b5edb5aa53c570b28f11405d76ca6e6bb244f120107d51dd4869015bd077d7cb68eccbf7d14ddbc5815688d2d27856fb02d689083a3
|
checksum: 10/8c038aaa393a12e5d2bbd5d455276cbc5392f356d69cb20f926903da586c278eeaafc38a85a6f9f5b2c83c7c7de33a8a33bf41f0d1241150023811e41969a2a4
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/global@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/global@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/global@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/global@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
lib0: "npm:^0.2.97"
|
lib0: "npm:^0.2.97"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/16683f5e461610ce561a926675d65cc6fe2764232aaedaf98652c62d17e33dd949fa6250ccb1037a7fd8a8975ab3b32e4a3051f617d5bcbc6e6b7b37d2304000
|
checksum: 10/eabd1d6140402e34db81ea2ac16e348bc04a0e7204d5dcfd4fb04611a00664d66f079093bc23c09f6465cc77ec1970b9d43126063011c56e35603f20382b8de4
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -3656,46 +3656,46 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/inline@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/inline@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/inline@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/inline@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
lit: ^3.1.1
|
lit: ^3.1.1
|
||||||
yjs: ^13.6.15
|
yjs: ^13.6.15
|
||||||
checksum: 10/c1525d4cce973cf4b4f47eb91afed047a803e2bdf6d9cfa703cea77ae6ccf180fc10d7f2a13ef8fa7041e904be39a99008a80fcac8ad5b4f2cb86a183355673a
|
checksum: 10/021b2c4ffe20384054b8839217eebfc4717ff508bff4ead45905f14c080f66be4d78664f86e724f97110e2f84450bdf3aa3207ca647605217a5493663d10b479
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/presets@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/presets@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/presets@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/presets@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/affine-shared": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/blocks": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/blocks": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@floating-ui/dom": "npm:^1.6.10"
|
"@floating-ui/dom": "npm:^1.6.10"
|
||||||
"@lit-labs/preact-signals": "npm:^1.0.2"
|
"@lit-labs/preact-signals": "npm:^1.0.2"
|
||||||
"@lottiefiles/dotlottie-wc": "npm:^0.2.16"
|
"@lottiefiles/dotlottie-wc": "npm:^0.2.16"
|
||||||
"@toeverything/theme": "npm:^1.0.7"
|
"@toeverything/theme": "npm:^1.0.7"
|
||||||
lit: "npm:^3.2.0"
|
lit: "npm:^3.2.0"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
checksum: 10/14ffdd1e3c5ce9def36a14e60400a071ce95e671693a1c9743db3aef5ee298f4804c3b673b7d5a5a9ad23783f5eec67a168fe473b157cc76f7804b9695d60e5b
|
checksum: 10/d423261a0d1a2af08f46f5a5fe24fd837e8531e0320a34ba6ae0e886ab6f7978dbfcf56bc6023f33450a85929ffd1e8f8ab8baf8a6d8d37b1c6e4937099ac820
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/store@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/store@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/store@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/store@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/inline": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/inline": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/sync": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/sync": "npm:0.0.0-canary-20240903103812"
|
||||||
"@preact/signals-core": "npm:^1.8.0"
|
"@preact/signals-core": "npm:^1.8.0"
|
||||||
"@types/flexsearch": "npm:^0.7.6"
|
"@types/flexsearch": "npm:^0.7.6"
|
||||||
"@types/lodash.ismatch": "npm:^4.4.9"
|
"@types/lodash.ismatch": "npm:^4.4.9"
|
||||||
@@ -3709,21 +3709,21 @@ __metadata:
|
|||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
yjs: ^13.6.15
|
yjs: ^13.6.15
|
||||||
checksum: 10/5c146c85440bced7eb41f6e1ad792d783cfd306069ed2b4e9deea3db053920feca2930a8c8ca937b393279a51c9ee1ba1daba25904357a0260c64988ee284c73
|
checksum: 10/7413af8c0ff893bd877a5e3283afe648a31837c7053d15ad2e7ca6a0a222f8e663fec25abef09a1e5373f393cb997ea9bf492e27ef1b9885b566fd6dd7ab58c1
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/sync@npm:0.0.0-canary-20240902140244":
|
"@blocksuite/sync@npm:0.0.0-canary-20240903103812":
|
||||||
version: 0.0.0-canary-20240902140244
|
version: 0.0.0-canary-20240903103812
|
||||||
resolution: "@blocksuite/sync@npm:0.0.0-canary-20240902140244"
|
resolution: "@blocksuite/sync@npm:0.0.0-canary-20240903103812"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
idb: "npm:^8.0.0"
|
idb: "npm:^8.0.0"
|
||||||
idb-keyval: "npm:^6.2.1"
|
idb-keyval: "npm:^6.2.1"
|
||||||
y-protocols: "npm:^1.0.6"
|
y-protocols: "npm:^1.0.6"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
yjs: ^13.6.15
|
yjs: ^13.6.15
|
||||||
checksum: 10/faa7c039c66650be2ac80cb48d79cd585d86eca98c159d9e0f638dc81eee8fd4341f31281e2dd1fd2070f4609ef106a1cae4061a87a93e17c4f0e7ed010bd2c2
|
checksum: 10/082da90b4ede56a2474cbf6f94e23ca0bb0de050fde55ad1a41ad055738a0f5a5cf24cb27054c776072f1a73e46cfb0ffd9b1651a510490307b8e300cf3773f5
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -14165,11 +14165,11 @@ __metadata:
|
|||||||
"@affine/debug": "workspace:*"
|
"@affine/debug": "workspace:*"
|
||||||
"@affine/env": "workspace:*"
|
"@affine/env": "workspace:*"
|
||||||
"@affine/templates": "workspace:*"
|
"@affine/templates": "workspace:*"
|
||||||
"@blocksuite/block-std": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/block-std": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/blocks": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/blocks": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/global": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/global": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/presets": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/presets": "npm:0.0.0-canary-20240903103812"
|
||||||
"@blocksuite/store": "npm:0.0.0-canary-20240902140244"
|
"@blocksuite/store": "npm:0.0.0-canary-20240903103812"
|
||||||
"@datastructures-js/binary-search-tree": "npm:^5.3.2"
|
"@datastructures-js/binary-search-tree": "npm:^5.3.2"
|
||||||
"@testing-library/react": "npm:^16.0.0"
|
"@testing-library/react": "npm:^16.0.0"
|
||||||
async-call-rpc: "npm:^6.4.0"
|
async-call-rpc: "npm:^6.4.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user