mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
@@ -3,11 +3,6 @@ import { UserFriendlyError } from '@affine/error';
|
||||
import { type DocMode as GraphqlDocMode } from '@affine/graphql';
|
||||
import { I18n, i18nTime } from '@affine/i18n';
|
||||
import track from '@affine/track';
|
||||
import {
|
||||
BLOCK_ID_ATTR,
|
||||
type BlockComponent,
|
||||
type EditorHost,
|
||||
} from '@blocksuite/affine/block-std';
|
||||
import {
|
||||
type LinkedMenuGroup,
|
||||
type LinkedMenuItem,
|
||||
@@ -17,6 +12,11 @@ import {
|
||||
import type { DocMode } from '@blocksuite/affine/model';
|
||||
import { DocModeProvider } from '@blocksuite/affine/shared/services';
|
||||
import type { AffineInlineEditor } from '@blocksuite/affine/shared/types';
|
||||
import {
|
||||
BLOCK_ID_ATTR,
|
||||
type BlockComponent,
|
||||
type EditorHost,
|
||||
} from '@blocksuite/affine/std';
|
||||
import type { DocMeta } from '@blocksuite/affine/store';
|
||||
import { Text } from '@blocksuite/affine/store';
|
||||
import {
|
||||
|
||||
@@ -6,11 +6,11 @@ import {
|
||||
type toExternalData,
|
||||
} from '@affine/component';
|
||||
import type { AffineDNDData } from '@affine/core/types/dnd';
|
||||
import { BlockStdScope } from '@blocksuite/affine/block-std';
|
||||
import {
|
||||
DNDAPIExtension,
|
||||
DndApiExtensionIdentifier,
|
||||
} from '@blocksuite/affine/shared/services';
|
||||
import { BlockStdScope } from '@blocksuite/affine/std';
|
||||
import type { SliceSnapshot } from '@blocksuite/affine/store';
|
||||
import type { DragBlockPayload } from '@blocksuite/affine/widgets/drag-handle';
|
||||
import { Service } from '@toeverything/infra';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { DebugLogger } from '@affine/debug';
|
||||
import { BlockStdScope } from '@blocksuite/affine/block-std';
|
||||
import { PageEditorBlockSpecs } from '@blocksuite/affine/extensions';
|
||||
import { BlockStdScope } from '@blocksuite/affine/std';
|
||||
import type { Store } from '@blocksuite/affine/store';
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
import { PropertyValue } from '@affine/component';
|
||||
import { ConfigModal } from '@affine/core/components/mobile';
|
||||
import type { BlockStdScope } from '@blocksuite/affine/block-std';
|
||||
import { DefaultInlineManagerExtension } from '@blocksuite/affine/inlines/preset';
|
||||
import { RichText } from '@blocksuite/affine/rich-text';
|
||||
import type { BlockStdScope } from '@blocksuite/affine/std';
|
||||
import type { Store } from '@blocksuite/affine/store';
|
||||
import { TextIcon } from '@blocksuite/icons/rc';
|
||||
import { type LiveData, useLiveData } from '@toeverything/infra';
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { AffineEditorContainer } from '@affine/core/blocksuite/block-suite-editor';
|
||||
import type { DefaultOpenProperty } from '@affine/core/components/doc-properties';
|
||||
import { GfxControllerIdentifier } from '@blocksuite/affine/block-std/gfx';
|
||||
import type { DocTitle } from '@blocksuite/affine/fragments/doc-title';
|
||||
import type { DocMode, ReferenceParams } from '@blocksuite/affine/model';
|
||||
import { HighlightSelection } from '@blocksuite/affine/shared/selection';
|
||||
import { FeatureFlagService as BSFeatureFlagService } from '@blocksuite/affine/shared/services';
|
||||
import type { InlineEditor } from '@blocksuite/block-std/inline';
|
||||
import { GfxControllerIdentifier } from '@blocksuite/affine/std/gfx';
|
||||
import type { InlineEditor } from '@blocksuite/std/inline';
|
||||
import { effect } from '@preact/signals-core';
|
||||
import { Entity, LiveData } from '@toeverything/infra';
|
||||
import { defaults, isEqual, omit } from 'lodash-es';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { BlockComponent, EditorHost } from '@blocksuite/affine/block-std';
|
||||
import type { SurfaceRefBlockComponent } from '@blocksuite/affine/blocks/surface-ref';
|
||||
import { AffineReference } from '@blocksuite/affine/inlines/reference';
|
||||
import type {
|
||||
@@ -9,6 +8,7 @@ import type {
|
||||
ImageBlockModel,
|
||||
SurfaceRefBlockModel,
|
||||
} from '@blocksuite/affine/model';
|
||||
import type { BlockComponent, EditorHost } from '@blocksuite/affine/std';
|
||||
import type { Block, BlockModel } from '@blocksuite/affine/store';
|
||||
import { Entity, LiveData } from '@toeverything/infra';
|
||||
import type { TemplateResult } from 'lit';
|
||||
|
||||
@@ -3,8 +3,8 @@ import { AIChatBlockPeekViewTemplate } from '@affine/core/blocksuite/ai';
|
||||
import type { AIChatBlockModel } from '@affine/core/blocksuite/ai/blocks/ai-chat-block/model/ai-chat-model';
|
||||
import { enableFootnoteConfigExtension } from '@affine/core/blocksuite/extensions';
|
||||
import { AINetworkSearchService } from '@affine/core/modules/ai-button/services/network-search';
|
||||
import type { EditorHost } from '@blocksuite/affine/block-std';
|
||||
import { SpecProvider } from '@blocksuite/affine/shared/utils';
|
||||
import type { EditorHost } from '@blocksuite/affine/std';
|
||||
import { useFramework } from '@toeverything/infra';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@ import { useGuard } from '@affine/core/components/guard';
|
||||
import { PageNotFound } from '@affine/core/desktop/pages/404';
|
||||
import { EditorService } from '@affine/core/modules/editor';
|
||||
import { DebugLogger } from '@affine/debug';
|
||||
import { GfxControllerIdentifier } from '@blocksuite/affine/block-std/gfx';
|
||||
import { DisposableGroup } from '@blocksuite/affine/global/disposable';
|
||||
import { Bound } from '@blocksuite/affine/global/gfx';
|
||||
import { RefNodeSlotsProvider } from '@blocksuite/affine/inlines/reference';
|
||||
import { GfxControllerIdentifier } from '@blocksuite/affine/std/gfx';
|
||||
import {
|
||||
FrameworkScope,
|
||||
useLiveData,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { toReactNode } from '@affine/component';
|
||||
import { BlockComponent } from '@blocksuite/affine/block-std';
|
||||
import { BlockComponent } from '@blocksuite/affine/std';
|
||||
import { useLiveData, useService } from '@toeverything/infra';
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user