@limetech/lime-crm-building-blocks 1.96.0 → 1.98.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 +14 -0
- package/dist/cjs/{_MapCache-2e84a981.js → _MapCache-8b125fbb.js} +0 -26
- package/dist/cjs/{_Uint8Array-1e99726d.js → _Uint8Array-95263550.js} +1 -12
- package/dist/cjs/_baseIsEqual-cb7951b0.js +496 -0
- package/dist/cjs/_defineProperty-40a6ad5d.js +15 -0
- package/dist/cjs/{get-1acf79ce.js → get-932b213e.js} +5 -4
- package/dist/cjs/isEqual-e77cce75.js +37 -0
- package/dist/cjs/isSymbol-5b36aeee.js +30 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/lime-query.types-bcb63a22.js +61 -0
- package/dist/cjs/limebb-component-config.cjs.entry.js +3 -2
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +378 -150
- package/dist/cjs/limebb-lime-query-filter-and_5.cjs.entry.js +278 -0
- package/dist/cjs/limebb-lime-query-value-input.cjs.entry.js +239 -0
- package/dist/cjs/limebb-limetype-field_2.cjs.entry.js +406 -0
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +13 -498
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-property-selector.cjs.entry.js +234 -0
- package/dist/cjs/limebb-response-format-item.cjs.entry.js +80 -0
- package/dist/cjs/limebb-text-editor.cjs.entry.js +20 -61
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/limetype-1fe0207f.js +90 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/property-resolution-fb42a46b.js +66 -0
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.css +121 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-and.js +257 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.css +39 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +246 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +104 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.js +220 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +107 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +212 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.css +123 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-or.js +237 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.css +48 -0
- package/dist/collection/components/lime-query-builder/expressions/lime-query-value-input.js +457 -0
- package/dist/collection/components/lime-query-builder/filter-conversion.js +118 -21
- package/dist/collection/components/lime-query-builder/lime-query-builder.css +30 -17
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +253 -27
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +435 -0
- package/dist/collection/components/lime-query-builder/property-selection-format.js +158 -0
- package/dist/collection/components/lime-query-builder/property-selector/property-selector.css +8 -0
- package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +422 -0
- package/dist/collection/components/lime-query-builder/response-format-editor.css +72 -0
- package/dist/collection/components/lime-query-builder/response-format-editor.js +249 -0
- package/dist/collection/components/lime-query-builder/response-format-item.css +61 -0
- package/dist/collection/components/lime-query-builder/response-format-item.js +208 -0
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/locale-picker/locale-picker.js +1 -1
- package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
- package/dist/collection/components/summary-popover/summary-popover.js +3 -3
- package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/components/_MapCache.js +2 -27
- package/dist/components/_Uint8Array.js +2 -12
- package/dist/components/_baseIsEqual.js +494 -0
- package/dist/components/_defineProperty.js +13 -0
- package/dist/components/get.js +2 -1
- package/dist/components/isEqual.js +35 -0
- package/dist/components/isSymbol.js +28 -0
- package/dist/components/lime-query-filter-and.js +408 -0
- package/dist/components/lime-query-filter-comparison.js +152 -0
- package/dist/components/lime-query-value-input.js +266 -0
- package/dist/components/limebb-lime-query-builder.js +437 -149
- package/dist/components/limebb-lime-query-filter-and.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-and.js +6 -0
- package/dist/components/limebb-lime-query-filter-comparison.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-comparison.js +6 -0
- package/dist/components/limebb-lime-query-filter-expression.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-expression.js +6 -0
- package/dist/components/limebb-lime-query-filter-not.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-not.js +6 -0
- package/dist/components/limebb-lime-query-filter-or.d.ts +11 -0
- package/dist/components/limebb-lime-query-filter-or.js +6 -0
- package/dist/components/limebb-lime-query-value-input.d.ts +11 -0
- package/dist/components/limebb-lime-query-value-input.js +6 -0
- package/dist/components/limebb-limetype-field.d.ts +11 -0
- package/dist/components/limebb-limetype-field.js +6 -0
- package/dist/components/limebb-locale-picker.js +8 -493
- package/dist/components/limebb-mention-group-counter.js +2 -2
- package/dist/components/limebb-percentage-visualizer.js +2 -2
- package/dist/components/limebb-property-selector.d.ts +11 -0
- package/dist/components/limebb-property-selector.js +6 -0
- package/dist/components/limebb-response-format-editor.d.ts +11 -0
- package/dist/components/limebb-response-format-editor.js +6 -0
- package/dist/components/limebb-response-format-item.d.ts +11 -0
- package/dist/components/limebb-response-format-item.js +6 -0
- package/dist/components/limebb-text-editor.js +7 -48
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +184 -0
- package/dist/components/limetype.js +85 -0
- package/dist/components/live-docs-info.js +2 -2
- package/dist/components/notification-item.js +1 -1
- package/dist/components/property-selector.js +317 -0
- package/dist/components/response-format-editor.js +278 -0
- package/dist/components/response-format-item.js +104 -0
- package/dist/components/summary-popover.js +3 -3
- package/dist/esm/{_MapCache-6484495d.js → _MapCache-af496e9d.js} +2 -27
- package/dist/esm/{_Uint8Array-e5cac922.js → _Uint8Array-d6ebd526.js} +3 -13
- package/dist/esm/_baseIsEqual-28053b81.js +494 -0
- package/dist/esm/_defineProperty-e6a185c3.js +13 -0
- package/dist/esm/{get-f9e0b2e1.js → get-3e42932b.js} +2 -1
- package/dist/esm/isEqual-57d0c223.js +35 -0
- package/dist/esm/isSymbol-1c5f65cc.js +28 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/lime-query.types-f72355e1.js +59 -0
- package/dist/esm/limebb-component-config.entry.js +3 -2
- package/dist/esm/limebb-lime-query-builder.entry.js +375 -147
- package/dist/esm/limebb-lime-query-filter-and_5.entry.js +270 -0
- package/dist/esm/limebb-lime-query-value-input.entry.js +235 -0
- package/dist/esm/limebb-limetype-field_2.entry.js +401 -0
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +9 -494
- package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +3 -3
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-property-selector.entry.js +230 -0
- package/dist/esm/limebb-response-format-item.entry.js +76 -0
- package/dist/esm/limebb-text-editor.entry.js +7 -48
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/limetype-6e7552a7.js +85 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/property-resolution-fde2375e.js +63 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-88c64360.entry.js → p-00da9b24.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-02c0cc04.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-0957b2a6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-123190c3.js +1 -0
- package/dist/lime-crm-building-blocks/p-244ee55b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-35897ec3.js +1 -0
- package/dist/lime-crm-building-blocks/{p-85b7291c.entry.js → p-3932077b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-3b0a15ec.js +1 -0
- package/dist/lime-crm-building-blocks/p-5a6d2e7f.js +1 -0
- package/dist/lime-crm-building-blocks/p-60971d64.js +1 -0
- package/dist/lime-crm-building-blocks/p-6c1146ca.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-70a28b93.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-7e6fb4af.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8664381a.entry.js → p-8c4eb49f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-96beaabc.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-a659d55a.js +1 -0
- package/dist/lime-crm-building-blocks/p-baf4e428.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-d298b34e.js +1 -0
- package/dist/lime-crm-building-blocks/{p-7c4bdc1b.entry.js → p-d89c44ad.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e0ab1554.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8064cbfb.entry.js → p-e9d23ef7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ef8a5266.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-c9126885.entry.js → p-f52125a0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-f99c611d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-fe2b91d9.js +1 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-and.d.ts +56 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-comparison.d.ts +64 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-expression.d.ts +53 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-not.d.ts +54 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-filter-or.d.ts +55 -0
- package/dist/types/components/lime-query-builder/expressions/lime-query-value-input.d.ts +92 -0
- package/dist/types/components/lime-query-builder/filter-conversion.d.ts +18 -0
- package/dist/types/components/lime-query-builder/lime-query-builder.d.ts +40 -7
- package/dist/types/components/lime-query-builder/limetype-field/limetype-field.d.ts +96 -0
- package/dist/types/components/lime-query-builder/property-selection-format.d.ts +23 -0
- package/dist/types/components/lime-query-builder/property-selector/property-selector.d.ts +71 -0
- package/dist/types/components/lime-query-builder/response-format-editor.d.ts +57 -0
- package/dist/types/components/lime-query-builder/response-format-item.d.ts +46 -0
- package/dist/types/components.d.ts +1587 -114
- package/package.json +1 -1
- package/dist/lime-crm-building-blocks/p-00e7e0d4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-11ac105b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-5abe3fff.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-8044ffbd.js +0 -1
- package/dist/lime-crm-building-blocks/p-92ec9205.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-bcc23575.js +0 -1
- package/dist/lime-crm-building-blocks/p-c40a3f4b.js +0 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-96dd111f.js';
|
|
2
2
|
import { c } from './index.esm-d8fdeb18.js';
|
|
3
|
-
import { t as toString, c as castPath, a as toKey, i as isKey, g as get, b as baseGet, d as arrayMap } from './get-
|
|
4
|
-
import {
|
|
5
|
-
import { d as isObject, i as isArray, S as Symbol
|
|
6
|
-
import { i as isArrayLike, c as isArguments,
|
|
7
|
-
import {
|
|
3
|
+
import { t as toString, c as castPath, a as toKey, i as isKey, g as get, b as baseGet, d as arrayMap } from './get-3e42932b.js';
|
|
4
|
+
import { i as isIndex, a as arrayPush, S as Stack, k as keys } from './_Uint8Array-d6ebd526.js';
|
|
5
|
+
import { d as isObject, i as isArray, S as Symbol } from './_Map-aede53b6.js';
|
|
6
|
+
import { i as isArrayLike, c as isArguments, f as isLength, h as baseUnary } from './_getTag-d02a95fa.js';
|
|
7
|
+
import { b as baseIsEqual } from './_baseIsEqual-28053b81.js';
|
|
8
|
+
import { i as isSymbol } from './isSymbol-1c5f65cc.js';
|
|
9
|
+
import { d as defineProperty } from './_defineProperty-e6a185c3.js';
|
|
10
|
+
import { e as eq } from './_MapCache-af496e9d.js';
|
|
8
11
|
|
|
9
12
|
/**
|
|
10
13
|
* This method returns the first argument it receives.
|
|
@@ -456,494 +459,6 @@ function capitalize(string) {
|
|
|
456
459
|
return upperFirst$1(toString(string).toLowerCase());
|
|
457
460
|
}
|
|
458
461
|
|
|
459
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
460
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Adds `value` to the array cache.
|
|
464
|
-
*
|
|
465
|
-
* @private
|
|
466
|
-
* @name add
|
|
467
|
-
* @memberOf SetCache
|
|
468
|
-
* @alias push
|
|
469
|
-
* @param {*} value The value to cache.
|
|
470
|
-
* @returns {Object} Returns the cache instance.
|
|
471
|
-
*/
|
|
472
|
-
function setCacheAdd(value) {
|
|
473
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
|
474
|
-
return this;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Checks if `value` is in the array cache.
|
|
479
|
-
*
|
|
480
|
-
* @private
|
|
481
|
-
* @name has
|
|
482
|
-
* @memberOf SetCache
|
|
483
|
-
* @param {*} value The value to search for.
|
|
484
|
-
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
485
|
-
*/
|
|
486
|
-
function setCacheHas(value) {
|
|
487
|
-
return this.__data__.has(value);
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
*
|
|
492
|
-
* Creates an array cache object to store unique values.
|
|
493
|
-
*
|
|
494
|
-
* @private
|
|
495
|
-
* @constructor
|
|
496
|
-
* @param {Array} [values] The values to cache.
|
|
497
|
-
*/
|
|
498
|
-
function SetCache(values) {
|
|
499
|
-
var index = -1,
|
|
500
|
-
length = values == null ? 0 : values.length;
|
|
501
|
-
|
|
502
|
-
this.__data__ = new MapCache;
|
|
503
|
-
while (++index < length) {
|
|
504
|
-
this.add(values[index]);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
// Add methods to `SetCache`.
|
|
509
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
510
|
-
SetCache.prototype.has = setCacheHas;
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* A specialized version of `_.some` for arrays without support for iteratee
|
|
514
|
-
* shorthands.
|
|
515
|
-
*
|
|
516
|
-
* @private
|
|
517
|
-
* @param {Array} [array] The array to iterate over.
|
|
518
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
519
|
-
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
520
|
-
* else `false`.
|
|
521
|
-
*/
|
|
522
|
-
function arraySome(array, predicate) {
|
|
523
|
-
var index = -1,
|
|
524
|
-
length = array == null ? 0 : array.length;
|
|
525
|
-
|
|
526
|
-
while (++index < length) {
|
|
527
|
-
if (predicate(array[index], index, array)) {
|
|
528
|
-
return true;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
return false;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* Checks if a `cache` value for `key` exists.
|
|
536
|
-
*
|
|
537
|
-
* @private
|
|
538
|
-
* @param {Object} cache The cache to query.
|
|
539
|
-
* @param {string} key The key of the entry to check.
|
|
540
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
541
|
-
*/
|
|
542
|
-
function cacheHas(cache, key) {
|
|
543
|
-
return cache.has(key);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
547
|
-
var COMPARE_PARTIAL_FLAG$5 = 1,
|
|
548
|
-
COMPARE_UNORDERED_FLAG$3 = 2;
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
552
|
-
* partial deep comparisons.
|
|
553
|
-
*
|
|
554
|
-
* @private
|
|
555
|
-
* @param {Array} array The array to compare.
|
|
556
|
-
* @param {Array} other The other array to compare.
|
|
557
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
558
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
559
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
560
|
-
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
561
|
-
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
562
|
-
*/
|
|
563
|
-
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
564
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5,
|
|
565
|
-
arrLength = array.length,
|
|
566
|
-
othLength = other.length;
|
|
567
|
-
|
|
568
|
-
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
569
|
-
return false;
|
|
570
|
-
}
|
|
571
|
-
// Check that cyclic values are equal.
|
|
572
|
-
var arrStacked = stack.get(array);
|
|
573
|
-
var othStacked = stack.get(other);
|
|
574
|
-
if (arrStacked && othStacked) {
|
|
575
|
-
return arrStacked == other && othStacked == array;
|
|
576
|
-
}
|
|
577
|
-
var index = -1,
|
|
578
|
-
result = true,
|
|
579
|
-
seen = (bitmask & COMPARE_UNORDERED_FLAG$3) ? new SetCache : undefined;
|
|
580
|
-
|
|
581
|
-
stack.set(array, other);
|
|
582
|
-
stack.set(other, array);
|
|
583
|
-
|
|
584
|
-
// Ignore non-index properties.
|
|
585
|
-
while (++index < arrLength) {
|
|
586
|
-
var arrValue = array[index],
|
|
587
|
-
othValue = other[index];
|
|
588
|
-
|
|
589
|
-
if (customizer) {
|
|
590
|
-
var compared = isPartial
|
|
591
|
-
? customizer(othValue, arrValue, index, other, array, stack)
|
|
592
|
-
: customizer(arrValue, othValue, index, array, other, stack);
|
|
593
|
-
}
|
|
594
|
-
if (compared !== undefined) {
|
|
595
|
-
if (compared) {
|
|
596
|
-
continue;
|
|
597
|
-
}
|
|
598
|
-
result = false;
|
|
599
|
-
break;
|
|
600
|
-
}
|
|
601
|
-
// Recursively compare arrays (susceptible to call stack limits).
|
|
602
|
-
if (seen) {
|
|
603
|
-
if (!arraySome(other, function(othValue, othIndex) {
|
|
604
|
-
if (!cacheHas(seen, othIndex) &&
|
|
605
|
-
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
606
|
-
return seen.push(othIndex);
|
|
607
|
-
}
|
|
608
|
-
})) {
|
|
609
|
-
result = false;
|
|
610
|
-
break;
|
|
611
|
-
}
|
|
612
|
-
} else if (!(
|
|
613
|
-
arrValue === othValue ||
|
|
614
|
-
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
|
615
|
-
)) {
|
|
616
|
-
result = false;
|
|
617
|
-
break;
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
stack['delete'](array);
|
|
621
|
-
stack['delete'](other);
|
|
622
|
-
return result;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* Converts `map` to its key-value pairs.
|
|
627
|
-
*
|
|
628
|
-
* @private
|
|
629
|
-
* @param {Object} map The map to convert.
|
|
630
|
-
* @returns {Array} Returns the key-value pairs.
|
|
631
|
-
*/
|
|
632
|
-
function mapToArray(map) {
|
|
633
|
-
var index = -1,
|
|
634
|
-
result = Array(map.size);
|
|
635
|
-
|
|
636
|
-
map.forEach(function(value, key) {
|
|
637
|
-
result[++index] = [key, value];
|
|
638
|
-
});
|
|
639
|
-
return result;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Converts `set` to an array of its values.
|
|
644
|
-
*
|
|
645
|
-
* @private
|
|
646
|
-
* @param {Object} set The set to convert.
|
|
647
|
-
* @returns {Array} Returns the values.
|
|
648
|
-
*/
|
|
649
|
-
function setToArray(set) {
|
|
650
|
-
var index = -1,
|
|
651
|
-
result = Array(set.size);
|
|
652
|
-
|
|
653
|
-
set.forEach(function(value) {
|
|
654
|
-
result[++index] = value;
|
|
655
|
-
});
|
|
656
|
-
return result;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
660
|
-
var COMPARE_PARTIAL_FLAG$4 = 1,
|
|
661
|
-
COMPARE_UNORDERED_FLAG$2 = 2;
|
|
662
|
-
|
|
663
|
-
/** `Object#toString` result references. */
|
|
664
|
-
var boolTag = '[object Boolean]',
|
|
665
|
-
dateTag = '[object Date]',
|
|
666
|
-
errorTag = '[object Error]',
|
|
667
|
-
mapTag = '[object Map]',
|
|
668
|
-
numberTag = '[object Number]',
|
|
669
|
-
regexpTag = '[object RegExp]',
|
|
670
|
-
setTag = '[object Set]',
|
|
671
|
-
stringTag = '[object String]',
|
|
672
|
-
symbolTag = '[object Symbol]';
|
|
673
|
-
|
|
674
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
|
675
|
-
dataViewTag = '[object DataView]';
|
|
676
|
-
|
|
677
|
-
/** Used to convert symbols to primitives and strings. */
|
|
678
|
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
679
|
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
683
|
-
* the same `toStringTag`.
|
|
684
|
-
*
|
|
685
|
-
* **Note:** This function only supports comparing values with tags of
|
|
686
|
-
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
687
|
-
*
|
|
688
|
-
* @private
|
|
689
|
-
* @param {Object} object The object to compare.
|
|
690
|
-
* @param {Object} other The other object to compare.
|
|
691
|
-
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
692
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
693
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
694
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
695
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
696
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
697
|
-
*/
|
|
698
|
-
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
699
|
-
switch (tag) {
|
|
700
|
-
case dataViewTag:
|
|
701
|
-
if ((object.byteLength != other.byteLength) ||
|
|
702
|
-
(object.byteOffset != other.byteOffset)) {
|
|
703
|
-
return false;
|
|
704
|
-
}
|
|
705
|
-
object = object.buffer;
|
|
706
|
-
other = other.buffer;
|
|
707
|
-
|
|
708
|
-
case arrayBufferTag:
|
|
709
|
-
if ((object.byteLength != other.byteLength) ||
|
|
710
|
-
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
|
711
|
-
return false;
|
|
712
|
-
}
|
|
713
|
-
return true;
|
|
714
|
-
|
|
715
|
-
case boolTag:
|
|
716
|
-
case dateTag:
|
|
717
|
-
case numberTag:
|
|
718
|
-
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
719
|
-
// Invalid dates are coerced to `NaN`.
|
|
720
|
-
return eq(+object, +other);
|
|
721
|
-
|
|
722
|
-
case errorTag:
|
|
723
|
-
return object.name == other.name && object.message == other.message;
|
|
724
|
-
|
|
725
|
-
case regexpTag:
|
|
726
|
-
case stringTag:
|
|
727
|
-
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
728
|
-
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
729
|
-
// for more details.
|
|
730
|
-
return object == (other + '');
|
|
731
|
-
|
|
732
|
-
case mapTag:
|
|
733
|
-
var convert = mapToArray;
|
|
734
|
-
|
|
735
|
-
case setTag:
|
|
736
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
|
|
737
|
-
convert || (convert = setToArray);
|
|
738
|
-
|
|
739
|
-
if (object.size != other.size && !isPartial) {
|
|
740
|
-
return false;
|
|
741
|
-
}
|
|
742
|
-
// Assume cyclic values are equal.
|
|
743
|
-
var stacked = stack.get(object);
|
|
744
|
-
if (stacked) {
|
|
745
|
-
return stacked == other;
|
|
746
|
-
}
|
|
747
|
-
bitmask |= COMPARE_UNORDERED_FLAG$2;
|
|
748
|
-
|
|
749
|
-
// Recursively compare objects (susceptible to call stack limits).
|
|
750
|
-
stack.set(object, other);
|
|
751
|
-
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
752
|
-
stack['delete'](object);
|
|
753
|
-
return result;
|
|
754
|
-
|
|
755
|
-
case symbolTag:
|
|
756
|
-
if (symbolValueOf) {
|
|
757
|
-
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
return false;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
764
|
-
var COMPARE_PARTIAL_FLAG$3 = 1;
|
|
765
|
-
|
|
766
|
-
/** Used for built-in method references. */
|
|
767
|
-
var objectProto$1 = Object.prototype;
|
|
768
|
-
|
|
769
|
-
/** Used to check objects for own properties. */
|
|
770
|
-
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
774
|
-
* partial deep comparisons.
|
|
775
|
-
*
|
|
776
|
-
* @private
|
|
777
|
-
* @param {Object} object The object to compare.
|
|
778
|
-
* @param {Object} other The other object to compare.
|
|
779
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
780
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
781
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
782
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
783
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
784
|
-
*/
|
|
785
|
-
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
786
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
|
|
787
|
-
objProps = getAllKeys(object),
|
|
788
|
-
objLength = objProps.length,
|
|
789
|
-
othProps = getAllKeys(other),
|
|
790
|
-
othLength = othProps.length;
|
|
791
|
-
|
|
792
|
-
if (objLength != othLength && !isPartial) {
|
|
793
|
-
return false;
|
|
794
|
-
}
|
|
795
|
-
var index = objLength;
|
|
796
|
-
while (index--) {
|
|
797
|
-
var key = objProps[index];
|
|
798
|
-
if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
|
|
799
|
-
return false;
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
// Check that cyclic values are equal.
|
|
803
|
-
var objStacked = stack.get(object);
|
|
804
|
-
var othStacked = stack.get(other);
|
|
805
|
-
if (objStacked && othStacked) {
|
|
806
|
-
return objStacked == other && othStacked == object;
|
|
807
|
-
}
|
|
808
|
-
var result = true;
|
|
809
|
-
stack.set(object, other);
|
|
810
|
-
stack.set(other, object);
|
|
811
|
-
|
|
812
|
-
var skipCtor = isPartial;
|
|
813
|
-
while (++index < objLength) {
|
|
814
|
-
key = objProps[index];
|
|
815
|
-
var objValue = object[key],
|
|
816
|
-
othValue = other[key];
|
|
817
|
-
|
|
818
|
-
if (customizer) {
|
|
819
|
-
var compared = isPartial
|
|
820
|
-
? customizer(othValue, objValue, key, other, object, stack)
|
|
821
|
-
: customizer(objValue, othValue, key, object, other, stack);
|
|
822
|
-
}
|
|
823
|
-
// Recursively compare objects (susceptible to call stack limits).
|
|
824
|
-
if (!(compared === undefined
|
|
825
|
-
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
826
|
-
: compared
|
|
827
|
-
)) {
|
|
828
|
-
result = false;
|
|
829
|
-
break;
|
|
830
|
-
}
|
|
831
|
-
skipCtor || (skipCtor = key == 'constructor');
|
|
832
|
-
}
|
|
833
|
-
if (result && !skipCtor) {
|
|
834
|
-
var objCtor = object.constructor,
|
|
835
|
-
othCtor = other.constructor;
|
|
836
|
-
|
|
837
|
-
// Non `Object` object instances with different constructors are not equal.
|
|
838
|
-
if (objCtor != othCtor &&
|
|
839
|
-
('constructor' in object && 'constructor' in other) &&
|
|
840
|
-
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
841
|
-
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
842
|
-
result = false;
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
stack['delete'](object);
|
|
846
|
-
stack['delete'](other);
|
|
847
|
-
return result;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
851
|
-
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
852
|
-
|
|
853
|
-
/** `Object#toString` result references. */
|
|
854
|
-
var argsTag = '[object Arguments]',
|
|
855
|
-
arrayTag = '[object Array]',
|
|
856
|
-
objectTag = '[object Object]';
|
|
857
|
-
|
|
858
|
-
/** Used for built-in method references. */
|
|
859
|
-
var objectProto = Object.prototype;
|
|
860
|
-
|
|
861
|
-
/** Used to check objects for own properties. */
|
|
862
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
866
|
-
* deep comparisons and tracks traversed objects enabling objects with circular
|
|
867
|
-
* references to be compared.
|
|
868
|
-
*
|
|
869
|
-
* @private
|
|
870
|
-
* @param {Object} object The object to compare.
|
|
871
|
-
* @param {Object} other The other object to compare.
|
|
872
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
873
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
874
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
875
|
-
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
876
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
877
|
-
*/
|
|
878
|
-
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
879
|
-
var objIsArr = isArray(object),
|
|
880
|
-
othIsArr = isArray(other),
|
|
881
|
-
objTag = objIsArr ? arrayTag : getTag(object),
|
|
882
|
-
othTag = othIsArr ? arrayTag : getTag(other);
|
|
883
|
-
|
|
884
|
-
objTag = objTag == argsTag ? objectTag : objTag;
|
|
885
|
-
othTag = othTag == argsTag ? objectTag : othTag;
|
|
886
|
-
|
|
887
|
-
var objIsObj = objTag == objectTag,
|
|
888
|
-
othIsObj = othTag == objectTag,
|
|
889
|
-
isSameTag = objTag == othTag;
|
|
890
|
-
|
|
891
|
-
if (isSameTag && isBuffer(object)) {
|
|
892
|
-
if (!isBuffer(other)) {
|
|
893
|
-
return false;
|
|
894
|
-
}
|
|
895
|
-
objIsArr = true;
|
|
896
|
-
objIsObj = false;
|
|
897
|
-
}
|
|
898
|
-
if (isSameTag && !objIsObj) {
|
|
899
|
-
stack || (stack = new Stack);
|
|
900
|
-
return (objIsArr || isTypedArray(object))
|
|
901
|
-
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
902
|
-
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
903
|
-
}
|
|
904
|
-
if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
|
|
905
|
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
906
|
-
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
907
|
-
|
|
908
|
-
if (objIsWrapped || othIsWrapped) {
|
|
909
|
-
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
910
|
-
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
911
|
-
|
|
912
|
-
stack || (stack = new Stack);
|
|
913
|
-
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
if (!isSameTag) {
|
|
917
|
-
return false;
|
|
918
|
-
}
|
|
919
|
-
stack || (stack = new Stack);
|
|
920
|
-
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
925
|
-
* and tracks traversed objects.
|
|
926
|
-
*
|
|
927
|
-
* @private
|
|
928
|
-
* @param {*} value The value to compare.
|
|
929
|
-
* @param {*} other The other value to compare.
|
|
930
|
-
* @param {boolean} bitmask The bitmask flags.
|
|
931
|
-
* 1 - Unordered comparison
|
|
932
|
-
* 2 - Partial comparison
|
|
933
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
|
934
|
-
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
935
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
936
|
-
*/
|
|
937
|
-
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
938
|
-
if (value === other) {
|
|
939
|
-
return true;
|
|
940
|
-
}
|
|
941
|
-
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
942
|
-
return value !== value && other !== other;
|
|
943
|
-
}
|
|
944
|
-
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
945
|
-
}
|
|
946
|
-
|
|
947
462
|
/** Used to compose bitmasks for value comparisons. */
|
|
948
463
|
var COMPARE_PARTIAL_FLAG$1 = 1,
|
|
949
464
|
COMPARE_UNORDERED_FLAG$1 = 2;
|
|
@@ -1614,7 +1129,7 @@ const LocalePicker = class {
|
|
|
1614
1129
|
const value = this.value;
|
|
1615
1130
|
selectedOptions = options.find((option) => option.value === value);
|
|
1616
1131
|
}
|
|
1617
|
-
return (h("limel-select", { key: '
|
|
1132
|
+
return (h("limel-select", { key: '4010306cc9bb60b5d1233165eeca5468fe011c33', value: selectedOptions, options: sortBy$1(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
|
|
1618
1133
|
}
|
|
1619
1134
|
};
|
|
1620
1135
|
|
|
@@ -11,8 +11,8 @@ const MentionGroupCounter = class {
|
|
|
11
11
|
render() {
|
|
12
12
|
const label = this.getLabel();
|
|
13
13
|
return [
|
|
14
|
-
h("span", { key: '
|
|
15
|
-
h("limel-tooltip", { key: '
|
|
14
|
+
h("span", { key: 'e6627acbd791531d8f94ed31b07bc47af748da9d', id: this.tooltipId }, label),
|
|
15
|
+
h("limel-tooltip", { key: 'e7eddf0643b594fce4aa00f8c783c39b815bbc6d', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
16
16
|
];
|
|
17
17
|
}
|
|
18
18
|
getLabel() {
|
|
@@ -120,14 +120,14 @@ const SummaryPopover = class {
|
|
|
120
120
|
top: '0.125rem',
|
|
121
121
|
right: '0.125rem',
|
|
122
122
|
};
|
|
123
|
-
return (h("limel-popover", { key: '
|
|
123
|
+
return (h("limel-popover", { key: '838ab57fbd92dd56d10df1e132c3a0f3f2fef58a', style: {
|
|
124
124
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
125
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
125
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'ae1c5c30ac48ea401319596edc02c0cebecede2c', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, h("slot", { key: 'c4aa17eca607080749902ebc19dca7cead778af9', name: "trigger" }), h("div", { key: 'a19c9591ea7744550f1a7588522552155549b4d1', class: "opening-countdown-indicator" })), h("limel-card", { key: 'c19be162436f7744717934e0f5b21e2558dacb5d', style: {
|
|
126
126
|
'max-width': this.popoverMaxWidth,
|
|
127
127
|
'max-height': this.popoverMaxHeight,
|
|
128
128
|
'min-width': '7rem',
|
|
129
129
|
'min-height': '3rem',
|
|
130
|
-
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: '
|
|
130
|
+
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, h("limebb-navigation-button", { key: 'e2e8685758030513feacce28e6b9a09cadb7f6c7', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
SummaryPopover.currentOpenPopover = null;
|
|
@@ -56,7 +56,7 @@ const NotificationListItem = class {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'e51a5ebe9c955d43f1025a61a12ca870abb66347', id: this.item.id, class: {
|
|
60
60
|
'is-clickable': this.isItemClickable(),
|
|
61
61
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
62
62
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -74,11 +74,11 @@ const PercentageVisualizer = class {
|
|
|
74
74
|
render() {
|
|
75
75
|
const normalizedValue = this.getNormalizedValue();
|
|
76
76
|
const zeroPoint = this.getZeroPointPosition();
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'a99a367379f75613f8f37824fae64d5425e13c92', class: this.getContainerClassList(), style: {
|
|
78
78
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
79
79
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
80
80
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
81
|
-
} }, h("limel-notched-outline", { key: '
|
|
81
|
+
} }, h("limel-notched-outline", { key: '498c23ad0ddd79219de646286f9958a84c2592c9', tabIndex: 0, role: "meter", "aria-valuemin": this.rangeMin, "aria-valuemax": this.rangeMax, "aria-valuenow": this.numValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-controls": this.helperTextId }, h("div", { key: 'f8ba78a9b92bb93fc107e04f3001413c7560431b', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
82
82
|
}
|
|
83
83
|
renderVisualization() {
|
|
84
84
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|