Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liukefu/designable-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liukefu/designable-core - npm Package Compare versions

Comparing version 1.0.0-beta.46 to 1.0.0-beta.47

4

package.json
{
"name": "@liukefu/designable-core",
"version": "1.0.0-beta.46",
"version": "1.0.0-beta.47",
"license": "MIT",

@@ -36,3 +36,3 @@ "main": "lib",

"dependencies": {
"@liukefu/designable-shared": "1.0.0-beta.46",
"@liukefu/designable-shared": "1.0.0-beta.47",
"@juggle/resize-observer": "^3.3.1"

@@ -39,0 +39,0 @@ },

@@ -1,2 +0,2 @@

import { EventDriver } from '@designable/shared'
import { EventDriver } from '@liukefu/designable-shared'
import { Engine } from '../models/Engine'

@@ -3,0 +3,0 @@ import { DragStartEvent, DragMoveEvent, DragStopEvent } from '../events'

@@ -1,2 +0,2 @@

import { EventDriver } from '@designable/shared'
import { EventDriver } from '@liukefu/designable-shared'
import { KeyDownEvent, KeyUpEvent } from '../events'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { EventDriver } from '@designable/shared'
import { EventDriver } from '@liukefu/designable-shared'
import { Engine } from '../models/Engine'

@@ -3,0 +3,0 @@ import { MouseClickEvent, MouseDoubleClickEvent } from '../events'

@@ -1,2 +0,2 @@

import { EventDriver } from '@designable/shared'
import { EventDriver } from '@liukefu/designable-shared'
import { Engine } from '../models/Engine'

@@ -3,0 +3,0 @@ import { MouseMoveEvent } from '../events'

@@ -1,6 +0,6 @@

import { EventDriver } from '@designable/shared'
import { EventDriver } from '@liukefu/designable-shared'
import { Engine } from '../models/Engine'
import { ViewportResizeEvent } from '../events'
import { ResizeObserver } from '@juggle/resize-observer'
import { globalThisPolyfill } from '@designable/shared'
import { globalThisPolyfill } from '@liukefu/designable-shared'

@@ -7,0 +7,0 @@ export class ViewportResizeDriver extends EventDriver<Engine> {

@@ -1,2 +0,2 @@

import { EventDriver, globalThisPolyfill } from '@designable/shared'
import { EventDriver, globalThisPolyfill } from '@liukefu/designable-shared'
import { Engine } from '../models/Engine'

@@ -3,0 +3,0 @@ import { ViewportScrollEvent } from '../events'

@@ -9,3 +9,3 @@ import { Engine, CursorStatus, Viewport } from '../models'

Point,
} from '@designable/shared'
} from '@liukefu/designable-shared'

@@ -12,0 +12,0 @@ export const useAutoScrollEffect = (engine: Engine) => {

import { Path } from '@formily/path'
import { requestIdle, globalThisPolyfill } from '@designable/shared'
import { requestIdle, globalThisPolyfill } from '@liukefu/designable-shared'
import { Engine, TreeNode } from '../models'

@@ -4,0 +4,0 @@ import { MouseDoubleClickEvent, MouseClickEvent } from '../events'

@@ -8,3 +8,3 @@ import { Engine, CursorStatus } from '../models'

} from '../events'
import { requestIdle } from '@designable/shared'
import { requestIdle } from '@liukefu/designable-shared'

@@ -11,0 +11,0 @@ export const useCursorEffect = (engine: Engine) => {

@@ -14,3 +14,3 @@ import {

} from '../events'
import { Point } from '@designable/shared'
import { Point } from '@liukefu/designable-shared'

@@ -17,0 +17,0 @@ export const useDragDropEffect = (engine: Engine) => {

@@ -8,3 +8,3 @@ import { DragStopEvent } from '../events'

Point,
} from '@designable/shared'
} from '@liukefu/designable-shared'

@@ -11,0 +11,0 @@ export const useFreeSelectionEffect = (engine: Engine) => {

import { Engine, CursorStatus } from '../models'
import { MouseClickEvent } from '../events'
import { KeyCode, Point } from '@designable/shared'
import { KeyCode, Point } from '@liukefu/designable-shared'

@@ -5,0 +5,0 @@ export const useSelectionEffect = (engine: Engine) => {

import { Engine } from '../models'
import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { IEngineContext } from '../types'

@@ -4,0 +4,0 @@ import { SelectNodeEvent } from '../events'

import { IEngineContext } from '../../types'
import { globalThisPolyfill } from '@designable/shared'
import { globalThisPolyfill } from '@liukefu/designable-shared'

@@ -4,0 +4,0 @@ export interface ICursorEventOriginData {

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractCursorEvent } from './AbstractCursorEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractCursorEvent } from './AbstractCursorEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractCursorEvent } from './AbstractCursorEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractCursorEvent } from './AbstractCursorEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractCursorEvent } from './AbstractCursorEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractHistoryEvent } from './AbstractHistoryEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractHistoryEvent } from './AbstractHistoryEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractHistoryEvent } from './AbstractHistoryEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractHistoryEvent } from './AbstractHistoryEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { getKeyCodeFromEvent, KeyCode } from '@designable/shared'
import { getKeyCodeFromEvent, KeyCode } from '@liukefu/designable-shared'
import { IEngineContext } from '../../types'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractKeyboardEvent } from './AbstractKeyboardEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractKeyboardEvent } from './AbstractKeyboardEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { ITreeNode, TreeNode } from '../../models'

@@ -3,0 +3,0 @@ import { IEngineContext } from '../../types'

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractMutationNodeEvent } from './AbstractMutationNodeEvent'

@@ -3,0 +3,0 @@

import { IEngineContext } from '../../types'
import { globalThisPolyfill } from '@designable/shared'
import { globalThisPolyfill } from '@liukefu/designable-shared'

@@ -4,0 +4,0 @@ export interface IViewportEventData {

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractViewportEvent } from './AbstractViewportEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractViewportEvent } from './AbstractViewportEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractWorkspaceEvent } from './AbstractWorkspaceEvent'

@@ -3,0 +3,0 @@ export class AddWorkspaceEvent

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractWorkspaceEvent } from './AbstractWorkspaceEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { ICustomEvent } from '@designable/shared'
import { ICustomEvent } from '@liukefu/designable-shared'
import { AbstractWorkspaceEvent } from './AbstractWorkspaceEvent'

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { isArr } from '@designable/shared'
import { isArr } from '@liukefu/designable-shared'
import { untracked } from '@formily/reactive'

@@ -3,0 +3,0 @@ import { DEFAULT_DRIVERS, DEFAULT_EFFECTS, DEFAULT_SHORTCUTS } from './presets'

import * as Core from './exports'
export * from './exports'
import { globalThisPolyfill } from '@designable/shared'
import { globalThisPolyfill } from '@liukefu/designable-shared'

@@ -5,0 +5,0 @@ if (globalThisPolyfill?.['Designable']?.['Core']) {

@@ -1,3 +0,3 @@

import { each, isPlainObj } from '@designable/shared'
import { globalThisPolyfill } from '@designable/shared'
import { each, isPlainObj } from '@liukefu/designable-shared'
import { globalThisPolyfill } from '@liukefu/designable-shared'

@@ -4,0 +4,0 @@ export const lowerSnake = (str: string) => {

import { Engine } from './Engine'
import { action, define, observable } from '@formily/reactive'
import { globalThisPolyfill, isValidNumber } from '@designable/shared'
import { globalThisPolyfill, isValidNumber } from '@liukefu/designable-shared'

@@ -5,0 +5,0 @@ export enum CursorStatus {

@@ -7,3 +7,3 @@ import { IEngineProps } from '../types'

import { Screen, ScreenType } from './Screen'
import { Event, uid, globalThisPolyfill } from '@designable/shared'
import { Event, uid, globalThisPolyfill } from '@liukefu/designable-shared'

@@ -10,0 +10,0 @@ /**

import { observable, define, action } from '@formily/reactive'
import { KeyCode } from '@designable/shared'
import { KeyCode } from '@liukefu/designable-shared'
import { Engine } from './Engine'

@@ -4,0 +4,0 @@ import { Shortcut } from './Shortcut'

@@ -11,3 +11,3 @@ import { Operation } from './Operation'

Rect,
} from '@designable/shared'
} from '@liukefu/designable-shared'
import { DragNodeEvent, DropNodeEvent } from '../events'

@@ -14,0 +14,0 @@ import { Viewport } from './Viewport'

@@ -8,3 +8,3 @@ import { Workspace } from './Workspace'

import { MoveHelper } from './MoveHelper'
import { cancelIdle, ICustomEvent, isFn, requestIdle } from '@designable/shared'
import { cancelIdle, ICustomEvent, isFn, requestIdle } from '@liukefu/designable-shared'

@@ -11,0 +11,0 @@ export interface IOperation {

@@ -5,3 +5,3 @@ import { observable, define, action } from '@formily/reactive'

import { TreeNode } from './TreeNode'
import { isStr, isArr } from '@designable/shared'
import { isStr, isArr } from '@liukefu/designable-shared'

@@ -8,0 +8,0 @@ export interface ISelection {

@@ -1,2 +0,2 @@

import { isFn, KeyCode } from '@designable/shared'
import { isFn, KeyCode } from '@liukefu/designable-shared'
import { IEngineContext } from '../types'

@@ -3,0 +3,0 @@

@@ -7,3 +7,3 @@ import {

Rect,
} from '@designable/shared'
} from '@liukefu/designable-shared'
import { TreeNode } from './TreeNode'

@@ -10,0 +10,0 @@ import { TransformHelper } from './TransformHelper'

@@ -6,3 +6,3 @@ import {

Rect,
} from '@designable/shared'
} from '@liukefu/designable-shared'
import { SnapLine } from './SnapLine'

@@ -9,0 +9,0 @@ import { TransformHelper } from './TransformHelper'

@@ -17,3 +17,3 @@ import {

calcCombineSnapLineSegment,
} from '@designable/shared'
} from '@liukefu/designable-shared'
import { observable, define, action } from '@formily/reactive'

@@ -20,0 +20,0 @@ import { SpaceBlock, AroundSpaceBlock } from './SpaceBlock'

import { action, define, observable, toJS } from '@formily/reactive'
import { uid, isFn, each } from '@designable/shared'
import { uid, isFn, each } from '@liukefu/designable-shared'
import { Operation } from './Operation'

@@ -4,0 +4,0 @@ import {

@@ -13,3 +13,3 @@ import {

isRectInRect,
} from '@designable/shared'
} from '@liukefu/designable-shared'
import { action, define, observable } from '@formily/reactive'

@@ -16,0 +16,0 @@ import { Workspace } from './Workspace'

@@ -5,3 +5,3 @@ import { Engine } from './Engine'

import { History } from './History'
import { uid, ICustomEvent, EventContainer } from '@designable/shared'
import { uid, ICustomEvent, EventContainer } from '@liukefu/designable-shared'
import {

@@ -8,0 +8,0 @@ HistoryGotoEvent,

@@ -1,2 +0,2 @@

import { each } from '@designable/shared'
import { each } from '@liukefu/designable-shared'
import { Path } from '@formily/path'

@@ -3,0 +3,0 @@ import { observable } from '@formily/reactive'

@@ -1,2 +0,2 @@

import { IEventProps, Event } from '@designable/shared'
import { IEventProps, Event } from '@liukefu/designable-shared'
import { ISchema } from '@formily/json-schema'

@@ -3,0 +3,0 @@ import {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc