@jobber/components 6.11.0 → 6.11.2

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.
Files changed (58) hide show
  1. package/dist/Autocomplete/index.cjs +2 -11
  2. package/dist/Autocomplete/index.mjs +2 -11
  3. package/dist/Autocomplete-cjs.js +2 -2
  4. package/dist/Autocomplete-es.js +1 -1
  5. package/dist/Chips/InternalChipDismissible/hooks/index.cjs +2 -2
  6. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +2 -2
  7. package/dist/Chips/InternalChipDismissible/index.cjs +2 -2
  8. package/dist/Chips/InternalChipDismissible/index.mjs +2 -2
  9. package/dist/Chips/index.cjs +2 -2
  10. package/dist/Chips/index.mjs +2 -2
  11. package/dist/DataList/DataList.types.d.ts +1 -1
  12. package/dist/DataList/components/DataListSearch/index.cjs +1 -10
  13. package/dist/DataList/components/DataListSearch/index.mjs +1 -10
  14. package/dist/DataList/index.cjs +1 -8
  15. package/dist/DataList/index.mjs +1 -8
  16. package/dist/DataListSearch-cjs.js +2 -2
  17. package/dist/DataListSearch-es.js +1 -1
  18. package/dist/DataListTotalCount-cjs.js +3 -1
  19. package/dist/DataListTotalCount-es.js +3 -1
  20. package/dist/DatePicker/index.cjs +2 -3
  21. package/dist/DatePicker/index.mjs +2 -3
  22. package/dist/DatePicker-cjs.js +781 -2
  23. package/dist/DatePicker-es.js +781 -3
  24. package/dist/FormField/FormFieldTypes.d.ts +3 -3
  25. package/dist/FormField/hooks/useFormFieldWrapperStyles.d.ts +3 -3
  26. package/dist/FormField-cjs.js +2 -5
  27. package/dist/FormField-es.js +3 -3
  28. package/dist/InputDate/index.cjs +15 -16
  29. package/dist/InputDate/index.mjs +15 -16
  30. package/dist/InputDate-cjs.js +2 -3
  31. package/dist/InputDate-es.js +1 -2
  32. package/dist/InputText/InputText.d.ts +20 -10
  33. package/dist/InputText/index.cjs +8 -263
  34. package/dist/InputText/index.d.ts +1 -5
  35. package/dist/InputText/index.mjs +7 -266
  36. package/dist/InputText-cjs.js +129 -0
  37. package/dist/InputText-es.js +127 -0
  38. package/dist/List/index.cjs +2 -2
  39. package/dist/List/index.mjs +2 -2
  40. package/dist/_baseEach-cjs.js +12 -12
  41. package/dist/_baseEach-es.js +2 -2
  42. package/dist/_baseFlatten-cjs.js +2 -2
  43. package/dist/_baseFlatten-es.js +1 -1
  44. package/dist/{_baseGet-cjs.js → _getAllKeys-cjs.js} +181 -181
  45. package/dist/{_baseGet-es.js → _getAllKeys-es.js} +183 -183
  46. package/dist/index.cjs +3 -4
  47. package/dist/index.mjs +2 -3
  48. package/dist/isTypedArray-es.js +1 -1
  49. package/dist/useScrollToActive-cjs.js +3 -3
  50. package/dist/useScrollToActive-es.js +1 -1
  51. package/package.json +2 -2
  52. package/dist/InputText/InputText.rebuilt.d.ts +0 -3
  53. package/dist/InputText/InputText.types.d.ts +0 -71
  54. package/dist/InputText/useInputTextActions.d.ts +0 -16
  55. package/dist/InputText/useInputTextFormField.d.ts +0 -347
  56. package/dist/InputText/useTextAreaResize.d.ts +0 -14
  57. package/dist/omit-cjs.js +0 -783
  58. package/dist/omit-es.js +0 -781
@@ -8,7 +8,15 @@ var reactPopper = require('react-popper');
8
8
  var useRefocusOnActivator = require('./useRefocusOnActivator-cjs.js');
9
9
  var Typography = require('./Typography-cjs.js');
10
10
  var Button = require('./Button-cjs.js');
11
- var omit = require('./omit-cjs.js');
11
+ var _commonjsHelpers = require('./_commonjsHelpers-cjs.js');
12
+ var _getAllKeys = require('./_getAllKeys-cjs.js');
13
+ var identity = require('./identity-cjs.js');
14
+ var keysIn$3 = require('./keysIn-cjs.js');
15
+ var _getTag = require('./_getTag-cjs.js');
16
+ var isObjectLike$2 = require('./isObjectLike-cjs.js');
17
+ var isTypedArray = require('./isTypedArray-cjs.js');
18
+ var _baseFlatten = require('./_baseFlatten-cjs.js');
19
+ var _setToString = require('./_setToString-cjs.js');
12
20
  var AtlantisContext = require('./AtlantisContext-cjs.js');
13
21
 
14
22
  function _typeof(o) {
@@ -7252,10 +7260,780 @@ function DatePickerCustomHeader({ monthDate, decreaseMonth, increaseMonth, prevM
7252
7260
  React.createElement(Button.Button, { onClick: increaseMonth, disabled: nextMonthButtonDisabled, icon: "arrowRight", ariaLabel: "Next Month", variation: "work", type: "tertiary" })));
7253
7261
  }
7254
7262
 
7263
+ /**
7264
+ * A specialized version of `_.forEach` for arrays without support for
7265
+ * iteratee shorthands.
7266
+ *
7267
+ * @private
7268
+ * @param {Array} [array] The array to iterate over.
7269
+ * @param {Function} iteratee The function invoked per iteration.
7270
+ * @returns {Array} Returns `array`.
7271
+ */
7272
+
7273
+ function arrayEach$1(array, iteratee) {
7274
+ var index = -1,
7275
+ length = array == null ? 0 : array.length;
7276
+
7277
+ while (++index < length) {
7278
+ if (iteratee(array[index], index, array) === false) {
7279
+ break;
7280
+ }
7281
+ }
7282
+ return array;
7283
+ }
7284
+
7285
+ var _arrayEach = arrayEach$1;
7286
+
7287
+ var copyObject$4 = keysIn$3._copyObject,
7288
+ keys$1 = _getAllKeys.keys_1;
7289
+
7290
+ /**
7291
+ * The base implementation of `_.assign` without support for multiple sources
7292
+ * or `customizer` functions.
7293
+ *
7294
+ * @private
7295
+ * @param {Object} object The destination object.
7296
+ * @param {Object} source The source object.
7297
+ * @returns {Object} Returns `object`.
7298
+ */
7299
+ function baseAssign$1(object, source) {
7300
+ return object && copyObject$4(source, keys$1(source), object);
7301
+ }
7302
+
7303
+ var _baseAssign = baseAssign$1;
7304
+
7305
+ var copyObject$3 = keysIn$3._copyObject,
7306
+ keysIn$2 = keysIn$3.keysIn_1;
7307
+
7308
+ /**
7309
+ * The base implementation of `_.assignIn` without support for multiple sources
7310
+ * or `customizer` functions.
7311
+ *
7312
+ * @private
7313
+ * @param {Object} object The destination object.
7314
+ * @param {Object} source The source object.
7315
+ * @returns {Object} Returns `object`.
7316
+ */
7317
+ function baseAssignIn$1(object, source) {
7318
+ return object && copyObject$3(source, keysIn$2(source), object);
7319
+ }
7320
+
7321
+ var _baseAssignIn = baseAssignIn$1;
7322
+
7323
+ var copyObject$2 = keysIn$3._copyObject,
7324
+ getSymbols$1 = _getAllKeys._getSymbols;
7325
+
7326
+ /**
7327
+ * Copies own symbols of `source` to `object`.
7328
+ *
7329
+ * @private
7330
+ * @param {Object} source The object to copy symbols from.
7331
+ * @param {Object} [object={}] The object to copy symbols to.
7332
+ * @returns {Object} Returns `object`.
7333
+ */
7334
+ function copySymbols$1(source, object) {
7335
+ return copyObject$2(source, getSymbols$1(source), object);
7336
+ }
7337
+
7338
+ var _copySymbols = copySymbols$1;
7339
+
7340
+ var arrayPush = _getAllKeys._arrayPush,
7341
+ getPrototype = keysIn$3._getPrototype,
7342
+ getSymbols = _getAllKeys._getSymbols,
7343
+ stubArray = _getAllKeys.stubArray_1;
7344
+
7345
+ /* Built-in method references for those with the same name as other `lodash` methods. */
7346
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
7347
+
7348
+ /**
7349
+ * Creates an array of the own and inherited enumerable symbols of `object`.
7350
+ *
7351
+ * @private
7352
+ * @param {Object} object The object to query.
7353
+ * @returns {Array} Returns the array of symbols.
7354
+ */
7355
+ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
7356
+ var result = [];
7357
+ while (object) {
7358
+ arrayPush(result, getSymbols(object));
7359
+ object = getPrototype(object);
7360
+ }
7361
+ return result;
7362
+ };
7363
+
7364
+ var _getSymbolsIn = getSymbolsIn$2;
7365
+
7366
+ var copyObject$1 = keysIn$3._copyObject,
7367
+ getSymbolsIn$1 = _getSymbolsIn;
7368
+
7369
+ /**
7370
+ * Copies own and inherited symbols of `source` to `object`.
7371
+ *
7372
+ * @private
7373
+ * @param {Object} source The object to copy symbols from.
7374
+ * @param {Object} [object={}] The object to copy symbols to.
7375
+ * @returns {Object} Returns `object`.
7376
+ */
7377
+ function copySymbolsIn$1(source, object) {
7378
+ return copyObject$1(source, getSymbolsIn$1(source), object);
7379
+ }
7380
+
7381
+ var _copySymbolsIn = copySymbolsIn$1;
7382
+
7383
+ var baseGetAllKeys = _getAllKeys._baseGetAllKeys,
7384
+ getSymbolsIn = _getSymbolsIn,
7385
+ keysIn$1 = keysIn$3.keysIn_1;
7386
+
7387
+ /**
7388
+ * Creates an array of own and inherited enumerable property names and
7389
+ * symbols of `object`.
7390
+ *
7391
+ * @private
7392
+ * @param {Object} object The object to query.
7393
+ * @returns {Array} Returns the array of property names and symbols.
7394
+ */
7395
+ function getAllKeysIn$2(object) {
7396
+ return baseGetAllKeys(object, keysIn$1, getSymbolsIn);
7397
+ }
7398
+
7399
+ var _getAllKeysIn = getAllKeysIn$2;
7400
+
7401
+ /** Used for built-in method references. */
7402
+
7403
+ var objectProto = Object.prototype;
7404
+
7405
+ /** Used to check objects for own properties. */
7406
+ var hasOwnProperty = objectProto.hasOwnProperty;
7407
+
7408
+ /**
7409
+ * Initializes an array clone.
7410
+ *
7411
+ * @private
7412
+ * @param {Array} array The array to clone.
7413
+ * @returns {Array} Returns the initialized clone.
7414
+ */
7415
+ function initCloneArray$1(array) {
7416
+ var length = array.length,
7417
+ result = new array.constructor(length);
7418
+
7419
+ // Add properties assigned by `RegExp#exec`.
7420
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
7421
+ result.index = array.index;
7422
+ result.input = array.input;
7423
+ }
7424
+ return result;
7425
+ }
7426
+
7427
+ var _initCloneArray = initCloneArray$1;
7428
+
7429
+ var cloneArrayBuffer$1 = keysIn$3._cloneArrayBuffer;
7430
+
7431
+ /**
7432
+ * Creates a clone of `dataView`.
7433
+ *
7434
+ * @private
7435
+ * @param {Object} dataView The data view to clone.
7436
+ * @param {boolean} [isDeep] Specify a deep clone.
7437
+ * @returns {Object} Returns the cloned data view.
7438
+ */
7439
+ function cloneDataView$1(dataView, isDeep) {
7440
+ var buffer = isDeep ? cloneArrayBuffer$1(dataView.buffer) : dataView.buffer;
7441
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
7442
+ }
7443
+
7444
+ var _cloneDataView = cloneDataView$1;
7445
+
7446
+ /** Used to match `RegExp` flags from their coerced string values. */
7447
+
7448
+ var reFlags = /\w*$/;
7449
+
7450
+ /**
7451
+ * Creates a clone of `regexp`.
7452
+ *
7453
+ * @private
7454
+ * @param {Object} regexp The regexp to clone.
7455
+ * @returns {Object} Returns the cloned regexp.
7456
+ */
7457
+ function cloneRegExp$1(regexp) {
7458
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
7459
+ result.lastIndex = regexp.lastIndex;
7460
+ return result;
7461
+ }
7462
+
7463
+ var _cloneRegExp = cloneRegExp$1;
7464
+
7465
+ var Symbol$1 = isObjectLike$2._Symbol;
7466
+
7467
+ /** Used to convert symbols to primitives and strings. */
7468
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
7469
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
7470
+
7471
+ /**
7472
+ * Creates a clone of the `symbol` object.
7473
+ *
7474
+ * @private
7475
+ * @param {Object} symbol The symbol object to clone.
7476
+ * @returns {Object} Returns the cloned symbol object.
7477
+ */
7478
+ function cloneSymbol$1(symbol) {
7479
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
7480
+ }
7481
+
7482
+ var _cloneSymbol = cloneSymbol$1;
7483
+
7484
+ var cloneArrayBuffer = keysIn$3._cloneArrayBuffer,
7485
+ cloneDataView = _cloneDataView,
7486
+ cloneRegExp = _cloneRegExp,
7487
+ cloneSymbol = _cloneSymbol,
7488
+ cloneTypedArray = keysIn$3._cloneTypedArray;
7489
+
7490
+ /** `Object#toString` result references. */
7491
+ var boolTag$1 = '[object Boolean]',
7492
+ dateTag$1 = '[object Date]',
7493
+ mapTag$2 = '[object Map]',
7494
+ numberTag$1 = '[object Number]',
7495
+ regexpTag$1 = '[object RegExp]',
7496
+ setTag$2 = '[object Set]',
7497
+ stringTag$1 = '[object String]',
7498
+ symbolTag$1 = '[object Symbol]';
7499
+
7500
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
7501
+ dataViewTag$1 = '[object DataView]',
7502
+ float32Tag$1 = '[object Float32Array]',
7503
+ float64Tag$1 = '[object Float64Array]',
7504
+ int8Tag$1 = '[object Int8Array]',
7505
+ int16Tag$1 = '[object Int16Array]',
7506
+ int32Tag$1 = '[object Int32Array]',
7507
+ uint8Tag$1 = '[object Uint8Array]',
7508
+ uint8ClampedTag$1 = '[object Uint8ClampedArray]',
7509
+ uint16Tag$1 = '[object Uint16Array]',
7510
+ uint32Tag$1 = '[object Uint32Array]';
7511
+
7512
+ /**
7513
+ * Initializes an object clone based on its `toStringTag`.
7514
+ *
7515
+ * **Note:** This function only supports cloning values with tags of
7516
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
7517
+ *
7518
+ * @private
7519
+ * @param {Object} object The object to clone.
7520
+ * @param {string} tag The `toStringTag` of the object to clone.
7521
+ * @param {boolean} [isDeep] Specify a deep clone.
7522
+ * @returns {Object} Returns the initialized clone.
7523
+ */
7524
+ function initCloneByTag$1(object, tag, isDeep) {
7525
+ var Ctor = object.constructor;
7526
+ switch (tag) {
7527
+ case arrayBufferTag$1:
7528
+ return cloneArrayBuffer(object);
7529
+
7530
+ case boolTag$1:
7531
+ case dateTag$1:
7532
+ return new Ctor(+object);
7533
+
7534
+ case dataViewTag$1:
7535
+ return cloneDataView(object, isDeep);
7536
+
7537
+ case float32Tag$1: case float64Tag$1:
7538
+ case int8Tag$1: case int16Tag$1: case int32Tag$1:
7539
+ case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
7540
+ return cloneTypedArray(object, isDeep);
7541
+
7542
+ case mapTag$2:
7543
+ return new Ctor;
7544
+
7545
+ case numberTag$1:
7546
+ case stringTag$1:
7547
+ return new Ctor(object);
7548
+
7549
+ case regexpTag$1:
7550
+ return cloneRegExp(object);
7551
+
7552
+ case setTag$2:
7553
+ return new Ctor;
7554
+
7555
+ case symbolTag$1:
7556
+ return cloneSymbol(object);
7557
+ }
7558
+ }
7559
+
7560
+ var _initCloneByTag = initCloneByTag$1;
7561
+
7562
+ var getTag$2 = _getTag._getTag,
7563
+ isObjectLike$1 = isObjectLike$2.isObjectLike_1;
7564
+
7565
+ /** `Object#toString` result references. */
7566
+ var mapTag$1 = '[object Map]';
7567
+
7568
+ /**
7569
+ * The base implementation of `_.isMap` without Node.js optimizations.
7570
+ *
7571
+ * @private
7572
+ * @param {*} value The value to check.
7573
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
7574
+ */
7575
+ function baseIsMap$1(value) {
7576
+ return isObjectLike$1(value) && getTag$2(value) == mapTag$1;
7577
+ }
7578
+
7579
+ var _baseIsMap = baseIsMap$1;
7580
+
7581
+ var baseIsMap = _baseIsMap,
7582
+ baseUnary$1 = isTypedArray._baseUnary,
7583
+ nodeUtil$1 = isTypedArray._nodeUtilExports;
7584
+
7585
+ /* Node.js helper references. */
7586
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
7587
+
7588
+ /**
7589
+ * Checks if `value` is classified as a `Map` object.
7590
+ *
7591
+ * @static
7592
+ * @memberOf _
7593
+ * @since 4.3.0
7594
+ * @category Lang
7595
+ * @param {*} value The value to check.
7596
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
7597
+ * @example
7598
+ *
7599
+ * _.isMap(new Map);
7600
+ * // => true
7601
+ *
7602
+ * _.isMap(new WeakMap);
7603
+ * // => false
7604
+ */
7605
+ var isMap$1 = nodeIsMap ? baseUnary$1(nodeIsMap) : baseIsMap;
7606
+
7607
+ var isMap_1 = isMap$1;
7608
+
7609
+ var getTag$1 = _getTag._getTag,
7610
+ isObjectLike = isObjectLike$2.isObjectLike_1;
7611
+
7612
+ /** `Object#toString` result references. */
7613
+ var setTag$1 = '[object Set]';
7614
+
7615
+ /**
7616
+ * The base implementation of `_.isSet` without Node.js optimizations.
7617
+ *
7618
+ * @private
7619
+ * @param {*} value The value to check.
7620
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
7621
+ */
7622
+ function baseIsSet$1(value) {
7623
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
7624
+ }
7625
+
7626
+ var _baseIsSet = baseIsSet$1;
7627
+
7628
+ var baseIsSet = _baseIsSet,
7629
+ baseUnary = isTypedArray._baseUnary,
7630
+ nodeUtil = isTypedArray._nodeUtilExports;
7631
+
7632
+ /* Node.js helper references. */
7633
+ var nodeIsSet = nodeUtil && nodeUtil.isSet;
7634
+
7635
+ /**
7636
+ * Checks if `value` is classified as a `Set` object.
7637
+ *
7638
+ * @static
7639
+ * @memberOf _
7640
+ * @since 4.3.0
7641
+ * @category Lang
7642
+ * @param {*} value The value to check.
7643
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
7644
+ * @example
7645
+ *
7646
+ * _.isSet(new Set);
7647
+ * // => true
7648
+ *
7649
+ * _.isSet(new WeakSet);
7650
+ * // => false
7651
+ */
7652
+ var isSet$1 = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
7653
+
7654
+ var isSet_1 = isSet$1;
7655
+
7656
+ var Stack = identity._Stack,
7657
+ arrayEach = _arrayEach,
7658
+ assignValue = keysIn$3._assignValue,
7659
+ baseAssign = _baseAssign,
7660
+ baseAssignIn = _baseAssignIn,
7661
+ cloneBuffer = keysIn$3._cloneBufferExports,
7662
+ copyArray = keysIn$3._copyArray,
7663
+ copySymbols = _copySymbols,
7664
+ copySymbolsIn = _copySymbolsIn,
7665
+ getAllKeys = _getAllKeys._getAllKeys,
7666
+ getAllKeysIn$1 = _getAllKeysIn,
7667
+ getTag = _getTag._getTag,
7668
+ initCloneArray = _initCloneArray,
7669
+ initCloneByTag = _initCloneByTag,
7670
+ initCloneObject = keysIn$3._initCloneObject,
7671
+ isArray = isTypedArray.isArray_1,
7672
+ isBuffer = isTypedArray.isBufferExports,
7673
+ isMap = isMap_1,
7674
+ isObject = isObjectLike$2.isObject_1,
7675
+ isSet = isSet_1,
7676
+ keys = _getAllKeys.keys_1,
7677
+ keysIn = keysIn$3.keysIn_1;
7678
+
7679
+ /** Used to compose bitmasks for cloning. */
7680
+ var CLONE_DEEP_FLAG$1 = 1,
7681
+ CLONE_FLAT_FLAG$1 = 2,
7682
+ CLONE_SYMBOLS_FLAG$1 = 4;
7683
+
7684
+ /** `Object#toString` result references. */
7685
+ var argsTag = '[object Arguments]',
7686
+ arrayTag = '[object Array]',
7687
+ boolTag = '[object Boolean]',
7688
+ dateTag = '[object Date]',
7689
+ errorTag = '[object Error]',
7690
+ funcTag = '[object Function]',
7691
+ genTag = '[object GeneratorFunction]',
7692
+ mapTag = '[object Map]',
7693
+ numberTag = '[object Number]',
7694
+ objectTag = '[object Object]',
7695
+ regexpTag = '[object RegExp]',
7696
+ setTag = '[object Set]',
7697
+ stringTag = '[object String]',
7698
+ symbolTag = '[object Symbol]',
7699
+ weakMapTag = '[object WeakMap]';
7700
+
7701
+ var arrayBufferTag = '[object ArrayBuffer]',
7702
+ dataViewTag = '[object DataView]',
7703
+ float32Tag = '[object Float32Array]',
7704
+ float64Tag = '[object Float64Array]',
7705
+ int8Tag = '[object Int8Array]',
7706
+ int16Tag = '[object Int16Array]',
7707
+ int32Tag = '[object Int32Array]',
7708
+ uint8Tag = '[object Uint8Array]',
7709
+ uint8ClampedTag = '[object Uint8ClampedArray]',
7710
+ uint16Tag = '[object Uint16Array]',
7711
+ uint32Tag = '[object Uint32Array]';
7712
+
7713
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
7714
+ var cloneableTags = {};
7715
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
7716
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
7717
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
7718
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
7719
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
7720
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
7721
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
7722
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
7723
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
7724
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
7725
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
7726
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
7727
+ cloneableTags[weakMapTag] = false;
7728
+
7729
+ /**
7730
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
7731
+ * traversed objects.
7732
+ *
7733
+ * @private
7734
+ * @param {*} value The value to clone.
7735
+ * @param {boolean} bitmask The bitmask flags.
7736
+ * 1 - Deep clone
7737
+ * 2 - Flatten inherited properties
7738
+ * 4 - Clone symbols
7739
+ * @param {Function} [customizer] The function to customize cloning.
7740
+ * @param {string} [key] The key of `value`.
7741
+ * @param {Object} [object] The parent object of `value`.
7742
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
7743
+ * @returns {*} Returns the cloned value.
7744
+ */
7745
+ function baseClone$1(value, bitmask, customizer, key, object, stack) {
7746
+ var result,
7747
+ isDeep = bitmask & CLONE_DEEP_FLAG$1,
7748
+ isFlat = bitmask & CLONE_FLAT_FLAG$1,
7749
+ isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
7750
+
7751
+ if (customizer) {
7752
+ result = object ? customizer(value, key, object, stack) : customizer(value);
7753
+ }
7754
+ if (result !== undefined) {
7755
+ return result;
7756
+ }
7757
+ if (!isObject(value)) {
7758
+ return value;
7759
+ }
7760
+ var isArr = isArray(value);
7761
+ if (isArr) {
7762
+ result = initCloneArray(value);
7763
+ if (!isDeep) {
7764
+ return copyArray(value, result);
7765
+ }
7766
+ } else {
7767
+ var tag = getTag(value),
7768
+ isFunc = tag == funcTag || tag == genTag;
7769
+
7770
+ if (isBuffer(value)) {
7771
+ return cloneBuffer(value, isDeep);
7772
+ }
7773
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
7774
+ result = (isFlat || isFunc) ? {} : initCloneObject(value);
7775
+ if (!isDeep) {
7776
+ return isFlat
7777
+ ? copySymbolsIn(value, baseAssignIn(result, value))
7778
+ : copySymbols(value, baseAssign(result, value));
7779
+ }
7780
+ } else {
7781
+ if (!cloneableTags[tag]) {
7782
+ return object ? value : {};
7783
+ }
7784
+ result = initCloneByTag(value, tag, isDeep);
7785
+ }
7786
+ }
7787
+ // Check for circular references and return its corresponding clone.
7788
+ stack || (stack = new Stack);
7789
+ var stacked = stack.get(value);
7790
+ if (stacked) {
7791
+ return stacked;
7792
+ }
7793
+ stack.set(value, result);
7794
+
7795
+ if (isSet(value)) {
7796
+ value.forEach(function(subValue) {
7797
+ result.add(baseClone$1(subValue, bitmask, customizer, subValue, value, stack));
7798
+ });
7799
+ } else if (isMap(value)) {
7800
+ value.forEach(function(subValue, key) {
7801
+ result.set(key, baseClone$1(subValue, bitmask, customizer, key, value, stack));
7802
+ });
7803
+ }
7804
+
7805
+ var keysFunc = isFull
7806
+ ? (isFlat ? getAllKeysIn$1 : getAllKeys)
7807
+ : (isFlat ? keysIn : keys);
7808
+
7809
+ var props = isArr ? undefined : keysFunc(value);
7810
+ arrayEach(props || value, function(subValue, key) {
7811
+ if (props) {
7812
+ key = subValue;
7813
+ subValue = value[key];
7814
+ }
7815
+ // Recursively populate clone (susceptible to call stack limits).
7816
+ assignValue(result, key, baseClone$1(subValue, bitmask, customizer, key, value, stack));
7817
+ });
7818
+ return result;
7819
+ }
7820
+
7821
+ var _baseClone = baseClone$1;
7822
+
7823
+ /**
7824
+ * Gets the last element of `array`.
7825
+ *
7826
+ * @static
7827
+ * @memberOf _
7828
+ * @since 0.1.0
7829
+ * @category Array
7830
+ * @param {Array} array The array to query.
7831
+ * @returns {*} Returns the last element of `array`.
7832
+ * @example
7833
+ *
7834
+ * _.last([1, 2, 3]);
7835
+ * // => 3
7836
+ */
7837
+
7838
+ function last$1(array) {
7839
+ var length = array == null ? 0 : array.length;
7840
+ return length ? array[length - 1] : undefined;
7841
+ }
7842
+
7843
+ var last_1 = last$1;
7844
+
7845
+ /**
7846
+ * The base implementation of `_.slice` without an iteratee call guard.
7847
+ *
7848
+ * @private
7849
+ * @param {Array} array The array to slice.
7850
+ * @param {number} [start=0] The start position.
7851
+ * @param {number} [end=array.length] The end position.
7852
+ * @returns {Array} Returns the slice of `array`.
7853
+ */
7854
+
7855
+ function baseSlice$1(array, start, end) {
7856
+ var index = -1,
7857
+ length = array.length;
7858
+
7859
+ if (start < 0) {
7860
+ start = -start > length ? 0 : (length + start);
7861
+ }
7862
+ end = end > length ? length : end;
7863
+ if (end < 0) {
7864
+ end += length;
7865
+ }
7866
+ length = start > end ? 0 : ((end - start) >>> 0);
7867
+ start >>>= 0;
7868
+
7869
+ var result = Array(length);
7870
+ while (++index < length) {
7871
+ result[index] = array[index + start];
7872
+ }
7873
+ return result;
7874
+ }
7875
+
7876
+ var _baseSlice = baseSlice$1;
7877
+
7878
+ var baseGet = _getAllKeys._baseGet,
7879
+ baseSlice = _baseSlice;
7880
+
7881
+ /**
7882
+ * Gets the parent value at `path` of `object`.
7883
+ *
7884
+ * @private
7885
+ * @param {Object} object The object to query.
7886
+ * @param {Array} path The path to get the parent value of.
7887
+ * @returns {*} Returns the parent value.
7888
+ */
7889
+ function parent$1(object, path) {
7890
+ return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
7891
+ }
7892
+
7893
+ var _parent = parent$1;
7894
+
7895
+ var castPath$1 = _getAllKeys._castPath,
7896
+ last = last_1,
7897
+ parent = _parent,
7898
+ toKey = _getAllKeys._toKey;
7899
+
7900
+ /**
7901
+ * The base implementation of `_.unset`.
7902
+ *
7903
+ * @private
7904
+ * @param {Object} object The object to modify.
7905
+ * @param {Array|string} path The property path to unset.
7906
+ * @returns {boolean} Returns `true` if the property is deleted, else `false`.
7907
+ */
7908
+ function baseUnset$1(object, path) {
7909
+ path = castPath$1(path, object);
7910
+ object = parent(object, path);
7911
+ return object == null || delete object[toKey(last(path))];
7912
+ }
7913
+
7914
+ var _baseUnset = baseUnset$1;
7915
+
7916
+ var isPlainObject = keysIn$3.isPlainObject_1;
7917
+
7918
+ /**
7919
+ * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
7920
+ * objects.
7921
+ *
7922
+ * @private
7923
+ * @param {*} value The value to inspect.
7924
+ * @param {string} key The key of the property to inspect.
7925
+ * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
7926
+ */
7927
+ function customOmitClone$1(value) {
7928
+ return isPlainObject(value) ? undefined : value;
7929
+ }
7930
+
7931
+ var _customOmitClone = customOmitClone$1;
7932
+
7933
+ var baseFlatten = _baseFlatten._baseFlatten;
7934
+
7935
+ /**
7936
+ * Flattens `array` a single level deep.
7937
+ *
7938
+ * @static
7939
+ * @memberOf _
7940
+ * @since 0.1.0
7941
+ * @category Array
7942
+ * @param {Array} array The array to flatten.
7943
+ * @returns {Array} Returns the new flattened array.
7944
+ * @example
7945
+ *
7946
+ * _.flatten([1, [2, [3, [4]], 5]]);
7947
+ * // => [1, 2, [3, [4]], 5]
7948
+ */
7949
+ function flatten$1(array) {
7950
+ var length = array == null ? 0 : array.length;
7951
+ return length ? baseFlatten(array, 1) : [];
7952
+ }
7953
+
7954
+ var flatten_1 = flatten$1;
7955
+
7956
+ var flatten = flatten_1,
7957
+ overRest = _setToString._overRest,
7958
+ setToString = _setToString._setToString;
7959
+
7960
+ /**
7961
+ * A specialized version of `baseRest` which flattens the rest array.
7962
+ *
7963
+ * @private
7964
+ * @param {Function} func The function to apply a rest parameter to.
7965
+ * @returns {Function} Returns the new function.
7966
+ */
7967
+ function flatRest$1(func) {
7968
+ return setToString(overRest(func, undefined, flatten), func + '');
7969
+ }
7970
+
7971
+ var _flatRest = flatRest$1;
7972
+
7973
+ var arrayMap = _getAllKeys._arrayMap,
7974
+ baseClone = _baseClone,
7975
+ baseUnset = _baseUnset,
7976
+ castPath = _getAllKeys._castPath,
7977
+ copyObject = keysIn$3._copyObject,
7978
+ customOmitClone = _customOmitClone,
7979
+ flatRest = _flatRest,
7980
+ getAllKeysIn = _getAllKeysIn;
7981
+
7982
+ /** Used to compose bitmasks for cloning. */
7983
+ var CLONE_DEEP_FLAG = 1,
7984
+ CLONE_FLAT_FLAG = 2,
7985
+ CLONE_SYMBOLS_FLAG = 4;
7986
+
7987
+ /**
7988
+ * The opposite of `_.pick`; this method creates an object composed of the
7989
+ * own and inherited enumerable property paths of `object` that are not omitted.
7990
+ *
7991
+ * **Note:** This method is considerably slower than `_.pick`.
7992
+ *
7993
+ * @static
7994
+ * @since 0.1.0
7995
+ * @memberOf _
7996
+ * @category Object
7997
+ * @param {Object} object The source object.
7998
+ * @param {...(string|string[])} [paths] The property paths to omit.
7999
+ * @returns {Object} Returns the new object.
8000
+ * @example
8001
+ *
8002
+ * var object = { 'a': 1, 'b': '2', 'c': 3 };
8003
+ *
8004
+ * _.omit(object, ['a', 'c']);
8005
+ * // => { 'b': '2' }
8006
+ */
8007
+ var omit = flatRest(function(object, paths) {
8008
+ var result = {};
8009
+ if (object == null) {
8010
+ return result;
8011
+ }
8012
+ var isDeep = false;
8013
+ paths = arrayMap(paths, function(path) {
8014
+ path = castPath(path, object);
8015
+ isDeep || (isDeep = path.length > 1);
8016
+ return path;
8017
+ });
8018
+ copyObject(object, getAllKeysIn(object), result);
8019
+ if (isDeep) {
8020
+ result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
8021
+ }
8022
+ var length = paths.length;
8023
+ while (length--) {
8024
+ baseUnset(result, paths[length]);
8025
+ }
8026
+ return result;
8027
+ });
8028
+
8029
+ var omit_1 = omit;
8030
+
8031
+ var omit$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(omit_1);
8032
+
7255
8033
  const DatePickerActivator = React.forwardRef(InternalActivator);
7256
8034
  function InternalActivator(props, ref) {
7257
8035
  const { activator, fullWidth } = props;
7258
- const newActivatorProps = omit.omit(props, ["activator", "fullWidth"]);
8036
+ const newActivatorProps = omit$1(props, ["activator", "fullWidth"]);
7259
8037
  if (activator) {
7260
8038
  if (React.isValidElement(activator)) {
7261
8039
  const isAComponent = typeof activator.type === "function";
@@ -7367,3 +8145,4 @@ function useEscapeKeyToCloseDatePicker(open, ref) {
7367
8145
  }
7368
8146
 
7369
8147
  exports.DatePicker = DatePicker;
8148
+ exports.omit = omit$1;