@yoobic/yobi 7.7.79 → 7.7.83
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/{draggable-dots-helpers-7b039be2.js → draggable-dots-helpers-9650a4b7.js} +1 -1
- package/dist/cjs/{entities-helpers-f38b1b38.js → entities-helpers-c6ed72dc.js} +1 -1
- package/dist/cjs/{grid-renderers-5830bf4a.js → grid-renderers-f5edc87d.js} +5 -1
- package/dist/cjs/{image-helpers-9a455e5c.js → image-helpers-ea15b526.js} +1 -1
- package/dist/cjs/{index-8f834b3c.js → index-4e7dd1d7.js} +1 -1
- package/dist/cjs/{index-5d6b2f8d.js → index-a81f813c.js} +1 -1
- package/dist/cjs/{index-203cb7c1.js → index-e2b47ee9.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/yoo-action-sheet-controller_15.cjs.entry.js +24 -23
- package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +5 -5
- package/dist/cjs/yoo-audio-recorder-dialog.cjs.entry.js +1 -1
- package/dist/cjs/yoo-avatar_5.cjs.entry.js +2 -2
- package/dist/cjs/yoo-camera-preview-dialog_7.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-header.cjs.entry.js +2 -2
- package/dist/cjs/yoo-card-list-image_12.cjs.entry.js +4 -4
- package/dist/cjs/yoo-chat-message_3.cjs.entry.js +8 -8
- package/dist/cjs/yoo-chat.cjs.entry.js +14 -23
- package/dist/cjs/yoo-detail-bar.cjs.entry.js +2 -2
- package/dist/cjs/yoo-feed-detail.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-choice_4.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-conditions.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-connect.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-block-simple_4.cjs.entry.js +3 -3
- package/dist/cjs/yoo-form-creator-card_2.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-field-selector_8.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-creator.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-image-tagging-creator.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-incentive-targets.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-multi-input.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-reorder.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-stripe-card.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-swipe-cards.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-text-editor.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-uploader.cjs.entry.js +1 -1
- package/dist/cjs/yoo-input-bar.cjs.entry.js +2 -2
- package/dist/cjs/yoo-location-heading.cjs.entry.js +1 -1
- package/dist/cjs/yoo-podium.cjs.entry.js +2 -2
- package/dist/cjs/yoo-profile-summary.cjs.entry.js +1 -1
- package/dist/cjs/yoo-slides-media.cjs.entry.js +2 -2
- package/dist/cjs/yoo-user-profile.cjs.entry.js +2 -2
- package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +1 -1
- package/dist/cjs/yoo-walkthrough.cjs.entry.js +2 -2
- package/dist/collection/components/core/chat/chat.js +12 -21
- package/dist/collection/components/core/chat-message/chat-message.js +6 -6
- package/dist/collection/components/entities/card-list/card-list.js +1 -1
- package/dist/collection/components/entities/entity/entity.js +19 -18
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.css +2 -1
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +1 -1
- package/dist/collection/components/form/form-carousel/form-carousel.js +1 -1
- package/dist/collection/components/grid/ag-grid/grid-renderers.js +5 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-e4481945.entry.js → p-09c9cf30.entry.js} +2 -2
- package/dist/design-system/{p-49d34fa0.entry.js → p-0e9e24dc.entry.js} +1 -1
- package/dist/design-system/{p-87d146a4.entry.js → p-1fbf2bdc.entry.js} +1 -1
- package/dist/design-system/{p-88639e39.entry.js → p-23ad22ef.entry.js} +1 -1
- package/dist/design-system/p-27145597.entry.js +1 -0
- package/dist/design-system/{p-0195a944.entry.js → p-28b6f2af.entry.js} +1 -1
- package/dist/design-system/{p-931c8de0.entry.js → p-2a056ca7.entry.js} +1 -1
- package/dist/design-system/{p-c61d0b98.entry.js → p-2c1dff83.entry.js} +1 -1
- package/dist/design-system/{p-a1e6e5c2.entry.js → p-2d6b451c.entry.js} +1 -1
- package/dist/design-system/{p-f7afffac.entry.js → p-2ede5c0e.entry.js} +1 -1
- package/dist/design-system/{p-0bb29465.entry.js → p-32603f55.entry.js} +1 -1
- package/dist/design-system/{p-8c63a863.entry.js → p-34e0ec13.entry.js} +1 -1
- package/dist/design-system/p-41bd35bc.entry.js +1 -0
- package/dist/design-system/{p-19ced087.entry.js → p-466a2e4b.entry.js} +1 -1
- package/dist/design-system/{p-efd4983d.js → p-486e9464.js} +1 -1
- package/dist/design-system/{p-874c9807.entry.js → p-4e181258.entry.js} +1 -1
- package/dist/design-system/p-4ea7e509.js +1 -0
- package/dist/design-system/{p-cccb3658.entry.js → p-4f7b5084.entry.js} +1 -1
- package/dist/design-system/p-508eaccb.entry.js +1 -0
- package/dist/design-system/p-52b2bcbf.js +1 -0
- package/dist/design-system/{p-e954f42f.entry.js → p-5d9b02a3.entry.js} +1 -1
- package/dist/design-system/{p-3c525d77.entry.js → p-6470e707.entry.js} +1 -1
- package/dist/design-system/{p-dcdf128d.entry.js → p-6a6283bb.entry.js} +1 -1
- package/dist/design-system/{p-f4eb8b04.entry.js → p-71ce140b.entry.js} +1 -1
- package/dist/design-system/{p-b4bf0927.entry.js → p-78e069f3.entry.js} +1 -1
- package/dist/design-system/{p-ea80408e.entry.js → p-79fea067.entry.js} +1 -1
- package/dist/design-system/{p-0e502a87.entry.js → p-83aa89ad.entry.js} +1 -1
- package/dist/design-system/{p-5d67f58e.entry.js → p-85307152.entry.js} +1 -1
- package/dist/design-system/{p-9f170821.entry.js → p-8bf049b5.entry.js} +1 -1
- package/dist/design-system/{p-ff385bd5.entry.js → p-af4cfea4.entry.js} +1 -1
- package/dist/design-system/{p-19fa14b3.entry.js → p-bab8cef4.entry.js} +1 -1
- package/dist/design-system/{p-77376751.entry.js → p-cb9c30a3.entry.js} +1 -1
- package/dist/design-system/{p-c60e5af0.entry.js → p-cc4aeee9.entry.js} +1 -1
- package/dist/design-system/{p-a70e359c.entry.js → p-d51ee577.entry.js} +1 -1
- package/dist/design-system/{p-7d62f3fe.entry.js → p-db225b69.entry.js} +1 -1
- package/dist/design-system/p-db36fb06.js +1 -0
- package/dist/design-system/{p-15fd070c.js → p-e37ba040.js} +1 -1
- package/dist/design-system/{p-4b5b0147.entry.js → p-e70980f6.entry.js} +1 -1
- package/dist/design-system/{p-d54fe233.entry.js → p-e8327344.entry.js} +1 -1
- package/dist/design-system/{p-fd870eb7.js → p-e9993e20.js} +1 -1
- package/dist/design-system/{p-52f6ebf1.entry.js → p-ea46fc83.entry.js} +1 -1
- package/dist/design-system/{p-263c9bdb.js → p-ef754e66.js} +1 -1
- package/dist/design-system/{p-f7b10ee1.entry.js → p-f0c01c22.entry.js} +1 -1
- package/dist/esm/{draggable-dots-helpers-c77468b6.js → draggable-dots-helpers-64c79f38.js} +1 -1
- package/dist/esm/{entities-helpers-5ef12ad3.js → entities-helpers-2876d199.js} +1 -1
- package/dist/esm/{grid-renderers-ad52eacd.js → grid-renderers-1dd42472.js} +5 -1
- package/dist/esm/{image-helpers-6373847f.js → image-helpers-6b281c05.js} +1 -1
- package/dist/esm/{index-f25c3fe6.js → index-6f7890f4.js} +1 -1
- package/dist/esm/{index-b1a3fcc3.js → index-7a08441e.js} +1 -1
- package/dist/esm/{index-6499210c.js → index-b45a2bdf.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/yoo-action-sheet-controller_15.entry.js +24 -23
- package/dist/esm/yoo-ag-grid_96.entry.js +5 -5
- package/dist/esm/yoo-audio-recorder-dialog.entry.js +1 -1
- package/dist/esm/yoo-avatar_5.entry.js +2 -2
- package/dist/esm/yoo-camera-preview-dialog_7.entry.js +1 -1
- package/dist/esm/yoo-card-header.entry.js +2 -2
- package/dist/esm/yoo-card-list-image_12.entry.js +4 -4
- package/dist/esm/yoo-chat-message_3.entry.js +8 -8
- package/dist/esm/yoo-chat.entry.js +14 -23
- package/dist/esm/yoo-detail-bar.entry.js +2 -2
- package/dist/esm/yoo-feed-detail.entry.js +1 -1
- package/dist/esm/yoo-form-choice_4.entry.js +2 -2
- package/dist/esm/yoo-form-conditions.entry.js +1 -1
- package/dist/esm/yoo-form-connect.entry.js +1 -1
- package/dist/esm/yoo-form-creator-block-expandable.entry.js +2 -2
- package/dist/esm/yoo-form-creator-block-simple_4.entry.js +3 -3
- package/dist/esm/yoo-form-creator-card_2.entry.js +2 -2
- package/dist/esm/yoo-form-creator-field-selector_8.entry.js +2 -2
- package/dist/esm/yoo-form-creator-translate-dialog.entry.js +2 -2
- package/dist/esm/yoo-form-creator.entry.js +2 -2
- package/dist/esm/yoo-form-image-tagging-creator.entry.js +2 -2
- package/dist/esm/yoo-form-incentive-targets.entry.js +1 -1
- package/dist/esm/yoo-form-multi-input.entry.js +1 -1
- package/dist/esm/yoo-form-reorder.entry.js +1 -1
- package/dist/esm/yoo-form-stripe-card.entry.js +1 -1
- package/dist/esm/yoo-form-swipe-cards.entry.js +1 -1
- package/dist/esm/yoo-form-text-editor.entry.js +2 -2
- package/dist/esm/yoo-form-uploader.entry.js +1 -1
- package/dist/esm/yoo-input-bar.entry.js +2 -2
- package/dist/esm/yoo-location-heading.entry.js +1 -1
- package/dist/esm/yoo-podium.entry.js +2 -2
- package/dist/esm/yoo-profile-summary.entry.js +1 -1
- package/dist/esm/yoo-slides-media.entry.js +2 -2
- package/dist/esm/yoo-user-profile.entry.js +2 -2
- package/dist/esm/yoo-videoplayer-videojs.entry.js +1 -1
- package/dist/esm/yoo-walkthrough.entry.js +2 -2
- package/dist/types/components/core/chat/chat.d.ts +1 -1
- package/dist/types/components/core/chat-message/chat-message.d.ts +1 -1
- package/dist/types/interfaces/ui/card.interface.d.ts +1 -0
- package/package.json +1 -1
- package/dist/design-system/p-4fcf3997.entry.js +0 -1
- package/dist/design-system/p-7f8ddb27.js +0 -1
- package/dist/design-system/p-81ceff81.js +0 -1
- package/dist/design-system/p-b14fa2a4.entry.js +0 -1
- package/dist/design-system/p-de635023.entry.js +0 -1
- package/dist/design-system/p-ee75ca05.js +0 -1
|
@@ -274,7 +274,7 @@ export class YooCardListComponent {
|
|
|
274
274
|
if (this.entry.isCommentMedia && this.isRenderBadgeOutside) {
|
|
275
275
|
return;
|
|
276
276
|
}
|
|
277
|
-
if (isCloudinaryLink(item) || item.endsWith('.gif')) {
|
|
277
|
+
if (isCloudinaryLink(item) || item.endsWith('.gif') && !this.entry.forceTextHeading) {
|
|
278
278
|
return this.renderMedia(item);
|
|
279
279
|
}
|
|
280
280
|
else {
|
|
@@ -598,7 +598,7 @@ export class YooEntityComponent {
|
|
|
598
598
|
return null;
|
|
599
599
|
}
|
|
600
600
|
renderCardList(extraClasses) {
|
|
601
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11;
|
|
601
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
|
|
602
602
|
let entry = {};
|
|
603
603
|
if (this.entityType === 'missions' || (this.entityType === 'missiondatas' && ((_b = (_a = this.item) === null || _a === void 0 ? void 0 : _a.mission) === null || _b === void 0 ? void 0 : _b.type) === 'kanban')) {
|
|
604
604
|
let mission = this.item;
|
|
@@ -876,7 +876,8 @@ export class YooEntityComponent {
|
|
|
876
876
|
avatarFrame: file.imgSrc ? 'rounded-square' : 'square',
|
|
877
877
|
avatarSize: this.isAutocompleteSelected() && this.item.avatarSize ? this.item.avatarSize : 'large',
|
|
878
878
|
allowCustomHtml: true,
|
|
879
|
-
|
|
879
|
+
forceTextHeading: ((_s = file === null || file === void 0 ? void 0 : file.highlight) === null || _s === void 0 ? void 0 : _s.length) > 0,
|
|
880
|
+
subheadings: this.isAutocompleteSelected() ? null : compact([directory + pipes.fileSize.transform(file.size), ...(file.highlight || [])]) // , //, file.mimeType
|
|
880
881
|
// badges: [{ iconLeft: getIcon(file), cssClass: 'tag small round dark' }]
|
|
881
882
|
};
|
|
882
883
|
}
|
|
@@ -990,15 +991,15 @@ export class YooEntityComponent {
|
|
|
990
991
|
}
|
|
991
992
|
else if (this.entityType === 'language') {
|
|
992
993
|
entry = {
|
|
993
|
-
heading: ((
|
|
994
|
-
flag: this.host.classList.contains('hide-icon') ? null : ((
|
|
994
|
+
heading: ((_t = this.item) === null || _t === void 0 ? void 0 : _t._id) ? translate(this.item._id.toUpperCase()) : translate(this.item.toUpperCase()),
|
|
995
|
+
flag: this.host.classList.contains('hide-icon') ? null : ((_u = this.item) === null || _u === void 0 ? void 0 : _u._id) ? getLanguageFlag(this.item._id) : getLanguageFlag(this.item)
|
|
995
996
|
};
|
|
996
997
|
}
|
|
997
998
|
else if (this.entityType === 'waitlistvisit') {
|
|
998
999
|
const visit = this.item;
|
|
999
1000
|
const tagElements = getWaitlistVisitTags(visit);
|
|
1000
1001
|
entry = {
|
|
1001
|
-
heading: ((
|
|
1002
|
+
heading: ((_v = visit.name) === null || _v === void 0 ? void 0 : _v.startsWith('NOINFO')) ? translate('NOINFO') : visit.name,
|
|
1002
1003
|
tagElements
|
|
1003
1004
|
};
|
|
1004
1005
|
if (!isWeb(this.host)) {
|
|
@@ -1013,7 +1014,7 @@ export class YooEntityComponent {
|
|
|
1013
1014
|
else if (this.entityType === 'waitlistcustomer') {
|
|
1014
1015
|
const customer = this.item;
|
|
1015
1016
|
entry = {
|
|
1016
|
-
heading: ((
|
|
1017
|
+
heading: ((_w = customer.name) === null || _w === void 0 ? void 0 : _w.startsWith('NOINFO')) ? translate('NOINFO') : customer.name,
|
|
1017
1018
|
subheadings: compact([customer.phone, customer.email])
|
|
1018
1019
|
};
|
|
1019
1020
|
}
|
|
@@ -1116,7 +1117,7 @@ export class YooEntityComponent {
|
|
|
1116
1117
|
subheadings: this.isAutocompleteSelected() ? null : group.description ? [group.description] : null,
|
|
1117
1118
|
iconText: group.title || group.name || group._id,
|
|
1118
1119
|
heading: group.title || group.name || group._id,
|
|
1119
|
-
imgSrc: (
|
|
1120
|
+
imgSrc: (_x = group.icon) === null || _x === void 0 ? void 0 : _x._downloadURL
|
|
1120
1121
|
};
|
|
1121
1122
|
entry.subheadings = group.subheadings || entry.subheadings;
|
|
1122
1123
|
}
|
|
@@ -1126,7 +1127,7 @@ export class YooEntityComponent {
|
|
|
1126
1127
|
avatarSize: this.isAutocompleteSelected() && this.item.avatarSize ? this.item.avatarSize : 'medium',
|
|
1127
1128
|
iconText: tenant.title || tenant.name,
|
|
1128
1129
|
heading: (tenant.title || tenant.name || '').toUpperCase(),
|
|
1129
|
-
imgSrc: (
|
|
1130
|
+
imgSrc: (_y = tenant.icon) === null || _y === void 0 ? void 0 : _y._downloadURL,
|
|
1130
1131
|
subheadings: this.isAutocompleteSelected() ? null : compact([tenant.description])
|
|
1131
1132
|
};
|
|
1132
1133
|
}
|
|
@@ -1137,7 +1138,7 @@ export class YooEntityComponent {
|
|
|
1137
1138
|
avatarFrame: 'square',
|
|
1138
1139
|
iconText: model.title || model.name,
|
|
1139
1140
|
heading: model.title || model.name,
|
|
1140
|
-
imgSrc: ((
|
|
1141
|
+
imgSrc: ((_z = model.background) === null || _z === void 0 ? void 0 : _z._downloadURL) || model.background,
|
|
1141
1142
|
subheadings: this.isAutocompleteSelected() ? null : compact([model.shortDescription])
|
|
1142
1143
|
};
|
|
1143
1144
|
}
|
|
@@ -1204,7 +1205,7 @@ export class YooEntityComponent {
|
|
|
1204
1205
|
else if (this.entityType === 'violetproducts') {
|
|
1205
1206
|
const product = this.item;
|
|
1206
1207
|
let subheadings = [product.description];
|
|
1207
|
-
if (((
|
|
1208
|
+
if (((_0 = this.item.offers) === null || _0 === void 0 ? void 0 : _0.length) && ((_1 = this.item.offers[0].skus) === null || _1 === void 0 ? void 0 : _1.length) && ((_2 = this.item.offers[0].skus[0]) === null || _2 === void 0 ? void 0 : _2.sale_price)) {
|
|
1208
1209
|
subheadings = [pipes.currency.transform(this.item.offers[0].skus[0].sale_price / 100, false, this.item.offers[0].skus[0].currency, true)];
|
|
1209
1210
|
}
|
|
1210
1211
|
if (!product.available) {
|
|
@@ -1233,7 +1234,7 @@ export class YooEntityComponent {
|
|
|
1233
1234
|
};
|
|
1234
1235
|
}
|
|
1235
1236
|
else if (this.entityType === 'violetbasketitems') {
|
|
1236
|
-
const sku = (
|
|
1237
|
+
const sku = (_3 = this.item) === null || _3 === void 0 ? void 0 : _3.sku;
|
|
1237
1238
|
const price = (sku.sale_price * (this.item.quantity || 1)) / 100;
|
|
1238
1239
|
const subheadings = [pipes.currency.transform(price, false, sku.currency, true)];
|
|
1239
1240
|
entry = {
|
|
@@ -1303,9 +1304,9 @@ export class YooEntityComponent {
|
|
|
1303
1304
|
subheadings: [
|
|
1304
1305
|
productBatch.product ? productBatch.product.reference : '',
|
|
1305
1306
|
...(getSession().user && getSession().user.locationRef === productBatch.locationRef
|
|
1306
|
-
? compact([((
|
|
1307
|
+
? compact([((_4 = this.extraClass) === null || _4 === void 0 ? void 0 : _4.indexOf('show-aisle')) >= 0 && productBatch.aisle ? productBatch.aisle.title : null])
|
|
1307
1308
|
: productBatch.location && productBatch.location.title
|
|
1308
|
-
? [productBatch.location.title + ' - ' + (((
|
|
1309
|
+
? [productBatch.location.title + ' - ' + (((_5 = productBatch.aisle) === null || _5 === void 0 ? void 0 : _5.title) || '')]
|
|
1309
1310
|
: [])
|
|
1310
1311
|
],
|
|
1311
1312
|
tags: productBatch.tags,
|
|
@@ -1349,7 +1350,7 @@ export class YooEntityComponent {
|
|
|
1349
1350
|
heading: product.title,
|
|
1350
1351
|
subheadings,
|
|
1351
1352
|
date: isPresent(this.item.description) ? this.item.description : null,
|
|
1352
|
-
imgSrc: ((
|
|
1353
|
+
imgSrc: ((_6 = product === null || product === void 0 ? void 0 : product.image) === null || _6 === void 0 ? void 0 : _6._downloadURL) ? product.image._downloadURL : null,
|
|
1353
1354
|
avatarFrame: 'square',
|
|
1354
1355
|
// keep it explicit here to prevent to be overwritten by the autocomplete, with which the card-list is used in combination with, and that changes the size of the avatar to 'small' when only one product is selected
|
|
1355
1356
|
// this case is described into the form-entity-value-pairs.spec tests
|
|
@@ -1637,7 +1638,7 @@ export class YooEntityComponent {
|
|
|
1637
1638
|
avatarFrame: 'square'
|
|
1638
1639
|
};
|
|
1639
1640
|
}
|
|
1640
|
-
else if (this.entityType !== 'tag' && ((
|
|
1641
|
+
else if (this.entityType !== 'tag' && ((_8 = (_7 = this.customModel) === null || _7 === void 0 ? void 0 : _7.appearance) === null || _8 === void 0 ? void 0 : _8.size)) {
|
|
1641
1642
|
entry = {};
|
|
1642
1643
|
this.customModel.appearance.forEach((value, key) => {
|
|
1643
1644
|
if (key === 'displayTypes') {
|
|
@@ -1678,7 +1679,7 @@ export class YooEntityComponent {
|
|
|
1678
1679
|
else if (this.entityType === 'tiles') {
|
|
1679
1680
|
const tile = this.item;
|
|
1680
1681
|
entry = {
|
|
1681
|
-
heading: tile.title || ((
|
|
1682
|
+
heading: tile.title || ((_9 = tile.page) === null || _9 === void 0 ? void 0 : _9.name),
|
|
1682
1683
|
imgSrc: tile.photo,
|
|
1683
1684
|
icon: tile.icon,
|
|
1684
1685
|
subheadings: compact([]),
|
|
@@ -1789,7 +1790,7 @@ export class YooEntityComponent {
|
|
|
1789
1790
|
!this.isAutocompleteSelected() &&
|
|
1790
1791
|
!this.hideUIFields &&
|
|
1791
1792
|
this.customModel &&
|
|
1792
|
-
((
|
|
1793
|
+
((_11 = (_10 = this.customModel.formFields) === null || _10 === void 0 ? void 0 : _10.filter((f) => f.showInCard)) === null || _11 === void 0 ? void 0 : _11.length) > 0) {
|
|
1793
1794
|
entry.uiFields = {
|
|
1794
1795
|
fields: this.customModel.formFields.filter((f) => f.showInCard),
|
|
1795
1796
|
data: this.item
|
|
@@ -1850,7 +1851,7 @@ export class YooEntityComponent {
|
|
|
1850
1851
|
[extraClasses]: true,
|
|
1851
1852
|
[this.entityType]: this.entityType !== undefined,
|
|
1852
1853
|
'form-permission': this.host.classList.contains('form-permission')
|
|
1853
|
-
} }, ((
|
|
1854
|
+
} }, ((_12 = this.inlineActions) === null || _12 === void 0 ? void 0 : _12.length) > 0 && (h("span", { class: "slot-container", slot: "content-slot" }, this.inlineActions.map((action) => {
|
|
1854
1855
|
return (h("span", { class: action.cssClass, onClick: () => (action.handler ? action.handler(this.item) : null) }, action.text));
|
|
1855
1856
|
})))));
|
|
1856
1857
|
}
|
|
@@ -1289,7 +1289,8 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
1289
1289
|
font-size: var(--font-size-12, 0.75rem);
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
|
-
:host(.pdf) .entity-container
|
|
1292
|
+
:host(.pdf) .entity-container,
|
|
1293
|
+
:host(.child-card-tag) .entity-container {
|
|
1293
1294
|
display: flex;
|
|
1294
1295
|
flex-wrap: wrap;
|
|
1295
1296
|
}
|
|
@@ -1018,7 +1018,7 @@ export class YooFormAutocompleteComponent {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
render() {
|
|
1020
1020
|
var _a;
|
|
1021
|
-
return (h(Host, { class: Object.assign({ disabled: this.disabled, inline: this.inline, history: this.isHistory, selected: (_a = this.selection) === null || _a === void 0 ? void 0 : _a.length, 'multiple-avatars': (this.isMultiple() || this.avatarMode) && this.entityType === 'users' && this.value, [this.extraClass]: this.extraClass, [this.displayType]: true }, getAppContext(this.host)), onClick: (ev) => {
|
|
1021
|
+
return (h(Host, { class: Object.assign({ disabled: this.disabled, inline: this.inline, history: this.isHistory, selected: (_a = this.selection) === null || _a === void 0 ? void 0 : _a.length, [`child-${this.getDisplayType()}`]: true, 'multiple-avatars': (this.isMultiple() || this.avatarMode) && this.entityType === 'users' && this.value, [this.extraClass]: this.extraClass, [this.displayType]: true }, getAppContext(this.host)), onClick: (ev) => {
|
|
1022
1022
|
if (isWeb(this.host)) {
|
|
1023
1023
|
ev.stopPropagation();
|
|
1024
1024
|
}
|
|
@@ -151,7 +151,7 @@ export class YooFormCarouselComponent {
|
|
|
151
151
|
items: this.mediaSrc.map((v, valueIndex) => {
|
|
152
152
|
var _a, _b;
|
|
153
153
|
const item = {
|
|
154
|
-
value: v,
|
|
154
|
+
value: isArray(v) ? v[0] : v,
|
|
155
155
|
annotations: ((_a = this.annotations) === null || _a === void 0 ? void 0 : _a.length) ? this.annotations[valueIndex] : null,
|
|
156
156
|
drawings: ((_b = this.drawings) === null || _b === void 0 ? void 0 : _b.length) ? this.drawings[valueIndex] : null
|
|
157
157
|
};
|
|
@@ -167,11 +167,15 @@ function booleanRenderer(params) {
|
|
|
167
167
|
return '';
|
|
168
168
|
}
|
|
169
169
|
function translateRenderer(params) {
|
|
170
|
+
var _a;
|
|
170
171
|
const value = params.value;
|
|
171
172
|
if (value && value.toUpperCase) {
|
|
172
173
|
return translateMulti(value.toUpperCase());
|
|
173
174
|
}
|
|
174
|
-
|
|
175
|
+
else if ((value === null || value === void 0 ? void 0 : value.value) && ((_a = value === null || value === void 0 ? void 0 : value.value) === null || _a === void 0 ? void 0 : _a.toUpperCase)) {
|
|
176
|
+
return translateMulti(value.value.toUpperCase());
|
|
177
|
+
}
|
|
178
|
+
return '';
|
|
175
179
|
}
|
|
176
180
|
function keyTranslateRenderer(params) {
|
|
177
181
|
const value = params.value;
|