@limetech/lime-elements 40.5.1 → 40.5.4

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 (97) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/{_baseEach-Bygi-un6.js → _baseForOwn-8jMPwf3X.js} +1 -43
  3. package/dist/cjs/{_baseIsEqual-CQZKiKbe.js → _baseIsEqual-zzV9DKMv.js} +0 -1
  4. package/dist/cjs/{_baseIteratee-DDklwtn9.js → _baseIteratee-BIMRm4nq.js} +1 -3
  5. package/dist/cjs/_baseSet-DykMx7uF.js +92 -0
  6. package/dist/cjs/_getPrototype-CCLHkBHj.js +8 -0
  7. package/dist/cjs/{cloneDeep-hE40Q8aw.js → cloneDeep-D2immmwT.js} +16 -160
  8. package/dist/cjs/{difference-B543MGsY.js → isArrayLikeObject-U2Ddbw4n.js} +5 -93
  9. package/dist/cjs/{isEqual-Cd9J8a5-.js → isEqual-D3eFkhqd.js} +1 -1
  10. package/dist/cjs/limel-action-bar_3.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
  12. package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +45 -6
  14. package/dist/cjs/limel-file-viewer.cjs.entry.js +510 -70
  15. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +73 -11
  16. package/dist/cjs/limel-form.cjs.entry.js +5985 -3415
  17. package/dist/cjs/limel-popover_2.cjs.entry.js +1 -1
  18. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +326 -262
  19. package/dist/cjs/limel-tab-bar.cjs.entry.js +83 -4
  20. package/dist/cjs/limel-table.cjs.entry.js +598 -199
  21. package/dist/collection/components/action-bar/action-bar-item/action-bar-item.css +1 -1
  22. package/dist/collection/components/form/fields/schema-field.js +8 -0
  23. package/dist/collection/components/form/form.js +1 -0
  24. package/dist/collection/components/form/form.test-schemas.js +47 -0
  25. package/dist/collection/components/form/templates/array-field-collapsible-item.js +38 -11
  26. package/dist/collection/components/popover-surface/popover-surface.css +1 -0
  27. package/dist/collection/components/table/table.css +1 -2
  28. package/dist/esm/{_baseEach-lvj-g1Zj.js → _baseForOwn-D5j7fHlv.js} +2 -42
  29. package/dist/esm/{_baseIsEqual-B6bIeexY.js → _baseIsEqual-CyF4P8uM.js} +2 -2
  30. package/dist/esm/{_baseIteratee-CEZRuq23.js → _baseIteratee-CpbczHY1.js} +3 -3
  31. package/dist/esm/_baseSet-Cw2IE6ZF.js +89 -0
  32. package/dist/esm/_getPrototype-B0kMNv1F.js +6 -0
  33. package/dist/esm/{_getTag-CMJL-6hk.js → _getTag-BiAaLWvH.js} +1 -1
  34. package/dist/esm/{cloneDeep-CL7UD3mR.js → cloneDeep-DAbOtbs8.js} +18 -154
  35. package/dist/esm/{difference-DND5tWiA.js → isArrayLikeObject-CJB8HbtH.js} +7 -91
  36. package/dist/esm/{isEmpty-DHgukT5k.js → isEmpty-BGVZ12Ea.js} +1 -1
  37. package/dist/esm/{isEqual-4tbMaaf_.js → isEqual-CE83yS8T.js} +1 -1
  38. package/dist/esm/limel-action-bar_3.entry.js +1 -1
  39. package/dist/esm/limel-chip-set.entry.js +3 -3
  40. package/dist/esm/limel-chip_2.entry.js +2 -2
  41. package/dist/esm/limel-dialog.entry.js +3 -3
  42. package/dist/esm/limel-file-dropzone_2.entry.js +45 -6
  43. package/dist/esm/limel-file-viewer.entry.js +510 -70
  44. package/dist/esm/limel-flatpickr-adapter.entry.js +69 -7
  45. package/dist/esm/limel-form.entry.js +5982 -3412
  46. package/dist/esm/limel-popover_2.entry.js +1 -1
  47. package/dist/esm/limel-prosemirror-adapter.entry.js +327 -263
  48. package/dist/esm/limel-tab-bar.entry.js +83 -4
  49. package/dist/esm/limel-table.entry.js +595 -196
  50. package/dist/lime-elements/lime-elements.esm.js +1 -1
  51. package/dist/lime-elements/p-05afb316.entry.js +1 -0
  52. package/dist/lime-elements/p-0fba64eb.entry.js +16 -0
  53. package/dist/lime-elements/p-10594468.entry.js +1 -0
  54. package/dist/lime-elements/p-19344984.entry.js +13 -0
  55. package/dist/lime-elements/p-26c5c6b9.entry.js +1 -0
  56. package/dist/lime-elements/{p-11a96a8c.entry.js → p-36ce4fbc.entry.js} +1 -1
  57. package/dist/lime-elements/{p-955292eb.entry.js → p-4aae63bd.entry.js} +1 -1
  58. package/dist/lime-elements/{p-b8c76487.entry.js → p-5d974afa.entry.js} +1 -1
  59. package/dist/lime-elements/p-B6-3WXAv.js +1 -0
  60. package/dist/lime-elements/p-BQeIv4aA.js +1 -0
  61. package/dist/lime-elements/p-BY5NjPj8.js +1 -0
  62. package/dist/lime-elements/p-COdirXg1.js +1 -0
  63. package/dist/lime-elements/p-CW2-jhzP.js +1 -0
  64. package/dist/lime-elements/p-D2VFSWDU.js +1 -0
  65. package/dist/lime-elements/{p-D4RdItCq.js → p-DK0pjX-Y.js} +1 -1
  66. package/dist/lime-elements/p-ORUNaKm-.js +1 -0
  67. package/dist/lime-elements/{p-5b371d6b.entry.js → p-a71f6e87.entry.js} +4 -4
  68. package/dist/lime-elements/{p-1dd86ad4.entry.js → p-bd7b3f8e.entry.js} +1 -1
  69. package/dist/lime-elements/p-cef66e53.entry.js +1 -0
  70. package/dist/lime-elements/{p-02812dc8.entry.js → p-d3bd4b80.entry.js} +1 -1
  71. package/dist/lime-elements/p-nVemxylR.js +1 -0
  72. package/dist/lime-elements/p-pk5KIdKH.js +1 -0
  73. package/dist/types/components/form/form.test-schemas.d.ts +3 -0
  74. package/dist/types/components/form/templates/array-field-collapsible-item.d.ts +0 -1
  75. package/package.json +16 -16
  76. package/dist/cjs/_getAllKeysIn-BJsgUTAt.js +0 -119
  77. package/dist/cjs/_isIterateeCall-BUGt9SrH.js +0 -73
  78. package/dist/cjs/pickBy-D-X6S5kg.js +0 -201
  79. package/dist/esm/_getAllKeysIn-kT3KizYN.js +0 -114
  80. package/dist/esm/_isIterateeCall-Bb4gUZLK.js +0 -70
  81. package/dist/esm/pickBy-C4C3CM4m.js +0 -195
  82. package/dist/lime-elements/p-055b11f7.entry.js +0 -13
  83. package/dist/lime-elements/p-56bkn1D-.js +0 -1
  84. package/dist/lime-elements/p-67f02b69.entry.js +0 -1
  85. package/dist/lime-elements/p-867681aa.entry.js +0 -1
  86. package/dist/lime-elements/p-9d3437ac.entry.js +0 -16
  87. package/dist/lime-elements/p-B8yl2MCT.js +0 -1
  88. package/dist/lime-elements/p-BAR6am-7.js +0 -1
  89. package/dist/lime-elements/p-BE1Efiuj.js +0 -1
  90. package/dist/lime-elements/p-BsX7ma3n.js +0 -1
  91. package/dist/lime-elements/p-CR7u-m0b.js +0 -1
  92. package/dist/lime-elements/p-CVzgpz9P.js +0 -1
  93. package/dist/lime-elements/p-D8H5afYg.js +0 -1
  94. package/dist/lime-elements/p-DtrvybFR.js +0 -1
  95. package/dist/lime-elements/p-f309ceb8.entry.js +0 -1
  96. package/dist/lime-elements/p-f3c108c9.entry.js +0 -1
  97. package/dist/lime-elements/p-mmkVLOjW.js +0 -1
@@ -1,9 +1,9 @@
1
- import { f as arrayPush, a as SetCache, c as cacheHas } from './_baseIsEqual-B6bIeexY.js';
2
- import { S as Symbol } from './isObject-BJQylLSL.js';
3
- import { b as isArguments } from './_getTag-CMJL-6hk.js';
4
- import { i as isArray } from './isArray-B8VKuhvH.js';
5
1
  import { i as identity } from './identity-CK4jS9_E.js';
6
2
  import { d as defineProperty } from './_defineProperty-C69Btzid.js';
3
+ import { d as arrayPush } from './_baseIsEqual-CyF4P8uM.js';
4
+ import { S as Symbol } from './isObject-BJQylLSL.js';
5
+ import { i as isArguments } from './_getTag-BiAaLWvH.js';
6
+ import { i as isArray } from './isArray-B8VKuhvH.js';
7
7
  import { i as isArrayLike } from './isArrayLike-CyVGB489.js';
8
8
  import { i as isObjectLike } from './isObjectLike-oiMYqRQ0.js';
9
9
 
@@ -280,15 +280,10 @@ function baseFlatten(array, depth, predicate, isStrict, result) {
280
280
 
281
281
  while (++index < length) {
282
282
  var value = array[index];
283
- if (depth > 0 && predicate(value)) {
284
- if (depth > 1) {
285
- // Recursively flatten arrays (susceptible to call stack limits).
286
- baseFlatten(value, depth - 1, predicate, isStrict, result);
287
- } else {
283
+ if (predicate(value)) {
284
+ {
288
285
  arrayPush(result, value);
289
286
  }
290
- } else if (!isStrict) {
291
- result[result.length] = value;
292
287
  }
293
288
  }
294
289
  return result;
@@ -323,83 +318,4 @@ function isArrayLikeObject(value) {
323
318
  return isObjectLike(value) && isArrayLike(value);
324
319
  }
325
320
 
326
- /** Used as the size to enable large array optimizations. */
327
- var LARGE_ARRAY_SIZE = 200;
328
-
329
- /**
330
- * The base implementation of methods like `_.difference` without support
331
- * for excluding multiple arrays or iteratee shorthands.
332
- *
333
- * @private
334
- * @param {Array} array The array to inspect.
335
- * @param {Array} values The values to exclude.
336
- * @param {Function} [iteratee] The iteratee invoked per element.
337
- * @param {Function} [comparator] The comparator invoked per element.
338
- * @returns {Array} Returns the new array of filtered values.
339
- */
340
- function baseDifference(array, values, iteratee, comparator) {
341
- var index = -1,
342
- includes = arrayIncludes,
343
- isCommon = true,
344
- length = array.length,
345
- result = [],
346
- valuesLength = values.length;
347
-
348
- if (!length) {
349
- return result;
350
- }
351
- if (values.length >= LARGE_ARRAY_SIZE) {
352
- includes = cacheHas;
353
- isCommon = false;
354
- values = new SetCache(values);
355
- }
356
- outer:
357
- while (++index < length) {
358
- var value = array[index],
359
- computed = value ;
360
-
361
- value = (value !== 0) ? value : 0;
362
- if (isCommon && computed === computed) {
363
- var valuesIndex = valuesLength;
364
- while (valuesIndex--) {
365
- if (values[valuesIndex] === computed) {
366
- continue outer;
367
- }
368
- }
369
- result.push(value);
370
- }
371
- else if (!includes(values, computed, comparator)) {
372
- result.push(value);
373
- }
374
- }
375
- return result;
376
- }
377
-
378
- /**
379
- * Creates an array of `array` values not included in the other given arrays
380
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
381
- * for equality comparisons. The order and references of result values are
382
- * determined by the first array.
383
- *
384
- * **Note:** Unlike `_.pullAll`, this method returns a new array.
385
- *
386
- * @static
387
- * @memberOf _
388
- * @since 0.1.0
389
- * @category Array
390
- * @param {Array} array The array to inspect.
391
- * @param {...Array} [values] The values to exclude.
392
- * @returns {Array} Returns the new array of filtered values.
393
- * @see _.without, _.xor
394
- * @example
395
- *
396
- * _.difference([2, 1], [2, 3]);
397
- * // => [1]
398
- */
399
- var difference = baseRest(function(array, values) {
400
- return isArrayLikeObject(array)
401
- ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))
402
- : [];
403
- });
404
-
405
- export { baseFlatten as a, baseRest as b, baseIndexOf as c, arrayIncludes as d, difference as e, isArrayLikeObject as i, overRest as o, setToString as s };
321
+ export { arrayIncludes as a, baseRest as b, baseFlatten as c, isArrayLikeObject as i };
@@ -1,4 +1,4 @@
1
- import { i as isBuffer, a as isTypedArray, b as isArguments, g as getTag, d as isPrototype, c as baseKeys } from './_getTag-CMJL-6hk.js';
1
+ import { a as isBuffer, b as isTypedArray, i as isArguments, g as getTag, d as isPrototype, c as baseKeys } from './_getTag-BiAaLWvH.js';
2
2
  import { i as isArray } from './isArray-B8VKuhvH.js';
3
3
  import { i as isArrayLike } from './isArrayLike-CyVGB489.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as baseIsEqual } from './_baseIsEqual-B6bIeexY.js';
1
+ import { b as baseIsEqual } from './_baseIsEqual-CyF4P8uM.js';
2
2
 
3
3
  /**
4
4
  * Performs a deep comparison between two values to determine if they are
@@ -129,7 +129,7 @@ const ActionBar = class {
129
129
  };
130
130
  ActionBar.style = actionBarCss();
131
131
 
132
- const actionBarItemCss = () => `@charset "UTF-8";limel-action-bar-item{transition:opacity 0.2s ease-in-out;position:relative;display:flex;align-items:center}limel-action-bar-item:not([is-visible]){opacity:0;pointer-events:none}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button:not([disabled]){transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-action-bar-item-text-color);background-color:var(--limel-action-bar-background-color)}button:not([disabled]):hover,button:not([disabled]):focus,button:not([disabled]):focus-visible{will-change:color, background-color, box-shadow, transform}button:not([disabled]):hover,button:not([disabled]):focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-action-bar-item-text-color);background-color:color-mix(in srgb, var(--limel-action-bar-background-color), white 20%)}button:not([disabled]):hover{box-shadow:var(--button-shadow-hovered)}button:not([disabled]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);background-color:var(--limel-action-bar-background-color);box-shadow:var(--button-shadow-inset-pressed)}button:not([disabled]):hover,button:not([disabled]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button:not([disabled]):focus{outline:none}button:not([disabled]):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:0.25rem;width:100%;min-width:var(--action-bar-item-height);max-width:var(--action-bar-item-max-width, 10rem);height:var(--action-bar-item-height);color:var(--limel-action-bar-item-text-color);border-radius:var(--action-bar-item-height);font-size:var(--limel-theme-default-font-size);padding:0 0.25rem}button:has(.text){padding:0 0.5rem}button[disabled]{opacity:0.4}button.is-selected:not(:hover){box-shadow:var(--button-shadow-inset)}button.is-selected{color:var(--lime-primary-color, var(--limel-theme-primary-color)) !important}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 0.25rem}limel-icon{flex-shrink:0;width:calc(var(--action-bar-item-height) - 0.75rem);height:calc(var(--action-bar-item-height) - 0.75rem);color:var(--action-bar-item-icon-color, var(--limel-action-bar-item-text-color))}hr{all:unset;width:1px;height:1.5rem;border-radius:var(--action-bar-item-height);background-color:var(--limel-action-bar-item-text-color);opacity:0.2}@media (pointer: fine){hr{margin-right:0.5rem;margin-left:0.5rem}}limel-menu{--notification-badge-background-color:rgb(var(--contrast-600));--notification-badge-text-color:rgb(var(--contrast-1200))}limel-menu[open] button{box-shadow:var(--button-shadow-inset)}button[slot=trigger]{animation:fade-in ease-out 0.25s;font-size:0.75rem;font-weight:bold;transform:translate3d(0, 0, 0)}@keyframes fade-in{0%{scale:0.8;opacity:0}100%{scale:1;opacity:1}}`;
132
+ const actionBarItemCss = () => `@charset "UTF-8";limel-action-bar-item{transition:opacity 0.2s ease-in-out;position:relative;display:flex;align-items:center}limel-action-bar-item:not([is-visible]){opacity:0;pointer-events:none}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button:not([disabled]){transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-action-bar-item-text-color);background-color:transparent}button:not([disabled]):hover,button:not([disabled]):focus,button:not([disabled]):focus-visible{will-change:color, background-color, box-shadow, transform}button:not([disabled]):hover,button:not([disabled]):focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-action-bar-item-text-color);background-color:color-mix(in srgb, var(--limel-action-bar-background-color), white 20%)}button:not([disabled]):hover{box-shadow:var(--button-shadow-hovered)}button:not([disabled]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);background-color:var(--limel-action-bar-background-color);box-shadow:var(--button-shadow-inset-pressed)}button:not([disabled]):hover,button:not([disabled]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button:not([disabled]):focus{outline:none}button:not([disabled]):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:0.25rem;width:100%;min-width:var(--action-bar-item-height);max-width:var(--action-bar-item-max-width, 10rem);height:var(--action-bar-item-height);color:var(--limel-action-bar-item-text-color);border-radius:var(--action-bar-item-height);font-size:var(--limel-theme-default-font-size);padding:0 0.25rem}button:has(.text){padding:0 0.5rem}button[disabled]{opacity:0.4}button.is-selected:not(:hover){box-shadow:var(--button-shadow-inset)}button.is-selected{color:var(--lime-primary-color, var(--limel-theme-primary-color)) !important}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 0.25rem}limel-icon{flex-shrink:0;width:calc(var(--action-bar-item-height) - 0.75rem);height:calc(var(--action-bar-item-height) - 0.75rem);color:var(--action-bar-item-icon-color, var(--limel-action-bar-item-text-color))}hr{all:unset;width:1px;height:1.5rem;border-radius:var(--action-bar-item-height);background-color:var(--limel-action-bar-item-text-color);opacity:0.2}@media (pointer: fine){hr{margin-right:0.5rem;margin-left:0.5rem}}limel-menu{--notification-badge-background-color:rgb(var(--contrast-600));--notification-badge-text-color:rgb(var(--contrast-1200))}limel-menu[open] button{box-shadow:var(--button-shadow-inset)}button[slot=trigger]{animation:fade-in ease-out 0.25s;font-size:0.75rem;font-weight:bold;transform:translate3d(0, 0, 0)}@keyframes fade-in{0%{scale:0.8;opacity:0}100%{scale:1;opacity:1}}`;
133
133
 
134
134
  const ActionBarButton = class {
135
135
  constructor(hostRef) {
@@ -3,12 +3,12 @@ import { c as ARROW_LEFT, d as ARROW_RIGHT, a as ENTER, D as DELETE, B as BACKSP
3
3
  import { t as translate } from './translations-DMtX4tTX.js';
4
4
  import { a as getTarget, b as getHref } from './link-helper-5KsJICvh.js';
5
5
  import { c as createRandomString } from './random-string-JbKhhoXs.js';
6
- import { i as isEqual } from './isEqual-4tbMaaf_.js';
6
+ import { i as isEqual } from './isEqual-CE83yS8T.js';
7
7
  import { M as MDCTextField } from './component-wGVqvUmL.js';
8
8
  import './language-C3hECvXE.js';
9
- import './_baseIsEqual-B6bIeexY.js';
9
+ import './_baseIsEqual-CyF4P8uM.js';
10
10
  import './eq-CZ30nDJE.js';
11
- import './_getTag-CMJL-6hk.js';
11
+ import './_getTag-BiAaLWvH.js';
12
12
  import './isObject-BJQylLSL.js';
13
13
  import './isObjectLike-oiMYqRQ0.js';
14
14
  import './isArrayLike-CyVGB489.js';
@@ -5,9 +5,9 @@ import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
5
5
  import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-BgTwPGeH.js';
6
6
  import { t as translate } from './translations-DMtX4tTX.js';
7
7
  import { D as DELETE, B as BACKSPACE } from './keycodes-C4_9qUMP.js';
8
- import { i as isEmpty } from './isEmpty-DHgukT5k.js';
8
+ import { i as isEmpty } from './isEmpty-BGVZ12Ea.js';
9
9
  import './language-C3hECvXE.js';
10
- import './_getTag-CMJL-6hk.js';
10
+ import './_getTag-BiAaLWvH.js';
11
11
  import './isObject-BJQylLSL.js';
12
12
  import './isObjectLike-oiMYqRQ0.js';
13
13
  import './isArrayLike-CyVGB489.js';
@@ -3,10 +3,10 @@ import { d as dispatchResizeEvent } from './dispatch-resize-event-z_E3sq3p.js';
3
3
  import { c as createRandomString } from './random-string-JbKhhoXs.js';
4
4
  import { _ as __extends, a as __assign, M as MDCFoundation, b as __values, c as MDCComponent, d as closest, m as matches } from './ponyfill-ChRGk668.js';
5
5
  import { M as MDCRipple } from './component-7QB0OUSF.js';
6
- import { i as isEqual } from './isEqual-4tbMaaf_.js';
7
- import './_baseIsEqual-B6bIeexY.js';
6
+ import { i as isEqual } from './isEqual-CE83yS8T.js';
7
+ import './_baseIsEqual-CyF4P8uM.js';
8
8
  import './eq-CZ30nDJE.js';
9
- import './_getTag-CMJL-6hk.js';
9
+ import './_getTag-BiAaLWvH.js';
10
10
  import './isObject-BJQylLSL.js';
11
11
  import './isObjectLike-oiMYqRQ0.js';
12
12
  import './isArrayLike-CyVGB489.js';
@@ -1,20 +1,20 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Bnc9lzk2.js';
2
2
  import { c as createFileInfo, i as isTypeAccepted } from './files-DnkFEKoB.js';
3
- import { a as baseEach } from './_baseEach-lvj-g1Zj.js';
4
- import { c as baseIteratee } from './_baseIteratee-CEZRuq23.js';
3
+ import { b as baseForOwn } from './_baseForOwn-D5j7fHlv.js';
4
+ import { i as isArrayLike } from './isArrayLike-CyVGB489.js';
5
+ import { b as baseIteratee } from './_baseIteratee-CpbczHY1.js';
5
6
  import { i as isArray } from './isArray-B8VKuhvH.js';
6
7
  import { c as createRandomString } from './random-string-JbKhhoXs.js';
7
8
  import './file-metadata-BHzkIH4g.js';
8
9
  import './icons-Bu_YRgCL.js';
9
10
  import './get-icon-props-CgNJbSP4.js';
10
- import './_baseIsEqual-B6bIeexY.js';
11
+ import './_baseIsEqual-CyF4P8uM.js';
11
12
  import './eq-CZ30nDJE.js';
12
- import './_getTag-CMJL-6hk.js';
13
+ import './_getTag-BiAaLWvH.js';
13
14
  import './isObject-BJQylLSL.js';
14
15
  import './isObjectLike-oiMYqRQ0.js';
15
- import './isArrayLike-CyVGB489.js';
16
- import './isFunction-9zQTeQI8.js';
17
16
  import './_getNative-COawFdVX.js';
17
+ import './isFunction-9zQTeQI8.js';
18
18
  import './_isIndex-B--C3qwe.js';
19
19
  import './isSymbol-ClAke5ga.js';
20
20
  import './identity-CK4jS9_E.js';
@@ -40,6 +40,45 @@ function arrayAggregator(array, setter, iteratee, accumulator) {
40
40
  return accumulator;
41
41
  }
42
42
 
43
+ /**
44
+ * Creates a `baseEach` or `baseEachRight` function.
45
+ *
46
+ * @private
47
+ * @param {Function} eachFunc The function to iterate over a collection.
48
+ * @param {boolean} [fromRight] Specify iterating from right to left.
49
+ * @returns {Function} Returns the new base function.
50
+ */
51
+ function createBaseEach(eachFunc, fromRight) {
52
+ return function(collection, iteratee) {
53
+ if (collection == null) {
54
+ return collection;
55
+ }
56
+ if (!isArrayLike(collection)) {
57
+ return eachFunc(collection, iteratee);
58
+ }
59
+ var length = collection.length,
60
+ index = -1,
61
+ iterable = Object(collection);
62
+
63
+ while ((++index < length)) {
64
+ if (iteratee(iterable[index], index, iterable) === false) {
65
+ break;
66
+ }
67
+ }
68
+ return collection;
69
+ };
70
+ }
71
+
72
+ /**
73
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
74
+ *
75
+ * @private
76
+ * @param {Array|Object} collection The collection to iterate over.
77
+ * @param {Function} iteratee The function invoked per iteration.
78
+ * @returns {Array|Object} Returns `collection`.
79
+ */
80
+ var baseEach = createBaseEach(baseForOwn);
81
+
43
82
  /**
44
83
  * Aggregates elements of `collection` on `accumulator` with keys transformed
45
84
  * by `iteratee` and values set by `setter`.