authscape 1.0.390 → 1.0.394
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -2471,7 +2471,6 @@ var _reactDom = require("react-dom");
|
|
|
2471
2471
|
var _core = require("@dnd-kit/core");
|
|
2472
2472
|
var _sortable = require("@dnd-kit/sortable");
|
|
2473
2473
|
var _utilities = require("@dnd-kit/utilities");
|
|
2474
|
-
var _multipleContainersKeyboardCoordinates = require("./multipleContainersKeyboardCoordinates");
|
|
2475
2474
|
var _material = require("@mui/material");
|
|
2476
2475
|
var _excluded = ["children", "columns", "disabled", "id", "containerStyles", "items", "style"];
|
|
2477
2476
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -2497,7 +2496,8 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
2497
2496
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2498
2497
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2499
2498
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
2500
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } // import {
|
|
2499
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } // import {coordinateGetter as multipleContainersCoordinateGetter} from './multipleContainersKeyboardCoordinates';
|
|
2500
|
+
// import { apiService } from 'authscape';
|
|
2501
2501
|
// import { Item } from './item';
|
|
2502
2502
|
// import { Container } from './container';
|
|
2503
2503
|
var animateLayoutChanges = function animateLayoutChanges(args) {
|
|
@@ -2579,7 +2579,7 @@ function Kanban(_ref2) {
|
|
|
2579
2579
|
itemStyles = _ref2.itemStyles,
|
|
2580
2580
|
containerStyle = _ref2.containerStyle,
|
|
2581
2581
|
_ref2$coordinateGette = _ref2.coordinateGetter,
|
|
2582
|
-
coordinateGetter = _ref2$coordinateGette === void 0 ?
|
|
2582
|
+
coordinateGetter = _ref2$coordinateGette === void 0 ? multipleContainersCoordinateGetter : _ref2$coordinateGette,
|
|
2583
2583
|
_ref2$getItemStyles = _ref2.getItemStyles,
|
|
2584
2584
|
getItemStyles = _ref2$getItemStyles === void 0 ? function () {
|
|
2585
2585
|
return {};
|
|
@@ -3230,10 +3230,10 @@ function useMountStatus() {
|
|
|
3230
3230
|
Object.defineProperty(exports, "__esModule", {
|
|
3231
3231
|
value: true
|
|
3232
3232
|
});
|
|
3233
|
-
exports.
|
|
3233
|
+
exports.multipleContainersCoordinateGetter = void 0;
|
|
3234
3234
|
var _core = require("@dnd-kit/core");
|
|
3235
3235
|
var directions = [_core.KeyboardCode.Down, _core.KeyboardCode.Right, _core.KeyboardCode.Up, _core.KeyboardCode.Left];
|
|
3236
|
-
var
|
|
3236
|
+
var multipleContainersCoordinateGetter = function multipleContainersCoordinateGetter(event, _ref) {
|
|
3237
3237
|
var _ref$context = _ref.context,
|
|
3238
3238
|
active = _ref$context.active,
|
|
3239
3239
|
droppableRects = _ref$context.droppableRects,
|
|
@@ -3322,7 +3322,7 @@ var coordinateGetter = function coordinateGetter(event, _ref) {
|
|
|
3322
3322
|
}
|
|
3323
3323
|
return undefined;
|
|
3324
3324
|
};
|
|
3325
|
-
exports.
|
|
3325
|
+
exports.multipleContainersCoordinateGetter = multipleContainersCoordinateGetter;
|
|
3326
3326
|
"use strict";
|
|
3327
3327
|
|
|
3328
3328
|
Object.defineProperty(exports, "__esModule", {
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
horizontalListSortingStrategy,
|
|
34
34
|
} from '@dnd-kit/sortable';
|
|
35
35
|
import {CSS} from '@dnd-kit/utilities';
|
|
36
|
-
import {coordinateGetter as multipleContainersCoordinateGetter} from './multipleContainersKeyboardCoordinates';
|
|
36
|
+
// import {coordinateGetter as multipleContainersCoordinateGetter} from './multipleContainersKeyboardCoordinates';
|
|
37
37
|
|
|
38
38
|
// import { apiService } from 'authscape';
|
|
39
39
|
|