@yoobic/yobi 8.5.0-63 → 8.5.0-64

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 (49) hide show
  1. package/dist/cjs/{form-choice-helpers-b3d03d83.js → form-choice-helpers-7911fdac.js} +1 -2
  2. package/dist/cjs/yoo-chart.cjs.entry.js +618 -15
  3. package/dist/cjs/yoo-chat.cjs.entry.js +7 -13
  4. package/dist/cjs/yoo-form-choice-button.cjs.entry.js +5 -6
  5. package/dist/cjs/yoo-form-choice-card.cjs.entry.js +1 -2
  6. package/dist/cjs/yoo-form-choice-chat.cjs.entry.js +1 -2
  7. package/dist/cjs/yoo-form-choice-image.cjs.entry.js +1 -2
  8. package/dist/cjs/yoo-form-choice-radio.cjs.entry.js +1 -2
  9. package/dist/cjs/yoo-grid-calendar.cjs.entry.js +1 -2
  10. package/dist/cjs/yoo-photo-editor.cjs.entry.js +11 -5
  11. package/dist/cjs/yoo-slides-media.cjs.entry.js +5 -8
  12. package/dist/collection/components/3.organisms/photo-editor/components/menu.js +3 -3
  13. package/dist/collection/components/3.organisms/photo-editor/photo-editor.js +27 -2
  14. package/dist/collection/components/form/form-choice/button/form-choice-button.js +1 -1
  15. package/dist/collection/components/form/form-choice/readonly-card/readonly-card.js +1 -1
  16. package/dist/collection/components/form/slides-media/slides-media.css +1 -0
  17. package/dist/collection/components/form/slides-media/slides-media.js +4 -7
  18. package/dist/collection/components/grid/grid-calendar/grid-calendar.js +1 -2
  19. package/dist/collection/feature-communicate/chat/chat/chat.js +8 -14
  20. package/dist/{esm/form-choice-helpers-47f8f7a0.js → design-system/form-choice-helpers-a204024f.js} +2 -3
  21. package/dist/design-system/yoo-chart.entry.js +604 -1
  22. package/dist/design-system/yoo-chat.entry.js +8 -14
  23. package/dist/design-system/yoo-form-choice-button.entry.js +5 -6
  24. package/dist/design-system/yoo-form-choice-card.entry.js +1 -2
  25. package/dist/design-system/yoo-form-choice-chat.entry.js +1 -2
  26. package/dist/design-system/yoo-form-choice-image.entry.js +1 -2
  27. package/dist/design-system/yoo-form-choice-radio.entry.js +1 -2
  28. package/dist/design-system/yoo-grid-calendar.entry.js +2 -3
  29. package/dist/design-system/yoo-photo-editor.entry.js +11 -5
  30. package/dist/design-system/yoo-slides-media.entry.js +5 -8
  31. package/dist/{design-system/form-choice-helpers-47f8f7a0.js → esm/form-choice-helpers-a204024f.js} +2 -3
  32. package/dist/esm/yoo-chart.entry.js +604 -1
  33. package/dist/esm/yoo-chat.entry.js +8 -14
  34. package/dist/esm/yoo-form-choice-button.entry.js +5 -6
  35. package/dist/esm/yoo-form-choice-card.entry.js +1 -2
  36. package/dist/esm/yoo-form-choice-chat.entry.js +1 -2
  37. package/dist/esm/yoo-form-choice-image.entry.js +1 -2
  38. package/dist/esm/yoo-form-choice-radio.entry.js +1 -2
  39. package/dist/esm/yoo-grid-calendar.entry.js +2 -3
  40. package/dist/esm/yoo-photo-editor.entry.js +11 -5
  41. package/dist/esm/yoo-slides-media.entry.js +5 -8
  42. package/dist/types/components/3.organisms/photo-editor/photo-editor.d.ts +4 -0
  43. package/dist/types/components.d.ts +4 -0
  44. package/dist/types/feature-communicate/chat/chat/chat.d.ts +2 -3
  45. package/package.json +1 -1
  46. package/dist/cjs/highcharts-874d9bd2.js +0 -609
  47. package/dist/design-system/highcharts-c1be7540.js +0 -607
  48. package/dist/esm/highcharts-c1be7540.js +0 -607
  49. package/dist/types/components/form/image-cropper-dialog/pintura/pintura.d.ts +0 -1236
@@ -7,7 +7,6 @@ const formInputHelpers = require('./form-input-helpers-3c2cd259.js');
7
7
  const index = require('./index-9ca0e46c.js');
8
8
  const commonHelpers = require('./common-helpers-266b26c4.js');
9
9
  const index$1 = require('./index-9236f182.js');
10
- const highcharts = require('./highcharts-874d9bd2.js');
11
10
 
12
11
  const ReadonlyCard = ({ value, values, answer, valuesColor, classNames }) => {
13
12
  var _a;
@@ -15,7 +14,7 @@ const ReadonlyCard = ({ value, values, answer, valuesColor, classNames }) => {
15
14
  return index.h("div", { class: { [classes]: !!classes, 'readonly-card': true } }, !!value && ((_a = (Array.isArray(value) ? value : [value])) === null || _a === void 0 ? void 0 : _a.map((val) => {
16
15
  var _a, _b;
17
16
  const isCorrect = answer === null || answer === void 0 ? void 0 : answer.includes(val);
18
- const title = (_a = values === null || values === void 0 ? void 0 : values.find((v) => !highcharts.highcharts.isString(v) && (v === null || v === void 0 ? void 0 : v.value) === val)) === null || _a === void 0 ? void 0 : _a.title;
17
+ const title = (_a = values === null || values === void 0 ? void 0 : values.find((v) => !lodash.isString(v) && (v === null || v === void 0 ? void 0 : v.value) === val)) === null || _a === void 0 ? void 0 : _a.title;
19
18
  return index.h("div", { class: { text: true, valid: answer && isCorrect, invalid: answer && !isCorrect }, style: { color: (_b = valuesColor === null || valuesColor === void 0 ? void 0 : valuesColor.find(e => e.key === val)) === null || _b === void 0 ? void 0 : _b.value }, innerHTML: index$1.translateMulti(title || val) });
20
19
  })));
21
20
  };