Comparing version 15.1.1 to 15.1.2
@@ -26,3 +26,3 @@ "use strict"; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === "function") { | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { | ||
@@ -29,0 +29,0 @@ return Object.getOwnPropertyDescriptor(source, sym).enumerable; |
@@ -5,2 +5,6 @@ "use strict"; | ||
}); | ||
var _exportNames = { | ||
createDragDropActions: true, | ||
manager: true | ||
}; | ||
exports.createDragDropActions = createDragDropActions; | ||
@@ -15,2 +19,3 @@ var _beginDragJs = require("./beginDrag.js"); | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _typesJs[key]) return; | ||
@@ -17,0 +22,0 @@ Object.defineProperty(exports, key, { |
@@ -25,3 +25,3 @@ "use strict"; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === "function") { | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { | ||
@@ -28,0 +28,0 @@ return Object.getOwnPropertyDescriptor(source, sym).enumerable; |
@@ -26,3 +26,3 @@ "use strict"; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === "function") { | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { | ||
@@ -29,0 +29,0 @@ return Object.getOwnPropertyDescriptor(source, sym).enumerable; |
@@ -29,3 +29,3 @@ "use strict"; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === "function") { | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { | ||
@@ -32,0 +32,0 @@ return Object.getOwnPropertyDescriptor(source, sym).enumerable; |
import type { Action, DragDropManager, BeginDragPayload, BeginDragOptions, Identifier } from '../../interfaces.js'; | ||
export declare function createBeginDrag(manager: DragDropManager): (sourceIds?: Identifier[], options?: BeginDragOptions) => Action<BeginDragPayload> | undefined; |
import type { DragDropManager } from '../../interfaces.js'; | ||
export declare function createDrop(manager: DragDropManager): (options?: {}) => void; |
import type { DragDropManager, SentinelAction } from '../../interfaces.js'; | ||
export declare function createEndDrag(manager: DragDropManager): () => SentinelAction; |
import type { Action, DragDropManager, HoverPayload, HoverOptions } from '../../interfaces.js'; | ||
export declare function createHover(manager: DragDropManager): (targetIdsArg: string[], { clientOffset }?: HoverOptions) => Action<HoverPayload>; |
import type { DragDropManager, DragDropActions } from '../../interfaces.js'; | ||
export * from './types.js'; | ||
export declare function createDragDropActions(manager: DragDropManager): DragDropActions; |
import type { XYCoord } from '../../../interfaces.js'; | ||
import type { AnyAction } from 'redux'; | ||
export declare function setClientOffset(clientOffset: XYCoord | null | undefined, sourceClientOffset?: XYCoord | null | undefined): AnyAction; |
import type { DragDropManager, SentinelAction } from '../../interfaces.js'; | ||
export declare function createPublishDragSource(manager: DragDropManager): () => SentinelAction | undefined; |
@@ -0,0 +0,0 @@ export declare const INIT_COORDS = "dnd-core/INIT_COORDS"; |
@@ -0,0 +0,0 @@ import type { Action, SourceIdPayload, TargetIdPayload } from '../interfaces.js'; |
@@ -0,0 +0,0 @@ import type { Store, Action } from 'redux'; |
@@ -0,0 +0,0 @@ import type { Store } from 'redux'; |
@@ -0,0 +0,0 @@ import type { Store } from 'redux'; |
@@ -0,0 +0,0 @@ import type { DragSource, DropTarget, Identifier } from './interfaces.js'; |
import type { DragDropManager, BackendFactory } from './interfaces.js'; | ||
export declare function createDragDropManager(backendFactory: BackendFactory, globalContext?: unknown, backendOptions?: unknown, debugMode?: boolean): DragDropManager; |
export * from './interfaces.js'; | ||
export * from './createDragDropManager.js'; |
@@ -0,0 +0,0 @@ export declare type Identifier = string | symbol; |
@@ -0,0 +0,0 @@ import type { Action } from '../interfaces.js'; |
@@ -0,0 +0,0 @@ import type { XYCoord, Action } from '../interfaces.js'; |
@@ -0,0 +0,0 @@ import type { Identifier, Action } from '../interfaces.js'; |
@@ -0,0 +0,0 @@ import { State as DragOffsetState } from './dragOffset.js'; |
import type { Action } from '../interfaces.js'; | ||
export declare type State = number; | ||
export declare function reduce(state: number | undefined, action: Action<any>): State; |
export declare type State = number; | ||
export declare function reduce(state?: State): State; |
@@ -0,0 +0,0 @@ import type { State } from '../reducers/dragOffset.js'; |
@@ -0,0 +0,0 @@ export declare const NONE: string[]; |
@@ -0,0 +0,0 @@ import type { XYCoord } from '../interfaces.js'; |
export declare function getNextUniqueId(): number; |
@@ -0,0 +0,0 @@ /** |
import type { Identifier } from '../interfaces.js'; | ||
export declare function matchesType(targetType: Identifier | Identifier[] | null, draggedItemType: Identifier | null): boolean; |
{ | ||
"name": "dnd-core", | ||
"version": "15.1.1", | ||
"version": "15.1.2", | ||
"description": "Drag and drop sans the GUI", | ||
@@ -27,10 +27,10 @@ "license": "MIT", | ||
"dependencies": { | ||
"@react-dnd/asap": "4.0.0", | ||
"@react-dnd/invariant": "3.0.0", | ||
"redux": "^4.1.1" | ||
"@react-dnd/asap": "4.0.1", | ||
"@react-dnd/invariant": "3.0.1", | ||
"redux": "^4.1.2" | ||
}, | ||
"devDependencies": { | ||
"@swc/cli": "^0.1.55", | ||
"@swc/core": "^1.2.136", | ||
"@types/jest": "^27.4.0", | ||
"@swc/cli": "^0.1.57", | ||
"@swc/core": "^1.2.161", | ||
"@types/jest": "^27.4.1", | ||
"@types/setimmediate": "^1.0.2", | ||
@@ -41,4 +41,4 @@ "npm-run-all": "^4.1.5", | ||
"shx": "^0.3.4", | ||
"typescript": "^4.5.5" | ||
"typescript": "^4.6.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
330805
4321
+ Added@react-dnd/asap@4.0.1(transitive)
+ Added@react-dnd/invariant@3.0.1(transitive)
- Removed@react-dnd/asap@4.0.0(transitive)
- Removed@react-dnd/invariant@3.0.0(transitive)
Updated@react-dnd/asap@4.0.1
Updated@react-dnd/invariant@3.0.1
Updatedredux@^4.1.2