@jobber/components 6.103.0 → 6.103.2-JOB-140609-f6002b5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Autocomplete/index.cjs +0 -12
- package/dist/Autocomplete/index.mjs +0 -12
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +2 -2
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +2 -2
- package/dist/Chips/InternalChipDismissible/index.cjs +2 -2
- package/dist/Chips/InternalChipDismissible/index.mjs +2 -2
- package/dist/Chips/index.cjs +2 -2
- package/dist/Chips/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +1 -12
- package/dist/DataList/components/DataListSearch/index.mjs +1 -12
- package/dist/DataList/index.cjs +0 -8
- package/dist/DataList/index.mjs +0 -8
- package/dist/DataTable/index.cjs +2 -2
- package/dist/DataTable/index.mjs +2 -2
- package/dist/DatePicker/index.cjs +2 -2
- package/dist/DatePicker/index.mjs +2 -2
- package/dist/FormField/FormFieldTypes.d.ts +195 -0
- package/dist/FormField-cjs.js +0 -1
- package/dist/FormField-es.js +1 -1
- package/dist/InputDate/index.cjs +8 -4
- package/dist/InputDate/index.mjs +8 -4
- package/dist/InputDate/useInputDateActivatorActions.d.ts +2 -2
- package/dist/InputEmail/InputEmail.types.d.ts +28 -21
- package/dist/InputEmail/hooks/useInputEmailActions.d.ts +1 -1
- package/dist/InputEmail/index.cjs +10 -45
- package/dist/InputEmail/index.mjs +10 -45
- package/dist/InputPhoneNumber/InputPhoneNumber.types.d.ts +25 -24
- package/dist/InputPhoneNumber/hooks/useInputPhoneActions.d.ts +1 -1
- package/dist/InputPhoneNumber/index.cjs +24 -36
- package/dist/InputPhoneNumber/index.mjs +24 -36
- package/dist/InputText/InputText.d.ts +2 -2
- package/dist/InputText/InputText.types.d.ts +39 -24
- package/dist/InputText/index.cjs +26 -55
- package/dist/InputText/index.mjs +27 -56
- package/dist/InputText/useInputTextActions.d.ts +1 -1
- package/dist/InputTime/index.cjs +1 -1
- package/dist/InputTime/index.mjs +1 -1
- package/dist/List/index.cjs +2 -2
- package/dist/List/index.mjs +2 -2
- package/dist/RecurringSelect/index.cjs +2 -2
- package/dist/RecurringSelect/index.mjs +2 -2
- package/dist/Select/index.cjs +2 -2
- package/dist/Select/index.mjs +2 -2
- package/dist/_baseEach-cjs.js +12 -12
- package/dist/_baseEach-es.js +1 -1
- package/dist/_baseFlatten-cjs.js +2 -2
- package/dist/_baseFlatten-es.js +1 -1
- package/dist/{_baseGet-cjs.js → _getAllKeys-cjs.js} +181 -181
- package/dist/{_baseGet-es.js → _getAllKeys-es.js} +182 -182
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/omit-cjs.js +14 -14
- package/dist/omit-es.js +1 -1
- package/dist/styles.css +11 -3
- package/dist/useScrollToActive-cjs.js +3 -3
- package/dist/useScrollToActive-es.js +1 -1
- package/package.json +2 -2
- package/dist/InputEmail/hooks/useInputEmailFormField.d.ts +0 -32
- package/dist/InputPhoneNumber/hooks/useInputPhoneFormField.d.ts +0 -71
- package/dist/InputText/useInputTextFormField.d.ts +0 -352
|
@@ -1,152 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as _arrayLikeKeys, g as _MapCache } from './identity-es.js';
|
|
3
|
-
import { _ as _baseKeys } from './_getTag-es.js';
|
|
1
|
+
import { a as isArray_1, b as isArrayLike_1 } from './isTypedArray-es.js';
|
|
4
2
|
import { i as isSymbol_1 } from './isSymbol-es.js';
|
|
3
|
+
import { g as _MapCache, f as _arrayLikeKeys } from './identity-es.js';
|
|
5
4
|
import { b as _Symbol } from './isObjectLike-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;
|
|
5
|
+
import { _ as _baseKeys } from './_getTag-es.js';
|
|
150
6
|
|
|
151
7
|
/**
|
|
152
8
|
* Appends the elements of `values` to `array`.
|
|
@@ -170,45 +26,30 @@ function arrayPush$1(array, values) {
|
|
|
170
26
|
|
|
171
27
|
var _arrayPush = arrayPush$1;
|
|
172
28
|
|
|
173
|
-
var arrayPush = _arrayPush,
|
|
174
|
-
isArray$3 = isArray_1;
|
|
175
|
-
|
|
176
29
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* symbols of `object`.
|
|
30
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
31
|
+
* shorthands.
|
|
180
32
|
*
|
|
181
33
|
* @private
|
|
182
|
-
* @param {
|
|
183
|
-
* @param {Function}
|
|
184
|
-
* @
|
|
185
|
-
* @returns {Array} Returns the array of property names and symbols.
|
|
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.
|
|
186
37
|
*/
|
|
187
|
-
function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
|
|
188
|
-
var result = keysFunc(object);
|
|
189
|
-
return isArray$3(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
190
|
-
}
|
|
191
38
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
keys = keys_1;
|
|
39
|
+
function arrayMap$1(array, iteratee) {
|
|
40
|
+
var index = -1,
|
|
41
|
+
length = array == null ? 0 : array.length,
|
|
42
|
+
result = Array(length);
|
|
197
43
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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);
|
|
44
|
+
while (++index < length) {
|
|
45
|
+
result[index] = iteratee(array[index], index, array);
|
|
46
|
+
}
|
|
47
|
+
return result;
|
|
207
48
|
}
|
|
208
49
|
|
|
209
|
-
var
|
|
50
|
+
var _arrayMap = arrayMap$1;
|
|
210
51
|
|
|
211
|
-
var isArray$
|
|
52
|
+
var isArray$3 = isArray_1,
|
|
212
53
|
isSymbol$2 = isSymbol_1;
|
|
213
54
|
|
|
214
55
|
/** Used to match property names within property paths. */
|
|
@@ -224,7 +65,7 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
|
224
65
|
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
|
225
66
|
*/
|
|
226
67
|
function isKey$1(value, object) {
|
|
227
|
-
if (isArray$
|
|
68
|
+
if (isArray$3(value)) {
|
|
228
69
|
return false;
|
|
229
70
|
}
|
|
230
71
|
var type = typeof value;
|
|
@@ -369,7 +210,7 @@ var _stringToPath = stringToPath$1;
|
|
|
369
210
|
|
|
370
211
|
var Symbol = _Symbol,
|
|
371
212
|
arrayMap = _arrayMap,
|
|
372
|
-
isArray$
|
|
213
|
+
isArray$2 = isArray_1,
|
|
373
214
|
isSymbol$1 = isSymbol_1;
|
|
374
215
|
|
|
375
216
|
/** Used as references for various `Number` constants. */
|
|
@@ -392,7 +233,7 @@ function baseToString$1(value) {
|
|
|
392
233
|
if (typeof value == 'string') {
|
|
393
234
|
return value;
|
|
394
235
|
}
|
|
395
|
-
if (isArray$
|
|
236
|
+
if (isArray$2(value)) {
|
|
396
237
|
// Recursively convert values (susceptible to call stack limits).
|
|
397
238
|
return arrayMap(value, baseToString$1) + '';
|
|
398
239
|
}
|
|
@@ -434,7 +275,7 @@ function toString$1(value) {
|
|
|
434
275
|
|
|
435
276
|
var toString_1 = toString$1;
|
|
436
277
|
|
|
437
|
-
var isArray = isArray_1,
|
|
278
|
+
var isArray$1 = isArray_1,
|
|
438
279
|
isKey = _isKey,
|
|
439
280
|
stringToPath = _stringToPath,
|
|
440
281
|
toString = toString_1;
|
|
@@ -448,7 +289,7 @@ var isArray = isArray_1,
|
|
|
448
289
|
* @returns {Array} Returns the cast property path array.
|
|
449
290
|
*/
|
|
450
291
|
function castPath$1(value, object) {
|
|
451
|
-
if (isArray(value)) {
|
|
292
|
+
if (isArray$1(value)) {
|
|
452
293
|
return value;
|
|
453
294
|
}
|
|
454
295
|
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
@@ -503,4 +344,163 @@ function baseGet(object, path) {
|
|
|
503
344
|
|
|
504
345
|
var _baseGet = baseGet;
|
|
505
346
|
|
|
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
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
|
@@ -121,9 +121,9 @@ require('./useChildComponent-cjs.js');
|
|
|
121
121
|
require('./InternalChipDismissible-cjs.js');
|
|
122
122
|
require('./useScrollToActive-cjs.js');
|
|
123
123
|
require('./_baseFlatten-cjs.js');
|
|
124
|
-
require('./
|
|
125
|
-
require('./_getTag-cjs.js');
|
|
124
|
+
require('./_getAllKeys-cjs.js');
|
|
126
125
|
require('./isSymbol-cjs.js');
|
|
126
|
+
require('./_getTag-cjs.js');
|
|
127
127
|
require('./_baseEach-cjs.js');
|
|
128
128
|
require('./debounce-cjs.js');
|
|
129
129
|
require('./ComboboxContent-cjs.js');
|
package/dist/index.mjs
CHANGED
|
@@ -119,9 +119,9 @@ import './useChildComponent-es.js';
|
|
|
119
119
|
import './InternalChipDismissible-es.js';
|
|
120
120
|
import './useScrollToActive-es.js';
|
|
121
121
|
import './_baseFlatten-es.js';
|
|
122
|
-
import './
|
|
123
|
-
import './_getTag-es.js';
|
|
122
|
+
import './_getAllKeys-es.js';
|
|
124
123
|
import './isSymbol-es.js';
|
|
124
|
+
import './_getTag-es.js';
|
|
125
125
|
import './_baseEach-es.js';
|
|
126
126
|
import './debounce-es.js';
|
|
127
127
|
import './ComboboxContent-es.js';
|
package/dist/omit-cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-cjs.js');
|
|
4
|
-
var
|
|
4
|
+
var _getAllKeys = require('./_getAllKeys-cjs.js');
|
|
5
5
|
var identity = require('./identity-cjs.js');
|
|
6
6
|
var keysIn$3 = require('./keysIn-cjs.js');
|
|
7
7
|
var _getTag = require('./_getTag-cjs.js');
|
|
@@ -35,7 +35,7 @@ function arrayEach$1(array, iteratee) {
|
|
|
35
35
|
var _arrayEach = arrayEach$1;
|
|
36
36
|
|
|
37
37
|
var copyObject$4 = keysIn$3._copyObject,
|
|
38
|
-
keys$1 =
|
|
38
|
+
keys$1 = _getAllKeys.keys_1;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* The base implementation of `_.assign` without support for multiple sources
|
|
@@ -71,7 +71,7 @@ function baseAssignIn$1(object, source) {
|
|
|
71
71
|
var _baseAssignIn = baseAssignIn$1;
|
|
72
72
|
|
|
73
73
|
var copyObject$2 = keysIn$3._copyObject,
|
|
74
|
-
getSymbols$1 =
|
|
74
|
+
getSymbols$1 = _getAllKeys._getSymbols;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* Copies own symbols of `source` to `object`.
|
|
@@ -87,10 +87,10 @@ function copySymbols$1(source, object) {
|
|
|
87
87
|
|
|
88
88
|
var _copySymbols = copySymbols$1;
|
|
89
89
|
|
|
90
|
-
var arrayPush =
|
|
90
|
+
var arrayPush = _getAllKeys._arrayPush,
|
|
91
91
|
getPrototype = keysIn$3._getPrototype,
|
|
92
|
-
getSymbols =
|
|
93
|
-
stubArray =
|
|
92
|
+
getSymbols = _getAllKeys._getSymbols,
|
|
93
|
+
stubArray = _getAllKeys.stubArray_1;
|
|
94
94
|
|
|
95
95
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
96
96
|
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
@@ -130,7 +130,7 @@ function copySymbolsIn$1(source, object) {
|
|
|
130
130
|
|
|
131
131
|
var _copySymbolsIn = copySymbolsIn$1;
|
|
132
132
|
|
|
133
|
-
var baseGetAllKeys =
|
|
133
|
+
var baseGetAllKeys = _getAllKeys._baseGetAllKeys,
|
|
134
134
|
getSymbolsIn = _getSymbolsIn,
|
|
135
135
|
keysIn$1 = keysIn$3.keysIn_1;
|
|
136
136
|
|
|
@@ -412,7 +412,7 @@ var Stack = identity._Stack,
|
|
|
412
412
|
copyArray = keysIn$3._copyArray,
|
|
413
413
|
copySymbols = _copySymbols,
|
|
414
414
|
copySymbolsIn = _copySymbolsIn,
|
|
415
|
-
getAllKeys =
|
|
415
|
+
getAllKeys = _getAllKeys._getAllKeys,
|
|
416
416
|
getAllKeysIn$1 = _getAllKeysIn,
|
|
417
417
|
getTag = _getTag._getTag,
|
|
418
418
|
initCloneArray = _initCloneArray,
|
|
@@ -423,7 +423,7 @@ var Stack = identity._Stack,
|
|
|
423
423
|
isMap = isMap_1,
|
|
424
424
|
isObject = isObjectLike$2.isObject_1,
|
|
425
425
|
isSet = isSet_1,
|
|
426
|
-
keys =
|
|
426
|
+
keys = _getAllKeys.keys_1,
|
|
427
427
|
keysIn = keysIn$3.keysIn_1;
|
|
428
428
|
|
|
429
429
|
/** Used to compose bitmasks for cloning. */
|
|
@@ -625,7 +625,7 @@ function baseSlice$1(array, start, end) {
|
|
|
625
625
|
|
|
626
626
|
var _baseSlice = baseSlice$1;
|
|
627
627
|
|
|
628
|
-
var baseGet =
|
|
628
|
+
var baseGet = _getAllKeys._baseGet,
|
|
629
629
|
baseSlice = _baseSlice;
|
|
630
630
|
|
|
631
631
|
/**
|
|
@@ -642,10 +642,10 @@ function parent$1(object, path) {
|
|
|
642
642
|
|
|
643
643
|
var _parent = parent$1;
|
|
644
644
|
|
|
645
|
-
var castPath$1 =
|
|
645
|
+
var castPath$1 = _getAllKeys._castPath,
|
|
646
646
|
last = last_1,
|
|
647
647
|
parent = _parent,
|
|
648
|
-
toKey =
|
|
648
|
+
toKey = _getAllKeys._toKey;
|
|
649
649
|
|
|
650
650
|
/**
|
|
651
651
|
* The base implementation of `_.unset`.
|
|
@@ -720,10 +720,10 @@ function flatRest$1(func) {
|
|
|
720
720
|
|
|
721
721
|
var _flatRest = flatRest$1;
|
|
722
722
|
|
|
723
|
-
var arrayMap =
|
|
723
|
+
var arrayMap = _getAllKeys._arrayMap,
|
|
724
724
|
baseClone = _baseClone,
|
|
725
725
|
baseUnset = _baseUnset,
|
|
726
|
-
castPath =
|
|
726
|
+
castPath = _getAllKeys._castPath,
|
|
727
727
|
copyObject = keysIn$3._copyObject,
|
|
728
728
|
customOmitClone = _customOmitClone,
|
|
729
729
|
flatRest = _flatRest,
|
package/dist/omit-es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
2
|
-
import { k as keys_1, c as _getSymbols, _ as _arrayPush, s as stubArray_1, d as _baseGetAllKeys, e as _getAllKeys, b as _baseGet, f as _castPath, g as _toKey, a as _arrayMap } from './
|
|
2
|
+
import { k as keys_1, c as _getSymbols, _ as _arrayPush, s as stubArray_1, d as _baseGetAllKeys, e as _getAllKeys, b as _baseGet, f as _castPath, g as _toKey, a as _arrayMap } from './_getAllKeys-es.js';
|
|
3
3
|
import { c as _Stack } from './identity-es.js';
|
|
4
4
|
import { _ as _copyObject, k as keysIn_1, e as _getPrototype, f as _cloneArrayBuffer, b as _cloneTypedArray, a as _cloneBufferExports, c as _copyArray, d as _initCloneObject, g as _assignValue, i as isPlainObject_1 } from './keysIn-es.js';
|
|
5
5
|
import { a as _getTag } from './_getTag-es.js';
|
package/dist/styles.css
CHANGED
|
@@ -2427,6 +2427,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
2427
2427
|
|
|
2428
2428
|
display: block;
|
|
2429
2429
|
width: 100%;
|
|
2430
|
+
box-sizing: border-box;
|
|
2430
2431
|
border: 1px solid hsl(200, 13%, 87%);
|
|
2431
2432
|
border: var(--card--border);
|
|
2432
2433
|
border-radius: 8px;
|
|
@@ -2460,11 +2461,18 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
2460
2461
|
.Iilm5Uhxo50-::before {
|
|
2461
2462
|
content: " ";
|
|
2462
2463
|
display: block;
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2464
|
+
position: relative;
|
|
2465
|
+
top: 1px;
|
|
2466
|
+
top: var(--border-base);
|
|
2467
|
+
height: calc(0.375rem - 1px * 2);
|
|
2468
|
+
height: calc(0.375rem - var(--border-base) * 2);
|
|
2469
|
+
box-shadow: 0 0 0 1px var(--card--accent-color);
|
|
2470
|
+
box-shadow: 0 0 0 var(--border-base) var(--card--accent-color);
|
|
2471
|
+
margin: 0 0 calc(1px * 2);
|
|
2472
|
+
margin: 0 0 calc(var(--border-base) * 2);
|
|
2466
2473
|
border-radius: 8px 8px 0 0;
|
|
2467
2474
|
border-radius: var(--radius-base) var(--radius-base) 0 0;
|
|
2475
|
+
background-color: var(--card--accent-color);
|
|
2468
2476
|
}
|
|
2469
2477
|
|
|
2470
2478
|
.Vppn4k0fBsc- {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var _commonjsHelpers = require('./_commonjsHelpers-cjs.js');
|
|
5
5
|
var _baseFlatten = require('./_baseFlatten-cjs.js');
|
|
6
|
-
var
|
|
6
|
+
var _getAllKeys = require('./_getAllKeys-cjs.js');
|
|
7
7
|
var _baseEach = require('./_baseEach-cjs.js');
|
|
8
8
|
var isTypedArray = require('./isTypedArray-cjs.js');
|
|
9
9
|
var isSymbol$1 = require('./isSymbol-cjs.js');
|
|
@@ -148,8 +148,8 @@ function compareMultiple$1(object, other, orders) {
|
|
|
148
148
|
|
|
149
149
|
var _compareMultiple = compareMultiple$1;
|
|
150
150
|
|
|
151
|
-
var arrayMap =
|
|
152
|
-
baseGet =
|
|
151
|
+
var arrayMap = _getAllKeys._arrayMap,
|
|
152
|
+
baseGet = _getAllKeys._baseGet,
|
|
153
153
|
baseIteratee = _baseEach._baseIteratee,
|
|
154
154
|
baseMap = _baseMap,
|
|
155
155
|
baseSortBy = _baseSortBy,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState, useId, useEffect, useRef } from 'react';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
|
|
3
3
|
import { _ as _baseFlatten } from './_baseFlatten-es.js';
|
|
4
|
-
import { a as _arrayMap, b as _baseGet } from './
|
|
4
|
+
import { a as _arrayMap, b as _baseGet } from './_getAllKeys-es.js';
|
|
5
5
|
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-es.js';
|
|
6
6
|
import { b as isArrayLike_1, k as _baseUnary, a as isArray_1 } from './isTypedArray-es.js';
|
|
7
7
|
import { i as isSymbol_1 } from './isSymbol-es.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "6.103.
|
|
3
|
+
"version": "6.103.2-JOB-140609-f6002b5.12+f6002b510",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -538,5 +538,5 @@
|
|
|
538
538
|
"> 1%",
|
|
539
539
|
"IE 10"
|
|
540
540
|
],
|
|
541
|
-
"gitHead": "
|
|
541
|
+
"gitHead": "f6002b510c5705cb60656e05909632c7603aae0c"
|
|
542
542
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { ChangeEvent, FocusEvent, KeyboardEvent, ReactNode } from "react";
|
|
2
|
-
export interface UseInputEmailFormFieldProps {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly name: string;
|
|
5
|
-
readonly disabled?: boolean;
|
|
6
|
-
readonly autofocus?: boolean;
|
|
7
|
-
readonly error?: string;
|
|
8
|
-
readonly inline?: boolean;
|
|
9
|
-
readonly description?: ReactNode;
|
|
10
|
-
readonly invalid?: boolean;
|
|
11
|
-
readonly value?: string;
|
|
12
|
-
readonly handleChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
-
readonly handleBlur: (event?: FocusEvent<HTMLInputElement>) => void;
|
|
14
|
-
readonly handleFocus: (event: FocusEvent<HTMLInputElement>) => void;
|
|
15
|
-
readonly handleKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
16
|
-
}
|
|
17
|
-
export interface UseInputEmailFormFieldReturn {
|
|
18
|
-
readonly fieldProps: {
|
|
19
|
-
readonly id: string;
|
|
20
|
-
readonly name: string;
|
|
21
|
-
readonly disabled?: boolean;
|
|
22
|
-
readonly autofocus?: boolean;
|
|
23
|
-
readonly onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
24
|
-
readonly onBlur: (event?: FocusEvent<HTMLInputElement>) => void;
|
|
25
|
-
readonly onFocus: (event: FocusEvent<HTMLInputElement>) => void;
|
|
26
|
-
readonly onKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
27
|
-
readonly value?: string;
|
|
28
|
-
readonly "aria-describedby"?: string;
|
|
29
|
-
};
|
|
30
|
-
readonly descriptionIdentifier: string;
|
|
31
|
-
}
|
|
32
|
-
export declare function useInputEmailFormField({ id, name, disabled, autofocus, description, inline, value, handleChange, handleBlur, handleFocus, handleKeyDown, error, ...rest }: UseInputEmailFormFieldProps): UseInputEmailFormFieldReturn;
|