()
| 2094 | inheritsLoose_default()(InnerPopper, _React$Component); |
| 2095 | |
| 2096 | function InnerPopper() { |
| 2097 | var _this; |
| 2098 | |
| 2099 | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| 2100 | args[_key] = arguments[_key]; |
| 2101 | } |
| 2102 | |
| 2103 | _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; |
| 2104 | |
| 2105 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "state", { |
| 2106 | data: undefined, |
| 2107 | placement: undefined |
| 2108 | }); |
| 2109 | |
| 2110 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "popperInstance", void 0); |
| 2111 | |
| 2112 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "popperNode", null); |
| 2113 | |
| 2114 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "arrowNode", null); |
| 2115 | |
| 2116 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "setPopperNode", function (popperNode) { |
| 2117 | if (!popperNode || _this.popperNode === popperNode) return; |
| 2118 | safeInvoke(_this.props.innerRef, popperNode); |
| 2119 | _this.popperNode = popperNode; |
| 2120 | |
| 2121 | _this.updatePopperInstance(); |
| 2122 | }); |
| 2123 | |
| 2124 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "setArrowNode", function (arrowNode) { |
| 2125 | _this.arrowNode = arrowNode; |
| 2126 | }); |
| 2127 | |
| 2128 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "updateStateModifier", { |
| 2129 | enabled: true, |
| 2130 | order: 900, |
| 2131 | fn: function fn(data) { |
| 2132 | var placement = data.placement; |
| 2133 | |
| 2134 | _this.setState({ |
| 2135 | data: data, |
| 2136 | placement: placement |
| 2137 | }); |
| 2138 | |
| 2139 | return data; |
| 2140 | } |
| 2141 | }); |
| 2142 | |
| 2143 | defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "getOptions", function () { |
| 2144 | return { |
| 2145 | placement: _this.props.placement, |
| 2146 | eventsEnabled: _this.props.eventsEnabled, |
| 2147 | positionFixed: _this.props.positionFixed, |
| 2148 | modifiers: extends_default()({}, _this.props.modifiers, { |
| 2149 | arrow: extends_default()({}, _this.props.modifiers && _this.props.modifiers.arrow, { |
| 2150 | enabled: !!_this.arrowNode, |
| 2151 | element: _this.arrowNode |
| 2152 | }), |
| 2153 | applyStyle: { |
nothing calls this directly
no test coverage detected
searching dependent graphs…