zmdms-webui 2.5.2 → 2.5.3

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.
Files changed (40) hide show
  1. package/dist/es/_virtual/_commonjsHelpers.js +1 -29
  2. package/dist/es/_virtual/index2.js +2 -2
  3. package/dist/es/modal/useDraggable.js +1 -1
  4. package/dist/es/node_modules/immutability-helper/index.js +1 -1
  5. package/dist/es/node_modules/rc-util/es/Dom/findDOMNode.js +2 -2
  6. package/dist/es/node_modules/react-is/cjs/react-is.development.js +1 -1
  7. package/dist/es/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  8. package/dist/es/node_modules/react-is/index.js +1 -1
  9. package/package.json +2 -2
  10. package/dist/es/_virtual/Draggable.js +0 -3
  11. package/dist/es/_virtual/DraggableCore.js +0 -3
  12. package/dist/es/_virtual/cjs.js +0 -3
  13. package/dist/es/_virtual/clsx.m.js +0 -6
  14. package/dist/es/_virtual/domFns.js +0 -3
  15. package/dist/es/_virtual/getPrefix.js +0 -3
  16. package/dist/es/_virtual/index4.js +0 -3
  17. package/dist/es/_virtual/index5.js +0 -3
  18. package/dist/es/_virtual/log.js +0 -3
  19. package/dist/es/_virtual/positionFns.js +0 -3
  20. package/dist/es/_virtual/react-is.development2.js +0 -3
  21. package/dist/es/_virtual/react-is.production.min2.js +0 -3
  22. package/dist/es/_virtual/shims.js +0 -3
  23. package/dist/es/node_modules/object-assign/index.js +0 -99
  24. package/dist/es/node_modules/prop-types/checkPropTypes.js +0 -115
  25. package/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -74
  26. package/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -625
  27. package/dist/es/node_modules/prop-types/index.js +0 -28
  28. package/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -21
  29. package/dist/es/node_modules/prop-types/lib/has.js +0 -11
  30. package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -190
  31. package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -26
  32. package/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -19
  33. package/dist/es/node_modules/react-draggable/build/cjs/Draggable.js +0 -474
  34. package/dist/es/node_modules/react-draggable/build/cjs/DraggableCore.js +0 -580
  35. package/dist/es/node_modules/react-draggable/build/cjs/cjs.js +0 -20
  36. package/dist/es/node_modules/react-draggable/build/cjs/utils/domFns.js +0 -361
  37. package/dist/es/node_modules/react-draggable/build/cjs/utils/getPrefix.js +0 -85
  38. package/dist/es/node_modules/react-draggable/build/cjs/utils/log.js +0 -10
  39. package/dist/es/node_modules/react-draggable/build/cjs/utils/positionFns.js +0 -214
  40. package/dist/es/node_modules/react-draggable/build/cjs/utils/shims.js +0 -64
@@ -1,64 +0,0 @@
1
- import { __exports as shims } from '../../../../../_virtual/shims.js';
2
-
3
- Object.defineProperty(shims, "__esModule", {
4
- value: true
5
- });
6
- shims.dontSetMe = dontSetMe;
7
- shims.findInArray = findInArray;
8
- shims.int = int;
9
- shims.isFunction = isFunction;
10
- shims.isNum = isNum;
11
-
12
- // @credits https://gist.github.com/rogozhnikoff/a43cfed27c41e4e68cdc
13
- function findInArray(array
14
- /*: Array<any> | TouchList*/
15
- , callback
16
- /*: Function*/
17
- )
18
- /*: any*/
19
- {
20
- for (var i = 0, length = array.length; i < length; i++) {
21
- if (callback.apply(callback, [array[i], i, array])) return array[i];
22
- }
23
- }
24
-
25
- function isFunction(func
26
- /*: any*/
27
- )
28
- /*: boolean %checks*/
29
- {
30
- // $FlowIgnore[method-unbinding]
31
- return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]';
32
- }
33
-
34
- function isNum(num
35
- /*: any*/
36
- )
37
- /*: boolean %checks*/
38
- {
39
- return typeof num === 'number' && !isNaN(num);
40
- }
41
-
42
- function int(a
43
- /*: string*/
44
- )
45
- /*: number*/
46
- {
47
- return parseInt(a, 10);
48
- }
49
-
50
- function dontSetMe(props
51
- /*: Object*/
52
- , propName
53
- /*: string*/
54
- , componentName
55
- /*: string*/
56
- )
57
- /*: ?Error*/
58
- {
59
- if (props[propName]) {
60
- return new Error("Invalid prop ".concat(propName, " passed to ").concat(componentName, " - do not set this, set it on the child."));
61
- }
62
- }
63
-
64
- export { shims as default };