@jobber/components 6.11.3 → 6.11.5

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 (56) hide show
  1. package/dist/Autocomplete/index.cjs +11 -2
  2. package/dist/Autocomplete/index.mjs +11 -2
  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/components/DataListSearch/index.cjs +10 -1
  12. package/dist/DataList/components/DataListSearch/index.mjs +10 -1
  13. package/dist/DataList/index.cjs +8 -1
  14. package/dist/DataList/index.mjs +8 -1
  15. package/dist/DataListSearch-cjs.js +2 -2
  16. package/dist/DataListSearch-es.js +1 -1
  17. package/dist/DatePicker/index.cjs +3 -2
  18. package/dist/DatePicker/index.mjs +3 -2
  19. package/dist/DatePicker-cjs.js +2 -781
  20. package/dist/DatePicker-es.js +3 -781
  21. package/dist/FormField/FormFieldTypes.d.ts +3 -3
  22. package/dist/FormField/hooks/useFormFieldWrapperStyles.d.ts +3 -3
  23. package/dist/FormField-cjs.js +5 -2
  24. package/dist/FormField-es.js +3 -3
  25. package/dist/InputDate/index.cjs +16 -15
  26. package/dist/InputDate/index.mjs +16 -15
  27. package/dist/InputDate-cjs.js +3 -2
  28. package/dist/InputDate-es.js +2 -1
  29. package/dist/InputText/InputText.d.ts +10 -20
  30. package/dist/InputText/InputText.rebuilt.d.ts +3 -0
  31. package/dist/InputText/InputText.types.d.ts +78 -0
  32. package/dist/InputText/index.cjs +263 -8
  33. package/dist/InputText/index.d.ts +5 -1
  34. package/dist/InputText/index.mjs +266 -7
  35. package/dist/InputText/useInputTextActions.d.ts +16 -0
  36. package/dist/InputText/useInputTextFormField.d.ts +347 -0
  37. package/dist/InputText/useTextAreaResize.d.ts +14 -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/{_getAllKeys-cjs.js → _baseGet-cjs.js} +181 -181
  45. package/dist/{_getAllKeys-es.js → _baseGet-es.js} +183 -183
  46. package/dist/index.cjs +4 -3
  47. package/dist/index.mjs +3 -2
  48. package/dist/isTypedArray-es.js +1 -1
  49. package/dist/omit-cjs.js +783 -0
  50. package/dist/omit-es.js +781 -0
  51. package/dist/styles.css +0 -1
  52. package/dist/useScrollToActive-cjs.js +3 -3
  53. package/dist/useScrollToActive-es.js +1 -1
  54. package/package.json +2 -2
  55. package/dist/InputText-cjs.js +0 -129
  56. package/dist/InputText-es.js +0 -127
@@ -1,8 +1,152 @@
1
- import { a as isArray_1, b as isArrayLike_1 } from './isTypedArray-es.js';
1
+ import { b as isArrayLike_1, a as isArray_1 } from './isTypedArray-es.js';
2
+ import { d as _arrayLikeKeys, f as _MapCache } from './identity-es.js';
3
+ import { _ as _baseKeys } from './_getTag-es.js';
2
4
  import { i as isSymbol_1 } from './isSymbol-es.js';
3
- import { f as _MapCache, d as _arrayLikeKeys } from './identity-es.js';
4
5
  import { b as _Symbol } from './isObjectLike-es.js';
5
- import { _ as _baseKeys } from './_getTag-es.js';
6
+
7
+ /**
8
+ * A specialized version of `_.map` for arrays without support for iteratee
9
+ * shorthands.
10
+ *
11
+ * @private
12
+ * @param {Array} [array] The array to iterate over.
13
+ * @param {Function} iteratee The function invoked per iteration.
14
+ * @returns {Array} Returns the new mapped array.
15
+ */
16
+
17
+ function arrayMap$1(array, iteratee) {
18
+ var index = -1,
19
+ length = array == null ? 0 : array.length,
20
+ result = Array(length);
21
+
22
+ while (++index < length) {
23
+ result[index] = iteratee(array[index], index, array);
24
+ }
25
+ return result;
26
+ }
27
+
28
+ var _arrayMap = arrayMap$1;
29
+
30
+ var arrayLikeKeys = _arrayLikeKeys,
31
+ baseKeys = _baseKeys,
32
+ isArrayLike = isArrayLike_1;
33
+
34
+ /**
35
+ * Creates an array of the own enumerable property names of `object`.
36
+ *
37
+ * **Note:** Non-object values are coerced to objects. See the
38
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
39
+ * for more details.
40
+ *
41
+ * @static
42
+ * @since 0.1.0
43
+ * @memberOf _
44
+ * @category Object
45
+ * @param {Object} object The object to query.
46
+ * @returns {Array} Returns the array of property names.
47
+ * @example
48
+ *
49
+ * function Foo() {
50
+ * this.a = 1;
51
+ * this.b = 2;
52
+ * }
53
+ *
54
+ * Foo.prototype.c = 3;
55
+ *
56
+ * _.keys(new Foo);
57
+ * // => ['a', 'b'] (iteration order is not guaranteed)
58
+ *
59
+ * _.keys('hi');
60
+ * // => ['0', '1']
61
+ */
62
+ function keys$1(object) {
63
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
64
+ }
65
+
66
+ var keys_1 = keys$1;
67
+
68
+ /**
69
+ * A specialized version of `_.filter` for arrays without support for
70
+ * iteratee shorthands.
71
+ *
72
+ * @private
73
+ * @param {Array} [array] The array to iterate over.
74
+ * @param {Function} predicate The function invoked per iteration.
75
+ * @returns {Array} Returns the new filtered array.
76
+ */
77
+
78
+ function arrayFilter$1(array, predicate) {
79
+ var index = -1,
80
+ length = array == null ? 0 : array.length,
81
+ resIndex = 0,
82
+ result = [];
83
+
84
+ while (++index < length) {
85
+ var value = array[index];
86
+ if (predicate(value, index, array)) {
87
+ result[resIndex++] = value;
88
+ }
89
+ }
90
+ return result;
91
+ }
92
+
93
+ var _arrayFilter = arrayFilter$1;
94
+
95
+ /**
96
+ * This method returns a new empty array.
97
+ *
98
+ * @static
99
+ * @memberOf _
100
+ * @since 4.13.0
101
+ * @category Util
102
+ * @returns {Array} Returns the new empty array.
103
+ * @example
104
+ *
105
+ * var arrays = _.times(2, _.stubArray);
106
+ *
107
+ * console.log(arrays);
108
+ * // => [[], []]
109
+ *
110
+ * console.log(arrays[0] === arrays[1]);
111
+ * // => false
112
+ */
113
+
114
+ function stubArray$1() {
115
+ return [];
116
+ }
117
+
118
+ var stubArray_1 = stubArray$1;
119
+
120
+ var arrayFilter = _arrayFilter,
121
+ stubArray = stubArray_1;
122
+
123
+ /** Used for built-in method references. */
124
+ var objectProto = Object.prototype;
125
+
126
+ /** Built-in value references. */
127
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
128
+
129
+ /* Built-in method references for those with the same name as other `lodash` methods. */
130
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
131
+
132
+ /**
133
+ * Creates an array of the own enumerable symbols of `object`.
134
+ *
135
+ * @private
136
+ * @param {Object} object The object to query.
137
+ * @returns {Array} Returns the array of symbols.
138
+ */
139
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
140
+ if (object == null) {
141
+ return [];
142
+ }
143
+ object = Object(object);
144
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
145
+ return propertyIsEnumerable.call(object, symbol);
146
+ });
147
+ };
148
+
149
+ var _getSymbols = getSymbols$1;
6
150
 
7
151
  /**
8
152
  * Appends the elements of `values` to `array`.
@@ -26,30 +170,45 @@ function arrayPush$1(array, values) {
26
170
 
27
171
  var _arrayPush = arrayPush$1;
28
172
 
173
+ var arrayPush = _arrayPush,
174
+ isArray$3 = isArray_1;
175
+
29
176
  /**
30
- * A specialized version of `_.map` for arrays without support for iteratee
31
- * shorthands.
177
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
178
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
179
+ * symbols of `object`.
32
180
  *
33
181
  * @private
34
- * @param {Array} [array] The array to iterate over.
35
- * @param {Function} iteratee The function invoked per iteration.
36
- * @returns {Array} Returns the new mapped array.
182
+ * @param {Object} object The object to query.
183
+ * @param {Function} keysFunc The function to get the keys of `object`.
184
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
185
+ * @returns {Array} Returns the array of property names and symbols.
37
186
  */
187
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
188
+ var result = keysFunc(object);
189
+ return isArray$3(object) ? result : arrayPush(result, symbolsFunc(object));
190
+ }
38
191
 
39
- function arrayMap$1(array, iteratee) {
40
- var index = -1,
41
- length = array == null ? 0 : array.length,
42
- result = Array(length);
192
+ var _baseGetAllKeys = baseGetAllKeys$1;
43
193
 
44
- while (++index < length) {
45
- result[index] = iteratee(array[index], index, array);
46
- }
47
- return result;
194
+ var baseGetAllKeys = _baseGetAllKeys,
195
+ getSymbols = _getSymbols,
196
+ keys = keys_1;
197
+
198
+ /**
199
+ * Creates an array of own enumerable property names and symbols of `object`.
200
+ *
201
+ * @private
202
+ * @param {Object} object The object to query.
203
+ * @returns {Array} Returns the array of property names and symbols.
204
+ */
205
+ function getAllKeys(object) {
206
+ return baseGetAllKeys(object, keys, getSymbols);
48
207
  }
49
208
 
50
- var _arrayMap = arrayMap$1;
209
+ var _getAllKeys = getAllKeys;
51
210
 
52
- var isArray$3 = isArray_1,
211
+ var isArray$2 = isArray_1,
53
212
  isSymbol$2 = isSymbol_1;
54
213
 
55
214
  /** Used to match property names within property paths. */
@@ -65,7 +224,7 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
65
224
  * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
66
225
  */
67
226
  function isKey$1(value, object) {
68
- if (isArray$3(value)) {
227
+ if (isArray$2(value)) {
69
228
  return false;
70
229
  }
71
230
  var type = typeof value;
@@ -210,7 +369,7 @@ var _stringToPath = stringToPath$1;
210
369
 
211
370
  var Symbol = _Symbol,
212
371
  arrayMap = _arrayMap,
213
- isArray$2 = isArray_1,
372
+ isArray$1 = isArray_1,
214
373
  isSymbol$1 = isSymbol_1;
215
374
 
216
375
  /** Used as references for various `Number` constants. */
@@ -233,7 +392,7 @@ function baseToString$1(value) {
233
392
  if (typeof value == 'string') {
234
393
  return value;
235
394
  }
236
- if (isArray$2(value)) {
395
+ if (isArray$1(value)) {
237
396
  // Recursively convert values (susceptible to call stack limits).
238
397
  return arrayMap(value, baseToString$1) + '';
239
398
  }
@@ -275,7 +434,7 @@ function toString$1(value) {
275
434
 
276
435
  var toString_1 = toString$1;
277
436
 
278
- var isArray$1 = isArray_1,
437
+ var isArray = isArray_1,
279
438
  isKey = _isKey,
280
439
  stringToPath = _stringToPath,
281
440
  toString = toString_1;
@@ -289,7 +448,7 @@ var isArray$1 = isArray_1,
289
448
  * @returns {Array} Returns the cast property path array.
290
449
  */
291
450
  function castPath$1(value, object) {
292
- if (isArray$1(value)) {
451
+ if (isArray(value)) {
293
452
  return value;
294
453
  }
295
454
  return isKey(value, object) ? [value] : stringToPath(toString(value));
@@ -344,163 +503,4 @@ function baseGet(object, path) {
344
503
 
345
504
  var _baseGet = baseGet;
346
505
 
347
- var arrayPush = _arrayPush,
348
- isArray = isArray_1;
349
-
350
- /**
351
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
352
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
353
- * symbols of `object`.
354
- *
355
- * @private
356
- * @param {Object} object The object to query.
357
- * @param {Function} keysFunc The function to get the keys of `object`.
358
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
359
- * @returns {Array} Returns the array of property names and symbols.
360
- */
361
- function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
362
- var result = keysFunc(object);
363
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
364
- }
365
-
366
- var _baseGetAllKeys = baseGetAllKeys$1;
367
-
368
- /**
369
- * A specialized version of `_.filter` for arrays without support for
370
- * iteratee shorthands.
371
- *
372
- * @private
373
- * @param {Array} [array] The array to iterate over.
374
- * @param {Function} predicate The function invoked per iteration.
375
- * @returns {Array} Returns the new filtered array.
376
- */
377
-
378
- function arrayFilter$1(array, predicate) {
379
- var index = -1,
380
- length = array == null ? 0 : array.length,
381
- resIndex = 0,
382
- result = [];
383
-
384
- while (++index < length) {
385
- var value = array[index];
386
- if (predicate(value, index, array)) {
387
- result[resIndex++] = value;
388
- }
389
- }
390
- return result;
391
- }
392
-
393
- var _arrayFilter = arrayFilter$1;
394
-
395
- /**
396
- * This method returns a new empty array.
397
- *
398
- * @static
399
- * @memberOf _
400
- * @since 4.13.0
401
- * @category Util
402
- * @returns {Array} Returns the new empty array.
403
- * @example
404
- *
405
- * var arrays = _.times(2, _.stubArray);
406
- *
407
- * console.log(arrays);
408
- * // => [[], []]
409
- *
410
- * console.log(arrays[0] === arrays[1]);
411
- * // => false
412
- */
413
-
414
- function stubArray$1() {
415
- return [];
416
- }
417
-
418
- var stubArray_1 = stubArray$1;
419
-
420
- var arrayFilter = _arrayFilter,
421
- stubArray = stubArray_1;
422
-
423
- /** Used for built-in method references. */
424
- var objectProto = Object.prototype;
425
-
426
- /** Built-in value references. */
427
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
428
-
429
- /* Built-in method references for those with the same name as other `lodash` methods. */
430
- var nativeGetSymbols = Object.getOwnPropertySymbols;
431
-
432
- /**
433
- * Creates an array of the own enumerable symbols of `object`.
434
- *
435
- * @private
436
- * @param {Object} object The object to query.
437
- * @returns {Array} Returns the array of symbols.
438
- */
439
- var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
440
- if (object == null) {
441
- return [];
442
- }
443
- object = Object(object);
444
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
445
- return propertyIsEnumerable.call(object, symbol);
446
- });
447
- };
448
-
449
- var _getSymbols = getSymbols$1;
450
-
451
- var arrayLikeKeys = _arrayLikeKeys,
452
- baseKeys = _baseKeys,
453
- isArrayLike = isArrayLike_1;
454
-
455
- /**
456
- * Creates an array of the own enumerable property names of `object`.
457
- *
458
- * **Note:** Non-object values are coerced to objects. See the
459
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
460
- * for more details.
461
- *
462
- * @static
463
- * @since 0.1.0
464
- * @memberOf _
465
- * @category Object
466
- * @param {Object} object The object to query.
467
- * @returns {Array} Returns the array of property names.
468
- * @example
469
- *
470
- * function Foo() {
471
- * this.a = 1;
472
- * this.b = 2;
473
- * }
474
- *
475
- * Foo.prototype.c = 3;
476
- *
477
- * _.keys(new Foo);
478
- * // => ['a', 'b'] (iteration order is not guaranteed)
479
- *
480
- * _.keys('hi');
481
- * // => ['0', '1']
482
- */
483
- function keys$1(object) {
484
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
485
- }
486
-
487
- var keys_1 = keys$1;
488
-
489
- var baseGetAllKeys = _baseGetAllKeys,
490
- getSymbols = _getSymbols,
491
- keys = keys_1;
492
-
493
- /**
494
- * Creates an array of own enumerable property names and symbols of `object`.
495
- *
496
- * @private
497
- * @param {Object} object The object to query.
498
- * @returns {Array} Returns the array of property names and symbols.
499
- */
500
- function getAllKeys(object) {
501
- return baseGetAllKeys(object, keys, getSymbols);
502
- }
503
-
504
- var _getAllKeys = getAllKeys;
505
-
506
- export { _arrayPush as _, _arrayMap as a, _baseGet as b, _getAllKeys as c, _castPath as d, _toKey as e, _isKey as f, _getSymbols as g, _baseGetAllKeys as h, keys_1 as k, stubArray_1 as s };
506
+ export { _arrayPush as _, _arrayMap as a, _baseGet as b, _getSymbols as c, _baseGetAllKeys as d, _getAllKeys as e, _castPath as f, _toKey as g, _isKey as h, keys_1 as k, stubArray_1 as s };
package/dist/index.cjs CHANGED
@@ -56,7 +56,7 @@ var InputGroup = require('./InputGroup-cjs.js');
56
56
  var InputNumber = require('./InputNumber-cjs.js');
57
57
  var InputPassword = require('./InputPassword-cjs.js');
58
58
  var InputPhoneNumber = require('./InputPhoneNumber-cjs.js');
59
- var InputText = require('./InputText-cjs.js');
59
+ var InputText_index = require('./InputText/index.cjs');
60
60
  var InputTime = require('./InputTime-cjs.js');
61
61
  var InputValidation = require('./InputValidation-cjs.js');
62
62
  var LightBox = require('./LightBox-cjs.js');
@@ -114,7 +114,7 @@ require('./useChildComponent-cjs.js');
114
114
  require('./InternalChipDismissible-cjs.js');
115
115
  require('./useScrollToActive-cjs.js');
116
116
  require('./_baseFlatten-cjs.js');
117
- require('./_getAllKeys-cjs.js');
117
+ require('./_baseGet-cjs.js');
118
118
  require('./_getTag-cjs.js');
119
119
  require('./_baseEach-cjs.js');
120
120
  require('./_polyfill-node.process-cjs.js');
@@ -167,6 +167,7 @@ require('./DataListAction-cjs.js');
167
167
  require('./DataListLayoutActions-cjs.js');
168
168
  require('./DataListStatusBar-cjs.js');
169
169
  require('./throttle-cjs.js');
170
+ require('./omit-cjs.js');
170
171
  require('./useFormFieldFocus-cjs.js');
171
172
  require('filesize');
172
173
  require('./GridCell-cjs.js');
@@ -251,7 +252,7 @@ exports.InputGroup = InputGroup.InputGroup;
251
252
  exports.InputNumber = InputNumber.InputNumber;
252
253
  exports.InputPassword = InputPassword.InputPassword;
253
254
  exports.InputPhoneNumber = InputPhoneNumber.InputPhoneNumber;
254
- exports.InputText = InputText.InputText;
255
+ exports.InputText = InputText_index.InputText;
255
256
  exports.InputTime = InputTime.InputTime;
256
257
  exports.InputValidation = InputValidation.InputValidation;
257
258
  exports.LightBox = LightBox.LightBox;
package/dist/index.mjs CHANGED
@@ -54,7 +54,7 @@ export { I as InputGroup } from './InputGroup-es.js';
54
54
  export { I as InputNumber } from './InputNumber-es.js';
55
55
  export { I as InputPassword } from './InputPassword-es.js';
56
56
  export { I as InputPhoneNumber } from './InputPhoneNumber-es.js';
57
- export { I as InputText } from './InputText-es.js';
57
+ export { InputText } from './InputText/index.mjs';
58
58
  export { I as InputTime } from './InputTime-es.js';
59
59
  export { I as InputValidation } from './InputValidation-es.js';
60
60
  export { L as LightBox } from './LightBox-es.js';
@@ -112,7 +112,7 @@ import './useChildComponent-es.js';
112
112
  import './InternalChipDismissible-es.js';
113
113
  import './useScrollToActive-es.js';
114
114
  import './_baseFlatten-es.js';
115
- import './_getAllKeys-es.js';
115
+ import './_baseGet-es.js';
116
116
  import './_getTag-es.js';
117
117
  import './_baseEach-es.js';
118
118
  import './_polyfill-node.process-es.js';
@@ -165,6 +165,7 @@ import './DataListAction-es.js';
165
165
  import './DataListLayoutActions-es.js';
166
166
  import './DataListStatusBar-es.js';
167
167
  import './throttle-es.js';
168
+ import './omit-es.js';
168
169
  import './useFormFieldFocus-es.js';
169
170
  import 'filesize';
170
171
  import './GridCell-es.js';
@@ -586,4 +586,4 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
586
586
 
587
587
  var isTypedArray_1 = isTypedArray;
588
588
 
589
- export { _isPrototype as _, isArray_1 as a, isArrayLike_1 as b, isBufferExports as c, isTypedArray_1 as d, _overArg as e, _getNative as f, _Map as g, _toSource as h, isArguments_1 as i, isFunction_1 as j, _baseUnary as k, isLength_1 as l, _nodeUtilExports as m };
589
+ export { _isPrototype as _, isArray_1 as a, isArrayLike_1 as b, isBufferExports as c, isTypedArray_1 as d, _overArg as e, _getNative as f, _Map as g, _toSource as h, isArguments_1 as i, isFunction_1 as j, _baseUnary as k, _nodeUtilExports as l, isLength_1 as m };