@yoobic/yobi 7.7.41 → 7.7.42

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 (42) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/{draggable-tags-helpers-b353ad65.js → draggable-tags-helpers-2b62a9fa.js} +2 -1
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/yoo-form-categorize-words.cjs.entry.js +1 -1
  6. package/dist/cjs/yoo-form-choice_4.cjs.entry.js +1 -1
  7. package/dist/cjs/yoo-form-connect.cjs.entry.js +204 -323
  8. package/dist/cjs/yoo-form-image-tagging.cjs.entry.js +1 -1
  9. package/dist/cjs/yoo-form-missing-word.cjs.entry.js +1 -1
  10. package/dist/cjs/yoo-form-ranking.cjs.entry.js +1 -1
  11. package/dist/cjs/yoo-form-swipe-cards.cjs.entry.js +1 -1
  12. package/dist/collection/components/form/form-connect/form-connect.css +35 -33
  13. package/dist/collection/components/form/form-connect/form-connect.js +207 -375
  14. package/dist/collection/components/form/form-connect/types/index.js +1 -1
  15. package/dist/collection/utils/helpers/draggable-tags-helpers.js +2 -1
  16. package/dist/design-system/design-system.esm.js +1 -1
  17. package/dist/design-system/index.esm.js +1 -1
  18. package/dist/design-system/p-25ffc253.entry.js +1 -0
  19. package/dist/design-system/{p-d5b214f0.entry.js → p-37f863a9.entry.js} +1 -1
  20. package/dist/design-system/{p-adbb882f.entry.js → p-484eb9f2.entry.js} +1 -1
  21. package/dist/design-system/{p-f013d119.entry.js → p-82954c87.entry.js} +1 -1
  22. package/dist/design-system/{p-619154de.entry.js → p-a6091b4d.entry.js} +1 -1
  23. package/dist/design-system/p-f30db1be.js +1 -0
  24. package/dist/design-system/{p-800cb056.entry.js → p-f4317e29.entry.js} +1 -1
  25. package/dist/design-system/{p-47077c2f.entry.js → p-f61d59d7.entry.js} +1 -1
  26. package/dist/esm/design-system.js +1 -1
  27. package/dist/esm/{draggable-tags-helpers-e3b9cd11.js → draggable-tags-helpers-504b4b6d.js} +2 -1
  28. package/dist/esm/index.js +1 -1
  29. package/dist/esm/loader.js +1 -1
  30. package/dist/esm/yoo-form-categorize-words.entry.js +1 -1
  31. package/dist/esm/yoo-form-choice_4.entry.js +1 -1
  32. package/dist/esm/yoo-form-connect.entry.js +206 -325
  33. package/dist/esm/yoo-form-image-tagging.entry.js +1 -1
  34. package/dist/esm/yoo-form-missing-word.entry.js +1 -1
  35. package/dist/esm/yoo-form-ranking.entry.js +1 -1
  36. package/dist/esm/yoo-form-swipe-cards.entry.js +1 -1
  37. package/dist/types/components/form/form-connect/form-connect.d.ts +31 -48
  38. package/dist/types/components/form/form-connect/types/index.d.ts +4 -5
  39. package/dist/types/components.d.ts +0 -9
  40. package/package.json +1 -1
  41. package/dist/design-system/p-72fe82e5.js +0 -1
  42. package/dist/design-system/p-ab3cb64c.entry.js +0 -1
@@ -27,8 +27,9 @@ function getNewValue(oldValues, newValues) {
27
27
  return checkArray(newValues) && newValues.filter((value) => !oldValues.includes(value))[0];
28
28
  }
29
29
  function showWarningAlert(container, show = true, messageKey = 'NODUPLICATEVALUES') {
30
+ var _a;
30
31
  if (container && messageKey) {
31
- const bannerElement = container.querySelector('yoo-banner');
32
+ const bannerElement = container.querySelector('yoo-banner') || ((_a = container === null || container === void 0 ? void 0 : container.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('yoo-banner'));
32
33
  if (bannerElement) {
33
34
  bannerElement.heading = translate(messageKey);
34
35
  const bannerHeight = bannerElement.clientHeight;
package/dist/esm/index.js CHANGED
@@ -12,7 +12,7 @@ export { c as changeRgbOpacity } from './color-helpers-03a5e1b1.js';
12
12
  export { A as cloudinary, t as dateRangeState, d as debounceEvent, c as decreaseMaxHeight, e as execHandlerAndStopEvent, p as filterDuplicateItems, k as getActiveElementShadow, f as getAppContext, x as getConfig, h as getNextValueInArray, r as getNotificationIcon, b as getScreenHeight, g as getScreenWidth, w as getSizeModal, j as getWindowHeightRatio, n as hideShowSearchBar, o as hideShowTabbar, v as isHexaOrRGBColor, m as lifecycleEvents, l as loadScript, i as lockSwipes, y as querySelectorAllDeep, z as querySelectorDeep, u as sanitizeHTML, q as setColorSVG, s as showPhotoEditor, a as showSlidesMedia } from './common-helpers-736b1b33.js';
13
13
  export { g as getElementDimensions } from './dimensions-helpers-74309fae.js';
14
14
  export { c as createDot, d as deleteDot, a as deleteDots, b as deleteEmptyDots, i as getDotCoordsFromEvent, k as getDotInnerElement, j as getDotToolTipElement, h as hideAllDotTooltips, e as hideAllUnFocusedTooltips, r as reorderDotIndexes, f as saveTooltipContent, g as setDotEditable, l as setDotIndexes, s as showDotTooltip } from './draggable-dots-helpers-f23e5266.js';
15
- export { q as animateTags, d as checkArray, t as dropToZone, f as filterDuplicateEntries, j as getDroppedTagsValues, g as getDuplicatedValue, b as getNewValue, k as getTagZone, e as getTagsValues, i as hasDropZones, a as hasDuplicates, h as hasValuesChanged, p as initTags, u as initZones, n as isDropZoneFull, o as isTagInZone, m as isTagOverlapping, l as isTagsZone, r as resetTags, s as setDynamicTagZoneHeight, c as showWarningAlert } from './draggable-tags-helpers-e3b9cd11.js';
15
+ export { q as animateTags, d as checkArray, t as dropToZone, f as filterDuplicateEntries, j as getDroppedTagsValues, g as getDuplicatedValue, b as getNewValue, k as getTagZone, e as getTagsValues, i as hasDropZones, a as hasDuplicates, h as hasValuesChanged, p as initTags, u as initZones, n as isDropZoneFull, o as isTagInZone, m as isTagOverlapping, l as isTagsZone, r as resetTags, s as setDynamicTagZoneHeight, c as showWarningAlert } from './draggable-tags-helpers-504b4b6d.js';
16
16
  export { g as groupsFullResolver, o as onUserClick, p as parseEntityCommentsForCardList, b as parseEntityForCardListChat, a as parseEntityForCardMedia, s as sanitizeMentionTag } from './entities-helpers-c4121e55.js';
17
17
  export { d as generateLabel, e as getDynamicProperty, f as getJSONHighlighted, g as getTypeValidation, h as initArrayValue, i as isCreationAllowed, c as isDisabled, b as isReadonly, a as isRequired, s as setFieldData, u as updateFormulas } from './form-helpers-6f30100d.js';
18
18
  export { c as blurActiveElement, d as convertValueForInputType, f as focusContentEditable, e as formatMinMaxDate, i as getFormBottomPosition, g as getTimeDisplayValue, n as initNumber, k as onFocus, h as onIconClicked, m as onInputBlurred, o as onInputClear, l as onInputFocused, j as onValidityChanged, s as setValidator, a as setValueAndResetInputValidity, b as setValueAndValidateInput, t as taskStyle, v as validate } from './form-input-helpers-d7f93f16.js';