@limetech/lime-crm-building-blocks 1.95.0 → 1.97.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-document-item.cjs.entry.js +174 -0
- package/dist/cjs/limebb-document-picker.cjs.entry.js +82 -0
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +382 -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 +22 -83
- 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/cjs/random-string-aac0a74b.js +24 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/document-picker/document-item/document-item.css +64 -0
- package/dist/collection/components/document-picker/document-item/document-item.js +265 -0
- package/dist/collection/components/document-picker/document-item/document-item.types.js +1 -0
- package/dist/collection/components/document-picker/document-picker.css +139 -0
- package/dist/collection/components/document-picker/document-picker.js +304 -0
- package/dist/collection/components/document-picker/document.types.js +1 -0
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- 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 +233 -28
- 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/collection/util/format-bytes.js +36 -0
- 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/document-item.js +190 -0
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/get.js +2 -1
- package/dist/components/isEqual.js +35 -0
- package/dist/components/isSymbol.js +28 -0
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- 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-document-item.d.ts +11 -0
- package/dist/components/limebb-document-item.js +6 -0
- package/dist/components/limebb-document-picker.d.ts +11 -0
- package/dist/components/limebb-document-picker.js +111 -0
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-icon-picker.js +1 -1
- package/dist/components/limebb-info-tile-format.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-lime-query-builder.js +441 -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 +8 -69
- 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/random-string.js +22 -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-document-item.entry.js +170 -0
- package/dist/esm/limebb-document-picker.entry.js +78 -0
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-group.entry.js +1 -1
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +379 -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 +8 -69
- 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/esm/random-string-f6ef6fbf.js +22 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-85e11ff7.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-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-d6a07ea4.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-4a82410e.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-a694aae5.entry.js → p-50d3d61a.entry.js} +1 -1
- 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-a44f543c.entry.js → p-61282e1a.entry.js} +1 -1
- 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-16199127.entry.js → p-79d4668a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-7e6fb4af.js +1 -0
- package/dist/lime-crm-building-blocks/{p-88cc5b66.entry.js → p-82d33d43.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7db8652e.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-9d25ed5a.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-8dce83ad.entry.js → p-9d9f25da.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-a659d55a.js +1 -0
- package/dist/lime-crm-building-blocks/p-b7c72179.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-baf4e428.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-516210d4.entry.js → p-beb0d164.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d298b34e.js +1 -0
- package/dist/lime-crm-building-blocks/{p-047c89de.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-46d2f604.entry.js → p-e35299e0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8ef39ab8.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-abf1c197.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-fbda77a7.js +1 -0
- package/dist/lime-crm-building-blocks/p-fe2b91d9.js +1 -0
- package/dist/lime-crm-building-blocks/{p-d6af09a8.entry.js → p-ff0b244b.entry.js} +1 -1
- package/dist/types/components/document-picker/document-item/document-item.d.ts +46 -0
- package/dist/types/components/document-picker/document-item/document-item.types.d.ts +37 -0
- package/dist/types/components/document-picker/document-picker.d.ts +80 -0
- package/dist/types/components/document-picker/document.types.d.ts +2 -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 +30 -8
- 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 +1795 -114
- package/dist/types/util/format-bytes.d.ts +20 -0
- package/package.json +2 -2
- package/dist/lime-crm-building-blocks/p-29346b1a.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-4ccce5cc.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7ef3bace.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
|
@@ -4,11 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ff255a0d.js');
|
|
6
6
|
const index_esm = require('./index.esm-a894ac76.js');
|
|
7
|
-
const get = require('./get-
|
|
8
|
-
const _Uint8Array = require('./_Uint8Array-
|
|
7
|
+
const get = require('./get-932b213e.js');
|
|
8
|
+
const _Uint8Array = require('./_Uint8Array-95263550.js');
|
|
9
9
|
const _Map = require('./_Map-60aae0ed.js');
|
|
10
10
|
const _getTag = require('./_getTag-8809c5c6.js');
|
|
11
|
-
const
|
|
11
|
+
const _baseIsEqual = require('./_baseIsEqual-cb7951b0.js');
|
|
12
|
+
const isSymbol = require('./isSymbol-5b36aeee.js');
|
|
13
|
+
const _defineProperty = require('./_defineProperty-40a6ad5d.js');
|
|
14
|
+
const _MapCache = require('./_MapCache-8b125fbb.js');
|
|
12
15
|
|
|
13
16
|
/**
|
|
14
17
|
* This method returns the first argument it receives.
|
|
@@ -119,8 +122,8 @@ function constant(value) {
|
|
|
119
122
|
* @param {Function} string The `toString` result.
|
|
120
123
|
* @returns {Function} Returns `func`.
|
|
121
124
|
*/
|
|
122
|
-
var baseSetToString = !
|
|
123
|
-
return
|
|
125
|
+
var baseSetToString = !_defineProperty.defineProperty ? identity : function(func, string) {
|
|
126
|
+
return _defineProperty.defineProperty(func, 'toString', {
|
|
124
127
|
'configurable': true,
|
|
125
128
|
'enumerable': false,
|
|
126
129
|
'value': constant(string),
|
|
@@ -460,494 +463,6 @@ function capitalize(string) {
|
|
|
460
463
|
return upperFirst$1(get.toString(string).toLowerCase());
|
|
461
464
|
}
|
|
462
465
|
|
|
463
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
464
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* Adds `value` to the array cache.
|
|
468
|
-
*
|
|
469
|
-
* @private
|
|
470
|
-
* @name add
|
|
471
|
-
* @memberOf SetCache
|
|
472
|
-
* @alias push
|
|
473
|
-
* @param {*} value The value to cache.
|
|
474
|
-
* @returns {Object} Returns the cache instance.
|
|
475
|
-
*/
|
|
476
|
-
function setCacheAdd(value) {
|
|
477
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
|
478
|
-
return this;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Checks if `value` is in the array cache.
|
|
483
|
-
*
|
|
484
|
-
* @private
|
|
485
|
-
* @name has
|
|
486
|
-
* @memberOf SetCache
|
|
487
|
-
* @param {*} value The value to search for.
|
|
488
|
-
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
489
|
-
*/
|
|
490
|
-
function setCacheHas(value) {
|
|
491
|
-
return this.__data__.has(value);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* Creates an array cache object to store unique values.
|
|
497
|
-
*
|
|
498
|
-
* @private
|
|
499
|
-
* @constructor
|
|
500
|
-
* @param {Array} [values] The values to cache.
|
|
501
|
-
*/
|
|
502
|
-
function SetCache(values) {
|
|
503
|
-
var index = -1,
|
|
504
|
-
length = values == null ? 0 : values.length;
|
|
505
|
-
|
|
506
|
-
this.__data__ = new _MapCache.MapCache;
|
|
507
|
-
while (++index < length) {
|
|
508
|
-
this.add(values[index]);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
// Add methods to `SetCache`.
|
|
513
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
514
|
-
SetCache.prototype.has = setCacheHas;
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* A specialized version of `_.some` for arrays without support for iteratee
|
|
518
|
-
* shorthands.
|
|
519
|
-
*
|
|
520
|
-
* @private
|
|
521
|
-
* @param {Array} [array] The array to iterate over.
|
|
522
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
523
|
-
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
524
|
-
* else `false`.
|
|
525
|
-
*/
|
|
526
|
-
function arraySome(array, predicate) {
|
|
527
|
-
var index = -1,
|
|
528
|
-
length = array == null ? 0 : array.length;
|
|
529
|
-
|
|
530
|
-
while (++index < length) {
|
|
531
|
-
if (predicate(array[index], index, array)) {
|
|
532
|
-
return true;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
return false;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Checks if a `cache` value for `key` exists.
|
|
540
|
-
*
|
|
541
|
-
* @private
|
|
542
|
-
* @param {Object} cache The cache to query.
|
|
543
|
-
* @param {string} key The key of the entry to check.
|
|
544
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
545
|
-
*/
|
|
546
|
-
function cacheHas(cache, key) {
|
|
547
|
-
return cache.has(key);
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
551
|
-
var COMPARE_PARTIAL_FLAG$5 = 1,
|
|
552
|
-
COMPARE_UNORDERED_FLAG$3 = 2;
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
556
|
-
* partial deep comparisons.
|
|
557
|
-
*
|
|
558
|
-
* @private
|
|
559
|
-
* @param {Array} array The array to compare.
|
|
560
|
-
* @param {Array} other The other array to compare.
|
|
561
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
562
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
563
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
564
|
-
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
565
|
-
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
566
|
-
*/
|
|
567
|
-
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
568
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5,
|
|
569
|
-
arrLength = array.length,
|
|
570
|
-
othLength = other.length;
|
|
571
|
-
|
|
572
|
-
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
573
|
-
return false;
|
|
574
|
-
}
|
|
575
|
-
// Check that cyclic values are equal.
|
|
576
|
-
var arrStacked = stack.get(array);
|
|
577
|
-
var othStacked = stack.get(other);
|
|
578
|
-
if (arrStacked && othStacked) {
|
|
579
|
-
return arrStacked == other && othStacked == array;
|
|
580
|
-
}
|
|
581
|
-
var index = -1,
|
|
582
|
-
result = true,
|
|
583
|
-
seen = (bitmask & COMPARE_UNORDERED_FLAG$3) ? new SetCache : undefined;
|
|
584
|
-
|
|
585
|
-
stack.set(array, other);
|
|
586
|
-
stack.set(other, array);
|
|
587
|
-
|
|
588
|
-
// Ignore non-index properties.
|
|
589
|
-
while (++index < arrLength) {
|
|
590
|
-
var arrValue = array[index],
|
|
591
|
-
othValue = other[index];
|
|
592
|
-
|
|
593
|
-
if (customizer) {
|
|
594
|
-
var compared = isPartial
|
|
595
|
-
? customizer(othValue, arrValue, index, other, array, stack)
|
|
596
|
-
: customizer(arrValue, othValue, index, array, other, stack);
|
|
597
|
-
}
|
|
598
|
-
if (compared !== undefined) {
|
|
599
|
-
if (compared) {
|
|
600
|
-
continue;
|
|
601
|
-
}
|
|
602
|
-
result = false;
|
|
603
|
-
break;
|
|
604
|
-
}
|
|
605
|
-
// Recursively compare arrays (susceptible to call stack limits).
|
|
606
|
-
if (seen) {
|
|
607
|
-
if (!arraySome(other, function(othValue, othIndex) {
|
|
608
|
-
if (!cacheHas(seen, othIndex) &&
|
|
609
|
-
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
610
|
-
return seen.push(othIndex);
|
|
611
|
-
}
|
|
612
|
-
})) {
|
|
613
|
-
result = false;
|
|
614
|
-
break;
|
|
615
|
-
}
|
|
616
|
-
} else if (!(
|
|
617
|
-
arrValue === othValue ||
|
|
618
|
-
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
|
619
|
-
)) {
|
|
620
|
-
result = false;
|
|
621
|
-
break;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
stack['delete'](array);
|
|
625
|
-
stack['delete'](other);
|
|
626
|
-
return result;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Converts `map` to its key-value pairs.
|
|
631
|
-
*
|
|
632
|
-
* @private
|
|
633
|
-
* @param {Object} map The map to convert.
|
|
634
|
-
* @returns {Array} Returns the key-value pairs.
|
|
635
|
-
*/
|
|
636
|
-
function mapToArray(map) {
|
|
637
|
-
var index = -1,
|
|
638
|
-
result = Array(map.size);
|
|
639
|
-
|
|
640
|
-
map.forEach(function(value, key) {
|
|
641
|
-
result[++index] = [key, value];
|
|
642
|
-
});
|
|
643
|
-
return result;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* Converts `set` to an array of its values.
|
|
648
|
-
*
|
|
649
|
-
* @private
|
|
650
|
-
* @param {Object} set The set to convert.
|
|
651
|
-
* @returns {Array} Returns the values.
|
|
652
|
-
*/
|
|
653
|
-
function setToArray(set) {
|
|
654
|
-
var index = -1,
|
|
655
|
-
result = Array(set.size);
|
|
656
|
-
|
|
657
|
-
set.forEach(function(value) {
|
|
658
|
-
result[++index] = value;
|
|
659
|
-
});
|
|
660
|
-
return result;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
664
|
-
var COMPARE_PARTIAL_FLAG$4 = 1,
|
|
665
|
-
COMPARE_UNORDERED_FLAG$2 = 2;
|
|
666
|
-
|
|
667
|
-
/** `Object#toString` result references. */
|
|
668
|
-
var boolTag = '[object Boolean]',
|
|
669
|
-
dateTag = '[object Date]',
|
|
670
|
-
errorTag = '[object Error]',
|
|
671
|
-
mapTag = '[object Map]',
|
|
672
|
-
numberTag = '[object Number]',
|
|
673
|
-
regexpTag = '[object RegExp]',
|
|
674
|
-
setTag = '[object Set]',
|
|
675
|
-
stringTag = '[object String]',
|
|
676
|
-
symbolTag = '[object Symbol]';
|
|
677
|
-
|
|
678
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
|
679
|
-
dataViewTag = '[object DataView]';
|
|
680
|
-
|
|
681
|
-
/** Used to convert symbols to primitives and strings. */
|
|
682
|
-
var symbolProto = _Map.Symbol ? _Map.Symbol.prototype : undefined,
|
|
683
|
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
687
|
-
* the same `toStringTag`.
|
|
688
|
-
*
|
|
689
|
-
* **Note:** This function only supports comparing values with tags of
|
|
690
|
-
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
691
|
-
*
|
|
692
|
-
* @private
|
|
693
|
-
* @param {Object} object The object to compare.
|
|
694
|
-
* @param {Object} other The other object to compare.
|
|
695
|
-
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
696
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
697
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
698
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
699
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
700
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
701
|
-
*/
|
|
702
|
-
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
703
|
-
switch (tag) {
|
|
704
|
-
case dataViewTag:
|
|
705
|
-
if ((object.byteLength != other.byteLength) ||
|
|
706
|
-
(object.byteOffset != other.byteOffset)) {
|
|
707
|
-
return false;
|
|
708
|
-
}
|
|
709
|
-
object = object.buffer;
|
|
710
|
-
other = other.buffer;
|
|
711
|
-
|
|
712
|
-
case arrayBufferTag:
|
|
713
|
-
if ((object.byteLength != other.byteLength) ||
|
|
714
|
-
!equalFunc(new _Uint8Array.Uint8Array(object), new _Uint8Array.Uint8Array(other))) {
|
|
715
|
-
return false;
|
|
716
|
-
}
|
|
717
|
-
return true;
|
|
718
|
-
|
|
719
|
-
case boolTag:
|
|
720
|
-
case dateTag:
|
|
721
|
-
case numberTag:
|
|
722
|
-
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
723
|
-
// Invalid dates are coerced to `NaN`.
|
|
724
|
-
return _MapCache.eq(+object, +other);
|
|
725
|
-
|
|
726
|
-
case errorTag:
|
|
727
|
-
return object.name == other.name && object.message == other.message;
|
|
728
|
-
|
|
729
|
-
case regexpTag:
|
|
730
|
-
case stringTag:
|
|
731
|
-
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
732
|
-
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
733
|
-
// for more details.
|
|
734
|
-
return object == (other + '');
|
|
735
|
-
|
|
736
|
-
case mapTag:
|
|
737
|
-
var convert = mapToArray;
|
|
738
|
-
|
|
739
|
-
case setTag:
|
|
740
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
|
|
741
|
-
convert || (convert = setToArray);
|
|
742
|
-
|
|
743
|
-
if (object.size != other.size && !isPartial) {
|
|
744
|
-
return false;
|
|
745
|
-
}
|
|
746
|
-
// Assume cyclic values are equal.
|
|
747
|
-
var stacked = stack.get(object);
|
|
748
|
-
if (stacked) {
|
|
749
|
-
return stacked == other;
|
|
750
|
-
}
|
|
751
|
-
bitmask |= COMPARE_UNORDERED_FLAG$2;
|
|
752
|
-
|
|
753
|
-
// Recursively compare objects (susceptible to call stack limits).
|
|
754
|
-
stack.set(object, other);
|
|
755
|
-
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
756
|
-
stack['delete'](object);
|
|
757
|
-
return result;
|
|
758
|
-
|
|
759
|
-
case symbolTag:
|
|
760
|
-
if (symbolValueOf) {
|
|
761
|
-
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
return false;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
768
|
-
var COMPARE_PARTIAL_FLAG$3 = 1;
|
|
769
|
-
|
|
770
|
-
/** Used for built-in method references. */
|
|
771
|
-
var objectProto$1 = Object.prototype;
|
|
772
|
-
|
|
773
|
-
/** Used to check objects for own properties. */
|
|
774
|
-
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
778
|
-
* partial deep comparisons.
|
|
779
|
-
*
|
|
780
|
-
* @private
|
|
781
|
-
* @param {Object} object The object to compare.
|
|
782
|
-
* @param {Object} other The other object to compare.
|
|
783
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
784
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
785
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
786
|
-
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
787
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
788
|
-
*/
|
|
789
|
-
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
790
|
-
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
|
|
791
|
-
objProps = _Uint8Array.getAllKeys(object),
|
|
792
|
-
objLength = objProps.length,
|
|
793
|
-
othProps = _Uint8Array.getAllKeys(other),
|
|
794
|
-
othLength = othProps.length;
|
|
795
|
-
|
|
796
|
-
if (objLength != othLength && !isPartial) {
|
|
797
|
-
return false;
|
|
798
|
-
}
|
|
799
|
-
var index = objLength;
|
|
800
|
-
while (index--) {
|
|
801
|
-
var key = objProps[index];
|
|
802
|
-
if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
|
|
803
|
-
return false;
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
// Check that cyclic values are equal.
|
|
807
|
-
var objStacked = stack.get(object);
|
|
808
|
-
var othStacked = stack.get(other);
|
|
809
|
-
if (objStacked && othStacked) {
|
|
810
|
-
return objStacked == other && othStacked == object;
|
|
811
|
-
}
|
|
812
|
-
var result = true;
|
|
813
|
-
stack.set(object, other);
|
|
814
|
-
stack.set(other, object);
|
|
815
|
-
|
|
816
|
-
var skipCtor = isPartial;
|
|
817
|
-
while (++index < objLength) {
|
|
818
|
-
key = objProps[index];
|
|
819
|
-
var objValue = object[key],
|
|
820
|
-
othValue = other[key];
|
|
821
|
-
|
|
822
|
-
if (customizer) {
|
|
823
|
-
var compared = isPartial
|
|
824
|
-
? customizer(othValue, objValue, key, other, object, stack)
|
|
825
|
-
: customizer(objValue, othValue, key, object, other, stack);
|
|
826
|
-
}
|
|
827
|
-
// Recursively compare objects (susceptible to call stack limits).
|
|
828
|
-
if (!(compared === undefined
|
|
829
|
-
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
830
|
-
: compared
|
|
831
|
-
)) {
|
|
832
|
-
result = false;
|
|
833
|
-
break;
|
|
834
|
-
}
|
|
835
|
-
skipCtor || (skipCtor = key == 'constructor');
|
|
836
|
-
}
|
|
837
|
-
if (result && !skipCtor) {
|
|
838
|
-
var objCtor = object.constructor,
|
|
839
|
-
othCtor = other.constructor;
|
|
840
|
-
|
|
841
|
-
// Non `Object` object instances with different constructors are not equal.
|
|
842
|
-
if (objCtor != othCtor &&
|
|
843
|
-
('constructor' in object && 'constructor' in other) &&
|
|
844
|
-
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
845
|
-
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
846
|
-
result = false;
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
stack['delete'](object);
|
|
850
|
-
stack['delete'](other);
|
|
851
|
-
return result;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
855
|
-
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
856
|
-
|
|
857
|
-
/** `Object#toString` result references. */
|
|
858
|
-
var argsTag = '[object Arguments]',
|
|
859
|
-
arrayTag = '[object Array]',
|
|
860
|
-
objectTag = '[object Object]';
|
|
861
|
-
|
|
862
|
-
/** Used for built-in method references. */
|
|
863
|
-
var objectProto = Object.prototype;
|
|
864
|
-
|
|
865
|
-
/** Used to check objects for own properties. */
|
|
866
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
870
|
-
* deep comparisons and tracks traversed objects enabling objects with circular
|
|
871
|
-
* references to be compared.
|
|
872
|
-
*
|
|
873
|
-
* @private
|
|
874
|
-
* @param {Object} object The object to compare.
|
|
875
|
-
* @param {Object} other The other object to compare.
|
|
876
|
-
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
877
|
-
* @param {Function} customizer The function to customize comparisons.
|
|
878
|
-
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
879
|
-
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
880
|
-
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
881
|
-
*/
|
|
882
|
-
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
883
|
-
var objIsArr = _Map.isArray(object),
|
|
884
|
-
othIsArr = _Map.isArray(other),
|
|
885
|
-
objTag = objIsArr ? arrayTag : _getTag.getTag(object),
|
|
886
|
-
othTag = othIsArr ? arrayTag : _getTag.getTag(other);
|
|
887
|
-
|
|
888
|
-
objTag = objTag == argsTag ? objectTag : objTag;
|
|
889
|
-
othTag = othTag == argsTag ? objectTag : othTag;
|
|
890
|
-
|
|
891
|
-
var objIsObj = objTag == objectTag,
|
|
892
|
-
othIsObj = othTag == objectTag,
|
|
893
|
-
isSameTag = objTag == othTag;
|
|
894
|
-
|
|
895
|
-
if (isSameTag && _getTag.isBuffer(object)) {
|
|
896
|
-
if (!_getTag.isBuffer(other)) {
|
|
897
|
-
return false;
|
|
898
|
-
}
|
|
899
|
-
objIsArr = true;
|
|
900
|
-
objIsObj = false;
|
|
901
|
-
}
|
|
902
|
-
if (isSameTag && !objIsObj) {
|
|
903
|
-
stack || (stack = new _Uint8Array.Stack);
|
|
904
|
-
return (objIsArr || _getTag.isTypedArray(object))
|
|
905
|
-
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
906
|
-
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
907
|
-
}
|
|
908
|
-
if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
|
|
909
|
-
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
910
|
-
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
911
|
-
|
|
912
|
-
if (objIsWrapped || othIsWrapped) {
|
|
913
|
-
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
914
|
-
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
915
|
-
|
|
916
|
-
stack || (stack = new _Uint8Array.Stack);
|
|
917
|
-
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
if (!isSameTag) {
|
|
921
|
-
return false;
|
|
922
|
-
}
|
|
923
|
-
stack || (stack = new _Uint8Array.Stack);
|
|
924
|
-
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
929
|
-
* and tracks traversed objects.
|
|
930
|
-
*
|
|
931
|
-
* @private
|
|
932
|
-
* @param {*} value The value to compare.
|
|
933
|
-
* @param {*} other The other value to compare.
|
|
934
|
-
* @param {boolean} bitmask The bitmask flags.
|
|
935
|
-
* 1 - Unordered comparison
|
|
936
|
-
* 2 - Partial comparison
|
|
937
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
|
938
|
-
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
939
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
940
|
-
*/
|
|
941
|
-
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
942
|
-
if (value === other) {
|
|
943
|
-
return true;
|
|
944
|
-
}
|
|
945
|
-
if (value == null || other == null || (!_Map.isObjectLike(value) && !_Map.isObjectLike(other))) {
|
|
946
|
-
return value !== value && other !== other;
|
|
947
|
-
}
|
|
948
|
-
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
949
|
-
}
|
|
950
|
-
|
|
951
466
|
/** Used to compose bitmasks for value comparisons. */
|
|
952
467
|
var COMPARE_PARTIAL_FLAG$1 = 1,
|
|
953
468
|
COMPARE_UNORDERED_FLAG$1 = 2;
|
|
@@ -996,7 +511,7 @@ function baseIsMatch(object, source, matchData, customizer) {
|
|
|
996
511
|
var result = customizer(objValue, srcValue, key, object, source, stack);
|
|
997
512
|
}
|
|
998
513
|
if (!(result === undefined
|
|
999
|
-
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
|
|
514
|
+
? _baseIsEqual.baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
|
|
1000
515
|
: result
|
|
1001
516
|
)) {
|
|
1002
517
|
return false;
|
|
@@ -1167,7 +682,7 @@ function baseMatchesProperty(path, srcValue) {
|
|
|
1167
682
|
var objValue = get.get(object, path);
|
|
1168
683
|
return (objValue === undefined && objValue === srcValue)
|
|
1169
684
|
? hasIn(object, path)
|
|
1170
|
-
: baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
685
|
+
: _baseIsEqual.baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
1171
686
|
};
|
|
1172
687
|
}
|
|
1173
688
|
|
|
@@ -1390,12 +905,12 @@ function compareAscending(value, other) {
|
|
|
1390
905
|
var valIsDefined = value !== undefined,
|
|
1391
906
|
valIsNull = value === null,
|
|
1392
907
|
valIsReflexive = value === value,
|
|
1393
|
-
valIsSymbol =
|
|
908
|
+
valIsSymbol = isSymbol.isSymbol(value);
|
|
1394
909
|
|
|
1395
910
|
var othIsDefined = other !== undefined,
|
|
1396
911
|
othIsNull = other === null,
|
|
1397
912
|
othIsReflexive = other === other,
|
|
1398
|
-
othIsSymbol =
|
|
913
|
+
othIsSymbol = isSymbol.isSymbol(other);
|
|
1399
914
|
|
|
1400
915
|
if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
|
|
1401
916
|
(valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
|
|
@@ -1618,7 +1133,7 @@ const LocalePicker = class {
|
|
|
1618
1133
|
const value = this.value;
|
|
1619
1134
|
selectedOptions = options.find((option) => option.value === value);
|
|
1620
1135
|
}
|
|
1621
|
-
return (index.h("limel-select", { key: '
|
|
1136
|
+
return (index.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 }));
|
|
1622
1137
|
}
|
|
1623
1138
|
};
|
|
1624
1139
|
|
|
@@ -15,8 +15,8 @@ const MentionGroupCounter = class {
|
|
|
15
15
|
render() {
|
|
16
16
|
const label = this.getLabel();
|
|
17
17
|
return [
|
|
18
|
-
index.h("span", { key: '
|
|
19
|
-
index.h("limel-tooltip", { key: '
|
|
18
|
+
index.h("span", { key: 'e6627acbd791531d8f94ed31b07bc47af748da9d', id: this.tooltipId }, label),
|
|
19
|
+
index.h("limel-tooltip", { key: 'e7eddf0643b594fce4aa00f8c783c39b815bbc6d', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
20
20
|
];
|
|
21
21
|
}
|
|
22
22
|
getLabel() {
|
|
@@ -124,14 +124,14 @@ const SummaryPopover = class {
|
|
|
124
124
|
top: '0.125rem',
|
|
125
125
|
right: '0.125rem',
|
|
126
126
|
};
|
|
127
|
-
return (index.h("limel-popover", { key: '
|
|
127
|
+
return (index.h("limel-popover", { key: '838ab57fbd92dd56d10df1e132c3a0f3f2fef58a', style: {
|
|
128
128
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
129
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, index.h("div", { key: '
|
|
129
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, index.h("div", { key: 'ae1c5c30ac48ea401319596edc02c0cebecede2c', slot: "trigger", tabIndex: 0, onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocus: this.openPopoverWithDelay }, index.h("slot", { key: 'c4aa17eca607080749902ebc19dca7cead778af9', name: "trigger" }), index.h("div", { key: 'a19c9591ea7744550f1a7588522552155549b4d1', class: "opening-countdown-indicator" })), index.h("limel-card", { key: 'c19be162436f7744717934e0f5b21e2558dacb5d', style: {
|
|
130
130
|
'max-width': this.popoverMaxWidth,
|
|
131
131
|
'max-height': this.popoverMaxHeight,
|
|
132
132
|
'min-width': '7rem',
|
|
133
133
|
'min-height': '3rem',
|
|
134
|
-
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, index.h("limebb-navigation-button", { key: '
|
|
134
|
+
}, orientation: "landscape", heading: this.heading, subheading: this.subheading, icon: this.icon, value: this.value, image: this.image, actions: this.actions, onActionSelected: this.handleSelected }, index.h("limebb-navigation-button", { key: 'e2e8685758030513feacce28e6b9a09cadb7f6c7', slot: "component", type: "close", style: closeButtonStyle, tooltipLabel: "Close", tooltipHelperLabel: "Esc", onClick: this.handleCloseClick }))));
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
SummaryPopover.currentOpenPopover = null;
|
|
@@ -60,7 +60,7 @@ const NotificationListItem = class {
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b;
|
|
63
|
-
return (index.h(index.Host, { key: '
|
|
63
|
+
return (index.h(index.Host, { key: 'e51a5ebe9c955d43f1025a61a12ca870abb66347', id: this.item.id, class: {
|
|
64
64
|
'is-clickable': this.isItemClickable(),
|
|
65
65
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
66
66
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -78,11 +78,11 @@ const PercentageVisualizer = class {
|
|
|
78
78
|
render() {
|
|
79
79
|
const normalizedValue = this.getNormalizedValue();
|
|
80
80
|
const zeroPoint = this.getZeroPointPosition();
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
81
|
+
return (index.h(index.Host, { key: 'a99a367379f75613f8f37824fae64d5425e13c92', class: this.getContainerClassList(), style: {
|
|
82
82
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
83
83
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
84
84
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
85
|
-
} }, index.h("limel-notched-outline", { key: '
|
|
85
|
+
} }, index.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 }, index.h("div", { key: 'f8ba78a9b92bb93fc107e04f3001413c7560431b', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
86
86
|
}
|
|
87
87
|
renderVisualization() {
|
|
88
88
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|