@jobber/components 7.14.2 → 7.15.0

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 (65) hide show
  1. package/dist/Autocomplete/index.cjs +4 -3
  2. package/dist/Autocomplete/index.mjs +3 -2
  3. package/dist/DataList/components/DataListSearch/index.cjs +2 -1
  4. package/dist/DataList/components/DataListSearch/index.mjs +2 -1
  5. package/dist/DataList/index.cjs +2 -1
  6. package/dist/DataList/index.mjs +2 -1
  7. package/dist/DataTable/index.cjs +2 -1
  8. package/dist/DataTable/index.mjs +2 -1
  9. package/dist/DatePicker/index.cjs +0 -1
  10. package/dist/DatePicker/index.mjs +0 -1
  11. package/dist/DatePicker-cjs.js +782 -4
  12. package/dist/DatePicker-es.js +782 -4
  13. package/dist/FormField/index.cjs +14 -13
  14. package/dist/FormField/index.mjs +5 -4
  15. package/dist/FormField-cjs.js +4 -3
  16. package/dist/FormField-es.js +2 -1
  17. package/dist/FormFieldPostFix-cjs.js +2 -237
  18. package/dist/FormFieldPostFix-es.js +3 -228
  19. package/dist/FormFieldWrapper-cjs.js +242 -0
  20. package/dist/FormFieldWrapper-es.js +231 -0
  21. package/dist/InputDate/index.cjs +2 -2
  22. package/dist/InputDate/index.mjs +2 -2
  23. package/dist/InputEmail/index.cjs +2 -1
  24. package/dist/InputEmail/index.mjs +2 -1
  25. package/dist/InputEmail-cjs.js +3 -2
  26. package/dist/InputEmail-es.js +2 -1
  27. package/dist/InputNumber/index.cjs +2 -1
  28. package/dist/InputNumber/index.mjs +2 -1
  29. package/dist/InputPassword/index.cjs +2 -1
  30. package/dist/InputPassword/index.mjs +2 -1
  31. package/dist/InputPhoneNumber/index.cjs +2 -1
  32. package/dist/InputPhoneNumber/index.mjs +2 -1
  33. package/dist/InputPhoneNumber-cjs.js +3 -2
  34. package/dist/InputPhoneNumber-es.js +2 -1
  35. package/dist/InputText/index.cjs +3 -2
  36. package/dist/InputText/index.mjs +2 -1
  37. package/dist/InputTime/InputTime.d.ts +1 -1
  38. package/dist/InputTime/InputTime.types.d.ts +10 -24
  39. package/dist/InputTime/hooks/useInputTimeActions.d.ts +2 -2
  40. package/dist/InputTime/index.cjs +16 -350
  41. package/dist/InputTime/index.d.ts +2 -4
  42. package/dist/InputTime/index.mjs +15 -353
  43. package/dist/InputTime-cjs.js +300 -0
  44. package/dist/InputTime-es.js +298 -0
  45. package/dist/RecurringSelect/index.cjs +2 -1
  46. package/dist/RecurringSelect/index.mjs +2 -1
  47. package/dist/Select/index.cjs +2 -1
  48. package/dist/Select/index.mjs +2 -1
  49. package/dist/Select-cjs.js +3 -2
  50. package/dist/Select-es.js +2 -1
  51. package/dist/Tabs-es.js +1 -1
  52. package/dist/_baseEach-es.js +2 -2
  53. package/dist/_getAllKeys-es.js +1 -1
  54. package/dist/debounce-es.js +1 -1
  55. package/dist/docs/InputTime/InputTime.md +45 -27
  56. package/dist/docs/usage-guidelines/usage-guidelines.md +0 -1
  57. package/dist/index.cjs +13 -13
  58. package/dist/index.mjs +3 -3
  59. package/dist/isTypedArray-es.js +1 -1
  60. package/dist/styles.css +7 -2
  61. package/dist/useScrollToActive-es.js +1 -1
  62. package/package.json +2 -2
  63. package/dist/InputTime/InputTime.rebuilt.d.ts +0 -3
  64. package/dist/omit-cjs.js +0 -783
  65. package/dist/omit-es.js +0 -781
@@ -9,7 +9,15 @@ var floatingUi_reactDom = require('./floating-ui.react-dom-cjs.js');
9
9
  var jobberHooks = require('@jobber/hooks');
10
10
  var Typography = require('./Typography-cjs.js');
11
11
  var Button = require('./Button-cjs.js');
12
- var omit = require('./omit-cjs.js');
12
+ var _commonjsHelpers = require('./_commonjsHelpers-cjs.js');
13
+ var _getAllKeys = require('./_getAllKeys-cjs.js');
14
+ var identity = require('./identity-cjs.js');
15
+ var keysIn$3 = require('./keysIn-cjs.js');
16
+ var _getTag = require('./_getTag-cjs.js');
17
+ var isObjectLike$2 = require('./isObjectLike-cjs.js');
18
+ var isTypedArray = require('./isTypedArray-cjs.js');
19
+ var _baseFlatten = require('./_baseFlatten-cjs.js');
20
+ var _setToString = require('./_setToString-cjs.js');
13
21
  var AtlantisContext = require('./AtlantisContext-cjs.js');
14
22
 
15
23
  /**
@@ -12666,10 +12674,780 @@ function DatePickerCustomHeader({ monthDate, decreaseMonth, increaseMonth, prevM
12666
12674
  React.createElement(Button.Button, { onClick: increaseMonth, disabled: nextMonthButtonDisabled, icon: "arrowRight", ariaLabel: "Next Month", variation: "work", type: "tertiary" })));
12667
12675
  }
12668
12676
 
12677
+ /**
12678
+ * A specialized version of `_.forEach` for arrays without support for
12679
+ * iteratee shorthands.
12680
+ *
12681
+ * @private
12682
+ * @param {Array} [array] The array to iterate over.
12683
+ * @param {Function} iteratee The function invoked per iteration.
12684
+ * @returns {Array} Returns `array`.
12685
+ */
12686
+
12687
+ function arrayEach$1(array, iteratee) {
12688
+ var index = -1,
12689
+ length = array == null ? 0 : array.length;
12690
+
12691
+ while (++index < length) {
12692
+ if (iteratee(array[index], index, array) === false) {
12693
+ break;
12694
+ }
12695
+ }
12696
+ return array;
12697
+ }
12698
+
12699
+ var _arrayEach = arrayEach$1;
12700
+
12701
+ var copyObject$4 = keysIn$3._copyObject,
12702
+ keys$1 = _getAllKeys.keys_1;
12703
+
12704
+ /**
12705
+ * The base implementation of `_.assign` without support for multiple sources
12706
+ * or `customizer` functions.
12707
+ *
12708
+ * @private
12709
+ * @param {Object} object The destination object.
12710
+ * @param {Object} source The source object.
12711
+ * @returns {Object} Returns `object`.
12712
+ */
12713
+ function baseAssign$1(object, source) {
12714
+ return object && copyObject$4(source, keys$1(source), object);
12715
+ }
12716
+
12717
+ var _baseAssign = baseAssign$1;
12718
+
12719
+ var copyObject$3 = keysIn$3._copyObject,
12720
+ keysIn$2 = keysIn$3.keysIn_1;
12721
+
12722
+ /**
12723
+ * The base implementation of `_.assignIn` without support for multiple sources
12724
+ * or `customizer` functions.
12725
+ *
12726
+ * @private
12727
+ * @param {Object} object The destination object.
12728
+ * @param {Object} source The source object.
12729
+ * @returns {Object} Returns `object`.
12730
+ */
12731
+ function baseAssignIn$1(object, source) {
12732
+ return object && copyObject$3(source, keysIn$2(source), object);
12733
+ }
12734
+
12735
+ var _baseAssignIn = baseAssignIn$1;
12736
+
12737
+ var copyObject$2 = keysIn$3._copyObject,
12738
+ getSymbols$1 = _getAllKeys._getSymbols;
12739
+
12740
+ /**
12741
+ * Copies own symbols of `source` to `object`.
12742
+ *
12743
+ * @private
12744
+ * @param {Object} source The object to copy symbols from.
12745
+ * @param {Object} [object={}] The object to copy symbols to.
12746
+ * @returns {Object} Returns `object`.
12747
+ */
12748
+ function copySymbols$1(source, object) {
12749
+ return copyObject$2(source, getSymbols$1(source), object);
12750
+ }
12751
+
12752
+ var _copySymbols = copySymbols$1;
12753
+
12754
+ var arrayPush = _getAllKeys._arrayPush,
12755
+ getPrototype = keysIn$3._getPrototype,
12756
+ getSymbols = _getAllKeys._getSymbols,
12757
+ stubArray = _getAllKeys.stubArray_1;
12758
+
12759
+ /* Built-in method references for those with the same name as other `lodash` methods. */
12760
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
12761
+
12762
+ /**
12763
+ * Creates an array of the own and inherited enumerable symbols of `object`.
12764
+ *
12765
+ * @private
12766
+ * @param {Object} object The object to query.
12767
+ * @returns {Array} Returns the array of symbols.
12768
+ */
12769
+ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
12770
+ var result = [];
12771
+ while (object) {
12772
+ arrayPush(result, getSymbols(object));
12773
+ object = getPrototype(object);
12774
+ }
12775
+ return result;
12776
+ };
12777
+
12778
+ var _getSymbolsIn = getSymbolsIn$2;
12779
+
12780
+ var copyObject$1 = keysIn$3._copyObject,
12781
+ getSymbolsIn$1 = _getSymbolsIn;
12782
+
12783
+ /**
12784
+ * Copies own and inherited symbols of `source` to `object`.
12785
+ *
12786
+ * @private
12787
+ * @param {Object} source The object to copy symbols from.
12788
+ * @param {Object} [object={}] The object to copy symbols to.
12789
+ * @returns {Object} Returns `object`.
12790
+ */
12791
+ function copySymbolsIn$1(source, object) {
12792
+ return copyObject$1(source, getSymbolsIn$1(source), object);
12793
+ }
12794
+
12795
+ var _copySymbolsIn = copySymbolsIn$1;
12796
+
12797
+ var baseGetAllKeys = _getAllKeys._baseGetAllKeys,
12798
+ getSymbolsIn = _getSymbolsIn,
12799
+ keysIn$1 = keysIn$3.keysIn_1;
12800
+
12801
+ /**
12802
+ * Creates an array of own and inherited enumerable property names and
12803
+ * symbols of `object`.
12804
+ *
12805
+ * @private
12806
+ * @param {Object} object The object to query.
12807
+ * @returns {Array} Returns the array of property names and symbols.
12808
+ */
12809
+ function getAllKeysIn$2(object) {
12810
+ return baseGetAllKeys(object, keysIn$1, getSymbolsIn);
12811
+ }
12812
+
12813
+ var _getAllKeysIn = getAllKeysIn$2;
12814
+
12815
+ /** Used for built-in method references. */
12816
+
12817
+ var objectProto = Object.prototype;
12818
+
12819
+ /** Used to check objects for own properties. */
12820
+ var hasOwnProperty = objectProto.hasOwnProperty;
12821
+
12822
+ /**
12823
+ * Initializes an array clone.
12824
+ *
12825
+ * @private
12826
+ * @param {Array} array The array to clone.
12827
+ * @returns {Array} Returns the initialized clone.
12828
+ */
12829
+ function initCloneArray$1(array) {
12830
+ var length = array.length,
12831
+ result = new array.constructor(length);
12832
+
12833
+ // Add properties assigned by `RegExp#exec`.
12834
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
12835
+ result.index = array.index;
12836
+ result.input = array.input;
12837
+ }
12838
+ return result;
12839
+ }
12840
+
12841
+ var _initCloneArray = initCloneArray$1;
12842
+
12843
+ var cloneArrayBuffer$1 = keysIn$3._cloneArrayBuffer;
12844
+
12845
+ /**
12846
+ * Creates a clone of `dataView`.
12847
+ *
12848
+ * @private
12849
+ * @param {Object} dataView The data view to clone.
12850
+ * @param {boolean} [isDeep] Specify a deep clone.
12851
+ * @returns {Object} Returns the cloned data view.
12852
+ */
12853
+ function cloneDataView$1(dataView, isDeep) {
12854
+ var buffer = isDeep ? cloneArrayBuffer$1(dataView.buffer) : dataView.buffer;
12855
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
12856
+ }
12857
+
12858
+ var _cloneDataView = cloneDataView$1;
12859
+
12860
+ /** Used to match `RegExp` flags from their coerced string values. */
12861
+
12862
+ var reFlags = /\w*$/;
12863
+
12864
+ /**
12865
+ * Creates a clone of `regexp`.
12866
+ *
12867
+ * @private
12868
+ * @param {Object} regexp The regexp to clone.
12869
+ * @returns {Object} Returns the cloned regexp.
12870
+ */
12871
+ function cloneRegExp$1(regexp) {
12872
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
12873
+ result.lastIndex = regexp.lastIndex;
12874
+ return result;
12875
+ }
12876
+
12877
+ var _cloneRegExp = cloneRegExp$1;
12878
+
12879
+ var Symbol$1 = isObjectLike$2._Symbol;
12880
+
12881
+ /** Used to convert symbols to primitives and strings. */
12882
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
12883
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
12884
+
12885
+ /**
12886
+ * Creates a clone of the `symbol` object.
12887
+ *
12888
+ * @private
12889
+ * @param {Object} symbol The symbol object to clone.
12890
+ * @returns {Object} Returns the cloned symbol object.
12891
+ */
12892
+ function cloneSymbol$1(symbol) {
12893
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
12894
+ }
12895
+
12896
+ var _cloneSymbol = cloneSymbol$1;
12897
+
12898
+ var cloneArrayBuffer = keysIn$3._cloneArrayBuffer,
12899
+ cloneDataView = _cloneDataView,
12900
+ cloneRegExp = _cloneRegExp,
12901
+ cloneSymbol = _cloneSymbol,
12902
+ cloneTypedArray = keysIn$3._cloneTypedArray;
12903
+
12904
+ /** `Object#toString` result references. */
12905
+ var boolTag$1 = '[object Boolean]',
12906
+ dateTag$1 = '[object Date]',
12907
+ mapTag$2 = '[object Map]',
12908
+ numberTag$1 = '[object Number]',
12909
+ regexpTag$1 = '[object RegExp]',
12910
+ setTag$2 = '[object Set]',
12911
+ stringTag$1 = '[object String]',
12912
+ symbolTag$1 = '[object Symbol]';
12913
+
12914
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
12915
+ dataViewTag$1 = '[object DataView]',
12916
+ float32Tag$1 = '[object Float32Array]',
12917
+ float64Tag$1 = '[object Float64Array]',
12918
+ int8Tag$1 = '[object Int8Array]',
12919
+ int16Tag$1 = '[object Int16Array]',
12920
+ int32Tag$1 = '[object Int32Array]',
12921
+ uint8Tag$1 = '[object Uint8Array]',
12922
+ uint8ClampedTag$1 = '[object Uint8ClampedArray]',
12923
+ uint16Tag$1 = '[object Uint16Array]',
12924
+ uint32Tag$1 = '[object Uint32Array]';
12925
+
12926
+ /**
12927
+ * Initializes an object clone based on its `toStringTag`.
12928
+ *
12929
+ * **Note:** This function only supports cloning values with tags of
12930
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
12931
+ *
12932
+ * @private
12933
+ * @param {Object} object The object to clone.
12934
+ * @param {string} tag The `toStringTag` of the object to clone.
12935
+ * @param {boolean} [isDeep] Specify a deep clone.
12936
+ * @returns {Object} Returns the initialized clone.
12937
+ */
12938
+ function initCloneByTag$1(object, tag, isDeep) {
12939
+ var Ctor = object.constructor;
12940
+ switch (tag) {
12941
+ case arrayBufferTag$1:
12942
+ return cloneArrayBuffer(object);
12943
+
12944
+ case boolTag$1:
12945
+ case dateTag$1:
12946
+ return new Ctor(+object);
12947
+
12948
+ case dataViewTag$1:
12949
+ return cloneDataView(object, isDeep);
12950
+
12951
+ case float32Tag$1: case float64Tag$1:
12952
+ case int8Tag$1: case int16Tag$1: case int32Tag$1:
12953
+ case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
12954
+ return cloneTypedArray(object, isDeep);
12955
+
12956
+ case mapTag$2:
12957
+ return new Ctor;
12958
+
12959
+ case numberTag$1:
12960
+ case stringTag$1:
12961
+ return new Ctor(object);
12962
+
12963
+ case regexpTag$1:
12964
+ return cloneRegExp(object);
12965
+
12966
+ case setTag$2:
12967
+ return new Ctor;
12968
+
12969
+ case symbolTag$1:
12970
+ return cloneSymbol(object);
12971
+ }
12972
+ }
12973
+
12974
+ var _initCloneByTag = initCloneByTag$1;
12975
+
12976
+ var getTag$2 = _getTag._getTag,
12977
+ isObjectLike$1 = isObjectLike$2.isObjectLike_1;
12978
+
12979
+ /** `Object#toString` result references. */
12980
+ var mapTag$1 = '[object Map]';
12981
+
12982
+ /**
12983
+ * The base implementation of `_.isMap` without Node.js optimizations.
12984
+ *
12985
+ * @private
12986
+ * @param {*} value The value to check.
12987
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
12988
+ */
12989
+ function baseIsMap$1(value) {
12990
+ return isObjectLike$1(value) && getTag$2(value) == mapTag$1;
12991
+ }
12992
+
12993
+ var _baseIsMap = baseIsMap$1;
12994
+
12995
+ var baseIsMap = _baseIsMap,
12996
+ baseUnary$1 = isTypedArray._baseUnary,
12997
+ nodeUtil$1 = isTypedArray._nodeUtilExports;
12998
+
12999
+ /* Node.js helper references. */
13000
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
13001
+
13002
+ /**
13003
+ * Checks if `value` is classified as a `Map` object.
13004
+ *
13005
+ * @static
13006
+ * @memberOf _
13007
+ * @since 4.3.0
13008
+ * @category Lang
13009
+ * @param {*} value The value to check.
13010
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
13011
+ * @example
13012
+ *
13013
+ * _.isMap(new Map);
13014
+ * // => true
13015
+ *
13016
+ * _.isMap(new WeakMap);
13017
+ * // => false
13018
+ */
13019
+ var isMap$1 = nodeIsMap ? baseUnary$1(nodeIsMap) : baseIsMap;
13020
+
13021
+ var isMap_1 = isMap$1;
13022
+
13023
+ var getTag$1 = _getTag._getTag,
13024
+ isObjectLike = isObjectLike$2.isObjectLike_1;
13025
+
13026
+ /** `Object#toString` result references. */
13027
+ var setTag$1 = '[object Set]';
13028
+
13029
+ /**
13030
+ * The base implementation of `_.isSet` without Node.js optimizations.
13031
+ *
13032
+ * @private
13033
+ * @param {*} value The value to check.
13034
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
13035
+ */
13036
+ function baseIsSet$1(value) {
13037
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
13038
+ }
13039
+
13040
+ var _baseIsSet = baseIsSet$1;
13041
+
13042
+ var baseIsSet = _baseIsSet,
13043
+ baseUnary = isTypedArray._baseUnary,
13044
+ nodeUtil = isTypedArray._nodeUtilExports;
13045
+
13046
+ /* Node.js helper references. */
13047
+ var nodeIsSet = nodeUtil && nodeUtil.isSet;
13048
+
13049
+ /**
13050
+ * Checks if `value` is classified as a `Set` object.
13051
+ *
13052
+ * @static
13053
+ * @memberOf _
13054
+ * @since 4.3.0
13055
+ * @category Lang
13056
+ * @param {*} value The value to check.
13057
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
13058
+ * @example
13059
+ *
13060
+ * _.isSet(new Set);
13061
+ * // => true
13062
+ *
13063
+ * _.isSet(new WeakSet);
13064
+ * // => false
13065
+ */
13066
+ var isSet$1 = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
13067
+
13068
+ var isSet_1 = isSet$1;
13069
+
13070
+ var Stack = identity._Stack,
13071
+ arrayEach = _arrayEach,
13072
+ assignValue = keysIn$3._assignValue,
13073
+ baseAssign = _baseAssign,
13074
+ baseAssignIn = _baseAssignIn,
13075
+ cloneBuffer = keysIn$3._cloneBufferExports,
13076
+ copyArray = keysIn$3._copyArray,
13077
+ copySymbols = _copySymbols,
13078
+ copySymbolsIn = _copySymbolsIn,
13079
+ getAllKeys = _getAllKeys._getAllKeys,
13080
+ getAllKeysIn$1 = _getAllKeysIn,
13081
+ getTag = _getTag._getTag,
13082
+ initCloneArray = _initCloneArray,
13083
+ initCloneByTag = _initCloneByTag,
13084
+ initCloneObject = keysIn$3._initCloneObject,
13085
+ isArray = isTypedArray.isArray_1,
13086
+ isBuffer = isTypedArray.isBufferExports,
13087
+ isMap = isMap_1,
13088
+ isObject = isObjectLike$2.isObject_1,
13089
+ isSet = isSet_1,
13090
+ keys = _getAllKeys.keys_1,
13091
+ keysIn = keysIn$3.keysIn_1;
13092
+
13093
+ /** Used to compose bitmasks for cloning. */
13094
+ var CLONE_DEEP_FLAG$1 = 1,
13095
+ CLONE_FLAT_FLAG$1 = 2,
13096
+ CLONE_SYMBOLS_FLAG$1 = 4;
13097
+
13098
+ /** `Object#toString` result references. */
13099
+ var argsTag = '[object Arguments]',
13100
+ arrayTag = '[object Array]',
13101
+ boolTag = '[object Boolean]',
13102
+ dateTag = '[object Date]',
13103
+ errorTag = '[object Error]',
13104
+ funcTag = '[object Function]',
13105
+ genTag = '[object GeneratorFunction]',
13106
+ mapTag = '[object Map]',
13107
+ numberTag = '[object Number]',
13108
+ objectTag = '[object Object]',
13109
+ regexpTag = '[object RegExp]',
13110
+ setTag = '[object Set]',
13111
+ stringTag = '[object String]',
13112
+ symbolTag = '[object Symbol]',
13113
+ weakMapTag = '[object WeakMap]';
13114
+
13115
+ var arrayBufferTag = '[object ArrayBuffer]',
13116
+ dataViewTag = '[object DataView]',
13117
+ float32Tag = '[object Float32Array]',
13118
+ float64Tag = '[object Float64Array]',
13119
+ int8Tag = '[object Int8Array]',
13120
+ int16Tag = '[object Int16Array]',
13121
+ int32Tag = '[object Int32Array]',
13122
+ uint8Tag = '[object Uint8Array]',
13123
+ uint8ClampedTag = '[object Uint8ClampedArray]',
13124
+ uint16Tag = '[object Uint16Array]',
13125
+ uint32Tag = '[object Uint32Array]';
13126
+
13127
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
13128
+ var cloneableTags = {};
13129
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
13130
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
13131
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
13132
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
13133
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
13134
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
13135
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
13136
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
13137
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
13138
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
13139
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
13140
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
13141
+ cloneableTags[weakMapTag] = false;
13142
+
13143
+ /**
13144
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
13145
+ * traversed objects.
13146
+ *
13147
+ * @private
13148
+ * @param {*} value The value to clone.
13149
+ * @param {boolean} bitmask The bitmask flags.
13150
+ * 1 - Deep clone
13151
+ * 2 - Flatten inherited properties
13152
+ * 4 - Clone symbols
13153
+ * @param {Function} [customizer] The function to customize cloning.
13154
+ * @param {string} [key] The key of `value`.
13155
+ * @param {Object} [object] The parent object of `value`.
13156
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
13157
+ * @returns {*} Returns the cloned value.
13158
+ */
13159
+ function baseClone$1(value, bitmask, customizer, key, object, stack) {
13160
+ var result,
13161
+ isDeep = bitmask & CLONE_DEEP_FLAG$1,
13162
+ isFlat = bitmask & CLONE_FLAT_FLAG$1,
13163
+ isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
13164
+
13165
+ if (customizer) {
13166
+ result = object ? customizer(value, key, object, stack) : customizer(value);
13167
+ }
13168
+ if (result !== undefined) {
13169
+ return result;
13170
+ }
13171
+ if (!isObject(value)) {
13172
+ return value;
13173
+ }
13174
+ var isArr = isArray(value);
13175
+ if (isArr) {
13176
+ result = initCloneArray(value);
13177
+ if (!isDeep) {
13178
+ return copyArray(value, result);
13179
+ }
13180
+ } else {
13181
+ var tag = getTag(value),
13182
+ isFunc = tag == funcTag || tag == genTag;
13183
+
13184
+ if (isBuffer(value)) {
13185
+ return cloneBuffer(value, isDeep);
13186
+ }
13187
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
13188
+ result = (isFlat || isFunc) ? {} : initCloneObject(value);
13189
+ if (!isDeep) {
13190
+ return isFlat
13191
+ ? copySymbolsIn(value, baseAssignIn(result, value))
13192
+ : copySymbols(value, baseAssign(result, value));
13193
+ }
13194
+ } else {
13195
+ if (!cloneableTags[tag]) {
13196
+ return object ? value : {};
13197
+ }
13198
+ result = initCloneByTag(value, tag, isDeep);
13199
+ }
13200
+ }
13201
+ // Check for circular references and return its corresponding clone.
13202
+ stack || (stack = new Stack);
13203
+ var stacked = stack.get(value);
13204
+ if (stacked) {
13205
+ return stacked;
13206
+ }
13207
+ stack.set(value, result);
13208
+
13209
+ if (isSet(value)) {
13210
+ value.forEach(function(subValue) {
13211
+ result.add(baseClone$1(subValue, bitmask, customizer, subValue, value, stack));
13212
+ });
13213
+ } else if (isMap(value)) {
13214
+ value.forEach(function(subValue, key) {
13215
+ result.set(key, baseClone$1(subValue, bitmask, customizer, key, value, stack));
13216
+ });
13217
+ }
13218
+
13219
+ var keysFunc = isFull
13220
+ ? (isFlat ? getAllKeysIn$1 : getAllKeys)
13221
+ : (isFlat ? keysIn : keys);
13222
+
13223
+ var props = isArr ? undefined : keysFunc(value);
13224
+ arrayEach(props || value, function(subValue, key) {
13225
+ if (props) {
13226
+ key = subValue;
13227
+ subValue = value[key];
13228
+ }
13229
+ // Recursively populate clone (susceptible to call stack limits).
13230
+ assignValue(result, key, baseClone$1(subValue, bitmask, customizer, key, value, stack));
13231
+ });
13232
+ return result;
13233
+ }
13234
+
13235
+ var _baseClone = baseClone$1;
13236
+
13237
+ /**
13238
+ * Gets the last element of `array`.
13239
+ *
13240
+ * @static
13241
+ * @memberOf _
13242
+ * @since 0.1.0
13243
+ * @category Array
13244
+ * @param {Array} array The array to query.
13245
+ * @returns {*} Returns the last element of `array`.
13246
+ * @example
13247
+ *
13248
+ * _.last([1, 2, 3]);
13249
+ * // => 3
13250
+ */
13251
+
13252
+ function last$1(array) {
13253
+ var length = array == null ? 0 : array.length;
13254
+ return length ? array[length - 1] : undefined;
13255
+ }
13256
+
13257
+ var last_1 = last$1;
13258
+
13259
+ /**
13260
+ * The base implementation of `_.slice` without an iteratee call guard.
13261
+ *
13262
+ * @private
13263
+ * @param {Array} array The array to slice.
13264
+ * @param {number} [start=0] The start position.
13265
+ * @param {number} [end=array.length] The end position.
13266
+ * @returns {Array} Returns the slice of `array`.
13267
+ */
13268
+
13269
+ function baseSlice$1(array, start, end) {
13270
+ var index = -1,
13271
+ length = array.length;
13272
+
13273
+ if (start < 0) {
13274
+ start = -start > length ? 0 : (length + start);
13275
+ }
13276
+ end = end > length ? length : end;
13277
+ if (end < 0) {
13278
+ end += length;
13279
+ }
13280
+ length = start > end ? 0 : ((end - start) >>> 0);
13281
+ start >>>= 0;
13282
+
13283
+ var result = Array(length);
13284
+ while (++index < length) {
13285
+ result[index] = array[index + start];
13286
+ }
13287
+ return result;
13288
+ }
13289
+
13290
+ var _baseSlice = baseSlice$1;
13291
+
13292
+ var baseGet = _getAllKeys._baseGet,
13293
+ baseSlice = _baseSlice;
13294
+
13295
+ /**
13296
+ * Gets the parent value at `path` of `object`.
13297
+ *
13298
+ * @private
13299
+ * @param {Object} object The object to query.
13300
+ * @param {Array} path The path to get the parent value of.
13301
+ * @returns {*} Returns the parent value.
13302
+ */
13303
+ function parent$1(object, path) {
13304
+ return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
13305
+ }
13306
+
13307
+ var _parent = parent$1;
13308
+
13309
+ var castPath$1 = _getAllKeys._castPath,
13310
+ last = last_1,
13311
+ parent = _parent,
13312
+ toKey = _getAllKeys._toKey;
13313
+
13314
+ /**
13315
+ * The base implementation of `_.unset`.
13316
+ *
13317
+ * @private
13318
+ * @param {Object} object The object to modify.
13319
+ * @param {Array|string} path The property path to unset.
13320
+ * @returns {boolean} Returns `true` if the property is deleted, else `false`.
13321
+ */
13322
+ function baseUnset$1(object, path) {
13323
+ path = castPath$1(path, object);
13324
+ object = parent(object, path);
13325
+ return object == null || delete object[toKey(last(path))];
13326
+ }
13327
+
13328
+ var _baseUnset = baseUnset$1;
13329
+
13330
+ var isPlainObject = keysIn$3.isPlainObject_1;
13331
+
13332
+ /**
13333
+ * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
13334
+ * objects.
13335
+ *
13336
+ * @private
13337
+ * @param {*} value The value to inspect.
13338
+ * @param {string} key The key of the property to inspect.
13339
+ * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
13340
+ */
13341
+ function customOmitClone$1(value) {
13342
+ return isPlainObject(value) ? undefined : value;
13343
+ }
13344
+
13345
+ var _customOmitClone = customOmitClone$1;
13346
+
13347
+ var baseFlatten = _baseFlatten._baseFlatten;
13348
+
13349
+ /**
13350
+ * Flattens `array` a single level deep.
13351
+ *
13352
+ * @static
13353
+ * @memberOf _
13354
+ * @since 0.1.0
13355
+ * @category Array
13356
+ * @param {Array} array The array to flatten.
13357
+ * @returns {Array} Returns the new flattened array.
13358
+ * @example
13359
+ *
13360
+ * _.flatten([1, [2, [3, [4]], 5]]);
13361
+ * // => [1, 2, [3, [4]], 5]
13362
+ */
13363
+ function flatten$1(array) {
13364
+ var length = array == null ? 0 : array.length;
13365
+ return length ? baseFlatten(array, 1) : [];
13366
+ }
13367
+
13368
+ var flatten_1 = flatten$1;
13369
+
13370
+ var flatten = flatten_1,
13371
+ overRest = _setToString._overRest,
13372
+ setToString = _setToString._setToString;
13373
+
13374
+ /**
13375
+ * A specialized version of `baseRest` which flattens the rest array.
13376
+ *
13377
+ * @private
13378
+ * @param {Function} func The function to apply a rest parameter to.
13379
+ * @returns {Function} Returns the new function.
13380
+ */
13381
+ function flatRest$1(func) {
13382
+ return setToString(overRest(func, undefined, flatten), func + '');
13383
+ }
13384
+
13385
+ var _flatRest = flatRest$1;
13386
+
13387
+ var arrayMap = _getAllKeys._arrayMap,
13388
+ baseClone = _baseClone,
13389
+ baseUnset = _baseUnset,
13390
+ castPath = _getAllKeys._castPath,
13391
+ copyObject = keysIn$3._copyObject,
13392
+ customOmitClone = _customOmitClone,
13393
+ flatRest = _flatRest,
13394
+ getAllKeysIn = _getAllKeysIn;
13395
+
13396
+ /** Used to compose bitmasks for cloning. */
13397
+ var CLONE_DEEP_FLAG = 1,
13398
+ CLONE_FLAT_FLAG = 2,
13399
+ CLONE_SYMBOLS_FLAG = 4;
13400
+
13401
+ /**
13402
+ * The opposite of `_.pick`; this method creates an object composed of the
13403
+ * own and inherited enumerable property paths of `object` that are not omitted.
13404
+ *
13405
+ * **Note:** This method is considerably slower than `_.pick`.
13406
+ *
13407
+ * @static
13408
+ * @since 0.1.0
13409
+ * @memberOf _
13410
+ * @category Object
13411
+ * @param {Object} object The source object.
13412
+ * @param {...(string|string[])} [paths] The property paths to omit.
13413
+ * @returns {Object} Returns the new object.
13414
+ * @example
13415
+ *
13416
+ * var object = { 'a': 1, 'b': '2', 'c': 3 };
13417
+ *
13418
+ * _.omit(object, ['a', 'c']);
13419
+ * // => { 'b': '2' }
13420
+ */
13421
+ var omit = flatRest(function(object, paths) {
13422
+ var result = {};
13423
+ if (object == null) {
13424
+ return result;
13425
+ }
13426
+ var isDeep = false;
13427
+ paths = arrayMap(paths, function(path) {
13428
+ path = castPath(path, object);
13429
+ isDeep || (isDeep = path.length > 1);
13430
+ return path;
13431
+ });
13432
+ copyObject(object, getAllKeysIn(object), result);
13433
+ if (isDeep) {
13434
+ result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
13435
+ }
13436
+ var length = paths.length;
13437
+ while (length--) {
13438
+ baseUnset(result, paths[length]);
13439
+ }
13440
+ return result;
13441
+ });
13442
+
13443
+ var omit_1 = omit;
13444
+
13445
+ var omit$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(omit_1);
13446
+
12669
13447
  const DatePickerActivator = React.forwardRef(InternalActivator);
12670
13448
  function InternalActivator(props, ref) {
12671
13449
  const { activator, fullWidth } = props;
12672
- const newActivatorProps = omit.omit(props, ["activator", "fullWidth"]);
13450
+ const newActivatorProps = omit$1(props, ["activator", "fullWidth"]);
12673
13451
  if (activator) {
12674
13452
  if (React.isValidElement(activator)) {
12675
13453
  const isAComponent = typeof activator.type === "function";
@@ -12758,7 +13536,7 @@ function DatePicker({ onChange, onMonthChange, onOpenChange, activator, inline,
12758
13536
  const { pickerRef } = useEscapeKeyToCloseDatePicker(open, ref, focusOnSelectedDate, renderInsidePortal);
12759
13537
  const { handleChange, handleCalendarOpen, handleCalendarClose } = useDatePickerHandlers(onChange, setOpen, onOpenChange, smartAutofocus !== null && smartAutofocus !== void 0 ? smartAutofocus : true, focusOnSelectedDate);
12760
13538
  jobberHooks.useRefocusOnActivator(smartAutofocus ? open : false);
12761
- return (React.createElement("div", { className: wrapperClassName, ref: ref, "data-elevation": "elevated", onKeyDown: event => {
13539
+ return (React.createElement("div", { className: wrapperClassName, ref: ref, onKeyDown: event => {
12762
13540
  // Stop Escape from bubbling to parent floating elements (e.g. Modal).
12763
13541
  if (event.key === "Escape" && open) {
12764
13542
  event.stopPropagation();
@@ -12809,7 +13587,7 @@ function useEscapeKeyToCloseDatePicker(open, ref, focusOnSelectedDate, isPortall
12809
13587
  function DatePickerPortal({ portalId }) {
12810
13588
  const nodeId = floatingUi_react.useFloatingNodeId();
12811
13589
  const parentNodeId = floatingUi_react.useFloatingParentNodeId();
12812
- const portalDiv = React.createElement("div", { id: portalId, className: styles.portalContainer });
13590
+ const portalDiv = (React.createElement("div", { id: portalId, className: styles.portalContainer, "data-elevation": "elevated" }));
12813
13591
  if (parentNodeId) {
12814
13592
  return (React.createElement(floatingUi_react.FloatingTree, null,
12815
13593
  React.createElement(floatingUi_react.FloatingNode, { id: nodeId },