From 5ce919ef891d1e0b75542bbf9deb2670c1ddb24e Mon Sep 17 00:00:00 2001 From: hexf00 Date: Fri, 27 Dec 2024 23:00:54 +0800 Subject: [PATCH] chore: import new facade --- packages/preset-docs-collaboration/src/umd.ts | 2 ++ packages/preset-sheets-advanced/src/umd.ts | 4 +++- packages/preset-sheets-conditional-formatting/src/umd.ts | 2 ++ packages/preset-sheets-drawing/src/umd.ts | 2 ++ packages/preset-sheets-sort/src/umd.ts | 2 ++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/preset-docs-collaboration/src/umd.ts b/packages/preset-docs-collaboration/src/umd.ts index 71f3082..c10a0a1 100644 --- a/packages/preset-docs-collaboration/src/umd.ts +++ b/packages/preset-docs-collaboration/src/umd.ts @@ -3,6 +3,8 @@ import { UniverCollaborationPlugin } from '@univerjs-pro/collaboration'; import { UniverCollaborationClientPlugin } from '@univerjs-pro/collaboration-client'; import { UniverCollaborationClientUIPlugin } from '@univerjs-pro/collaboration-client-ui'; +import '@univerjs-pro/collaboration-client/facade'; + import '@univerjs-pro/collaboration-client-ui/lib/index.css'; export interface IUniverDocsCollaborationPresetConfig { diff --git a/packages/preset-sheets-advanced/src/umd.ts b/packages/preset-sheets-advanced/src/umd.ts index eb9352c..f4efc97 100644 --- a/packages/preset-sheets-advanced/src/umd.ts +++ b/packages/preset-sheets-advanced/src/umd.ts @@ -12,12 +12,14 @@ import { UniverSheetSparklinePlugin } from '@univerjs-pro/sheets-sparkline'; import { UniverSheetSparklineUIPlugin } from '@univerjs-pro/sheets-sparkline-ui'; import { UniverNetworkPlugin } from '@univerjs/network'; +import '@univerjs/network/facade'; import '@univerjs-pro/exchange-client/facade'; import '@univerjs-pro/sheets-pivot/facade'; import '@univerjs-pro/engine-formula/facade'; import '@univerjs-pro/sheets-print/facade'; -import '@univerjs-pro/sheets-sparkline/facade'; import '@univerjs-pro/sheets-chart-ui/facade'; +import '@univerjs-pro/sheets-pivot-ui/facade'; +import '@univerjs-pro/sheets-sparkline/facade'; import '@univerjs-pro/exchange-client/lib/index.css'; import '@univerjs-pro/sheets-pivot-ui/lib/index.css'; diff --git a/packages/preset-sheets-conditional-formatting/src/umd.ts b/packages/preset-sheets-conditional-formatting/src/umd.ts index 84cc94e..9776899 100644 --- a/packages/preset-sheets-conditional-formatting/src/umd.ts +++ b/packages/preset-sheets-conditional-formatting/src/umd.ts @@ -5,6 +5,8 @@ import { UniverSheetsConditionalFormattingUIPlugin } from '@univerjs/sheets-cond import '@univerjs/sheets-conditional-formatting-ui/lib/index.css'; +import '@univerjs/sheets-conditional-formatting/facade'; + export function UniverSheetsConditionalFormattingPreset(): IPreset { return { plugins: [ diff --git a/packages/preset-sheets-drawing/src/umd.ts b/packages/preset-sheets-drawing/src/umd.ts index ef0df45..01e239f 100644 --- a/packages/preset-sheets-drawing/src/umd.ts +++ b/packages/preset-sheets-drawing/src/umd.ts @@ -6,6 +6,8 @@ import { UniverDrawingUIPlugin } from '@univerjs/drawing-ui'; import { UniverSheetsDrawingPlugin } from '@univerjs/sheets-drawing'; import { UniverSheetsDrawingUIPlugin } from '@univerjs/sheets-drawing-ui'; +import '@univerjs/sheets-drawing-ui/facade'; + import '@univerjs/drawing-ui/lib/index.css'; import '@univerjs/sheets-drawing-ui/lib/index.css'; diff --git a/packages/preset-sheets-sort/src/umd.ts b/packages/preset-sheets-sort/src/umd.ts index f797087..ca00543 100644 --- a/packages/preset-sheets-sort/src/umd.ts +++ b/packages/preset-sheets-sort/src/umd.ts @@ -3,6 +3,8 @@ import type { IPreset } from './types'; import { UniverSheetsSortPlugin } from '@univerjs/sheets-sort'; import { UniverSheetsSortUIPlugin } from '@univerjs/sheets-sort-ui'; +import '@univerjs/sheets-sort/facade'; + import '@univerjs/sheets-sort-ui/lib/index.css'; export function UniverSheetsSortPreset(): IPreset {