@douyinfe/semi-ui 2.12.0-beta.0 → 2.12.0-beta.3

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.
@@ -22425,19 +22425,6 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
22425
22425
  module.exports = baseClone;
22426
22426
 
22427
22427
 
22428
- /***/ }),
22429
-
22430
- /***/ "kq48":
22431
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
22432
-
22433
- "use strict";
22434
- /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
22435
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
22436
-
22437
- /* harmony default export */ __webpack_exports__["a"] = (freeGlobal);
22438
-
22439
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("fRV1")))
22440
-
22441
22428
  /***/ }),
22442
22429
 
22443
22430
  /***/ "krtk":
@@ -25856,8 +25843,8 @@ var lodash_each = __webpack_require__("h4um");
25856
25843
  var each_default = /*#__PURE__*/__webpack_require__.n(lodash_each);
25857
25844
 
25858
25845
  // EXTERNAL MODULE: /home/runner/work/semi-design/semi-design/node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js
25859
- var instance_includes = __webpack_require__("DeC2");
25860
- var includes_default = /*#__PURE__*/__webpack_require__.n(instance_includes);
25846
+ var includes = __webpack_require__("DeC2");
25847
+ var includes_default = /*#__PURE__*/__webpack_require__.n(includes);
25861
25848
 
25862
25849
  // EXTERNAL MODULE: ../semi-foundation/utils/warning.ts
25863
25850
  var warning = __webpack_require__("MYbw");
@@ -29082,12 +29069,15 @@ const TooltipTransition = function () {
29082
29069
  const {
29083
29070
  children
29084
29071
  } = props;
29085
- const motion = getMotionObjFromProps(props);
29072
+ const motion = getMotionObjFromProps(props); // add fillMode forward to fix issue 715, tooltip close will flashing under react 18
29073
+
29086
29074
  return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(StyledTransition_StyledTransition, assign_default()({}, props, {
29087
29075
  enter: enterCls,
29088
29076
  leave: leaveCls,
29089
29077
  duration: '100ms'
29090
- }, motion), typeof children === 'function' ? _ref => {
29078
+ }, motion, {
29079
+ fillMode: 'forward'
29080
+ }), typeof children === 'function' ? _ref => {
29091
29081
  let {
29092
29082
  animateCls,
29093
29083
  animateEvents,
@@ -65120,1893 +65110,289 @@ const Divider = props => {
65120
65110
  overrideDefaultStyle = {
65121
65111
  'marginLeft': margin,
65122
65112
  'marginRight': margin
65123
- };
65124
- } else if (layout === 'horizontal') {
65125
- overrideDefaultStyle = {
65126
- 'marginTop': margin,
65127
- 'marginBottom': margin
65128
- };
65129
- }
65130
- }
65131
-
65132
- return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", assign_default()({}, rest, {
65133
- className: dividerClassNames,
65134
- style: assign_default()(assign_default()({}, overrideDefaultStyle), style)
65135
- }), children && layout === 'horizontal' ? typeof children === 'string' ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", {
65136
- className: "".concat(divider_prefixCls, "-divider_inner-text")
65137
- }, children) : children : null);
65138
- };
65139
-
65140
- /* harmony default export */ var divider_0 = (Divider);
65141
- // CONCATENATED MODULE: ../semi-foundation/empty/constants.ts
65142
-
65143
- const empty_constants_cssClasses = {
65144
- PREFIX: "".concat(BASE_CLASS_PREFIX, "-empty")
65145
- };
65146
- const empty_constants_strings = {
65147
- LAYOUT: ['vertical', 'horizontal']
65148
- };
65149
-
65150
- // EXTERNAL MODULE: ../semi-foundation/empty/empty.scss
65151
- var empty_empty = __webpack_require__("UO4o");
65152
-
65153
- // CONCATENATED MODULE: ./empty/index.tsx
65154
-
65155
-
65156
-
65157
-
65158
-
65159
-
65160
-
65161
-
65162
- const empty_prefixCls = empty_constants_cssClasses.PREFIX;
65163
- class empty_Empty extends baseComponent_BaseComponent {
65164
- constructor(props) {
65165
- super(props);
65166
-
65167
- this.observe = mutationsList => {
65168
- for (const mutation of mutationsList) {
65169
- if (mutation.type === 'attributes' && mutation.attributeName === 'theme-mode') {
65170
- this.updateMode();
65171
- }
65172
- }
65173
- };
65174
-
65175
- this.updateMode = () => {
65176
- const val = this.body.getAttribute('theme-mode');
65177
-
65178
- if (val !== this.state.mode) {
65179
- this.setState({
65180
- mode: val
65181
- });
65182
- }
65183
- };
65184
-
65185
- this.state = {
65186
- mode: null
65187
- };
65188
- }
65189
-
65190
- componentDidMount() {
65191
- if (this.props.darkModeImage) {
65192
- this.body = window.document.body;
65193
- this.updateMode();
65194
- const config = {
65195
- attributes: true,
65196
- childList: false,
65197
- subtree: false
65198
- };
65199
- this.observer = new MutationObserver(this.observe);
65200
- this.observer.observe(this.body, config);
65201
- }
65202
- }
65203
-
65204
- componentWillUnmount() {
65205
- this.observer && this.observer.disconnect();
65206
- }
65207
-
65208
- render() {
65209
- var _context;
65210
-
65211
- const {
65212
- className,
65213
- image,
65214
- description,
65215
- style,
65216
- title,
65217
- imageStyle,
65218
- children,
65219
- layout,
65220
- darkModeImage
65221
- } = this.props;
65222
- const alt = typeof description === 'string' ? description : 'empty';
65223
- const imgSrc = this.state.mode && darkModeImage ? darkModeImage : image;
65224
- let imageNode = null;
65225
-
65226
- if (typeof imgSrc === 'string') {
65227
- imageNode = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("img", {
65228
- alt: alt,
65229
- src: imgSrc
65230
- });
65231
- } else if (imgSrc && 'id' in imgSrc) {
65232
- imageNode = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("svg", {
65233
- "aria-hidden": "true"
65234
- }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("use", {
65235
- xlinkHref: "#".concat(imgSrc.id)
65236
- }));
65237
- } else {
65238
- imageNode = imgSrc;
65239
- }
65240
-
65241
- const wrapperCls = classnames_default()(className, empty_prefixCls, {
65242
- [concat_default()(_context = "".concat(empty_prefixCls, "-")).call(_context, layout)]: layout
65243
- });
65244
- const titleProps = imageNode ? {
65245
- heading: 4
65246
- } : {
65247
- heading: 6,
65248
- style: {
65249
- fontWeight: 400
65250
- }
65251
- };
65252
- return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65253
- className: wrapperCls,
65254
- style: style
65255
- }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65256
- className: "".concat(empty_prefixCls, "-image"),
65257
- style: imageStyle
65258
- }, imageNode), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65259
- className: "".concat(empty_prefixCls, "-content")
65260
- }, title ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(typography_0.Title, assign_default()({}, titleProps, {
65261
- className: "".concat(empty_prefixCls, "-title")
65262
- }), title) : null, description ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65263
- className: "".concat(empty_prefixCls, "-description")
65264
- }, description) : null, children ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65265
- className: "".concat(empty_prefixCls, "-footer")
65266
- }, children) : null));
65267
- }
65268
-
65269
- }
65270
- empty_Empty.defaultProps = {
65271
- layout: 'vertical'
65272
- };
65273
- // EXTERNAL MODULE: ../semi-foundation/modal/modal.scss
65274
- var modal_modal = __webpack_require__("CbLw");
65275
-
65276
- // EXTERNAL MODULE: /home/runner/work/semi-design/semi-design/node_modules/@babel/runtime-corejs3/core-js/global-this.js
65277
- var global_this = __webpack_require__("re6r");
65278
- var global_this_default = /*#__PURE__*/__webpack_require__.n(global_this);
65279
-
65280
- // CONCATENATED MODULE: ../semi-foundation/modal/constants.ts
65281
-
65282
- const modal_constants_cssClasses = {
65283
- DIALOG: "".concat(BASE_CLASS_PREFIX, "-modal")
65284
- };
65285
- const modal_constants_strings = {
65286
- cancelKey: 'cancel',
65287
- confirmKey: 'confirm',
65288
- SIZE: ['small', 'medium', 'large', 'full-width'],
65289
- directions: ['ltr', 'rtl']
65290
- };
65291
-
65292
- // CONCATENATED MODULE: ../semi-foundation/modal/modalFoundation.ts
65293
-
65294
-
65295
- class modalFoundation_ModalFoundation extends foundation {
65296
- constructor(adapter) {
65297
- super(assign_default()({}, adapter));
65298
-
65299
- this.toggleHidden = (hidden, callback) => {
65300
- this._adapter.toggleHidden(hidden, callback);
65301
- };
65302
- }
65303
-
65304
- destroy() {
65305
- this.afterHide();
65306
- }
65307
-
65308
- handleCancel(e) {
65309
- this._adapter.notifyCancel(e);
65310
- }
65311
-
65312
- handleOk(e) {
65313
- this._adapter.notifyOk(e);
65314
- }
65315
-
65316
- beforeShow() {
65317
- this._adapter.disabledBodyScroll();
65318
- }
65319
-
65320
- afterHide() {
65321
- this._adapter.enabledBodyScroll();
65322
- }
65323
-
65324
- afterClose() {
65325
- this._adapter.notifyClose();
65326
- }
65327
-
65328
- }
65329
- // CONCATENATED MODULE: ../semi-foundation/modal/modalContentFoundation.ts
65330
-
65331
-
65332
-
65333
- class modalContentFoundation_ModalContentFoundation extends foundation {
65334
- constructor(adapter) {
65335
- super(assign_default()(assign_default()({}, modalContentFoundation_ModalContentFoundation.defaultAdapter), adapter));
65336
- }
65337
-
65338
- destroy() {
65339
- this.handleKeyDownEventListenerUnmount();
65340
- this.modalDialogBlur();
65341
- this.prevFocusElementReFocus();
65342
- }
65343
-
65344
- handleDialogMouseDown() {
65345
- this._adapter.notifyDialogMouseDown();
65346
- }
65347
-
65348
- handleMaskMouseUp() {
65349
- this._adapter.notifyDialogMouseUp();
65350
- }
65351
-
65352
- handleKeyDown(e) {
65353
- const {
65354
- closeOnEsc
65355
- } = this.getProps();
65356
-
65357
- if (closeOnEsc && e.keyCode === utils_keyCode.ESC) {
65358
- e.stopPropagation();
65359
- this.close(e);
65360
- return;
65361
- }
65362
- }
65363
-
65364
- handleKeyDownEventListenerMount() {
65365
- this._adapter.addKeyDownEventListener();
65366
- }
65367
-
65368
- handleKeyDownEventListenerUnmount() {
65369
- this._adapter.removeKeyDownEventListener();
65370
- }
65371
-
65372
- getMouseState() {
65373
- this._adapter.getMouseState();
65374
- }
65375
-
65376
- handleMaskClick(e) {
65377
- const {
65378
- dialogMouseDown
65379
- } = this.getStates();
65380
-
65381
- if (e.target === e.currentTarget && !dialogMouseDown) {
65382
- this.close(e);
65383
- }
65384
- }
65385
-
65386
- close(e) {
65387
- this._adapter.notifyClose(e);
65388
- }
65389
-
65390
- modalDialogFocus() {
65391
- this._adapter.modalDialogFocus();
65392
- }
65393
-
65394
- modalDialogBlur() {
65395
- this._adapter.modalDialogBlur();
65396
- }
65397
-
65398
- prevFocusElementReFocus() {
65399
- this._adapter.prevFocusElementReFocus();
65400
- }
65401
-
65402
- }
65403
- // EXTERNAL MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_freeGlobal.js
65404
- var _freeGlobal = __webpack_require__("kq48");
65405
-
65406
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_root.js
65407
-
65408
-
65409
- /** Detect free variable `self`. */
65410
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
65411
-
65412
- /** Used as a reference to the global object. */
65413
- var _root_root = _freeGlobal["a" /* default */] || freeSelf || Function('return this')();
65414
-
65415
- /* harmony default export */ var _root = (_root_root);
65416
-
65417
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_Symbol.js
65418
-
65419
-
65420
- /** Built-in value references. */
65421
- var _Symbol_Symbol = _root.Symbol;
65422
-
65423
- /* harmony default export */ var _Symbol = (_Symbol_Symbol);
65424
-
65425
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_getRawTag.js
65426
-
65427
-
65428
- /** Used for built-in method references. */
65429
- var objectProto = Object.prototype;
65430
-
65431
- /** Used to check objects for own properties. */
65432
- var _getRawTag_hasOwnProperty = objectProto.hasOwnProperty;
65433
-
65434
- /**
65435
- * Used to resolve the
65436
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
65437
- * of values.
65438
- */
65439
- var nativeObjectToString = objectProto.toString;
65440
-
65441
- /** Built-in value references. */
65442
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
65443
-
65444
- /**
65445
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
65446
- *
65447
- * @private
65448
- * @param {*} value The value to query.
65449
- * @returns {string} Returns the raw `toStringTag`.
65450
- */
65451
- function getRawTag(value) {
65452
- var isOwn = _getRawTag_hasOwnProperty.call(value, symToStringTag),
65453
- tag = value[symToStringTag];
65454
-
65455
- try {
65456
- value[symToStringTag] = undefined;
65457
- var unmasked = true;
65458
- } catch (e) {}
65459
-
65460
- var result = nativeObjectToString.call(value);
65461
- if (unmasked) {
65462
- if (isOwn) {
65463
- value[symToStringTag] = tag;
65464
- } else {
65465
- delete value[symToStringTag];
65466
- }
65467
- }
65468
- return result;
65469
- }
65470
-
65471
- /* harmony default export */ var _getRawTag = (getRawTag);
65472
-
65473
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_objectToString.js
65474
- /** Used for built-in method references. */
65475
- var _objectToString_objectProto = Object.prototype;
65476
-
65477
- /**
65478
- * Used to resolve the
65479
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
65480
- * of values.
65481
- */
65482
- var _objectToString_nativeObjectToString = _objectToString_objectProto.toString;
65483
-
65484
- /**
65485
- * Converts `value` to a string using `Object.prototype.toString`.
65486
- *
65487
- * @private
65488
- * @param {*} value The value to convert.
65489
- * @returns {string} Returns the converted string.
65490
- */
65491
- function objectToString(value) {
65492
- return _objectToString_nativeObjectToString.call(value);
65493
- }
65494
-
65495
- /* harmony default export */ var _objectToString = (objectToString);
65496
-
65497
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseGetTag.js
65498
-
65499
-
65500
-
65501
-
65502
- /** `Object#toString` result references. */
65503
- var nullTag = '[object Null]',
65504
- undefinedTag = '[object Undefined]';
65505
-
65506
- /** Built-in value references. */
65507
- var _baseGetTag_symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
65508
-
65509
- /**
65510
- * The base implementation of `getTag` without fallbacks for buggy environments.
65511
- *
65512
- * @private
65513
- * @param {*} value The value to query.
65514
- * @returns {string} Returns the `toStringTag`.
65515
- */
65516
- function baseGetTag(value) {
65517
- if (value == null) {
65518
- return value === undefined ? undefinedTag : nullTag;
65519
- }
65520
- return (_baseGetTag_symToStringTag && _baseGetTag_symToStringTag in Object(value))
65521
- ? _getRawTag(value)
65522
- : _objectToString(value);
65523
- }
65524
-
65525
- /* harmony default export */ var _baseGetTag = (baseGetTag);
65526
-
65527
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/isObject.js
65528
- /**
65529
- * Checks if `value` is the
65530
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
65531
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
65532
- *
65533
- * @static
65534
- * @memberOf _
65535
- * @since 0.1.0
65536
- * @category Lang
65537
- * @param {*} value The value to check.
65538
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
65539
- * @example
65540
- *
65541
- * _.isObject({});
65542
- * // => true
65543
- *
65544
- * _.isObject([1, 2, 3]);
65545
- * // => true
65546
- *
65547
- * _.isObject(_.noop);
65548
- * // => true
65549
- *
65550
- * _.isObject(null);
65551
- * // => false
65552
- */
65553
- function isObject_isObject(value) {
65554
- var type = typeof value;
65555
- return value != null && (type == 'object' || type == 'function');
65556
- }
65557
-
65558
- /* harmony default export */ var lodash_es_isObject = (isObject_isObject);
65559
-
65560
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/isFunction.js
65561
-
65562
-
65563
-
65564
- /** `Object#toString` result references. */
65565
- var asyncTag = '[object AsyncFunction]',
65566
- funcTag = '[object Function]',
65567
- genTag = '[object GeneratorFunction]',
65568
- proxyTag = '[object Proxy]';
65569
-
65570
- /**
65571
- * Checks if `value` is classified as a `Function` object.
65572
- *
65573
- * @static
65574
- * @memberOf _
65575
- * @since 0.1.0
65576
- * @category Lang
65577
- * @param {*} value The value to check.
65578
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
65579
- * @example
65580
- *
65581
- * _.isFunction(_);
65582
- * // => true
65583
- *
65584
- * _.isFunction(/abc/);
65585
- * // => false
65586
- */
65587
- function isFunction_isFunction(value) {
65588
- if (!lodash_es_isObject(value)) {
65589
- return false;
65590
- }
65591
- // The use of `Object#toString` avoids issues with the `typeof` operator
65592
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
65593
- var tag = _baseGetTag(value);
65594
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
65595
- }
65596
-
65597
- /* harmony default export */ var lodash_es_isFunction = (isFunction_isFunction);
65598
-
65599
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_coreJsData.js
65600
-
65601
-
65602
- /** Used to detect overreaching core-js shims. */
65603
- var coreJsData = _root['__core-js_shared__'];
65604
-
65605
- /* harmony default export */ var _coreJsData = (coreJsData);
65606
-
65607
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_isMasked.js
65608
-
65609
-
65610
- /** Used to detect methods masquerading as native. */
65611
- var maskSrcKey = (function() {
65612
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
65613
- return uid ? ('Symbol(src)_1.' + uid) : '';
65614
- }());
65615
-
65616
- /**
65617
- * Checks if `func` has its source masked.
65618
- *
65619
- * @private
65620
- * @param {Function} func The function to check.
65621
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
65622
- */
65623
- function isMasked(func) {
65624
- return !!maskSrcKey && (maskSrcKey in func);
65625
- }
65626
-
65627
- /* harmony default export */ var _isMasked = (isMasked);
65628
-
65629
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_toSource.js
65630
- /** Used for built-in method references. */
65631
- var funcProto = Function.prototype;
65632
-
65633
- /** Used to resolve the decompiled source of functions. */
65634
- var funcToString = funcProto.toString;
65635
-
65636
- /**
65637
- * Converts `func` to its source code.
65638
- *
65639
- * @private
65640
- * @param {Function} func The function to convert.
65641
- * @returns {string} Returns the source code.
65642
- */
65643
- function toSource(func) {
65644
- if (func != null) {
65645
- try {
65646
- return funcToString.call(func);
65647
- } catch (e) {}
65648
- try {
65649
- return (func + '');
65650
- } catch (e) {}
65651
- }
65652
- return '';
65653
- }
65654
-
65655
- /* harmony default export */ var _toSource = (toSource);
65656
-
65657
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseIsNative.js
65658
-
65659
-
65660
-
65661
-
65662
-
65663
- /**
65664
- * Used to match `RegExp`
65665
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
65666
- */
65667
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
65668
-
65669
- /** Used to detect host constructors (Safari). */
65670
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
65671
-
65672
- /** Used for built-in method references. */
65673
- var _baseIsNative_funcProto = Function.prototype,
65674
- _baseIsNative_objectProto = Object.prototype;
65675
-
65676
- /** Used to resolve the decompiled source of functions. */
65677
- var _baseIsNative_funcToString = _baseIsNative_funcProto.toString;
65678
-
65679
- /** Used to check objects for own properties. */
65680
- var _baseIsNative_hasOwnProperty = _baseIsNative_objectProto.hasOwnProperty;
65681
-
65682
- /** Used to detect if a method is native. */
65683
- var reIsNative = RegExp('^' +
65684
- _baseIsNative_funcToString.call(_baseIsNative_hasOwnProperty).replace(reRegExpChar, '\\$&')
65685
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
65686
- );
65687
-
65688
- /**
65689
- * The base implementation of `_.isNative` without bad shim checks.
65690
- *
65691
- * @private
65692
- * @param {*} value The value to check.
65693
- * @returns {boolean} Returns `true` if `value` is a native function,
65694
- * else `false`.
65695
- */
65696
- function baseIsNative(value) {
65697
- if (!lodash_es_isObject(value) || _isMasked(value)) {
65698
- return false;
65699
- }
65700
- var pattern = lodash_es_isFunction(value) ? reIsNative : reIsHostCtor;
65701
- return pattern.test(_toSource(value));
65702
- }
65703
-
65704
- /* harmony default export */ var _baseIsNative = (baseIsNative);
65705
-
65706
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_getValue.js
65707
- /**
65708
- * Gets the value at `key` of `object`.
65709
- *
65710
- * @private
65711
- * @param {Object} [object] The object to query.
65712
- * @param {string} key The key of the property to get.
65713
- * @returns {*} Returns the property value.
65714
- */
65715
- function getValue(object, key) {
65716
- return object == null ? undefined : object[key];
65717
- }
65718
-
65719
- /* harmony default export */ var _getValue = (getValue);
65720
-
65721
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_getNative.js
65722
-
65723
-
65724
-
65725
- /**
65726
- * Gets the native function at `key` of `object`.
65727
- *
65728
- * @private
65729
- * @param {Object} object The object to query.
65730
- * @param {string} key The key of the method to get.
65731
- * @returns {*} Returns the function if it's native, else `undefined`.
65732
- */
65733
- function getNative(object, key) {
65734
- var value = _getValue(object, key);
65735
- return _baseIsNative(value) ? value : undefined;
65736
- }
65737
-
65738
- /* harmony default export */ var _getNative = (getNative);
65739
-
65740
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_nativeCreate.js
65741
-
65742
-
65743
- /* Built-in method references that are verified to be native. */
65744
- var nativeCreate = _getNative(Object, 'create');
65745
-
65746
- /* harmony default export */ var _nativeCreate = (nativeCreate);
65747
-
65748
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_hashClear.js
65749
-
65750
-
65751
- /**
65752
- * Removes all key-value entries from the hash.
65753
- *
65754
- * @private
65755
- * @name clear
65756
- * @memberOf Hash
65757
- */
65758
- function hashClear() {
65759
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
65760
- this.size = 0;
65761
- }
65762
-
65763
- /* harmony default export */ var _hashClear = (hashClear);
65764
-
65765
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_hashDelete.js
65766
- /**
65767
- * Removes `key` and its value from the hash.
65768
- *
65769
- * @private
65770
- * @name delete
65771
- * @memberOf Hash
65772
- * @param {Object} hash The hash to modify.
65773
- * @param {string} key The key of the value to remove.
65774
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
65775
- */
65776
- function hashDelete(key) {
65777
- var result = this.has(key) && delete this.__data__[key];
65778
- this.size -= result ? 1 : 0;
65779
- return result;
65780
- }
65781
-
65782
- /* harmony default export */ var _hashDelete = (hashDelete);
65783
-
65784
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_hashGet.js
65785
-
65786
-
65787
- /** Used to stand-in for `undefined` hash values. */
65788
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
65789
-
65790
- /** Used for built-in method references. */
65791
- var _hashGet_objectProto = Object.prototype;
65792
-
65793
- /** Used to check objects for own properties. */
65794
- var _hashGet_hasOwnProperty = _hashGet_objectProto.hasOwnProperty;
65795
-
65796
- /**
65797
- * Gets the hash value for `key`.
65798
- *
65799
- * @private
65800
- * @name get
65801
- * @memberOf Hash
65802
- * @param {string} key The key of the value to get.
65803
- * @returns {*} Returns the entry value.
65804
- */
65805
- function hashGet(key) {
65806
- var data = this.__data__;
65807
- if (_nativeCreate) {
65808
- var result = data[key];
65809
- return result === HASH_UNDEFINED ? undefined : result;
65810
- }
65811
- return _hashGet_hasOwnProperty.call(data, key) ? data[key] : undefined;
65812
- }
65813
-
65814
- /* harmony default export */ var _hashGet = (hashGet);
65815
-
65816
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_hashHas.js
65817
-
65818
-
65819
- /** Used for built-in method references. */
65820
- var _hashHas_objectProto = Object.prototype;
65821
-
65822
- /** Used to check objects for own properties. */
65823
- var _hashHas_hasOwnProperty = _hashHas_objectProto.hasOwnProperty;
65824
-
65825
- /**
65826
- * Checks if a hash value for `key` exists.
65827
- *
65828
- * @private
65829
- * @name has
65830
- * @memberOf Hash
65831
- * @param {string} key The key of the entry to check.
65832
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
65833
- */
65834
- function hashHas(key) {
65835
- var data = this.__data__;
65836
- return _nativeCreate ? (data[key] !== undefined) : _hashHas_hasOwnProperty.call(data, key);
65837
- }
65838
-
65839
- /* harmony default export */ var _hashHas = (hashHas);
65840
-
65841
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_hashSet.js
65842
-
65843
-
65844
- /** Used to stand-in for `undefined` hash values. */
65845
- var _hashSet_HASH_UNDEFINED = '__lodash_hash_undefined__';
65846
-
65847
- /**
65848
- * Sets the hash `key` to `value`.
65849
- *
65850
- * @private
65851
- * @name set
65852
- * @memberOf Hash
65853
- * @param {string} key The key of the value to set.
65854
- * @param {*} value The value to set.
65855
- * @returns {Object} Returns the hash instance.
65856
- */
65857
- function hashSet(key, value) {
65858
- var data = this.__data__;
65859
- this.size += this.has(key) ? 0 : 1;
65860
- data[key] = (_nativeCreate && value === undefined) ? _hashSet_HASH_UNDEFINED : value;
65861
- return this;
65862
- }
65863
-
65864
- /* harmony default export */ var _hashSet = (hashSet);
65865
-
65866
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_Hash.js
65867
-
65868
-
65869
-
65870
-
65871
-
65872
-
65873
- /**
65874
- * Creates a hash object.
65875
- *
65876
- * @private
65877
- * @constructor
65878
- * @param {Array} [entries] The key-value pairs to cache.
65879
- */
65880
- function Hash(entries) {
65881
- var index = -1,
65882
- length = entries == null ? 0 : entries.length;
65883
-
65884
- this.clear();
65885
- while (++index < length) {
65886
- var entry = entries[index];
65887
- this.set(entry[0], entry[1]);
65888
- }
65889
- }
65890
-
65891
- // Add methods to `Hash`.
65892
- Hash.prototype.clear = _hashClear;
65893
- Hash.prototype['delete'] = _hashDelete;
65894
- Hash.prototype.get = _hashGet;
65895
- Hash.prototype.has = _hashHas;
65896
- Hash.prototype.set = _hashSet;
65897
-
65898
- /* harmony default export */ var _Hash = (Hash);
65899
-
65900
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_listCacheClear.js
65901
- /**
65902
- * Removes all key-value entries from the list cache.
65903
- *
65904
- * @private
65905
- * @name clear
65906
- * @memberOf ListCache
65907
- */
65908
- function listCacheClear() {
65909
- this.__data__ = [];
65910
- this.size = 0;
65911
- }
65912
-
65913
- /* harmony default export */ var _listCacheClear = (listCacheClear);
65914
-
65915
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/eq.js
65916
- /**
65917
- * Performs a
65918
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
65919
- * comparison between two values to determine if they are equivalent.
65920
- *
65921
- * @static
65922
- * @memberOf _
65923
- * @since 4.0.0
65924
- * @category Lang
65925
- * @param {*} value The value to compare.
65926
- * @param {*} other The other value to compare.
65927
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
65928
- * @example
65929
- *
65930
- * var object = { 'a': 1 };
65931
- * var other = { 'a': 1 };
65932
- *
65933
- * _.eq(object, object);
65934
- * // => true
65935
- *
65936
- * _.eq(object, other);
65937
- * // => false
65938
- *
65939
- * _.eq('a', 'a');
65940
- * // => true
65941
- *
65942
- * _.eq('a', Object('a'));
65943
- * // => false
65944
- *
65945
- * _.eq(NaN, NaN);
65946
- * // => true
65947
- */
65948
- function eq(value, other) {
65949
- return value === other || (value !== value && other !== other);
65950
- }
65951
-
65952
- /* harmony default export */ var lodash_es_eq = (eq);
65953
-
65954
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_assocIndexOf.js
65955
-
65956
-
65957
- /**
65958
- * Gets the index at which the `key` is found in `array` of key-value pairs.
65959
- *
65960
- * @private
65961
- * @param {Array} array The array to inspect.
65962
- * @param {*} key The key to search for.
65963
- * @returns {number} Returns the index of the matched value, else `-1`.
65964
- */
65965
- function assocIndexOf(array, key) {
65966
- var length = array.length;
65967
- while (length--) {
65968
- if (lodash_es_eq(array[length][0], key)) {
65969
- return length;
65970
- }
65971
- }
65972
- return -1;
65973
- }
65974
-
65975
- /* harmony default export */ var _assocIndexOf = (assocIndexOf);
65976
-
65977
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_listCacheDelete.js
65978
-
65979
-
65980
- /** Used for built-in method references. */
65981
- var arrayProto = Array.prototype;
65982
-
65983
- /** Built-in value references. */
65984
- var _listCacheDelete_splice = arrayProto.splice;
65985
-
65986
- /**
65987
- * Removes `key` and its value from the list cache.
65988
- *
65989
- * @private
65990
- * @name delete
65991
- * @memberOf ListCache
65992
- * @param {string} key The key of the value to remove.
65993
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
65994
- */
65995
- function listCacheDelete(key) {
65996
- var data = this.__data__,
65997
- index = _assocIndexOf(data, key);
65998
-
65999
- if (index < 0) {
66000
- return false;
66001
- }
66002
- var lastIndex = data.length - 1;
66003
- if (index == lastIndex) {
66004
- data.pop();
66005
- } else {
66006
- _listCacheDelete_splice.call(data, index, 1);
66007
- }
66008
- --this.size;
66009
- return true;
66010
- }
66011
-
66012
- /* harmony default export */ var _listCacheDelete = (listCacheDelete);
66013
-
66014
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_listCacheGet.js
66015
-
66016
-
66017
- /**
66018
- * Gets the list cache value for `key`.
66019
- *
66020
- * @private
66021
- * @name get
66022
- * @memberOf ListCache
66023
- * @param {string} key The key of the value to get.
66024
- * @returns {*} Returns the entry value.
66025
- */
66026
- function listCacheGet(key) {
66027
- var data = this.__data__,
66028
- index = _assocIndexOf(data, key);
66029
-
66030
- return index < 0 ? undefined : data[index][1];
66031
- }
66032
-
66033
- /* harmony default export */ var _listCacheGet = (listCacheGet);
66034
-
66035
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_listCacheHas.js
66036
-
66037
-
66038
- /**
66039
- * Checks if a list cache value for `key` exists.
66040
- *
66041
- * @private
66042
- * @name has
66043
- * @memberOf ListCache
66044
- * @param {string} key The key of the entry to check.
66045
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
66046
- */
66047
- function listCacheHas(key) {
66048
- return _assocIndexOf(this.__data__, key) > -1;
66049
- }
66050
-
66051
- /* harmony default export */ var _listCacheHas = (listCacheHas);
66052
-
66053
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_listCacheSet.js
66054
-
66055
-
66056
- /**
66057
- * Sets the list cache `key` to `value`.
66058
- *
66059
- * @private
66060
- * @name set
66061
- * @memberOf ListCache
66062
- * @param {string} key The key of the value to set.
66063
- * @param {*} value The value to set.
66064
- * @returns {Object} Returns the list cache instance.
66065
- */
66066
- function listCacheSet(key, value) {
66067
- var data = this.__data__,
66068
- index = _assocIndexOf(data, key);
66069
-
66070
- if (index < 0) {
66071
- ++this.size;
66072
- data.push([key, value]);
66073
- } else {
66074
- data[index][1] = value;
66075
- }
66076
- return this;
66077
- }
66078
-
66079
- /* harmony default export */ var _listCacheSet = (listCacheSet);
66080
-
66081
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_ListCache.js
66082
-
66083
-
66084
-
66085
-
66086
-
66087
-
66088
- /**
66089
- * Creates an list cache object.
66090
- *
66091
- * @private
66092
- * @constructor
66093
- * @param {Array} [entries] The key-value pairs to cache.
66094
- */
66095
- function ListCache(entries) {
66096
- var index = -1,
66097
- length = entries == null ? 0 : entries.length;
66098
-
66099
- this.clear();
66100
- while (++index < length) {
66101
- var entry = entries[index];
66102
- this.set(entry[0], entry[1]);
66103
- }
66104
- }
66105
-
66106
- // Add methods to `ListCache`.
66107
- ListCache.prototype.clear = _listCacheClear;
66108
- ListCache.prototype['delete'] = _listCacheDelete;
66109
- ListCache.prototype.get = _listCacheGet;
66110
- ListCache.prototype.has = _listCacheHas;
66111
- ListCache.prototype.set = _listCacheSet;
66112
-
66113
- /* harmony default export */ var _ListCache = (ListCache);
66114
-
66115
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_Map.js
66116
-
66117
-
66118
-
66119
- /* Built-in method references that are verified to be native. */
66120
- var Map = _getNative(_root, 'Map');
66121
-
66122
- /* harmony default export */ var _Map = (Map);
66123
-
66124
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_mapCacheClear.js
66125
-
66126
-
66127
-
66128
-
66129
- /**
66130
- * Removes all key-value entries from the map.
66131
- *
66132
- * @private
66133
- * @name clear
66134
- * @memberOf MapCache
66135
- */
66136
- function mapCacheClear() {
66137
- this.size = 0;
66138
- this.__data__ = {
66139
- 'hash': new _Hash,
66140
- 'map': new (_Map || _ListCache),
66141
- 'string': new _Hash
66142
- };
66143
- }
66144
-
66145
- /* harmony default export */ var _mapCacheClear = (mapCacheClear);
66146
-
66147
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_isKeyable.js
66148
- /**
66149
- * Checks if `value` is suitable for use as unique object key.
66150
- *
66151
- * @private
66152
- * @param {*} value The value to check.
66153
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
66154
- */
66155
- function isKeyable(value) {
66156
- var type = typeof value;
66157
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
66158
- ? (value !== '__proto__')
66159
- : (value === null);
66160
- }
66161
-
66162
- /* harmony default export */ var _isKeyable = (isKeyable);
66163
-
66164
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_getMapData.js
66165
-
66166
-
66167
- /**
66168
- * Gets the data for `map`.
66169
- *
66170
- * @private
66171
- * @param {Object} map The map to query.
66172
- * @param {string} key The reference key.
66173
- * @returns {*} Returns the map data.
66174
- */
66175
- function getMapData(map, key) {
66176
- var data = map.__data__;
66177
- return _isKeyable(key)
66178
- ? data[typeof key == 'string' ? 'string' : 'hash']
66179
- : data.map;
66180
- }
66181
-
66182
- /* harmony default export */ var _getMapData = (getMapData);
66183
-
66184
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_mapCacheDelete.js
66185
-
66186
-
66187
- /**
66188
- * Removes `key` and its value from the map.
66189
- *
66190
- * @private
66191
- * @name delete
66192
- * @memberOf MapCache
66193
- * @param {string} key The key of the value to remove.
66194
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
66195
- */
66196
- function mapCacheDelete(key) {
66197
- var result = _getMapData(this, key)['delete'](key);
66198
- this.size -= result ? 1 : 0;
66199
- return result;
66200
- }
66201
-
66202
- /* harmony default export */ var _mapCacheDelete = (mapCacheDelete);
66203
-
66204
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_mapCacheGet.js
66205
-
66206
-
66207
- /**
66208
- * Gets the map value for `key`.
66209
- *
66210
- * @private
66211
- * @name get
66212
- * @memberOf MapCache
66213
- * @param {string} key The key of the value to get.
66214
- * @returns {*} Returns the entry value.
66215
- */
66216
- function mapCacheGet(key) {
66217
- return _getMapData(this, key).get(key);
66218
- }
66219
-
66220
- /* harmony default export */ var _mapCacheGet = (mapCacheGet);
66221
-
66222
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_mapCacheHas.js
66223
-
66224
-
66225
- /**
66226
- * Checks if a map value for `key` exists.
66227
- *
66228
- * @private
66229
- * @name has
66230
- * @memberOf MapCache
66231
- * @param {string} key The key of the entry to check.
66232
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
66233
- */
66234
- function mapCacheHas(key) {
66235
- return _getMapData(this, key).has(key);
66236
- }
66237
-
66238
- /* harmony default export */ var _mapCacheHas = (mapCacheHas);
66239
-
66240
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_mapCacheSet.js
66241
-
66242
-
66243
- /**
66244
- * Sets the map `key` to `value`.
66245
- *
66246
- * @private
66247
- * @name set
66248
- * @memberOf MapCache
66249
- * @param {string} key The key of the value to set.
66250
- * @param {*} value The value to set.
66251
- * @returns {Object} Returns the map cache instance.
66252
- */
66253
- function mapCacheSet(key, value) {
66254
- var data = _getMapData(this, key),
66255
- size = data.size;
66256
-
66257
- data.set(key, value);
66258
- this.size += data.size == size ? 0 : 1;
66259
- return this;
66260
- }
66261
-
66262
- /* harmony default export */ var _mapCacheSet = (mapCacheSet);
66263
-
66264
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_MapCache.js
66265
-
66266
-
66267
-
66268
-
66269
-
66270
-
66271
- /**
66272
- * Creates a map cache object to store key-value pairs.
66273
- *
66274
- * @private
66275
- * @constructor
66276
- * @param {Array} [entries] The key-value pairs to cache.
66277
- */
66278
- function MapCache(entries) {
66279
- var index = -1,
66280
- length = entries == null ? 0 : entries.length;
66281
-
66282
- this.clear();
66283
- while (++index < length) {
66284
- var entry = entries[index];
66285
- this.set(entry[0], entry[1]);
66286
- }
66287
- }
66288
-
66289
- // Add methods to `MapCache`.
66290
- MapCache.prototype.clear = _mapCacheClear;
66291
- MapCache.prototype['delete'] = _mapCacheDelete;
66292
- MapCache.prototype.get = _mapCacheGet;
66293
- MapCache.prototype.has = _mapCacheHas;
66294
- MapCache.prototype.set = _mapCacheSet;
66295
-
66296
- /* harmony default export */ var _MapCache = (MapCache);
66297
-
66298
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_setCacheAdd.js
66299
- /** Used to stand-in for `undefined` hash values. */
66300
- var _setCacheAdd_HASH_UNDEFINED = '__lodash_hash_undefined__';
66301
-
66302
- /**
66303
- * Adds `value` to the array cache.
66304
- *
66305
- * @private
66306
- * @name add
66307
- * @memberOf SetCache
66308
- * @alias push
66309
- * @param {*} value The value to cache.
66310
- * @returns {Object} Returns the cache instance.
66311
- */
66312
- function setCacheAdd(value) {
66313
- this.__data__.set(value, _setCacheAdd_HASH_UNDEFINED);
66314
- return this;
66315
- }
66316
-
66317
- /* harmony default export */ var _setCacheAdd = (setCacheAdd);
66318
-
66319
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_setCacheHas.js
66320
- /**
66321
- * Checks if `value` is in the array cache.
66322
- *
66323
- * @private
66324
- * @name has
66325
- * @memberOf SetCache
66326
- * @param {*} value The value to search for.
66327
- * @returns {number} Returns `true` if `value` is found, else `false`.
66328
- */
66329
- function setCacheHas(value) {
66330
- return this.__data__.has(value);
66331
- }
66332
-
66333
- /* harmony default export */ var _setCacheHas = (setCacheHas);
66334
-
66335
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_SetCache.js
66336
-
66337
-
66338
-
66339
-
66340
- /**
66341
- *
66342
- * Creates an array cache object to store unique values.
66343
- *
66344
- * @private
66345
- * @constructor
66346
- * @param {Array} [values] The values to cache.
66347
- */
66348
- function SetCache(values) {
66349
- var index = -1,
66350
- length = values == null ? 0 : values.length;
66351
-
66352
- this.__data__ = new _MapCache;
66353
- while (++index < length) {
66354
- this.add(values[index]);
66355
- }
66356
- }
66357
-
66358
- // Add methods to `SetCache`.
66359
- SetCache.prototype.add = SetCache.prototype.push = _setCacheAdd;
66360
- SetCache.prototype.has = _setCacheHas;
66361
-
66362
- /* harmony default export */ var _SetCache = (SetCache);
66363
-
66364
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseFindIndex.js
66365
- /**
66366
- * The base implementation of `_.findIndex` and `_.findLastIndex` without
66367
- * support for iteratee shorthands.
66368
- *
66369
- * @private
66370
- * @param {Array} array The array to inspect.
66371
- * @param {Function} predicate The function invoked per iteration.
66372
- * @param {number} fromIndex The index to search from.
66373
- * @param {boolean} [fromRight] Specify iterating from right to left.
66374
- * @returns {number} Returns the index of the matched value, else `-1`.
66375
- */
66376
- function baseFindIndex(array, predicate, fromIndex, fromRight) {
66377
- var length = array.length,
66378
- index = fromIndex + (fromRight ? 1 : -1);
66379
-
66380
- while ((fromRight ? index-- : ++index < length)) {
66381
- if (predicate(array[index], index, array)) {
66382
- return index;
66383
- }
66384
- }
66385
- return -1;
66386
- }
66387
-
66388
- /* harmony default export */ var _baseFindIndex = (baseFindIndex);
66389
-
66390
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseIsNaN.js
66391
- /**
66392
- * The base implementation of `_.isNaN` without support for number objects.
66393
- *
66394
- * @private
66395
- * @param {*} value The value to check.
66396
- * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
66397
- */
66398
- function baseIsNaN(value) {
66399
- return value !== value;
66400
- }
66401
-
66402
- /* harmony default export */ var _baseIsNaN = (baseIsNaN);
66403
-
66404
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_strictIndexOf.js
66405
- /**
66406
- * A specialized version of `_.indexOf` which performs strict equality
66407
- * comparisons of values, i.e. `===`.
66408
- *
66409
- * @private
66410
- * @param {Array} array The array to inspect.
66411
- * @param {*} value The value to search for.
66412
- * @param {number} fromIndex The index to search from.
66413
- * @returns {number} Returns the index of the matched value, else `-1`.
66414
- */
66415
- function strictIndexOf(array, value, fromIndex) {
66416
- var index = fromIndex - 1,
66417
- length = array.length;
66418
-
66419
- while (++index < length) {
66420
- if (array[index] === value) {
66421
- return index;
66422
- }
66423
- }
66424
- return -1;
66425
- }
66426
-
66427
- /* harmony default export */ var _strictIndexOf = (strictIndexOf);
66428
-
66429
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseIndexOf.js
66430
-
66431
-
66432
-
66433
-
66434
- /**
66435
- * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
66436
- *
66437
- * @private
66438
- * @param {Array} array The array to inspect.
66439
- * @param {*} value The value to search for.
66440
- * @param {number} fromIndex The index to search from.
66441
- * @returns {number} Returns the index of the matched value, else `-1`.
66442
- */
66443
- function baseIndexOf(array, value, fromIndex) {
66444
- return value === value
66445
- ? _strictIndexOf(array, value, fromIndex)
66446
- : _baseFindIndex(array, _baseIsNaN, fromIndex);
66447
- }
66448
-
66449
- /* harmony default export */ var _baseIndexOf = (baseIndexOf);
66450
-
66451
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_arrayIncludes.js
66452
-
66453
-
66454
- /**
66455
- * A specialized version of `_.includes` for arrays without support for
66456
- * specifying an index to search from.
66457
- *
66458
- * @private
66459
- * @param {Array} [array] The array to inspect.
66460
- * @param {*} target The value to search for.
66461
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
66462
- */
66463
- function arrayIncludes(array, value) {
66464
- var length = array == null ? 0 : array.length;
66465
- return !!length && _baseIndexOf(array, value, 0) > -1;
66466
- }
66467
-
66468
- /* harmony default export */ var _arrayIncludes = (arrayIncludes);
66469
-
66470
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_arrayIncludesWith.js
66471
- /**
66472
- * This function is like `arrayIncludes` except that it accepts a comparator.
66473
- *
66474
- * @private
66475
- * @param {Array} [array] The array to inspect.
66476
- * @param {*} target The value to search for.
66477
- * @param {Function} comparator The comparator invoked per element.
66478
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
66479
- */
66480
- function arrayIncludesWith(array, value, comparator) {
66481
- var index = -1,
66482
- length = array == null ? 0 : array.length;
66483
-
66484
- while (++index < length) {
66485
- if (comparator(value, array[index])) {
66486
- return true;
66487
- }
66488
- }
66489
- return false;
66490
- }
66491
-
66492
- /* harmony default export */ var _arrayIncludesWith = (arrayIncludesWith);
66493
-
66494
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_arrayMap.js
66495
- /**
66496
- * A specialized version of `_.map` for arrays without support for iteratee
66497
- * shorthands.
66498
- *
66499
- * @private
66500
- * @param {Array} [array] The array to iterate over.
66501
- * @param {Function} iteratee The function invoked per iteration.
66502
- * @returns {Array} Returns the new mapped array.
66503
- */
66504
- function arrayMap(array, iteratee) {
66505
- var index = -1,
66506
- length = array == null ? 0 : array.length,
66507
- result = Array(length);
66508
-
66509
- while (++index < length) {
66510
- result[index] = iteratee(array[index], index, array);
66511
- }
66512
- return result;
66513
- }
66514
-
66515
- /* harmony default export */ var _arrayMap = (arrayMap);
66516
-
66517
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseUnary.js
66518
- /**
66519
- * The base implementation of `_.unary` without support for storing metadata.
66520
- *
66521
- * @private
66522
- * @param {Function} func The function to cap arguments for.
66523
- * @returns {Function} Returns the new capped function.
66524
- */
66525
- function baseUnary(func) {
66526
- return function(value) {
66527
- return func(value);
66528
- };
66529
- }
66530
-
66531
- /* harmony default export */ var _baseUnary = (baseUnary);
66532
-
66533
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_cacheHas.js
66534
- /**
66535
- * Checks if a `cache` value for `key` exists.
66536
- *
66537
- * @private
66538
- * @param {Object} cache The cache to query.
66539
- * @param {string} key The key of the entry to check.
66540
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
66541
- */
66542
- function cacheHas(cache, key) {
66543
- return cache.has(key);
66544
- }
66545
-
66546
- /* harmony default export */ var _cacheHas = (cacheHas);
66547
-
66548
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseDifference.js
66549
-
66550
-
66551
-
66552
-
66553
-
66554
-
66555
-
66556
- /** Used as the size to enable large array optimizations. */
66557
- var LARGE_ARRAY_SIZE = 200;
66558
-
66559
- /**
66560
- * The base implementation of methods like `_.difference` without support
66561
- * for excluding multiple arrays or iteratee shorthands.
66562
- *
66563
- * @private
66564
- * @param {Array} array The array to inspect.
66565
- * @param {Array} values The values to exclude.
66566
- * @param {Function} [iteratee] The iteratee invoked per element.
66567
- * @param {Function} [comparator] The comparator invoked per element.
66568
- * @returns {Array} Returns the new array of filtered values.
66569
- */
66570
- function baseDifference(array, values, iteratee, comparator) {
66571
- var index = -1,
66572
- includes = _arrayIncludes,
66573
- isCommon = true,
66574
- length = array.length,
66575
- result = [],
66576
- valuesLength = values.length;
66577
-
66578
- if (!length) {
66579
- return result;
66580
- }
66581
- if (iteratee) {
66582
- values = _arrayMap(values, _baseUnary(iteratee));
66583
- }
66584
- if (comparator) {
66585
- includes = _arrayIncludesWith;
66586
- isCommon = false;
66587
- }
66588
- else if (values.length >= LARGE_ARRAY_SIZE) {
66589
- includes = _cacheHas;
66590
- isCommon = false;
66591
- values = new _SetCache(values);
66592
- }
66593
- outer:
66594
- while (++index < length) {
66595
- var value = array[index],
66596
- computed = iteratee == null ? value : iteratee(value);
66597
-
66598
- value = (comparator || value !== 0) ? value : 0;
66599
- if (isCommon && computed === computed) {
66600
- var valuesIndex = valuesLength;
66601
- while (valuesIndex--) {
66602
- if (values[valuesIndex] === computed) {
66603
- continue outer;
66604
- }
66605
- }
66606
- result.push(value);
66607
- }
66608
- else if (!includes(values, computed, comparator)) {
66609
- result.push(value);
66610
- }
66611
- }
66612
- return result;
66613
- }
66614
-
66615
- /* harmony default export */ var _baseDifference = (baseDifference);
66616
-
66617
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/identity.js
66618
- /**
66619
- * This method returns the first argument it receives.
66620
- *
66621
- * @static
66622
- * @since 0.1.0
66623
- * @memberOf _
66624
- * @category Util
66625
- * @param {*} value Any value.
66626
- * @returns {*} Returns `value`.
66627
- * @example
66628
- *
66629
- * var object = { 'a': 1 };
66630
- *
66631
- * console.log(_.identity(object) === object);
66632
- * // => true
66633
- */
66634
- function identity(value) {
66635
- return value;
66636
- }
66637
-
66638
- /* harmony default export */ var lodash_es_identity = (identity);
66639
-
66640
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_apply.js
66641
- /**
66642
- * A faster alternative to `Function#apply`, this function invokes `func`
66643
- * with the `this` binding of `thisArg` and the arguments of `args`.
66644
- *
66645
- * @private
66646
- * @param {Function} func The function to invoke.
66647
- * @param {*} thisArg The `this` binding of `func`.
66648
- * @param {Array} args The arguments to invoke `func` with.
66649
- * @returns {*} Returns the result of `func`.
66650
- */
66651
- function apply(func, thisArg, args) {
66652
- switch (args.length) {
66653
- case 0: return func.call(thisArg);
66654
- case 1: return func.call(thisArg, args[0]);
66655
- case 2: return func.call(thisArg, args[0], args[1]);
66656
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
65113
+ };
65114
+ } else if (layout === 'horizontal') {
65115
+ overrideDefaultStyle = {
65116
+ 'marginTop': margin,
65117
+ 'marginBottom': margin
65118
+ };
65119
+ }
66657
65120
  }
66658
- return func.apply(thisArg, args);
66659
- }
66660
-
66661
- /* harmony default export */ var _apply = (apply);
66662
-
66663
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_overRest.js
66664
65121
 
65122
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", assign_default()({}, rest, {
65123
+ className: dividerClassNames,
65124
+ style: assign_default()(assign_default()({}, overrideDefaultStyle), style)
65125
+ }), children && layout === 'horizontal' ? typeof children === 'string' ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", {
65126
+ className: "".concat(divider_prefixCls, "-divider_inner-text")
65127
+ }, children) : children : null);
65128
+ };
66665
65129
 
66666
- /* Built-in method references for those with the same name as other `lodash` methods. */
66667
- var nativeMax = Math.max;
65130
+ /* harmony default export */ var divider_0 = (Divider);
65131
+ // CONCATENATED MODULE: ../semi-foundation/empty/constants.ts
66668
65132
 
66669
- /**
66670
- * A specialized version of `baseRest` which transforms the rest array.
66671
- *
66672
- * @private
66673
- * @param {Function} func The function to apply a rest parameter to.
66674
- * @param {number} [start=func.length-1] The start position of the rest parameter.
66675
- * @param {Function} transform The rest array transform.
66676
- * @returns {Function} Returns the new function.
66677
- */
66678
- function overRest(func, start, transform) {
66679
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
66680
- return function() {
66681
- var args = arguments,
66682
- index = -1,
66683
- length = nativeMax(args.length - start, 0),
66684
- array = Array(length);
65133
+ const empty_constants_cssClasses = {
65134
+ PREFIX: "".concat(BASE_CLASS_PREFIX, "-empty")
65135
+ };
65136
+ const empty_constants_strings = {
65137
+ LAYOUT: ['vertical', 'horizontal']
65138
+ };
66685
65139
 
66686
- while (++index < length) {
66687
- array[index] = args[start + index];
66688
- }
66689
- index = -1;
66690
- var otherArgs = Array(start + 1);
66691
- while (++index < start) {
66692
- otherArgs[index] = args[index];
66693
- }
66694
- otherArgs[start] = transform(array);
66695
- return _apply(func, this, otherArgs);
66696
- };
66697
- }
65140
+ // EXTERNAL MODULE: ../semi-foundation/empty/empty.scss
65141
+ var empty_empty = __webpack_require__("UO4o");
66698
65142
 
66699
- /* harmony default export */ var _overRest = (overRest);
65143
+ // CONCATENATED MODULE: ./empty/index.tsx
66700
65144
 
66701
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/constant.js
66702
- /**
66703
- * Creates a function that returns `value`.
66704
- *
66705
- * @static
66706
- * @memberOf _
66707
- * @since 2.4.0
66708
- * @category Util
66709
- * @param {*} value The value to return from the new function.
66710
- * @returns {Function} Returns the new constant function.
66711
- * @example
66712
- *
66713
- * var objects = _.times(2, _.constant({ 'a': 1 }));
66714
- *
66715
- * console.log(objects);
66716
- * // => [{ 'a': 1 }, { 'a': 1 }]
66717
- *
66718
- * console.log(objects[0] === objects[1]);
66719
- * // => true
66720
- */
66721
- function constant(value) {
66722
- return function() {
66723
- return value;
66724
- };
66725
- }
66726
65145
 
66727
- /* harmony default export */ var lodash_es_constant = (constant);
66728
65146
 
66729
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_defineProperty.js
66730
65147
 
66731
65148
 
66732
- var defineProperty = (function() {
66733
- try {
66734
- var func = _getNative(Object, 'defineProperty');
66735
- func({}, '', {});
66736
- return func;
66737
- } catch (e) {}
66738
- }());
66739
65149
 
66740
- /* harmony default export */ var _defineProperty = (defineProperty);
66741
65150
 
66742
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseSetToString.js
66743
65151
 
65152
+ const empty_prefixCls = empty_constants_cssClasses.PREFIX;
65153
+ class empty_Empty extends baseComponent_BaseComponent {
65154
+ constructor(props) {
65155
+ super(props);
66744
65156
 
65157
+ this.observe = mutationsList => {
65158
+ for (const mutation of mutationsList) {
65159
+ if (mutation.type === 'attributes' && mutation.attributeName === 'theme-mode') {
65160
+ this.updateMode();
65161
+ }
65162
+ }
65163
+ };
66745
65164
 
65165
+ this.updateMode = () => {
65166
+ const val = this.body.getAttribute('theme-mode');
66746
65167
 
66747
- /**
66748
- * The base implementation of `setToString` without support for hot loop shorting.
66749
- *
66750
- * @private
66751
- * @param {Function} func The function to modify.
66752
- * @param {Function} string The `toString` result.
66753
- * @returns {Function} Returns `func`.
66754
- */
66755
- var baseSetToString = !_defineProperty ? lodash_es_identity : function(func, string) {
66756
- return _defineProperty(func, 'toString', {
66757
- 'configurable': true,
66758
- 'enumerable': false,
66759
- 'value': lodash_es_constant(string),
66760
- 'writable': true
66761
- });
66762
- };
65168
+ if (val !== this.state.mode) {
65169
+ this.setState({
65170
+ mode: val
65171
+ });
65172
+ }
65173
+ };
66763
65174
 
66764
- /* harmony default export */ var _baseSetToString = (baseSetToString);
65175
+ this.state = {
65176
+ mode: null
65177
+ };
65178
+ }
66765
65179
 
66766
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_shortOut.js
66767
- /** Used to detect hot functions by number of calls within a span of milliseconds. */
66768
- var HOT_COUNT = 800,
66769
- HOT_SPAN = 16;
65180
+ componentDidMount() {
65181
+ if (this.props.darkModeImage) {
65182
+ this.body = window.document.body;
65183
+ this.updateMode();
65184
+ const config = {
65185
+ attributes: true,
65186
+ childList: false,
65187
+ subtree: false
65188
+ };
65189
+ this.observer = new MutationObserver(this.observe);
65190
+ this.observer.observe(this.body, config);
65191
+ }
65192
+ }
66770
65193
 
66771
- /* Built-in method references for those with the same name as other `lodash` methods. */
66772
- var nativeNow = Date.now;
65194
+ componentWillUnmount() {
65195
+ this.observer && this.observer.disconnect();
65196
+ }
66773
65197
 
66774
- /**
66775
- * Creates a function that'll short out and invoke `identity` instead
66776
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
66777
- * milliseconds.
66778
- *
66779
- * @private
66780
- * @param {Function} func The function to restrict.
66781
- * @returns {Function} Returns the new shortable function.
66782
- */
66783
- function shortOut(func) {
66784
- var count = 0,
66785
- lastCalled = 0;
65198
+ render() {
65199
+ var _context;
66786
65200
 
66787
- return function() {
66788
- var stamp = nativeNow(),
66789
- remaining = HOT_SPAN - (stamp - lastCalled);
65201
+ const {
65202
+ className,
65203
+ image,
65204
+ description,
65205
+ style,
65206
+ title,
65207
+ imageStyle,
65208
+ children,
65209
+ layout,
65210
+ darkModeImage
65211
+ } = this.props;
65212
+ const alt = typeof description === 'string' ? description : 'empty';
65213
+ const imgSrc = this.state.mode && darkModeImage ? darkModeImage : image;
65214
+ let imageNode = null;
66790
65215
 
66791
- lastCalled = stamp;
66792
- if (remaining > 0) {
66793
- if (++count >= HOT_COUNT) {
66794
- return arguments[0];
66795
- }
65216
+ if (typeof imgSrc === 'string') {
65217
+ imageNode = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("img", {
65218
+ alt: alt,
65219
+ src: imgSrc
65220
+ });
65221
+ } else if (imgSrc && 'id' in imgSrc) {
65222
+ imageNode = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("svg", {
65223
+ "aria-hidden": "true"
65224
+ }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("use", {
65225
+ xlinkHref: "#".concat(imgSrc.id)
65226
+ }));
66796
65227
  } else {
66797
- count = 0;
65228
+ imageNode = imgSrc;
66798
65229
  }
66799
- return func.apply(undefined, arguments);
66800
- };
65230
+
65231
+ const wrapperCls = classnames_default()(className, empty_prefixCls, {
65232
+ [concat_default()(_context = "".concat(empty_prefixCls, "-")).call(_context, layout)]: layout
65233
+ });
65234
+ const titleProps = imageNode ? {
65235
+ heading: 4
65236
+ } : {
65237
+ heading: 6,
65238
+ style: {
65239
+ fontWeight: 400
65240
+ }
65241
+ };
65242
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65243
+ className: wrapperCls,
65244
+ style: style
65245
+ }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65246
+ className: "".concat(empty_prefixCls, "-image"),
65247
+ style: imageStyle
65248
+ }, imageNode), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65249
+ className: "".concat(empty_prefixCls, "-content")
65250
+ }, title ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(typography_0.Title, assign_default()({}, titleProps, {
65251
+ className: "".concat(empty_prefixCls, "-title")
65252
+ }), title) : null, description ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65253
+ className: "".concat(empty_prefixCls, "-description")
65254
+ }, description) : null, children ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65255
+ className: "".concat(empty_prefixCls, "-footer")
65256
+ }, children) : null));
65257
+ }
65258
+
66801
65259
  }
65260
+ empty_Empty.defaultProps = {
65261
+ layout: 'vertical'
65262
+ };
65263
+ // EXTERNAL MODULE: ../semi-foundation/modal/modal.scss
65264
+ var modal_modal = __webpack_require__("CbLw");
66802
65265
 
66803
- /* harmony default export */ var _shortOut = (shortOut);
65266
+ // EXTERNAL MODULE: /home/runner/work/semi-design/semi-design/node_modules/@babel/runtime-corejs3/core-js/global-this.js
65267
+ var global_this = __webpack_require__("re6r");
65268
+ var global_this_default = /*#__PURE__*/__webpack_require__.n(global_this);
66804
65269
 
66805
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_setToString.js
65270
+ // CONCATENATED MODULE: ../semi-foundation/modal/constants.ts
66806
65271
 
65272
+ const modal_constants_cssClasses = {
65273
+ DIALOG: "".concat(BASE_CLASS_PREFIX, "-modal")
65274
+ };
65275
+ const modal_constants_strings = {
65276
+ cancelKey: 'cancel',
65277
+ confirmKey: 'confirm',
65278
+ SIZE: ['small', 'medium', 'large', 'full-width'],
65279
+ directions: ['ltr', 'rtl']
65280
+ };
66807
65281
 
65282
+ // CONCATENATED MODULE: ../semi-foundation/modal/modalFoundation.ts
66808
65283
 
66809
- /**
66810
- * Sets the `toString` method of `func` to return `string`.
66811
- *
66812
- * @private
66813
- * @param {Function} func The function to modify.
66814
- * @param {Function} string The `toString` result.
66815
- * @returns {Function} Returns `func`.
66816
- */
66817
- var setToString = _shortOut(_baseSetToString);
66818
65284
 
66819
- /* harmony default export */ var _setToString = (setToString);
65285
+ class modalFoundation_ModalFoundation extends foundation {
65286
+ constructor(adapter) {
65287
+ super(assign_default()({}, adapter));
66820
65288
 
66821
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/_baseRest.js
65289
+ this.toggleHidden = (hidden, callback) => {
65290
+ this._adapter.toggleHidden(hidden, callback);
65291
+ };
65292
+ }
66822
65293
 
65294
+ destroy() {
65295
+ this.afterHide();
65296
+ }
66823
65297
 
65298
+ handleCancel(e) {
65299
+ this._adapter.notifyCancel(e);
65300
+ }
66824
65301
 
65302
+ handleOk(e) {
65303
+ this._adapter.notifyOk(e);
65304
+ }
66825
65305
 
66826
- /**
66827
- * The base implementation of `_.rest` which doesn't validate or coerce arguments.
66828
- *
66829
- * @private
66830
- * @param {Function} func The function to apply a rest parameter to.
66831
- * @param {number} [start=func.length-1] The start position of the rest parameter.
66832
- * @returns {Function} Returns the new function.
66833
- */
66834
- function baseRest(func, start) {
66835
- return _setToString(_overRest(func, start, lodash_es_identity), func + '');
66836
- }
65306
+ beforeShow() {
65307
+ this._adapter.disabledBodyScroll();
65308
+ }
66837
65309
 
66838
- /* harmony default export */ var _baseRest = (baseRest);
65310
+ afterHide() {
65311
+ this._adapter.enabledBodyScroll();
65312
+ }
66839
65313
 
66840
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/isLength.js
66841
- /** Used as references for various `Number` constants. */
66842
- var MAX_SAFE_INTEGER = 9007199254740991;
65314
+ afterClose() {
65315
+ this._adapter.notifyClose();
65316
+ }
66843
65317
 
66844
- /**
66845
- * Checks if `value` is a valid array-like length.
66846
- *
66847
- * **Note:** This method is loosely based on
66848
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
66849
- *
66850
- * @static
66851
- * @memberOf _
66852
- * @since 4.0.0
66853
- * @category Lang
66854
- * @param {*} value The value to check.
66855
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
66856
- * @example
66857
- *
66858
- * _.isLength(3);
66859
- * // => true
66860
- *
66861
- * _.isLength(Number.MIN_VALUE);
66862
- * // => false
66863
- *
66864
- * _.isLength(Infinity);
66865
- * // => false
66866
- *
66867
- * _.isLength('3');
66868
- * // => false
66869
- */
66870
- function isLength(value) {
66871
- return typeof value == 'number' &&
66872
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
66873
65318
  }
65319
+ // CONCATENATED MODULE: ../semi-foundation/modal/modalContentFoundation.ts
66874
65320
 
66875
- /* harmony default export */ var lodash_es_isLength = (isLength);
66876
-
66877
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/isArrayLike.js
66878
65321
 
66879
65322
 
65323
+ class modalContentFoundation_ModalContentFoundation extends foundation {
65324
+ constructor(adapter) {
65325
+ super(assign_default()(assign_default()({}, modalContentFoundation_ModalContentFoundation.defaultAdapter), adapter));
65326
+ }
66880
65327
 
66881
- /**
66882
- * Checks if `value` is array-like. A value is considered array-like if it's
66883
- * not a function and has a `value.length` that's an integer greater than or
66884
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
66885
- *
66886
- * @static
66887
- * @memberOf _
66888
- * @since 4.0.0
66889
- * @category Lang
66890
- * @param {*} value The value to check.
66891
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
66892
- * @example
66893
- *
66894
- * _.isArrayLike([1, 2, 3]);
66895
- * // => true
66896
- *
66897
- * _.isArrayLike(document.body.children);
66898
- * // => true
66899
- *
66900
- * _.isArrayLike('abc');
66901
- * // => true
66902
- *
66903
- * _.isArrayLike(_.noop);
66904
- * // => false
66905
- */
66906
- function isArrayLike(value) {
66907
- return value != null && lodash_es_isLength(value.length) && !lodash_es_isFunction(value);
66908
- }
65328
+ destroy() {
65329
+ this.handleKeyDownEventListenerUnmount();
65330
+ this.modalDialogBlur();
65331
+ this.prevFocusElementReFocus();
65332
+ }
66909
65333
 
66910
- /* harmony default export */ var lodash_es_isArrayLike = (isArrayLike);
65334
+ handleDialogMouseDown() {
65335
+ this._adapter.notifyDialogMouseDown();
65336
+ }
66911
65337
 
66912
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/isObjectLike.js
66913
- /**
66914
- * Checks if `value` is object-like. A value is object-like if it's not `null`
66915
- * and has a `typeof` result of "object".
66916
- *
66917
- * @static
66918
- * @memberOf _
66919
- * @since 4.0.0
66920
- * @category Lang
66921
- * @param {*} value The value to check.
66922
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
66923
- * @example
66924
- *
66925
- * _.isObjectLike({});
66926
- * // => true
66927
- *
66928
- * _.isObjectLike([1, 2, 3]);
66929
- * // => true
66930
- *
66931
- * _.isObjectLike(_.noop);
66932
- * // => false
66933
- *
66934
- * _.isObjectLike(null);
66935
- * // => false
66936
- */
66937
- function isObjectLike(value) {
66938
- return value != null && typeof value == 'object';
66939
- }
65338
+ handleMaskMouseUp() {
65339
+ this._adapter.notifyDialogMouseUp();
65340
+ }
66940
65341
 
66941
- /* harmony default export */ var lodash_es_isObjectLike = (isObjectLike);
65342
+ handleKeyDown(e) {
65343
+ const {
65344
+ closeOnEsc
65345
+ } = this.getProps();
66942
65346
 
66943
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/isArrayLikeObject.js
65347
+ if (closeOnEsc && e.keyCode === utils_keyCode.ESC) {
65348
+ e.stopPropagation();
65349
+ this.close(e);
65350
+ return;
65351
+ }
65352
+ }
66944
65353
 
65354
+ handleKeyDownEventListenerMount() {
65355
+ this._adapter.addKeyDownEventListener();
65356
+ }
66945
65357
 
65358
+ handleKeyDownEventListenerUnmount() {
65359
+ this._adapter.removeKeyDownEventListener();
65360
+ }
66946
65361
 
66947
- /**
66948
- * This method is like `_.isArrayLike` except that it also checks if `value`
66949
- * is an object.
66950
- *
66951
- * @static
66952
- * @memberOf _
66953
- * @since 4.0.0
66954
- * @category Lang
66955
- * @param {*} value The value to check.
66956
- * @returns {boolean} Returns `true` if `value` is an array-like object,
66957
- * else `false`.
66958
- * @example
66959
- *
66960
- * _.isArrayLikeObject([1, 2, 3]);
66961
- * // => true
66962
- *
66963
- * _.isArrayLikeObject(document.body.children);
66964
- * // => true
66965
- *
66966
- * _.isArrayLikeObject('abc');
66967
- * // => false
66968
- *
66969
- * _.isArrayLikeObject(_.noop);
66970
- * // => false
66971
- */
66972
- function isArrayLikeObject(value) {
66973
- return lodash_es_isObjectLike(value) && lodash_es_isArrayLike(value);
66974
- }
65362
+ getMouseState() {
65363
+ this._adapter.getMouseState();
65364
+ }
66975
65365
 
66976
- /* harmony default export */ var lodash_es_isArrayLikeObject = (isArrayLikeObject);
65366
+ handleMaskClick(e) {
65367
+ const {
65368
+ dialogMouseDown
65369
+ } = this.getStates();
66977
65370
 
66978
- // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash-es/without.js
65371
+ if (e.target === e.currentTarget && !dialogMouseDown) {
65372
+ this.close(e);
65373
+ }
65374
+ }
66979
65375
 
65376
+ close(e) {
65377
+ this._adapter.notifyClose(e);
65378
+ }
66980
65379
 
65380
+ modalDialogFocus() {
65381
+ this._adapter.modalDialogFocus();
65382
+ }
66981
65383
 
65384
+ modalDialogBlur() {
65385
+ this._adapter.modalDialogBlur();
65386
+ }
66982
65387
 
66983
- /**
66984
- * Creates an array excluding all given values using
66985
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
66986
- * for equality comparisons.
66987
- *
66988
- * **Note:** Unlike `_.pull`, this method returns a new array.
66989
- *
66990
- * @static
66991
- * @memberOf _
66992
- * @since 0.1.0
66993
- * @category Array
66994
- * @param {Array} array The array to inspect.
66995
- * @param {...*} [values] The values to exclude.
66996
- * @returns {Array} Returns the new array of filtered values.
66997
- * @see _.difference, _.xor
66998
- * @example
66999
- *
67000
- * _.without([2, 1, 2, 3], 1, 2);
67001
- * // => [3]
67002
- */
67003
- var without = _baseRest(function(array, values) {
67004
- return lodash_es_isArrayLikeObject(array)
67005
- ? _baseDifference(array, values)
67006
- : [];
67007
- });
65388
+ prevFocusElementReFocus() {
65389
+ this._adapter.prevFocusElementReFocus();
65390
+ }
67008
65391
 
67009
- /* harmony default export */ var lodash_es_without = (without);
65392
+ }
65393
+ // EXTERNAL MODULE: /home/runner/work/semi-design/semi-design/node_modules/lodash/without.js
65394
+ var without = __webpack_require__("uUTq");
65395
+ var without_default = /*#__PURE__*/__webpack_require__.n(without);
67010
65396
 
67011
65397
  // EXTERNAL MODULE: /home/runner/work/semi-design/semi-design/node_modules/@babel/runtime-corejs3/core-js-stable/object/freeze.js
67012
65398
  var freeze = __webpack_require__("p7I/");
@@ -67046,7 +65432,7 @@ class FocusHandle_FocusTrapHandle {
67046
65432
  };
67047
65433
 
67048
65434
  this.removeFocusRedirectListener = listener => {
67049
- this.focusRedirectListenerList = lodash_es_without(this.focusRedirectListenerList, listener);
65435
+ this.focusRedirectListenerList = without_default()(this.focusRedirectListenerList, listener);
67050
65436
  };
67051
65437
 
67052
65438
  this.destroy = () => {
@@ -102026,13 +100412,13 @@ var core_js_stable_url = __webpack_require__("QjT4");
102026
100412
  var url_default = /*#__PURE__*/__webpack_require__.n(core_js_stable_url);
102027
100413
 
102028
100414
  // CONCATENATED MODULE: ../semi-foundation/utils/isObject.ts
102029
- function utils_isObject_isObject(obj) {
100415
+ function isObject_isObject(obj) {
102030
100416
  return obj !== null && typeof obj === 'object';
102031
100417
  }
102032
100418
  // CONCATENATED MODULE: ../semi-foundation/utils/isPromise.ts
102033
100419
 
102034
100420
  function isPromise(value) {
102035
- return utils_isObject_isObject(value) && typeof value.then === 'function';
100421
+ return isObject_isObject(value) && typeof value.then === 'function';
102036
100422
  }
102037
100423
  // CONCATENATED MODULE: ../semi-foundation/upload/constants.ts
102038
100424
 
@@ -104559,7 +102945,7 @@ function _slicedToArray(arr, i) {
104559
102945
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
104560
102946
  }
104561
102947
  // CONCATENATED MODULE: /home/runner/work/semi-design/semi-design/node_modules/@babel/runtime/helpers/esm/defineProperty.js
104562
- function defineProperty_defineProperty(obj, key, value) {
102948
+ function _defineProperty(obj, key, value) {
104563
102949
  if (key in obj) {
104564
102950
  Object.defineProperty(obj, key, {
104565
102951
  value: value,
@@ -104587,7 +102973,7 @@ function _objectSpread(target) {
104587
102973
  }
104588
102974
 
104589
102975
  ownKeys.forEach(function (key) {
104590
- defineProperty_defineProperty(target, key, source[key]);
102976
+ _defineProperty(target, key, source[key]);
104591
102977
  });
104592
102978
  }
104593
102979
 
@@ -104716,7 +103102,7 @@ var react_sortable_hoc_esm_Manager = function () {
104716
103102
  function Manager() {
104717
103103
  _classCallCheck(this, Manager);
104718
103104
 
104719
- defineProperty_defineProperty(this, "refs", {});
103105
+ _defineProperty(this, "refs", {});
104720
103106
  }
104721
103107
 
104722
103108
  _createClass(Manager, [{
@@ -105063,7 +103449,7 @@ function sortableHandle(WrappedComponent) {
105063
103449
 
105064
103450
  _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(WithSortableHandle)).call.apply(_getPrototypeOf2, [this].concat(args)));
105065
103451
 
105066
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "wrappedInstance", Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["createRef"])());
103452
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "wrappedInstance", Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["createRef"])());
105067
103453
 
105068
103454
  return _this;
105069
103455
  }
@@ -105091,7 +103477,7 @@ function sortableHandle(WrappedComponent) {
105091
103477
  }]);
105092
103478
 
105093
103479
  return WithSortableHandle;
105094
- }(external_root_React_commonjs2_react_commonjs_react_amd_react_["Component"]), defineProperty_defineProperty(_class, "displayName", provideDisplayName('sortableHandle', WrappedComponent)), _temp;
103480
+ }(external_root_React_commonjs2_react_commonjs_react_amd_react_["Component"]), _defineProperty(_class, "displayName", provideDisplayName('sortableHandle', WrappedComponent)), _temp;
105095
103481
  }
105096
103482
  function isSortableHandle(node) {
105097
103483
  return node.sortableHandle != null;
@@ -105303,9 +103689,9 @@ function sortableContainer(WrappedComponent) {
105303
103689
 
105304
103690
  _this = _possibleConstructorReturn(this, _getPrototypeOf(WithSortableContainer).call(this, props));
105305
103691
 
105306
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "state", {});
103692
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "state", {});
105307
103693
 
105308
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleStart", function (event) {
103694
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleStart", function (event) {
105309
103695
  var _this$props = _this.props,
105310
103696
  distance = _this$props.distance,
105311
103697
  shouldCancelStart = _this$props.shouldCancelStart;
@@ -105356,11 +103742,11 @@ function sortableContainer(WrappedComponent) {
105356
103742
  }
105357
103743
  });
105358
103744
 
105359
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "nodeIsChild", function (node) {
103745
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "nodeIsChild", function (node) {
105360
103746
  return node.sortableInfo.manager === _this.manager;
105361
103747
  });
105362
103748
 
105363
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleMove", function (event) {
103749
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleMove", function (event) {
105364
103750
  var _this$props2 = _this.props,
105365
103751
  distance = _this$props2.distance,
105366
103752
  pressThreshold = _this$props2.pressThreshold;
@@ -105383,13 +103769,13 @@ function sortableContainer(WrappedComponent) {
105383
103769
  }
105384
103770
  });
105385
103771
 
105386
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleEnd", function () {
103772
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleEnd", function () {
105387
103773
  _this.touched = false;
105388
103774
 
105389
103775
  _this.cancel();
105390
103776
  });
105391
103777
 
105392
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "cancel", function () {
103778
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "cancel", function () {
105393
103779
  var distance = _this.props.distance;
105394
103780
  var sorting = _this.state.sorting;
105395
103781
 
@@ -105402,7 +103788,7 @@ function sortableContainer(WrappedComponent) {
105402
103788
  }
105403
103789
  });
105404
103790
 
105405
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handlePress", function (event) {
103791
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handlePress", function (event) {
105406
103792
  try {
105407
103793
  var active = _this.manager.getActive();
105408
103794
 
@@ -105607,7 +103993,7 @@ function sortableContainer(WrappedComponent) {
105607
103993
  }
105608
103994
  });
105609
103995
 
105610
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleSortMove", function (event) {
103996
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleSortMove", function (event) {
105611
103997
  var onSortMove = _this.props.onSortMove;
105612
103998
 
105613
103999
  if (typeof event.preventDefault === 'function' && event.cancelable) {
@@ -105625,7 +104011,7 @@ function sortableContainer(WrappedComponent) {
105625
104011
  }
105626
104012
  });
105627
104013
 
105628
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleSortEnd", function (event) {
104014
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleSortEnd", function (event) {
105629
104015
  var _this$props4 = _this.props,
105630
104016
  hideSortableGhost = _this$props4.hideSortableGhost,
105631
104017
  onSortEnd = _this$props4.onSortEnd;
@@ -105694,7 +104080,7 @@ function sortableContainer(WrappedComponent) {
105694
104080
  _this.touched = false;
105695
104081
  });
105696
104082
 
105697
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "autoscroll", function () {
104083
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "autoscroll", function () {
105698
104084
  var disableAutoscroll = _this.props.disableAutoscroll;
105699
104085
  var isKeySorting = _this.manager.isKeySorting;
105700
104086
 
@@ -105736,14 +104122,14 @@ function sortableContainer(WrappedComponent) {
105736
104122
  });
105737
104123
  });
105738
104124
 
105739
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "onAutoScroll", function (offset) {
104125
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "onAutoScroll", function (offset) {
105740
104126
  _this.translate.x += offset.left;
105741
104127
  _this.translate.y += offset.top;
105742
104128
 
105743
104129
  _this.animateNodes();
105744
104130
  });
105745
104131
 
105746
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleKeyDown", function (event) {
104132
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleKeyDown", function (event) {
105747
104133
  var keyCode = event.keyCode;
105748
104134
  var _this$props5 = _this.props,
105749
104135
  shouldCancelStart = _this$props5.shouldCancelStart,
@@ -105774,7 +104160,7 @@ function sortableContainer(WrappedComponent) {
105774
104160
  }
105775
104161
  });
105776
104162
 
105777
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "keyLift", function (event) {
104163
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "keyLift", function (event) {
105778
104164
  var target = event.target;
105779
104165
  var node = closest(target, function (el) {
105780
104166
  return el.sortableInfo != null;
@@ -105792,7 +104178,7 @@ function sortableContainer(WrappedComponent) {
105792
104178
  _this.handlePress(event);
105793
104179
  });
105794
104180
 
105795
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "keyMove", function (shift) {
104181
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "keyMove", function (shift) {
105796
104182
  var nodes = _this.manager.getOrderedRefs();
105797
104183
 
105798
104184
  var lastIndex = nodes[nodes.length - 1].node.sortableInfo.index;
@@ -105834,7 +104220,7 @@ function sortableContainer(WrappedComponent) {
105834
104220
  });
105835
104221
  });
105836
104222
 
105837
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "keyDrop", function (event) {
104223
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "keyDrop", function (event) {
105838
104224
  _this.handleSortEnd(event);
105839
104225
 
105840
104226
  if (_this.initialFocusedNode) {
@@ -105842,13 +104228,13 @@ function sortableContainer(WrappedComponent) {
105842
104228
  }
105843
104229
  });
105844
104230
 
105845
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleKeyEnd", function (event) {
104231
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleKeyEnd", function (event) {
105846
104232
  if (_this.manager.active) {
105847
104233
  _this.keyDrop(event);
105848
104234
  }
105849
104235
  });
105850
104236
 
105851
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "isValidSortingTarget", function (event) {
104237
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "isValidSortingTarget", function (event) {
105852
104238
  var useDragHandle = _this.props.useDragHandle;
105853
104239
  var target = event.target;
105854
104240
  var node = closest(target, function (el) {
@@ -106185,7 +104571,7 @@ function sortableContainer(WrappedComponent) {
106185
104571
  }]);
106186
104572
 
106187
104573
  return WithSortableContainer;
106188
- }(external_root_React_commonjs2_react_commonjs_react_amd_react_["Component"]), defineProperty_defineProperty(_class, "displayName", provideDisplayName('sortableList', WrappedComponent)), defineProperty_defineProperty(_class, "defaultProps", react_sortable_hoc_esm_defaultProps), defineProperty_defineProperty(_class, "propTypes", propTypes), _temp;
104574
+ }(external_root_React_commonjs2_react_commonjs_react_amd_react_["Component"]), _defineProperty(_class, "displayName", provideDisplayName('sortableList', WrappedComponent)), _defineProperty(_class, "defaultProps", react_sortable_hoc_esm_defaultProps), _defineProperty(_class, "propTypes", propTypes), _temp;
106189
104575
  }
106190
104576
 
106191
104577
  var propTypes$1 = {
@@ -106216,7 +104602,7 @@ function sortableElement(WrappedComponent) {
106216
104602
 
106217
104603
  _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(WithSortableElement)).call.apply(_getPrototypeOf2, [this].concat(args)));
106218
104604
 
106219
- defineProperty_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "wrappedInstance", Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["createRef"])());
104605
+ _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "wrappedInstance", Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["createRef"])());
106220
104606
 
106221
104607
  return _this;
106222
104608
  }
@@ -106292,7 +104678,7 @@ function sortableElement(WrappedComponent) {
106292
104678
  }]);
106293
104679
 
106294
104680
  return WithSortableElement;
106295
- }(external_root_React_commonjs2_react_commonjs_react_amd_react_["Component"]), defineProperty_defineProperty(_class, "displayName", provideDisplayName('sortableElement', WrappedComponent)), defineProperty_defineProperty(_class, "contextType", SortableContext), defineProperty_defineProperty(_class, "propTypes", propTypes$1), defineProperty_defineProperty(_class, "defaultProps", {
104681
+ }(external_root_React_commonjs2_react_commonjs_react_amd_react_["Component"]), _defineProperty(_class, "displayName", provideDisplayName('sortableElement', WrappedComponent)), _defineProperty(_class, "contextType", SortableContext), _defineProperty(_class, "propTypes", propTypes$1), _defineProperty(_class, "defaultProps", {
106296
104682
  collection: 0
106297
104683
  }), _temp;
106298
104684
  }
@@ -111848,6 +110234,44 @@ $({ target: 'Date', stat: true }, {
111848
110234
  });
111849
110235
 
111850
110236
 
110237
+ /***/ }),
110238
+
110239
+ /***/ "uUTq":
110240
+ /***/ (function(module, exports, __webpack_require__) {
110241
+
110242
+ var baseDifference = __webpack_require__("X+YX"),
110243
+ baseRest = __webpack_require__("R3TX"),
110244
+ isArrayLikeObject = __webpack_require__("Ndl3");
110245
+
110246
+ /**
110247
+ * Creates an array excluding all given values using
110248
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
110249
+ * for equality comparisons.
110250
+ *
110251
+ * **Note:** Unlike `_.pull`, this method returns a new array.
110252
+ *
110253
+ * @static
110254
+ * @memberOf _
110255
+ * @since 0.1.0
110256
+ * @category Array
110257
+ * @param {Array} array The array to inspect.
110258
+ * @param {...*} [values] The values to exclude.
110259
+ * @returns {Array} Returns the new array of filtered values.
110260
+ * @see _.difference, _.xor
110261
+ * @example
110262
+ *
110263
+ * _.without([2, 1, 2, 3], 1, 2);
110264
+ * // => [3]
110265
+ */
110266
+ var without = baseRest(function(array, values) {
110267
+ return isArrayLikeObject(array)
110268
+ ? baseDifference(array, values)
110269
+ : [];
110270
+ });
110271
+
110272
+ module.exports = without;
110273
+
110274
+
111851
110275
  /***/ }),
111852
110276
 
111853
110277
  /***/ "uZih":