zmdms-webui 2.5.1 → 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/index2.js +2 -2
  2. package/dist/es/modal/useDraggable.js +1 -1
  3. package/dist/es/node_modules/immutability-helper/index.js +1 -1
  4. package/dist/es/node_modules/rc-util/es/Dom/findDOMNode.js +2 -2
  5. package/dist/es/node_modules/react-is/cjs/react-is.development.js +1 -1
  6. package/dist/es/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  7. package/dist/es/node_modules/react-is/index.js +1 -1
  8. package/package.json +2 -2
  9. package/dist/es/_virtual/Draggable.js +0 -3
  10. package/dist/es/_virtual/DraggableCore.js +0 -3
  11. package/dist/es/_virtual/cjs.js +0 -3
  12. package/dist/es/_virtual/clsx.js +0 -3
  13. package/dist/es/_virtual/domFns.js +0 -3
  14. package/dist/es/_virtual/getPrefix.js +0 -3
  15. package/dist/es/_virtual/index4.js +0 -3
  16. package/dist/es/_virtual/index5.js +0 -3
  17. package/dist/es/_virtual/log.js +0 -3
  18. package/dist/es/_virtual/positionFns.js +0 -3
  19. package/dist/es/_virtual/react-is.development2.js +0 -3
  20. package/dist/es/_virtual/react-is.production.min2.js +0 -3
  21. package/dist/es/_virtual/shims.js +0 -3
  22. package/dist/es/node_modules/object-assign/index.js +0 -99
  23. package/dist/es/node_modules/prop-types/checkPropTypes.js +0 -115
  24. package/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -74
  25. package/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -625
  26. package/dist/es/node_modules/prop-types/index.js +0 -28
  27. package/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -21
  28. package/dist/es/node_modules/prop-types/lib/has.js +0 -11
  29. package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -190
  30. package/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -26
  31. package/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -19
  32. package/dist/es/node_modules/react-draggable/build/cjs/Draggable.js +0 -412
  33. package/dist/es/node_modules/react-draggable/build/cjs/DraggableCore.js +0 -453
  34. package/dist/es/node_modules/react-draggable/build/cjs/cjs.js +0 -21
  35. package/dist/es/node_modules/react-draggable/build/cjs/utils/domFns.js +0 -237
  36. package/dist/es/node_modules/react-draggable/build/cjs/utils/getPrefix.js +0 -52
  37. package/dist/es/node_modules/react-draggable/build/cjs/utils/log.js +0 -9
  38. package/dist/es/node_modules/react-draggable/build/cjs/utils/positionFns.js +0 -155
  39. package/dist/es/node_modules/react-draggable/build/cjs/utils/shims.js +0 -33
  40. package/dist/es/node_modules/react-draggable/node_modules/clsx/dist/clsx.js +0 -7
@@ -1,3 +1,3 @@
1
- var propTypes = {exports: {}};
1
+ var immutabilityHelper = {exports: {}};
2
2
 
3
- export { propTypes as __module };
3
+ export { immutabilityHelper as __module };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from '../_virtual/_tslib.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { useState, useRef } from 'react';
4
- import Draggable from '../node_modules/react-draggable/build/cjs/cjs.js';
4
+ import Draggable from 'react-draggable';
5
5
 
6
6
  var useDraggable = function (options) {
7
7
  var isDrag = options.isDrag, title = options.title;
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs } from '../../_virtual/_commonjsHelpers.js';
2
- import { __module as immutabilityHelper } from '../../_virtual/index4.js';
2
+ import { __module as immutabilityHelper } from '../../_virtual/index2.js';
3
3
 
4
4
  (function (module, exports) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import require$$2 from 'react-dom';
2
+ import ReactDOM from 'react-dom';
3
3
 
4
4
  function isDOM(node) {
5
5
  // https://developer.mozilla.org/en-US/docs/Web/API/Element
@@ -15,7 +15,7 @@ function findDOMNode(node) {
15
15
  return node;
16
16
  }
17
17
  if (node instanceof React__default.Component) {
18
- return require$$2.findDOMNode(node);
18
+ return ReactDOM.findDOMNode(node);
19
19
  }
20
20
  return null;
21
21
  }
@@ -1,4 +1,4 @@
1
- import { __exports as reactIs_development } from '../../../_virtual/react-is.development2.js';
1
+ import { __exports as reactIs_development } from '../../../_virtual/react-is.development.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.min2.js';
1
+ import { __exports as reactIs_production_min } from '../../../_virtual/react-is.production.min.js';
2
2
 
3
3
  /**
4
4
  * @license React
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from '../../_virtual/index5.js';
1
+ import { __module as reactIs } from '../../_virtual/index3.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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
@@ -22,6 +22,7 @@
22
22
  "react-dom": ">=16.8.0",
23
23
  "react-resizable": "^3.0.5",
24
24
  "react-router-dom": ">=6",
25
+ "react-draggable": ">=4.4.5",
25
26
  "zmdms-utils": ">=0.0.1"
26
27
  },
27
28
  "sideEffects": [
@@ -148,7 +149,6 @@
148
149
  "react-contexify": "^6.0.0",
149
150
  "react-dnd": "^16.0.1",
150
151
  "react-dnd-html5-backend": "^16.0.1",
151
- "react-draggable": "^4.5.0",
152
152
  "screenfull": "^6.0.2",
153
153
  "virtuallist-antd": "^0.8.0-beta.1",
154
154
  "xlsx": "^0.18.5",
@@ -1,3 +0,0 @@
1
- var Draggable = {};
2
-
3
- export { Draggable as __exports };
@@ -1,3 +0,0 @@
1
- var DraggableCore = {};
2
-
3
- export { DraggableCore as __exports };
@@ -1,3 +0,0 @@
1
- var cjs = {exports: {}};
2
-
3
- export { cjs as __module };
@@ -1,3 +0,0 @@
1
- var clsx = {exports: {}};
2
-
3
- export { clsx as __module };
@@ -1,3 +0,0 @@
1
- var domFns = {};
2
-
3
- export { domFns as __exports };
@@ -1,3 +0,0 @@
1
- var getPrefix = {};
2
-
3
- export { getPrefix as __exports };
@@ -1,3 +0,0 @@
1
- var immutabilityHelper = {exports: {}};
2
-
3
- export { immutabilityHelper as __module };
@@ -1,3 +0,0 @@
1
- var reactIs = {exports: {}};
2
-
3
- export { reactIs as __module };
@@ -1,3 +0,0 @@
1
- var log = {};
2
-
3
- export { log as __exports };
@@ -1,3 +0,0 @@
1
- var positionFns = {};
2
-
3
- export { positionFns as __exports };
@@ -1,3 +0,0 @@
1
- var reactIs_development = {};
2
-
3
- export { reactIs_development as __exports };
@@ -1,3 +0,0 @@
1
- var reactIs_production_min = {};
2
-
3
- export { reactIs_production_min as __exports };
@@ -1,3 +0,0 @@
1
- var shims = {};
2
-
3
- export { shims as __exports };
@@ -1,99 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
- var objectAssign;
8
- var hasRequiredObjectAssign;
9
-
10
- function requireObjectAssign () {
11
- if (hasRequiredObjectAssign) return objectAssign;
12
- hasRequiredObjectAssign = 1;
13
- /* eslint-disable no-unused-vars */
14
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
15
- var hasOwnProperty = Object.prototype.hasOwnProperty;
16
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
17
-
18
- function toObject(val) {
19
- if (val === null || val === undefined) {
20
- throw new TypeError('Object.assign cannot be called with null or undefined');
21
- }
22
-
23
- return Object(val);
24
- }
25
-
26
- function shouldUseNative() {
27
- try {
28
- if (!Object.assign) {
29
- return false;
30
- }
31
-
32
- // Detect buggy property enumeration order in older V8 versions.
33
-
34
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
35
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
36
- test1[5] = 'de';
37
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
38
- return false;
39
- }
40
-
41
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
42
- var test2 = {};
43
- for (var i = 0; i < 10; i++) {
44
- test2['_' + String.fromCharCode(i)] = i;
45
- }
46
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
47
- return test2[n];
48
- });
49
- if (order2.join('') !== '0123456789') {
50
- return false;
51
- }
52
-
53
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
54
- var test3 = {};
55
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
56
- test3[letter] = letter;
57
- });
58
- if (Object.keys(Object.assign({}, test3)).join('') !==
59
- 'abcdefghijklmnopqrst') {
60
- return false;
61
- }
62
-
63
- return true;
64
- } catch (err) {
65
- // We don't expect any of the above to throw, but better to be safe.
66
- return false;
67
- }
68
- }
69
-
70
- objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
71
- var from;
72
- var to = toObject(target);
73
- var symbols;
74
-
75
- for (var s = 1; s < arguments.length; s++) {
76
- from = Object(arguments[s]);
77
-
78
- for (var key in from) {
79
- if (hasOwnProperty.call(from, key)) {
80
- to[key] = from[key];
81
- }
82
- }
83
-
84
- if (getOwnPropertySymbols) {
85
- symbols = getOwnPropertySymbols(from);
86
- for (var i = 0; i < symbols.length; i++) {
87
- if (propIsEnumerable.call(from, symbols[i])) {
88
- to[symbols[i]] = from[symbols[i]];
89
- }
90
- }
91
- }
92
- }
93
-
94
- return to;
95
- };
96
- return objectAssign;
97
- }
98
-
99
- export { requireObjectAssign as __require };
@@ -1,115 +0,0 @@
1
- import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
2
- import { __require as requireHas } from './lib/has.js';
3
-
4
- /**
5
- * Copyright (c) 2013-present, Facebook, Inc.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- var checkPropTypes_1;
12
- var hasRequiredCheckPropTypes;
13
-
14
- function requireCheckPropTypes () {
15
- if (hasRequiredCheckPropTypes) return checkPropTypes_1;
16
- hasRequiredCheckPropTypes = 1;
17
-
18
- var printWarning = function() {};
19
-
20
- if (process.env.NODE_ENV !== 'production') {
21
- var ReactPropTypesSecret = requireReactPropTypesSecret();
22
- var loggedTypeFailures = {};
23
- var has = requireHas();
24
-
25
- printWarning = function(text) {
26
- var message = 'Warning: ' + text;
27
- if (typeof console !== 'undefined') {
28
- console.error(message);
29
- }
30
- try {
31
- // --- Welcome to debugging React ---
32
- // This error was thrown as a convenience so that you can use this stack
33
- // to find the callsite that caused this warning to fire.
34
- throw new Error(message);
35
- } catch (x) { /**/ }
36
- };
37
- }
38
-
39
- /**
40
- * Assert that the values match with the type specs.
41
- * Error messages are memorized and will only be shown once.
42
- *
43
- * @param {object} typeSpecs Map of name to a ReactPropType
44
- * @param {object} values Runtime values that need to be type-checked
45
- * @param {string} location e.g. "prop", "context", "child context"
46
- * @param {string} componentName Name of the component for error messages.
47
- * @param {?Function} getStack Returns the component stack.
48
- * @private
49
- */
50
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
51
- if (process.env.NODE_ENV !== 'production') {
52
- for (var typeSpecName in typeSpecs) {
53
- if (has(typeSpecs, typeSpecName)) {
54
- var error;
55
- // Prop type validation may throw. In case they do, we don't want to
56
- // fail the render phase where it didn't fail before. So we log it.
57
- // After these have been cleaned up, we'll let them throw.
58
- try {
59
- // This is intentionally an invariant that gets caught. It's the same
60
- // behavior as without this statement except with a better message.
61
- if (typeof typeSpecs[typeSpecName] !== 'function') {
62
- var err = Error(
63
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
64
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
65
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
66
- );
67
- err.name = 'Invariant Violation';
68
- throw err;
69
- }
70
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
71
- } catch (ex) {
72
- error = ex;
73
- }
74
- if (error && !(error instanceof Error)) {
75
- printWarning(
76
- (componentName || 'React class') + ': type specification of ' +
77
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
78
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
79
- 'You may have forgotten to pass an argument to the type checker ' +
80
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
81
- 'shape all require an argument).'
82
- );
83
- }
84
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
85
- // Only monitor this failure once because there tends to be a lot of the
86
- // same error.
87
- loggedTypeFailures[error.message] = true;
88
-
89
- var stack = getStack ? getStack() : '';
90
-
91
- printWarning(
92
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
93
- );
94
- }
95
- }
96
- }
97
- }
98
- }
99
-
100
- /**
101
- * Resets warning cache when testing.
102
- *
103
- * @private
104
- */
105
- checkPropTypes.resetWarningCache = function() {
106
- if (process.env.NODE_ENV !== 'production') {
107
- loggedTypeFailures = {};
108
- }
109
- };
110
-
111
- checkPropTypes_1 = checkPropTypes;
112
- return checkPropTypes_1;
113
- }
114
-
115
- export { requireCheckPropTypes as __require };
@@ -1,74 +0,0 @@
1
- import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
2
-
3
- /**
4
- * Copyright (c) 2013-present, Facebook, Inc.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
-
10
- var factoryWithThrowingShims;
11
- var hasRequiredFactoryWithThrowingShims;
12
-
13
- function requireFactoryWithThrowingShims () {
14
- if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
15
- hasRequiredFactoryWithThrowingShims = 1;
16
-
17
- var ReactPropTypesSecret = requireReactPropTypesSecret();
18
-
19
- function emptyFunction() {}
20
- function emptyFunctionWithReset() {}
21
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
22
-
23
- factoryWithThrowingShims = function() {
24
- function shim(props, propName, componentName, location, propFullName, secret) {
25
- if (secret === ReactPropTypesSecret) {
26
- // It is still safe when called from React.
27
- return;
28
- }
29
- var err = new Error(
30
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
31
- 'Use PropTypes.checkPropTypes() to call them. ' +
32
- 'Read more at http://fb.me/use-check-prop-types'
33
- );
34
- err.name = 'Invariant Violation';
35
- throw err;
36
- } shim.isRequired = shim;
37
- function getShim() {
38
- return shim;
39
- } // Important!
40
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
41
- var ReactPropTypes = {
42
- array: shim,
43
- bigint: shim,
44
- bool: shim,
45
- func: shim,
46
- number: shim,
47
- object: shim,
48
- string: shim,
49
- symbol: shim,
50
-
51
- any: shim,
52
- arrayOf: getShim,
53
- element: shim,
54
- elementType: shim,
55
- instanceOf: getShim,
56
- node: shim,
57
- objectOf: getShim,
58
- oneOf: getShim,
59
- oneOfType: getShim,
60
- shape: getShim,
61
- exact: getShim,
62
-
63
- checkPropTypes: emptyFunctionWithReset,
64
- resetWarningCache: emptyFunction
65
- };
66
-
67
- ReactPropTypes.PropTypes = ReactPropTypes;
68
-
69
- return ReactPropTypes;
70
- };
71
- return factoryWithThrowingShims;
72
- }
73
-
74
- export { requireFactoryWithThrowingShims as __require };