@yoobic/yobi 7.7.78 → 7.7.82

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 (149) hide show
  1. package/dist/cjs/{draggable-dots-helpers-7b039be2.js → draggable-dots-helpers-9650a4b7.js} +1 -1
  2. package/dist/cjs/{entities-helpers-f38b1b38.js → entities-helpers-c6ed72dc.js} +1 -1
  3. package/dist/cjs/{grid-renderers-5830bf4a.js → grid-renderers-f5edc87d.js} +5 -1
  4. package/dist/cjs/{image-helpers-9a455e5c.js → image-helpers-ea15b526.js} +1 -1
  5. package/dist/cjs/{index-8f834b3c.js → index-4e7dd1d7.js} +1 -1
  6. package/dist/cjs/{index-5d6b2f8d.js → index-a81f813c.js} +1 -1
  7. package/dist/cjs/{index-203cb7c1.js → index-e2b47ee9.js} +1 -1
  8. package/dist/cjs/index.cjs.js +4 -4
  9. package/dist/cjs/yoo-action-sheet-controller_15.cjs.entry.js +22 -21
  10. package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +5 -5
  11. package/dist/cjs/yoo-audio-recorder-dialog.cjs.entry.js +1 -1
  12. package/dist/cjs/yoo-avatar_5.cjs.entry.js +2 -2
  13. package/dist/cjs/yoo-camera-preview-dialog_7.cjs.entry.js +1 -1
  14. package/dist/cjs/yoo-card-header.cjs.entry.js +2 -2
  15. package/dist/cjs/yoo-card-list-image_12.cjs.entry.js +4 -4
  16. package/dist/cjs/yoo-chat-message_3.cjs.entry.js +8 -8
  17. package/dist/cjs/yoo-chat.cjs.entry.js +14 -23
  18. package/dist/cjs/yoo-detail-bar.cjs.entry.js +2 -2
  19. package/dist/cjs/yoo-feed-detail.cjs.entry.js +1 -1
  20. package/dist/cjs/yoo-form-choice_4.cjs.entry.js +2 -2
  21. package/dist/cjs/yoo-form-conditions.cjs.entry.js +1 -1
  22. package/dist/cjs/yoo-form-connect.cjs.entry.js +1 -1
  23. package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +2 -2
  24. package/dist/cjs/yoo-form-creator-block-simple_4.cjs.entry.js +3 -3
  25. package/dist/cjs/yoo-form-creator-card_2.cjs.entry.js +2 -2
  26. package/dist/cjs/yoo-form-creator-field-selector_8.cjs.entry.js +2 -2
  27. package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +2 -2
  28. package/dist/cjs/yoo-form-creator.cjs.entry.js +2 -2
  29. package/dist/cjs/yoo-form-image-tagging-creator.cjs.entry.js +2 -2
  30. package/dist/cjs/yoo-form-incentive-targets.cjs.entry.js +1 -1
  31. package/dist/cjs/yoo-form-multi-input.cjs.entry.js +1 -1
  32. package/dist/cjs/yoo-form-reorder.cjs.entry.js +1 -1
  33. package/dist/cjs/yoo-form-stripe-card.cjs.entry.js +1 -1
  34. package/dist/cjs/yoo-form-swipe-cards.cjs.entry.js +1 -1
  35. package/dist/cjs/yoo-form-text-editor.cjs.entry.js +2 -2
  36. package/dist/cjs/yoo-form-uploader.cjs.entry.js +1 -1
  37. package/dist/cjs/yoo-input-bar.cjs.entry.js +2 -2
  38. package/dist/cjs/yoo-location-heading.cjs.entry.js +1 -1
  39. package/dist/cjs/yoo-podium.cjs.entry.js +2 -2
  40. package/dist/cjs/yoo-profile-summary.cjs.entry.js +1 -1
  41. package/dist/cjs/yoo-slides-media.cjs.entry.js +2 -2
  42. package/dist/cjs/yoo-user-profile.cjs.entry.js +2 -2
  43. package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +1 -1
  44. package/dist/cjs/yoo-walkthrough.cjs.entry.js +2 -2
  45. package/dist/collection/components/core/chat/chat.js +12 -21
  46. package/dist/collection/components/core/chat-message/chat-message.js +6 -6
  47. package/dist/collection/components/entities/card-list/card-list.js +1 -1
  48. package/dist/collection/components/entities/entity/entity.js +19 -18
  49. package/dist/collection/components/form/form-carousel/form-carousel.js +1 -1
  50. package/dist/collection/components/grid/ag-grid/grid-renderers.js +5 -1
  51. package/dist/design-system/design-system.esm.js +1 -1
  52. package/dist/design-system/index.esm.js +1 -1
  53. package/dist/design-system/{p-e4481945.entry.js → p-09c9cf30.entry.js} +2 -2
  54. package/dist/design-system/{p-49d34fa0.entry.js → p-0e9e24dc.entry.js} +1 -1
  55. package/dist/design-system/{p-87d146a4.entry.js → p-1fbf2bdc.entry.js} +1 -1
  56. package/dist/design-system/{p-88639e39.entry.js → p-23ad22ef.entry.js} +1 -1
  57. package/dist/design-system/p-27145597.entry.js +1 -0
  58. package/dist/design-system/{p-0195a944.entry.js → p-28b6f2af.entry.js} +1 -1
  59. package/dist/design-system/{p-931c8de0.entry.js → p-2a056ca7.entry.js} +1 -1
  60. package/dist/design-system/{p-c61d0b98.entry.js → p-2c1dff83.entry.js} +1 -1
  61. package/dist/design-system/{p-a1e6e5c2.entry.js → p-2d6b451c.entry.js} +1 -1
  62. package/dist/design-system/{p-f7afffac.entry.js → p-2ede5c0e.entry.js} +1 -1
  63. package/dist/design-system/{p-0bb29465.entry.js → p-32603f55.entry.js} +1 -1
  64. package/dist/design-system/{p-8c63a863.entry.js → p-34e0ec13.entry.js} +1 -1
  65. package/dist/design-system/{p-19ced087.entry.js → p-466a2e4b.entry.js} +1 -1
  66. package/dist/design-system/{p-efd4983d.js → p-486e9464.js} +1 -1
  67. package/dist/design-system/{p-874c9807.entry.js → p-4e181258.entry.js} +1 -1
  68. package/dist/design-system/p-4ea7e509.js +1 -0
  69. package/dist/design-system/{p-cccb3658.entry.js → p-4f7b5084.entry.js} +1 -1
  70. package/dist/design-system/p-508eaccb.entry.js +1 -0
  71. package/dist/design-system/p-52b2bcbf.js +1 -0
  72. package/dist/design-system/{p-e954f42f.entry.js → p-5d9b02a3.entry.js} +1 -1
  73. package/dist/design-system/{p-3c525d77.entry.js → p-6470e707.entry.js} +1 -1
  74. package/dist/design-system/{p-dcdf128d.entry.js → p-6a6283bb.entry.js} +1 -1
  75. package/dist/design-system/{p-f4eb8b04.entry.js → p-71ce140b.entry.js} +1 -1
  76. package/dist/design-system/{p-b4bf0927.entry.js → p-78e069f3.entry.js} +1 -1
  77. package/dist/design-system/{p-ea80408e.entry.js → p-79fea067.entry.js} +1 -1
  78. package/dist/design-system/{p-0e502a87.entry.js → p-83aa89ad.entry.js} +1 -1
  79. package/dist/design-system/{p-5d67f58e.entry.js → p-85307152.entry.js} +1 -1
  80. package/dist/design-system/{p-9f170821.entry.js → p-8bf049b5.entry.js} +1 -1
  81. package/dist/design-system/{p-ff385bd5.entry.js → p-af4cfea4.entry.js} +1 -1
  82. package/dist/design-system/{p-19fa14b3.entry.js → p-bab8cef4.entry.js} +1 -1
  83. package/dist/design-system/{p-77376751.entry.js → p-cb9c30a3.entry.js} +1 -1
  84. package/dist/design-system/{p-c60e5af0.entry.js → p-cc4aeee9.entry.js} +1 -1
  85. package/dist/design-system/{p-a70e359c.entry.js → p-d51ee577.entry.js} +1 -1
  86. package/dist/design-system/{p-7d62f3fe.entry.js → p-db225b69.entry.js} +1 -1
  87. package/dist/design-system/p-db36fb06.js +1 -0
  88. package/dist/design-system/{p-15fd070c.js → p-e37ba040.js} +1 -1
  89. package/dist/design-system/{p-4b5b0147.entry.js → p-e70980f6.entry.js} +1 -1
  90. package/dist/design-system/{p-d54fe233.entry.js → p-e8327344.entry.js} +1 -1
  91. package/dist/design-system/{p-fd870eb7.js → p-e9993e20.js} +1 -1
  92. package/dist/design-system/{p-52f6ebf1.entry.js → p-ea46fc83.entry.js} +1 -1
  93. package/dist/design-system/{p-263c9bdb.js → p-ef754e66.js} +1 -1
  94. package/dist/design-system/{p-f7b10ee1.entry.js → p-f0c01c22.entry.js} +1 -1
  95. package/dist/design-system/p-fc449c6a.entry.js +1 -0
  96. package/dist/esm/{draggable-dots-helpers-c77468b6.js → draggable-dots-helpers-64c79f38.js} +1 -1
  97. package/dist/esm/{entities-helpers-5ef12ad3.js → entities-helpers-2876d199.js} +1 -1
  98. package/dist/esm/{grid-renderers-ad52eacd.js → grid-renderers-1dd42472.js} +5 -1
  99. package/dist/esm/{image-helpers-6373847f.js → image-helpers-6b281c05.js} +1 -1
  100. package/dist/esm/{index-f25c3fe6.js → index-6f7890f4.js} +1 -1
  101. package/dist/esm/{index-b1a3fcc3.js → index-7a08441e.js} +1 -1
  102. package/dist/esm/{index-6499210c.js → index-b45a2bdf.js} +1 -1
  103. package/dist/esm/index.js +4 -4
  104. package/dist/esm/yoo-action-sheet-controller_15.entry.js +22 -21
  105. package/dist/esm/yoo-ag-grid_96.entry.js +5 -5
  106. package/dist/esm/yoo-audio-recorder-dialog.entry.js +1 -1
  107. package/dist/esm/yoo-avatar_5.entry.js +2 -2
  108. package/dist/esm/yoo-camera-preview-dialog_7.entry.js +1 -1
  109. package/dist/esm/yoo-card-header.entry.js +2 -2
  110. package/dist/esm/yoo-card-list-image_12.entry.js +4 -4
  111. package/dist/esm/yoo-chat-message_3.entry.js +8 -8
  112. package/dist/esm/yoo-chat.entry.js +14 -23
  113. package/dist/esm/yoo-detail-bar.entry.js +2 -2
  114. package/dist/esm/yoo-feed-detail.entry.js +1 -1
  115. package/dist/esm/yoo-form-choice_4.entry.js +2 -2
  116. package/dist/esm/yoo-form-conditions.entry.js +1 -1
  117. package/dist/esm/yoo-form-connect.entry.js +1 -1
  118. package/dist/esm/yoo-form-creator-block-expandable.entry.js +2 -2
  119. package/dist/esm/yoo-form-creator-block-simple_4.entry.js +3 -3
  120. package/dist/esm/yoo-form-creator-card_2.entry.js +2 -2
  121. package/dist/esm/yoo-form-creator-field-selector_8.entry.js +2 -2
  122. package/dist/esm/yoo-form-creator-translate-dialog.entry.js +2 -2
  123. package/dist/esm/yoo-form-creator.entry.js +2 -2
  124. package/dist/esm/yoo-form-image-tagging-creator.entry.js +2 -2
  125. package/dist/esm/yoo-form-incentive-targets.entry.js +1 -1
  126. package/dist/esm/yoo-form-multi-input.entry.js +1 -1
  127. package/dist/esm/yoo-form-reorder.entry.js +1 -1
  128. package/dist/esm/yoo-form-stripe-card.entry.js +1 -1
  129. package/dist/esm/yoo-form-swipe-cards.entry.js +1 -1
  130. package/dist/esm/yoo-form-text-editor.entry.js +2 -2
  131. package/dist/esm/yoo-form-uploader.entry.js +1 -1
  132. package/dist/esm/yoo-input-bar.entry.js +2 -2
  133. package/dist/esm/yoo-location-heading.entry.js +1 -1
  134. package/dist/esm/yoo-podium.entry.js +2 -2
  135. package/dist/esm/yoo-profile-summary.entry.js +1 -1
  136. package/dist/esm/yoo-slides-media.entry.js +2 -2
  137. package/dist/esm/yoo-user-profile.entry.js +2 -2
  138. package/dist/esm/yoo-videoplayer-videojs.entry.js +1 -1
  139. package/dist/esm/yoo-walkthrough.entry.js +2 -2
  140. package/dist/types/components/core/chat/chat.d.ts +1 -1
  141. package/dist/types/components/core/chat-message/chat-message.d.ts +1 -1
  142. package/dist/types/interfaces/ui/card.interface.d.ts +1 -0
  143. package/package.json +1 -1
  144. package/dist/design-system/p-4fcf3997.entry.js +0 -1
  145. package/dist/design-system/p-7f8ddb27.js +0 -1
  146. package/dist/design-system/p-81ceff81.js +0 -1
  147. package/dist/design-system/p-b14fa2a4.entry.js +0 -1
  148. package/dist/design-system/p-de635023.entry.js +0 -1
  149. package/dist/design-system/p-ee75ca05.js +0 -1
@@ -4,7 +4,7 @@ const rrule = require('./rrule-f8e7fec2.js');
4
4
  require('./input-bar.interface-b96b7107.js');
5
5
  require('./ResizeObserver.es-2edf4ecd.js');
6
6
  const annotationsHelpers = require('./annotations-helpers-558ceb1e.js');
7
- const index = require('./index-203cb7c1.js');
7
+ const index = require('./index-e2b47ee9.js');
8
8
  const commonHelpers = require('./common-helpers-797be2a6.js');
9
9
  const inRange = require('./inRange-009d0389.js');
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
4
4
  const rrule = require('./rrule-f8e7fec2.js');
5
- const index = require('./index-203cb7c1.js');
5
+ const index = require('./index-e2b47ee9.js');
6
6
  const buttonHelpers = require('./button-helpers-cd9d42c6.js');
7
7
  const entitiesHelpers = require('./entities-helpers-e377d30b.js');
8
8
  const pipe = require('./pipe-9c0f36df.js');
@@ -184,11 +184,15 @@ function booleanRenderer(params) {
184
184
  return '';
185
185
  }
186
186
  function translateRenderer(params) {
187
+ var _a;
187
188
  const value = params.value;
188
189
  if (value && value.toUpperCase) {
189
190
  return rrule.translateMulti(value.toUpperCase());
190
191
  }
191
- return value;
192
+ else if ((value === null || value === void 0 ? void 0 : value.value) && ((_a = value === null || value === void 0 ? void 0 : value.value) === null || _a === void 0 ? void 0 : _a.toUpperCase)) {
193
+ return rrule.translateMulti(value.value.toUpperCase());
194
+ }
195
+ return '';
192
196
  }
193
197
  function keyTranslateRenderer(params) {
194
198
  const value = params.value;
@@ -2,7 +2,7 @@
2
2
 
3
3
  const rrule = require('./rrule-f8e7fec2.js');
4
4
  require('./input-bar.interface-b96b7107.js');
5
- const index = require('./index-203cb7c1.js');
5
+ const index = require('./index-e2b47ee9.js');
6
6
 
7
7
  async function getImageSize(src, onErr) {
8
8
  const img = new Image();
@@ -2,7 +2,7 @@
2
2
 
3
3
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
4
4
  const rrule = require('./rrule-f8e7fec2.js');
5
- const index = require('./index-203cb7c1.js');
5
+ const index = require('./index-e2b47ee9.js');
6
6
  const formCreatorHelpers = require('./form-creator-helpers-ed0a88b0.js');
7
7
  const formHelpers = require('./form-helpers-71b62854.js');
8
8
  require('./ResizeObserver.es-2edf4ecd.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
4
4
  const rrule = require('./rrule-f8e7fec2.js');
5
- const index = require('./index-203cb7c1.js');
5
+ const index = require('./index-e2b47ee9.js');
6
6
  const document = require('./document-b4cc3315.js');
7
7
 
8
8
  /**
@@ -697,7 +697,7 @@ function urlToFileBlob(filePath) {
697
697
  function isImageUrl(url) {
698
698
  var _a;
699
699
  // eslint-disable-next-line no-useless-escape
700
- return (!!url.match(/(http(s?)):\/\//i) && !!((_a = url.match(/\.([0-9a-z]+)(?:[\?#]|$)/i)) === null || _a === void 0 ? void 0 : _a[1]) && document$1.isImage(url)) || rrule.isUnsplashUrl(url);
700
+ return (!!(url === null || url === void 0 ? void 0 : url.match(/(http(s?)):\/\//i)) && !!((_a = url.match(/\.([0-9a-z]+)(?:[\?#]|$)/i)) === null || _a === void 0 ? void 0 : _a[1]) && document$1.isImage(url)) || rrule.isUnsplashUrl(url) || !!(url === null || url === void 0 ? void 0 : url.includes('capacitor://'));
701
701
  }
702
702
  function resolveFilePath(filePath) {
703
703
  if (rrule.isNativeMobile()) {
@@ -15,14 +15,14 @@ const chatHelpers = require('./chat-helpers-a8248ccc.js');
15
15
  const colorHelpers = require('./color-helpers-9f67677e.js');
16
16
  const commonHelpers = require('./common-helpers-797be2a6.js');
17
17
  const dimensionsHelpers = require('./dimensions-helpers-54685523.js');
18
- const draggableDotsHelpers = require('./draggable-dots-helpers-7b039be2.js');
18
+ const draggableDotsHelpers = require('./draggable-dots-helpers-9650a4b7.js');
19
19
  const draggableTagsHelpers = require('./draggable-tags-helpers-a839d713.js');
20
- const entitiesHelpers = require('./entities-helpers-f38b1b38.js');
20
+ const entitiesHelpers = require('./entities-helpers-c6ed72dc.js');
21
21
  const formHelpers = require('./form-helpers-0b6c3054.js');
22
22
  const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
23
23
  const formTextAreaHelpers = require('./form-text-area-helpers-01944f5d.js');
24
24
  const geolocationHelpers = require('./geolocation-helpers-0f3560f5.js');
25
- const imageHelpers = require('./image-helpers-9a455e5c.js');
25
+ const imageHelpers = require('./image-helpers-ea15b526.js');
26
26
  const incentiveHelpers = require('./incentive-helpers-99fce167.js');
27
27
  const mapHelpers = require('./map-helpers-021bd715.js');
28
28
  const observerHelpers = require('./observer-helpers-b02f15af.js');
@@ -52,7 +52,7 @@ require('./_baseGet-89e374f5.js');
52
52
  require('./isUndefined-8f9cfd10.js');
53
53
  require('./isNumber-4c1ace60.js');
54
54
  require('./get-91c14783.js');
55
- require('./index-203cb7c1.js');
55
+ require('./index-e2b47ee9.js');
56
56
  require('./document-b4cc3315.js');
57
57
  require('./validate-f2c2f205.js');
58
58
  require('./isString-ecd0cbf4.js');
@@ -9,7 +9,7 @@ const ResizeObserver_es = require('./ResizeObserver.es-2edf4ecd.js');
9
9
  const overlays = require('./overlays-27cf91fb.js');
10
10
  const commonHelpers = require('./common-helpers-797be2a6.js');
11
11
  const cardListHelpers = require('./card-list-helpers-1e88e6d3.js');
12
- const index$1 = require('./index-203cb7c1.js');
12
+ const index$1 = require('./index-e2b47ee9.js');
13
13
  const boostHelpers = require('./boost-helpers-0fe0ab90.js');
14
14
  const buttonHelpers = require('./button-helpers-cd9d42c6.js');
15
15
  const entitiesHelpers = require('./entities-helpers-e377d30b.js');
@@ -17,7 +17,7 @@ const formHelpers = require('./form-helpers-71b62854.js');
17
17
  const pipe = require('./pipe-9c0f36df.js');
18
18
  const operationHelpers$1 = require('./operation-helpers-663d97ff.js');
19
19
  const urlHelpers = require('./url-helpers-a53b3ff9.js');
20
- const entitiesHelpers$1 = require('./entities-helpers-f38b1b38.js');
20
+ const entitiesHelpers$1 = require('./entities-helpers-c6ed72dc.js');
21
21
  const incentiveHelpers = require('./incentive-helpers-99fce167.js');
22
22
  const operationHelpers = require('./operation-helpers-131a9c24.js');
23
23
  const theme = require('./theme-e757b365.js');
@@ -28,7 +28,7 @@ const isString = require('./isString-ecd0cbf4.js');
28
28
  const _createAggregator = require('./_createAggregator-c627b114.js');
29
29
  const get = require('./get-91c14783.js');
30
30
  const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
31
- const gridRenderers = require('./grid-renderers-5830bf4a.js');
31
+ const gridRenderers = require('./grid-renderers-f5edc87d.js');
32
32
  const localForage = require('./localForage-82b6f557.js');
33
33
  const dimensionsHelpers = require('./dimensions-helpers-54685523.js');
34
34
  require('./isUndefined-8f9cfd10.js');
@@ -1022,7 +1022,7 @@ const YooEntityComponent = class {
1022
1022
  return null;
1023
1023
  }
1024
1024
  renderCardList(extraClasses) {
1025
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11;
1025
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
1026
1026
  let entry = {};
1027
1027
  if (this.entityType === 'missions' || (this.entityType === 'missiondatas' && ((_b = (_a = this.item) === null || _a === void 0 ? void 0 : _a.mission) === null || _b === void 0 ? void 0 : _b.type) === 'kanban')) {
1028
1028
  let mission = this.item;
@@ -1300,7 +1300,8 @@ const YooEntityComponent = class {
1300
1300
  avatarFrame: file.imgSrc ? 'rounded-square' : 'square',
1301
1301
  avatarSize: this.isAutocompleteSelected() && this.item.avatarSize ? this.item.avatarSize : 'large',
1302
1302
  allowCustomHtml: true,
1303
- subheadings: this.isAutocompleteSelected() ? null : rrule.compact([directory + pipe.pipes.fileSize.transform(file.size), (file.highlight || []).join(', ')]) // , //, file.mimeType
1303
+ forceTextHeading: ((_s = file === null || file === void 0 ? void 0 : file.highlight) === null || _s === void 0 ? void 0 : _s.length) > 0,
1304
+ subheadings: this.isAutocompleteSelected() ? null : rrule.compact([directory + pipe.pipes.fileSize.transform(file.size), ...(file.highlight || [])]) // , //, file.mimeType
1304
1305
  // badges: [{ iconLeft: getIcon(file), cssClass: 'tag small round dark' }]
1305
1306
  };
1306
1307
  }
@@ -1414,15 +1415,15 @@ const YooEntityComponent = class {
1414
1415
  }
1415
1416
  else if (this.entityType === 'language') {
1416
1417
  entry = {
1417
- heading: ((_s = this.item) === null || _s === void 0 ? void 0 : _s._id) ? rrule.translate(this.item._id.toUpperCase()) : rrule.translate(this.item.toUpperCase()),
1418
- flag: this.host.classList.contains('hide-icon') ? null : ((_t = this.item) === null || _t === void 0 ? void 0 : _t._id) ? rrule.getLanguageFlag(this.item._id) : rrule.getLanguageFlag(this.item)
1418
+ heading: ((_t = this.item) === null || _t === void 0 ? void 0 : _t._id) ? rrule.translate(this.item._id.toUpperCase()) : rrule.translate(this.item.toUpperCase()),
1419
+ flag: this.host.classList.contains('hide-icon') ? null : ((_u = this.item) === null || _u === void 0 ? void 0 : _u._id) ? rrule.getLanguageFlag(this.item._id) : rrule.getLanguageFlag(this.item)
1419
1420
  };
1420
1421
  }
1421
1422
  else if (this.entityType === 'waitlistvisit') {
1422
1423
  const visit = this.item;
1423
1424
  const tagElements = operationHelpers.getWaitlistVisitTags(visit);
1424
1425
  entry = {
1425
- heading: ((_u = visit.name) === null || _u === void 0 ? void 0 : _u.startsWith('NOINFO')) ? rrule.translate('NOINFO') : visit.name,
1426
+ heading: ((_v = visit.name) === null || _v === void 0 ? void 0 : _v.startsWith('NOINFO')) ? rrule.translate('NOINFO') : visit.name,
1426
1427
  tagElements
1427
1428
  };
1428
1429
  if (!rrule.isWeb(this.host)) {
@@ -1437,7 +1438,7 @@ const YooEntityComponent = class {
1437
1438
  else if (this.entityType === 'waitlistcustomer') {
1438
1439
  const customer = this.item;
1439
1440
  entry = {
1440
- heading: ((_v = customer.name) === null || _v === void 0 ? void 0 : _v.startsWith('NOINFO')) ? rrule.translate('NOINFO') : customer.name,
1441
+ heading: ((_w = customer.name) === null || _w === void 0 ? void 0 : _w.startsWith('NOINFO')) ? rrule.translate('NOINFO') : customer.name,
1441
1442
  subheadings: rrule.compact([customer.phone, customer.email])
1442
1443
  };
1443
1444
  }
@@ -1540,7 +1541,7 @@ const YooEntityComponent = class {
1540
1541
  subheadings: this.isAutocompleteSelected() ? null : group.description ? [group.description] : null,
1541
1542
  iconText: group.title || group.name || group._id,
1542
1543
  heading: group.title || group.name || group._id,
1543
- imgSrc: (_w = group.icon) === null || _w === void 0 ? void 0 : _w._downloadURL
1544
+ imgSrc: (_x = group.icon) === null || _x === void 0 ? void 0 : _x._downloadURL
1544
1545
  };
1545
1546
  entry.subheadings = group.subheadings || entry.subheadings;
1546
1547
  }
@@ -1550,7 +1551,7 @@ const YooEntityComponent = class {
1550
1551
  avatarSize: this.isAutocompleteSelected() && this.item.avatarSize ? this.item.avatarSize : 'medium',
1551
1552
  iconText: tenant.title || tenant.name,
1552
1553
  heading: (tenant.title || tenant.name || '').toUpperCase(),
1553
- imgSrc: (_x = tenant.icon) === null || _x === void 0 ? void 0 : _x._downloadURL,
1554
+ imgSrc: (_y = tenant.icon) === null || _y === void 0 ? void 0 : _y._downloadURL,
1554
1555
  subheadings: this.isAutocompleteSelected() ? null : rrule.compact([tenant.description])
1555
1556
  };
1556
1557
  }
@@ -1561,7 +1562,7 @@ const YooEntityComponent = class {
1561
1562
  avatarFrame: 'square',
1562
1563
  iconText: model.title || model.name,
1563
1564
  heading: model.title || model.name,
1564
- imgSrc: ((_y = model.background) === null || _y === void 0 ? void 0 : _y._downloadURL) || model.background,
1565
+ imgSrc: ((_z = model.background) === null || _z === void 0 ? void 0 : _z._downloadURL) || model.background,
1565
1566
  subheadings: this.isAutocompleteSelected() ? null : rrule.compact([model.shortDescription])
1566
1567
  };
1567
1568
  }
@@ -1628,7 +1629,7 @@ const YooEntityComponent = class {
1628
1629
  else if (this.entityType === 'violetproducts') {
1629
1630
  const product = this.item;
1630
1631
  let subheadings = [product.description];
1631
- if (((_z = this.item.offers) === null || _z === void 0 ? void 0 : _z.length) && ((_0 = this.item.offers[0].skus) === null || _0 === void 0 ? void 0 : _0.length) && ((_1 = this.item.offers[0].skus[0]) === null || _1 === void 0 ? void 0 : _1.sale_price)) {
1632
+ if (((_0 = this.item.offers) === null || _0 === void 0 ? void 0 : _0.length) && ((_1 = this.item.offers[0].skus) === null || _1 === void 0 ? void 0 : _1.length) && ((_2 = this.item.offers[0].skus[0]) === null || _2 === void 0 ? void 0 : _2.sale_price)) {
1632
1633
  subheadings = [pipe.pipes.currency.transform(this.item.offers[0].skus[0].sale_price / 100, false, this.item.offers[0].skus[0].currency, true)];
1633
1634
  }
1634
1635
  if (!product.available) {
@@ -1657,7 +1658,7 @@ const YooEntityComponent = class {
1657
1658
  };
1658
1659
  }
1659
1660
  else if (this.entityType === 'violetbasketitems') {
1660
- const sku = (_2 = this.item) === null || _2 === void 0 ? void 0 : _2.sku;
1661
+ const sku = (_3 = this.item) === null || _3 === void 0 ? void 0 : _3.sku;
1661
1662
  const price = (sku.sale_price * (this.item.quantity || 1)) / 100;
1662
1663
  const subheadings = [pipe.pipes.currency.transform(price, false, sku.currency, true)];
1663
1664
  entry = {
@@ -1727,9 +1728,9 @@ const YooEntityComponent = class {
1727
1728
  subheadings: [
1728
1729
  productBatch.product ? productBatch.product.reference : '',
1729
1730
  ...(rrule.getSession().user && rrule.getSession().user.locationRef === productBatch.locationRef
1730
- ? rrule.compact([((_3 = this.extraClass) === null || _3 === void 0 ? void 0 : _3.indexOf('show-aisle')) >= 0 && productBatch.aisle ? productBatch.aisle.title : null])
1731
+ ? rrule.compact([((_4 = this.extraClass) === null || _4 === void 0 ? void 0 : _4.indexOf('show-aisle')) >= 0 && productBatch.aisle ? productBatch.aisle.title : null])
1731
1732
  : productBatch.location && productBatch.location.title
1732
- ? [productBatch.location.title + ' - ' + (((_4 = productBatch.aisle) === null || _4 === void 0 ? void 0 : _4.title) || '')]
1733
+ ? [productBatch.location.title + ' - ' + (((_5 = productBatch.aisle) === null || _5 === void 0 ? void 0 : _5.title) || '')]
1733
1734
  : [])
1734
1735
  ],
1735
1736
  tags: productBatch.tags,
@@ -1773,7 +1774,7 @@ const YooEntityComponent = class {
1773
1774
  heading: product.title,
1774
1775
  subheadings,
1775
1776
  date: rrule.isPresent(this.item.description) ? this.item.description : null,
1776
- imgSrc: ((_5 = product === null || product === void 0 ? void 0 : product.image) === null || _5 === void 0 ? void 0 : _5._downloadURL) ? product.image._downloadURL : null,
1777
+ imgSrc: ((_6 = product === null || product === void 0 ? void 0 : product.image) === null || _6 === void 0 ? void 0 : _6._downloadURL) ? product.image._downloadURL : null,
1777
1778
  avatarFrame: 'square',
1778
1779
  // keep it explicit here to prevent to be overwritten by the autocomplete, with which the card-list is used in combination with, and that changes the size of the avatar to 'small' when only one product is selected
1779
1780
  // this case is described into the form-entity-value-pairs.spec tests
@@ -2057,7 +2058,7 @@ const YooEntityComponent = class {
2057
2058
  avatarFrame: 'square'
2058
2059
  };
2059
2060
  }
2060
- else if (this.entityType !== 'tag' && ((_7 = (_6 = this.customModel) === null || _6 === void 0 ? void 0 : _6.appearance) === null || _7 === void 0 ? void 0 : _7.size)) {
2061
+ else if (this.entityType !== 'tag' && ((_8 = (_7 = this.customModel) === null || _7 === void 0 ? void 0 : _7.appearance) === null || _8 === void 0 ? void 0 : _8.size)) {
2061
2062
  entry = {};
2062
2063
  this.customModel.appearance.forEach((value, key) => {
2063
2064
  if (key === 'displayTypes') {
@@ -2098,7 +2099,7 @@ const YooEntityComponent = class {
2098
2099
  else if (this.entityType === 'tiles') {
2099
2100
  const tile = this.item;
2100
2101
  entry = {
2101
- heading: tile.title || ((_8 = tile.page) === null || _8 === void 0 ? void 0 : _8.name),
2102
+ heading: tile.title || ((_9 = tile.page) === null || _9 === void 0 ? void 0 : _9.name),
2102
2103
  imgSrc: tile.photo,
2103
2104
  icon: tile.icon,
2104
2105
  subheadings: rrule.compact([]),
@@ -2209,7 +2210,7 @@ const YooEntityComponent = class {
2209
2210
  !this.isAutocompleteSelected() &&
2210
2211
  !this.hideUIFields &&
2211
2212
  this.customModel &&
2212
- ((_10 = (_9 = this.customModel.formFields) === null || _9 === void 0 ? void 0 : _9.filter((f) => f.showInCard)) === null || _10 === void 0 ? void 0 : _10.length) > 0) {
2213
+ ((_11 = (_10 = this.customModel.formFields) === null || _10 === void 0 ? void 0 : _10.filter((f) => f.showInCard)) === null || _11 === void 0 ? void 0 : _11.length) > 0) {
2213
2214
  entry.uiFields = {
2214
2215
  fields: this.customModel.formFields.filter((f) => f.showInCard),
2215
2216
  data: this.item
@@ -2270,7 +2271,7 @@ const YooEntityComponent = class {
2270
2271
  [extraClasses]: true,
2271
2272
  [this.entityType]: this.entityType !== undefined,
2272
2273
  'form-permission': this.host.classList.contains('form-permission')
2273
- } }, ((_11 = this.inlineActions) === null || _11 === void 0 ? void 0 : _11.length) > 0 && (index.h("span", { class: "slot-container", slot: "content-slot" }, this.inlineActions.map((action) => {
2274
+ } }, ((_12 = this.inlineActions) === null || _12 === void 0 ? void 0 : _12.length) > 0 && (index.h("span", { class: "slot-container", slot: "content-slot" }, this.inlineActions.map((action) => {
2274
2275
  return (index.h("span", { class: action.cssClass, onClick: () => (action.handler ? action.handler(this.item) : null) }, action.text));
2275
2276
  })))));
2276
2277
  }
@@ -7,7 +7,7 @@ const rrule = require('./rrule-f8e7fec2.js');
7
7
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
8
8
  const ResizeObserver_es = require('./ResizeObserver.es-2edf4ecd.js');
9
9
  const commonHelpers = require('./common-helpers-797be2a6.js');
10
- const gridRenderers = require('./grid-renderers-5830bf4a.js');
10
+ const gridRenderers = require('./grid-renderers-f5edc87d.js');
11
11
  const identity$4 = require('./identity-8189b2e1.js');
12
12
  const isNumber$1 = require('./isNumber-4c1ace60.js');
13
13
  const formHelpers = require('./form-helpers-0b6c3054.js');
@@ -20,7 +20,7 @@ const get$1 = require('./get-91c14783.js');
20
20
  const omit = require('./omit-31996bdc.js');
21
21
  const isString$1 = require('./isString-ecd0cbf4.js');
22
22
  const mapHelpers = require('./map-helpers-021bd715.js');
23
- const index$1 = require('./index-203cb7c1.js');
23
+ const index$1 = require('./index-e2b47ee9.js');
24
24
  const localForage = require('./localForage-82b6f557.js');
25
25
  const entitiesHelpers = require('./entities-helpers-e377d30b.js');
26
26
  const pipe = require('./pipe-9c0f36df.js');
@@ -67,9 +67,9 @@ const sortable_esm = require('./sortable.esm-71f9713d.js');
67
67
  const map$1 = require('./map-363505c4.js');
68
68
  const isBoolean = require('./isBoolean-d41e779d.js');
69
69
  const theme = require('./theme-e757b365.js');
70
- const imageHelpers = require('./image-helpers-9a455e5c.js');
70
+ const imageHelpers = require('./image-helpers-ea15b526.js');
71
71
  const annotationsHelpers = require('./annotations-helpers-558ceb1e.js');
72
- const draggableDotsHelpers = require('./draggable-dots-helpers-7b039be2.js');
72
+ const draggableDotsHelpers = require('./draggable-dots-helpers-9650a4b7.js');
73
73
  const inRange = require('./inRange-009d0389.js');
74
74
  const hammerGestures = require('./hammer-gestures-3d3ed244.js');
75
75
  const overlays = require('./overlays-ea0c09f5.js');
@@ -102153,7 +102153,7 @@ const YooCardListComponent = class {
102153
102153
  if (this.entry.isCommentMedia && this.isRenderBadgeOutside) {
102154
102154
  return;
102155
102155
  }
102156
- if (rrule.isCloudinaryLink(item) || item.endsWith('.gif')) {
102156
+ if (rrule.isCloudinaryLink(item) || item.endsWith('.gif') && !this.entry.forceTextHeading) {
102157
102157
  return this.renderMedia(item);
102158
102158
  }
102159
102159
  else {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
- const index$1 = require('./index-203cb7c1.js');
8
+ const index$1 = require('./index-e2b47ee9.js');
9
9
  const pipe = require('./pipe-9c0f36df.js');
10
10
  require('./ResizeObserver.es-2edf4ecd.js');
11
11
  const commonHelpers = require('./common-helpers-797be2a6.js');
@@ -6,11 +6,11 @@ const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
8
  const pipe = require('./pipe-9c0f36df.js');
9
- const index$1 = require('./index-203cb7c1.js');
9
+ const index$1 = require('./index-e2b47ee9.js');
10
10
  const localForage = require('./localForage-82b6f557.js');
11
11
  require('./ResizeObserver.es-2edf4ecd.js');
12
12
  const commonHelpers = require('./common-helpers-797be2a6.js');
13
- const imageHelpers = require('./image-helpers-9a455e5c.js');
13
+ const imageHelpers = require('./image-helpers-ea15b526.js');
14
14
  const observerHelpers = require('./observer-helpers-b02f15af.js');
15
15
  const colorHelpers = require('./color-helpers-9f67677e.js');
16
16
  require('./toInteger-31800ffe.js');
@@ -9,7 +9,7 @@ const document$1 = require('./document-b4cc3315.js');
9
9
  const urlHelpers = require('./url-helpers-a53b3ff9.js');
10
10
  const ResizeObserver_es = require('./ResizeObserver.es-2edf4ecd.js');
11
11
  const commonHelpers = require('./common-helpers-797be2a6.js');
12
- const index$1 = require('./index-203cb7c1.js');
12
+ const index$1 = require('./index-e2b47ee9.js');
13
13
  const pipe = require('./pipe-9c0f36df.js');
14
14
  const formHelpers$1 = require('./form-helpers-0b6c3054.js');
15
15
  const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
@@ -6,10 +6,10 @@ const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
8
  require('./ResizeObserver.es-2edf4ecd.js');
9
- const imageHelpers = require('./image-helpers-9a455e5c.js');
9
+ const imageHelpers = require('./image-helpers-ea15b526.js');
10
10
  require('./isUndefined-8f9cfd10.js');
11
11
  require('./isNumber-4c1ace60.js');
12
- require('./index-203cb7c1.js');
12
+ require('./index-e2b47ee9.js');
13
13
  require('./document-b4cc3315.js');
14
14
  require('./validate-f2c2f205.js');
15
15
  require('./isString-ecd0cbf4.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
- const index$1 = require('./index-203cb7c1.js');
8
+ const index$1 = require('./index-e2b47ee9.js');
9
9
  require('./ResizeObserver.es-2edf4ecd.js');
10
10
  const commonHelpers = require('./common-helpers-797be2a6.js');
11
11
  const observerHelpers = require('./observer-helpers-b02f15af.js');
@@ -15,8 +15,8 @@ const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
15
15
  const get = require('./get-91c14783.js');
16
16
  const annotationsHelpers = require('./annotations-helpers-558ceb1e.js');
17
17
  const dimensionsHelpers = require('./dimensions-helpers-54685523.js');
18
- const imageHelpers = require('./image-helpers-9a455e5c.js');
19
- const gridRenderers = require('./grid-renderers-5830bf4a.js');
18
+ const imageHelpers = require('./image-helpers-ea15b526.js');
19
+ const gridRenderers = require('./grid-renderers-f5edc87d.js');
20
20
  const debounce = require('./debounce-fda84c7b.js');
21
21
  const cloneDeep = require('./cloneDeep-e00dc6ae.js');
22
22
  const assign = require('./assign-bc4598ad.js');
@@ -336,7 +336,7 @@ const YooFormCarouselComponent = class {
336
336
  items: this.mediaSrc.map((v, valueIndex) => {
337
337
  var _a, _b;
338
338
  const item = {
339
- value: v,
339
+ value: rrule.isArray(v) ? v[0] : v,
340
340
  annotations: ((_a = this.annotations) === null || _a === void 0 ? void 0 : _a.length) ? this.annotations[valueIndex] : null,
341
341
  drawings: ((_b = this.drawings) === null || _b === void 0 ? void 0 : _b.length) ? this.drawings[valueIndex] : null
342
342
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
7
7
  const rrule = require('./rrule-f8e7fec2.js');
8
- const index$1 = require('./index-5d6b2f8d.js');
8
+ const index$1 = require('./index-a81f813c.js');
9
9
  const document = require('./document-b4cc3315.js');
10
10
  const entitiesHelpers = require('./entities-helpers-e377d30b.js');
11
11
  const pipe = require('./pipe-9c0f36df.js');
@@ -13,7 +13,7 @@ const urlHelpers = require('./url-helpers-a53b3ff9.js');
13
13
  require('./ResizeObserver.es-2edf4ecd.js');
14
14
  const commonHelpers = require('./common-helpers-797be2a6.js');
15
15
  const debounce = require('./debounce-fda84c7b.js');
16
- require('./index-203cb7c1.js');
16
+ require('./index-e2b47ee9.js');
17
17
  require('./validate-f2c2f205.js');
18
18
  require('./isString-ecd0cbf4.js');
19
19
  require('./toInteger-31800ffe.js');
@@ -97,6 +97,12 @@ const YooChatMessageComponent = class {
97
97
  var _a, _b;
98
98
  return ((_a = this.message) === null || _a === void 0 ? void 0 : _a.replyMessage) !== null && ((_b = this.message) === null || _b === void 0 ? void 0 : _b.replyMessage) !== undefined;
99
99
  }
100
+ get notificationAvatarUser() {
101
+ if (this.message.options && this.message.options.notificationParams && this.message.options.notificationParams.notificationAvatar) {
102
+ return this.message.options.notificationParams.notificationAvatar;
103
+ }
104
+ return null;
105
+ }
100
106
  componentWillLoad() {
101
107
  if (rrule.isNullOrUndefined(this.imageWidthRatio)) {
102
108
  this.imageWidthRatio = rrule.isWeb(this.host) ? 0.35 : 0.75;
@@ -185,12 +191,6 @@ const YooChatMessageComponent = class {
185
191
  onHasMentions() {
186
192
  return this.message && this.message.mentions && this.message.mentions.length > 0;
187
193
  }
188
- get notificationAvatarUser() {
189
- if (this.message.options && this.message.options.notificationParams && this.message.options.notificationParams.notificationAvatar) {
190
- return this.message.options.notificationParams.notificationAvatar;
191
- }
192
- return null;
193
- }
194
194
  canDeleteMessage() {
195
195
  var _a, _b;
196
196
  return ((_b = (_a = this.message) === null || _a === void 0 ? void 0 : _a.author) === null || _b === void 0 ? void 0 : _b._id) === rrule.getSession().userId || this.forceDelete;
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
7
7
  const rrule = require('./rrule-f8e7fec2.js');
8
- const index$1 = require('./index-5d6b2f8d.js');
9
- const index$2 = require('./index-203cb7c1.js');
8
+ const index$1 = require('./index-a81f813c.js');
9
+ const index$2 = require('./index-e2b47ee9.js');
10
10
  const entitiesHelpers = require('./entities-helpers-e377d30b.js');
11
11
  require('./ResizeObserver.es-2edf4ecd.js');
12
12
  const chatHelpers = require('./chat-helpers-a8248ccc.js');
@@ -87,6 +87,7 @@ const YooChatComponent = class {
87
87
  onInputFocused() {
88
88
  this.inputFocused = true;
89
89
  this.scrollBottomOnKeyboradShown = true;
90
+ this.oldestMostRecentMessageElement = null;
90
91
  }
91
92
  onMediaLoading(event) {
92
93
  this.showLoader = event === null || event === void 0 ? void 0 : event.detail;
@@ -254,7 +255,7 @@ const YooChatComponent = class {
254
255
  }
255
256
  }
256
257
  componentDidUpdate() {
257
- this.oldestMostRecentMessageElement ? this.refreshMessages() : this.initChat();
258
+ this.oldestMostRecentMessageElement ? this.initMessages() : this.initChat();
258
259
  // re-render will remove video player, need to re-create the player
259
260
  if (!rrule.isNativeMobile() &&
260
261
  this.broadcastParams &&
@@ -304,23 +305,13 @@ const YooChatComponent = class {
304
305
  rrule.getAsyncExtraData({ type: 'user-detail', params: { user: this.users[0] } });
305
306
  }
306
307
  }
307
- refreshMessages() {
308
- this.initMessages();
309
- }
310
308
  async initMessages() {
309
+ var _a;
311
310
  const messages = (this.messageElements || []).reverse();
312
- await Promise.all(messages.map((el) => {
313
- return (el === null || el === void 0 ? void 0 : el.initMessage()) || Promise.resolve(true);
314
- }));
315
- const element = this.messageElements.find((item) => { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.message) === null || _a === void 0 ? void 0 : _a.timetoken) === this.oldestMostRecentMessageElement; });
316
- if (element) {
317
- rrule.gsapTo(this.scroll, 0, { scrollTo: { y: element, offsetY: 10 } }).then(() => {
318
- this.oldestMostRecentMessageElement = null;
319
- });
320
- }
321
- for (const el of messages) {
322
- await (el === null || el === void 0 ? void 0 : el.renderContent());
323
- }
311
+ await Promise.all(messages.map(el => (el === null || el === void 0 ? void 0 : el.initMessage()) || Promise.resolve(true)));
312
+ await Promise.all(messages.map(el => (el === null || el === void 0 ? void 0 : el.renderContent()) || Promise.resolve(true)));
313
+ (_a = this.oldestMostRecentMessageElement) === null || _a === void 0 ? void 0 : _a.scrollIntoView();
314
+ this.scrollLocker = false;
324
315
  }
325
316
  onChatFocused() {
326
317
  this.chatFocused.emit(true);
@@ -339,8 +330,7 @@ const YooChatComponent = class {
339
330
  }
340
331
  onPullToRefresh() {
341
332
  var _a, _b;
342
- const cleanElements = this.messageElements.filter((item) => item);
343
- this.oldestMostRecentMessageElement = (_b = (_a = cleanElements[0]) === null || _a === void 0 ? void 0 : _a.message) === null || _b === void 0 ? void 0 : _b.timetoken;
333
+ this.oldestMostRecentMessageElement = (_b = (_a = this.messageElements) === null || _a === void 0 ? void 0 : _a.filter(m => { var _a, _b; return m.message.timetoken === ((_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.timetoken); })) === null || _b === void 0 ? void 0 : _b[0];
344
334
  this.loadMoreClicked.emit(true);
345
335
  }
346
336
  onCloseDeleteMode() {
@@ -396,7 +386,8 @@ const YooChatComponent = class {
396
386
  async onIonScroll(ev) {
397
387
  var _a, _b, _c;
398
388
  const scrollTopPosition = rrule.isFinite((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.scrollTop) && ev.detail.scrollTop;
399
- if (scrollTopPosition <= 2 && !this.disableLoadMore && rrule.isWeb(this.host)) {
389
+ if (!this.scrollLocker && scrollTopPosition <= 2 && !this.disableLoadMore && rrule.isWeb(this.host)) {
390
+ this.scrollLocker = true;
400
391
  this.onPullToRefresh();
401
392
  }
402
393
  if (this.broadcastMode) {
@@ -504,13 +495,13 @@ const YooChatComponent = class {
504
495
  }
505
496
  renderChatMessages() {
506
497
  return this.messages.map((m, index$1) => {
507
- var _a, _b;
498
+ var _a, _b, _c;
508
499
  if (m === null || m === void 0 ? void 0 : m.deleted) {
509
500
  return;
510
501
  }
511
502
  return (index.h("yoo-chat-message", { onConferenceMessageClicked: (ev) => {
512
503
  this.conferenceMessageClicked.emit(ev.detail);
513
- }, onRepliedMessageClicked: (ev) => this.onRepliedMessageClicked(ev), id: m.chatId, key: m.chatId, hasOptions: rrule.isWeb(this.host), hasStatus: true, message: m, asyncRender: true, allUsers: this.allUsers, isLast: this.getLastMessage(index$1), isFirst: this.getFirstMessage(index$1), onClicked: (ev) => this.onClickMessage(ev, m.timetoken), isNextImage: this.isNextImage(index$1), isGroup: this.isMultiple, receivedByOthers: m.options && m.options.messageRecievedInfo && m.options.messageRecievedInfo.length === ((_a = this.otherIds) === null || _a === void 0 ? void 0 : _a.length), onPresshold: (ev) => this.onHighlightMessage(ev), currentActivePlayerId: this.currentActivePlayerId, containerWidth: this.containerWidth, forceDelete: this.forceDelete, imageWidthRatio: ((_b = this.advancedOptions) === null || _b === void 0 ? void 0 : _b.popupMode) ? 0.65 : undefined, preventVideoPreloading: this.preventVideoPreloading, onUsernameClicked: (ev) => rrule.getAsyncExtraData({ type: 'user-detail', params: { user: ev.detail } }), onAvatarClicked: (ev) => rrule.getAsyncExtraData({ type: 'user-detail', params: { user: ev.detail } }) }));
504
+ }, onRepliedMessageClicked: (ev) => this.onRepliedMessageClicked(ev), id: (_a = m.timetoken) === null || _a === void 0 ? void 0 : _a.toString(), key: m.timetoken, hasOptions: rrule.isWeb(this.host), hasStatus: true, message: m, asyncRender: true, allUsers: this.allUsers, isLast: this.getLastMessage(index$1), isFirst: this.getFirstMessage(index$1), onClicked: (ev) => this.onClickMessage(ev, m.timetoken), isNextImage: this.isNextImage(index$1), isGroup: this.isMultiple, receivedByOthers: m.options && m.options.messageRecievedInfo && m.options.messageRecievedInfo.length === ((_b = this.otherIds) === null || _b === void 0 ? void 0 : _b.length), onPresshold: (ev) => this.onHighlightMessage(ev), currentActivePlayerId: this.currentActivePlayerId, containerWidth: this.containerWidth, forceDelete: this.forceDelete, imageWidthRatio: ((_c = this.advancedOptions) === null || _c === void 0 ? void 0 : _c.popupMode) ? 0.65 : undefined, preventVideoPreloading: this.preventVideoPreloading, onUsernameClicked: (ev) => rrule.getAsyncExtraData({ type: 'user-detail', params: { user: ev.detail } }), onAvatarClicked: (ev) => rrule.getAsyncExtraData({ type: 'user-detail', params: { user: ev.detail } }) }));
514
505
  });
515
506
  }
516
507
  renderBroadcastActions(action) {
@@ -6,11 +6,11 @@ const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
8
  require('./ResizeObserver.es-2edf4ecd.js');
9
- const entitiesHelpers = require('./entities-helpers-f38b1b38.js');
9
+ const entitiesHelpers = require('./entities-helpers-c6ed72dc.js');
10
10
  const isBoolean = require('./isBoolean-d41e779d.js');
11
11
  require('./isUndefined-8f9cfd10.js');
12
12
  require('./isNumber-4c1ace60.js');
13
- require('./index-203cb7c1.js');
13
+ require('./index-e2b47ee9.js');
14
14
  require('./document-b4cc3315.js');
15
15
  require('./validate-f2c2f205.js');
16
16
  require('./isString-ecd0cbf4.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
- const index$1 = require('./index-203cb7c1.js');
8
+ const index$1 = require('./index-e2b47ee9.js');
9
9
  const entitiesHelpers = require('./entities-helpers-e377d30b.js');
10
10
  const pipe = require('./pipe-9c0f36df.js');
11
11
  const operationHelpers = require('./operation-helpers-663d97ff.js');
@@ -14,7 +14,7 @@ const shuffle = require('./shuffle-8d86ba89.js');
14
14
  const findIndex = require('./findIndex-cb2c4f23.js');
15
15
  const isString = require('./isString-ecd0cbf4.js');
16
16
  const index$2 = require('./index-7d3c7ee7.js');
17
- const index$1 = require('./index-8f834b3c.js');
17
+ const index$1 = require('./index-4e7dd1d7.js');
18
18
  const boostHelpers = require('./boost-helpers-0fe0ab90.js');
19
19
  const isNumber = require('./isNumber-4c1ace60.js');
20
20
  require('./isUndefined-8f9cfd10.js');
@@ -38,7 +38,7 @@ require('./_copyArray-7cf7f5e7.js');
38
38
  require('./toInteger-31800ffe.js');
39
39
  require('./toFinite-3604340c.js');
40
40
  require('./toNumber-8907f58c.js');
41
- require('./index-203cb7c1.js');
41
+ require('./index-e2b47ee9.js');
42
42
  require('./document-b4cc3315.js');
43
43
  require('./validate-f2c2f205.js');
44
44
  require('./form-creator-helpers-ed0a88b0.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const inputBar_interface = require('./input-bar.interface-b96b7107.js');
7
7
  const rrule = require('./rrule-f8e7fec2.js');
8
- const index$1 = require('./index-203cb7c1.js');
8
+ const index$1 = require('./index-e2b47ee9.js');
9
9
  require('./document-b4cc3315.js');
10
10
  require('./validate-f2c2f205.js');
11
11
  require('./isString-ecd0cbf4.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-fd52e687.js');
6
6
  const rrule = require('./rrule-f8e7fec2.js');
7
7
  require('./input-bar.interface-b96b7107.js');
8
- const index$1 = require('./index-203cb7c1.js');
8
+ const index$1 = require('./index-e2b47ee9.js');
9
9
  require('./ResizeObserver.es-2edf4ecd.js');
10
10
  const commonHelpers = require('./common-helpers-797be2a6.js');
11
11
  const draggableTagsHelpers = require('./draggable-tags-helpers-a839d713.js');
@@ -7,7 +7,7 @@ const inputBar_interface = require('./input-bar.interface-b96b7107.js');
7
7
  const rrule = require('./rrule-f8e7fec2.js');
8
8
  const formCreatorHelpers = require('./form-creator-helpers-ed0a88b0.js');
9
9
  const index$2 = require('./index-77d54324.js');
10
- const index$1 = require('./index-8f834b3c.js');
10
+ const index$1 = require('./index-4e7dd1d7.js');
11
11
  require('./isNumber-4c1ace60.js');
12
12
  require('./isEqual-35c41499.js');
13
13
  require('./_baseIsEqual-ea3c1968.js');
@@ -17,7 +17,7 @@ require('./keys-c78834c2.js');
17
17
  require('./_baseUnary-95e872e2.js');
18
18
  require('./_baseKeys-38051434.js');
19
19
  require('./_getTag-044b275e.js');
20
- require('./index-203cb7c1.js');
20
+ require('./index-e2b47ee9.js');
21
21
  require('./document-b4cc3315.js');
22
22
  require('./validate-f2c2f205.js');
23
23
  require('./isString-ecd0cbf4.js');