@yoobic/yobi 7.7.78 → 7.7.82
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 +22 -21
- 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-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-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/design-system/p-fc449c6a.entry.js +1 -0
- 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 +22 -21
- 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
|
@@ -9,14 +9,14 @@ require('./ResizeObserver.es-2edf4ecd.js');
|
|
|
9
9
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
10
10
|
const index$1 = require('./index-f0c2575c.js');
|
|
11
11
|
const sortable_esm = require('./sortable.esm-71f9713d.js');
|
|
12
|
-
const index$2 = require('./index-
|
|
12
|
+
const index$2 = require('./index-4e7dd1d7.js');
|
|
13
13
|
const entitiesHelpers$1 = require('./entities-helpers-e377d30b.js');
|
|
14
|
-
const entitiesHelpers = require('./entities-helpers-
|
|
14
|
+
const entitiesHelpers = require('./entities-helpers-c6ed72dc.js');
|
|
15
15
|
require('./isUndefined-8f9cfd10.js');
|
|
16
16
|
require('./isNumber-4c1ace60.js');
|
|
17
17
|
require('./get-91c14783.js');
|
|
18
18
|
require('./_baseGet-89e374f5.js');
|
|
19
|
-
require('./index-
|
|
19
|
+
require('./index-e2b47ee9.js');
|
|
20
20
|
require('./document-b4cc3315.js');
|
|
21
21
|
require('./validate-f2c2f205.js');
|
|
22
22
|
require('./isString-ecd0cbf4.js');
|
|
@@ -6,8 +6,8 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
const index$2 = require('./index-f0c2575c.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
10
|
-
require('./index-
|
|
9
|
+
const index$1 = require('./index-4e7dd1d7.js');
|
|
10
|
+
require('./index-e2b47ee9.js');
|
|
11
11
|
require('./document-b4cc3315.js');
|
|
12
12
|
require('./validate-f2c2f205.js');
|
|
13
13
|
require('./isString-ecd0cbf4.js');
|
|
@@ -13,7 +13,7 @@ const device_interface = require('./device.interface-44ea5b01.js');
|
|
|
13
13
|
const cardVideo_interface = require('./card-video.interface-284b7b92.js');
|
|
14
14
|
const sortable_esm = require('./sortable.esm-71f9713d.js');
|
|
15
15
|
const formCreatorHelpers = require('./form-creator-helpers-ed0a88b0.js');
|
|
16
|
-
const index$2 = require('./index-
|
|
16
|
+
const index$2 = require('./index-4e7dd1d7.js');
|
|
17
17
|
const isEqual = require('./isEqual-35c41499.js');
|
|
18
18
|
const remove = require('./remove-41707d5a.js');
|
|
19
19
|
const index$3 = require('./index-f0c2575c.js');
|
|
@@ -31,7 +31,7 @@ require('./isUndefined-8f9cfd10.js');
|
|
|
31
31
|
require('./isNumber-4c1ace60.js');
|
|
32
32
|
require('./get-91c14783.js');
|
|
33
33
|
require('./_baseGet-89e374f5.js');
|
|
34
|
-
require('./index-
|
|
34
|
+
require('./index-e2b47ee9.js');
|
|
35
35
|
require('./document-b4cc3315.js');
|
|
36
36
|
require('./validate-f2c2f205.js');
|
|
37
37
|
require('./isString-ecd0cbf4.js');
|
|
@@ -7,7 +7,7 @@ const inputBar_interface = require('./input-bar.interface-b96b7107.js');
|
|
|
7
7
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
8
8
|
const formCreatorHelpers = require('./form-creator-helpers-ed0a88b0.js');
|
|
9
9
|
const stringHelpers = require('./string-helpers-4852718a.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
10
|
+
const index$1 = require('./index-4e7dd1d7.js');
|
|
11
11
|
const cloneDeep = require('./cloneDeep-e00dc6ae.js');
|
|
12
12
|
const isEmpty = require('./isEmpty-1723db8b.js');
|
|
13
13
|
const isString = require('./isString-ecd0cbf4.js');
|
|
@@ -20,7 +20,7 @@ require('./keys-c78834c2.js');
|
|
|
20
20
|
require('./_baseUnary-95e872e2.js');
|
|
21
21
|
require('./_baseKeys-38051434.js');
|
|
22
22
|
require('./_getTag-044b275e.js');
|
|
23
|
-
require('./index-
|
|
23
|
+
require('./index-e2b47ee9.js');
|
|
24
24
|
require('./document-b4cc3315.js');
|
|
25
25
|
require('./validate-f2c2f205.js');
|
|
26
26
|
require('./form-helpers-71b62854.js');
|
|
@@ -6,13 +6,13 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const inputBar_interface = require('./input-bar.interface-b96b7107.js');
|
|
7
7
|
const cardVideo_interface = require('./card-video.interface-284b7b92.js');
|
|
8
8
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
9
|
-
const index$3 = require('./index-
|
|
9
|
+
const index$3 = require('./index-e2b47ee9.js');
|
|
10
10
|
const formCreatorHelpers = require('./form-creator-helpers-ed0a88b0.js');
|
|
11
11
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
12
12
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
13
13
|
const sortable_esm = require('./sortable.esm-71f9713d.js');
|
|
14
14
|
const index$2 = require('./index-77d54324.js');
|
|
15
|
-
const index$1 = require('./index-
|
|
15
|
+
const index$1 = require('./index-4e7dd1d7.js');
|
|
16
16
|
const cloneDeep = require('./cloneDeep-e00dc6ae.js');
|
|
17
17
|
const orderBy = require('./orderBy-18003c1b.js');
|
|
18
18
|
require('./document-b4cc3315.js');
|
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const annotationsHelpers = require('./annotations-helpers-558ceb1e.js');
|
|
11
11
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
12
|
-
const draggableDotsHelpers = require('./draggable-dots-helpers-
|
|
12
|
+
const draggableDotsHelpers = require('./draggable-dots-helpers-9650a4b7.js');
|
|
13
13
|
require('./document-b4cc3315.js');
|
|
14
14
|
require('./validate-f2c2f205.js');
|
|
15
15
|
require('./isString-ecd0cbf4.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
|
|
11
11
|
require('./document-b4cc3315.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
11
11
|
const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
11
11
|
const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
|
|
11
11
|
require('./document-b4cc3315.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
11
11
|
const draggableTagsHelpers = require('./draggable-tags-helpers-a839d713.js');
|
|
@@ -5,12 +5,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
const entitiesHelpers = require('./entities-helpers-e377d30b.js');
|
|
10
10
|
const urlHelpers = require('./url-helpers-a53b3ff9.js');
|
|
11
11
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
12
12
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
13
|
-
const entitiesHelpers$1 = require('./entities-helpers-
|
|
13
|
+
const entitiesHelpers$1 = require('./entities-helpers-c6ed72dc.js');
|
|
14
14
|
const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
|
|
15
15
|
const formTextAreaHelpers = require('./form-text-area-helpers-01944f5d.js');
|
|
16
16
|
const document$1 = require('./document-b4cc3315.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const inputBar_interface = require('./input-bar.interface-b96b7107.js');
|
|
7
7
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
11
11
|
const formInputHelpers = require('./form-input-helpers-9e98c0e6.js');
|
|
@@ -7,8 +7,8 @@ const ResizeObserver_es = require('./ResizeObserver.es-2edf4ecd.js');
|
|
|
7
7
|
const index$3 = require('./index-f947bbf4.js');
|
|
8
8
|
const inputBar_interface = require('./input-bar.interface-b96b7107.js');
|
|
9
9
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const index$2 = require('./index-
|
|
10
|
+
const index$1 = require('./index-a81f813c.js');
|
|
11
|
+
const index$2 = require('./index-e2b47ee9.js');
|
|
12
12
|
const entitiesHelpers = require('./entities-helpers-e377d30b.js');
|
|
13
13
|
const urlHelpers = require('./url-helpers-a53b3ff9.js');
|
|
14
14
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
const pipe = require('./pipe-9c0f36df.js');
|
|
10
10
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
11
11
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
@@ -7,11 +7,11 @@ const rrule = require('./rrule-f8e7fec2.js');
|
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
9
9
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
10
|
-
const imageHelpers = require('./image-helpers-
|
|
10
|
+
const imageHelpers = require('./image-helpers-ea15b526.js');
|
|
11
11
|
const isNumber = require('./isNumber-4c1ace60.js');
|
|
12
12
|
const get = require('./get-91c14783.js');
|
|
13
13
|
require('./isUndefined-8f9cfd10.js');
|
|
14
|
-
require('./index-
|
|
14
|
+
require('./index-e2b47ee9.js');
|
|
15
15
|
require('./document-b4cc3315.js');
|
|
16
16
|
require('./validate-f2c2f205.js');
|
|
17
17
|
require('./isString-ecd0cbf4.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fd52e687.js');
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
9
9
|
const entitiesHelpers = require('./entities-helpers-e377d30b.js');
|
|
10
10
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
11
11
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
@@ -6,11 +6,11 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const ResizeObserver_es = require('./ResizeObserver.es-2edf4ecd.js');
|
|
7
7
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
8
8
|
require('./input-bar.interface-b96b7107.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
9
|
+
const index$1 = require('./index-e2b47ee9.js');
|
|
10
10
|
const entitiesHelpers = require('./entities-helpers-e377d30b.js');
|
|
11
11
|
const pipe = require('./pipe-9c0f36df.js');
|
|
12
12
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
13
|
-
const entitiesHelpers$1 = require('./entities-helpers-
|
|
13
|
+
const entitiesHelpers$1 = require('./entities-helpers-c6ed72dc.js');
|
|
14
14
|
const formTextAreaHelpers = require('./form-text-area-helpers-01944f5d.js');
|
|
15
15
|
const document$1 = require('./document-b4cc3315.js');
|
|
16
16
|
require('./isUndefined-8f9cfd10.js');
|
|
@@ -8,7 +8,7 @@ require('./input-bar.interface-b96b7107.js');
|
|
|
8
8
|
const pipe = require('./pipe-9c0f36df.js');
|
|
9
9
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
10
10
|
const commonHelpers = require('./common-helpers-797be2a6.js');
|
|
11
|
-
const entitiesHelpers = require('./entities-helpers-
|
|
11
|
+
const entitiesHelpers = require('./entities-helpers-c6ed72dc.js');
|
|
12
12
|
require('./toInteger-31800ffe.js');
|
|
13
13
|
require('./toFinite-3604340c.js');
|
|
14
14
|
require('./toNumber-8907f58c.js');
|
|
@@ -28,7 +28,7 @@ require('./get-91c14783.js');
|
|
|
28
28
|
require('./identity-8189b2e1.js');
|
|
29
29
|
require('./_baseEach-1273a673.js');
|
|
30
30
|
require('./isUndefined-8f9cfd10.js');
|
|
31
|
-
require('./index-
|
|
31
|
+
require('./index-e2b47ee9.js');
|
|
32
32
|
require('./document-b4cc3315.js');
|
|
33
33
|
require('./validate-f2c2f205.js');
|
|
34
34
|
require('./isString-ecd0cbf4.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
const localForage = require('./localForage-82b6f557.js');
|
|
8
8
|
require('./input-bar.interface-b96b7107.js');
|
|
9
|
-
const index$2 = require('./index-
|
|
9
|
+
const index$2 = require('./index-e2b47ee9.js');
|
|
10
10
|
const pipe = require('./pipe-9c0f36df.js');
|
|
11
11
|
const videoPlayerHelpers$1 = require('./video-player-helpers-a6d263f8.js');
|
|
12
12
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
@@ -6,10 +6,10 @@ const index = require('./index-fd52e687.js');
|
|
|
6
6
|
const rrule = require('./rrule-f8e7fec2.js');
|
|
7
7
|
require('./input-bar.interface-b96b7107.js');
|
|
8
8
|
require('./ResizeObserver.es-2edf4ecd.js');
|
|
9
|
-
const imageHelpers = require('./image-helpers-
|
|
9
|
+
const imageHelpers = require('./image-helpers-ea15b526.js');
|
|
10
10
|
require('./isUndefined-8f9cfd10.js');
|
|
11
11
|
require('./isNumber-4c1ace60.js');
|
|
12
|
-
require('./index-
|
|
12
|
+
require('./index-e2b47ee9.js');
|
|
13
13
|
require('./document-b4cc3315.js');
|
|
14
14
|
require('./validate-f2c2f205.js');
|
|
15
15
|
require('./isString-ecd0cbf4.js');
|
|
@@ -37,6 +37,7 @@ export class YooChatComponent {
|
|
|
37
37
|
onInputFocused() {
|
|
38
38
|
this.inputFocused = true;
|
|
39
39
|
this.scrollBottomOnKeyboradShown = true;
|
|
40
|
+
this.oldestMostRecentMessageElement = null;
|
|
40
41
|
}
|
|
41
42
|
onMediaLoading(event) {
|
|
42
43
|
this.showLoader = event === null || event === void 0 ? void 0 : event.detail;
|
|
@@ -204,7 +205,7 @@ export class YooChatComponent {
|
|
|
204
205
|
}
|
|
205
206
|
}
|
|
206
207
|
componentDidUpdate() {
|
|
207
|
-
this.oldestMostRecentMessageElement ? this.
|
|
208
|
+
this.oldestMostRecentMessageElement ? this.initMessages() : this.initChat();
|
|
208
209
|
// re-render will remove video player, need to re-create the player
|
|
209
210
|
if (!isNativeMobile() &&
|
|
210
211
|
this.broadcastParams &&
|
|
@@ -254,23 +255,13 @@ export class YooChatComponent {
|
|
|
254
255
|
getAsyncExtraData({ type: 'user-detail', params: { user: this.users[0] } });
|
|
255
256
|
}
|
|
256
257
|
}
|
|
257
|
-
refreshMessages() {
|
|
258
|
-
this.initMessages();
|
|
259
|
-
}
|
|
260
258
|
async initMessages() {
|
|
259
|
+
var _a;
|
|
261
260
|
const messages = (this.messageElements || []).reverse();
|
|
262
|
-
await Promise.all(messages.map((el)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
if (element) {
|
|
267
|
-
gsapTo(this.scroll, 0, { scrollTo: { y: element, offsetY: 10 } }).then(() => {
|
|
268
|
-
this.oldestMostRecentMessageElement = null;
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
for (const el of messages) {
|
|
272
|
-
await (el === null || el === void 0 ? void 0 : el.renderContent());
|
|
273
|
-
}
|
|
261
|
+
await Promise.all(messages.map(el => (el === null || el === void 0 ? void 0 : el.initMessage()) || Promise.resolve(true)));
|
|
262
|
+
await Promise.all(messages.map(el => (el === null || el === void 0 ? void 0 : el.renderContent()) || Promise.resolve(true)));
|
|
263
|
+
(_a = this.oldestMostRecentMessageElement) === null || _a === void 0 ? void 0 : _a.scrollIntoView();
|
|
264
|
+
this.scrollLocker = false;
|
|
274
265
|
}
|
|
275
266
|
onChatFocused() {
|
|
276
267
|
this.chatFocused.emit(true);
|
|
@@ -289,8 +280,7 @@ export class YooChatComponent {
|
|
|
289
280
|
}
|
|
290
281
|
onPullToRefresh() {
|
|
291
282
|
var _a, _b;
|
|
292
|
-
|
|
293
|
-
this.oldestMostRecentMessageElement = (_b = (_a = cleanElements[0]) === null || _a === void 0 ? void 0 : _a.message) === null || _b === void 0 ? void 0 : _b.timetoken;
|
|
283
|
+
this.oldestMostRecentMessageElement = (_b = (_a = this.messageElements) === null || _a === void 0 ? void 0 : _a.filter(m => { var _a, _b; return m.message.timetoken === ((_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.timetoken); })) === null || _b === void 0 ? void 0 : _b[0];
|
|
294
284
|
this.loadMoreClicked.emit(true);
|
|
295
285
|
}
|
|
296
286
|
onCloseDeleteMode() {
|
|
@@ -346,7 +336,8 @@ export class YooChatComponent {
|
|
|
346
336
|
async onIonScroll(ev) {
|
|
347
337
|
var _a, _b, _c;
|
|
348
338
|
const scrollTopPosition = isFinite((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.scrollTop) && ev.detail.scrollTop;
|
|
349
|
-
if (scrollTopPosition <= 2 && !this.disableLoadMore && isWeb(this.host)) {
|
|
339
|
+
if (!this.scrollLocker && scrollTopPosition <= 2 && !this.disableLoadMore && isWeb(this.host)) {
|
|
340
|
+
this.scrollLocker = true;
|
|
350
341
|
this.onPullToRefresh();
|
|
351
342
|
}
|
|
352
343
|
if (this.broadcastMode) {
|
|
@@ -494,13 +485,13 @@ export class YooChatComponent {
|
|
|
494
485
|
}
|
|
495
486
|
renderChatMessages() {
|
|
496
487
|
return this.messages.map((m, index) => {
|
|
497
|
-
var _a, _b;
|
|
488
|
+
var _a, _b, _c;
|
|
498
489
|
if (m === null || m === void 0 ? void 0 : m.deleted) {
|
|
499
490
|
return;
|
|
500
491
|
}
|
|
501
492
|
return (h("yoo-chat-message", { onConferenceMessageClicked: (ev) => {
|
|
502
493
|
this.conferenceMessageClicked.emit(ev.detail);
|
|
503
|
-
}, onRepliedMessageClicked: (ev) => this.onRepliedMessageClicked(ev), id: m.
|
|
494
|
+
}, onRepliedMessageClicked: (ev) => this.onRepliedMessageClicked(ev), id: (_a = m.timetoken) === null || _a === void 0 ? void 0 : _a.toString(), key: m.timetoken, hasOptions: isWeb(this.host), hasStatus: true, message: m, asyncRender: true, allUsers: this.allUsers, isLast: this.getLastMessage(index), isFirst: this.getFirstMessage(index), onClicked: (ev) => this.onClickMessage(ev, m.timetoken), isNextImage: this.isNextImage(index), isGroup: this.isMultiple, receivedByOthers: m.options && m.options.messageRecievedInfo && m.options.messageRecievedInfo.length === ((_b = this.otherIds) === null || _b === void 0 ? void 0 : _b.length), onPresshold: (ev) => this.onHighlightMessage(ev), currentActivePlayerId: this.currentActivePlayerId, containerWidth: this.containerWidth, forceDelete: this.forceDelete, imageWidthRatio: ((_c = this.advancedOptions) === null || _c === void 0 ? void 0 : _c.popupMode) ? 0.65 : undefined, preventVideoPreloading: this.preventVideoPreloading, onUsernameClicked: (ev) => getAsyncExtraData({ type: 'user-detail', params: { user: ev.detail } }), onAvatarClicked: (ev) => getAsyncExtraData({ type: 'user-detail', params: { user: ev.detail } }) }));
|
|
504
495
|
});
|
|
505
496
|
}
|
|
506
497
|
renderBroadcastActions(action) {
|
|
@@ -53,6 +53,12 @@ export class YooChatMessageComponent {
|
|
|
53
53
|
var _a, _b;
|
|
54
54
|
return ((_a = this.message) === null || _a === void 0 ? void 0 : _a.replyMessage) !== null && ((_b = this.message) === null || _b === void 0 ? void 0 : _b.replyMessage) !== undefined;
|
|
55
55
|
}
|
|
56
|
+
get notificationAvatarUser() {
|
|
57
|
+
if (this.message.options && this.message.options.notificationParams && this.message.options.notificationParams.notificationAvatar) {
|
|
58
|
+
return this.message.options.notificationParams.notificationAvatar;
|
|
59
|
+
}
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
56
62
|
componentWillLoad() {
|
|
57
63
|
if (isNullOrUndefined(this.imageWidthRatio)) {
|
|
58
64
|
this.imageWidthRatio = isWeb(this.host) ? 0.35 : 0.75;
|
|
@@ -141,12 +147,6 @@ export class YooChatMessageComponent {
|
|
|
141
147
|
onHasMentions() {
|
|
142
148
|
return this.message && this.message.mentions && this.message.mentions.length > 0;
|
|
143
149
|
}
|
|
144
|
-
get notificationAvatarUser() {
|
|
145
|
-
if (this.message.options && this.message.options.notificationParams && this.message.options.notificationParams.notificationAvatar) {
|
|
146
|
-
return this.message.options.notificationParams.notificationAvatar;
|
|
147
|
-
}
|
|
148
|
-
return null;
|
|
149
|
-
}
|
|
150
150
|
canDeleteMessage() {
|
|
151
151
|
var _a, _b;
|
|
152
152
|
return ((_b = (_a = this.message) === null || _a === void 0 ? void 0 : _a.author) === null || _b === void 0 ? void 0 : _b._id) === getSession().userId || this.forceDelete;
|
|
@@ -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
|
}
|
|
@@ -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;
|