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

@data-driven-forms/dnd

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@data-driven-forms/dnd - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

12

esm/reducer/reducer.d.ts

@@ -6,2 +6,14 @@ export declare const clearDrag: {

};
export declare const initialState: {
components: {};
containers: {
root: {
children: never[];
ref: null;
};
};
draggingElement: null;
sourceContainer: null;
draggingProps: null;
};
export declare const dragStart: (state: any, action: any) => any;

@@ -8,0 +20,0 @@ export declare const dragDrop: (state: any, action: any) => any;

@@ -17,2 +17,8 @@ var __assign = (this && this.__assign) || function () {

};
export var initialState = __assign(__assign({}, clearDrag), { components: {}, containers: {
root: {
children: [],
ref: null
}
} });
export var dragStart = function (state, action) { return (__assign(__assign({}, state), { draggingElement: action.component, sourceContainer: action.sourceContainer, draggingProps: action.props })); };

@@ -19,0 +25,0 @@ export var dragDrop = function (state, action) {

2

package.json
{
"name": "@data-driven-forms/dnd",
"version": "0.0.6",
"version": "0.0.7",
"description": "---",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,2 +6,14 @@ export declare const clearDrag: {

};
export declare const initialState: {
components: {};
containers: {
root: {
children: never[];
ref: null;
};
};
draggingElement: null;
sourceContainer: null;
draggingProps: null;
};
export declare const dragStart: (state: any, action: any) => any;

@@ -8,0 +20,0 @@ export declare const dragDrop: (state: any, action: any) => any;

@@ -14,3 +14,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.reducer = exports.updateComponent = exports.updateContainer = exports.dragDrop = exports.dragStart = exports.clearDrag = void 0;
exports.reducer = exports.updateComponent = exports.updateContainer = exports.dragDrop = exports.dragStart = exports.initialState = exports.clearDrag = void 0;
exports.clearDrag = {

@@ -21,2 +21,8 @@ draggingElement: null,

};
exports.initialState = __assign(__assign({}, exports.clearDrag), { components: {}, containers: {
root: {
children: [],
ref: null
}
} });
var dragStart = function (state, action) { return (__assign(__assign({}, state), { draggingElement: action.component, sourceContainer: action.sourceContainer, draggingProps: action.props })); };

@@ -23,0 +29,0 @@ exports.dragStart = dragStart;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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