@luminati-io/uikit 3.1.6 → 3.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -24531,20 +24531,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
24531
24531
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
24532
24532
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
24533
24533
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
24534
|
-
/* harmony import */ var
|
24534
|
+
/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/react-select.esm.js");
|
24535
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
|
24537
|
-
/* harmony import */ var
|
24538
|
-
/* harmony import */ var
|
24539
|
-
/* harmony import */ var
|
24540
|
-
/* harmony import */ var
|
24541
|
-
/* harmony import */ var
|
24542
|
-
/* harmony import */ var
|
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");
|
24540
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../translation */ "./src/translation.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");
|
24543
24545
|
// LICENSE_CODE ZON
|
24544
24546
|
|
24545
24547
|
|
24546
24548
|
/*jslint react:true*/
|
24547
|
-
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", "isLoading"];
|
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"];
|
24548
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); }
|
24549
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; }
|
24550
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; }
|
@@ -24559,6 +24561,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
24559
24561
|
|
24560
24562
|
|
24561
24563
|
|
24564
|
+
|
24565
|
+
|
24562
24566
|
var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, forwardRef) {
|
24563
24567
|
var label = props.label,
|
24564
24568
|
labelIcon = props.labelIcon,
|
@@ -24589,12 +24593,17 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
24589
24593
|
getOptionLabel = props.getOptionLabel,
|
24590
24594
|
isOptionDisabled = props.isOptionDisabled,
|
24591
24595
|
isOptionSelected = props.isOptionSelected,
|
24596
|
+
async = props.async,
|
24592
24597
|
isLoading = props.isLoading,
|
24598
|
+
loadOptions = props.loadOptions,
|
24593
24599
|
rest = _objectWithoutProperties(props, _excluded);
|
24594
|
-
var labelId = (0,
|
24595
|
-
var t = (0,
|
24596
|
-
var styles = (0,
|
24597
|
-
var SelectComp =
|
24600
|
+
var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.useLabelId)(props.id);
|
24601
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_7__.useTranslate)();
|
24602
|
+
var styles = (0,_use_custom_styles__WEBPACK_IMPORTED_MODULE_11__.useCustomStyles)(props);
|
24603
|
+
var SelectComp = getComponent({
|
24604
|
+
async: async,
|
24605
|
+
creatable: creatable
|
24606
|
+
});
|
24598
24607
|
var _isOptionDisabled = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
24599
24608
|
return isOptionDisabled || function (opt) {
|
24600
24609
|
return opt.disabled;
|
@@ -24603,13 +24612,13 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
24603
24612
|
var _hideSelectedOptions = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
24604
24613
|
return props.autosize === false ? false : hideSelectedOptions;
|
24605
24614
|
}, [props.autosize, hideSelectedOptions]);
|
24606
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
24615
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
|
24607
24616
|
ref: forwardRef,
|
24608
24617
|
"data-testid": "dropdown"
|
24609
|
-
}, (0,
|
24618
|
+
}, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
|
24610
24619
|
flex_direction: "column",
|
24611
24620
|
gap: "02"
|
24612
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
24621
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.InputLabel, {
|
24613
24622
|
id: labelId,
|
24614
24623
|
label: label,
|
24615
24624
|
labelIcon: labelIcon,
|
@@ -24632,7 +24641,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
24632
24641
|
isDisabled: disabled,
|
24633
24642
|
required: required,
|
24634
24643
|
styles: styles,
|
24635
|
-
components: (0,
|
24644
|
+
components: (0,_build_components__WEBPACK_IMPORTED_MODULE_10__.buildComponents)(props),
|
24636
24645
|
classNamePrefix: classNamePrefix,
|
24637
24646
|
menuPortalTarget: menuPortalTarget,
|
24638
24647
|
onChangeCapture: onChangeCapture,
|
@@ -24644,8 +24653,9 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
24644
24653
|
getOptionLabel: getOptionLabel,
|
24645
24654
|
isOptionDisabled: _isOptionDisabled,
|
24646
24655
|
isOptionSelected: isOptionSelected,
|
24647
|
-
isLoading: isLoading
|
24648
|
-
|
24656
|
+
isLoading: isLoading,
|
24657
|
+
loadOptions: loadOptions
|
24658
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.HelperText, {
|
24649
24659
|
invalid: invalid
|
24650
24660
|
}, helperText));
|
24651
24661
|
});
|
@@ -24681,7 +24691,9 @@ Dropdown.propTypes = {
|
|
24681
24691
|
getOptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
24682
24692
|
isOptionDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
24683
24693
|
isOptionSelected: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
24694
|
+
async: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
24684
24695
|
isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
24696
|
+
loadOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
24685
24697
|
components: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
24686
24698
|
styles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
24687
24699
|
};
|
@@ -24690,6 +24702,10 @@ Dropdown.defaultProps = {
|
|
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
|
|
@@ -24955,29 +24971,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
24955
24971
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
24956
24972
|
/* harmony export */ Option: () => (/* binding */ Option)
|
24957
24973
|
/* harmony export */ });
|
24958
|
-
/* harmony import */ var
|
24959
|
-
/* harmony import */ var
|
24960
|
-
/* harmony import */ var
|
24961
|
-
/* harmony import */ var
|
24962
|
-
/* harmony import */ var
|
24963
|
-
/* harmony import */ var
|
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");
|
24964
24982
|
// LICENSE_CODE ZON
|
24965
24983
|
|
24966
24984
|
|
24967
24985
|
/*jslint react:true*/
|
24968
|
-
|
24986
|
+
|
24969
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); }
|
24970
|
-
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; }
|
24971
|
-
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; }
|
24972
24988
|
|
24973
24989
|
|
24974
24990
|
|
24975
24991
|
|
24976
|
-
var StyledItem =
|
24992
|
+
var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
|
24977
24993
|
displayName: "StyledItem",
|
24978
24994
|
componentId: "sc-10s9fdi-0"
|
24979
24995
|
})(["", ""], function (props) {
|
24980
|
-
return props.selected ? "background-color: ".concat(
|
24996
|
+
return props.selected ? "background-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.blue_3, ";") : undefined;
|
24981
24997
|
});
|
24982
24998
|
var Option = function Option(props) {
|
24983
24999
|
var data = props.data,
|
@@ -24987,13 +25003,10 @@ var Option = function Option(props) {
|
|
24987
25003
|
isFocused = props.isFocused,
|
24988
25004
|
isSelected = props.isSelected,
|
24989
25005
|
innerRef = props.innerRef,
|
24990
|
-
tag = props.tag
|
24991
|
-
|
24992
|
-
|
24993
|
-
|
24994
|
-
onMouseOver = _props$innerProps.onMouseOver,
|
24995
|
-
innerProps = _objectWithoutProperties(_props$innerProps, _excluded);
|
24996
|
-
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({
|
24997
25010
|
ref: innerRef,
|
24998
25011
|
type: "item",
|
24999
25012
|
className: cx({
|
@@ -25002,8 +25015,8 @@ var Option = function Option(props) {
|
|
25002
25015
|
'option--is-focused': isFocused,
|
25003
25016
|
'option--is-selected': isSelected
|
25004
25017
|
}, className)
|
25005
|
-
}, innerProps, {
|
25006
|
-
text:
|
25018
|
+
}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(innerProps, 'onMouseMove', 'onMouseOver'), {
|
25019
|
+
text: children,
|
25007
25020
|
tooltip: data.tooltip,
|
25008
25021
|
disabled: isDisabled,
|
25009
25022
|
selected: isSelected,
|
@@ -62165,6 +62178,149 @@ var fromEntries = function fromEntries(entries) {
|
|
62165
62178
|
|
62166
62179
|
var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
|
62167
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
|
+
|
62168
62324
|
/***/ }),
|
62169
62325
|
|
62170
62326
|
/***/ "./node_modules/react-select/creatable/dist/react-select-creatable.esm.js":
|
@@ -66389,6 +66545,167 @@ var NonceProvider = (function (_ref) {
|
|
66389
66545
|
|
66390
66546
|
|
66391
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
|
+
|
66392
66709
|
/***/ }),
|
66393
66710
|
|
66394
66711
|
/***/ "./node_modules/react-select/dist/useCreatable-ab933985.esm.js":
|