@luminati-io/uikit 3.1.5 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -24434,8 +24434,8 @@ var buildComponents = function buildComponents(props) {
24434
24434
  },
24435
24435
  DropdownIndicator: _dropdown_indicator__WEBPACK_IMPORTED_MODULE_1__["default"],
24436
24436
  ClearIndicator: _clear_indicator__WEBPACK_IMPORTED_MODULE_0__["default"],
24437
- MenuList: _menu_list__WEBPACK_IMPORTED_MODULE_3__["default"],
24438
- Group: _group__WEBPACK_IMPORTED_MODULE_2__["default"],
24437
+ MenuList: _menu_list__WEBPACK_IMPORTED_MODULE_3__.MenuList,
24438
+ Group: _group__WEBPACK_IMPORTED_MODULE_2__.Group,
24439
24439
  Option: _option__WEBPACK_IMPORTED_MODULE_4__.Option
24440
24440
  }, props.components);
24441
24441
  if (props.virtualized) {
@@ -24527,27 +24527,26 @@ __webpack_require__.r(__webpack_exports__);
24527
24527
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24528
24528
  /* harmony export */ Dropdown: () => (/* binding */ Dropdown)
24529
24529
  /* harmony export */ });
24530
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
24531
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
24532
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
24533
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
24534
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
24535
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
24536
- /* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/react-select.esm.js");
24537
- /* harmony import */ var react_select_creatable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-select/creatable */ "./node_modules/react-select/creatable/dist/react-select-creatable.esm.js");
24538
- /* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks */ "./src/hooks/index.js");
24539
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout */ "./src/layout/index.js");
24540
- /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../theme */ "./src/theme.js");
24530
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
24531
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
24532
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
24533
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
24534
+ /* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/react-select.esm.js");
24535
+ /* harmony import */ var react_select_creatable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-select/creatable */ "./node_modules/react-select/creatable/dist/react-select-creatable.esm.js");
24536
+ /* harmony import */ var react_select_async__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-select/async */ "./node_modules/react-select/async/dist/react-select-async.esm.js");
24537
+ /* harmony import */ var react_select_async_creatable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-select/async-creatable */ "./node_modules/react-select/async-creatable/dist/react-select-async-creatable.esm.js");
24538
+ /* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks */ "./src/hooks/index.js");
24539
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../layout */ "./src/layout/index.js");
24541
24540
  /* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../translation */ "./src/translation.js");
24542
- /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../shared */ "./src/input/shared.js");
24543
- /* harmony import */ var _build_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./build_components */ "./src/input/dropdown/build_components.js");
24544
- /* harmony import */ var _use_custom_styles__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./use_custom_styles */ "./src/input/dropdown/use_custom_styles.js");
24541
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils */ "./src/utils.js");
24542
+ /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../shared */ "./src/input/shared.js");
24543
+ /* harmony import */ var _build_components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./build_components */ "./src/input/dropdown/build_components.js");
24544
+ /* harmony import */ var _use_custom_styles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./use_custom_styles */ "./src/input/dropdown/use_custom_styles.js");
24545
24545
  // LICENSE_CODE ZON
24546
24546
 
24547
24547
 
24548
24548
  /*jslint react:true*/
24549
-
24550
- var _excluded = ["label", "labelIcon", "required", "size", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "onCreateOption", "clearable", "disabled", "invalid", "helperText", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected"];
24549
+ var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "onCreateOption", "clearable", "disabled", "invalid", "helperText", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions"];
24551
24550
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24552
24551
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
24553
24552
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -24562,11 +24561,12 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
24562
24561
 
24563
24562
 
24564
24563
 
24565
- var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, forwardRef) {
24564
+
24565
+
24566
+ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, forwardRef) {
24566
24567
  var label = props.label,
24567
24568
  labelIcon = props.labelIcon,
24568
24569
  required = props.required,
24569
- size = props.size,
24570
24570
  value = props.value,
24571
24571
  defaultValue = props.defaultValue,
24572
24572
  placeholder = props.placeholder,
@@ -24593,31 +24593,37 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
24593
24593
  getOptionLabel = props.getOptionLabel,
24594
24594
  isOptionDisabled = props.isOptionDisabled,
24595
24595
  isOptionSelected = props.isOptionSelected,
24596
+ async = props.async,
24597
+ isLoading = props.isLoading,
24598
+ loadOptions = props.loadOptions,
24596
24599
  rest = _objectWithoutProperties(props, _excluded);
24597
- var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_4__.useLabelId)(props.id);
24600
+ var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.useLabelId)(props.id);
24598
24601
  var t = (0,_translation__WEBPACK_IMPORTED_MODULE_7__.useTranslate)();
24599
- var styles = (0,_use_custom_styles__WEBPACK_IMPORTED_MODULE_10__.useCustomStyles)(size);
24600
- var SelectComp = creatable ? react_select_creatable__WEBPACK_IMPORTED_MODULE_3__["default"] : react_select__WEBPACK_IMPORTED_MODULE_11__["default"];
24601
- var _isOptionDisabled = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
24602
+ var styles = (0,_use_custom_styles__WEBPACK_IMPORTED_MODULE_11__.useCustomStyles)(props);
24603
+ var SelectComp = getComponent({
24604
+ async: async,
24605
+ creatable: creatable
24606
+ });
24607
+ var _isOptionDisabled = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
24602
24608
  return isOptionDisabled || function (opt) {
24603
24609
  return opt.disabled;
24604
24610
  };
24605
24611
  }, [isOptionDisabled]);
24606
- var _hideSelectedOptions = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
24612
+ var _hideSelectedOptions = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
24607
24613
  return props.autosize === false ? false : hideSelectedOptions;
24608
24614
  }, [props.autosize, hideSelectedOptions]);
24609
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, _extends({
24615
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
24610
24616
  ref: forwardRef,
24611
24617
  "data-testid": "dropdown"
24612
- }, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'components', 'virtualized', 'autosize', 'maxToShow', 'components'), {
24618
+ }, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
24613
24619
  flex_direction: "column",
24614
- gap: _theme__WEBPACK_IMPORTED_MODULE_6__["default"].spacing['02']
24615
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_8__.InputLabel, {
24620
+ gap: "02"
24621
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.InputLabel, {
24616
24622
  id: labelId,
24617
24623
  label: label,
24618
24624
  labelIcon: labelIcon,
24619
24625
  required: required
24620
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SelectComp, {
24626
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(SelectComp, {
24621
24627
  filterOption: filterOption,
24622
24628
  formatOptionLabel: formatOptionLabel,
24623
24629
  "aria-labelledby": label ? labelId : undefined,
@@ -24635,7 +24641,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
24635
24641
  isDisabled: disabled,
24636
24642
  required: required,
24637
24643
  styles: styles,
24638
- components: (0,_build_components__WEBPACK_IMPORTED_MODULE_9__.buildComponents)(props),
24644
+ components: (0,_build_components__WEBPACK_IMPORTED_MODULE_10__.buildComponents)(props),
24639
24645
  classNamePrefix: classNamePrefix,
24640
24646
  menuPortalTarget: menuPortalTarget,
24641
24647
  onChangeCapture: onChangeCapture,
@@ -24646,50 +24652,60 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
24646
24652
  getOptionValue: getOptionValue,
24647
24653
  getOptionLabel: getOptionLabel,
24648
24654
  isOptionDisabled: _isOptionDisabled,
24649
- isOptionSelected: isOptionSelected
24650
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_8__.HelperText, {
24655
+ isOptionSelected: isOptionSelected,
24656
+ isLoading: isLoading,
24657
+ loadOptions: loadOptions
24658
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.HelperText, {
24651
24659
  invalid: invalid
24652
24660
  }, helperText));
24653
24661
  });
24654
24662
  Dropdown.displayName = 'Dropdown';
24655
24663
  Dropdown.propTypes = {
24656
- value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any),
24657
- defaultValue: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any),
24658
- filterOption: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24659
- formatOptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24660
- onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24661
- onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24662
- onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24663
- placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
24664
- disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24665
- required: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24666
- invalid: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24667
- label: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
24668
- labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
24669
- helperText: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
24670
- size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
24671
- options: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().any)).isRequired,
24672
- multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24673
- clearable: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24674
- creatable: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24675
- onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24676
- classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
24677
- menuPlacement: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['bottom', 'auto', 'top']),
24678
- virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24679
- autosize: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24680
- hideSelectedOptions: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
24681
- onInputChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24682
- getOptionValue: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24683
- getOptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24684
- isOptionDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24685
- isOptionSelected: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
24686
- components: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
24664
+ value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
24665
+ defaultValue: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
24666
+ filterOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24667
+ formatOptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24668
+ onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24669
+ onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24670
+ onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24671
+ placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24672
+ disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24673
+ required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24674
+ invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24675
+ label: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
24676
+ labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24677
+ helperText: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
24678
+ size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
24679
+ options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)).isRequired,
24680
+ multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24681
+ clearable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24682
+ creatable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24683
+ onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24684
+ classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24685
+ menuPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['bottom', 'auto', 'top']),
24686
+ virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24687
+ autosize: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24688
+ hideSelectedOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24689
+ onInputChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24690
+ getOptionValue: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24691
+ getOptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24692
+ isOptionDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24693
+ isOptionSelected: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24694
+ async: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24695
+ isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
24696
+ loadOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24697
+ components: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
24698
+ styles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
24687
24699
  };
24688
24700
  Dropdown.defaultProps = {
24689
24701
  size: 'sm',
24690
24702
  clearable: false,
24691
24703
  menuPlacement: 'auto'
24692
24704
  };
24705
+ var getComponent = function getComponent(opt) {
24706
+ if (opt.async) return opt.creatable ? react_select_async_creatable__WEBPACK_IMPORTED_MODULE_4__["default"] : react_select_async__WEBPACK_IMPORTED_MODULE_3__["default"];
24707
+ return opt.creatable ? react_select_creatable__WEBPACK_IMPORTED_MODULE_2__["default"] : react_select__WEBPACK_IMPORTED_MODULE_12__["default"];
24708
+ };
24693
24709
 
24694
24710
  /***/ }),
24695
24711
 
@@ -24842,7 +24858,7 @@ var getStyleProps = function getStyleProps(props, name, classNamesState) {
24842
24858
  "use strict";
24843
24859
  __webpack_require__.r(__webpack_exports__);
24844
24860
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24845
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
24861
+ /* harmony export */ Group: () => (/* binding */ Group)
24846
24862
  /* harmony export */ });
24847
24863
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
24848
24864
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
@@ -24872,7 +24888,6 @@ var Group = function Group(props) {
24872
24888
  text: label
24873
24889
  }), children);
24874
24890
  };
24875
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Group);
24876
24891
 
24877
24892
  /***/ }),
24878
24893
 
@@ -24885,7 +24900,7 @@ var Group = function Group(props) {
24885
24900
  "use strict";
24886
24901
  __webpack_require__.r(__webpack_exports__);
24887
24902
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24888
- /* harmony export */ MenuList: () => (/* reexport safe */ _menu_list__WEBPACK_IMPORTED_MODULE_1__["default"]),
24903
+ /* harmony export */ MenuList: () => (/* reexport safe */ _menu_list__WEBPACK_IMPORTED_MODULE_1__.MenuList),
24889
24904
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
24890
24905
  /* harmony export */ });
24891
24906
  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ "./src/input/dropdown/dropdown.js");
@@ -24896,7 +24911,6 @@ __webpack_require__.r(__webpack_exports__);
24896
24911
  /*jslint react:true*/
24897
24912
 
24898
24913
 
24899
-
24900
24914
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_dropdown__WEBPACK_IMPORTED_MODULE_0__.Dropdown);
24901
24915
 
24902
24916
  /***/ }),
@@ -24910,7 +24924,7 @@ __webpack_require__.r(__webpack_exports__);
24910
24924
  "use strict";
24911
24925
  __webpack_require__.r(__webpack_exports__);
24912
24926
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24913
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
24927
+ /* harmony export */ MenuList: () => (/* binding */ MenuList)
24914
24928
  /* harmony export */ });
24915
24929
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
24916
24930
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
@@ -24943,7 +24957,6 @@ var MenuList = function MenuList(props) {
24943
24957
  });
24944
24958
  }));
24945
24959
  };
24946
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MenuList);
24947
24960
 
24948
24961
  /***/ }),
24949
24962
 
@@ -24958,29 +24971,29 @@ __webpack_require__.r(__webpack_exports__);
24958
24971
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24959
24972
  /* harmony export */ Option: () => (/* binding */ Option)
24960
24973
  /* harmony export */ });
24961
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
24962
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
24963
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
24964
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
24965
- /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../menu */ "./src/menu/index.js");
24966
- /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme */ "./src/theme.js");
24974
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
24975
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
24976
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
24977
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
24978
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
24979
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
24980
+ /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../menu */ "./src/menu/index.js");
24981
+ /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme */ "./src/theme.js");
24967
24982
  // LICENSE_CODE ZON
24968
24983
 
24969
24984
 
24970
24985
  /*jslint react:true*/
24971
- var _excluded = ["onMouseMove", "onMouseOver"];
24986
+
24972
24987
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24973
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
24974
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24975
24988
 
24976
24989
 
24977
24990
 
24978
24991
 
24979
- var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_menu__WEBPACK_IMPORTED_MODULE_2__["default"].Item).withConfig({
24992
+ var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
24980
24993
  displayName: "StyledItem",
24981
24994
  componentId: "sc-10s9fdi-0"
24982
24995
  })(["", ""], function (props) {
24983
- return props.selected ? "background-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_3, ";") : undefined;
24996
+ return props.selected ? "background-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.blue_3, ";") : undefined;
24984
24997
  });
24985
24998
  var Option = function Option(props) {
24986
24999
  var data = props.data,
@@ -24990,13 +25003,10 @@ var Option = function Option(props) {
24990
25003
  isFocused = props.isFocused,
24991
25004
  isSelected = props.isSelected,
24992
25005
  innerRef = props.innerRef,
24993
- tag = props.tag;
24994
- // eslint-disable-next-line no-unused-vars
24995
- var _props$innerProps = props.innerProps,
24996
- onMouseMove = _props$innerProps.onMouseMove,
24997
- onMouseOver = _props$innerProps.onMouseOver,
24998
- innerProps = _objectWithoutProperties(_props$innerProps, _excluded);
24999
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledItem, _extends({
25006
+ tag = props.tag,
25007
+ children = props.children,
25008
+ innerProps = props.innerProps;
25009
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledItem, _extends({
25000
25010
  ref: innerRef,
25001
25011
  type: "item",
25002
25012
  className: cx({
@@ -25005,8 +25015,8 @@ var Option = function Option(props) {
25005
25015
  'option--is-focused': isFocused,
25006
25016
  'option--is-selected': isSelected
25007
25017
  }, className)
25008
- }, innerProps, {
25009
- text: data.label,
25018
+ }, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(innerProps, 'onMouseMove', 'onMouseOver'), {
25019
+ text: children,
25010
25020
  tooltip: data.tooltip,
25011
25021
  disabled: isDisabled,
25012
25022
  selected: isSelected,
@@ -25048,9 +25058,23 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
25048
25058
 
25049
25059
 
25050
25060
 
25051
- var useCustomStyles = function useCustomStyles(size) {
25061
+ var withUserStyles = function withUserStyles(styles, custom) {
25062
+ var res = _objectSpread({}, styles);
25063
+ Object.keys(custom).forEach(function (key) {
25064
+ var cb = custom[key];
25065
+ var fn = res[key];
25066
+ res[key] = function (baseStyles, state) {
25067
+ var _baseStyles = cb(baseStyles, state);
25068
+ return fn ? fn(_baseStyles, state) : _baseStyles;
25069
+ };
25070
+ });
25071
+ return res;
25072
+ };
25073
+ var useCustomStyles = function useCustomStyles(_ref) {
25074
+ var styles = _ref.styles,
25075
+ size = _ref.size;
25052
25076
  return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
25053
- return {
25077
+ return withUserStyles(styles, {
25054
25078
  control: function control(baseStyles, state) {
25055
25079
  var height = {
25056
25080
  sm: 36,
@@ -25147,15 +25171,14 @@ var useCustomStyles = function useCustomStyles(size) {
25147
25171
  });
25148
25172
  },
25149
25173
  option: function option(baseStyles, state) {
25150
- console.log(baseStyles, state);
25151
25174
  var backgroundColor = baseStyles.backgroundColor;
25152
25175
  if (state.selected) backgroundColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.blue_3;
25153
25176
  return _objectSpread(_objectSpread({}, baseStyles), {}, {
25154
25177
  backgroundColor: backgroundColor
25155
25178
  });
25156
25179
  }
25157
- };
25158
- }, [size]);
25180
+ });
25181
+ }, [styles, size]);
25159
25182
  };
25160
25183
 
25161
25184
  /***/ }),
@@ -62155,6 +62178,149 @@ var fromEntries = function fromEntries(entries) {
62155
62178
 
62156
62179
  var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
62157
62180
 
62181
+ /***/ }),
62182
+
62183
+ /***/ "./node_modules/react-select/async-creatable/dist/react-select-async-creatable.esm.js":
62184
+ /*!********************************************************************************************!*\
62185
+ !*** ./node_modules/react-select/async-creatable/dist/react-select-async-creatable.esm.js ***!
62186
+ \********************************************************************************************/
62187
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
62188
+
62189
+ "use strict";
62190
+ __webpack_require__.r(__webpack_exports__);
62191
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
62192
+ /* harmony export */ "default": () => (/* binding */ AsyncCreatableSelect$1)
62193
+ /* harmony export */ });
62194
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
62195
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
62196
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
62197
+ /* harmony import */ var _dist_Select_a221b56b_esm_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../dist/Select-a221b56b.esm.js */ "./node_modules/react-select/dist/Select-a221b56b.esm.js");
62198
+ /* harmony import */ var _dist_useAsync_ba7c6b77_esm_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../dist/useAsync-ba7c6b77.esm.js */ "./node_modules/react-select/dist/useAsync-ba7c6b77.esm.js");
62199
+ /* harmony import */ var _dist_useStateManager_7e1e8489_esm_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../dist/useStateManager-7e1e8489.esm.js */ "./node_modules/react-select/dist/useStateManager-7e1e8489.esm.js");
62200
+ /* harmony import */ var _dist_useCreatable_ab933985_esm_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../dist/useCreatable-ab933985.esm.js */ "./node_modules/react-select/dist/useCreatable-ab933985.esm.js");
62201
+ /* harmony import */ var _babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
62202
+ /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
62203
+ /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
62204
+ /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
62205
+ /* harmony import */ var _babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/createSuper */ "./node_modules/@babel/runtime/helpers/esm/createSuper.js");
62206
+ /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
62207
+ /* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
62208
+ /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
62209
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
62210
+ /* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ "./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js");
62211
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
62212
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react-dom */ "react-dom");
62213
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_13__);
62214
+ /* harmony import */ var use_isomorphic_layout_effect__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! use-isomorphic-layout-effect */ "./node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js");
62215
+
62216
+
62217
+
62218
+
62219
+
62220
+
62221
+
62222
+
62223
+
62224
+
62225
+
62226
+
62227
+
62228
+
62229
+
62230
+
62231
+
62232
+
62233
+
62234
+
62235
+
62236
+
62237
+
62238
+
62239
+
62240
+ var AsyncCreatableSelect = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
62241
+ var stateManagerProps = (0,_dist_useAsync_ba7c6b77_esm_js__WEBPACK_IMPORTED_MODULE_15__.u)(props);
62242
+ var creatableProps = (0,_dist_useStateManager_7e1e8489_esm_js__WEBPACK_IMPORTED_MODULE_16__.u)(stateManagerProps);
62243
+ var selectProps = (0,_dist_useCreatable_ab933985_esm_js__WEBPACK_IMPORTED_MODULE_17__.u)(creatableProps);
62244
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_dist_Select_a221b56b_esm_js__WEBPACK_IMPORTED_MODULE_18__.S, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
62245
+ ref: ref
62246
+ }, selectProps));
62247
+ });
62248
+ var AsyncCreatableSelect$1 = AsyncCreatableSelect;
62249
+
62250
+
62251
+
62252
+
62253
+ /***/ }),
62254
+
62255
+ /***/ "./node_modules/react-select/async/dist/react-select-async.esm.js":
62256
+ /*!************************************************************************!*\
62257
+ !*** ./node_modules/react-select/async/dist/react-select-async.esm.js ***!
62258
+ \************************************************************************/
62259
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
62260
+
62261
+ "use strict";
62262
+ __webpack_require__.r(__webpack_exports__);
62263
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
62264
+ /* harmony export */ "default": () => (/* binding */ AsyncSelect$1),
62265
+ /* harmony export */ useAsync: () => (/* reexport safe */ _dist_useAsync_ba7c6b77_esm_js__WEBPACK_IMPORTED_MODULE_2__.u)
62266
+ /* harmony export */ });
62267
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
62268
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
62269
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
62270
+ /* harmony import */ var _dist_Select_a221b56b_esm_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../dist/Select-a221b56b.esm.js */ "./node_modules/react-select/dist/Select-a221b56b.esm.js");
62271
+ /* harmony import */ var _dist_useStateManager_7e1e8489_esm_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../dist/useStateManager-7e1e8489.esm.js */ "./node_modules/react-select/dist/useStateManager-7e1e8489.esm.js");
62272
+ /* harmony import */ var _dist_useAsync_ba7c6b77_esm_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../dist/useAsync-ba7c6b77.esm.js */ "./node_modules/react-select/dist/useAsync-ba7c6b77.esm.js");
62273
+ /* harmony import */ var _babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
62274
+ /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
62275
+ /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
62276
+ /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
62277
+ /* harmony import */ var _babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/createSuper */ "./node_modules/@babel/runtime/helpers/esm/createSuper.js");
62278
+ /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
62279
+ /* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
62280
+ /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
62281
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
62282
+ /* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ "./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js");
62283
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
62284
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react-dom */ "react-dom");
62285
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_14__);
62286
+ /* harmony import */ var use_isomorphic_layout_effect__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! use-isomorphic-layout-effect */ "./node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js");
62287
+
62288
+
62289
+
62290
+
62291
+
62292
+
62293
+
62294
+
62295
+
62296
+
62297
+
62298
+
62299
+
62300
+
62301
+
62302
+
62303
+
62304
+
62305
+
62306
+
62307
+
62308
+
62309
+
62310
+
62311
+
62312
+ var AsyncSelect = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
62313
+ var stateManagedProps = (0,_dist_useAsync_ba7c6b77_esm_js__WEBPACK_IMPORTED_MODULE_2__.u)(props);
62314
+ var selectProps = (0,_dist_useStateManager_7e1e8489_esm_js__WEBPACK_IMPORTED_MODULE_16__.u)(stateManagedProps);
62315
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_dist_Select_a221b56b_esm_js__WEBPACK_IMPORTED_MODULE_17__.S, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
62316
+ ref: ref
62317
+ }, selectProps));
62318
+ });
62319
+ var AsyncSelect$1 = AsyncSelect;
62320
+
62321
+
62322
+
62323
+
62158
62324
  /***/ }),
62159
62325
 
62160
62326
  /***/ "./node_modules/react-select/creatable/dist/react-select-creatable.esm.js":
@@ -66379,6 +66545,167 @@ var NonceProvider = (function (_ref) {
66379
66545
 
66380
66546
 
66381
66547
 
66548
+ /***/ }),
66549
+
66550
+ /***/ "./node_modules/react-select/dist/useAsync-ba7c6b77.esm.js":
66551
+ /*!*****************************************************************!*\
66552
+ !*** ./node_modules/react-select/dist/useAsync-ba7c6b77.esm.js ***!
66553
+ \*****************************************************************/
66554
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
66555
+
66556
+ "use strict";
66557
+ __webpack_require__.r(__webpack_exports__);
66558
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
66559
+ /* harmony export */ u: () => (/* binding */ useAsync)
66560
+ /* harmony export */ });
66561
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
66562
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
66563
+ /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
66564
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
66565
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
66566
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
66567
+ /* harmony import */ var _index_a301f526_esm_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./index-a301f526.esm.js */ "./node_modules/react-select/dist/index-a301f526.esm.js");
66568
+
66569
+
66570
+
66571
+
66572
+
66573
+
66574
+
66575
+ var _excluded = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
66576
+ function useAsync(_ref) {
66577
+ var _ref$defaultOptions = _ref.defaultOptions,
66578
+ propsDefaultOptions = _ref$defaultOptions === void 0 ? false : _ref$defaultOptions,
66579
+ _ref$cacheOptions = _ref.cacheOptions,
66580
+ cacheOptions = _ref$cacheOptions === void 0 ? false : _ref$cacheOptions,
66581
+ propsLoadOptions = _ref.loadOptions;
66582
+ _ref.options;
66583
+ var _ref$isLoading = _ref.isLoading,
66584
+ propsIsLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
66585
+ propsOnInputChange = _ref.onInputChange,
66586
+ _ref$filterOption = _ref.filterOption,
66587
+ filterOption = _ref$filterOption === void 0 ? null : _ref$filterOption,
66588
+ restSelectProps = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__["default"])(_ref, _excluded);
66589
+ var propsInputValue = restSelectProps.inputValue;
66590
+ var lastRequest = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(undefined);
66591
+ var mounted = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false);
66592
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(Array.isArray(propsDefaultOptions) ? propsDefaultOptions : undefined),
66593
+ _useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState, 2),
66594
+ defaultOptions = _useState2[0],
66595
+ setDefaultOptions = _useState2[1];
66596
+ var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(typeof propsInputValue !== 'undefined' ? propsInputValue : ''),
66597
+ _useState4 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState3, 2),
66598
+ stateInputValue = _useState4[0],
66599
+ setStateInputValue = _useState4[1];
66600
+ var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(propsDefaultOptions === true),
66601
+ _useState6 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState5, 2),
66602
+ isLoading = _useState6[0],
66603
+ setIsLoading = _useState6[1];
66604
+ var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(undefined),
66605
+ _useState8 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState7, 2),
66606
+ loadedInputValue = _useState8[0],
66607
+ setLoadedInputValue = _useState8[1];
66608
+ var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),
66609
+ _useState10 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState9, 2),
66610
+ loadedOptions = _useState10[0],
66611
+ setLoadedOptions = _useState10[1];
66612
+ var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),
66613
+ _useState12 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState11, 2),
66614
+ passEmptyOptions = _useState12[0],
66615
+ setPassEmptyOptions = _useState12[1];
66616
+ var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({}),
66617
+ _useState14 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState13, 2),
66618
+ optionsCache = _useState14[0],
66619
+ setOptionsCache = _useState14[1];
66620
+ var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(undefined),
66621
+ _useState16 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState15, 2),
66622
+ prevDefaultOptions = _useState16[0],
66623
+ setPrevDefaultOptions = _useState16[1];
66624
+ var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(undefined),
66625
+ _useState18 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState17, 2),
66626
+ prevCacheOptions = _useState18[0],
66627
+ setPrevCacheOptions = _useState18[1];
66628
+ if (cacheOptions !== prevCacheOptions) {
66629
+ setOptionsCache({});
66630
+ setPrevCacheOptions(cacheOptions);
66631
+ }
66632
+ if (propsDefaultOptions !== prevDefaultOptions) {
66633
+ setDefaultOptions(Array.isArray(propsDefaultOptions) ? propsDefaultOptions : undefined);
66634
+ setPrevDefaultOptions(propsDefaultOptions);
66635
+ }
66636
+ (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {
66637
+ mounted.current = true;
66638
+ return function () {
66639
+ mounted.current = false;
66640
+ };
66641
+ }, []);
66642
+ var loadOptions = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (inputValue, callback) {
66643
+ if (!propsLoadOptions) return callback();
66644
+ var loader = propsLoadOptions(inputValue, callback);
66645
+ if (loader && typeof loader.then === 'function') {
66646
+ loader.then(callback, function () {
66647
+ return callback();
66648
+ });
66649
+ }
66650
+ }, [propsLoadOptions]);
66651
+ (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {
66652
+ if (propsDefaultOptions === true) {
66653
+ loadOptions(stateInputValue, function (options) {
66654
+ if (!mounted.current) return;
66655
+ setDefaultOptions(options || []);
66656
+ setIsLoading(!!lastRequest.current);
66657
+ });
66658
+ }
66659
+ // NOTE: this effect is designed to only run when the component mounts,
66660
+ // so we don't want to include any hook dependencies
66661
+ // eslint-disable-next-line react-hooks/exhaustive-deps
66662
+ }, []);
66663
+ var onInputChange = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (newValue, actionMeta) {
66664
+ var inputValue = (0,_index_a301f526_esm_js__WEBPACK_IMPORTED_MODULE_5__.L)(newValue, actionMeta, propsOnInputChange);
66665
+ if (!inputValue) {
66666
+ lastRequest.current = undefined;
66667
+ setStateInputValue('');
66668
+ setLoadedInputValue('');
66669
+ setLoadedOptions([]);
66670
+ setIsLoading(false);
66671
+ setPassEmptyOptions(false);
66672
+ return;
66673
+ }
66674
+ if (cacheOptions && optionsCache[inputValue]) {
66675
+ setStateInputValue(inputValue);
66676
+ setLoadedInputValue(inputValue);
66677
+ setLoadedOptions(optionsCache[inputValue]);
66678
+ setIsLoading(false);
66679
+ setPassEmptyOptions(false);
66680
+ } else {
66681
+ var request = lastRequest.current = {};
66682
+ setStateInputValue(inputValue);
66683
+ setIsLoading(true);
66684
+ setPassEmptyOptions(!loadedInputValue);
66685
+ loadOptions(inputValue, function (options) {
66686
+ if (!mounted) return;
66687
+ if (request !== lastRequest.current) return;
66688
+ lastRequest.current = undefined;
66689
+ setIsLoading(false);
66690
+ setLoadedInputValue(inputValue);
66691
+ setLoadedOptions(options || []);
66692
+ setPassEmptyOptions(false);
66693
+ setOptionsCache(options ? (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, optionsCache), {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, inputValue, options)) : optionsCache);
66694
+ });
66695
+ }
66696
+ }, [cacheOptions, loadOptions, loadedInputValue, optionsCache, propsOnInputChange]);
66697
+ var options = passEmptyOptions ? [] : stateInputValue && loadedInputValue ? loadedOptions : defaultOptions || [];
66698
+ return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, restSelectProps), {}, {
66699
+ options: options,
66700
+ isLoading: isLoading || propsIsLoading,
66701
+ onInputChange: onInputChange,
66702
+ filterOption: filterOption
66703
+ });
66704
+ }
66705
+
66706
+
66707
+
66708
+
66382
66709
  /***/ }),
66383
66710
 
66384
66711
  /***/ "./node_modules/react-select/dist/useCreatable-ab933985.esm.js":