@hi-ui/layout 4.0.0
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/README.md +11 -0
- package/lib/cjs/Content.js +48 -0
- package/lib/cjs/Layout.js +48 -0
- package/lib/cjs/SearchTrigger.js +55 -0
- package/lib/cjs/Sider.js +100 -0
- package/lib/cjs/_virtual/Draggable.js +16 -0
- package/lib/cjs/_virtual/DraggableCore.js +16 -0
- package/lib/cjs/_virtual/Resizable.js +16 -0
- package/lib/cjs/_virtual/ResizableBox.js +16 -0
- package/lib/cjs/_virtual/cjs.js +18 -0
- package/lib/cjs/_virtual/domFns.js +16 -0
- package/lib/cjs/_virtual/getPrefix.js +16 -0
- package/lib/cjs/_virtual/index.js +18 -0
- package/lib/cjs/_virtual/index2.js +18 -0
- package/lib/cjs/_virtual/index3.js +18 -0
- package/lib/cjs/_virtual/index4.js +18 -0
- package/lib/cjs/_virtual/log.js +16 -0
- package/lib/cjs/_virtual/positionFns.js +16 -0
- package/lib/cjs/_virtual/propTypes.js +16 -0
- package/lib/cjs/_virtual/react-is.development.js +16 -0
- package/lib/cjs/_virtual/react-is.production.min.js +16 -0
- package/lib/cjs/_virtual/shims.js +16 -0
- package/lib/cjs/_virtual/utils.js +16 -0
- package/lib/cjs/index.js +24 -0
- package/lib/cjs/node_modules/classnames/index.js +62 -0
- package/lib/cjs/node_modules/object-assign/index.js +94 -0
- package/lib/cjs/node_modules/prop-types/checkPropTypes.js +101 -0
- package/lib/cjs/node_modules/prop-types/factoryWithThrowingShims.js +68 -0
- package/lib/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +553 -0
- package/lib/cjs/node_modules/prop-types/index.js +36 -0
- package/lib/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +25 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/Draggable.js +655 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/DraggableCore.js +670 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/cjs.js +23 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/utils/domFns.js +366 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/utils/getPrefix.js +69 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/utils/log.js +19 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/utils/positionFns.js +176 -0
- package/lib/cjs/node_modules/react-draggable/build/cjs/utils/shims.js +57 -0
- package/lib/cjs/node_modules/react-is/cjs/react-is.development.js +182 -0
- package/lib/cjs/node_modules/react-is/cjs/react-is.production.min.js +132 -0
- package/lib/cjs/node_modules/react-is/index.js +21 -0
- package/lib/cjs/node_modules/react-resizable/build/Resizable.js +366 -0
- package/lib/cjs/node_modules/react-resizable/build/ResizableBox.js +244 -0
- package/lib/cjs/node_modules/react-resizable/build/propTypes.js +115 -0
- package/lib/cjs/node_modules/react-resizable/build/utils.js +86 -0
- package/lib/cjs/node_modules/react-resizable/index.js +25 -0
- package/lib/cjs/packages/icons/lib/esm/components/common/search-outlined.js +65 -0
- package/lib/cjs/packages/icons/lib/esm/styles/index.scss.js +35 -0
- package/lib/cjs/styles/index.scss.js +18 -0
- package/lib/esm/Content.js +36 -0
- package/lib/esm/Layout.js +36 -0
- package/lib/esm/SearchTrigger.js +43 -0
- package/lib/esm/Sider.js +88 -0
- package/lib/esm/_virtual/Draggable.js +11 -0
- package/lib/esm/_virtual/DraggableCore.js +11 -0
- package/lib/esm/_virtual/Resizable.js +11 -0
- package/lib/esm/_virtual/ResizableBox.js +11 -0
- package/lib/esm/_virtual/cjs.js +13 -0
- package/lib/esm/_virtual/domFns.js +11 -0
- package/lib/esm/_virtual/getPrefix.js +11 -0
- package/lib/esm/_virtual/index.js +13 -0
- package/lib/esm/_virtual/index2.js +13 -0
- package/lib/esm/_virtual/index3.js +13 -0
- package/lib/esm/_virtual/index4.js +13 -0
- package/lib/esm/_virtual/log.js +11 -0
- package/lib/esm/_virtual/positionFns.js +11 -0
- package/lib/esm/_virtual/propTypes.js +11 -0
- package/lib/esm/_virtual/react-is.development.js +11 -0
- package/lib/esm/_virtual/react-is.production.min.js +11 -0
- package/lib/esm/_virtual/shims.js +11 -0
- package/lib/esm/_virtual/utils.js +11 -0
- package/lib/esm/index.js +14 -0
- package/lib/esm/node_modules/classnames/index.js +60 -0
- package/lib/esm/node_modules/object-assign/index.js +88 -0
- package/lib/esm/node_modules/prop-types/checkPropTypes.js +96 -0
- package/lib/esm/node_modules/prop-types/factoryWithThrowingShims.js +63 -0
- package/lib/esm/node_modules/prop-types/factoryWithTypeCheckers.js +548 -0
- package/lib/esm/node_modules/prop-types/index.js +34 -0
- package/lib/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +19 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/Draggable.js +645 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/DraggableCore.js +660 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/cjs.js +21 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/utils/domFns.js +361 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/utils/getPrefix.js +67 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/utils/log.js +17 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/utils/positionFns.js +171 -0
- package/lib/esm/node_modules/react-draggable/build/cjs/utils/shims.js +52 -0
- package/lib/esm/node_modules/react-is/cjs/react-is.development.js +177 -0
- package/lib/esm/node_modules/react-is/cjs/react-is.production.min.js +127 -0
- package/lib/esm/node_modules/react-is/index.js +19 -0
- package/lib/esm/node_modules/react-resizable/build/Resizable.js +358 -0
- package/lib/esm/node_modules/react-resizable/build/ResizableBox.js +236 -0
- package/lib/esm/node_modules/react-resizable/build/propTypes.js +110 -0
- package/lib/esm/node_modules/react-resizable/build/utils.js +74 -0
- package/lib/esm/node_modules/react-resizable/index.js +20 -0
- package/lib/esm/packages/icons/lib/esm/components/common/search-outlined.js +53 -0
- package/lib/esm/packages/icons/lib/esm/styles/index.scss.js +23 -0
- package/lib/esm/styles/index.scss.js +13 -0
- package/lib/types/Content.d.ts +8 -0
- package/lib/types/Layout.d.ts +8 -0
- package/lib/types/SearchTrigger.d.ts +10 -0
- package/lib/types/Sider.d.ts +10 -0
- package/lib/types/index.d.ts +6 -0
- package/package.json +61 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, '__esModule', {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
var propTypes = require('../../../_virtual/propTypes.js');
|
|
16
|
+
require('../../prop-types/index.js');
|
|
17
|
+
require('../../react-draggable/build/cjs/cjs.js');
|
|
18
|
+
var index = require('../../../_virtual/index2.js');
|
|
19
|
+
propTypes.__exports.__esModule = true;
|
|
20
|
+
propTypes.__exports.resizableProps = void 0;
|
|
21
|
+
var _propTypes = _interopRequireDefault(index.propTypes.exports);
|
|
22
|
+
function _interopRequireDefault(obj) {
|
|
23
|
+
return obj && obj.__esModule ? obj : {
|
|
24
|
+
"default": obj
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
var resizableProps = {
|
|
28
|
+
/*
|
|
29
|
+
* Restricts resizing to a particular axis (default: 'both')
|
|
30
|
+
* 'both' - allows resizing by width or height
|
|
31
|
+
* 'x' - only allows the width to be changed
|
|
32
|
+
* 'y' - only allows the height to be changed
|
|
33
|
+
* 'none' - disables resizing altogether
|
|
34
|
+
* */
|
|
35
|
+
axis: _propTypes["default"].oneOf(['both', 'x', 'y', 'none']),
|
|
36
|
+
className: _propTypes["default"].string,
|
|
37
|
+
/*
|
|
38
|
+
* Require that one and only one child be present.
|
|
39
|
+
* */
|
|
40
|
+
children: _propTypes["default"].element.isRequired,
|
|
41
|
+
/*
|
|
42
|
+
* These will be passed wholesale to react-draggable's DraggableCore
|
|
43
|
+
* */
|
|
44
|
+
draggableOpts: _propTypes["default"].shape({
|
|
45
|
+
allowAnyClick: _propTypes["default"].bool,
|
|
46
|
+
cancel: _propTypes["default"].string,
|
|
47
|
+
children: _propTypes["default"].node,
|
|
48
|
+
disabled: _propTypes["default"].bool,
|
|
49
|
+
enableUserSelectHack: _propTypes["default"].bool,
|
|
50
|
+
offsetParent: _propTypes["default"].node,
|
|
51
|
+
grid: _propTypes["default"].arrayOf(_propTypes["default"].number),
|
|
52
|
+
handle: _propTypes["default"].string,
|
|
53
|
+
nodeRef: _propTypes["default"].object,
|
|
54
|
+
onStart: _propTypes["default"].func,
|
|
55
|
+
onDrag: _propTypes["default"].func,
|
|
56
|
+
onStop: _propTypes["default"].func,
|
|
57
|
+
onMouseDown: _propTypes["default"].func,
|
|
58
|
+
scale: _propTypes["default"].number
|
|
59
|
+
}),
|
|
60
|
+
/*
|
|
61
|
+
* Initial height
|
|
62
|
+
* */
|
|
63
|
+
height: _propTypes["default"].number.isRequired,
|
|
64
|
+
/*
|
|
65
|
+
* Customize cursor resize handle
|
|
66
|
+
* */
|
|
67
|
+
handle: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].func]),
|
|
68
|
+
/*
|
|
69
|
+
* If you change this, be sure to update your css
|
|
70
|
+
* */
|
|
71
|
+
handleSize: _propTypes["default"].arrayOf(_propTypes["default"].number),
|
|
72
|
+
lockAspectRatio: _propTypes["default"].bool,
|
|
73
|
+
/*
|
|
74
|
+
* Max X & Y measure
|
|
75
|
+
* */
|
|
76
|
+
maxConstraints: _propTypes["default"].arrayOf(_propTypes["default"].number),
|
|
77
|
+
/*
|
|
78
|
+
* Min X & Y measure
|
|
79
|
+
* */
|
|
80
|
+
minConstraints: _propTypes["default"].arrayOf(_propTypes["default"].number),
|
|
81
|
+
/*
|
|
82
|
+
* Called on stop resize event
|
|
83
|
+
* */
|
|
84
|
+
onResizeStop: _propTypes["default"].func,
|
|
85
|
+
/*
|
|
86
|
+
* Called on start resize event
|
|
87
|
+
* */
|
|
88
|
+
onResizeStart: _propTypes["default"].func,
|
|
89
|
+
/*
|
|
90
|
+
* Called on resize event
|
|
91
|
+
* */
|
|
92
|
+
onResize: _propTypes["default"].func,
|
|
93
|
+
/*
|
|
94
|
+
* Defines which resize handles should be rendered (default: 'se')
|
|
95
|
+
* 's' - South handle (bottom-center)
|
|
96
|
+
* 'w' - West handle (left-center)
|
|
97
|
+
* 'e' - East handle (right-center)
|
|
98
|
+
* 'n' - North handle (top-center)
|
|
99
|
+
* 'sw' - Southwest handle (bottom-left)
|
|
100
|
+
* 'nw' - Northwest handle (top-left)
|
|
101
|
+
* 'se' - Southeast handle (bottom-right)
|
|
102
|
+
* 'ne' - Northeast handle (top-center)
|
|
103
|
+
* */
|
|
104
|
+
resizeHandles: _propTypes["default"].arrayOf(_propTypes["default"].oneOf(['s', 'w', 'e', 'n', 'sw', 'nw', 'se', 'ne'])),
|
|
105
|
+
/*
|
|
106
|
+
* If `transform: scale(n)` is set on the parent, this should be set to `n`.
|
|
107
|
+
* */
|
|
108
|
+
transformScale: _propTypes["default"].number,
|
|
109
|
+
/*
|
|
110
|
+
* Initial width
|
|
111
|
+
*/
|
|
112
|
+
width: _propTypes["default"].number.isRequired
|
|
113
|
+
};
|
|
114
|
+
propTypes.__exports.resizableProps = resizableProps;
|
|
115
|
+
exports["default"] = propTypes.__exports;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
13
|
+
Object.defineProperty(exports, '__esModule', {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
var utils = require('../../../_virtual/utils.js');
|
|
17
|
+
var React = require('react');
|
|
18
|
+
function _interopDefaultCompat(e) {
|
|
19
|
+
return e && _typeof(e) === 'object' && 'default' in e ? e : {
|
|
20
|
+
'default': e
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
24
|
+
utils.__exports.__esModule = true;
|
|
25
|
+
utils.__exports.cloneElement = cloneElement;
|
|
26
|
+
var _react = _interopRequireDefault(React__default["default"]);
|
|
27
|
+
function _interopRequireDefault(obj) {
|
|
28
|
+
return obj && obj.__esModule ? obj : {
|
|
29
|
+
"default": obj
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function ownKeys(object, enumerableOnly) {
|
|
33
|
+
var keys = Object.keys(object);
|
|
34
|
+
if (Object.getOwnPropertySymbols) {
|
|
35
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
36
|
+
if (enumerableOnly) {
|
|
37
|
+
symbols = symbols.filter(function (sym) {
|
|
38
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
keys.push.apply(keys, symbols);
|
|
42
|
+
}
|
|
43
|
+
return keys;
|
|
44
|
+
}
|
|
45
|
+
function _objectSpread(target) {
|
|
46
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
47
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
48
|
+
if (i % 2) {
|
|
49
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
50
|
+
_defineProperty(target, key, source[key]);
|
|
51
|
+
});
|
|
52
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
|
53
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
54
|
+
} else {
|
|
55
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
56
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return target;
|
|
61
|
+
}
|
|
62
|
+
function _defineProperty(obj, key, value) {
|
|
63
|
+
if (key in obj) {
|
|
64
|
+
Object.defineProperty(obj, key, {
|
|
65
|
+
value: value,
|
|
66
|
+
enumerable: true,
|
|
67
|
+
configurable: true,
|
|
68
|
+
writable: true
|
|
69
|
+
});
|
|
70
|
+
} else {
|
|
71
|
+
obj[key] = value;
|
|
72
|
+
}
|
|
73
|
+
return obj;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// React.addons.cloneWithProps look-alike that merges style & className.
|
|
77
|
+
function cloneElement(element, props) {
|
|
78
|
+
if (props.style && element.props.style) {
|
|
79
|
+
props.style = _objectSpread(_objectSpread({}, element.props.style), props.style);
|
|
80
|
+
}
|
|
81
|
+
if (props.className && element.props.className) {
|
|
82
|
+
props.className = element.props.className + " " + props.className;
|
|
83
|
+
}
|
|
84
|
+
return /*#__PURE__*/_react["default"].cloneElement(element, props);
|
|
85
|
+
}
|
|
86
|
+
exports["default"] = utils.__exports;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, '__esModule', {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
var index = require('../../_virtual/index.js');
|
|
16
|
+
require('./build/Resizable.js');
|
|
17
|
+
require('./build/ResizableBox.js');
|
|
18
|
+
var Resizable$1 = require('../../_virtual/Resizable.js');
|
|
19
|
+
var ResizableBox = require('../../_virtual/ResizableBox.js');
|
|
20
|
+
index.reactResizable.exports = function () {
|
|
21
|
+
throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
|
|
22
|
+
};
|
|
23
|
+
var Resizable = index.reactResizable.exports.Resizable = Resizable$1.__exports["default"];
|
|
24
|
+
index.reactResizable.exports.ResizableBox = ResizableBox.__exports["default"];
|
|
25
|
+
exports.Resizable = Resizable;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
13
|
+
Object.defineProperty(exports, '__esModule', {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
var tslib = require('tslib');
|
|
17
|
+
var React = require('react');
|
|
18
|
+
var classname = require('@hi-ui/classname');
|
|
19
|
+
var env = require('@hi-ui/env');
|
|
20
|
+
function _interopDefaultCompat(e) {
|
|
21
|
+
return e && _typeof(e) === 'object' && 'default' in e ? e : {
|
|
22
|
+
'default': e
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
26
|
+
|
|
27
|
+
/** @LICENSE
|
|
28
|
+
* @hi-ui/icons
|
|
29
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/icons#readme
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the MIT license found in the
|
|
34
|
+
* LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/
|
|
36
|
+
var _prefix = classname.getPrefixCls('icon-search-outlined');
|
|
37
|
+
var SearchOutlined = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
38
|
+
var _a$prefixCls = _a.prefixCls,
|
|
39
|
+
prefixCls = _a$prefixCls === void 0 ? _prefix : _a$prefixCls,
|
|
40
|
+
className = _a.className,
|
|
41
|
+
size = _a.size,
|
|
42
|
+
styleProp = _a.style,
|
|
43
|
+
rest = tslib.__rest(_a, ["prefixCls", "className", "children", "size", "style"]);
|
|
44
|
+
var cls = classname.cx(prefixCls, className);
|
|
45
|
+
var style = Object.assign({
|
|
46
|
+
fontSize: size
|
|
47
|
+
}, styleProp);
|
|
48
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", Object.assign({
|
|
49
|
+
className: cls,
|
|
50
|
+
ref: ref,
|
|
51
|
+
role: "icon",
|
|
52
|
+
style: style
|
|
53
|
+
}, rest, {
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
+
viewBox: "0 0 1024 1024",
|
|
56
|
+
version: "1.1"
|
|
57
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
58
|
+
d: "M469.333333 106.666667c200.298667 0 362.666667 162.368 362.666667 362.666666 0 84.757333-29.077333 162.730667-77.802667 224.490667l150.634667 150.677333a42.666667 42.666667 0 0 1-57.621333 62.826667l-2.709334-2.496-150.677333-150.634667A361.109333 361.109333 0 0 1 469.333333 832c-200.298667 0-362.666667-162.368-362.666666-362.666667S269.034667 106.666667 469.333333 106.666667z m0 85.333333C316.16 192 192 316.16 192 469.333333s124.16 277.333333 277.333333 277.333334 277.333333-124.16 277.333334-277.333334S622.506667 192 469.333333 192z",
|
|
59
|
+
"p-id": "38915"
|
|
60
|
+
}));
|
|
61
|
+
});
|
|
62
|
+
if (env.__DEV__) {
|
|
63
|
+
SearchOutlined.displayName = 'SearchOutlined';
|
|
64
|
+
}
|
|
65
|
+
exports.SearchOutlined = SearchOutlined;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
13
|
+
Object.defineProperty(exports, '__esModule', {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
var __styleInject__ = require('@hi-ui/style-inject');
|
|
17
|
+
function _interopDefaultCompat(e) {
|
|
18
|
+
return e && _typeof(e) === 'object' && 'default' in e ? e : {
|
|
19
|
+
'default': e
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
var __styleInject____default = /*#__PURE__*/_interopDefaultCompat(__styleInject__);
|
|
23
|
+
|
|
24
|
+
/** @LICENSE
|
|
25
|
+
* @hi-ui/icons
|
|
26
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/icons#readme
|
|
27
|
+
*
|
|
28
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
var css_248z = "svg[class^=hi-v5-icon] {font-size: inherit;width: 1em;height: 1em;fill: currentColor;stroke: currentColor;display: inline-block;vertical-align: -0.15em;-ms-flex-negative: 0;flex-shrink: 0;}";
|
|
34
|
+
__styleInject____default["default"](css_248z);
|
|
35
|
+
exports["default"] = css_248z;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, '__esModule', {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
var css_248z = ".hi-v5-layout {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;position: relative;min-width: 0;min-height: 0;}.hi-v5-sider {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;position: relative;width: auto;height: 100%;overflow: auto;}.hi-v5-sider--collapsed {-webkit-transition: width 0.4s;transition: width 0.4s;}.hi-v5-sider__resizable-handler {position: absolute;z-index: 9;top: 0;right: 0;width: 2px;height: 100%;border-left: 2px solid transparent;border-right: 2px solid transparent;cursor: col-resize;background-color: #2b64ff;background-clip: content-box;opacity: 0;-webkit-transition: opacity 0.2s;transition: opacity 0.2s;}.hi-v5-sider__resizable-handler:hover {opacity: 1;}.hi-v5-sider .hi-v5-scrollbar__wrapper {width: auto;}.hi-v5-sider .hi-v5-menu {width: auto;height: auto;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__inner {margin-bottom: var(--hi-v5-spacing-4, 8px) !important;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__inner:not(.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__inner--active):hover {background-color: rgba(124, 135, 166, 0.15);}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__inner--active {background-color: #fff;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__inner--active .hi-v5-menu-item__icon {color: #2b64ff;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__inner--active-p .hi-v5-menu-item__icon {color: #2b64ff;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__icon {color: #7c87a6;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-item__arrow {color: #60636b;}.hi-v5-sider .hi-v5-menu--vertical .hi-v5-menu-submenu .hi-v5-menu-item__inner {margin-bottom: 0 !important;}.hi-v5-menu-popmenu {width: 160px !important;}.hi-v5-content {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;padding: 0 16px;overflow: auto;}.hi-v5-search-trigger {-webkit-box-sizing: border-box;box-sizing: border-box;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-ms-flex-negative: 0;flex-shrink: 0;gap: 8px;height: 32px;margin: 0 8px 12px;font-size: 16px;color: var(--hi-v5-color-gray-500, #91959e);background-color: rgba(113, 126, 163, 0.1);cursor: pointer;border-radius: 9999px;}.hi-v5-search-trigger:not(.hi-v5-search-trigger--mini) {padding: 0 12px;}.hi-v5-search-trigger--mini {-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;width: 32px;margin-left: auto;margin-right: auto;}.hi-v5-search-trigger__placeholder {font-size: var(--hi-v5-text-size-md, 0.875rem);line-height: var(--hi-v5-text-lineheight-md, 1.375rem);}";
|
|
16
|
+
var __styleInject__ = require('@hi-ui/style-inject')["default"];
|
|
17
|
+
__styleInject__(css_248z);
|
|
18
|
+
exports["default"] = css_248z;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
var CONTENT_PREFIX = getPrefixCls('content');
|
|
15
|
+
/**
|
|
16
|
+
* 内容区域组件
|
|
17
|
+
*/
|
|
18
|
+
var Content = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
19
|
+
var _a$prefixCls = _a.prefixCls,
|
|
20
|
+
prefixCls = _a$prefixCls === void 0 ? CONTENT_PREFIX : _a$prefixCls,
|
|
21
|
+
_a$role = _a.role,
|
|
22
|
+
role = _a$role === void 0 ? 'content' : _a$role,
|
|
23
|
+
className = _a.className,
|
|
24
|
+
children = _a.children,
|
|
25
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "children"]);
|
|
26
|
+
var cls = cx(prefixCls, className);
|
|
27
|
+
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
28
|
+
ref: ref,
|
|
29
|
+
role: role,
|
|
30
|
+
className: cls
|
|
31
|
+
}, rest), children);
|
|
32
|
+
});
|
|
33
|
+
if (__DEV__) {
|
|
34
|
+
Content.displayName = 'Content';
|
|
35
|
+
}
|
|
36
|
+
export { Content };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
var LAYOUT_PREFIX = getPrefixCls('layout');
|
|
15
|
+
/**
|
|
16
|
+
* 布局组件,用于布局页面结构
|
|
17
|
+
*/
|
|
18
|
+
var Layout = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
19
|
+
var _a$prefixCls = _a.prefixCls,
|
|
20
|
+
prefixCls = _a$prefixCls === void 0 ? LAYOUT_PREFIX : _a$prefixCls,
|
|
21
|
+
_a$role = _a.role,
|
|
22
|
+
role = _a$role === void 0 ? 'layout' : _a$role,
|
|
23
|
+
className = _a.className,
|
|
24
|
+
children = _a.children,
|
|
25
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "children"]);
|
|
26
|
+
var cls = cx(prefixCls, className);
|
|
27
|
+
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
28
|
+
ref: ref,
|
|
29
|
+
role: role,
|
|
30
|
+
className: cls
|
|
31
|
+
}, rest), children);
|
|
32
|
+
});
|
|
33
|
+
if (__DEV__) {
|
|
34
|
+
Layout.displayName = 'Layout';
|
|
35
|
+
}
|
|
36
|
+
export { Layout };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
import './packages/icons/lib/esm/styles/index.scss.js';
|
|
15
|
+
import { SearchOutlined } from './packages/icons/lib/esm/components/common/search-outlined.js';
|
|
16
|
+
var SEARCH_TRIGGER_PREFIX = getPrefixCls('search-trigger');
|
|
17
|
+
/**
|
|
18
|
+
* 搜索触发器组件
|
|
19
|
+
*/
|
|
20
|
+
var SearchTrigger = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
21
|
+
var _cx;
|
|
22
|
+
var _a$prefixCls = _a.prefixCls,
|
|
23
|
+
prefixCls = _a$prefixCls === void 0 ? SEARCH_TRIGGER_PREFIX : _a$prefixCls,
|
|
24
|
+
_a$role = _a.role,
|
|
25
|
+
role = _a$role === void 0 ? 'search-trigger' : _a$role,
|
|
26
|
+
className = _a.className,
|
|
27
|
+
mini = _a.mini,
|
|
28
|
+
_a$placeholder = _a.placeholder,
|
|
29
|
+
placeholder = _a$placeholder === void 0 ? '搜索' : _a$placeholder,
|
|
30
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "mini", "placeholder"]);
|
|
31
|
+
var cls = cx(prefixCls, className, (_cx = {}, _cx[prefixCls + "--mini"] = mini, _cx));
|
|
32
|
+
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
33
|
+
ref: ref,
|
|
34
|
+
role: role,
|
|
35
|
+
className: cls
|
|
36
|
+
}, rest), /*#__PURE__*/React.createElement(SearchOutlined, null), !mini && /*#__PURE__*/React.createElement("span", {
|
|
37
|
+
className: prefixCls + "__placeholder"
|
|
38
|
+
}, placeholder));
|
|
39
|
+
});
|
|
40
|
+
if (__DEV__) {
|
|
41
|
+
SearchTrigger.displayName = 'SearchTrigger';
|
|
42
|
+
}
|
|
43
|
+
export { SearchTrigger };
|
package/lib/esm/Sider.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
import { __rest } from 'tslib';
|
|
11
|
+
import React, { forwardRef, useState, useCallback } from 'react';
|
|
12
|
+
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
|
+
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
import { useUncontrolledState } from '@hi-ui/use-uncontrolled-state';
|
|
15
|
+
import { Resizable } from './node_modules/react-resizable/index.js';
|
|
16
|
+
var SIDER_PREFIX = getPrefixCls('sider');
|
|
17
|
+
/**
|
|
18
|
+
* 侧边栏组件
|
|
19
|
+
*/
|
|
20
|
+
var Sider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
21
|
+
var _cx;
|
|
22
|
+
var _a$prefixCls = _a.prefixCls,
|
|
23
|
+
prefixCls = _a$prefixCls === void 0 ? SIDER_PREFIX : _a$prefixCls,
|
|
24
|
+
_a$role = _a.role,
|
|
25
|
+
role = _a$role === void 0 ? 'sider' : _a$role,
|
|
26
|
+
className = _a.className,
|
|
27
|
+
collapsedProp = _a.collapsed,
|
|
28
|
+
onCollapse = _a.onCollapse,
|
|
29
|
+
children = _a.children,
|
|
30
|
+
rest = __rest(_a, ["prefixCls", "role", "className", "collapsed", "onCollapse", "children"]);
|
|
31
|
+
var _useUncontrolledState = useUncontrolledState(false, collapsedProp, onCollapse),
|
|
32
|
+
collapsed = _useUncontrolledState[0],
|
|
33
|
+
setCollapsed = _useUncontrolledState[1];
|
|
34
|
+
var _useState = useState(collapsedProp ? 68 : 200),
|
|
35
|
+
width = _useState[0],
|
|
36
|
+
setWidth = _useState[1];
|
|
37
|
+
var handleResize = function handleResize(evt, options) {
|
|
38
|
+
var _a;
|
|
39
|
+
var width = (_a = options === null || options === void 0 ? void 0 : options.size) === null || _a === void 0 ? void 0 : _a.width;
|
|
40
|
+
if (!collapsed && width < 150) {
|
|
41
|
+
width = 68;
|
|
42
|
+
setCollapsed(true);
|
|
43
|
+
}
|
|
44
|
+
if (collapsed && width > 68) {
|
|
45
|
+
width = 200;
|
|
46
|
+
setTimeout(function () {
|
|
47
|
+
setCollapsed(false);
|
|
48
|
+
}, 300);
|
|
49
|
+
}
|
|
50
|
+
if (width < 68) {
|
|
51
|
+
width = 68;
|
|
52
|
+
}
|
|
53
|
+
setWidth(width);
|
|
54
|
+
};
|
|
55
|
+
var handleResizeStart = useCallback(function () {
|
|
56
|
+
document.body.style.userSelect = 'none';
|
|
57
|
+
}, []);
|
|
58
|
+
var handleResizeStop = useCallback(function () {
|
|
59
|
+
document.body.style.userSelect = 'auto';
|
|
60
|
+
}, []);
|
|
61
|
+
var cls = cx(prefixCls, className, (_cx = {}, _cx[prefixCls + "--collapsed"] = collapsed, _cx));
|
|
62
|
+
return /*#__PURE__*/React.createElement(Resizable, {
|
|
63
|
+
className: prefixCls + "__resizable",
|
|
64
|
+
draggableOpts: {
|
|
65
|
+
enableUserSelectHack: false
|
|
66
|
+
},
|
|
67
|
+
handle: /*#__PURE__*/React.createElement("span", {
|
|
68
|
+
className: prefixCls + "__resizable-handler"
|
|
69
|
+
}),
|
|
70
|
+
height: 0,
|
|
71
|
+
width: width,
|
|
72
|
+
onResize: handleResize,
|
|
73
|
+
onResizeStart: handleResizeStart,
|
|
74
|
+
onResizeStop: handleResizeStop
|
|
75
|
+
}, /*#__PURE__*/React.createElement("div", Object.assign({
|
|
76
|
+
ref: ref,
|
|
77
|
+
role: role,
|
|
78
|
+
className: cls
|
|
79
|
+
}, rest, {
|
|
80
|
+
style: Object.assign({
|
|
81
|
+
width: width
|
|
82
|
+
}, rest.style)
|
|
83
|
+
}), children));
|
|
84
|
+
});
|
|
85
|
+
if (__DEV__) {
|
|
86
|
+
Sider.displayName = 'Sider';
|
|
87
|
+
}
|
|
88
|
+
export { Sider };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var Draggable = {};
|
|
11
|
+
export { Draggable as __exports };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var DraggableCore = {};
|
|
11
|
+
export { DraggableCore as __exports };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var Resizable = {};
|
|
11
|
+
export { Resizable as __exports };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var ResizableBox = {};
|
|
11
|
+
export { ResizableBox as __exports };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var cjs = {
|
|
11
|
+
exports: {}
|
|
12
|
+
};
|
|
13
|
+
export { cjs as c };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var domFns = {};
|
|
11
|
+
export { domFns as __exports };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var getPrefix = {};
|
|
11
|
+
export { getPrefix as __exports };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @LICENSE
|
|
2
|
+
* @hi-ui/layout
|
|
3
|
+
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/layout#readme
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
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
|
+
var reactResizable = {
|
|
11
|
+
exports: {}
|
|
12
|
+
};
|
|
13
|
+
export { reactResizable as r };
|