@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.
Files changed (99) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/{_MapCache-De1Fwe0H.js → _MapCache-DHOVMBKi.js} +341 -3
  3. package/dist/cjs/{_getTag-CdUodI28.js → _Uint8Array-CXHKqIsu.js} +375 -30
  4. package/dist/cjs/{_baseIsEqual-BtwicGmu.js → _baseIsEqual-Ba8g_ag_.js} +11 -13
  5. package/dist/cjs/{_defineProperty-eImBwVFM.js → _defineProperty-Bl_qu8Vn.js} +2 -2
  6. package/dist/cjs/{get-BRGtX379.js → get-D1lIKhWp.js} +6 -7
  7. package/dist/cjs/{isSymbol-D8S28StA.js → isSymbol-BJj6FNl6.js} +2 -2
  8. package/dist/cjs/limebb-component-config.cjs.entry.js +3 -4
  9. package/dist/cjs/limebb-info-tile.cjs.entry.js +134 -135
  10. package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +5 -7
  11. package/dist/cjs/limebb-locale-picker.cjs.entry.js +18 -20
  12. package/dist/cjs/limebb-object-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +3 -3
  14. package/dist/cjs/limebb-property-selector.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-text-editor.cjs.entry.js +23 -25
  16. package/dist/cjs/limebb-trend-indicator.cjs.entry.js +2 -2
  17. package/dist/cjs/{limetype-TVwQ2eby.js → limetype-C7_hrzhN.js} +46 -0
  18. package/dist/collection/components/info-tile/info-tile.js +30 -67
  19. package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +3 -3
  20. package/dist/collection/components/text-editor/text-editor.js +1 -1
  21. package/dist/collection/components/trend-indicator/trend-indicator.js +2 -2
  22. package/dist/collection/util/explorer-link.js +68 -0
  23. package/dist/collection/util/find-filter.js +16 -0
  24. package/dist/collection/util/limetype.js +45 -0
  25. package/dist/collection/util/localize-record.js +21 -0
  26. package/dist/components/_MapCache.js +1 -1
  27. package/dist/components/_Uint8Array.js +1 -1
  28. package/dist/components/_baseIsEqual.js +1 -1
  29. package/dist/components/_defineProperty.js +1 -1
  30. package/dist/components/get.js +1 -1
  31. package/dist/components/isSymbol.js +1 -1
  32. package/dist/components/limebb-info-tile.js +1 -1
  33. package/dist/components/limebb-locale-picker.js +1 -1
  34. package/dist/components/limebb-text-editor.js +1 -1
  35. package/dist/components/limebb-trend-indicator.js +1 -1
  36. package/dist/components/limetype-field.js +1 -1
  37. package/dist/components/limetype.js +1 -1
  38. package/dist/components/percentage-visualizer.js +1 -1
  39. package/dist/esm/{_MapCache-C_kVhYUl.js → _MapCache-BgAfMcRA.js} +329 -2
  40. package/dist/esm/{_getTag-DZlkp9mJ.js → _Uint8Array-CUI8uY-p.js} +351 -11
  41. package/dist/esm/{_baseIsEqual-DB13O4pD.js → _baseIsEqual-C-Mrg4RA.js} +2 -4
  42. package/dist/esm/{_defineProperty-DSmG08hO.js → _defineProperty-DZ483KPn.js} +1 -1
  43. package/dist/esm/{get-Bo260bSC.js → get-Cq4rshNg.js} +2 -3
  44. package/dist/esm/{isSymbol-Ci8cASb6.js → isSymbol-_IkM6xCs.js} +1 -1
  45. package/dist/esm/limebb-component-config.entry.js +3 -4
  46. package/dist/esm/limebb-info-tile.entry.js +135 -136
  47. package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +4 -6
  48. package/dist/esm/limebb-locale-picker.entry.js +6 -8
  49. package/dist/esm/limebb-object-chip.entry.js +1 -1
  50. package/dist/esm/limebb-percentage-visualizer.entry.js +3 -3
  51. package/dist/esm/limebb-property-selector.entry.js +1 -1
  52. package/dist/esm/limebb-text-editor.entry.js +5 -7
  53. package/dist/esm/limebb-trend-indicator.entry.js +2 -2
  54. package/dist/esm/{limetype-BCEsb4WT.js → limetype-C4AY5lRw.js} +46 -1
  55. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  56. package/dist/lime-crm-building-blocks/p--IuhN2yx.js +1 -0
  57. package/dist/lime-crm-building-blocks/{p-c663afd2.entry.js → p-0cac0e56.entry.js} +1 -1
  58. package/dist/lime-crm-building-blocks/{p-5f1a4341.entry.js → p-34ad8e75.entry.js} +1 -1
  59. package/dist/lime-crm-building-blocks/p-37bab931.entry.js +1 -0
  60. package/dist/lime-crm-building-blocks/p-4163a0c0.entry.js +1 -0
  61. package/dist/lime-crm-building-blocks/p-49edd4fe.entry.js +1 -0
  62. package/dist/lime-crm-building-blocks/p-6PYziigk.js +1 -0
  63. package/dist/lime-crm-building-blocks/p-7a983aca.entry.js +1 -0
  64. package/dist/lime-crm-building-blocks/p-9019ca6f.entry.js +1 -0
  65. package/dist/lime-crm-building-blocks/p-BgAfMcRA.js +1 -0
  66. package/dist/lime-crm-building-blocks/p-BsH0YW6Z.js +1 -0
  67. package/dist/lime-crm-building-blocks/p-CKEnwX6j.js +1 -0
  68. package/dist/lime-crm-building-blocks/p-Ceen0vzd.js +1 -0
  69. package/dist/lime-crm-building-blocks/p-CtcTT7BK.js +1 -0
  70. package/dist/lime-crm-building-blocks/p-aa9b7af3.entry.js +1 -0
  71. package/dist/lime-crm-building-blocks/p-f397b288.entry.js +1 -0
  72. package/dist/types/components/info-tile/info-tile.d.ts +0 -3
  73. package/dist/types/util/explorer-link.d.ts +52 -0
  74. package/dist/types/util/find-filter.d.ts +13 -0
  75. package/dist/types/util/limetype.d.ts +35 -0
  76. package/dist/types/util/localize-record.d.ts +17 -0
  77. package/package.json +2 -2
  78. package/dist/cjs/_Map-BlpAtLvq.js +0 -342
  79. package/dist/cjs/_Uint8Array-C_lvn5HO.js +0 -352
  80. package/dist/components/_Map.js +0 -1
  81. package/dist/components/_getTag.js +0 -1
  82. package/dist/esm/_Map-ByjZfyP_.js +0 -330
  83. package/dist/esm/_Uint8Array-DVXPnoWk.js +0 -345
  84. package/dist/lime-crm-building-blocks/p-25700afb.entry.js +0 -1
  85. package/dist/lime-crm-building-blocks/p-3622d9b7.entry.js +0 -1
  86. package/dist/lime-crm-building-blocks/p-44347a69.entry.js +0 -1
  87. package/dist/lime-crm-building-blocks/p-60a09d6b.entry.js +0 -1
  88. package/dist/lime-crm-building-blocks/p-7cbec456.entry.js +0 -1
  89. package/dist/lime-crm-building-blocks/p-B8RiYkLS.js +0 -1
  90. package/dist/lime-crm-building-blocks/p-BJ8HvfgI.js +0 -1
  91. package/dist/lime-crm-building-blocks/p-BoVsXNfL.js +0 -1
  92. package/dist/lime-crm-building-blocks/p-ByjZfyP_.js +0 -1
  93. package/dist/lime-crm-building-blocks/p-CQ-z_HTt.js +0 -1
  94. package/dist/lime-crm-building-blocks/p-V3xfp9dg.js +0 -1
  95. package/dist/lime-crm-building-blocks/p-e2a6b9d2.entry.js +0 -1
  96. package/dist/lime-crm-building-blocks/p-e70a5298.entry.js +0 -1
  97. package/dist/lime-crm-building-blocks/p-mljVfXwO.js +0 -1
  98. package/dist/lime-crm-building-blocks/p-wbuFLk-j.js +0 -1
  99. package/dist/lime-crm-building-blocks/p-yc--7_7T.js +0 -1
@@ -1,342 +0,0 @@
1
- 'use strict';
2
-
3
- /** Detect free variable `global` from Node.js. */
4
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
5
-
6
- /** Detect free variable `self`. */
7
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
8
-
9
- /** Used as a reference to the global object. */
10
- var root = freeGlobal || freeSelf || Function('return this')();
11
-
12
- /** Built-in value references. */
13
- var Symbol = root.Symbol;
14
-
15
- /** Used for built-in method references. */
16
- var objectProto$2 = Object.prototype;
17
-
18
- /** Used to check objects for own properties. */
19
- var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
20
-
21
- /**
22
- * Used to resolve the
23
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
24
- * of values.
25
- */
26
- var nativeObjectToString$1 = objectProto$2.toString;
27
-
28
- /** Built-in value references. */
29
- var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
30
-
31
- /**
32
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
33
- *
34
- * @private
35
- * @param {*} value The value to query.
36
- * @returns {string} Returns the raw `toStringTag`.
37
- */
38
- function getRawTag(value) {
39
- var isOwn = hasOwnProperty$1.call(value, symToStringTag$1),
40
- tag = value[symToStringTag$1];
41
-
42
- try {
43
- value[symToStringTag$1] = undefined;
44
- var unmasked = true;
45
- } catch (e) {}
46
-
47
- var result = nativeObjectToString$1.call(value);
48
- if (unmasked) {
49
- if (isOwn) {
50
- value[symToStringTag$1] = tag;
51
- } else {
52
- delete value[symToStringTag$1];
53
- }
54
- }
55
- return result;
56
- }
57
-
58
- /** Used for built-in method references. */
59
- var objectProto$1 = Object.prototype;
60
-
61
- /**
62
- * Used to resolve the
63
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
64
- * of values.
65
- */
66
- var nativeObjectToString = objectProto$1.toString;
67
-
68
- /**
69
- * Converts `value` to a string using `Object.prototype.toString`.
70
- *
71
- * @private
72
- * @param {*} value The value to convert.
73
- * @returns {string} Returns the converted string.
74
- */
75
- function objectToString(value) {
76
- return nativeObjectToString.call(value);
77
- }
78
-
79
- /** `Object#toString` result references. */
80
- var nullTag = '[object Null]',
81
- undefinedTag = '[object Undefined]';
82
-
83
- /** Built-in value references. */
84
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
85
-
86
- /**
87
- * The base implementation of `getTag` without fallbacks for buggy environments.
88
- *
89
- * @private
90
- * @param {*} value The value to query.
91
- * @returns {string} Returns the `toStringTag`.
92
- */
93
- function baseGetTag(value) {
94
- if (value == null) {
95
- return value === undefined ? undefinedTag : nullTag;
96
- }
97
- return (symToStringTag && symToStringTag in Object(value))
98
- ? getRawTag(value)
99
- : objectToString(value);
100
- }
101
-
102
- /**
103
- * Checks if `value` is object-like. A value is object-like if it's not `null`
104
- * and has a `typeof` result of "object".
105
- *
106
- * @static
107
- * @memberOf _
108
- * @since 4.0.0
109
- * @category Lang
110
- * @param {*} value The value to check.
111
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
112
- * @example
113
- *
114
- * _.isObjectLike({});
115
- * // => true
116
- *
117
- * _.isObjectLike([1, 2, 3]);
118
- * // => true
119
- *
120
- * _.isObjectLike(_.noop);
121
- * // => false
122
- *
123
- * _.isObjectLike(null);
124
- * // => false
125
- */
126
- function isObjectLike(value) {
127
- return value != null && typeof value == 'object';
128
- }
129
-
130
- /**
131
- * Checks if `value` is classified as an `Array` object.
132
- *
133
- * @static
134
- * @memberOf _
135
- * @since 0.1.0
136
- * @category Lang
137
- * @param {*} value The value to check.
138
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
139
- * @example
140
- *
141
- * _.isArray([1, 2, 3]);
142
- * // => true
143
- *
144
- * _.isArray(document.body.children);
145
- * // => false
146
- *
147
- * _.isArray('abc');
148
- * // => false
149
- *
150
- * _.isArray(_.noop);
151
- * // => false
152
- */
153
- var isArray = Array.isArray;
154
-
155
- /**
156
- * Checks if `value` is the
157
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
158
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
159
- *
160
- * @static
161
- * @memberOf _
162
- * @since 0.1.0
163
- * @category Lang
164
- * @param {*} value The value to check.
165
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
166
- * @example
167
- *
168
- * _.isObject({});
169
- * // => true
170
- *
171
- * _.isObject([1, 2, 3]);
172
- * // => true
173
- *
174
- * _.isObject(_.noop);
175
- * // => true
176
- *
177
- * _.isObject(null);
178
- * // => false
179
- */
180
- function isObject(value) {
181
- var type = typeof value;
182
- return value != null && (type == 'object' || type == 'function');
183
- }
184
-
185
- /** `Object#toString` result references. */
186
- var asyncTag = '[object AsyncFunction]',
187
- funcTag = '[object Function]',
188
- genTag = '[object GeneratorFunction]',
189
- proxyTag = '[object Proxy]';
190
-
191
- /**
192
- * Checks if `value` is classified as a `Function` object.
193
- *
194
- * @static
195
- * @memberOf _
196
- * @since 0.1.0
197
- * @category Lang
198
- * @param {*} value The value to check.
199
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
200
- * @example
201
- *
202
- * _.isFunction(_);
203
- * // => true
204
- *
205
- * _.isFunction(/abc/);
206
- * // => false
207
- */
208
- function isFunction(value) {
209
- if (!isObject(value)) {
210
- return false;
211
- }
212
- // The use of `Object#toString` avoids issues with the `typeof` operator
213
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
214
- var tag = baseGetTag(value);
215
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
216
- }
217
-
218
- /** Used to detect overreaching core-js shims. */
219
- var coreJsData = root['__core-js_shared__'];
220
-
221
- /** Used to detect methods masquerading as native. */
222
- var maskSrcKey = (function() {
223
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
224
- return uid ? ('Symbol(src)_1.' + uid) : '';
225
- }());
226
-
227
- /**
228
- * Checks if `func` has its source masked.
229
- *
230
- * @private
231
- * @param {Function} func The function to check.
232
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
233
- */
234
- function isMasked(func) {
235
- return !!maskSrcKey && (maskSrcKey in func);
236
- }
237
-
238
- /** Used for built-in method references. */
239
- var funcProto$1 = Function.prototype;
240
-
241
- /** Used to resolve the decompiled source of functions. */
242
- var funcToString$1 = funcProto$1.toString;
243
-
244
- /**
245
- * Converts `func` to its source code.
246
- *
247
- * @private
248
- * @param {Function} func The function to convert.
249
- * @returns {string} Returns the source code.
250
- */
251
- function toSource(func) {
252
- if (func != null) {
253
- try {
254
- return funcToString$1.call(func);
255
- } catch (e) {}
256
- try {
257
- return (func + '');
258
- } catch (e) {}
259
- }
260
- return '';
261
- }
262
-
263
- /**
264
- * Used to match `RegExp`
265
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
266
- */
267
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
268
-
269
- /** Used to detect host constructors (Safari). */
270
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
271
-
272
- /** Used for built-in method references. */
273
- var funcProto = Function.prototype,
274
- objectProto = Object.prototype;
275
-
276
- /** Used to resolve the decompiled source of functions. */
277
- var funcToString = funcProto.toString;
278
-
279
- /** Used to check objects for own properties. */
280
- var hasOwnProperty = objectProto.hasOwnProperty;
281
-
282
- /** Used to detect if a method is native. */
283
- var reIsNative = RegExp('^' +
284
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
285
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
286
- );
287
-
288
- /**
289
- * The base implementation of `_.isNative` without bad shim checks.
290
- *
291
- * @private
292
- * @param {*} value The value to check.
293
- * @returns {boolean} Returns `true` if `value` is a native function,
294
- * else `false`.
295
- */
296
- function baseIsNative(value) {
297
- if (!isObject(value) || isMasked(value)) {
298
- return false;
299
- }
300
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
301
- return pattern.test(toSource(value));
302
- }
303
-
304
- /**
305
- * Gets the value at `key` of `object`.
306
- *
307
- * @private
308
- * @param {Object} [object] The object to query.
309
- * @param {string} key The key of the property to get.
310
- * @returns {*} Returns the property value.
311
- */
312
- function getValue(object, key) {
313
- return object == null ? undefined : object[key];
314
- }
315
-
316
- /**
317
- * Gets the native function at `key` of `object`.
318
- *
319
- * @private
320
- * @param {Object} object The object to query.
321
- * @param {string} key The key of the method to get.
322
- * @returns {*} Returns the function if it's native, else `undefined`.
323
- */
324
- function getNative(object, key) {
325
- var value = getValue(object, key);
326
- return baseIsNative(value) ? value : undefined;
327
- }
328
-
329
- /* Built-in method references that are verified to be native. */
330
- var Map = getNative(root, 'Map');
331
-
332
- exports.Map = Map;
333
- exports.Symbol = Symbol;
334
- exports.baseGetTag = baseGetTag;
335
- exports.freeGlobal = freeGlobal;
336
- exports.getNative = getNative;
337
- exports.isArray = isArray;
338
- exports.isFunction = isFunction;
339
- exports.isObject = isObject;
340
- exports.isObjectLike = isObjectLike;
341
- exports.root = root;
342
- exports.toSource = toSource;
@@ -1,352 +0,0 @@
1
- 'use strict';
2
-
3
- var _MapCache = require('./_MapCache-De1Fwe0H.js');
4
- var _Map = require('./_Map-BlpAtLvq.js');
5
- var _getTag = require('./_getTag-CdUodI28.js');
6
-
7
- /** Used as references for various `Number` constants. */
8
- var MAX_SAFE_INTEGER = 9007199254740991;
9
-
10
- /** Used to detect unsigned integer values. */
11
- var reIsUint = /^(?:0|[1-9]\d*)$/;
12
-
13
- /**
14
- * Checks if `value` is a valid array-like index.
15
- *
16
- * @private
17
- * @param {*} value The value to check.
18
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
19
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
20
- */
21
- function isIndex(value, length) {
22
- var type = typeof value;
23
- length = length == null ? MAX_SAFE_INTEGER : length;
24
-
25
- return !!length &&
26
- (type == 'number' ||
27
- (type != 'symbol' && reIsUint.test(value))) &&
28
- (value > -1 && value % 1 == 0 && value < length);
29
- }
30
-
31
- /**
32
- * The base implementation of `_.times` without support for iteratee shorthands
33
- * or max array length checks.
34
- *
35
- * @private
36
- * @param {number} n The number of times to invoke `iteratee`.
37
- * @param {Function} iteratee The function invoked per iteration.
38
- * @returns {Array} Returns the array of results.
39
- */
40
- function baseTimes(n, iteratee) {
41
- var index = -1,
42
- result = Array(n);
43
-
44
- while (++index < n) {
45
- result[index] = iteratee(index);
46
- }
47
- return result;
48
- }
49
-
50
- /** Used for built-in method references. */
51
- var objectProto$1 = Object.prototype;
52
-
53
- /** Used to check objects for own properties. */
54
- var hasOwnProperty = objectProto$1.hasOwnProperty;
55
-
56
- /**
57
- * Creates an array of the enumerable property names of the array-like `value`.
58
- *
59
- * @private
60
- * @param {*} value The value to query.
61
- * @param {boolean} inherited Specify returning inherited property names.
62
- * @returns {Array} Returns the array of property names.
63
- */
64
- function arrayLikeKeys(value, inherited) {
65
- var isArr = _Map.isArray(value),
66
- isArg = !isArr && _getTag.isArguments(value),
67
- isBuff = !isArr && !isArg && _getTag.isBuffer(value),
68
- isType = !isArr && !isArg && !isBuff && _getTag.isTypedArray(value),
69
- skipIndexes = isArr || isArg || isBuff || isType,
70
- result = skipIndexes ? baseTimes(value.length, String) : [],
71
- length = result.length;
72
-
73
- for (var key in value) {
74
- if ((hasOwnProperty.call(value, key)) &&
75
- !(skipIndexes && (
76
- // Safari 9 has enumerable `arguments.length` in strict mode.
77
- key == 'length' ||
78
- // Node.js 0.10 has enumerable non-index properties on buffers.
79
- (isBuff && (key == 'offset' || key == 'parent')) ||
80
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
81
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
82
- // Skip index properties.
83
- isIndex(key, length)
84
- ))) {
85
- result.push(key);
86
- }
87
- }
88
- return result;
89
- }
90
-
91
- /**
92
- * Creates an array of the own enumerable property names of `object`.
93
- *
94
- * **Note:** Non-object values are coerced to objects. See the
95
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
96
- * for more details.
97
- *
98
- * @static
99
- * @since 0.1.0
100
- * @memberOf _
101
- * @category Object
102
- * @param {Object} object The object to query.
103
- * @returns {Array} Returns the array of property names.
104
- * @example
105
- *
106
- * function Foo() {
107
- * this.a = 1;
108
- * this.b = 2;
109
- * }
110
- *
111
- * Foo.prototype.c = 3;
112
- *
113
- * _.keys(new Foo);
114
- * // => ['a', 'b'] (iteration order is not guaranteed)
115
- *
116
- * _.keys('hi');
117
- * // => ['0', '1']
118
- */
119
- function keys(object) {
120
- return _getTag.isArrayLike(object) ? arrayLikeKeys(object) : _getTag.baseKeys(object);
121
- }
122
-
123
- /**
124
- * Appends the elements of `values` to `array`.
125
- *
126
- * @private
127
- * @param {Array} array The array to modify.
128
- * @param {Array} values The values to append.
129
- * @returns {Array} Returns `array`.
130
- */
131
- function arrayPush(array, values) {
132
- var index = -1,
133
- length = values.length,
134
- offset = array.length;
135
-
136
- while (++index < length) {
137
- array[offset + index] = values[index];
138
- }
139
- return array;
140
- }
141
-
142
- /**
143
- * Removes all key-value entries from the stack.
144
- *
145
- * @private
146
- * @name clear
147
- * @memberOf Stack
148
- */
149
- function stackClear() {
150
- this.__data__ = new _MapCache.ListCache;
151
- this.size = 0;
152
- }
153
-
154
- /**
155
- * Removes `key` and its value from the stack.
156
- *
157
- * @private
158
- * @name delete
159
- * @memberOf Stack
160
- * @param {string} key The key of the value to remove.
161
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
162
- */
163
- function stackDelete(key) {
164
- var data = this.__data__,
165
- result = data['delete'](key);
166
-
167
- this.size = data.size;
168
- return result;
169
- }
170
-
171
- /**
172
- * Gets the stack value for `key`.
173
- *
174
- * @private
175
- * @name get
176
- * @memberOf Stack
177
- * @param {string} key The key of the value to get.
178
- * @returns {*} Returns the entry value.
179
- */
180
- function stackGet(key) {
181
- return this.__data__.get(key);
182
- }
183
-
184
- /**
185
- * Checks if a stack value for `key` exists.
186
- *
187
- * @private
188
- * @name has
189
- * @memberOf Stack
190
- * @param {string} key The key of the entry to check.
191
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
192
- */
193
- function stackHas(key) {
194
- return this.__data__.has(key);
195
- }
196
-
197
- /** Used as the size to enable large array optimizations. */
198
- var LARGE_ARRAY_SIZE = 200;
199
-
200
- /**
201
- * Sets the stack `key` to `value`.
202
- *
203
- * @private
204
- * @name set
205
- * @memberOf Stack
206
- * @param {string} key The key of the value to set.
207
- * @param {*} value The value to set.
208
- * @returns {Object} Returns the stack cache instance.
209
- */
210
- function stackSet(key, value) {
211
- var data = this.__data__;
212
- if (data instanceof _MapCache.ListCache) {
213
- var pairs = data.__data__;
214
- if (!_Map.Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
215
- pairs.push([key, value]);
216
- this.size = ++data.size;
217
- return this;
218
- }
219
- data = this.__data__ = new _MapCache.MapCache(pairs);
220
- }
221
- data.set(key, value);
222
- this.size = data.size;
223
- return this;
224
- }
225
-
226
- /**
227
- * Creates a stack cache object to store key-value pairs.
228
- *
229
- * @private
230
- * @constructor
231
- * @param {Array} [entries] The key-value pairs to cache.
232
- */
233
- function Stack(entries) {
234
- var data = this.__data__ = new _MapCache.ListCache(entries);
235
- this.size = data.size;
236
- }
237
-
238
- // Add methods to `Stack`.
239
- Stack.prototype.clear = stackClear;
240
- Stack.prototype['delete'] = stackDelete;
241
- Stack.prototype.get = stackGet;
242
- Stack.prototype.has = stackHas;
243
- Stack.prototype.set = stackSet;
244
-
245
- /**
246
- * A specialized version of `_.filter` for arrays without support for
247
- * iteratee shorthands.
248
- *
249
- * @private
250
- * @param {Array} [array] The array to iterate over.
251
- * @param {Function} predicate The function invoked per iteration.
252
- * @returns {Array} Returns the new filtered array.
253
- */
254
- function arrayFilter(array, predicate) {
255
- var index = -1,
256
- length = array == null ? 0 : array.length,
257
- resIndex = 0,
258
- result = [];
259
-
260
- while (++index < length) {
261
- var value = array[index];
262
- if (predicate(value, index, array)) {
263
- result[resIndex++] = value;
264
- }
265
- }
266
- return result;
267
- }
268
-
269
- /**
270
- * This method returns a new empty array.
271
- *
272
- * @static
273
- * @memberOf _
274
- * @since 4.13.0
275
- * @category Util
276
- * @returns {Array} Returns the new empty array.
277
- * @example
278
- *
279
- * var arrays = _.times(2, _.stubArray);
280
- *
281
- * console.log(arrays);
282
- * // => [[], []]
283
- *
284
- * console.log(arrays[0] === arrays[1]);
285
- * // => false
286
- */
287
- function stubArray() {
288
- return [];
289
- }
290
-
291
- /** Used for built-in method references. */
292
- var objectProto = Object.prototype;
293
-
294
- /** Built-in value references. */
295
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
296
-
297
- /* Built-in method references for those with the same name as other `lodash` methods. */
298
- var nativeGetSymbols = Object.getOwnPropertySymbols;
299
-
300
- /**
301
- * Creates an array of the own enumerable symbols of `object`.
302
- *
303
- * @private
304
- * @param {Object} object The object to query.
305
- * @returns {Array} Returns the array of symbols.
306
- */
307
- var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
308
- if (object == null) {
309
- return [];
310
- }
311
- object = Object(object);
312
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
313
- return propertyIsEnumerable.call(object, symbol);
314
- });
315
- };
316
-
317
- /**
318
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
319
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
320
- * symbols of `object`.
321
- *
322
- * @private
323
- * @param {Object} object The object to query.
324
- * @param {Function} keysFunc The function to get the keys of `object`.
325
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
326
- * @returns {Array} Returns the array of property names and symbols.
327
- */
328
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
329
- var result = keysFunc(object);
330
- return _Map.isArray(object) ? result : arrayPush(result, symbolsFunc(object));
331
- }
332
-
333
- /**
334
- * Creates an array of own enumerable property names and symbols of `object`.
335
- *
336
- * @private
337
- * @param {Object} object The object to query.
338
- * @returns {Array} Returns the array of property names and symbols.
339
- */
340
- function getAllKeys(object) {
341
- return baseGetAllKeys(object, keys, getSymbols);
342
- }
343
-
344
- /** Built-in value references. */
345
- var Uint8Array = _Map.root.Uint8Array;
346
-
347
- exports.Stack = Stack;
348
- exports.Uint8Array = Uint8Array;
349
- exports.arrayPush = arrayPush;
350
- exports.getAllKeys = getAllKeys;
351
- exports.isIndex = isIndex;
352
- exports.keys = keys;
@@ -1 +0,0 @@
1
- var t="object"==typeof global&&global&&global.Object===Object&&global,n="object"==typeof self&&self&&self.Object===Object&&self,r=t||n||Function("return this")(),o=r.Symbol,e=Object.prototype,c=e.hasOwnProperty,u=e.toString,a=o?o.toStringTag:void 0,i=Object.prototype.toString,l=o?o.toStringTag:void 0;function f(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?function(t){var n=c.call(t,a),r=t[a];try{t[a]=void 0;var o=!0}catch(t){}var e=u.call(t);return o&&(n?t[a]=r:delete t[a]),e}(t):function(t){return i.call(t)}(t)}function b(t){return null!=t&&"object"==typeof t}var s=Array.isArray;function v(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function j(t){if(!v(t))return!1;var n=f(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}var y,d=r["__core-js_shared__"],g=(y=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||""))?"Symbol(src)_1."+y:"",p=Function.prototype.toString;function O(t){if(null!=t){try{return p.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var F=/^\[object .+?Constructor\]$/,$=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return function(t){return!(!v(t)||(n=t,g&&g in n))&&(j(t)?$:F).test(O(t));var n}(r)?r:void 0}var x=h(r,"Map");export{x as M,o as S,s as a,f as b,j as c,v as d,t as f,h as g,b as i,r,O as t}
@@ -1 +0,0 @@
1
- import{g as e,r as t,c as r,i as n,b as o,f as u,t as a,M as c}from"./_Map.js";var s=e(t,"WeakMap");function i(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function f(e){return null!=e&&i(e.length)&&!r(e)}var b=Object.prototype;function p(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||b)}function j(e){return n(e)&&"[object Arguments]"==o(e)}var l=Object.prototype,m=l.hasOwnProperty,v=l.propertyIsEnumerable,d=j(function(){return arguments}())?j:function(e){return n(e)&&m.call(e,"callee")&&!v.call(e,"callee")},x="object"==typeof exports&&exports&&!exports.nodeType&&exports,w=x&&"object"==typeof module&&module&&!module.nodeType&&module,y=w&&w.exports===x?t.Buffer:void 0,O=(y?y.isBuffer:void 0)||function(){return!1},M={};function g(e){return function(t){return e(t)}}M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Arguments]"]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object Boolean]"]=M["[object DataView]"]=M["[object Date]"]=M["[object Error]"]=M["[object Function]"]=M["[object Map]"]=M["[object Number]"]=M["[object Object]"]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object WeakMap]"]=!1;var h="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=h&&"object"==typeof module&&module&&!module.nodeType&&module,A=k&&k.exports===h&&u.process,D=function(){try{return k&&k.require&&k.require("util").types||A&&A.binding&&A.binding("util")}catch(e){}}(),P=D&&D.isTypedArray,S=P?g(P):function(e){return n(e)&&i(e.length)&&!!M[o(e)]};function V(e,t){return function(r){return e(t(r))}}var W=V(Object.keys,Object),B=Object.prototype.hasOwnProperty;function _(e){if(!p(e))return W(e);var t=[];for(var r in Object(e))B.call(e,r)&&"constructor"!=r&&t.push(r);return t}var q=e(t,"DataView"),z=e(t,"Promise"),C=e(t,"Set"),E="[object Map]",F="[object Promise]",G="[object Set]",H="[object WeakMap]",I="[object DataView]",J=a(q),K=a(c),L=a(z),N=a(C),Q=a(s),R=o;(q&&R(new q(new ArrayBuffer(1)))!=I||c&&R(new c)!=E||z&&R(z.resolve())!=F||C&&R(new C)!=G||s&&R(new s)!=H)&&(R=function(e){var t=o(e),r="[object Object]"==t?e.constructor:void 0,n=r?a(r):"";if(n)switch(n){case J:return I;case K:return E;case L:return F;case N:return G;case Q:return H}return t});export{O as a,S as b,d as c,p as d,_ as e,g as f,R as g,i as h,f as i,D as n,V as o}