@mint-ui/map 0.5.11-beta → 0.5.12-beta
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/components/mint-map/core/advanced/shapes/base/SVGCircle.js +2 -1
- package/dist/components/mint-map/core/advanced/shapes/base/SVGRect.js +2 -1
- package/dist/components/mint-map/core/wrapper/MapControlWrapper.d.ts +2 -2
- package/dist/components/mint-map/core/wrapper/MapControlWrapper.js +11 -50
- package/dist/components/mint-map/core/wrapper/MintMapWrapper.module.scss.js +2 -2
- package/dist/index.es.js +17 -54
- package/dist/index.umd.js +17 -54
- package/package.json +1 -1
|
@@ -32,7 +32,8 @@ function SVGCircle(_a) {
|
|
|
32
32
|
pointerEvents: "none",
|
|
33
33
|
width: boxSize,
|
|
34
34
|
height: boxSize,
|
|
35
|
-
viewBox: "0 0 ".concat(boxSize, " ").concat(boxSize)
|
|
35
|
+
viewBox: "0 0 ".concat(boxSize, " ").concat(boxSize),
|
|
36
|
+
overflow: 'visible'
|
|
36
37
|
}, svgProperties), React__default["default"].createElement("circle", tslib.__assign({
|
|
37
38
|
pointerEvents: "visiblepainted",
|
|
38
39
|
cx: radius,
|
|
@@ -37,7 +37,8 @@ function SVGRect(_a) {
|
|
|
37
37
|
pointerEvents: "none",
|
|
38
38
|
width: width,
|
|
39
39
|
height: height,
|
|
40
|
-
viewBox: "0 0 ".concat(viewWidth.current, " ").concat(viewHeight)
|
|
40
|
+
viewBox: "0 0 ".concat(viewWidth.current, " ").concat(viewHeight),
|
|
41
|
+
overflow: 'visible'
|
|
41
42
|
}, svgProperties), React__default["default"].createElement("rect", tslib.__assign({
|
|
42
43
|
pointerEvents: "visiblepainted",
|
|
43
44
|
x: "0",
|
|
@@ -2,8 +2,8 @@ import { PropsWithChildren } from "react";
|
|
|
2
2
|
declare type AlignHorizontal = 'left' | 'right' | 'center';
|
|
3
3
|
declare type AlignVertical = 'top' | 'bottom' | 'center';
|
|
4
4
|
export interface MapControlWrapperProps {
|
|
5
|
-
width?:
|
|
6
|
-
height?:
|
|
5
|
+
width?: string | number;
|
|
6
|
+
height?: string | number;
|
|
7
7
|
positionHorizontal?: AlignHorizontal;
|
|
8
8
|
positionVertical?: AlignVertical;
|
|
9
9
|
}
|
|
@@ -12,48 +12,6 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
12
12
|
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
13
13
|
|
|
14
14
|
var cn = classNames__default["default"].bind(MintMapWrapper_module);
|
|
15
|
-
|
|
16
|
-
var getSizeString = function (size) {
|
|
17
|
-
return typeof size === 'string' ? size.replace(/ /g, '') : "".concat(size, "px");
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var getAlignPosition = function (value, align) {
|
|
21
|
-
if (typeof value === 'string') {
|
|
22
|
-
var trimmed = value.replace(/ /g, '');
|
|
23
|
-
console.log('trimmed:', trimmed);
|
|
24
|
-
var isPercent = trimmed.endsWith('%');
|
|
25
|
-
|
|
26
|
-
if (!isPercent && !trimmed.endsWith('px')) {
|
|
27
|
-
throw new Error("Size [".concat(value, "] is not valid string value."));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
var numberPart = isPercent ? trimmed.substring(0, trimmed.length - 2) : trimmed.substring(0, trimmed.length - 3);
|
|
31
|
-
var unit = isPercent ? '%' : 'px';
|
|
32
|
-
var numberValue = Number(numberPart);
|
|
33
|
-
|
|
34
|
-
if (isNaN(numberValue)) {
|
|
35
|
-
throw new Error("Size [".concat(value, "] is not valid % or pixel number value."));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
if (align === 'center') {
|
|
39
|
-
return "calc(50% - ".concat(numberValue / 2).concat(unit, ")");
|
|
40
|
-
} else if (align === 'right' || align === 'bottom') {
|
|
41
|
-
return "calc(100% - ".concat(numberValue).concat(unit, ")");
|
|
42
|
-
} else {
|
|
43
|
-
return '0px';
|
|
44
|
-
}
|
|
45
|
-
} else if (typeof value === 'number') {
|
|
46
|
-
if (align === 'center') {
|
|
47
|
-
return "calc(50% - ".concat(value / 2, "px)");
|
|
48
|
-
} else if (align === 'right' || align === 'bottom') {
|
|
49
|
-
return "calc(100% - ".concat(value, "px)");
|
|
50
|
-
} else {
|
|
51
|
-
return '0px';
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
throw new Error("Size [".concat(value, "] is not valid. (Should be % or pixel number)"));
|
|
56
|
-
};
|
|
57
15
|
/**
|
|
58
16
|
* Mint Map 컴포넌트
|
|
59
17
|
*
|
|
@@ -62,26 +20,29 @@ var getAlignPosition = function (value, align) {
|
|
|
62
20
|
* @returns {JSX.Element} JSX
|
|
63
21
|
*/
|
|
64
22
|
|
|
65
|
-
|
|
66
23
|
function MapControlWrapper(_a) {
|
|
67
24
|
var _b = _a.width,
|
|
68
|
-
width = _b === void 0 ?
|
|
25
|
+
width = _b === void 0 ? 'fit-content' : _b,
|
|
69
26
|
_c = _a.height,
|
|
70
|
-
height = _c === void 0 ?
|
|
27
|
+
height = _c === void 0 ? 'fit-content' : _c,
|
|
71
28
|
_d = _a.positionHorizontal,
|
|
72
29
|
positionHorizontal = _d === void 0 ? 'left' : _d,
|
|
73
30
|
_e = _a.positionVertical,
|
|
74
31
|
positionVertical = _e === void 0 ? 'top' : _e,
|
|
75
32
|
children = _a.children;
|
|
76
33
|
return React__default["default"].createElement("div", {
|
|
34
|
+
className: cn('mint-map-control-wrapper-container'),
|
|
35
|
+
style: {
|
|
36
|
+
justifyContent: positionHorizontal === 'center' ? 'center' : positionHorizontal === 'right' ? 'flex-end' : 'flex-start',
|
|
37
|
+
alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start'
|
|
38
|
+
}
|
|
39
|
+
}, React__default["default"].createElement("div", {
|
|
77
40
|
className: cn('mint-map-control-wrapper'),
|
|
78
41
|
style: {
|
|
79
|
-
width:
|
|
80
|
-
height:
|
|
81
|
-
left: getAlignPosition(width, positionHorizontal),
|
|
82
|
-
top: getAlignPosition(height, positionVertical)
|
|
42
|
+
width: width,
|
|
43
|
+
height: height
|
|
83
44
|
}
|
|
84
|
-
}, children);
|
|
45
|
+
}, children));
|
|
85
46
|
}
|
|
86
47
|
|
|
87
48
|
exports.MapControlWrapper = MapControlWrapper;
|
|
@@ -6,8 +6,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
6
6
|
|
|
7
7
|
var styleInject__default = /*#__PURE__*/_interopDefaultLegacy(styleInject);
|
|
8
8
|
|
|
9
|
-
var css_248z = ".MintMapWrapper-module_mint-map-control-
|
|
10
|
-
var styles = {"mint-map-control-wrapper":"MintMapWrapper-module_mint-map-control-wrapper__DDb4y","mint-map-overlay-wrapper":"MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV"};
|
|
9
|
+
var css_248z = ".MintMapWrapper-module_mint-map-control-wrapper-container__DONh7 {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n pointer-events: none;\n z-index: 101;\n}\n\n.MintMapWrapper-module_mint-map-control-wrapper__DDb4y {\n pointer-events: auto;\n}\n\n.MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV {\n position: absolute;\n z-index: 1;\n}";
|
|
10
|
+
var styles = {"mint-map-control-wrapper-container":"MintMapWrapper-module_mint-map-control-wrapper-container__DONh7","mint-map-control-wrapper":"MintMapWrapper-module_mint-map-control-wrapper__DDb4y","mint-map-overlay-wrapper":"MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV"};
|
|
11
11
|
styleInject__default["default"](css_248z);
|
|
12
12
|
|
|
13
13
|
module.exports = styles;
|
package/dist/index.es.js
CHANGED
|
@@ -3725,7 +3725,8 @@ function SVGCircle(_a) {
|
|
|
3725
3725
|
pointerEvents: "none",
|
|
3726
3726
|
width: boxSize,
|
|
3727
3727
|
height: boxSize,
|
|
3728
|
-
viewBox: "0 0 ".concat(boxSize, " ").concat(boxSize)
|
|
3728
|
+
viewBox: "0 0 ".concat(boxSize, " ").concat(boxSize),
|
|
3729
|
+
overflow: 'visible'
|
|
3729
3730
|
}, svgProperties), React.createElement("circle", __assign({
|
|
3730
3731
|
pointerEvents: "visiblepainted",
|
|
3731
3732
|
cx: radius,
|
|
@@ -3984,7 +3985,8 @@ function SVGRect(_a) {
|
|
|
3984
3985
|
pointerEvents: "none",
|
|
3985
3986
|
width: width,
|
|
3986
3987
|
height: height,
|
|
3987
|
-
viewBox: "0 0 ".concat(viewWidth.current, " ").concat(viewHeight)
|
|
3988
|
+
viewBox: "0 0 ".concat(viewWidth.current, " ").concat(viewHeight),
|
|
3989
|
+
overflow: 'visible'
|
|
3988
3990
|
}, svgProperties), React.createElement("rect", __assign({
|
|
3989
3991
|
pointerEvents: "visiblepainted",
|
|
3990
3992
|
x: "0",
|
|
@@ -5067,53 +5069,11 @@ function LoadingImage(_a) {
|
|
|
5067
5069
|
}))));
|
|
5068
5070
|
}
|
|
5069
5071
|
|
|
5070
|
-
var css_248z = ".MintMapWrapper-module_mint-map-control-
|
|
5071
|
-
var styles = {"mint-map-control-wrapper":"MintMapWrapper-module_mint-map-control-wrapper__DDb4y","mint-map-overlay-wrapper":"MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV"};
|
|
5072
|
+
var css_248z = ".MintMapWrapper-module_mint-map-control-wrapper-container__DONh7 {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n pointer-events: none;\n z-index: 101;\n}\n\n.MintMapWrapper-module_mint-map-control-wrapper__DDb4y {\n pointer-events: auto;\n}\n\n.MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV {\n position: absolute;\n z-index: 1;\n}";
|
|
5073
|
+
var styles = {"mint-map-control-wrapper-container":"MintMapWrapper-module_mint-map-control-wrapper-container__DONh7","mint-map-control-wrapper":"MintMapWrapper-module_mint-map-control-wrapper__DDb4y","mint-map-overlay-wrapper":"MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV"};
|
|
5072
5074
|
styleInject(css_248z);
|
|
5073
5075
|
|
|
5074
5076
|
var cn = classNames.bind(styles);
|
|
5075
|
-
|
|
5076
|
-
var getSizeString = function (size) {
|
|
5077
|
-
return typeof size === 'string' ? size.replace(/ /g, '') : "".concat(size, "px");
|
|
5078
|
-
};
|
|
5079
|
-
|
|
5080
|
-
var getAlignPosition = function (value, align) {
|
|
5081
|
-
if (typeof value === 'string') {
|
|
5082
|
-
var trimmed = value.replace(/ /g, '');
|
|
5083
|
-
console.log('trimmed:', trimmed);
|
|
5084
|
-
var isPercent = trimmed.endsWith('%');
|
|
5085
|
-
|
|
5086
|
-
if (!isPercent && !trimmed.endsWith('px')) {
|
|
5087
|
-
throw new Error("Size [".concat(value, "] is not valid string value."));
|
|
5088
|
-
}
|
|
5089
|
-
|
|
5090
|
-
var numberPart = isPercent ? trimmed.substring(0, trimmed.length - 2) : trimmed.substring(0, trimmed.length - 3);
|
|
5091
|
-
var unit = isPercent ? '%' : 'px';
|
|
5092
|
-
var numberValue = Number(numberPart);
|
|
5093
|
-
|
|
5094
|
-
if (isNaN(numberValue)) {
|
|
5095
|
-
throw new Error("Size [".concat(value, "] is not valid % or pixel number value."));
|
|
5096
|
-
}
|
|
5097
|
-
|
|
5098
|
-
if (align === 'center') {
|
|
5099
|
-
return "calc(50% - ".concat(numberValue / 2).concat(unit, ")");
|
|
5100
|
-
} else if (align === 'right' || align === 'bottom') {
|
|
5101
|
-
return "calc(100% - ".concat(numberValue).concat(unit, ")");
|
|
5102
|
-
} else {
|
|
5103
|
-
return '0px';
|
|
5104
|
-
}
|
|
5105
|
-
} else if (typeof value === 'number') {
|
|
5106
|
-
if (align === 'center') {
|
|
5107
|
-
return "calc(50% - ".concat(value / 2, "px)");
|
|
5108
|
-
} else if (align === 'right' || align === 'bottom') {
|
|
5109
|
-
return "calc(100% - ".concat(value, "px)");
|
|
5110
|
-
} else {
|
|
5111
|
-
return '0px';
|
|
5112
|
-
}
|
|
5113
|
-
}
|
|
5114
|
-
|
|
5115
|
-
throw new Error("Size [".concat(value, "] is not valid. (Should be % or pixel number)"));
|
|
5116
|
-
};
|
|
5117
5077
|
/**
|
|
5118
5078
|
* Mint Map 컴포넌트
|
|
5119
5079
|
*
|
|
@@ -5122,26 +5082,29 @@ var getAlignPosition = function (value, align) {
|
|
|
5122
5082
|
* @returns {JSX.Element} JSX
|
|
5123
5083
|
*/
|
|
5124
5084
|
|
|
5125
|
-
|
|
5126
5085
|
function MapControlWrapper(_a) {
|
|
5127
5086
|
var _b = _a.width,
|
|
5128
|
-
width = _b === void 0 ?
|
|
5087
|
+
width = _b === void 0 ? 'fit-content' : _b,
|
|
5129
5088
|
_c = _a.height,
|
|
5130
|
-
height = _c === void 0 ?
|
|
5089
|
+
height = _c === void 0 ? 'fit-content' : _c,
|
|
5131
5090
|
_d = _a.positionHorizontal,
|
|
5132
5091
|
positionHorizontal = _d === void 0 ? 'left' : _d,
|
|
5133
5092
|
_e = _a.positionVertical,
|
|
5134
5093
|
positionVertical = _e === void 0 ? 'top' : _e,
|
|
5135
5094
|
children = _a.children;
|
|
5136
5095
|
return React.createElement("div", {
|
|
5096
|
+
className: cn('mint-map-control-wrapper-container'),
|
|
5097
|
+
style: {
|
|
5098
|
+
justifyContent: positionHorizontal === 'center' ? 'center' : positionHorizontal === 'right' ? 'flex-end' : 'flex-start',
|
|
5099
|
+
alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start'
|
|
5100
|
+
}
|
|
5101
|
+
}, React.createElement("div", {
|
|
5137
5102
|
className: cn('mint-map-control-wrapper'),
|
|
5138
5103
|
style: {
|
|
5139
|
-
width:
|
|
5140
|
-
height:
|
|
5141
|
-
left: getAlignPosition(width, positionHorizontal),
|
|
5142
|
-
top: getAlignPosition(height, positionVertical)
|
|
5104
|
+
width: width,
|
|
5105
|
+
height: height
|
|
5143
5106
|
}
|
|
5144
|
-
}, children);
|
|
5107
|
+
}, children));
|
|
5145
5108
|
}
|
|
5146
5109
|
|
|
5147
5110
|
/**
|
package/dist/index.umd.js
CHANGED
|
@@ -3729,7 +3729,8 @@
|
|
|
3729
3729
|
pointerEvents: "none",
|
|
3730
3730
|
width: boxSize,
|
|
3731
3731
|
height: boxSize,
|
|
3732
|
-
viewBox: "0 0 ".concat(boxSize, " ").concat(boxSize)
|
|
3732
|
+
viewBox: "0 0 ".concat(boxSize, " ").concat(boxSize),
|
|
3733
|
+
overflow: 'visible'
|
|
3733
3734
|
}, svgProperties), React__default["default"].createElement("circle", tslib.__assign({
|
|
3734
3735
|
pointerEvents: "visiblepainted",
|
|
3735
3736
|
cx: radius,
|
|
@@ -3988,7 +3989,8 @@
|
|
|
3988
3989
|
pointerEvents: "none",
|
|
3989
3990
|
width: width,
|
|
3990
3991
|
height: height,
|
|
3991
|
-
viewBox: "0 0 ".concat(viewWidth.current, " ").concat(viewHeight)
|
|
3992
|
+
viewBox: "0 0 ".concat(viewWidth.current, " ").concat(viewHeight),
|
|
3993
|
+
overflow: 'visible'
|
|
3992
3994
|
}, svgProperties), React__default["default"].createElement("rect", tslib.__assign({
|
|
3993
3995
|
pointerEvents: "visiblepainted",
|
|
3994
3996
|
x: "0",
|
|
@@ -5071,53 +5073,11 @@
|
|
|
5071
5073
|
}))));
|
|
5072
5074
|
}
|
|
5073
5075
|
|
|
5074
|
-
var css_248z = ".MintMapWrapper-module_mint-map-control-
|
|
5075
|
-
var styles = {"mint-map-control-wrapper":"MintMapWrapper-module_mint-map-control-wrapper__DDb4y","mint-map-overlay-wrapper":"MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV"};
|
|
5076
|
+
var css_248z = ".MintMapWrapper-module_mint-map-control-wrapper-container__DONh7 {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n pointer-events: none;\n z-index: 101;\n}\n\n.MintMapWrapper-module_mint-map-control-wrapper__DDb4y {\n pointer-events: auto;\n}\n\n.MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV {\n position: absolute;\n z-index: 1;\n}";
|
|
5077
|
+
var styles = {"mint-map-control-wrapper-container":"MintMapWrapper-module_mint-map-control-wrapper-container__DONh7","mint-map-control-wrapper":"MintMapWrapper-module_mint-map-control-wrapper__DDb4y","mint-map-overlay-wrapper":"MintMapWrapper-module_mint-map-overlay-wrapper__Jn4wV"};
|
|
5076
5078
|
styleInject__default["default"](css_248z);
|
|
5077
5079
|
|
|
5078
5080
|
var cn = classNames__default["default"].bind(styles);
|
|
5079
|
-
|
|
5080
|
-
var getSizeString = function (size) {
|
|
5081
|
-
return typeof size === 'string' ? size.replace(/ /g, '') : "".concat(size, "px");
|
|
5082
|
-
};
|
|
5083
|
-
|
|
5084
|
-
var getAlignPosition = function (value, align) {
|
|
5085
|
-
if (typeof value === 'string') {
|
|
5086
|
-
var trimmed = value.replace(/ /g, '');
|
|
5087
|
-
console.log('trimmed:', trimmed);
|
|
5088
|
-
var isPercent = trimmed.endsWith('%');
|
|
5089
|
-
|
|
5090
|
-
if (!isPercent && !trimmed.endsWith('px')) {
|
|
5091
|
-
throw new Error("Size [".concat(value, "] is not valid string value."));
|
|
5092
|
-
}
|
|
5093
|
-
|
|
5094
|
-
var numberPart = isPercent ? trimmed.substring(0, trimmed.length - 2) : trimmed.substring(0, trimmed.length - 3);
|
|
5095
|
-
var unit = isPercent ? '%' : 'px';
|
|
5096
|
-
var numberValue = Number(numberPart);
|
|
5097
|
-
|
|
5098
|
-
if (isNaN(numberValue)) {
|
|
5099
|
-
throw new Error("Size [".concat(value, "] is not valid % or pixel number value."));
|
|
5100
|
-
}
|
|
5101
|
-
|
|
5102
|
-
if (align === 'center') {
|
|
5103
|
-
return "calc(50% - ".concat(numberValue / 2).concat(unit, ")");
|
|
5104
|
-
} else if (align === 'right' || align === 'bottom') {
|
|
5105
|
-
return "calc(100% - ".concat(numberValue).concat(unit, ")");
|
|
5106
|
-
} else {
|
|
5107
|
-
return '0px';
|
|
5108
|
-
}
|
|
5109
|
-
} else if (typeof value === 'number') {
|
|
5110
|
-
if (align === 'center') {
|
|
5111
|
-
return "calc(50% - ".concat(value / 2, "px)");
|
|
5112
|
-
} else if (align === 'right' || align === 'bottom') {
|
|
5113
|
-
return "calc(100% - ".concat(value, "px)");
|
|
5114
|
-
} else {
|
|
5115
|
-
return '0px';
|
|
5116
|
-
}
|
|
5117
|
-
}
|
|
5118
|
-
|
|
5119
|
-
throw new Error("Size [".concat(value, "] is not valid. (Should be % or pixel number)"));
|
|
5120
|
-
};
|
|
5121
5081
|
/**
|
|
5122
5082
|
* Mint Map 컴포넌트
|
|
5123
5083
|
*
|
|
@@ -5126,26 +5086,29 @@
|
|
|
5126
5086
|
* @returns {JSX.Element} JSX
|
|
5127
5087
|
*/
|
|
5128
5088
|
|
|
5129
|
-
|
|
5130
5089
|
function MapControlWrapper(_a) {
|
|
5131
5090
|
var _b = _a.width,
|
|
5132
|
-
width = _b === void 0 ?
|
|
5091
|
+
width = _b === void 0 ? 'fit-content' : _b,
|
|
5133
5092
|
_c = _a.height,
|
|
5134
|
-
height = _c === void 0 ?
|
|
5093
|
+
height = _c === void 0 ? 'fit-content' : _c,
|
|
5135
5094
|
_d = _a.positionHorizontal,
|
|
5136
5095
|
positionHorizontal = _d === void 0 ? 'left' : _d,
|
|
5137
5096
|
_e = _a.positionVertical,
|
|
5138
5097
|
positionVertical = _e === void 0 ? 'top' : _e,
|
|
5139
5098
|
children = _a.children;
|
|
5140
5099
|
return React__default["default"].createElement("div", {
|
|
5100
|
+
className: cn('mint-map-control-wrapper-container'),
|
|
5101
|
+
style: {
|
|
5102
|
+
justifyContent: positionHorizontal === 'center' ? 'center' : positionHorizontal === 'right' ? 'flex-end' : 'flex-start',
|
|
5103
|
+
alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start'
|
|
5104
|
+
}
|
|
5105
|
+
}, React__default["default"].createElement("div", {
|
|
5141
5106
|
className: cn('mint-map-control-wrapper'),
|
|
5142
5107
|
style: {
|
|
5143
|
-
width:
|
|
5144
|
-
height:
|
|
5145
|
-
left: getAlignPosition(width, positionHorizontal),
|
|
5146
|
-
top: getAlignPosition(height, positionVertical)
|
|
5108
|
+
width: width,
|
|
5109
|
+
height: height
|
|
5147
5110
|
}
|
|
5148
|
-
}, children);
|
|
5111
|
+
}, children));
|
|
5149
5112
|
}
|
|
5150
5113
|
|
|
5151
5114
|
/**
|