@yoobic/yobi 7.7.127 → 7.7.128

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.
@@ -17,12 +17,12 @@ import { i as isPlainObject$1, o as omit } from './omit-1ba3f860.js';
17
17
  import { i as isString$1 } from './isString-875f32ea.js';
18
18
  import { h as hasSameMarkers, g as generateFilterGroups, l as layersFromKeys, s as showDirectionsActionSheet, c as isWebGLSupported, b as getMapCSSClasses, i as isMarkersLayer, a as isSelectedMarkersLayer } from './map-helpers-cbd10fb2.js';
19
19
  import { c as changeExtension, g as getUUID, f as isMedia, n as downloadFile, i as isGif, w as getDownloadAction, C as isDocumentDownloadSupported, s as showDocumentDownloadOptions, b as isBase64, D as openBase64File, t as toPng, d as getIconName, e as getIconColor, E as isDocumentEmailSupported, F as showPdfOnDevice, G as getNativeDirectory, H as fileNativeCheckFile, I as downloadFileToDevice, J as urlToBlob, y as getVideoPoster } from './index-05ad29bd.js';
20
+ import { g as getMedia, s as setSecuredContent, i as isYoobicSecuredDocTenant } from './media-helpers-04330e6c.js';
20
21
  import { a as getFromOfflineStorage, g as getFromLocalForage, b as getKeyToCache } from './localForage-3e687bba.js';
21
22
  import { g as getUserDisplayName, r as replaceAtTagToMentionTag, k as hasAttachment, c as capitalizeFirstLetter$1 } from './entities-helpers-65961d0d.js';
22
23
  import { p as pipes } from './pipe-c209bf58.js';
23
24
  import { a as getPlanDueDate, h as getPlanStartDate, i as isPlanInFuture, j as isPlanRatingEnabled, s as showRatingDialog, b as isContentOnly, g as getLessonTypeIcon, f as isQuiz, k as isTimedQuiz, l as isConfidenceAssesment } from './boost-helpers-0dd4e1c9.js';
24
25
  import { k as isFieldWithNoValue, b as getFieldValue, s as slenderizeObject, q as isVisible$1, r as hasValue, u as updateDatasetFilters, o as answerIsValid, c as getFieldReplacement, e as evalInContext } from './form-helpers-732e77e5.js';
25
- import { s as setSecuredContent, g as getMedia, i as isYoobicSecuredDocTenant } from './media-helpers-04330e6c.js';
26
26
  import { i as isIntersectionObserverSupported, a as intersectionObserve, r as resizeObserve } from './observer-helpers-5300ac14.js';
27
27
  import { g as getButton } from './button.factory-139ca517.js';
28
28
  import { i as isEmpty } from './isEmpty-090ef8c4.js';
@@ -96465,11 +96465,12 @@ const YooAudioPlayerComponent = class {
96465
96465
  }
96466
96466
  if (isCloudinaryLink(newSrc)) {
96467
96467
  newSrc = new Cloudinary(newSrc).boost(this.boost).getUrl();
96468
- return changeExtension(newSrc, 'wav');
96468
+ newSrc = changeExtension(newSrc, 'wav');
96469
96469
  }
96470
96470
  else if (newSrc === null || newSrc === void 0 ? void 0 : newSrc.startsWith('file://')) {
96471
96471
  return cleanupWKWebViewImagePath(newSrc);
96472
96472
  }
96473
+ newSrc = getMedia(newSrc);
96473
96474
  return newSrc;
96474
96475
  });
96475
96476
  }
@@ -127120,7 +127121,9 @@ const YooFormDynamicComponent = class {
127120
127121
  label: generateLabel(field),
127121
127122
  min: field.min || 1,
127122
127123
  max: field.max || 1,
127123
- multiple: field.multiple
127124
+ multiple: field.multiple,
127125
+ extraData: this.getExtraData(field, data),
127126
+ onExtraDataChanged: (ev) => this.onFieldExtraDataChanged(ev, field)
127124
127127
  };
127125
127128
  break;
127126
127129
  case FormFieldType.video:
@@ -127135,6 +127138,8 @@ const YooFormDynamicComponent = class {
127135
127138
  max: field.max || 1,
127136
127139
  multiple: field.multiple,
127137
127140
  maximumCaptureSize: 1000 * 1000 * 1000,
127141
+ extraData: this.getExtraData(field, data),
127142
+ onExtraDataChanged: (ev) => this.onFieldExtraDataChanged(ev, field),
127138
127143
  onGetMediaurl: (ev) => this.onFieldGetMediaUrl(field, ev)
127139
127144
  };
127140
127145
  break;
@@ -1201,8 +1201,8 @@ const YooFormCaptureComponent = class {
1201
1201
  else {
1202
1202
  this.extraData['tags'] = [];
1203
1203
  newExtraData = this.extraData;
1204
+ this.extraDataChanged.emit(newExtraData);
1204
1205
  }
1205
- this.extraDataChanged.emit(newExtraData);
1206
1206
  }
1207
1207
  openPhotoEditorPreview(index, forceReadonly = false) {
1208
1208
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoobic/yobi",
3
- "version": "7.7.127",
3
+ "version": "7.7.128",
4
4
  "description": "Yobi - Yoobic Design System",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",