@yoobic/yobi 7.7.79 → 7.7.80

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 (135) 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/{image-helpers-9a455e5c.js → image-helpers-ea15b526.js} +1 -1
  4. package/dist/cjs/{index-8f834b3c.js → index-4e7dd1d7.js} +1 -1
  5. package/dist/cjs/{index-5d6b2f8d.js → index-a81f813c.js} +1 -1
  6. package/dist/cjs/{index-203cb7c1.js → index-e2b47ee9.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/yoo-action-sheet-controller_15.cjs.entry.js +2 -2
  9. package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +3 -3
  10. package/dist/cjs/yoo-audio-recorder-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/yoo-avatar_5.cjs.entry.js +2 -2
  12. package/dist/cjs/yoo-camera-preview-dialog_7.cjs.entry.js +1 -1
  13. package/dist/cjs/yoo-card-header.cjs.entry.js +2 -2
  14. package/dist/cjs/yoo-card-list-image_12.cjs.entry.js +3 -3
  15. package/dist/cjs/yoo-chat-message_3.cjs.entry.js +2 -2
  16. package/dist/cjs/yoo-chat.cjs.entry.js +2 -2
  17. package/dist/cjs/yoo-detail-bar.cjs.entry.js +2 -2
  18. package/dist/cjs/yoo-feed-detail.cjs.entry.js +1 -1
  19. package/dist/cjs/yoo-form-choice_4.cjs.entry.js +2 -2
  20. package/dist/cjs/yoo-form-conditions.cjs.entry.js +1 -1
  21. package/dist/cjs/yoo-form-connect.cjs.entry.js +1 -1
  22. package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +2 -2
  23. package/dist/cjs/yoo-form-creator-block-simple_4.cjs.entry.js +3 -3
  24. package/dist/cjs/yoo-form-creator-card_2.cjs.entry.js +2 -2
  25. package/dist/cjs/yoo-form-creator-field-selector_8.cjs.entry.js +2 -2
  26. package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +2 -2
  27. package/dist/cjs/yoo-form-creator.cjs.entry.js +2 -2
  28. package/dist/cjs/yoo-form-image-tagging-creator.cjs.entry.js +2 -2
  29. package/dist/cjs/yoo-form-incentive-targets.cjs.entry.js +1 -1
  30. package/dist/cjs/yoo-form-multi-input.cjs.entry.js +1 -1
  31. package/dist/cjs/yoo-form-reorder.cjs.entry.js +1 -1
  32. package/dist/cjs/yoo-form-stripe-card.cjs.entry.js +1 -1
  33. package/dist/cjs/yoo-form-swipe-cards.cjs.entry.js +1 -1
  34. package/dist/cjs/yoo-form-text-editor.cjs.entry.js +2 -2
  35. package/dist/cjs/yoo-form-uploader.cjs.entry.js +1 -1
  36. package/dist/cjs/yoo-input-bar.cjs.entry.js +2 -2
  37. package/dist/cjs/yoo-location-heading.cjs.entry.js +1 -1
  38. package/dist/cjs/yoo-podium.cjs.entry.js +2 -2
  39. package/dist/cjs/yoo-profile-summary.cjs.entry.js +1 -1
  40. package/dist/cjs/yoo-slides-media.cjs.entry.js +2 -2
  41. package/dist/cjs/yoo-user-profile.cjs.entry.js +2 -2
  42. package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +1 -1
  43. package/dist/cjs/yoo-walkthrough.cjs.entry.js +2 -2
  44. package/dist/collection/components/form/form-carousel/form-carousel.js +1 -1
  45. package/dist/design-system/design-system.esm.js +1 -1
  46. package/dist/design-system/index.esm.js +1 -1
  47. package/dist/design-system/{p-49d34fa0.entry.js → p-0e9e24dc.entry.js} +1 -1
  48. package/dist/design-system/{p-87d146a4.entry.js → p-1fbf2bdc.entry.js} +1 -1
  49. package/dist/design-system/{p-88639e39.entry.js → p-23ad22ef.entry.js} +1 -1
  50. package/dist/design-system/p-25312448.entry.js +1 -0
  51. package/dist/design-system/{p-0195a944.entry.js → p-28b6f2af.entry.js} +1 -1
  52. package/dist/design-system/{p-931c8de0.entry.js → p-2a056ca7.entry.js} +1 -1
  53. package/dist/design-system/{p-c61d0b98.entry.js → p-2c1dff83.entry.js} +1 -1
  54. package/dist/design-system/{p-a1e6e5c2.entry.js → p-2d6b451c.entry.js} +1 -1
  55. package/dist/design-system/{p-f7afffac.entry.js → p-2ede5c0e.entry.js} +1 -1
  56. package/dist/design-system/{p-0bb29465.entry.js → p-32603f55.entry.js} +1 -1
  57. package/dist/design-system/{p-8c63a863.entry.js → p-34e0ec13.entry.js} +1 -1
  58. package/dist/design-system/{p-19ced087.entry.js → p-466a2e4b.entry.js} +1 -1
  59. package/dist/design-system/{p-efd4983d.js → p-486e9464.js} +1 -1
  60. package/dist/design-system/{p-874c9807.entry.js → p-4e181258.entry.js} +1 -1
  61. package/dist/design-system/p-4ea7e509.js +1 -0
  62. package/dist/design-system/{p-cccb3658.entry.js → p-4f7b5084.entry.js} +1 -1
  63. package/dist/design-system/p-52b2bcbf.js +1 -0
  64. package/dist/design-system/{p-e954f42f.entry.js → p-5d9b02a3.entry.js} +1 -1
  65. package/dist/design-system/{p-e4481945.entry.js → p-619da34f.entry.js} +1 -1
  66. package/dist/design-system/{p-3c525d77.entry.js → p-6470e707.entry.js} +1 -1
  67. package/dist/design-system/{p-dcdf128d.entry.js → p-6a6283bb.entry.js} +1 -1
  68. package/dist/design-system/{p-f4eb8b04.entry.js → p-71ce140b.entry.js} +1 -1
  69. package/dist/design-system/{p-b4bf0927.entry.js → p-78e069f3.entry.js} +1 -1
  70. package/dist/design-system/{p-0e502a87.entry.js → p-83aa89ad.entry.js} +1 -1
  71. package/dist/design-system/{p-5d67f58e.entry.js → p-85307152.entry.js} +1 -1
  72. package/dist/design-system/{p-9f170821.entry.js → p-8bf049b5.entry.js} +1 -1
  73. package/dist/design-system/{p-ff385bd5.entry.js → p-af4cfea4.entry.js} +1 -1
  74. package/dist/design-system/{p-ea80408e.entry.js → p-b6d2e98f.entry.js} +1 -1
  75. package/dist/design-system/{p-19fa14b3.entry.js → p-bab8cef4.entry.js} +1 -1
  76. package/dist/design-system/{p-4fcf3997.entry.js → p-c4755e58.entry.js} +1 -1
  77. package/dist/design-system/{p-77376751.entry.js → p-cb9c30a3.entry.js} +1 -1
  78. package/dist/design-system/{p-c60e5af0.entry.js → p-cc4aeee9.entry.js} +1 -1
  79. package/dist/design-system/{p-a70e359c.entry.js → p-d51ee577.entry.js} +1 -1
  80. package/dist/design-system/{p-7d62f3fe.entry.js → p-db225b69.entry.js} +1 -1
  81. package/dist/design-system/{p-15fd070c.js → p-e37ba040.js} +1 -1
  82. package/dist/design-system/{p-4b5b0147.entry.js → p-e70980f6.entry.js} +1 -1
  83. package/dist/design-system/{p-d54fe233.entry.js → p-e8327344.entry.js} +1 -1
  84. package/dist/design-system/{p-fd870eb7.js → p-e9993e20.js} +1 -1
  85. package/dist/design-system/{p-52f6ebf1.entry.js → p-ea46fc83.entry.js} +1 -1
  86. package/dist/design-system/{p-b14fa2a4.entry.js → p-ef1901b3.entry.js} +1 -1
  87. package/dist/design-system/{p-263c9bdb.js → p-ef754e66.js} +1 -1
  88. package/dist/design-system/{p-f7b10ee1.entry.js → p-f0c01c22.entry.js} +1 -1
  89. package/dist/esm/{draggable-dots-helpers-c77468b6.js → draggable-dots-helpers-64c79f38.js} +1 -1
  90. package/dist/esm/{entities-helpers-5ef12ad3.js → entities-helpers-2876d199.js} +1 -1
  91. package/dist/esm/{image-helpers-6373847f.js → image-helpers-6b281c05.js} +1 -1
  92. package/dist/esm/{index-f25c3fe6.js → index-6f7890f4.js} +1 -1
  93. package/dist/esm/{index-b1a3fcc3.js → index-7a08441e.js} +1 -1
  94. package/dist/esm/{index-6499210c.js → index-b45a2bdf.js} +1 -1
  95. package/dist/esm/index.js +4 -4
  96. package/dist/esm/yoo-action-sheet-controller_15.entry.js +2 -2
  97. package/dist/esm/yoo-ag-grid_96.entry.js +3 -3
  98. package/dist/esm/yoo-audio-recorder-dialog.entry.js +1 -1
  99. package/dist/esm/yoo-avatar_5.entry.js +2 -2
  100. package/dist/esm/yoo-camera-preview-dialog_7.entry.js +1 -1
  101. package/dist/esm/yoo-card-header.entry.js +2 -2
  102. package/dist/esm/yoo-card-list-image_12.entry.js +3 -3
  103. package/dist/esm/yoo-chat-message_3.entry.js +2 -2
  104. package/dist/esm/yoo-chat.entry.js +2 -2
  105. package/dist/esm/yoo-detail-bar.entry.js +2 -2
  106. package/dist/esm/yoo-feed-detail.entry.js +1 -1
  107. package/dist/esm/yoo-form-choice_4.entry.js +2 -2
  108. package/dist/esm/yoo-form-conditions.entry.js +1 -1
  109. package/dist/esm/yoo-form-connect.entry.js +1 -1
  110. package/dist/esm/yoo-form-creator-block-expandable.entry.js +2 -2
  111. package/dist/esm/yoo-form-creator-block-simple_4.entry.js +3 -3
  112. package/dist/esm/yoo-form-creator-card_2.entry.js +2 -2
  113. package/dist/esm/yoo-form-creator-field-selector_8.entry.js +2 -2
  114. package/dist/esm/yoo-form-creator-translate-dialog.entry.js +2 -2
  115. package/dist/esm/yoo-form-creator.entry.js +2 -2
  116. package/dist/esm/yoo-form-image-tagging-creator.entry.js +2 -2
  117. package/dist/esm/yoo-form-incentive-targets.entry.js +1 -1
  118. package/dist/esm/yoo-form-multi-input.entry.js +1 -1
  119. package/dist/esm/yoo-form-reorder.entry.js +1 -1
  120. package/dist/esm/yoo-form-stripe-card.entry.js +1 -1
  121. package/dist/esm/yoo-form-swipe-cards.entry.js +1 -1
  122. package/dist/esm/yoo-form-text-editor.entry.js +2 -2
  123. package/dist/esm/yoo-form-uploader.entry.js +1 -1
  124. package/dist/esm/yoo-input-bar.entry.js +2 -2
  125. package/dist/esm/yoo-location-heading.entry.js +1 -1
  126. package/dist/esm/yoo-podium.entry.js +2 -2
  127. package/dist/esm/yoo-profile-summary.entry.js +1 -1
  128. package/dist/esm/yoo-slides-media.entry.js +2 -2
  129. package/dist/esm/yoo-user-profile.entry.js +2 -2
  130. package/dist/esm/yoo-videoplayer-videojs.entry.js +1 -1
  131. package/dist/esm/yoo-walkthrough.entry.js +2 -2
  132. package/package.json +1 -1
  133. package/dist/design-system/p-7f8ddb27.js +0 -1
  134. package/dist/design-system/p-81ceff81.js +0 -1
  135. package/dist/design-system/p-de635023.entry.js +0 -1
@@ -2,11 +2,11 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
2
2
  import { a9 as dateFormat, t as translate, Y as translateMulti } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
4
  import './ResizeObserver.es-a8772c31.js';
5
- import { g as groupsFullResolver } from './entities-helpers-5ef12ad3.js';
5
+ import { g as groupsFullResolver } from './entities-helpers-2876d199.js';
6
6
  import { i as isBoolean } from './isBoolean-80d45d8d.js';
7
7
  import './isUndefined-11cbe419.js';
8
8
  import './isNumber-5a14c4d5.js';
9
- import './index-b1a3fcc3.js';
9
+ import './index-7a08441e.js';
10
10
  import './document-29cc0400.js';
11
11
  import './validate-691c9af1.js';
12
12
  import './isString-1673d591.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { i as isNativeMobile, aq as dispatchCustomEvent, t as translate, bo as closeModal, Y as translateMulti, $ as parseMarkDown, at as getPermissions, bU as removeMarkdown, z as isIphoneX, ac as Plugins, a3 as isNullOrUndefined, u as isArray } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { f as isMedia } from './index-b1a3fcc3.js';
4
+ import { f as isMedia } from './index-7a08441e.js';
5
5
  import { j as getMediaSrcFromFeed, e as groupsResolver, g as getUserDisplayName, r as replaceAtTagToMentionTag } from './entities-helpers-122c20c3.js';
6
6
  import { p as pipes } from './pipe-e40e660a.js';
7
7
  import { e as getFeedLikes } from './operation-helpers-0af202b3.js';
@@ -10,7 +10,7 @@ import { s as shuffle } from './shuffle-ec8e5df6.js';
10
10
  import { f as findIndex } from './findIndex-f1398eac.js';
11
11
  import { i as isString } from './isString-1673d591.js';
12
12
  import { f as feedbackValues } from './index-2319a076.js';
13
- import { l as setBlockSelection, U as setPageSelection } from './index-f25c3fe6.js';
13
+ import { l as setBlockSelection, U as setPageSelection } from './index-6f7890f4.js';
14
14
  import { d as getConfidenceDescriptionKey } from './boost-helpers-ae1115e2.js';
15
15
  import { i as isNumber } from './isNumber-5a14c4d5.js';
16
16
  import './isUndefined-11cbe419.js';
@@ -34,7 +34,7 @@ import './_copyArray-40d7b0e8.js';
34
34
  import './toInteger-9e62a9cd.js';
35
35
  import './toFinite-adaf76e2.js';
36
36
  import './toNumber-2273741c.js';
37
- import './index-b1a3fcc3.js';
37
+ import './index-7a08441e.js';
38
38
  import './document-29cc0400.js';
39
39
  import './validate-691c9af1.js';
40
40
  import './form-creator-helpers-e288d1e2.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-27314512.js';
2
2
  import { A as ALL_MOBILE_FORM_FIELDS } from './input-bar.interface-4e956599.js';
3
3
  import { a1 as compact, t as translate } from './rrule-5a2de9bb.js';
4
- import { g as getUUID } from './index-b1a3fcc3.js';
4
+ import { g as getUUID } from './index-7a08441e.js';
5
5
  import './document-29cc0400.js';
6
6
  import './validate-691c9af1.js';
7
7
  import './isString-1673d591.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { U as Draggable, Y as translateMulti, T as gsapTo } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID, a as isImageUrl } from './index-b1a3fcc3.js';
4
+ import { g as getUUID, a as isImageUrl } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
7
7
  import { c as showWarningAlert } from './draggable-tags-helpers-a104cef1.js';
@@ -3,7 +3,7 @@ import { w as FORM_CREATOR_OPTIONS_ALL, A as ALL_MOBILE_FORM_FIELDS, S as Scorin
3
3
  import { w as debounce, a1 as compact, t as translate, Z as gsapFromTo, Y as translateMulti, a3 as isNullOrUndefined, T as gsapTo, c2 as Power3 } from './rrule-5a2de9bb.js';
4
4
  import { y as findMaxScore, z as isNotApplicable } from './form-creator-helpers-e288d1e2.js';
5
5
  import { N as NON_CONDITION_CATEGORIES } from './index-4fa684b9.js';
6
- import { l as setBlockSelection, R as setRestrictionAndConditionActions, S as starRatingMaxDefault, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-f25c3fe6.js';
6
+ import { l as setBlockSelection, R as setRestrictionAndConditionActions, S as starRatingMaxDefault, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-6f7890f4.js';
7
7
  import './isNumber-5a14c4d5.js';
8
8
  import './isEqual-17ab50de.js';
9
9
  import './_baseIsEqual-b74e0d4d.js';
@@ -13,7 +13,7 @@ import './keys-ec469112.js';
13
13
  import './_baseUnary-3e989b0b.js';
14
14
  import './_baseKeys-2fda8200.js';
15
15
  import './_getTag-064e16c4.js';
16
- import './index-b1a3fcc3.js';
16
+ import './index-7a08441e.js';
17
17
  import './document-29cc0400.js';
18
18
  import './validate-691c9af1.js';
19
19
  import './isString-1673d591.js';
@@ -5,14 +5,14 @@ import './ResizeObserver.es-a8772c31.js';
5
5
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
6
6
  import { f as fieldStateOptions } from './index-d2e5da02.js';
7
7
  import { S as Sortable } from './sortable.esm-e5d5ca49.js';
8
- import { I as setRestrictionAndFieldConditions, P as getWorkflowFieldState, O as onWorkflowStepClicked } from './index-f25c3fe6.js';
8
+ import { I as setRestrictionAndFieldConditions, P as getWorkflowFieldState, O as onWorkflowStepClicked } from './index-6f7890f4.js';
9
9
  import { g as getUserDisplayName } from './entities-helpers-122c20c3.js';
10
- import { g as groupsFullResolver } from './entities-helpers-5ef12ad3.js';
10
+ import { g as groupsFullResolver } from './entities-helpers-2876d199.js';
11
11
  import './isUndefined-11cbe419.js';
12
12
  import './isNumber-5a14c4d5.js';
13
13
  import './get-3cbd3bd6.js';
14
14
  import './_baseGet-b09185bc.js';
15
- import './index-b1a3fcc3.js';
15
+ import './index-7a08441e.js';
16
16
  import './document-29cc0400.js';
17
17
  import './validate-691c9af1.js';
18
18
  import './isString-1673d591.js';
@@ -2,8 +2,8 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
2
2
  import { s as showModal, t as translate, Y as translateMulti, b1 as showAlert, bo as closeModal } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
4
  import { f as fieldStateOptions } from './index-d2e5da02.js';
5
- import { R as setRestrictionAndConditionActions, l as setBlockSelection } from './index-f25c3fe6.js';
6
- import './index-b1a3fcc3.js';
5
+ import { R as setRestrictionAndConditionActions, l as setBlockSelection } from './index-6f7890f4.js';
6
+ import './index-7a08441e.js';
7
7
  import './document-29cc0400.js';
8
8
  import './validate-691c9af1.js';
9
9
  import './isString-1673d591.js';
@@ -9,7 +9,7 @@ import { d as devices } from './device.interface-45f11d19.js';
9
9
  import { c as conditionBlocksConfig, W as WorkflowMode } from './card-video.interface-5de361ba.js';
10
10
  import { S as Sortable } from './sortable.esm-e5d5ca49.js';
11
11
  import { e as formatSlides, t as cleanUnusedTranslations, v as updateScoringWithTranslations, w as updateAuditWithTranslations } from './form-creator-helpers-e288d1e2.js';
12
- import { K as resetKey, L as resetFieldTranslations, t as translateAll, M as isAlreadyTranslated, N as addRow, O as onWorkflowStepClicked, P as getWorkflowFieldState } from './index-f25c3fe6.js';
12
+ import { K as resetKey, L as resetFieldTranslations, t as translateAll, M as isAlreadyTranslated, N as addRow, O as onWorkflowStepClicked, P as getWorkflowFieldState } from './index-6f7890f4.js';
13
13
  import { i as isEqual } from './isEqual-17ab50de.js';
14
14
  import { r as remove } from './remove-ecc59e7c.js';
15
15
  import { f as fieldStateOptions } from './index-d2e5da02.js';
@@ -27,7 +27,7 @@ import './isUndefined-11cbe419.js';
27
27
  import './isNumber-5a14c4d5.js';
28
28
  import './get-3cbd3bd6.js';
29
29
  import './_baseGet-b09185bc.js';
30
- import './index-b1a3fcc3.js';
30
+ import './index-7a08441e.js';
31
31
  import './document-29cc0400.js';
32
32
  import './validate-691c9af1.js';
33
33
  import './isString-1673d591.js';
@@ -3,7 +3,7 @@ import { o as TRANSLATABLE_FORM_FIELD_ATTRIBUTES, F as FormFieldType, m as COMPL
3
3
  import { w as debounce, a1 as compact, V as getCurrentLanguage, Y as translateMulti, t as translate, a4 as isObject, bo as closeModal } from './rrule-5a2de9bb.js';
4
4
  import { e as formatSlides, x as getLocaleTranslation, f as findField } from './form-creator-helpers-e288d1e2.js';
5
5
  import { i as isHTML } from './string-helpers-9646d8e3.js';
6
- import { Q as updateLocaleTranslation } from './index-f25c3fe6.js';
6
+ import { Q as updateLocaleTranslation } from './index-6f7890f4.js';
7
7
  import { c as cloneDeep } from './cloneDeep-7e28f486.js';
8
8
  import { i as isEmpty } from './isEmpty-7879f636.js';
9
9
  import { i as isString } from './isString-1673d591.js';
@@ -16,7 +16,7 @@ import './keys-ec469112.js';
16
16
  import './_baseUnary-3e989b0b.js';
17
17
  import './_baseKeys-2fda8200.js';
18
18
  import './_getTag-064e16c4.js';
19
- import './index-b1a3fcc3.js';
19
+ import './index-7a08441e.js';
20
20
  import './document-29cc0400.js';
21
21
  import './validate-691c9af1.js';
22
22
  import './form-helpers-1b9c9641.js';
@@ -2,13 +2,13 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
2
2
  import { h as FormCreatorBulkActions, i as FormCreatorOptions, j as CONDITION_TYPES, k as FEEDBACK_SCORING_VALUES, S as ScoringCategory, A as ALL_MOBILE_FORM_FIELDS, l as FormFieldCategory } from './input-bar.interface-4e956599.js';
3
3
  import { c as conditionBlocksConfig } from './card-video.interface-5de361ba.js';
4
4
  import { t as translate, b1 as showAlert, Y as translateMulti, u as isArray, a1 as compact, s as showModal, an as showToast, a3 as isNullOrUndefined } from './rrule-5a2de9bb.js';
5
- import { g as getUUID } from './index-b1a3fcc3.js';
5
+ import { g as getUUID } from './index-7a08441e.js';
6
6
  import { u as updateTranslationKey, c as checkIfKeyIsInPage, r as removeScoringSelectedFields, s as serializeScores, a as setFieldIconAndCategory, f as findField, b as changeSelectedScoring, d as calculateScoringTotal, e as formatSlides, g as checkIfKeyIsInField, h as removeParentCondition, p as populateScoringFields, i as isFieldNameUnique, j as getScoringCategory, k as formatScoringValuePairs, l as findMultiMaxScore, m as getCustomName } from './form-creator-helpers-e288d1e2.js';
7
7
  import './ResizeObserver.es-a8772c31.js';
8
8
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
9
9
  import { S as Sortable } from './sortable.esm-e5d5ca49.js';
10
10
  import { N as NON_CONDITION_CATEGORIES, A as ARROW_PAIR } from './index-4fa684b9.js';
11
- import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as getTotalFields, y as setParentConditions, z as updateUnattatchedCondition, A as doesSlidePageHaveItems, B as getNumberOfSequentialFields, C as getDefaultCondition, D as addNewParentCondition, E as createNewIdsForCustomFields, F as getDefaultField, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-f25c3fe6.js';
11
+ import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as getTotalFields, y as setParentConditions, z as updateUnattatchedCondition, A as doesSlidePageHaveItems, B as getNumberOfSequentialFields, C as getDefaultCondition, D as addNewParentCondition, E as createNewIdsForCustomFields, F as getDefaultField, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-6f7890f4.js';
12
12
  import { c as cloneDeep } from './cloneDeep-7e28f486.js';
13
13
  import { o as orderBy } from './orderBy-c365859b.js';
14
14
  import './document-29cc0400.js';
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement$1 } from './index-27314512.js';
2
2
  import { r as isFile, w as debounce, t as translate, s as showModal, bB as gsapSet, T as gsapTo, R as scaleUpAnimation, U as Draggable } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { o as blobToBase64, g as getUUID } from './index-b1a3fcc3.js';
4
+ import { o as blobToBase64, g as getUUID } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { b as isAnnotationValid, g as getElement, j as getAnnotationPositionStyle } from './annotations-helpers-d026cd25.js';
7
7
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
8
- import { j as getDotToolTipElement, k as getDotInnerElement, l as setDotIndexes, h as hideAllDotTooltips, c as createDot, s as showDotTooltip, m as formatAnnotationForExport, r as reorderDotIndexes, d as deleteDot, f as saveTooltipContent, b as deleteEmptyDots, e as hideAllUnFocusedTooltips, n as getAnnotation } from './draggable-dots-helpers-c77468b6.js';
8
+ import { j as getDotToolTipElement, k as getDotInnerElement, l as setDotIndexes, h as hideAllDotTooltips, c as createDot, s as showDotTooltip, m as formatAnnotationForExport, r as reorderDotIndexes, d as deleteDot, f as saveTooltipContent, b as deleteEmptyDots, e as hideAllUnFocusedTooltips, n as getAnnotation } from './draggable-dots-helpers-64c79f38.js';
9
9
  import './document-29cc0400.js';
10
10
  import './validate-691c9af1.js';
11
11
  import './isString-1673d591.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h } from './index-27314512.js';
2
2
  import { t as translate } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID } from './index-b1a3fcc3.js';
4
+ import { g as getUUID } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { b as setValueAndValidateInput } from './form-input-helpers-da854059.js';
7
7
  import './document-29cc0400.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { b as isWeb, t as translate, Y as translateMulti } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID } from './index-b1a3fcc3.js';
4
+ import { g as getUUID } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
7
7
  import { s as setValidator, b as setValueAndValidateInput } from './form-input-helpers-da854059.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { U as Draggable, W as gsapTimeline, b as isWeb, bB as gsapSet, t as translate, T as gsapTo } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID } from './index-b1a3fcc3.js';
4
+ import { g as getUUID } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
7
7
  import { b as setValueAndValidateInput } from './form-input-helpers-da854059.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-27314512.js';
2
2
  import { V as getCurrentLanguage, E as getCssColor } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID } from './index-b1a3fcc3.js';
4
+ import { g as getUUID } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { s as setValidator, b as setValueAndValidateInput } from './form-input-helpers-da854059.js';
7
7
  import './document-29cc0400.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { y as findParent, U as Draggable, W as gsapTimeline, Y as translateMulti, b as isWeb, t as translate, _ as isCloudinaryLink, X as Power1, T as gsapTo } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID } from './index-b1a3fcc3.js';
4
+ import { g as getUUID } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
7
7
  import { c as showWarningAlert, a as hasDuplicates } from './draggable-tags-helpers-a104cef1.js';
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-27314512.js';
2
2
  import { c as createCommonjsModule, d as commonjsGlobal, K as getAsyncExtraData, bd as isDarkTheme, j as getSession, bV as getColorSwatches, a1 as compact, _ as isCloudinaryLink, t as translate, s as showModal, b as isWeb, bo as closeModal, bX as showContextMenu, bY as getCssProperty, V as getCurrentLanguage } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { g as getUUID, y as getVideoPoster } from './index-b1a3fcc3.js';
4
+ import { g as getUUID, y as getVideoPoster } from './index-7a08441e.js';
5
5
  import { r as replaceAtTagToMentionTag } from './entities-helpers-122c20c3.js';
6
6
  import { c as containsUrls, a as replaceAndGetAllLinks } from './url-helpers-91100b28.js';
7
7
  import './ResizeObserver.es-a8772c31.js';
8
8
  import { z as querySelectorDeep } from './common-helpers-f3296dd7.js';
9
- import { s as sanitizeMentionTag } from './entities-helpers-5ef12ad3.js';
9
+ import { s as sanitizeMentionTag } from './entities-helpers-2876d199.js';
10
10
  import { b as setValueAndValidateInput } from './form-input-helpers-da854059.js';
11
11
  import { d as getInsertElementProp, b as safeReplaceElement, i as isMentionTag, s as safeInsert, c as getTagHTML, a as safeInsertElements } from './form-text-area-helpers-eff7814d.js';
12
12
  import { f as images, v as videos, a as isVideo } from './document-29cc0400.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { F as FormFieldType } from './input-bar.interface-4e956599.js';
3
3
  import { c as createCommonjsModule, d as commonjsGlobal, p as getDefaultExportFromCjs, t as translate, b as isWeb, u as isArray } from './rrule-5a2de9bb.js';
4
- import { u as urlToFileBlob, p as getMimeType } from './index-b1a3fcc3.js';
4
+ import { u as urlToFileBlob, p as getMimeType } from './index-7a08441e.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
7
7
  import { b as setValueAndValidateInput } from './form-input-helpers-da854059.js';
@@ -3,8 +3,8 @@ import { b as getPicture, k as MediaType, P as PictureSourceType, e as getVideoD
3
3
  import { T as TapticEngine } from './index-c8ac157e.js';
4
4
  import { t as MessageInput, M as MessageType, u as IFileUploadAcceptMode } from './input-bar.interface-4e956599.js';
5
5
  import { T as gsapTo, a3 as isNullOrUndefined, b as isWeb, w as debounce, K as getAsyncExtraData, i as isNativeMobile, bF as hasWebCam, b1 as showAlert, t as translate, s as showModal, n as getModalAnimation, af as showActionSheet, u as isArray, bo as closeModal, bn as keepAwake, m as isIOS, j as getSession, l as isAndroid } from './rrule-5a2de9bb.js';
6
- import { g as getMediaType, b as getMediaDimentionWithCanvas } from './index-6499210c.js';
7
- import { f as isMedia, b as isBase64, q as read, v as moveToImageDirectory } from './index-b1a3fcc3.js';
6
+ import { g as getMediaType, b as getMediaDimentionWithCanvas } from './index-b45a2bdf.js';
7
+ import { f as isMedia, b as isBase64, q as read, v as moveToImageDirectory } from './index-7a08441e.js';
8
8
  import { g as getUserDisplayName } from './entities-helpers-122c20c3.js';
9
9
  import { a as replaceAndGetAllLinks } from './url-helpers-91100b28.js';
10
10
  import { s as showPhotoEditor, u as sanitizeHTML, f as getAppContext } from './common-helpers-f3296dd7.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-27314512.js';
2
2
  import { Y as translateMulti, t as translate } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { w as getDownloadAction } from './index-b1a3fcc3.js';
4
+ import { w as getDownloadAction } from './index-7a08441e.js';
5
5
  import { p as pipes } from './pipe-e40e660a.js';
6
6
  import './ResizeObserver.es-a8772c31.js';
7
7
  import { s as showPhotoEditor } from './common-helpers-f3296dd7.js';
@@ -3,11 +3,11 @@ import { E as getCssColor, P as Cloudinary, b as isWeb } from './rrule-5a2de9bb.
3
3
  import './input-bar.interface-4e956599.js';
4
4
  import './ResizeObserver.es-a8772c31.js';
5
5
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
6
- import { u as updateSVGCustomColors } from './image-helpers-6373847f.js';
6
+ import { u as updateSVGCustomColors } from './image-helpers-6b281c05.js';
7
7
  import { i as isNumber } from './isNumber-5a14c4d5.js';
8
8
  import { g as get } from './get-3cbd3bd6.js';
9
9
  import './isUndefined-11cbe419.js';
10
- import './index-b1a3fcc3.js';
10
+ import './index-7a08441e.js';
11
11
  import './document-29cc0400.js';
12
12
  import './validate-691c9af1.js';
13
13
  import './isString-1673d591.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-27314512.js';
2
2
  import { b as isWeb, t as translate } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
- import { w as getDownloadAction } from './index-b1a3fcc3.js';
4
+ import { w as getDownloadAction } from './index-7a08441e.js';
5
5
  import { g as getUserDisplayName } from './entities-helpers-122c20c3.js';
6
6
  import './ResizeObserver.es-a8772c31.js';
7
7
  import { s as showPhotoEditor } from './common-helpers-f3296dd7.js';
@@ -2,11 +2,11 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
2
2
  import { S as ScreenOrientation } from './ResizeObserver.es-a8772c31.js';
3
3
  import { y as findParent, u as isArray, i as isNativeMobile, l as isAndroid, Y as translateMulti, s as showModal, b as isWeb, K as getAsyncExtraData, t as translate, an as showToast, W as gsapTimeline, T as gsapTo, bo as closeModal, z as isIphoneX, a2 as isPhotoEdited, as as isFunction } from './rrule-5a2de9bb.js';
4
4
  import './input-bar.interface-4e956599.js';
5
- import { a as isImageUrl } from './index-b1a3fcc3.js';
5
+ import { a as isImageUrl } from './index-7a08441e.js';
6
6
  import { c as capitalizeFirstLetter } from './entities-helpers-122c20c3.js';
7
7
  import { p as pipes } from './pipe-e40e660a.js';
8
8
  import { i as lockSwipes } from './common-helpers-f3296dd7.js';
9
- import { a as parseEntityForCardMedia } from './entities-helpers-5ef12ad3.js';
9
+ import { a as parseEntityForCardMedia } from './entities-helpers-2876d199.js';
10
10
  import { e as fuzzySearch } from './form-text-area-helpers-eff7814d.js';
11
11
  import { i as isImage, a as isVideo } from './document-29cc0400.js';
12
12
  import './isUndefined-11cbe419.js';
@@ -4,7 +4,7 @@ import './input-bar.interface-4e956599.js';
4
4
  import { p as pipes } from './pipe-e40e660a.js';
5
5
  import './ResizeObserver.es-a8772c31.js';
6
6
  import { f as getAppContext } from './common-helpers-f3296dd7.js';
7
- import { g as groupsFullResolver } from './entities-helpers-5ef12ad3.js';
7
+ import { g as groupsFullResolver } from './entities-helpers-2876d199.js';
8
8
  import './toInteger-9e62a9cd.js';
9
9
  import './toFinite-adaf76e2.js';
10
10
  import './toNumber-2273741c.js';
@@ -24,7 +24,7 @@ import './get-3cbd3bd6.js';
24
24
  import './identity-db011338.js';
25
25
  import './_baseEach-312405e0.js';
26
26
  import './isUndefined-11cbe419.js';
27
- import './index-b1a3fcc3.js';
27
+ import './index-7a08441e.js';
28
28
  import './document-29cc0400.js';
29
29
  import './validate-691c9af1.js';
30
30
  import './isString-1673d591.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
2
2
  import { d as commonjsGlobal, bL as getAugmentedNamespace, c as createCommonjsModule, p as getDefaultExportFromCjs, bM as Buffer, bu as getClosestImageRatio, b as isWeb, aq as dispatchCustomEvent, w as debounce$1, r as isFile, a as isOffline, a1 as compact, P as Cloudinary, _ as isCloudinaryLink, V as getCurrentLanguage } from './rrule-5a2de9bb.js';
3
3
  import { a as getFromOfflineStorage, g as getFromLocalForage, b as getKeyToCache } from './localForage-fb0baf03.js';
4
4
  import './input-bar.interface-4e956599.js';
5
- import { u as urlToFileBlob, x as b64ToFile, y as getVideoPoster, c as changeExtension } from './index-b1a3fcc3.js';
5
+ import { u as urlToFileBlob, x as b64ToFile, y as getVideoPoster, c as changeExtension } from './index-7a08441e.js';
6
6
  import { p as pipes } from './pipe-e40e660a.js';
7
7
  import { c as convertSrtToWebVTT } from './video-player-helpers-abeb792d.js';
8
8
  import './ResizeObserver.es-a8772c31.js';
@@ -2,10 +2,10 @@ import { r as registerInstance, c as createEvent, h, a as getAssetPath, H as Hos
2
2
  import { bh as isChromatic, t as translate } from './rrule-5a2de9bb.js';
3
3
  import './input-bar.interface-4e956599.js';
4
4
  import './ResizeObserver.es-a8772c31.js';
5
- import { u as updateSVGCustomColors } from './image-helpers-6373847f.js';
5
+ import { u as updateSVGCustomColors } from './image-helpers-6b281c05.js';
6
6
  import './isUndefined-11cbe419.js';
7
7
  import './isNumber-5a14c4d5.js';
8
- import './index-b1a3fcc3.js';
8
+ import './index-7a08441e.js';
9
9
  import './document-29cc0400.js';
10
10
  import './validate-691c9af1.js';
11
11
  import './isString-1673d591.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoobic/yobi",
3
- "version": "7.7.79",
3
+ "version": "7.7.80",
4
4
  "description": "Yobi - Yoobic Design System",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",
@@ -1 +0,0 @@
1
- import{M as o}from"./p-4d956bd4.js";import{_ as l,V as i,K as t,$ as n,j as e,Y as s,a0 as a,t as d,a1 as r,a2 as c}from"./p-a966475f.js";import{c as u,i as v}from"./p-15fd070c.js";import{t as p}from"./p-967f6f1d.js";import{g as f,r as m,c as g}from"./p-9430559f.js";import{p as b}from"./p-cf2b3a56.js";import{r as j}from"./p-8c8163b6.js";import{i as h}from"./p-0bb947fc.js";const x=/<yoo-mention-tag[^>]*>([\s\S]*?)<\/yoo-mention-tag>/g;function y(o){var e;const s={heading:"<b>"+f(o.user)+"</b>",subheadings:o.text?[o.text]:o.mediaSrc,date:b.dateFormat.transform(o.date,"fromNow"),users:[o.user],avatarSize:"medium",avatarFrame:"circle",mentions:o.mentions,allowOrientation:!0,isCommentMedia:(null===(e=null==o?void 0:o.mediaSrc)||void 0===e?void 0:e.length)>0,isChildComment:!!(null==o?void 0:o.parentRef)};s.subheadings&&s.subheadings[0]&&(s.subheadings=[m(s.subheadings[0],o.mentions)]);let a=!1;return!o.text||l(o.text)||o.text.endsWith(".gif")||(a=!0),o.userLanguage&&o.userLanguage!==i()&&a&&(s.translationCallback=()=>t({type:"translate-text",params:{text:j(n(o.text)),userLanguage:o.userLanguage}})),s}function I(o){const l=e(),i=[].concat(o);if(l.allGroups){const o=[];return i.forEach((i=>{const t=l.allGroups.find((o=>o._id===i));t&&!t.roleType&&o.push(t)})),o}return[]}function S(o,l){o.stopPropagation(),(null==l?void 0:l.user)&&t({type:"user-detail",params:{user:l.user}})}function $(o){if(O(o))if(o.matchAll)Array.from(o.matchAll(x)).forEach((l=>{o=o.replace(l[0],l[1])}));else{let l=!1;for(;O(o)&&!l;){const i=new RegExp(x,"g").exec(o);i[0]&&i[1]?o=o.replace(i[0],i[1]):l=!0}}return o}function O(o){return!!o.match(x)}function w(o,i,t,n,e,d,r){var v,m,b,j,x,y,I;let S,$={};if("photos"===t){const i=o;let t=i.fieldTitle||i.title;"multiphotos"===i.type&&h(i.multiIndex)&&(t+=" - "+(i.multiIndex+1).toString()),$={src:i.value,flagged:i.flagged&&!r,annotated:c(i)&&!r,user:i.user,location:i.location,date:i.date,text:t,tags:r?[]:i.tags,type:i.mediaType},"boolean"==typeof i.validated&&($=Object.assign($,{validated:i.validated&&!r}));const e="fullscreen"===n;e&&(S=o.userDisplayname,$.subheading=i.fieldTitle||i.title,$.text=null===(v=null==i?void 0:i.missiondescription)||void 0===v?void 0:v.title),$.src&&($.src=$.src.split(",")[0]),!e&&"video"===(null==i?void 0:i.mediaType)&&l(null==$?void 0:$.src)&&($.src=u($.src,"jpg"))}else if("custommodels"===t){const l=o;$={text:(l.title||l.name).toUpperCase(),src:(null===(m=l.background)||void 0===m?void 0:m._downloadURL)||l.background}}else if("missiondescriptiontemplates"===t){const l=o;$={text:(l.title||l.name).toUpperCase(),src:(null===(b=l.icon)||void 0===b?void 0:b._downloadURL)||l.icon}}else if("missiondescriptions"===t){const l=o;$={text:s(l.title),src:l.icon?l.icon._downloadURL||l.icon:l.background?l.background._downloadURL:l.background,tags:l.tags}}else if("courses"===t){const l="courses"===t?o.plan:o.plan||o;l&&($={text:s(l.title),src:l.background._downloadURL||l.background})}return $.actions=i?i.filter((l=>!l.isVisible||l.isVisible(o))).map((l=>p(l,o))):null,{mode:n,actions:$.actions,annotated:$.annotated,validated:$.validated,date:$.date?a($.date):null,flagged:$.flagged,headline:g($.text||""),location:null===(j=$.location)||void 0===j?void 0:j.address,locationImage:null===(x=$.location)||void 0===x?void 0:x.imageData,locationTitle:g((null===(y=$.location)||void 0===y?void 0:y.title)||""),overlaid:d,selected:"selection"===n,size:e,src:$.src,userImage:null===(I=$.user)||void 0===I?void 0:I.imageData,userFullName:S||g($.user?f($.user):""),tags:$.tags,type:$.type,subheading:g($.subheading||"")}}function N(l,i,t,n="large"){var s,a,c,u,p,m,g,j,h,x;let y,I={};i?(y=l,I.heading=y.name,I.imgSrc=y.background,I.users=y.background?null:y.users):(y=l,y.others&&y.others[0]?(I.heading=f(y.others[0])||"",I.users=[y.others[0]]||[]):(null===(s=y.users)||void 0===s?void 0:s.length)>1&&(I.heading=f(y.users[0])+" - "+f(y.users[1])),I.isOnline=y.isOnline);let S=y.lastMessage||"";const $=null===(a=null==y?void 0:y.lastMessageExtraParams)||void 0===a?void 0:a.type,O=v(null===(c=null==y?void 0:y.lastMessageExtraParams)||void 0===c?void 0:c.mediaSrc)||$===o.gif;let w;O?S="GIF":$!==o.photo&&$!==o.video&&$!==o.document||(S=`${d($.toUpperCase())}`),!y.lastMessageAlternate||$!==o.text&&$!==o.texturlpreview||(S="<b>"+S+"</b>"),S&&l.lastMessageSenderId!==e().userId&&i&&(w=l.users.find((o=>o._id===l.lastMessageSenderId)));const N=null===(u=null==y?void 0:y.chatStatus)||void 0===u?void 0:u.typing;$===o.audio&&(null===(p=null==y?void 0:y.lastMessageExtraParams)||void 0===p?void 0:p.duration)&&(S=`${b.timer.transform(Math.round(y.lastMessageExtraParams.duration)).substr(3)}`);const C=(null===(g=null===(m=null==y?void 0:y.options)||void 0===m?void 0:m.messageRecievedInfo)||void 0===g?void 0:g.length)===(null===(j=null==l?void 0:l.others)||void 0===j?void 0:j.length),z=[];let E;if(N&&Object.keys(N).length)if(Object.keys(N).forEach((o=>{if(N[o]){const l=y.users.find((l=>l._id===o));l&&z.push(l)}})),1===z.length)E=d("ISTYPINGUSER",{name:f(z[0])});else if(z.length>1){let o="";z.forEach(((l,i)=>{const t=f(l);o+=0!==i?`,${t}`:`${t}`})),E=d("ISTYPINGUSER",{name:o})}const F=E?null:r([l.lastMessageAlternate||"notification"===(null===(h=y.lastMessageExtraParams)||void 0===h?void 0:h.type)?null:{icon:(null===(x=null==y?void 0:y.options)||void 0===x?void 0:x.sentButNotPropagated)?"tick":"double-tick",color:C?"app-color":"stable"},w?{text:`${w.firstName||w.lastName||f(w)}:`}:null,$===o.audio?{icon:"microphone",color:"app-color"}:null,$===o.video?{icon:"play",color:"app-color"}:null,$===o.document?{icon:"file",color:"app-color"}:null,$===o.photo||$===o.gif?{icon:O?"gif":"image",color:"app-color"}:null]);return I=Object.assign(Object.assign({},I),{date:y.lastMessageDate?b.dateFormat.transform(y.lastMessageDate,"fromNow"):null,subheadings:[E?`<span class="app-color">${E}</span>`:S],unreads:t,avatarSize:n,allowCustomHtml:E,subheadingPrefixes:F}),I}export{w as a,N as b,I as g,S as o,y as p,$ as s}
@@ -1 +0,0 @@
1
- import{M as n}from"./p-4d956bd4.js";import{aj as i,i as o,M as t}from"./p-a966475f.js";import{f as a,b as r}from"./p-15fd070c.js";import{a as s,b as u,e,i as c}from"./p-9229f5bb.js";function l(i){return[n.photo,n.video,n.audio,n.gif].includes(i)}function f(i){return m(i)===n.notification}function d(i){const o=m(i);return l(o)||a(null==i?void 0:i.img)||o===n.document}function m(n){return(null==n?void 0:n.type)&&"chat"!==(null==n?void 0:n.type)?n.type:function(n){let i=n;return(null==n?void 0:n.indexOf)&&n.indexOf("<ionic-chat-image")>=0&&(i=n.replace('<ionic-chat-image src="',"").replace("</ionic-chat-image>","").replace('" >',"")),p(i)}((null==n?void 0:n.img)||(null==n?void 0:n.payload)||(null==n?void 0:n.message)||(null==n?void 0:n.photo))}function p(o){return s(o)?n.video:u(o)?n.audio:e(o)?n.document:r(o)||c(o)||i(o)?n.photo:n.text}function v(n){return n&&new Promise((i=>{const a=new Image;a.onload=()=>{i({width:a.width,height:a.height})};let r=n;o()&&n.indexOf&&n.indexOf("file://")>=0&&(r=t(n)),a.src=r}))}export{d as a,v as b,m as c,l as d,p as g,f as i}