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.
- package/dist/es/_virtual/Draggable.js +3 -0
- package/dist/es/_virtual/DraggableCore.js +3 -0
- package/dist/es/_virtual/_commonjsHelpers.js +29 -1
- package/dist/es/_virtual/cjs.js +3 -0
- package/dist/es/_virtual/clsx.m.js +6 -0
- package/dist/es/_virtual/domFns.js +3 -0
- package/dist/es/_virtual/getPrefix.js +3 -0
- package/dist/es/_virtual/index2.js +2 -2
- package/dist/es/_virtual/index4.js +3 -0
- package/dist/es/_virtual/index5.js +3 -0
- package/dist/es/_virtual/log.js +3 -0
- package/dist/es/_virtual/positionFns.js +3 -0
- package/dist/es/_virtual/react-is.development2.js +3 -0
- package/dist/es/_virtual/react-is.production.min2.js +3 -0
- package/dist/es/_virtual/shims.js +3 -0
- package/dist/es/applayoutsider/appLayoutSider.d.ts +4 -0
- package/dist/es/applayoutsider/appLayoutSider.js +2 -2
- package/dist/es/applayoutsider/menu/index.js +2 -2
- package/dist/es/canvastable/canvasTable.js +1 -4
- package/dist/es/chatroom/chat-room.js +19 -0
- package/dist/es/chatroom/index.css +1 -0
- package/dist/es/chatroom/index.js +5 -0
- package/dist/es/modal/interface.d.ts +4 -0
- package/dist/es/modal/modal.js +15 -9
- package/dist/es/modal/useDraggable.js +51 -0
- package/dist/es/node_modules/immutability-helper/index.js +1 -1
- package/dist/es/node_modules/object-assign/index.js +99 -0
- package/dist/es/node_modules/prop-types/checkPropTypes.js +115 -0
- package/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +74 -0
- package/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
- package/dist/es/node_modules/prop-types/index.js +28 -0
- package/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/dist/es/node_modules/prop-types/lib/has.js +11 -0
- package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +190 -0
- package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/dist/es/node_modules/prop-types/node_modules/react-is/index.js +19 -0
- package/dist/es/node_modules/rc-util/es/Dom/findDOMNode.js +2 -2
- package/dist/es/node_modules/react-draggable/build/cjs/Draggable.js +474 -0
- package/dist/es/node_modules/react-draggable/build/cjs/DraggableCore.js +580 -0
- package/dist/es/node_modules/react-draggable/build/cjs/cjs.js +20 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/domFns.js +361 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/getPrefix.js +85 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/log.js +10 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/positionFns.js +214 -0
- package/dist/es/node_modules/react-draggable/build/cjs/utils/shims.js +64 -0
- package/dist/es/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/es/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/es/node_modules/react-is/index.js +1 -1
- package/dist/index.dark.css +1 -1
- package/dist/index.default.css +1 -1
- package/dist/less/components/ChatRoom/style/index.less +147 -0
- package/dist/less/components/ChatRoom/style/style.less +2 -0
- package/dist/less/styles/index.less +2 -0
- 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 { __module as reactIs } from '../../_virtual/
|
|
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
|
|