zmdms-webui 2.5.0 → 2.5.2

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 (54) hide show
  1. package/dist/es/_virtual/Draggable.js +3 -0
  2. package/dist/es/_virtual/DraggableCore.js +3 -0
  3. package/dist/es/_virtual/_commonjsHelpers.js +29 -1
  4. package/dist/es/_virtual/cjs.js +3 -0
  5. package/dist/es/_virtual/clsx.m.js +6 -0
  6. package/dist/es/_virtual/domFns.js +3 -0
  7. package/dist/es/_virtual/getPrefix.js +3 -0
  8. package/dist/es/_virtual/index2.js +2 -2
  9. package/dist/es/_virtual/index4.js +3 -0
  10. package/dist/es/_virtual/index5.js +3 -0
  11. package/dist/es/_virtual/log.js +3 -0
  12. package/dist/es/_virtual/positionFns.js +3 -0
  13. package/dist/es/_virtual/react-is.development2.js +3 -0
  14. package/dist/es/_virtual/react-is.production.min2.js +3 -0
  15. package/dist/es/_virtual/shims.js +3 -0
  16. package/dist/es/applayoutsider/appLayoutSider.d.ts +4 -0
  17. package/dist/es/applayoutsider/appLayoutSider.js +2 -2
  18. package/dist/es/applayoutsider/menu/index.js +2 -2
  19. package/dist/es/canvastable/canvasTable.js +1 -4
  20. package/dist/es/chatroom/chat-room.js +19 -0
  21. package/dist/es/chatroom/index.css +1 -0
  22. package/dist/es/chatroom/index.js +5 -0
  23. package/dist/es/modal/interface.d.ts +4 -0
  24. package/dist/es/modal/modal.js +15 -9
  25. package/dist/es/modal/useDraggable.js +51 -0
  26. package/dist/es/node_modules/immutability-helper/index.js +1 -1
  27. package/dist/es/node_modules/object-assign/index.js +99 -0
  28. package/dist/es/node_modules/prop-types/checkPropTypes.js +115 -0
  29. package/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +74 -0
  30. package/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
  31. package/dist/es/node_modules/prop-types/index.js +28 -0
  32. package/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
  33. package/dist/es/node_modules/prop-types/lib/has.js +11 -0
  34. package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +190 -0
  35. package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +26 -0
  36. package/dist/es/node_modules/prop-types/node_modules/react-is/index.js +19 -0
  37. package/dist/es/node_modules/rc-util/es/Dom/findDOMNode.js +2 -2
  38. package/dist/es/node_modules/react-draggable/build/cjs/Draggable.js +474 -0
  39. package/dist/es/node_modules/react-draggable/build/cjs/DraggableCore.js +580 -0
  40. package/dist/es/node_modules/react-draggable/build/cjs/cjs.js +20 -0
  41. package/dist/es/node_modules/react-draggable/build/cjs/utils/domFns.js +361 -0
  42. package/dist/es/node_modules/react-draggable/build/cjs/utils/getPrefix.js +85 -0
  43. package/dist/es/node_modules/react-draggable/build/cjs/utils/log.js +10 -0
  44. package/dist/es/node_modules/react-draggable/build/cjs/utils/positionFns.js +214 -0
  45. package/dist/es/node_modules/react-draggable/build/cjs/utils/shims.js +64 -0
  46. package/dist/es/node_modules/react-is/cjs/react-is.development.js +1 -1
  47. package/dist/es/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  48. package/dist/es/node_modules/react-is/index.js +1 -1
  49. package/dist/index.dark.css +1 -1
  50. package/dist/index.default.css +1 -1
  51. package/dist/less/components/ChatRoom/style/index.less +147 -0
  52. package/dist/less/components/ChatRoom/style/style.less +2 -0
  53. package/dist/less/styles/index.less +2 -0
  54. package/package.json +2 -1
@@ -0,0 +1,64 @@
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 };
@@ -1,4 +1,4 @@
1
- import { __exports as reactIs_development } from '../../../_virtual/react-is.development.js';
1
+ import { __exports as reactIs_development } from '../../../_virtual/react-is.development2.js';
2
2
 
3
3
  /**
4
4
  * @license React
@@ -1,4 +1,4 @@
1
- import { __exports as reactIs_production_min } from '../../../_virtual/react-is.production.min.js';
1
+ import { __exports as reactIs_production_min } from '../../../_virtual/react-is.production.min2.js';
2
2
 
3
3
  /**
4
4
  * @license React
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from '../../_virtual/index3.js';
1
+ import { __module as reactIs } from '../../_virtual/index5.js';
2
2
  import { __require as requireReactIs_production_min } from './cjs/react-is.production.min.js';
3
3
  import { __require as requireReactIs_development } from './cjs/react-is.development.js';
4
4