@luminati-io/uikit 1.9.24 → 1.9.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/uikit.umd.js +445 -30
- package/dist/uikit.umd.js.map +1 -1
- package/dist/uikit.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/uikit.umd.js
CHANGED
@@ -20024,10 +20024,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
20024
20024
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
20025
20025
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
20026
20026
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
20027
|
-
/* harmony import */ var
|
20028
|
-
/* harmony import */ var
|
20029
|
-
/* harmony import */ var
|
20030
|
-
/* harmony import */ var
|
20027
|
+
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
|
20028
|
+
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_3__);
|
20029
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
20030
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
20031
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
20032
|
+
/* harmony import */ var _loading_icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./loading_icon */ "./src/button/loading_icon.js");
|
20031
20033
|
// LICENSE_CODE ZON
|
20032
20034
|
|
20033
20035
|
|
@@ -20044,6 +20046,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
20044
20046
|
|
20045
20047
|
|
20046
20048
|
|
20049
|
+
|
20047
20050
|
var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
|
20048
20051
|
var text = props.text,
|
20049
20052
|
variant = props.variant,
|
@@ -20052,24 +20055,24 @@ var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRe
|
|
20052
20055
|
loading = props.loading,
|
20053
20056
|
loadingText = props.loadingText,
|
20054
20057
|
rest = _objectWithoutProperties(props, _excluded);
|
20055
|
-
var _getIconProps = (0,
|
20058
|
+
var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getIconProps)('Button', props),
|
20056
20059
|
isLeft = _getIconProps.isLeft,
|
20057
20060
|
isRight = _getIconProps.isRight,
|
20058
20061
|
iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
|
20059
20062
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledButton, _extends({
|
20060
20063
|
ref: ref
|
20061
|
-
}, rest, {
|
20064
|
+
}, lodash_omit__WEBPACK_IMPORTED_MODULE_3___default()(rest, 'icon', 'iconPlacement'), {
|
20062
20065
|
disabled: loading || disabled,
|
20063
20066
|
$variant: variant,
|
20064
20067
|
$size: size,
|
20065
20068
|
$iconPlacement: isLeft || loading ? 'left' : isRight ? 'right' : ''
|
20066
|
-
}), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
20069
|
+
}), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_loading_icon__WEBPACK_IMPORTED_MODULE_7__["default"], {
|
20067
20070
|
size: iconProps.size
|
20068
|
-
}), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
20071
|
+
}), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
|
20069
20072
|
variant: size == 'xs' ? 'sm' : 'lg',
|
20070
20073
|
no_wrap: true,
|
20071
20074
|
"data-label": true
|
20072
|
-
}, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
20075
|
+
}, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], iconProps));
|
20073
20076
|
});
|
20074
20077
|
Button.displayName = 'Button';
|
20075
20078
|
Button.defaultProps = {
|
@@ -20082,7 +20085,7 @@ Button.propTypes = {
|
|
20082
20085
|
text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
|
20083
20086
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
|
20084
20087
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
20085
|
-
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(
|
20088
|
+
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_6__.iconNames),
|
20086
20089
|
iconPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['left', 'right']),
|
20087
20090
|
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
20088
20091
|
loading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
@@ -20100,12 +20103,12 @@ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().butt
|
|
20100
20103
|
gap = 2;
|
20101
20104
|
paddingLeft = paddingRight = 8;
|
20102
20105
|
}
|
20103
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["gap:", ";padding-left:", ";padding-right:", ";"], (0,
|
20106
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["gap:", ";padding-left:", ";padding-right:", ";"], (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(gap), (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(paddingLeft), (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(paddingRight));
|
20104
20107
|
}, function (props) {
|
20105
|
-
var colors = (0,
|
20108
|
+
var colors = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getButtonColors)(props);
|
20106
20109
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["background-color:", ";border:", ";[data-label]{color:", ";}[data-icon]{color:", ";}", " ", ""], colors.backColor, colors.border || '0 none', colors.color, colors.iconColor || colors.color, colors.hover && "&:hover {\n background-color: ".concat(colors.hover.backColor, ";\n }"), colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"));
|
20107
20110
|
}, function (props) {
|
20108
|
-
return (0,
|
20111
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toButtonSize)(props.$size);
|
20109
20112
|
});
|
20110
20113
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Button);
|
20111
20114
|
|
@@ -22255,12 +22258,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
22255
22258
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
22256
22259
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
22257
22260
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
22258
|
-
/* harmony import */ var
|
22259
|
-
/* harmony import */ var
|
22260
|
-
/* harmony import */ var
|
22261
|
-
/* harmony import */ var
|
22262
|
-
/* harmony import */ var
|
22263
|
-
/* harmony import */ var
|
22261
|
+
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
|
22262
|
+
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_3__);
|
22263
|
+
/* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hoc */ "./src/hoc/index.js");
|
22264
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
22265
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../menu */ "./src/menu/index.js");
|
22266
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
22267
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
22268
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
22264
22269
|
// LICENSE_CODE ZON
|
22265
22270
|
|
22266
22271
|
|
@@ -22280,6 +22285,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
22280
22285
|
|
22281
22286
|
|
22282
22287
|
|
22288
|
+
|
22283
22289
|
var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
|
22284
22290
|
var text = props.text,
|
22285
22291
|
variant = props.variant,
|
@@ -22288,7 +22294,7 @@ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
|
|
22288
22294
|
disabled = props.disabled,
|
22289
22295
|
onClick = props.onClick,
|
22290
22296
|
rest = _objectWithoutProperties(props, _excluded);
|
22291
|
-
var _getIconProps = (0,
|
22297
|
+
var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getIconProps)('Button', props),
|
22292
22298
|
isLeft = _getIconProps.isLeft,
|
22293
22299
|
iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
|
22294
22300
|
var menuProps = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
@@ -22299,7 +22305,7 @@ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
|
|
22299
22305
|
}, [size, items]);
|
22300
22306
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledButtonWrapper, _extends({
|
22301
22307
|
ref: ref
|
22302
|
-
}, rest, {
|
22308
|
+
}, lodash_omit__WEBPACK_IMPORTED_MODULE_3___default()(rest, 'icon', 'iconPlacement'), {
|
22303
22309
|
disabled: disabled,
|
22304
22310
|
$variant: variant,
|
22305
22311
|
$size: size,
|
@@ -22308,7 +22314,7 @@ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
|
|
22308
22314
|
disabled: disabled,
|
22309
22315
|
onClick: onClick,
|
22310
22316
|
"data-testid": "combo_button_main"
|
22311
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonContent, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
22317
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonContent, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
|
22312
22318
|
variant: size == 'xs' ? 'sm' : 'lg',
|
22313
22319
|
no_wrap: true,
|
22314
22320
|
"data-label": true
|
@@ -22326,7 +22332,7 @@ ComboButton.propTypes = {
|
|
22326
22332
|
text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
|
22327
22333
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
|
22328
22334
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
22329
|
-
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(
|
22335
|
+
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_8__.iconNames),
|
22330
22336
|
items: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)).isRequired,
|
22331
22337
|
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
22332
22338
|
};
|
@@ -22334,7 +22340,7 @@ var ComboButtonMenu = function ComboButtonMenu(props) {
|
|
22334
22340
|
var size = props.size,
|
22335
22341
|
items = props.items,
|
22336
22342
|
popover = props.popover;
|
22337
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
22343
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__["default"], {
|
22338
22344
|
size: size,
|
22339
22345
|
items: items,
|
22340
22346
|
onClick: popover.hide
|
@@ -22347,14 +22353,14 @@ var ArrowIcon = function ArrowIcon(props) {
|
|
22347
22353
|
onClick: popover.toggle
|
22348
22354
|
}, rest, {
|
22349
22355
|
"data-testid": "combo_button_menu_button"
|
22350
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
22356
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], {
|
22351
22357
|
name: "ChevronDown",
|
22352
22358
|
size: "xs"
|
22353
22359
|
}));
|
22354
22360
|
};
|
22355
|
-
var ComboButtonMenuTrigger = (0,
|
22361
|
+
var ComboButtonMenuTrigger = (0,_hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover)(ArrowIcon, ComboButtonMenu, {
|
22356
22362
|
placement: 'bottom-end',
|
22357
|
-
zIndex:
|
22363
|
+
zIndex: _constants__WEBPACK_IMPORTED_MODULE_9__.Z_INDEX.combobutton
|
22358
22364
|
});
|
22359
22365
|
var StyledButtonWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
22360
22366
|
displayName: "StyledButtonWrapper",
|
@@ -22368,12 +22374,12 @@ var StyledButtonWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
|
|
22368
22374
|
gap = 2;
|
22369
22375
|
paddingLeft = paddingRight = 8;
|
22370
22376
|
}
|
22371
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["", "{gap:", ";padding-left:", ";padding-right:", ";}"], ComboButtonContent, (0,
|
22377
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["", "{gap:", ";padding-left:", ";padding-right:", ";}"], ComboButtonContent, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(gap), (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(paddingLeft), (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(paddingRight));
|
22372
22378
|
}, function (props) {
|
22373
|
-
var colors = (0,
|
22379
|
+
var colors = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getButtonColors)(props);
|
22374
22380
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["background-color:", ";", "{color:", ";border-top:", ";border-right:0 none;border-bottom:", ";border-left:", ";[data-icon]{color:", ";}", "}", "{border-top:", ";border-right:", ";border-bottom:", ";border-left:", ";[data-icon]{color:", ";}", "}", ""], colors.backColor, StyledButton, colors.color, colors.border || '0 none', colors.border || '0 none', colors.border || '0 none', colors.iconColor || colors.color, colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border-top: ").concat(colors.active.border, ";\n border-bottom: ").concat(colors.active.border, ";\n border-left: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"), ComboButtonArrow, colors.border || '0 none', colors.border || '0 none', colors.border || '0 none', colors.separator || colors.border || '0 none', colors.iconColor || colors.color, colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"), colors.hover && "\n ".concat(StyledButton, ":hover, ").concat(ComboButtonArrow, ":hover {\n background-color: ").concat(colors.hover.backColor, ";\n }\n "));
|
22375
22381
|
}, function (props) {
|
22376
|
-
return (0,
|
22382
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toButtonSize)(props.$size);
|
22377
22383
|
});
|
22378
22384
|
var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().button.withConfig({
|
22379
22385
|
displayName: "StyledButton",
|
@@ -44388,6 +44394,37 @@ function baseClamp(number, lower, upper) {
|
|
44388
44394
|
module.exports = baseClamp;
|
44389
44395
|
|
44390
44396
|
|
44397
|
+
/***/ }),
|
44398
|
+
|
44399
|
+
/***/ "./node_modules/lodash/_baseClone.js":
|
44400
|
+
/*!*******************************************!*\
|
44401
|
+
!*** ./node_modules/lodash/_baseClone.js ***!
|
44402
|
+
\*******************************************/
|
44403
|
+
/***/ ((module) => {
|
44404
|
+
|
44405
|
+
/**
|
44406
|
+
* This method returns the first argument it receives.
|
44407
|
+
*
|
44408
|
+
* @static
|
44409
|
+
* @since 0.1.0
|
44410
|
+
* @memberOf _
|
44411
|
+
* @category Util
|
44412
|
+
* @param {*} value Any value.
|
44413
|
+
* @returns {*} Returns `value`.
|
44414
|
+
* @example
|
44415
|
+
*
|
44416
|
+
* var object = { 'a': 1 };
|
44417
|
+
*
|
44418
|
+
* console.log(_.identity(object) === object);
|
44419
|
+
* // => true
|
44420
|
+
*/
|
44421
|
+
function identity(value) {
|
44422
|
+
return value;
|
44423
|
+
}
|
44424
|
+
|
44425
|
+
module.exports = identity;
|
44426
|
+
|
44427
|
+
|
44391
44428
|
/***/ }),
|
44392
44429
|
|
44393
44430
|
/***/ "./node_modules/lodash/_baseGet.js":
|
@@ -44616,6 +44653,36 @@ function baseSlice(array, start, end) {
|
|
44616
44653
|
module.exports = baseSlice;
|
44617
44654
|
|
44618
44655
|
|
44656
|
+
/***/ }),
|
44657
|
+
|
44658
|
+
/***/ "./node_modules/lodash/_baseUnset.js":
|
44659
|
+
/*!*******************************************!*\
|
44660
|
+
!*** ./node_modules/lodash/_baseUnset.js ***!
|
44661
|
+
\*******************************************/
|
44662
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
44663
|
+
|
44664
|
+
var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
|
44665
|
+
last = __webpack_require__(/*! ./last */ "./node_modules/lodash/last.js"),
|
44666
|
+
parent = __webpack_require__(/*! ./_parent */ "./node_modules/lodash/_parent.js"),
|
44667
|
+
toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
|
44668
|
+
|
44669
|
+
/**
|
44670
|
+
* The base implementation of `_.unset`.
|
44671
|
+
*
|
44672
|
+
* @private
|
44673
|
+
* @param {Object} object The object to modify.
|
44674
|
+
* @param {Array|string} path The property path to unset.
|
44675
|
+
* @returns {boolean} Returns `true` if the property is deleted, else `false`.
|
44676
|
+
*/
|
44677
|
+
function baseUnset(object, path) {
|
44678
|
+
path = castPath(path, object);
|
44679
|
+
object = parent(object, path);
|
44680
|
+
return object == null || delete object[toKey(last(path))];
|
44681
|
+
}
|
44682
|
+
|
44683
|
+
module.exports = baseUnset;
|
44684
|
+
|
44685
|
+
|
44619
44686
|
/***/ }),
|
44620
44687
|
|
44621
44688
|
/***/ "./node_modules/lodash/_castPath.js":
|
@@ -44698,6 +44765,56 @@ function castSlice(array, start, end) {
|
|
44698
44765
|
module.exports = castSlice;
|
44699
44766
|
|
44700
44767
|
|
44768
|
+
/***/ }),
|
44769
|
+
|
44770
|
+
/***/ "./node_modules/lodash/_copyObject.js":
|
44771
|
+
/*!********************************************!*\
|
44772
|
+
!*** ./node_modules/lodash/_copyObject.js ***!
|
44773
|
+
\********************************************/
|
44774
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
44775
|
+
|
44776
|
+
var assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
|
44777
|
+
baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js");
|
44778
|
+
|
44779
|
+
/**
|
44780
|
+
* Copies properties of `source` to `object`.
|
44781
|
+
*
|
44782
|
+
* @private
|
44783
|
+
* @param {Object} source The object to copy properties from.
|
44784
|
+
* @param {Array} props The property identifiers to copy.
|
44785
|
+
* @param {Object} [object={}] The object to copy properties to.
|
44786
|
+
* @param {Function} [customizer] The function to customize copied values.
|
44787
|
+
* @returns {Object} Returns `object`.
|
44788
|
+
*/
|
44789
|
+
function copyObject(source, props, object, customizer) {
|
44790
|
+
var isNew = !object;
|
44791
|
+
object || (object = {});
|
44792
|
+
|
44793
|
+
var index = -1,
|
44794
|
+
length = props.length;
|
44795
|
+
|
44796
|
+
while (++index < length) {
|
44797
|
+
var key = props[index];
|
44798
|
+
|
44799
|
+
var newValue = customizer
|
44800
|
+
? customizer(object[key], source[key], key, object, source)
|
44801
|
+
: undefined;
|
44802
|
+
|
44803
|
+
if (newValue === undefined) {
|
44804
|
+
newValue = source[key];
|
44805
|
+
}
|
44806
|
+
if (isNew) {
|
44807
|
+
baseAssignValue(object, key, newValue);
|
44808
|
+
} else {
|
44809
|
+
assignValue(object, key, newValue);
|
44810
|
+
}
|
44811
|
+
}
|
44812
|
+
return object;
|
44813
|
+
}
|
44814
|
+
|
44815
|
+
module.exports = copyObject;
|
44816
|
+
|
44817
|
+
|
44701
44818
|
/***/ }),
|
44702
44819
|
|
44703
44820
|
/***/ "./node_modules/lodash/_createCaseFirst.js":
|
@@ -44741,6 +44858,32 @@ function createCaseFirst(methodName) {
|
|
44741
44858
|
module.exports = createCaseFirst;
|
44742
44859
|
|
44743
44860
|
|
44861
|
+
/***/ }),
|
44862
|
+
|
44863
|
+
/***/ "./node_modules/lodash/_customOmitClone.js":
|
44864
|
+
/*!*************************************************!*\
|
44865
|
+
!*** ./node_modules/lodash/_customOmitClone.js ***!
|
44866
|
+
\*************************************************/
|
44867
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
44868
|
+
|
44869
|
+
var isPlainObject = __webpack_require__(/*! ./isPlainObject */ "./node_modules/lodash/isPlainObject.js");
|
44870
|
+
|
44871
|
+
/**
|
44872
|
+
* Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
|
44873
|
+
* objects.
|
44874
|
+
*
|
44875
|
+
* @private
|
44876
|
+
* @param {*} value The value to inspect.
|
44877
|
+
* @param {string} key The key of the property to inspect.
|
44878
|
+
* @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
|
44879
|
+
*/
|
44880
|
+
function customOmitClone(value) {
|
44881
|
+
return isPlainObject(value) ? undefined : value;
|
44882
|
+
}
|
44883
|
+
|
44884
|
+
module.exports = customOmitClone;
|
44885
|
+
|
44886
|
+
|
44744
44887
|
/***/ }),
|
44745
44888
|
|
44746
44889
|
/***/ "./node_modules/lodash/_defineProperty.js":
|
@@ -44762,6 +44905,37 @@ var defineProperty = (function() {
|
|
44762
44905
|
module.exports = defineProperty;
|
44763
44906
|
|
44764
44907
|
|
44908
|
+
/***/ }),
|
44909
|
+
|
44910
|
+
/***/ "./node_modules/lodash/_flatRest.js":
|
44911
|
+
/*!******************************************!*\
|
44912
|
+
!*** ./node_modules/lodash/_flatRest.js ***!
|
44913
|
+
\******************************************/
|
44914
|
+
/***/ ((module) => {
|
44915
|
+
|
44916
|
+
/**
|
44917
|
+
* This method returns the first argument it receives.
|
44918
|
+
*
|
44919
|
+
* @static
|
44920
|
+
* @since 0.1.0
|
44921
|
+
* @memberOf _
|
44922
|
+
* @category Util
|
44923
|
+
* @param {*} value Any value.
|
44924
|
+
* @returns {*} Returns `value`.
|
44925
|
+
* @example
|
44926
|
+
*
|
44927
|
+
* var object = { 'a': 1 };
|
44928
|
+
*
|
44929
|
+
* console.log(_.identity(object) === object);
|
44930
|
+
* // => true
|
44931
|
+
*/
|
44932
|
+
function identity(value) {
|
44933
|
+
return value;
|
44934
|
+
}
|
44935
|
+
|
44936
|
+
module.exports = identity;
|
44937
|
+
|
44938
|
+
|
44765
44939
|
/***/ }),
|
44766
44940
|
|
44767
44941
|
/***/ "./node_modules/lodash/_freeGlobal.js":
|
@@ -44829,6 +45003,22 @@ function getValue(object, key) {
|
|
44829
45003
|
module.exports = getValue;
|
44830
45004
|
|
44831
45005
|
|
45006
|
+
/***/ }),
|
45007
|
+
|
45008
|
+
/***/ "./node_modules/lodash/_getPrototype.js":
|
45009
|
+
/*!**********************************************!*\
|
45010
|
+
!*** ./node_modules/lodash/_getPrototype.js ***!
|
45011
|
+
\**********************************************/
|
45012
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
45013
|
+
|
45014
|
+
var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
|
45015
|
+
|
45016
|
+
/** Built-in value references. */
|
45017
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
45018
|
+
|
45019
|
+
module.exports = getPrototype;
|
45020
|
+
|
45021
|
+
|
44832
45022
|
/***/ }),
|
44833
45023
|
|
44834
45024
|
/***/ "./node_modules/lodash/_hasUnicode.js":
|
@@ -45051,6 +45241,62 @@ function listCacheSet(key, value) {
|
|
45051
45241
|
module.exports = listCacheSet;
|
45052
45242
|
|
45053
45243
|
|
45244
|
+
/***/ }),
|
45245
|
+
|
45246
|
+
/***/ "./node_modules/lodash/_overArg.js":
|
45247
|
+
/*!*****************************************!*\
|
45248
|
+
!*** ./node_modules/lodash/_overArg.js ***!
|
45249
|
+
\*****************************************/
|
45250
|
+
/***/ ((module) => {
|
45251
|
+
|
45252
|
+
/**
|
45253
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
45254
|
+
*
|
45255
|
+
* @private
|
45256
|
+
* @param {Function} func The function to wrap.
|
45257
|
+
* @param {Function} transform The argument transform.
|
45258
|
+
* @returns {Function} Returns the new function.
|
45259
|
+
*/
|
45260
|
+
function overArg(func, transform) {
|
45261
|
+
return function(arg) {
|
45262
|
+
return func(transform(arg));
|
45263
|
+
};
|
45264
|
+
}
|
45265
|
+
|
45266
|
+
module.exports = overArg;
|
45267
|
+
|
45268
|
+
|
45269
|
+
/***/ }),
|
45270
|
+
|
45271
|
+
/***/ "./node_modules/lodash/_parent.js":
|
45272
|
+
/*!****************************************!*\
|
45273
|
+
!*** ./node_modules/lodash/_parent.js ***!
|
45274
|
+
\****************************************/
|
45275
|
+
/***/ ((module) => {
|
45276
|
+
|
45277
|
+
/**
|
45278
|
+
* This method returns the first argument it receives.
|
45279
|
+
*
|
45280
|
+
* @static
|
45281
|
+
* @since 0.1.0
|
45282
|
+
* @memberOf _
|
45283
|
+
* @category Util
|
45284
|
+
* @param {*} value Any value.
|
45285
|
+
* @returns {*} Returns `value`.
|
45286
|
+
* @example
|
45287
|
+
*
|
45288
|
+
* var object = { 'a': 1 };
|
45289
|
+
*
|
45290
|
+
* console.log(_.identity(object) === object);
|
45291
|
+
* // => true
|
45292
|
+
*/
|
45293
|
+
function identity(value) {
|
45294
|
+
return value;
|
45295
|
+
}
|
45296
|
+
|
45297
|
+
module.exports = identity;
|
45298
|
+
|
45299
|
+
|
45054
45300
|
/***/ }),
|
45055
45301
|
|
45056
45302
|
/***/ "./node_modules/lodash/_root.js":
|
@@ -45564,6 +45810,78 @@ function isObjectLike(value) {
|
|
45564
45810
|
module.exports = isObjectLike;
|
45565
45811
|
|
45566
45812
|
|
45813
|
+
/***/ }),
|
45814
|
+
|
45815
|
+
/***/ "./node_modules/lodash/isPlainObject.js":
|
45816
|
+
/*!**********************************************!*\
|
45817
|
+
!*** ./node_modules/lodash/isPlainObject.js ***!
|
45818
|
+
\**********************************************/
|
45819
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
45820
|
+
|
45821
|
+
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
|
45822
|
+
getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
|
45823
|
+
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
|
45824
|
+
|
45825
|
+
/** `Object#toString` result references. */
|
45826
|
+
var objectTag = '[object Object]';
|
45827
|
+
|
45828
|
+
/** Used for built-in method references. */
|
45829
|
+
var funcProto = Function.prototype,
|
45830
|
+
objectProto = Object.prototype;
|
45831
|
+
|
45832
|
+
/** Used to resolve the decompiled source of functions. */
|
45833
|
+
var funcToString = funcProto.toString;
|
45834
|
+
|
45835
|
+
/** Used to check objects for own properties. */
|
45836
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
45837
|
+
|
45838
|
+
/** Used to infer the `Object` constructor. */
|
45839
|
+
var objectCtorString = funcToString.call(Object);
|
45840
|
+
|
45841
|
+
/**
|
45842
|
+
* Checks if `value` is a plain object, that is, an object created by the
|
45843
|
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
45844
|
+
*
|
45845
|
+
* @static
|
45846
|
+
* @memberOf _
|
45847
|
+
* @since 0.8.0
|
45848
|
+
* @category Lang
|
45849
|
+
* @param {*} value The value to check.
|
45850
|
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
45851
|
+
* @example
|
45852
|
+
*
|
45853
|
+
* function Foo() {
|
45854
|
+
* this.a = 1;
|
45855
|
+
* }
|
45856
|
+
*
|
45857
|
+
* _.isPlainObject(new Foo);
|
45858
|
+
* // => false
|
45859
|
+
*
|
45860
|
+
* _.isPlainObject([1, 2, 3]);
|
45861
|
+
* // => false
|
45862
|
+
*
|
45863
|
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
45864
|
+
* // => true
|
45865
|
+
*
|
45866
|
+
* _.isPlainObject(Object.create(null));
|
45867
|
+
* // => true
|
45868
|
+
*/
|
45869
|
+
function isPlainObject(value) {
|
45870
|
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
45871
|
+
return false;
|
45872
|
+
}
|
45873
|
+
var proto = getPrototype(value);
|
45874
|
+
if (proto === null) {
|
45875
|
+
return true;
|
45876
|
+
}
|
45877
|
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
45878
|
+
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
45879
|
+
funcToString.call(Ctor) == objectCtorString;
|
45880
|
+
}
|
45881
|
+
|
45882
|
+
module.exports = isPlainObject;
|
45883
|
+
|
45884
|
+
|
45567
45885
|
/***/ }),
|
45568
45886
|
|
45569
45887
|
/***/ "./node_modules/lodash/isString.js":
|
@@ -45604,6 +45922,36 @@ function isString(value) {
|
|
45604
45922
|
module.exports = isString;
|
45605
45923
|
|
45606
45924
|
|
45925
|
+
/***/ }),
|
45926
|
+
|
45927
|
+
/***/ "./node_modules/lodash/last.js":
|
45928
|
+
/*!*************************************!*\
|
45929
|
+
!*** ./node_modules/lodash/last.js ***!
|
45930
|
+
\*************************************/
|
45931
|
+
/***/ ((module) => {
|
45932
|
+
|
45933
|
+
/**
|
45934
|
+
* Gets the last element of `array`.
|
45935
|
+
*
|
45936
|
+
* @static
|
45937
|
+
* @memberOf _
|
45938
|
+
* @since 0.1.0
|
45939
|
+
* @category Array
|
45940
|
+
* @param {Array} array The array to query.
|
45941
|
+
* @returns {*} Returns the last element of `array`.
|
45942
|
+
* @example
|
45943
|
+
*
|
45944
|
+
* _.last([1, 2, 3]);
|
45945
|
+
* // => 3
|
45946
|
+
*/
|
45947
|
+
function last(array) {
|
45948
|
+
var length = array == null ? 0 : array.length;
|
45949
|
+
return length ? array[length - 1] : undefined;
|
45950
|
+
}
|
45951
|
+
|
45952
|
+
module.exports = last;
|
45953
|
+
|
45954
|
+
|
45607
45955
|
/***/ }),
|
45608
45956
|
|
45609
45957
|
/***/ "./node_modules/lodash/memoize.js":
|
@@ -45720,6 +46068,73 @@ var now = function() {
|
|
45720
46068
|
module.exports = now;
|
45721
46069
|
|
45722
46070
|
|
46071
|
+
/***/ }),
|
46072
|
+
|
46073
|
+
/***/ "./node_modules/lodash/omit.js":
|
46074
|
+
/*!*************************************!*\
|
46075
|
+
!*** ./node_modules/lodash/omit.js ***!
|
46076
|
+
\*************************************/
|
46077
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
46078
|
+
|
46079
|
+
var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
|
46080
|
+
baseClone = __webpack_require__(/*! ./_baseClone */ "./node_modules/lodash/_baseClone.js"),
|
46081
|
+
baseUnset = __webpack_require__(/*! ./_baseUnset */ "./node_modules/lodash/_baseUnset.js"),
|
46082
|
+
castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
|
46083
|
+
copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
|
46084
|
+
customOmitClone = __webpack_require__(/*! ./_customOmitClone */ "./node_modules/lodash/_customOmitClone.js"),
|
46085
|
+
flatRest = __webpack_require__(/*! ./_flatRest */ "./node_modules/lodash/_flatRest.js"),
|
46086
|
+
getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ "./node_modules/lodash/_getAllKeysIn.js");
|
46087
|
+
|
46088
|
+
/** Used to compose bitmasks for cloning. */
|
46089
|
+
var CLONE_DEEP_FLAG = 1,
|
46090
|
+
CLONE_FLAT_FLAG = 2,
|
46091
|
+
CLONE_SYMBOLS_FLAG = 4;
|
46092
|
+
|
46093
|
+
/**
|
46094
|
+
* The opposite of `_.pick`; this method creates an object composed of the
|
46095
|
+
* own and inherited enumerable property paths of `object` that are not omitted.
|
46096
|
+
*
|
46097
|
+
* **Note:** This method is considerably slower than `_.pick`.
|
46098
|
+
*
|
46099
|
+
* @static
|
46100
|
+
* @since 0.1.0
|
46101
|
+
* @memberOf _
|
46102
|
+
* @category Object
|
46103
|
+
* @param {Object} object The source object.
|
46104
|
+
* @param {...(string|string[])} [paths] The property paths to omit.
|
46105
|
+
* @returns {Object} Returns the new object.
|
46106
|
+
* @example
|
46107
|
+
*
|
46108
|
+
* var object = { 'a': 1, 'b': '2', 'c': 3 };
|
46109
|
+
*
|
46110
|
+
* _.omit(object, ['a', 'c']);
|
46111
|
+
* // => { 'b': '2' }
|
46112
|
+
*/
|
46113
|
+
var omit = flatRest(function(object, paths) {
|
46114
|
+
var result = {};
|
46115
|
+
if (object == null) {
|
46116
|
+
return result;
|
46117
|
+
}
|
46118
|
+
var isDeep = false;
|
46119
|
+
paths = arrayMap(paths, function(path) {
|
46120
|
+
path = castPath(path, object);
|
46121
|
+
isDeep || (isDeep = path.length > 1);
|
46122
|
+
return path;
|
46123
|
+
});
|
46124
|
+
copyObject(object, getAllKeysIn(object), result);
|
46125
|
+
if (isDeep) {
|
46126
|
+
result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
|
46127
|
+
}
|
46128
|
+
var length = paths.length;
|
46129
|
+
while (length--) {
|
46130
|
+
baseUnset(result, paths[length]);
|
46131
|
+
}
|
46132
|
+
return result;
|
46133
|
+
});
|
46134
|
+
|
46135
|
+
module.exports = omit;
|
46136
|
+
|
46137
|
+
|
45723
46138
|
/***/ }),
|
45724
46139
|
|
45725
46140
|
/***/ "./node_modules/lodash/pickBy.js":
|