Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
weird94 committed Oct 30, 2024
1 parent f3f34f2 commit 99e9899
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/sheets-hyper-link-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"@univerjs/icons": "^0.1.84",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-formula-ui": "workspace:*",
"@univerjs/sheets-hyper-link": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
"clsx": "^2.1.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ import {
WorksheetInsertHyperlinkPermission,
WorksheetViewPermission,
} from '@univerjs/sheets';
import { HyperLinkEditSourceType } from '@univerjs/sheets-hyper-link';
import { HoverManagerService, HoverRenderController, IEditorBridgeService, SheetPermissionInterceptorBaseController, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
import { IZenZoneService } from '@univerjs/ui';
import { debounceTime, map, Observable, switchMap } from 'rxjs';
import { SheetsHyperLinkPopupService } from '../services/popup.service';
import { HyperLinkEditSourceType } from '../types/enums/edit-source';

export class SheetsHyperLinkPopupController extends Disposable {
constructor(
Expand Down
2 changes: 0 additions & 2 deletions packages/sheets-hyper-link-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

export { InsertLinkShortcut } from './controllers/menu';
export { UniverSheetsHyperLinkUIPlugin } from './plugin';

export { SheetsHyperLinkPopupService } from './services/popup.service';

export { SheetsHyperLinkResolverService } from './services/resolver.service';
export { type ICustomHyperLinkView, SheetsHyperLinkSidePanelService } from './services/side-panel.service';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import type { ICanvasPopup } from '@univerjs/sheets-ui';
import { BuildTextUtils, CustomRangeType, Disposable, DOCS_ZEN_EDITOR_UNIT_ID_KEY, Inject, Injector, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
import { DocSelectionManagerService } from '@univerjs/docs';
import { DocCanvasPopManagerService, IEditorService, IRangeSelectorService } from '@univerjs/docs-ui';
import { HyperLinkEditSourceType } from '@univerjs/sheets-hyper-link';
import { getCustomRangePosition, getEditingCustomRangePosition, IEditorBridgeService, SheetCanvasPopManagerService } from '@univerjs/sheets-ui';
import { IZenZoneService } from '@univerjs/ui';
import { BehaviorSubject, Subject } from 'rxjs';
import { HyperLinkEditSourceType } from '../types/enums/edit-source';
import { CellLinkEdit } from '../views/CellLinkEdit';
import { CellLinkPopup } from '../views/CellLinkPopup';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ import { ICommandService, IConfigService, Inject, isValidRange, IUniverInstanceS
import { MessageType } from '@univerjs/design';
import { deserializeRangeWithSheet, IDefinedNamesService } from '@univerjs/engine-formula';
import { SetSelectionsOperation, SetWorksheetActiveOperation } from '@univerjs/sheets';
import { ERROR_RANGE, SheetHyperLinkType } from '@univerjs/sheets-hyper-link';
import { ScrollToRangeOperation } from '@univerjs/sheets-ui';
import { IMessageService } from '@univerjs/ui';
import { PLUGIN_CONFIG_KEY } from '../controllers/config.schema';
import { ERROR_RANGE } from '../types/const';
import { SheetHyperLinkType } from '../types/enums/hyper-link-type';

function getContainRange(range: IRange, worksheet: Worksheet) {
const mergedCells = worksheet.getMergeData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

import type { ICellHyperLink } from '@univerjs/sheets-hyper-link';
import type React from 'react';
import type { ICellHyperLink } from '../types/interfaces/i-hyper-link';
import { Disposable } from '@univerjs/core';
import { SheetHyperLinkType } from '../types/enums/hyper-link-type';
import { SheetHyperLinkType } from '@univerjs/sheets-hyper-link';

export interface ICustomHyperLinkFormProps {
linkId: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-hyper-link/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"outDir": "lib/types"
},
"references": [{ "path": "./tsconfig.node.json" }],
"include": ["src", "vite.config.ts"]
"include": ["src"]
}

0 comments on commit 99e9899

Please sign in to comment.