@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.
- package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +8 -3
- package/dist/cjs/yoo-camera-preview-dialog_7.cjs.entry.js +1 -1
- package/dist/collection/components/2.molecules/audio-player/audio-player.js +3 -2
- package/dist/collection/components/form/form-capture/form-capture.js +1 -1
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +5 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-4010eb38.entry.js → p-8916bfb9.entry.js} +2 -2
- package/dist/design-system/{p-cf376fc8.entry.js → p-96f005f0.entry.js} +1 -1
- package/dist/esm/yoo-ag-grid_96.entry.js +8 -3
- package/dist/esm/yoo-camera-preview-dialog_7.entry.js +1 -1
- package/package.json +1 -1
|
@@ -21,12 +21,12 @@ const omit = require('./omit-98cabf03.js');
|
|
|
21
21
|
const isString$1 = require('./isString-3831bf92.js');
|
|
22
22
|
const mapHelpers = require('./map-helpers-7a5b166e.js');
|
|
23
23
|
const index$1 = require('./index-37d74415.js');
|
|
24
|
+
const mediaHelpers = require('./media-helpers-a50e22a0.js');
|
|
24
25
|
const localForage = require('./localForage-402c4c99.js');
|
|
25
26
|
const entitiesHelpers = require('./entities-helpers-94acd9c9.js');
|
|
26
27
|
const pipe = require('./pipe-b9cb49dc.js');
|
|
27
28
|
const boostHelpers = require('./boost-helpers-e3df1c5e.js');
|
|
28
29
|
const formHelpers$1 = require('./form-helpers-dca81468.js');
|
|
29
|
-
const mediaHelpers = require('./media-helpers-a50e22a0.js');
|
|
30
30
|
const observerHelpers = require('./observer-helpers-d27af640.js');
|
|
31
31
|
const button_factory = require('./button.factory-1d51c9b5.js');
|
|
32
32
|
const isEmpty = require('./isEmpty-ea43c942.js');
|
|
@@ -96469,11 +96469,12 @@ const YooAudioPlayerComponent = class {
|
|
|
96469
96469
|
}
|
|
96470
96470
|
if (rrule.isCloudinaryLink(newSrc)) {
|
|
96471
96471
|
newSrc = new rrule.Cloudinary(newSrc).boost(this.boost).getUrl();
|
|
96472
|
-
|
|
96472
|
+
newSrc = index$1.changeExtension(newSrc, 'wav');
|
|
96473
96473
|
}
|
|
96474
96474
|
else if (newSrc === null || newSrc === void 0 ? void 0 : newSrc.startsWith('file://')) {
|
|
96475
96475
|
return rrule.cleanupWKWebViewImagePath(newSrc);
|
|
96476
96476
|
}
|
|
96477
|
+
newSrc = mediaHelpers.getMedia(newSrc);
|
|
96477
96478
|
return newSrc;
|
|
96478
96479
|
});
|
|
96479
96480
|
}
|
|
@@ -127124,7 +127125,9 @@ const YooFormDynamicComponent = class {
|
|
|
127124
127125
|
label: formHelpers.generateLabel(field),
|
|
127125
127126
|
min: field.min || 1,
|
|
127126
127127
|
max: field.max || 1,
|
|
127127
|
-
multiple: field.multiple
|
|
127128
|
+
multiple: field.multiple,
|
|
127129
|
+
extraData: this.getExtraData(field, data),
|
|
127130
|
+
onExtraDataChanged: (ev) => this.onFieldExtraDataChanged(ev, field)
|
|
127128
127131
|
};
|
|
127129
127132
|
break;
|
|
127130
127133
|
case inputBar_interface.FormFieldType.video:
|
|
@@ -127139,6 +127142,8 @@ const YooFormDynamicComponent = class {
|
|
|
127139
127142
|
max: field.max || 1,
|
|
127140
127143
|
multiple: field.multiple,
|
|
127141
127144
|
maximumCaptureSize: 1000 * 1000 * 1000,
|
|
127145
|
+
extraData: this.getExtraData(field, data),
|
|
127146
|
+
onExtraDataChanged: (ev) => this.onFieldExtraDataChanged(ev, field),
|
|
127142
127147
|
onGetMediaurl: (ev) => this.onFieldGetMediaUrl(field, ev)
|
|
127143
127148
|
};
|
|
127144
127149
|
break;
|
|
@@ -1205,8 +1205,8 @@ const YooFormCaptureComponent = class {
|
|
|
1205
1205
|
else {
|
|
1206
1206
|
this.extraData['tags'] = [];
|
|
1207
1207
|
newExtraData = this.extraData;
|
|
1208
|
+
this.extraDataChanged.emit(newExtraData);
|
|
1208
1209
|
}
|
|
1209
|
-
this.extraDataChanged.emit(newExtraData);
|
|
1210
1210
|
}
|
|
1211
1211
|
openPhotoEditorPreview(index, forceReadonly = false) {
|
|
1212
1212
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { changeExtension, cleanupWKWebViewImagePath, Cloudinary, getUUID, isCloudinaryLink, isFile, isNativeMobile, isWeb, translate } from '@shared/utils';
|
|
1
|
+
import { changeExtension, cleanupWKWebViewImagePath, Cloudinary, getMedia, getUUID, isCloudinaryLink, isFile, isNativeMobile, isWeb, translate } from '@shared/utils';
|
|
2
2
|
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from '@stencil/core';
|
|
3
3
|
import { getFromOfflineStorage } from '@utils';
|
|
4
4
|
export class YooAudioPlayerComponent {
|
|
@@ -49,11 +49,12 @@ export class YooAudioPlayerComponent {
|
|
|
49
49
|
}
|
|
50
50
|
if (isCloudinaryLink(newSrc)) {
|
|
51
51
|
newSrc = new Cloudinary(newSrc).boost(this.boost).getUrl();
|
|
52
|
-
|
|
52
|
+
newSrc = changeExtension(newSrc, 'wav');
|
|
53
53
|
}
|
|
54
54
|
else if (newSrc === null || newSrc === void 0 ? void 0 : newSrc.startsWith('file://')) {
|
|
55
55
|
return cleanupWKWebViewImagePath(newSrc);
|
|
56
56
|
}
|
|
57
|
+
newSrc = getMedia(newSrc);
|
|
57
58
|
return newSrc;
|
|
58
59
|
});
|
|
59
60
|
}
|
|
@@ -797,8 +797,8 @@ export class YooFormCaptureComponent {
|
|
|
797
797
|
else {
|
|
798
798
|
this.extraData['tags'] = [];
|
|
799
799
|
newExtraData = this.extraData;
|
|
800
|
+
this.extraDataChanged.emit(newExtraData);
|
|
800
801
|
}
|
|
801
|
-
this.extraDataChanged.emit(newExtraData);
|
|
802
802
|
}
|
|
803
803
|
openPhotoEditorPreview(index, forceReadonly = false) {
|
|
804
804
|
var _a;
|
|
@@ -3344,7 +3344,9 @@ export class YooFormDynamicComponent {
|
|
|
3344
3344
|
label: generateLabel(field),
|
|
3345
3345
|
min: field.min || 1,
|
|
3346
3346
|
max: field.max || 1,
|
|
3347
|
-
multiple: field.multiple
|
|
3347
|
+
multiple: field.multiple,
|
|
3348
|
+
extraData: this.getExtraData(field, data),
|
|
3349
|
+
onExtraDataChanged: (ev) => this.onFieldExtraDataChanged(ev, field)
|
|
3348
3350
|
};
|
|
3349
3351
|
break;
|
|
3350
3352
|
case FormFieldType.video:
|
|
@@ -3359,6 +3361,8 @@ export class YooFormDynamicComponent {
|
|
|
3359
3361
|
max: field.max || 1,
|
|
3360
3362
|
multiple: field.multiple,
|
|
3361
3363
|
maximumCaptureSize: 1000 * 1000 * 1000,
|
|
3364
|
+
extraData: this.getExtraData(field, data),
|
|
3365
|
+
onExtraDataChanged: (ev) => this.onFieldExtraDataChanged(ev, field),
|
|
3362
3366
|
onGetMediaurl: (ev) => this.onFieldGetMediaUrl(field, ev)
|
|
3363
3367
|
};
|
|
3364
3368
|
break;
|