@limetech/lime-crm-building-blocks 1.120.0 → 1.121.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.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/{_MapCache-De1Fwe0H.js → _MapCache-DHOVMBKi.js} +341 -3
- package/dist/cjs/{_getTag-CdUodI28.js → _Uint8Array-CXHKqIsu.js} +375 -30
- package/dist/cjs/{_baseIsEqual-BtwicGmu.js → _baseIsEqual-Ba8g_ag_.js} +11 -13
- package/dist/cjs/{_defineProperty-eImBwVFM.js → _defineProperty-Bl_qu8Vn.js} +2 -2
- package/dist/cjs/{get-BRGtX379.js → get-D1lIKhWp.js} +6 -7
- package/dist/cjs/{isSymbol-D8S28StA.js → isSymbol-BJj6FNl6.js} +2 -2
- package/dist/cjs/limebb-component-config.cjs.entry.js +3 -4
- package/dist/cjs/limebb-info-tile.cjs.entry.js +134 -135
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +5 -7
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +18 -20
- package/dist/cjs/limebb-object-chip.cjs.entry.js +1 -1
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +3 -3
- package/dist/cjs/limebb-property-selector.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +23 -25
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +2 -2
- package/dist/cjs/{limetype-TVwQ2eby.js → limetype-C7_hrzhN.js} +46 -0
- package/dist/collection/components/info-tile/info-tile.js +30 -67
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +3 -3
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +2 -2
- package/dist/collection/util/explorer-link.js +68 -0
- package/dist/collection/util/find-filter.js +16 -0
- package/dist/collection/util/limetype.js +45 -0
- package/dist/collection/util/localize-record.js +21 -0
- package/dist/components/_MapCache.js +1 -1
- package/dist/components/_Uint8Array.js +1 -1
- package/dist/components/_baseIsEqual.js +1 -1
- package/dist/components/_defineProperty.js +1 -1
- package/dist/components/get.js +1 -1
- package/dist/components/isSymbol.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/limetype.js +1 -1
- package/dist/components/percentage-visualizer.js +1 -1
- package/dist/esm/{_MapCache-C_kVhYUl.js → _MapCache-BgAfMcRA.js} +329 -2
- package/dist/esm/{_getTag-DZlkp9mJ.js → _Uint8Array-CUI8uY-p.js} +351 -11
- package/dist/esm/{_baseIsEqual-DB13O4pD.js → _baseIsEqual-C-Mrg4RA.js} +2 -4
- package/dist/esm/{_defineProperty-DSmG08hO.js → _defineProperty-DZ483KPn.js} +1 -1
- package/dist/esm/{get-Bo260bSC.js → get-Cq4rshNg.js} +2 -3
- package/dist/esm/{isSymbol-Ci8cASb6.js → isSymbol-_IkM6xCs.js} +1 -1
- package/dist/esm/limebb-component-config.entry.js +3 -4
- package/dist/esm/limebb-info-tile.entry.js +135 -136
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +4 -6
- package/dist/esm/limebb-locale-picker.entry.js +6 -8
- package/dist/esm/limebb-object-chip.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +3 -3
- package/dist/esm/limebb-property-selector.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +5 -7
- package/dist/esm/limebb-trend-indicator.entry.js +2 -2
- package/dist/esm/{limetype-BCEsb4WT.js → limetype-C4AY5lRw.js} +46 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/p--IuhN2yx.js +1 -0
- package/dist/lime-crm-building-blocks/{p-c663afd2.entry.js → p-0cac0e56.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5f1a4341.entry.js → p-34ad8e75.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-37bab931.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-4163a0c0.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-49edd4fe.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-6PYziigk.js +1 -0
- package/dist/lime-crm-building-blocks/p-7a983aca.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-9019ca6f.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-BgAfMcRA.js +1 -0
- package/dist/lime-crm-building-blocks/p-BsH0YW6Z.js +1 -0
- package/dist/lime-crm-building-blocks/p-CKEnwX6j.js +1 -0
- package/dist/lime-crm-building-blocks/p-Ceen0vzd.js +1 -0
- package/dist/lime-crm-building-blocks/p-CtcTT7BK.js +1 -0
- package/dist/lime-crm-building-blocks/p-aa9b7af3.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-f397b288.entry.js +1 -0
- package/dist/types/components/info-tile/info-tile.d.ts +0 -3
- package/dist/types/util/explorer-link.d.ts +52 -0
- package/dist/types/util/find-filter.d.ts +13 -0
- package/dist/types/util/limetype.d.ts +35 -0
- package/dist/types/util/localize-record.d.ts +17 -0
- package/package.json +2 -2
- package/dist/cjs/_Map-BlpAtLvq.js +0 -342
- package/dist/cjs/_Uint8Array-C_lvn5HO.js +0 -352
- package/dist/components/_Map.js +0 -1
- package/dist/components/_getTag.js +0 -1
- package/dist/esm/_Map-ByjZfyP_.js +0 -330
- package/dist/esm/_Uint8Array-DVXPnoWk.js +0 -345
- package/dist/lime-crm-building-blocks/p-25700afb.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-3622d9b7.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-44347a69.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-60a09d6b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7cbec456.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-B8RiYkLS.js +0 -1
- package/dist/lime-crm-building-blocks/p-BJ8HvfgI.js +0 -1
- package/dist/lime-crm-building-blocks/p-BoVsXNfL.js +0 -1
- package/dist/lime-crm-building-blocks/p-ByjZfyP_.js +0 -1
- package/dist/lime-crm-building-blocks/p-CQ-z_HTt.js +0 -1
- package/dist/lime-crm-building-blocks/p-V3xfp9dg.js +0 -1
- package/dist/lime-crm-building-blocks/p-e2a6b9d2.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-e70a5298.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-mljVfXwO.js +0 -1
- package/dist/lime-crm-building-blocks/p-wbuFLk-j.js +0 -1
- package/dist/lime-crm-building-blocks/p-yc--7_7T.js +0 -1
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
4
4
|
|
|
5
5
|
/* Built-in method references that are verified to be native. */
|
|
6
|
-
var WeakMap =
|
|
6
|
+
var WeakMap = _MapCache.getNative(_MapCache.root, 'WeakMap');
|
|
7
|
+
|
|
8
|
+
/** Used as references for various `Number` constants. */
|
|
9
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
10
|
+
|
|
11
|
+
/** Used to detect unsigned integer values. */
|
|
12
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Checks if `value` is a valid array-like index.
|
|
16
|
+
*
|
|
17
|
+
* @private
|
|
18
|
+
* @param {*} value The value to check.
|
|
19
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
20
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
21
|
+
*/
|
|
22
|
+
function isIndex(value, length) {
|
|
23
|
+
var type = typeof value;
|
|
24
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
25
|
+
|
|
26
|
+
return !!length &&
|
|
27
|
+
(type == 'number' ||
|
|
28
|
+
(type != 'symbol' && reIsUint.test(value))) &&
|
|
29
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
30
|
+
}
|
|
7
31
|
|
|
8
32
|
/** Used as references for various `Number` constants. */
|
|
9
33
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
@@ -65,11 +89,11 @@ function isLength(value) {
|
|
|
65
89
|
* // => false
|
|
66
90
|
*/
|
|
67
91
|
function isArrayLike(value) {
|
|
68
|
-
return value != null && isLength(value.length) && !
|
|
92
|
+
return value != null && isLength(value.length) && !_MapCache.isFunction(value);
|
|
69
93
|
}
|
|
70
94
|
|
|
71
95
|
/** Used for built-in method references. */
|
|
72
|
-
var objectProto$
|
|
96
|
+
var objectProto$4 = Object.prototype;
|
|
73
97
|
|
|
74
98
|
/**
|
|
75
99
|
* Checks if `value` is likely a prototype object.
|
|
@@ -80,11 +104,30 @@ var objectProto$2 = Object.prototype;
|
|
|
80
104
|
*/
|
|
81
105
|
function isPrototype(value) {
|
|
82
106
|
var Ctor = value && value.constructor,
|
|
83
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
107
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$4;
|
|
84
108
|
|
|
85
109
|
return value === proto;
|
|
86
110
|
}
|
|
87
111
|
|
|
112
|
+
/**
|
|
113
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
114
|
+
* or max array length checks.
|
|
115
|
+
*
|
|
116
|
+
* @private
|
|
117
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
118
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
119
|
+
* @returns {Array} Returns the array of results.
|
|
120
|
+
*/
|
|
121
|
+
function baseTimes(n, iteratee) {
|
|
122
|
+
var index = -1,
|
|
123
|
+
result = Array(n);
|
|
124
|
+
|
|
125
|
+
while (++index < n) {
|
|
126
|
+
result[index] = iteratee(index);
|
|
127
|
+
}
|
|
128
|
+
return result;
|
|
129
|
+
}
|
|
130
|
+
|
|
88
131
|
/** `Object#toString` result references. */
|
|
89
132
|
var argsTag$1 = '[object Arguments]';
|
|
90
133
|
|
|
@@ -96,17 +139,17 @@ var argsTag$1 = '[object Arguments]';
|
|
|
96
139
|
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
97
140
|
*/
|
|
98
141
|
function baseIsArguments(value) {
|
|
99
|
-
return
|
|
142
|
+
return _MapCache.isObjectLike(value) && _MapCache.baseGetTag(value) == argsTag$1;
|
|
100
143
|
}
|
|
101
144
|
|
|
102
145
|
/** Used for built-in method references. */
|
|
103
|
-
var objectProto$
|
|
146
|
+
var objectProto$3 = Object.prototype;
|
|
104
147
|
|
|
105
148
|
/** Used to check objects for own properties. */
|
|
106
|
-
var hasOwnProperty$
|
|
149
|
+
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
107
150
|
|
|
108
151
|
/** Built-in value references. */
|
|
109
|
-
var propertyIsEnumerable = objectProto$
|
|
152
|
+
var propertyIsEnumerable$1 = objectProto$3.propertyIsEnumerable;
|
|
110
153
|
|
|
111
154
|
/**
|
|
112
155
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -127,8 +170,8 @@ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
|
127
170
|
* // => false
|
|
128
171
|
*/
|
|
129
172
|
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
130
|
-
return
|
|
131
|
-
!propertyIsEnumerable.call(value, 'callee');
|
|
173
|
+
return _MapCache.isObjectLike(value) && hasOwnProperty$2.call(value, 'callee') &&
|
|
174
|
+
!propertyIsEnumerable$1.call(value, 'callee');
|
|
132
175
|
};
|
|
133
176
|
|
|
134
177
|
/**
|
|
@@ -158,7 +201,7 @@ var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !modu
|
|
|
158
201
|
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
159
202
|
|
|
160
203
|
/** Built-in value references. */
|
|
161
|
-
var Buffer = moduleExports$1 ?
|
|
204
|
+
var Buffer = moduleExports$1 ? _MapCache.root.Buffer : undefined;
|
|
162
205
|
|
|
163
206
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
164
207
|
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
@@ -233,8 +276,8 @@ typedArrayTags[weakMapTag$1] = false;
|
|
|
233
276
|
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
234
277
|
*/
|
|
235
278
|
function baseIsTypedArray(value) {
|
|
236
|
-
return
|
|
237
|
-
isLength(value.length) && !!typedArrayTags[
|
|
279
|
+
return _MapCache.isObjectLike(value) &&
|
|
280
|
+
isLength(value.length) && !!typedArrayTags[_MapCache.baseGetTag(value)];
|
|
238
281
|
}
|
|
239
282
|
|
|
240
283
|
/**
|
|
@@ -260,7 +303,7 @@ var freeModule = freeExports && typeof module == 'object' && module && !module.n
|
|
|
260
303
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
261
304
|
|
|
262
305
|
/** Detect free variable `process` from Node.js. */
|
|
263
|
-
var freeProcess = moduleExports &&
|
|
306
|
+
var freeProcess = moduleExports && _MapCache.freeGlobal.process;
|
|
264
307
|
|
|
265
308
|
/** Used to access faster Node.js helpers. */
|
|
266
309
|
var nodeUtil = (function() {
|
|
@@ -299,6 +342,47 @@ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
|
299
342
|
*/
|
|
300
343
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
301
344
|
|
|
345
|
+
/** Used for built-in method references. */
|
|
346
|
+
var objectProto$2 = Object.prototype;
|
|
347
|
+
|
|
348
|
+
/** Used to check objects for own properties. */
|
|
349
|
+
var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
353
|
+
*
|
|
354
|
+
* @private
|
|
355
|
+
* @param {*} value The value to query.
|
|
356
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
357
|
+
* @returns {Array} Returns the array of property names.
|
|
358
|
+
*/
|
|
359
|
+
function arrayLikeKeys(value, inherited) {
|
|
360
|
+
var isArr = _MapCache.isArray(value),
|
|
361
|
+
isArg = !isArr && isArguments(value),
|
|
362
|
+
isBuff = !isArr && !isArg && isBuffer(value),
|
|
363
|
+
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
|
364
|
+
skipIndexes = isArr || isArg || isBuff || isType,
|
|
365
|
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
366
|
+
length = result.length;
|
|
367
|
+
|
|
368
|
+
for (var key in value) {
|
|
369
|
+
if ((hasOwnProperty$1.call(value, key)) &&
|
|
370
|
+
!(skipIndexes && (
|
|
371
|
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
372
|
+
key == 'length' ||
|
|
373
|
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
374
|
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
375
|
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
376
|
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
377
|
+
// Skip index properties.
|
|
378
|
+
isIndex(key, length)
|
|
379
|
+
))) {
|
|
380
|
+
result.push(key);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
return result;
|
|
384
|
+
}
|
|
385
|
+
|
|
302
386
|
/**
|
|
303
387
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
304
388
|
*
|
|
@@ -317,10 +401,10 @@ function overArg(func, transform) {
|
|
|
317
401
|
var nativeKeys = overArg(Object.keys, Object);
|
|
318
402
|
|
|
319
403
|
/** Used for built-in method references. */
|
|
320
|
-
var objectProto = Object.prototype;
|
|
404
|
+
var objectProto$1 = Object.prototype;
|
|
321
405
|
|
|
322
406
|
/** Used to check objects for own properties. */
|
|
323
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
407
|
+
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
324
408
|
|
|
325
409
|
/**
|
|
326
410
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -342,14 +426,267 @@ function baseKeys(object) {
|
|
|
342
426
|
return result;
|
|
343
427
|
}
|
|
344
428
|
|
|
429
|
+
/**
|
|
430
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
431
|
+
*
|
|
432
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
433
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
434
|
+
* for more details.
|
|
435
|
+
*
|
|
436
|
+
* @static
|
|
437
|
+
* @since 0.1.0
|
|
438
|
+
* @memberOf _
|
|
439
|
+
* @category Object
|
|
440
|
+
* @param {Object} object The object to query.
|
|
441
|
+
* @returns {Array} Returns the array of property names.
|
|
442
|
+
* @example
|
|
443
|
+
*
|
|
444
|
+
* function Foo() {
|
|
445
|
+
* this.a = 1;
|
|
446
|
+
* this.b = 2;
|
|
447
|
+
* }
|
|
448
|
+
*
|
|
449
|
+
* Foo.prototype.c = 3;
|
|
450
|
+
*
|
|
451
|
+
* _.keys(new Foo);
|
|
452
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
453
|
+
*
|
|
454
|
+
* _.keys('hi');
|
|
455
|
+
* // => ['0', '1']
|
|
456
|
+
*/
|
|
457
|
+
function keys(object) {
|
|
458
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Appends the elements of `values` to `array`.
|
|
463
|
+
*
|
|
464
|
+
* @private
|
|
465
|
+
* @param {Array} array The array to modify.
|
|
466
|
+
* @param {Array} values The values to append.
|
|
467
|
+
* @returns {Array} Returns `array`.
|
|
468
|
+
*/
|
|
469
|
+
function arrayPush(array, values) {
|
|
470
|
+
var index = -1,
|
|
471
|
+
length = values.length,
|
|
472
|
+
offset = array.length;
|
|
473
|
+
|
|
474
|
+
while (++index < length) {
|
|
475
|
+
array[offset + index] = values[index];
|
|
476
|
+
}
|
|
477
|
+
return array;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Removes all key-value entries from the stack.
|
|
482
|
+
*
|
|
483
|
+
* @private
|
|
484
|
+
* @name clear
|
|
485
|
+
* @memberOf Stack
|
|
486
|
+
*/
|
|
487
|
+
function stackClear() {
|
|
488
|
+
this.__data__ = new _MapCache.ListCache;
|
|
489
|
+
this.size = 0;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Removes `key` and its value from the stack.
|
|
494
|
+
*
|
|
495
|
+
* @private
|
|
496
|
+
* @name delete
|
|
497
|
+
* @memberOf Stack
|
|
498
|
+
* @param {string} key The key of the value to remove.
|
|
499
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
500
|
+
*/
|
|
501
|
+
function stackDelete(key) {
|
|
502
|
+
var data = this.__data__,
|
|
503
|
+
result = data['delete'](key);
|
|
504
|
+
|
|
505
|
+
this.size = data.size;
|
|
506
|
+
return result;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Gets the stack value for `key`.
|
|
511
|
+
*
|
|
512
|
+
* @private
|
|
513
|
+
* @name get
|
|
514
|
+
* @memberOf Stack
|
|
515
|
+
* @param {string} key The key of the value to get.
|
|
516
|
+
* @returns {*} Returns the entry value.
|
|
517
|
+
*/
|
|
518
|
+
function stackGet(key) {
|
|
519
|
+
return this.__data__.get(key);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Checks if a stack value for `key` exists.
|
|
524
|
+
*
|
|
525
|
+
* @private
|
|
526
|
+
* @name has
|
|
527
|
+
* @memberOf Stack
|
|
528
|
+
* @param {string} key The key of the entry to check.
|
|
529
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
530
|
+
*/
|
|
531
|
+
function stackHas(key) {
|
|
532
|
+
return this.__data__.has(key);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/** Used as the size to enable large array optimizations. */
|
|
536
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Sets the stack `key` to `value`.
|
|
540
|
+
*
|
|
541
|
+
* @private
|
|
542
|
+
* @name set
|
|
543
|
+
* @memberOf Stack
|
|
544
|
+
* @param {string} key The key of the value to set.
|
|
545
|
+
* @param {*} value The value to set.
|
|
546
|
+
* @returns {Object} Returns the stack cache instance.
|
|
547
|
+
*/
|
|
548
|
+
function stackSet(key, value) {
|
|
549
|
+
var data = this.__data__;
|
|
550
|
+
if (data instanceof _MapCache.ListCache) {
|
|
551
|
+
var pairs = data.__data__;
|
|
552
|
+
if (!_MapCache.Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
553
|
+
pairs.push([key, value]);
|
|
554
|
+
this.size = ++data.size;
|
|
555
|
+
return this;
|
|
556
|
+
}
|
|
557
|
+
data = this.__data__ = new _MapCache.MapCache(pairs);
|
|
558
|
+
}
|
|
559
|
+
data.set(key, value);
|
|
560
|
+
this.size = data.size;
|
|
561
|
+
return this;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Creates a stack cache object to store key-value pairs.
|
|
566
|
+
*
|
|
567
|
+
* @private
|
|
568
|
+
* @constructor
|
|
569
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
570
|
+
*/
|
|
571
|
+
function Stack(entries) {
|
|
572
|
+
var data = this.__data__ = new _MapCache.ListCache(entries);
|
|
573
|
+
this.size = data.size;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
// Add methods to `Stack`.
|
|
577
|
+
Stack.prototype.clear = stackClear;
|
|
578
|
+
Stack.prototype['delete'] = stackDelete;
|
|
579
|
+
Stack.prototype.get = stackGet;
|
|
580
|
+
Stack.prototype.has = stackHas;
|
|
581
|
+
Stack.prototype.set = stackSet;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* A specialized version of `_.filter` for arrays without support for
|
|
585
|
+
* iteratee shorthands.
|
|
586
|
+
*
|
|
587
|
+
* @private
|
|
588
|
+
* @param {Array} [array] The array to iterate over.
|
|
589
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
590
|
+
* @returns {Array} Returns the new filtered array.
|
|
591
|
+
*/
|
|
592
|
+
function arrayFilter(array, predicate) {
|
|
593
|
+
var index = -1,
|
|
594
|
+
length = array == null ? 0 : array.length,
|
|
595
|
+
resIndex = 0,
|
|
596
|
+
result = [];
|
|
597
|
+
|
|
598
|
+
while (++index < length) {
|
|
599
|
+
var value = array[index];
|
|
600
|
+
if (predicate(value, index, array)) {
|
|
601
|
+
result[resIndex++] = value;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
return result;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* This method returns a new empty array.
|
|
609
|
+
*
|
|
610
|
+
* @static
|
|
611
|
+
* @memberOf _
|
|
612
|
+
* @since 4.13.0
|
|
613
|
+
* @category Util
|
|
614
|
+
* @returns {Array} Returns the new empty array.
|
|
615
|
+
* @example
|
|
616
|
+
*
|
|
617
|
+
* var arrays = _.times(2, _.stubArray);
|
|
618
|
+
*
|
|
619
|
+
* console.log(arrays);
|
|
620
|
+
* // => [[], []]
|
|
621
|
+
*
|
|
622
|
+
* console.log(arrays[0] === arrays[1]);
|
|
623
|
+
* // => false
|
|
624
|
+
*/
|
|
625
|
+
function stubArray() {
|
|
626
|
+
return [];
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/** Used for built-in method references. */
|
|
630
|
+
var objectProto = Object.prototype;
|
|
631
|
+
|
|
632
|
+
/** Built-in value references. */
|
|
633
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
634
|
+
|
|
635
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
636
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Creates an array of the own enumerable symbols of `object`.
|
|
640
|
+
*
|
|
641
|
+
* @private
|
|
642
|
+
* @param {Object} object The object to query.
|
|
643
|
+
* @returns {Array} Returns the array of symbols.
|
|
644
|
+
*/
|
|
645
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
646
|
+
if (object == null) {
|
|
647
|
+
return [];
|
|
648
|
+
}
|
|
649
|
+
object = Object(object);
|
|
650
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
651
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
652
|
+
});
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
657
|
+
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
658
|
+
* symbols of `object`.
|
|
659
|
+
*
|
|
660
|
+
* @private
|
|
661
|
+
* @param {Object} object The object to query.
|
|
662
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
663
|
+
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
664
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
665
|
+
*/
|
|
666
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
667
|
+
var result = keysFunc(object);
|
|
668
|
+
return _MapCache.isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Creates an array of own enumerable property names and symbols of `object`.
|
|
673
|
+
*
|
|
674
|
+
* @private
|
|
675
|
+
* @param {Object} object The object to query.
|
|
676
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
677
|
+
*/
|
|
678
|
+
function getAllKeys(object) {
|
|
679
|
+
return baseGetAllKeys(object, keys, getSymbols);
|
|
680
|
+
}
|
|
681
|
+
|
|
345
682
|
/* Built-in method references that are verified to be native. */
|
|
346
|
-
var DataView =
|
|
683
|
+
var DataView = _MapCache.getNative(_MapCache.root, 'DataView');
|
|
347
684
|
|
|
348
685
|
/* Built-in method references that are verified to be native. */
|
|
349
|
-
var Promise$1 =
|
|
686
|
+
var Promise$1 = _MapCache.getNative(_MapCache.root, 'Promise');
|
|
350
687
|
|
|
351
688
|
/* Built-in method references that are verified to be native. */
|
|
352
|
-
var Set =
|
|
689
|
+
var Set = _MapCache.getNative(_MapCache.root, 'Set');
|
|
353
690
|
|
|
354
691
|
/** `Object#toString` result references. */
|
|
355
692
|
var mapTag = '[object Map]',
|
|
@@ -361,11 +698,11 @@ var mapTag = '[object Map]',
|
|
|
361
698
|
var dataViewTag = '[object DataView]';
|
|
362
699
|
|
|
363
700
|
/** Used to detect maps, sets, and weakmaps. */
|
|
364
|
-
var dataViewCtorString =
|
|
365
|
-
mapCtorString =
|
|
366
|
-
promiseCtorString =
|
|
367
|
-
setCtorString =
|
|
368
|
-
weakMapCtorString =
|
|
701
|
+
var dataViewCtorString = _MapCache.toSource(DataView),
|
|
702
|
+
mapCtorString = _MapCache.toSource(_MapCache.Map),
|
|
703
|
+
promiseCtorString = _MapCache.toSource(Promise$1),
|
|
704
|
+
setCtorString = _MapCache.toSource(Set),
|
|
705
|
+
weakMapCtorString = _MapCache.toSource(WeakMap);
|
|
369
706
|
|
|
370
707
|
/**
|
|
371
708
|
* Gets the `toStringTag` of `value`.
|
|
@@ -374,18 +711,18 @@ var dataViewCtorString = _Map.toSource(DataView),
|
|
|
374
711
|
* @param {*} value The value to query.
|
|
375
712
|
* @returns {string} Returns the `toStringTag`.
|
|
376
713
|
*/
|
|
377
|
-
exports.getTag =
|
|
714
|
+
exports.getTag = _MapCache.baseGetTag;
|
|
378
715
|
|
|
379
716
|
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
380
717
|
if ((DataView && exports.getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
381
|
-
(
|
|
718
|
+
(_MapCache.Map && exports.getTag(new _MapCache.Map) != mapTag) ||
|
|
382
719
|
(Promise$1 && exports.getTag(Promise$1.resolve()) != promiseTag) ||
|
|
383
720
|
(Set && exports.getTag(new Set) != setTag) ||
|
|
384
721
|
(WeakMap && exports.getTag(new WeakMap) != weakMapTag)) {
|
|
385
722
|
exports.getTag = function(value) {
|
|
386
|
-
var result =
|
|
723
|
+
var result = _MapCache.baseGetTag(value),
|
|
387
724
|
Ctor = result == objectTag ? value.constructor : undefined,
|
|
388
|
-
ctorString = Ctor ?
|
|
725
|
+
ctorString = Ctor ? _MapCache.toSource(Ctor) : '';
|
|
389
726
|
|
|
390
727
|
if (ctorString) {
|
|
391
728
|
switch (ctorString) {
|
|
@@ -400,13 +737,21 @@ if ((DataView && exports.getTag(new DataView(new ArrayBuffer(1))) != dataViewTag
|
|
|
400
737
|
};
|
|
401
738
|
}
|
|
402
739
|
|
|
403
|
-
|
|
740
|
+
/** Built-in value references. */
|
|
741
|
+
var Uint8Array = _MapCache.root.Uint8Array;
|
|
742
|
+
|
|
743
|
+
exports.Stack = Stack;
|
|
744
|
+
exports.Uint8Array = Uint8Array;
|
|
745
|
+
exports.arrayPush = arrayPush;
|
|
404
746
|
exports.baseUnary = baseUnary;
|
|
747
|
+
exports.getAllKeys = getAllKeys;
|
|
405
748
|
exports.isArguments = isArguments;
|
|
406
749
|
exports.isArrayLike = isArrayLike;
|
|
407
750
|
exports.isBuffer = isBuffer;
|
|
751
|
+
exports.isIndex = isIndex;
|
|
408
752
|
exports.isLength = isLength;
|
|
409
753
|
exports.isPrototype = isPrototype;
|
|
410
754
|
exports.isTypedArray = isTypedArray;
|
|
755
|
+
exports.keys = keys;
|
|
411
756
|
exports.nodeUtil = nodeUtil;
|
|
412
757
|
exports.overArg = overArg;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _Uint8Array = require('./_Uint8Array-
|
|
4
|
-
var _MapCache = require('./_MapCache-
|
|
5
|
-
var _Map = require('./_Map-BlpAtLvq.js');
|
|
6
|
-
var _getTag = require('./_getTag-CdUodI28.js');
|
|
3
|
+
var _Uint8Array = require('./_Uint8Array-CXHKqIsu.js');
|
|
4
|
+
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
7
5
|
|
|
8
6
|
/** Used to stand-in for `undefined` hash values. */
|
|
9
7
|
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
@@ -224,7 +222,7 @@ var arrayBufferTag = '[object ArrayBuffer]',
|
|
|
224
222
|
dataViewTag = '[object DataView]';
|
|
225
223
|
|
|
226
224
|
/** Used to convert symbols to primitives and strings. */
|
|
227
|
-
var symbolProto =
|
|
225
|
+
var symbolProto = _MapCache.Symbol ? _MapCache.Symbol.prototype : undefined,
|
|
228
226
|
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
229
227
|
|
|
230
228
|
/**
|
|
@@ -425,10 +423,10 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
425
423
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
426
424
|
*/
|
|
427
425
|
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
428
|
-
var objIsArr =
|
|
429
|
-
othIsArr =
|
|
430
|
-
objTag = objIsArr ? arrayTag :
|
|
431
|
-
othTag = othIsArr ? arrayTag :
|
|
426
|
+
var objIsArr = _MapCache.isArray(object),
|
|
427
|
+
othIsArr = _MapCache.isArray(other),
|
|
428
|
+
objTag = objIsArr ? arrayTag : _Uint8Array.getTag(object),
|
|
429
|
+
othTag = othIsArr ? arrayTag : _Uint8Array.getTag(other);
|
|
432
430
|
|
|
433
431
|
objTag = objTag == argsTag ? objectTag : objTag;
|
|
434
432
|
othTag = othTag == argsTag ? objectTag : othTag;
|
|
@@ -437,8 +435,8 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
437
435
|
othIsObj = othTag == objectTag,
|
|
438
436
|
isSameTag = objTag == othTag;
|
|
439
437
|
|
|
440
|
-
if (isSameTag &&
|
|
441
|
-
if (!
|
|
438
|
+
if (isSameTag && _Uint8Array.isBuffer(object)) {
|
|
439
|
+
if (!_Uint8Array.isBuffer(other)) {
|
|
442
440
|
return false;
|
|
443
441
|
}
|
|
444
442
|
objIsArr = true;
|
|
@@ -446,7 +444,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
446
444
|
}
|
|
447
445
|
if (isSameTag && !objIsObj) {
|
|
448
446
|
stack || (stack = new _Uint8Array.Stack);
|
|
449
|
-
return (objIsArr ||
|
|
447
|
+
return (objIsArr || _Uint8Array.isTypedArray(object))
|
|
450
448
|
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
451
449
|
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
452
450
|
}
|
|
@@ -487,7 +485,7 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
487
485
|
if (value === other) {
|
|
488
486
|
return true;
|
|
489
487
|
}
|
|
490
|
-
if (value == null || other == null || (!
|
|
488
|
+
if (value == null || other == null || (!_MapCache.isObjectLike(value) && !_MapCache.isObjectLike(other))) {
|
|
491
489
|
return value !== value && other !== other;
|
|
492
490
|
}
|
|
493
491
|
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
4
4
|
|
|
5
5
|
var defineProperty = (function() {
|
|
6
6
|
try {
|
|
7
|
-
var func =
|
|
7
|
+
var func = _MapCache.getNative(Object, 'defineProperty');
|
|
8
8
|
func({}, '', {});
|
|
9
9
|
return func;
|
|
10
10
|
} catch (e) {}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var isSymbol = require('./isSymbol-
|
|
5
|
-
var _MapCache = require('./_MapCache-De1Fwe0H.js');
|
|
3
|
+
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
4
|
+
var isSymbol = require('./isSymbol-BJj6FNl6.js');
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -25,7 +24,7 @@ function arrayMap(array, iteratee) {
|
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
/** Used to convert symbols to primitives and strings. */
|
|
28
|
-
var symbolProto =
|
|
27
|
+
var symbolProto = _MapCache.Symbol ? _MapCache.Symbol.prototype : undefined,
|
|
29
28
|
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
30
29
|
|
|
31
30
|
/**
|
|
@@ -41,7 +40,7 @@ function baseToString(value) {
|
|
|
41
40
|
if (typeof value == 'string') {
|
|
42
41
|
return value;
|
|
43
42
|
}
|
|
44
|
-
if (
|
|
43
|
+
if (_MapCache.isArray(value)) {
|
|
45
44
|
// Recursively convert values (susceptible to call stack limits).
|
|
46
45
|
return arrayMap(value, baseToString) + '';
|
|
47
46
|
}
|
|
@@ -65,7 +64,7 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
|
65
64
|
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
|
66
65
|
*/
|
|
67
66
|
function isKey(value, object) {
|
|
68
|
-
if (
|
|
67
|
+
if (_MapCache.isArray(value)) {
|
|
69
68
|
return false;
|
|
70
69
|
}
|
|
71
70
|
var type = typeof value;
|
|
@@ -228,7 +227,7 @@ function toString(value) {
|
|
|
228
227
|
* @returns {Array} Returns the cast property path array.
|
|
229
228
|
*/
|
|
230
229
|
function castPath(value, object) {
|
|
231
|
-
if (
|
|
230
|
+
if (_MapCache.isArray(value)) {
|
|
232
231
|
return value;
|
|
233
232
|
}
|
|
234
233
|
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
4
4
|
|
|
5
5
|
/** `Object#toString` result references. */
|
|
6
6
|
var symbolTag = '[object Symbol]';
|
|
@@ -24,7 +24,7 @@ var symbolTag = '[object Symbol]';
|
|
|
24
24
|
*/
|
|
25
25
|
function isSymbol(value) {
|
|
26
26
|
return typeof value == 'symbol' ||
|
|
27
|
-
(
|
|
27
|
+
(_MapCache.isObjectLike(value) && _MapCache.baseGetTag(value) == symbolTag);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
exports.isSymbol = isSymbol;
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-C_OnxXhP.js');
|
|
4
4
|
var index_esm = require('./index.esm-iA818ZYg.js');
|
|
5
|
-
var get = require('./get-
|
|
6
|
-
require('./
|
|
7
|
-
require('./isSymbol-
|
|
8
|
-
require('./_MapCache-De1Fwe0H.js');
|
|
5
|
+
var get = require('./get-D1lIKhWp.js');
|
|
6
|
+
require('./_MapCache-DHOVMBKi.js');
|
|
7
|
+
require('./isSymbol-BJj6FNl6.js');
|
|
9
8
|
|
|
10
9
|
const LimeWebComponentTemplate = (props, children) => {
|
|
11
10
|
const Name = props.name;
|