text: ["^ ","~:resource-id",["~:shadow.build.npm/resource","node_modules/rc-select/lib/SelectTrigger.js"],"~:js","shadow$provide.module$node_modules$rc_select$lib$SelectTrigger=function(global,process,require,module,exports,shadow$shims){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj}}exports.__esModule=!0;global=require(\"module$node_modules$babel_runtime$helpers$extends\");var _extends3=_interopRequireDefault(global);global=require(\"module$node_modules$babel_runtime$helpers$objectWithoutProperties\");var _objectWithoutProperties3=_interopRequireDefault(global);global=require(\"module$node_modules$babel_runtime$helpers$classCallCheck\");\nvar _classCallCheck3=_interopRequireDefault(global);global=require(\"module$node_modules$babel_runtime$helpers$possibleConstructorReturn\");var _possibleConstructorReturn3=_interopRequireDefault(global);global=require(\"module$node_modules$babel_runtime$helpers$inherits\");var _inherits3=_interopRequireDefault(global);global=require(\"module$node_modules$rc_trigger$lib$index\");var _rcTrigger2=_interopRequireDefault(global);global=require(\"module$node_modules$react$index\");var _react2=_interopRequireDefault(global);\nglobal=require(\"module$node_modules$prop_types$index\");global=_interopRequireDefault(global);process=require(\"module$node_modules$classnames$index\");var _classnames2=_interopRequireDefault(process);process=require(\"module$node_modules$rc_select$lib$DropdownMenu\");var _DropdownMenu2=_interopRequireDefault(process);process=require(\"module$node_modules$react_dom$index\");var _reactDom2=_interopRequireDefault(process),_util=require(\"module$node_modules$rc_select$lib$util\");_rcTrigger2[\"default\"].displayName=\n\"Trigger\";var BUILT_IN_PLACEMENTS={bottomLeft:{points:[\"tl\",\"bl\"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:[\"bl\",\"tl\"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};require=function(_React$Component){function SelectTrigger(props){(0,_classCallCheck3[\"default\"])(this,SelectTrigger);props=(0,_possibleConstructorReturn3[\"default\"])(this,_React$Component.call(this,props));_initialiseProps.call(props);props.saveDropdownMenuRef=(0,_util.saveRef)(props,\"dropdownMenuRef\");props.saveTriggerRef=\n(0,_util.saveRef)(props,\"triggerRef\");props.state={dropdownWidth:null};return props}(0,_inherits3[\"default\"])(SelectTrigger,_React$Component);SelectTrigger.prototype.componentDidMount=function(){this.setDropdownWidth()};SelectTrigger.prototype.componentDidUpdate=function(){this.setDropdownWidth()};SelectTrigger.prototype.render=function(){var _popupClassName,_props=this.props,onPopupFocus=_props.onPopupFocus;_props=(0,_objectWithoutProperties3[\"default\"])(_props,[\"onPopupFocus\"]);var multiple=_props.multiple,\nvisible=_props.visible,inputValue=_props.inputValue,dropdownAlign=_props.dropdownAlign,disabled=_props.disabled,showSearch=_props.showSearch,dropdownClassName=_props.dropdownClassName,dropdownStyle=_props.dropdownStyle,dropdownMatchSelectWidth=_props.dropdownMatchSelectWidth,dropdownPrefixCls=this.getDropdownPrefixCls();dropdownClassName=(_popupClassName={},_popupClassName[dropdownClassName]=!!dropdownClassName,_popupClassName[dropdownPrefixCls+\"--\"+(multiple?\"multiple\":\"single\")]=1,_popupClassName);\n_popupClassName=this.getDropdownElement({menuItems:_props.options,onPopupFocus:onPopupFocus,multiple:multiple,inputValue:inputValue,visible:visible});onPopupFocus=disabled?[]:(0,_util.isSingleMode)(_props)&&!showSearch?[\"click\"]:[\"blur\"];dropdownStyle=(0,_extends3[\"default\"])({},dropdownStyle);this.state.dropdownWidth&&(dropdownStyle[dropdownMatchSelectWidth?\"width\":\"minWidth\"]=this.state.dropdownWidth+\"px\");return _react2[\"default\"].createElement(_rcTrigger2[\"default\"],(0,_extends3[\"default\"])({},\n_props,{showAction:disabled?[]:this.props.showAction,hideAction:onPopupFocus,ref:this.saveTriggerRef,popupPlacement:\"bottomLeft\",builtinPlacements:BUILT_IN_PLACEMENTS,prefixCls:dropdownPrefixCls,popupTransitionName:this.getDropdownTransitionName(),onPopupVisibleChange:_props.onDropdownVisibleChange,popup:_popupClassName,popupAlign:dropdownAlign,popupVisible:visible,getPopupContainer:_props.getPopupContainer,popupClassName:(0,_classnames2[\"default\"])(dropdownClassName),popupStyle:dropdownStyle}),_props.children)};\nreturn SelectTrigger}(_react2[\"default\"].Component);require.propTypes={onPopupFocus:global[\"default\"].func,onPopupScroll:global[\"default\"].func,dropdownMatchSelectWidth:global[\"default\"].bool,dropdownAlign:global[\"default\"].object,visible:global[\"default\"].bool,disabled:global[\"default\"].bool,showSearch:global[\"default\"].bool,dropdownClassName:global[\"default\"].string,multiple:global[\"default\"].bool,inputValue:global[\"default\"].string,filterOption:global[\"default\"].any,options:global[\"default\"].any,\nprefixCls:global[\"default\"].string,popupClassName:global[\"default\"].string,children:global[\"default\"].any,showAction:global[\"default\"].arrayOf(global[\"default\"].string)};var _initialiseProps=function(){var _this2=this;this.setDropdownWidth=function(){var width=_reactDom2[\"default\"].findDOMNode(_this2).offsetWidth;width!==_this2.state.dropdownWidth&&_this2.setState({dropdownWidth:width})};this.getInnerMenu=function(){return _this2.dropdownMenuRef&&_this2.dropdownMenuRef.menuRef};this.getPopupDOMNode=\nfunction(){return _this2.triggerRef.getPopupDomNode()};this.getDropdownElement=function(newProps){var props=_this2.props;return _react2[\"default\"].createElement(_DropdownMenu2[\"default\"],(0,_extends3[\"default\"])({ref:_this2.saveDropdownMenuRef},newProps,{prefixCls:_this2.getDropdownPrefixCls(),onMenuSelect:props.onMenuSelect,onMenuDeselect:props.onMenuDeselect,onPopupScroll:props.onPopupScroll,value:props.value,backfillValue:props.backfillValue,firstActiveValue:props.firstActiveValue,defaultActiveFirstOption:props.defaultActiveFirstOption,\ndropdownMenuStyle:props.dropdownMenuStyle}))};this.getDropdownTransitionName=function(){var props=_this2.props,transitionName=props.transitionName;!transitionName&&props.animation&&(transitionName=_this2.getDropdownPrefixCls()+\"-\"+props.animation);return transitionName};this.getDropdownPrefixCls=function(){return _this2.props.prefixCls+\"-dropdown\"}};exports[\"default\"]=require;require.displayName=\"SelectTrigger\";module.exports=exports[\"default\"]}","~:source","shadow$provide[\"module$node_modules$rc_select$lib$SelectTrigger\"] = function(global,process,require,module,exports,shadow$shims) {\n'use strict';\n\nexports.__esModule = true;\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _rcTrigger = require('rc-trigger');\n\nvar _rcTrigger2 = _interopRequireDefault(_rcTrigger);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _DropdownMenu = require('./DropdownMenu');\n\nvar _DropdownMenu2 = _interopRequireDefault(_DropdownMenu);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _util = require('./util');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n_rcTrigger2['default'].displayName = 'Trigger';\n\nvar BUILT_IN_PLACEMENTS = {\n  bottomLeft: {\n    points: ['tl', 'bl'],\n    offset: [0, 4],\n    overflow: {\n      adjustX: 0,\n      adjustY: 1\n    }\n  },\n  topLeft: {\n    points: ['bl', 'tl'],\n    offset: [0, -4],\n    overflow: {\n      adjustX: 0,\n      adjustY: 1\n    }\n  }\n};\n\nvar SelectTrigger = function (_React$Component) {\n  (0, _inherits3['default'])(SelectTrigger, _React$Component);\n\n  function SelectTrigger(props) {\n    (0, _classCallCheck3['default'])(this, SelectTrigger);\n\n    var _this = (0, _possibleConstructorReturn3['default'])(this, _React$Component.call(this, props));\n\n    _initialiseProps.call(_this);\n\n    _this.saveDropdownMenuRef = (0, _util.saveRef)(_this, 'dropdownMenuRef');\n    _this.saveTriggerRef = (0, _util.saveRef)(_this, 'triggerRef');\n\n    _this.state = {\n      dropdownWidth: null\n    };\n    return _this;\n  }\n\n  SelectTrigger.prototype.componentDidMount = function componentDidMount() {\n    this.setDropdownWidth();\n  };\n\n  SelectTrigger.prototype.componentDidUpdate = function componentDidUpdate() {\n    this.setDropdownWidth();\n  };\n\n  SelectTrigger.prototype.render = function render() {\n    var _popupClassName;\n\n    var _props = this.props,\n        onPopupFocus = _props.onPopupFocus,\n        props = (0, _objectWithoutProperties3['default'])(_props, ['onPopupFocus']);\n    var multiple = props.multiple,\n        visible = props.visible,\n        inputValue = props.inputValue,\n        dropdownAlign = props.dropdownAlign,\n        disabled = props.disabled,\n        showSearch = props.showSearch,\n        dropdownClassName = props.dropdownClassName,\n        dropdownStyle = props.dropdownStyle,\n        dropdownMatchSelectWidth = props.dropdownMatchSelectWidth;\n\n    var dropdownPrefixCls = this.getDropdownPrefixCls();\n    var popupClassName = (_popupClassName = {}, _popupClassName[dropdownClassName] = !!dropdownClassName, _popupClassName[dropdownPrefixCls + '--' + (multiple ? 'multiple' : 'single')] = 1, _popupClassName);\n    var popupElement = this.getDropdownElement({\n      menuItems: props.options,\n      onPopupFocus: onPopupFocus,\n      multiple: multiple,\n      inputValue: inputValue,\n      visible: visible\n    });\n    var hideAction = void 0;\n    if (disabled) {\n      hideAction = [];\n    } else if ((0, _util.isSingleMode)(props) && !showSearch) {\n      hideAction = ['click'];\n    } else {\n      hideAction = ['blur'];\n    }\n    var popupStyle = (0, _extends3['default'])({}, dropdownStyle);\n    var widthProp = dropdownMatchSelectWidth ? 'width' : 'minWidth';\n    if (this.state.dropdownWidth) {\n      popupStyle[widthProp] = this.state.dropdownWidth + 'px';\n    }\n\n    return _react2['default'].createElement(\n      _rcTrigger2['default'],\n      (0, _extends3['default'])({}, props, {\n        showAction: disabled ? [] : this.props.showAction,\n        hideAction: hideAction,\n        ref: this.saveTriggerRef,\n        popupPlacement: 'bottomLeft',\n        builtinPlacements: BUILT_IN_PLACEMENTS,\n        prefixCls: dropdownPrefixCls,\n        popupTransitionName: this.getDropdownTransitionName(),\n        onPopupVisibleChange: props.onDropdownVisibleChange,\n        popup: popupElement,\n        popupAlign: dropdownAlign,\n        popupVisible: visible,\n        getPopupContainer: props.getPopupContainer,\n        popupClassName: (0, _classnames2['default'])(popupClassName),\n        popupStyle: popupStyle\n      }),\n      props.children\n    );\n  };\n\n  return SelectTrigger;\n}(_react2['default'].Component);\n\nSelectTrigger.propTypes = {\n  onPopupFocus: _propTypes2['default'].func,\n  onPopupScroll: _propTypes2['default'].func,\n  dropdownMatchSelectWidth: _propTypes2['default'].bool,\n  dropdownAlign: _propTypes2['default'].object,\n  visible: _propTypes2['default'].bool,\n  disabled: _propTypes2['default'].bool,\n  showSearch: _propTypes2['default'].bool,\n  dropdownClassName: _propTypes2['default'].string,\n  multiple: _propTypes2['default'].bool,\n  inputValue: _propTypes2['default'].string,\n  filterOption: _propTypes2['default'].any,\n  options: _propTypes2['default'].any,\n  prefixCls: _propTypes2['default'].string,\n  popupClassName: _propTypes2['default'].string,\n  children: _propTypes2['default'].any,\n  showAction: _propTypes2['default'].arrayOf(_propTypes2['default'].string)\n};\n\nvar _initialiseProps = function _initialiseProps() {\n  var _this2 = this;\n\n  this.setDropdownWidth = function () {\n    var width = _reactDom2['default'].findDOMNode(_this2).offsetWidth;\n    if (width !== _this2.state.dropdownWidth) {\n      _this2.setState({ dropdownWidth: width });\n    }\n  };\n\n  this.getInnerMenu = function () {\n    return _this2.dropdownMenuRef && _this2.dropdownMenuRef.menuRef;\n  };\n\n  this.getPopupDOMNode = function () {\n    return _this2.triggerRef.getPopupDomNode();\n  };\n\n  this.getDropdownElement = function (newProps) {\n    var props = _this2.props;\n    return _react2['default'].createElement(_DropdownMenu2['default'], (0, _extends3['default'])({\n      ref: _this2.saveDropdownMenuRef\n    }, newProps, {\n      prefixCls: _this2.getDropdownPrefixCls(),\n      onMenuSelect: props.onMenuSelect,\n      onMenuDeselect: props.onMenuDeselect,\n      onPopupScroll: props.onPopupScroll,\n      value: props.value,\n      backfillValue: props.backfillValue,\n      firstActiveValue: props.firstActiveValue,\n      defaultActiveFirstOption: props.defaultActiveFirstOption,\n      dropdownMenuStyle: props.dropdownMenuStyle\n    }));\n  };\n\n  this.getDropdownTransitionName = function () {\n    var props = _this2.props;\n    var transitionName = props.transitionName;\n    if (!transitionName && props.animation) {\n      transitionName = _this2.getDropdownPrefixCls() + '-' + props.animation;\n    }\n    return transitionName;\n  };\n\n  this.getDropdownPrefixCls = function () {\n    return _this2.props.prefixCls + '-dropdown';\n  };\n};\n\nexports['default'] = SelectTrigger;\n\n\nSelectTrigger.displayName = 'SelectTrigger';\nmodule.exports = exports['default'];\n};","~:removed-requires",["~#set",[]],"~:actual-requires",["^5",["~$module$node_modules$react_dom$index","~$module$node_modules$babel_runtime$helpers$possibleConstructorReturn","~$module$node_modules$rc_select$lib$DropdownMenu","~$module$node_modules$react$index","~$module$node_modules$prop_types$index","~$module$node_modules$rc_trigger$lib$index","~$shadow.js","~$module$node_modules$babel_runtime$helpers$inherits","~$module$node_modules$babel_runtime$helpers$objectWithoutProperties","~$module$node_modules$classnames$index","~$module$node_modules$rc_select$lib$util","~$module$node_modules$babel_runtime$helpers$extends","~$module$node_modules$babel_runtime$helpers$classCallCheck"]],"~:properties",["^5",["builtinPlacements","showAction","filterOption","showSearch","getPopupDOMNode","popup","getDropdownPrefixCls","backfillValue","offset","onPopupScroll","topLeft","displayName","points","onPopupFocus","dropdownMenuStyle","children","__esModule","getInnerMenu","bottomLeft","dropdownClassName","inputValue","menuItems","saveTriggerRef","defaultActiveFirstOption","propTypes","dropdownAlign","dropdownMatchSelectWidth","onPopupVisibleChange","adjustY","value","visible","popupPlacement","firstActiveValue","popupTransitionName","componentDidUpdate","popupAlign","adjustX","dropdownWidth","componentDidMount","overflow","render","popupStyle","state","ref","prefixCls","getDropdownElement","hideAction","getPopupContainer","setDropdownWidth","popupVisible","getDropdownTransitionName","disabled","options","saveDropdownMenuRef","default","onMenuDeselect","onMenuSelect","popupClassName","multiple"]],"~:compiled-at",1532351401838,"~:source-map-json","{\n\"version\":3,\n\"file\":\"module$node_modules$rc_select$lib$SelectTrigger.js\",\n\"lineCount\":12,\n\"mappings\":\"AAAAA,cAAA,gDAAA,CAAoE,QAAQ,CAACC,MAAD,CAAQC,OAAR,CAAgBC,OAAhB,CAAwBC,MAAxB,CAA+BC,OAA/B,CAAuCC,YAAvC,CAAqD,CAmDjIC,QAASA,uBAAsB,CAACC,GAAD,CAAM,CAAE,MAAOA,IAAA,EAAOA,GAAAC,WAAP,CAAwBD,GAAxB,CAA8B,CAAE,UAAWA,GAAb,CAAvC,CAhDrCH,OAAAI,WAAA,CAAqB,CAAA,CAEjBC,OAAAA,CAAYP,OAAA,CAAQ,mDAAR,CAEhB,KAAIQ,UAAYJ,sBAAA,CAAuBG,MAAvB,CAEZE,OAAAA,CAA4BT,OAAA,CAAQ,mEAAR,CAEhC,KAAIU,0BAA4BN,sBAAA,CAAuBK,MAAvB,CAE5BE,OAAAA,CAAmBX,OAAA,CAAQ,0DAAR,CAEvB;IAAIY,iBAAmBR,sBAAA,CAAuBO,MAAvB,CAEnBE,OAAAA,CAA8Bb,OAAA,CAAQ,qEAAR,CAElC,KAAIc,4BAA8BV,sBAAA,CAAuBS,MAAvB,CAE9BE,OAAAA,CAAaf,OAAA,CAAQ,oDAAR,CAEjB,KAAIgB,WAAaZ,sBAAA,CAAuBW,MAAvB,CAEbE,OAAAA,CAAajB,OAAA,CAAQ,0CAAR,CAEjB,KAAIkB,YAAcd,sBAAA,CAAuBa,MAAvB,CAEdE,OAAAA,CAASnB,OAAA,CAAQ,iCAAR,CAEb,KAAIoB,QAAUhB,sBAAA,CAAuBe,MAAvB,CAEVE;MAAA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CAAqBqC,OAGrBA,QAAAT,YAAA,CAA4B,eAC5B7B,OAAAC,QAAA,CAAiBA,OAAA,CAAQ,SAAR,CA7OgH;\",\n\"sources\":[\"node_modules/rc-select/lib/SelectTrigger.js\"],\n\"sourcesContent\":[\"shadow$provide[\\\"module$node_modules$rc_select$lib$SelectTrigger\\\"] = function(global,process,require,module,exports,shadow$shims) {\\n'use strict';\\n\\nexports.__esModule = true;\\n\\nvar _extends2 = require('babel-runtime/helpers/extends');\\n\\nvar _extends3 = _interopRequireDefault(_extends2);\\n\\nvar _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');\\n\\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\\n\\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\\n\\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\\n\\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\\n\\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\\n\\nvar _inherits2 = require('babel-runtime/helpers/inherits');\\n\\nvar _inherits3 = _interopRequireDefault(_inherits2);\\n\\nvar _rcTrigger = require('rc-trigger');\\n\\nvar _rcTrigger2 = _interopRequireDefault(_rcTrigger);\\n\\nvar _react = require('react');\\n\\nvar _react2 = _interopRequireDefault(_react);\\n\\nvar _propTypes = require('prop-types');\\n\\nvar _propTypes2 = _interopRequireDefault(_propTypes);\\n\\nvar _classnames = require('classnames');\\n\\nvar _classnames2 = _interopRequireDefault(_classnames);\\n\\nvar _DropdownMenu = require('./DropdownMenu');\\n\\nvar _DropdownMenu2 = _interopRequireDefault(_DropdownMenu);\\n\\nvar _reactDom = require('react-dom');\\n\\nvar _reactDom2 = _interopRequireDefault(_reactDom);\\n\\nvar _util = require('./util');\\n\\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\\n\\n_rcTrigger2['default'].displayName = 'Trigger';\\n\\nvar BUILT_IN_PLACEMENTS = {\\n  bottomLeft: {\\n    points: ['tl', 'bl'],\\n    offset: [0, 4],\\n    overflow: {\\n      adjustX: 0,\\n      adjustY: 1\\n    }\\n  },\\n  topLeft: {\\n    points: ['bl', 'tl'],\\n    offset: [0, -4],\\n    overflow: {\\n      adjustX: 0,\\n      adjustY: 1\\n    }\\n  }\\n};\\n\\nvar SelectTrigger = function (_React$Component) {\\n  (0, _inherits3['default'])(SelectTrigger, _React$Component);\\n\\n  function SelectTrigger(props) {\\n    (0, _classCallCheck3['default'])(this, SelectTrigger);\\n\\n    var _this = (0, _possibleConstructorReturn3['default'])(this, _React$Component.call(this, props));\\n\\n    _initialiseProps.call(_this);\\n\\n    _this.saveDropdownMenuRef = (0, _util.saveRef)(_this, 'dropdownMenuRef');\\n    _this.saveTriggerRef = (0, _util.saveRef)(_this, 'triggerRef');\\n\\n    _this.state = {\\n      dropdownWidth: null\\n    };\\n    return _this;\\n  }\\n\\n  SelectTrigger.prototype.componentDidMount = function componentDidMount() {\\n    this.setDropdownWidth();\\n  };\\n\\n  SelectTrigger.prototype.componentDidUpdate = function componentDidUpdate() {\\n    this.setDropdownWidth();\\n  };\\n\\n  SelectTrigger.prototype.render = function render() {\\n    var _popupClassName;\\n\\n    var _props = this.props,\\n        onPopupFocus = _props.onPopupFocus,\\n        props = (0, _objectWithoutProperties3['default'])(_props, ['onPopupFocus']);\\n    var multiple = props.multiple,\\n        visible = props.visible,\\n        inputValue = props.inputValue,\\n        dropdownAlign = props.dropdownAlign,\\n        disabled = props.disabled,\\n        showSearch = props.showSearch,\\n        dropdownClassName = props.dropdownClassName,\\n        dropdownStyle = props.dropdownStyle,\\n        dropdownMatchSelectWidth = props.dropdownMatchSelectWidth;\\n\\n    var dropdownPrefixCls = this.getDropdownPrefixCls();\\n    var popupClassName = (_popupClassName = {}, _popupClassName[dropdownClassName] = !!dropdownClassName, _popupClassName[dropdownPrefixCls + '--' + (multiple ? 'multiple' : 'single')] = 1, _popupClassName);\\n    var popupElement = this.getDropdownElement({\\n      menuItems: props.options,\\n      onPopupFocus: onPopupFocus,\\n      multiple: multiple,\\n      inputValue: inputValue,\\n      visible: visible\\n    });\\n    var hideAction = void 0;\\n    if (disabled) {\\n      hideAction = [];\\n    } else if ((0, _util.isSingleMode)(props) && !showSearch) {\\n      hideAction = ['click'];\\n    } else {\\n      hideAction = ['blur'];\\n    }\\n    var popupStyle = (0, _extends3['default'])({}, dropdownStyle);\\n    var widthProp = dropdownMatchSelectWidth ? 'width' : 'minWidth';\\n    if (this.state.dropdownWidth) {\\n      popupStyle[widthProp] = this.state.dropdownWidth + 'px';\\n    }\\n\\n    return _react2['default'].createElement(\\n      _rcTrigger2['default'],\\n      (0, _extends3['default'])({}, props, {\\n        showAction: disabled ? [] : this.props.showAction,\\n        hideAction: hideAction,\\n        ref: this.saveTriggerRef,\\n        popupPlacement: 'bottomLeft',\\n        builtinPlacements: BUILT_IN_PLACEMENTS,\\n        prefixCls: dropdownPrefixCls,\\n        popupTransitionName: this.getDropdownTransitionName(),\\n        onPopupVisibleChange: props.onDropdownVisibleChange,\\n        popup: popupElement,\\n        popupAlign: dropdownAlign,\\n        popupVisible: visible,\\n        getPopupContainer: props.getPopupContainer,\\n        popupClassName: (0, _classnames2['default'])(popupClassName),\\n        popupStyle: popupStyle\\n      }),\\n      props.children\\n    );\\n  };\\n\\n  return SelectTrigger;\\n}(_react2['default'].Component);\\n\\nSelectTrigger.propTypes = {\\n  onPopupFocus: _propTypes2['default'].func,\\n  onPopupScroll: _propTypes2['default'].func,\\n  dropdownMatchSelectWidth: _propTypes2['default'].bool,\\n  dropdownAlign: _propTypes2['default'].object,\\n  visible: _propTypes2['default'].bool,\\n  disabled: _propTypes2['default'].bool,\\n  showSearch: _propTypes2['default'].bool,\\n  dropdownClassName: _propTypes2['default'].string,\\n  multiple: _propTypes2['default'].bool,\\n  inputValue: _propTypes2['default'].string,\\n  filterOption: _propTypes2['default'].any,\\n  options: _propTypes2['default'].any,\\n  prefixCls: _propTypes2['default'].string,\\n  popupClassName: _propTypes2['default'].string,\\n  children: _propTypes2['default'].any,\\n  showAction: _propTypes2['default'].arrayOf(_propTypes2['default'].string)\\n};\\n\\nvar _initialiseProps = function _initialiseProps() {\\n  var _this2 = this;\\n\\n  this.setDropdownWidth = function () {\\n    var width = _reactDom2['default'].findDOMNode(_this2).offsetWidth;\\n    if (width !== _this2.state.dropdownWidth) {\\n      _this2.setState({ dropdownWidth: width });\\n    }\\n  };\\n\\n  this.getInnerMenu = function () {\\n    return _this2.dropdownMenuRef && _this2.dropdownMenuRef.menuRef;\\n  };\\n\\n  this.getPopupDOMNode = function () {\\n    return _this2.triggerRef.getPopupDomNode();\\n  };\\n\\n  this.getDropdownElement = function (newProps) {\\n    var props = _this2.props;\\n    return _react2['default'].createElement(_DropdownMenu2['default'], (0, _extends3['default'])({\\n      ref: _this2.saveDropdownMenuRef\\n    }, newProps, {\\n      prefixCls: _this2.getDropdownPrefixCls(),\\n      onMenuSelect: props.onMenuSelect,\\n      onMenuDeselect: props.onMenuDeselect,\\n      onPopupScroll: props.onPopupScroll,\\n      value: props.value,\\n      backfillValue: props.backfillValue,\\n      firstActiveValue: props.firstActiveValue,\\n      defaultActiveFirstOption: props.defaultActiveFirstOption,\\n      dropdownMenuStyle: props.dropdownMenuStyle\\n    }));\\n  };\\n\\n  this.getDropdownTransitionName = function () {\\n    var props = _this2.props;\\n    var transitionName = props.transitionName;\\n    if (!transitionName && props.animation) {\\n      transitionName = _this2.getDropdownPrefixCls() + '-' + props.animation;\\n    }\\n    return transitionName;\\n  };\\n\\n  this.getDropdownPrefixCls = function () {\\n    return _this2.props.prefixCls + '-dropdown';\\n  };\\n};\\n\\nexports['default'] = SelectTrigger;\\n\\n\\nSelectTrigger.displayName = 'SelectTrigger';\\nmodule.exports = exports['default'];\\n};\"],\n\"names\":[\"shadow$provide\",\"global\",\"process\",\"require\",\"module\",\"exports\",\"shadow$shims\",\"_interopRequireDefault\",\"obj\",\"__esModule\",\"_extends2\",\"_extends3\",\"_objectWithoutProperties2\",\"_objectWithoutProperties3\",\"_classCallCheck2\",\"_classCallCheck3\",\"_possibleConstructorReturn2\",\"_possibleConstructorReturn3\",\"_inherits2\",\"_inherits3\",\"_rcTrigger\",\"_rcTrigger2\",\"_react\",\"_react2\",\"_propTypes\",\"_propTypes2\",\"_classnames\",\"_classnames2\",\"_DropdownMenu\",\"_DropdownMenu2\",\"_reactDom\",\"_reactDom2\",\"_util\",\"displayName\",\"BUILT_IN_PLACEMENTS\",\"bottomLeft\",\"points\",\"offset\",\"overflow\",\"adjustX\",\"adjustY\",\"topLeft\",\"SelectTrigger\",\"_React$Component\",\"props\",\"_this\",\"call\",\"_initialiseProps\",\"saveDropdownMenuRef\",\"saveRef\",\"saveTriggerRef\",\"state\",\"dropdownWidth\",\"prototype\",\"componentDidMount\",\"SelectTrigger.prototype.componentDidMount\",\"setDropdownWidth\",\"componentDidUpdate\",\"SelectTrigger.prototype.componentDidUpdate\",\"render\",\"SelectTrigger.prototype.render\",\"_popupClassName\",\"_props\",\"onPopupFocus\",\"multiple\",\"visible\",\"inputValue\",\"dropdownAlign\",\"disabled\",\"showSearch\",\"dropdownClassName\",\"dropdownStyle\",\"dropdownMatchSelectWidth\",\"dropdownPrefixCls\",\"getDropdownPrefixCls\",\"popupClassName\",\"popupElement\",\"getDropdownElement\",\"menuItems\",\"options\",\"hideAction\",\"isSingleMode\",\"popupStyle\",\"widthProp\",\"createElement\",\"showAction\",\"ref\",\"popupPlacement\",\"builtinPlacements\",\"prefixCls\",\"popupTransitionName\",\"getDropdownTransitionName\",\"onPopupVisibleChange\",\"onDropdownVisibleChange\",\"popup\",\"popupAlign\",\"popupVisible\",\"getPopupContainer\",\"children\",\"Component\",\"propTypes\",\"func\",\"onPopupScroll\",\"bool\",\"object\",\"string\",\"filterOption\",\"any\",\"arrayOf\",\"_this2\",\"this.setDropdownWidth\",\"width\",\"findDOMNode\",\"offsetWidth\",\"setState\",\"getInnerMenu\",\"this.getInnerMenu\",\"dropdownMenuRef\",\"menuRef\",\"getPopupDOMNode\",\"this.getPopupDOMNode\",\"triggerRef\",\"getPopupDomNode\",\"this.getDropdownElement\",\"newProps\",\"onMenuSelect\",\"onMenuDeselect\",\"value\",\"backfillValue\",\"firstActiveValue\",\"defaultActiveFirstOption\",\"dropdownMenuStyle\",\"this.getDropdownTransitionName\",\"transitionName\",\"animation\",\"this.getDropdownPrefixCls\"]\n}\n"]