mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
110 lines
217 KiB
Diff
110 lines
217 KiB
Diff
|
|
diff --git a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.cjs.js b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.cjs.js
|
||
|
|
index 12884e9..c4b19c1 100644
|
||
|
|
--- a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.cjs.js
|
||
|
|
+++ b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.cjs.js
|
||
|
|
@@ -8216,7 +8216,6 @@ var mapDispatchToProps = {
|
||
|
|
};
|
||
|
|
var ConnectedDraggable = reactRedux.connect(makeMapStateToProps, mapDispatchToProps, null, {
|
||
|
|
context: StoreContext,
|
||
|
|
- pure: true,
|
||
|
|
areStatePropsEqual: isStrictEqual
|
||
|
|
})(Draggable);
|
||
|
|
|
||
|
|
@@ -8513,7 +8512,6 @@ var defaultProps = {
|
||
|
|
};
|
||
|
|
var ConnectedDroppable = reactRedux.connect(makeMapStateToProps$1, mapDispatchToProps$1, null, {
|
||
|
|
context: StoreContext,
|
||
|
|
- pure: true,
|
||
|
|
areStatePropsEqual: isStrictEqual
|
||
|
|
})(Droppable);
|
||
|
|
ConnectedDroppable.defaultProps = defaultProps;
|
||
|
|
diff --git a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js
|
||
|
|
index ecced69..63bd90b 100644
|
||
|
|
--- a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js
|
||
|
|
+++ b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js
|
||
|
|
@@ -8209,7 +8209,6 @@ var mapDispatchToProps = {
|
||
|
|
};
|
||
|
|
var ConnectedDraggable = connect(makeMapStateToProps, mapDispatchToProps, null, {
|
||
|
|
context: StoreContext,
|
||
|
|
- pure: true,
|
||
|
|
areStatePropsEqual: isStrictEqual
|
||
|
|
})(Draggable);
|
||
|
|
|
||
|
|
@@ -8506,7 +8505,6 @@ var defaultProps = {
|
||
|
|
};
|
||
|
|
var ConnectedDroppable = connect(makeMapStateToProps$1, mapDispatchToProps$1, null, {
|
||
|
|
context: StoreContext,
|
||
|
|
- pure: true,
|
||
|
|
areStatePropsEqual: isStrictEqual
|
||
|
|
})(Droppable);
|
||
|
|
ConnectedDroppable.defaultProps = defaultProps;
|
||
|
|
diff --git a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.js b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.js
|
||
|
|
index 84b63e9..4216153 100644
|
||
|
|
--- a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.js
|
||
|
|
+++ b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.js
|
||
|
|
@@ -2967,7 +2967,6 @@
|
||
|
|
|
||
|
|
var _ref3 = _ref2,
|
||
|
|
_ref3$pure = _ref3.pure,
|
||
|
|
- pure = _ref3$pure === void 0 ? true : _ref3$pure,
|
||
|
|
_ref3$areStatesEqual = _ref3.areStatesEqual,
|
||
|
|
areStatesEqual = _ref3$areStatesEqual === void 0 ? strictEqual : _ref3$areStatesEqual,
|
||
|
|
_ref3$areOwnPropsEqua = _ref3.areOwnPropsEqual,
|
||
|
|
@@ -2994,7 +2993,6 @@
|
||
|
|
initMapStateToProps: initMapStateToProps,
|
||
|
|
initMapDispatchToProps: initMapDispatchToProps,
|
||
|
|
initMergeProps: initMergeProps,
|
||
|
|
- pure: pure,
|
||
|
|
areStatesEqual: areStatesEqual,
|
||
|
|
areOwnPropsEqual: areOwnPropsEqual,
|
||
|
|
areStatePropsEqual: areStatePropsEqual,
|
||
|
|
@@ -11210,7 +11208,6 @@
|
||
|
|
};
|
||
|
|
var ConnectedDraggable = connect(makeMapStateToProps, mapDispatchToProps, null, {
|
||
|
|
context: StoreContext,
|
||
|
|
- pure: true,
|
||
|
|
areStatePropsEqual: isStrictEqual
|
||
|
|
})(Draggable);
|
||
|
|
|
||
|
|
@@ -11507,7 +11504,6 @@
|
||
|
|
};
|
||
|
|
var ConnectedDroppable = connect(makeMapStateToProps$1, mapDispatchToProps$1, null, {
|
||
|
|
context: StoreContext,
|
||
|
|
- pure: true,
|
||
|
|
areStatePropsEqual: isStrictEqual
|
||
|
|
})(Droppable);
|
||
|
|
ConnectedDroppable.defaultProps = defaultProps;
|
||
|
|
diff --git a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.min.js b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.min.js
|
||
|
|
index a18e84d..ecacbc0 100644
|
||
|
|
--- a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.min.js
|
||
|
|
+++ b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.min.js
|
||
|
|
@@ -1 +1 @@
|
||
|
|
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e=e||self).ReactBeautifulDnd={},e.React,e.ReactDOM)}(this,(function(e,t,r){"use strict";var n="default"in t?t.default:t,i="default"in r?r.default:r;function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(){}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t,r){var n=t.map((function(t){var n,i,o=(n=r,i=t.options,l({},n,{},i));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){n.forEach((function(e){e()}))}}function c(e){this.message=e}function s(e,t){if(!e)throw new c("Invariant failed")}c.prototype.toString=function(){return this.message};var d=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).callbacks=null,t.unbind=a,t.onWindowError=function(e){var r=t.getCallbacks();r.isDragging()&&r.tryAbort(),e.error instanceof c&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}o(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=u(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(e){if(!(e instanceof c))throw e;this.setState({})},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(n.Component),p=function(e){return e+1},f=function(e,t){var r=e.droppableId===t.droppableId,n=p(e.index),i=p(t.index);return r?"\n You have moved the item from position "+n+"\n to position "+i+"\n ":"\n You have moved the item from position "+n+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},g=function(e,t,r){return t.droppableId===r.droppableId?"\n The item "+e+"\n has been combined with "+r.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+r.draggableId+"\n in list "+r.droppableId+"\n "},v=function(e){return"\n The item has returned to its starting position\n of "+p(e.index)+"\n"},m="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",b=function(e){return"\n You have lifted an item in position "+p(e.source.index)+"\n"},h=function(e){var t=e.destination;if(t)return f(e.source,t);var r=e.combine;return r?g(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},y=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+v(e.source)+"\n ";var t=e.destination,r=e.combine;return t?"\n You have dropped the item.\n "+f(e.source,t)+"\n ":r?"\n You have dropped the item.\n "+g(e.draggableId,e.source,r)+"\n ":"\n The item has been dropped while not over a drop area.\n "+v(e.source)+"\n "};var x=function(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()),I=function(){return Math.random().toString(36).substring(7).split("").join(".")},D={INIT:"@@redux/INIT"+I(),REPLACE:"@@redux/REPLACE"+I(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+I()}};function w(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)=
|
||
|
|
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e=e||self).ReactBeautifulDnd={},e.React,e.ReactDOM)}(this,(function(e,t,r){"use strict";var n="default"in t?t.default:t,i="default"in r?r.default:r;function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(){}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t,r){var n=t.map((function(t){var n,i,o=(n=r,i=t.options,l({},n,{},i));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){n.forEach((function(e){e()}))}}function c(e){this.message=e}function s(e,t){if(!e)throw new c("Invariant failed")}c.prototype.toString=function(){return this.message};var d=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).callbacks=null,t.unbind=a,t.onWindowError=function(e){var r=t.getCallbacks();r.isDragging()&&r.tryAbort(),e.error instanceof c&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}o(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=u(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(e){if(!(e instanceof c))throw e;this.setState({})},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(n.Component),p=function(e){return e+1},f=function(e,t){var r=e.droppableId===t.droppableId,n=p(e.index),i=p(t.index);return r?"\n You have moved the item from position "+n+"\n to position "+i+"\n ":"\n You have moved the item from position "+n+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},g=function(e,t,r){return t.droppableId===r.droppableId?"\n The item "+e+"\n has been combined with "+r.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+r.draggableId+"\n in list "+r.droppableId+"\n "},v=function(e){return"\n The item has returned to its starting position\n of "+p(e.index)+"\n"},m="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",b=function(e){return"\n You have lifted an item in position "+p(e.source.index)+"\n"},h=function(e){var t=e.destination;if(t)return f(e.source,t);var r=e.combine;return r?g(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},y=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+v(e.source)+"\n ";var t=e.destination,r=e.combine;return t?"\n You have dropped the item.\n "+f(e.source,t)+"\n ":r?"\n You have dropped the item.\n "+g(e.draggableId,e.source,r)+"\n ":"\n The item has been dropped while not over a drop area.\n "+v(e.source)+"\n "};var x=function(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()),I=function(){return Math.random().toString(36).substring(7).split("").join(".")},D={INIT:"@@redux/INIT"+I(),REPLACE:"@@redux/REPLACE"+I(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+I()}};function w(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)=
|
||
|
|
diff --git a/node_modules/react-beautiful-dnd/src/view/draggable/connected-draggable.js b/node_modules/react-beautiful-dnd/src/view/draggable/connected-draggable.js
|
||
|
|
index 89d6f58..57f1bba 100644
|
||
|
|
--- a/node_modules/react-beautiful-dnd/src/view/draggable/connected-draggable.js
|
||
|
|
+++ b/node_modules/react-beautiful-dnd/src/view/draggable/connected-draggable.js
|
||
|
|
@@ -360,8 +360,6 @@ const ConnectedDraggable = connect(
|
||
|
|
{
|
||
|
|
// Using our own context for the store to avoid clashing with consumers
|
||
|
|
context: StoreContext,
|
||
|
|
- // Default value, but being really clear
|
||
|
|
- pure: true,
|
||
|
|
// When pure, compares the result of mapStateToProps to its previous value.
|
||
|
|
// Default value: shallowEqual
|
||
|
|
// Switching to a strictEqual as we return a memoized object on changes
|
||
|
|
diff --git a/node_modules/react-beautiful-dnd/src/view/droppable/connected-droppable.js b/node_modules/react-beautiful-dnd/src/view/droppable/connected-droppable.js
|
||
|
|
index bc53a7d..b0a06c3 100644
|
||
|
|
--- a/node_modules/react-beautiful-dnd/src/view/droppable/connected-droppable.js
|
||
|
|
+++ b/node_modules/react-beautiful-dnd/src/view/droppable/connected-droppable.js
|
||
|
|
@@ -266,8 +266,6 @@ const ConnectedDroppable: typeof DroppableType = connect(
|
||
|
|
{
|
||
|
|
// Ensuring our context does not clash with consumers
|
||
|
|
context: StoreContext,
|
||
|
|
- // pure: true is default value, but being really clear
|
||
|
|
- pure: true,
|
||
|
|
// When pure, compares the result of mapStateToProps to its previous value.
|
||
|
|
// Default value: shallowEqual
|
||
|
|
// Switching to a strictEqual as we return a memoized object on changes
|