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