@luminati-io/uikit 3.2.11-beta.0 → 3.2.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -36849,8 +36849,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
36849
36849
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
36850
36850
|
/* harmony export */ buildComponents: () => (/* binding */ buildComponents)
|
36851
36851
|
/* harmony export */ });
|
36852
|
-
/* harmony import */ var
|
36853
|
-
/* harmony import */ var
|
36852
|
+
/* harmony import */ var _util_virtualized_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/virtualized_list */ "./src/util/virtualized_list.js");
|
36853
|
+
/* harmony import */ var _dropdown_clear_indicator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dropdown/clear_indicator */ "./src/input/dropdown/clear_indicator.js");
|
36854
|
+
/* harmony import */ var _dropdown_value_container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dropdown/value_container */ "./src/input/dropdown/value_container.js");
|
36855
|
+
/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./option */ "./src/input/checkbox_list/option.js");
|
36854
36856
|
// LICENSE_CODE ZON
|
36855
36857
|
|
36856
36858
|
|
@@ -36863,20 +36865,24 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
36863
36865
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
36864
36866
|
|
36865
36867
|
|
36868
|
+
|
36869
|
+
|
36866
36870
|
var buildComponents = function buildComponents(props) {
|
36867
36871
|
var components = _objectSpread({
|
36868
36872
|
IndicatorSeparator: null,
|
36869
36873
|
DropdownIndicator: null,
|
36870
|
-
|
36874
|
+
ClearIndicator: _dropdown_clear_indicator__WEBPACK_IMPORTED_MODULE_1__.ClearIndicator,
|
36875
|
+
Option: _option__WEBPACK_IMPORTED_MODULE_3__.Option
|
36871
36876
|
}, props.components);
|
36872
|
-
if (props.virtualized) {
|
36873
|
-
components.MenuList = (0,
|
36877
|
+
if (props.virtualized && components.MenuList === undefined) {
|
36878
|
+
components.MenuList = (0,_util_virtualized_list__WEBPACK_IMPORTED_MODULE_0__.VirtualizedListFactory)({
|
36874
36879
|
optionHeight: props.optionHeight,
|
36875
36880
|
defaultValue: props.defaultValue,
|
36876
36881
|
formatOptionLabel: props.formatOptionLabel,
|
36877
36882
|
Option: components.Option
|
36878
36883
|
});
|
36879
36884
|
}
|
36885
|
+
if (props.autosize === false && components.ValueContainer === undefined) components.ValueContainer = _dropdown_value_container__WEBPACK_IMPORTED_MODULE_2__.ValueContainer;
|
36880
36886
|
return components;
|
36881
36887
|
};
|
36882
36888
|
|
@@ -36893,27 +36899,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
36893
36899
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
36894
36900
|
/* harmony export */ CheckboxList: () => (/* binding */ CheckboxList)
|
36895
36901
|
/* harmony export */ });
|
36896
|
-
/* harmony import */ var
|
36897
|
-
/* harmony import */ var
|
36898
|
-
/* harmony import */ var
|
36899
|
-
/* harmony import */ var
|
36900
|
-
/* harmony import */ var
|
36901
|
-
/* harmony import */ var
|
36902
|
-
/* harmony import */ var
|
36903
|
-
/* harmony import */ var
|
36904
|
-
/* harmony import */ var
|
36905
|
-
/* harmony import */ var
|
36906
|
-
/* harmony import */ var
|
36907
|
-
/* harmony import */ var
|
36908
|
-
/* harmony import */ var
|
36909
|
-
/* harmony import */ var
|
36910
|
-
/* harmony import */ var
|
36902
|
+
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
|
36903
|
+
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
|
36904
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
|
36905
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
|
36906
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
|
36907
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
36908
|
+
/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/react-select.esm.js");
|
36909
|
+
/* 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");
|
36910
|
+
/* harmony import */ var react_select_async__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-select/async */ "./node_modules/react-select/async/dist/react-select-async.esm.js");
|
36911
|
+
/* harmony import */ var react_select_async_creatable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-select/async-creatable */ "./node_modules/react-select/async-creatable/dist/react-select-async-creatable.esm.js");
|
36912
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks */ "./src/hooks/index.js");
|
36913
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../layout */ "./src/layout/index.js");
|
36914
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../translation */ "./src/translation.js");
|
36915
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util */ "./src/util/index.js");
|
36916
|
+
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../shared */ "./src/input/shared.js");
|
36917
|
+
/* harmony import */ var _build_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./build_components */ "./src/input/checkbox_list/build_components.js");
|
36918
|
+
/* harmony import */ var _use_styles__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./use_styles */ "./src/input/checkbox_list/use_styles.js");
|
36911
36919
|
// LICENSE_CODE ZON
|
36912
36920
|
|
36913
36921
|
|
36914
36922
|
/*jslint react:true*/
|
36915
|
-
|
36923
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
36924
|
+
|
36925
|
+
var _excluded = ["id", "styles", "size", "async", "creatable", "isOptionDisabled", "className", "label", "labelIcon", "required", "invalid", "helperText", "placeholder", "disabled"];
|
36916
36926
|
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); }
|
36927
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
36928
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
36929
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
36930
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
36931
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
36917
36932
|
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; }
|
36918
36933
|
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; }
|
36919
36934
|
|
@@ -36929,162 +36944,93 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
36929
36944
|
|
36930
36945
|
|
36931
36946
|
|
36932
|
-
var CheckboxList = /*#__PURE__*/
|
36933
|
-
var
|
36947
|
+
var CheckboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, forwardRef) {
|
36948
|
+
var id = props.id,
|
36949
|
+
styles = props.styles,
|
36950
|
+
size = props.size,
|
36951
|
+
async = props.async,
|
36952
|
+
creatable = props.creatable,
|
36953
|
+
isOptionDisabled = props.isOptionDisabled,
|
36954
|
+
className = props.className,
|
36955
|
+
label = props.label,
|
36934
36956
|
labelIcon = props.labelIcon,
|
36935
36957
|
required = props.required,
|
36936
|
-
value = props.value,
|
36937
|
-
defaultValue = props.defaultValue,
|
36938
|
-
placeholder = props.placeholder,
|
36939
|
-
options = props.options,
|
36940
|
-
onChange = props.onChange,
|
36941
|
-
onFocus = props.onFocus,
|
36942
|
-
onBlur = props.onBlur,
|
36943
|
-
creatable = props.creatable,
|
36944
|
-
disabled = props.disabled,
|
36945
36958
|
invalid = props.invalid,
|
36946
36959
|
helperText = props.helperText,
|
36947
|
-
|
36948
|
-
|
36949
|
-
onChangeCapture = props.onChangeCapture,
|
36950
|
-
filterOption = props.filterOption,
|
36951
|
-
formatOptionLabel = props.formatOptionLabel,
|
36952
|
-
onInputChange = props.onInputChange,
|
36953
|
-
getOptionValue = props.getOptionValue,
|
36954
|
-
getOptionLabel = props.getOptionLabel,
|
36955
|
-
isOptionDisabled = props.isOptionDisabled,
|
36956
|
-
isOptionSelected = props.isOptionSelected,
|
36957
|
-
async = props.async,
|
36958
|
-
isLoading = props.isLoading,
|
36959
|
-
loadOptions = props.loadOptions,
|
36960
|
-
defaultOptions = props.defaultOptions,
|
36961
|
-
cacheOptions = props.cacheOptions,
|
36962
|
-
onCreateOption = props.onCreateOption,
|
36963
|
-
formatCreateLabel = props.formatCreateLabel,
|
36964
|
-
isValidNewOption = props.isValidNewOption,
|
36965
|
-
getNewOptionData = props.getNewOptionData,
|
36966
|
-
autoFocus = props.autoFocus,
|
36967
|
-
searchable = props.searchable,
|
36960
|
+
placeholder = props.placeholder,
|
36961
|
+
disabled = props.disabled,
|
36968
36962
|
rest = _objectWithoutProperties(props, _excluded);
|
36969
|
-
var labelId = (0,
|
36970
|
-
var t = (0,
|
36971
|
-
var styles = (0,_use_styles__WEBPACK_IMPORTED_MODULE_11__.useStyles)(props);
|
36963
|
+
var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_6__.useLabelId)(id);
|
36964
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_8__.useTranslate)();
|
36972
36965
|
var SelectComp = getComponent({
|
36973
36966
|
async: async,
|
36974
36967
|
creatable: creatable
|
36975
36968
|
});
|
36976
|
-
var
|
36969
|
+
var _styles = (0,_use_styles__WEBPACK_IMPORTED_MODULE_12__.useStyles)({
|
36970
|
+
styles: styles,
|
36971
|
+
size: size
|
36972
|
+
});
|
36973
|
+
var _isOptionDisabled = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
36977
36974
|
return isOptionDisabled || function (opt) {
|
36978
36975
|
return opt.disabled;
|
36979
36976
|
};
|
36980
36977
|
}, [isOptionDisabled]);
|
36981
|
-
|
36978
|
+
var wrapperProps = _objectSpread(_objectSpread({}, (0,_util__WEBPACK_IMPORTED_MODULE_9__.getAriaProps)(rest)), (0,_util__WEBPACK_IMPORTED_MODULE_9__.getDataProps)(rest));
|
36979
|
+
var selectProps = lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, Object.keys(wrapperProps));
|
36980
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_7__.Flex, _extends({
|
36982
36981
|
ref: forwardRef,
|
36983
36982
|
"data-testid": "checkbox-list",
|
36984
|
-
className: className
|
36985
|
-
}, (0,_util__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
|
36983
|
+
className: className,
|
36986
36984
|
flex_direction: "column",
|
36987
36985
|
gap: "02"
|
36988
|
-
}), /*#__PURE__*/
|
36986
|
+
}, wrapperProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_10__.InputLabel, {
|
36989
36987
|
id: labelId,
|
36990
36988
|
label: label,
|
36991
36989
|
labelIcon: labelIcon,
|
36992
36990
|
required: required
|
36993
|
-
}), /*#__PURE__*/
|
36994
|
-
|
36995
|
-
controlShouldRenderValue: false,
|
36996
|
-
hideSelectedOptions: false,
|
36997
|
-
isClearable: false,
|
36991
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SelectComp, _extends({}, selectProps, {
|
36992
|
+
id: id,
|
36998
36993
|
menuIsOpen: true,
|
36999
36994
|
isMulti: true,
|
37000
36995
|
menuPlacement: "bottom",
|
37001
|
-
autoFocus: autoFocus,
|
37002
|
-
filterOption: filterOption,
|
37003
|
-
formatOptionLabel: formatOptionLabel,
|
37004
36996
|
"aria-labelledby": label ? labelId : undefined,
|
37005
36997
|
"aria-invalid": invalid,
|
37006
|
-
value: value,
|
37007
|
-
defaultValue: defaultValue,
|
37008
36998
|
placeholder: t(placeholder),
|
37009
|
-
options: options,
|
37010
|
-
onChange: onChange,
|
37011
|
-
onFocus: onFocus,
|
37012
|
-
onBlur: onBlur,
|
37013
36999
|
isDisabled: disabled,
|
37014
37000
|
required: required,
|
37015
|
-
styles:
|
37016
|
-
components: (0,
|
37017
|
-
className: (0,
|
37001
|
+
styles: _styles,
|
37002
|
+
components: (0,_build_components__WEBPACK_IMPORTED_MODULE_11__.buildComponents)(props),
|
37003
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_9__.classNames)(className, {
|
37018
37004
|
container: true
|
37019
37005
|
}),
|
37020
|
-
|
37021
|
-
|
37022
|
-
onInputChange: onInputChange,
|
37023
|
-
getOptionValue: getOptionValue,
|
37024
|
-
getOptionLabel: getOptionLabel,
|
37025
|
-
isOptionDisabled: _isOptionDisabled,
|
37026
|
-
isOptionSelected: isOptionSelected,
|
37027
|
-
isLoading: isLoading,
|
37028
|
-
loadOptions: loadOptions,
|
37029
|
-
defaultOptions: defaultOptions,
|
37030
|
-
cacheOptions: cacheOptions,
|
37031
|
-
onCreateOption: onCreateOption,
|
37032
|
-
formatCreateLabel: formatCreateLabel,
|
37033
|
-
isValidNewOption: isValidNewOption,
|
37034
|
-
getNewOptionData: getNewOptionData,
|
37035
|
-
isSearchable: searchable
|
37036
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.HelperText, {
|
37006
|
+
isOptionDisabled: _isOptionDisabled
|
37007
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_10__.HelperText, {
|
37037
37008
|
invalid: invalid
|
37038
37009
|
}, helperText));
|
37039
37010
|
});
|
37040
37011
|
CheckboxList.displayName = 'CheckboxList';
|
37041
37012
|
CheckboxList.propTypes = {
|
37042
|
-
value: (
|
37043
|
-
|
37044
|
-
|
37045
|
-
|
37046
|
-
|
37047
|
-
|
37048
|
-
|
37049
|
-
|
37050
|
-
|
37051
|
-
|
37052
|
-
|
37053
|
-
|
37054
|
-
|
37055
|
-
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
37056
|
-
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
|
37057
|
-
options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)),
|
37058
|
-
creatable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37059
|
-
classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
37060
|
-
virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37061
|
-
autosize: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37062
|
-
onInputChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37063
|
-
getOptionValue: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37064
|
-
getOptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37065
|
-
isOptionDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37066
|
-
isOptionSelected: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37067
|
-
async: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37068
|
-
isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37069
|
-
loadOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37070
|
-
defaultOptions: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any))]),
|
37071
|
-
cacheOptions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
|
37072
|
-
components: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
37073
|
-
styles: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
37074
|
-
onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37075
|
-
formatCreateLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37076
|
-
isValidNewOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37077
|
-
getNewOptionData: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
37078
|
-
autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37079
|
-
searchable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
37013
|
+
value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any),
|
37014
|
+
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
37015
|
+
onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
37016
|
+
onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
37017
|
+
placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
37018
|
+
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
37019
|
+
required: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
37020
|
+
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
37021
|
+
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
37022
|
+
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
37023
|
+
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
37024
|
+
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
|
37025
|
+
virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
37080
37026
|
};
|
37081
37027
|
CheckboxList.defaultProps = {
|
37082
37028
|
size: 'sm',
|
37083
37029
|
placeholder: 'Search...'
|
37084
37030
|
};
|
37085
37031
|
var getComponent = function getComponent(opt) {
|
37086
|
-
if (opt.async) return opt.creatable ?
|
37087
|
-
return opt.creatable ?
|
37032
|
+
if (opt.async) return opt.creatable ? react_select_async_creatable__WEBPACK_IMPORTED_MODULE_5__["default"] : react_select_async__WEBPACK_IMPORTED_MODULE_4__["default"];
|
37033
|
+
return opt.creatable ? react_select_creatable__WEBPACK_IMPORTED_MODULE_3__["default"] : react_select__WEBPACK_IMPORTED_MODULE_13__["default"];
|
37088
37034
|
};
|
37089
37035
|
|
37090
37036
|
/***/ }),
|
@@ -37124,8 +37070,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
37124
37070
|
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
|
37125
37071
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
37126
37072
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
37127
|
-
/* harmony import */ var
|
37128
|
-
/* harmony import */ var
|
37073
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
37074
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
37075
|
+
/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/index-a301f526.esm.js");
|
37076
|
+
/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../checkbox */ "./src/input/checkbox.js");
|
37129
37077
|
// LICENSE_CODE ZON
|
37130
37078
|
|
37131
37079
|
|
@@ -37144,20 +37092,25 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
37144
37092
|
|
37145
37093
|
|
37146
37094
|
|
37095
|
+
|
37147
37096
|
var Option = function Option(props) {
|
37148
37097
|
var children = props.children,
|
37149
37098
|
innerProps = props.innerProps,
|
37150
37099
|
rest = _objectWithoutProperties(props, _excluded);
|
37151
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
37100
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_4__.c.Option, _extends({}, rest, {
|
37152
37101
|
innerProps: _objectSpread({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(innerProps, 'onMouseMove', 'onMouseOver'))
|
37153
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
37102
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_3__.Checkbox, {
|
37154
37103
|
checked: props.isSelected,
|
37155
37104
|
disabled: props.isDisabled,
|
37156
37105
|
onChange: function onChange() {
|
37157
37106
|
return null;
|
37158
37107
|
}
|
37159
|
-
}), children);
|
37108
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TextOverflow, null, children));
|
37160
37109
|
};
|
37110
|
+
var TextOverflow = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
37111
|
+
displayName: "TextOverflow",
|
37112
|
+
componentId: "sc-1fnb51k-0"
|
37113
|
+
})(["flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]);
|
37161
37114
|
|
37162
37115
|
/***/ }),
|
37163
37116
|
|
@@ -37193,6 +37146,20 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
37193
37146
|
|
37194
37147
|
|
37195
37148
|
|
37149
|
+
var HeaderXl = {
|
37150
|
+
fontFamily: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_family.sans,
|
37151
|
+
fontStyle: 'normal',
|
37152
|
+
fontWeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_weight.medium,
|
37153
|
+
fontSize: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_size.lg,
|
37154
|
+
lineHeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].line_height.none
|
37155
|
+
};
|
37156
|
+
var LabelSm = {
|
37157
|
+
fontFamily: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_family.sans,
|
37158
|
+
fontStyle: 'normal',
|
37159
|
+
fontWeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_weight.regular,
|
37160
|
+
fontSize: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_size.sm,
|
37161
|
+
lineHeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].line_height.none
|
37162
|
+
};
|
37196
37163
|
var useStyles = function useStyles(_ref) {
|
37197
37164
|
var styles = _ref.styles,
|
37198
37165
|
size = _ref.size;
|
@@ -37214,15 +37181,9 @@ var useStyles = function useStyles(_ref) {
|
|
37214
37181
|
backgroundColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2;
|
37215
37182
|
cursor = 'default';
|
37216
37183
|
} else if (state.selectProps['aria-invalid']) borderColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.red_11;else if (state.isFocused) borderColor = _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.blue_11;
|
37217
|
-
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37184
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
37218
37185
|
minHeight: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.toPixel)(height[size] || height.sm),
|
37219
37186
|
padding: "".concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputVerticalPadding, "px ").concat(_shared__WEBPACK_IMPORTED_MODULE_3__.inputHorizontalPadding, "px"),
|
37220
|
-
/* Label/sm */
|
37221
|
-
fontFamily: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_family.sans,
|
37222
|
-
fontStyle: 'normal',
|
37223
|
-
fontWeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_weight.regular,
|
37224
|
-
fontSize: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_size.sm,
|
37225
|
-
lineHeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].line_height.none,
|
37226
37187
|
color: color,
|
37227
37188
|
backgroundColor: backgroundColor,
|
37228
37189
|
borderColor: borderColor,
|
@@ -37249,6 +37210,24 @@ var useStyles = function useStyles(_ref) {
|
|
37249
37210
|
boxShadow: undefined
|
37250
37211
|
});
|
37251
37212
|
},
|
37213
|
+
menuList: function menuList(baseStyles) {
|
37214
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37215
|
+
overflowX: 'hidden',
|
37216
|
+
scrollbarColor: '#FFFFFF #DFE3E6',
|
37217
|
+
scrollbarWidth: 'thin',
|
37218
|
+
'&::-webkit-scrollbar': {
|
37219
|
+
width: '4px',
|
37220
|
+
height: '4px'
|
37221
|
+
},
|
37222
|
+
'&::-webkit-scrollbar-track': {
|
37223
|
+
backgroundColor: '#FFFFFF'
|
37224
|
+
},
|
37225
|
+
'&::-webkit-scrollbar-thumb': {
|
37226
|
+
backgroundColor: '#DFE3E6',
|
37227
|
+
borderRadius: '2px'
|
37228
|
+
}
|
37229
|
+
});
|
37230
|
+
},
|
37252
37231
|
groupHeading: function groupHeading(baseStyles) {
|
37253
37232
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37254
37233
|
/* Label/base */
|
@@ -37262,28 +37241,42 @@ var useStyles = function useStyles(_ref) {
|
|
37262
37241
|
});
|
37263
37242
|
},
|
37264
37243
|
option: function option(baseStyles, state) {
|
37265
|
-
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37244
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
37266
37245
|
display: 'flex',
|
37267
37246
|
alignItems: 'center',
|
37268
|
-
gap:
|
37269
|
-
|
37270
|
-
|
37271
|
-
fontFamily: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_family.sans,
|
37272
|
-
fontStyle: 'normal',
|
37273
|
-
fontWeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_weight.regular,
|
37274
|
-
fontSize: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].font_size.sm,
|
37275
|
-
lineHeight: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].line_height.none,
|
37247
|
+
gap: '8px',
|
37248
|
+
height: '40px',
|
37249
|
+
backgroundColor: state.isFocused ? _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_2 : undefined,
|
37276
37250
|
color: state.isDisabled ? _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_9 : _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_50
|
37277
37251
|
});
|
37278
37252
|
},
|
37279
|
-
|
37253
|
+
multiValue: function multiValue(baseStyles) {
|
37280
37254
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37281
|
-
|
37282
|
-
|
37283
|
-
|
37284
|
-
|
37285
|
-
|
37286
|
-
|
37255
|
+
backgroundColor: undefined,
|
37256
|
+
border: "1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_6),
|
37257
|
+
borderRadius: '4px'
|
37258
|
+
});
|
37259
|
+
},
|
37260
|
+
multiValueLabel: function multiValueLabel(baseStyles) {
|
37261
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), LabelSm), {}, {
|
37262
|
+
borderRadius: '4px',
|
37263
|
+
padding: '4px 4px 4px 8px',
|
37264
|
+
color: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_25
|
37265
|
+
});
|
37266
|
+
},
|
37267
|
+
multiValueRemove: function multiValueRemove(baseStyles) {
|
37268
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37269
|
+
borderRadius: '4px',
|
37270
|
+
color: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11,
|
37271
|
+
cursor: 'pointer',
|
37272
|
+
':hover': {
|
37273
|
+
backgroundColor: undefined,
|
37274
|
+
color: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_11_50
|
37275
|
+
}
|
37276
|
+
});
|
37277
|
+
},
|
37278
|
+
noOptionsMessage: function noOptionsMessage(baseStyles) {
|
37279
|
+
return _objectSpread(_objectSpread(_objectSpread({}, baseStyles), HeaderXl), {}, {
|
37287
37280
|
color: _theme__WEBPACK_IMPORTED_MODULE_1__["default"].color.gray_9
|
37288
37281
|
});
|
37289
37282
|
}
|
@@ -37744,13 +37737,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
37744
37737
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
37745
37738
|
/* harmony export */ buildComponents: () => (/* binding */ buildComponents)
|
37746
37739
|
/* harmony export */ });
|
37747
|
-
/* harmony import */ var
|
37748
|
-
/* harmony import */ var
|
37749
|
-
/* harmony import */ var
|
37750
|
-
/* harmony import */ var
|
37751
|
-
/* harmony import */ var
|
37752
|
-
/* harmony import */ var
|
37753
|
-
/* harmony import */ var
|
37740
|
+
/* harmony import */ var _util_virtualized_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/virtualized_list */ "./src/util/virtualized_list.js");
|
37741
|
+
/* harmony import */ var _clear_indicator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./clear_indicator */ "./src/input/dropdown/clear_indicator.js");
|
37742
|
+
/* harmony import */ var _dropdown_indicator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dropdown_indicator */ "./src/input/dropdown/dropdown_indicator.js");
|
37743
|
+
/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./group */ "./src/input/dropdown/group.js");
|
37744
|
+
/* harmony import */ var _menu_list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./menu_list */ "./src/input/dropdown/menu_list.js");
|
37745
|
+
/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./option */ "./src/input/dropdown/option.js");
|
37746
|
+
/* harmony import */ var _value_container__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./value_container */ "./src/input/dropdown/value_container.js");
|
37754
37747
|
// LICENSE_CODE ZON
|
37755
37748
|
|
37756
37749
|
|
@@ -37769,25 +37762,23 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
37769
37762
|
|
37770
37763
|
|
37771
37764
|
var buildComponents = function buildComponents(props) {
|
37765
|
+
var _props$components$Opt, _props$components;
|
37772
37766
|
var components = _objectSpread({
|
37773
|
-
IndicatorSeparator:
|
37774
|
-
|
37775
|
-
|
37776
|
-
|
37777
|
-
ClearIndicator: _clear_indicator__WEBPACK_IMPORTED_MODULE_0__["default"],
|
37778
|
-
MenuList: _menu_list__WEBPACK_IMPORTED_MODULE_3__.MenuList,
|
37779
|
-
Group: _group__WEBPACK_IMPORTED_MODULE_2__.Group,
|
37780
|
-
Option: _option__WEBPACK_IMPORTED_MODULE_4__.Option
|
37781
|
-
}, props.components);
|
37782
|
-
if (props.virtualized) {
|
37783
|
-
components.MenuList = (0,_util_virtualized_list__WEBPACK_IMPORTED_MODULE_6__.VirtualizedListFactory)({
|
37767
|
+
IndicatorSeparator: null,
|
37768
|
+
DropdownIndicator: _dropdown_indicator__WEBPACK_IMPORTED_MODULE_2__.DropdownIndicator,
|
37769
|
+
ClearIndicator: _clear_indicator__WEBPACK_IMPORTED_MODULE_1__.ClearIndicator,
|
37770
|
+
MenuList: props.virtualized ? (0,_util_virtualized_list__WEBPACK_IMPORTED_MODULE_0__.VirtualizedListFactory)({
|
37784
37771
|
optionHeight: props.optionHeight,
|
37785
37772
|
defaultValue: props.defaultValue,
|
37786
37773
|
formatOptionLabel: props.formatOptionLabel,
|
37787
|
-
Option: components.Option
|
37788
|
-
})
|
37774
|
+
Option: (_props$components$Opt = (_props$components = props.components) === null || _props$components === void 0 ? void 0 : _props$components.Option) !== null && _props$components$Opt !== void 0 ? _props$components$Opt : _option__WEBPACK_IMPORTED_MODULE_5__.Option
|
37775
|
+
}) : _menu_list__WEBPACK_IMPORTED_MODULE_4__.MenuList,
|
37776
|
+
Group: _group__WEBPACK_IMPORTED_MODULE_3__.Group,
|
37777
|
+
Option: _option__WEBPACK_IMPORTED_MODULE_5__.Option
|
37778
|
+
}, props.components);
|
37779
|
+
if (props.autosize === false && props.multiselect && components.ValueContainer === undefined) {
|
37780
|
+
components.ValueContainer = _value_container__WEBPACK_IMPORTED_MODULE_6__.ValueContainer;
|
37789
37781
|
}
|
37790
|
-
if (props.autosize === false && props.multiselect) components.ValueContainer = _value_container__WEBPACK_IMPORTED_MODULE_5__.ValueContainer;
|
37791
37782
|
return components;
|
37792
37783
|
};
|
37793
37784
|
|
@@ -37802,7 +37793,7 @@ var buildComponents = function buildComponents(props) {
|
|
37802
37793
|
"use strict";
|
37803
37794
|
__webpack_require__.r(__webpack_exports__);
|
37804
37795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
37805
|
-
/* harmony export */
|
37796
|
+
/* harmony export */ ClearIndicator: () => (/* binding */ ClearIndicator)
|
37806
37797
|
/* harmony export */ });
|
37807
37798
|
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @icons */ "./assets/icons/index.js");
|
37808
37799
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
@@ -37833,7 +37824,6 @@ var ClearIndicator = function ClearIndicator(props) {
|
|
37833
37824
|
href: "#".concat(ic.id)
|
37834
37825
|
}));
|
37835
37826
|
};
|
37836
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClearIndicator);
|
37837
37827
|
|
37838
37828
|
/***/ }),
|
37839
37829
|
|
@@ -38080,7 +38070,7 @@ var getComponent = function getComponent(opt) {
|
|
38080
38070
|
"use strict";
|
38081
38071
|
__webpack_require__.r(__webpack_exports__);
|
38082
38072
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
38083
|
-
/* harmony export */
|
38073
|
+
/* harmony export */ DropdownIndicator: () => (/* binding */ DropdownIndicator)
|
38084
38074
|
/* harmony export */ });
|
38085
38075
|
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @icons */ "./assets/icons/index.js");
|
38086
38076
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
@@ -38113,7 +38103,6 @@ var DropdownIndicator = function DropdownIndicator(props) {
|
|
38113
38103
|
href: "#".concat(ic.id)
|
38114
38104
|
}));
|
38115
38105
|
};
|
38116
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DropdownIndicator);
|
38117
38106
|
|
38118
38107
|
/***/ }),
|
38119
38108
|
|
@@ -40381,7 +40370,7 @@ var MenuItemContainer = styled_components__WEBPACK_IMPORTED_MODULE_0___default()
|
|
40381
40370
|
"use strict";
|
40382
40371
|
__webpack_require__.r(__webpack_exports__);
|
40383
40372
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40384
|
-
/* harmony export */
|
40373
|
+
/* harmony export */ ModalBase: () => (/* binding */ ModalBase)
|
40385
40374
|
/* harmony export */ });
|
40386
40375
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
40387
40376
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -40415,7 +40404,7 @@ var MODAL_WIDTHS = {
|
|
40415
40404
|
var StyledWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Box).withConfig({
|
40416
40405
|
displayName: "StyledWrapper",
|
40417
40406
|
componentId: "sc-1nggvo0-0"
|
40418
|
-
})(["background-color:", ";border-radius:", ";display:
|
40407
|
+
})(["background-color:", ";border-radius:", ";display:flex;flex-direction:column;font-family:", ";min-width:200px;max-width:", ";width:", ";"], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_4__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].font_family.sans, MODAL_WIDTHS.full, function (props) {
|
40419
40408
|
return MODAL_WIDTHS[props.$size];
|
40420
40409
|
});
|
40421
40410
|
var StyledHeaderWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex).attrs({
|
@@ -40431,7 +40420,7 @@ var StyledContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___defaul
|
|
40431
40420
|
}).withConfig({
|
40432
40421
|
displayName: "StyledContentWrapper",
|
40433
40422
|
componentId: "sc-1nggvo0-2"
|
40434
|
-
})(["overflow-y:auto;", " ", " ", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin, function (props) {
|
40423
|
+
})(["flex:1;overflow-y:auto;", " ", " ", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin, function (props) {
|
40435
40424
|
return props.$borders && props.$borders.top ? "border-top: 1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_4, ";") : '';
|
40436
40425
|
}, function (props) {
|
40437
40426
|
return props.$borders && props.$borders.bottom ? "border-bottom: 1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_4, ";") : '';
|
@@ -40487,7 +40476,6 @@ ModalBase.defaultProps = {
|
|
40487
40476
|
size: 'md',
|
40488
40477
|
shadow: 'md'
|
40489
40478
|
};
|
40490
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ModalBase);
|
40491
40479
|
|
40492
40480
|
/***/ }),
|
40493
40481
|
|
@@ -40500,7 +40488,7 @@ ModalBase.defaultProps = {
|
|
40500
40488
|
"use strict";
|
40501
40489
|
__webpack_require__.r(__webpack_exports__);
|
40502
40490
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40503
|
-
/* harmony export */ Base: () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__
|
40491
|
+
/* harmony export */ Base: () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__.ModalBase),
|
40504
40492
|
/* harmony export */ Button: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalButton),
|
40505
40493
|
/* harmony export */ CloseButton: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.CloseButton),
|
40506
40494
|
/* harmony export */ Footer: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalFooter),
|
@@ -40508,7 +40496,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
40508
40496
|
/* harmony export */ Header: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalHeader),
|
40509
40497
|
/* harmony export */ Popup: () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_1__.Popup),
|
40510
40498
|
/* harmony export */ Title: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalTitle),
|
40511
|
-
/* harmony export */ withBackdrop: () => (/* reexport safe */ _with_backdrop__WEBPACK_IMPORTED_MODULE_3__
|
40499
|
+
/* harmony export */ withBackdrop: () => (/* reexport safe */ _with_backdrop__WEBPACK_IMPORTED_MODULE_3__.withBackdrop)
|
40512
40500
|
/* harmony export */ });
|
40513
40501
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/modal/base.js");
|
40514
40502
|
/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal */ "./src/modal/modal.js");
|
@@ -40523,7 +40511,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
40523
40511
|
|
40524
40512
|
|
40525
40513
|
|
40526
|
-
|
40527
40514
|
/***/ }),
|
40528
40515
|
|
40529
40516
|
/***/ "./src/modal/modal.js":
|
@@ -40583,7 +40570,7 @@ var General = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(fun
|
|
40583
40570
|
okDisabled: okDisabled,
|
40584
40571
|
cancelDisabled: cancelDisabled
|
40585
40572
|
}) : null;
|
40586
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_base__WEBPACK_IMPORTED_MODULE_3__
|
40573
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_base__WEBPACK_IMPORTED_MODULE_3__.ModalBase, {
|
40587
40574
|
id: id,
|
40588
40575
|
className: className,
|
40589
40576
|
"data-testid": "modal_general",
|
@@ -40609,7 +40596,7 @@ General.propTypes = {
|
|
40609
40596
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg', 'full']),
|
40610
40597
|
shadow: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['none', 'sm', 'md', 'lg'])
|
40611
40598
|
};
|
40612
|
-
var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__
|
40599
|
+
var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__.withBackdrop)(General);
|
40613
40600
|
|
40614
40601
|
|
40615
40602
|
/***/ }),
|
@@ -40752,7 +40739,7 @@ ModalFooter.defaultProps = {
|
|
40752
40739
|
"use strict";
|
40753
40740
|
__webpack_require__.r(__webpack_exports__);
|
40754
40741
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40755
|
-
/* harmony export */
|
40742
|
+
/* harmony export */ withBackdrop: () => (/* binding */ withBackdrop)
|
40756
40743
|
/* harmony export */ });
|
40757
40744
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
40758
40745
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -40870,7 +40857,6 @@ var CompContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
40870
40857
|
}, function (props) {
|
40871
40858
|
return props.$show ? '0' : '-25%';
|
40872
40859
|
});
|
40873
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withBackdrop);
|
40874
40860
|
|
40875
40861
|
/***/ }),
|
40876
40862
|
|
@@ -44491,6 +44477,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
44491
44477
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
44492
44478
|
/* harmony export */ WHITE_SPACES: () => (/* binding */ WHITE_SPACES)
|
44493
44479
|
/* harmony export */ });
|
44480
|
+
// LICENSE_CODE ZON
|
44481
|
+
|
44482
|
+
|
44483
|
+
/*jslint react:true*/
|
44494
44484
|
var WHITE_SPACES = ['normal', 'nowrap', 'pre', 'pre-wrap', 'pre-line', 'break-spaces'];
|
44495
44485
|
|
44496
44486
|
/***/ }),
|
@@ -44980,9 +44970,9 @@ var StyledTypography = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
|
|
44980
44970
|
|
44981
44971
|
/***/ }),
|
44982
44972
|
|
44983
|
-
/***/ "./src/util/
|
44973
|
+
/***/ "./src/util/class_names.js":
|
44984
44974
|
/*!*********************************!*\
|
44985
|
-
!*** ./src/util/
|
44975
|
+
!*** ./src/util/class_names.js ***!
|
44986
44976
|
\*********************************/
|
44987
44977
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
44988
44978
|
|
@@ -45060,9 +45050,9 @@ var isExoticComponent = function isExoticComponent(component) {
|
|
45060
45050
|
|
45061
45051
|
/***/ }),
|
45062
45052
|
|
45063
|
-
/***/ "./src/util/
|
45053
|
+
/***/ "./src/util/get_props.js":
|
45064
45054
|
/*!*******************************!*\
|
45065
|
-
!*** ./src/util/
|
45055
|
+
!*** ./src/util/get_props.js ***!
|
45066
45056
|
\*******************************/
|
45067
45057
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
45068
45058
|
|
@@ -45217,9 +45207,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
45217
45207
|
/* harmony export */ isGroupHeader: () => (/* reexport safe */ _getters__WEBPACK_IMPORTED_MODULE_3__.isGroupHeader),
|
45218
45208
|
/* harmony export */ withUserStyles: () => (/* reexport safe */ _with_user_styles__WEBPACK_IMPORTED_MODULE_5__.withUserStyles)
|
45219
45209
|
/* harmony export */ });
|
45220
|
-
/* harmony import */ var _class_names__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./
|
45210
|
+
/* harmony import */ var _class_names__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./class_names */ "./src/util/class_names.js");
|
45221
45211
|
/* harmony import */ var _flex_renderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./flex_renderer */ "./src/util/flex_renderer.js");
|
45222
|
-
/* harmony import */ var _get_props__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./
|
45212
|
+
/* harmony import */ var _get_props__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./get_props */ "./src/util/get_props.js");
|
45223
45213
|
/* harmony import */ var _getters__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getters */ "./src/util/getters.js");
|
45224
45214
|
/* harmony import */ var _virtualized_list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./virtualized_list */ "./src/util/virtualized_list.js");
|
45225
45215
|
/* harmony import */ var _with_user_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./with_user_styles */ "./src/util/with_user_styles.js");
|
@@ -45457,18 +45447,19 @@ var VirtualizedListRowRenderer = function VirtualizedListRowRenderer(_ref7) {
|
|
45457
45447
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Option, {
|
45458
45448
|
key: key,
|
45459
45449
|
style: style,
|
45460
|
-
data: thisProps.data,
|
45461
45450
|
isVisible: isVisible,
|
45462
45451
|
isScrolling: isScrolling,
|
45463
45452
|
optionHeight: optionHeight,
|
45453
|
+
formatOptionLabel: formatOptionLabel,
|
45454
|
+
data: thisProps.data,
|
45464
45455
|
isDisabled: thisProps.isDisabled,
|
45465
45456
|
isFocused: thisProps.isFocused,
|
45466
45457
|
isSelected: thisProps.isSelected,
|
45467
45458
|
className: thisProps.className,
|
45468
45459
|
cx: thisProps.cx,
|
45460
|
+
getStyles: thisProps.getStyles,
|
45469
45461
|
innerRef: thisProps.innerRef,
|
45470
45462
|
innerProps: thisProps.innerProps,
|
45471
|
-
formatOptionLabel: formatOptionLabel,
|
45472
45463
|
tag: "div"
|
45473
45464
|
}, thisProps.children));
|
45474
45465
|
};
|